Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4e2905b
feat(newsletters): add metadata observations across six server SDKs
purpshell Oct 27, 2026
feea692
docs(snippets): bind six-language programs to newsletter SDK source
purpshell Oct 27, 2026
f0f3228
fix(php): guard optional newsletter rows in native consumer examples
purpshell Oct 27, 2026
6d13017
fix(rust): preserve absent transports on newsletter references
purpshell Oct 27, 2026
f06f4f8
test(contracts): validate newsletter fixtures with OpenAPI bounds
purpshell Oct 27, 2026
8f79b5b
test(webhooks): extend exact newsletter payload type assertions
purpshell Oct 27, 2026
aae9f76
docs(snippets): bind final newsletter type coverage
purpshell Oct 27, 2026
7fdfe63
docs(rust): make the newsletter consumer example compile
purpshell Oct 27, 2026
b3837b2
docs(snippets): bind the compiled Rust newsletter example
purpshell Oct 27, 2026
ca3ea79
docs(snippets): bind accepted version examples and newsletter source
purpshell Oct 28, 2026
ce974b7
Merge accepted SDK passkey and call-settings source into newsletter c…
purpshell Oct 30, 2026
361fe5a
Merge accepted SDK main into newsletter counterpart
purpshell Nov 5, 2026
a9ecdf8
Regenerate snippets from combined newsletter and accepted main source
purpshell Nov 5, 2026
07bb625
Patch Firestore tooling dependencies without changing SDK Node support
purpshell Nov 5, 2026
c1336d3
Merge origin/main into codex/pol81-newsletter-observations
purpshell Nov 12, 2026
f81237c
Rebind documentation snippets to merged source
purpshell Nov 12, 2026
edaf469
Drop the redundant rimraf override now that main pins the Firestore c…
purpshell Nov 12, 2026
1851fb6
Make newsletter milestone position optional for channel-level milestones
purpshell Nov 6, 2026
d829f8e
Merge remote-tracking branch 'polymorfa/main' into pol81-milestone-v2
purpshell Nov 16, 2026
c7af5b0
Rebind documentation snippets to the merged source
purpshell Nov 16, 2026
47b1e92
Merge remote-tracking branch 'polymorfa/main' into pol81-milestone-v2
purpshell Nov 16, 2026
b30fc84
Rebind documentation snippets to the merged source
purpshell Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- run: npm run check:machine-credentials
- run: npm run check:coverage
- run: node scripts/check-native-coverage.mjs
- run: npm run check:newsletter-observations
- run: npm run check:functions
- run: npm run check:names
- run: npm pack --dry-run --workspaces --ignore-scripts
Expand Down
6 changes: 6 additions & 0 deletions contracts/coverage.json
Original file line number Diff line number Diff line change
Expand Up @@ -21913,6 +21913,12 @@
"baselineUnchanged": true,
"published": false
},
"newsletterObservations": {
"inventory": "contracts/newsletter-observations.json",
"baselineUnchanged": true,
"published": false,
"wireEvidence": "POL-81 native fixtures: newsletter observations and optional channel forwards"
},
"interactiveMessages": {
"inventory": "contracts/native-interactive-messages.json",
"language": "typescript",
Expand Down
4 changes: 2 additions & 2 deletions contracts/doc-snippets.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"sourceCommit": "4b6ce43985ab6e3d6b0427858da5792c06dbb520",
"sourceFilesSha256": "3efbdccb5efd4cf7ed8165b5eb25a37bd79a53a7860196250f8c3d36bbc4a282",
"sourceCommit": "47b1e92af97f13b86b2e86fde49a4d244412c632",
"sourceFilesSha256": "b5c30459bb3354b97dd6c2220f31ef17f608584de8b86c889c3f3e290476a4f2",
"apiVersion": "2026-09-22",
"apiSourceCommit": "f180dc1ee2bd45dbecf01702f73bdd75c664634b",
"specs": {
Expand Down
16 changes: 16 additions & 0 deletions contracts/fixtures/newsletter-observations/channel-message.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"position": 123,
"id": "9007199254740994",
"whatsapp_ids": {
"linked_devices": "native-observed"
},
"whatsapp_id": "native-observed",
"conversation": {
"id": "9007199254740993"
},
"type": "text",
"timestamp": "2023-11-14T22:13:21Z",
"views": 11,
"forwards": 0,
"reactionCounts": {}
}
84 changes: 84 additions & 0 deletions contracts/fixtures/newsletter-observations/delivery.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"secret": "synthetic-newsletter-secret",
"batchId": "0198a2cb-0000-7000-8000-000000000081",
"events": [
{
"id": "newsletter-event-0",
"session": "channel-number",
"timestamp": "2026-10-27T00:00:00.000Z",
"event": "newsletter.update",
"payload": {
"id": "9007199254740993",
"action": "live_update",
"sourceTimestamp": "2023-11-14T22:13:20Z",
"messages": [
{
"position": 123,
"message": {
"id": "9007199254740994",
"whatsapp_ids": {
"linked_devices": "native-observed"
}
},
"timestamp": "2023-11-14T22:13:21Z",
"viewCounts": [
{
"count": 0
},
{
"type": "views",
"count": 11
}
],
"forwards": 0,
"reactionCounts": {}
},
{
"position": 124
}
]
}
},
{
"id": "newsletter-event-1",
"session": "channel-number",
"timestamp": "2026-10-27T00:00:00.000Z",
"event": "newsletter.update",
"payload": {
"id": "9007199254740993",
"action": "milestone",
"milestone": {
"position": 123,
"type": "FUTURE_MILESTONE",
"value": 0,
"reactionCode": "👍"
}
}
},
{
"id": "legacy-mute",
"session": "channel-number",
"timestamp": "2026-10-27T00:00:00.000Z",
"event": "newsletter.update",
"payload": {
"id": "9007199254740993",
"action": "mute",
"muted": false
}
},
{
"id": "newsletter-event-channel-milestone",
"session": "channel-number",
"timestamp": "2026-10-27T00:00:00.000Z",
"event": "newsletter.update",
"payload": {
"id": "9007199254740993",
"action": "milestone",
"milestone": {
"type": "FOLLOWS",
"value": 1000
}
}
}
]
}
31 changes: 31 additions & 0 deletions contracts/fixtures/newsletter-observations/live-update.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"id": "9007199254740993",
"action": "live_update",
"sourceTimestamp": "2023-11-14T22:13:20Z",
"messages": [
{
"position": 123,
"message": {
"id": "9007199254740994",
"whatsapp_ids": {
"linked_devices": "native-observed"
}
},
"timestamp": "2023-11-14T22:13:21Z",
"viewCounts": [
{
"count": 0
},
{
"type": "views",
"count": 11
}
],
"forwards": 0,
"reactionCounts": {}
},
{
"position": 124
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": "9007199254740993",
"action": "milestone",
"milestone": {
"type": "FOLLOWS",
"value": 1000
}
}
10 changes: 10 additions & 0 deletions contracts/fixtures/newsletter-observations/milestone.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "9007199254740993",
"action": "milestone",
"milestone": {
"position": 123,
"type": "FUTURE_MILESTONE",
"value": 0,
"reactionCode": "\ud83d\udc4d"
}
}
Loading
Loading