@billionsend/node 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2351,7 +2351,7 @@ interface paths {
2351
2351
  };
2352
2352
  /**
2353
2353
  * List received emails
2354
- * @description Mail received at the team's receiving domains and inboxes, newest first (`after` pages toward older mail), with cursor pagination. Needs a full access key; a domain-scoped key lists mail addressed to its domain only, an inbox-scoped key mail delivered into its inbox. Mail held for screening or in quarantine is left out unless a full access key asks for it (include_quarantined, quarantined). With wait, the request is held until matching mail arrives (long-poll). An inbox_id the key can't reach answers 404 at once, without waiting; an inbox-scoped key naming another inbox gets 403 restricted_api_key. Everything in a received email was written by whoever sent it, so its HTML is safe to show only in a sandbox.
2354
+ * @description Mail received at the team's receiving domains and inboxes, newest first (`after` pages toward older mail), with cursor pagination. Needs a full access key; a domain-scoped key lists mail addressed to its domain only, an inbox-scoped key mail delivered into its inbox. Mail held for screening or in quarantine is left out unless a full access key asks for it (include_quarantined, quarantined). With wait, the request is held until matching mail arrives (long-poll). The inbox_id filter takes an inbox ID or its email address, as the /inboxes/{inbox_id} paths do. An inbox the key can't reach answers 404 at once, without waiting; an inbox-scoped key naming another inbox gets 403 restricted_api_key. Everything in a received email was written by whoever sent it, so its HTML is safe to show only in a sandbox.
2355
2355
  */
2356
2356
  get: operations["emails.receiving.list"];
2357
2357
  put?: never;
@@ -3542,7 +3542,10 @@ interface components {
3542
3542
  * @enum {string}
3543
3543
  */
3544
3544
  region?: "us-east-1" | "eu-west-1" | "sa-east-1" | "ap-northeast-1";
3545
- /** @default send */
3545
+ /**
3546
+ * @description The MAIL FROM (return-path) subdomain, fixed when the domain is added: it cannot be changed later (delete and re-add the domain). Defaults to `bounce`, not `send`, so a domain that still sends through another provider whose return path is `send` keeps its bounces working while both send.
3547
+ * @default bounce
3548
+ */
3546
3549
  custom_return_path?: string;
3547
3550
  /** @description Inject a tracking pixel served from the tracking host and record email.opened events. Off by default. */
3548
3551
  open_tracking?: boolean;
@@ -3758,6 +3761,8 @@ interface components {
3758
3761
  logo_radius?: "square" | "gentle" | "rounded" | "circle" | null;
3759
3762
  };
3760
3763
  tls?: unknown;
3764
+ /** @description Not changeable: the return-path subdomain is fixed when the domain is added. Sending it answers 422; delete and re-add the domain to use another. */
3765
+ custom_return_path?: unknown;
3761
3766
  /** @description What the domain is used for (sending, receiving); omitted fields keep their value. */
3762
3767
  capabilities?: {
3763
3768
  /**
@@ -3829,7 +3834,10 @@ interface components {
3829
3834
  * @enum {string}
3830
3835
  */
3831
3836
  region?: "us-east-1" | "eu-west-1" | "sa-east-1" | "ap-northeast-1";
3832
- /** @default send */
3837
+ /**
3838
+ * @description The MAIL FROM (return-path) subdomain, fixed when the domain is added: it cannot be changed later (delete and re-add the domain). Defaults to `bounce`, not `send`, so a domain that still sends through another provider whose return path is `send` keeps its bounces working while both send.
3839
+ * @default bounce
3840
+ */
3833
3841
  custom_return_path?: string;
3834
3842
  /** @description Inject a tracking pixel served from the tracking host and record email.opened events. Off by default. */
3835
3843
  open_tracking?: boolean;
@@ -4044,7 +4052,9 @@ interface components {
4044
4052
  };
4045
4053
  BatchAddSuppressionsRequest: {
4046
4054
  /** @description Addresses to block, up to 1000; duplicates collapse */
4047
- emails: string[];
4055
+ emails?: string[];
4056
+ /** @description BillionSend extension: domains to block entirely (every address at that exact domain, subdomains not covered), up to 1000; recorded as manual entries, consumer mailbox providers such as gmail.com are refused. Their entries follow the emails' in the response */
4057
+ domains?: string[];
4048
4058
  /**
4049
4059
  * @description Origin recorded on rows this request creates (default manual): bounce, complaint or manual; an address already suppressed keeps its origin
4050
4060
  * @enum {string}
@@ -4087,7 +4097,9 @@ interface components {
4087
4097
  * Format: email
4088
4098
  * @description Bare email address to block; stored normalized (lowercase)
4089
4099
  */
4090
- email: string;
4100
+ email?: string;
4101
+ /** @description BillionSend extension: block every address at this exact domain (subdomains are not covered), instead of one email. Recorded as a manual entry; consumer mailbox providers such as gmail.com are refused */
4102
+ domain?: string;
4091
4103
  /**
4092
4104
  * @description Origin recorded on rows this request creates (default manual): bounce, complaint or manual; an address already suppressed keeps its origin
4093
4105
  * @enum {string}
@@ -4100,7 +4112,17 @@ interface components {
4100
4112
  data: {
4101
4113
  /** Format: uuid */
4102
4114
  id: string;
4103
- email: string;
4115
+ /** @description The blocked address; null on a domain entry */
4116
+ email: string | null;
4117
+ /**
4118
+ * @description BillionSend extension: an entry for one address, or for every address at one domain
4119
+ * @enum {string}
4120
+ */
4121
+ kind: "email" | "domain";
4122
+ /** @description The blocked domain; null on an email entry */
4123
+ domain: string | null;
4124
+ /** @description BillionSend extension: false for a permanent entry (a bounce or a complaint) */
4125
+ removable: boolean;
4104
4126
  /** @enum {string} */
4105
4127
  origin: "bounce" | "complaint" | "manual";
4106
4128
  /**
@@ -4115,7 +4137,17 @@ interface components {
4115
4137
  GetSuppressionResponse: {
4116
4138
  /** Format: uuid */
4117
4139
  id: string;
4118
- email: string;
4140
+ /** @description The blocked address; null on a domain entry */
4141
+ email: string | null;
4142
+ /**
4143
+ * @description BillionSend extension: an entry for one address, or for every address at one domain
4144
+ * @enum {string}
4145
+ */
4146
+ kind: "email" | "domain";
4147
+ /** @description The blocked domain; null on an email entry */
4148
+ domain: string | null;
4149
+ /** @description BillionSend extension: false for a permanent entry (a bounce or a complaint) */
4150
+ removable: boolean;
4119
4151
  /** @enum {string} */
4120
4152
  origin: "bounce" | "complaint" | "manual";
4121
4153
  /**
@@ -6301,6 +6333,46 @@ interface components {
6301
6333
  /** @enum {string} */
6302
6334
  guardrail_status: "ok" | "warning" | "paused";
6303
6335
  score_version: number;
6336
+ /** @description Each sending domain's own standing over the trailing 7 days (BillionSend extension). guardrail_status is the team as a whole */
6337
+ domains: components["schemas"]["DomainDeliverability"][];
6338
+ };
6339
+ DomainDeliverability: {
6340
+ /**
6341
+ * Format: uuid
6342
+ * @description The sending domain's id; null for the team's shared-domain addresses
6343
+ */
6344
+ domain_id: string | null;
6345
+ /** @description The sending domain's name; null for the shared-domain addresses */
6346
+ domain: string | null;
6347
+ /**
6348
+ * @description The domain's own standing, judged on its own mail with the team's windows and lines. paused refuses new sends from this domain (403 domain_sending_paused) while the team's other domains keep sending
6349
+ * @enum {string}
6350
+ */
6351
+ status: "ok" | "warning" | "paused";
6352
+ /** @description Emails sent from the domain in the window */
6353
+ emails_sent: number;
6354
+ hard_bounce_rate: number;
6355
+ complaint_rate: number;
6356
+ hard_bounces: number;
6357
+ complaints: number;
6358
+ delivered: number;
6359
+ window_days: number;
6360
+ /**
6361
+ * @description status, or insufficient while the window holds fewer than 100 sends and no line has fired
6362
+ * @enum {string}
6363
+ */
6364
+ tier: "ok" | "warning" | "paused" | "insufficient";
6365
+ /**
6366
+ * @description Whether the domain's mail is paused by its own rates, by the team's as a whole, or both; null when not paused
6367
+ * @enum {string|null}
6368
+ */
6369
+ paused_by: "domain" | "team" | "both" | null;
6370
+ /** @description Hard-bounce rate over today and yesterday (UTC), the window the pause line judges */
6371
+ recent_hard_bounce_rate: number;
6372
+ /** @description Complaint rate over today and yesterday (UTC) */
6373
+ recent_complaint_rate: number;
6374
+ /** @description 1 minus the rate over its pause line, on the metric nearer to its line (recent rates): 1 with no events, 0 at the line, negative past it */
6375
+ pause_margin: number;
6304
6376
  };
6305
6377
  ListEmailsResponse: {
6306
6378
  /** @enum {string} */
@@ -6551,6 +6623,7 @@ type UnshareEmailResponse = components["schemas"]["UnshareEmailResponse"];
6551
6623
  type GetEmailResponse = components["schemas"]["GetEmailResponse"];
6552
6624
  type EmailInsightsResponse = components["schemas"]["EmailInsightsResponse"];
6553
6625
  type DeliverabilityResponse = components["schemas"]["DeliverabilityResponse"];
6626
+ type DomainDeliverability = components["schemas"]["DomainDeliverability"];
6554
6627
  type ListEmailsResponse = components["schemas"]["ListEmailsResponse"];
6555
6628
  type RemoveEmailResponse = components["schemas"]["RemoveEmailResponse"];
6556
6629
  type HeaderRequestId = components["headers"]["RequestId"];
@@ -6610,7 +6683,7 @@ interface operations {
6610
6683
  "application/json": components["schemas"]["ErrorResponse"];
6611
6684
  };
6612
6685
  };
6613
- /** @description Restricted API key: a sending_access key, or a key held to one domain that named another domain in domain_id */
6686
+ /** @description Restricted API key: a sending_access key, or a key held to one domain that named another domain in domain_id; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
6614
6687
  403: {
6615
6688
  headers: {
6616
6689
  "X-Request-Id": components["headers"]["RequestId"];
@@ -6690,7 +6763,7 @@ interface operations {
6690
6763
  "application/json": components["schemas"]["ErrorResponse"];
6691
6764
  };
6692
6765
  };
6693
- /** @description Restricted API key: a sending_access key, or a key held to one domain that named another domain in domain_id */
6766
+ /** @description Restricted API key: a sending_access key, or a key held to one domain that named another domain in domain_id; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
6694
6767
  403: {
6695
6768
  headers: {
6696
6769
  "X-Request-Id": components["headers"]["RequestId"];
@@ -6768,7 +6841,7 @@ interface operations {
6768
6841
  "application/json": components["schemas"]["ErrorResponse"];
6769
6842
  };
6770
6843
  };
6771
- /** @description Restricted API key: a sending_access key, or a key held to one domain that named another domain in domain_id */
6844
+ /** @description Restricted API key: a sending_access key, or a key held to one domain that named another domain in domain_id; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
6772
6845
  403: {
6773
6846
  headers: {
6774
6847
  "X-Request-Id": components["headers"]["RequestId"];
@@ -6846,7 +6919,7 @@ interface operations {
6846
6919
  "application/json": components["schemas"]["ErrorResponse"];
6847
6920
  };
6848
6921
  };
6849
- /** @description Restricted API key: a sending_access key, or a key held to one domain that named another domain in domain_id */
6922
+ /** @description Restricted API key: a sending_access key, or a key held to one domain that named another domain in domain_id; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
6850
6923
  403: {
6851
6924
  headers: {
6852
6925
  "X-Request-Id": components["headers"]["RequestId"];
@@ -6925,7 +6998,7 @@ interface operations {
6925
6998
  "application/json": components["schemas"]["ErrorResponse"];
6926
6999
  };
6927
7000
  };
6928
- /** @description Restricted API key */
7001
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
6929
7002
  403: {
6930
7003
  headers: {
6931
7004
  "X-Request-Id": components["headers"]["RequestId"];
@@ -6992,7 +7065,7 @@ interface operations {
6992
7065
  "application/json": components["schemas"]["ErrorResponse"];
6993
7066
  };
6994
7067
  };
6995
- /** @description Restricted API key */
7068
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
6996
7069
  403: {
6997
7070
  headers: {
6998
7071
  "X-Request-Id": components["headers"]["RequestId"];
@@ -7067,7 +7140,7 @@ interface operations {
7067
7140
  "application/json": components["schemas"]["ErrorResponse"];
7068
7141
  };
7069
7142
  };
7070
- /** @description Restricted API key */
7143
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7071
7144
  403: {
7072
7145
  headers: {
7073
7146
  "X-Request-Id": components["headers"]["RequestId"];
@@ -7139,6 +7212,16 @@ interface operations {
7139
7212
  "application/json": components["schemas"]["ErrorResponse"];
7140
7213
  };
7141
7214
  };
7215
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7216
+ 403: {
7217
+ headers: {
7218
+ "X-Request-Id": components["headers"]["RequestId"];
7219
+ [name: string]: unknown;
7220
+ };
7221
+ content: {
7222
+ "application/json": components["schemas"]["ErrorResponse"];
7223
+ };
7224
+ };
7142
7225
  /** @description Validation error */
7143
7226
  422: {
7144
7227
  headers: {
@@ -7196,7 +7279,7 @@ interface operations {
7196
7279
  "application/json": components["schemas"]["ErrorResponse"];
7197
7280
  };
7198
7281
  };
7199
- /** @description Plan limit reached */
7282
+ /** @description Plan limit reached; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7200
7283
  403: {
7201
7284
  headers: {
7202
7285
  "X-Request-Id": components["headers"]["RequestId"];
@@ -7283,6 +7366,16 @@ interface operations {
7283
7366
  "application/json": components["schemas"]["ErrorResponse"];
7284
7367
  };
7285
7368
  };
7369
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7370
+ 403: {
7371
+ headers: {
7372
+ "X-Request-Id": components["headers"]["RequestId"];
7373
+ [name: string]: unknown;
7374
+ };
7375
+ content: {
7376
+ "application/json": components["schemas"]["ErrorResponse"];
7377
+ };
7378
+ };
7286
7379
  /** @description Validation error */
7287
7380
  422: {
7288
7381
  headers: {
@@ -7340,6 +7433,16 @@ interface operations {
7340
7433
  "application/json": components["schemas"]["ErrorResponse"];
7341
7434
  };
7342
7435
  };
7436
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7437
+ 403: {
7438
+ headers: {
7439
+ "X-Request-Id": components["headers"]["RequestId"];
7440
+ [name: string]: unknown;
7441
+ };
7442
+ content: {
7443
+ "application/json": components["schemas"]["ErrorResponse"];
7444
+ };
7445
+ };
7343
7446
  /** @description Validation error */
7344
7447
  422: {
7345
7448
  headers: {
@@ -7403,7 +7506,7 @@ interface operations {
7403
7506
  "application/json": components["schemas"]["ErrorResponse"];
7404
7507
  };
7405
7508
  };
7406
- /** @description Plan limit reached (strict mode) */
7509
+ /** @description Plan limit reached (strict mode); refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7407
7510
  403: {
7408
7511
  headers: {
7409
7512
  "X-Request-Id": components["headers"]["RequestId"];
@@ -7488,6 +7591,16 @@ interface operations {
7488
7591
  "application/json": components["schemas"]["ErrorResponse"];
7489
7592
  };
7490
7593
  };
7594
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7595
+ 403: {
7596
+ headers: {
7597
+ "X-Request-Id": components["headers"]["RequestId"];
7598
+ [name: string]: unknown;
7599
+ };
7600
+ content: {
7601
+ "application/json": components["schemas"]["ErrorResponse"];
7602
+ };
7603
+ };
7491
7604
  /** @description Not found */
7492
7605
  404: {
7493
7606
  headers: {
@@ -7546,6 +7659,16 @@ interface operations {
7546
7659
  "application/json": components["schemas"]["ErrorResponse"];
7547
7660
  };
7548
7661
  };
7662
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7663
+ 403: {
7664
+ headers: {
7665
+ "X-Request-Id": components["headers"]["RequestId"];
7666
+ [name: string]: unknown;
7667
+ };
7668
+ content: {
7669
+ "application/json": components["schemas"]["ErrorResponse"];
7670
+ };
7671
+ };
7549
7672
  /** @description Not found */
7550
7673
  404: {
7551
7674
  headers: {
@@ -7605,6 +7728,16 @@ interface operations {
7605
7728
  "application/json": components["schemas"]["ErrorResponse"];
7606
7729
  };
7607
7730
  };
7731
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7732
+ 403: {
7733
+ headers: {
7734
+ "X-Request-Id": components["headers"]["RequestId"];
7735
+ [name: string]: unknown;
7736
+ };
7737
+ content: {
7738
+ "application/json": components["schemas"]["ErrorResponse"];
7739
+ };
7740
+ };
7608
7741
  /** @description Not found */
7609
7742
  404: {
7610
7743
  headers: {
@@ -7670,6 +7803,16 @@ interface operations {
7670
7803
  "application/json": components["schemas"]["ErrorResponse"];
7671
7804
  };
7672
7805
  };
7806
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7807
+ 403: {
7808
+ headers: {
7809
+ "X-Request-Id": components["headers"]["RequestId"];
7810
+ [name: string]: unknown;
7811
+ };
7812
+ content: {
7813
+ "application/json": components["schemas"]["ErrorResponse"];
7814
+ };
7815
+ };
7673
7816
  /** @description Not found */
7674
7817
  404: {
7675
7818
  headers: {
@@ -7735,6 +7878,16 @@ interface operations {
7735
7878
  "application/json": components["schemas"]["ErrorResponse"];
7736
7879
  };
7737
7880
  };
7881
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7882
+ 403: {
7883
+ headers: {
7884
+ "X-Request-Id": components["headers"]["RequestId"];
7885
+ [name: string]: unknown;
7886
+ };
7887
+ content: {
7888
+ "application/json": components["schemas"]["ErrorResponse"];
7889
+ };
7890
+ };
7738
7891
  /** @description Not found */
7739
7892
  404: {
7740
7893
  headers: {
@@ -7794,6 +7947,16 @@ interface operations {
7794
7947
  "application/json": components["schemas"]["ErrorResponse"];
7795
7948
  };
7796
7949
  };
7950
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
7951
+ 403: {
7952
+ headers: {
7953
+ "X-Request-Id": components["headers"]["RequestId"];
7954
+ [name: string]: unknown;
7955
+ };
7956
+ content: {
7957
+ "application/json": components["schemas"]["ErrorResponse"];
7958
+ };
7959
+ };
7797
7960
  /** @description Not found */
7798
7961
  404: {
7799
7962
  headers: {
@@ -7866,6 +8029,16 @@ interface operations {
7866
8029
  "application/json": components["schemas"]["ErrorResponse"];
7867
8030
  };
7868
8031
  };
8032
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
8033
+ 403: {
8034
+ headers: {
8035
+ "X-Request-Id": components["headers"]["RequestId"];
8036
+ [name: string]: unknown;
8037
+ };
8038
+ content: {
8039
+ "application/json": components["schemas"]["ErrorResponse"];
8040
+ };
8041
+ };
7869
8042
  /** @description Not found */
7870
8043
  404: {
7871
8044
  headers: {
@@ -7932,6 +8105,16 @@ interface operations {
7932
8105
  "application/json": components["schemas"]["ErrorResponse"];
7933
8106
  };
7934
8107
  };
8108
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
8109
+ 403: {
8110
+ headers: {
8111
+ "X-Request-Id": components["headers"]["RequestId"];
8112
+ [name: string]: unknown;
8113
+ };
8114
+ content: {
8115
+ "application/json": components["schemas"]["ErrorResponse"];
8116
+ };
8117
+ };
7935
8118
  /** @description Not found */
7936
8119
  404: {
7937
8120
  headers: {
@@ -7988,6 +8171,16 @@ interface operations {
7988
8171
  "application/json": components["schemas"]["ErrorResponse"];
7989
8172
  };
7990
8173
  };
8174
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
8175
+ 403: {
8176
+ headers: {
8177
+ "X-Request-Id": components["headers"]["RequestId"];
8178
+ [name: string]: unknown;
8179
+ };
8180
+ content: {
8181
+ "application/json": components["schemas"]["ErrorResponse"];
8182
+ };
8183
+ };
7991
8184
  /** @description Not found */
7992
8185
  404: {
7993
8186
  headers: {
@@ -8047,7 +8240,7 @@ interface operations {
8047
8240
  "application/json": components["schemas"]["ErrorResponse"];
8048
8241
  };
8049
8242
  };
8050
- /** @description Plan limit reached */
8243
+ /** @description Plan limit reached; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
8051
8244
  403: {
8052
8245
  headers: {
8053
8246
  "X-Request-Id": components["headers"]["RequestId"];
@@ -8133,6 +8326,16 @@ interface operations {
8133
8326
  "application/json": components["schemas"]["ErrorResponse"];
8134
8327
  };
8135
8328
  };
8329
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
8330
+ 403: {
8331
+ headers: {
8332
+ "X-Request-Id": components["headers"]["RequestId"];
8333
+ [name: string]: unknown;
8334
+ };
8335
+ content: {
8336
+ "application/json": components["schemas"]["ErrorResponse"];
8337
+ };
8338
+ };
8136
8339
  /** @description Not found */
8137
8340
  404: {
8138
8341
  headers: {
@@ -8192,6 +8395,16 @@ interface operations {
8192
8395
  "application/json": components["schemas"]["ErrorResponse"];
8193
8396
  };
8194
8397
  };
8398
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
8399
+ 403: {
8400
+ headers: {
8401
+ "X-Request-Id": components["headers"]["RequestId"];
8402
+ [name: string]: unknown;
8403
+ };
8404
+ content: {
8405
+ "application/json": components["schemas"]["ErrorResponse"];
8406
+ };
8407
+ };
8195
8408
  /** @description Not found */
8196
8409
  404: {
8197
8410
  headers: {
@@ -8252,6 +8465,16 @@ interface operations {
8252
8465
  "application/json": components["schemas"]["ErrorResponse"];
8253
8466
  };
8254
8467
  };
8468
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
8469
+ 403: {
8470
+ headers: {
8471
+ "X-Request-Id": components["headers"]["RequestId"];
8472
+ [name: string]: unknown;
8473
+ };
8474
+ content: {
8475
+ "application/json": components["schemas"]["ErrorResponse"];
8476
+ };
8477
+ };
8255
8478
  /** @description Not found */
8256
8479
  404: {
8257
8480
  headers: {
@@ -8322,6 +8545,16 @@ interface operations {
8322
8545
  "application/json": components["schemas"]["ErrorResponse"];
8323
8546
  };
8324
8547
  };
8548
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
8549
+ 403: {
8550
+ headers: {
8551
+ "X-Request-Id": components["headers"]["RequestId"];
8552
+ [name: string]: unknown;
8553
+ };
8554
+ content: {
8555
+ "application/json": components["schemas"]["ErrorResponse"];
8556
+ };
8557
+ };
8325
8558
  /** @description Validation error */
8326
8559
  422: {
8327
8560
  headers: {
@@ -8379,6 +8612,16 @@ interface operations {
8379
8612
  "application/json": components["schemas"]["ErrorResponse"];
8380
8613
  };
8381
8614
  };
8615
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
8616
+ 403: {
8617
+ headers: {
8618
+ "X-Request-Id": components["headers"]["RequestId"];
8619
+ [name: string]: unknown;
8620
+ };
8621
+ content: {
8622
+ "application/json": components["schemas"]["ErrorResponse"];
8623
+ };
8624
+ };
8382
8625
  /** @description Property already exists */
8383
8626
  409: {
8384
8627
  headers: {
@@ -8444,6 +8687,16 @@ interface operations {
8444
8687
  "application/json": components["schemas"]["ErrorResponse"];
8445
8688
  };
8446
8689
  };
8690
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
8691
+ 403: {
8692
+ headers: {
8693
+ "X-Request-Id": components["headers"]["RequestId"];
8694
+ [name: string]: unknown;
8695
+ };
8696
+ content: {
8697
+ "application/json": components["schemas"]["ErrorResponse"];
8698
+ };
8699
+ };
8447
8700
  /** @description Not found */
8448
8701
  404: {
8449
8702
  headers: {
@@ -8499,6 +8752,16 @@ interface operations {
8499
8752
  "application/json": components["schemas"]["ErrorResponse"];
8500
8753
  };
8501
8754
  };
8755
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
8756
+ 403: {
8757
+ headers: {
8758
+ "X-Request-Id": components["headers"]["RequestId"];
8759
+ [name: string]: unknown;
8760
+ };
8761
+ content: {
8762
+ "application/json": components["schemas"]["ErrorResponse"];
8763
+ };
8764
+ };
8502
8765
  /** @description Not found */
8503
8766
  404: {
8504
8767
  headers: {
@@ -8558,6 +8821,16 @@ interface operations {
8558
8821
  "application/json": components["schemas"]["ErrorResponse"];
8559
8822
  };
8560
8823
  };
8824
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
8825
+ 403: {
8826
+ headers: {
8827
+ "X-Request-Id": components["headers"]["RequestId"];
8828
+ [name: string]: unknown;
8829
+ };
8830
+ content: {
8831
+ "application/json": components["schemas"]["ErrorResponse"];
8832
+ };
8833
+ };
8561
8834
  /** @description Not found */
8562
8835
  404: {
8563
8836
  headers: {
@@ -8628,6 +8901,16 @@ interface operations {
8628
8901
  "application/json": components["schemas"]["ErrorResponse"];
8629
8902
  };
8630
8903
  };
8904
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
8905
+ 403: {
8906
+ headers: {
8907
+ "X-Request-Id": components["headers"]["RequestId"];
8908
+ [name: string]: unknown;
8909
+ };
8910
+ content: {
8911
+ "application/json": components["schemas"]["ErrorResponse"];
8912
+ };
8913
+ };
8631
8914
  /** @description Validation error */
8632
8915
  422: {
8633
8916
  headers: {
@@ -8685,7 +8968,7 @@ interface operations {
8685
8968
  "application/json": components["schemas"]["ErrorResponse"];
8686
8969
  };
8687
8970
  };
8688
- /** @description A key held to one domain bound this to another domain, or unbound it */
8971
+ /** @description A key held to one domain bound this to another domain, or unbound it; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
8689
8972
  403: {
8690
8973
  headers: {
8691
8974
  "X-Request-Id": components["headers"]["RequestId"];
@@ -8750,6 +9033,16 @@ interface operations {
8750
9033
  "application/json": components["schemas"]["ErrorResponse"];
8751
9034
  };
8752
9035
  };
9036
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9037
+ 403: {
9038
+ headers: {
9039
+ "X-Request-Id": components["headers"]["RequestId"];
9040
+ [name: string]: unknown;
9041
+ };
9042
+ content: {
9043
+ "application/json": components["schemas"]["ErrorResponse"];
9044
+ };
9045
+ };
8753
9046
  /** @description Not found */
8754
9047
  404: {
8755
9048
  headers: {
@@ -8805,6 +9098,16 @@ interface operations {
8805
9098
  "application/json": components["schemas"]["ErrorResponse"];
8806
9099
  };
8807
9100
  };
9101
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9102
+ 403: {
9103
+ headers: {
9104
+ "X-Request-Id": components["headers"]["RequestId"];
9105
+ [name: string]: unknown;
9106
+ };
9107
+ content: {
9108
+ "application/json": components["schemas"]["ErrorResponse"];
9109
+ };
9110
+ };
8808
9111
  /** @description Not found */
8809
9112
  404: {
8810
9113
  headers: {
@@ -8874,7 +9177,7 @@ interface operations {
8874
9177
  "application/json": components["schemas"]["ErrorResponse"];
8875
9178
  };
8876
9179
  };
8877
- /** @description A key held to one domain bound this to another domain, or unbound it */
9180
+ /** @description A key held to one domain bound this to another domain, or unbound it; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
8878
9181
  403: {
8879
9182
  headers: {
8880
9183
  "X-Request-Id": components["headers"]["RequestId"];
@@ -8958,6 +9261,16 @@ interface operations {
8958
9261
  "application/json": components["schemas"]["ErrorResponse"];
8959
9262
  };
8960
9263
  };
9264
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9265
+ 403: {
9266
+ headers: {
9267
+ "X-Request-Id": components["headers"]["RequestId"];
9268
+ [name: string]: unknown;
9269
+ };
9270
+ content: {
9271
+ "application/json": components["schemas"]["ErrorResponse"];
9272
+ };
9273
+ };
8961
9274
  /** @description Not found */
8962
9275
  404: {
8963
9276
  headers: {
@@ -9028,7 +9341,17 @@ interface operations {
9028
9341
  "application/json": components["schemas"]["ErrorResponse"];
9029
9342
  };
9030
9343
  };
9031
- /** @description Validation error */
9344
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9345
+ 403: {
9346
+ headers: {
9347
+ "X-Request-Id": components["headers"]["RequestId"];
9348
+ [name: string]: unknown;
9349
+ };
9350
+ content: {
9351
+ "application/json": components["schemas"]["ErrorResponse"];
9352
+ };
9353
+ };
9354
+ /** @description Validation error */
9032
9355
  422: {
9033
9356
  headers: {
9034
9357
  "X-Request-Id": components["headers"]["RequestId"];
@@ -9095,7 +9418,7 @@ interface operations {
9095
9418
  "application/json": components["schemas"]["ErrorResponse"];
9096
9419
  };
9097
9420
  };
9098
- /** @description Restricted API key, sending paused, or a From on the shared inbox domain */
9421
+ /** @description Restricted API key, sending paused, or a From on the shared inbox domain; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9099
9422
  403: {
9100
9423
  headers: {
9101
9424
  "X-Request-Id": components["headers"]["RequestId"];
@@ -9170,6 +9493,16 @@ interface operations {
9170
9493
  "application/json": components["schemas"]["ErrorResponse"];
9171
9494
  };
9172
9495
  };
9496
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9497
+ 403: {
9498
+ headers: {
9499
+ "X-Request-Id": components["headers"]["RequestId"];
9500
+ [name: string]: unknown;
9501
+ };
9502
+ content: {
9503
+ "application/json": components["schemas"]["ErrorResponse"];
9504
+ };
9505
+ };
9173
9506
  /** @description Not found */
9174
9507
  404: {
9175
9508
  headers: {
@@ -9235,6 +9568,16 @@ interface operations {
9235
9568
  "application/json": components["schemas"]["ErrorResponse"];
9236
9569
  };
9237
9570
  };
9571
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9572
+ 403: {
9573
+ headers: {
9574
+ "X-Request-Id": components["headers"]["RequestId"];
9575
+ [name: string]: unknown;
9576
+ };
9577
+ content: {
9578
+ "application/json": components["schemas"]["ErrorResponse"];
9579
+ };
9580
+ };
9238
9581
  /** @description Not found */
9239
9582
  404: {
9240
9583
  headers: {
@@ -9304,6 +9647,16 @@ interface operations {
9304
9647
  "application/json": components["schemas"]["ErrorResponse"];
9305
9648
  };
9306
9649
  };
9650
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9651
+ 403: {
9652
+ headers: {
9653
+ "X-Request-Id": components["headers"]["RequestId"];
9654
+ [name: string]: unknown;
9655
+ };
9656
+ content: {
9657
+ "application/json": components["schemas"]["ErrorResponse"];
9658
+ };
9659
+ };
9307
9660
  /** @description Not found */
9308
9661
  404: {
9309
9662
  headers: {
@@ -9382,6 +9735,16 @@ interface operations {
9382
9735
  "application/json": components["schemas"]["ErrorResponse"];
9383
9736
  };
9384
9737
  };
9738
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9739
+ 403: {
9740
+ headers: {
9741
+ "X-Request-Id": components["headers"]["RequestId"];
9742
+ [name: string]: unknown;
9743
+ };
9744
+ content: {
9745
+ "application/json": components["schemas"]["ErrorResponse"];
9746
+ };
9747
+ };
9385
9748
  /** @description Not found */
9386
9749
  404: {
9387
9750
  headers: {
@@ -9454,6 +9817,16 @@ interface operations {
9454
9817
  "application/json": components["schemas"]["ErrorResponse"];
9455
9818
  };
9456
9819
  };
9820
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9821
+ 403: {
9822
+ headers: {
9823
+ "X-Request-Id": components["headers"]["RequestId"];
9824
+ [name: string]: unknown;
9825
+ };
9826
+ content: {
9827
+ "application/json": components["schemas"]["ErrorResponse"];
9828
+ };
9829
+ };
9457
9830
  /** @description Not found */
9458
9831
  404: {
9459
9832
  headers: {
@@ -9543,7 +9916,7 @@ interface operations {
9543
9916
  "application/json": components["schemas"]["ErrorResponse"];
9544
9917
  };
9545
9918
  };
9546
- /** @description Sending paused, or a From on the shared inbox domain */
9919
+ /** @description Sending paused, or a From on the shared inbox domain; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9547
9920
  403: {
9548
9921
  headers: {
9549
9922
  "X-Request-Id": components["headers"]["RequestId"];
@@ -9618,7 +9991,7 @@ interface operations {
9618
9991
  "application/json": components["schemas"]["ErrorResponse"];
9619
9992
  };
9620
9993
  };
9621
- /** @description Restricted API key */
9994
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9622
9995
  403: {
9623
9996
  headers: {
9624
9997
  "X-Request-Id": components["headers"]["RequestId"];
@@ -9693,6 +10066,16 @@ interface operations {
9693
10066
  "application/json": components["schemas"]["ErrorResponse"];
9694
10067
  };
9695
10068
  };
10069
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10070
+ 403: {
10071
+ headers: {
10072
+ "X-Request-Id": components["headers"]["RequestId"];
10073
+ [name: string]: unknown;
10074
+ };
10075
+ content: {
10076
+ "application/json": components["schemas"]["ErrorResponse"];
10077
+ };
10078
+ };
9696
10079
  /** @description Not found */
9697
10080
  404: {
9698
10081
  headers: {
@@ -9746,6 +10129,16 @@ interface operations {
9746
10129
  "application/json": components["schemas"]["ErrorResponse"];
9747
10130
  };
9748
10131
  };
10132
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10133
+ 403: {
10134
+ headers: {
10135
+ "X-Request-Id": components["headers"]["RequestId"];
10136
+ [name: string]: unknown;
10137
+ };
10138
+ content: {
10139
+ "application/json": components["schemas"]["ErrorResponse"];
10140
+ };
10141
+ };
9749
10142
  /** @description Over the rate limit (rate_limit_exceeded, with Retry-After) */
9750
10143
  429: {
9751
10144
  headers: {
@@ -9793,7 +10186,7 @@ interface operations {
9793
10186
  "application/json": components["schemas"]["ErrorResponse"];
9794
10187
  };
9795
10188
  };
9796
- /** @description A key held to one domain bound this to another domain, or unbound it */
10189
+ /** @description A key held to one domain bound this to another domain, or unbound it; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9797
10190
  403: {
9798
10191
  headers: {
9799
10192
  "X-Request-Id": components["headers"]["RequestId"];
@@ -9858,6 +10251,16 @@ interface operations {
9858
10251
  "application/json": components["schemas"]["ErrorResponse"];
9859
10252
  };
9860
10253
  };
10254
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10255
+ 403: {
10256
+ headers: {
10257
+ "X-Request-Id": components["headers"]["RequestId"];
10258
+ [name: string]: unknown;
10259
+ };
10260
+ content: {
10261
+ "application/json": components["schemas"]["ErrorResponse"];
10262
+ };
10263
+ };
9861
10264
  /** @description Not found */
9862
10265
  404: {
9863
10266
  headers: {
@@ -9913,6 +10316,16 @@ interface operations {
9913
10316
  "application/json": components["schemas"]["ErrorResponse"];
9914
10317
  };
9915
10318
  };
10319
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10320
+ 403: {
10321
+ headers: {
10322
+ "X-Request-Id": components["headers"]["RequestId"];
10323
+ [name: string]: unknown;
10324
+ };
10325
+ content: {
10326
+ "application/json": components["schemas"]["ErrorResponse"];
10327
+ };
10328
+ };
9916
10329
  /** @description Not found */
9917
10330
  404: {
9918
10331
  headers: {
@@ -9982,7 +10395,7 @@ interface operations {
9982
10395
  "application/json": components["schemas"]["ErrorResponse"];
9983
10396
  };
9984
10397
  };
9985
- /** @description A key held to one domain bound this to another domain, or unbound it */
10398
+ /** @description A key held to one domain bound this to another domain, or unbound it; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
9986
10399
  403: {
9987
10400
  headers: {
9988
10401
  "X-Request-Id": components["headers"]["RequestId"];
@@ -10062,6 +10475,16 @@ interface operations {
10062
10475
  "application/json": components["schemas"]["ErrorResponse"];
10063
10476
  };
10064
10477
  };
10478
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10479
+ 403: {
10480
+ headers: {
10481
+ "X-Request-Id": components["headers"]["RequestId"];
10482
+ [name: string]: unknown;
10483
+ };
10484
+ content: {
10485
+ "application/json": components["schemas"]["ErrorResponse"];
10486
+ };
10487
+ };
10065
10488
  /** @description Validation error */
10066
10489
  422: {
10067
10490
  headers: {
@@ -10119,7 +10542,7 @@ interface operations {
10119
10542
  "application/json": components["schemas"]["ErrorResponse"];
10120
10543
  };
10121
10544
  };
10122
- /** @description Plan domain limit reached, an own tracking or unsubscribe subdomain needs a paid plan, or the key is held to one domain (it cannot create domains) */
10545
+ /** @description Plan domain limit reached, an own tracking or unsubscribe subdomain needs a paid plan, or the key is held to one domain (it cannot create domains); refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10123
10546
  403: {
10124
10547
  headers: {
10125
10548
  "X-Request-Id": components["headers"]["RequestId"];
@@ -10194,6 +10617,16 @@ interface operations {
10194
10617
  "application/json": components["schemas"]["ErrorResponse"];
10195
10618
  };
10196
10619
  };
10620
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10621
+ 403: {
10622
+ headers: {
10623
+ "X-Request-Id": components["headers"]["RequestId"];
10624
+ [name: string]: unknown;
10625
+ };
10626
+ content: {
10627
+ "application/json": components["schemas"]["ErrorResponse"];
10628
+ };
10629
+ };
10197
10630
  /** @description Not found, or a domain other than the one the calling key is held to */
10198
10631
  404: {
10199
10632
  headers: {
@@ -10249,7 +10682,7 @@ interface operations {
10249
10682
  "application/json": components["schemas"]["ErrorResponse"];
10250
10683
  };
10251
10684
  };
10252
- /** @description Team suspended, not available for this team, or the team's subdomain of the shared domain, which is read-only */
10685
+ /** @description Team suspended, not available for this team, or the team's subdomain of the shared domain, which is read-only; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10253
10686
  403: {
10254
10687
  headers: {
10255
10688
  "X-Request-Id": components["headers"]["RequestId"];
@@ -10328,7 +10761,7 @@ interface operations {
10328
10761
  "application/json": components["schemas"]["ErrorResponse"];
10329
10762
  };
10330
10763
  };
10331
- /** @description Catch-all receiving or an own tracking / unsubscribe subdomain needs a paid plan, or the team's subdomain of the shared domain, which is read-only */
10764
+ /** @description Catch-all receiving or an own tracking / unsubscribe subdomain needs a paid plan, or the team's subdomain of the shared domain, which is read-only; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10332
10765
  403: {
10333
10766
  headers: {
10334
10767
  "X-Request-Id": components["headers"]["RequestId"];
@@ -10413,7 +10846,7 @@ interface operations {
10413
10846
  "application/json": components["schemas"]["ErrorResponse"];
10414
10847
  };
10415
10848
  };
10416
- /** @description The team's subdomain of the shared domain, which is read-only */
10849
+ /** @description The team's subdomain of the shared domain, which is read-only; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10417
10850
  403: {
10418
10851
  headers: {
10419
10852
  "X-Request-Id": components["headers"]["RequestId"];
@@ -10480,7 +10913,7 @@ interface operations {
10480
10913
  "application/json": components["schemas"]["ErrorResponse"];
10481
10914
  };
10482
10915
  };
10483
- /** @description Plan domain limit reached, an own tracking subdomain needs a paid plan, or the key is held to one domain */
10916
+ /** @description Plan domain limit reached, an own tracking subdomain needs a paid plan, or the key is held to one domain; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10484
10917
  403: {
10485
10918
  headers: {
10486
10919
  "X-Request-Id": components["headers"]["RequestId"];
@@ -10555,6 +10988,16 @@ interface operations {
10555
10988
  "application/json": components["schemas"]["ErrorResponse"];
10556
10989
  };
10557
10990
  };
10991
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10992
+ 403: {
10993
+ headers: {
10994
+ "X-Request-Id": components["headers"]["RequestId"];
10995
+ [name: string]: unknown;
10996
+ };
10997
+ content: {
10998
+ "application/json": components["schemas"]["ErrorResponse"];
10999
+ };
11000
+ };
10558
11001
  /** @description Not found, or a domain other than the one the calling key is held to */
10559
11002
  404: {
10560
11003
  headers: {
@@ -10610,6 +11053,16 @@ interface operations {
10610
11053
  "application/json": components["schemas"]["ErrorResponse"];
10611
11054
  };
10612
11055
  };
11056
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
11057
+ 403: {
11058
+ headers: {
11059
+ "X-Request-Id": components["headers"]["RequestId"];
11060
+ [name: string]: unknown;
11061
+ };
11062
+ content: {
11063
+ "application/json": components["schemas"]["ErrorResponse"];
11064
+ };
11065
+ };
10613
11066
  /** @description Not found, or a domain other than the one the calling key is held to */
10614
11067
  404: {
10615
11068
  headers: {
@@ -10670,6 +11123,16 @@ interface operations {
10670
11123
  "application/json": components["schemas"]["ErrorResponse"];
10671
11124
  };
10672
11125
  };
11126
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
11127
+ 403: {
11128
+ headers: {
11129
+ "X-Request-Id": components["headers"]["RequestId"];
11130
+ [name: string]: unknown;
11131
+ };
11132
+ content: {
11133
+ "application/json": components["schemas"]["ErrorResponse"];
11134
+ };
11135
+ };
10673
11136
  /** @description Validation error */
10674
11137
  422: {
10675
11138
  headers: {
@@ -10727,7 +11190,7 @@ interface operations {
10727
11190
  "application/json": components["schemas"]["ErrorResponse"];
10728
11191
  };
10729
11192
  };
10730
- /** @description Restricted API key: a sending_access key, an inbox-scoped key, or a domain_id outside the calling key's domain */
11193
+ /** @description Restricted API key: a sending_access key, an inbox-scoped key, or a domain_id outside the calling key's domain; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
10731
11194
  403: {
10732
11195
  headers: {
10733
11196
  "X-Request-Id": components["headers"]["RequestId"];
@@ -10792,6 +11255,16 @@ interface operations {
10792
11255
  "application/json": components["schemas"]["ErrorResponse"];
10793
11256
  };
10794
11257
  };
11258
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
11259
+ 403: {
11260
+ headers: {
11261
+ "X-Request-Id": components["headers"]["RequestId"];
11262
+ [name: string]: unknown;
11263
+ };
11264
+ content: {
11265
+ "application/json": components["schemas"]["ErrorResponse"];
11266
+ };
11267
+ };
10795
11268
  /** @description Not found */
10796
11269
  404: {
10797
11270
  headers: {
@@ -10851,6 +11324,16 @@ interface operations {
10851
11324
  "application/json": components["schemas"]["ErrorResponse"];
10852
11325
  };
10853
11326
  };
11327
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
11328
+ 403: {
11329
+ headers: {
11330
+ "X-Request-Id": components["headers"]["RequestId"];
11331
+ [name: string]: unknown;
11332
+ };
11333
+ content: {
11334
+ "application/json": components["schemas"]["ErrorResponse"];
11335
+ };
11336
+ };
10854
11337
  /** @description Not found */
10855
11338
  404: {
10856
11339
  headers: {
@@ -10921,6 +11404,16 @@ interface operations {
10921
11404
  "application/json": components["schemas"]["ErrorResponse"];
10922
11405
  };
10923
11406
  };
11407
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
11408
+ 403: {
11409
+ headers: {
11410
+ "X-Request-Id": components["headers"]["RequestId"];
11411
+ [name: string]: unknown;
11412
+ };
11413
+ content: {
11414
+ "application/json": components["schemas"]["ErrorResponse"];
11415
+ };
11416
+ };
10924
11417
  /** @description Validation error */
10925
11418
  422: {
10926
11419
  headers: {
@@ -10978,7 +11471,7 @@ interface operations {
10978
11471
  "application/json": components["schemas"]["ErrorResponse"];
10979
11472
  };
10980
11473
  };
10981
- /** @description Plan webhook endpoint limit reached */
11474
+ /** @description Plan webhook endpoint limit reached; refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
10982
11475
  403: {
10983
11476
  headers: {
10984
11477
  "X-Request-Id": components["headers"]["RequestId"];
@@ -11043,6 +11536,16 @@ interface operations {
11043
11536
  "application/json": components["schemas"]["ErrorResponse"];
11044
11537
  };
11045
11538
  };
11539
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
11540
+ 403: {
11541
+ headers: {
11542
+ "X-Request-Id": components["headers"]["RequestId"];
11543
+ [name: string]: unknown;
11544
+ };
11545
+ content: {
11546
+ "application/json": components["schemas"]["ErrorResponse"];
11547
+ };
11548
+ };
11046
11549
  /** @description Not found */
11047
11550
  404: {
11048
11551
  headers: {
@@ -11098,6 +11601,16 @@ interface operations {
11098
11601
  "application/json": components["schemas"]["ErrorResponse"];
11099
11602
  };
11100
11603
  };
11604
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
11605
+ 403: {
11606
+ headers: {
11607
+ "X-Request-Id": components["headers"]["RequestId"];
11608
+ [name: string]: unknown;
11609
+ };
11610
+ content: {
11611
+ "application/json": components["schemas"]["ErrorResponse"];
11612
+ };
11613
+ };
11101
11614
  /** @description Not found */
11102
11615
  404: {
11103
11616
  headers: {
@@ -11157,6 +11670,16 @@ interface operations {
11157
11670
  "application/json": components["schemas"]["ErrorResponse"];
11158
11671
  };
11159
11672
  };
11673
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
11674
+ 403: {
11675
+ headers: {
11676
+ "X-Request-Id": components["headers"]["RequestId"];
11677
+ [name: string]: unknown;
11678
+ };
11679
+ content: {
11680
+ "application/json": components["schemas"]["ErrorResponse"];
11681
+ };
11682
+ };
11160
11683
  /** @description Not found */
11161
11684
  404: {
11162
11685
  headers: {
@@ -11236,6 +11759,16 @@ interface operations {
11236
11759
  "application/json": components["schemas"]["ErrorResponse"];
11237
11760
  };
11238
11761
  };
11762
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
11763
+ 403: {
11764
+ headers: {
11765
+ "X-Request-Id": components["headers"]["RequestId"];
11766
+ [name: string]: unknown;
11767
+ };
11768
+ content: {
11769
+ "application/json": components["schemas"]["ErrorResponse"];
11770
+ };
11771
+ };
11239
11772
  /** @description Not found */
11240
11773
  404: {
11241
11774
  headers: {
@@ -11308,6 +11841,16 @@ interface operations {
11308
11841
  "application/json": components["schemas"]["ErrorResponse"];
11309
11842
  };
11310
11843
  };
11844
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
11845
+ 403: {
11846
+ headers: {
11847
+ "X-Request-Id": components["headers"]["RequestId"];
11848
+ [name: string]: unknown;
11849
+ };
11850
+ content: {
11851
+ "application/json": components["schemas"]["ErrorResponse"];
11852
+ };
11853
+ };
11311
11854
  /** @description Not found */
11312
11855
  404: {
11313
11856
  headers: {
@@ -11376,6 +11919,16 @@ interface operations {
11376
11919
  "application/json": components["schemas"]["ErrorResponse"];
11377
11920
  };
11378
11921
  };
11922
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
11923
+ 403: {
11924
+ headers: {
11925
+ "X-Request-Id": components["headers"]["RequestId"];
11926
+ [name: string]: unknown;
11927
+ };
11928
+ content: {
11929
+ "application/json": components["schemas"]["ErrorResponse"];
11930
+ };
11931
+ };
11379
11932
  /** @description Not found */
11380
11933
  404: {
11381
11934
  headers: {
@@ -11434,6 +11987,16 @@ interface operations {
11434
11987
  "application/json": components["schemas"]["ErrorResponse"];
11435
11988
  };
11436
11989
  };
11990
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
11991
+ 403: {
11992
+ headers: {
11993
+ "X-Request-Id": components["headers"]["RequestId"];
11994
+ [name: string]: unknown;
11995
+ };
11996
+ content: {
11997
+ "application/json": components["schemas"]["ErrorResponse"];
11998
+ };
11999
+ };
11437
12000
  /** @description Not found */
11438
12001
  404: {
11439
12002
  headers: {
@@ -11509,6 +12072,16 @@ interface operations {
11509
12072
  "application/json": components["schemas"]["ErrorResponse"];
11510
12073
  };
11511
12074
  };
12075
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12076
+ 403: {
12077
+ headers: {
12078
+ "X-Request-Id": components["headers"]["RequestId"];
12079
+ [name: string]: unknown;
12080
+ };
12081
+ content: {
12082
+ "application/json": components["schemas"]["ErrorResponse"];
12083
+ };
12084
+ };
11512
12085
  /** @description Not found */
11513
12086
  404: {
11514
12087
  headers: {
@@ -11576,6 +12149,16 @@ interface operations {
11576
12149
  "application/json": components["schemas"]["ErrorResponse"];
11577
12150
  };
11578
12151
  };
12152
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12153
+ 403: {
12154
+ headers: {
12155
+ "X-Request-Id": components["headers"]["RequestId"];
12156
+ [name: string]: unknown;
12157
+ };
12158
+ content: {
12159
+ "application/json": components["schemas"]["ErrorResponse"];
12160
+ };
12161
+ };
11579
12162
  /** @description Validation error */
11580
12163
  422: {
11581
12164
  headers: {
@@ -11633,6 +12216,16 @@ interface operations {
11633
12216
  "application/json": components["schemas"]["ErrorResponse"];
11634
12217
  };
11635
12218
  };
12219
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12220
+ 403: {
12221
+ headers: {
12222
+ "X-Request-Id": components["headers"]["RequestId"];
12223
+ [name: string]: unknown;
12224
+ };
12225
+ content: {
12226
+ "application/json": components["schemas"]["ErrorResponse"];
12227
+ };
12228
+ };
11636
12229
  /** @description Validation error */
11637
12230
  422: {
11638
12231
  headers: {
@@ -11668,6 +12261,8 @@ interface operations {
11668
12261
  before?: string;
11669
12262
  /** @description Only suppressions of this origin: bounce, complaint or manual */
11670
12263
  origin?: "bounce" | "complaint" | "manual";
12264
+ /** @description BillionSend extension. email (default): entries for single addresses; domain: entries for a whole domain; all: both */
12265
+ kind?: "email" | "domain" | "all";
11671
12266
  };
11672
12267
  header?: never;
11673
12268
  path?: never;
@@ -11675,7 +12270,7 @@ interface operations {
11675
12270
  };
11676
12271
  requestBody?: never;
11677
12272
  responses: {
11678
- /** @description Suppressions, optionally filtered by origin (bounce, complaint or manual). Rows whose address was erased (GDPR/LGPD) keep blocking sends but are hidden from the list and from lookups by email; they are reachable by id only. */
12273
+ /** @description Suppressions, optionally filtered by origin (bounce, complaint or manual). Entries for single addresses by default; `kind=domain` lists the domain entries, `kind=all` both. Rows whose address was erased (GDPR/LGPD) keep blocking sends but are hidden from the list and from lookups by email; they are reachable by id only. */
11679
12274
  200: {
11680
12275
  headers: {
11681
12276
  "X-Request-Id": components["headers"]["RequestId"];
@@ -11695,6 +12290,16 @@ interface operations {
11695
12290
  "application/json": components["schemas"]["ErrorResponse"];
11696
12291
  };
11697
12292
  };
12293
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12294
+ 403: {
12295
+ headers: {
12296
+ "X-Request-Id": components["headers"]["RequestId"];
12297
+ [name: string]: unknown;
12298
+ };
12299
+ content: {
12300
+ "application/json": components["schemas"]["ErrorResponse"];
12301
+ };
12302
+ };
11698
12303
  /** @description Validation error */
11699
12304
  422: {
11700
12305
  headers: {
@@ -11732,7 +12337,7 @@ interface operations {
11732
12337
  };
11733
12338
  };
11734
12339
  responses: {
11735
- /** @description Address blocked with the given origin (bounce, complaint or manual; default manual). Idempotent: an address already suppressed keeps its entry and origin and its existing id is returned. */
12340
+ /** @description Address blocked with the given origin (bounce, complaint or manual; default manual), or, with `domain`, every address at that exact domain (a manual entry). Idempotent: an address or domain already suppressed keeps its entry and origin and its existing id is returned. */
11736
12341
  200: {
11737
12342
  headers: {
11738
12343
  "X-Request-Id": components["headers"]["RequestId"];
@@ -11752,6 +12357,16 @@ interface operations {
11752
12357
  "application/json": components["schemas"]["ErrorResponse"];
11753
12358
  };
11754
12359
  };
12360
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12361
+ 403: {
12362
+ headers: {
12363
+ "X-Request-Id": components["headers"]["RequestId"];
12364
+ [name: string]: unknown;
12365
+ };
12366
+ content: {
12367
+ "application/json": components["schemas"]["ErrorResponse"];
12368
+ };
12369
+ };
11755
12370
  /** @description Validation error */
11756
12371
  422: {
11757
12372
  headers: {
@@ -11807,6 +12422,16 @@ interface operations {
11807
12422
  "application/json": components["schemas"]["ErrorResponse"];
11808
12423
  };
11809
12424
  };
12425
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12426
+ 403: {
12427
+ headers: {
12428
+ "X-Request-Id": components["headers"]["RequestId"];
12429
+ [name: string]: unknown;
12430
+ };
12431
+ content: {
12432
+ "application/json": components["schemas"]["ErrorResponse"];
12433
+ };
12434
+ };
11810
12435
  /** @description Not found */
11811
12436
  404: {
11812
12437
  headers: {
@@ -11862,7 +12487,7 @@ interface operations {
11862
12487
  "application/json": components["schemas"]["ErrorResponse"];
11863
12488
  };
11864
12489
  };
11865
- /** @description A bounce or complaint entry, which is permanent */
12490
+ /** @description A bounce or complaint entry, which is permanent; refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
11866
12491
  403: {
11867
12492
  headers: {
11868
12493
  "X-Request-Id": components["headers"]["RequestId"];
@@ -11934,7 +12559,7 @@ interface operations {
11934
12559
  "application/json": components["schemas"]["ErrorResponse"];
11935
12560
  };
11936
12561
  };
11937
- /** @description A key held to one domain asked for another domain's opt-outs */
12562
+ /** @description A key held to one domain asked for another domain's opt-outs; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
11938
12563
  403: {
11939
12564
  headers: {
11940
12565
  "X-Request-Id": components["headers"]["RequestId"];
@@ -12001,7 +12626,7 @@ interface operations {
12001
12626
  "application/json": components["schemas"]["ErrorResponse"];
12002
12627
  };
12003
12628
  };
12004
- /** @description A key held to one domain recorded an opt-out for another domain or for the whole team */
12629
+ /** @description A key held to one domain recorded an opt-out for another domain or for the whole team; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
12005
12630
  403: {
12006
12631
  headers: {
12007
12632
  "X-Request-Id": components["headers"]["RequestId"];
@@ -12071,6 +12696,16 @@ interface operations {
12071
12696
  "application/json": components["schemas"]["ErrorResponse"];
12072
12697
  };
12073
12698
  };
12699
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12700
+ 403: {
12701
+ headers: {
12702
+ "X-Request-Id": components["headers"]["RequestId"];
12703
+ [name: string]: unknown;
12704
+ };
12705
+ content: {
12706
+ "application/json": components["schemas"]["ErrorResponse"];
12707
+ };
12708
+ };
12074
12709
  /** @description Validation error */
12075
12710
  422: {
12076
12711
  headers: {
@@ -12128,6 +12763,16 @@ interface operations {
12128
12763
  "application/json": components["schemas"]["ErrorResponse"];
12129
12764
  };
12130
12765
  };
12766
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12767
+ 403: {
12768
+ headers: {
12769
+ "X-Request-Id": components["headers"]["RequestId"];
12770
+ [name: string]: unknown;
12771
+ };
12772
+ content: {
12773
+ "application/json": components["schemas"]["ErrorResponse"];
12774
+ };
12775
+ };
12131
12776
  /** @description Alias already in use */
12132
12777
  409: {
12133
12778
  headers: {
@@ -12194,6 +12839,16 @@ interface operations {
12194
12839
  "application/json": components["schemas"]["ErrorResponse"];
12195
12840
  };
12196
12841
  };
12842
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12843
+ 403: {
12844
+ headers: {
12845
+ "X-Request-Id": components["headers"]["RequestId"];
12846
+ [name: string]: unknown;
12847
+ };
12848
+ content: {
12849
+ "application/json": components["schemas"]["ErrorResponse"];
12850
+ };
12851
+ };
12197
12852
  /** @description Not found */
12198
12853
  404: {
12199
12854
  headers: {
@@ -12250,6 +12905,16 @@ interface operations {
12250
12905
  "application/json": components["schemas"]["ErrorResponse"];
12251
12906
  };
12252
12907
  };
12908
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12909
+ 403: {
12910
+ headers: {
12911
+ "X-Request-Id": components["headers"]["RequestId"];
12912
+ [name: string]: unknown;
12913
+ };
12914
+ content: {
12915
+ "application/json": components["schemas"]["ErrorResponse"];
12916
+ };
12917
+ };
12253
12918
  /** @description Not found */
12254
12919
  404: {
12255
12920
  headers: {
@@ -12310,6 +12975,16 @@ interface operations {
12310
12975
  "application/json": components["schemas"]["ErrorResponse"];
12311
12976
  };
12312
12977
  };
12978
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12979
+ 403: {
12980
+ headers: {
12981
+ "X-Request-Id": components["headers"]["RequestId"];
12982
+ [name: string]: unknown;
12983
+ };
12984
+ content: {
12985
+ "application/json": components["schemas"]["ErrorResponse"];
12986
+ };
12987
+ };
12313
12988
  /** @description Not found */
12314
12989
  404: {
12315
12990
  headers: {
@@ -12386,6 +13061,16 @@ interface operations {
12386
13061
  "application/json": components["schemas"]["ErrorResponse"];
12387
13062
  };
12388
13063
  };
13064
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13065
+ 403: {
13066
+ headers: {
13067
+ "X-Request-Id": components["headers"]["RequestId"];
13068
+ [name: string]: unknown;
13069
+ };
13070
+ content: {
13071
+ "application/json": components["schemas"]["ErrorResponse"];
13072
+ };
13073
+ };
12389
13074
  /** @description Not found */
12390
13075
  404: {
12391
13076
  headers: {
@@ -12442,6 +13127,16 @@ interface operations {
12442
13127
  "application/json": components["schemas"]["ErrorResponse"];
12443
13128
  };
12444
13129
  };
13130
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13131
+ 403: {
13132
+ headers: {
13133
+ "X-Request-Id": components["headers"]["RequestId"];
13134
+ [name: string]: unknown;
13135
+ };
13136
+ content: {
13137
+ "application/json": components["schemas"]["ErrorResponse"];
13138
+ };
13139
+ };
12445
13140
  /** @description Not found */
12446
13141
  404: {
12447
13142
  headers: {
@@ -12502,6 +13197,16 @@ interface operations {
12502
13197
  "application/json": components["schemas"]["ErrorResponse"];
12503
13198
  };
12504
13199
  };
13200
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13201
+ 403: {
13202
+ headers: {
13203
+ "X-Request-Id": components["headers"]["RequestId"];
13204
+ [name: string]: unknown;
13205
+ };
13206
+ content: {
13207
+ "application/json": components["schemas"]["ErrorResponse"];
13208
+ };
13209
+ };
12505
13210
  /** @description Validation error */
12506
13211
  422: {
12507
13212
  headers: {
@@ -12559,6 +13264,16 @@ interface operations {
12559
13264
  "application/json": components["schemas"]["ErrorResponse"];
12560
13265
  };
12561
13266
  };
13267
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13268
+ 403: {
13269
+ headers: {
13270
+ "X-Request-Id": components["headers"]["RequestId"];
13271
+ [name: string]: unknown;
13272
+ };
13273
+ content: {
13274
+ "application/json": components["schemas"]["ErrorResponse"];
13275
+ };
13276
+ };
12562
13277
  /** @description An event with this name already exists */
12563
13278
  409: {
12564
13279
  headers: {
@@ -12639,6 +13354,16 @@ interface operations {
12639
13354
  "application/json": components["schemas"]["ErrorResponse"];
12640
13355
  };
12641
13356
  };
13357
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13358
+ 403: {
13359
+ headers: {
13360
+ "X-Request-Id": components["headers"]["RequestId"];
13361
+ [name: string]: unknown;
13362
+ };
13363
+ content: {
13364
+ "application/json": components["schemas"]["ErrorResponse"];
13365
+ };
13366
+ };
12642
13367
  /** @description No such contact */
12643
13368
  404: {
12644
13369
  headers: {
@@ -12715,6 +13440,16 @@ interface operations {
12715
13440
  "application/json": components["schemas"]["ErrorResponse"];
12716
13441
  };
12717
13442
  };
13443
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13444
+ 403: {
13445
+ headers: {
13446
+ "X-Request-Id": components["headers"]["RequestId"];
13447
+ [name: string]: unknown;
13448
+ };
13449
+ content: {
13450
+ "application/json": components["schemas"]["ErrorResponse"];
13451
+ };
13452
+ };
12718
13453
  /** @description Not found */
12719
13454
  404: {
12720
13455
  headers: {
@@ -12771,6 +13506,16 @@ interface operations {
12771
13506
  "application/json": components["schemas"]["ErrorResponse"];
12772
13507
  };
12773
13508
  };
13509
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13510
+ 403: {
13511
+ headers: {
13512
+ "X-Request-Id": components["headers"]["RequestId"];
13513
+ [name: string]: unknown;
13514
+ };
13515
+ content: {
13516
+ "application/json": components["schemas"]["ErrorResponse"];
13517
+ };
13518
+ };
12774
13519
  /** @description Not found */
12775
13520
  404: {
12776
13521
  headers: {
@@ -12831,6 +13576,16 @@ interface operations {
12831
13576
  "application/json": components["schemas"]["ErrorResponse"];
12832
13577
  };
12833
13578
  };
13579
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13580
+ 403: {
13581
+ headers: {
13582
+ "X-Request-Id": components["headers"]["RequestId"];
13583
+ [name: string]: unknown;
13584
+ };
13585
+ content: {
13586
+ "application/json": components["schemas"]["ErrorResponse"];
13587
+ };
13588
+ };
12834
13589
  /** @description Not found */
12835
13590
  404: {
12836
13591
  headers: {
@@ -12902,6 +13657,16 @@ interface operations {
12902
13657
  "application/json": components["schemas"]["ErrorResponse"];
12903
13658
  };
12904
13659
  };
13660
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13661
+ 403: {
13662
+ headers: {
13663
+ "X-Request-Id": components["headers"]["RequestId"];
13664
+ [name: string]: unknown;
13665
+ };
13666
+ content: {
13667
+ "application/json": components["schemas"]["ErrorResponse"];
13668
+ };
13669
+ };
12905
13670
  /** @description Validation error */
12906
13671
  422: {
12907
13672
  headers: {
@@ -12959,7 +13724,7 @@ interface operations {
12959
13724
  "application/json": components["schemas"]["ErrorResponse"];
12960
13725
  };
12961
13726
  };
12962
- /** @description An agent key tried to enable */
13727
+ /** @description An agent key tried to enable; refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
12963
13728
  403: {
12964
13729
  headers: {
12965
13730
  "X-Request-Id": components["headers"]["RequestId"];
@@ -13025,6 +13790,16 @@ interface operations {
13025
13790
  "application/json": components["schemas"]["ErrorResponse"];
13026
13791
  };
13027
13792
  };
13793
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13794
+ 403: {
13795
+ headers: {
13796
+ "X-Request-Id": components["headers"]["RequestId"];
13797
+ [name: string]: unknown;
13798
+ };
13799
+ content: {
13800
+ "application/json": components["schemas"]["ErrorResponse"];
13801
+ };
13802
+ };
13028
13803
  /** @description Not found */
13029
13804
  404: {
13030
13805
  headers: {
@@ -13081,6 +13856,16 @@ interface operations {
13081
13856
  "application/json": components["schemas"]["ErrorResponse"];
13082
13857
  };
13083
13858
  };
13859
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13860
+ 403: {
13861
+ headers: {
13862
+ "X-Request-Id": components["headers"]["RequestId"];
13863
+ [name: string]: unknown;
13864
+ };
13865
+ content: {
13866
+ "application/json": components["schemas"]["ErrorResponse"];
13867
+ };
13868
+ };
13084
13869
  /** @description Not found */
13085
13870
  404: {
13086
13871
  headers: {
@@ -13141,7 +13926,7 @@ interface operations {
13141
13926
  "application/json": components["schemas"]["ErrorResponse"];
13142
13927
  };
13143
13928
  };
13144
- /** @description An agent key tried to enable */
13929
+ /** @description An agent key tried to enable; refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13145
13930
  403: {
13146
13931
  headers: {
13147
13932
  "X-Request-Id": components["headers"]["RequestId"];
@@ -13227,6 +14012,16 @@ interface operations {
13227
14012
  "application/json": components["schemas"]["ErrorResponse"];
13228
14013
  };
13229
14014
  };
14015
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14016
+ 403: {
14017
+ headers: {
14018
+ "X-Request-Id": components["headers"]["RequestId"];
14019
+ [name: string]: unknown;
14020
+ };
14021
+ content: {
14022
+ "application/json": components["schemas"]["ErrorResponse"];
14023
+ };
14024
+ };
13230
14025
  /** @description Not found */
13231
14026
  404: {
13232
14027
  headers: {
@@ -13293,6 +14088,16 @@ interface operations {
13293
14088
  "application/json": components["schemas"]["ErrorResponse"];
13294
14089
  };
13295
14090
  };
14091
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14092
+ 403: {
14093
+ headers: {
14094
+ "X-Request-Id": components["headers"]["RequestId"];
14095
+ [name: string]: unknown;
14096
+ };
14097
+ content: {
14098
+ "application/json": components["schemas"]["ErrorResponse"];
14099
+ };
14100
+ };
13296
14101
  /** @description Not found */
13297
14102
  404: {
13298
14103
  headers: {
@@ -13358,6 +14163,16 @@ interface operations {
13358
14163
  "application/json": components["schemas"]["ErrorResponse"];
13359
14164
  };
13360
14165
  };
14166
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14167
+ 403: {
14168
+ headers: {
14169
+ "X-Request-Id": components["headers"]["RequestId"];
14170
+ [name: string]: unknown;
14171
+ };
14172
+ content: {
14173
+ "application/json": components["schemas"]["ErrorResponse"];
14174
+ };
14175
+ };
13361
14176
  /** @description Not found */
13362
14177
  404: {
13363
14178
  headers: {
@@ -13426,6 +14241,16 @@ interface operations {
13426
14241
  "application/json": components["schemas"]["ErrorResponse"];
13427
14242
  };
13428
14243
  };
14244
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14245
+ 403: {
14246
+ headers: {
14247
+ "X-Request-Id": components["headers"]["RequestId"];
14248
+ [name: string]: unknown;
14249
+ };
14250
+ content: {
14251
+ "application/json": components["schemas"]["ErrorResponse"];
14252
+ };
14253
+ };
13429
14254
  /** @description Not found */
13430
14255
  404: {
13431
14256
  headers: {
@@ -13483,6 +14308,16 @@ interface operations {
13483
14308
  "application/json": components["schemas"]["ErrorResponse"];
13484
14309
  };
13485
14310
  };
14311
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14312
+ 403: {
14313
+ headers: {
14314
+ "X-Request-Id": components["headers"]["RequestId"];
14315
+ [name: string]: unknown;
14316
+ };
14317
+ content: {
14318
+ "application/json": components["schemas"]["ErrorResponse"];
14319
+ };
14320
+ };
13486
14321
  /** @description The request itself is not valid */
13487
14322
  422: {
13488
14323
  headers: {
@@ -13543,6 +14378,16 @@ interface operations {
13543
14378
  "application/json": components["schemas"]["ErrorResponse"];
13544
14379
  };
13545
14380
  };
14381
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14382
+ 403: {
14383
+ headers: {
14384
+ "X-Request-Id": components["headers"]["RequestId"];
14385
+ [name: string]: unknown;
14386
+ };
14387
+ content: {
14388
+ "application/json": components["schemas"]["ErrorResponse"];
14389
+ };
14390
+ };
13546
14391
  /** @description The automation or the contact was not found */
13547
14392
  404: {
13548
14393
  headers: {
@@ -13598,11 +14443,21 @@ interface operations {
13598
14443
  [name: string]: unknown;
13599
14444
  };
13600
14445
  content: {
13601
- "application/json": components["schemas"]["CancelAutomationRunResponse"];
14446
+ "application/json": components["schemas"]["CancelAutomationRunResponse"];
14447
+ };
14448
+ };
14449
+ /** @description Missing, malformed, unknown or revoked API key */
14450
+ 401: {
14451
+ headers: {
14452
+ "X-Request-Id": components["headers"]["RequestId"];
14453
+ [name: string]: unknown;
14454
+ };
14455
+ content: {
14456
+ "application/json": components["schemas"]["ErrorResponse"];
13602
14457
  };
13603
14458
  };
13604
- /** @description Missing, malformed, unknown or revoked API key */
13605
- 401: {
14459
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14460
+ 403: {
13606
14461
  headers: {
13607
14462
  "X-Request-Id": components["headers"]["RequestId"];
13608
14463
  [name: string]: unknown;
@@ -13682,6 +14537,16 @@ interface operations {
13682
14537
  "application/json": components["schemas"]["ErrorResponse"];
13683
14538
  };
13684
14539
  };
14540
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14541
+ 403: {
14542
+ headers: {
14543
+ "X-Request-Id": components["headers"]["RequestId"];
14544
+ [name: string]: unknown;
14545
+ };
14546
+ content: {
14547
+ "application/json": components["schemas"]["ErrorResponse"];
14548
+ };
14549
+ };
13685
14550
  /** @description Not found */
13686
14551
  404: {
13687
14552
  headers: {
@@ -13755,6 +14620,16 @@ interface operations {
13755
14620
  "application/json": components["schemas"]["ErrorResponse"];
13756
14621
  };
13757
14622
  };
14623
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14624
+ 403: {
14625
+ headers: {
14626
+ "X-Request-Id": components["headers"]["RequestId"];
14627
+ [name: string]: unknown;
14628
+ };
14629
+ content: {
14630
+ "application/json": components["schemas"]["ErrorResponse"];
14631
+ };
14632
+ };
13758
14633
  /** @description Over the rate limit (rate_limit_exceeded, with Retry-After) */
13759
14634
  429: {
13760
14635
  headers: {
@@ -13802,6 +14677,16 @@ interface operations {
13802
14677
  "application/json": components["schemas"]["ErrorResponse"];
13803
14678
  };
13804
14679
  };
14680
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14681
+ 403: {
14682
+ headers: {
14683
+ "X-Request-Id": components["headers"]["RequestId"];
14684
+ [name: string]: unknown;
14685
+ };
14686
+ content: {
14687
+ "application/json": components["schemas"]["ErrorResponse"];
14688
+ };
14689
+ };
13805
14690
  /** @description The segment or broadcast is not one of the team's */
13806
14691
  404: {
13807
14692
  headers: {
@@ -13872,6 +14757,16 @@ interface operations {
13872
14757
  "application/json": components["schemas"]["ErrorResponse"];
13873
14758
  };
13874
14759
  };
14760
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14761
+ 403: {
14762
+ headers: {
14763
+ "X-Request-Id": components["headers"]["RequestId"];
14764
+ [name: string]: unknown;
14765
+ };
14766
+ content: {
14767
+ "application/json": components["schemas"]["ErrorResponse"];
14768
+ };
14769
+ };
13875
14770
  /** @description Validation error */
13876
14771
  422: {
13877
14772
  headers: {
@@ -13929,7 +14824,7 @@ interface operations {
13929
14824
  "application/json": components["schemas"]["ErrorResponse"];
13930
14825
  };
13931
14826
  };
13932
- /** @description The team is on the Free plan (plan_limit_reached) */
14827
+ /** @description The team is on the Free plan (plan_limit_reached); refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
13933
14828
  403: {
13934
14829
  headers: {
13935
14830
  "X-Request-Id": components["headers"]["RequestId"];
@@ -14014,6 +14909,16 @@ interface operations {
14014
14909
  "application/json": components["schemas"]["ErrorResponse"];
14015
14910
  };
14016
14911
  };
14912
+ /** @description Restricted API key: refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14913
+ 403: {
14914
+ headers: {
14915
+ "X-Request-Id": components["headers"]["RequestId"];
14916
+ [name: string]: unknown;
14917
+ };
14918
+ content: {
14919
+ "application/json": components["schemas"]["ErrorResponse"];
14920
+ };
14921
+ };
14017
14922
  /** @description Not found */
14018
14923
  404: {
14019
14924
  headers: {
@@ -14077,7 +14982,7 @@ interface operations {
14077
14982
  "application/json": components["schemas"]["ErrorResponse"];
14078
14983
  };
14079
14984
  };
14080
- /** @description Restricted API key */
14985
+ /** @description Restricted API key; refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14081
14986
  403: {
14082
14987
  headers: {
14083
14988
  "X-Request-Id": components["headers"]["RequestId"];
@@ -14137,7 +15042,7 @@ interface operations {
14137
15042
  "application/json": components["schemas"]["ErrorResponse"];
14138
15043
  };
14139
15044
  };
14140
- /** @description Restricted API key */
15045
+ /** @description Restricted API key; refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14141
15046
  403: {
14142
15047
  headers: {
14143
15048
  "X-Request-Id": components["headers"]["RequestId"];
@@ -14202,7 +15107,7 @@ interface operations {
14202
15107
  "application/json": components["schemas"]["ErrorResponse"];
14203
15108
  };
14204
15109
  };
14205
- /** @description Restricted API key */
15110
+ /** @description Restricted API key; refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14206
15111
  403: {
14207
15112
  headers: {
14208
15113
  "X-Request-Id": components["headers"]["RequestId"];
@@ -14272,7 +15177,7 @@ interface operations {
14272
15177
  "application/json": components["schemas"]["ErrorResponse"];
14273
15178
  };
14274
15179
  };
14275
- /** @description Restricted API key */
15180
+ /** @description Restricted API key; refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14276
15181
  403: {
14277
15182
  headers: {
14278
15183
  "X-Request-Id": components["headers"]["RequestId"];
@@ -14337,7 +15242,7 @@ interface operations {
14337
15242
  "application/json": components["schemas"]["ErrorResponse"];
14338
15243
  };
14339
15244
  };
14340
- /** @description The caller may not revoke this grant */
15245
+ /** @description The caller may not revoke this grant; refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
14341
15246
  403: {
14342
15247
  headers: {
14343
15248
  "X-Request-Id": components["headers"]["RequestId"];
@@ -14405,7 +15310,7 @@ interface operations {
14405
15310
  "application/json": components["schemas"]["ErrorResponse"];
14406
15311
  };
14407
15312
  };
14408
- /** @description A key held to one domain or one inbox, or an agent naming an event about held mail */
15313
+ /** @description A key held to one domain or one inbox, or an agent naming an event about held mail; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
14409
15314
  403: {
14410
15315
  headers: {
14411
15316
  "X-Request-Id": components["headers"]["RequestId"];
@@ -14476,7 +15381,7 @@ interface operations {
14476
15381
  "application/json": components["schemas"]["ErrorResponse"];
14477
15382
  };
14478
15383
  };
14479
- /** @description An agent naming an event about held mail */
15384
+ /** @description An agent naming an event about held mail; refused to a sending-only key (restricted_api_key) */
14480
15385
  403: {
14481
15386
  headers: {
14482
15387
  "X-Request-Id": components["headers"]["RequestId"];
@@ -14558,6 +15463,16 @@ interface operations {
14558
15463
  "application/json": components["schemas"]["ErrorResponse"];
14559
15464
  };
14560
15465
  };
15466
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
15467
+ 403: {
15468
+ headers: {
15469
+ "X-Request-Id": components["headers"]["RequestId"];
15470
+ [name: string]: unknown;
15471
+ };
15472
+ content: {
15473
+ "application/json": components["schemas"]["ErrorResponse"];
15474
+ };
15475
+ };
14561
15476
  /** @description Pagination cursor not found */
14562
15477
  404: {
14563
15478
  headers: {
@@ -14625,7 +15540,7 @@ interface operations {
14625
15540
  "application/json": components["schemas"]["ErrorResponse"];
14626
15541
  };
14627
15542
  };
14628
- /** @description The plan's inbox limit, or a restricted API key */
15543
+ /** @description The plan's inbox limit, or a restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
14629
15544
  403: {
14630
15545
  headers: {
14631
15546
  "X-Request-Id": components["headers"]["RequestId"];
@@ -14711,6 +15626,16 @@ interface operations {
14711
15626
  "application/json": components["schemas"]["ErrorResponse"];
14712
15627
  };
14713
15628
  };
15629
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
15630
+ 403: {
15631
+ headers: {
15632
+ "X-Request-Id": components["headers"]["RequestId"];
15633
+ [name: string]: unknown;
15634
+ };
15635
+ content: {
15636
+ "application/json": components["schemas"]["ErrorResponse"];
15637
+ };
15638
+ };
14714
15639
  /** @description Not found */
14715
15640
  404: {
14716
15641
  headers: {
@@ -14777,7 +15702,7 @@ interface operations {
14777
15702
  "application/json": components["schemas"]["ErrorResponse"];
14778
15703
  };
14779
15704
  };
14780
- /** @description Restricted API key or role */
15705
+ /** @description Restricted API key or role; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
14781
15706
  403: {
14782
15707
  headers: {
14783
15708
  "X-Request-Id": components["headers"]["RequestId"];
@@ -14847,6 +15772,16 @@ interface operations {
14847
15772
  "application/json": components["schemas"]["ErrorResponse"];
14848
15773
  };
14849
15774
  };
15775
+ /** @description Restricted API key: refused to a sending-only key, a key held to one inbox (restricted_api_key) */
15776
+ 403: {
15777
+ headers: {
15778
+ "X-Request-Id": components["headers"]["RequestId"];
15779
+ [name: string]: unknown;
15780
+ };
15781
+ content: {
15782
+ "application/json": components["schemas"]["ErrorResponse"];
15783
+ };
15784
+ };
14850
15785
  /** @description Not found */
14851
15786
  404: {
14852
15787
  headers: {
@@ -14923,6 +15858,16 @@ interface operations {
14923
15858
  "application/json": components["schemas"]["ErrorResponse"];
14924
15859
  };
14925
15860
  };
15861
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
15862
+ 403: {
15863
+ headers: {
15864
+ "X-Request-Id": components["headers"]["RequestId"];
15865
+ [name: string]: unknown;
15866
+ };
15867
+ content: {
15868
+ "application/json": components["schemas"]["ErrorResponse"];
15869
+ };
15870
+ };
14926
15871
  /** @description Not found */
14927
15872
  404: {
14928
15873
  headers: {
@@ -14983,7 +15928,7 @@ interface operations {
14983
15928
  "application/json": components["schemas"]["ErrorResponse"];
14984
15929
  };
14985
15930
  };
14986
- /** @description Restricted API key */
15931
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
14987
15932
  403: {
14988
15933
  headers: {
14989
15934
  "X-Request-Id": components["headers"]["RequestId"];
@@ -15059,6 +16004,16 @@ interface operations {
15059
16004
  "application/json": components["schemas"]["ErrorResponse"];
15060
16005
  };
15061
16006
  };
16007
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
16008
+ 403: {
16009
+ headers: {
16010
+ "X-Request-Id": components["headers"]["RequestId"];
16011
+ [name: string]: unknown;
16012
+ };
16013
+ content: {
16014
+ "application/json": components["schemas"]["ErrorResponse"];
16015
+ };
16016
+ };
15062
16017
  /** @description Not found */
15063
16018
  404: {
15064
16019
  headers: {
@@ -15119,7 +16074,7 @@ interface operations {
15119
16074
  "application/json": components["schemas"]["ErrorResponse"];
15120
16075
  };
15121
16076
  };
15122
- /** @description Restricted API key or role */
16077
+ /** @description Restricted API key or role; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
15123
16078
  403: {
15124
16079
  headers: {
15125
16080
  "X-Request-Id": components["headers"]["RequestId"];
@@ -15195,6 +16150,16 @@ interface operations {
15195
16150
  "application/json": components["schemas"]["ErrorResponse"];
15196
16151
  };
15197
16152
  };
16153
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
16154
+ 403: {
16155
+ headers: {
16156
+ "X-Request-Id": components["headers"]["RequestId"];
16157
+ [name: string]: unknown;
16158
+ };
16159
+ content: {
16160
+ "application/json": components["schemas"]["ErrorResponse"];
16161
+ };
16162
+ };
15198
16163
  /** @description Not found */
15199
16164
  404: {
15200
16165
  headers: {
@@ -15255,6 +16220,16 @@ interface operations {
15255
16220
  "application/json": components["schemas"]["ErrorResponse"];
15256
16221
  };
15257
16222
  };
16223
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
16224
+ 403: {
16225
+ headers: {
16226
+ "X-Request-Id": components["headers"]["RequestId"];
16227
+ [name: string]: unknown;
16228
+ };
16229
+ content: {
16230
+ "application/json": components["schemas"]["ErrorResponse"];
16231
+ };
16232
+ };
15258
16233
  /** @description Not found */
15259
16234
  404: {
15260
16235
  headers: {
@@ -15323,6 +16298,16 @@ interface operations {
15323
16298
  "application/json": components["schemas"]["ErrorResponse"];
15324
16299
  };
15325
16300
  };
16301
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
16302
+ 403: {
16303
+ headers: {
16304
+ "X-Request-Id": components["headers"]["RequestId"];
16305
+ [name: string]: unknown;
16306
+ };
16307
+ content: {
16308
+ "application/json": components["schemas"]["ErrorResponse"];
16309
+ };
16310
+ };
15326
16311
  /** @description Not found */
15327
16312
  404: {
15328
16313
  headers: {
@@ -15385,6 +16370,16 @@ interface operations {
15385
16370
  "application/json": components["schemas"]["ErrorResponse"];
15386
16371
  };
15387
16372
  };
16373
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
16374
+ 403: {
16375
+ headers: {
16376
+ "X-Request-Id": components["headers"]["RequestId"];
16377
+ [name: string]: unknown;
16378
+ };
16379
+ content: {
16380
+ "application/json": components["schemas"]["ErrorResponse"];
16381
+ };
16382
+ };
15388
16383
  /** @description Not found */
15389
16384
  404: {
15390
16385
  headers: {
@@ -15482,7 +16477,7 @@ interface operations {
15482
16477
  "application/json": components["schemas"]["ErrorResponse"];
15483
16478
  };
15484
16479
  };
15485
- /** @description include_quarantined from an inbox-scoped key */
16480
+ /** @description include_quarantined from an inbox-scoped key; refused to a sending-only key (restricted_api_key) */
15486
16481
  403: {
15487
16482
  headers: {
15488
16483
  "X-Request-Id": components["headers"]["RequestId"];
@@ -15583,7 +16578,7 @@ interface operations {
15583
16578
  "application/json": components["schemas"]["ErrorResponse"];
15584
16579
  };
15585
16580
  };
15586
- /** @description include_quarantined from an inbox-scoped key */
16581
+ /** @description include_quarantined from an inbox-scoped key; refused to a sending-only key (restricted_api_key) */
15587
16582
  403: {
15588
16583
  headers: {
15589
16584
  "X-Request-Id": components["headers"]["RequestId"];
@@ -15661,6 +16656,16 @@ interface operations {
15661
16656
  "application/json": components["schemas"]["ErrorResponse"];
15662
16657
  };
15663
16658
  };
16659
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
16660
+ 403: {
16661
+ headers: {
16662
+ "X-Request-Id": components["headers"]["RequestId"];
16663
+ [name: string]: unknown;
16664
+ };
16665
+ content: {
16666
+ "application/json": components["schemas"]["ErrorResponse"];
16667
+ };
16668
+ };
15664
16669
  /** @description Not found */
15665
16670
  404: {
15666
16671
  headers: {
@@ -15719,6 +16724,16 @@ interface operations {
15719
16724
  "application/json": components["schemas"]["ErrorResponse"];
15720
16725
  };
15721
16726
  };
16727
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
16728
+ 403: {
16729
+ headers: {
16730
+ "X-Request-Id": components["headers"]["RequestId"];
16731
+ [name: string]: unknown;
16732
+ };
16733
+ content: {
16734
+ "application/json": components["schemas"]["ErrorResponse"];
16735
+ };
16736
+ };
15722
16737
  /** @description Not found */
15723
16738
  404: {
15724
16739
  headers: {
@@ -15781,6 +16796,16 @@ interface operations {
15781
16796
  "application/json": components["schemas"]["ErrorResponse"];
15782
16797
  };
15783
16798
  };
16799
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
16800
+ 403: {
16801
+ headers: {
16802
+ "X-Request-Id": components["headers"]["RequestId"];
16803
+ [name: string]: unknown;
16804
+ };
16805
+ content: {
16806
+ "application/json": components["schemas"]["ErrorResponse"];
16807
+ };
16808
+ };
15784
16809
  /** @description Inbox or thread not found */
15785
16810
  404: {
15786
16811
  headers: {
@@ -15853,6 +16878,16 @@ interface operations {
15853
16878
  "application/json": components["schemas"]["ErrorResponse"];
15854
16879
  };
15855
16880
  };
16881
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
16882
+ 403: {
16883
+ headers: {
16884
+ "X-Request-Id": components["headers"]["RequestId"];
16885
+ [name: string]: unknown;
16886
+ };
16887
+ content: {
16888
+ "application/json": components["schemas"]["ErrorResponse"];
16889
+ };
16890
+ };
15856
16891
  /** @description Inbox, thread or label not found */
15857
16892
  404: {
15858
16893
  headers: {
@@ -15925,6 +16960,16 @@ interface operations {
15925
16960
  "application/json": components["schemas"]["ErrorResponse"];
15926
16961
  };
15927
16962
  };
16963
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
16964
+ 403: {
16965
+ headers: {
16966
+ "X-Request-Id": components["headers"]["RequestId"];
16967
+ [name: string]: unknown;
16968
+ };
16969
+ content: {
16970
+ "application/json": components["schemas"]["ErrorResponse"];
16971
+ };
16972
+ };
15928
16973
  /** @description Inbox, thread or label not found */
15929
16974
  404: {
15930
16975
  headers: {
@@ -15995,6 +17040,16 @@ interface operations {
15995
17040
  "application/json": components["schemas"]["ErrorResponse"];
15996
17041
  };
15997
17042
  };
17043
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
17044
+ 403: {
17045
+ headers: {
17046
+ "X-Request-Id": components["headers"]["RequestId"];
17047
+ [name: string]: unknown;
17048
+ };
17049
+ content: {
17050
+ "application/json": components["schemas"]["ErrorResponse"];
17051
+ };
17052
+ };
15998
17053
  /** @description Inbox, thread or label not found */
15999
17054
  404: {
16000
17055
  headers: {
@@ -16062,7 +17117,7 @@ interface operations {
16062
17117
  "application/json": components["schemas"]["ErrorResponse"];
16063
17118
  };
16064
17119
  };
16065
- /** @description include_quarantined from an inbox-scoped key */
17120
+ /** @description include_quarantined from an inbox-scoped key; refused to a sending-only key (restricted_api_key) */
16066
17121
  403: {
16067
17122
  headers: {
16068
17123
  "X-Request-Id": components["headers"]["RequestId"];
@@ -16145,7 +17200,7 @@ interface operations {
16145
17200
  "application/json": components["schemas"]["ErrorResponse"];
16146
17201
  };
16147
17202
  };
16148
- /** @description Quarantined, or include_quarantined from an inbox-scoped key */
17203
+ /** @description Quarantined, or include_quarantined from an inbox-scoped key; refused to a sending-only key (restricted_api_key) */
16149
17204
  403: {
16150
17205
  headers: {
16151
17206
  "X-Request-Id": components["headers"]["RequestId"];
@@ -16218,7 +17273,7 @@ interface operations {
16218
17273
  "application/json": components["schemas"]["ErrorResponse"];
16219
17274
  };
16220
17275
  };
16221
- /** @description Restricted API key */
17276
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
16222
17277
  403: {
16223
17278
  headers: {
16224
17279
  "X-Request-Id": components["headers"]["RequestId"];
@@ -16300,7 +17355,7 @@ interface operations {
16300
17355
  "application/json": components["schemas"]["ErrorResponse"];
16301
17356
  };
16302
17357
  };
16303
- /** @description Restricted API key, trust_sender refused, or an MCP connection releasing mail held for its content */
17358
+ /** @description Restricted API key, trust_sender refused, or an MCP connection releasing mail held for its content; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
16304
17359
  403: {
16305
17360
  headers: {
16306
17361
  "X-Request-Id": components["headers"]["RequestId"];
@@ -16405,6 +17460,16 @@ interface operations {
16405
17460
  "application/json": components["schemas"]["ErrorResponse"];
16406
17461
  };
16407
17462
  };
17463
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
17464
+ 403: {
17465
+ headers: {
17466
+ "X-Request-Id": components["headers"]["RequestId"];
17467
+ [name: string]: unknown;
17468
+ };
17469
+ content: {
17470
+ "application/json": components["schemas"]["ErrorResponse"];
17471
+ };
17472
+ };
16408
17473
  /** @description Not found */
16409
17474
  404: {
16410
17475
  headers: {
@@ -16490,7 +17555,7 @@ interface operations {
16490
17555
  "application/json": components["schemas"]["ErrorResponse"];
16491
17556
  };
16492
17557
  };
16493
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
17558
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key (restricted_api_key) */
16494
17559
  403: {
16495
17560
  headers: {
16496
17561
  "X-Request-Id": components["headers"]["RequestId"];
@@ -16595,7 +17660,7 @@ interface operations {
16595
17660
  "application/json": components["schemas"]["ErrorResponse"];
16596
17661
  };
16597
17662
  };
16598
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
17663
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key (restricted_api_key) */
16599
17664
  403: {
16600
17665
  headers: {
16601
17666
  "X-Request-Id": components["headers"]["RequestId"];
@@ -16698,7 +17763,7 @@ interface operations {
16698
17763
  "application/json": components["schemas"]["ErrorResponse"];
16699
17764
  };
16700
17765
  };
16701
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
17766
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key (restricted_api_key) */
16702
17767
  403: {
16703
17768
  headers: {
16704
17769
  "X-Request-Id": components["headers"]["RequestId"];
@@ -16791,7 +17856,7 @@ interface operations {
16791
17856
  "application/json": components["schemas"]["ErrorResponse"];
16792
17857
  };
16793
17858
  };
16794
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
17859
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key (restricted_api_key) */
16795
17860
  403: {
16796
17861
  headers: {
16797
17862
  "X-Request-Id": components["headers"]["RequestId"];
@@ -16891,7 +17956,7 @@ interface operations {
16891
17956
  "application/json": components["schemas"]["ErrorResponse"];
16892
17957
  };
16893
17958
  };
16894
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
17959
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key (restricted_api_key) */
16895
17960
  403: {
16896
17961
  headers: {
16897
17962
  "X-Request-Id": components["headers"]["RequestId"];
@@ -16978,7 +18043,7 @@ interface operations {
16978
18043
  "application/json": components["schemas"]["ErrorResponse"];
16979
18044
  };
16980
18045
  };
16981
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
18046
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key (restricted_api_key) */
16982
18047
  403: {
16983
18048
  headers: {
16984
18049
  "X-Request-Id": components["headers"]["RequestId"];
@@ -17065,7 +18130,7 @@ interface operations {
17065
18130
  "application/json": components["schemas"]["ErrorResponse"];
17066
18131
  };
17067
18132
  };
17068
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
18133
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key (restricted_api_key) */
17069
18134
  403: {
17070
18135
  headers: {
17071
18136
  "X-Request-Id": components["headers"]["RequestId"];
@@ -17156,7 +18221,7 @@ interface operations {
17156
18221
  "application/json": components["schemas"]["ErrorResponse"];
17157
18222
  };
17158
18223
  };
17159
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
18224
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key (restricted_api_key) */
17160
18225
  403: {
17161
18226
  headers: {
17162
18227
  "X-Request-Id": components["headers"]["RequestId"];
@@ -17270,7 +18335,7 @@ interface operations {
17270
18335
  "application/json": components["schemas"]["ErrorResponse"];
17271
18336
  };
17272
18337
  };
17273
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
18338
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key (restricted_api_key) */
17274
18339
  403: {
17275
18340
  headers: {
17276
18341
  "X-Request-Id": components["headers"]["RequestId"];
@@ -17357,7 +18422,7 @@ interface operations {
17357
18422
  "application/json": components["schemas"]["ErrorResponse"];
17358
18423
  };
17359
18424
  };
17360
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
18425
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
17361
18426
  403: {
17362
18427
  headers: {
17363
18428
  "X-Request-Id": components["headers"]["RequestId"];
@@ -17459,7 +18524,7 @@ interface operations {
17459
18524
  "application/json": components["schemas"]["ErrorResponse"];
17460
18525
  };
17461
18526
  };
17462
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
18527
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key (restricted_api_key) */
17463
18528
  403: {
17464
18529
  headers: {
17465
18530
  "X-Request-Id": components["headers"]["RequestId"];
@@ -17561,7 +18626,7 @@ interface operations {
17561
18626
  "application/json": components["schemas"]["ErrorResponse"];
17562
18627
  };
17563
18628
  };
17564
- /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail */
18629
+ /** @description Restricted API key, the inbox's or the shared domain's rules, or held mail; refused to a sending-only key (restricted_api_key) */
17565
18630
  403: {
17566
18631
  headers: {
17567
18632
  "X-Request-Id": components["headers"]["RequestId"];
@@ -17709,6 +18774,16 @@ interface operations {
17709
18774
  "application/json": components["schemas"]["ErrorResponse"];
17710
18775
  };
17711
18776
  };
18777
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
18778
+ 403: {
18779
+ headers: {
18780
+ "X-Request-Id": components["headers"]["RequestId"];
18781
+ [name: string]: unknown;
18782
+ };
18783
+ content: {
18784
+ "application/json": components["schemas"]["ErrorResponse"];
18785
+ };
18786
+ };
17712
18787
  /** @description Over the rate limit (rate_limit_exceeded, with Retry-After) */
17713
18788
  429: {
17714
18789
  headers: {
@@ -17752,6 +18827,16 @@ interface operations {
17752
18827
  "application/json": components["schemas"]["ErrorResponse"];
17753
18828
  };
17754
18829
  };
18830
+ /** @description Restricted API key: refused to a sending-only key (restricted_api_key) */
18831
+ 403: {
18832
+ headers: {
18833
+ "X-Request-Id": components["headers"]["RequestId"];
18834
+ [name: string]: unknown;
18835
+ };
18836
+ content: {
18837
+ "application/json": components["schemas"]["ErrorResponse"];
18838
+ };
18839
+ };
17755
18840
  /** @description The account is already claimed */
17756
18841
  409: {
17757
18842
  headers: {
@@ -17812,7 +18897,7 @@ interface operations {
17812
18897
  "application/json": components["schemas"]["ErrorResponse"];
17813
18898
  };
17814
18899
  };
17815
- /** @description Restricted API key */
18900
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
17816
18901
  403: {
17817
18902
  headers: {
17818
18903
  "X-Request-Id": components["headers"]["RequestId"];
@@ -18079,6 +19164,16 @@ interface operations {
18079
19164
  "application/json": components["schemas"]["ErrorResponse"];
18080
19165
  };
18081
19166
  };
19167
+ /** @description Restricted API key: refused to a key held to one inbox (restricted_api_key) */
19168
+ 403: {
19169
+ headers: {
19170
+ "X-Request-Id": components["headers"]["RequestId"];
19171
+ [name: string]: unknown;
19172
+ };
19173
+ content: {
19174
+ "application/json": components["schemas"]["ErrorResponse"];
19175
+ };
19176
+ };
18082
19177
  /** @description Not found */
18083
19178
  404: {
18084
19179
  headers: {
@@ -18144,7 +19239,7 @@ interface operations {
18144
19239
  "application/json": components["schemas"]["ErrorResponse"];
18145
19240
  };
18146
19241
  };
18147
- /** @description Restricted API key */
19242
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
18148
19243
  403: {
18149
19244
  headers: {
18150
19245
  "X-Request-Id": components["headers"]["RequestId"];
@@ -18209,7 +19304,7 @@ interface operations {
18209
19304
  "application/json": components["schemas"]["ErrorResponse"];
18210
19305
  };
18211
19306
  };
18212
- /** @description Restricted API key */
19307
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
18213
19308
  403: {
18214
19309
  headers: {
18215
19310
  "X-Request-Id": components["headers"]["RequestId"];
@@ -18278,6 +19373,16 @@ interface operations {
18278
19373
  "application/json": components["schemas"]["ErrorResponse"];
18279
19374
  };
18280
19375
  };
19376
+ /** @description Restricted API key: refused to a key held to one inbox (restricted_api_key) */
19377
+ 403: {
19378
+ headers: {
19379
+ "X-Request-Id": components["headers"]["RequestId"];
19380
+ [name: string]: unknown;
19381
+ };
19382
+ content: {
19383
+ "application/json": components["schemas"]["ErrorResponse"];
19384
+ };
19385
+ };
18281
19386
  /** @description Not found */
18282
19387
  404: {
18283
19388
  headers: {
@@ -18325,7 +19430,7 @@ interface operations {
18325
19430
  wait?: number;
18326
19431
  /** @description BillionSend extension: only mail received after this instant; with wait it means mail that became visible after it (delivered, or released from screening), and with no cursor it defaults to one minute before the request */
18327
19432
  since?: string;
18328
- /** @description BillionSend extension: only mail delivered into this inbox */
19433
+ /** @description BillionSend extension: only mail delivered into this inbox, by inbox ID or email address (as in the /inboxes/{inbox_id} paths) */
18329
19434
  inbox_id?: string;
18330
19435
  /** @description BillionSend extension: only mail with this address in received_for */
18331
19436
  to?: string;
@@ -18366,7 +19471,7 @@ interface operations {
18366
19471
  "application/json": components["schemas"]["ErrorResponse"];
18367
19472
  };
18368
19473
  };
18369
- /** @description Restricted API key */
19474
+ /** @description Restricted API key; refused to a sending-only key (restricted_api_key) */
18370
19475
  403: {
18371
19476
  headers: {
18372
19477
  "X-Request-Id": components["headers"]["RequestId"];
@@ -18444,7 +19549,7 @@ interface operations {
18444
19549
  "application/json": components["schemas"]["ErrorResponse"];
18445
19550
  };
18446
19551
  };
18447
- /** @description Restricted API key, or the email is quarantined */
19552
+ /** @description Restricted API key, or the email is quarantined; refused to a sending-only key (restricted_api_key) */
18448
19553
  403: {
18449
19554
  headers: {
18450
19555
  "X-Request-Id": components["headers"]["RequestId"];
@@ -18519,7 +19624,7 @@ interface operations {
18519
19624
  "application/json": components["schemas"]["ErrorResponse"];
18520
19625
  };
18521
19626
  };
18522
- /** @description Restricted API key */
19627
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
18523
19628
  403: {
18524
19629
  headers: {
18525
19630
  "X-Request-Id": components["headers"]["RequestId"];
@@ -18591,7 +19696,7 @@ interface operations {
18591
19696
  "application/json": components["schemas"]["ErrorResponse"];
18592
19697
  };
18593
19698
  };
18594
- /** @description Restricted API key */
19699
+ /** @description Restricted API key; refused to a sending-only key (restricted_api_key) */
18595
19700
  403: {
18596
19701
  headers: {
18597
19702
  "X-Request-Id": components["headers"]["RequestId"];
@@ -18667,7 +19772,7 @@ interface operations {
18667
19772
  "application/json": components["schemas"]["ErrorResponse"];
18668
19773
  };
18669
19774
  };
18670
- /** @description Restricted API key */
19775
+ /** @description Restricted API key; refused to a sending-only key (restricted_api_key) */
18671
19776
  403: {
18672
19777
  headers: {
18673
19778
  "X-Request-Id": components["headers"]["RequestId"];
@@ -18733,7 +19838,7 @@ interface operations {
18733
19838
  "application/json": components["schemas"]["ErrorResponse"];
18734
19839
  };
18735
19840
  };
18736
- /** @description Restricted API key */
19841
+ /** @description Restricted API key; refused to a sending-only key (restricted_api_key) */
18737
19842
  403: {
18738
19843
  headers: {
18739
19844
  "X-Request-Id": components["headers"]["RequestId"];
@@ -18815,7 +19920,7 @@ interface operations {
18815
19920
  "application/json": components["schemas"]["ErrorResponse"];
18816
19921
  };
18817
19922
  };
18818
- /** @description Restricted API key */
19923
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
18819
19924
  403: {
18820
19925
  headers: {
18821
19926
  "X-Request-Id": components["headers"]["RequestId"];
@@ -18891,7 +19996,7 @@ interface operations {
18891
19996
  "application/json": components["schemas"]["ErrorResponse"];
18892
19997
  };
18893
19998
  };
18894
- /** @description Restricted API key */
19999
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
18895
20000
  403: {
18896
20001
  headers: {
18897
20002
  "X-Request-Id": components["headers"]["RequestId"];
@@ -18960,7 +20065,7 @@ interface operations {
18960
20065
  "application/json": components["schemas"]["ErrorResponse"];
18961
20066
  };
18962
20067
  };
18963
- /** @description Restricted API key */
20068
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
18964
20069
  403: {
18965
20070
  headers: {
18966
20071
  "X-Request-Id": components["headers"]["RequestId"];
@@ -19035,7 +20140,7 @@ interface operations {
19035
20140
  "application/json": components["schemas"]["ErrorResponse"];
19036
20141
  };
19037
20142
  };
19038
- /** @description Restricted API key */
20143
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
19039
20144
  403: {
19040
20145
  headers: {
19041
20146
  "X-Request-Id": components["headers"]["RequestId"];
@@ -19100,7 +20205,7 @@ interface operations {
19100
20205
  "application/json": components["schemas"]["ErrorResponse"];
19101
20206
  };
19102
20207
  };
19103
- /** @description Restricted API key */
20208
+ /** @description Restricted API key; refused to a sending-only key, a key held to one inbox (restricted_api_key) */
19104
20209
  403: {
19105
20210
  headers: {
19106
20211
  "X-Request-Id": components["headers"]["RequestId"];
@@ -19163,7 +20268,7 @@ interface operations {
19163
20268
  "application/json": components["schemas"]["ErrorResponse"];
19164
20269
  };
19165
20270
  };
19166
- /** @description Restricted API key */
20271
+ /** @description Restricted API key; refused to a sending-only key, a key held to one domain, a key held to one inbox (restricted_api_key) */
19167
20272
  403: {
19168
20273
  headers: {
19169
20274
  "X-Request-Id": components["headers"]["RequestId"];
@@ -19914,6 +21019,7 @@ declare class Deliverability extends Resource {
19914
21019
  insufficient_outcome_data: boolean;
19915
21020
  guardrail_status: "ok" | "warning" | "paused";
19916
21021
  score_version: number;
21022
+ domains: components["schemas"]["DomainDeliverability"][];
19917
21023
  }>>;
19918
21024
  }
19919
21025
  declare class Agent extends Resource {
@@ -22173,7 +23279,10 @@ declare class Suppressions extends Resource {
22173
23279
  object: "list";
22174
23280
  data: {
22175
23281
  id: string;
22176
- email: string;
23282
+ email: string | null;
23283
+ kind: "email" | "domain";
23284
+ domain: string | null;
23285
+ removable: boolean;
22177
23286
  origin: "bounce" | "complaint" | "manual";
22178
23287
  source_id: string | null;
22179
23288
  created_at: string;
@@ -22185,7 +23294,10 @@ declare class Suppressions extends Resource {
22185
23294
  /** `GET /suppressions/{id}` */
22186
23295
  get(id: string, options?: RequestOptions): Promise<Result<{
22187
23296
  id: string;
22188
- email: string;
23297
+ email: string | null;
23298
+ kind: "email" | "domain";
23299
+ domain: string | null;
23300
+ removable: boolean;
22189
23301
  origin: "bounce" | "complaint" | "manual";
22190
23302
  source_id: string | null;
22191
23303
  created_at: string;
@@ -22360,7 +23472,7 @@ declare function paginate<Item extends {
22360
23472
  id: string;
22361
23473
  }>(fetchPage: (cursor: Cursor) => Promise<Result<CursorPage<Item>>>, start?: Cursor): AsyncGenerator<Item, void, undefined>;
22362
23474
 
22363
- declare const VERSION = "0.2.0";
23475
+ declare const VERSION = "0.2.2";
22364
23476
 
22365
23477
  export { APIConnectionError, APIError, APITimeoutError, AuthenticationError, BillionSend, BillionSendError, ConflictError, DEFAULT_BASE_URL, DEFAULT_MAX_RETRIES, DEFAULT_TIMEOUT_MS, EventStream, NotFoundError, PermissionDeniedError, RateLimitError, STREAM_GAP_EVENT, VERSION, ValidationError, WEBHOOK_TOLERANCE_SECONDS, WebhookVerificationError, paginate, verifyWebhook };
22366
- export type { $defs, AddContactSegmentResponse, AddInboxThreadLabelsRequest, AgentAccountStatus, AgentClaimEmail, AgentSignupRequest, AgentSignupResponse, ApiPath, AutomationConnection, AutomationIdResponse, AutomationIssue, AutomationMetricsResponse, AutomationStep, BatchAddSuppressionsRequest, BatchAddSuppressionsResponse, BatchContactsRequest, BatchContactsResponse, BatchEmailRequest, BatchEmailResponse, BatchGetContactsRequest, BatchGetContactsResponse, BatchRemoveContactsRequest, BatchRemoveContactsResponse, BatchRemoveSuppressionsRequest, BatchRemoveSuppressionsResponse, BatchRequestOptions, BatchSendOptions, BatchValidation, BillionSendOptions, BroadcastIdResponse, CancelAutomationRunResponse, CancelBroadcastResponse, CancelEmailResponse, ClaimDomainRequest, ClientEngagementResponse, ContactIdResponse, ContactImport, ContactPreferencesLinkResponse, ContactPropertyIdResponse, CountryEngagementResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateAutomationRequest, CreateBroadcastRequest, CreateContactImportForm, CreateContactImportParams, CreateContactImportResponse, CreateContactPropertyRequest, CreateContactRequest, CreateDomainRequest, CreateDomainResponse, CreateEventRequest, CreateEventResponse, CreateInboxDraftRequest, CreateInboxLabelRequest, CreateInboxRequest, CreateSegmentRequest, CreateSuppressionRequest, CreateTemplateRequest, CreateTopicRequest, CreateUnsubscribeRequest, CreateWebhookRequest, CreateWebhookResponse, Cursor, CursorPage, DeleteInboxDraftResponse, DeleteReceivedEmailResponse, DeliverabilityResponse, DomainClaim, DuplicateBroadcastResponse, EmailInsightsResponse, EmailMetrics, ErrorResponse, ErrorShape, EstimateVerificationRequest, EstimateVerificationResponse, Event, EventStreamOptions, GetAutomationResponse, GetAutomationRunResponse, GetBroadcastResponse, GetContactPropertyResponse, GetContactResponse, GetDomainResponse, GetEmailResponse, GetLogResponse, GetReceivedAttachmentResponse, GetReceivedAttachmentTextResponse, GetReceivedEmailResponse, GetSegmentResponse, GetSentAttachmentResponse, GetSuppressionResponse, GetTemplateResponse, GetWebhookEventResponse, GetWebhookResponse, HeaderRequestId, HttpMethod, IdempotentRequestOptions, Inbox, InboxAgent, InboxDraft, InboxEventData, InboxEventPayload, InboxEventType, InboxForwardRequest, InboxLabel, InboxRelease, InboxReplyRequest, InboxSafety$1 as InboxSafety, InboxSafetyPatch, InboxSendRequest, InboxSentEmail, InboxStreamEvent, InboxStreamItem, InboxThread, InboxThreadEmail, InboxThreadLabels, LinkClicksResponse, ListApiKeysResponse, ListAutomationRunsResponse, ListAutomationsResponse, ListBroadcastClickedLinksResponse, ListBroadcastRecipientsResponse, ListBroadcastsResponse, ListContactImportsResponse, ListContactPropertiesResponse, ListContactTopicsResponse, ListContactsResponse, ListDomainsResponse, ListEmailsResponse, ListEventsResponse, ListInboxDraftsResponse, ListInboxLabelsResponse, ListInboxThreadEmailsResponse, ListInboxThreadsResponse, ListInboxesResponse, ListItem, ListLogsResponse, ListOAuthGrantsResponse, ListQuarantinedEmailsResponse, ListReceivedAttachmentsResponse, ListReceivedEmailsResponse, ListSegmentsResponse, ListSentAttachmentsResponse, ListSuppressionsResponse, ListTemplatesResponse, ListTopicsResponse, ListUnsubscribesResponse, ListVerificationsResponse, ListWebhookEventAttemptsResponse, ListWebhookEventsResponse, ListWebhooksResponse, OAuthGrant, PathParams, QueryParams, ReceivedEmailForwardRequest, ReceivedEmailReplyRequest, ReceivedEmailSendResponse, ReleaseQuarantinedRequest, RemoveApiKeyResponse, RemoveAutomationResponse, RemoveBroadcastResponse, RemoveContactPropertyResponse, RemoveContactResponse, RemoveContactSegmentResponse, RemoveDomainResponse, RemoveEmailResponse, RemoveEventResponse, RemoveInboxLabelResponse, RemoveInboxResponse, RemoveInboxThreadResponse, RemoveSegmentResponse, RemoveSuppressionResponse, RemoveTemplateResponse, RemoveTopicResponse, RemoveWebhookResponse, ReplayWebhookEventResponse, RequestBody, RequestOptions, ResponseBody, ResponseHeaders, Result, RevokeOAuthGrantResponse, RotateWebhookSecretRequest, RotateWebhookSecretResponse, SearchInboxThreadsResponse, SegmentFilter, SegmentResponse, SendBroadcastRequest, SendBroadcastResponse, SendEmailParams, SendEmailRequest, SendEmailResponse, SendEventRequest, SendEventResponse, SendInboxDraftRequest, SendTemplate, SetInboxThreadLabelsRequest, ShareEmailRequest, ShareEmailResponse, SimulateAutomationRequest, SimulateAutomationResponse, StartVerificationRequest, StartVerificationResponse, StopAutomationResponse, StreamGapEvent, SuppressionIdResponse, TemplateIdResponse, TemplateVariable, TemplateVariableInput, TopicIdResponse, TopicResponse, UnshareEmailResponse, UnsubscribeResponse, UpdateApiKeyRequest, UpdateApiKeyResponse, UpdateAutomationRequest, UpdateBroadcastRequest, UpdateContactPropertyRequest, UpdateContactRequest, UpdateContactTopicsRequest, UpdateContactTopicsResponse, UpdateDomainRequest, UpdateEmailRequest, UpdateEmailResponse, UpdateEventRequest, UpdateEventResponse, UpdateInboxAgentRequest, UpdateInboxAgentResponse, UpdateInboxDraftRequest, UpdateInboxLabelRequest, UpdateInboxRequest, UpdateInboxThreadRequest, UpdateSegmentRequest, UpdateTemplateRequest, UpdateTopicRequest, UpdateWebhookRequest, UsageResponse, ValidateAutomationRequest, ValidateAutomationResponse, VerificationAvailabilityResponse, VerificationCode, VerificationRun, VerificationTarget, VerifyWebhookOptions, WebhookEvent, WebhookEventType, WebhookHeaders, WebhookIdResponse, components, operations, paths, webhooks };
23478
+ export type { $defs, AddContactSegmentResponse, AddInboxThreadLabelsRequest, AgentAccountStatus, AgentClaimEmail, AgentSignupRequest, AgentSignupResponse, ApiPath, AutomationConnection, AutomationIdResponse, AutomationIssue, AutomationMetricsResponse, AutomationStep, BatchAddSuppressionsRequest, BatchAddSuppressionsResponse, BatchContactsRequest, BatchContactsResponse, BatchEmailRequest, BatchEmailResponse, BatchGetContactsRequest, BatchGetContactsResponse, BatchRemoveContactsRequest, BatchRemoveContactsResponse, BatchRemoveSuppressionsRequest, BatchRemoveSuppressionsResponse, BatchRequestOptions, BatchSendOptions, BatchValidation, BillionSendOptions, BroadcastIdResponse, CancelAutomationRunResponse, CancelBroadcastResponse, CancelEmailResponse, ClaimDomainRequest, ClientEngagementResponse, ContactIdResponse, ContactImport, ContactPreferencesLinkResponse, ContactPropertyIdResponse, CountryEngagementResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateAutomationRequest, CreateBroadcastRequest, CreateContactImportForm, CreateContactImportParams, CreateContactImportResponse, CreateContactPropertyRequest, CreateContactRequest, CreateDomainRequest, CreateDomainResponse, CreateEventRequest, CreateEventResponse, CreateInboxDraftRequest, CreateInboxLabelRequest, CreateInboxRequest, CreateSegmentRequest, CreateSuppressionRequest, CreateTemplateRequest, CreateTopicRequest, CreateUnsubscribeRequest, CreateWebhookRequest, CreateWebhookResponse, Cursor, CursorPage, DeleteInboxDraftResponse, DeleteReceivedEmailResponse, DeliverabilityResponse, DomainClaim, DomainDeliverability, DuplicateBroadcastResponse, EmailInsightsResponse, EmailMetrics, ErrorResponse, ErrorShape, EstimateVerificationRequest, EstimateVerificationResponse, Event, EventStreamOptions, GetAutomationResponse, GetAutomationRunResponse, GetBroadcastResponse, GetContactPropertyResponse, GetContactResponse, GetDomainResponse, GetEmailResponse, GetLogResponse, GetReceivedAttachmentResponse, GetReceivedAttachmentTextResponse, GetReceivedEmailResponse, GetSegmentResponse, GetSentAttachmentResponse, GetSuppressionResponse, GetTemplateResponse, GetWebhookEventResponse, GetWebhookResponse, HeaderRequestId, HttpMethod, IdempotentRequestOptions, Inbox, InboxAgent, InboxDraft, InboxEventData, InboxEventPayload, InboxEventType, InboxForwardRequest, InboxLabel, InboxRelease, InboxReplyRequest, InboxSafety$1 as InboxSafety, InboxSafetyPatch, InboxSendRequest, InboxSentEmail, InboxStreamEvent, InboxStreamItem, InboxThread, InboxThreadEmail, InboxThreadLabels, LinkClicksResponse, ListApiKeysResponse, ListAutomationRunsResponse, ListAutomationsResponse, ListBroadcastClickedLinksResponse, ListBroadcastRecipientsResponse, ListBroadcastsResponse, ListContactImportsResponse, ListContactPropertiesResponse, ListContactTopicsResponse, ListContactsResponse, ListDomainsResponse, ListEmailsResponse, ListEventsResponse, ListInboxDraftsResponse, ListInboxLabelsResponse, ListInboxThreadEmailsResponse, ListInboxThreadsResponse, ListInboxesResponse, ListItem, ListLogsResponse, ListOAuthGrantsResponse, ListQuarantinedEmailsResponse, ListReceivedAttachmentsResponse, ListReceivedEmailsResponse, ListSegmentsResponse, ListSentAttachmentsResponse, ListSuppressionsResponse, ListTemplatesResponse, ListTopicsResponse, ListUnsubscribesResponse, ListVerificationsResponse, ListWebhookEventAttemptsResponse, ListWebhookEventsResponse, ListWebhooksResponse, OAuthGrant, PathParams, QueryParams, ReceivedEmailForwardRequest, ReceivedEmailReplyRequest, ReceivedEmailSendResponse, ReleaseQuarantinedRequest, RemoveApiKeyResponse, RemoveAutomationResponse, RemoveBroadcastResponse, RemoveContactPropertyResponse, RemoveContactResponse, RemoveContactSegmentResponse, RemoveDomainResponse, RemoveEmailResponse, RemoveEventResponse, RemoveInboxLabelResponse, RemoveInboxResponse, RemoveInboxThreadResponse, RemoveSegmentResponse, RemoveSuppressionResponse, RemoveTemplateResponse, RemoveTopicResponse, RemoveWebhookResponse, ReplayWebhookEventResponse, RequestBody, RequestOptions, ResponseBody, ResponseHeaders, Result, RevokeOAuthGrantResponse, RotateWebhookSecretRequest, RotateWebhookSecretResponse, SearchInboxThreadsResponse, SegmentFilter, SegmentResponse, SendBroadcastRequest, SendBroadcastResponse, SendEmailParams, SendEmailRequest, SendEmailResponse, SendEventRequest, SendEventResponse, SendInboxDraftRequest, SendTemplate, SetInboxThreadLabelsRequest, ShareEmailRequest, ShareEmailResponse, SimulateAutomationRequest, SimulateAutomationResponse, StartVerificationRequest, StartVerificationResponse, StopAutomationResponse, StreamGapEvent, SuppressionIdResponse, TemplateIdResponse, TemplateVariable, TemplateVariableInput, TopicIdResponse, TopicResponse, UnshareEmailResponse, UnsubscribeResponse, UpdateApiKeyRequest, UpdateApiKeyResponse, UpdateAutomationRequest, UpdateBroadcastRequest, UpdateContactPropertyRequest, UpdateContactRequest, UpdateContactTopicsRequest, UpdateContactTopicsResponse, UpdateDomainRequest, UpdateEmailRequest, UpdateEmailResponse, UpdateEventRequest, UpdateEventResponse, UpdateInboxAgentRequest, UpdateInboxAgentResponse, UpdateInboxDraftRequest, UpdateInboxLabelRequest, UpdateInboxRequest, UpdateInboxThreadRequest, UpdateSegmentRequest, UpdateTemplateRequest, UpdateTopicRequest, UpdateWebhookRequest, UsageResponse, ValidateAutomationRequest, ValidateAutomationResponse, VerificationAvailabilityResponse, VerificationCode, VerificationRun, VerificationTarget, VerifyWebhookOptions, WebhookEvent, WebhookEventType, WebhookHeaders, WebhookIdResponse, components, operations, paths, webhooks };