Repository navigation
feat: regenerate OpenAPI clients from latest spec - #392
Merged
Merged
Conversation
Adds new endpoints (searchAll, moderation agent feedback/review status, review queue count, moderation config versioning) and extends models. ApiClient.sendRequest now accepts numeric path params, needed by the new getConfigVersion/publishConfigVersion endpoints whose `version` path param is an integer in the spec.
Path parameter values are now encoded with encodeURIComponent before they
replace their {name} token, so values containing /, ?, # or % stay within
a single path segment. Numeric values (e.g. moderation config `version`)
are encoded the same way.
Based on #361. The test lives in __tests__/integration so Vitest picks it
up, and covers numeric path params as well.
oliverlaz
pushed a commit
that referenced
this pull request
Nov 13, 2026
🤖 I have created a release *beep* *boop* --- ## [0.9.2](v0.9.1...v0.9.2) (2026-11-13) ### Features * regenerate OpenAPI clients from latest spec ([#392](#392)) ([315e419](315e419)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Regenerates the API clients from the latest server-side spec (
GetStream/chatmaster7c7ffabb20) and includes the path-param encoding fix from #361.New endpoints
searchAlllistAgentFeedback,submitAgentFeedback,getAgentReviewStatus,countReviewQueuesaveConfigVersion,listConfigVersions,getConfigVersion,publishConfigVersionlistImports()now takes an optional request object (backwards compatible)Model changes
30 new interfaces/types. All changes to existing types are additive (widened unions or new optional fields), for example:
ModerationEngineConfig:providergains'stream',modelgains new values, newreasoning_effortandstrictnessfieldsActivitySelectorTypegains'friends_engaged''agent_recommendation'Path params
getConfigVersion/publishConfigVersionare the first endpoints with a numeric path param (version,int32in the spec).ApiClient.sendRequestnow acceptsRecord<string, string | number>for path params.encodeURIComponent(from fix: percent-encode path parameters in sendRequest #361), so values containing/,?,#or%stay within one path segment. Values with:(e.g. feed ids) are sent as%3A, matching stream-py and getstream-go.__tests__/integration/path-params.test.ts, since Vitest only collects tests from that folder, and gains a numeric-param case.Supersedes #361.
Testing
yarn build,yarn lintand Prettier are cleanyarn test: 362 passed, 42 skipped