You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR regenerates internal/api/client.gen.go from the staging OpenAPI spec to include new endpoints and type changes needed by the upcoming release-check workflow.
New endpoints: Secrets management (list, store, get, delete at /secrets) and profile cookies (get/set at /profiles/{id}/cookies) with full request-builder, client, and response-parser implementations.
Constant renaming: SessionResponseBrowserType constants are prefixed with the type name (e.g., Chrome → SessionResponseBrowserTypeChrome); a grep confirms no existing callers used the old names, so there is no breakage.
Model simplification: RootModelUnionDictStrAnyListDictStrAny and its union-dispatch methods are replaced by type RootModelAny = interface{}, and NotteProxy gains an optional City field.
Confidence Score: 5/5
Safe to merge — this is a mechanical OpenAPI client regeneration with no breaking changes to existing callers.
All renamed constants and removed types have no callers in the current codebase, so the regeneration is backward-compatible in practice. The new endpoints follow the same generated patterns as all existing ones, and the logic is straightforward request-building and response-parsing boilerplate.
No files require special attention; the single changed file is entirely generated code.
Important Files Changed
Filename
Overview
internal/api/client.gen.go
Regenerated Go API client: adds secrets CRUD + profile cookies endpoints, renames SessionResponseBrowserType constants to be type-prefixed, simplifies RootModelAny to interface{}, and adds NotteProxy.City field. No existing callers of the renamed/removed identifiers were found.
Regenerated the Go client against an OpenAPI export from the monorepo PR branch, so secrets params no longer include period; period remains only on GET /usage.\n\nVerification run locally:\n- go test -short ./...
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
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
Verification