Skip to content

Add typed linked catalog product reads - #314

Merged
purpshell merged 6 commits into
devfrom
codex/oa16-catalog-products-sdk
Oct 1, 2026
Merged

purpshell merged 6 commits into
devfrom
codex/oa16-catalog-products-sdk

Conversation

@purpshell

@purpshell purpshell commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Adds messaging.cloudCatalogs.listProducts(wabaId, catalogId, { version, limit, after }) for API PR #380 (merged): a read-only product page for a catalog the API verifies as linked to the authenticated Official API Number's WABA. Exports CloudCatalogProduct, ListCloudCatalogProductsParams, ListCloudCatalogProductsResponse. Client tokens and non-numeric catalog IDs are refused before dispatch; the read uses the transport's normal read retry policy.

Contract: graphListCatalogProducts in docs/api-reference/openapi.graph.json at API dev 29abb7b66a8e225af4df5cf354e9836ccb2ce04c (SHA-256 87e3a56a…), recorded in contracts/cloud-api-supplements.json. Fields id (required), retailer_id, name, availability, and opaque paging.cursors match.

  • API: unaffected; #380 merged. Deployment is a separate gate.
  • SDK: typed method and exports; new tests for the exact path/cursor encoding and pre-dispatch rejection.
  • CLI: companion List linked catalog products in CLI cli#46 (cloud catalog products) pins the published dev prerelease.
  • Docs: TypeScript README and provenance. Public docs unaffected (Graph beta).
  • 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 39 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: 693bfe85-60d0-429c-9175-50e07342526d

📥 Commits

Reviewing files that changed from the base of the PR and between b755def and a11b387.

📒 Files selected for processing (6)
  • contracts/README.md
  • contracts/cloud-api-supplements.json
  • packages/typescript/README.md
  • packages/typescript/src/index.ts
  • packages/typescript/src/messaging/cloud-catalogs.ts
  • packages/typescript/test/cloud-catalogs.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

Copy link
Copy Markdown

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

Reviewed commit: 9249d2425d

ℹ️ 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".

@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:53.312643Z 89e5bff 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.

@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: 39d8717650

ℹ️ 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. 🚀

Reviewed commit: 89e5bffebd

ℹ️ 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/oa28-project-template-submit-attempt to dev October 1, 2026 12:26
@purpshell

Copy link
Copy Markdown
Member Author

Local review (head a11b387; manual pass): path built from encoded version/WABA/catalog segments matches /graph/whatsapp/{version}/{wabaId}/product_catalogs/{catalogId}/products; limit/after query only; response type matches the Graph schema (id required). Numeric catalog-ID guard prevents path injection; client tokens refused before transport. Supplement entry and README accurate. Tests added (path encoding, rejection). No findings.

@purpshell
purpshell merged commit 9ead000 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