@adcp/sdk 14.0.0-rc.38 → 14.0.0-rc.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (600) hide show
  1. package/bin/adcp-storyboard-summary.js +286 -0
  2. package/bin/adcp.js +221 -10
  3. package/dist/lib/conformance/schemaLoader.d.mts +1 -1
  4. package/dist/lib/conformance/schemaLoader.d.ts +1 -1
  5. package/dist/lib/core/AgentClient.d.mts +6 -1
  6. package/dist/lib/core/AgentClient.d.ts +6 -1
  7. package/dist/lib/core/AgentClient.js +9 -0
  8. package/dist/lib/core/AgentClient.mjs +9 -0
  9. package/dist/lib/core/ConversationTypes.d.mts +29 -0
  10. package/dist/lib/core/ConversationTypes.d.ts +29 -0
  11. package/dist/lib/core/SingleAgentClient.d.mts +3 -1
  12. package/dist/lib/core/SingleAgentClient.d.ts +3 -1
  13. package/dist/lib/core/SingleAgentClient.js +9 -1
  14. package/dist/lib/core/SingleAgentClient.mjs +9 -1
  15. package/dist/lib/core/TaskExecutor.d.mts +13 -1
  16. package/dist/lib/core/TaskExecutor.d.ts +13 -1
  17. package/dist/lib/core/TaskExecutor.js +216 -18
  18. package/dist/lib/core/TaskExecutor.mjs +216 -19
  19. package/dist/lib/index.d.mts +5 -2
  20. package/dist/lib/index.d.ts +5 -2
  21. package/dist/lib/index.js +10 -1
  22. package/dist/lib/index.mjs +10 -1
  23. package/dist/lib/media-buy/action-assessment.d.mts +77 -0
  24. package/dist/lib/media-buy/action-assessment.d.ts +77 -0
  25. package/dist/lib/media-buy/action-assessment.js +300 -0
  26. package/dist/lib/media-buy/action-assessment.mjs +284 -0
  27. package/dist/lib/media-buy/action-constraints.d.mts +9 -0
  28. package/dist/lib/media-buy/action-constraints.d.ts +9 -0
  29. package/dist/lib/media-buy/action-constraints.js +170 -0
  30. package/dist/lib/media-buy/action-constraints.mjs +146 -0
  31. package/dist/lib/media-buy/action-contracts.d.mts +40 -0
  32. package/dist/lib/media-buy/action-contracts.d.ts +40 -0
  33. package/dist/lib/media-buy/action-contracts.js +304 -0
  34. package/dist/lib/media-buy/action-contracts.mjs +267 -0
  35. package/dist/lib/media-buy/action-metadata.generated.d.mts +37 -0
  36. package/dist/lib/media-buy/action-metadata.generated.d.ts +37 -0
  37. package/dist/lib/media-buy/action-metadata.generated.js +128 -0
  38. package/dist/lib/media-buy/action-metadata.generated.mjs +101 -0
  39. package/dist/lib/media-buy/action-types.d.mts +106 -0
  40. package/dist/lib/media-buy/action-types.d.ts +106 -0
  41. package/dist/lib/{types/v3-1-beta/tools.generated.js → media-buy/action-types.js} +2 -2
  42. package/dist/lib/media-buy/actions.d.mts +6 -0
  43. package/dist/lib/media-buy/actions.d.ts +6 -0
  44. package/dist/lib/media-buy/actions.js +38 -0
  45. package/dist/lib/media-buy/actions.mjs +9 -0
  46. package/dist/lib/media-buy/available-actions.d.mts +2 -1
  47. package/dist/lib/media-buy/available-actions.d.ts +2 -1
  48. package/dist/lib/media-buy/available-actions.js +4 -3
  49. package/dist/lib/media-buy/available-actions.mjs +4 -3
  50. package/dist/lib/media-buy/compatibility.js +3 -0
  51. package/dist/lib/media-buy/compatibility.mjs +3 -0
  52. package/dist/lib/media-buy/index.d.mts +4 -0
  53. package/dist/lib/media-buy/index.d.ts +4 -0
  54. package/dist/lib/media-buy/index.js +3 -1
  55. package/dist/lib/media-buy/index.mjs +1 -0
  56. package/dist/lib/media-buy/legacy-action-ids.d.mts +1 -0
  57. package/dist/lib/media-buy/legacy-action-ids.d.ts +1 -0
  58. package/dist/lib/media-buy/legacy-action-ids.js +50 -0
  59. package/dist/lib/media-buy/legacy-action-ids.mjs +26 -0
  60. package/dist/lib/media-buy/mutations.d.mts +70 -0
  61. package/dist/lib/media-buy/mutations.d.ts +70 -0
  62. package/dist/lib/media-buy/mutations.js +525 -0
  63. package/dist/lib/media-buy/mutations.mjs +498 -0
  64. package/dist/lib/media-buy/preflight.d.mts +20 -69
  65. package/dist/lib/media-buy/preflight.d.ts +20 -69
  66. package/dist/lib/media-buy/preflight.js +100 -336
  67. package/dist/lib/media-buy/preflight.mjs +111 -333
  68. package/dist/lib/media-buy/targeting-input.d.mts +7 -4
  69. package/dist/lib/media-buy/targeting-input.d.ts +7 -4
  70. package/dist/lib/media-buy/types.d.mts +55 -7
  71. package/dist/lib/media-buy/types.d.ts +55 -7
  72. package/dist/lib/protocols/rawResponseCapture.d.mts +12 -0
  73. package/dist/lib/protocols/rawResponseCapture.d.ts +12 -0
  74. package/dist/lib/protocols/rawResponseCapture.js +33 -3
  75. package/dist/lib/protocols/rawResponseCapture.mjs +32 -3
  76. package/dist/lib/registry/types.generated.d.mts +377 -9
  77. package/dist/lib/registry/types.generated.d.ts +377 -9
  78. package/dist/lib/reporting/evidence.d.mts +1 -0
  79. package/dist/lib/reporting/evidence.d.ts +1 -0
  80. package/dist/lib/reporting/evidence.js +32 -3
  81. package/dist/lib/reporting/evidence.mjs +31 -3
  82. package/dist/lib/reporting/ledger/handler.d.mts +51 -1
  83. package/dist/lib/reporting/ledger/handler.d.ts +51 -1
  84. package/dist/lib/reporting/ledger/handler.js +306 -38
  85. package/dist/lib/reporting/ledger/handler.mjs +304 -37
  86. package/dist/lib/reporting/ledger/health.d.mts +12 -0
  87. package/dist/lib/reporting/ledger/health.d.ts +12 -0
  88. package/dist/lib/reporting/ledger/health.js +15 -2
  89. package/dist/lib/reporting/ledger/health.mjs +13 -1
  90. package/dist/lib/reporting/ledger/index.d.mts +3 -0
  91. package/dist/lib/reporting/ledger/index.d.ts +3 -0
  92. package/dist/lib/reporting/ledger/index.js +7 -1
  93. package/dist/lib/reporting/ledger/index.mjs +3 -0
  94. package/dist/lib/reporting/ledger/lifecycle.d.mts +31 -4
  95. package/dist/lib/reporting/ledger/lifecycle.d.ts +31 -4
  96. package/dist/lib/reporting/ledger/lifecycle.js +244 -37
  97. package/dist/lib/reporting/ledger/lifecycle.mjs +244 -37
  98. package/dist/lib/reporting/ledger/managed-postgres.d.mts +231 -0
  99. package/dist/lib/reporting/ledger/managed-postgres.d.ts +231 -0
  100. package/dist/lib/reporting/ledger/managed-postgres.js +1797 -0
  101. package/dist/lib/reporting/ledger/managed-postgres.mjs +1776 -0
  102. package/dist/lib/reporting/ledger/managed.d.mts +355 -0
  103. package/dist/lib/reporting/ledger/managed.d.ts +355 -0
  104. package/dist/lib/reporting/ledger/managed.js +661 -0
  105. package/dist/lib/reporting/ledger/managed.mjs +633 -0
  106. package/dist/lib/reporting/ledger/notification-activity.d.mts +222 -0
  107. package/dist/lib/reporting/ledger/notification-activity.d.ts +222 -0
  108. package/dist/lib/reporting/ledger/notification-activity.js +1139 -0
  109. package/dist/lib/reporting/ledger/notification-activity.mjs +1110 -0
  110. package/dist/lib/reporting/ledger/postgres.d.mts +161 -1
  111. package/dist/lib/reporting/ledger/postgres.d.ts +161 -1
  112. package/dist/lib/reporting/ledger/postgres.js +1153 -21
  113. package/dist/lib/reporting/ledger/postgres.mjs +1152 -21
  114. package/dist/lib/reporting/ledger/producer.d.mts +8 -0
  115. package/dist/lib/reporting/ledger/producer.d.ts +8 -0
  116. package/dist/lib/reporting/ledger/producer.js +146 -52
  117. package/dist/lib/reporting/ledger/producer.mjs +146 -51
  118. package/dist/lib/reporting/ledger/types.d.mts +358 -1
  119. package/dist/lib/reporting/ledger/types.d.ts +358 -1
  120. package/dist/lib/reporting/ledger/types.js +3 -0
  121. package/dist/lib/reporting/ledger/types.mjs +2 -0
  122. package/dist/lib/reporting/service/conformance.d.mts +35 -0
  123. package/dist/lib/reporting/service/conformance.d.ts +35 -0
  124. package/dist/lib/reporting/service/conformance.js +89 -0
  125. package/dist/lib/reporting/service/conformance.mjs +68 -0
  126. package/dist/lib/reporting/service/index.d.mts +182 -0
  127. package/dist/lib/reporting/service/index.d.ts +182 -0
  128. package/dist/lib/reporting/service/index.js +793 -0
  129. package/dist/lib/reporting/service/index.mjs +787 -0
  130. package/dist/lib/reporting/source/index.d.mts +2 -1
  131. package/dist/lib/reporting/source/index.d.ts +2 -1
  132. package/dist/lib/reporting/source/index.js +16 -3
  133. package/dist/lib/reporting/source/index.mjs +12 -1
  134. package/dist/lib/reporting/source/inline.d.mts +88 -1
  135. package/dist/lib/reporting/source/inline.d.ts +88 -1
  136. package/dist/lib/reporting/source/inline.js +1161 -163
  137. package/dist/lib/reporting/source/inline.mjs +1166 -163
  138. package/dist/lib/reporting/source/manifest.js +12 -7
  139. package/dist/lib/reporting/source/manifest.mjs +12 -7
  140. package/dist/lib/reporting/source/source.d.mts +26 -0
  141. package/dist/lib/reporting/source/source.d.ts +26 -0
  142. package/dist/lib/reporting/source/source.js +71 -2
  143. package/dist/lib/reporting/source/source.mjs +65 -1
  144. package/dist/lib/schemas-data/v2.5/_provenance.json +1 -1
  145. package/dist/lib/server/create-adcp-server.d.mts +18 -0
  146. package/dist/lib/server/create-adcp-server.d.ts +18 -0
  147. package/dist/lib/server/create-adcp-server.js +52 -2
  148. package/dist/lib/server/create-adcp-server.mjs +52 -2
  149. package/dist/lib/server/decisioning/account.d.mts +1 -1
  150. package/dist/lib/server/decisioning/account.d.ts +1 -1
  151. package/dist/lib/server/decisioning/index.d.mts +1 -0
  152. package/dist/lib/server/decisioning/index.d.ts +1 -0
  153. package/dist/lib/server/decisioning/platform.d.mts +3 -0
  154. package/dist/lib/server/decisioning/platform.d.ts +3 -0
  155. package/dist/lib/server/decisioning/runtime/from-platform.js +88 -10
  156. package/dist/lib/server/decisioning/runtime/from-platform.mjs +88 -10
  157. package/dist/lib/server/decisioning/specialisms/reporting.d.mts +38 -0
  158. package/dist/lib/server/decisioning/specialisms/reporting.d.ts +38 -0
  159. package/dist/lib/{types/v3-1-beta/index.js → server/decisioning/specialisms/reporting.js} +2 -8
  160. package/dist/lib/server/decisioning/specialisms/reporting.mjs +0 -0
  161. package/dist/lib/server/index.d.mts +4 -2
  162. package/dist/lib/server/index.d.ts +4 -2
  163. package/dist/lib/server/index.js +5 -0
  164. package/dist/lib/server/index.mjs +4 -0
  165. package/dist/lib/server/media-buy-action-resolver.d.mts +63 -0
  166. package/dist/lib/server/media-buy-action-resolver.d.ts +63 -0
  167. package/dist/lib/server/media-buy-action-resolver.js +297 -0
  168. package/dist/lib/server/media-buy-action-resolver.mjs +285 -0
  169. package/dist/lib/server/media-buy-actions.d.mts +7 -8
  170. package/dist/lib/server/media-buy-actions.d.ts +7 -8
  171. package/dist/lib/server/media-buy-actions.js +57 -14
  172. package/dist/lib/server/media-buy-actions.mjs +63 -14
  173. package/dist/lib/server/notification-subscriptions/index.d.mts +2 -2
  174. package/dist/lib/server/notification-subscriptions/index.d.ts +2 -2
  175. package/dist/lib/server/notification-subscriptions/index.js +2 -0
  176. package/dist/lib/server/notification-subscriptions/index.mjs +2 -0
  177. package/dist/lib/server/notification-subscriptions/postgres-runtime.d.mts +3 -1
  178. package/dist/lib/server/notification-subscriptions/postgres-runtime.d.ts +3 -1
  179. package/dist/lib/server/notification-subscriptions/postgres-runtime.js +1 -0
  180. package/dist/lib/server/notification-subscriptions/postgres-runtime.mjs +1 -0
  181. package/dist/lib/server/notification-subscriptions/runtime.d.mts +12 -1
  182. package/dist/lib/server/notification-subscriptions/runtime.d.ts +12 -1
  183. package/dist/lib/server/notification-subscriptions/runtime.js +102 -16
  184. package/dist/lib/server/notification-subscriptions/runtime.mjs +101 -16
  185. package/dist/lib/server/notification-subscriptions/types.d.mts +104 -1
  186. package/dist/lib/server/notification-subscriptions/types.d.ts +104 -1
  187. package/dist/lib/server/webhook-emitter.d.mts +40 -5
  188. package/dist/lib/server/webhook-emitter.d.ts +40 -5
  189. package/dist/lib/server/webhook-emitter.js +23 -12
  190. package/dist/lib/server/webhook-emitter.mjs +23 -12
  191. package/dist/lib/storage/interfaces.d.mts +14 -2
  192. package/dist/lib/storage/interfaces.d.ts +14 -2
  193. package/dist/lib/testing/compliance/comply.d.mts +9 -3
  194. package/dist/lib/testing/compliance/comply.d.ts +9 -3
  195. package/dist/lib/testing/compliance/comply.js +158 -3
  196. package/dist/lib/testing/compliance/comply.mjs +159 -4
  197. package/dist/lib/testing/compliance/storyboard-tracks.js +7 -5
  198. package/dist/lib/testing/compliance/storyboard-tracks.mjs +7 -5
  199. package/dist/lib/testing/compliance/summary.js +10 -1
  200. package/dist/lib/testing/compliance/summary.mjs +10 -1
  201. package/dist/lib/testing/index.d.mts +1 -1
  202. package/dist/lib/testing/index.d.ts +1 -1
  203. package/dist/lib/testing/index.js +2 -0
  204. package/dist/lib/testing/index.mjs +3 -1
  205. package/dist/lib/testing/storyboard/agent-routing.d.mts +12 -43
  206. package/dist/lib/testing/storyboard/agent-routing.d.ts +12 -43
  207. package/dist/lib/testing/storyboard/agent-routing.js +75 -13
  208. package/dist/lib/testing/storyboard/agent-routing.mjs +70 -12
  209. package/dist/lib/testing/storyboard/index.d.mts +1 -0
  210. package/dist/lib/testing/storyboard/index.d.ts +1 -0
  211. package/dist/lib/testing/storyboard/index.js +3 -0
  212. package/dist/lib/testing/storyboard/index.mjs +2 -0
  213. package/dist/lib/testing/storyboard/junit.d.mts +1 -1
  214. package/dist/lib/testing/storyboard/junit.d.ts +1 -1
  215. package/dist/lib/testing/storyboard/junit.js +21 -2
  216. package/dist/lib/testing/storyboard/junit.mjs +21 -2
  217. package/dist/lib/testing/storyboard/probes.d.mts +130 -0
  218. package/dist/lib/testing/storyboard/probes.d.ts +130 -0
  219. package/dist/lib/testing/storyboard/probes.js +682 -10
  220. package/dist/lib/testing/storyboard/probes.mjs +683 -3
  221. package/dist/lib/testing/storyboard/request-signing/builder.d.mts +16 -5
  222. package/dist/lib/testing/storyboard/request-signing/builder.d.ts +16 -5
  223. package/dist/lib/testing/storyboard/request-signing/grader.d.mts +44 -1
  224. package/dist/lib/testing/storyboard/request-signing/grader.d.ts +44 -1
  225. package/dist/lib/testing/storyboard/request-signing/grader.js +46 -22
  226. package/dist/lib/testing/storyboard/request-signing/grader.mjs +43 -21
  227. package/dist/lib/testing/storyboard/request-signing/probe-dispatch.d.mts +86 -11
  228. package/dist/lib/testing/storyboard/request-signing/probe-dispatch.d.ts +86 -11
  229. package/dist/lib/testing/storyboard/request-signing/probe-dispatch.js +119 -25
  230. package/dist/lib/testing/storyboard/request-signing/probe-dispatch.mjs +117 -26
  231. package/dist/lib/testing/storyboard/request-signing/synthesize.js +22 -2
  232. package/dist/lib/testing/storyboard/request-signing/synthesize.mjs +22 -2
  233. package/dist/lib/testing/storyboard/runner.d.mts +103 -0
  234. package/dist/lib/testing/storyboard/runner.d.ts +103 -0
  235. package/dist/lib/testing/storyboard/runner.js +1090 -268
  236. package/dist/lib/testing/storyboard/runner.mjs +1096 -261
  237. package/dist/lib/testing/storyboard/seeding.d.mts +4 -1
  238. package/dist/lib/testing/storyboard/seeding.d.ts +4 -1
  239. package/dist/lib/testing/storyboard/seeding.js +55 -24
  240. package/dist/lib/testing/storyboard/seeding.mjs +55 -24
  241. package/dist/lib/testing/storyboard/test-kit.d.mts +37 -3
  242. package/dist/lib/testing/storyboard/test-kit.d.ts +37 -3
  243. package/dist/lib/testing/storyboard/test-kit.js +8 -2
  244. package/dist/lib/testing/storyboard/test-kit.mjs +7 -2
  245. package/dist/lib/testing/storyboard/types.d.mts +132 -10
  246. package/dist/lib/testing/storyboard/types.d.ts +132 -10
  247. package/dist/lib/testing/storyboard/types.js +17 -0
  248. package/dist/lib/testing/storyboard/types.mjs +16 -0
  249. package/dist/lib/testing/storyboard/validations.d.mts +1 -1
  250. package/dist/lib/testing/storyboard/validations.d.ts +1 -1
  251. package/dist/lib/testing/storyboard/validations.js +16 -0
  252. package/dist/lib/testing/storyboard/validations.mjs +16 -0
  253. package/dist/lib/testing/test-controller.d.mts +1 -1
  254. package/dist/lib/testing/test-controller.d.ts +1 -1
  255. package/dist/lib/types/buy-products.d.ts +71 -6
  256. package/dist/lib/types/control-media-buy.d.ts +25 -11
  257. package/dist/lib/types/core.generated.d.mts +69 -10
  258. package/dist/lib/types/core.generated.d.ts +69 -10
  259. package/dist/lib/types/create-media-buy.d.ts +71 -6
  260. package/dist/lib/types/forward-compat-error-codes.d.mts +7 -6
  261. package/dist/lib/types/forward-compat-error-codes.d.ts +7 -6
  262. package/dist/lib/types/index.d.mts +2 -2
  263. package/dist/lib/types/index.d.ts +2 -2
  264. package/dist/lib/types/schemas.generated.d.ts +8040 -8116
  265. package/dist/lib/types/schemas.generated.js +1074 -309
  266. package/dist/lib/types/schemas.generated.mjs +1068 -309
  267. package/dist/lib/types/tools.generated.d.mts +65 -6
  268. package/dist/lib/types/tools.generated.d.ts +65 -6
  269. package/dist/lib/types/update-media-buy.d.ts +71 -6
  270. package/dist/lib/utils/redact-secrets.d.mts +1 -1
  271. package/dist/lib/utils/redact-secrets.d.ts +1 -1
  272. package/dist/lib/utils/redact-secrets.js +1 -1
  273. package/dist/lib/utils/redact-secrets.mjs +1 -1
  274. package/dist/lib/v2/projection/cache-versions.d.mts +0 -1
  275. package/dist/lib/v2/projection/cache-versions.d.ts +0 -1
  276. package/dist/lib/v2/projection/cache-versions.js +1 -15
  277. package/dist/lib/v2/projection/cache-versions.mjs +1 -14
  278. package/dist/lib/v2/projection/canonical-properties.js +2 -2
  279. package/dist/lib/v2/projection/canonical-properties.mjs +3 -3
  280. package/dist/lib/v2/projection/registry.d.mts +1 -1
  281. package/dist/lib/v2/projection/registry.d.ts +1 -1
  282. package/dist/lib/v2/projection/registry.js +2 -2
  283. package/dist/lib/v2/projection/registry.mjs +3 -3
  284. package/dist/lib/version.d.mts +5 -5
  285. package/dist/lib/version.d.ts +5 -5
  286. package/dist/lib/version.js +3 -8
  287. package/dist/lib/version.mjs +3 -8
  288. package/dist/lib/wholesale-feed-sync/index.d.mts +1 -0
  289. package/dist/lib/wholesale-feed-sync/index.d.ts +1 -0
  290. package/dist/lib/wholesale-feed-sync/protocol-types.d.mts +42 -0
  291. package/dist/lib/wholesale-feed-sync/protocol-types.d.ts +42 -0
  292. package/dist/lib/wholesale-feed-sync/protocol-types.js +16 -0
  293. package/dist/lib/wholesale-feed-sync/protocol-types.mjs +0 -0
  294. package/dist/lib/wholesale-feed-sync/sync.d.mts +6 -6
  295. package/dist/lib/wholesale-feed-sync/sync.d.ts +6 -6
  296. package/dist/lib/wholesale-feed-sync/sync.js +3 -1
  297. package/dist/lib/wholesale-feed-sync/sync.mjs +3 -1
  298. package/dist/lib/wholesale-feed-sync/types.d.mts +15 -14
  299. package/dist/lib/wholesale-feed-sync/types.d.ts +15 -14
  300. package/dist/lib/wholesale-feed-sync/webhook-notification.d.mts +7 -5
  301. package/dist/lib/wholesale-feed-sync/webhook-notification.d.ts +7 -5
  302. package/dist/lib/wholesale-feed-sync/webhook-notification.js +45 -0
  303. package/dist/lib/wholesale-feed-sync/webhook-notification.mjs +44 -0
  304. package/docs/CLI.md +1 -1
  305. package/docs/TYPE-SUMMARY.md +118 -4
  306. package/docs/guides/ASYNC-API-REFERENCE.md +62 -1
  307. package/docs/guides/ASYNC-DEVELOPER-GUIDE.md +25 -0
  308. package/docs/guides/ASYNC-DOCUMENTATION-INDEX.md +3 -0
  309. package/docs/guides/BUYER-QUICKSTART-3.2.md +5 -0
  310. package/docs/guides/DURABLE-BUYER-WRITES.md +337 -0
  311. package/docs/guides/EXISTING-PLATFORM.md +35 -0
  312. package/docs/guides/MEDIA-BUY-3.2-COMPATIBILITY.md +7 -3
  313. package/docs/guides/MEDIA-BUY-ACTION-ASSESSMENT.md +300 -0
  314. package/docs/guides/REPORTING-LEDGER.md +654 -3
  315. package/docs/guides/REPORTING-SOURCE-EXECUTOR.md +63 -1
  316. package/docs/guides/SELLER-QUICKSTART-3.2.md +2 -0
  317. package/docs/guides/VALIDATE-YOUR-AGENT.md +35 -0
  318. package/docs/guides/idempotency-crash-recovery.md +4 -0
  319. package/docs/llms.txt +4 -2
  320. package/docs/migration-14.x-rc-worksheet.md +5 -5
  321. package/docs/migration-7.9-to-7.10.md +7 -5
  322. package/examples/README.md +17 -0
  323. package/examples/durable-buyer-writes/caller.ts +745 -0
  324. package/examples/durable-buyer-writes/worker.ts +240 -0
  325. package/examples/reliable-reporting-service/README.md +100 -0
  326. package/examples/seller-3.2-starter.ts +7 -8
  327. package/examples/targeting-input-existing-platform.ts +153 -0
  328. package/package.json +41 -29
  329. package/skills/build-seller-agent/specialisms/signed-requests.md +11 -1
  330. package/skills/cross-cutting.md +28 -11
  331. package/compliance/cache/3.1.0-beta.7/domains/brand/index.yaml +0 -160
  332. package/compliance/cache/3.1.0-beta.7/domains/brand/scenarios/distributed_brand_resolution.yaml +0 -415
  333. package/compliance/cache/3.1.0-beta.7/domains/brand/scenarios/single_side_trust_extension.yaml +0 -454
  334. package/compliance/cache/3.1.0-beta.7/domains/creative/index.yaml +0 -339
  335. package/compliance/cache/3.1.0-beta.7/domains/creative/scenarios/billing_out_of_band.yaml +0 -153
  336. package/compliance/cache/3.1.0-beta.7/domains/creative/scenarios/creative_lifecycle_webhooks.yaml +0 -389
  337. package/compliance/cache/3.1.0-beta.7/domains/creative/scenarios/native_in_feed.yaml +0 -543
  338. package/compliance/cache/3.1.0-beta.7/domains/governance/index.yaml +0 -682
  339. package/compliance/cache/3.1.0-beta.7/domains/media-buy/index.yaml +0 -781
  340. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/audience_buy_flow.yaml +0 -380
  341. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/available_actions.yaml +0 -565
  342. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/billing_finality_delivery.yaml +0 -354
  343. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/canonical_formats.yaml +0 -711
  344. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/clicks_buy_flow.yaml +0 -264
  345. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/completed_views_buy_flow.yaml +0 -344
  346. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/create_media_buy_async.yaml +0 -234
  347. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/creative_fate_after_cancellation.yaml +0 -419
  348. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/creative_reception.yaml +0 -247
  349. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/delivery_reporting.yaml +0 -357
  350. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/dependency_impairment.yaml +0 -633
  351. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/dependency_impairment_cardinality.yaml +0 -800
  352. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/event_dedup_flow.yaml +0 -399
  353. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/frequency_cap_enforcement.yaml +0 -309
  354. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/governance_approved.yaml +0 -214
  355. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/governance_conditions.yaml +0 -199
  356. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/governance_denied.yaml +0 -204
  357. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/governance_denied_recovery.yaml +0 -252
  358. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/invalid_transitions.yaml +0 -289
  359. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/inventory_list_no_match.yaml +0 -148
  360. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/inventory_list_targeting.yaml +0 -276
  361. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/measurement_accountability.yaml +0 -244
  362. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/measurement_terms_rejected.yaml +0 -203
  363. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/pending_creatives_to_start.yaml +0 -274
  364. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/per_creative_conversion_attribution.yaml +0 -500
  365. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/performance_buy_flow.yaml +0 -428
  366. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/performance_buy_flow_roas.yaml +0 -470
  367. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/product_signal_targeting.yaml +0 -373
  368. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/proposal_finalize.yaml +0 -399
  369. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/proposal_finalize_asap_timing.yaml +0 -264
  370. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/proposal_not_found_errors.yaml +0 -257
  371. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/provenance_audit_observation.yaml +0 -333
  372. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/provenance_enforcement.yaml +0 -517
  373. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/provenance_truth_of_claim.yaml +0 -294
  374. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/reach_buy_flow.yaml +0 -823
  375. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/refine_finalize_exclusivity.yaml +0 -360
  376. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/refine_products.yaml +0 -148
  377. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/vendor_metric_accountability.yaml +0 -293
  378. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/vendor_metric_catalog_precondition.yaml +0 -307
  379. package/compliance/cache/3.1.0-beta.7/domains/media-buy/scenarios/vendor_metric_optimization_flow.yaml +0 -576
  380. package/compliance/cache/3.1.0-beta.7/domains/media-buy/state-machine.yaml +0 -442
  381. package/compliance/cache/3.1.0-beta.7/domains/signals/index.yaml +0 -266
  382. package/compliance/cache/3.1.0-beta.7/domains/sponsored-intelligence/index.yaml +0 -256
  383. package/compliance/cache/3.1.0-beta.7/index.json +0 -356
  384. package/compliance/cache/3.1.0-beta.7/protocols/brand/index.yaml +0 -160
  385. package/compliance/cache/3.1.0-beta.7/protocols/brand/scenarios/distributed_brand_resolution.yaml +0 -415
  386. package/compliance/cache/3.1.0-beta.7/protocols/brand/scenarios/single_side_trust_extension.yaml +0 -454
  387. package/compliance/cache/3.1.0-beta.7/protocols/creative/index.yaml +0 -339
  388. package/compliance/cache/3.1.0-beta.7/protocols/creative/scenarios/billing_out_of_band.yaml +0 -153
  389. package/compliance/cache/3.1.0-beta.7/protocols/creative/scenarios/creative_lifecycle_webhooks.yaml +0 -389
  390. package/compliance/cache/3.1.0-beta.7/protocols/creative/scenarios/native_in_feed.yaml +0 -543
  391. package/compliance/cache/3.1.0-beta.7/protocols/governance/index.yaml +0 -682
  392. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/index.yaml +0 -781
  393. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/audience_buy_flow.yaml +0 -380
  394. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/available_actions.yaml +0 -565
  395. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/billing_finality_delivery.yaml +0 -354
  396. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/canonical_formats.yaml +0 -711
  397. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/clicks_buy_flow.yaml +0 -264
  398. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/completed_views_buy_flow.yaml +0 -344
  399. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/create_media_buy_async.yaml +0 -234
  400. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/creative_fate_after_cancellation.yaml +0 -419
  401. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/creative_reception.yaml +0 -247
  402. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/delivery_reporting.yaml +0 -357
  403. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/dependency_impairment.yaml +0 -633
  404. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/dependency_impairment_cardinality.yaml +0 -800
  405. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/event_dedup_flow.yaml +0 -399
  406. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/frequency_cap_enforcement.yaml +0 -309
  407. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/governance_approved.yaml +0 -214
  408. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/governance_conditions.yaml +0 -199
  409. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/governance_denied.yaml +0 -204
  410. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/governance_denied_recovery.yaml +0 -252
  411. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/invalid_transitions.yaml +0 -289
  412. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/inventory_list_no_match.yaml +0 -148
  413. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/inventory_list_targeting.yaml +0 -276
  414. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/measurement_accountability.yaml +0 -244
  415. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/measurement_terms_rejected.yaml +0 -203
  416. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/pending_creatives_to_start.yaml +0 -274
  417. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/per_creative_conversion_attribution.yaml +0 -500
  418. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/performance_buy_flow.yaml +0 -428
  419. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/performance_buy_flow_roas.yaml +0 -470
  420. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/product_signal_targeting.yaml +0 -373
  421. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/proposal_finalize.yaml +0 -399
  422. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/proposal_finalize_asap_timing.yaml +0 -264
  423. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/proposal_not_found_errors.yaml +0 -257
  424. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/provenance_audit_observation.yaml +0 -333
  425. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/provenance_enforcement.yaml +0 -517
  426. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/provenance_truth_of_claim.yaml +0 -294
  427. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/reach_buy_flow.yaml +0 -823
  428. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/refine_finalize_exclusivity.yaml +0 -360
  429. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/refine_products.yaml +0 -148
  430. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/vendor_metric_accountability.yaml +0 -293
  431. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/vendor_metric_catalog_precondition.yaml +0 -307
  432. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/scenarios/vendor_metric_optimization_flow.yaml +0 -576
  433. package/compliance/cache/3.1.0-beta.7/protocols/media-buy/state-machine.yaml +0 -442
  434. package/compliance/cache/3.1.0-beta.7/protocols/signals/index.yaml +0 -266
  435. package/compliance/cache/3.1.0-beta.7/protocols/sponsored-intelligence/index.yaml +0 -256
  436. package/compliance/cache/3.1.0-beta.7/specialisms/audience-sync/index.yaml +0 -313
  437. package/compliance/cache/3.1.0-beta.7/specialisms/brand-rights/index.yaml +0 -350
  438. package/compliance/cache/3.1.0-beta.7/specialisms/brand-rights/scenarios/governance_denied.yaml +0 -226
  439. package/compliance/cache/3.1.0-beta.7/specialisms/collection-lists/index.yaml +0 -359
  440. package/compliance/cache/3.1.0-beta.7/specialisms/content-standards/index.yaml +0 -572
  441. package/compliance/cache/3.1.0-beta.7/specialisms/creative-ad-server/index.yaml +0 -409
  442. package/compliance/cache/3.1.0-beta.7/specialisms/creative-generative/generative-seller.yaml +0 -807
  443. package/compliance/cache/3.1.0-beta.7/specialisms/creative-generative/index.yaml +0 -758
  444. package/compliance/cache/3.1.0-beta.7/specialisms/creative-template/index.yaml +0 -510
  445. package/compliance/cache/3.1.0-beta.7/specialisms/governance-aware-seller/index.yaml +0 -143
  446. package/compliance/cache/3.1.0-beta.7/specialisms/governance-aware-seller/scenarios/governance_multi_agent_rejected.yaml +0 -117
  447. package/compliance/cache/3.1.0-beta.7/specialisms/governance-delivery-monitor/index.yaml +0 -441
  448. package/compliance/cache/3.1.0-beta.7/specialisms/governance-spend-authority/denied.yaml +0 -221
  449. package/compliance/cache/3.1.0-beta.7/specialisms/governance-spend-authority/index.yaml +0 -330
  450. package/compliance/cache/3.1.0-beta.7/specialisms/property-lists/index.yaml +0 -482
  451. package/compliance/cache/3.1.0-beta.7/specialisms/sales-broadcast-tv/index.yaml +0 -738
  452. package/compliance/cache/3.1.0-beta.7/specialisms/sales-catalog-driven/index.yaml +0 -840
  453. package/compliance/cache/3.1.0-beta.7/specialisms/sales-guaranteed/index.yaml +0 -601
  454. package/compliance/cache/3.1.0-beta.7/specialisms/sales-non-guaranteed/index.yaml +0 -546
  455. package/compliance/cache/3.1.0-beta.7/specialisms/sales-proposal-mode/index.yaml +0 -586
  456. package/compliance/cache/3.1.0-beta.7/specialisms/sales-social/index.yaml +0 -919
  457. package/compliance/cache/3.1.0-beta.7/specialisms/signal-marketplace/index.yaml +0 -424
  458. package/compliance/cache/3.1.0-beta.7/specialisms/signal-marketplace/scenarios/governance_denied.yaml +0 -211
  459. package/compliance/cache/3.1.0-beta.7/specialisms/signal-owned/index.yaml +0 -317
  460. package/compliance/cache/3.1.0-beta.7/specialisms/sponsored-intelligence/index.yaml +0 -59
  461. package/compliance/cache/3.1.0-beta.7/test-kits/acme-outdoor-live.yaml +0 -78
  462. package/compliance/cache/3.1.0-beta.7/test-kits/acme-outdoor.yaml +0 -223
  463. package/compliance/cache/3.1.0-beta.7/test-kits/billing-gate-runner.yaml +0 -115
  464. package/compliance/cache/3.1.0-beta.7/test-kits/bistro-oranje.yaml +0 -126
  465. package/compliance/cache/3.1.0-beta.7/test-kits/distributed-brand-runner.yaml +0 -281
  466. package/compliance/cache/3.1.0-beta.7/test-kits/nova-motors.yaml +0 -262
  467. package/compliance/cache/3.1.0-beta.7/test-kits/osei-natural.yaml +0 -126
  468. package/compliance/cache/3.1.0-beta.7/test-kits/parallel-dispatch-runner.yaml +0 -196
  469. package/compliance/cache/3.1.0-beta.7/test-kits/rate-limit-trip-runner.yaml +0 -172
  470. package/compliance/cache/3.1.0-beta.7/test-kits/signed-requests-runner.yaml +0 -155
  471. package/compliance/cache/3.1.0-beta.7/test-kits/single-side-trust-runner.yaml +0 -294
  472. package/compliance/cache/3.1.0-beta.7/test-kits/substitution-observer-runner.yaml +0 -688
  473. package/compliance/cache/3.1.0-beta.7/test-kits/summit-foods.yaml +0 -125
  474. package/compliance/cache/3.1.0-beta.7/test-kits/webhook-receiver-runner.yaml +0 -265
  475. package/compliance/cache/3.1.0-beta.7/test-vectors/plan-hash/001-minimal-plan.json +0 -43
  476. package/compliance/cache/3.1.0-beta.7/test-vectors/plan-hash/002-full-plan.json +0 -217
  477. package/compliance/cache/3.1.0-beta.7/test-vectors/plan-hash/003-bookkeeping-stripped.json +0 -60
  478. package/compliance/cache/3.1.0-beta.7/test-vectors/plan-hash/004a-human-review-omitted.json +0 -43
  479. package/compliance/cache/3.1.0-beta.7/test-vectors/plan-hash/004b-human-review-explicit-null.json +0 -49
  480. package/compliance/cache/3.1.0-beta.7/test-vectors/plan-hash/005a-policy-categories-order-1.json +0 -53
  481. package/compliance/cache/3.1.0-beta.7/test-vectors/plan-hash/005b-policy-categories-order-2.json +0 -57
  482. package/compliance/cache/3.1.0-beta.7/test-vectors/plan-hash/006a-ext-trace-v1.json +0 -49
  483. package/compliance/cache/3.1.0-beta.7/test-vectors/plan-hash/006b-ext-trace-v2.json +0 -53
  484. package/compliance/cache/3.1.0-beta.7/test-vectors/plan-hash/007-unicode-objectives.json +0 -43
  485. package/compliance/cache/3.1.0-beta.7/test-vectors/plan-hash/008-numeric-canonicalization.json +0 -65
  486. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/README.md +0 -220
  487. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/canonicalization.json +0 -241
  488. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/keys.json +0 -60
  489. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/001-no-signature-header.json +0 -24
  490. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/002-wrong-tag.json +0 -26
  491. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/003-expired-signature.json +0 -26
  492. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/004-window-too-long.json +0 -26
  493. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/005-alg-not-allowed.json +0 -26
  494. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/006-missing-covered-component.json +0 -26
  495. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/007-missing-content-digest.json +0 -26
  496. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/008-unknown-keyid.json +0 -26
  497. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/009-key-ops-missing-verify.json +0 -27
  498. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/010-content-digest-mismatch.json +0 -33
  499. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/011-malformed-header.json +0 -27
  500. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/012-missing-expires-param.json +0 -26
  501. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/013-expires-le-created.json +0 -27
  502. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/014-missing-nonce-param.json +0 -27
  503. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/015-signature-invalid.json +0 -28
  504. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/016-replayed-nonce.json +0 -35
  505. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/017-key-revoked.json +0 -38
  506. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/018-digest-covered-when-forbidden.json +0 -28
  507. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/019-signature-without-signature-input.json +0 -26
  508. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/020-rate-abuse.json +0 -34
  509. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/021-duplicate-signature-input-label.json +0 -31
  510. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/022-multi-valued-content-type.json +0 -31
  511. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/023-multi-valued-content-digest.json +0 -32
  512. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/024-unquoted-string-param.json +0 -31
  513. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/025-jwk-alg-crv-mismatch.json +0 -43
  514. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/026-non-ascii-host.json +0 -31
  515. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/027-webhook-registration-authentication-unsigned.json +0 -25
  516. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/negative/028-unsigned-protocol-method-required.json +0 -26
  517. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/001-basic-post.json +0 -30
  518. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/002-post-with-content-digest.json +0 -31
  519. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/003-es256-post.json +0 -30
  520. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/004-multiple-signature-labels.json +0 -26
  521. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/005-default-port-stripped.json +0 -30
  522. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/006-dot-segment-path.json +0 -30
  523. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/007-query-byte-preserved.json +0 -30
  524. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/008-percent-encoded-path.json +0 -30
  525. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/009-percent-encoded-unreserved-decoded.json +0 -30
  526. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/010-percent-encoded-slash-preserved.json +0 -30
  527. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/011-ipv6-authority.json +0 -30
  528. package/compliance/cache/3.1.0-beta.7/test-vectors/request-signing/positive/012-ipv6-authority-default-port-stripped.json +0 -30
  529. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/README.md +0 -211
  530. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/keys.json +0 -61
  531. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/001-wrong-tag.json +0 -26
  532. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/002-expired-signature.json +0 -26
  533. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/003-window-too-long.json +0 -26
  534. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/004-alg-not-allowed.json +0 -26
  535. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/005-missing-authority-component.json +0 -26
  536. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/006-missing-content-digest.json +0 -25
  537. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/007-unknown-keyid.json +0 -26
  538. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/008-wrong-adcp-use.json +0 -26
  539. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/009-content-digest-mismatch.json +0 -26
  540. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/010-malformed-signature-input.json +0 -26
  541. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/011-signature-without-input.json +0 -25
  542. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/012-missing-expires-param.json +0 -26
  543. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/013-expires-le-created.json +0 -26
  544. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/014-missing-nonce-param.json +0 -26
  545. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/015-signature-invalid.json +0 -26
  546. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/016-replayed-nonce.json +0 -37
  547. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/017-key-revoked.json +0 -32
  548. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/018-rate-abuse.json +0 -33
  549. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/019-revocation-stale.json +0 -32
  550. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/020-key-ops-missing-verify.json +0 -41
  551. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/negative/021-base64-alphabet-mixing.json +0 -26
  552. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/positive/001-basic-post.json +0 -24
  553. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/positive/002-es256-post.json +0 -24
  554. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/positive/003-multiple-signature-labels.json +0 -24
  555. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/positive/004-default-port-stripped.json +0 -24
  556. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/positive/005-percent-encoded-path.json +0 -24
  557. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/positive/006-query-byte-preserved.json +0 -24
  558. package/compliance/cache/3.1.0-beta.7/test-vectors/webhook-signing/positive/007-body-without-idempotency-key.json +0 -25
  559. package/compliance/cache/3.1.0-beta.7/universal/billing-gate-dispatch.yaml +0 -450
  560. package/compliance/cache/3.1.0-beta.7/universal/canonical-format-validate-input.yaml +0 -640
  561. package/compliance/cache/3.1.0-beta.7/universal/capability-discovery.yaml +0 -125
  562. package/compliance/cache/3.1.0-beta.7/universal/collection-lists-pagination-integrity.yaml +0 -306
  563. package/compliance/cache/3.1.0-beta.7/universal/comply-controller-mode-gate.yaml +0 -141
  564. package/compliance/cache/3.1.0-beta.7/universal/content-standards-pagination-integrity.yaml +0 -326
  565. package/compliance/cache/3.1.0-beta.7/universal/deterministic-testing.yaml +0 -1430
  566. package/compliance/cache/3.1.0-beta.7/universal/error-compliance-signals.yaml +0 -377
  567. package/compliance/cache/3.1.0-beta.7/universal/error-compliance.yaml +0 -528
  568. package/compliance/cache/3.1.0-beta.7/universal/fictional-entities.yaml +0 -307
  569. package/compliance/cache/3.1.0-beta.7/universal/get-media-buys-pagination-integrity.yaml +0 -160
  570. package/compliance/cache/3.1.0-beta.7/universal/get-signals-pagination-integrity.yaml +0 -211
  571. package/compliance/cache/3.1.0-beta.7/universal/idempotency.yaml +0 -861
  572. package/compliance/cache/3.1.0-beta.7/universal/notification-config-event-scope.yaml +0 -119
  573. package/compliance/cache/3.1.0-beta.7/universal/notification-config-lifecycle.yaml +0 -337
  574. package/compliance/cache/3.1.0-beta.7/universal/notification-config-rejections.yaml +0 -107
  575. package/compliance/cache/3.1.0-beta.7/universal/pagination-integrity-creative-formats.yaml +0 -265
  576. package/compliance/cache/3.1.0-beta.7/universal/pagination-integrity-list-accounts.yaml +0 -245
  577. package/compliance/cache/3.1.0-beta.7/universal/pagination-integrity.yaml +0 -263
  578. package/compliance/cache/3.1.0-beta.7/universal/property-lists-pagination-integrity.yaml +0 -307
  579. package/compliance/cache/3.1.0-beta.7/universal/read-tool-idempotency.yaml +0 -405
  580. package/compliance/cache/3.1.0-beta.7/universal/runner-output-contract.yaml +0 -1266
  581. package/compliance/cache/3.1.0-beta.7/universal/schema-validation-signals.yaml +0 -181
  582. package/compliance/cache/3.1.0-beta.7/universal/schema-validation.yaml +0 -548
  583. package/compliance/cache/3.1.0-beta.7/universal/security.yaml +0 -539
  584. package/compliance/cache/3.1.0-beta.7/universal/signed-requests.yaml +0 -217
  585. package/compliance/cache/3.1.0-beta.7/universal/stale-response-advisory.yaml +0 -295
  586. package/compliance/cache/3.1.0-beta.7/universal/storyboard-schema.yaml +0 -2136
  587. package/compliance/cache/3.1.0-beta.7/universal/v3-envelope-integrity.yaml +0 -117
  588. package/compliance/cache/3.1.0-beta.7/universal/version-negotiation.yaml +0 -130
  589. package/compliance/cache/3.1.0-beta.7/universal/webhook-emission.yaml +0 -411
  590. package/compliance/cache/3.1.0-beta.7/universal/wholesale-feed-bulk-webhooks.yaml +0 -82
  591. package/compliance/cache/3.1.0-beta.7/universal/wholesale-feed-product-webhooks.yaml +0 -83
  592. package/compliance/cache/3.1.0-beta.7/universal/wholesale-feed-products.yaml +0 -151
  593. package/compliance/cache/3.1.0-beta.7/universal/wholesale-feed-signal-webhooks.yaml +0 -83
  594. package/compliance/cache/3.1.0-beta.7/universal/wholesale-feed-signals.yaml +0 -149
  595. package/dist/lib/types/v3-1-beta/index.d.mts +0 -1
  596. package/dist/lib/types/v3-1-beta/index.d.ts +0 -1
  597. package/dist/lib/types/v3-1-beta/index.mjs +0 -1
  598. package/dist/lib/types/v3-1-beta/tools.generated.d.mts +0 -26788
  599. package/dist/lib/types/v3-1-beta/tools.generated.d.ts +0 -26788
  600. /package/dist/lib/{types/v3-1-beta/tools.generated.mjs → media-buy/action-types.mjs} +0 -0
@@ -1364,7 +1364,7 @@ export interface paths {
1364
1364
  };
1365
1365
  /**
1366
1366
  * Get agent compliance detail
1367
- * @description Returns detailed compliance status for a single agent, including track-level results, storyboard counts, and timestamps.
1367
+ * @description Returns detailed compliance status for a single agent, including track-level results, storyboard counts, timestamps, and owner-only grading comparisons. Exact badge-scope rows compare Legacy and Strict Spec grading for one role/version; Sandbox remains preview-only. Reading never contacts the agent.
1368
1368
  *
1369
1369
  * If the agent has opted out of compliance monitoring, returns a minimal response with `status: opted_out`.
1370
1370
  */
@@ -1377,6 +1377,26 @@ export interface paths {
1377
1377
  patch?: never;
1378
1378
  trace?: never;
1379
1379
  };
1380
+ "/api/registry/agents/{encodedUrl}/grading-profile": {
1381
+ parameters: {
1382
+ query?: never;
1383
+ header?: never;
1384
+ path?: never;
1385
+ cookie?: never;
1386
+ };
1387
+ get?: never;
1388
+ /**
1389
+ * Select an exact badge grading profile
1390
+ * @description Selects Legacy or Strict Spec grading for one exact agent role and AdCP version. Requires a current immutable assessment, organization owner/admin authorization, revision compare-and-swap, and an idempotency key. Sandbox is preview-only. The selection itself does not contact the agent.
1391
+ */
1392
+ put: operations["selectAgentGradingProfile"];
1393
+ post?: never;
1394
+ delete?: never;
1395
+ options?: never;
1396
+ head?: never;
1397
+ patch?: never;
1398
+ trace?: never;
1399
+ };
1380
1400
  "/api/.well-known/jwks.json": {
1381
1401
  parameters: {
1382
1402
  query?: never;
@@ -1740,7 +1760,7 @@ export interface paths {
1740
1760
  *
1741
1761
  * **Compliance re-run:** when the caller owns the agent or is an AAO admin and the capability probe succeeds, the full storyboard suite can run for several minutes on capability-rich agents with a fresh test session, and `agent_storyboard_status` is updated. Owner-triggered runs use `triggered_by: 'owner_test'`; admin-triggered support runs use `triggered_by: 'manual'`. Badge fan-out reissues verification badges off the new run. If the compliance call fails (timeout, OAuth wall, internal error), the capability/health portion still returns successfully — `compliance.ran` is `false` with an `error` string.
1742
1762
  *
1743
- * **Auth:** owner of the agent, AAO admin, or static `ADMIN_API_KEY`.
1763
+ * **Auth:** owner of the agent, AAO admin, or static `ADMIN_API_KEY`. Human submissions are temporarily fenced with HTTP 503 until durable authorization provenance is supported; static admin API key submissions remain available.
1744
1764
  *
1745
1765
  * **Rate limits:** 60 seconds per agent URL, 30 requests per user per hour.
1746
1766
  */
@@ -4131,6 +4151,20 @@ export interface components {
4131
4151
  adcp_version?: string | null;
4132
4152
  /** @enum {string} */
4133
4153
  status: "passing" | "degraded" | "failing" | "unknown" | "opted_out";
4154
+ /** @description Public exact role/version status for every explicit grading selection. This is authoritative for the selected badge identity; the top-level status remains the agent-wide compliance summary. */
4155
+ selected_grading_statuses?: {
4156
+ role: components["schemas"]["BadgeRole"];
4157
+ adcp_version: string;
4158
+ /** @enum {string} */
4159
+ grading_profile: "legacy" | "spec";
4160
+ /** @enum {string|null} */
4161
+ grading_status: "passing" | "partial" | "failing" | null;
4162
+ /** @enum {string} */
4163
+ availability: "current" | "unavailable";
4164
+ /** @enum {string|null} */
4165
+ badge_status: "active" | "degraded" | "revoked" | null;
4166
+ revision: string;
4167
+ }[];
4134
4168
  /** @enum {string} */
4135
4169
  lifecycle_stage: "development" | "testing" | "production" | "deprecated";
4136
4170
  compliance_opt_out?: boolean;
@@ -4210,6 +4244,8 @@ export interface components {
4210
4244
  verdict_source?: "heartbeat" | "owner_test" | "manual" | "webhook" | null;
4211
4245
  verified?: boolean;
4212
4246
  verified_badges?: components["schemas"]["VerificationBadge"][];
4247
+ /** @description Owner/admin-only comparisons from one source run. Exact badge-scope rows allow Legacy or Strict Spec selection; Sandbox remains preview-only. Empty for other viewers. Reading never contacts the agent. */
4248
+ grading_profile_comparisons?: components["schemas"]["GradingProfileComparison"][];
4213
4249
  };
4214
4250
  PublicComplianceNotice: {
4215
4251
  severity: string;
@@ -4229,12 +4265,196 @@ export interface components {
4229
4265
  verified_at: string;
4230
4266
  /** @description Specialisms demonstrably passed (enums/specialism.json). Preview specialisms are excluded from stable badges. */
4231
4267
  verified_specialisms: ("audience-sync" | "brand-rights" | "buyer-activation" | "buyer-discovery" | "buyer-monitoring" | "buyer-negotiation" | "buyer-recovery" | "collection-lists" | "content-standards" | "creative-ad-server" | "creative-generative" | "creative-template" | "creative-transformers" | "governance-aware-seller" | "governance-delivery-monitor" | "governance-spend-authority" | "property-lists" | "sales-broadcast-tv" | "sales-catalog-driven" | "sales-dooh" | "sales-guaranteed" | "sales-non-guaranteed" | "sales-proposal-mode" | "sales-social" | "signal-marketplace" | "orchestrator-multi-agent" | "signal-owned" | "signed-requests" | "sponsored-intelligence")[];
4232
- /** @description Verification axes earned. 'spec' = AdCP storyboards pass for the declared specialisms. 'live' = AAO has observed real production traffic via canonical campaigns. Always non-empty when a badge is present; an absent badge is conveyed by the parent record being omitted, not by an empty array. */
4268
+ /** @description Evidence modes earned. 'spec' = AdCP storyboards were exercised; 'live' = production traffic was observed. Independent of grading_profile and always non-empty when a badge is present. */
4233
4269
  verification_modes: ("spec" | "live")[];
4270
+ /**
4271
+ * @description Grading profile that produced the public badge. 'spec' means Strict Spec grading; this is independent of the 'spec' evidence mode.
4272
+ * @enum {string}
4273
+ */
4274
+ grading_profile: "legacy" | "spec";
4275
+ grading_profile_revision?: number;
4276
+ /**
4277
+ * Format: date-time
4278
+ * @description Start of the current Strict Spec failure episode. Null when no Strict Spec failure clock is active.
4279
+ */
4280
+ first_failing_spec_at?: string | null;
4234
4281
  verified_protocol_version: string | null;
4235
4282
  /** @description Legacy URL — auto-upgrades to the highest active version. For version-pinned embedding, derive `/api/registry/agents/{encoded_url}/badge/{role}/{adcp_version}.svg` where `{encoded_url}` is `encodeURIComponent(agent_url)`. */
4236
4283
  badge_url?: string;
4237
4284
  };
4285
+ GradingProfileComparison: {
4286
+ role?: components["schemas"]["BadgeRole"];
4287
+ adcp_version?: string;
4288
+ /** @enum {string} */
4289
+ availability: "current" | "stale" | "pending" | "temporarily_unavailable";
4290
+ unavailable_reason: string | null;
4291
+ /** @enum {string} */
4292
+ selected_profile: "legacy" | "spec";
4293
+ selection_enabled: boolean;
4294
+ selection_revision?: number;
4295
+ /** Format: date-time */
4296
+ first_failing_spec_at?: string | null;
4297
+ /** Format: date-time */
4298
+ legacy_selection_allowed_until?: string | null;
4299
+ /** Format: uuid */
4300
+ source_run_id?: string;
4301
+ evaluator_policy_version?: string;
4302
+ requested_compliance_target?: string | null;
4303
+ compliance_bundle_version: string | null;
4304
+ /** Format: date-time */
4305
+ assessed_at?: string | null;
4306
+ /** Format: date-time */
4307
+ source_tested_at?: string | null;
4308
+ stale?: boolean;
4309
+ incomplete?: boolean;
4310
+ public_impact?: string;
4311
+ profiles: {
4312
+ legacy: {
4313
+ available: boolean;
4314
+ /** @enum {string|null} */
4315
+ status: "passing" | "partial" | "failing" | null;
4316
+ /** @enum {string|null} */
4317
+ observed_status: "passing" | "partial" | "failing" | null;
4318
+ explanation: string;
4319
+ /** Format: uuid */
4320
+ assessment_id?: string;
4321
+ selectable?: boolean;
4322
+ /** @enum {string} */
4323
+ public_effect?: "unchanged" | "issue" | "restore" | "regrade" | "degrade" | "revoke";
4324
+ /** Format: date-time */
4325
+ grace_deadline?: string | null;
4326
+ };
4327
+ spec: {
4328
+ available: boolean;
4329
+ /** @enum {string|null} */
4330
+ status: "passing" | "partial" | "failing" | null;
4331
+ /** @enum {string|null} */
4332
+ observed_status: "passing" | "partial" | "failing" | null;
4333
+ explanation: string;
4334
+ /** Format: uuid */
4335
+ assessment_id?: string;
4336
+ selectable?: boolean;
4337
+ /** @enum {string} */
4338
+ public_effect?: "unchanged" | "issue" | "restore" | "regrade" | "degrade" | "revoke";
4339
+ /** Format: date-time */
4340
+ grace_deadline?: string | null;
4341
+ };
4342
+ sandbox: {
4343
+ available: boolean;
4344
+ /** @enum {string|null} */
4345
+ status: "passing" | "partial" | "failing" | null;
4346
+ /** @enum {string|null} */
4347
+ observed_status: "passing" | "partial" | "failing" | null;
4348
+ explanation: string;
4349
+ /** Format: uuid */
4350
+ assessment_id?: string;
4351
+ selectable?: boolean;
4352
+ /** @enum {string} */
4353
+ public_effect?: "unchanged" | "issue" | "restore" | "regrade" | "degrade" | "revoke";
4354
+ /** Format: date-time */
4355
+ grace_deadline?: string | null;
4356
+ };
4357
+ } | null;
4358
+ /** @enum {string} */
4359
+ scope: "agent";
4360
+ evidence?: {
4361
+ run_complete: boolean;
4362
+ bundle_evidence_present: boolean;
4363
+ selected_storyboard_count: number;
4364
+ controller_gap_phase_count: number;
4365
+ observed_failure_count: number;
4366
+ flat_failure_count: number;
4367
+ unattributed_failure_count: number;
4368
+ sandbox_unresolved_bundle_count: number;
4369
+ };
4370
+ } | {
4371
+ role: components["schemas"]["BadgeRole"];
4372
+ adcp_version: string;
4373
+ /** @enum {string} */
4374
+ availability: "current" | "stale" | "pending" | "temporarily_unavailable";
4375
+ unavailable_reason: string | null;
4376
+ /** @enum {string} */
4377
+ selected_profile: "legacy" | "spec";
4378
+ selection_enabled: boolean;
4379
+ selection_revision?: number;
4380
+ /** Format: date-time */
4381
+ first_failing_spec_at?: string | null;
4382
+ /** Format: date-time */
4383
+ legacy_selection_allowed_until?: string | null;
4384
+ /** Format: uuid */
4385
+ source_run_id: string;
4386
+ evaluator_policy_version: string;
4387
+ requested_compliance_target?: string | null;
4388
+ compliance_bundle_version: string;
4389
+ /** Format: date-time */
4390
+ assessed_at?: string | null;
4391
+ /** Format: date-time */
4392
+ source_tested_at?: string | null;
4393
+ stale?: boolean;
4394
+ incomplete?: boolean;
4395
+ public_impact?: string;
4396
+ profiles: {
4397
+ legacy: {
4398
+ available: boolean;
4399
+ /** @enum {string|null} */
4400
+ status: "passing" | "partial" | "failing" | null;
4401
+ /** @enum {string|null} */
4402
+ observed_status: "passing" | "partial" | "failing" | null;
4403
+ explanation: string;
4404
+ /** Format: uuid */
4405
+ assessment_id?: string;
4406
+ selectable?: boolean;
4407
+ /** @enum {string} */
4408
+ public_effect?: "unchanged" | "issue" | "restore" | "regrade" | "degrade" | "revoke";
4409
+ /** Format: date-time */
4410
+ grace_deadline?: string | null;
4411
+ };
4412
+ spec: {
4413
+ available: boolean;
4414
+ /** @enum {string|null} */
4415
+ status: "passing" | "partial" | "failing" | null;
4416
+ /** @enum {string|null} */
4417
+ observed_status: "passing" | "partial" | "failing" | null;
4418
+ explanation: string;
4419
+ /** Format: uuid */
4420
+ assessment_id?: string;
4421
+ selectable?: boolean;
4422
+ /** @enum {string} */
4423
+ public_effect?: "unchanged" | "issue" | "restore" | "regrade" | "degrade" | "revoke";
4424
+ /** Format: date-time */
4425
+ grace_deadline?: string | null;
4426
+ };
4427
+ sandbox: {
4428
+ available: boolean;
4429
+ /** @enum {string|null} */
4430
+ status: "passing" | "partial" | "failing" | null;
4431
+ /** @enum {string|null} */
4432
+ observed_status: "passing" | "partial" | "failing" | null;
4433
+ explanation: string;
4434
+ /** Format: uuid */
4435
+ assessment_id?: string;
4436
+ selectable?: boolean;
4437
+ /** @enum {string} */
4438
+ public_effect?: "unchanged" | "issue" | "restore" | "regrade" | "degrade" | "revoke";
4439
+ /** Format: date-time */
4440
+ grace_deadline?: string | null;
4441
+ };
4442
+ } | null;
4443
+ /** @enum {string} */
4444
+ scope: "badge";
4445
+ evidence: {
4446
+ specialisms: string[];
4447
+ relevant_bundle_count: number;
4448
+ relevant_bundle_ids: string[];
4449
+ failing_bundle_count: number;
4450
+ incomplete_bundle_count: number;
4451
+ relevant_failure_count: number;
4452
+ missing_universal_bundle: boolean;
4453
+ missing_protocol_bundle: boolean;
4454
+ missing_specialism_bundles: string[];
4455
+ evaluator: string;
4456
+ };
4457
+ };
4238
4458
  AgentVerification: {
4239
4459
  agent_url: string;
4240
4460
  verified: boolean;
@@ -6233,7 +6453,7 @@ export interface operations {
6233
6453
  };
6234
6454
  };
6235
6455
  };
6236
- /** @description Publisher crawl is temporarily busy */
6456
+ /** @description Publisher crawl is temporarily busy, or administrator authorization could not be checked */
6237
6457
  503: {
6238
6458
  headers: {
6239
6459
  /** @description Seconds to wait before retrying */
@@ -6242,6 +6462,10 @@ export interface operations {
6242
6462
  };
6243
6463
  content: {
6244
6464
  "application/json": {
6465
+ /** @enum {string} */
6466
+ error: "admin_authorization_unavailable";
6467
+ message: string;
6468
+ } | {
6245
6469
  error: string;
6246
6470
  /** @enum {string} */
6247
6471
  code: "publisher_crawl_busy";
@@ -6338,6 +6562,20 @@ export interface operations {
6338
6562
  "application/json": components["schemas"]["Error"];
6339
6563
  };
6340
6564
  };
6565
+ /** @description Administrator authorization could not be checked */
6566
+ 503: {
6567
+ headers: {
6568
+ "Retry-After": string;
6569
+ [name: string]: unknown;
6570
+ };
6571
+ content: {
6572
+ "application/json": {
6573
+ /** @enum {string} */
6574
+ error: "admin_authorization_unavailable";
6575
+ message: string;
6576
+ };
6577
+ };
6578
+ };
6341
6579
  };
6342
6580
  };
6343
6581
  lookupPublisherAgentAuthorization: {
@@ -6477,6 +6715,13 @@ export interface operations {
6477
6715
  };
6478
6716
  content: {
6479
6717
  "application/json": {
6718
+ /**
6719
+ * @description Canonical supply-path evaluator semantics; pinned by the shared supply-path golden vectors.
6720
+ * @enum {string}
6721
+ */
6722
+ semantics_version: "1";
6723
+ /** @description Concrete collection chosen for the complete path, including domain-level inquiries. */
6724
+ resolved_collection_id?: string;
6480
6725
  /** @enum {string} */
6481
6726
  state: "verified_owner_sold" | "host_delegated" | "owner_attested" | "unverified";
6482
6727
  legs: {
@@ -6531,6 +6776,12 @@ export interface operations {
6531
6776
  agent_url: string;
6532
6777
  collection_id?: string;
6533
6778
  sources: {
6779
+ /** Format: date-time */
6780
+ owner_fetched_at: string | null;
6781
+ /** Format: date-time */
6782
+ host_fetched_at: string | null;
6783
+ owner_resolved_url: string | null;
6784
+ host_resolved_url: string | null;
6534
6785
  owner_adagents_url: string;
6535
6786
  host_adagents_url: string;
6536
6787
  /** @description true: manifests came from the registry's crawl cache. Re-derive from the URLs above for enforcement. */
@@ -8466,7 +8717,7 @@ export interface operations {
8466
8717
  "application/json": components["schemas"]["Error"];
8467
8718
  };
8468
8719
  };
8469
- /** @description Crawl status is temporarily unavailable */
8720
+ /** @description Crawl status or administrator authorization is temporarily unavailable */
8470
8721
  503: {
8471
8722
  headers: {
8472
8723
  /** @description Seconds to wait before retrying */
@@ -8475,6 +8726,10 @@ export interface operations {
8475
8726
  };
8476
8727
  content: {
8477
8728
  "application/json": {
8729
+ /** @enum {string} */
8730
+ error: "admin_authorization_unavailable";
8731
+ message: string;
8732
+ } | {
8478
8733
  error: string;
8479
8734
  /** @enum {string} */
8480
8735
  code: "crawl_status_unavailable";
@@ -8657,6 +8912,102 @@ export interface operations {
8657
8912
  };
8658
8913
  };
8659
8914
  };
8915
+ selectAgentGradingProfile: {
8916
+ parameters: {
8917
+ query?: never;
8918
+ header?: never;
8919
+ path: {
8920
+ /** @description URL-encoded agent URL */
8921
+ encodedUrl: string;
8922
+ };
8923
+ cookie?: never;
8924
+ };
8925
+ requestBody: {
8926
+ content: {
8927
+ "application/json": {
8928
+ organization_id: string;
8929
+ role: components["schemas"]["BadgeRole"];
8930
+ adcp_version: string;
8931
+ /** @enum {string} */
8932
+ selected_profile: "legacy" | "spec";
8933
+ /** Format: uuid */
8934
+ assessment_id: string;
8935
+ expected_revision: number;
8936
+ acknowledge_public_impact?: boolean;
8937
+ /** Format: uuid */
8938
+ idempotency_key: string;
8939
+ admin_override_reason?: string;
8940
+ };
8941
+ };
8942
+ };
8943
+ responses: {
8944
+ /** @description Selection committed and audited */
8945
+ 200: {
8946
+ headers: {
8947
+ [name: string]: unknown;
8948
+ };
8949
+ content: {
8950
+ "application/json": {
8951
+ /** @enum {string} */
8952
+ selected_profile: "legacy" | "spec";
8953
+ revision: string;
8954
+ /** @enum {string} */
8955
+ public_effect: "unchanged" | "issue" | "restore" | "regrade" | "degrade" | "revoke";
8956
+ replayed: boolean;
8957
+ /** Format: uuid */
8958
+ source_run_id: string;
8959
+ /** @enum {string} */
8960
+ token_refresh: "completed" | "scheduled";
8961
+ };
8962
+ };
8963
+ };
8964
+ /** @description Invalid request */
8965
+ 400: {
8966
+ headers: {
8967
+ [name: string]: unknown;
8968
+ };
8969
+ content: {
8970
+ "application/json": components["schemas"]["Error"];
8971
+ };
8972
+ };
8973
+ /** @description Authentication required */
8974
+ 401: {
8975
+ headers: {
8976
+ [name: string]: unknown;
8977
+ };
8978
+ content: {
8979
+ "application/json": components["schemas"]["Error"];
8980
+ };
8981
+ };
8982
+ /** @description Organization owner/admin required */
8983
+ 403: {
8984
+ headers: {
8985
+ [name: string]: unknown;
8986
+ };
8987
+ content: {
8988
+ "application/json": components["schemas"]["Error"];
8989
+ };
8990
+ };
8991
+ /** @description Stale assessment/revision, disabled selection, or impact confirmation required */
8992
+ 409: {
8993
+ headers: {
8994
+ [name: string]: unknown;
8995
+ };
8996
+ content: {
8997
+ "application/json": components["schemas"]["Error"];
8998
+ };
8999
+ };
9000
+ /** @description Server error */
9001
+ 500: {
9002
+ headers: {
9003
+ [name: string]: unknown;
9004
+ };
9005
+ content: {
9006
+ "application/json": components["schemas"]["Error"];
9007
+ };
9008
+ };
9009
+ };
9010
+ };
8660
9011
  getJwks: {
8661
9012
  parameters: {
8662
9013
  query?: never;
@@ -8811,6 +9162,8 @@ export interface operations {
8811
9162
  agent_url: string;
8812
9163
  role: components["schemas"]["BadgeRole"];
8813
9164
  verified: boolean;
9165
+ /** @enum {string} */
9166
+ grading_profile: "legacy" | "spec";
8814
9167
  adcp_version?: string;
8815
9168
  badge_svg_url: string;
8816
9169
  registry_url: string;
@@ -8938,6 +9291,8 @@ export interface operations {
8938
9291
  agent_url: string;
8939
9292
  role: components["schemas"]["BadgeRole"];
8940
9293
  verified: boolean;
9294
+ /** @enum {string} */
9295
+ grading_profile: "legacy" | "spec";
8941
9296
  adcp_version: string;
8942
9297
  badge_svg_url: string;
8943
9298
  registry_url: string;
@@ -9889,13 +10244,22 @@ export interface operations {
9889
10244
  "application/json": components["schemas"]["Error"];
9890
10245
  };
9891
10246
  };
9892
- /** @description Durable refresh queue unavailable or at capacity */
10247
+ /** @description Refresh queue or authorization unavailable. All human submissions are temporarily fenced with refresh_authorization_provenance_required; only static admin API key submissions are supported. */
9893
10248
  503: {
9894
10249
  headers: {
10250
+ "Retry-After": string;
9895
10251
  [name: string]: unknown;
9896
10252
  };
9897
10253
  content: {
9898
- "application/json": components["schemas"]["Error"];
10254
+ "application/json": {
10255
+ /** @enum {string} */
10256
+ error: "admin_authorization_unavailable";
10257
+ message: string;
10258
+ } | {
10259
+ error: string;
10260
+ code: string;
10261
+ retry_after: number;
10262
+ };
9899
10263
  };
9900
10264
  };
9901
10265
  };
@@ -9989,13 +10353,17 @@ export interface operations {
9989
10353
  };
9990
10354
  };
9991
10355
  };
9992
- /** @description Refresh status temporarily unavailable */
10356
+ /** @description Refresh status or administrator authorization temporarily unavailable */
9993
10357
  503: {
9994
10358
  headers: {
9995
10359
  [name: string]: unknown;
9996
10360
  };
9997
10361
  content: {
9998
- "application/json": components["schemas"]["Error"];
10362
+ "application/json": {
10363
+ /** @enum {string} */
10364
+ error: "admin_authorization_unavailable";
10365
+ message: string;
10366
+ } | components["schemas"]["Error"];
9999
10367
  };
10000
10368
  };
10001
10369
  };
@@ -2,3 +2,4 @@ export declare function isReportingControlTotals(value: unknown): boolean;
2
2
  export declare function isReportingCanonicalDigest(value: unknown): boolean;
3
3
  export declare function isReportingVerificationEvidence(value: unknown): boolean;
4
4
  export declare function isReportingReceiptEvidence(value: unknown): boolean;
5
+ export declare function isReportingAdjustmentReceiptEvidence(value: unknown): boolean;
@@ -2,3 +2,4 @@ export declare function isReportingControlTotals(value: unknown): boolean;
2
2
  export declare function isReportingCanonicalDigest(value: unknown): boolean;
3
3
  export declare function isReportingVerificationEvidence(value: unknown): boolean;
4
4
  export declare function isReportingReceiptEvidence(value: unknown): boolean;
5
+ export declare function isReportingAdjustmentReceiptEvidence(value: unknown): boolean;
@@ -18,6 +18,7 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var evidence_exports = {};
20
20
  __export(evidence_exports, {
21
+ isReportingAdjustmentReceiptEvidence: () => isReportingAdjustmentReceiptEvidence,
21
22
  isReportingCanonicalDigest: () => isReportingCanonicalDigest,
22
23
  isReportingControlTotals: () => isReportingControlTotals,
23
24
  isReportingReceiptEvidence: () => isReportingReceiptEvidence,
@@ -101,6 +102,7 @@ function isReportingReceiptEvidence(value) {
101
102
  "observed_manifest_sha256",
102
103
  "observed_native_version_ref",
103
104
  "consumer_commit_ref",
105
+ "supersedes_reporting_receipt_id",
104
106
  "rejection_codes",
105
107
  "received_at"
106
108
  ]
@@ -111,9 +113,10 @@ function isReportingReceiptEvidence(value) {
111
113
  value.reporting_receipt_id,
112
114
  value.reporting_obligation_id,
113
115
  value.reporting_revision_id,
114
- value.reporting_materialization_id
115
- ];
116
- if (!ids.every((id) => typeof id === "string" && id.length >= 1 && id.length <= 255 && REPORTING_ID.test(id)) || typeof value.reporting_receipt_id !== "string" || value.reporting_receipt_id.length < 16 || !["accepted", "rejected"].includes(String(value.status)) || !["native_commit", "manifest_checksums", "canonical_digest"].includes(String(value.verification_profile)) || !Number.isSafeInteger(value.observed_row_count) || Number(value.observed_row_count) < 0 || !isReportingControlTotals(value.observed_control_totals) || !isOffsetDateTime(value.observed_at) || value.received_at !== void 0 && !isOffsetDateTime(value.received_at) || value.observed_canonical_content_digest !== void 0 && !isReportingCanonicalDigest(value.observed_canonical_content_digest) || value.observed_manifest_sha256 !== void 0 && (typeof value.observed_manifest_sha256 !== "string" || !SHA256_HEX.test(value.observed_manifest_sha256)) || value.observed_native_version_ref !== void 0 && (typeof value.observed_native_version_ref !== "string" || value.observed_native_version_ref.length < 1 || value.observed_native_version_ref.length > 512) || value.consumer_commit_ref !== void 0 && (typeof value.consumer_commit_ref !== "string" || value.consumer_commit_ref.length < 1 || value.consumer_commit_ref.length > 512)) {
116
+ value.reporting_materialization_id,
117
+ value.supersedes_reporting_receipt_id
118
+ ].filter((id) => id !== void 0);
119
+ if (!ids.every((id) => typeof id === "string" && id.length >= 1 && id.length <= 255 && REPORTING_ID.test(id)) || typeof value.reporting_receipt_id !== "string" || value.reporting_receipt_id.length < 16 || value.supersedes_reporting_receipt_id !== void 0 && (typeof value.supersedes_reporting_receipt_id !== "string" || value.supersedes_reporting_receipt_id.length < 16) || !["accepted", "rejected"].includes(String(value.status)) || !["native_commit", "manifest_checksums", "canonical_digest"].includes(String(value.verification_profile)) || !Number.isSafeInteger(value.observed_row_count) || Number(value.observed_row_count) < 0 || !isReportingControlTotals(value.observed_control_totals) || !isOffsetDateTime(value.observed_at) || value.received_at !== void 0 && !isOffsetDateTime(value.received_at) || value.observed_canonical_content_digest !== void 0 && !isReportingCanonicalDigest(value.observed_canonical_content_digest) || value.observed_manifest_sha256 !== void 0 && (typeof value.observed_manifest_sha256 !== "string" || !SHA256_HEX.test(value.observed_manifest_sha256)) || value.observed_native_version_ref !== void 0 && (typeof value.observed_native_version_ref !== "string" || value.observed_native_version_ref.length < 1 || value.observed_native_version_ref.length > 512) || value.consumer_commit_ref !== void 0 && (typeof value.consumer_commit_ref !== "string" || value.consumer_commit_ref.length < 1 || value.consumer_commit_ref.length > 512)) {
117
120
  return false;
118
121
  }
119
122
  if (value.status === "rejected") {
@@ -127,8 +130,34 @@ function isReportingReceiptEvidence(value) {
127
130
  }
128
131
  return typeof value.observed_native_version_ref === "string" && value.observed_native_version_ref.length >= 1 && value.observed_native_version_ref.length <= 512;
129
132
  }
133
+ function isReportingAdjustmentReceiptEvidence(value) {
134
+ if (!isRecord(value) || !hasExactKeys(
135
+ value,
136
+ [
137
+ "reporting_receipt_id",
138
+ "reporting_adjustment_id",
139
+ "adjusts_reporting_revision_id",
140
+ "status",
141
+ "observed_adjustment_sha256",
142
+ "observed_at"
143
+ ],
144
+ ["supersedes_reporting_receipt_id", "rejection_codes", "received_at"]
145
+ )) {
146
+ return false;
147
+ }
148
+ const receiptIds = [value.reporting_receipt_id, value.supersedes_reporting_receipt_id].filter(
149
+ (candidate) => candidate !== void 0
150
+ );
151
+ const subjectIds = [value.reporting_adjustment_id, value.adjusts_reporting_revision_id];
152
+ if (!receiptIds.every((id) => typeof id === "string" && id.length >= 16 && id.length <= 255 && REPORTING_ID.test(id)) || !subjectIds.every((id) => typeof id === "string" && id.length >= 1 && id.length <= 255 && REPORTING_ID.test(id)) || !["accepted", "rejected"].includes(String(value.status)) || typeof value.observed_adjustment_sha256 !== "string" || !SHA256_HEX.test(value.observed_adjustment_sha256) || !isOffsetDateTime(value.observed_at) || value.received_at !== void 0 && !isOffsetDateTime(value.received_at)) {
153
+ return false;
154
+ }
155
+ if (value.status === "accepted") return value.rejection_codes === void 0;
156
+ return Array.isArray(value.rejection_codes) && value.rejection_codes.length > 0 && new Set(value.rejection_codes).size === value.rejection_codes.length && value.rejection_codes.every((code) => typeof code === "string" && /^[A-Z][A-Z0-9_]{0,127}$/.test(code));
157
+ }
130
158
  // Annotate the CommonJS export names for ESM import in node:
131
159
  0 && (module.exports = {
160
+ isReportingAdjustmentReceiptEvidence,
132
161
  isReportingCanonicalDigest,
133
162
  isReportingControlTotals,
134
163
  isReportingReceiptEvidence,
@@ -75,6 +75,7 @@ function isReportingReceiptEvidence(value) {
75
75
  "observed_manifest_sha256",
76
76
  "observed_native_version_ref",
77
77
  "consumer_commit_ref",
78
+ "supersedes_reporting_receipt_id",
78
79
  "rejection_codes",
79
80
  "received_at"
80
81
  ]
@@ -85,9 +86,10 @@ function isReportingReceiptEvidence(value) {
85
86
  value.reporting_receipt_id,
86
87
  value.reporting_obligation_id,
87
88
  value.reporting_revision_id,
88
- value.reporting_materialization_id
89
- ];
90
- if (!ids.every((id) => typeof id === "string" && id.length >= 1 && id.length <= 255 && REPORTING_ID.test(id)) || typeof value.reporting_receipt_id !== "string" || value.reporting_receipt_id.length < 16 || !["accepted", "rejected"].includes(String(value.status)) || !["native_commit", "manifest_checksums", "canonical_digest"].includes(String(value.verification_profile)) || !Number.isSafeInteger(value.observed_row_count) || Number(value.observed_row_count) < 0 || !isReportingControlTotals(value.observed_control_totals) || !isOffsetDateTime(value.observed_at) || value.received_at !== void 0 && !isOffsetDateTime(value.received_at) || value.observed_canonical_content_digest !== void 0 && !isReportingCanonicalDigest(value.observed_canonical_content_digest) || value.observed_manifest_sha256 !== void 0 && (typeof value.observed_manifest_sha256 !== "string" || !SHA256_HEX.test(value.observed_manifest_sha256)) || value.observed_native_version_ref !== void 0 && (typeof value.observed_native_version_ref !== "string" || value.observed_native_version_ref.length < 1 || value.observed_native_version_ref.length > 512) || value.consumer_commit_ref !== void 0 && (typeof value.consumer_commit_ref !== "string" || value.consumer_commit_ref.length < 1 || value.consumer_commit_ref.length > 512)) {
89
+ value.reporting_materialization_id,
90
+ value.supersedes_reporting_receipt_id
91
+ ].filter((id) => id !== void 0);
92
+ if (!ids.every((id) => typeof id === "string" && id.length >= 1 && id.length <= 255 && REPORTING_ID.test(id)) || typeof value.reporting_receipt_id !== "string" || value.reporting_receipt_id.length < 16 || value.supersedes_reporting_receipt_id !== void 0 && (typeof value.supersedes_reporting_receipt_id !== "string" || value.supersedes_reporting_receipt_id.length < 16) || !["accepted", "rejected"].includes(String(value.status)) || !["native_commit", "manifest_checksums", "canonical_digest"].includes(String(value.verification_profile)) || !Number.isSafeInteger(value.observed_row_count) || Number(value.observed_row_count) < 0 || !isReportingControlTotals(value.observed_control_totals) || !isOffsetDateTime(value.observed_at) || value.received_at !== void 0 && !isOffsetDateTime(value.received_at) || value.observed_canonical_content_digest !== void 0 && !isReportingCanonicalDigest(value.observed_canonical_content_digest) || value.observed_manifest_sha256 !== void 0 && (typeof value.observed_manifest_sha256 !== "string" || !SHA256_HEX.test(value.observed_manifest_sha256)) || value.observed_native_version_ref !== void 0 && (typeof value.observed_native_version_ref !== "string" || value.observed_native_version_ref.length < 1 || value.observed_native_version_ref.length > 512) || value.consumer_commit_ref !== void 0 && (typeof value.consumer_commit_ref !== "string" || value.consumer_commit_ref.length < 1 || value.consumer_commit_ref.length > 512)) {
91
93
  return false;
92
94
  }
93
95
  if (value.status === "rejected") {
@@ -101,7 +103,33 @@ function isReportingReceiptEvidence(value) {
101
103
  }
102
104
  return typeof value.observed_native_version_ref === "string" && value.observed_native_version_ref.length >= 1 && value.observed_native_version_ref.length <= 512;
103
105
  }
106
+ function isReportingAdjustmentReceiptEvidence(value) {
107
+ if (!isRecord(value) || !hasExactKeys(
108
+ value,
109
+ [
110
+ "reporting_receipt_id",
111
+ "reporting_adjustment_id",
112
+ "adjusts_reporting_revision_id",
113
+ "status",
114
+ "observed_adjustment_sha256",
115
+ "observed_at"
116
+ ],
117
+ ["supersedes_reporting_receipt_id", "rejection_codes", "received_at"]
118
+ )) {
119
+ return false;
120
+ }
121
+ const receiptIds = [value.reporting_receipt_id, value.supersedes_reporting_receipt_id].filter(
122
+ (candidate) => candidate !== void 0
123
+ );
124
+ const subjectIds = [value.reporting_adjustment_id, value.adjusts_reporting_revision_id];
125
+ if (!receiptIds.every((id) => typeof id === "string" && id.length >= 16 && id.length <= 255 && REPORTING_ID.test(id)) || !subjectIds.every((id) => typeof id === "string" && id.length >= 1 && id.length <= 255 && REPORTING_ID.test(id)) || !["accepted", "rejected"].includes(String(value.status)) || typeof value.observed_adjustment_sha256 !== "string" || !SHA256_HEX.test(value.observed_adjustment_sha256) || !isOffsetDateTime(value.observed_at) || value.received_at !== void 0 && !isOffsetDateTime(value.received_at)) {
126
+ return false;
127
+ }
128
+ if (value.status === "accepted") return value.rejection_codes === void 0;
129
+ return Array.isArray(value.rejection_codes) && value.rejection_codes.length > 0 && new Set(value.rejection_codes).size === value.rejection_codes.length && value.rejection_codes.every((code) => typeof code === "string" && /^[A-Z][A-Z0-9_]{0,127}$/.test(code));
130
+ }
104
131
  export {
132
+ isReportingAdjustmentReceiptEvidence,
105
133
  isReportingCanonicalDigest,
106
134
  isReportingControlTotals,
107
135
  isReportingReceiptEvidence,