Skip to content

Add typed raw WABA Marketing Messages status read - #315

Merged
purpshell merged 8 commits into
devfrom
codex/oa17-marketing-status-sdk
Oct 1, 2026
Merged

purpshell merged 8 commits into
devfrom
codex/oa17-marketing-status-sdk

Conversation

@purpshell

@purpshell purpshell commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Adds MessagingClient.cloudMarketing.status(wabaId, { version }) and the exported CloudMarketingStatus type for API PR #383 (merged): a project-scoped read of Meta's raw WABA Marketing Messages status strings (marketing_messages_lite_api_status, marketing_messages_onboarding_status). Client tokens and blank identifiers are rejected before dispatch. The method does not interpret eligibility, accepted terms, insight access, or send permission.

Contract: graphGetMarketingStatus in docs/api-reference/openapi.graph.json at API dev 29abb7b66a8e225af4df5cf354e9836ccb2ce04c, recorded in contracts/cloud-api-supplements.json.

  • API: unaffected; #383 merged. Deployment is a separate gate.
  • SDK: typed TypeScript server method; new tests for the exact route and pre-dispatch rejection.
  • CLI: companion Read raw Marketing Messages WABA status in CLI cli#48 pins the published dev prerelease.
  • Docs: SDK README and provenance. Public docs unaffected (Graph beta, off by default).
  • Feature release: no flag, enrollment or audience change.

@coderabbitai

coderabbitai Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

The included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available. Your 60 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: b4a3fbfa-90ae-463a-8cb6-78ba1568b4cc

📥 Commits

Reviewing files that changed from the base of the PR and between 9ead000 and 7f8585b.

📒 Files selected for processing (8)
  • README.md
  • contracts/cloud-api-supplements.json
  • docs/internal/2026-09-26-marketing-status-consumer.md
  • packages/typescript/README.md
  • packages/typescript/src/index.ts
  • packages/typescript/src/messaging/client.ts
  • packages/typescript/src/messaging/cloud-marketing.ts
  • packages/typescript/test/cloud-marketing.test.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Comment @coderabbitai help to get the list of available commands.

@purpshell

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-26T22:47:50.326573Z d0d501a Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 4f5cdb56c5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@purpshell

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 15ec1e75b1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@purpshell

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: d0d501af97

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@purpshell
purpshell changed the base branch from codex/oa16-catalog-products-sdk to dev October 1, 2026 12:30
@purpshell

Copy link
Copy Markdown
Member Author

Local review (head 88d530f; manual pass): route and params match graphGetMarketingStatus; the response type keeps both strings optional while the schema's anyOf requires at least one, which is a safe widening for a raw passthrough. Read-only, normal read retries. Client-token guard before transport. Tests added. No findings.

@purpshell
purpshell merged commit 3fd47ea into dev Oct 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant