Skip to content

feat: regenerate API client from OpenAPI spec - #21

Open
convoy-sdk-bot[bot] wants to merge 1 commit into
mainfrom
speakeasy-sdk-regen-20260820
Open

feat: regenerate API client from OpenAPI spec#21
convoy-sdk-bot[bot] wants to merge 1 commit into
mainfrom
speakeasy-sdk-regen-20260820

Conversation

@convoy-sdk-bot

@convoy-sdk-bot convoy-sdk-bot Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Automated regeneration via OpenAPI Generator (php) from docs/v3/openapi3.yaml on frain-dev/convoy main. Hand-written SDK code (src/ outside src/Client/, incl. webhook verify) is untouched by the sync script.


Note

Medium Risk
SDK method signatures change by inserting a new positional $body parameter, which can silently remap arguments for existing positional callers. No auth or data-store logic is modified.

Overview
Regenerates the PHP Events client so list, batch replay, and count-affected-events can send a body query param (URL-encoded JSON payload containment) alongside query.

Breaking for positional callers: $body is inserted as the second argument on getEventsPaged, batchReplayEvents, countAffectedEvents, and their HttpInfo/async/request variants, shifting later optional args. query docs now describe id/idempotency/type/source matching vs payload JSON.

getEventsPaged also maps 403 and 504 to the existing error model. DatastoreProjectConfig::setSearchPolicy docs now describe the optional lookback duration for payload search.

Reviewed by Cursor Bugbot for commit bc7edec. Bugbot is set up for automated code reviews on this repo. Configure here.

convoy-sdk-reviewer[bot]
convoy-sdk-reviewer Bot previously approved these changes Aug 20, 2026

@convoy-sdk-reviewer convoy-sdk-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SDK reviewer app: approving a generated-paths-only diff on the regen branch. Auto-merge completes only after required status checks pass.

@convoy-sdk-bot
convoy-sdk-bot Bot enabled auto-merge (squash) August 20, 2026 19:40

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit bc7edec. Configure here.

* @return \Convoy\Client\Model\BatchReplayEvents200Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response
*/
public function batchReplayEvents($project_id, $direction = null, $end_date = null, $endpoint_id = null, $idempotency_key = null, $next_page_cursor = null, $per_page = null, $prev_page_cursor = null, $query = null, $sort = null, $source_id = null, $start_date = null, string $contentType = self::contentTypes['batchReplayEvents'][0])
public function batchReplayEvents($project_id, $body = null, $direction = null, $end_date = null, $endpoint_id = null, $idempotency_key = null, $next_page_cursor = null, $per_page = null, $prev_page_cursor = null, $query = null, $sort = null, $source_id = null, $start_date = null, string $contentType = self::contentTypes['batchReplayEvents'][0])

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New body param shifts arguments

High Severity

Inserting optional $body as the second positional argument on batchReplayEvents, countAffectedEvents, and getEventsPaged (and their WithHttpInfo/Async/Request variants) remaps every later argument. Existing positional callers send filters on the wrong query keys, so listing can miss events and batch replay can target the wrong set.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit bc7edec. Configure here.

@convoy-sdk-reviewer

Copy link
Copy Markdown

SDK reviewer app: not auto-approving; the PR head is not the commit this generation run pushed. Left for human review (policy: fail open to human review, never to merge).

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.

0 participants