@pidgeon-ai/sdk 1.17.0 → 1.19.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.ts CHANGED
@@ -1274,6 +1274,31 @@ type ApiKey = {
1274
1274
  */
1275
1275
  created_at: string;
1276
1276
  };
1277
+ type ApiKeyCreated = {
1278
+ id: string;
1279
+ name: string;
1280
+ prefix: string;
1281
+ identity_ids: Array<string>;
1282
+ /**
1283
+ * The pod this key belongs to, or null. A pod key reaches every address in the pod — `identity_ids` lists them today — and the addresses the pod gains later.
1284
+ */
1285
+ pod_id: string | null;
1286
+ /**
1287
+ * The highest rung on any address. Composed with the grant; lower wins.
1288
+ */
1289
+ access: 'read' | 'send' | 'admin';
1290
+ created_by_key_id: string | null;
1291
+ last_used_at: string | null;
1292
+ revoked_at: string | null;
1293
+ /**
1294
+ * ISO-8601, UTC.
1295
+ */
1296
+ created_at: string;
1297
+ /**
1298
+ * The secret. Shown once, here, and never again.
1299
+ */
1300
+ token: string;
1301
+ };
1277
1302
  type AppPassword = {
1278
1303
  id: string;
1279
1304
  name: string;
@@ -1680,18 +1705,42 @@ type AgentSignUpData = {
1680
1705
  url: '/agent/signup';
1681
1706
  };
1682
1707
  type AgentSignUpErrors = {
1708
+ /**
1709
+ * The request is not valid. `error.field` names the input at fault when there is one.
1710
+ */
1711
+ 400: Error;
1683
1712
  /**
1684
1713
  * No API key, or one that is not valid.
1685
1714
  */
1686
1715
  401: Error;
1716
+ /**
1717
+ * Your plan does not include this. `error.message` says what does.
1718
+ */
1719
+ 402: Error;
1720
+ /**
1721
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
1722
+ */
1723
+ 403: Error;
1687
1724
  /**
1688
1725
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
1689
1726
  */
1690
1727
  404: Error;
1728
+ /**
1729
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
1730
+ */
1731
+ 409: Error;
1691
1732
  /**
1692
1733
  * Rate limited. `X-RateLimit-Reset` says when to retry.
1693
1734
  */
1694
1735
  429: Error;
1736
+ /**
1737
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
1738
+ */
1739
+ 500: Error;
1740
+ /**
1741
+ * Something this needs is not answering right now. Retry in a moment.
1742
+ */
1743
+ 503: Error;
1695
1744
  };
1696
1745
  type AgentSignUpError = AgentSignUpErrors[keyof AgentSignUpErrors];
1697
1746
  type AgentSignUpResponses = {
@@ -1719,18 +1768,38 @@ type AgentAttachHumanData = {
1719
1768
  url: '/agent/human';
1720
1769
  };
1721
1770
  type AgentAttachHumanErrors = {
1771
+ /**
1772
+ * The request is not valid. `error.field` names the input at fault when there is one.
1773
+ */
1774
+ 400: Error;
1722
1775
  /**
1723
1776
  * No API key, or one that is not valid.
1724
1777
  */
1725
1778
  401: Error;
1779
+ /**
1780
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
1781
+ */
1782
+ 403: Error;
1726
1783
  /**
1727
1784
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
1728
1785
  */
1729
1786
  404: Error;
1787
+ /**
1788
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
1789
+ */
1790
+ 409: Error;
1730
1791
  /**
1731
1792
  * Rate limited. `X-RateLimit-Reset` says when to retry.
1732
1793
  */
1733
1794
  429: Error;
1795
+ /**
1796
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
1797
+ */
1798
+ 500: Error;
1799
+ /**
1800
+ * Something this needs is not answering right now. Retry in a moment.
1801
+ */
1802
+ 503: Error;
1734
1803
  };
1735
1804
  type AgentAttachHumanError = AgentAttachHumanErrors[keyof AgentAttachHumanErrors];
1736
1805
  type AgentAttachHumanResponses = {
@@ -1755,18 +1824,42 @@ type AgentVerifyData = {
1755
1824
  url: '/agent/verify';
1756
1825
  };
1757
1826
  type AgentVerifyErrors = {
1827
+ /**
1828
+ * The request is not valid. `error.field` names the input at fault when there is one.
1829
+ */
1830
+ 400: Error;
1758
1831
  /**
1759
1832
  * No API key, or one that is not valid.
1760
1833
  */
1761
1834
  401: Error;
1835
+ /**
1836
+ * Your plan does not include this. `error.message` says what does.
1837
+ */
1838
+ 402: Error;
1839
+ /**
1840
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
1841
+ */
1842
+ 403: Error;
1762
1843
  /**
1763
1844
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
1764
1845
  */
1765
1846
  404: Error;
1847
+ /**
1848
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
1849
+ */
1850
+ 409: Error;
1766
1851
  /**
1767
1852
  * Rate limited. `X-RateLimit-Reset` says when to retry.
1768
1853
  */
1769
1854
  429: Error;
1855
+ /**
1856
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
1857
+ */
1858
+ 500: Error;
1859
+ /**
1860
+ * Something this needs is not answering right now. Retry in a moment.
1861
+ */
1862
+ 503: Error;
1770
1863
  };
1771
1864
  type AgentVerifyError = AgentVerifyErrors[keyof AgentVerifyErrors];
1772
1865
  type AgentVerifyResponses = {
@@ -1793,18 +1886,38 @@ type IdentitiesListData = {
1793
1886
  url: '/identities';
1794
1887
  };
1795
1888
  type IdentitiesListErrors = {
1889
+ /**
1890
+ * The request is not valid. `error.field` names the input at fault when there is one.
1891
+ */
1892
+ 400: Error;
1796
1893
  /**
1797
1894
  * No API key, or one that is not valid.
1798
1895
  */
1799
1896
  401: Error;
1897
+ /**
1898
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
1899
+ */
1900
+ 403: Error;
1800
1901
  /**
1801
1902
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
1802
1903
  */
1803
1904
  404: Error;
1905
+ /**
1906
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
1907
+ */
1908
+ 409: Error;
1804
1909
  /**
1805
1910
  * Rate limited. `X-RateLimit-Reset` says when to retry.
1806
1911
  */
1807
1912
  429: Error;
1913
+ /**
1914
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
1915
+ */
1916
+ 500: Error;
1917
+ /**
1918
+ * Something this needs is not answering right now. Retry in a moment.
1919
+ */
1920
+ 503: Error;
1808
1921
  };
1809
1922
  type IdentitiesListError = IdentitiesListErrors[keyof IdentitiesListErrors];
1810
1923
  type IdentitiesListResponses = {
@@ -1877,18 +1990,42 @@ type IdentitiesCreateData = {
1877
1990
  url: '/identities';
1878
1991
  };
1879
1992
  type IdentitiesCreateErrors = {
1993
+ /**
1994
+ * The request is not valid. `error.field` names the input at fault when there is one.
1995
+ */
1996
+ 400: Error;
1880
1997
  /**
1881
1998
  * No API key, or one that is not valid.
1882
1999
  */
1883
2000
  401: Error;
2001
+ /**
2002
+ * Your plan does not include this. `error.message` says what does.
2003
+ */
2004
+ 402: Error;
2005
+ /**
2006
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2007
+ */
2008
+ 403: Error;
1884
2009
  /**
1885
2010
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
1886
2011
  */
1887
2012
  404: Error;
2013
+ /**
2014
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2015
+ */
2016
+ 409: Error;
1888
2017
  /**
1889
2018
  * Rate limited. `X-RateLimit-Reset` says when to retry.
1890
2019
  */
1891
2020
  429: Error;
2021
+ /**
2022
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2023
+ */
2024
+ 500: Error;
2025
+ /**
2026
+ * Something this needs is not answering right now. Retry in a moment.
2027
+ */
2028
+ 503: Error;
1892
2029
  };
1893
2030
  type IdentitiesCreateError = IdentitiesCreateErrors[keyof IdentitiesCreateErrors];
1894
2031
  type IdentitiesCreateResponses = {
@@ -1909,18 +2046,38 @@ type IdentitiesDeleteData = {
1909
2046
  url: '/identities/{id}';
1910
2047
  };
1911
2048
  type IdentitiesDeleteErrors = {
2049
+ /**
2050
+ * The request is not valid. `error.field` names the input at fault when there is one.
2051
+ */
2052
+ 400: Error;
1912
2053
  /**
1913
2054
  * No API key, or one that is not valid.
1914
2055
  */
1915
2056
  401: Error;
2057
+ /**
2058
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2059
+ */
2060
+ 403: Error;
1916
2061
  /**
1917
2062
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
1918
2063
  */
1919
2064
  404: Error;
2065
+ /**
2066
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2067
+ */
2068
+ 409: Error;
1920
2069
  /**
1921
2070
  * Rate limited. `X-RateLimit-Reset` says when to retry.
1922
2071
  */
1923
2072
  429: Error;
2073
+ /**
2074
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2075
+ */
2076
+ 500: Error;
2077
+ /**
2078
+ * Something this needs is not answering right now. Retry in a moment.
2079
+ */
2080
+ 503: Error;
1924
2081
  };
1925
2082
  type IdentitiesDeleteError = IdentitiesDeleteErrors[keyof IdentitiesDeleteErrors];
1926
2083
  type IdentitiesDeleteResponses = {
@@ -1941,18 +2098,38 @@ type IdentitiesGetData = {
1941
2098
  url: '/identities/{id}';
1942
2099
  };
1943
2100
  type IdentitiesGetErrors = {
2101
+ /**
2102
+ * The request is not valid. `error.field` names the input at fault when there is one.
2103
+ */
2104
+ 400: Error;
1944
2105
  /**
1945
2106
  * No API key, or one that is not valid.
1946
2107
  */
1947
2108
  401: Error;
2109
+ /**
2110
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2111
+ */
2112
+ 403: Error;
1948
2113
  /**
1949
2114
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
1950
2115
  */
1951
2116
  404: Error;
2117
+ /**
2118
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2119
+ */
2120
+ 409: Error;
1952
2121
  /**
1953
2122
  * Rate limited. `X-RateLimit-Reset` says when to retry.
1954
2123
  */
1955
2124
  429: Error;
2125
+ /**
2126
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2127
+ */
2128
+ 500: Error;
2129
+ /**
2130
+ * Something this needs is not answering right now. Retry in a moment.
2131
+ */
2132
+ 503: Error;
1956
2133
  };
1957
2134
  type IdentitiesGetError = IdentitiesGetErrors[keyof IdentitiesGetErrors];
1958
2135
  type IdentitiesGetResponses = {
@@ -2002,18 +2179,38 @@ type IdentitiesUpdateData = {
2002
2179
  url: '/identities/{id}';
2003
2180
  };
2004
2181
  type IdentitiesUpdateErrors = {
2182
+ /**
2183
+ * The request is not valid. `error.field` names the input at fault when there is one.
2184
+ */
2185
+ 400: Error;
2005
2186
  /**
2006
2187
  * No API key, or one that is not valid.
2007
2188
  */
2008
2189
  401: Error;
2190
+ /**
2191
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2192
+ */
2193
+ 403: Error;
2009
2194
  /**
2010
2195
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2011
2196
  */
2012
2197
  404: Error;
2198
+ /**
2199
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2200
+ */
2201
+ 409: Error;
2013
2202
  /**
2014
2203
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2015
2204
  */
2016
2205
  429: Error;
2206
+ /**
2207
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2208
+ */
2209
+ 500: Error;
2210
+ /**
2211
+ * Something this needs is not answering right now. Retry in a moment.
2212
+ */
2213
+ 503: Error;
2017
2214
  };
2018
2215
  type IdentitiesUpdateError = IdentitiesUpdateErrors[keyof IdentitiesUpdateErrors];
2019
2216
  type IdentitiesUpdateResponses = {
@@ -2036,18 +2233,38 @@ type IdentitiesAccessDeleteData = {
2036
2233
  url: '/identities/{id}/access';
2037
2234
  };
2038
2235
  type IdentitiesAccessDeleteErrors = {
2236
+ /**
2237
+ * The request is not valid. `error.field` names the input at fault when there is one.
2238
+ */
2239
+ 400: Error;
2039
2240
  /**
2040
2241
  * No API key, or one that is not valid.
2041
2242
  */
2042
2243
  401: Error;
2244
+ /**
2245
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2246
+ */
2247
+ 403: Error;
2043
2248
  /**
2044
2249
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2045
2250
  */
2046
2251
  404: Error;
2252
+ /**
2253
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2254
+ */
2255
+ 409: Error;
2047
2256
  /**
2048
2257
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2049
2258
  */
2050
2259
  429: Error;
2260
+ /**
2261
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2262
+ */
2263
+ 500: Error;
2264
+ /**
2265
+ * Something this needs is not answering right now. Retry in a moment.
2266
+ */
2267
+ 503: Error;
2051
2268
  };
2052
2269
  type IdentitiesAccessDeleteError = IdentitiesAccessDeleteErrors[keyof IdentitiesAccessDeleteErrors];
2053
2270
  type IdentitiesAccessDeleteResponses = {
@@ -2068,18 +2285,38 @@ type IdentitiesAccessGetData = {
2068
2285
  url: '/identities/{id}/access';
2069
2286
  };
2070
2287
  type IdentitiesAccessGetErrors = {
2288
+ /**
2289
+ * The request is not valid. `error.field` names the input at fault when there is one.
2290
+ */
2291
+ 400: Error;
2071
2292
  /**
2072
2293
  * No API key, or one that is not valid.
2073
2294
  */
2074
2295
  401: Error;
2296
+ /**
2297
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2298
+ */
2299
+ 403: Error;
2075
2300
  /**
2076
2301
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2077
2302
  */
2078
2303
  404: Error;
2304
+ /**
2305
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2306
+ */
2307
+ 409: Error;
2079
2308
  /**
2080
2309
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2081
2310
  */
2082
2311
  429: Error;
2312
+ /**
2313
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2314
+ */
2315
+ 500: Error;
2316
+ /**
2317
+ * Something this needs is not answering right now. Retry in a moment.
2318
+ */
2319
+ 503: Error;
2083
2320
  };
2084
2321
  type IdentitiesAccessGetError = IdentitiesAccessGetErrors[keyof IdentitiesAccessGetErrors];
2085
2322
  type IdentitiesAccessGetResponses = {
@@ -2108,18 +2345,38 @@ type IdentitiesAccessCreateData = {
2108
2345
  url: '/identities/{id}/access';
2109
2346
  };
2110
2347
  type IdentitiesAccessCreateErrors = {
2348
+ /**
2349
+ * The request is not valid. `error.field` names the input at fault when there is one.
2350
+ */
2351
+ 400: Error;
2111
2352
  /**
2112
2353
  * No API key, or one that is not valid.
2113
2354
  */
2114
2355
  401: Error;
2356
+ /**
2357
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2358
+ */
2359
+ 403: Error;
2115
2360
  /**
2116
2361
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2117
2362
  */
2118
2363
  404: Error;
2364
+ /**
2365
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2366
+ */
2367
+ 409: Error;
2119
2368
  /**
2120
2369
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2121
2370
  */
2122
2371
  429: Error;
2372
+ /**
2373
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2374
+ */
2375
+ 500: Error;
2376
+ /**
2377
+ * Something this needs is not answering right now. Retry in a moment.
2378
+ */
2379
+ 503: Error;
2123
2380
  };
2124
2381
  type IdentitiesAccessCreateError = IdentitiesAccessCreateErrors[keyof IdentitiesAccessCreateErrors];
2125
2382
  type IdentitiesAccessCreateResponses = {
@@ -2142,18 +2399,38 @@ type IdentitiesSendRulesDeleteData = {
2142
2399
  url: '/identities/{id}/send-rules';
2143
2400
  };
2144
2401
  type IdentitiesSendRulesDeleteErrors = {
2402
+ /**
2403
+ * The request is not valid. `error.field` names the input at fault when there is one.
2404
+ */
2405
+ 400: Error;
2145
2406
  /**
2146
2407
  * No API key, or one that is not valid.
2147
2408
  */
2148
2409
  401: Error;
2410
+ /**
2411
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2412
+ */
2413
+ 403: Error;
2149
2414
  /**
2150
2415
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2151
2416
  */
2152
2417
  404: Error;
2418
+ /**
2419
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2420
+ */
2421
+ 409: Error;
2153
2422
  /**
2154
2423
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2155
2424
  */
2156
2425
  429: Error;
2426
+ /**
2427
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2428
+ */
2429
+ 500: Error;
2430
+ /**
2431
+ * Something this needs is not answering right now. Retry in a moment.
2432
+ */
2433
+ 503: Error;
2157
2434
  };
2158
2435
  type IdentitiesSendRulesDeleteError = IdentitiesSendRulesDeleteErrors[keyof IdentitiesSendRulesDeleteErrors];
2159
2436
  type IdentitiesSendRulesDeleteResponses = {
@@ -2174,18 +2451,38 @@ type IdentitiesSendRulesGetData = {
2174
2451
  url: '/identities/{id}/send-rules';
2175
2452
  };
2176
2453
  type IdentitiesSendRulesGetErrors = {
2454
+ /**
2455
+ * The request is not valid. `error.field` names the input at fault when there is one.
2456
+ */
2457
+ 400: Error;
2177
2458
  /**
2178
2459
  * No API key, or one that is not valid.
2179
2460
  */
2180
2461
  401: Error;
2462
+ /**
2463
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2464
+ */
2465
+ 403: Error;
2181
2466
  /**
2182
2467
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2183
2468
  */
2184
2469
  404: Error;
2470
+ /**
2471
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2472
+ */
2473
+ 409: Error;
2185
2474
  /**
2186
2475
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2187
2476
  */
2188
2477
  429: Error;
2478
+ /**
2479
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2480
+ */
2481
+ 500: Error;
2482
+ /**
2483
+ * Something this needs is not answering right now. Retry in a moment.
2484
+ */
2485
+ 503: Error;
2189
2486
  };
2190
2487
  type IdentitiesSendRulesGetError = IdentitiesSendRulesGetErrors[keyof IdentitiesSendRulesGetErrors];
2191
2488
  type IdentitiesSendRulesGetResponses = {
@@ -2209,18 +2506,38 @@ type IdentitiesSendRulesCreateData = {
2209
2506
  url: '/identities/{id}/send-rules';
2210
2507
  };
2211
2508
  type IdentitiesSendRulesCreateErrors = {
2509
+ /**
2510
+ * The request is not valid. `error.field` names the input at fault when there is one.
2511
+ */
2512
+ 400: Error;
2212
2513
  /**
2213
2514
  * No API key, or one that is not valid.
2214
2515
  */
2215
2516
  401: Error;
2517
+ /**
2518
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2519
+ */
2520
+ 403: Error;
2216
2521
  /**
2217
2522
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2218
2523
  */
2219
2524
  404: Error;
2525
+ /**
2526
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2527
+ */
2528
+ 409: Error;
2220
2529
  /**
2221
2530
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2222
2531
  */
2223
2532
  429: Error;
2533
+ /**
2534
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2535
+ */
2536
+ 500: Error;
2537
+ /**
2538
+ * Something this needs is not answering right now. Retry in a moment.
2539
+ */
2540
+ 503: Error;
2224
2541
  };
2225
2542
  type IdentitiesSendRulesCreateError = IdentitiesSendRulesCreateErrors[keyof IdentitiesSendRulesCreateErrors];
2226
2543
  type IdentitiesSendRulesCreateResponses = {
@@ -2243,18 +2560,38 @@ type IdentitiesReceiveRulesDeleteData = {
2243
2560
  url: '/identities/{id}/receive-rules';
2244
2561
  };
2245
2562
  type IdentitiesReceiveRulesDeleteErrors = {
2563
+ /**
2564
+ * The request is not valid. `error.field` names the input at fault when there is one.
2565
+ */
2566
+ 400: Error;
2246
2567
  /**
2247
2568
  * No API key, or one that is not valid.
2248
2569
  */
2249
2570
  401: Error;
2571
+ /**
2572
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2573
+ */
2574
+ 403: Error;
2250
2575
  /**
2251
2576
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2252
2577
  */
2253
2578
  404: Error;
2579
+ /**
2580
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2581
+ */
2582
+ 409: Error;
2254
2583
  /**
2255
2584
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2256
2585
  */
2257
2586
  429: Error;
2587
+ /**
2588
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2589
+ */
2590
+ 500: Error;
2591
+ /**
2592
+ * Something this needs is not answering right now. Retry in a moment.
2593
+ */
2594
+ 503: Error;
2258
2595
  };
2259
2596
  type IdentitiesReceiveRulesDeleteError = IdentitiesReceiveRulesDeleteErrors[keyof IdentitiesReceiveRulesDeleteErrors];
2260
2597
  type IdentitiesReceiveRulesDeleteResponses = {
@@ -2275,18 +2612,38 @@ type IdentitiesReceiveRulesGetData = {
2275
2612
  url: '/identities/{id}/receive-rules';
2276
2613
  };
2277
2614
  type IdentitiesReceiveRulesGetErrors = {
2615
+ /**
2616
+ * The request is not valid. `error.field` names the input at fault when there is one.
2617
+ */
2618
+ 400: Error;
2278
2619
  /**
2279
2620
  * No API key, or one that is not valid.
2280
2621
  */
2281
2622
  401: Error;
2623
+ /**
2624
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2625
+ */
2626
+ 403: Error;
2282
2627
  /**
2283
2628
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2284
2629
  */
2285
2630
  404: Error;
2631
+ /**
2632
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2633
+ */
2634
+ 409: Error;
2286
2635
  /**
2287
2636
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2288
2637
  */
2289
2638
  429: Error;
2639
+ /**
2640
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2641
+ */
2642
+ 500: Error;
2643
+ /**
2644
+ * Something this needs is not answering right now. Retry in a moment.
2645
+ */
2646
+ 503: Error;
2290
2647
  };
2291
2648
  type IdentitiesReceiveRulesGetError = IdentitiesReceiveRulesGetErrors[keyof IdentitiesReceiveRulesGetErrors];
2292
2649
  type IdentitiesReceiveRulesGetResponses = {
@@ -2310,18 +2667,38 @@ type IdentitiesReceiveRulesCreateData = {
2310
2667
  url: '/identities/{id}/receive-rules';
2311
2668
  };
2312
2669
  type IdentitiesReceiveRulesCreateErrors = {
2670
+ /**
2671
+ * The request is not valid. `error.field` names the input at fault when there is one.
2672
+ */
2673
+ 400: Error;
2313
2674
  /**
2314
2675
  * No API key, or one that is not valid.
2315
2676
  */
2316
2677
  401: Error;
2678
+ /**
2679
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2680
+ */
2681
+ 403: Error;
2317
2682
  /**
2318
2683
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2319
2684
  */
2320
2685
  404: Error;
2686
+ /**
2687
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2688
+ */
2689
+ 409: Error;
2321
2690
  /**
2322
2691
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2323
2692
  */
2324
2693
  429: Error;
2694
+ /**
2695
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2696
+ */
2697
+ 500: Error;
2698
+ /**
2699
+ * Something this needs is not answering right now. Retry in a moment.
2700
+ */
2701
+ 503: Error;
2325
2702
  };
2326
2703
  type IdentitiesReceiveRulesCreateError = IdentitiesReceiveRulesCreateErrors[keyof IdentitiesReceiveRulesCreateErrors];
2327
2704
  type IdentitiesReceiveRulesCreateResponses = {
@@ -2345,18 +2722,38 @@ type IdentitiesSuspendTenantData = {
2345
2722
  url: '/tenants/{id}/suspend';
2346
2723
  };
2347
2724
  type IdentitiesSuspendTenantErrors = {
2725
+ /**
2726
+ * The request is not valid. `error.field` names the input at fault when there is one.
2727
+ */
2728
+ 400: Error;
2348
2729
  /**
2349
2730
  * No API key, or one that is not valid.
2350
2731
  */
2351
2732
  401: Error;
2733
+ /**
2734
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2735
+ */
2736
+ 403: Error;
2352
2737
  /**
2353
2738
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2354
2739
  */
2355
2740
  404: Error;
2356
2741
  /**
2357
- * Rate limited. `X-RateLimit-Reset` says when to retry.
2742
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2743
+ */
2744
+ 409: Error;
2745
+ /**
2746
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
2358
2747
  */
2359
2748
  429: Error;
2749
+ /**
2750
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2751
+ */
2752
+ 500: Error;
2753
+ /**
2754
+ * Something this needs is not answering right now. Retry in a moment.
2755
+ */
2756
+ 503: Error;
2360
2757
  };
2361
2758
  type IdentitiesSuspendTenantError = IdentitiesSuspendTenantErrors[keyof IdentitiesSuspendTenantErrors];
2362
2759
  type IdentitiesSuspendTenantResponses = {
@@ -2375,18 +2772,38 @@ type PodsListData = {
2375
2772
  url: '/pods';
2376
2773
  };
2377
2774
  type PodsListErrors = {
2775
+ /**
2776
+ * The request is not valid. `error.field` names the input at fault when there is one.
2777
+ */
2778
+ 400: Error;
2378
2779
  /**
2379
2780
  * No API key, or one that is not valid.
2380
2781
  */
2381
2782
  401: Error;
2783
+ /**
2784
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2785
+ */
2786
+ 403: Error;
2382
2787
  /**
2383
2788
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2384
2789
  */
2385
2790
  404: Error;
2791
+ /**
2792
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2793
+ */
2794
+ 409: Error;
2386
2795
  /**
2387
2796
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2388
2797
  */
2389
2798
  429: Error;
2799
+ /**
2800
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2801
+ */
2802
+ 500: Error;
2803
+ /**
2804
+ * Something this needs is not answering right now. Retry in a moment.
2805
+ */
2806
+ 503: Error;
2390
2807
  };
2391
2808
  type PodsListError = PodsListErrors[keyof PodsListErrors];
2392
2809
  type PodsListResponses = {
@@ -2416,18 +2833,42 @@ type PodsCreateData = {
2416
2833
  url: '/pods';
2417
2834
  };
2418
2835
  type PodsCreateErrors = {
2836
+ /**
2837
+ * The request is not valid. `error.field` names the input at fault when there is one.
2838
+ */
2839
+ 400: Error;
2419
2840
  /**
2420
2841
  * No API key, or one that is not valid.
2421
2842
  */
2422
2843
  401: Error;
2844
+ /**
2845
+ * Your plan does not include this. `error.message` says what does.
2846
+ */
2847
+ 402: Error;
2848
+ /**
2849
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2850
+ */
2851
+ 403: Error;
2423
2852
  /**
2424
2853
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2425
2854
  */
2426
2855
  404: Error;
2856
+ /**
2857
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2858
+ */
2859
+ 409: Error;
2427
2860
  /**
2428
2861
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2429
2862
  */
2430
2863
  429: Error;
2864
+ /**
2865
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2866
+ */
2867
+ 500: Error;
2868
+ /**
2869
+ * Something this needs is not answering right now. Retry in a moment.
2870
+ */
2871
+ 503: Error;
2431
2872
  };
2432
2873
  type PodsCreateError = PodsCreateErrors[keyof PodsCreateErrors];
2433
2874
  type PodsCreateResponses = {
@@ -2448,18 +2889,38 @@ type PodsGetData = {
2448
2889
  url: '/pods/{id}';
2449
2890
  };
2450
2891
  type PodsGetErrors = {
2892
+ /**
2893
+ * The request is not valid. `error.field` names the input at fault when there is one.
2894
+ */
2895
+ 400: Error;
2451
2896
  /**
2452
2897
  * No API key, or one that is not valid.
2453
2898
  */
2454
2899
  401: Error;
2900
+ /**
2901
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2902
+ */
2903
+ 403: Error;
2455
2904
  /**
2456
2905
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2457
2906
  */
2458
2907
  404: Error;
2908
+ /**
2909
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2910
+ */
2911
+ 409: Error;
2459
2912
  /**
2460
2913
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2461
2914
  */
2462
2915
  429: Error;
2916
+ /**
2917
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2918
+ */
2919
+ 500: Error;
2920
+ /**
2921
+ * Something this needs is not answering right now. Retry in a moment.
2922
+ */
2923
+ 503: Error;
2463
2924
  };
2464
2925
  type PodsGetError = PodsGetErrors[keyof PodsGetErrors];
2465
2926
  type PodsGetResponses = {
@@ -2486,18 +2947,38 @@ type PodsUpdateData = {
2486
2947
  url: '/pods/{id}';
2487
2948
  };
2488
2949
  type PodsUpdateErrors = {
2950
+ /**
2951
+ * The request is not valid. `error.field` names the input at fault when there is one.
2952
+ */
2953
+ 400: Error;
2489
2954
  /**
2490
2955
  * No API key, or one that is not valid.
2491
2956
  */
2492
2957
  401: Error;
2958
+ /**
2959
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
2960
+ */
2961
+ 403: Error;
2493
2962
  /**
2494
2963
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2495
2964
  */
2496
2965
  404: Error;
2966
+ /**
2967
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2968
+ */
2969
+ 409: Error;
2497
2970
  /**
2498
2971
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2499
2972
  */
2500
2973
  429: Error;
2974
+ /**
2975
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
2976
+ */
2977
+ 500: Error;
2978
+ /**
2979
+ * Something this needs is not answering right now. Retry in a moment.
2980
+ */
2981
+ 503: Error;
2501
2982
  };
2502
2983
  type PodsUpdateError = PodsUpdateErrors[keyof PodsUpdateErrors];
2503
2984
  type PodsUpdateResponses = {
@@ -2518,18 +2999,38 @@ type LabelsListData = {
2518
2999
  url: '/labels';
2519
3000
  };
2520
3001
  type LabelsListErrors = {
3002
+ /**
3003
+ * The request is not valid. `error.field` names the input at fault when there is one.
3004
+ */
3005
+ 400: Error;
2521
3006
  /**
2522
3007
  * No API key, or one that is not valid.
2523
3008
  */
2524
3009
  401: Error;
3010
+ /**
3011
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3012
+ */
3013
+ 403: Error;
2525
3014
  /**
2526
3015
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2527
3016
  */
2528
3017
  404: Error;
3018
+ /**
3019
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3020
+ */
3021
+ 409: Error;
2529
3022
  /**
2530
3023
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2531
3024
  */
2532
3025
  429: Error;
3026
+ /**
3027
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3028
+ */
3029
+ 500: Error;
3030
+ /**
3031
+ * Something this needs is not answering right now. Retry in a moment.
3032
+ */
3033
+ 503: Error;
2533
3034
  };
2534
3035
  type LabelsListError = LabelsListErrors[keyof LabelsListErrors];
2535
3036
  type LabelsListResponses = {
@@ -2560,18 +3061,38 @@ type LabelsCreateData = {
2560
3061
  url: '/labels';
2561
3062
  };
2562
3063
  type LabelsCreateErrors = {
3064
+ /**
3065
+ * The request is not valid. `error.field` names the input at fault when there is one.
3066
+ */
3067
+ 400: Error;
2563
3068
  /**
2564
3069
  * No API key, or one that is not valid.
2565
3070
  */
2566
3071
  401: Error;
3072
+ /**
3073
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3074
+ */
3075
+ 403: Error;
2567
3076
  /**
2568
3077
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2569
3078
  */
2570
3079
  404: Error;
3080
+ /**
3081
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3082
+ */
3083
+ 409: Error;
2571
3084
  /**
2572
3085
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2573
3086
  */
2574
3087
  429: Error;
3088
+ /**
3089
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3090
+ */
3091
+ 500: Error;
3092
+ /**
3093
+ * Something this needs is not answering right now. Retry in a moment.
3094
+ */
3095
+ 503: Error;
2575
3096
  };
2576
3097
  type LabelsCreateError = LabelsCreateErrors[keyof LabelsCreateErrors];
2577
3098
  type LabelsCreateResponses = {
@@ -2592,18 +3113,38 @@ type LabelsDeleteData = {
2592
3113
  url: '/labels/{id}';
2593
3114
  };
2594
3115
  type LabelsDeleteErrors = {
3116
+ /**
3117
+ * The request is not valid. `error.field` names the input at fault when there is one.
3118
+ */
3119
+ 400: Error;
2595
3120
  /**
2596
3121
  * No API key, or one that is not valid.
2597
3122
  */
2598
3123
  401: Error;
3124
+ /**
3125
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3126
+ */
3127
+ 403: Error;
2599
3128
  /**
2600
3129
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2601
3130
  */
2602
3131
  404: Error;
3132
+ /**
3133
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3134
+ */
3135
+ 409: Error;
2603
3136
  /**
2604
3137
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2605
3138
  */
2606
3139
  429: Error;
3140
+ /**
3141
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3142
+ */
3143
+ 500: Error;
3144
+ /**
3145
+ * Something this needs is not answering right now. Retry in a moment.
3146
+ */
3147
+ 503: Error;
2607
3148
  };
2608
3149
  type LabelsDeleteError = LabelsDeleteErrors[keyof LabelsDeleteErrors];
2609
3150
  type LabelsDeleteResponses = {
@@ -2627,18 +3168,38 @@ type LabelsUpdateData = {
2627
3168
  url: '/labels/{id}';
2628
3169
  };
2629
3170
  type LabelsUpdateErrors = {
3171
+ /**
3172
+ * The request is not valid. `error.field` names the input at fault when there is one.
3173
+ */
3174
+ 400: Error;
2630
3175
  /**
2631
3176
  * No API key, or one that is not valid.
2632
3177
  */
2633
3178
  401: Error;
3179
+ /**
3180
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3181
+ */
3182
+ 403: Error;
2634
3183
  /**
2635
3184
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2636
3185
  */
2637
3186
  404: Error;
3187
+ /**
3188
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3189
+ */
3190
+ 409: Error;
2638
3191
  /**
2639
3192
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2640
3193
  */
2641
3194
  429: Error;
3195
+ /**
3196
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3197
+ */
3198
+ 500: Error;
3199
+ /**
3200
+ * Something this needs is not answering right now. Retry in a moment.
3201
+ */
3202
+ 503: Error;
2642
3203
  };
2643
3204
  type LabelsUpdateError = LabelsUpdateErrors[keyof LabelsUpdateErrors];
2644
3205
  type LabelsUpdateResponses = {
@@ -2661,18 +3222,38 @@ type ThreadsLabelsDeleteData = {
2661
3222
  url: '/threads/{id}/labels';
2662
3223
  };
2663
3224
  type ThreadsLabelsDeleteErrors = {
3225
+ /**
3226
+ * The request is not valid. `error.field` names the input at fault when there is one.
3227
+ */
3228
+ 400: Error;
2664
3229
  /**
2665
3230
  * No API key, or one that is not valid.
2666
3231
  */
2667
3232
  401: Error;
3233
+ /**
3234
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3235
+ */
3236
+ 403: Error;
2668
3237
  /**
2669
3238
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2670
3239
  */
2671
3240
  404: Error;
3241
+ /**
3242
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3243
+ */
3244
+ 409: Error;
2672
3245
  /**
2673
3246
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2674
3247
  */
2675
3248
  429: Error;
3249
+ /**
3250
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3251
+ */
3252
+ 500: Error;
3253
+ /**
3254
+ * Something this needs is not answering right now. Retry in a moment.
3255
+ */
3256
+ 503: Error;
2676
3257
  };
2677
3258
  type ThreadsLabelsDeleteError = ThreadsLabelsDeleteErrors[keyof ThreadsLabelsDeleteErrors];
2678
3259
  type ThreadsLabelsDeleteResponses = {
@@ -2693,18 +3274,38 @@ type ThreadsLabelsGetData = {
2693
3274
  url: '/threads/{id}/labels';
2694
3275
  };
2695
3276
  type ThreadsLabelsGetErrors = {
3277
+ /**
3278
+ * The request is not valid. `error.field` names the input at fault when there is one.
3279
+ */
3280
+ 400: Error;
2696
3281
  /**
2697
3282
  * No API key, or one that is not valid.
2698
3283
  */
2699
3284
  401: Error;
3285
+ /**
3286
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3287
+ */
3288
+ 403: Error;
2700
3289
  /**
2701
3290
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2702
3291
  */
2703
3292
  404: Error;
3293
+ /**
3294
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3295
+ */
3296
+ 409: Error;
2704
3297
  /**
2705
3298
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2706
3299
  */
2707
3300
  429: Error;
3301
+ /**
3302
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3303
+ */
3304
+ 500: Error;
3305
+ /**
3306
+ * Something this needs is not answering right now. Retry in a moment.
3307
+ */
3308
+ 503: Error;
2708
3309
  };
2709
3310
  type ThreadsLabelsGetError = ThreadsLabelsGetErrors[keyof ThreadsLabelsGetErrors];
2710
3311
  type ThreadsLabelsGetResponses = {
@@ -2732,18 +3333,38 @@ type ThreadsLabelsCreateData = {
2732
3333
  url: '/threads/{id}/labels';
2733
3334
  };
2734
3335
  type ThreadsLabelsCreateErrors = {
3336
+ /**
3337
+ * The request is not valid. `error.field` names the input at fault when there is one.
3338
+ */
3339
+ 400: Error;
2735
3340
  /**
2736
3341
  * No API key, or one that is not valid.
2737
3342
  */
2738
3343
  401: Error;
3344
+ /**
3345
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3346
+ */
3347
+ 403: Error;
2739
3348
  /**
2740
3349
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2741
3350
  */
2742
3351
  404: Error;
3352
+ /**
3353
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3354
+ */
3355
+ 409: Error;
2743
3356
  /**
2744
3357
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2745
3358
  */
2746
3359
  429: Error;
3360
+ /**
3361
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3362
+ */
3363
+ 500: Error;
3364
+ /**
3365
+ * Something this needs is not answering right now. Retry in a moment.
3366
+ */
3367
+ 503: Error;
2747
3368
  };
2748
3369
  type ThreadsLabelsCreateError = ThreadsLabelsCreateErrors[keyof ThreadsLabelsCreateErrors];
2749
3370
  type ThreadsLabelsCreateResponses = {
@@ -2775,18 +3396,38 @@ type MessagesListInThreadData = {
2775
3396
  url: '/messages';
2776
3397
  };
2777
3398
  type MessagesListInThreadErrors = {
3399
+ /**
3400
+ * The request is not valid. `error.field` names the input at fault when there is one.
3401
+ */
3402
+ 400: Error;
2778
3403
  /**
2779
3404
  * No API key, or one that is not valid.
2780
3405
  */
2781
3406
  401: Error;
3407
+ /**
3408
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3409
+ */
3410
+ 403: Error;
2782
3411
  /**
2783
3412
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2784
3413
  */
2785
3414
  404: Error;
3415
+ /**
3416
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3417
+ */
3418
+ 409: Error;
2786
3419
  /**
2787
3420
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2788
3421
  */
2789
3422
  429: Error;
3423
+ /**
3424
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3425
+ */
3426
+ 500: Error;
3427
+ /**
3428
+ * Something this needs is not answering right now. Retry in a moment.
3429
+ */
3430
+ 503: Error;
2790
3431
  };
2791
3432
  type MessagesListInThreadError = MessagesListInThreadErrors[keyof MessagesListInThreadErrors];
2792
3433
  type MessagesListInThreadResponses = {
@@ -2852,7 +3493,7 @@ type MessagesSendData = {
2852
3493
  };
2853
3494
  type MessagesSendErrors = {
2854
3495
  /**
2855
- * The request is not valid. `error.param` names the field when there is one.
3496
+ * The request is not valid. `error.field` names the input at fault when there is one.
2856
3497
  */
2857
3498
  400: Error;
2858
3499
  /**
@@ -2875,6 +3516,14 @@ type MessagesSendErrors = {
2875
3516
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2876
3517
  */
2877
3518
  429: Error;
3519
+ /**
3520
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3521
+ */
3522
+ 500: Error;
3523
+ /**
3524
+ * Something this needs is not answering right now. Retry in a moment.
3525
+ */
3526
+ 503: Error;
2878
3527
  };
2879
3528
  type MessagesSendError = MessagesSendErrors[keyof MessagesSendErrors];
2880
3529
  type MessagesSendResponses = {
@@ -2904,18 +3553,38 @@ type MessagesSearchData = {
2904
3553
  url: '/messages/search';
2905
3554
  };
2906
3555
  type MessagesSearchErrors = {
3556
+ /**
3557
+ * The request is not valid. `error.field` names the input at fault when there is one.
3558
+ */
3559
+ 400: Error;
2907
3560
  /**
2908
3561
  * No API key, or one that is not valid.
2909
3562
  */
2910
3563
  401: Error;
3564
+ /**
3565
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3566
+ */
3567
+ 403: Error;
2911
3568
  /**
2912
3569
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2913
3570
  */
2914
3571
  404: Error;
3572
+ /**
3573
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3574
+ */
3575
+ 409: Error;
2915
3576
  /**
2916
3577
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2917
3578
  */
2918
3579
  429: Error;
3580
+ /**
3581
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3582
+ */
3583
+ 500: Error;
3584
+ /**
3585
+ * Something this needs is not answering right now. Retry in a moment.
3586
+ */
3587
+ 503: Error;
2919
3588
  };
2920
3589
  type MessagesSearchError = MessagesSearchErrors[keyof MessagesSearchErrors];
2921
3590
  type MessagesSearchResponses = {
@@ -2945,18 +3614,38 @@ type MessagesActData = {
2945
3614
  url: '/messages/actions';
2946
3615
  };
2947
3616
  type MessagesActErrors = {
3617
+ /**
3618
+ * The request is not valid. `error.field` names the input at fault when there is one.
3619
+ */
3620
+ 400: Error;
2948
3621
  /**
2949
3622
  * No API key, or one that is not valid.
2950
3623
  */
2951
3624
  401: Error;
3625
+ /**
3626
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3627
+ */
3628
+ 403: Error;
2952
3629
  /**
2953
3630
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2954
3631
  */
2955
3632
  404: Error;
3633
+ /**
3634
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3635
+ */
3636
+ 409: Error;
2956
3637
  /**
2957
3638
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2958
3639
  */
2959
3640
  429: Error;
3641
+ /**
3642
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3643
+ */
3644
+ 500: Error;
3645
+ /**
3646
+ * Something this needs is not answering right now. Retry in a moment.
3647
+ */
3648
+ 503: Error;
2960
3649
  };
2961
3650
  type MessagesActError = MessagesActErrors[keyof MessagesActErrors];
2962
3651
  type MessagesActResponses = {
@@ -2977,18 +3666,38 @@ type MessagesUndoData = {
2977
3666
  url: '/messages/undo';
2978
3667
  };
2979
3668
  type MessagesUndoErrors = {
3669
+ /**
3670
+ * The request is not valid. `error.field` names the input at fault when there is one.
3671
+ */
3672
+ 400: Error;
2980
3673
  /**
2981
3674
  * No API key, or one that is not valid.
2982
3675
  */
2983
3676
  401: Error;
3677
+ /**
3678
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3679
+ */
3680
+ 403: Error;
2984
3681
  /**
2985
3682
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
2986
3683
  */
2987
3684
  404: Error;
3685
+ /**
3686
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3687
+ */
3688
+ 409: Error;
2988
3689
  /**
2989
3690
  * Rate limited. `X-RateLimit-Reset` says when to retry.
2990
3691
  */
2991
3692
  429: Error;
3693
+ /**
3694
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3695
+ */
3696
+ 500: Error;
3697
+ /**
3698
+ * Something this needs is not answering right now. Retry in a moment.
3699
+ */
3700
+ 503: Error;
2992
3701
  };
2993
3702
  type MessagesUndoError = MessagesUndoErrors[keyof MessagesUndoErrors];
2994
3703
  type MessagesUndoResponses = {
@@ -3019,18 +3728,38 @@ type MessagesAwaitData = {
3019
3728
  url: '/messages/await';
3020
3729
  };
3021
3730
  type MessagesAwaitErrors = {
3731
+ /**
3732
+ * The request is not valid. `error.field` names the input at fault when there is one.
3733
+ */
3734
+ 400: Error;
3022
3735
  /**
3023
3736
  * No API key, or one that is not valid.
3024
3737
  */
3025
3738
  401: Error;
3739
+ /**
3740
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3741
+ */
3742
+ 403: Error;
3026
3743
  /**
3027
3744
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3028
3745
  */
3029
3746
  404: Error;
3747
+ /**
3748
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3749
+ */
3750
+ 409: Error;
3030
3751
  /**
3031
3752
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3032
3753
  */
3033
3754
  429: Error;
3755
+ /**
3756
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3757
+ */
3758
+ 500: Error;
3759
+ /**
3760
+ * Something this needs is not answering right now. Retry in a moment.
3761
+ */
3762
+ 503: Error;
3034
3763
  };
3035
3764
  type MessagesAwaitError = MessagesAwaitErrors[keyof MessagesAwaitErrors];
3036
3765
  type MessagesAwaitResponses = {
@@ -3053,18 +3782,38 @@ type MessagesGetData = {
3053
3782
  url: '/messages/{id}';
3054
3783
  };
3055
3784
  type MessagesGetErrors = {
3785
+ /**
3786
+ * The request is not valid. `error.field` names the input at fault when there is one.
3787
+ */
3788
+ 400: Error;
3056
3789
  /**
3057
3790
  * No API key, or one that is not valid.
3058
3791
  */
3059
3792
  401: Error;
3793
+ /**
3794
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3795
+ */
3796
+ 403: Error;
3060
3797
  /**
3061
3798
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3062
3799
  */
3063
3800
  404: Error;
3801
+ /**
3802
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3803
+ */
3804
+ 409: Error;
3064
3805
  /**
3065
3806
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3066
3807
  */
3067
3808
  429: Error;
3809
+ /**
3810
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3811
+ */
3812
+ 500: Error;
3813
+ /**
3814
+ * Something this needs is not answering right now. Retry in a moment.
3815
+ */
3816
+ 503: Error;
3068
3817
  };
3069
3818
  type MessagesGetError = MessagesGetErrors[keyof MessagesGetErrors];
3070
3819
  type MessagesGetResponses = {
@@ -3092,18 +3841,38 @@ type MessagesUpdateData = {
3092
3841
  url: '/messages/{id}';
3093
3842
  };
3094
3843
  type MessagesUpdateErrors = {
3844
+ /**
3845
+ * The request is not valid. `error.field` names the input at fault when there is one.
3846
+ */
3847
+ 400: Error;
3095
3848
  /**
3096
3849
  * No API key, or one that is not valid.
3097
3850
  */
3098
3851
  401: Error;
3852
+ /**
3853
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
3854
+ */
3855
+ 403: Error;
3099
3856
  /**
3100
3857
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3101
3858
  */
3102
3859
  404: Error;
3860
+ /**
3861
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3862
+ */
3863
+ 409: Error;
3103
3864
  /**
3104
3865
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3105
3866
  */
3106
3867
  429: Error;
3868
+ /**
3869
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3870
+ */
3871
+ 500: Error;
3872
+ /**
3873
+ * Something this needs is not answering right now. Retry in a moment.
3874
+ */
3875
+ 503: Error;
3107
3876
  };
3108
3877
  type MessagesUpdateError = MessagesUpdateErrors[keyof MessagesUpdateErrors];
3109
3878
  type MessagesUpdateResponses = {
@@ -3150,7 +3919,7 @@ type MessagesReplyData = {
3150
3919
  };
3151
3920
  type MessagesReplyErrors = {
3152
3921
  /**
3153
- * The request is not valid. `error.param` names the field when there is one.
3922
+ * The request is not valid. `error.field` names the input at fault when there is one.
3154
3923
  */
3155
3924
  400: Error;
3156
3925
  /**
@@ -3165,10 +3934,22 @@ type MessagesReplyErrors = {
3165
3934
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3166
3935
  */
3167
3936
  404: Error;
3937
+ /**
3938
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3939
+ */
3940
+ 409: Error;
3168
3941
  /**
3169
3942
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3170
3943
  */
3171
3944
  429: Error;
3945
+ /**
3946
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3947
+ */
3948
+ 500: Error;
3949
+ /**
3950
+ * Something this needs is not answering right now. Retry in a moment.
3951
+ */
3952
+ 503: Error;
3172
3953
  };
3173
3954
  type MessagesReplyError = MessagesReplyErrors[keyof MessagesReplyErrors];
3174
3955
  type MessagesReplyResponses = {
@@ -3215,7 +3996,7 @@ type MessagesReplyAllData = {
3215
3996
  };
3216
3997
  type MessagesReplyAllErrors = {
3217
3998
  /**
3218
- * The request is not valid. `error.param` names the field when there is one.
3999
+ * The request is not valid. `error.field` names the input at fault when there is one.
3219
4000
  */
3220
4001
  400: Error;
3221
4002
  /**
@@ -3231,9 +4012,21 @@ type MessagesReplyAllErrors = {
3231
4012
  */
3232
4013
  404: Error;
3233
4014
  /**
3234
- * Rate limited. `X-RateLimit-Reset` says when to retry.
4015
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4016
+ */
4017
+ 409: Error;
4018
+ /**
4019
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
3235
4020
  */
3236
4021
  429: Error;
4022
+ /**
4023
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4024
+ */
4025
+ 500: Error;
4026
+ /**
4027
+ * Something this needs is not answering right now. Retry in a moment.
4028
+ */
4029
+ 503: Error;
3237
4030
  };
3238
4031
  type MessagesReplyAllError = MessagesReplyAllErrors[keyof MessagesReplyAllErrors];
3239
4032
  type MessagesReplyAllResponses = {
@@ -3280,7 +4073,7 @@ type MessagesForwardData = {
3280
4073
  };
3281
4074
  type MessagesForwardErrors = {
3282
4075
  /**
3283
- * The request is not valid. `error.param` names the field when there is one.
4076
+ * The request is not valid. `error.field` names the input at fault when there is one.
3284
4077
  */
3285
4078
  400: Error;
3286
4079
  /**
@@ -3295,10 +4088,22 @@ type MessagesForwardErrors = {
3295
4088
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3296
4089
  */
3297
4090
  404: Error;
4091
+ /**
4092
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4093
+ */
4094
+ 409: Error;
3298
4095
  /**
3299
4096
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3300
4097
  */
3301
4098
  429: Error;
4099
+ /**
4100
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4101
+ */
4102
+ 500: Error;
4103
+ /**
4104
+ * Something this needs is not answering right now. Retry in a moment.
4105
+ */
4106
+ 503: Error;
3302
4107
  };
3303
4108
  type MessagesForwardError = MessagesForwardErrors[keyof MessagesForwardErrors];
3304
4109
  type MessagesForwardResponses = {
@@ -3319,18 +4124,38 @@ type MessagesRawData = {
3319
4124
  url: '/messages/{id}/raw';
3320
4125
  };
3321
4126
  type MessagesRawErrors = {
4127
+ /**
4128
+ * The request is not valid. `error.field` names the input at fault when there is one.
4129
+ */
4130
+ 400: Error;
3322
4131
  /**
3323
4132
  * No API key, or one that is not valid.
3324
4133
  */
3325
4134
  401: Error;
4135
+ /**
4136
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4137
+ */
4138
+ 403: Error;
3326
4139
  /**
3327
4140
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3328
4141
  */
3329
4142
  404: Error;
4143
+ /**
4144
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4145
+ */
4146
+ 409: Error;
3330
4147
  /**
3331
4148
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3332
4149
  */
3333
4150
  429: Error;
4151
+ /**
4152
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4153
+ */
4154
+ 500: Error;
4155
+ /**
4156
+ * Something this needs is not answering right now. Retry in a moment.
4157
+ */
4158
+ 503: Error;
3334
4159
  };
3335
4160
  type MessagesRawError = MessagesRawErrors[keyof MessagesRawErrors];
3336
4161
  type MessagesRawResponses = {
@@ -3349,18 +4174,38 @@ type ExportMailData = {
3349
4174
  url: '/export';
3350
4175
  };
3351
4176
  type ExportMailErrors = {
4177
+ /**
4178
+ * The request is not valid. `error.field` names the input at fault when there is one.
4179
+ */
4180
+ 400: Error;
3352
4181
  /**
3353
4182
  * No API key, or one that is not valid.
3354
4183
  */
3355
4184
  401: Error;
4185
+ /**
4186
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4187
+ */
4188
+ 403: Error;
3356
4189
  /**
3357
4190
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3358
4191
  */
3359
4192
  404: Error;
4193
+ /**
4194
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4195
+ */
4196
+ 409: Error;
3360
4197
  /**
3361
4198
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3362
4199
  */
3363
4200
  429: Error;
4201
+ /**
4202
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4203
+ */
4204
+ 500: Error;
4205
+ /**
4206
+ * Something this needs is not answering right now. Retry in a moment.
4207
+ */
4208
+ 503: Error;
3364
4209
  };
3365
4210
  type ExportMailError = ExportMailErrors[keyof ExportMailErrors];
3366
4211
  type ExportMailResponses = {
@@ -3390,18 +4235,38 @@ type ThreadsListData = {
3390
4235
  url: '/threads';
3391
4236
  };
3392
4237
  type ThreadsListErrors = {
4238
+ /**
4239
+ * The request is not valid. `error.field` names the input at fault when there is one.
4240
+ */
4241
+ 400: Error;
3393
4242
  /**
3394
4243
  * No API key, or one that is not valid.
3395
4244
  */
3396
4245
  401: Error;
4246
+ /**
4247
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4248
+ */
4249
+ 403: Error;
3397
4250
  /**
3398
4251
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3399
4252
  */
3400
4253
  404: Error;
4254
+ /**
4255
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4256
+ */
4257
+ 409: Error;
3401
4258
  /**
3402
4259
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3403
4260
  */
3404
4261
  429: Error;
4262
+ /**
4263
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4264
+ */
4265
+ 500: Error;
4266
+ /**
4267
+ * Something this needs is not answering right now. Retry in a moment.
4268
+ */
4269
+ 503: Error;
3405
4270
  };
3406
4271
  type ThreadsListError = ThreadsListErrors[keyof ThreadsListErrors];
3407
4272
  type ThreadsListResponses = {
@@ -3427,18 +4292,38 @@ type ThreadsGetData = {
3427
4292
  url: '/threads/{id}';
3428
4293
  };
3429
4294
  type ThreadsGetErrors = {
4295
+ /**
4296
+ * The request is not valid. `error.field` names the input at fault when there is one.
4297
+ */
4298
+ 400: Error;
3430
4299
  /**
3431
4300
  * No API key, or one that is not valid.
3432
4301
  */
3433
4302
  401: Error;
4303
+ /**
4304
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4305
+ */
4306
+ 403: Error;
3434
4307
  /**
3435
4308
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3436
4309
  */
3437
4310
  404: Error;
4311
+ /**
4312
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4313
+ */
4314
+ 409: Error;
3438
4315
  /**
3439
4316
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3440
4317
  */
3441
4318
  429: Error;
4319
+ /**
4320
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4321
+ */
4322
+ 500: Error;
4323
+ /**
4324
+ * Something this needs is not answering right now. Retry in a moment.
4325
+ */
4326
+ 503: Error;
3442
4327
  };
3443
4328
  type ThreadsGetError = ThreadsGetErrors[keyof ThreadsGetErrors];
3444
4329
  type ThreadsGetResponses = {
@@ -3464,18 +4349,38 @@ type ThreadsUpdateData = {
3464
4349
  url: '/threads/{id}';
3465
4350
  };
3466
4351
  type ThreadsUpdateErrors = {
4352
+ /**
4353
+ * The request is not valid. `error.field` names the input at fault when there is one.
4354
+ */
4355
+ 400: Error;
3467
4356
  /**
3468
4357
  * No API key, or one that is not valid.
3469
4358
  */
3470
4359
  401: Error;
4360
+ /**
4361
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4362
+ */
4363
+ 403: Error;
3471
4364
  /**
3472
4365
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3473
4366
  */
3474
4367
  404: Error;
4368
+ /**
4369
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4370
+ */
4371
+ 409: Error;
3475
4372
  /**
3476
4373
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3477
4374
  */
3478
4375
  429: Error;
4376
+ /**
4377
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4378
+ */
4379
+ 500: Error;
4380
+ /**
4381
+ * Something this needs is not answering right now. Retry in a moment.
4382
+ */
4383
+ 503: Error;
3479
4384
  };
3480
4385
  type ThreadsUpdateError = ThreadsUpdateErrors[keyof ThreadsUpdateErrors];
3481
4386
  type ThreadsUpdateResponses = {
@@ -3500,18 +4405,38 @@ type DomainsListData = {
3500
4405
  url: '/domains';
3501
4406
  };
3502
4407
  type DomainsListErrors = {
4408
+ /**
4409
+ * The request is not valid. `error.field` names the input at fault when there is one.
4410
+ */
4411
+ 400: Error;
3503
4412
  /**
3504
4413
  * No API key, or one that is not valid.
3505
4414
  */
3506
4415
  401: Error;
4416
+ /**
4417
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4418
+ */
4419
+ 403: Error;
3507
4420
  /**
3508
4421
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3509
4422
  */
3510
4423
  404: Error;
4424
+ /**
4425
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4426
+ */
4427
+ 409: Error;
3511
4428
  /**
3512
4429
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3513
4430
  */
3514
4431
  429: Error;
4432
+ /**
4433
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4434
+ */
4435
+ 500: Error;
4436
+ /**
4437
+ * Something this needs is not answering right now. Retry in a moment.
4438
+ */
4439
+ 503: Error;
3515
4440
  };
3516
4441
  type DomainsListError = DomainsListErrors[keyof DomainsListErrors];
3517
4442
  type DomainsListResponses = {
@@ -3541,18 +4466,42 @@ type DomainsCreateData = {
3541
4466
  url: '/domains';
3542
4467
  };
3543
4468
  type DomainsCreateErrors = {
4469
+ /**
4470
+ * The request is not valid. `error.field` names the input at fault when there is one.
4471
+ */
4472
+ 400: Error;
3544
4473
  /**
3545
4474
  * No API key, or one that is not valid.
3546
4475
  */
3547
4476
  401: Error;
4477
+ /**
4478
+ * Your plan does not include this. `error.message` says what does.
4479
+ */
4480
+ 402: Error;
4481
+ /**
4482
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4483
+ */
4484
+ 403: Error;
3548
4485
  /**
3549
4486
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3550
4487
  */
3551
4488
  404: Error;
4489
+ /**
4490
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4491
+ */
4492
+ 409: Error;
3552
4493
  /**
3553
4494
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3554
4495
  */
3555
4496
  429: Error;
4497
+ /**
4498
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4499
+ */
4500
+ 500: Error;
4501
+ /**
4502
+ * Something this needs is not answering right now. Retry in a moment.
4503
+ */
4504
+ 503: Error;
3556
4505
  };
3557
4506
  type DomainsCreateError = DomainsCreateErrors[keyof DomainsCreateErrors];
3558
4507
  type DomainsCreateResponses = {
@@ -3573,18 +4522,38 @@ type DomainsZoneFileData = {
3573
4522
  url: '/domains/{id}/zone-file';
3574
4523
  };
3575
4524
  type DomainsZoneFileErrors = {
4525
+ /**
4526
+ * The request is not valid. `error.field` names the input at fault when there is one.
4527
+ */
4528
+ 400: Error;
3576
4529
  /**
3577
4530
  * No API key, or one that is not valid.
3578
4531
  */
3579
4532
  401: Error;
4533
+ /**
4534
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4535
+ */
4536
+ 403: Error;
3580
4537
  /**
3581
4538
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3582
4539
  */
3583
4540
  404: Error;
4541
+ /**
4542
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4543
+ */
4544
+ 409: Error;
3584
4545
  /**
3585
4546
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3586
4547
  */
3587
4548
  429: Error;
4549
+ /**
4550
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4551
+ */
4552
+ 500: Error;
4553
+ /**
4554
+ * Something this needs is not answering right now. Retry in a moment.
4555
+ */
4556
+ 503: Error;
3588
4557
  };
3589
4558
  type DomainsZoneFileError = DomainsZoneFileErrors[keyof DomainsZoneFileErrors];
3590
4559
  type DomainsZoneFileResponses = {
@@ -3608,18 +4577,38 @@ type DomainsGetSetupLinkData = {
3608
4577
  url: '/domains/{id}/setup-link';
3609
4578
  };
3610
4579
  type DomainsGetSetupLinkErrors = {
4580
+ /**
4581
+ * The request is not valid. `error.field` names the input at fault when there is one.
4582
+ */
4583
+ 400: Error;
3611
4584
  /**
3612
4585
  * No API key, or one that is not valid.
3613
4586
  */
3614
4587
  401: Error;
4588
+ /**
4589
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4590
+ */
4591
+ 403: Error;
3615
4592
  /**
3616
4593
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3617
4594
  */
3618
4595
  404: Error;
4596
+ /**
4597
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4598
+ */
4599
+ 409: Error;
3619
4600
  /**
3620
4601
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3621
4602
  */
3622
4603
  429: Error;
4604
+ /**
4605
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4606
+ */
4607
+ 500: Error;
4608
+ /**
4609
+ * Something this needs is not answering right now. Retry in a moment.
4610
+ */
4611
+ 503: Error;
3623
4612
  };
3624
4613
  type DomainsGetSetupLinkError = DomainsGetSetupLinkErrors[keyof DomainsGetSetupLinkErrors];
3625
4614
  type DomainsGetSetupLinkResponses = {
@@ -3640,18 +4629,38 @@ type DomainsVerifyData = {
3640
4629
  url: '/domains/{id}/verify';
3641
4630
  };
3642
4631
  type DomainsVerifyErrors = {
4632
+ /**
4633
+ * The request is not valid. `error.field` names the input at fault when there is one.
4634
+ */
4635
+ 400: Error;
3643
4636
  /**
3644
4637
  * No API key, or one that is not valid.
3645
4638
  */
3646
4639
  401: Error;
4640
+ /**
4641
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4642
+ */
4643
+ 403: Error;
3647
4644
  /**
3648
4645
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3649
4646
  */
3650
4647
  404: Error;
4648
+ /**
4649
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4650
+ */
4651
+ 409: Error;
3651
4652
  /**
3652
4653
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3653
4654
  */
3654
4655
  429: Error;
4656
+ /**
4657
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4658
+ */
4659
+ 500: Error;
4660
+ /**
4661
+ * Something this needs is not answering right now. Retry in a moment.
4662
+ */
4663
+ 503: Error;
3655
4664
  };
3656
4665
  type DomainsVerifyError = DomainsVerifyErrors[keyof DomainsVerifyErrors];
3657
4666
  type DomainsVerifyResponses = {
@@ -3672,18 +4681,38 @@ type DomainsDeleteData = {
3672
4681
  url: '/domains/{id}';
3673
4682
  };
3674
4683
  type DomainsDeleteErrors = {
4684
+ /**
4685
+ * The request is not valid. `error.field` names the input at fault when there is one.
4686
+ */
4687
+ 400: Error;
3675
4688
  /**
3676
4689
  * No API key, or one that is not valid.
3677
4690
  */
3678
4691
  401: Error;
4692
+ /**
4693
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4694
+ */
4695
+ 403: Error;
3679
4696
  /**
3680
4697
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3681
4698
  */
3682
4699
  404: Error;
4700
+ /**
4701
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4702
+ */
4703
+ 409: Error;
3683
4704
  /**
3684
4705
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3685
4706
  */
3686
4707
  429: Error;
4708
+ /**
4709
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4710
+ */
4711
+ 500: Error;
4712
+ /**
4713
+ * Something this needs is not answering right now. Retry in a moment.
4714
+ */
4715
+ 503: Error;
3687
4716
  };
3688
4717
  type DomainsDeleteError = DomainsDeleteErrors[keyof DomainsDeleteErrors];
3689
4718
  type DomainsDeleteResponses = {
@@ -3704,18 +4733,38 @@ type DomainsGetData = {
3704
4733
  url: '/domains/{id}';
3705
4734
  };
3706
4735
  type DomainsGetErrors = {
4736
+ /**
4737
+ * The request is not valid. `error.field` names the input at fault when there is one.
4738
+ */
4739
+ 400: Error;
3707
4740
  /**
3708
4741
  * No API key, or one that is not valid.
3709
4742
  */
3710
4743
  401: Error;
4744
+ /**
4745
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4746
+ */
4747
+ 403: Error;
3711
4748
  /**
3712
4749
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3713
4750
  */
3714
4751
  404: Error;
4752
+ /**
4753
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4754
+ */
4755
+ 409: Error;
3715
4756
  /**
3716
4757
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3717
4758
  */
3718
4759
  429: Error;
4760
+ /**
4761
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4762
+ */
4763
+ 500: Error;
4764
+ /**
4765
+ * Something this needs is not answering right now. Retry in a moment.
4766
+ */
4767
+ 503: Error;
3719
4768
  };
3720
4769
  type DomainsGetError = DomainsGetErrors[keyof DomainsGetErrors];
3721
4770
  type DomainsGetResponses = {
@@ -3738,18 +4787,38 @@ type DomainsUpdateData = {
3738
4787
  url: '/domains/{id}';
3739
4788
  };
3740
4789
  type DomainsUpdateErrors = {
4790
+ /**
4791
+ * The request is not valid. `error.field` names the input at fault when there is one.
4792
+ */
4793
+ 400: Error;
3741
4794
  /**
3742
4795
  * No API key, or one that is not valid.
3743
4796
  */
3744
4797
  401: Error;
4798
+ /**
4799
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4800
+ */
4801
+ 403: Error;
3745
4802
  /**
3746
4803
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3747
4804
  */
3748
4805
  404: Error;
4806
+ /**
4807
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4808
+ */
4809
+ 409: Error;
3749
4810
  /**
3750
4811
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3751
4812
  */
3752
4813
  429: Error;
4814
+ /**
4815
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4816
+ */
4817
+ 500: Error;
4818
+ /**
4819
+ * Something this needs is not answering right now. Retry in a moment.
4820
+ */
4821
+ 503: Error;
3753
4822
  };
3754
4823
  type DomainsUpdateError = DomainsUpdateErrors[keyof DomainsUpdateErrors];
3755
4824
  type DomainsUpdateResponses = {
@@ -3770,18 +4839,38 @@ type RoutingListData = {
3770
4839
  url: '/routing-rules';
3771
4840
  };
3772
4841
  type RoutingListErrors = {
4842
+ /**
4843
+ * The request is not valid. `error.field` names the input at fault when there is one.
4844
+ */
4845
+ 400: Error;
3773
4846
  /**
3774
4847
  * No API key, or one that is not valid.
3775
4848
  */
3776
4849
  401: Error;
4850
+ /**
4851
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4852
+ */
4853
+ 403: Error;
3777
4854
  /**
3778
4855
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3779
4856
  */
3780
4857
  404: Error;
4858
+ /**
4859
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4860
+ */
4861
+ 409: Error;
3781
4862
  /**
3782
4863
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3783
4864
  */
3784
4865
  429: Error;
4866
+ /**
4867
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4868
+ */
4869
+ 500: Error;
4870
+ /**
4871
+ * Something this needs is not answering right now. Retry in a moment.
4872
+ */
4873
+ 503: Error;
3785
4874
  };
3786
4875
  type RoutingListError = RoutingListErrors[keyof RoutingListErrors];
3787
4876
  type RoutingListResponses = {
@@ -3822,18 +4911,42 @@ type RoutingCreateData = {
3822
4911
  url: '/routing-rules';
3823
4912
  };
3824
4913
  type RoutingCreateErrors = {
4914
+ /**
4915
+ * The request is not valid. `error.field` names the input at fault when there is one.
4916
+ */
4917
+ 400: Error;
3825
4918
  /**
3826
4919
  * No API key, or one that is not valid.
3827
4920
  */
3828
4921
  401: Error;
4922
+ /**
4923
+ * Your plan does not include this. `error.message` says what does.
4924
+ */
4925
+ 402: Error;
4926
+ /**
4927
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4928
+ */
4929
+ 403: Error;
3829
4930
  /**
3830
4931
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3831
4932
  */
3832
4933
  404: Error;
4934
+ /**
4935
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4936
+ */
4937
+ 409: Error;
3833
4938
  /**
3834
4939
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3835
4940
  */
3836
4941
  429: Error;
4942
+ /**
4943
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4944
+ */
4945
+ 500: Error;
4946
+ /**
4947
+ * Something this needs is not answering right now. Retry in a moment.
4948
+ */
4949
+ 503: Error;
3837
4950
  };
3838
4951
  type RoutingCreateError = RoutingCreateErrors[keyof RoutingCreateErrors];
3839
4952
  type RoutingCreateResponses = {
@@ -3854,18 +4967,38 @@ type RoutingDeleteData = {
3854
4967
  url: '/routing-rules/{id}';
3855
4968
  };
3856
4969
  type RoutingDeleteErrors = {
4970
+ /**
4971
+ * The request is not valid. `error.field` names the input at fault when there is one.
4972
+ */
4973
+ 400: Error;
3857
4974
  /**
3858
4975
  * No API key, or one that is not valid.
3859
4976
  */
3860
4977
  401: Error;
4978
+ /**
4979
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
4980
+ */
4981
+ 403: Error;
3861
4982
  /**
3862
4983
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3863
4984
  */
3864
4985
  404: Error;
4986
+ /**
4987
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4988
+ */
4989
+ 409: Error;
3865
4990
  /**
3866
4991
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3867
4992
  */
3868
4993
  429: Error;
4994
+ /**
4995
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4996
+ */
4997
+ 500: Error;
4998
+ /**
4999
+ * Something this needs is not answering right now. Retry in a moment.
5000
+ */
5001
+ 503: Error;
3869
5002
  };
3870
5003
  type RoutingDeleteError = RoutingDeleteErrors[keyof RoutingDeleteErrors];
3871
5004
  type RoutingDeleteResponses = {
@@ -3888,18 +5021,38 @@ type RoutingUpdateData = {
3888
5021
  url: '/routing-rules/{id}';
3889
5022
  };
3890
5023
  type RoutingUpdateErrors = {
5024
+ /**
5025
+ * The request is not valid. `error.field` names the input at fault when there is one.
5026
+ */
5027
+ 400: Error;
3891
5028
  /**
3892
5029
  * No API key, or one that is not valid.
3893
5030
  */
3894
5031
  401: Error;
5032
+ /**
5033
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5034
+ */
5035
+ 403: Error;
3895
5036
  /**
3896
5037
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3897
5038
  */
3898
5039
  404: Error;
5040
+ /**
5041
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5042
+ */
5043
+ 409: Error;
3899
5044
  /**
3900
5045
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3901
5046
  */
3902
5047
  429: Error;
5048
+ /**
5049
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5050
+ */
5051
+ 500: Error;
5052
+ /**
5053
+ * Something this needs is not answering right now. Retry in a moment.
5054
+ */
5055
+ 503: Error;
3903
5056
  };
3904
5057
  type RoutingUpdateError = RoutingUpdateErrors[keyof RoutingUpdateErrors];
3905
5058
  type RoutingUpdateResponses = {
@@ -3920,18 +5073,38 @@ type MailboxesListData = {
3920
5073
  url: '/mailboxes';
3921
5074
  };
3922
5075
  type MailboxesListErrors = {
5076
+ /**
5077
+ * The request is not valid. `error.field` names the input at fault when there is one.
5078
+ */
5079
+ 400: Error;
3923
5080
  /**
3924
5081
  * No API key, or one that is not valid.
3925
5082
  */
3926
5083
  401: Error;
5084
+ /**
5085
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5086
+ */
5087
+ 403: Error;
3927
5088
  /**
3928
5089
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3929
5090
  */
3930
5091
  404: Error;
5092
+ /**
5093
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5094
+ */
5095
+ 409: Error;
3931
5096
  /**
3932
5097
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3933
5098
  */
3934
5099
  429: Error;
5100
+ /**
5101
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5102
+ */
5103
+ 500: Error;
5104
+ /**
5105
+ * Something this needs is not answering right now. Retry in a moment.
5106
+ */
5107
+ 503: Error;
3935
5108
  };
3936
5109
  type MailboxesListError = MailboxesListErrors[keyof MailboxesListErrors];
3937
5110
  type MailboxesListResponses = {
@@ -3959,18 +5132,42 @@ type MailboxesChangesData = {
3959
5132
  url: '/mailboxes/changes';
3960
5133
  };
3961
5134
  type MailboxesChangesErrors = {
5135
+ /**
5136
+ * The request is not valid. `error.field` names the input at fault when there is one.
5137
+ */
5138
+ 400: Error;
3962
5139
  /**
3963
5140
  * No API key, or one that is not valid.
3964
5141
  */
3965
5142
  401: Error;
5143
+ /**
5144
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5145
+ */
5146
+ 403: Error;
3966
5147
  /**
3967
5148
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
3968
5149
  */
3969
5150
  404: Error;
5151
+ /**
5152
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5153
+ */
5154
+ 409: Error;
5155
+ /**
5156
+ * `resync`: the cursor is older than the record of what was deleted. List the mailbox again and take its `sync_cursor`.
5157
+ */
5158
+ 410: Error;
3970
5159
  /**
3971
5160
  * Rate limited. `X-RateLimit-Reset` says when to retry.
3972
5161
  */
3973
5162
  429: Error;
5163
+ /**
5164
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5165
+ */
5166
+ 500: Error;
5167
+ /**
5168
+ * Something this needs is not answering right now. Retry in a moment.
5169
+ */
5170
+ 503: Error;
3974
5171
  };
3975
5172
  type MailboxesChangesError = MailboxesChangesErrors[keyof MailboxesChangesErrors];
3976
5173
  type MailboxesChangesResponses = {
@@ -3998,18 +5195,38 @@ type MailboxesEmptyTrashData = {
3998
5195
  url: '/mailboxes/{folder}';
3999
5196
  };
4000
5197
  type MailboxesEmptyTrashErrors = {
5198
+ /**
5199
+ * The request is not valid. `error.field` names the input at fault when there is one.
5200
+ */
5201
+ 400: Error;
4001
5202
  /**
4002
5203
  * No API key, or one that is not valid.
4003
5204
  */
4004
5205
  401: Error;
5206
+ /**
5207
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5208
+ */
5209
+ 403: Error;
4005
5210
  /**
4006
5211
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4007
5212
  */
4008
5213
  404: Error;
5214
+ /**
5215
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5216
+ */
5217
+ 409: Error;
4009
5218
  /**
4010
5219
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4011
5220
  */
4012
5221
  429: Error;
5222
+ /**
5223
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5224
+ */
5225
+ 500: Error;
5226
+ /**
5227
+ * Something this needs is not answering right now. Retry in a moment.
5228
+ */
5229
+ 503: Error;
4013
5230
  };
4014
5231
  type MailboxesEmptyTrashError = MailboxesEmptyTrashErrors[keyof MailboxesEmptyTrashErrors];
4015
5232
  type MailboxesEmptyTrashResponses = {
@@ -4038,18 +5255,38 @@ type MailboxesListFolderData = {
4038
5255
  url: '/mailboxes/{folder}';
4039
5256
  };
4040
5257
  type MailboxesListFolderErrors = {
5258
+ /**
5259
+ * The request is not valid. `error.field` names the input at fault when there is one.
5260
+ */
5261
+ 400: Error;
4041
5262
  /**
4042
5263
  * No API key, or one that is not valid.
4043
5264
  */
4044
5265
  401: Error;
5266
+ /**
5267
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5268
+ */
5269
+ 403: Error;
4045
5270
  /**
4046
5271
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4047
5272
  */
4048
5273
  404: Error;
5274
+ /**
5275
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5276
+ */
5277
+ 409: Error;
4049
5278
  /**
4050
5279
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4051
5280
  */
4052
5281
  429: Error;
5282
+ /**
5283
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5284
+ */
5285
+ 500: Error;
5286
+ /**
5287
+ * Something this needs is not answering right now. Retry in a moment.
5288
+ */
5289
+ 503: Error;
4053
5290
  };
4054
5291
  type MailboxesListFolderError = MailboxesListFolderErrors[keyof MailboxesListFolderErrors];
4055
5292
  type MailboxesListFolderResponses = {
@@ -4090,18 +5327,38 @@ type KeysListData = {
4090
5327
  url: '/api-keys';
4091
5328
  };
4092
5329
  type KeysListErrors = {
5330
+ /**
5331
+ * The request is not valid. `error.field` names the input at fault when there is one.
5332
+ */
5333
+ 400: Error;
4093
5334
  /**
4094
5335
  * No API key, or one that is not valid.
4095
5336
  */
4096
5337
  401: Error;
5338
+ /**
5339
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5340
+ */
5341
+ 403: Error;
4097
5342
  /**
4098
5343
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4099
5344
  */
4100
5345
  404: Error;
5346
+ /**
5347
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5348
+ */
5349
+ 409: Error;
4101
5350
  /**
4102
5351
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4103
5352
  */
4104
5353
  429: Error;
5354
+ /**
5355
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5356
+ */
5357
+ 500: Error;
5358
+ /**
5359
+ * Something this needs is not answering right now. Retry in a moment.
5360
+ */
5361
+ 503: Error;
4105
5362
  };
4106
5363
  type KeysListError = KeysListErrors[keyof KeysListErrors];
4107
5364
  type KeysListResponses = {
@@ -4140,18 +5397,42 @@ type KeysCreateData = {
4140
5397
  url: '/api-keys';
4141
5398
  };
4142
5399
  type KeysCreateErrors = {
5400
+ /**
5401
+ * The request is not valid. `error.field` names the input at fault when there is one.
5402
+ */
5403
+ 400: Error;
4143
5404
  /**
4144
5405
  * No API key, or one that is not valid.
4145
5406
  */
4146
5407
  401: Error;
5408
+ /**
5409
+ * Your plan does not include this. `error.message` says what does.
5410
+ */
5411
+ 402: Error;
5412
+ /**
5413
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5414
+ */
5415
+ 403: Error;
4147
5416
  /**
4148
5417
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4149
5418
  */
4150
5419
  404: Error;
5420
+ /**
5421
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5422
+ */
5423
+ 409: Error;
4151
5424
  /**
4152
5425
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4153
5426
  */
4154
5427
  429: Error;
5428
+ /**
5429
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5430
+ */
5431
+ 500: Error;
5432
+ /**
5433
+ * Something this needs is not answering right now. Retry in a moment.
5434
+ */
5435
+ 503: Error;
4155
5436
  };
4156
5437
  type KeysCreateError = KeysCreateErrors[keyof KeysCreateErrors];
4157
5438
  type KeysCreateResponses = {
@@ -4159,7 +5440,7 @@ type KeysCreateResponses = {
4159
5440
  * The key, with its token.
4160
5441
  */
4161
5442
  201: {
4162
- data: ApiKey;
5443
+ data: ApiKeyCreated;
4163
5444
  };
4164
5445
  };
4165
5446
  type KeysCreateResponse = KeysCreateResponses[keyof KeysCreateResponses];
@@ -4172,18 +5453,38 @@ type KeysRevokeData = {
4172
5453
  url: '/api-keys/{id}';
4173
5454
  };
4174
5455
  type KeysRevokeErrors = {
5456
+ /**
5457
+ * The request is not valid. `error.field` names the input at fault when there is one.
5458
+ */
5459
+ 400: Error;
4175
5460
  /**
4176
5461
  * No API key, or one that is not valid.
4177
5462
  */
4178
5463
  401: Error;
5464
+ /**
5465
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5466
+ */
5467
+ 403: Error;
4179
5468
  /**
4180
5469
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4181
5470
  */
4182
5471
  404: Error;
5472
+ /**
5473
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5474
+ */
5475
+ 409: Error;
4183
5476
  /**
4184
5477
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4185
5478
  */
4186
5479
  429: Error;
5480
+ /**
5481
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5482
+ */
5483
+ 500: Error;
5484
+ /**
5485
+ * Something this needs is not answering right now. Retry in a moment.
5486
+ */
5487
+ 503: Error;
4187
5488
  };
4188
5489
  type KeysRevokeError = KeysRevokeErrors[keyof KeysRevokeErrors];
4189
5490
  type KeysRevokeResponses = {
@@ -4204,18 +5505,38 @@ type KeysGetData = {
4204
5505
  url: '/api-keys/{id}';
4205
5506
  };
4206
5507
  type KeysGetErrors = {
5508
+ /**
5509
+ * The request is not valid. `error.field` names the input at fault when there is one.
5510
+ */
5511
+ 400: Error;
4207
5512
  /**
4208
5513
  * No API key, or one that is not valid.
4209
5514
  */
4210
5515
  401: Error;
5516
+ /**
5517
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5518
+ */
5519
+ 403: Error;
4211
5520
  /**
4212
5521
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4213
5522
  */
4214
5523
  404: Error;
5524
+ /**
5525
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5526
+ */
5527
+ 409: Error;
4215
5528
  /**
4216
5529
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4217
5530
  */
4218
5531
  429: Error;
5532
+ /**
5533
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5534
+ */
5535
+ 500: Error;
5536
+ /**
5537
+ * Something this needs is not answering right now. Retry in a moment.
5538
+ */
5539
+ 503: Error;
4219
5540
  };
4220
5541
  type KeysGetError = KeysGetErrors[keyof KeysGetErrors];
4221
5542
  type KeysGetResponses = {
@@ -4238,18 +5559,38 @@ type KeysUpdateData = {
4238
5559
  url: '/api-keys/{id}';
4239
5560
  };
4240
5561
  type KeysUpdateErrors = {
5562
+ /**
5563
+ * The request is not valid. `error.field` names the input at fault when there is one.
5564
+ */
5565
+ 400: Error;
4241
5566
  /**
4242
5567
  * No API key, or one that is not valid.
4243
5568
  */
4244
5569
  401: Error;
5570
+ /**
5571
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5572
+ */
5573
+ 403: Error;
4245
5574
  /**
4246
5575
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4247
5576
  */
4248
5577
  404: Error;
5578
+ /**
5579
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5580
+ */
5581
+ 409: Error;
4249
5582
  /**
4250
5583
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4251
5584
  */
4252
5585
  429: Error;
5586
+ /**
5587
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5588
+ */
5589
+ 500: Error;
5590
+ /**
5591
+ * Something this needs is not answering right now. Retry in a moment.
5592
+ */
5593
+ 503: Error;
4253
5594
  };
4254
5595
  type KeysUpdateError = KeysUpdateErrors[keyof KeysUpdateErrors];
4255
5596
  type KeysUpdateResponses = {
@@ -4270,18 +5611,38 @@ type AppPasswordsListData = {
4270
5611
  url: '/app-passwords';
4271
5612
  };
4272
5613
  type AppPasswordsListErrors = {
5614
+ /**
5615
+ * The request is not valid. `error.field` names the input at fault when there is one.
5616
+ */
5617
+ 400: Error;
4273
5618
  /**
4274
5619
  * No API key, or one that is not valid.
4275
5620
  */
4276
5621
  401: Error;
5622
+ /**
5623
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5624
+ */
5625
+ 403: Error;
4277
5626
  /**
4278
5627
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4279
5628
  */
4280
5629
  404: Error;
5630
+ /**
5631
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5632
+ */
5633
+ 409: Error;
4281
5634
  /**
4282
5635
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4283
5636
  */
4284
5637
  429: Error;
5638
+ /**
5639
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5640
+ */
5641
+ 500: Error;
5642
+ /**
5643
+ * Something this needs is not answering right now. Retry in a moment.
5644
+ */
5645
+ 503: Error;
4285
5646
  };
4286
5647
  type AppPasswordsListError = AppPasswordsListErrors[keyof AppPasswordsListErrors];
4287
5648
  type AppPasswordsListResponses = {
@@ -4311,18 +5672,42 @@ type AppPasswordsCreateData = {
4311
5672
  url: '/app-passwords';
4312
5673
  };
4313
5674
  type AppPasswordsCreateErrors = {
5675
+ /**
5676
+ * The request is not valid. `error.field` names the input at fault when there is one.
5677
+ */
5678
+ 400: Error;
4314
5679
  /**
4315
5680
  * No API key, or one that is not valid.
4316
5681
  */
4317
5682
  401: Error;
5683
+ /**
5684
+ * Your plan does not include this. `error.message` says what does.
5685
+ */
5686
+ 402: Error;
5687
+ /**
5688
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5689
+ */
5690
+ 403: Error;
4318
5691
  /**
4319
5692
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4320
5693
  */
4321
5694
  404: Error;
5695
+ /**
5696
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5697
+ */
5698
+ 409: Error;
4322
5699
  /**
4323
5700
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4324
5701
  */
4325
5702
  429: Error;
5703
+ /**
5704
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5705
+ */
5706
+ 500: Error;
5707
+ /**
5708
+ * Something this needs is not answering right now. Retry in a moment.
5709
+ */
5710
+ 503: Error;
4326
5711
  };
4327
5712
  type AppPasswordsCreateError = AppPasswordsCreateErrors[keyof AppPasswordsCreateErrors];
4328
5713
  type AppPasswordsCreateResponses = {
@@ -4343,18 +5728,38 @@ type AppPasswordsRevokeData = {
4343
5728
  url: '/app-passwords/{id}';
4344
5729
  };
4345
5730
  type AppPasswordsRevokeErrors = {
5731
+ /**
5732
+ * The request is not valid. `error.field` names the input at fault when there is one.
5733
+ */
5734
+ 400: Error;
4346
5735
  /**
4347
5736
  * No API key, or one that is not valid.
4348
5737
  */
4349
5738
  401: Error;
5739
+ /**
5740
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5741
+ */
5742
+ 403: Error;
4350
5743
  /**
4351
5744
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4352
5745
  */
4353
5746
  404: Error;
5747
+ /**
5748
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5749
+ */
5750
+ 409: Error;
4354
5751
  /**
4355
5752
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4356
5753
  */
4357
5754
  429: Error;
5755
+ /**
5756
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5757
+ */
5758
+ 500: Error;
5759
+ /**
5760
+ * Something this needs is not answering right now. Retry in a moment.
5761
+ */
5762
+ 503: Error;
4358
5763
  };
4359
5764
  type AppPasswordsRevokeError = AppPasswordsRevokeErrors[keyof AppPasswordsRevokeErrors];
4360
5765
  type AppPasswordsRevokeResponses = {
@@ -4373,18 +5778,38 @@ type MeGetData = {
4373
5778
  url: '/me';
4374
5779
  };
4375
5780
  type MeGetErrors = {
5781
+ /**
5782
+ * The request is not valid. `error.field` names the input at fault when there is one.
5783
+ */
5784
+ 400: Error;
4376
5785
  /**
4377
5786
  * No API key, or one that is not valid.
4378
5787
  */
4379
5788
  401: Error;
5789
+ /**
5790
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5791
+ */
5792
+ 403: Error;
4380
5793
  /**
4381
5794
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4382
5795
  */
4383
5796
  404: Error;
5797
+ /**
5798
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5799
+ */
5800
+ 409: Error;
4384
5801
  /**
4385
5802
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4386
5803
  */
4387
5804
  429: Error;
5805
+ /**
5806
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5807
+ */
5808
+ 500: Error;
5809
+ /**
5810
+ * Something this needs is not answering right now. Retry in a moment.
5811
+ */
5812
+ 503: Error;
4388
5813
  };
4389
5814
  type MeGetError = MeGetErrors[keyof MeGetErrors];
4390
5815
  type MeGetResponses = {
@@ -4403,18 +5828,38 @@ type WorkspaceGetData = {
4403
5828
  url: '/workspace';
4404
5829
  };
4405
5830
  type WorkspaceGetErrors = {
5831
+ /**
5832
+ * The request is not valid. `error.field` names the input at fault when there is one.
5833
+ */
5834
+ 400: Error;
4406
5835
  /**
4407
5836
  * No API key, or one that is not valid.
4408
5837
  */
4409
5838
  401: Error;
5839
+ /**
5840
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5841
+ */
5842
+ 403: Error;
4410
5843
  /**
4411
5844
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4412
5845
  */
4413
5846
  404: Error;
5847
+ /**
5848
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5849
+ */
5850
+ 409: Error;
4414
5851
  /**
4415
5852
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4416
5853
  */
4417
5854
  429: Error;
5855
+ /**
5856
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5857
+ */
5858
+ 500: Error;
5859
+ /**
5860
+ * Something this needs is not answering right now. Retry in a moment.
5861
+ */
5862
+ 503: Error;
4418
5863
  };
4419
5864
  type WorkspaceGetError = WorkspaceGetErrors[keyof WorkspaceGetErrors];
4420
5865
  type WorkspaceGetResponses = {
@@ -4433,18 +5878,38 @@ type WorkspaceMembersData = {
4433
5878
  url: '/workspace/members';
4434
5879
  };
4435
5880
  type WorkspaceMembersErrors = {
5881
+ /**
5882
+ * The request is not valid. `error.field` names the input at fault when there is one.
5883
+ */
5884
+ 400: Error;
4436
5885
  /**
4437
5886
  * No API key, or one that is not valid.
4438
5887
  */
4439
5888
  401: Error;
5889
+ /**
5890
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5891
+ */
5892
+ 403: Error;
4440
5893
  /**
4441
5894
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4442
5895
  */
4443
5896
  404: Error;
5897
+ /**
5898
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5899
+ */
5900
+ 409: Error;
4444
5901
  /**
4445
5902
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4446
5903
  */
4447
5904
  429: Error;
5905
+ /**
5906
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5907
+ */
5908
+ 500: Error;
5909
+ /**
5910
+ * Something this needs is not answering right now. Retry in a moment.
5911
+ */
5912
+ 503: Error;
4448
5913
  };
4449
5914
  type WorkspaceMembersError = WorkspaceMembersErrors[keyof WorkspaceMembersErrors];
4450
5915
  type WorkspaceMembersResponses = {
@@ -4477,18 +5942,38 @@ type EventsListData = {
4477
5942
  url: '/events';
4478
5943
  };
4479
5944
  type EventsListErrors = {
5945
+ /**
5946
+ * The request is not valid. `error.field` names the input at fault when there is one.
5947
+ */
5948
+ 400: Error;
4480
5949
  /**
4481
5950
  * No API key, or one that is not valid.
4482
5951
  */
4483
5952
  401: Error;
5953
+ /**
5954
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
5955
+ */
5956
+ 403: Error;
4484
5957
  /**
4485
5958
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4486
5959
  */
4487
5960
  404: Error;
5961
+ /**
5962
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5963
+ */
5964
+ 409: Error;
4488
5965
  /**
4489
5966
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4490
5967
  */
4491
5968
  429: Error;
5969
+ /**
5970
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
5971
+ */
5972
+ 500: Error;
5973
+ /**
5974
+ * Something this needs is not answering right now. Retry in a moment.
5975
+ */
5976
+ 503: Error;
4492
5977
  };
4493
5978
  type EventsListError = EventsListErrors[keyof EventsListErrors];
4494
5979
  type EventsListResponses = {
@@ -4521,18 +6006,38 @@ type EventsSocketData = {
4521
6006
  url: '/events/socket';
4522
6007
  };
4523
6008
  type EventsSocketErrors = {
6009
+ /**
6010
+ * The request is not valid. `error.field` names the input at fault when there is one.
6011
+ */
6012
+ 400: Error;
4524
6013
  /**
4525
6014
  * No API key, or one that is not valid.
4526
6015
  */
4527
6016
  401: Error;
6017
+ /**
6018
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6019
+ */
6020
+ 403: Error;
4528
6021
  /**
4529
6022
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4530
6023
  */
4531
6024
  404: Error;
6025
+ /**
6026
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6027
+ */
6028
+ 409: Error;
4532
6029
  /**
4533
6030
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4534
6031
  */
4535
6032
  429: Error;
6033
+ /**
6034
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6035
+ */
6036
+ 500: Error;
6037
+ /**
6038
+ * Something this needs is not answering right now. Retry in a moment.
6039
+ */
6040
+ 503: Error;
4536
6041
  };
4537
6042
  type EventsSocketError = EventsSocketErrors[keyof EventsSocketErrors];
4538
6043
  type EventsStreamData = {
@@ -4551,18 +6056,38 @@ type EventsStreamData = {
4551
6056
  url: '/events/stream';
4552
6057
  };
4553
6058
  type EventsStreamErrors = {
6059
+ /**
6060
+ * The request is not valid. `error.field` names the input at fault when there is one.
6061
+ */
6062
+ 400: Error;
4554
6063
  /**
4555
6064
  * No API key, or one that is not valid.
4556
6065
  */
4557
6066
  401: Error;
6067
+ /**
6068
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6069
+ */
6070
+ 403: Error;
4558
6071
  /**
4559
6072
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4560
6073
  */
4561
6074
  404: Error;
6075
+ /**
6076
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6077
+ */
6078
+ 409: Error;
4562
6079
  /**
4563
6080
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4564
6081
  */
4565
6082
  429: Error;
6083
+ /**
6084
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6085
+ */
6086
+ 500: Error;
6087
+ /**
6088
+ * Something this needs is not answering right now. Retry in a moment.
6089
+ */
6090
+ 503: Error;
4566
6091
  };
4567
6092
  type EventsStreamError = EventsStreamErrors[keyof EventsStreamErrors];
4568
6093
  type EventsStreamResponses = {
@@ -4581,18 +6106,38 @@ type EventsGetData = {
4581
6106
  url: '/events/{id}';
4582
6107
  };
4583
6108
  type EventsGetErrors = {
6109
+ /**
6110
+ * The request is not valid. `error.field` names the input at fault when there is one.
6111
+ */
6112
+ 400: Error;
4584
6113
  /**
4585
6114
  * No API key, or one that is not valid.
4586
6115
  */
4587
6116
  401: Error;
6117
+ /**
6118
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6119
+ */
6120
+ 403: Error;
4588
6121
  /**
4589
6122
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4590
6123
  */
4591
6124
  404: Error;
6125
+ /**
6126
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6127
+ */
6128
+ 409: Error;
4592
6129
  /**
4593
6130
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4594
6131
  */
4595
6132
  429: Error;
6133
+ /**
6134
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6135
+ */
6136
+ 500: Error;
6137
+ /**
6138
+ * Something this needs is not answering right now. Retry in a moment.
6139
+ */
6140
+ 503: Error;
4596
6141
  };
4597
6142
  type EventsGetError = EventsGetErrors[keyof EventsGetErrors];
4598
6143
  type EventsGetResponses = {
@@ -4617,18 +6162,38 @@ type WebhooksListData = {
4617
6162
  url: '/webhooks';
4618
6163
  };
4619
6164
  type WebhooksListErrors = {
6165
+ /**
6166
+ * The request is not valid. `error.field` names the input at fault when there is one.
6167
+ */
6168
+ 400: Error;
4620
6169
  /**
4621
6170
  * No API key, or one that is not valid.
4622
6171
  */
4623
6172
  401: Error;
6173
+ /**
6174
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6175
+ */
6176
+ 403: Error;
4624
6177
  /**
4625
6178
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4626
6179
  */
4627
6180
  404: Error;
6181
+ /**
6182
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6183
+ */
6184
+ 409: Error;
4628
6185
  /**
4629
6186
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4630
6187
  */
4631
6188
  429: Error;
6189
+ /**
6190
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6191
+ */
6192
+ 500: Error;
6193
+ /**
6194
+ * Something this needs is not answering right now. Retry in a moment.
6195
+ */
6196
+ 503: Error;
4632
6197
  };
4633
6198
  type WebhooksListError = WebhooksListErrors[keyof WebhooksListErrors];
4634
6199
  type WebhooksListResponses = {
@@ -4662,18 +6227,42 @@ type WebhooksCreateData = {
4662
6227
  url: '/webhooks';
4663
6228
  };
4664
6229
  type WebhooksCreateErrors = {
6230
+ /**
6231
+ * The request is not valid. `error.field` names the input at fault when there is one.
6232
+ */
6233
+ 400: Error;
4665
6234
  /**
4666
6235
  * No API key, or one that is not valid.
4667
6236
  */
4668
6237
  401: Error;
6238
+ /**
6239
+ * Your plan does not include this. `error.message` says what does.
6240
+ */
6241
+ 402: Error;
6242
+ /**
6243
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6244
+ */
6245
+ 403: Error;
4669
6246
  /**
4670
6247
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4671
6248
  */
4672
6249
  404: Error;
6250
+ /**
6251
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6252
+ */
6253
+ 409: Error;
4673
6254
  /**
4674
6255
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4675
6256
  */
4676
6257
  429: Error;
6258
+ /**
6259
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6260
+ */
6261
+ 500: Error;
6262
+ /**
6263
+ * Something this needs is not answering right now. Retry in a moment.
6264
+ */
6265
+ 503: Error;
4677
6266
  };
4678
6267
  type WebhooksCreateError = WebhooksCreateErrors[keyof WebhooksCreateErrors];
4679
6268
  type WebhooksCreateResponses = {
@@ -4694,18 +6283,38 @@ type WebhooksDeleteData = {
4694
6283
  url: '/webhooks/{id}';
4695
6284
  };
4696
6285
  type WebhooksDeleteErrors = {
6286
+ /**
6287
+ * The request is not valid. `error.field` names the input at fault when there is one.
6288
+ */
6289
+ 400: Error;
4697
6290
  /**
4698
6291
  * No API key, or one that is not valid.
4699
6292
  */
4700
6293
  401: Error;
6294
+ /**
6295
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6296
+ */
6297
+ 403: Error;
4701
6298
  /**
4702
6299
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4703
6300
  */
4704
6301
  404: Error;
6302
+ /**
6303
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6304
+ */
6305
+ 409: Error;
4705
6306
  /**
4706
6307
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4707
6308
  */
4708
6309
  429: Error;
6310
+ /**
6311
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6312
+ */
6313
+ 500: Error;
6314
+ /**
6315
+ * Something this needs is not answering right now. Retry in a moment.
6316
+ */
6317
+ 503: Error;
4709
6318
  };
4710
6319
  type WebhooksDeleteError = WebhooksDeleteErrors[keyof WebhooksDeleteErrors];
4711
6320
  type WebhooksDeleteResponses = {
@@ -4726,18 +6335,38 @@ type WebhooksGetData = {
4726
6335
  url: '/webhooks/{id}';
4727
6336
  };
4728
6337
  type WebhooksGetErrors = {
6338
+ /**
6339
+ * The request is not valid. `error.field` names the input at fault when there is one.
6340
+ */
6341
+ 400: Error;
4729
6342
  /**
4730
6343
  * No API key, or one that is not valid.
4731
6344
  */
4732
6345
  401: Error;
6346
+ /**
6347
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6348
+ */
6349
+ 403: Error;
4733
6350
  /**
4734
6351
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4735
6352
  */
4736
6353
  404: Error;
6354
+ /**
6355
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6356
+ */
6357
+ 409: Error;
4737
6358
  /**
4738
6359
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4739
6360
  */
4740
6361
  429: Error;
6362
+ /**
6363
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6364
+ */
6365
+ 500: Error;
6366
+ /**
6367
+ * Something this needs is not answering right now. Retry in a moment.
6368
+ */
6369
+ 503: Error;
4741
6370
  };
4742
6371
  type WebhooksGetError = WebhooksGetErrors[keyof WebhooksGetErrors];
4743
6372
  type WebhooksGetResponses = {
@@ -4760,18 +6389,38 @@ type WebhooksUpdateData = {
4760
6389
  url: '/webhooks/{id}';
4761
6390
  };
4762
6391
  type WebhooksUpdateErrors = {
6392
+ /**
6393
+ * The request is not valid. `error.field` names the input at fault when there is one.
6394
+ */
6395
+ 400: Error;
4763
6396
  /**
4764
6397
  * No API key, or one that is not valid.
4765
6398
  */
4766
6399
  401: Error;
6400
+ /**
6401
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6402
+ */
6403
+ 403: Error;
4767
6404
  /**
4768
6405
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4769
6406
  */
4770
6407
  404: Error;
6408
+ /**
6409
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6410
+ */
6411
+ 409: Error;
4771
6412
  /**
4772
6413
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4773
6414
  */
4774
6415
  429: Error;
6416
+ /**
6417
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6418
+ */
6419
+ 500: Error;
6420
+ /**
6421
+ * Something this needs is not answering right now. Retry in a moment.
6422
+ */
6423
+ 503: Error;
4775
6424
  };
4776
6425
  type WebhooksUpdateError = WebhooksUpdateErrors[keyof WebhooksUpdateErrors];
4777
6426
  type WebhooksUpdateResponses = {
@@ -4792,18 +6441,38 @@ type WebhooksGetHeadersData = {
4792
6441
  url: '/webhooks/{id}/headers';
4793
6442
  };
4794
6443
  type WebhooksGetHeadersErrors = {
6444
+ /**
6445
+ * The request is not valid. `error.field` names the input at fault when there is one.
6446
+ */
6447
+ 400: Error;
4795
6448
  /**
4796
6449
  * No API key, or one that is not valid.
4797
6450
  */
4798
6451
  401: Error;
6452
+ /**
6453
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6454
+ */
6455
+ 403: Error;
4799
6456
  /**
4800
6457
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4801
6458
  */
4802
6459
  404: Error;
6460
+ /**
6461
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6462
+ */
6463
+ 409: Error;
4803
6464
  /**
4804
6465
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4805
6466
  */
4806
6467
  429: Error;
6468
+ /**
6469
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6470
+ */
6471
+ 500: Error;
6472
+ /**
6473
+ * Something this needs is not answering right now. Retry in a moment.
6474
+ */
6475
+ 503: Error;
4807
6476
  };
4808
6477
  type WebhooksGetHeadersError = WebhooksGetHeadersErrors[keyof WebhooksGetHeadersErrors];
4809
6478
  type WebhooksGetHeadersResponses = {
@@ -4828,18 +6497,38 @@ type WebhooksUpdateHeadersData = {
4828
6497
  url: '/webhooks/{id}/headers';
4829
6498
  };
4830
6499
  type WebhooksUpdateHeadersErrors = {
6500
+ /**
6501
+ * The request is not valid. `error.field` names the input at fault when there is one.
6502
+ */
6503
+ 400: Error;
4831
6504
  /**
4832
6505
  * No API key, or one that is not valid.
4833
6506
  */
4834
6507
  401: Error;
6508
+ /**
6509
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6510
+ */
6511
+ 403: Error;
4835
6512
  /**
4836
6513
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4837
6514
  */
4838
6515
  404: Error;
6516
+ /**
6517
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6518
+ */
6519
+ 409: Error;
4839
6520
  /**
4840
6521
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4841
6522
  */
4842
6523
  429: Error;
6524
+ /**
6525
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6526
+ */
6527
+ 500: Error;
6528
+ /**
6529
+ * Something this needs is not answering right now. Retry in a moment.
6530
+ */
6531
+ 503: Error;
4843
6532
  };
4844
6533
  type WebhooksUpdateHeadersError = WebhooksUpdateHeadersErrors[keyof WebhooksUpdateHeadersErrors];
4845
6534
  type WebhooksUpdateHeadersResponses = {
@@ -4861,18 +6550,38 @@ type WebhooksDeliveriesData = {
4861
6550
  url: '/deliveries';
4862
6551
  };
4863
6552
  type WebhooksDeliveriesErrors = {
6553
+ /**
6554
+ * The request is not valid. `error.field` names the input at fault when there is one.
6555
+ */
6556
+ 400: Error;
4864
6557
  /**
4865
6558
  * No API key, or one that is not valid.
4866
6559
  */
4867
6560
  401: Error;
6561
+ /**
6562
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6563
+ */
6564
+ 403: Error;
4868
6565
  /**
4869
6566
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4870
6567
  */
4871
6568
  404: Error;
6569
+ /**
6570
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6571
+ */
6572
+ 409: Error;
4872
6573
  /**
4873
6574
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4874
6575
  */
4875
6576
  429: Error;
6577
+ /**
6578
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6579
+ */
6580
+ 500: Error;
6581
+ /**
6582
+ * Something this needs is not answering right now. Retry in a moment.
6583
+ */
6584
+ 503: Error;
4876
6585
  };
4877
6586
  type WebhooksDeliveriesError = WebhooksDeliveriesErrors[keyof WebhooksDeliveriesErrors];
4878
6587
  type WebhooksDeliveriesResponses = {
@@ -4898,18 +6607,38 @@ type WebhooksReplayData = {
4898
6607
  url: '/deliveries/{id}/replay';
4899
6608
  };
4900
6609
  type WebhooksReplayErrors = {
6610
+ /**
6611
+ * The request is not valid. `error.field` names the input at fault when there is one.
6612
+ */
6613
+ 400: Error;
4901
6614
  /**
4902
6615
  * No API key, or one that is not valid.
4903
6616
  */
4904
6617
  401: Error;
6618
+ /**
6619
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6620
+ */
6621
+ 403: Error;
4905
6622
  /**
4906
6623
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4907
6624
  */
4908
6625
  404: Error;
6626
+ /**
6627
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6628
+ */
6629
+ 409: Error;
4909
6630
  /**
4910
6631
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4911
6632
  */
4912
6633
  429: Error;
6634
+ /**
6635
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6636
+ */
6637
+ 500: Error;
6638
+ /**
6639
+ * Something this needs is not answering right now. Retry in a moment.
6640
+ */
6641
+ 503: Error;
4913
6642
  };
4914
6643
  type WebhooksReplayError = WebhooksReplayErrors[keyof WebhooksReplayErrors];
4915
6644
  type WebhooksReplayResponses = {
@@ -4933,18 +6662,38 @@ type MessagesRespondToInvitationData = {
4933
6662
  url: '/messages/{id}/invitation/respond';
4934
6663
  };
4935
6664
  type MessagesRespondToInvitationErrors = {
6665
+ /**
6666
+ * The request is not valid. `error.field` names the input at fault when there is one.
6667
+ */
6668
+ 400: Error;
4936
6669
  /**
4937
6670
  * No API key, or one that is not valid.
4938
6671
  */
4939
6672
  401: Error;
6673
+ /**
6674
+ * Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
6675
+ */
6676
+ 403: Error;
4940
6677
  /**
4941
6678
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4942
6679
  */
4943
6680
  404: Error;
6681
+ /**
6682
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6683
+ */
6684
+ 409: Error;
4944
6685
  /**
4945
6686
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4946
6687
  */
4947
6688
  429: Error;
6689
+ /**
6690
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6691
+ */
6692
+ 500: Error;
6693
+ /**
6694
+ * Something this needs is not answering right now. Retry in a moment.
6695
+ */
6696
+ 503: Error;
4948
6697
  };
4949
6698
  type MessagesRespondToInvitationError = MessagesRespondToInvitationErrors[keyof MessagesRespondToInvitationErrors];
4950
6699
  type MessagesRespondToInvitationResponses = {
@@ -4971,18 +6720,38 @@ type CalendarGetData = {
4971
6720
  url: '/identities/{id}/calendar';
4972
6721
  };
4973
6722
  type CalendarGetErrors = {
6723
+ /**
6724
+ * The request is not valid. `error.field` names the input at fault when there is one.
6725
+ */
6726
+ 400: Error;
4974
6727
  /**
4975
6728
  * No API key, or one that is not valid.
4976
6729
  */
4977
6730
  401: Error;
6731
+ /**
6732
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6733
+ */
6734
+ 403: Error;
4978
6735
  /**
4979
6736
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
4980
6737
  */
4981
6738
  404: Error;
6739
+ /**
6740
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6741
+ */
6742
+ 409: Error;
4982
6743
  /**
4983
6744
  * Rate limited. `X-RateLimit-Reset` says when to retry.
4984
6745
  */
4985
6746
  429: Error;
6747
+ /**
6748
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6749
+ */
6750
+ 500: Error;
6751
+ /**
6752
+ * Something this needs is not answering right now. Retry in a moment.
6753
+ */
6754
+ 503: Error;
4986
6755
  };
4987
6756
  type CalendarGetError = CalendarGetErrors[keyof CalendarGetErrors];
4988
6757
  type CalendarGetResponses = {
@@ -5014,18 +6783,38 @@ type CalendarUpdateData = {
5014
6783
  url: '/identities/{id}/calendar';
5015
6784
  };
5016
6785
  type CalendarUpdateErrors = {
6786
+ /**
6787
+ * The request is not valid. `error.field` names the input at fault when there is one.
6788
+ */
6789
+ 400: Error;
5017
6790
  /**
5018
6791
  * No API key, or one that is not valid.
5019
6792
  */
5020
6793
  401: Error;
6794
+ /**
6795
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6796
+ */
6797
+ 403: Error;
5021
6798
  /**
5022
6799
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5023
6800
  */
5024
6801
  404: Error;
6802
+ /**
6803
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6804
+ */
6805
+ 409: Error;
5025
6806
  /**
5026
6807
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5027
6808
  */
5028
6809
  429: Error;
6810
+ /**
6811
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6812
+ */
6813
+ 500: Error;
6814
+ /**
6815
+ * Something this needs is not answering right now. Retry in a moment.
6816
+ */
6817
+ 503: Error;
5029
6818
  };
5030
6819
  type CalendarUpdateError = CalendarUpdateErrors[keyof CalendarUpdateErrors];
5031
6820
  type CalendarUpdateResponses = {
@@ -5052,18 +6841,38 @@ type CalendarListEventsData = {
5052
6841
  url: '/identities/{id}/calendar/events';
5053
6842
  };
5054
6843
  type CalendarListEventsErrors = {
6844
+ /**
6845
+ * The request is not valid. `error.field` names the input at fault when there is one.
6846
+ */
6847
+ 400: Error;
5055
6848
  /**
5056
6849
  * No API key, or one that is not valid.
5057
6850
  */
5058
6851
  401: Error;
6852
+ /**
6853
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
6854
+ */
6855
+ 403: Error;
5059
6856
  /**
5060
6857
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5061
6858
  */
5062
6859
  404: Error;
6860
+ /**
6861
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6862
+ */
6863
+ 409: Error;
5063
6864
  /**
5064
6865
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5065
6866
  */
5066
6867
  429: Error;
6868
+ /**
6869
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6870
+ */
6871
+ 500: Error;
6872
+ /**
6873
+ * Something this needs is not answering right now. Retry in a moment.
6874
+ */
6875
+ 503: Error;
5067
6876
  };
5068
6877
  type CalendarListEventsError = CalendarListEventsErrors[keyof CalendarListEventsErrors];
5069
6878
  type CalendarListEventsResponses = {
@@ -5114,18 +6923,38 @@ type CalendarCreateEventData = {
5114
6923
  url: '/identities/{id}/calendar/events';
5115
6924
  };
5116
6925
  type CalendarCreateEventErrors = {
6926
+ /**
6927
+ * The request is not valid. `error.field` names the input at fault when there is one.
6928
+ */
6929
+ 400: Error;
5117
6930
  /**
5118
6931
  * No API key, or one that is not valid.
5119
6932
  */
5120
6933
  401: Error;
6934
+ /**
6935
+ * Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
6936
+ */
6937
+ 403: Error;
5121
6938
  /**
5122
6939
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5123
6940
  */
5124
6941
  404: Error;
5125
6942
  /**
5126
- * Rate limited. `X-RateLimit-Reset` says when to retry.
6943
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6944
+ */
6945
+ 409: Error;
6946
+ /**
6947
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
6948
+ */
6949
+ 429: Error;
6950
+ /**
6951
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
6952
+ */
6953
+ 500: Error;
6954
+ /**
6955
+ * Something this needs is not answering right now. Retry in a moment.
5127
6956
  */
5128
- 429: Error;
6957
+ 503: Error;
5129
6958
  };
5130
6959
  type CalendarCreateEventError = CalendarCreateEventErrors[keyof CalendarCreateEventErrors];
5131
6960
  type CalendarCreateEventResponses = {
@@ -5157,18 +6986,42 @@ type CalendarRespondToEventData = {
5157
6986
  url: '/identities/{id}/calendar/events/{eventId}/respond';
5158
6987
  };
5159
6988
  type CalendarRespondToEventErrors = {
6989
+ /**
6990
+ * The request is not valid. `error.field` names the input at fault when there is one.
6991
+ */
6992
+ 400: Error;
5160
6993
  /**
5161
6994
  * No API key, or one that is not valid.
5162
6995
  */
5163
6996
  401: Error;
6997
+ /**
6998
+ * Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
6999
+ */
7000
+ 403: Error;
5164
7001
  /**
5165
7002
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5166
7003
  */
5167
7004
  404: Error;
7005
+ /**
7006
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7007
+ */
7008
+ 409: Error;
7009
+ /**
7010
+ * It was here and is not any more. Forget the id.
7011
+ */
7012
+ 410: Error;
5168
7013
  /**
5169
7014
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5170
7015
  */
5171
7016
  429: Error;
7017
+ /**
7018
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7019
+ */
7020
+ 500: Error;
7021
+ /**
7022
+ * Something this needs is not answering right now. Retry in a moment.
7023
+ */
7024
+ 503: Error;
5172
7025
  };
5173
7026
  type CalendarRespondToEventError = CalendarRespondToEventErrors[keyof CalendarRespondToEventErrors];
5174
7027
  type CalendarRespondToEventResponses = {
@@ -5194,18 +7047,42 @@ type CalendarListEventInstancesData = {
5194
7047
  url: '/identities/{id}/calendar/events/{eventId}/instances';
5195
7048
  };
5196
7049
  type CalendarListEventInstancesErrors = {
7050
+ /**
7051
+ * The request is not valid. `error.field` names the input at fault when there is one.
7052
+ */
7053
+ 400: Error;
5197
7054
  /**
5198
7055
  * No API key, or one that is not valid.
5199
7056
  */
5200
7057
  401: Error;
7058
+ /**
7059
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7060
+ */
7061
+ 403: Error;
5201
7062
  /**
5202
7063
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5203
7064
  */
5204
7065
  404: Error;
7066
+ /**
7067
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7068
+ */
7069
+ 409: Error;
7070
+ /**
7071
+ * It was here and is not any more. Forget the id.
7072
+ */
7073
+ 410: Error;
5205
7074
  /**
5206
7075
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5207
7076
  */
5208
7077
  429: Error;
7078
+ /**
7079
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7080
+ */
7081
+ 500: Error;
7082
+ /**
7083
+ * Something this needs is not answering right now. Retry in a moment.
7084
+ */
7085
+ 503: Error;
5209
7086
  };
5210
7087
  type CalendarListEventInstancesError = CalendarListEventInstancesErrors[keyof CalendarListEventInstancesErrors];
5211
7088
  type CalendarListEventInstancesResponses = {
@@ -5236,18 +7113,38 @@ type CalendarGetAgendaData = {
5236
7113
  url: '/identities/{id}/calendar/agenda';
5237
7114
  };
5238
7115
  type CalendarGetAgendaErrors = {
7116
+ /**
7117
+ * The request is not valid. `error.field` names the input at fault when there is one.
7118
+ */
7119
+ 400: Error;
5239
7120
  /**
5240
7121
  * No API key, or one that is not valid.
5241
7122
  */
5242
7123
  401: Error;
7124
+ /**
7125
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7126
+ */
7127
+ 403: Error;
5243
7128
  /**
5244
7129
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5245
7130
  */
5246
7131
  404: Error;
7132
+ /**
7133
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7134
+ */
7135
+ 409: Error;
5247
7136
  /**
5248
7137
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5249
7138
  */
5250
7139
  429: Error;
7140
+ /**
7141
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7142
+ */
7143
+ 500: Error;
7144
+ /**
7145
+ * Something this needs is not answering right now. Retry in a moment.
7146
+ */
7147
+ 503: Error;
5251
7148
  };
5252
7149
  type CalendarGetAgendaError = CalendarGetAgendaErrors[keyof CalendarGetAgendaErrors];
5253
7150
  type CalendarGetAgendaResponses = {
@@ -5285,18 +7182,42 @@ type CalendarDeleteEventData = {
5285
7182
  url: '/identities/{id}/calendar/events/{eventId}';
5286
7183
  };
5287
7184
  type CalendarDeleteEventErrors = {
7185
+ /**
7186
+ * The request is not valid. `error.field` names the input at fault when there is one.
7187
+ */
7188
+ 400: Error;
5288
7189
  /**
5289
7190
  * No API key, or one that is not valid.
5290
7191
  */
5291
7192
  401: Error;
7193
+ /**
7194
+ * Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
7195
+ */
7196
+ 403: Error;
5292
7197
  /**
5293
7198
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5294
7199
  */
5295
7200
  404: Error;
7201
+ /**
7202
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7203
+ */
7204
+ 409: Error;
7205
+ /**
7206
+ * It was here and is not any more. Forget the id.
7207
+ */
7208
+ 410: Error;
5296
7209
  /**
5297
7210
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5298
7211
  */
5299
7212
  429: Error;
7213
+ /**
7214
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7215
+ */
7216
+ 500: Error;
7217
+ /**
7218
+ * Something this needs is not answering right now. Retry in a moment.
7219
+ */
7220
+ 503: Error;
5300
7221
  };
5301
7222
  type CalendarDeleteEventError = CalendarDeleteEventErrors[keyof CalendarDeleteEventErrors];
5302
7223
  type CalendarDeleteEventResponses = {
@@ -5318,18 +7239,42 @@ type CalendarGetEventData = {
5318
7239
  url: '/identities/{id}/calendar/events/{eventId}';
5319
7240
  };
5320
7241
  type CalendarGetEventErrors = {
7242
+ /**
7243
+ * The request is not valid. `error.field` names the input at fault when there is one.
7244
+ */
7245
+ 400: Error;
5321
7246
  /**
5322
7247
  * No API key, or one that is not valid.
5323
7248
  */
5324
7249
  401: Error;
7250
+ /**
7251
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7252
+ */
7253
+ 403: Error;
5325
7254
  /**
5326
7255
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5327
7256
  */
5328
7257
  404: Error;
7258
+ /**
7259
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7260
+ */
7261
+ 409: Error;
7262
+ /**
7263
+ * It was here and is not any more. Forget the id.
7264
+ */
7265
+ 410: Error;
5329
7266
  /**
5330
7267
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5331
7268
  */
5332
7269
  429: Error;
7270
+ /**
7271
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7272
+ */
7273
+ 500: Error;
7274
+ /**
7275
+ * Something this needs is not answering right now. Retry in a moment.
7276
+ */
7277
+ 503: Error;
5333
7278
  };
5334
7279
  type CalendarGetEventError = CalendarGetEventErrors[keyof CalendarGetEventErrors];
5335
7280
  type CalendarGetEventResponses = {
@@ -5387,18 +7332,42 @@ type CalendarUpdateEventData = {
5387
7332
  url: '/identities/{id}/calendar/events/{eventId}';
5388
7333
  };
5389
7334
  type CalendarUpdateEventErrors = {
7335
+ /**
7336
+ * The request is not valid. `error.field` names the input at fault when there is one.
7337
+ */
7338
+ 400: Error;
5390
7339
  /**
5391
7340
  * No API key, or one that is not valid.
5392
7341
  */
5393
7342
  401: Error;
7343
+ /**
7344
+ * Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
7345
+ */
7346
+ 403: Error;
5394
7347
  /**
5395
7348
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5396
7349
  */
5397
7350
  404: Error;
7351
+ /**
7352
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7353
+ */
7354
+ 409: Error;
7355
+ /**
7356
+ * It was here and is not any more. Forget the id.
7357
+ */
7358
+ 410: Error;
5398
7359
  /**
5399
7360
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5400
7361
  */
5401
7362
  429: Error;
7363
+ /**
7364
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7365
+ */
7366
+ 500: Error;
7367
+ /**
7368
+ * Something this needs is not answering right now. Retry in a moment.
7369
+ */
7370
+ 503: Error;
5402
7371
  };
5403
7372
  type CalendarUpdateEventError = CalendarUpdateEventErrors[keyof CalendarUpdateEventErrors];
5404
7373
  type CalendarUpdateEventResponses = {
@@ -5420,18 +7389,38 @@ type DraftsListData = {
5420
7389
  url: '/drafts';
5421
7390
  };
5422
7391
  type DraftsListErrors = {
7392
+ /**
7393
+ * The request is not valid. `error.field` names the input at fault when there is one.
7394
+ */
7395
+ 400: Error;
5423
7396
  /**
5424
7397
  * No API key, or one that is not valid.
5425
7398
  */
5426
7399
  401: Error;
7400
+ /**
7401
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7402
+ */
7403
+ 403: Error;
5427
7404
  /**
5428
7405
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5429
7406
  */
5430
7407
  404: Error;
7408
+ /**
7409
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7410
+ */
7411
+ 409: Error;
5431
7412
  /**
5432
7413
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5433
7414
  */
5434
7415
  429: Error;
7416
+ /**
7417
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7418
+ */
7419
+ 500: Error;
7420
+ /**
7421
+ * Something this needs is not answering right now. Retry in a moment.
7422
+ */
7423
+ 503: Error;
5435
7424
  };
5436
7425
  type DraftsListError = DraftsListErrors[keyof DraftsListErrors];
5437
7426
  type DraftsListResponses = {
@@ -5496,18 +7485,38 @@ type DraftsCreateData = {
5496
7485
  url: '/drafts';
5497
7486
  };
5498
7487
  type DraftsCreateErrors = {
7488
+ /**
7489
+ * The request is not valid. `error.field` names the input at fault when there is one.
7490
+ */
7491
+ 400: Error;
5499
7492
  /**
5500
7493
  * No API key, or one that is not valid.
5501
7494
  */
5502
7495
  401: Error;
7496
+ /**
7497
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7498
+ */
7499
+ 403: Error;
5503
7500
  /**
5504
7501
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5505
7502
  */
5506
7503
  404: Error;
7504
+ /**
7505
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7506
+ */
7507
+ 409: Error;
5507
7508
  /**
5508
7509
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5509
7510
  */
5510
7511
  429: Error;
7512
+ /**
7513
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7514
+ */
7515
+ 500: Error;
7516
+ /**
7517
+ * Something this needs is not answering right now. Retry in a moment.
7518
+ */
7519
+ 503: Error;
5511
7520
  };
5512
7521
  type DraftsCreateError = DraftsCreateErrors[keyof DraftsCreateErrors];
5513
7522
  type DraftsCreateResponses = {
@@ -5528,18 +7537,38 @@ type DraftsDeleteData = {
5528
7537
  url: '/drafts/{id}';
5529
7538
  };
5530
7539
  type DraftsDeleteErrors = {
7540
+ /**
7541
+ * The request is not valid. `error.field` names the input at fault when there is one.
7542
+ */
7543
+ 400: Error;
5531
7544
  /**
5532
7545
  * No API key, or one that is not valid.
5533
7546
  */
5534
7547
  401: Error;
7548
+ /**
7549
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7550
+ */
7551
+ 403: Error;
5535
7552
  /**
5536
7553
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5537
7554
  */
5538
7555
  404: Error;
7556
+ /**
7557
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7558
+ */
7559
+ 409: Error;
5539
7560
  /**
5540
7561
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5541
7562
  */
5542
7563
  429: Error;
7564
+ /**
7565
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7566
+ */
7567
+ 500: Error;
7568
+ /**
7569
+ * Something this needs is not answering right now. Retry in a moment.
7570
+ */
7571
+ 503: Error;
5543
7572
  };
5544
7573
  type DraftsDeleteError = DraftsDeleteErrors[keyof DraftsDeleteErrors];
5545
7574
  type DraftsDeleteResponses = {
@@ -5560,18 +7589,38 @@ type DraftsGetData = {
5560
7589
  url: '/drafts/{id}';
5561
7590
  };
5562
7591
  type DraftsGetErrors = {
7592
+ /**
7593
+ * The request is not valid. `error.field` names the input at fault when there is one.
7594
+ */
7595
+ 400: Error;
5563
7596
  /**
5564
7597
  * No API key, or one that is not valid.
5565
7598
  */
5566
7599
  401: Error;
7600
+ /**
7601
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7602
+ */
7603
+ 403: Error;
5567
7604
  /**
5568
7605
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5569
7606
  */
5570
7607
  404: Error;
7608
+ /**
7609
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7610
+ */
7611
+ 409: Error;
5571
7612
  /**
5572
7613
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5573
7614
  */
5574
7615
  429: Error;
7616
+ /**
7617
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7618
+ */
7619
+ 500: Error;
7620
+ /**
7621
+ * Something this needs is not answering right now. Retry in a moment.
7622
+ */
7623
+ 503: Error;
5575
7624
  };
5576
7625
  type DraftsGetError = DraftsGetErrors[keyof DraftsGetErrors];
5577
7626
  type DraftsGetResponses = {
@@ -5621,18 +7670,38 @@ type DraftsUpdateData = {
5621
7670
  url: '/drafts/{id}';
5622
7671
  };
5623
7672
  type DraftsUpdateErrors = {
7673
+ /**
7674
+ * The request is not valid. `error.field` names the input at fault when there is one.
7675
+ */
7676
+ 400: Error;
5624
7677
  /**
5625
7678
  * No API key, or one that is not valid.
5626
7679
  */
5627
7680
  401: Error;
7681
+ /**
7682
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7683
+ */
7684
+ 403: Error;
5628
7685
  /**
5629
7686
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5630
7687
  */
5631
7688
  404: Error;
7689
+ /**
7690
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7691
+ */
7692
+ 409: Error;
5632
7693
  /**
5633
7694
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5634
7695
  */
5635
7696
  429: Error;
7697
+ /**
7698
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7699
+ */
7700
+ 500: Error;
7701
+ /**
7702
+ * Something this needs is not answering right now. Retry in a moment.
7703
+ */
7704
+ 503: Error;
5636
7705
  };
5637
7706
  type DraftsUpdateError = DraftsUpdateErrors[keyof DraftsUpdateErrors];
5638
7707
  type DraftsUpdateResponses = {
@@ -5654,7 +7723,7 @@ type DraftsSendData = {
5654
7723
  };
5655
7724
  type DraftsSendErrors = {
5656
7725
  /**
5657
- * The request is not valid. `error.param` names the field when there is one.
7726
+ * The request is not valid. `error.field` names the input at fault when there is one.
5658
7727
  */
5659
7728
  400: Error;
5660
7729
  /**
@@ -5669,10 +7738,22 @@ type DraftsSendErrors = {
5669
7738
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5670
7739
  */
5671
7740
  404: Error;
7741
+ /**
7742
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7743
+ */
7744
+ 409: Error;
5672
7745
  /**
5673
7746
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5674
7747
  */
5675
7748
  429: Error;
7749
+ /**
7750
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7751
+ */
7752
+ 500: Error;
7753
+ /**
7754
+ * Something this needs is not answering right now. Retry in a moment.
7755
+ */
7756
+ 503: Error;
5676
7757
  };
5677
7758
  type DraftsSendError = DraftsSendErrors[keyof DraftsSendErrors];
5678
7759
  type DraftsSendResponses = {
@@ -5693,18 +7774,38 @@ type DraftsCancelScheduleData = {
5693
7774
  url: '/drafts/{id}/schedule';
5694
7775
  };
5695
7776
  type DraftsCancelScheduleErrors = {
7777
+ /**
7778
+ * The request is not valid. `error.field` names the input at fault when there is one.
7779
+ */
7780
+ 400: Error;
5696
7781
  /**
5697
7782
  * No API key, or one that is not valid.
5698
7783
  */
5699
7784
  401: Error;
7785
+ /**
7786
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7787
+ */
7788
+ 403: Error;
5700
7789
  /**
5701
7790
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5702
7791
  */
5703
7792
  404: Error;
7793
+ /**
7794
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7795
+ */
7796
+ 409: Error;
5704
7797
  /**
5705
7798
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5706
7799
  */
5707
7800
  429: Error;
7801
+ /**
7802
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7803
+ */
7804
+ 500: Error;
7805
+ /**
7806
+ * Something this needs is not answering right now. Retry in a moment.
7807
+ */
7808
+ 503: Error;
5708
7809
  };
5709
7810
  type DraftsCancelScheduleError = DraftsCancelScheduleErrors[keyof DraftsCancelScheduleErrors];
5710
7811
  type DraftsCancelScheduleResponses = {
@@ -5727,18 +7828,38 @@ type DraftsScheduleData = {
5727
7828
  url: '/drafts/{id}/schedule';
5728
7829
  };
5729
7830
  type DraftsScheduleErrors = {
7831
+ /**
7832
+ * The request is not valid. `error.field` names the input at fault when there is one.
7833
+ */
7834
+ 400: Error;
5730
7835
  /**
5731
7836
  * No API key, or one that is not valid.
5732
7837
  */
5733
7838
  401: Error;
7839
+ /**
7840
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7841
+ */
7842
+ 403: Error;
5734
7843
  /**
5735
7844
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5736
7845
  */
5737
7846
  404: Error;
7847
+ /**
7848
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7849
+ */
7850
+ 409: Error;
5738
7851
  /**
5739
7852
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5740
7853
  */
5741
7854
  429: Error;
7855
+ /**
7856
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7857
+ */
7858
+ 500: Error;
7859
+ /**
7860
+ * Something this needs is not answering right now. Retry in a moment.
7861
+ */
7862
+ 503: Error;
5742
7863
  };
5743
7864
  type DraftsScheduleError = DraftsScheduleErrors[keyof DraftsScheduleErrors];
5744
7865
  type DraftsScheduleResponses = {
@@ -5760,18 +7881,38 @@ type DraftsRemoveAttachmentData = {
5760
7881
  url: '/drafts/{id}/attachments/{attachmentId}';
5761
7882
  };
5762
7883
  type DraftsRemoveAttachmentErrors = {
7884
+ /**
7885
+ * The request is not valid. `error.field` names the input at fault when there is one.
7886
+ */
7887
+ 400: Error;
5763
7888
  /**
5764
7889
  * No API key, or one that is not valid.
5765
7890
  */
5766
7891
  401: Error;
7892
+ /**
7893
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7894
+ */
7895
+ 403: Error;
5767
7896
  /**
5768
7897
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5769
7898
  */
5770
7899
  404: Error;
7900
+ /**
7901
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7902
+ */
7903
+ 409: Error;
5771
7904
  /**
5772
7905
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5773
7906
  */
5774
7907
  429: Error;
7908
+ /**
7909
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7910
+ */
7911
+ 500: Error;
7912
+ /**
7913
+ * Something this needs is not answering right now. Retry in a moment.
7914
+ */
7915
+ 503: Error;
5775
7916
  };
5776
7917
  type DraftsRemoveAttachmentError = DraftsRemoveAttachmentErrors[keyof DraftsRemoveAttachmentErrors];
5777
7918
  type DraftsRemoveAttachmentResponses = {
@@ -5794,18 +7935,38 @@ type MetricsQueryData = {
5794
7935
  url: '/metrics';
5795
7936
  };
5796
7937
  type MetricsQueryErrors = {
7938
+ /**
7939
+ * The request is not valid. `error.field` names the input at fault when there is one.
7940
+ */
7941
+ 400: Error;
5797
7942
  /**
5798
7943
  * No API key, or one that is not valid.
5799
7944
  */
5800
7945
  401: Error;
7946
+ /**
7947
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
7948
+ */
7949
+ 403: Error;
5801
7950
  /**
5802
7951
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5803
7952
  */
5804
7953
  404: Error;
7954
+ /**
7955
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7956
+ */
7957
+ 409: Error;
5805
7958
  /**
5806
7959
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5807
7960
  */
5808
7961
  429: Error;
7962
+ /**
7963
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
7964
+ */
7965
+ 500: Error;
7966
+ /**
7967
+ * Something this needs is not answering right now. Retry in a moment.
7968
+ */
7969
+ 503: Error;
5809
7970
  };
5810
7971
  type MetricsQueryError = MetricsQueryErrors[keyof MetricsQueryErrors];
5811
7972
  type MetricsQueryResponses = {
@@ -5827,18 +7988,38 @@ type AttachmentsUploadData = {
5827
7988
  url: '/attachments';
5828
7989
  };
5829
7990
  type AttachmentsUploadErrors = {
7991
+ /**
7992
+ * The request is not valid. `error.field` names the input at fault when there is one.
7993
+ */
7994
+ 400: Error;
5830
7995
  /**
5831
7996
  * No API key, or one that is not valid.
5832
7997
  */
5833
7998
  401: Error;
7999
+ /**
8000
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
8001
+ */
8002
+ 403: Error;
5834
8003
  /**
5835
8004
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5836
8005
  */
5837
8006
  404: Error;
8007
+ /**
8008
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
8009
+ */
8010
+ 409: Error;
5838
8011
  /**
5839
8012
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5840
8013
  */
5841
8014
  429: Error;
8015
+ /**
8016
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
8017
+ */
8018
+ 500: Error;
8019
+ /**
8020
+ * Something this needs is not answering right now. Retry in a moment.
8021
+ */
8022
+ 503: Error;
5842
8023
  };
5843
8024
  type AttachmentsUploadError = AttachmentsUploadErrors[keyof AttachmentsUploadErrors];
5844
8025
  type AttachmentsUploadResponses = {
@@ -5859,18 +8040,38 @@ type AttachmentsDownloadUrlData = {
5859
8040
  url: '/attachments/{id}';
5860
8041
  };
5861
8042
  type AttachmentsDownloadUrlErrors = {
8043
+ /**
8044
+ * The request is not valid. `error.field` names the input at fault when there is one.
8045
+ */
8046
+ 400: Error;
5862
8047
  /**
5863
8048
  * No API key, or one that is not valid.
5864
8049
  */
5865
8050
  401: Error;
8051
+ /**
8052
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
8053
+ */
8054
+ 403: Error;
5866
8055
  /**
5867
8056
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5868
8057
  */
5869
8058
  404: Error;
8059
+ /**
8060
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
8061
+ */
8062
+ 409: Error;
5870
8063
  /**
5871
8064
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5872
8065
  */
5873
8066
  429: Error;
8067
+ /**
8068
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
8069
+ */
8070
+ 500: Error;
8071
+ /**
8072
+ * Something this needs is not answering right now. Retry in a moment.
8073
+ */
8074
+ 503: Error;
5874
8075
  };
5875
8076
  type AttachmentsDownloadUrlError = AttachmentsDownloadUrlErrors[keyof AttachmentsDownloadUrlErrors];
5876
8077
  type AttachmentsDownloadUrlResponses = {
@@ -5893,18 +8094,38 @@ type AttachmentsTextData = {
5893
8094
  url: '/attachments/{id}/text';
5894
8095
  };
5895
8096
  type AttachmentsTextErrors = {
8097
+ /**
8098
+ * The request is not valid. `error.field` names the input at fault when there is one.
8099
+ */
8100
+ 400: Error;
5896
8101
  /**
5897
8102
  * No API key, or one that is not valid.
5898
8103
  */
5899
8104
  401: Error;
8105
+ /**
8106
+ * Refused. `error.code` says why: `forbidden` when this key may not do this or the account is on hold, `abuse_blocked` when a limit says no.
8107
+ */
8108
+ 403: Error;
5900
8109
  /**
5901
8110
  * No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
5902
8111
  */
5903
8112
  404: Error;
8113
+ /**
8114
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
8115
+ */
8116
+ 409: Error;
5904
8117
  /**
5905
8118
  * Rate limited. `X-RateLimit-Reset` says when to retry.
5906
8119
  */
5907
8120
  429: Error;
8121
+ /**
8122
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
8123
+ */
8124
+ 500: Error;
8125
+ /**
8126
+ * Something this needs is not answering right now. Retry in a moment.
8127
+ */
8128
+ 503: Error;
5908
8129
  };
5909
8130
  type AttachmentsTextError = AttachmentsTextErrors[keyof AttachmentsTextErrors];
5910
8131
  type AttachmentsTextResponses = {
@@ -6702,4 +8923,4 @@ interface StreamOptions {
6702
8923
  */
6703
8924
  declare function streamEvents(options: StreamOptions): AsyncGenerator<StreamedEvent>;
6704
8925
 
6705
- export { type Address, type AgentAttachHumanData, type AgentAttachHumanError, type AgentAttachHumanErrors, type AgentAttachHumanResponse, type AgentAttachHumanResponses, type AgentSignUpData, type AgentSignUpError, type AgentSignUpErrors, type AgentSignUpResponse, type AgentSignUpResponses, type AgentSignup, type AgentVerified, type AgentVerifyData, type AgentVerifyError, type AgentVerifyErrors, type AgentVerifyResponse, type AgentVerifyResponses, type ApiKey, type AppPassword, type AppPasswordsCreateData, type AppPasswordsCreateError, type AppPasswordsCreateErrors, type AppPasswordsCreateResponse, type AppPasswordsCreateResponses, type AppPasswordsListData, type AppPasswordsListError, type AppPasswordsListErrors, type AppPasswordsListResponse, type AppPasswordsListResponses, type AppPasswordsRevokeData, type AppPasswordsRevokeError, type AppPasswordsRevokeErrors, type AppPasswordsRevokeResponse, type AppPasswordsRevokeResponses, type Attachment, type AttachmentText, type AttachmentUrl, type AttachmentsDownloadUrlData, type AttachmentsDownloadUrlError, type AttachmentsDownloadUrlErrors, type AttachmentsDownloadUrlResponse, type AttachmentsDownloadUrlResponses, type AttachmentsTextData, type AttachmentsTextError, type AttachmentsTextErrors, type AttachmentsTextResponse, type AttachmentsTextResponses, type AttachmentsUploadData, type AttachmentsUploadError, type AttachmentsUploadErrors, type AttachmentsUploadResponse, type AttachmentsUploadResponses, type AwaitedMessage, type Calendar, type CalendarCreateEventData, type CalendarCreateEventError, type CalendarCreateEventErrors, type CalendarCreateEventResponse, type CalendarCreateEventResponses, type CalendarDeleteEventData, type CalendarDeleteEventError, type CalendarDeleteEventErrors, type CalendarDeleteEventResponse, type CalendarDeleteEventResponses, type CalendarEvent, type CalendarGetAgendaData, type CalendarGetAgendaError, type CalendarGetAgendaErrors, type CalendarGetAgendaResponse, type CalendarGetAgendaResponses, type CalendarGetData, type CalendarGetError, type CalendarGetErrors, type CalendarGetEventData, type CalendarGetEventError, type CalendarGetEventErrors, type CalendarGetEventResponse, type CalendarGetEventResponses, type CalendarGetResponse, type CalendarGetResponses, type CalendarListEventInstancesData, type CalendarListEventInstancesError, type CalendarListEventInstancesErrors, type CalendarListEventInstancesResponse, type CalendarListEventInstancesResponses, type CalendarListEventsData, type CalendarListEventsError, type CalendarListEventsErrors, type CalendarListEventsResponse, type CalendarListEventsResponses, type CalendarRespondToEventData, type CalendarRespondToEventError, type CalendarRespondToEventErrors, type CalendarRespondToEventResponse, type CalendarRespondToEventResponses, type CalendarUpdateData, type CalendarUpdateError, type CalendarUpdateErrors, type CalendarUpdateEventData, type CalendarUpdateEventError, type CalendarUpdateEventErrors, type CalendarUpdateEventResponse, type CalendarUpdateEventResponses, type CalendarUpdateResponse, type CalendarUpdateResponses, type ClientOptions, type CreateClientConfig, type Deleted, type Delivery, type DnsRecord, type Domain, type DomainDetail, type DomainsCreateData, type DomainsCreateError, type DomainsCreateErrors, type DomainsCreateResponse, type DomainsCreateResponses, type DomainsDeleteData, type DomainsDeleteError, type DomainsDeleteErrors, type DomainsDeleteResponse, type DomainsDeleteResponses, type DomainsGetData, type DomainsGetError, type DomainsGetErrors, type DomainsGetResponse, type DomainsGetResponses, type DomainsGetSetupLinkData, type DomainsGetSetupLinkError, type DomainsGetSetupLinkErrors, type DomainsGetSetupLinkResponse, type DomainsGetSetupLinkResponses, type DomainsListData, type DomainsListError, type DomainsListErrors, type DomainsListResponse, type DomainsListResponses, type DomainsUpdateData, type DomainsUpdateError, type DomainsUpdateErrors, type DomainsUpdateResponse, type DomainsUpdateResponses, type DomainsVerifyData, type DomainsVerifyError, type DomainsVerifyErrors, type DomainsVerifyResponse, type DomainsVerifyResponses, type DomainsZoneFileData, type DomainsZoneFileError, type DomainsZoneFileErrors, type DomainsZoneFileResponse, type DomainsZoneFileResponses, type Draft, type DraftsCancelScheduleData, type DraftsCancelScheduleError, type DraftsCancelScheduleErrors, type DraftsCancelScheduleResponse, type DraftsCancelScheduleResponses, type DraftsCreateData, type DraftsCreateError, type DraftsCreateErrors, type DraftsCreateResponse, type DraftsCreateResponses, type DraftsDeleteData, type DraftsDeleteError, type DraftsDeleteErrors, type DraftsDeleteResponse, type DraftsDeleteResponses, type DraftsGetData, type DraftsGetError, type DraftsGetErrors, type DraftsGetResponse, type DraftsGetResponses, type DraftsListData, type DraftsListError, type DraftsListErrors, type DraftsListResponse, type DraftsListResponses, type DraftsRemoveAttachmentData, type DraftsRemoveAttachmentError, type DraftsRemoveAttachmentErrors, type DraftsRemoveAttachmentResponse, type DraftsRemoveAttachmentResponses, type DraftsScheduleData, type DraftsScheduleError, type DraftsScheduleErrors, type DraftsScheduleResponse, type DraftsScheduleResponses, type DraftsSendData, type DraftsSendError, type DraftsSendErrors, type DraftsSendResponse, type DraftsSendResponses, type DraftsUpdateData, type DraftsUpdateError, type DraftsUpdateErrors, type DraftsUpdateResponse, type DraftsUpdateResponses, type Emptied, type Error, type Event, type EventResponse, type EventsGetData, type EventsGetError, type EventsGetErrors, type EventsGetResponse, type EventsGetResponses, type EventsListData, type EventsListError, type EventsListErrors, type EventsListResponse, type EventsListResponses, type EventsSocketData, type EventsSocketError, type EventsSocketErrors, type EventsStreamData, type EventsStreamError, type EventsStreamErrors, type EventsStreamResponse, type EventsStreamResponses, type ExportMailData, type ExportMailError, type ExportMailErrors, type ExportMailResponse, type ExportMailResponses, type IdentitiesAccessCreateData, type IdentitiesAccessCreateError, type IdentitiesAccessCreateErrors, type IdentitiesAccessCreateResponse, type IdentitiesAccessCreateResponses, type IdentitiesAccessDeleteData, type IdentitiesAccessDeleteError, type IdentitiesAccessDeleteErrors, type IdentitiesAccessDeleteResponse, type IdentitiesAccessDeleteResponses, type IdentitiesAccessGetData, type IdentitiesAccessGetError, type IdentitiesAccessGetErrors, type IdentitiesAccessGetResponse, type IdentitiesAccessGetResponses, type IdentitiesCreateData, type IdentitiesCreateError, type IdentitiesCreateErrors, type IdentitiesCreateResponse, type IdentitiesCreateResponses, type IdentitiesDeleteData, type IdentitiesDeleteError, type IdentitiesDeleteErrors, type IdentitiesDeleteResponse, type IdentitiesDeleteResponses, type IdentitiesGetData, type IdentitiesGetError, type IdentitiesGetErrors, type IdentitiesGetResponse, type IdentitiesGetResponses, type IdentitiesListData, type IdentitiesListError, type IdentitiesListErrors, type IdentitiesListResponse, type IdentitiesListResponses, type IdentitiesReceiveRulesCreateData, type IdentitiesReceiveRulesCreateError, type IdentitiesReceiveRulesCreateErrors, type IdentitiesReceiveRulesCreateResponse, type IdentitiesReceiveRulesCreateResponses, type IdentitiesReceiveRulesDeleteData, type IdentitiesReceiveRulesDeleteError, type IdentitiesReceiveRulesDeleteErrors, type IdentitiesReceiveRulesDeleteResponse, type IdentitiesReceiveRulesDeleteResponses, type IdentitiesReceiveRulesGetData, type IdentitiesReceiveRulesGetError, type IdentitiesReceiveRulesGetErrors, type IdentitiesReceiveRulesGetResponse, type IdentitiesReceiveRulesGetResponses, type IdentitiesSendRulesCreateData, type IdentitiesSendRulesCreateError, type IdentitiesSendRulesCreateErrors, type IdentitiesSendRulesCreateResponse, type IdentitiesSendRulesCreateResponses, type IdentitiesSendRulesDeleteData, type IdentitiesSendRulesDeleteError, type IdentitiesSendRulesDeleteErrors, type IdentitiesSendRulesDeleteResponse, type IdentitiesSendRulesDeleteResponses, type IdentitiesSendRulesGetData, type IdentitiesSendRulesGetError, type IdentitiesSendRulesGetErrors, type IdentitiesSendRulesGetResponse, type IdentitiesSendRulesGetResponses, type IdentitiesSuspendTenantData, type IdentitiesSuspendTenantError, type IdentitiesSuspendTenantErrors, type IdentitiesSuspendTenantResponse, type IdentitiesSuspendTenantResponses, type IdentitiesUpdateData, type IdentitiesUpdateError, type IdentitiesUpdateErrors, type IdentitiesUpdateResponse, type IdentitiesUpdateResponses, type Identity, type Invitation, type InvitationResponse, type KeysCreateData, type KeysCreateError, type KeysCreateErrors, type KeysCreateResponse, type KeysCreateResponses, type KeysGetData, type KeysGetError, type KeysGetErrors, type KeysGetResponse, type KeysGetResponses, type KeysListData, type KeysListError, type KeysListErrors, type KeysListResponse, type KeysListResponses, type KeysRevokeData, type KeysRevokeError, type KeysRevokeErrors, type KeysRevokeResponse, type KeysRevokeResponses, type KeysUpdateData, type KeysUpdateError, type KeysUpdateErrors, type KeysUpdateResponse, type KeysUpdateResponses, type Label, type LabelRemoved, type LabelsCreateData, type LabelsCreateError, type LabelsCreateErrors, type LabelsCreateResponse, type LabelsCreateResponses, type LabelsDeleteData, type LabelsDeleteError, type LabelsDeleteErrors, type LabelsDeleteResponse, type LabelsDeleteResponses, type LabelsListData, type LabelsListError, type LabelsListErrors, type LabelsListResponse, type LabelsListResponses, type LabelsUpdateData, type LabelsUpdateError, type LabelsUpdateErrors, type LabelsUpdateResponse, type LabelsUpdateResponses, type Mailbox, type MailboxAccess, type MailboxChange, type MailboxesChangesData, type MailboxesChangesError, type MailboxesChangesErrors, type MailboxesChangesResponse, type MailboxesChangesResponses, type MailboxesEmptyTrashData, type MailboxesEmptyTrashError, type MailboxesEmptyTrashErrors, type MailboxesEmptyTrashResponse, type MailboxesEmptyTrashResponses, type MailboxesListData, type MailboxesListError, type MailboxesListErrors, type MailboxesListFolderData, type MailboxesListFolderError, type MailboxesListFolderErrors, type MailboxesListFolderResponse, type MailboxesListFolderResponses, type MailboxesListResponse, type MailboxesListResponses, type Me, type MeGetData, type MeGetError, type MeGetErrors, type MeGetResponse, type MeGetResponses, type Member, type Message, type MessageListItem, type MessagesActData, type MessagesActError, type MessagesActErrors, type MessagesActResponse, type MessagesActResponses, type MessagesAwaitData, type MessagesAwaitError, type MessagesAwaitErrors, type MessagesAwaitResponse, type MessagesAwaitResponses, type MessagesForwardData, type MessagesForwardError, type MessagesForwardErrors, type MessagesForwardResponse, type MessagesForwardResponses, type MessagesGetData, type MessagesGetError, type MessagesGetErrors, type MessagesGetResponse, type MessagesGetResponses, type MessagesListInThreadData, type MessagesListInThreadError, type MessagesListInThreadErrors, type MessagesListInThreadResponse, type MessagesListInThreadResponses, type MessagesRawData, type MessagesRawError, type MessagesRawErrors, type MessagesRawResponse, type MessagesRawResponses, type MessagesReplyAllData, type MessagesReplyAllError, type MessagesReplyAllErrors, type MessagesReplyAllResponse, type MessagesReplyAllResponses, type MessagesReplyData, type MessagesReplyError, type MessagesReplyErrors, type MessagesReplyResponse, type MessagesReplyResponses, type MessagesRespondToInvitationData, type MessagesRespondToInvitationError, type MessagesRespondToInvitationErrors, type MessagesRespondToInvitationResponse, type MessagesRespondToInvitationResponses, type MessagesSearchData, type MessagesSearchError, type MessagesSearchErrors, type MessagesSearchResponse, type MessagesSearchResponses, type MessagesSendData, type MessagesSendError, type MessagesSendErrors, type MessagesSendResponse, type MessagesSendResponses, type MessagesUndoData, type MessagesUndoError, type MessagesUndoErrors, type MessagesUndoResponse, type MessagesUndoResponses, type MessagesUpdateData, type MessagesUpdateError, type MessagesUpdateErrors, type MessagesUpdateResponse, type MessagesUpdateResponses, type Metrics, type MetricsQueryData, type MetricsQueryError, type MetricsQueryErrors, type MetricsQueryResponse, type MetricsQueryResponses, type Options, type Pod, type PodsCreateData, type PodsCreateError, type PodsCreateErrors, type PodsCreateResponse, type PodsCreateResponses, type PodsGetData, type PodsGetError, type PodsGetErrors, type PodsGetResponse, type PodsGetResponses, type PodsListData, type PodsListError, type PodsListErrors, type PodsListResponse, type PodsListResponses, type PodsUpdateData, type PodsUpdateError, type PodsUpdateErrors, type PodsUpdateResponse, type PodsUpdateResponses, type ReceiveRuleRemoved, type ReceiveRules, type Replayed, type Restored, type Revoked, type RoutingCreateData, type RoutingCreateError, type RoutingCreateErrors, type RoutingCreateResponse, type RoutingCreateResponses, type RoutingDeleteData, type RoutingDeleteError, type RoutingDeleteErrors, type RoutingDeleteResponse, type RoutingDeleteResponses, type RoutingListData, type RoutingListError, type RoutingListErrors, type RoutingListResponse, type RoutingListResponses, type RoutingRule, type RoutingUpdateData, type RoutingUpdateError, type RoutingUpdateErrors, type RoutingUpdateResponse, type RoutingUpdateResponses, SIGNATURE_HEADER, type SearchHit, type SendRuleRemoved, type SendRules, type Sent, type SetupLink, type StreamOptions, type StreamedEvent, TIMESTAMP_HEADER, type TenantSuspended, type Thread, type ThreadsGetData, type ThreadsGetError, type ThreadsGetErrors, type ThreadsGetResponse, type ThreadsGetResponses, type ThreadsLabelsCreateData, type ThreadsLabelsCreateError, type ThreadsLabelsCreateErrors, type ThreadsLabelsCreateResponse, type ThreadsLabelsCreateResponses, type ThreadsLabelsDeleteData, type ThreadsLabelsDeleteError, type ThreadsLabelsDeleteErrors, type ThreadsLabelsDeleteResponse, type ThreadsLabelsDeleteResponses, type ThreadsLabelsGetData, type ThreadsLabelsGetError, type ThreadsLabelsGetErrors, type ThreadsLabelsGetResponse, type ThreadsLabelsGetResponses, type ThreadsListData, type ThreadsListError, type ThreadsListErrors, type ThreadsListResponse, type ThreadsListResponses, type ThreadsUpdateData, type ThreadsUpdateError, type ThreadsUpdateErrors, type ThreadsUpdateResponse, type ThreadsUpdateResponses, type Undo, type UploadedAttachment, type Verification, type Webhook, type WebhookCreated, type WebhookEnvelope, type WebhookHeaders, type WebhooksCreateData, type WebhooksCreateError, type WebhooksCreateErrors, type WebhooksCreateResponse, type WebhooksCreateResponses, type WebhooksDeleteData, type WebhooksDeleteError, type WebhooksDeleteErrors, type WebhooksDeleteResponse, type WebhooksDeleteResponses, type WebhooksDeliveriesData, type WebhooksDeliveriesError, type WebhooksDeliveriesErrors, type WebhooksDeliveriesResponse, type WebhooksDeliveriesResponses, type WebhooksGetData, type WebhooksGetError, type WebhooksGetErrors, type WebhooksGetHeadersData, type WebhooksGetHeadersError, type WebhooksGetHeadersErrors, type WebhooksGetHeadersResponse, type WebhooksGetHeadersResponses, type WebhooksGetResponse, type WebhooksGetResponses, type WebhooksListData, type WebhooksListError, type WebhooksListErrors, type WebhooksListResponse, type WebhooksListResponses, type WebhooksReplayData, type WebhooksReplayError, type WebhooksReplayErrors, type WebhooksReplayResponse, type WebhooksReplayResponses, type WebhooksUpdateData, type WebhooksUpdateError, type WebhooksUpdateErrors, type WebhooksUpdateHeadersData, type WebhooksUpdateHeadersError, type WebhooksUpdateHeadersErrors, type WebhooksUpdateHeadersResponse, type WebhooksUpdateHeadersResponses, type WebhooksUpdateResponse, type WebhooksUpdateResponses, type Workspace, type WorkspaceGetData, type WorkspaceGetError, type WorkspaceGetErrors, type WorkspaceGetResponse, type WorkspaceGetResponses, type WorkspaceMembersData, type WorkspaceMembersError, type WorkspaceMembersErrors, type WorkspaceMembersResponse, type WorkspaceMembersResponses, agentAttachHuman, agentSignUp, agentVerify, appPasswordsCreate, appPasswordsList, appPasswordsRevoke, attachmentsDownloadUrl, 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, keysUpdate, labelsCreate, labelsDelete, labelsList, labelsUpdate, mailboxesChanges, mailboxesEmptyTrash, mailboxesList, mailboxesListFolder, meGet, messagesAct, messagesAwait, messagesForward, messagesGet, messagesListInThread, messagesRaw, messagesReply, messagesReplyAll, messagesRespondToInvitation, messagesSearch, messagesSend, messagesUndo, messagesUpdate, metricsQuery, podsCreate, podsGet, podsList, podsUpdate, routingCreate, routingDelete, routingList, routingUpdate, streamEvents, threadsGet, threadsLabelsCreate, threadsLabelsDelete, threadsLabelsGet, threadsList, threadsUpdate, verifyWebhook, webhooksCreate, webhooksDelete, webhooksDeliveries, webhooksGet, webhooksGetHeaders, webhooksList, webhooksReplay, webhooksUpdate, webhooksUpdateHeaders, workspaceGet, workspaceMembers };
8926
+ export { type Address, type AgentAttachHumanData, type AgentAttachHumanError, type AgentAttachHumanErrors, type AgentAttachHumanResponse, type AgentAttachHumanResponses, type AgentSignUpData, type AgentSignUpError, type AgentSignUpErrors, type AgentSignUpResponse, type AgentSignUpResponses, type AgentSignup, type AgentVerified, type AgentVerifyData, type AgentVerifyError, type AgentVerifyErrors, type AgentVerifyResponse, type AgentVerifyResponses, type ApiKey, type ApiKeyCreated, type AppPassword, type AppPasswordsCreateData, type AppPasswordsCreateError, type AppPasswordsCreateErrors, type AppPasswordsCreateResponse, type AppPasswordsCreateResponses, type AppPasswordsListData, type AppPasswordsListError, type AppPasswordsListErrors, type AppPasswordsListResponse, type AppPasswordsListResponses, type AppPasswordsRevokeData, type AppPasswordsRevokeError, type AppPasswordsRevokeErrors, type AppPasswordsRevokeResponse, type AppPasswordsRevokeResponses, type Attachment, type AttachmentText, type AttachmentUrl, type AttachmentsDownloadUrlData, type AttachmentsDownloadUrlError, type AttachmentsDownloadUrlErrors, type AttachmentsDownloadUrlResponse, type AttachmentsDownloadUrlResponses, type AttachmentsTextData, type AttachmentsTextError, type AttachmentsTextErrors, type AttachmentsTextResponse, type AttachmentsTextResponses, type AttachmentsUploadData, type AttachmentsUploadError, type AttachmentsUploadErrors, type AttachmentsUploadResponse, type AttachmentsUploadResponses, type AwaitedMessage, type Calendar, type CalendarCreateEventData, type CalendarCreateEventError, type CalendarCreateEventErrors, type CalendarCreateEventResponse, type CalendarCreateEventResponses, type CalendarDeleteEventData, type CalendarDeleteEventError, type CalendarDeleteEventErrors, type CalendarDeleteEventResponse, type CalendarDeleteEventResponses, type CalendarEvent, type CalendarGetAgendaData, type CalendarGetAgendaError, type CalendarGetAgendaErrors, type CalendarGetAgendaResponse, type CalendarGetAgendaResponses, type CalendarGetData, type CalendarGetError, type CalendarGetErrors, type CalendarGetEventData, type CalendarGetEventError, type CalendarGetEventErrors, type CalendarGetEventResponse, type CalendarGetEventResponses, type CalendarGetResponse, type CalendarGetResponses, type CalendarListEventInstancesData, type CalendarListEventInstancesError, type CalendarListEventInstancesErrors, type CalendarListEventInstancesResponse, type CalendarListEventInstancesResponses, type CalendarListEventsData, type CalendarListEventsError, type CalendarListEventsErrors, type CalendarListEventsResponse, type CalendarListEventsResponses, type CalendarRespondToEventData, type CalendarRespondToEventError, type CalendarRespondToEventErrors, type CalendarRespondToEventResponse, type CalendarRespondToEventResponses, type CalendarUpdateData, type CalendarUpdateError, type CalendarUpdateErrors, type CalendarUpdateEventData, type CalendarUpdateEventError, type CalendarUpdateEventErrors, type CalendarUpdateEventResponse, type CalendarUpdateEventResponses, type CalendarUpdateResponse, type CalendarUpdateResponses, type ClientOptions, type CreateClientConfig, type Deleted, type Delivery, type DnsRecord, type Domain, type DomainDetail, type DomainsCreateData, type DomainsCreateError, type DomainsCreateErrors, type DomainsCreateResponse, type DomainsCreateResponses, type DomainsDeleteData, type DomainsDeleteError, type DomainsDeleteErrors, type DomainsDeleteResponse, type DomainsDeleteResponses, type DomainsGetData, type DomainsGetError, type DomainsGetErrors, type DomainsGetResponse, type DomainsGetResponses, type DomainsGetSetupLinkData, type DomainsGetSetupLinkError, type DomainsGetSetupLinkErrors, type DomainsGetSetupLinkResponse, type DomainsGetSetupLinkResponses, type DomainsListData, type DomainsListError, type DomainsListErrors, type DomainsListResponse, type DomainsListResponses, type DomainsUpdateData, type DomainsUpdateError, type DomainsUpdateErrors, type DomainsUpdateResponse, type DomainsUpdateResponses, type DomainsVerifyData, type DomainsVerifyError, type DomainsVerifyErrors, type DomainsVerifyResponse, type DomainsVerifyResponses, type DomainsZoneFileData, type DomainsZoneFileError, type DomainsZoneFileErrors, type DomainsZoneFileResponse, type DomainsZoneFileResponses, type Draft, type DraftsCancelScheduleData, type DraftsCancelScheduleError, type DraftsCancelScheduleErrors, type DraftsCancelScheduleResponse, type DraftsCancelScheduleResponses, type DraftsCreateData, type DraftsCreateError, type DraftsCreateErrors, type DraftsCreateResponse, type DraftsCreateResponses, type DraftsDeleteData, type DraftsDeleteError, type DraftsDeleteErrors, type DraftsDeleteResponse, type DraftsDeleteResponses, type DraftsGetData, type DraftsGetError, type DraftsGetErrors, type DraftsGetResponse, type DraftsGetResponses, type DraftsListData, type DraftsListError, type DraftsListErrors, type DraftsListResponse, type DraftsListResponses, type DraftsRemoveAttachmentData, type DraftsRemoveAttachmentError, type DraftsRemoveAttachmentErrors, type DraftsRemoveAttachmentResponse, type DraftsRemoveAttachmentResponses, type DraftsScheduleData, type DraftsScheduleError, type DraftsScheduleErrors, type DraftsScheduleResponse, type DraftsScheduleResponses, type DraftsSendData, type DraftsSendError, type DraftsSendErrors, type DraftsSendResponse, type DraftsSendResponses, type DraftsUpdateData, type DraftsUpdateError, type DraftsUpdateErrors, type DraftsUpdateResponse, type DraftsUpdateResponses, type Emptied, type Error, type Event, type EventResponse, type EventsGetData, type EventsGetError, type EventsGetErrors, type EventsGetResponse, type EventsGetResponses, type EventsListData, type EventsListError, type EventsListErrors, type EventsListResponse, type EventsListResponses, type EventsSocketData, type EventsSocketError, type EventsSocketErrors, type EventsStreamData, type EventsStreamError, type EventsStreamErrors, type EventsStreamResponse, type EventsStreamResponses, type ExportMailData, type ExportMailError, type ExportMailErrors, type ExportMailResponse, type ExportMailResponses, type IdentitiesAccessCreateData, type IdentitiesAccessCreateError, type IdentitiesAccessCreateErrors, type IdentitiesAccessCreateResponse, type IdentitiesAccessCreateResponses, type IdentitiesAccessDeleteData, type IdentitiesAccessDeleteError, type IdentitiesAccessDeleteErrors, type IdentitiesAccessDeleteResponse, type IdentitiesAccessDeleteResponses, type IdentitiesAccessGetData, type IdentitiesAccessGetError, type IdentitiesAccessGetErrors, type IdentitiesAccessGetResponse, type IdentitiesAccessGetResponses, type IdentitiesCreateData, type IdentitiesCreateError, type IdentitiesCreateErrors, type IdentitiesCreateResponse, type IdentitiesCreateResponses, type IdentitiesDeleteData, type IdentitiesDeleteError, type IdentitiesDeleteErrors, type IdentitiesDeleteResponse, type IdentitiesDeleteResponses, type IdentitiesGetData, type IdentitiesGetError, type IdentitiesGetErrors, type IdentitiesGetResponse, type IdentitiesGetResponses, type IdentitiesListData, type IdentitiesListError, type IdentitiesListErrors, type IdentitiesListResponse, type IdentitiesListResponses, type IdentitiesReceiveRulesCreateData, type IdentitiesReceiveRulesCreateError, type IdentitiesReceiveRulesCreateErrors, type IdentitiesReceiveRulesCreateResponse, type IdentitiesReceiveRulesCreateResponses, type IdentitiesReceiveRulesDeleteData, type IdentitiesReceiveRulesDeleteError, type IdentitiesReceiveRulesDeleteErrors, type IdentitiesReceiveRulesDeleteResponse, type IdentitiesReceiveRulesDeleteResponses, type IdentitiesReceiveRulesGetData, type IdentitiesReceiveRulesGetError, type IdentitiesReceiveRulesGetErrors, type IdentitiesReceiveRulesGetResponse, type IdentitiesReceiveRulesGetResponses, type IdentitiesSendRulesCreateData, type IdentitiesSendRulesCreateError, type IdentitiesSendRulesCreateErrors, type IdentitiesSendRulesCreateResponse, type IdentitiesSendRulesCreateResponses, type IdentitiesSendRulesDeleteData, type IdentitiesSendRulesDeleteError, type IdentitiesSendRulesDeleteErrors, type IdentitiesSendRulesDeleteResponse, type IdentitiesSendRulesDeleteResponses, type IdentitiesSendRulesGetData, type IdentitiesSendRulesGetError, type IdentitiesSendRulesGetErrors, type IdentitiesSendRulesGetResponse, type IdentitiesSendRulesGetResponses, type IdentitiesSuspendTenantData, type IdentitiesSuspendTenantError, type IdentitiesSuspendTenantErrors, type IdentitiesSuspendTenantResponse, type IdentitiesSuspendTenantResponses, type IdentitiesUpdateData, type IdentitiesUpdateError, type IdentitiesUpdateErrors, type IdentitiesUpdateResponse, type IdentitiesUpdateResponses, type Identity, type Invitation, type InvitationResponse, type KeysCreateData, type KeysCreateError, type KeysCreateErrors, type KeysCreateResponse, type KeysCreateResponses, type KeysGetData, type KeysGetError, type KeysGetErrors, type KeysGetResponse, type KeysGetResponses, type KeysListData, type KeysListError, type KeysListErrors, type KeysListResponse, type KeysListResponses, type KeysRevokeData, type KeysRevokeError, type KeysRevokeErrors, type KeysRevokeResponse, type KeysRevokeResponses, type KeysUpdateData, type KeysUpdateError, type KeysUpdateErrors, type KeysUpdateResponse, type KeysUpdateResponses, type Label, type LabelRemoved, type LabelsCreateData, type LabelsCreateError, type LabelsCreateErrors, type LabelsCreateResponse, type LabelsCreateResponses, type LabelsDeleteData, type LabelsDeleteError, type LabelsDeleteErrors, type LabelsDeleteResponse, type LabelsDeleteResponses, type LabelsListData, type LabelsListError, type LabelsListErrors, type LabelsListResponse, type LabelsListResponses, type LabelsUpdateData, type LabelsUpdateError, type LabelsUpdateErrors, type LabelsUpdateResponse, type LabelsUpdateResponses, type Mailbox, type MailboxAccess, type MailboxChange, type MailboxesChangesData, type MailboxesChangesError, type MailboxesChangesErrors, type MailboxesChangesResponse, type MailboxesChangesResponses, type MailboxesEmptyTrashData, type MailboxesEmptyTrashError, type MailboxesEmptyTrashErrors, type MailboxesEmptyTrashResponse, type MailboxesEmptyTrashResponses, type MailboxesListData, type MailboxesListError, type MailboxesListErrors, type MailboxesListFolderData, type MailboxesListFolderError, type MailboxesListFolderErrors, type MailboxesListFolderResponse, type MailboxesListFolderResponses, type MailboxesListResponse, type MailboxesListResponses, type Me, type MeGetData, type MeGetError, type MeGetErrors, type MeGetResponse, type MeGetResponses, type Member, type Message, type MessageListItem, type MessagesActData, type MessagesActError, type MessagesActErrors, type MessagesActResponse, type MessagesActResponses, type MessagesAwaitData, type MessagesAwaitError, type MessagesAwaitErrors, type MessagesAwaitResponse, type MessagesAwaitResponses, type MessagesForwardData, type MessagesForwardError, type MessagesForwardErrors, type MessagesForwardResponse, type MessagesForwardResponses, type MessagesGetData, type MessagesGetError, type MessagesGetErrors, type MessagesGetResponse, type MessagesGetResponses, type MessagesListInThreadData, type MessagesListInThreadError, type MessagesListInThreadErrors, type MessagesListInThreadResponse, type MessagesListInThreadResponses, type MessagesRawData, type MessagesRawError, type MessagesRawErrors, type MessagesRawResponse, type MessagesRawResponses, type MessagesReplyAllData, type MessagesReplyAllError, type MessagesReplyAllErrors, type MessagesReplyAllResponse, type MessagesReplyAllResponses, type MessagesReplyData, type MessagesReplyError, type MessagesReplyErrors, type MessagesReplyResponse, type MessagesReplyResponses, type MessagesRespondToInvitationData, type MessagesRespondToInvitationError, type MessagesRespondToInvitationErrors, type MessagesRespondToInvitationResponse, type MessagesRespondToInvitationResponses, type MessagesSearchData, type MessagesSearchError, type MessagesSearchErrors, type MessagesSearchResponse, type MessagesSearchResponses, type MessagesSendData, type MessagesSendError, type MessagesSendErrors, type MessagesSendResponse, type MessagesSendResponses, type MessagesUndoData, type MessagesUndoError, type MessagesUndoErrors, type MessagesUndoResponse, type MessagesUndoResponses, type MessagesUpdateData, type MessagesUpdateError, type MessagesUpdateErrors, type MessagesUpdateResponse, type MessagesUpdateResponses, type Metrics, type MetricsQueryData, type MetricsQueryError, type MetricsQueryErrors, type MetricsQueryResponse, type MetricsQueryResponses, type Options, type Pod, type PodsCreateData, type PodsCreateError, type PodsCreateErrors, type PodsCreateResponse, type PodsCreateResponses, type PodsGetData, type PodsGetError, type PodsGetErrors, type PodsGetResponse, type PodsGetResponses, type PodsListData, type PodsListError, type PodsListErrors, type PodsListResponse, type PodsListResponses, type PodsUpdateData, type PodsUpdateError, type PodsUpdateErrors, type PodsUpdateResponse, type PodsUpdateResponses, type ReceiveRuleRemoved, type ReceiveRules, type Replayed, type Restored, type Revoked, type RoutingCreateData, type RoutingCreateError, type RoutingCreateErrors, type RoutingCreateResponse, type RoutingCreateResponses, type RoutingDeleteData, type RoutingDeleteError, type RoutingDeleteErrors, type RoutingDeleteResponse, type RoutingDeleteResponses, type RoutingListData, type RoutingListError, type RoutingListErrors, type RoutingListResponse, type RoutingListResponses, type RoutingRule, type RoutingUpdateData, type RoutingUpdateError, type RoutingUpdateErrors, type RoutingUpdateResponse, type RoutingUpdateResponses, SIGNATURE_HEADER, type SearchHit, type SendRuleRemoved, type SendRules, type Sent, type SetupLink, type StreamOptions, type StreamedEvent, TIMESTAMP_HEADER, type TenantSuspended, type Thread, type ThreadsGetData, type ThreadsGetError, type ThreadsGetErrors, type ThreadsGetResponse, type ThreadsGetResponses, type ThreadsLabelsCreateData, type ThreadsLabelsCreateError, type ThreadsLabelsCreateErrors, type ThreadsLabelsCreateResponse, type ThreadsLabelsCreateResponses, type ThreadsLabelsDeleteData, type ThreadsLabelsDeleteError, type ThreadsLabelsDeleteErrors, type ThreadsLabelsDeleteResponse, type ThreadsLabelsDeleteResponses, type ThreadsLabelsGetData, type ThreadsLabelsGetError, type ThreadsLabelsGetErrors, type ThreadsLabelsGetResponse, type ThreadsLabelsGetResponses, type ThreadsListData, type ThreadsListError, type ThreadsListErrors, type ThreadsListResponse, type ThreadsListResponses, type ThreadsUpdateData, type ThreadsUpdateError, type ThreadsUpdateErrors, type ThreadsUpdateResponse, type ThreadsUpdateResponses, type Undo, type UploadedAttachment, type Verification, type Webhook, type WebhookCreated, type WebhookEnvelope, type WebhookHeaders, type WebhooksCreateData, type WebhooksCreateError, type WebhooksCreateErrors, type WebhooksCreateResponse, type WebhooksCreateResponses, type WebhooksDeleteData, type WebhooksDeleteError, type WebhooksDeleteErrors, type WebhooksDeleteResponse, type WebhooksDeleteResponses, type WebhooksDeliveriesData, type WebhooksDeliveriesError, type WebhooksDeliveriesErrors, type WebhooksDeliveriesResponse, type WebhooksDeliveriesResponses, type WebhooksGetData, type WebhooksGetError, type WebhooksGetErrors, type WebhooksGetHeadersData, type WebhooksGetHeadersError, type WebhooksGetHeadersErrors, type WebhooksGetHeadersResponse, type WebhooksGetHeadersResponses, type WebhooksGetResponse, type WebhooksGetResponses, type WebhooksListData, type WebhooksListError, type WebhooksListErrors, type WebhooksListResponse, type WebhooksListResponses, type WebhooksReplayData, type WebhooksReplayError, type WebhooksReplayErrors, type WebhooksReplayResponse, type WebhooksReplayResponses, type WebhooksUpdateData, type WebhooksUpdateError, type WebhooksUpdateErrors, type WebhooksUpdateHeadersData, type WebhooksUpdateHeadersError, type WebhooksUpdateHeadersErrors, type WebhooksUpdateHeadersResponse, type WebhooksUpdateHeadersResponses, type WebhooksUpdateResponse, type WebhooksUpdateResponses, type Workspace, type WorkspaceGetData, type WorkspaceGetError, type WorkspaceGetErrors, type WorkspaceGetResponse, type WorkspaceGetResponses, type WorkspaceMembersData, type WorkspaceMembersError, type WorkspaceMembersErrors, type WorkspaceMembersResponse, type WorkspaceMembersResponses, agentAttachHuman, agentSignUp, agentVerify, appPasswordsCreate, appPasswordsList, appPasswordsRevoke, attachmentsDownloadUrl, 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, keysUpdate, labelsCreate, labelsDelete, labelsList, labelsUpdate, mailboxesChanges, mailboxesEmptyTrash, mailboxesList, mailboxesListFolder, meGet, messagesAct, messagesAwait, messagesForward, messagesGet, messagesListInThread, messagesRaw, messagesReply, messagesReplyAll, messagesRespondToInvitation, messagesSearch, messagesSend, messagesUndo, messagesUpdate, metricsQuery, podsCreate, podsGet, podsList, podsUpdate, routingCreate, routingDelete, routingList, routingUpdate, streamEvents, threadsGet, threadsLabelsCreate, threadsLabelsDelete, threadsLabelsGet, threadsList, threadsUpdate, verifyWebhook, webhooksCreate, webhooksDelete, webhooksDeliveries, webhooksGet, webhooksGetHeaders, webhooksList, webhooksReplay, webhooksUpdate, webhooksUpdateHeaders, workspaceGet, workspaceMembers };