@pidgeon-ai/sdk 1.43.1 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/index.d.cts +40 -2
- package/dist/index.d.ts +40 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,15 @@ 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.44.0 — the original inside a forward
|
|
11
|
+
|
|
12
|
+
- `Message.extracted.forwarded`: when a message is an inline forward (Gmail,
|
|
13
|
+
Apple Mail or Outlook, in English or German), the original's sender, name,
|
|
14
|
+
date, subject and text. `null` otherwise, and with `body=clean` when the
|
|
15
|
+
Firewall found the message suspicious.
|
|
16
|
+
- The `message.received` event carries `from_name`, `cc`, `owner_type` and
|
|
17
|
+
`auth: { spf, dkim, dmarc }`. Event payloads are not typed by this package.
|
|
18
|
+
|
|
10
19
|
## 1.43.1 — forwards and raw reads
|
|
11
20
|
|
|
12
21
|
- `messagesForward` from a key is refused `403 exfiltration_blocked` when a
|
package/dist/index.d.cts
CHANGED
|
@@ -686,7 +686,7 @@ type Message = {
|
|
|
686
686
|
version: number;
|
|
687
687
|
} | null;
|
|
688
688
|
/**
|
|
689
|
-
* Verification codes and links found in the message, most likely first — read from the new text, never the quoted history. Empty lists when nothing was found.
|
|
689
|
+
* Verification codes and links found in the message, most likely first — read from the new text, never the quoted history — and the original inside a forward. Empty lists when nothing was found.
|
|
690
690
|
*/
|
|
691
691
|
extracted: {
|
|
692
692
|
/**
|
|
@@ -717,6 +717,25 @@ type Message = {
|
|
|
717
717
|
*/
|
|
718
718
|
text: string | null;
|
|
719
719
|
}>;
|
|
720
|
+
/**
|
|
721
|
+
* The email somebody forwarded, when this message is an inline forward (Gmail, Apple Mail or Outlook, in English or German): `from` here is the original sender, where the message’s own `from` is the person who forwarded it. `null` when this is not a forward, or the original names no sender address. With `body=clean`, `null` when the Firewall found the message suspicious.
|
|
722
|
+
*/
|
|
723
|
+
forwarded: {
|
|
724
|
+
/**
|
|
725
|
+
* The original sender’s address, lower-cased.
|
|
726
|
+
*/
|
|
727
|
+
from: string;
|
|
728
|
+
from_name: string | null;
|
|
729
|
+
/**
|
|
730
|
+
* As the forwarding client printed it, not parsed.
|
|
731
|
+
*/
|
|
732
|
+
date: string | null;
|
|
733
|
+
subject: string | null;
|
|
734
|
+
/**
|
|
735
|
+
* The original’s text, without its header block.
|
|
736
|
+
*/
|
|
737
|
+
text: string;
|
|
738
|
+
} | null;
|
|
720
739
|
};
|
|
721
740
|
/**
|
|
722
741
|
* ISO-8601, UTC.
|
|
@@ -939,7 +958,7 @@ type AwaitedMessage = {
|
|
|
939
958
|
version: number;
|
|
940
959
|
} | null;
|
|
941
960
|
/**
|
|
942
|
-
* Verification codes and links found in the message, most likely first — read from the new text, never the quoted history. Empty lists when nothing was found.
|
|
961
|
+
* Verification codes and links found in the message, most likely first — read from the new text, never the quoted history — and the original inside a forward. Empty lists when nothing was found.
|
|
943
962
|
*/
|
|
944
963
|
extracted: {
|
|
945
964
|
/**
|
|
@@ -970,6 +989,25 @@ type AwaitedMessage = {
|
|
|
970
989
|
*/
|
|
971
990
|
text: string | null;
|
|
972
991
|
}>;
|
|
992
|
+
/**
|
|
993
|
+
* The email somebody forwarded, when this message is an inline forward (Gmail, Apple Mail or Outlook, in English or German): `from` here is the original sender, where the message’s own `from` is the person who forwarded it. `null` when this is not a forward, or the original names no sender address. With `body=clean`, `null` when the Firewall found the message suspicious.
|
|
994
|
+
*/
|
|
995
|
+
forwarded: {
|
|
996
|
+
/**
|
|
997
|
+
* The original sender’s address, lower-cased.
|
|
998
|
+
*/
|
|
999
|
+
from: string;
|
|
1000
|
+
from_name: string | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* As the forwarding client printed it, not parsed.
|
|
1003
|
+
*/
|
|
1004
|
+
date: string | null;
|
|
1005
|
+
subject: string | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* The original’s text, without its header block.
|
|
1008
|
+
*/
|
|
1009
|
+
text: string;
|
|
1010
|
+
} | null;
|
|
973
1011
|
};
|
|
974
1012
|
/**
|
|
975
1013
|
* ISO-8601, UTC.
|
package/dist/index.d.ts
CHANGED
|
@@ -686,7 +686,7 @@ type Message = {
|
|
|
686
686
|
version: number;
|
|
687
687
|
} | null;
|
|
688
688
|
/**
|
|
689
|
-
* Verification codes and links found in the message, most likely first — read from the new text, never the quoted history. Empty lists when nothing was found.
|
|
689
|
+
* Verification codes and links found in the message, most likely first — read from the new text, never the quoted history — and the original inside a forward. Empty lists when nothing was found.
|
|
690
690
|
*/
|
|
691
691
|
extracted: {
|
|
692
692
|
/**
|
|
@@ -717,6 +717,25 @@ type Message = {
|
|
|
717
717
|
*/
|
|
718
718
|
text: string | null;
|
|
719
719
|
}>;
|
|
720
|
+
/**
|
|
721
|
+
* The email somebody forwarded, when this message is an inline forward (Gmail, Apple Mail or Outlook, in English or German): `from` here is the original sender, where the message’s own `from` is the person who forwarded it. `null` when this is not a forward, or the original names no sender address. With `body=clean`, `null` when the Firewall found the message suspicious.
|
|
722
|
+
*/
|
|
723
|
+
forwarded: {
|
|
724
|
+
/**
|
|
725
|
+
* The original sender’s address, lower-cased.
|
|
726
|
+
*/
|
|
727
|
+
from: string;
|
|
728
|
+
from_name: string | null;
|
|
729
|
+
/**
|
|
730
|
+
* As the forwarding client printed it, not parsed.
|
|
731
|
+
*/
|
|
732
|
+
date: string | null;
|
|
733
|
+
subject: string | null;
|
|
734
|
+
/**
|
|
735
|
+
* The original’s text, without its header block.
|
|
736
|
+
*/
|
|
737
|
+
text: string;
|
|
738
|
+
} | null;
|
|
720
739
|
};
|
|
721
740
|
/**
|
|
722
741
|
* ISO-8601, UTC.
|
|
@@ -939,7 +958,7 @@ type AwaitedMessage = {
|
|
|
939
958
|
version: number;
|
|
940
959
|
} | null;
|
|
941
960
|
/**
|
|
942
|
-
* Verification codes and links found in the message, most likely first — read from the new text, never the quoted history. Empty lists when nothing was found.
|
|
961
|
+
* Verification codes and links found in the message, most likely first — read from the new text, never the quoted history — and the original inside a forward. Empty lists when nothing was found.
|
|
943
962
|
*/
|
|
944
963
|
extracted: {
|
|
945
964
|
/**
|
|
@@ -970,6 +989,25 @@ type AwaitedMessage = {
|
|
|
970
989
|
*/
|
|
971
990
|
text: string | null;
|
|
972
991
|
}>;
|
|
992
|
+
/**
|
|
993
|
+
* The email somebody forwarded, when this message is an inline forward (Gmail, Apple Mail or Outlook, in English or German): `from` here is the original sender, where the message’s own `from` is the person who forwarded it. `null` when this is not a forward, or the original names no sender address. With `body=clean`, `null` when the Firewall found the message suspicious.
|
|
994
|
+
*/
|
|
995
|
+
forwarded: {
|
|
996
|
+
/**
|
|
997
|
+
* The original sender’s address, lower-cased.
|
|
998
|
+
*/
|
|
999
|
+
from: string;
|
|
1000
|
+
from_name: string | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* As the forwarding client printed it, not parsed.
|
|
1003
|
+
*/
|
|
1004
|
+
date: string | null;
|
|
1005
|
+
subject: string | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* The original’s text, without its header block.
|
|
1008
|
+
*/
|
|
1009
|
+
text: string;
|
|
1010
|
+
} | null;
|
|
973
1011
|
};
|
|
974
1012
|
/**
|
|
975
1013
|
* ISO-8601, UTC.
|