@adcp/sdk 6.6.0 → 6.8.0

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 (1218) hide show
  1. package/ADCP_VERSION +1 -1
  2. package/AGENTS.md +4 -0
  3. package/README.md +29 -16
  4. package/bin/adcp-resolve.js +166 -0
  5. package/bin/adcp.js +462 -11
  6. package/compliance/cache/{3.0.1 → 3.0.5}/index.json +2 -2
  7. package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/audience-sync/index.yaml +1 -1
  8. package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/brand-rights/index.yaml +3 -3
  9. package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/sales-social/index.yaml +7 -0
  10. package/compliance/cache/{3.0.1 → 3.0.5}/universal/runner-output-contract.yaml +23 -4
  11. package/compliance/cache/{3.0.1 → 3.0.5}/universal/storyboard-schema.yaml +106 -1
  12. package/compliance/cache/{3.0.1 → 3.0.5}/universal/v3-envelope-integrity.yaml +4 -2
  13. package/dist/lib/adapters/derived-account-store.d.ts +152 -0
  14. package/dist/lib/adapters/derived-account-store.d.ts.map +1 -0
  15. package/dist/lib/adapters/derived-account-store.js +135 -0
  16. package/dist/lib/adapters/derived-account-store.js.map +1 -0
  17. package/dist/lib/adapters/implicit-account-store.d.ts +172 -0
  18. package/dist/lib/adapters/implicit-account-store.d.ts.map +1 -0
  19. package/dist/lib/adapters/implicit-account-store.js +315 -0
  20. package/dist/lib/adapters/implicit-account-store.js.map +1 -0
  21. package/dist/lib/adapters/index.d.ts +5 -0
  22. package/dist/lib/adapters/index.d.ts.map +1 -1
  23. package/dist/lib/adapters/index.js +25 -1
  24. package/dist/lib/adapters/index.js.map +1 -1
  25. package/dist/lib/adapters/oauth-passthrough-resolver.d.ts +193 -0
  26. package/dist/lib/adapters/oauth-passthrough-resolver.d.ts.map +1 -0
  27. package/dist/lib/adapters/oauth-passthrough-resolver.js +180 -0
  28. package/dist/lib/adapters/oauth-passthrough-resolver.js.map +1 -0
  29. package/dist/lib/adapters/roster-account-store.d.ts +282 -0
  30. package/dist/lib/adapters/roster-account-store.d.ts.map +1 -0
  31. package/dist/lib/adapters/roster-account-store.js +216 -0
  32. package/dist/lib/adapters/roster-account-store.js.map +1 -0
  33. package/dist/lib/auth/oauth/ClientCredentialsFlow.d.ts.map +1 -1
  34. package/dist/lib/auth/oauth/ClientCredentialsFlow.js +5 -1
  35. package/dist/lib/auth/oauth/ClientCredentialsFlow.js.map +1 -1
  36. package/dist/lib/auth/oauth/discovery.d.ts.map +1 -1
  37. package/dist/lib/auth/oauth/discovery.js +6 -1
  38. package/dist/lib/auth/oauth/discovery.js.map +1 -1
  39. package/dist/lib/core/AgentClient.d.ts.map +1 -1
  40. package/dist/lib/core/SingleAgentClient.d.ts +22 -0
  41. package/dist/lib/core/SingleAgentClient.d.ts.map +1 -1
  42. package/dist/lib/core/SingleAgentClient.js +86 -23
  43. package/dist/lib/core/SingleAgentClient.js.map +1 -1
  44. package/dist/lib/index.d.ts +4 -4
  45. package/dist/lib/index.d.ts.map +1 -1
  46. package/dist/lib/index.js +27 -7
  47. package/dist/lib/index.js.map +1 -1
  48. package/dist/lib/mock-server/creative-ad-server/seed-data.d.ts +81 -0
  49. package/dist/lib/mock-server/creative-ad-server/seed-data.d.ts.map +1 -0
  50. package/dist/lib/mock-server/creative-ad-server/seed-data.js +200 -0
  51. package/dist/lib/mock-server/creative-ad-server/seed-data.js.map +1 -0
  52. package/dist/lib/mock-server/creative-ad-server/server.d.ts +39 -0
  53. package/dist/lib/mock-server/creative-ad-server/server.d.ts.map +1 -0
  54. package/dist/lib/mock-server/creative-ad-server/server.js +618 -0
  55. package/dist/lib/mock-server/creative-ad-server/server.js.map +1 -0
  56. package/dist/lib/mock-server/creative-template/server.d.ts.map +1 -1
  57. package/dist/lib/mock-server/creative-template/server.js +54 -9
  58. package/dist/lib/mock-server/creative-template/server.js.map +1 -1
  59. package/dist/lib/mock-server/index.d.ts +27 -1
  60. package/dist/lib/mock-server/index.d.ts.map +1 -1
  61. package/dist/lib/mock-server/index.js +289 -15
  62. package/dist/lib/mock-server/index.js.map +1 -1
  63. package/dist/lib/mock-server/sales-guaranteed/seed-data.d.ts +46 -0
  64. package/dist/lib/mock-server/sales-guaranteed/seed-data.d.ts.map +1 -0
  65. package/dist/lib/mock-server/sales-guaranteed/seed-data.js +167 -0
  66. package/dist/lib/mock-server/sales-guaranteed/seed-data.js.map +1 -0
  67. package/dist/lib/mock-server/sales-guaranteed/server.d.ts +14 -0
  68. package/dist/lib/mock-server/sales-guaranteed/server.d.ts.map +1 -0
  69. package/dist/lib/mock-server/sales-guaranteed/server.js +893 -0
  70. package/dist/lib/mock-server/sales-guaranteed/server.js.map +1 -0
  71. package/dist/lib/mock-server/sales-non-guaranteed/seed-data.d.ts +66 -0
  72. package/dist/lib/mock-server/sales-non-guaranteed/seed-data.d.ts.map +1 -0
  73. package/dist/lib/mock-server/sales-non-guaranteed/seed-data.js +193 -0
  74. package/dist/lib/mock-server/sales-non-guaranteed/seed-data.js.map +1 -0
  75. package/dist/lib/mock-server/sales-non-guaranteed/server.d.ts +33 -0
  76. package/dist/lib/mock-server/sales-non-guaranteed/server.d.ts.map +1 -0
  77. package/dist/lib/mock-server/sales-non-guaranteed/server.js +782 -0
  78. package/dist/lib/mock-server/sales-non-guaranteed/server.js.map +1 -0
  79. package/dist/lib/mock-server/sales-social/seed-data.d.ts +34 -0
  80. package/dist/lib/mock-server/sales-social/seed-data.d.ts.map +1 -0
  81. package/dist/lib/mock-server/sales-social/seed-data.js +42 -0
  82. package/dist/lib/mock-server/sales-social/seed-data.js.map +1 -0
  83. package/dist/lib/mock-server/sales-social/server.d.ts +17 -0
  84. package/dist/lib/mock-server/sales-social/server.d.ts.map +1 -0
  85. package/dist/lib/mock-server/sales-social/server.js +1219 -0
  86. package/dist/lib/mock-server/sales-social/server.js.map +1 -0
  87. package/dist/lib/mock-server/signal-marketplace/server.d.ts.map +1 -1
  88. package/dist/lib/mock-server/signal-marketplace/server.js +58 -9
  89. package/dist/lib/mock-server/signal-marketplace/server.js.map +1 -1
  90. package/dist/lib/mock-server/sponsored-intelligence/seed-data.d.ts +50 -0
  91. package/dist/lib/mock-server/sponsored-intelligence/seed-data.d.ts.map +1 -0
  92. package/dist/lib/mock-server/sponsored-intelligence/seed-data.js +133 -0
  93. package/dist/lib/mock-server/sponsored-intelligence/seed-data.js.map +1 -0
  94. package/dist/lib/mock-server/sponsored-intelligence/server.d.ts +13 -0
  95. package/dist/lib/mock-server/sponsored-intelligence/server.d.ts.map +1 -0
  96. package/dist/lib/mock-server/sponsored-intelligence/server.js +609 -0
  97. package/dist/lib/mock-server/sponsored-intelligence/server.js.map +1 -0
  98. package/dist/lib/protocols/mcp.d.ts +4 -4
  99. package/dist/lib/protocols/mcp.d.ts.map +1 -1
  100. package/dist/lib/protocols/mcp.js +20 -54
  101. package/dist/lib/protocols/mcp.js.map +1 -1
  102. package/dist/lib/schemas-data/3.0/a2ui/bound-value.json +1 -1
  103. package/dist/lib/schemas-data/3.0/a2ui/component.json +1 -1
  104. package/dist/lib/schemas-data/3.0/a2ui/si-catalog.json +25 -25
  105. package/dist/lib/schemas-data/3.0/a2ui/surface.json +2 -2
  106. package/dist/lib/schemas-data/3.0/a2ui/user-action.json +1 -1
  107. package/dist/lib/schemas-data/3.0/account/get-account-financials-request.json +5 -5
  108. package/dist/lib/schemas-data/3.0/account/get-account-financials-response.json +10 -10
  109. package/dist/lib/schemas-data/3.0/account/list-accounts-request.json +4 -4
  110. package/dist/lib/schemas-data/3.0/account/list-accounts-response.json +6 -6
  111. package/dist/lib/schemas-data/3.0/account/report-usage-request.json +5 -5
  112. package/dist/lib/schemas-data/3.0/account/report-usage-response.json +4 -4
  113. package/dist/lib/schemas-data/3.0/account/sync-accounts-request.json +9 -9
  114. package/dist/lib/schemas-data/3.0/account/sync-accounts-response.json +12 -12
  115. package/dist/lib/schemas-data/3.0/account/sync-governance-request.json +5 -5
  116. package/dist/lib/schemas-data/3.0/account/sync-governance-response.json +8 -8
  117. package/dist/lib/schemas-data/3.0/adagents.json +32 -32
  118. package/dist/lib/schemas-data/3.0/brand/acquire-rights-request.json +8 -8
  119. package/dist/lib/schemas-data/3.0/brand/acquire-rights-response.json +14 -14
  120. package/dist/lib/schemas-data/3.0/brand/creative-approval-request.json +4 -4
  121. package/dist/lib/schemas-data/3.0/brand/creative-approval-response.json +10 -10
  122. package/dist/lib/schemas-data/3.0/brand/get-brand-identity-request.json +3 -3
  123. package/dist/lib/schemas-data/3.0/brand/get-brand-identity-response.json +8 -8
  124. package/dist/lib/schemas-data/3.0/brand/get-rights-request.json +7 -7
  125. package/dist/lib/schemas-data/3.0/brand/get-rights-response.json +9 -9
  126. package/dist/lib/schemas-data/3.0/brand/revocation-notification.json +4 -4
  127. package/dist/lib/schemas-data/3.0/brand/rights-pricing-option.json +5 -5
  128. package/dist/lib/schemas-data/3.0/brand/rights-terms.json +3 -3
  129. package/dist/lib/schemas-data/3.0/brand/update-rights-request.json +4 -4
  130. package/dist/lib/schemas-data/3.0/brand/update-rights-response.json +9 -9
  131. package/dist/lib/schemas-data/3.0/brand.json +14 -14
  132. package/dist/lib/schemas-data/3.0/bundled/content-standards/calibrate-content-request.json +2 -2
  133. package/dist/lib/schemas-data/3.0/bundled/content-standards/calibrate-content-response.json +35 -4
  134. package/dist/lib/schemas-data/3.0/bundled/content-standards/create-content-standards-request.json +2 -2
  135. package/dist/lib/schemas-data/3.0/bundled/content-standards/create-content-standards-response.json +35 -4
  136. package/dist/lib/schemas-data/3.0/bundled/content-standards/get-content-standards-request.json +2 -2
  137. package/dist/lib/schemas-data/3.0/bundled/content-standards/get-content-standards-response.json +35 -4
  138. package/dist/lib/schemas-data/3.0/bundled/content-standards/get-media-buy-artifacts-request.json +2 -2
  139. package/dist/lib/schemas-data/3.0/bundled/content-standards/get-media-buy-artifacts-response.json +35 -4
  140. package/dist/lib/schemas-data/3.0/bundled/content-standards/list-content-standards-request.json +2 -2
  141. package/dist/lib/schemas-data/3.0/bundled/content-standards/list-content-standards-response.json +35 -4
  142. package/dist/lib/schemas-data/3.0/bundled/content-standards/update-content-standards-request.json +2 -2
  143. package/dist/lib/schemas-data/3.0/bundled/content-standards/update-content-standards-response.json +35 -4
  144. package/dist/lib/schemas-data/3.0/bundled/content-standards/validate-content-delivery-request.json +2 -2
  145. package/dist/lib/schemas-data/3.0/bundled/content-standards/validate-content-delivery-response.json +35 -4
  146. package/dist/lib/schemas-data/3.0/bundled/core/tasks-get-request.json +2 -2
  147. package/dist/lib/schemas-data/3.0/bundled/core/tasks-get-response.json +2 -2
  148. package/dist/lib/schemas-data/3.0/bundled/core/tasks-list-request.json +2 -2
  149. package/dist/lib/schemas-data/3.0/bundled/core/tasks-list-response.json +2 -2
  150. package/dist/lib/schemas-data/3.0/bundled/creative/get-creative-delivery-request.json +2 -2
  151. package/dist/lib/schemas-data/3.0/bundled/creative/get-creative-delivery-response.json +40 -6
  152. package/dist/lib/schemas-data/3.0/bundled/creative/get-creative-features-request.json +7 -4
  153. package/dist/lib/schemas-data/3.0/bundled/creative/get-creative-features-response.json +35 -4
  154. package/dist/lib/schemas-data/3.0/bundled/creative/list-creative-formats-request.json +2 -2
  155. package/dist/lib/schemas-data/3.0/bundled/creative/list-creative-formats-response.json +38 -7
  156. package/dist/lib/schemas-data/3.0/bundled/creative/list-creatives-request.json +2 -2
  157. package/dist/lib/schemas-data/3.0/bundled/creative/list-creatives-response.json +40 -6
  158. package/dist/lib/schemas-data/3.0/bundled/creative/preview-creative-request.json +11 -5
  159. package/dist/lib/schemas-data/3.0/bundled/creative/preview-creative-response.json +40 -6
  160. package/dist/lib/schemas-data/3.0/bundled/creative/sync-creatives-request.json +7 -4
  161. package/dist/lib/schemas-data/3.0/bundled/creative/sync-creatives-response.json +101 -8
  162. package/dist/lib/schemas-data/3.0/bundled/media-buy/build-creative-request.json +7 -4
  163. package/dist/lib/schemas-data/3.0/bundled/media-buy/build-creative-response.json +110 -11
  164. package/dist/lib/schemas-data/3.0/bundled/media-buy/create-media-buy-request.json +7 -4
  165. package/dist/lib/schemas-data/3.0/bundled/media-buy/create-media-buy-response.json +68 -6
  166. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-media-buy-delivery-request.json +2 -2
  167. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-media-buy-delivery-response.json +35 -4
  168. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-media-buys-request.json +2 -2
  169. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-media-buys-response.json +35 -4
  170. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-products-request.json +2 -2
  171. package/dist/lib/schemas-data/3.0/bundled/media-buy/get-products-response.json +35 -4
  172. package/dist/lib/schemas-data/3.0/bundled/media-buy/list-creative-formats-request.json +2 -2
  173. package/dist/lib/schemas-data/3.0/bundled/media-buy/list-creative-formats-response.json +38 -7
  174. package/dist/lib/schemas-data/3.0/bundled/media-buy/log-event-request.json +2 -2
  175. package/dist/lib/schemas-data/3.0/bundled/media-buy/log-event-response.json +35 -4
  176. package/dist/lib/schemas-data/3.0/bundled/media-buy/package-request.json +7 -4
  177. package/dist/lib/schemas-data/3.0/bundled/media-buy/provide-performance-feedback-request.json +2 -2
  178. package/dist/lib/schemas-data/3.0/bundled/media-buy/provide-performance-feedback-response.json +35 -4
  179. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-audiences-request.json +2 -2
  180. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-audiences-response.json +68 -6
  181. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-catalogs-request.json +2 -2
  182. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-catalogs-response.json +68 -6
  183. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-event-sources-request.json +2 -2
  184. package/dist/lib/schemas-data/3.0/bundled/media-buy/sync-event-sources-response.json +68 -6
  185. package/dist/lib/schemas-data/3.0/bundled/media-buy/update-media-buy-request.json +11 -5
  186. package/dist/lib/schemas-data/3.0/bundled/media-buy/update-media-buy-response.json +35 -4
  187. package/dist/lib/schemas-data/3.0/bundled/property/create-property-list-request.json +2 -2
  188. package/dist/lib/schemas-data/3.0/bundled/property/create-property-list-response.json +2 -2
  189. package/dist/lib/schemas-data/3.0/bundled/property/delete-property-list-request.json +2 -2
  190. package/dist/lib/schemas-data/3.0/bundled/property/delete-property-list-response.json +2 -2
  191. package/dist/lib/schemas-data/3.0/bundled/property/get-property-list-request.json +2 -2
  192. package/dist/lib/schemas-data/3.0/bundled/property/get-property-list-response.json +2 -2
  193. package/dist/lib/schemas-data/3.0/bundled/property/list-property-lists-request.json +2 -2
  194. package/dist/lib/schemas-data/3.0/bundled/property/list-property-lists-response.json +2 -2
  195. package/dist/lib/schemas-data/3.0/bundled/property/update-property-list-request.json +2 -2
  196. package/dist/lib/schemas-data/3.0/bundled/property/update-property-list-response.json +2 -2
  197. package/dist/lib/schemas-data/3.0/bundled/property/validate-property-delivery-request.json +2 -2
  198. package/dist/lib/schemas-data/3.0/bundled/property/validate-property-delivery-response.json +2 -2
  199. package/dist/lib/schemas-data/3.0/bundled/protocol/get-adcp-capabilities-request.json +2 -2
  200. package/dist/lib/schemas-data/3.0/bundled/protocol/get-adcp-capabilities-response.json +36 -5
  201. package/dist/lib/schemas-data/3.0/bundled/signals/activate-signal-request.json +2 -2
  202. package/dist/lib/schemas-data/3.0/bundled/signals/activate-signal-response.json +35 -4
  203. package/dist/lib/schemas-data/3.0/bundled/signals/get-signals-request.json +2 -2
  204. package/dist/lib/schemas-data/3.0/bundled/signals/get-signals-response.json +35 -4
  205. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-get-offering-request.json +2 -2
  206. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-get-offering-response.json +35 -4
  207. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-initiate-session-request.json +2 -2
  208. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-initiate-session-response.json +35 -4
  209. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-send-message-request.json +2 -2
  210. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-send-message-response.json +35 -4
  211. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-terminate-session-request.json +2 -2
  212. package/dist/lib/schemas-data/3.0/bundled/sponsored-intelligence/si-terminate-session-response.json +35 -4
  213. package/dist/lib/schemas-data/3.0/collection/base-collection-source.json +3 -3
  214. package/dist/lib/schemas-data/3.0/collection/collection-list-changed-webhook.json +2 -2
  215. package/dist/lib/schemas-data/3.0/collection/collection-list-filters.json +7 -7
  216. package/dist/lib/schemas-data/3.0/collection/collection-list.json +5 -5
  217. package/dist/lib/schemas-data/3.0/collection/create-collection-list-request.json +7 -7
  218. package/dist/lib/schemas-data/3.0/collection/create-collection-list-response.json +4 -4
  219. package/dist/lib/schemas-data/3.0/collection/delete-collection-list-request.json +4 -4
  220. package/dist/lib/schemas-data/3.0/collection/delete-collection-list-response.json +3 -3
  221. package/dist/lib/schemas-data/3.0/collection/get-collection-list-request.json +4 -4
  222. package/dist/lib/schemas-data/3.0/collection/get-collection-list-response.json +10 -10
  223. package/dist/lib/schemas-data/3.0/collection/list-collection-lists-request.json +5 -5
  224. package/dist/lib/schemas-data/3.0/collection/list-collection-lists-response.json +5 -5
  225. package/dist/lib/schemas-data/3.0/collection/update-collection-list-request.json +7 -7
  226. package/dist/lib/schemas-data/3.0/collection/update-collection-list-response.json +4 -4
  227. package/dist/lib/schemas-data/3.0/content-standards/artifact-webhook-payload.json +3 -3
  228. package/dist/lib/schemas-data/3.0/content-standards/artifact.json +7 -7
  229. package/dist/lib/schemas-data/3.0/content-standards/calibrate-content-request.json +4 -4
  230. package/dist/lib/schemas-data/3.0/content-standards/calibrate-content-response.json +8 -8
  231. package/dist/lib/schemas-data/3.0/content-standards/content-standards.json +7 -7
  232. package/dist/lib/schemas-data/3.0/content-standards/create-content-standards-request.json +7 -7
  233. package/dist/lib/schemas-data/3.0/content-standards/create-content-standards-response.json +6 -6
  234. package/dist/lib/schemas-data/3.0/content-standards/get-content-standards-request.json +3 -3
  235. package/dist/lib/schemas-data/3.0/content-standards/get-content-standards-response.json +7 -7
  236. package/dist/lib/schemas-data/3.0/content-standards/get-media-buy-artifacts-request.json +4 -4
  237. package/dist/lib/schemas-data/3.0/content-standards/get-media-buy-artifacts-response.json +8 -8
  238. package/dist/lib/schemas-data/3.0/content-standards/list-content-standards-request.json +5 -5
  239. package/dist/lib/schemas-data/3.0/content-standards/list-content-standards-response.json +8 -8
  240. package/dist/lib/schemas-data/3.0/content-standards/update-content-standards-request.json +7 -7
  241. package/dist/lib/schemas-data/3.0/content-standards/update-content-standards-response.json +6 -6
  242. package/dist/lib/schemas-data/3.0/content-standards/validate-content-delivery-request.json +4 -4
  243. package/dist/lib/schemas-data/3.0/content-standards/validate-content-delivery-response.json +8 -8
  244. package/dist/lib/schemas-data/3.0/core/account-ref.json +2 -2
  245. package/dist/lib/schemas-data/3.0/core/account.json +9 -9
  246. package/dist/lib/schemas-data/3.0/core/activation-key.json +1 -1
  247. package/dist/lib/schemas-data/3.0/core/ad-inventory-config.json +1 -1
  248. package/dist/lib/schemas-data/3.0/core/agent-encryption-key.json +1 -1
  249. package/dist/lib/schemas-data/3.0/core/agent-signing-key.json +1 -1
  250. package/dist/lib/schemas-data/3.0/core/app-item.json +4 -4
  251. package/dist/lib/schemas-data/3.0/core/assets/asset-union.json +53 -0
  252. package/dist/lib/schemas-data/3.0/core/assets/audio-asset.json +3 -3
  253. package/dist/lib/schemas-data/3.0/core/assets/brief-asset.json +2 -2
  254. package/dist/lib/schemas-data/3.0/core/assets/catalog-asset.json +2 -2
  255. package/dist/lib/schemas-data/3.0/core/assets/css-asset.json +2 -2
  256. package/dist/lib/schemas-data/3.0/core/assets/daast-asset.json +4 -4
  257. package/dist/lib/schemas-data/3.0/core/assets/html-asset.json +2 -2
  258. package/dist/lib/schemas-data/3.0/core/assets/image-asset.json +2 -2
  259. package/dist/lib/schemas-data/3.0/core/assets/javascript-asset.json +3 -3
  260. package/dist/lib/schemas-data/3.0/core/assets/markdown-asset.json +2 -2
  261. package/dist/lib/schemas-data/3.0/core/assets/text-asset.json +2 -2
  262. package/dist/lib/schemas-data/3.0/core/assets/url-asset.json +6 -5
  263. package/dist/lib/schemas-data/3.0/core/assets/vast-asset.json +4 -4
  264. package/dist/lib/schemas-data/3.0/core/assets/video-asset.json +7 -7
  265. package/dist/lib/schemas-data/3.0/core/assets/webhook-asset.json +7 -7
  266. package/dist/lib/schemas-data/3.0/core/async-response-data.json +25 -25
  267. package/dist/lib/schemas-data/3.0/core/attribution-window.json +4 -4
  268. package/dist/lib/schemas-data/3.0/core/audience-member.json +3 -3
  269. package/dist/lib/schemas-data/3.0/core/audience-selector.json +4 -4
  270. package/dist/lib/schemas-data/3.0/core/brand-id.json +1 -1
  271. package/dist/lib/schemas-data/3.0/core/brand-ref.json +2 -2
  272. package/dist/lib/schemas-data/3.0/core/business-entity.json +2 -2
  273. package/dist/lib/schemas-data/3.0/core/cancellation-policy.json +2 -2
  274. package/dist/lib/schemas-data/3.0/core/catalog-field-mapping.json +2 -2
  275. package/dist/lib/schemas-data/3.0/core/catalog.json +7 -7
  276. package/dist/lib/schemas-data/3.0/core/catchment.json +5 -5
  277. package/dist/lib/schemas-data/3.0/core/collection-distribution.json +2 -2
  278. package/dist/lib/schemas-data/3.0/core/collection-list-ref.json +1 -1
  279. package/dist/lib/schemas-data/3.0/core/collection-selector.json +1 -1
  280. package/dist/lib/schemas-data/3.0/core/collection.json +13 -13
  281. package/dist/lib/schemas-data/3.0/core/content-rating.json +2 -2
  282. package/dist/lib/schemas-data/3.0/core/context.json +1 -1
  283. package/dist/lib/schemas-data/3.0/core/creative-asset.json +6 -52
  284. package/dist/lib/schemas-data/3.0/core/creative-assignment.json +1 -1
  285. package/dist/lib/schemas-data/3.0/core/creative-brief.json +4 -4
  286. package/dist/lib/schemas-data/3.0/core/creative-consumption.json +1 -1
  287. package/dist/lib/schemas-data/3.0/core/creative-filters.json +4 -4
  288. package/dist/lib/schemas-data/3.0/core/creative-item.json +1 -1
  289. package/dist/lib/schemas-data/3.0/core/creative-manifest.json +7 -53
  290. package/dist/lib/schemas-data/3.0/core/creative-policy.json +3 -3
  291. package/dist/lib/schemas-data/3.0/core/creative-variable.json +1 -1
  292. package/dist/lib/schemas-data/3.0/core/creative-variant.json +5 -5
  293. package/dist/lib/schemas-data/3.0/core/data-provider-signal-selector.json +1 -1
  294. package/dist/lib/schemas-data/3.0/core/date-range.json +1 -1
  295. package/dist/lib/schemas-data/3.0/core/datetime-range.json +1 -1
  296. package/dist/lib/schemas-data/3.0/core/daypart-target.json +2 -2
  297. package/dist/lib/schemas-data/3.0/core/deadline-policy.json +1 -1
  298. package/dist/lib/schemas-data/3.0/core/delivery-forecast.json +7 -7
  299. package/dist/lib/schemas-data/3.0/core/delivery-metrics.json +5 -5
  300. package/dist/lib/schemas-data/3.0/core/deployment.json +3 -3
  301. package/dist/lib/schemas-data/3.0/core/destination-item.json +4 -4
  302. package/dist/lib/schemas-data/3.0/core/destination.json +1 -1
  303. package/dist/lib/schemas-data/3.0/core/diagnostic-issue.json +1 -1
  304. package/dist/lib/schemas-data/3.0/core/duration.json +1 -1
  305. package/dist/lib/schemas-data/3.0/core/education-item.json +4 -4
  306. package/dist/lib/schemas-data/3.0/core/error.json +34 -3
  307. package/dist/lib/schemas-data/3.0/core/event-custom-data.json +2 -2
  308. package/dist/lib/schemas-data/3.0/core/event-source-health.json +3 -3
  309. package/dist/lib/schemas-data/3.0/core/event.json +6 -6
  310. package/dist/lib/schemas-data/3.0/core/ext.json +1 -1
  311. package/dist/lib/schemas-data/3.0/core/feature-requirement.json +1 -1
  312. package/dist/lib/schemas-data/3.0/core/flight-item.json +4 -4
  313. package/dist/lib/schemas-data/3.0/core/forecast-point.json +18 -18
  314. package/dist/lib/schemas-data/3.0/core/forecast-range.json +1 -1
  315. package/dist/lib/schemas-data/3.0/core/format-id.json +1 -1
  316. package/dist/lib/schemas-data/3.0/core/format.json +42 -42
  317. package/dist/lib/schemas-data/3.0/core/frequency-cap.json +4 -4
  318. package/dist/lib/schemas-data/3.0/core/generation-credential.json +3 -3
  319. package/dist/lib/schemas-data/3.0/core/geo-breakdown-support.json +3 -3
  320. package/dist/lib/schemas-data/3.0/core/hotel-item.json +4 -4
  321. package/dist/lib/schemas-data/3.0/core/identifier.json +2 -2
  322. package/dist/lib/schemas-data/3.0/core/industry-identifier.json +2 -2
  323. package/dist/lib/schemas-data/3.0/core/insertion-order.json +1 -1
  324. package/dist/lib/schemas-data/3.0/core/installment-deadlines.json +2 -2
  325. package/dist/lib/schemas-data/3.0/core/installment.json +9 -9
  326. package/dist/lib/schemas-data/3.0/core/job-item.json +3 -3
  327. package/dist/lib/schemas-data/3.0/core/limited-series.json +1 -1
  328. package/dist/lib/schemas-data/3.0/core/material-deadline.json +1 -1
  329. package/dist/lib/schemas-data/3.0/core/mcp-webhook-payload.json +5 -5
  330. package/dist/lib/schemas-data/3.0/core/measurement-readiness.json +5 -5
  331. package/dist/lib/schemas-data/3.0/core/measurement-terms.json +3 -3
  332. package/dist/lib/schemas-data/3.0/core/measurement-window.json +1 -1
  333. package/dist/lib/schemas-data/3.0/core/media-buy-features.json +1 -1
  334. package/dist/lib/schemas-data/3.0/core/media-buy.json +7 -7
  335. package/dist/lib/schemas-data/3.0/core/offering-asset-group.json +16 -16
  336. package/dist/lib/schemas-data/3.0/core/offering.json +5 -5
  337. package/dist/lib/schemas-data/3.0/core/optimization-goal.json +6 -6
  338. package/dist/lib/schemas-data/3.0/core/outcome-measurement.json +2 -2
  339. package/dist/lib/schemas-data/3.0/core/overlay.json +1 -1
  340. package/dist/lib/schemas-data/3.0/core/package.json +14 -14
  341. package/dist/lib/schemas-data/3.0/core/pagination-request.json +1 -1
  342. package/dist/lib/schemas-data/3.0/core/pagination-response.json +1 -1
  343. package/dist/lib/schemas-data/3.0/core/performance-feedback.json +3 -3
  344. package/dist/lib/schemas-data/3.0/core/performance-standard.json +4 -4
  345. package/dist/lib/schemas-data/3.0/core/placement-definition.json +5 -5
  346. package/dist/lib/schemas-data/3.0/core/placement.json +2 -2
  347. package/dist/lib/schemas-data/3.0/core/planned-delivery.json +5 -5
  348. package/dist/lib/schemas-data/3.0/core/price.json +1 -1
  349. package/dist/lib/schemas-data/3.0/core/pricing-option.json +10 -10
  350. package/dist/lib/schemas-data/3.0/core/product-allocation.json +4 -4
  351. package/dist/lib/schemas-data/3.0/core/product-filters.json +16 -16
  352. package/dist/lib/schemas-data/3.0/core/product.json +28 -28
  353. package/dist/lib/schemas-data/3.0/core/property-id.json +1 -1
  354. package/dist/lib/schemas-data/3.0/core/property-list-ref.json +1 -1
  355. package/dist/lib/schemas-data/3.0/core/property-tag.json +1 -1
  356. package/dist/lib/schemas-data/3.0/core/property.json +6 -6
  357. package/dist/lib/schemas-data/3.0/core/proposal.json +6 -6
  358. package/dist/lib/schemas-data/3.0/core/protocol-envelope.json +3 -3
  359. package/dist/lib/schemas-data/3.0/core/provenance.json +6 -6
  360. package/dist/lib/schemas-data/3.0/core/publisher-property-selector.json +3 -3
  361. package/dist/lib/schemas-data/3.0/core/push-notification-config.json +2 -2
  362. package/dist/lib/schemas-data/3.0/core/real-estate-item.json +4 -4
  363. package/dist/lib/schemas-data/3.0/core/reference-asset.json +1 -1
  364. package/dist/lib/schemas-data/3.0/core/reporting-capabilities.json +5 -5
  365. package/dist/lib/schemas-data/3.0/core/reporting-webhook.json +3 -3
  366. package/dist/lib/schemas-data/3.0/core/requirements/asset-requirements.json +13 -13
  367. package/dist/lib/schemas-data/3.0/core/requirements/audio-asset-requirements.json +1 -1
  368. package/dist/lib/schemas-data/3.0/core/requirements/catalog-field-binding.json +4 -4
  369. package/dist/lib/schemas-data/3.0/core/requirements/catalog-requirements.json +5 -5
  370. package/dist/lib/schemas-data/3.0/core/requirements/css-asset-requirements.json +1 -1
  371. package/dist/lib/schemas-data/3.0/core/requirements/daast-asset-requirements.json +1 -1
  372. package/dist/lib/schemas-data/3.0/core/requirements/html-asset-requirements.json +1 -1
  373. package/dist/lib/schemas-data/3.0/core/requirements/image-asset-requirements.json +2 -2
  374. package/dist/lib/schemas-data/3.0/core/requirements/javascript-asset-requirements.json +1 -1
  375. package/dist/lib/schemas-data/3.0/core/requirements/markdown-asset-requirements.json +1 -1
  376. package/dist/lib/schemas-data/3.0/core/requirements/offering-asset-constraint.json +4 -4
  377. package/dist/lib/schemas-data/3.0/core/requirements/text-asset-requirements.json +1 -1
  378. package/dist/lib/schemas-data/3.0/core/requirements/url-asset-requirements.json +2 -2
  379. package/dist/lib/schemas-data/3.0/core/requirements/vast-asset-requirements.json +1 -1
  380. package/dist/lib/schemas-data/3.0/core/requirements/video-asset-requirements.json +6 -6
  381. package/dist/lib/schemas-data/3.0/core/requirements/webhook-asset-requirements.json +1 -1
  382. package/dist/lib/schemas-data/3.0/core/response.json +1 -1
  383. package/dist/lib/schemas-data/3.0/core/rights-constraint.json +4 -4
  384. package/dist/lib/schemas-data/3.0/core/seller-agent-ref.json +1 -1
  385. package/dist/lib/schemas-data/3.0/core/signal-definition.json +3 -3
  386. package/dist/lib/schemas-data/3.0/core/signal-filters.json +2 -2
  387. package/dist/lib/schemas-data/3.0/core/signal-id.json +1 -1
  388. package/dist/lib/schemas-data/3.0/core/signal-pricing-option.json +2 -2
  389. package/dist/lib/schemas-data/3.0/core/signal-pricing.json +6 -6
  390. package/dist/lib/schemas-data/3.0/core/signal-targeting.json +4 -4
  391. package/dist/lib/schemas-data/3.0/core/special.json +2 -2
  392. package/dist/lib/schemas-data/3.0/core/start-timing.json +1 -1
  393. package/dist/lib/schemas-data/3.0/core/store-item.json +3 -3
  394. package/dist/lib/schemas-data/3.0/core/talent.json +2 -2
  395. package/dist/lib/schemas-data/3.0/core/targeting.json +20 -20
  396. package/dist/lib/schemas-data/3.0/core/tasks-get-request.json +3 -3
  397. package/dist/lib/schemas-data/3.0/core/tasks-get-response.json +7 -7
  398. package/dist/lib/schemas-data/3.0/core/tasks-list-request.json +11 -11
  399. package/dist/lib/schemas-data/3.0/core/tasks-list-response.json +6 -6
  400. package/dist/lib/schemas-data/3.0/core/user-match.json +3 -3
  401. package/dist/lib/schemas-data/3.0/core/vehicle-item.json +4 -4
  402. package/dist/lib/schemas-data/3.0/core/vendor-pricing-option.json +2 -2
  403. package/dist/lib/schemas-data/3.0/core/x-entity-types.json +1 -1
  404. package/dist/lib/schemas-data/3.0/creative/asset-types/index.json +5 -5
  405. package/dist/lib/schemas-data/3.0/creative/creative-feature-result.json +2 -2
  406. package/dist/lib/schemas-data/3.0/creative/get-creative-delivery-request.json +5 -5
  407. package/dist/lib/schemas-data/3.0/creative/get-creative-delivery-response.json +7 -7
  408. package/dist/lib/schemas-data/3.0/creative/get-creative-features-request.json +5 -5
  409. package/dist/lib/schemas-data/3.0/creative/get-creative-features-response.json +8 -8
  410. package/dist/lib/schemas-data/3.0/creative/list-creative-formats-request.json +11 -11
  411. package/dist/lib/schemas-data/3.0/creative/list-creative-formats-response.json +7 -7
  412. package/dist/lib/schemas-data/3.0/creative/list-creatives-request.json +8 -8
  413. package/dist/lib/schemas-data/3.0/creative/list-creatives-response.json +14 -60
  414. package/dist/lib/schemas-data/3.0/creative/preview-creative-request.json +11 -11
  415. package/dist/lib/schemas-data/3.0/creative/preview-creative-response.json +12 -12
  416. package/dist/lib/schemas-data/3.0/creative/preview-render.json +1 -1
  417. package/dist/lib/schemas-data/3.0/creative/sync-creatives-async-response-input-required.json +3 -3
  418. package/dist/lib/schemas-data/3.0/creative/sync-creatives-async-response-submitted.json +3 -3
  419. package/dist/lib/schemas-data/3.0/creative/sync-creatives-async-response-working.json +3 -3
  420. package/dist/lib/schemas-data/3.0/creative/sync-creatives-request.json +7 -7
  421. package/dist/lib/schemas-data/3.0/creative/sync-creatives-response.json +13 -13
  422. package/dist/lib/schemas-data/3.0/enums/account-scope.json +1 -1
  423. package/dist/lib/schemas-data/3.0/enums/account-status.json +1 -1
  424. package/dist/lib/schemas-data/3.0/enums/action-source.json +1 -1
  425. package/dist/lib/schemas-data/3.0/enums/adcp-protocol.json +1 -1
  426. package/dist/lib/schemas-data/3.0/enums/adjustment-kind.json +1 -1
  427. package/dist/lib/schemas-data/3.0/enums/advertiser-industry.json +1 -1
  428. package/dist/lib/schemas-data/3.0/enums/age-verification-method.json +1 -1
  429. package/dist/lib/schemas-data/3.0/enums/assessment-status.json +1 -1
  430. package/dist/lib/schemas-data/3.0/enums/asset-content-type.json +1 -1
  431. package/dist/lib/schemas-data/3.0/enums/attribution-model.json +1 -1
  432. package/dist/lib/schemas-data/3.0/enums/audience-source.json +1 -1
  433. package/dist/lib/schemas-data/3.0/enums/audience-status.json +1 -1
  434. package/dist/lib/schemas-data/3.0/enums/audio-channel-layout.json +1 -1
  435. package/dist/lib/schemas-data/3.0/enums/auth-scheme.json +1 -1
  436. package/dist/lib/schemas-data/3.0/enums/available-metric.json +1 -1
  437. package/dist/lib/schemas-data/3.0/enums/billing-party.json +1 -1
  438. package/dist/lib/schemas-data/3.0/enums/binary-verdict.json +1 -1
  439. package/dist/lib/schemas-data/3.0/enums/brand-agent-type.json +1 -1
  440. package/dist/lib/schemas-data/3.0/enums/canceled-by.json +1 -1
  441. package/dist/lib/schemas-data/3.0/enums/catalog-action.json +1 -1
  442. package/dist/lib/schemas-data/3.0/enums/catalog-item-status.json +1 -1
  443. package/dist/lib/schemas-data/3.0/enums/catalog-type.json +1 -1
  444. package/dist/lib/schemas-data/3.0/enums/channels.json +1 -1
  445. package/dist/lib/schemas-data/3.0/enums/cloud-storage-protocol.json +1 -1
  446. package/dist/lib/schemas-data/3.0/enums/co-branding-requirement.json +1 -1
  447. package/dist/lib/schemas-data/3.0/enums/collection-cadence.json +1 -1
  448. package/dist/lib/schemas-data/3.0/enums/collection-kind.json +1 -1
  449. package/dist/lib/schemas-data/3.0/enums/collection-relationship.json +1 -1
  450. package/dist/lib/schemas-data/3.0/enums/collection-status.json +1 -1
  451. package/dist/lib/schemas-data/3.0/enums/consent-basis.json +1 -1
  452. package/dist/lib/schemas-data/3.0/enums/content-id-type.json +1 -1
  453. package/dist/lib/schemas-data/3.0/enums/content-rating-system.json +1 -1
  454. package/dist/lib/schemas-data/3.0/enums/creative-action.json +1 -1
  455. package/dist/lib/schemas-data/3.0/enums/creative-agent-capability.json +1 -1
  456. package/dist/lib/schemas-data/3.0/enums/creative-approval-status.json +1 -1
  457. package/dist/lib/schemas-data/3.0/enums/creative-identifier-type.json +1 -1
  458. package/dist/lib/schemas-data/3.0/enums/creative-quality.json +1 -1
  459. package/dist/lib/schemas-data/3.0/enums/creative-sort-field.json +1 -1
  460. package/dist/lib/schemas-data/3.0/enums/creative-status.json +1 -1
  461. package/dist/lib/schemas-data/3.0/enums/daast-tracking-event.json +1 -1
  462. package/dist/lib/schemas-data/3.0/enums/daast-version.json +1 -1
  463. package/dist/lib/schemas-data/3.0/enums/day-of-week.json +1 -1
  464. package/dist/lib/schemas-data/3.0/enums/delegation-authority.json +1 -1
  465. package/dist/lib/schemas-data/3.0/enums/delivery-type.json +1 -1
  466. package/dist/lib/schemas-data/3.0/enums/demographic-system.json +1 -1
  467. package/dist/lib/schemas-data/3.0/enums/derivative-type.json +1 -1
  468. package/dist/lib/schemas-data/3.0/enums/device-platform.json +1 -1
  469. package/dist/lib/schemas-data/3.0/enums/device-type.json +1 -1
  470. package/dist/lib/schemas-data/3.0/enums/digital-source-type.json +1 -1
  471. package/dist/lib/schemas-data/3.0/enums/dimension-unit.json +1 -1
  472. package/dist/lib/schemas-data/3.0/enums/disclosure-persistence.json +1 -1
  473. package/dist/lib/schemas-data/3.0/enums/disclosure-position.json +1 -1
  474. package/dist/lib/schemas-data/3.0/enums/distance-unit.json +1 -1
  475. package/dist/lib/schemas-data/3.0/enums/distribution-identifier-type.json +1 -1
  476. package/dist/lib/schemas-data/3.0/enums/error-code.json +185 -2
  477. package/dist/lib/schemas-data/3.0/enums/escalation-severity.json +1 -1
  478. package/dist/lib/schemas-data/3.0/enums/event-type.json +1 -1
  479. package/dist/lib/schemas-data/3.0/enums/exclusivity.json +1 -1
  480. package/dist/lib/schemas-data/3.0/enums/feature-check-status.json +1 -1
  481. package/dist/lib/schemas-data/3.0/enums/feed-format.json +1 -1
  482. package/dist/lib/schemas-data/3.0/enums/feedback-source.json +1 -1
  483. package/dist/lib/schemas-data/3.0/enums/forecast-method.json +1 -1
  484. package/dist/lib/schemas-data/3.0/enums/forecast-range-unit.json +1 -1
  485. package/dist/lib/schemas-data/3.0/enums/forecastable-metric.json +1 -1
  486. package/dist/lib/schemas-data/3.0/enums/format-id-parameter.json +1 -1
  487. package/dist/lib/schemas-data/3.0/enums/frame-rate-type.json +1 -1
  488. package/dist/lib/schemas-data/3.0/enums/frequency-cap-scope.json +1 -1
  489. package/dist/lib/schemas-data/3.0/enums/genre-taxonomy.json +1 -1
  490. package/dist/lib/schemas-data/3.0/enums/geo-level.json +1 -1
  491. package/dist/lib/schemas-data/3.0/enums/gop-type.json +1 -1
  492. package/dist/lib/schemas-data/3.0/enums/governance-decision.json +1 -1
  493. package/dist/lib/schemas-data/3.0/enums/governance-domain.json +1 -1
  494. package/dist/lib/schemas-data/3.0/enums/governance-mode.json +1 -1
  495. package/dist/lib/schemas-data/3.0/enums/governance-phase.json +1 -1
  496. package/dist/lib/schemas-data/3.0/enums/history-entry-type.json +1 -1
  497. package/dist/lib/schemas-data/3.0/enums/http-method.json +1 -1
  498. package/dist/lib/schemas-data/3.0/enums/identifier-types.json +1 -1
  499. package/dist/lib/schemas-data/3.0/enums/installment-status.json +1 -1
  500. package/dist/lib/schemas-data/3.0/enums/javascript-module-type.json +1 -1
  501. package/dist/lib/schemas-data/3.0/enums/landing-page-requirement.json +1 -1
  502. package/dist/lib/schemas-data/3.0/enums/makegood-remedy.json +1 -1
  503. package/dist/lib/schemas-data/3.0/enums/markdown-flavor.json +1 -1
  504. package/dist/lib/schemas-data/3.0/enums/match-id-type.json +1 -1
  505. package/dist/lib/schemas-data/3.0/enums/match-type.json +1 -1
  506. package/dist/lib/schemas-data/3.0/enums/media-buy-status.json +1 -1
  507. package/dist/lib/schemas-data/3.0/enums/media-buy-valid-action.json +1 -1
  508. package/dist/lib/schemas-data/3.0/enums/metric-type.json +1 -1
  509. package/dist/lib/schemas-data/3.0/enums/metro-system.json +1 -1
  510. package/dist/lib/schemas-data/3.0/enums/moov-atom-position.json +1 -1
  511. package/dist/lib/schemas-data/3.0/enums/notification-type.json +1 -1
  512. package/dist/lib/schemas-data/3.0/enums/outcome-type.json +1 -1
  513. package/dist/lib/schemas-data/3.0/enums/pacing.json +1 -1
  514. package/dist/lib/schemas-data/3.0/enums/payment-terms.json +1 -1
  515. package/dist/lib/schemas-data/3.0/enums/performance-standard-metric.json +1 -1
  516. package/dist/lib/schemas-data/3.0/enums/policy-category.json +1 -1
  517. package/dist/lib/schemas-data/3.0/enums/policy-enforcement.json +1 -1
  518. package/dist/lib/schemas-data/3.0/enums/postal-system.json +1 -1
  519. package/dist/lib/schemas-data/3.0/enums/preview-output-format.json +1 -1
  520. package/dist/lib/schemas-data/3.0/enums/pricing-model.json +1 -1
  521. package/dist/lib/schemas-data/3.0/enums/production-quality.json +1 -1
  522. package/dist/lib/schemas-data/3.0/enums/property-type.json +1 -1
  523. package/dist/lib/schemas-data/3.0/enums/proposal-status.json +1 -1
  524. package/dist/lib/schemas-data/3.0/enums/publisher-identifier-types.json +1 -1
  525. package/dist/lib/schemas-data/3.0/enums/purchase-type.json +1 -1
  526. package/dist/lib/schemas-data/3.0/enums/reach-unit.json +1 -1
  527. package/dist/lib/schemas-data/3.0/enums/reporting-frequency.json +1 -1
  528. package/dist/lib/schemas-data/3.0/enums/response-type.json +1 -1
  529. package/dist/lib/schemas-data/3.0/enums/restricted-attribute.json +1 -1
  530. package/dist/lib/schemas-data/3.0/enums/right-type.json +1 -1
  531. package/dist/lib/schemas-data/3.0/enums/right-use.json +1 -1
  532. package/dist/lib/schemas-data/3.0/enums/rights-billing-period.json +1 -1
  533. package/dist/lib/schemas-data/3.0/enums/scan-type.json +1 -1
  534. package/dist/lib/schemas-data/3.0/enums/si-session-status.json +1 -1
  535. package/dist/lib/schemas-data/3.0/enums/signal-catalog-type.json +1 -1
  536. package/dist/lib/schemas-data/3.0/enums/signal-source.json +1 -1
  537. package/dist/lib/schemas-data/3.0/enums/signal-value-type.json +1 -1
  538. package/dist/lib/schemas-data/3.0/enums/snapshot-unavailable-reason.json +1 -1
  539. package/dist/lib/schemas-data/3.0/enums/sort-direction.json +1 -1
  540. package/dist/lib/schemas-data/3.0/enums/sort-metric.json +1 -1
  541. package/dist/lib/schemas-data/3.0/enums/special-category.json +1 -1
  542. package/dist/lib/schemas-data/3.0/enums/specialism.json +1 -1
  543. package/dist/lib/schemas-data/3.0/enums/talent-role.json +1 -1
  544. package/dist/lib/schemas-data/3.0/enums/task-status.json +1 -1
  545. package/dist/lib/schemas-data/3.0/enums/task-type.json +1 -1
  546. package/dist/lib/schemas-data/3.0/enums/transport-mode.json +1 -1
  547. package/dist/lib/schemas-data/3.0/enums/travel-time-unit.json +1 -1
  548. package/dist/lib/schemas-data/3.0/enums/uid-type.json +1 -1
  549. package/dist/lib/schemas-data/3.0/enums/universal-macro.json +1 -1
  550. package/dist/lib/schemas-data/3.0/enums/update-frequency.json +1 -1
  551. package/dist/lib/schemas-data/3.0/enums/url-asset-type.json +1 -1
  552. package/dist/lib/schemas-data/3.0/enums/validation-mode.json +1 -1
  553. package/dist/lib/schemas-data/3.0/enums/vast-tracking-event.json +1 -1
  554. package/dist/lib/schemas-data/3.0/enums/vast-version.json +1 -1
  555. package/dist/lib/schemas-data/3.0/enums/viewability-standard.json +1 -1
  556. package/dist/lib/schemas-data/3.0/enums/wcag-level.json +1 -1
  557. package/dist/lib/schemas-data/3.0/enums/webhook-response-type.json +1 -1
  558. package/dist/lib/schemas-data/3.0/enums/webhook-security-method.json +1 -1
  559. package/dist/lib/schemas-data/3.0/error-details/account-setup-required.json +2 -2
  560. package/dist/lib/schemas-data/3.0/error-details/audience-too-small.json +2 -2
  561. package/dist/lib/schemas-data/3.0/error-details/budget-too-low.json +2 -2
  562. package/dist/lib/schemas-data/3.0/error-details/conflict.json +2 -2
  563. package/dist/lib/schemas-data/3.0/error-details/creative-rejected.json +2 -2
  564. package/dist/lib/schemas-data/3.0/error-details/policy-violation.json +2 -2
  565. package/dist/lib/schemas-data/3.0/error-details/rate-limited.json +1 -1
  566. package/dist/lib/schemas-data/3.0/error-details/vendor-error-codes.json +1 -1
  567. package/dist/lib/schemas-data/3.0/extensions/extension-meta.json +1 -1
  568. package/dist/lib/schemas-data/3.0/extensions/index.json +2 -2
  569. package/dist/lib/schemas-data/3.0/governance/attribute-definition.json +1 -1
  570. package/dist/lib/schemas-data/3.0/governance/audience-constraints.json +3 -3
  571. package/dist/lib/schemas-data/3.0/governance/check-governance-request.json +7 -7
  572. package/dist/lib/schemas-data/3.0/governance/check-governance-response.json +6 -6
  573. package/dist/lib/schemas-data/3.0/governance/get-plan-audit-logs-request.json +4 -4
  574. package/dist/lib/schemas-data/3.0/governance/get-plan-audit-logs-response.json +9 -9
  575. package/dist/lib/schemas-data/3.0/governance/policy-category-definition.json +2 -2
  576. package/dist/lib/schemas-data/3.0/governance/policy-entry.json +6 -6
  577. package/dist/lib/schemas-data/3.0/governance/policy-ref.json +1 -1
  578. package/dist/lib/schemas-data/3.0/governance/report-plan-outcome-request.json +6 -6
  579. package/dist/lib/schemas-data/3.0/governance/report-plan-outcome-response.json +4 -4
  580. package/dist/lib/schemas-data/3.0/governance/sync-plans-request.json +13 -13
  581. package/dist/lib/schemas-data/3.0/governance/sync-plans-response.json +4 -4
  582. package/dist/lib/schemas-data/3.0/index.json +364 -364
  583. package/dist/lib/schemas-data/3.0/manifest.json +1190 -0
  584. package/dist/lib/schemas-data/3.0/manifest.schema.json +202 -0
  585. package/dist/lib/schemas-data/3.0/media-buy/build-creative-async-response-input-required.json +4 -4
  586. package/dist/lib/schemas-data/3.0/media-buy/build-creative-async-response-submitted.json +3 -3
  587. package/dist/lib/schemas-data/3.0/media-buy/build-creative-async-response-working.json +3 -3
  588. package/dist/lib/schemas-data/3.0/media-buy/build-creative-request.json +11 -11
  589. package/dist/lib/schemas-data/3.0/media-buy/build-creative-response.json +17 -17
  590. package/dist/lib/schemas-data/3.0/media-buy/create-media-buy-async-response-input-required.json +4 -4
  591. package/dist/lib/schemas-data/3.0/media-buy/create-media-buy-async-response-submitted.json +3 -3
  592. package/dist/lib/schemas-data/3.0/media-buy/create-media-buy-async-response-working.json +3 -3
  593. package/dist/lib/schemas-data/3.0/media-buy/create-media-buy-request.json +12 -12
  594. package/dist/lib/schemas-data/3.0/media-buy/create-media-buy-response.json +15 -15
  595. package/dist/lib/schemas-data/3.0/media-buy/get-media-buy-delivery-request.json +17 -17
  596. package/dist/lib/schemas-data/3.0/media-buy/get-media-buy-delivery-response.json +24 -24
  597. package/dist/lib/schemas-data/3.0/media-buy/get-media-buys-request.json +7 -7
  598. package/dist/lib/schemas-data/3.0/media-buy/get-media-buys-response.json +19 -19
  599. package/dist/lib/schemas-data/3.0/media-buy/get-products-async-response-input-required.json +4 -4
  600. package/dist/lib/schemas-data/3.0/media-buy/get-products-async-response-submitted.json +3 -3
  601. package/dist/lib/schemas-data/3.0/media-buy/get-products-async-response-working.json +3 -3
  602. package/dist/lib/schemas-data/3.0/media-buy/get-products-request.json +11 -11
  603. package/dist/lib/schemas-data/3.0/media-buy/get-products-response.json +8 -8
  604. package/dist/lib/schemas-data/3.0/media-buy/list-creative-formats-request.json +11 -11
  605. package/dist/lib/schemas-data/3.0/media-buy/list-creative-formats-response.json +7 -7
  606. package/dist/lib/schemas-data/3.0/media-buy/log-event-request.json +4 -4
  607. package/dist/lib/schemas-data/3.0/media-buy/log-event-response.json +6 -6
  608. package/dist/lib/schemas-data/3.0/media-buy/package-request.json +12 -12
  609. package/dist/lib/schemas-data/3.0/media-buy/package-update.json +13 -13
  610. package/dist/lib/schemas-data/3.0/media-buy/provide-performance-feedback-request.json +6 -6
  611. package/dist/lib/schemas-data/3.0/media-buy/provide-performance-feedback-response.json +6 -6
  612. package/dist/lib/schemas-data/3.0/media-buy/sync-audiences-request.json +7 -7
  613. package/dist/lib/schemas-data/3.0/media-buy/sync-audiences-response.json +9 -9
  614. package/dist/lib/schemas-data/3.0/media-buy/sync-catalogs-async-response-input-required.json +3 -3
  615. package/dist/lib/schemas-data/3.0/media-buy/sync-catalogs-async-response-submitted.json +3 -3
  616. package/dist/lib/schemas-data/3.0/media-buy/sync-catalogs-async-response-working.json +3 -3
  617. package/dist/lib/schemas-data/3.0/media-buy/sync-catalogs-request.json +7 -7
  618. package/dist/lib/schemas-data/3.0/media-buy/sync-catalogs-response.json +9 -9
  619. package/dist/lib/schemas-data/3.0/media-buy/sync-event-sources-request.json +5 -5
  620. package/dist/lib/schemas-data/3.0/media-buy/sync-event-sources-response.json +10 -10
  621. package/dist/lib/schemas-data/3.0/media-buy/update-media-buy-async-response-input-required.json +3 -3
  622. package/dist/lib/schemas-data/3.0/media-buy/update-media-buy-async-response-submitted.json +3 -3
  623. package/dist/lib/schemas-data/3.0/media-buy/update-media-buy-async-response-working.json +3 -3
  624. package/dist/lib/schemas-data/3.0/media-buy/update-media-buy-request.json +10 -10
  625. package/dist/lib/schemas-data/3.0/media-buy/update-media-buy-response.json +10 -10
  626. package/dist/lib/schemas-data/3.0/pricing-options/cpa-option.json +4 -4
  627. package/dist/lib/schemas-data/3.0/pricing-options/cpc-option.json +4 -4
  628. package/dist/lib/schemas-data/3.0/pricing-options/cpcv-option.json +4 -4
  629. package/dist/lib/schemas-data/3.0/pricing-options/cpm-option.json +4 -4
  630. package/dist/lib/schemas-data/3.0/pricing-options/cpp-option.json +5 -5
  631. package/dist/lib/schemas-data/3.0/pricing-options/cpv-option.json +4 -4
  632. package/dist/lib/schemas-data/3.0/pricing-options/flat-rate-option.json +4 -4
  633. package/dist/lib/schemas-data/3.0/pricing-options/price-breakdown.json +2 -2
  634. package/dist/lib/schemas-data/3.0/pricing-options/price-guidance.json +1 -1
  635. package/dist/lib/schemas-data/3.0/pricing-options/time-option.json +4 -4
  636. package/dist/lib/schemas-data/3.0/pricing-options/vcpm-option.json +4 -4
  637. package/dist/lib/schemas-data/3.0/property/authorization-result.json +1 -1
  638. package/dist/lib/schemas-data/3.0/property/base-property-source.json +4 -4
  639. package/dist/lib/schemas-data/3.0/property/create-property-list-request.json +7 -7
  640. package/dist/lib/schemas-data/3.0/property/create-property-list-response.json +4 -4
  641. package/dist/lib/schemas-data/3.0/property/delete-property-list-request.json +4 -4
  642. package/dist/lib/schemas-data/3.0/property/delete-property-list-response.json +3 -3
  643. package/dist/lib/schemas-data/3.0/property/delivery-record.json +3 -3
  644. package/dist/lib/schemas-data/3.0/property/get-property-list-request.json +4 -4
  645. package/dist/lib/schemas-data/3.0/property/get-property-list-response.json +7 -7
  646. package/dist/lib/schemas-data/3.0/property/list-property-lists-request.json +5 -5
  647. package/dist/lib/schemas-data/3.0/property/list-property-lists-response.json +5 -5
  648. package/dist/lib/schemas-data/3.0/property/property-error.json +2 -2
  649. package/dist/lib/schemas-data/3.0/property/property-feature-definition.json +2 -2
  650. package/dist/lib/schemas-data/3.0/property/property-feature-result.json +4 -4
  651. package/dist/lib/schemas-data/3.0/property/property-feature-value.json +2 -2
  652. package/dist/lib/schemas-data/3.0/property/property-feature.json +1 -1
  653. package/dist/lib/schemas-data/3.0/property/property-list-changed-webhook.json +2 -2
  654. package/dist/lib/schemas-data/3.0/property/property-list-filters.json +5 -5
  655. package/dist/lib/schemas-data/3.0/property/property-list.json +6 -6
  656. package/dist/lib/schemas-data/3.0/property/update-property-list-request.json +7 -7
  657. package/dist/lib/schemas-data/3.0/property/update-property-list-response.json +4 -4
  658. package/dist/lib/schemas-data/3.0/property/validate-property-delivery-request.json +5 -5
  659. package/dist/lib/schemas-data/3.0/property/validate-property-delivery-response.json +4 -4
  660. package/dist/lib/schemas-data/3.0/property/validation-result.json +5 -5
  661. package/dist/lib/schemas-data/3.0/protocol/get-adcp-capabilities-request.json +3 -3
  662. package/dist/lib/schemas-data/3.0/protocol/get-adcp-capabilities-response.json +26 -26
  663. package/dist/lib/schemas-data/3.0/signals/activate-signal-request.json +5 -5
  664. package/dist/lib/schemas-data/3.0/signals/activate-signal-response.json +7 -7
  665. package/dist/lib/schemas-data/3.0/signals/get-signals-request.json +8 -8
  666. package/dist/lib/schemas-data/3.0/signals/get-signals-response.json +10 -10
  667. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-capabilities.json +1 -1
  668. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-get-offering-request.json +3 -3
  669. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-get-offering-response.json +4 -4
  670. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-identity.json +1 -1
  671. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-initiate-session-request.json +5 -5
  672. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-initiate-session-response.json +7 -7
  673. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-send-message-request.json +3 -3
  674. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-send-message-response.json +7 -7
  675. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-terminate-session-request.json +3 -3
  676. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-terminate-session-response.json +5 -5
  677. package/dist/lib/schemas-data/3.0/sponsored-intelligence/si-ui-element.json +1 -1
  678. package/dist/lib/schemas-data/v2.5/_provenance.json +1 -1
  679. package/dist/lib/server/account-mode.d.ts +113 -0
  680. package/dist/lib/server/account-mode.d.ts.map +1 -0
  681. package/dist/lib/server/account-mode.js +125 -0
  682. package/dist/lib/server/account-mode.js.map +1 -0
  683. package/dist/lib/server/adcp-server.d.ts +21 -0
  684. package/dist/lib/server/adcp-server.d.ts.map +1 -1
  685. package/dist/lib/server/adcp-server.js +63 -1
  686. package/dist/lib/server/adcp-server.js.map +1 -1
  687. package/dist/lib/server/auth-signature.d.ts.map +1 -1
  688. package/dist/lib/server/auth-signature.js +21 -0
  689. package/dist/lib/server/auth-signature.js.map +1 -1
  690. package/dist/lib/server/auth.d.ts +59 -0
  691. package/dist/lib/server/auth.d.ts.map +1 -1
  692. package/dist/lib/server/auth.js +71 -3
  693. package/dist/lib/server/auth.js.map +1 -1
  694. package/dist/lib/server/create-adcp-server.d.ts +220 -21
  695. package/dist/lib/server/create-adcp-server.d.ts.map +1 -1
  696. package/dist/lib/server/create-adcp-server.js +349 -14
  697. package/dist/lib/server/create-adcp-server.js.map +1 -1
  698. package/dist/lib/server/ctx-metadata/store.d.ts +1 -1
  699. package/dist/lib/server/ctx-metadata/store.d.ts.map +1 -1
  700. package/dist/lib/server/ctx-metadata/store.js +1 -0
  701. package/dist/lib/server/ctx-metadata/store.js.map +1 -1
  702. package/dist/lib/server/decisioning/account.d.ts +345 -21
  703. package/dist/lib/server/decisioning/account.d.ts.map +1 -1
  704. package/dist/lib/server/decisioning/account.js +150 -4
  705. package/dist/lib/server/decisioning/account.js.map +1 -1
  706. package/dist/lib/server/decisioning/admin-router.d.ts.map +1 -1
  707. package/dist/lib/server/decisioning/admin-router.js +5 -1
  708. package/dist/lib/server/decisioning/admin-router.js.map +1 -1
  709. package/dist/lib/server/decisioning/buyer-agent.d.ts +498 -0
  710. package/dist/lib/server/decisioning/buyer-agent.d.ts.map +1 -0
  711. package/dist/lib/server/decisioning/buyer-agent.js +382 -0
  712. package/dist/lib/server/decisioning/buyer-agent.js.map +1 -0
  713. package/dist/lib/server/decisioning/capabilities.d.ts +32 -5
  714. package/dist/lib/server/decisioning/capabilities.d.ts.map +1 -1
  715. package/dist/lib/server/decisioning/compose.d.ts +124 -0
  716. package/dist/lib/server/decisioning/compose.d.ts.map +1 -0
  717. package/dist/lib/server/decisioning/compose.js +48 -0
  718. package/dist/lib/server/decisioning/compose.js.map +1 -0
  719. package/dist/lib/server/decisioning/context.d.ts +11 -0
  720. package/dist/lib/server/decisioning/context.d.ts.map +1 -1
  721. package/dist/lib/server/decisioning/index.d.ts +13 -3
  722. package/dist/lib/server/decisioning/index.d.ts.map +1 -1
  723. package/dist/lib/server/decisioning/index.js +46 -2
  724. package/dist/lib/server/decisioning/index.js.map +1 -1
  725. package/dist/lib/server/decisioning/platform-helpers.d.ts +287 -0
  726. package/dist/lib/server/decisioning/platform-helpers.d.ts.map +1 -0
  727. package/dist/lib/server/decisioning/platform-helpers.js +336 -0
  728. package/dist/lib/server/decisioning/platform-helpers.js.map +1 -0
  729. package/dist/lib/server/decisioning/platform.d.ts +141 -20
  730. package/dist/lib/server/decisioning/platform.d.ts.map +1 -1
  731. package/dist/lib/server/decisioning/platform.js.map +1 -1
  732. package/dist/lib/server/decisioning/resolve-presets.d.ts +129 -0
  733. package/dist/lib/server/decisioning/resolve-presets.d.ts.map +1 -0
  734. package/dist/lib/server/decisioning/resolve-presets.js +142 -0
  735. package/dist/lib/server/decisioning/resolve-presets.js.map +1 -0
  736. package/dist/lib/server/decisioning/runtime/entity-hydration.generated.d.ts +8 -0
  737. package/dist/lib/server/decisioning/runtime/entity-hydration.generated.d.ts.map +1 -0
  738. package/dist/lib/server/decisioning/runtime/entity-hydration.generated.js +101 -0
  739. package/dist/lib/server/decisioning/runtime/entity-hydration.generated.js.map +1 -0
  740. package/dist/lib/server/decisioning/runtime/from-platform.d.ts +91 -8
  741. package/dist/lib/server/decisioning/runtime/from-platform.d.ts.map +1 -1
  742. package/dist/lib/server/decisioning/runtime/from-platform.js +928 -146
  743. package/dist/lib/server/decisioning/runtime/from-platform.js.map +1 -1
  744. package/dist/lib/server/decisioning/runtime/observed-modes.d.ts +40 -0
  745. package/dist/lib/server/decisioning/runtime/observed-modes.d.ts.map +1 -0
  746. package/dist/lib/server/decisioning/runtime/observed-modes.js +82 -0
  747. package/dist/lib/server/decisioning/runtime/observed-modes.js.map +1 -0
  748. package/dist/lib/server/decisioning/runtime/protocol-for-tool.js +2 -2
  749. package/dist/lib/server/decisioning/runtime/protocol-for-tool.js.map +1 -1
  750. package/dist/lib/server/decisioning/runtime/to-context.d.ts.map +1 -1
  751. package/dist/lib/server/decisioning/runtime/to-context.js +1 -0
  752. package/dist/lib/server/decisioning/runtime/to-context.js.map +1 -1
  753. package/dist/lib/server/decisioning/runtime/validate-platform.d.ts.map +1 -1
  754. package/dist/lib/server/decisioning/runtime/validate-platform.js +40 -4
  755. package/dist/lib/server/decisioning/runtime/validate-platform.js.map +1 -1
  756. package/dist/lib/server/decisioning/specialisms/brand-rights.d.ts +83 -6
  757. package/dist/lib/server/decisioning/specialisms/brand-rights.d.ts.map +1 -1
  758. package/dist/lib/server/decisioning/specialisms/brand-rights.js +12 -5
  759. package/dist/lib/server/decisioning/specialisms/brand-rights.js.map +1 -1
  760. package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.ts +41 -4
  761. package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.ts.map +1 -1
  762. package/dist/lib/server/decisioning/specialisms/creative.d.ts +47 -3
  763. package/dist/lib/server/decisioning/specialisms/creative.d.ts.map +1 -1
  764. package/dist/lib/server/decisioning/specialisms/sales.d.ts +115 -9
  765. package/dist/lib/server/decisioning/specialisms/sales.d.ts.map +1 -1
  766. package/dist/lib/server/decisioning/specialisms/sponsored-intelligence.d.ts +125 -0
  767. package/dist/lib/server/decisioning/specialisms/sponsored-intelligence.d.ts.map +1 -0
  768. package/dist/lib/server/decisioning/specialisms/sponsored-intelligence.js +52 -0
  769. package/dist/lib/server/decisioning/specialisms/sponsored-intelligence.js.map +1 -0
  770. package/dist/lib/server/decisioning/tenant-registry.d.ts +16 -0
  771. package/dist/lib/server/decisioning/tenant-registry.d.ts.map +1 -1
  772. package/dist/lib/server/decisioning/tenant-registry.js +8 -3
  773. package/dist/lib/server/decisioning/tenant-registry.js.map +1 -1
  774. package/dist/lib/server/decisioning/tenant-store.d.ts +200 -0
  775. package/dist/lib/server/decisioning/tenant-store.d.ts.map +1 -0
  776. package/dist/lib/server/decisioning/tenant-store.js +182 -0
  777. package/dist/lib/server/decisioning/tenant-store.js.map +1 -0
  778. package/dist/lib/server/decisioning/validate-specialisms.d.ts +66 -0
  779. package/dist/lib/server/decisioning/validate-specialisms.d.ts.map +1 -0
  780. package/dist/lib/server/decisioning/validate-specialisms.js +119 -0
  781. package/dist/lib/server/decisioning/validate-specialisms.js.map +1 -0
  782. package/dist/lib/server/index.d.ts +14 -2
  783. package/dist/lib/server/index.d.ts.map +1 -1
  784. package/dist/lib/server/index.js +41 -3
  785. package/dist/lib/server/index.js.map +1 -1
  786. package/dist/lib/server/media-buy-store.d.ts +126 -0
  787. package/dist/lib/server/media-buy-store.d.ts.map +1 -0
  788. package/dist/lib/server/media-buy-store.js +171 -0
  789. package/dist/lib/server/media-buy-store.js.map +1 -0
  790. package/dist/lib/server/redact.d.ts +52 -0
  791. package/dist/lib/server/redact.d.ts.map +1 -0
  792. package/dist/lib/server/redact.js +86 -0
  793. package/dist/lib/server/redact.js.map +1 -0
  794. package/dist/lib/server/responses.d.ts +60 -1
  795. package/dist/lib/server/responses.d.ts.map +1 -1
  796. package/dist/lib/server/responses.js +110 -1
  797. package/dist/lib/server/responses.js.map +1 -1
  798. package/dist/lib/server/serve.d.ts.map +1 -1
  799. package/dist/lib/server/serve.js +53 -1
  800. package/dist/lib/server/serve.js.map +1 -1
  801. package/dist/lib/server/state-machine.d.ts +80 -0
  802. package/dist/lib/server/state-machine.d.ts.map +1 -0
  803. package/dist/lib/server/state-machine.js +125 -0
  804. package/dist/lib/server/state-machine.js.map +1 -0
  805. package/dist/lib/server/test-controller.d.ts +51 -0
  806. package/dist/lib/server/test-controller.d.ts.map +1 -1
  807. package/dist/lib/server/test-controller.js +112 -30
  808. package/dist/lib/server/test-controller.js.map +1 -1
  809. package/dist/lib/server/upstream-helpers.d.ts +182 -0
  810. package/dist/lib/server/upstream-helpers.d.ts.map +1 -0
  811. package/dist/lib/server/upstream-helpers.js +140 -0
  812. package/dist/lib/server/upstream-helpers.js.map +1 -0
  813. package/dist/lib/signing/agent-resolver/canonicalize.d.ts +44 -0
  814. package/dist/lib/signing/agent-resolver/canonicalize.d.ts.map +1 -0
  815. package/dist/lib/signing/agent-resolver/canonicalize.js +85 -0
  816. package/dist/lib/signing/agent-resolver/canonicalize.js.map +1 -0
  817. package/dist/lib/signing/agent-resolver/capabilities-types.d.ts +54 -0
  818. package/dist/lib/signing/agent-resolver/capabilities-types.d.ts.map +1 -0
  819. package/dist/lib/signing/agent-resolver/capabilities-types.js +49 -0
  820. package/dist/lib/signing/agent-resolver/capabilities-types.js.map +1 -0
  821. package/dist/lib/signing/agent-resolver/consistency.d.ts +84 -0
  822. package/dist/lib/signing/agent-resolver/consistency.d.ts.map +1 -0
  823. package/dist/lib/signing/agent-resolver/consistency.js +121 -0
  824. package/dist/lib/signing/agent-resolver/consistency.js.map +1 -0
  825. package/dist/lib/signing/agent-resolver/errors.d.ts +68 -0
  826. package/dist/lib/signing/agent-resolver/errors.d.ts.map +1 -0
  827. package/dist/lib/signing/agent-resolver/errors.js +45 -0
  828. package/dist/lib/signing/agent-resolver/errors.js.map +1 -0
  829. package/dist/lib/signing/agent-resolver/etld.d.ts +25 -0
  830. package/dist/lib/signing/agent-resolver/etld.d.ts.map +1 -0
  831. package/dist/lib/signing/agent-resolver/etld.js +75 -0
  832. package/dist/lib/signing/agent-resolver/etld.js.map +1 -0
  833. package/dist/lib/signing/agent-resolver/fetch-helpers.d.ts +41 -0
  834. package/dist/lib/signing/agent-resolver/fetch-helpers.d.ts.map +1 -0
  835. package/dist/lib/signing/agent-resolver/fetch-helpers.js +85 -0
  836. package/dist/lib/signing/agent-resolver/fetch-helpers.js.map +1 -0
  837. package/dist/lib/signing/agent-resolver/index.d.ts +26 -0
  838. package/dist/lib/signing/agent-resolver/index.d.ts.map +1 -0
  839. package/dist/lib/signing/agent-resolver/index.js +33 -0
  840. package/dist/lib/signing/agent-resolver/index.js.map +1 -0
  841. package/dist/lib/signing/agent-resolver/jwks-set.d.ts +76 -0
  842. package/dist/lib/signing/agent-resolver/jwks-set.d.ts.map +1 -0
  843. package/dist/lib/signing/agent-resolver/jwks-set.js +124 -0
  844. package/dist/lib/signing/agent-resolver/jwks-set.js.map +1 -0
  845. package/dist/lib/signing/agent-resolver/resolve-agent.d.ts +123 -0
  846. package/dist/lib/signing/agent-resolver/resolve-agent.d.ts.map +1 -0
  847. package/dist/lib/signing/agent-resolver/resolve-agent.js +398 -0
  848. package/dist/lib/signing/agent-resolver/resolve-agent.js.map +1 -0
  849. package/dist/lib/signing/agent-resolver/select-agent.d.ts +54 -0
  850. package/dist/lib/signing/agent-resolver/select-agent.d.ts.map +1 -0
  851. package/dist/lib/signing/agent-resolver/select-agent.js +94 -0
  852. package/dist/lib/signing/agent-resolver/select-agent.js.map +1 -0
  853. package/dist/lib/signing/agent-resolver/strict-json.d.ts +44 -0
  854. package/dist/lib/signing/agent-resolver/strict-json.d.ts.map +1 -0
  855. package/dist/lib/signing/agent-resolver/strict-json.js +219 -0
  856. package/dist/lib/signing/agent-resolver/strict-json.js.map +1 -0
  857. package/dist/lib/signing/capability-priming.d.ts.map +1 -1
  858. package/dist/lib/signing/capability-priming.js +2 -55
  859. package/dist/lib/signing/capability-priming.js.map +1 -1
  860. package/dist/lib/signing/protocol-response.d.ts +18 -0
  861. package/dist/lib/signing/protocol-response.d.ts.map +1 -0
  862. package/dist/lib/signing/protocol-response.js +69 -0
  863. package/dist/lib/signing/protocol-response.js.map +1 -0
  864. package/dist/lib/signing/server.d.ts +1 -0
  865. package/dist/lib/signing/server.d.ts.map +1 -1
  866. package/dist/lib/signing/server.js +10 -1
  867. package/dist/lib/signing/server.js.map +1 -1
  868. package/dist/lib/signing/testing.d.ts +64 -0
  869. package/dist/lib/signing/testing.d.ts.map +1 -1
  870. package/dist/lib/signing/testing.js +100 -5
  871. package/dist/lib/signing/testing.js.map +1 -1
  872. package/dist/lib/testing/compliance/comply.d.ts.map +1 -1
  873. package/dist/lib/testing/compliance/comply.js +2 -0
  874. package/dist/lib/testing/compliance/comply.js.map +1 -1
  875. package/dist/lib/testing/compliance/types.d.ts +8 -0
  876. package/dist/lib/testing/compliance/types.d.ts.map +1 -1
  877. package/dist/lib/testing/comply-controller.d.ts +23 -2
  878. package/dist/lib/testing/comply-controller.d.ts.map +1 -1
  879. package/dist/lib/testing/comply-controller.js +19 -2
  880. package/dist/lib/testing/comply-controller.js.map +1 -1
  881. package/dist/lib/testing/index.d.ts +1 -1
  882. package/dist/lib/testing/index.d.ts.map +1 -1
  883. package/dist/lib/testing/index.js.map +1 -1
  884. package/dist/lib/testing/storyboard/agent-routing.d.ts +92 -0
  885. package/dist/lib/testing/storyboard/agent-routing.d.ts.map +1 -0
  886. package/dist/lib/testing/storyboard/agent-routing.js +291 -0
  887. package/dist/lib/testing/storyboard/agent-routing.js.map +1 -0
  888. package/dist/lib/testing/storyboard/context.d.ts +22 -0
  889. package/dist/lib/testing/storyboard/context.d.ts.map +1 -1
  890. package/dist/lib/testing/storyboard/context.js +35 -8
  891. package/dist/lib/testing/storyboard/context.js.map +1 -1
  892. package/dist/lib/testing/storyboard/default-invariants.js +6 -35
  893. package/dist/lib/testing/storyboard/default-invariants.js.map +1 -1
  894. package/dist/lib/testing/storyboard/index.d.ts +1 -1
  895. package/dist/lib/testing/storyboard/index.d.ts.map +1 -1
  896. package/dist/lib/testing/storyboard/index.js.map +1 -1
  897. package/dist/lib/testing/storyboard/loader.js +46 -12
  898. package/dist/lib/testing/storyboard/loader.js.map +1 -1
  899. package/dist/lib/testing/storyboard/request-builder.d.ts.map +1 -1
  900. package/dist/lib/testing/storyboard/request-builder.js +14 -1
  901. package/dist/lib/testing/storyboard/request-builder.js.map +1 -1
  902. package/dist/lib/testing/storyboard/runner.d.ts +17 -0
  903. package/dist/lib/testing/storyboard/runner.d.ts.map +1 -1
  904. package/dist/lib/testing/storyboard/runner.js +800 -92
  905. package/dist/lib/testing/storyboard/runner.js.map +1 -1
  906. package/dist/lib/testing/storyboard/types.d.ts +221 -12
  907. package/dist/lib/testing/storyboard/types.d.ts.map +1 -1
  908. package/dist/lib/testing/storyboard/types.js.map +1 -1
  909. package/dist/lib/testing/storyboard/validations.d.ts +65 -0
  910. package/dist/lib/testing/storyboard/validations.d.ts.map +1 -1
  911. package/dist/lib/testing/storyboard/validations.js +511 -2
  912. package/dist/lib/testing/storyboard/validations.js.map +1 -1
  913. package/dist/lib/testing/test-controller.d.ts +65 -1
  914. package/dist/lib/testing/test-controller.d.ts.map +1 -1
  915. package/dist/lib/testing/test-controller.js +36 -0
  916. package/dist/lib/testing/test-controller.js.map +1 -1
  917. package/dist/lib/testing/types.d.ts +14 -0
  918. package/dist/lib/testing/types.d.ts.map +1 -1
  919. package/dist/lib/types/core.generated.d.ts +299 -141
  920. package/dist/lib/types/core.generated.d.ts.map +1 -1
  921. package/dist/lib/types/core.generated.js +2 -2
  922. package/dist/lib/types/error-codes.d.ts +168 -108
  923. package/dist/lib/types/error-codes.d.ts.map +1 -1
  924. package/dist/lib/types/error-codes.js +23 -190
  925. package/dist/lib/types/error-codes.js.map +1 -1
  926. package/dist/lib/types/error-details.aliases.d.ts +48 -0
  927. package/dist/lib/types/error-details.aliases.d.ts.map +1 -0
  928. package/dist/lib/types/error-details.aliases.js +41 -0
  929. package/dist/lib/types/error-details.aliases.js.map +1 -0
  930. package/dist/lib/types/index.d.ts +15 -1
  931. package/dist/lib/types/index.d.ts.map +1 -1
  932. package/dist/lib/types/index.js +7 -0
  933. package/dist/lib/types/index.js.map +1 -1
  934. package/dist/lib/types/inline-enums.generated.d.ts +2 -4
  935. package/dist/lib/types/inline-enums.generated.d.ts.map +1 -1
  936. package/dist/lib/types/inline-enums.generated.js +10 -7
  937. package/dist/lib/types/inline-enums.generated.js.map +1 -1
  938. package/dist/lib/types/manifest.generated.d.ts +280 -0
  939. package/dist/lib/types/manifest.generated.d.ts.map +1 -0
  940. package/dist/lib/types/manifest.generated.js +339 -0
  941. package/dist/lib/types/manifest.generated.js.map +1 -0
  942. package/dist/lib/types/schemas.generated.d.ts +27229 -25160
  943. package/dist/lib/types/schemas.generated.d.ts.map +1 -1
  944. package/dist/lib/types/schemas.generated.js +584 -533
  945. package/dist/lib/types/schemas.generated.js.map +1 -1
  946. package/dist/lib/types/tools.generated.d.ts +146 -21
  947. package/dist/lib/types/tools.generated.d.ts.map +1 -1
  948. package/dist/lib/types/v2-5/tools.generated.d.ts +48 -1
  949. package/dist/lib/types/v2-5/tools.generated.d.ts.map +1 -1
  950. package/dist/lib/upstream-recorder/index.d.ts +57 -0
  951. package/dist/lib/upstream-recorder/index.d.ts.map +1 -0
  952. package/dist/lib/upstream-recorder/index.js +62 -0
  953. package/dist/lib/upstream-recorder/index.js.map +1 -0
  954. package/dist/lib/upstream-recorder/recorder.d.ts +35 -0
  955. package/dist/lib/upstream-recorder/recorder.d.ts.map +1 -0
  956. package/dist/lib/upstream-recorder/recorder.js +507 -0
  957. package/dist/lib/upstream-recorder/recorder.js.map +1 -0
  958. package/dist/lib/upstream-recorder/types.d.ts +365 -0
  959. package/dist/lib/upstream-recorder/types.d.ts.map +1 -0
  960. package/dist/lib/upstream-recorder/types.js +30 -0
  961. package/dist/lib/upstream-recorder/types.js.map +1 -0
  962. package/dist/lib/utils/capabilities.d.ts +44 -3
  963. package/dist/lib/utils/capabilities.d.ts.map +1 -1
  964. package/dist/lib/utils/capabilities.js +67 -3
  965. package/dist/lib/utils/capabilities.js.map +1 -1
  966. package/dist/lib/utils/error-extraction.d.ts +24 -0
  967. package/dist/lib/utils/error-extraction.d.ts.map +1 -1
  968. package/dist/lib/utils/error-extraction.js +0 -2
  969. package/dist/lib/utils/error-extraction.js.map +1 -1
  970. package/dist/lib/utils/format-render-builders.d.ts +2 -1
  971. package/dist/lib/utils/format-render-builders.d.ts.map +1 -1
  972. package/dist/lib/utils/format-render-builders.js +0 -23
  973. package/dist/lib/utils/format-render-builders.js.map +1 -1
  974. package/dist/lib/utils/glob.d.ts +30 -0
  975. package/dist/lib/utils/glob.d.ts.map +1 -0
  976. package/dist/lib/utils/glob.js +39 -0
  977. package/dist/lib/utils/glob.js.map +1 -0
  978. package/dist/lib/utils/redact-secrets.d.ts +37 -0
  979. package/dist/lib/utils/redact-secrets.d.ts.map +1 -0
  980. package/dist/lib/utils/redact-secrets.js +65 -0
  981. package/dist/lib/utils/redact-secrets.js.map +1 -0
  982. package/dist/lib/utils/tool-request-schemas.d.ts.map +1 -1
  983. package/dist/lib/utils/tool-request-schemas.js +1 -0
  984. package/dist/lib/utils/tool-request-schemas.js.map +1 -1
  985. package/dist/lib/validation/hints.d.ts +50 -0
  986. package/dist/lib/validation/hints.d.ts.map +1 -0
  987. package/dist/lib/validation/hints.js +194 -0
  988. package/dist/lib/validation/hints.js.map +1 -0
  989. package/dist/lib/validation/schema-errors.d.ts +2 -1
  990. package/dist/lib/validation/schema-errors.d.ts.map +1 -1
  991. package/dist/lib/validation/schema-errors.js +39 -4
  992. package/dist/lib/validation/schema-errors.js.map +1 -1
  993. package/dist/lib/validation/schema-loader.d.ts +13 -0
  994. package/dist/lib/validation/schema-loader.d.ts.map +1 -1
  995. package/dist/lib/validation/schema-loader.js +20 -0
  996. package/dist/lib/validation/schema-loader.js.map +1 -1
  997. package/dist/lib/validation/schema-validator.d.ts +107 -2
  998. package/dist/lib/validation/schema-validator.d.ts.map +1 -1
  999. package/dist/lib/validation/schema-validator.js +205 -12
  1000. package/dist/lib/validation/schema-validator.js.map +1 -1
  1001. package/dist/lib/validation/sync-creatives.d.ts +30 -0
  1002. package/dist/lib/validation/sync-creatives.d.ts.map +1 -1
  1003. package/dist/lib/version.d.ts +7 -7
  1004. package/dist/lib/version.d.ts.map +1 -1
  1005. package/dist/lib/version.js +9 -5
  1006. package/dist/lib/version.js.map +1 -1
  1007. package/docs/guides/BUILD-AN-AGENT.md +267 -137
  1008. package/docs/llms.txt +110 -55
  1009. package/examples/CONTRIBUTING.md +173 -0
  1010. package/examples/README.md +48 -0
  1011. package/examples/comply-controller-seller.ts +9 -17
  1012. package/examples/decisioning-platform-broadcast-tv.ts +3 -2
  1013. package/examples/decisioning-platform-implicit-accounts.ts +168 -0
  1014. package/examples/decisioning-platform-mock-seller.ts +3 -2
  1015. package/examples/decisioning-platform-multi-tenant-db.ts +317 -0
  1016. package/examples/decisioning-platform-programmatic.ts +3 -2
  1017. package/examples/hello-cluster.ts +460 -0
  1018. package/examples/hello_creative_adapter_ad_server.ts +790 -0
  1019. package/examples/hello_creative_adapter_template.ts +528 -0
  1020. package/examples/hello_seller_adapter_guaranteed.ts +1138 -0
  1021. package/examples/hello_seller_adapter_multi_tenant.ts +1046 -0
  1022. package/examples/hello_seller_adapter_non_guaranteed.ts +1020 -0
  1023. package/examples/hello_seller_adapter_social.ts +829 -0
  1024. package/examples/hello_si_adapter_brand.ts +572 -0
  1025. package/examples/hello_signals_adapter_marketplace.ts +532 -0
  1026. package/examples/seller-test-controller.ts +22 -28
  1027. package/package.json +32 -4
  1028. package/skills/SHAPE-GOTCHAS.md +233 -0
  1029. package/skills/build-brand-rights-agent/SKILL.md +121 -16
  1030. package/skills/build-creative-agent/SKILL.md +128 -184
  1031. package/skills/build-decisioning-platform/advanced/MULTI-TENANT.md +104 -28
  1032. package/skills/build-generative-seller-agent/SKILL.md +15 -9
  1033. package/skills/build-governance-agent/SKILL.md +20 -11
  1034. package/skills/build-holdco-agent/SKILL.md +250 -0
  1035. package/skills/build-retail-media-agent/SKILL.md +10 -8
  1036. package/skills/build-seller-agent/SKILL.md +315 -49
  1037. package/skills/build-seller-agent/specialisms/sales-broadcast-tv.md +2 -0
  1038. package/skills/build-seller-agent/specialisms/sales-guaranteed.md +18 -0
  1039. package/skills/build-seller-agent/specialisms/sales-non-guaranteed.md +9 -29
  1040. package/skills/build-seller-agent/specialisms/sales-social.md +63 -2
  1041. package/skills/build-si-agent/SKILL.md +251 -196
  1042. package/skills/build-signals-agent/SKILL.md +4 -0
  1043. package/skills/call-adcp-agent/SKILL.md +7 -1
  1044. package/skills/run-by-experts/SKILL.md +116 -0
  1045. package/skills/triage-storyboard-failure/SKILL.md +96 -0
  1046. package/skills/call-adcp-agent.previous/SKILL.md +0 -339
  1047. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/brand/index.yaml +0 -0
  1048. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/creative/index.yaml +0 -0
  1049. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/governance/index.yaml +0 -0
  1050. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/creative-reception.yaml +0 -0
  1051. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/index.yaml +0 -0
  1052. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/create_media_buy_async.yaml +0 -0
  1053. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/creative_fate_after_cancellation.yaml +0 -0
  1054. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/delivery_reporting.yaml +0 -0
  1055. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/governance_approved.yaml +0 -0
  1056. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/governance_conditions.yaml +0 -0
  1057. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/governance_denied.yaml +0 -0
  1058. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/governance_denied_recovery.yaml +0 -0
  1059. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/invalid_transitions.yaml +0 -0
  1060. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/inventory_list_no_match.yaml +0 -0
  1061. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/inventory_list_targeting.yaml +0 -0
  1062. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/measurement_terms_rejected.yaml +0 -0
  1063. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/pending_creatives_to_start.yaml +0 -0
  1064. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/proposal_finalize.yaml +0 -0
  1065. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/scenarios/refine_products.yaml +0 -0
  1066. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/media-buy/state-machine.yaml +0 -0
  1067. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/signals/index.yaml +0 -0
  1068. /package/compliance/cache/{3.0.1 → 3.0.5}/domains/sponsored-intelligence/index.yaml +0 -0
  1069. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/brand/index.yaml +0 -0
  1070. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/creative/index.yaml +0 -0
  1071. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/governance/index.yaml +0 -0
  1072. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/creative-reception.yaml +0 -0
  1073. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/index.yaml +0 -0
  1074. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/create_media_buy_async.yaml +0 -0
  1075. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/creative_fate_after_cancellation.yaml +0 -0
  1076. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/delivery_reporting.yaml +0 -0
  1077. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/governance_approved.yaml +0 -0
  1078. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/governance_conditions.yaml +0 -0
  1079. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/governance_denied.yaml +0 -0
  1080. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/governance_denied_recovery.yaml +0 -0
  1081. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/invalid_transitions.yaml +0 -0
  1082. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/inventory_list_no_match.yaml +0 -0
  1083. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/inventory_list_targeting.yaml +0 -0
  1084. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/measurement_terms_rejected.yaml +0 -0
  1085. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/pending_creatives_to_start.yaml +0 -0
  1086. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/proposal_finalize.yaml +0 -0
  1087. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/scenarios/refine_products.yaml +0 -0
  1088. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/media-buy/state-machine.yaml +0 -0
  1089. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/signals/index.yaml +0 -0
  1090. /package/compliance/cache/{3.0.1 → 3.0.5}/protocols/sponsored-intelligence/index.yaml +0 -0
  1091. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/brand-rights/scenarios/governance_denied.yaml +0 -0
  1092. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/collection-lists/index.yaml +0 -0
  1093. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/content-standards/index.yaml +0 -0
  1094. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/creative-ad-server/index.yaml +0 -0
  1095. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/creative-generative/generative-seller.yaml +0 -0
  1096. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/creative-generative/index.yaml +0 -0
  1097. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/creative-template/index.yaml +0 -0
  1098. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/governance-aware-seller/index.yaml +0 -0
  1099. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/governance-delivery-monitor/index.yaml +0 -0
  1100. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/governance-spend-authority/denied.yaml +0 -0
  1101. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/governance-spend-authority/index.yaml +0 -0
  1102. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/property-lists/index.yaml +0 -0
  1103. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/sales-broadcast-tv/index.yaml +0 -0
  1104. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/sales-catalog-driven/index.yaml +0 -0
  1105. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/sales-guaranteed/index.yaml +0 -0
  1106. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/sales-non-guaranteed/index.yaml +0 -0
  1107. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/sales-proposal-mode/index.yaml +0 -0
  1108. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/signal-marketplace/index.yaml +0 -0
  1109. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/signal-marketplace/scenarios/governance_denied.yaml +0 -0
  1110. /package/compliance/cache/{3.0.1 → 3.0.5}/specialisms/signal-owned/index.yaml +0 -0
  1111. /package/compliance/cache/{3.0.1 → 3.0.5}/test-kits/acme-outdoor.yaml +0 -0
  1112. /package/compliance/cache/{3.0.1 → 3.0.5}/test-kits/bistro-oranje.yaml +0 -0
  1113. /package/compliance/cache/{3.0.1 → 3.0.5}/test-kits/nova-motors.yaml +0 -0
  1114. /package/compliance/cache/{3.0.1 → 3.0.5}/test-kits/osei-natural.yaml +0 -0
  1115. /package/compliance/cache/{3.0.1 → 3.0.5}/test-kits/signed-requests-runner.yaml +0 -0
  1116. /package/compliance/cache/{3.0.1 → 3.0.5}/test-kits/substitution-observer-runner.yaml +0 -0
  1117. /package/compliance/cache/{3.0.1 → 3.0.5}/test-kits/summit-foods.yaml +0 -0
  1118. /package/compliance/cache/{3.0.1 → 3.0.5}/test-kits/webhook-receiver-runner.yaml +0 -0
  1119. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/plan-hash/001-minimal-plan.json +0 -0
  1120. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/plan-hash/002-full-plan.json +0 -0
  1121. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/plan-hash/003-bookkeeping-stripped.json +0 -0
  1122. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/plan-hash/004a-human-review-omitted.json +0 -0
  1123. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/plan-hash/004b-human-review-explicit-null.json +0 -0
  1124. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/plan-hash/005a-policy-categories-order-1.json +0 -0
  1125. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/plan-hash/005b-policy-categories-order-2.json +0 -0
  1126. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/plan-hash/006a-ext-trace-v1.json +0 -0
  1127. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/plan-hash/006b-ext-trace-v2.json +0 -0
  1128. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/plan-hash/007-unicode-objectives.json +0 -0
  1129. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/plan-hash/008-numeric-canonicalization.json +0 -0
  1130. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/README.md +0 -0
  1131. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/canonicalization.json +0 -0
  1132. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/keys.json +0 -0
  1133. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/001-no-signature-header.json +0 -0
  1134. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/002-wrong-tag.json +0 -0
  1135. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/003-expired-signature.json +0 -0
  1136. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/004-window-too-long.json +0 -0
  1137. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/005-alg-not-allowed.json +0 -0
  1138. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/006-missing-covered-component.json +0 -0
  1139. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/007-missing-content-digest.json +0 -0
  1140. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/008-unknown-keyid.json +0 -0
  1141. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/009-key-ops-missing-verify.json +0 -0
  1142. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/010-content-digest-mismatch.json +0 -0
  1143. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/011-malformed-header.json +0 -0
  1144. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/012-missing-expires-param.json +0 -0
  1145. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/013-expires-le-created.json +0 -0
  1146. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/014-missing-nonce-param.json +0 -0
  1147. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/015-signature-invalid.json +0 -0
  1148. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/016-replayed-nonce.json +0 -0
  1149. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/017-key-revoked.json +0 -0
  1150. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/018-digest-covered-when-forbidden.json +0 -0
  1151. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/019-signature-without-signature-input.json +0 -0
  1152. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/020-rate-abuse.json +0 -0
  1153. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/021-duplicate-signature-input-label.json +0 -0
  1154. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/022-multi-valued-content-type.json +0 -0
  1155. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/023-multi-valued-content-digest.json +0 -0
  1156. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/024-unquoted-string-param.json +0 -0
  1157. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/025-jwk-alg-crv-mismatch.json +0 -0
  1158. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/026-non-ascii-host.json +0 -0
  1159. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/negative/027-webhook-registration-authentication-unsigned.json +0 -0
  1160. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/001-basic-post.json +0 -0
  1161. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/002-post-with-content-digest.json +0 -0
  1162. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/003-es256-post.json +0 -0
  1163. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/004-multiple-signature-labels.json +0 -0
  1164. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/005-default-port-stripped.json +0 -0
  1165. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/006-dot-segment-path.json +0 -0
  1166. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/007-query-byte-preserved.json +0 -0
  1167. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/008-percent-encoded-path.json +0 -0
  1168. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/009-percent-encoded-unreserved-decoded.json +0 -0
  1169. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/010-percent-encoded-slash-preserved.json +0 -0
  1170. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/011-ipv6-authority.json +0 -0
  1171. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/request-signing/positive/012-ipv6-authority-default-port-stripped.json +0 -0
  1172. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/README.md +0 -0
  1173. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/keys.json +0 -0
  1174. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/001-wrong-tag.json +0 -0
  1175. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/002-expired-signature.json +0 -0
  1176. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/003-window-too-long.json +0 -0
  1177. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/004-alg-not-allowed.json +0 -0
  1178. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/005-missing-authority-component.json +0 -0
  1179. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/006-missing-content-digest.json +0 -0
  1180. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/007-unknown-keyid.json +0 -0
  1181. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/008-wrong-adcp-use.json +0 -0
  1182. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/009-content-digest-mismatch.json +0 -0
  1183. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/010-malformed-signature-input.json +0 -0
  1184. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/011-signature-without-input.json +0 -0
  1185. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/012-missing-expires-param.json +0 -0
  1186. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/013-expires-le-created.json +0 -0
  1187. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/014-missing-nonce-param.json +0 -0
  1188. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/015-signature-invalid.json +0 -0
  1189. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/016-replayed-nonce.json +0 -0
  1190. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/017-key-revoked.json +0 -0
  1191. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/018-rate-abuse.json +0 -0
  1192. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/019-revocation-stale.json +0 -0
  1193. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/020-key-ops-missing-verify.json +0 -0
  1194. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/negative/021-base64-alphabet-mixing.json +0 -0
  1195. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/positive/001-basic-post.json +0 -0
  1196. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/positive/002-es256-post.json +0 -0
  1197. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/positive/003-multiple-signature-labels.json +0 -0
  1198. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/positive/004-default-port-stripped.json +0 -0
  1199. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/positive/005-percent-encoded-path.json +0 -0
  1200. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/positive/006-query-byte-preserved.json +0 -0
  1201. /package/compliance/cache/{3.0.1 → 3.0.5}/test-vectors/webhook-signing/positive/007-body-without-idempotency-key.json +0 -0
  1202. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/capability-discovery.yaml +0 -0
  1203. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/collection-lists-pagination-integrity.yaml +0 -0
  1204. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/content-standards-pagination-integrity.yaml +0 -0
  1205. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/deterministic-testing.yaml +0 -0
  1206. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/error-compliance.yaml +0 -0
  1207. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/fictional-entities.yaml +0 -0
  1208. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/get-media-buys-pagination-integrity.yaml +0 -0
  1209. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/get-signals-pagination-integrity.yaml +0 -0
  1210. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/idempotency.yaml +0 -0
  1211. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/pagination-integrity-creative-formats.yaml +0 -0
  1212. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/pagination-integrity-list-accounts.yaml +0 -0
  1213. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/pagination-integrity.yaml +0 -0
  1214. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/property-lists-pagination-integrity.yaml +0 -0
  1215. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/schema-validation.yaml +0 -0
  1216. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/security.yaml +0 -0
  1217. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/signed-requests.yaml +0 -0
  1218. /package/compliance/cache/{3.0.1 → 3.0.5}/universal/webhook-emission.yaml +0 -0
@@ -53,6 +53,60 @@
53
53
  # MUST exist in the source tree at build time. Duplicate IDs
54
54
  # across files are a build-time error.)
55
55
  #
56
+ # default_agent: string (optional — logical agent key used by multi-agent
57
+ # storyboard runners to route steps that do not have a unique specialism
58
+ # claimant in the runtime agents map. Resolved by the runner against the
59
+ # `agents` option passed to `runStoryboard({ agents: { sales: …, governance: …, … } })`.
60
+ #
61
+ # Key shape: free-form non-empty string, matched verbatim against the
62
+ # runtime `agents` map's keys. The spec does NOT constrain the key to the
63
+ # specialism enum (`sales`, `signals`, `governance`, `creative`, `brand`)
64
+ # because production multi-agent topologies legitimately fan out per-property
65
+ # (`nyt_sales`, `wsj_sales`), per-region (`sales_eu`, `sales_us`), or
66
+ # per-brand-rights-holder. Authors choose the convention that matches their
67
+ # operator's CI invocation; portability across operators is the author's
68
+ # concern, not the spec's.
69
+ #
70
+ # When to set it. Storyboards that exercise cross-domain tools — e.g.,
71
+ # `sync_creatives`, `list_creative_formats` — do not name a single specialism
72
+ # the runner can match. The author has the most context for which logical
73
+ # tenant should receive these calls (usually "wherever the seller is":
74
+ # `sales`). Encoding `default_agent: sales` once in the YAML beats
75
+ # re-asserting it on every CI invocation. (Note: `comply_test_controller`
76
+ # is routed via `prerequisites.controller_seeding`, not this field — the
77
+ # controller is a back-channel, not a specialism claimant.)
78
+ #
79
+ # Resolution order (runner contract — see adcp-client#1066, adcp-client#1355):
80
+ # 1. Step-level `agent:` override (if declared on the step).
81
+ # 2. Specialism-claimant match against the runtime agents map (matched
82
+ # via each agent's `get_adcp_capabilities.supported_protocols`):
83
+ # - Exactly one agent claims the step's task's specialism → route there.
84
+ # - Zero claimants → fall through to slot 3.
85
+ # - Two or more claimants → runner MUST grade the step `unrouted_step`
86
+ # rather than picking arbitrarily. Multi-claim is an operator-config
87
+ # error; the storyboard cannot disambiguate it. Slot 3/4 do NOT
88
+ # rescue this case — silently picking one would mask the misconfig.
89
+ # 3. Storyboard-level `default_agent` (THIS field) resolved against the
90
+ # runtime agents map. When the field is set but the key is absent from
91
+ # the map, the runner MUST grade the step `default_agent_unresolved`
92
+ # and MUST NOT fall through to slot 4 — silent fallback would invisibly
93
+ # override the storyboard author's encoded intent. Slot 4 fires only
94
+ # when the storyboard does NOT declare this field.
95
+ # 4. Run-options `default_agent` passed to `runStoryboard({ default_agent })`.
96
+ # Same key-resolution rule as slot 3: set-but-unmatched grades
97
+ # `default_agent_unresolved`; unset falls through to slot 5.
98
+ # 5. Fail-fast — runner raises `unrouted_step` and grades the step failed.
99
+ #
100
+ # Single-agent runs ignore this field entirely — there is no map to resolve
101
+ # against, every step routes to the only configured agent. Authors SHOULD
102
+ # still declare it for clarity; multi-agent runners treat it as advisory and
103
+ # single-agent runners as a no-op.
104
+ #
105
+ # Validation. The `<key>` MUST be a non-empty string. Validation that the
106
+ # key resolves to a configured tenant is a runtime concern (per the slot 3
107
+ # rule above), not a schema concern — the same storyboard runs against
108
+ # different topologies.)
109
+ #
56
110
  # agent:
57
111
  # interaction_model: enum (stateless_transform | stateful_preloaded | stateful_push | stateless_generate | media_buy_seller | marketplace_catalog | owned_signals | si_platform | brand_rights_holder | governance_agent)
58
112
  # capabilities: string[] (AdCP capability flags: supports_transformation, has_creative_library, supports_generation, sells_media, accepts_briefs, supports_guaranteed, supports_non_guaranteed, catalog_signals)
@@ -272,6 +326,54 @@
272
326
  # "prior_step.<step_id>.passed" → true if the named prior step in the same storyboard passed
273
327
  # Storyboard authors should prefer expressing gating through step ordering when possible.
274
328
  #
329
+ # provides_state_for: string | string[] (optional — declares that this step's pass
330
+ # establishes equivalent state for the named peer step(s) in the same phase. Used
331
+ # to rescue the cascade-skip default when one of two interchangeable stateful
332
+ # steps is missing on the agent: e.g., explicit-mode sellers that pre-provision
333
+ # accounts out-of-band declare `sync_accounts` as missing_tool but expose
334
+ # `list_accounts` as the canonical alternative — declaring
335
+ # `provides_state_for: sync_accounts` on `list_accounts` tells the runner that
336
+ # the substitute's pass satisfies the same downstream state contract.
337
+ #
338
+ # Grammar parallels `contributes_to`: declared on the substitute step, names
339
+ # the target peer(s) whose state it provides. The two fields are independent —
340
+ # `contributes_to` flows branch-set flags into a later `assert_contribution`;
341
+ # `provides_state_for` waives a peer's missing-tool / missing-test-controller
342
+ # cascade so downstream stateful steps still run.
343
+ #
344
+ # Array semantics: `provides_state_for: [A, B]` is ALL-OF — one substitute pass
345
+ # establishes state for both A and B simultaneously. ANY-OF semantics are not
346
+ # supported; if a substitute only conditionally satisfies a peer, model it as
347
+ # two separate substitute steps.
348
+ #
349
+ # Validation rules (enforced by lint:storyboard-provides-state-for, fail at
350
+ # parse time):
351
+ # - Same-phase only. The target step MUST live in the same phase as the
352
+ # substitute step. Cross-phase substitution is rejected; a cross-phase
353
+ # state contract belongs in `context_outputs` / `context_inputs`, not
354
+ # this field.
355
+ # - Target step must exist in the same phase by `id`.
356
+ # - Target step MUST declare `stateful: true`. Stateless peers don't
357
+ # carry a state contract to substitute for.
358
+ # - Substitute step MUST declare `stateful: true`. A stateless step
359
+ # cannot establish equivalent state on the agent side.
360
+ # - Self-references (`provides_state_for: <own_id>`) are rejected.
361
+ # - Cycles (A→B and B→A in the same phase) are rejected. The peer-graph
362
+ # per phase MUST be acyclic.
363
+ #
364
+ # Runner behavior (see runner-output-contract.yaml > skip_result.reasons.peer_substituted):
365
+ # - When the substitute step passes AND the target peer would otherwise
366
+ # grade `missing_tool` / `missing_test_controller`, the runner MUST
367
+ # grade the target peer with skip reason `peer_substituted` (not
368
+ # `missing_tool`) and MUST NOT cascade `prerequisite_failed` to
369
+ # downstream stateful steps in subsequent phases.
370
+ # - When the substitute step itself fails or is skipped, the cascade
371
+ # proceeds as if `provides_state_for` were absent — the substitute
372
+ # did not establish the state it claimed.
373
+ #
374
+ # See adcontextprotocol/adcp#3734 (mechanism rationale) and
375
+ # adcp-client#1130 (the cascade-skip default this field rescues).
376
+ #
275
377
  # context_outputs: array of ContextOutput objects (optional — capture values from
276
378
  # this step's response into the runner's context accumulator so later steps can
277
379
  # reference them via $context.<name>). Each entry:
@@ -575,7 +677,10 @@
575
677
  #
576
678
  # --- Validation ---
577
679
  #
578
- # check: string (what to validate: "response_schema", "field_present", "field_value",
680
+ # check: string (what to validate: "response_schema", "field_present",
681
+ # "envelope_field_present" (walks protocol-envelope.json instead of
682
+ # response_schema_ref — use for top-level envelope fields like `status`),
683
+ # "field_value",
579
684
  # "field_value_or_absent", "status_code", "http_status", "http_status_in",
580
685
  # "error_code", "on_401_require_header", "resource_equals_agent_url",
581
686
  # "any_of", "refs_resolve", "a2a_submitted_artifact")
@@ -15,7 +15,9 @@ narrative: |
15
15
  docs/building/implementation/task-lifecycle.mdx.
16
16
 
17
17
  This storyboard documents the machine-check assertion and asserts the canonical v3
18
- `status` field is present. The explicit envelope-root field-absence checks
18
+ `status` field is present using the `envelope_field_present` check type (added in
19
+ adcp-client#1045), which walks the protocol envelope rather than the inner response
20
+ schema. The explicit envelope-root field-absence checks
19
21
  (asserting task_status and response_status are absent) require `field_absent`
20
22
  runner support in @adcp/client — those checks are marked TODO below and are not
21
23
  executed until the runner ships that check type. The schema-level constraint
@@ -82,7 +84,7 @@ phases:
82
84
  validations:
83
85
  - check: response_schema
84
86
  description: "Response matches get-adcp-capabilities-response.json schema"
85
- - check: field_present
87
+ - check: envelope_field_present
86
88
  path: "status"
87
89
  description: "Envelope carries the canonical v3 status field"
88
90
  # TODO: restore these as field_absent checks once @adcp/client runner ships
@@ -0,0 +1,152 @@
1
+ /**
2
+ * Derived `AccountStore` factory for `resolution: 'derived'` single-tenant
3
+ * agents — there is no `account_id` on the wire and the auth principal alone
4
+ * identifies the tenant. Most self-hosted broadcasters, retail-media operators
5
+ * in proxy mode, and creative-only adapters (audiostack, flashtalking) where
6
+ * every API call is scoped by the buyer's per-request credential.
7
+ *
8
+ * Pairs with the existing reference adapters. Pick by asking *who creates the
9
+ * account?*:
10
+ * - **Buyer self-onboards via `sync_accounts`** → {@link InMemoryImplicitAccountStore}
11
+ * (Shape A, `resolution: 'implicit'`).
12
+ * - **Upstream OAuth API owns the roster** → {@link createOAuthPassthroughResolver}
13
+ * (Shape B, `resolution: 'explicit'`).
14
+ * - **Publisher ops curates the roster** → {@link createRosterAccountStore}
15
+ * (Shape C, `resolution: 'explicit'`).
16
+ * - **No account concept — auth principal IS the tenant** → `createDerivedAccountStore`
17
+ * (this file, Shape D, `resolution: 'derived'`).
18
+ *
19
+ * Closes adcp-client#1462. Replaces the ~25–30 LOC of `if (!authInfo.token) throw
20
+ * AUTH_REQUIRED; return { id: ..., ctx_metadata: { accessToken } }` boilerplate
21
+ * Shape D adopters write today.
22
+ *
23
+ * @see docs/guides/account-resolution.md
24
+ * @public
25
+ */
26
+ import type { Account, AccountStore, ResolveContext } from '../server/decisioning/account';
27
+ /**
28
+ * Options for {@link createDerivedAccountStore}.
29
+ *
30
+ * @public
31
+ */
32
+ export interface DerivedAccountStoreOptions<TCtxMeta = Record<string, unknown>> {
33
+ /**
34
+ * Build the singleton account from the request context. Called on every
35
+ * `resolve()` (no caching — the tenant is per-request because the auth
36
+ * principal varies). The returned account's `id` is typically a stable
37
+ * literal (e.g. `'audiostack'`, `'__publisher_wide__'`); single-tenant
38
+ * adapters have no buyer-supplied account_id to reflect back.
39
+ *
40
+ * **DO NOT put credentials in `ctx_metadata`.** See
41
+ * `docs/guides/CTX-METADATA-SAFETY.md` for the rationale. The wire-strip
42
+ * protects buyer responses but does NOT protect server-side log lines,
43
+ * error envelopes, or adopter-generated strings (e.g. `JSON.stringify(account)`
44
+ * in an error message). Re-derive the bearer from `ctx.authInfo` per
45
+ * request inside specialism methods instead.
46
+ *
47
+ * Adopters MAY omit `authInfo` from the returned `Account` — the framework
48
+ * auto-attaches the principal from `ctx.authInfo` when absent (matches
49
+ * Shape A/B/C semantics).
50
+ */
51
+ toAccount: (ctx: ResolveContext | undefined) => Account<TCtxMeta>;
52
+ /**
53
+ * Skip the `AUTH_REQUIRED` precheck. Defaults to `false` — the factory
54
+ * throws `AdcpError('AUTH_REQUIRED')` when `ctx.authInfo` is absent or
55
+ * carries no credential, matching the canonical Shape D pattern (every
56
+ * call must authenticate).
57
+ *
58
+ * Set to `true` for genuinely unauthenticated single-tenant agents (rare —
59
+ * public format catalogs, signed-request-only agents that authenticate
60
+ * out-of-band). When `true`, `toAccount` runs unconditionally.
61
+ *
62
+ * If you're tempted to set this because tests don't carry `authInfo`,
63
+ * fix the tests instead — `serve({ authenticate })` should populate
64
+ * `ctx.authInfo` from your test harness (or use `dispatchTestRequest`
65
+ * which threads a synthetic principal). The escape hatch is for
66
+ * production agents that legitimately accept unauthenticated traffic,
67
+ * not for working around fixture gaps.
68
+ *
69
+ * @default false
70
+ */
71
+ skipAuthCheck?: boolean;
72
+ }
73
+ /**
74
+ * Build an `AccountStore<TCtxMeta>` for single-tenant agents whose tenant is
75
+ * derived from the auth principal alone (no `account_id` on the wire).
76
+ *
77
+ * The factory:
78
+ * 1. Sets `resolution: 'derived'`.
79
+ * 2. Throws `AdcpError('AUTH_REQUIRED')` when `ctx.authInfo` carries no
80
+ * credential (skip with `skipAuthCheck: true`). The check accepts the
81
+ * discriminated `credential` shape (preferred) AND the deprecated
82
+ * `token` / `clientId` fields populated by pre-#1269 authenticators —
83
+ * fail-closed only when none of the three are present.
84
+ * 3. Calls `toAccount(ctx)` and returns the result. Buyer-supplied
85
+ * `AccountReference` is ignored — single-tenant by definition.
86
+ * 4. Omits `list` / `upsert` — single-tenant adapters have nothing to
87
+ * enumerate or write. Adopters who want either compose via spread.
88
+ *
89
+ * **When NOT to use this.** If two different auth principals should resolve
90
+ * to two different `account.id` values, you want Shape B
91
+ * ({@link createOAuthPassthroughResolver}) or `createTenantStore` — NOT this
92
+ * factory. Misusing Shape D in a multi-tenant deployment routes every buyer
93
+ * to the same singleton id and breaks tenant isolation silently (no error,
94
+ * no log). The factory is single-tenant by design — `toAccount(ctx)` should
95
+ * return the same `id` for every principal that calls it.
96
+ *
97
+ * @example AudioStack-shaped creative adapter:
98
+ * ```ts
99
+ * import { createDerivedAccountStore } from '@adcp/sdk/server';
100
+ *
101
+ * const accounts = createDerivedAccountStore<AudioStackAccountMeta>({
102
+ * toAccount: (ctx) => ({
103
+ * id: 'audiostack',
104
+ * name: 'AudioStack',
105
+ * status: 'active',
106
+ * ctx_metadata: {}, // tokens stay on ctx.authInfo, not here
107
+ * }),
108
+ * });
109
+ * ```
110
+ *
111
+ * @example Single-tenant retail-media proxy with derived display name:
112
+ * ```ts
113
+ * const accounts = createDerivedAccountStore<{ tenantId: string }>({
114
+ * toAccount: (ctx) => {
115
+ * const cred = ctx?.authInfo?.credential;
116
+ * const tenantId = cred?.kind === 'oauth' ? cred.client_id
117
+ * : cred?.kind === 'api_key' ? cred.key_id
118
+ * : 'public';
119
+ * return {
120
+ * id: 'criteo',
121
+ * name: `Criteo (${tenantId})`,
122
+ * status: 'active',
123
+ * ctx_metadata: { tenantId },
124
+ * };
125
+ * },
126
+ * });
127
+ * ```
128
+ *
129
+ * @example Compose `upsert` for adapters that ALSO want a buyer-driven
130
+ * write path (rare for Shape D, but possible):
131
+ * ```ts
132
+ * const accounts: AccountStore<MyMeta> = {
133
+ * ...createDerivedAccountStore({ toAccount }),
134
+ * upsert: async (refs, ctx) => mySync(refs, ctx),
135
+ * };
136
+ * ```
137
+ *
138
+ * **Buyer-supplied `account_id` is refused at the framework boundary.**
139
+ * Since adcp-client#1468, the framework throws `AdcpError('INVALID_REQUEST',
140
+ * { field: 'account.account_id' })` BEFORE reaching this resolver when a
141
+ * `'derived'`-mode platform receives an inline `account_id` — same shape
142
+ * as `'implicit'`'s long-standing refusal (#1364), with a single-tenant
143
+ * message instead of the `sync_accounts`-first guidance. The factory
144
+ * itself ignores any `account_id` that does reach it (defensive belt +
145
+ * braces), but adopters can rely on the framework refusal as the
146
+ * canonical surface. Hand-rolled `'derived'` stores get the same
147
+ * enforcement automatically.
148
+ *
149
+ * @public
150
+ */
151
+ export declare function createDerivedAccountStore<TCtxMeta = Record<string, unknown>>(options: DerivedAccountStoreOptions<TCtxMeta>): AccountStore<TCtxMeta>;
152
+ //# sourceMappingURL=derived-account-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"derived-account-store.d.ts","sourceRoot":"","sources":["../../../src/lib/adapters/derived-account-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAG3F;;;;GAIG;AACH,MAAM,WAAW,0BAA0B,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC5E;;;;;;;;;;;;;;;;;OAiBG;IACH,SAAS,EAAE,CAAC,GAAG,EAAE,cAAc,GAAG,SAAS,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAElE;;;;;;;;;;;;;;;;;;OAkBG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC1E,OAAO,EAAE,0BAA0B,CAAC,QAAQ,CAAC,GAC5C,YAAY,CAAC,QAAQ,CAAC,CAgBxB"}
@@ -0,0 +1,135 @@
1
+ "use strict";
2
+ /**
3
+ * Derived `AccountStore` factory for `resolution: 'derived'` single-tenant
4
+ * agents — there is no `account_id` on the wire and the auth principal alone
5
+ * identifies the tenant. Most self-hosted broadcasters, retail-media operators
6
+ * in proxy mode, and creative-only adapters (audiostack, flashtalking) where
7
+ * every API call is scoped by the buyer's per-request credential.
8
+ *
9
+ * Pairs with the existing reference adapters. Pick by asking *who creates the
10
+ * account?*:
11
+ * - **Buyer self-onboards via `sync_accounts`** → {@link InMemoryImplicitAccountStore}
12
+ * (Shape A, `resolution: 'implicit'`).
13
+ * - **Upstream OAuth API owns the roster** → {@link createOAuthPassthroughResolver}
14
+ * (Shape B, `resolution: 'explicit'`).
15
+ * - **Publisher ops curates the roster** → {@link createRosterAccountStore}
16
+ * (Shape C, `resolution: 'explicit'`).
17
+ * - **No account concept — auth principal IS the tenant** → `createDerivedAccountStore`
18
+ * (this file, Shape D, `resolution: 'derived'`).
19
+ *
20
+ * Closes adcp-client#1462. Replaces the ~25–30 LOC of `if (!authInfo.token) throw
21
+ * AUTH_REQUIRED; return { id: ..., ctx_metadata: { accessToken } }` boilerplate
22
+ * Shape D adopters write today.
23
+ *
24
+ * @see docs/guides/account-resolution.md
25
+ * @public
26
+ */
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.createDerivedAccountStore = createDerivedAccountStore;
29
+ const async_outcome_1 = require("../server/decisioning/async-outcome");
30
+ /**
31
+ * Build an `AccountStore<TCtxMeta>` for single-tenant agents whose tenant is
32
+ * derived from the auth principal alone (no `account_id` on the wire).
33
+ *
34
+ * The factory:
35
+ * 1. Sets `resolution: 'derived'`.
36
+ * 2. Throws `AdcpError('AUTH_REQUIRED')` when `ctx.authInfo` carries no
37
+ * credential (skip with `skipAuthCheck: true`). The check accepts the
38
+ * discriminated `credential` shape (preferred) AND the deprecated
39
+ * `token` / `clientId` fields populated by pre-#1269 authenticators —
40
+ * fail-closed only when none of the three are present.
41
+ * 3. Calls `toAccount(ctx)` and returns the result. Buyer-supplied
42
+ * `AccountReference` is ignored — single-tenant by definition.
43
+ * 4. Omits `list` / `upsert` — single-tenant adapters have nothing to
44
+ * enumerate or write. Adopters who want either compose via spread.
45
+ *
46
+ * **When NOT to use this.** If two different auth principals should resolve
47
+ * to two different `account.id` values, you want Shape B
48
+ * ({@link createOAuthPassthroughResolver}) or `createTenantStore` — NOT this
49
+ * factory. Misusing Shape D in a multi-tenant deployment routes every buyer
50
+ * to the same singleton id and breaks tenant isolation silently (no error,
51
+ * no log). The factory is single-tenant by design — `toAccount(ctx)` should
52
+ * return the same `id` for every principal that calls it.
53
+ *
54
+ * @example AudioStack-shaped creative adapter:
55
+ * ```ts
56
+ * import { createDerivedAccountStore } from '@adcp/sdk/server';
57
+ *
58
+ * const accounts = createDerivedAccountStore<AudioStackAccountMeta>({
59
+ * toAccount: (ctx) => ({
60
+ * id: 'audiostack',
61
+ * name: 'AudioStack',
62
+ * status: 'active',
63
+ * ctx_metadata: {}, // tokens stay on ctx.authInfo, not here
64
+ * }),
65
+ * });
66
+ * ```
67
+ *
68
+ * @example Single-tenant retail-media proxy with derived display name:
69
+ * ```ts
70
+ * const accounts = createDerivedAccountStore<{ tenantId: string }>({
71
+ * toAccount: (ctx) => {
72
+ * const cred = ctx?.authInfo?.credential;
73
+ * const tenantId = cred?.kind === 'oauth' ? cred.client_id
74
+ * : cred?.kind === 'api_key' ? cred.key_id
75
+ * : 'public';
76
+ * return {
77
+ * id: 'criteo',
78
+ * name: `Criteo (${tenantId})`,
79
+ * status: 'active',
80
+ * ctx_metadata: { tenantId },
81
+ * };
82
+ * },
83
+ * });
84
+ * ```
85
+ *
86
+ * @example Compose `upsert` for adapters that ALSO want a buyer-driven
87
+ * write path (rare for Shape D, but possible):
88
+ * ```ts
89
+ * const accounts: AccountStore<MyMeta> = {
90
+ * ...createDerivedAccountStore({ toAccount }),
91
+ * upsert: async (refs, ctx) => mySync(refs, ctx),
92
+ * };
93
+ * ```
94
+ *
95
+ * **Buyer-supplied `account_id` is refused at the framework boundary.**
96
+ * Since adcp-client#1468, the framework throws `AdcpError('INVALID_REQUEST',
97
+ * { field: 'account.account_id' })` BEFORE reaching this resolver when a
98
+ * `'derived'`-mode platform receives an inline `account_id` — same shape
99
+ * as `'implicit'`'s long-standing refusal (#1364), with a single-tenant
100
+ * message instead of the `sync_accounts`-first guidance. The factory
101
+ * itself ignores any `account_id` that does reach it (defensive belt +
102
+ * braces), but adopters can rely on the framework refusal as the
103
+ * canonical surface. Hand-rolled `'derived'` stores get the same
104
+ * enforcement automatically.
105
+ *
106
+ * @public
107
+ */
108
+ function createDerivedAccountStore(options) {
109
+ const skipAuthCheck = options.skipAuthCheck ?? false;
110
+ return {
111
+ resolution: 'derived',
112
+ async resolve(_ref, ctx) {
113
+ if (!skipAuthCheck && !hasAuthSignal(ctx)) {
114
+ throw new async_outcome_1.AdcpError('AUTH_REQUIRED', {
115
+ message: 'Single-tenant agent requires an authenticated principal; no credential on ctx.authInfo.',
116
+ recovery: 'correctable',
117
+ });
118
+ }
119
+ return options.toAccount(ctx);
120
+ },
121
+ };
122
+ }
123
+ /**
124
+ * True when `ctx.authInfo` carries any usable credential signal — the
125
+ * discriminated `credential` shape (preferred, post-#1269) OR the deprecated
126
+ * `token` / `clientId` fields still populated by pre-Stage-3 authenticators
127
+ * during the N+1 deprecation window. Fail-closed only when none are present.
128
+ */
129
+ function hasAuthSignal(ctx) {
130
+ const authInfo = ctx?.authInfo;
131
+ if (!authInfo)
132
+ return false;
133
+ return authInfo.credential !== undefined || authInfo.token !== undefined || authInfo.clientId !== undefined;
134
+ }
135
+ //# sourceMappingURL=derived-account-store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"derived-account-store.js","sourceRoot":"","sources":["../../../src/lib/adapters/derived-account-store.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;;AAoIH,8DAkBC;AAlJD,uEAAgE;AAkDhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,SAAgB,yBAAyB,CACvC,OAA6C;IAE7C,MAAM,aAAa,GAAG,OAAO,CAAC,aAAa,IAAI,KAAK,CAAC;IAErD,OAAO;QACL,UAAU,EAAE,SAAS;QAErB,KAAK,CAAC,OAAO,CAAC,IAAkC,EAAE,GAAoB;YACpE,IAAI,CAAC,aAAa,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC1C,MAAM,IAAI,yBAAS,CAAC,eAAe,EAAE;oBACnC,OAAO,EAAE,yFAAyF;oBAClG,QAAQ,EAAE,aAAa;iBACxB,CAAC,CAAC;YACL,CAAC;YACD,OAAO,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;QAChC,CAAC;KACF,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,aAAa,CAAC,GAA+B;IACpD,MAAM,QAAQ,GAAG,GAAG,EAAE,QAAQ,CAAC;IAC/B,IAAI,CAAC,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC5B,OAAO,QAAQ,CAAC,UAAU,KAAK,SAAS,IAAI,QAAQ,CAAC,KAAK,KAAK,SAAS,IAAI,QAAQ,CAAC,QAAQ,KAAK,SAAS,CAAC;AAC9G,CAAC"}
@@ -0,0 +1,172 @@
1
+ /**
2
+ * InMemoryImplicitAccountStore
3
+ *
4
+ * Reference implementation of `AccountStore` for `resolution: 'implicit'`
5
+ * platforms. Platforms using this resolution mode require buyers to call
6
+ * `sync_accounts` before any tool that needs tenant context; subsequent
7
+ * requests resolve the account from the caller's auth principal rather
8
+ * than from an inline `ext.account_ref`.
9
+ *
10
+ * Use this in tests and as a copy-and-adapt starting point for durable
11
+ * implementations. See `docs/guides/account-resolution.md` for key
12
+ * derivation guidance, error contracts, and TTL recommendations.
13
+ *
14
+ * **Picking an AccountStore?** Four reference shapes by *who creates the
15
+ * account*:
16
+ * - **Buyer self-onboards via `sync_accounts`** → `InMemoryImplicitAccountStore`
17
+ * (this file, Shape A).
18
+ * - **Upstream OAuth API owns the roster** → `createOAuthPassthroughResolver`
19
+ * (Shape B, returns just `resolve`).
20
+ * - **Publisher ops curates the roster** → `createRosterAccountStore`
21
+ * (Shape C, complete AccountStore).
22
+ * - **No account concept — auth principal IS the tenant** → `createDerivedAccountStore`
23
+ * (Shape D, `resolution: 'derived'`).
24
+ *
25
+ * @see docs/guides/account-resolution.md
26
+ * @public
27
+ */
28
+ import type { AccountReference } from '../types/tools.generated';
29
+ import type { Account, AccountStore, ResolvedAuthInfo, ResolveContext, SyncAccountsResultRow } from '../server/decisioning';
30
+ /**
31
+ * Default key-extraction function for the auth-principal→account mapping.
32
+ *
33
+ * Canonical choices by credential kind:
34
+ * - `'oauth'` → `oauth:<client_id>` (OAuth 2.0 client identity; stable across token rotations)
35
+ * - `'api_key'` → `api_key:<key_id>` (API-key identity; stable until key is revoked)
36
+ * - `'http_sig'`→ `http_sig:<agent_url>` (verified caller URL; the most durable identity)
37
+ *
38
+ * Adopters who key on `authInfo.sub` or `authInfo.extra` instead MUST
39
+ * document that choice — those fields are grant-specific and may not be
40
+ * stable across credential rotations.
41
+ */
42
+ export declare function defaultImplicitKeyFn(authInfo: ResolvedAuthInfo): string | undefined;
43
+ /**
44
+ * Constructor options for `InMemoryImplicitAccountStore`.
45
+ * @public
46
+ */
47
+ export interface ImplicitAccountStoreOptions<TCtxMeta = Record<string, unknown>> {
48
+ /**
49
+ * Convert a buyer-supplied `AccountReference` (from `sync_accounts`) to the
50
+ * seller's `Account<TCtxMeta>`. Called once per ref in `upsert()`.
51
+ *
52
+ * **Default:** builds a synthetic account from the ref fields. Suitable
53
+ * for tests; replace for production (call your platform's account-lookup
54
+ * or account-creation API here).
55
+ */
56
+ buildAccount?: (ref: AccountReference, ctx?: ResolveContext) => Account<TCtxMeta> | Promise<Account<TCtxMeta>>;
57
+ /**
58
+ * Extract the principal key from `ResolvedAuthInfo`. The returned string
59
+ * is the lookup key for the `authInfo → accounts` mapping.
60
+ *
61
+ * **Default:** `defaultImplicitKeyFn` — uses `credential.client_id`
62
+ * (oauth), `credential.key_id` (api_key), or `credential.agent_url`
63
+ * (http_sig). Stable across token rotations within the same credential
64
+ * kind.
65
+ *
66
+ * Override when your platform keys on a custom claim (e.g., a
67
+ * `sub`-derived tenant ID in `authInfo.extra`).
68
+ */
69
+ keyFn?: (authInfo: ResolvedAuthInfo) => string | undefined;
70
+ /**
71
+ * Sync-linkage TTL in milliseconds. Entries stored by `upsert()` expire
72
+ * after this duration; `resolve()` returns `null` (→ `ACCOUNT_NOT_FOUND`)
73
+ * for expired entries, prompting the buyer to call `sync_accounts` again.
74
+ *
75
+ * **Default:** `86_400_000` (24 hours). Align with your platform's session
76
+ * or token lifetime; longer TTLs risk serving stale account state.
77
+ *
78
+ * Distinct from `AccountStore.refreshToken` — that refreshes the upstream
79
+ * OAuth token mid-request. This TTL governs how long the sync-linkage
80
+ * itself is valid before a fresh `sync_accounts` is required.
81
+ */
82
+ ttlMs?: number;
83
+ }
84
+ /**
85
+ * In-memory `AccountStore` for `resolution: 'implicit'` platforms.
86
+ *
87
+ * Wire contract:
88
+ * 1. Buyer calls `sync_accounts` → framework calls `upsert()` → store records
89
+ * `authKey → accounts[]`.
90
+ * 2. Buyer calls any tool (e.g. `create_media_buy`) without `ext.account_ref`
91
+ * → framework calls `resolve(undefined, ctx)` → store looks up by `authKey`.
92
+ * 3. If no prior sync: `resolve()` returns `null` → framework emits
93
+ * `ACCOUNT_NOT_FOUND`. Do NOT return `AUTH_REQUIRED` — that signals
94
+ * missing credentials, not a missing pre-sync.
95
+ *
96
+ * This class is intentionally minimal. Copy-and-adapt for durable stores
97
+ * (Postgres, Redis); see `docs/guides/account-resolution.md` for the DDL
98
+ * reference and the key-derivation rationale.
99
+ *
100
+ * @example
101
+ * ```ts
102
+ * import { InMemoryImplicitAccountStore } from '@adcp/sdk/server';
103
+ *
104
+ * const accountStore = new InMemoryImplicitAccountStore({
105
+ * buildAccount: async (ref, ctx) => {
106
+ * const upstream = await myPlatform.findOrCreate(ref, ctx?.authInfo);
107
+ * return {
108
+ * id: upstream.id,
109
+ * name: upstream.name,
110
+ * status: 'active',
111
+ * ctx_metadata: { upstreamId: upstream.id },
112
+ * };
113
+ * },
114
+ * });
115
+ *
116
+ * // Wire into createAdcpServer:
117
+ * createAdcpServer({ accounts: accountStore, ... });
118
+ * ```
119
+ *
120
+ * @public
121
+ */
122
+ export declare class InMemoryImplicitAccountStore<TCtxMeta = Record<string, unknown>> implements AccountStore<TCtxMeta> {
123
+ readonly resolution: "implicit";
124
+ private _store;
125
+ private _keyFn;
126
+ private _ttlMs;
127
+ private _buildAccount;
128
+ constructor(options?: ImplicitAccountStoreOptions<TCtxMeta>);
129
+ /**
130
+ * Resolve the caller's account from the auth-principal→account mapping
131
+ * populated by a prior `sync_accounts` call.
132
+ *
133
+ * Returns `null` (→ `ACCOUNT_NOT_FOUND`) when:
134
+ * - No prior `sync_accounts` was called for this principal
135
+ * - The stored entry has exceeded `ttlMs`
136
+ * - `ctx.authInfo` is absent or carries no extractable key
137
+ *
138
+ * **Multi-account note.** When a buyer synced multiple refs in one
139
+ * `sync_accounts` call, this implementation returns the _first_ stored
140
+ * account. If your platform requires per-request account disambiguation
141
+ * (e.g., different brands on the same buyer), switch to `'explicit'` mode
142
+ * so buyers pass `ext.account_ref` on each request, or override `keyFn`
143
+ * to encode the brand into the key.
144
+ */
145
+ resolve(_ref: AccountReference | undefined, ctx?: ResolveContext): Promise<Account<TCtxMeta> | null>;
146
+ /**
147
+ * Process a `sync_accounts` payload: build accounts from refs and store
148
+ * them under the caller's auth key.
149
+ *
150
+ * The auth key is extracted from `ctx.authInfo` via `keyFn`. When the
151
+ * key cannot be derived (no credential or unrecognized credential kind),
152
+ * all refs are returned as `SYNC_FAILED` rows — a silent-success-then-
153
+ * mystery-failure sequence is worse than an explicit error. Check your
154
+ * `authenticate` callback and `keyFn` if you see this error.
155
+ *
156
+ * When `ctx.authInfo` is absent (unauthenticated call), all refs fail
157
+ * with `UNAUTHENTICATED`. Your `authenticate` callback in
158
+ * `serve({ authenticate })` should reject unauthenticated requests before
159
+ * reaching this method.
160
+ */
161
+ upsert(refs: AccountReference[], ctx?: ResolveContext): Promise<SyncAccountsResultRow[]>;
162
+ /** Remove all stored sync linkages. */
163
+ clear(): void;
164
+ /**
165
+ * Return the auth key that would be derived from `authInfo`.
166
+ * Useful in tests to assert that a specific principal's linkage was stored.
167
+ */
168
+ authKey(authInfo: ResolvedAuthInfo): string | undefined;
169
+ /** Return the number of principal → accounts linkages currently stored. */
170
+ get size(): number;
171
+ }
172
+ //# sourceMappingURL=implicit-account-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"implicit-account-store.d.ts","sourceRoot":"","sources":["../../../src/lib/adapters/implicit-account-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAkB,MAAM,0BAA0B,CAAC;AACjF,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EAEZ,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAM/B;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,GAAG,SAAS,CAWnF;AAiBD;;;GAGG;AACH,MAAM,WAAW,2BAA2B,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC7E;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;IAE/G;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,gBAAgB,KAAK,MAAM,GAAG,SAAS,CAAC;IAE3D;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAyCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBAAa,4BAA4B,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAE,YAAW,YAAY,CAAC,QAAQ,CAAC;IAC7G,QAAQ,CAAC,UAAU,EAAG,UAAU,CAAU;IAE1C,OAAO,CAAC,MAAM,CAA4C;IAC1D,OAAO,CAAC,MAAM,CAAqD;IACnE,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,aAAa,CAG+B;gBAExC,OAAO,CAAC,EAAE,2BAA2B,CAAC,QAAQ,CAAC;IAQ3D;;;;;;;;;;;;;;;OAeG;IACG,OAAO,CAAC,IAAI,EAAE,gBAAgB,GAAG,SAAS,EAAE,GAAG,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;IAc1G;;;;;;;;;;;;;;OAcG;IACG,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,EAAE,GAAG,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAC;IAqH9F,uCAAuC;IACvC,KAAK,IAAI,IAAI;IAIb;;;OAGG;IACH,OAAO,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,GAAG,SAAS;IAIvD,2EAA2E;IAC3E,IAAI,IAAI,IAAI,MAAM,CAEjB;CACF"}