chore: regen types — CreateMediaBuySubmitted, 9421 webhook default#630
Merged
Conversation
Upstream schema updates: - CreateMediaBuyResponse union gains CreateMediaBuySubmitted (async task envelope: status 'submitted', task_id). - PushNotificationConfig.authentication now optional and deprecated; default is the RFC 9421 webhook profile. - RightUse adds 'ai_generated_image'. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Local node_modules had json-schema-to-zod@2.7.0 while the lock file pins 2.8.1. The 2.8.x series emits `.refine` for the `uniqueItems` keyword, which is now set on brand.json's `agents[].scope` and `adagents.json`'s `content_standards[]`. CI installed 2.8.1 via `npm ci` and produced a different output than the committed file, failing the sync check. Regenerated on matching deps so the wellknown zod schemas include the uniqueItems refines that CI expects. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.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
Second sync pass. More upstream drift landed after #628 merged. Every PR (including release PR #622) fails
Validate generated files are in syncwithout this.Upstream changes picked up
CreateMediaBuyResponseunion — nowCreateMediaBuySuccess | CreateMediaBuyError | CreateMediaBuySubmitted. The new branch carriesstatus: 'submitted'+task_idfor async flows (IO signing, governance review, batched processing).media_buy_id/packagesland on the completion artifact, not this envelope.PushNotificationConfig.authentication— now optional, deprecated. Omitting it opts in to the RFC 9421 webhook profile (the default in AdCP 4.0). Bearer and HMAC-SHA256 remain for legacy compatibility.RightUse— adds'ai_generated_image'.Blast radius
CreateMediaBuyResponseget a TS error on the new branch — intentional, surfaces the async case.Changeset: minor.
🤖 Generated with Claude Code