@pidgeon-ai/sdk 1.41.0 → 1.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/index.d.cts +16 -10
- package/dist/index.d.ts +16 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ the two would publish a release for every unrelated product deploy.
|
|
|
7
7
|
Semver applies to **this package's own surface** — the exported names, the
|
|
8
8
|
call shapes, the result shape — not to the API behind it.
|
|
9
9
|
|
|
10
|
+
## 1.41.1 — a refusal for what a key read
|
|
11
|
+
|
|
12
|
+
- A send can be refused `403 exfiltration_blocked`: it carries text an API
|
|
13
|
+
key read in another conversation, and the message names that
|
|
14
|
+
conversation. Bodies read with a key carry an invisible canary token for
|
|
15
|
+
this; a reply in the same conversation has it removed before sending.
|
|
16
|
+
Descriptions only: no type changed.
|
|
17
|
+
|
|
10
18
|
## 1.41.0 — files larger than a request body
|
|
11
19
|
|
|
12
20
|
- `attachmentsCreateUpload` takes `identity_id`, `filename`, `content_type`
|
package/dist/index.d.cts
CHANGED
|
@@ -471,6 +471,9 @@ type Message = {
|
|
|
471
471
|
* The envelope recipient, which is not always in `to`.
|
|
472
472
|
*/
|
|
473
473
|
delivered_to: string | null;
|
|
474
|
+
/**
|
|
475
|
+
* Read with an API key, every body field carries an invisible canary token tied to this conversation. Quote it in a reply here and it is removed before sending; send it anywhere else and the send is refused `exfiltration_blocked`. See /docs/firewall.
|
|
476
|
+
*/
|
|
474
477
|
text: string | null;
|
|
475
478
|
/**
|
|
476
479
|
* Sanitised server-side: our policy travels with the content.
|
|
@@ -717,6 +720,9 @@ type AwaitedMessage = {
|
|
|
717
720
|
* The envelope recipient, which is not always in `to`.
|
|
718
721
|
*/
|
|
719
722
|
delivered_to: string | null;
|
|
723
|
+
/**
|
|
724
|
+
* Read with an API key, every body field carries an invisible canary token tied to this conversation. Quote it in a reply here and it is removed before sending; send it anywhere else and the send is refused `exfiltration_blocked`. See /docs/firewall.
|
|
725
|
+
*/
|
|
720
726
|
text: string | null;
|
|
721
727
|
/**
|
|
722
728
|
* Sanitised server-side: our policy travels with the content.
|
|
@@ -4372,7 +4378,7 @@ type MessagesSendErrors = {
|
|
|
4372
4378
|
*/
|
|
4373
4379
|
401: Error;
|
|
4374
4380
|
/**
|
|
4375
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4381
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4376
4382
|
*/
|
|
4377
4383
|
403: Error;
|
|
4378
4384
|
/**
|
|
@@ -4872,7 +4878,7 @@ type MessagesReplyErrors = {
|
|
|
4872
4878
|
*/
|
|
4873
4879
|
401: Error;
|
|
4874
4880
|
/**
|
|
4875
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4881
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4876
4882
|
*/
|
|
4877
4883
|
403: Error;
|
|
4878
4884
|
/**
|
|
@@ -4972,7 +4978,7 @@ type MessagesReplyAllErrors = {
|
|
|
4972
4978
|
*/
|
|
4973
4979
|
401: Error;
|
|
4974
4980
|
/**
|
|
4975
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4981
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4976
4982
|
*/
|
|
4977
4983
|
403: Error;
|
|
4978
4984
|
/**
|
|
@@ -5072,7 +5078,7 @@ type MessagesForwardErrors = {
|
|
|
5072
5078
|
*/
|
|
5073
5079
|
401: Error;
|
|
5074
5080
|
/**
|
|
5075
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5081
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5076
5082
|
*/
|
|
5077
5083
|
403: Error;
|
|
5078
5084
|
/**
|
|
@@ -8043,7 +8049,7 @@ type MessagesRespondToInvitationErrors = {
|
|
|
8043
8049
|
*/
|
|
8044
8050
|
401: Error;
|
|
8045
8051
|
/**
|
|
8046
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8052
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8047
8053
|
*/
|
|
8048
8054
|
403: Error;
|
|
8049
8055
|
/**
|
|
@@ -8322,7 +8328,7 @@ type CalendarCreateEventErrors = {
|
|
|
8322
8328
|
*/
|
|
8323
8329
|
401: Error;
|
|
8324
8330
|
/**
|
|
8325
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8331
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8326
8332
|
*/
|
|
8327
8333
|
403: Error;
|
|
8328
8334
|
/**
|
|
@@ -8393,7 +8399,7 @@ type CalendarRespondToEventErrors = {
|
|
|
8393
8399
|
*/
|
|
8394
8400
|
401: Error;
|
|
8395
8401
|
/**
|
|
8396
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8402
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8397
8403
|
*/
|
|
8398
8404
|
403: Error;
|
|
8399
8405
|
/**
|
|
@@ -8605,7 +8611,7 @@ type CalendarDeleteEventErrors = {
|
|
|
8605
8611
|
*/
|
|
8606
8612
|
401: Error;
|
|
8607
8613
|
/**
|
|
8608
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8614
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8609
8615
|
*/
|
|
8610
8616
|
403: Error;
|
|
8611
8617
|
/**
|
|
@@ -8763,7 +8769,7 @@ type CalendarUpdateEventErrors = {
|
|
|
8763
8769
|
*/
|
|
8764
8770
|
401: Error;
|
|
8765
8771
|
/**
|
|
8766
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8772
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8767
8773
|
*/
|
|
8768
8774
|
403: Error;
|
|
8769
8775
|
/**
|
|
@@ -9223,7 +9229,7 @@ type DraftsSendErrors = {
|
|
|
9223
9229
|
*/
|
|
9224
9230
|
401: Error;
|
|
9225
9231
|
/**
|
|
9226
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
9232
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
9227
9233
|
*/
|
|
9228
9234
|
403: Error;
|
|
9229
9235
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -471,6 +471,9 @@ type Message = {
|
|
|
471
471
|
* The envelope recipient, which is not always in `to`.
|
|
472
472
|
*/
|
|
473
473
|
delivered_to: string | null;
|
|
474
|
+
/**
|
|
475
|
+
* Read with an API key, every body field carries an invisible canary token tied to this conversation. Quote it in a reply here and it is removed before sending; send it anywhere else and the send is refused `exfiltration_blocked`. See /docs/firewall.
|
|
476
|
+
*/
|
|
474
477
|
text: string | null;
|
|
475
478
|
/**
|
|
476
479
|
* Sanitised server-side: our policy travels with the content.
|
|
@@ -717,6 +720,9 @@ type AwaitedMessage = {
|
|
|
717
720
|
* The envelope recipient, which is not always in `to`.
|
|
718
721
|
*/
|
|
719
722
|
delivered_to: string | null;
|
|
723
|
+
/**
|
|
724
|
+
* Read with an API key, every body field carries an invisible canary token tied to this conversation. Quote it in a reply here and it is removed before sending; send it anywhere else and the send is refused `exfiltration_blocked`. See /docs/firewall.
|
|
725
|
+
*/
|
|
720
726
|
text: string | null;
|
|
721
727
|
/**
|
|
722
728
|
* Sanitised server-side: our policy travels with the content.
|
|
@@ -4372,7 +4378,7 @@ type MessagesSendErrors = {
|
|
|
4372
4378
|
*/
|
|
4373
4379
|
401: Error;
|
|
4374
4380
|
/**
|
|
4375
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4381
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4376
4382
|
*/
|
|
4377
4383
|
403: Error;
|
|
4378
4384
|
/**
|
|
@@ -4872,7 +4878,7 @@ type MessagesReplyErrors = {
|
|
|
4872
4878
|
*/
|
|
4873
4879
|
401: Error;
|
|
4874
4880
|
/**
|
|
4875
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4881
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4876
4882
|
*/
|
|
4877
4883
|
403: Error;
|
|
4878
4884
|
/**
|
|
@@ -4972,7 +4978,7 @@ type MessagesReplyAllErrors = {
|
|
|
4972
4978
|
*/
|
|
4973
4979
|
401: Error;
|
|
4974
4980
|
/**
|
|
4975
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4981
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
4976
4982
|
*/
|
|
4977
4983
|
403: Error;
|
|
4978
4984
|
/**
|
|
@@ -5072,7 +5078,7 @@ type MessagesForwardErrors = {
|
|
|
5072
5078
|
*/
|
|
5073
5079
|
401: Error;
|
|
5074
5080
|
/**
|
|
5075
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5081
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
5076
5082
|
*/
|
|
5077
5083
|
403: Error;
|
|
5078
5084
|
/**
|
|
@@ -8043,7 +8049,7 @@ type MessagesRespondToInvitationErrors = {
|
|
|
8043
8049
|
*/
|
|
8044
8050
|
401: Error;
|
|
8045
8051
|
/**
|
|
8046
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8052
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8047
8053
|
*/
|
|
8048
8054
|
403: Error;
|
|
8049
8055
|
/**
|
|
@@ -8322,7 +8328,7 @@ type CalendarCreateEventErrors = {
|
|
|
8322
8328
|
*/
|
|
8323
8329
|
401: Error;
|
|
8324
8330
|
/**
|
|
8325
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8331
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8326
8332
|
*/
|
|
8327
8333
|
403: Error;
|
|
8328
8334
|
/**
|
|
@@ -8393,7 +8399,7 @@ type CalendarRespondToEventErrors = {
|
|
|
8393
8399
|
*/
|
|
8394
8400
|
401: Error;
|
|
8395
8401
|
/**
|
|
8396
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8402
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8397
8403
|
*/
|
|
8398
8404
|
403: Error;
|
|
8399
8405
|
/**
|
|
@@ -8605,7 +8611,7 @@ type CalendarDeleteEventErrors = {
|
|
|
8605
8611
|
*/
|
|
8606
8612
|
401: Error;
|
|
8607
8613
|
/**
|
|
8608
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8614
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8609
8615
|
*/
|
|
8610
8616
|
403: Error;
|
|
8611
8617
|
/**
|
|
@@ -8763,7 +8769,7 @@ type CalendarUpdateEventErrors = {
|
|
|
8763
8769
|
*/
|
|
8764
8770
|
401: Error;
|
|
8765
8771
|
/**
|
|
8766
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8772
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
8767
8773
|
*/
|
|
8768
8774
|
403: Error;
|
|
8769
8775
|
/**
|
|
@@ -9223,7 +9229,7 @@ type DraftsSendErrors = {
|
|
|
9223
9229
|
*/
|
|
9224
9230
|
401: Error;
|
|
9225
9231
|
/**
|
|
9226
|
-
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
9232
|
+
* Refused, and nothing was sent to anybody. `error.code` says why: `blocked` (a rule), `not_permitted` (the send policy), `abuse_blocked` (a sending limit), `exfiltration_blocked` (it carries text a key read in another conversation; the message names it) or `forbidden` (the address is not one this key can send from, or is not active).
|
|
9227
9233
|
*/
|
|
9228
9234
|
403: Error;
|
|
9229
9235
|
/**
|