@wildo-ai/saas-specifications 1.1.10 → 1.1.11

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 (2014) hide show
  1. package/dist/esm/_catalogs/index.d.ts.map +1 -1
  2. package/dist/esm/_catalogs/index.js.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
  4. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
  6. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  8. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.d.ts.map +1 -1
  10. package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.js.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
  12. package/dist/esm/_catalogs/schema-org/article.catalog-spec.js.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
  14. package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.js.map +1 -1
  15. package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
  16. package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.js.map +1 -1
  17. package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
  18. package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.js.map +1 -1
  19. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  20. package/dist/esm/_catalogs/schema-org/index.js +1 -1
  21. package/dist/esm/_catalogs/schema-org/index.js.map +1 -1
  22. package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
  23. package/dist/esm/_catalogs/schema-org/offer.catalog-spec.js.map +1 -1
  24. package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
  25. package/dist/esm/_catalogs/schema-org/organization.catalog-spec.js.map +1 -1
  26. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
  27. package/dist/esm/_catalogs/schema-org/product.catalog-spec.js.map +1 -1
  28. package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
  29. package/dist/esm/_catalogs/schema-org/review.catalog-spec.js.map +1 -1
  30. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts.map +1 -1
  31. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js.map +1 -1
  32. package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
  33. package/dist/esm/_catalogs/schema-org/website.catalog-spec.js.map +1 -1
  34. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -1
  35. package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -1
  36. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -1
  37. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -1
  38. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
  40. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
  41. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
  42. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
  43. package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
  44. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
  45. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
  46. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
  47. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
  48. package/dist/esm/_core/assertions/assertion-behaviors.schemas.js.map +1 -1
  49. package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
  50. package/dist/esm/_core/assertions/assertion-references.schemas.js.map +1 -1
  51. package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
  52. package/dist/esm/_core/assertions/assertion-snapshot-validation.js.map +1 -1
  53. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
  54. package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
  55. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  56. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  57. package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -1
  59. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  60. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
  61. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  62. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  63. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  64. package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
  65. package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
  66. package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
  67. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
  68. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
  69. package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
  70. package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
  71. package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
  72. package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
  73. package/dist/esm/_core/brand/brand-name-screening.family-aspects.d.ts.map +1 -1
  74. package/dist/esm/_core/brand/brand-name-screening.family-aspects.js.map +1 -1
  75. package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
  76. package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
  77. package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
  78. package/dist/esm/_core/brand/brand-name.schemas.js.map +1 -1
  79. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  80. package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
  81. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  82. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  83. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
  84. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  85. package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
  86. package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
  87. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  88. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
  89. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +66 -0
  90. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  91. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  92. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +3 -2
  93. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  94. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +5 -3
  95. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  96. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +354 -12
  97. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  98. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +231 -9
  99. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  100. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  101. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +1 -1
  102. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  103. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  104. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
  105. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -0
  106. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  107. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +3 -0
  108. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  109. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +6 -0
  110. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  111. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +20 -0
  112. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  113. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +1 -0
  114. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  115. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js.map +1 -1
  116. package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
  117. package/dist/esm/_core/business-model-lite/business-model-references.schemas.js.map +1 -1
  118. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -1
  119. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
  120. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
  121. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  122. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
  123. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  124. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  125. package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
  126. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -1
  127. package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -1
  128. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -1
  129. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -1
  130. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
  131. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
  132. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
  133. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
  134. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  135. package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
  136. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
  137. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
  138. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
  139. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
  140. package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
  141. package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.js.map +1 -1
  142. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  143. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  144. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -1
  145. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -1
  146. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  147. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  148. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  149. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
  150. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
  151. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
  152. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +66 -2
  153. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
  154. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  155. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  156. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
  157. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
  158. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
  159. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
  160. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
  161. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  162. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
  163. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  164. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
  165. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
  166. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
  167. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
  168. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
  169. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
  170. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
  171. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
  172. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
  173. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  174. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
  175. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  176. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -1
  178. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
  179. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
  180. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
  181. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
  182. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  183. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  184. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  185. package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
  186. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  187. package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
  188. package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
  189. package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
  190. package/dist/esm/_core/definition-specification-validators.js.map +1 -1
  191. package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
  192. package/dist/esm/_core/definition-specification.schemas.js.map +1 -1
  193. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  194. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
  195. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  196. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
  197. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  198. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  199. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
  200. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  201. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +1 -0
  202. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  203. package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
  204. package/dist/esm/_core/error-message-specification.schemas.js.map +1 -1
  205. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  206. package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
  207. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
  208. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
  209. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
  210. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
  211. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
  212. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +1 -1
  213. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
  214. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +7 -0
  215. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
  216. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +29 -0
  217. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
  218. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  219. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
  220. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
  221. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  222. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
  223. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  224. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  225. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  226. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -1
  227. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -1
  228. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  229. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  230. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  231. package/dist/esm/_core/family-aspects.registry.js +2 -0
  232. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  233. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  234. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  235. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +12 -12
  236. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
  237. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.js.map +1 -1
  238. package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
  239. package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.js.map +1 -1
  240. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  241. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.js.map +1 -1
  242. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -1
  243. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  244. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  245. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  246. package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
  247. package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.js.map +1 -1
  248. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  249. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
  250. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  251. package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
  252. package/dist/esm/_core/feature-specification.schemas.js.map +1 -1
  253. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  254. package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
  255. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  256. package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
  257. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  258. package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
  259. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  260. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  261. package/dist/esm/_core/index.d.ts +5 -0
  262. package/dist/esm/_core/index.d.ts.map +1 -1
  263. package/dist/esm/_core/index.js +5 -0
  264. package/dist/esm/_core/index.js.map +1 -1
  265. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
  266. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
  267. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -1
  268. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -1
  269. package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -1
  270. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
  271. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
  272. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
  273. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +26 -2
  274. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
  275. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
  276. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
  277. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  278. package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
  279. package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
  280. package/dist/esm/_core/market/inherit-from.js.map +1 -1
  281. package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
  282. package/dist/esm/_core/market/is-benefit-available.js.map +1 -1
  283. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  284. package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
  285. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  286. package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
  287. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  288. package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
  289. package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
  290. package/dist/esm/_core/market/market-category.schemas.js.map +1 -1
  291. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  292. package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
  293. package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
  294. package/dist/esm/_core/market/market-context-block.schemas.js.map +1 -1
  295. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  296. package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
  297. package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
  298. package/dist/esm/_core/market/market-generation.schemas.js.map +1 -1
  299. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  300. package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
  301. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  302. package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
  303. package/dist/esm/_core/market/market-language-coverage.d.ts.map +1 -1
  304. package/dist/esm/_core/market/market-language-coverage.js.map +1 -1
  305. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  306. package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
  307. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  308. package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
  309. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  310. package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
  311. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  312. package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
  313. package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
  314. package/dist/esm/_core/market/market-positioning.schemas.js.map +1 -1
  315. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  316. package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
  317. package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
  318. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  319. package/dist/esm/_core/market/market-references.schemas.js +13 -1
  320. package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
  321. package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
  322. package/dist/esm/_core/market/market-scoring.js.map +1 -1
  323. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +30 -24
  324. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  325. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
  326. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  327. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  328. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  329. package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
  330. package/dist/esm/_core/market/market-snapshot.schemas.js.map +1 -1
  331. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  332. package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
  333. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  334. package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
  335. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  336. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  337. package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
  338. package/dist/esm/_core/milestone-specification.schemas.js.map +1 -1
  339. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  340. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  341. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +11 -4
  342. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  343. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +3 -3
  344. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  345. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +3 -1
  346. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  347. package/dist/esm/_core/placement-plan/placement-plan-validation.js +23 -9
  348. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  349. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  350. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
  351. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  352. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +65 -9
  353. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  354. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +72 -13
  355. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  356. package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
  357. package/dist/esm/_core/product-specification.schemas.js.map +1 -1
  358. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
  359. package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
  360. package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
  361. package/dist/esm/_core/required-features-specification.schemas.js.map +1 -1
  362. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  363. package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
  364. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  365. package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
  366. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  367. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
  368. package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -1
  369. package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -1
  370. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
  371. package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
  372. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  373. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  374. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  375. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  376. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  377. package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
  378. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  379. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
  380. package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
  381. package/dist/esm/_core/resource-specification-registry-alignment.js.map +1 -1
  382. package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
  383. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  384. package/dist/esm/_core/resource-specification.schemas.js +73 -13
  385. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  386. package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
  387. package/dist/esm/_core/resource-type-member-name.types.js.map +1 -1
  388. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  389. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
  390. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
  391. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  392. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
  393. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
  394. package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
  395. package/dist/esm/_core/roadmap/roadmap-references.schemas.js.map +1 -1
  396. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
  397. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  398. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
  399. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  400. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  401. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  402. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
  403. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
  404. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.js.map +1 -1
  405. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
  406. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
  407. package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
  408. package/dist/esm/_core/role-specification.schemas.js.map +1 -1
  409. package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
  410. package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
  411. package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
  412. package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
  413. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
  414. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
  415. package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
  416. package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
  417. package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
  418. package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
  419. package/dist/esm/_core/service-method/service-method-validation.js +75 -0
  420. package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
  421. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
  422. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
  423. package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
  424. package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
  425. package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
  426. package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
  427. package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
  428. package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
  429. package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
  430. package/dist/esm/_core/sidebar-section-specification.schemas.js.map +1 -1
  431. package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
  432. package/dist/esm/_core/system-email-template-specification.schemas.js.map +1 -1
  433. package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
  434. package/dist/esm/_core/translation-slot-specification.schemas.js.map +1 -1
  435. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  436. package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
  437. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -1
  438. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -1
  439. package/dist/esm/_core/utils/retention-clock-field-specs.d.ts.map +1 -1
  440. package/dist/esm/_core/utils/retention-clock-field-specs.js.map +1 -1
  441. package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
  442. package/dist/esm/_core/utils/retention-marker-field-specs.js.map +1 -1
  443. package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
  444. package/dist/esm/_core/utils/validate-field-shapes.js.map +1 -1
  445. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  446. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
  447. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
  448. package/dist/esm/_core/vision/vision-constraint.schemas.js.map +1 -1
  449. package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
  450. package/dist/esm/_core/vision/vision-idea.schemas.js.map +1 -1
  451. package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
  452. package/dist/esm/_core/vision/vision-mission.schemas.js.map +1 -1
  453. package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
  454. package/dist/esm/_core/vision/vision-problem.schemas.js.map +1 -1
  455. package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
  456. package/dist/esm/_core/vision/vision-references.schemas.js.map +1 -1
  457. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  458. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  459. package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
  460. package/dist/esm/_core/vision/vision-snapshot-validation.js.map +1 -1
  461. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
  462. package/dist/esm/_core/vision/vision-snapshot.schemas.js.map +1 -1
  463. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
  464. package/dist/esm/_core/vision/vision-success-criterion.schemas.js.map +1 -1
  465. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
  466. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
  467. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +35 -5
  468. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
  469. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
  470. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
  471. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +24 -4
  472. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
  473. package/dist/esm/_core/website-plan/website-plan-validation.js +84 -7
  474. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
  475. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
  476. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +2 -1
  477. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
  478. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +477 -25
  479. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
  480. package/dist/esm/_core/website-plan/website-plan.schemas.js +687 -32
  481. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
  482. package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -1
  483. package/dist/esm/_core/zod-core-nameability.js.map +1 -1
  484. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
  485. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
  486. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
  487. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
  488. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +8 -0
  489. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
  490. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +4 -0
  491. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
  492. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
  493. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  494. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
  495. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  496. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  497. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  498. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +119 -10
  499. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
  500. package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
  501. package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
  502. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts.map +1 -1
  503. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js.map +1 -1
  504. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -1
  505. package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -1
  506. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  507. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
  508. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
  509. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
  510. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  511. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
  512. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
  513. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  514. package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
  515. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  516. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts.map +1 -1
  517. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js.map +1 -1
  518. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +17 -14
  519. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  520. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +34 -14
  521. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  522. package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
  523. package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.js.map +1 -1
  524. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
  525. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  526. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
  527. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  528. package/dist/esm/application-creation.exports.d.ts +6 -0
  529. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  530. package/dist/esm/application-creation.exports.js +6 -0
  531. package/dist/esm/application-creation.exports.js.map +1 -1
  532. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  533. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  534. package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -1
  535. package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -1
  536. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -1
  537. package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -1
  538. package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -1
  539. package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -1
  540. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +34 -0
  541. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
  542. package/dist/esm/assurance/application-risk-signals.derivations.js +45 -1
  543. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
  544. package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
  545. package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
  546. package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
  547. package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
  548. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
  549. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  550. package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
  551. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  552. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
  553. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  554. package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
  555. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  556. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  557. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  558. package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
  559. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  560. package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
  561. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  562. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
  563. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  564. package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
  565. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  566. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
  567. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
  568. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
  569. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
  570. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  571. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1631 -70
  572. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  573. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
  574. package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -1
  575. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  576. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  577. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
  578. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
  579. package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
  580. package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
  581. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
  582. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  583. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
  584. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  585. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
  586. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
  587. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
  588. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
  589. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
  590. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
  591. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
  592. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
  593. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
  594. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  595. package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
  596. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  597. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  598. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
  599. package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
  600. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  601. package/dist/esm/assurance/assurance-program.schemas.js +255 -14
  602. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  603. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
  604. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  605. package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
  606. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  607. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
  608. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
  609. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
  610. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
  611. package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
  612. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  613. package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
  614. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  615. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  616. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +356 -5
  617. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  618. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -1
  619. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
  620. package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -1
  621. package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -1
  622. package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
  623. package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
  624. package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
  625. package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
  626. package/dist/esm/assurance/governed-document-release.d.ts +15 -1
  627. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
  628. package/dist/esm/assurance/governed-document-release.js +3 -1
  629. package/dist/esm/assurance/governed-document-release.js.map +1 -1
  630. package/dist/esm/assurance.exports.d.ts +4 -0
  631. package/dist/esm/assurance.exports.d.ts.map +1 -1
  632. package/dist/esm/assurance.exports.js +4 -0
  633. package/dist/esm/assurance.exports.js.map +1 -1
  634. package/dist/esm/companion-exports.d.ts +9 -1
  635. package/dist/esm/companion-exports.d.ts.map +1 -1
  636. package/dist/esm/companion-exports.js.map +1 -1
  637. package/dist/esm/engine/_bootstrap.d.ts.map +1 -1
  638. package/dist/esm/engine/_bootstrap.js.map +1 -1
  639. package/dist/esm/engine/applications/index.d.ts.map +1 -1
  640. package/dist/esm/engine/applications/index.js.map +1 -1
  641. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -1
  642. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  643. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +33 -5
  644. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  645. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  646. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +9 -12
  647. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  648. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +1 -1
  649. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  650. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +60 -6
  651. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  652. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  653. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
  654. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  655. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
  656. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  657. package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
  658. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  659. package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
  660. package/dist/esm/engine/applications/resources/index.js.map +1 -1
  661. package/dist/esm/engine/auth/index.d.ts.map +1 -1
  662. package/dist/esm/engine/auth/index.js.map +1 -1
  663. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +12 -4
  664. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  665. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +46 -10
  666. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  667. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
  668. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  669. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  670. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  671. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
  672. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  673. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
  674. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  675. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -1
  676. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  677. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +40 -11
  678. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  679. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -1
  680. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  681. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +44 -3
  682. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  683. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -1
  684. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -1
  685. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +7 -3
  686. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  687. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +40 -8
  688. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  689. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +14 -8
  690. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  691. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +72 -19
  692. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  693. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +2 -2
  694. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  695. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +6 -6
  696. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  697. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
  698. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  699. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +14 -13
  700. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  701. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  702. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -2
  703. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  704. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
  705. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
  706. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  707. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  708. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  709. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +68 -12
  710. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  711. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  712. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
  713. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  714. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +3 -1
  715. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  716. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +11 -7
  717. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  718. package/dist/esm/engine/billing/index.d.ts.map +1 -1
  719. package/dist/esm/engine/billing/index.js.map +1 -1
  720. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -0
  721. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  722. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -1
  723. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  724. package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
  725. package/dist/esm/engine/billing/resources/billing-api-reference-examples.js.map +1 -1
  726. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -1
  727. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -1
  728. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -1
  729. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -1
  730. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -1
  731. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -1
  732. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -1
  733. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -1
  734. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  735. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  736. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  737. package/dist/esm/engine/billing/resources/index.js.map +1 -1
  738. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -2
  739. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  740. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +8 -7
  741. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  742. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  743. package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
  744. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  745. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  746. package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
  747. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  748. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  749. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
  750. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  751. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  752. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
  753. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  754. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
  755. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  756. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
  757. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  758. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +4 -0
  759. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  760. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +4 -1
  761. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  762. package/dist/esm/engine/compliance/index.d.ts.map +1 -1
  763. package/dist/esm/engine/compliance/index.js.map +1 -1
  764. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +9 -5
  765. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  766. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +16 -8
  767. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  768. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
  769. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
  770. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
  771. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
  772. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
  773. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  774. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +19 -13
  775. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  776. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  777. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  778. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
  779. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
  780. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
  781. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
  782. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
  783. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
  784. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
  785. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
  786. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -1
  787. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
  788. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
  789. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -1
  790. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -1
  791. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  792. package/dist/esm/engine/engine-resource-specifications.registry.js +52 -11
  793. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  794. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  795. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  796. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  797. package/dist/esm/engine/errors/error-messages.specification.js +300 -5
  798. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  799. package/dist/esm/engine/errors/index.d.ts.map +1 -1
  800. package/dist/esm/engine/errors/index.js.map +1 -1
  801. package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
  802. package/dist/esm/engine/features/_engine-feature-shared.js.map +1 -1
  803. package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
  804. package/dist/esm/engine/features/advanced-analytics.feature.specification.js.map +1 -1
  805. package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
  806. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  807. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
  808. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  809. package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
  810. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  811. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  812. package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
  813. package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
  814. package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
  815. package/dist/esm/engine/features/directory-provisioning.feature.specification.js.map +1 -1
  816. package/dist/esm/engine/features/index.d.ts +4 -2
  817. package/dist/esm/engine/features/index.d.ts.map +1 -1
  818. package/dist/esm/engine/features/index.js +6 -4
  819. package/dist/esm/engine/features/index.js.map +1 -1
  820. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
  821. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.js.map +1 -1
  822. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  823. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
  824. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  825. package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
  826. package/dist/esm/engine/features/resources/index.js.map +1 -1
  827. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  828. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +34 -15
  829. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  830. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  831. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  832. package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
  833. package/dist/esm/engine/features/security-event-export.feature.specification.js.map +1 -1
  834. package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
  835. package/dist/esm/engine/features/single-sign-on.feature.specification.js.map +1 -1
  836. package/dist/esm/engine/files/index.d.ts.map +1 -1
  837. package/dist/esm/engine/files/index.js.map +1 -1
  838. package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -1
  839. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  840. package/dist/esm/engine/files/resources/files.resource.specification.js +24 -3
  841. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  842. package/dist/esm/engine/files/resources/index.d.ts.map +1 -1
  843. package/dist/esm/engine/files/resources/index.js.map +1 -1
  844. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  845. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
  846. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  847. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  848. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -6
  849. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  850. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
  851. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
  852. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
  853. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
  854. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
  855. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
  856. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
  857. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
  858. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
  859. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
  860. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
  861. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
  862. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
  863. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
  864. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
  865. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
  866. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
  867. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
  868. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
  869. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
  870. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
  871. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
  872. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
  873. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
  874. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
  875. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
  876. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
  877. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
  878. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  879. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +118 -18
  880. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  881. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -0
  882. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  883. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -4
  884. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  885. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
  886. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
  887. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
  888. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
  889. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
  890. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
  891. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
  892. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
  893. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
  894. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
  895. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
  896. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
  897. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
  898. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
  899. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
  900. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
  901. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
  902. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
  903. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
  904. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
  905. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
  906. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
  907. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
  908. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
  909. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
  910. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
  911. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
  912. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
  913. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
  914. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
  915. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
  916. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
  917. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
  918. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  919. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
  920. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
  921. package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
  922. package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.js.map +1 -1
  923. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
  924. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
  925. package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.d.ts.map +1 -1
  926. package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.js.map +1 -1
  927. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  928. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
  929. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  930. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
  931. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
  932. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.js.map +1 -1
  933. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
  934. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.js.map +1 -1
  935. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
  936. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.js.map +1 -1
  937. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -1
  938. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -1
  939. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
  940. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.js.map +1 -1
  941. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
  942. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.js.map +1 -1
  943. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
  944. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
  945. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
  946. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
  947. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
  948. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.js.map +1 -1
  949. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
  950. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.js.map +1 -1
  951. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  952. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
  953. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
  954. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
  955. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.js.map +1 -1
  956. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
  957. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.js.map +1 -1
  958. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
  959. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.js.map +1 -1
  960. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
  961. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
  962. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
  963. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
  964. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js.map +1 -1
  965. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
  966. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.js.map +1 -1
  967. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
  968. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.js.map +1 -1
  969. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
  970. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.js.map +1 -1
  971. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
  972. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.js.map +1 -1
  973. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
  974. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.js.map +1 -1
  975. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
  976. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.js.map +1 -1
  977. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  978. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
  979. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
  980. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
  981. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.js.map +1 -1
  982. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
  983. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.js.map +1 -1
  984. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
  985. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.js.map +1 -1
  986. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  987. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
  988. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
  989. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
  990. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.js.map +1 -1
  991. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
  992. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.js.map +1 -1
  993. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
  994. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.js.map +1 -1
  995. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
  996. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.js.map +1 -1
  997. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
  998. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.js.map +1 -1
  999. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
  1000. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.js.map +1 -1
  1001. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
  1002. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.js.map +1 -1
  1003. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
  1004. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.js.map +1 -1
  1005. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
  1006. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.js.map +1 -1
  1007. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
  1008. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.js.map +1 -1
  1009. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
  1010. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.js.map +1 -1
  1011. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +1 -1
  1012. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
  1013. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
  1014. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.js.map +1 -1
  1015. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
  1016. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.js.map +1 -1
  1017. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
  1018. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.js.map +1 -1
  1019. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
  1020. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.js.map +1 -1
  1021. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
  1022. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
  1023. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
  1024. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
  1025. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts.map +1 -1
  1026. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
  1027. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
  1028. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.map +1 -1
  1029. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js.map +1 -1
  1030. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
  1031. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
  1032. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
  1033. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
  1034. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -1
  1035. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -1
  1036. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  1037. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +3 -2
  1038. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  1039. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -1
  1040. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -1
  1041. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -1
  1042. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -1
  1043. package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
  1044. package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.js.map +1 -1
  1045. package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
  1046. package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.js.map +1 -1
  1047. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
  1048. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
  1049. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
  1050. package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  1051. package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.js.map +1 -1
  1052. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
  1053. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
  1054. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
  1055. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
  1056. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
  1057. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
  1058. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
  1059. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
  1060. package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
  1061. package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.js.map +1 -1
  1062. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
  1063. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
  1064. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
  1065. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -1
  1066. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -1
  1067. package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
  1068. package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.js.map +1 -1
  1069. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
  1070. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js.map +1 -1
  1071. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
  1072. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js.map +1 -1
  1073. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
  1074. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js.map +1 -1
  1075. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -1
  1076. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -1
  1077. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -1
  1078. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -1
  1079. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  1080. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
  1081. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  1082. package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
  1083. package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.js.map +1 -1
  1084. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
  1085. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
  1086. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  1087. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
  1088. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
  1089. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  1090. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
  1091. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
  1092. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
  1093. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
  1094. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
  1095. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
  1096. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
  1097. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.d.ts.map +1 -1
  1098. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
  1099. package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
  1100. package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.js.map +1 -1
  1101. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
  1102. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.js.map +1 -1
  1103. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
  1104. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.js.map +1 -1
  1105. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
  1106. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.js.map +1 -1
  1107. package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
  1108. package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.js.map +1 -1
  1109. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -1
  1110. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -1
  1111. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +1 -1
  1112. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
  1113. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  1114. package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.d.ts.map +1 -1
  1115. package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.js.map +1 -1
  1116. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
  1117. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
  1118. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
  1119. package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
  1120. package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.js.map +1 -1
  1121. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  1122. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
  1123. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +1 -1
  1124. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
  1125. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -1
  1126. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -1
  1127. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +1 -1
  1128. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
  1129. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.d.ts.map +1 -1
  1130. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
  1131. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  1132. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +1 -1
  1133. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
  1134. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.d.ts.map +1 -1
  1135. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
  1136. package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.d.ts.map +1 -1
  1137. package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.js.map +1 -1
  1138. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  1139. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
  1140. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
  1141. package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
  1142. package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.js.map +1 -1
  1143. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  1144. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
  1145. package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
  1146. package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.js.map +1 -1
  1147. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -1
  1148. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -1
  1149. package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
  1150. package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.js.map +1 -1
  1151. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -1
  1152. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -1
  1153. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1154. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.js.map +1 -1
  1155. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
  1156. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.js.map +1 -1
  1157. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
  1158. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.js.map +1 -1
  1159. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
  1160. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.js.map +1 -1
  1161. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
  1162. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.js.map +1 -1
  1163. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
  1164. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.js.map +1 -1
  1165. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
  1166. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.js.map +1 -1
  1167. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
  1168. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.js.map +1 -1
  1169. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  1170. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
  1171. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
  1172. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.js.map +1 -1
  1173. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
  1174. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.js.map +1 -1
  1175. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
  1176. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.js.map +1 -1
  1177. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
  1178. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.js.map +1 -1
  1179. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  1180. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.js.map +1 -1
  1181. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
  1182. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.js.map +1 -1
  1183. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
  1184. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.js.map +1 -1
  1185. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
  1186. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js.map +1 -1
  1187. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
  1188. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.js.map +1 -1
  1189. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1190. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.js.map +1 -1
  1191. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
  1192. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.js.map +1 -1
  1193. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  1194. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.js.map +1 -1
  1195. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
  1196. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.js.map +1 -1
  1197. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
  1198. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.js.map +1 -1
  1199. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
  1200. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.js.map +1 -1
  1201. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
  1202. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js.map +1 -1
  1203. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
  1204. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.js.map +1 -1
  1205. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -1
  1206. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -1
  1207. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -1
  1208. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -1
  1209. package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
  1210. package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.js.map +1 -1
  1211. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -1
  1212. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -1
  1213. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  1214. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js.map +1 -1
  1215. package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
  1216. package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.js.map +1 -1
  1217. package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
  1218. package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.js.map +1 -1
  1219. package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
  1220. package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.js.map +1 -1
  1221. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
  1222. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
  1223. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
  1224. package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
  1225. package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.js.map +1 -1
  1226. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
  1227. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.js.map +1 -1
  1228. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
  1229. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.js.map +1 -1
  1230. package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
  1231. package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.js.map +1 -1
  1232. package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
  1233. package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.js.map +1 -1
  1234. package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
  1235. package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.js.map +1 -1
  1236. package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
  1237. package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.js.map +1 -1
  1238. package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
  1239. package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.js.map +1 -1
  1240. package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
  1241. package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.js.map +1 -1
  1242. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
  1243. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.js.map +1 -1
  1244. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
  1245. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.js.map +1 -1
  1246. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.map +1 -1
  1247. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  1248. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  1249. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.d.ts.map +1 -1
  1250. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.js.map +1 -1
  1251. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
  1252. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
  1253. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
  1254. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
  1255. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.js.map +1 -1
  1256. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
  1257. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.js.map +1 -1
  1258. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
  1259. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
  1260. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
  1261. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
  1262. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
  1263. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.js.map +1 -1
  1264. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
  1265. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
  1266. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
  1267. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
  1268. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
  1269. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
  1270. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
  1271. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
  1272. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
  1273. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
  1274. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
  1275. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.js.map +1 -1
  1276. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
  1277. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.js.map +1 -1
  1278. package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
  1279. package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.js.map +1 -1
  1280. package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
  1281. package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.js.map +1 -1
  1282. package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
  1283. package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.js.map +1 -1
  1284. package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
  1285. package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.js.map +1 -1
  1286. package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
  1287. package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.js.map +1 -1
  1288. package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
  1289. package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.js.map +1 -1
  1290. package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
  1291. package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.js.map +1 -1
  1292. package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
  1293. package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.js.map +1 -1
  1294. package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
  1295. package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.js.map +1 -1
  1296. package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
  1297. package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.js.map +1 -1
  1298. package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
  1299. package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.js.map +1 -1
  1300. package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
  1301. package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.js.map +1 -1
  1302. package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
  1303. package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.js.map +1 -1
  1304. package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
  1305. package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.js.map +1 -1
  1306. package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
  1307. package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.js.map +1 -1
  1308. package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
  1309. package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.js.map +1 -1
  1310. package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
  1311. package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.js.map +1 -1
  1312. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
  1313. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js.map +1 -1
  1314. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
  1315. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.js.map +1 -1
  1316. package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
  1317. package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.js.map +1 -1
  1318. package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
  1319. package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.js.map +1 -1
  1320. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
  1321. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.js.map +1 -1
  1322. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
  1323. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
  1324. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
  1325. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
  1326. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.js.map +1 -1
  1327. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
  1328. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.js.map +1 -1
  1329. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
  1330. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
  1331. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
  1332. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
  1333. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
  1334. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
  1335. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
  1336. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
  1337. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
  1338. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
  1339. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
  1340. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
  1341. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
  1342. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js.map +1 -1
  1343. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
  1344. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
  1345. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
  1346. package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
  1347. package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.js.map +1 -1
  1348. package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
  1349. package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.js.map +1 -1
  1350. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
  1351. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js.map +1 -1
  1352. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
  1353. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.js.map +1 -1
  1354. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
  1355. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
  1356. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
  1357. package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
  1358. package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.js.map +1 -1
  1359. package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
  1360. package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.js.map +1 -1
  1361. package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
  1362. package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.js.map +1 -1
  1363. package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
  1364. package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.js.map +1 -1
  1365. package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
  1366. package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.js.map +1 -1
  1367. package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
  1368. package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.js.map +1 -1
  1369. package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
  1370. package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.js.map +1 -1
  1371. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
  1372. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js.map +1 -1
  1373. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
  1374. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.js.map +1 -1
  1375. package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
  1376. package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.js.map +1 -1
  1377. package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
  1378. package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.js.map +1 -1
  1379. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
  1380. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
  1381. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
  1382. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
  1383. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
  1384. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js.map +1 -1
  1385. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -1
  1386. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -1
  1387. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
  1388. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js.map +1 -1
  1389. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
  1390. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js.map +1 -1
  1391. package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
  1392. package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.js.map +1 -1
  1393. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
  1394. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js.map +1 -1
  1395. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -1
  1396. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -1
  1397. package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1398. package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.js.map +1 -1
  1399. package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
  1400. package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.js.map +1 -1
  1401. package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
  1402. package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.js.map +1 -1
  1403. package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
  1404. package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.js.map +1 -1
  1405. package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
  1406. package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.js.map +1 -1
  1407. package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
  1408. package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.js.map +1 -1
  1409. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +1 -1
  1410. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
  1411. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.d.ts.map +1 -1
  1412. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
  1413. package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
  1414. package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.js.map +1 -1
  1415. package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
  1416. package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.js.map +1 -1
  1417. package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
  1418. package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.js.map +1 -1
  1419. package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1420. package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.js.map +1 -1
  1421. package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
  1422. package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.js.map +1 -1
  1423. package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  1424. package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.js.map +1 -1
  1425. package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
  1426. package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.js.map +1 -1
  1427. package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
  1428. package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.js.map +1 -1
  1429. package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
  1430. package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.js.map +1 -1
  1431. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
  1432. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
  1433. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
  1434. package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
  1435. package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.js.map +1 -1
  1436. package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  1437. package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.js.map +1 -1
  1438. package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
  1439. package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.js.map +1 -1
  1440. package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
  1441. package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.js.map +1 -1
  1442. package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
  1443. package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.js.map +1 -1
  1444. package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
  1445. package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.js.map +1 -1
  1446. package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
  1447. package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.js.map +1 -1
  1448. package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
  1449. package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.js.map +1 -1
  1450. package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
  1451. package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.js.map +1 -1
  1452. package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
  1453. package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.js.map +1 -1
  1454. package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
  1455. package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.js.map +1 -1
  1456. package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
  1457. package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.js.map +1 -1
  1458. package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
  1459. package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.js.map +1 -1
  1460. package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
  1461. package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.js.map +1 -1
  1462. package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
  1463. package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.js.map +1 -1
  1464. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
  1465. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.js.map +1 -1
  1466. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
  1467. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.js.map +1 -1
  1468. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
  1469. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.js.map +1 -1
  1470. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  1471. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
  1472. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
  1473. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
  1474. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.js.map +1 -1
  1475. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
  1476. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.js.map +1 -1
  1477. package/dist/esm/engine/frontend-components/index.d.ts +6 -0
  1478. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  1479. package/dist/esm/engine/frontend-components/index.js +26 -0
  1480. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  1481. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  1482. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
  1483. package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
  1484. package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.js.map +1 -1
  1485. package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
  1486. package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.js.map +1 -1
  1487. package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
  1488. package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.js.map +1 -1
  1489. package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
  1490. package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.js.map +1 -1
  1491. package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
  1492. package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.js.map +1 -1
  1493. package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
  1494. package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.js.map +1 -1
  1495. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
  1496. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.js.map +1 -1
  1497. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
  1498. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.js.map +1 -1
  1499. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
  1500. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.js.map +1 -1
  1501. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
  1502. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.js.map +1 -1
  1503. package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
  1504. package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.js.map +1 -1
  1505. package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
  1506. package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.js.map +1 -1
  1507. package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
  1508. package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.js.map +1 -1
  1509. package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
  1510. package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.js.map +1 -1
  1511. package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
  1512. package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.js.map +1 -1
  1513. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +1 -1
  1514. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
  1515. package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
  1516. package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.js.map +1 -1
  1517. package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
  1518. package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.js.map +1 -1
  1519. package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
  1520. package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.js.map +1 -1
  1521. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
  1522. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
  1523. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
  1524. package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
  1525. package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.js.map +1 -1
  1526. package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
  1527. package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.js.map +1 -1
  1528. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  1529. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
  1530. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
  1531. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
  1532. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
  1533. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
  1534. package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
  1535. package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.js.map +1 -1
  1536. package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
  1537. package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.js.map +1 -1
  1538. package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
  1539. package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.js.map +1 -1
  1540. package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
  1541. package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.js.map +1 -1
  1542. package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
  1543. package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.js.map +1 -1
  1544. package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
  1545. package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.js.map +1 -1
  1546. package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
  1547. package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.js.map +1 -1
  1548. package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
  1549. package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.js.map +1 -1
  1550. package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
  1551. package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.js.map +1 -1
  1552. package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
  1553. package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.js.map +1 -1
  1554. package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
  1555. package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.js.map +1 -1
  1556. package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
  1557. package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.js.map +1 -1
  1558. package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
  1559. package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.js.map +1 -1
  1560. package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
  1561. package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.js.map +1 -1
  1562. package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
  1563. package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.js.map +1 -1
  1564. package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
  1565. package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.js.map +1 -1
  1566. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  1567. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
  1568. package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
  1569. package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.js.map +1 -1
  1570. package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
  1571. package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.js.map +1 -1
  1572. package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
  1573. package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.js.map +1 -1
  1574. package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
  1575. package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.js.map +1 -1
  1576. package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
  1577. package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.js.map +1 -1
  1578. package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
  1579. package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.js.map +1 -1
  1580. package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
  1581. package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.js.map +1 -1
  1582. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
  1583. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
  1584. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
  1585. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.js.map +1 -1
  1586. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
  1587. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
  1588. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
  1589. package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
  1590. package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.js.map +1 -1
  1591. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
  1592. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
  1593. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
  1594. package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
  1595. package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.js.map +1 -1
  1596. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
  1597. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.js.map +1 -1
  1598. package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
  1599. package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.js.map +1 -1
  1600. package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
  1601. package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.js.map +1 -1
  1602. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
  1603. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.js.map +1 -1
  1604. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
  1605. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.js.map +1 -1
  1606. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
  1607. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.js.map +1 -1
  1608. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
  1609. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
  1610. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
  1611. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
  1612. package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
  1613. package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.js.map +1 -1
  1614. package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
  1615. package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.js.map +1 -1
  1616. package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
  1617. package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.js.map +1 -1
  1618. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
  1619. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js.map +1 -1
  1620. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
  1621. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.js.map +1 -1
  1622. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
  1623. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js.map +1 -1
  1624. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  1625. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
  1626. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  1627. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
  1628. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
  1629. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
  1630. package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
  1631. package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.js.map +1 -1
  1632. package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.map +1 -1
  1633. package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.js.map +1 -1
  1634. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  1635. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js.map +1 -1
  1636. package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.d.ts.map +1 -1
  1637. package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.js.map +1 -1
  1638. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  1639. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
  1640. package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
  1641. package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.js.map +1 -1
  1642. package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
  1643. package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.js.map +1 -1
  1644. package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
  1645. package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.js.map +1 -1
  1646. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
  1647. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
  1648. package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
  1649. package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.js.map +1 -1
  1650. package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
  1651. package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.js.map +1 -1
  1652. package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
  1653. package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.js.map +1 -1
  1654. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  1655. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
  1656. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  1657. package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
  1658. package/dist/esm/engine/full-custom-views/index.js.map +1 -1
  1659. package/dist/esm/engine/guidance/index.d.ts.map +1 -1
  1660. package/dist/esm/engine/guidance/index.js.map +1 -1
  1661. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  1662. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  1663. package/dist/esm/engine/guidance/resources/index.d.ts.map +1 -1
  1664. package/dist/esm/engine/guidance/resources/index.js.map +1 -1
  1665. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  1666. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  1667. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  1668. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  1669. package/dist/esm/engine/index.d.ts.map +1 -1
  1670. package/dist/esm/engine/index.js.map +1 -1
  1671. package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
  1672. package/dist/esm/engine/infrastructure/index.js.map +1 -1
  1673. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
  1674. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
  1675. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
  1676. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
  1677. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  1678. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
  1679. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  1680. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -1
  1681. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -1
  1682. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
  1683. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
  1684. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
  1685. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
  1686. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
  1687. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
  1688. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts.map +1 -1
  1689. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js.map +1 -1
  1690. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts.map +1 -1
  1691. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
  1692. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
  1693. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
  1694. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -1
  1695. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
  1696. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
  1697. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
  1698. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
  1699. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
  1700. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
  1701. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
  1702. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
  1703. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
  1704. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  1705. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
  1706. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  1707. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
  1708. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
  1709. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
  1710. package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
  1711. package/dist/esm/engine/infrastructure/resources/index.js.map +1 -1
  1712. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
  1713. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  1714. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  1715. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
  1716. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  1717. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
  1718. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  1719. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
  1720. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
  1721. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
  1722. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
  1723. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
  1724. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
  1725. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
  1726. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
  1727. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts.map +1 -1
  1728. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js.map +1 -1
  1729. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
  1730. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
  1731. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
  1732. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
  1733. package/dist/esm/engine/notifications/index.d.ts.map +1 -1
  1734. package/dist/esm/engine/notifications/index.js.map +1 -1
  1735. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
  1736. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
  1737. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
  1738. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
  1739. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
  1740. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -1
  1741. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
  1742. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
  1743. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
  1744. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
  1745. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
  1746. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
  1747. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
  1748. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
  1749. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
  1750. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
  1751. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  1752. package/dist/esm/engine/notifications/resources/index.js.map +1 -1
  1753. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
  1754. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  1755. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -4
  1756. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  1757. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +2 -2
  1758. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  1759. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  1760. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
  1761. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  1762. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +3 -3
  1763. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  1764. package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
  1765. package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.js.map +1 -1
  1766. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
  1767. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
  1768. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
  1769. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
  1770. package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
  1771. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  1772. package/dist/esm/engine/notifications/system-emails/index.js +1 -3
  1773. package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
  1774. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
  1775. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  1776. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
  1777. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
  1778. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
  1779. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
  1780. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  1781. package/dist/esm/engine/organizations/index.d.ts.map +1 -1
  1782. package/dist/esm/engine/organizations/index.js.map +1 -1
  1783. package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
  1784. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  1785. package/dist/esm/engine/organizations/resources/index.js +1 -2
  1786. package/dist/esm/engine/organizations/resources/index.js.map +1 -1
  1787. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
  1788. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  1789. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +114 -51
  1790. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  1791. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  1792. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  1793. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  1794. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  1795. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
  1796. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  1797. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
  1798. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  1799. package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
  1800. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
  1801. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
  1802. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
  1803. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +1 -1
  1804. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  1805. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +6 -4
  1806. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  1807. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  1808. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -2
  1809. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  1810. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +4 -4
  1811. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  1812. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
  1813. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  1814. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
  1815. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
  1816. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
  1817. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
  1818. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -1
  1819. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -1
  1820. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
  1821. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
  1822. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
  1823. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  1824. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
  1825. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
  1826. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  1827. package/dist/esm/engine/providers/github.provider.specification.js +8 -5
  1828. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  1829. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
  1830. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
  1831. package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
  1832. package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
  1833. package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -1
  1834. package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -1
  1835. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
  1836. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  1837. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
  1838. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
  1839. package/dist/esm/engine/providers/index.d.ts +2 -0
  1840. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  1841. package/dist/esm/engine/providers/index.js +5 -1
  1842. package/dist/esm/engine/providers/index.js.map +1 -1
  1843. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
  1844. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
  1845. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
  1846. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
  1847. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  1848. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  1849. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
  1850. package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
  1851. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  1852. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
  1853. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
  1854. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
  1855. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
  1856. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
  1857. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
  1858. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -1
  1859. package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -1
  1860. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  1861. package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
  1862. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  1863. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  1864. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  1865. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
  1866. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
  1867. package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
  1868. package/dist/esm/engine/roles/_engine-role-shared.js.map +1 -1
  1869. package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
  1870. package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.js.map +1 -1
  1871. package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
  1872. package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.js.map +1 -1
  1873. package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
  1874. package/dist/esm/engine/roles/app-admin-super-admin.role.specification.js.map +1 -1
  1875. package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
  1876. package/dist/esm/engine/roles/app-admin-viewer.role.specification.js.map +1 -1
  1877. package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
  1878. package/dist/esm/engine/roles/app-anonymous.role.specification.js.map +1 -1
  1879. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -1
  1880. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
  1881. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
  1882. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts.map +1 -1
  1883. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js.map +1 -1
  1884. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts.map +1 -1
  1885. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js.map +1 -1
  1886. package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
  1887. package/dist/esm/engine/roles/app-public.role.specification.js.map +1 -1
  1888. package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
  1889. package/dist/esm/engine/roles/app-user.role.specification.js.map +1 -1
  1890. package/dist/esm/engine/roles/index.d.ts +2 -2
  1891. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  1892. package/dist/esm/engine/roles/index.js +5 -5
  1893. package/dist/esm/engine/roles/index.js.map +1 -1
  1894. package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
  1895. package/dist/esm/engine/roles/org-admin.role.specification.js.map +1 -1
  1896. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts.map +1 -1
  1897. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js.map +1 -1
  1898. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
  1899. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
  1900. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
  1901. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
  1902. package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
  1903. package/dist/esm/engine/roles/org-guest.role.specification.js.map +1 -1
  1904. package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
  1905. package/dist/esm/engine/roles/org-manager.role.specification.js.map +1 -1
  1906. package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
  1907. package/dist/esm/engine/roles/org-member.role.specification.js.map +1 -1
  1908. package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
  1909. package/dist/esm/engine/roles/org-owner.role.specification.js.map +1 -1
  1910. package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
  1911. package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
  1912. package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
  1913. package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
  1914. package/dist/esm/engine/users/index.d.ts.map +1 -1
  1915. package/dist/esm/engine/users/index.js.map +1 -1
  1916. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +1 -0
  1917. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  1918. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
  1919. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  1920. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +3 -3
  1921. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  1922. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
  1923. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  1924. package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
  1925. package/dist/esm/engine/users/resources/index.js.map +1 -1
  1926. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  1927. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
  1928. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  1929. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
  1930. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  1931. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
  1932. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  1933. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
  1934. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  1935. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
  1936. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  1937. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
  1938. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  1939. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -0
  1940. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  1941. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +3 -3
  1942. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  1943. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  1944. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
  1945. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  1946. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -0
  1947. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  1948. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +6 -2
  1949. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  1950. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  1951. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  1952. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
  1953. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  1954. package/dist/esm/engine/users/resources/user-self.resource.specification.js +33 -0
  1955. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  1956. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
  1957. package/dist/esm/engine/users/resources/users-api-reference.examples.js.map +1 -1
  1958. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +2 -1
  1959. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  1960. package/dist/esm/engine/users/resources/users.resource.specification.js +10 -4
  1961. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  1962. package/dist/esm/index.d.ts.map +1 -1
  1963. package/dist/esm/index.js.map +1 -1
  1964. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -1
  1965. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -1
  1966. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +2 -2
  1967. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -1
  1968. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -1
  1969. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -1
  1970. package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -1
  1971. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -1
  1972. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -1
  1973. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -1
  1974. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -1
  1975. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  1976. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +17 -15
  1977. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  1978. package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
  1979. package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.js.map +1 -1
  1980. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
  1981. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
  1982. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
  1983. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
  1984. package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
  1985. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
  1986. package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
  1987. package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.js.map +1 -1
  1988. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
  1989. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
  1990. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
  1991. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
  1992. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
  1993. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
  1994. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  1995. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  1996. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  1997. package/dist/esm/technical-documentation.exports.js.map +1 -1
  1998. package/package.json +8 -8
  1999. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
  2000. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
  2001. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
  2002. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
  2003. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
  2004. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
  2005. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
  2006. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
  2007. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
  2008. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
  2009. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
  2010. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
  2011. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
  2012. package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
  2013. package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
  2014. package/dist/tsconfig.build.tsbuildinfo +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptions.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/billing/resources/subscriptions.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO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kB,CAAC,EAAE,EAAE,OAAO,EAAE,0DAA0D,EAAE,SAAS,EAAE,kFAAkF,EAAE;SAC5N;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,8CAA8C,GAAG,qBAAqB,CACjF,gBAAgB,CAAC,0BAA0B,EAC3C,4BAA4B,CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAAG,qBAAqB,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC","sourcesContent":["import { billingAdminPresets, billingMainPresets } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n BillingSubscriptionBaseSchema,\n BillingSubscription_Operations,\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n SubscriptionStatus,\n billingSubscriptionsPolymorphicFactories,\n ErrorCustomMessageReference,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport {\n BILLING_API_REFERENCE_PAGE_REQUEST,\n billingApiReferencePage,\n createBillingApiReferenceScopeExample,\n type BillingApiReferenceExampleScope,\n} from './billing-api-reference-examples';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype SubResourceType = CoreResourceType.ORGANIZATION_SUBSCRIPTIONS | CoreResourceType.USER_SUBSCRIPTIONS;\ntype SubResourceTypeMember = 'ORGANIZATION_SUBSCRIPTIONS' | 'USER_SUBSCRIPTIONS';\n\nconst subResourcePrimaryScopeByResourceType: Record<SubResourceType, BillingApiReferenceExampleScope> = {\n [CoreResourceType.ORGANIZATION_SUBSCRIPTIONS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.USER_SUBSCRIPTIONS]: ResourcePrimaryScope.USER_SELF,\n};\n\ntype Cfg = ReturnType<(typeof billingSubscriptionsPolymorphicFactories)[CoreResourceType.ORGANIZATION_SUBSCRIPTIONS]>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof BillingSubscriptionBaseSchema;\ntype SubFrontend = ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nfunction resolveSubUI(source: Partial<Record<string, unknown>>, resourceType: SubResourceType, sourceName: string): SubFrontend {\n const uiBehavior = source[resourceType] as SubFrontend | undefined;\n if (!uiBehavior) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return uiBehavior;\n}\n\nfunction buildSubscriptionBase(resourceType: SubResourceType, memberName: SubResourceTypeMember) {\n const exampleScope = createBillingApiReferenceScopeExample(\n subResourcePrimaryScopeByResourceType[resourceType],\n );\n const baseItem = {\n _id: 'subscription_item_base_01HX2EXAMPLE',\n productId: 'product_team_plan',\n priceId: 'price_team_monthly',\n quantity: 25,\n };\n const subscriptionExample = {\n _id: 'subscription_01HX2EXAMPLE',\n ...exampleScope.billingAccountIdentity,\n status: SubscriptionStatus.ACTIVE,\n items: [baseItem],\n currentPeriodStart: '2026-06-01T00:00:00.000Z',\n currentPeriodEnd: '2026-07-01T00:00:00.000Z',\n cancelAtPeriodEnd: false,\n metadata: { contract: 'annual-commitment' },\n createdAt: '2026-05-10T09:00:00.000Z',\n updatedAt: '2026-06-01T00:05:00.000Z',\n ...exampleScope.scopeIdentity,\n };\n const subscriptionSummaryExample = {\n _id: subscriptionExample._id,\n ...exampleScope.billingAccountIdentity,\n status: subscriptionExample.status,\n currentPeriodEnd: subscriptionExample.currentPeriodEnd,\n cancelAtPeriodEnd: subscriptionExample.cancelAtPeriodEnd,\n };\n\n return resourceSpecification<Custom, Core, Main>(\n billingSubscriptionsPolymorphicFactories[resourceType],\n BillingSubscriptionBaseSchema,\n ({ schemaShape }) => ({\n purpose:\n 'Subscription for a billing account: exposes the selected plan and add-ons, lifecycle status, billing-period bounds, trial state, and cancellation state.',\n businessRole: 'Entitlement driver for seats and renewals — the object billing emails and plan changes refer to.',\n lifecycleRole:\n 'Created after a successful checkout and updated after subscription changes or billing-provider events. A cancelled subscription is retained as billing history rather than cascade-deleted with its account, and subject erasure terminates active billing.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.BILLING,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'BillingSubscriptionBaseSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactoryCollectionEntry: {\n collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'billingSubscriptionsPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n customEnum: { packageName: '@wildo-ai/saas-models', exportName: 'BillingSubscription_Operations', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n frontendConfigurationSourceEntries: [\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingMainPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingAdminPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n ],\n notes: ['Renewal and payment-failed emails may fan out from subscription state changes — confirm `userNotifications[]` on the factory when documenting communications.'],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Mongo id for this subscription document.', importance: FieldSemanticImportance.PRIMARY, semanticRole: 'identifier' }),\n billingAccountId: schemaShape.billingAccountId.stringSpec({ meaning: 'Polymorphic FK to the parent billing account (`organizationBillingAccountId` or `userBillingAccountId` on concrete schema).', importance: FieldSemanticImportance.PRIMARY }),\n status: schemaShape.status.enumSpec({\n meaning: 'Provider subscription lifecycle state mirrored for gating and UI badges.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'SubscriptionStatus', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n values: {\n [SubscriptionStatus.ACTIVE]: { meaning: 'Currently billable and entitled per provider.' },\n [SubscriptionStatus.TRIALING]: { meaning: 'In trial window if applicable.' },\n [SubscriptionStatus.PAST_DUE]: { meaning: 'Payment failed; access may be degraded per product policy.' },\n [SubscriptionStatus.UNPAID]: { meaning: 'Severe payment failure state from provider semantics.' },\n [SubscriptionStatus.CANCELLED]: { meaning: 'Terminated; may still be visible for history.' },\n [SubscriptionStatus.INCOMPLETE]: { meaning: 'Checkout or first payment not completed.' },\n [SubscriptionStatus.INCOMPLETE_EXPIRED]: { meaning: 'Incomplete checkout expired at provider.' },\n [SubscriptionStatus.PAUSED]: { meaning: 'Paused per provider rules (if used).' },\n },\n }),\n items: schemaShape.items.arraySpec({\n meaning: 'Line items (product + price + quantity) that make up the commercial subscription.',\n elementMeaning: 'One `SubscriptionItemSchema` with `productId`, `priceId`, `quantity`, and optional provider item id.',\n }),\n currentPeriodStart: schemaShape.currentPeriodStart.dateSpec({ meaning: 'Start of the current invoice period.', temporalRole: 'scheduled' }),\n currentPeriodEnd: schemaShape.currentPeriodEnd.dateSpec({ meaning: 'End of the current invoice period / next renewal anchor.', importance: FieldSemanticImportance.PRIMARY }),\n trialStart: schemaShape.trialStart.dateSpec({ meaning: 'When the trial began, as the billing provider reports it. Kept after the trial ends; absent on a subscription that never had a trial.', temporalRole: 'scheduled' }),\n trialEnd: schemaShape.trialEnd.dateSpec({ meaning: 'When the trial ends, or ended, as the billing provider reports it. Kept after the trial is over, so it describes the subscription\\'s trial, not whether it is trialing now: `status` says that.', temporalRole: 'deadline' }),\n cancelAtPeriodEnd: schemaShape.cancelAtPeriodEnd.booleanSpec({ meaning: 'User/org requested cancel at end of current period.' }),\n pendingPlanChange: schemaShape.pendingPlanChange.objectSpec({ meaning: 'A plan change confirmed to take effect at the end of the current period (#1868): the target plan and price, when it applies, and the lines the subscription will then carry. Written by a change-plan confirmation whose new plan defers it; cleared when renewal applies it (the items then become these lines) or when cancel-plan-change withdraws it. Read-only.' }),\n cancellationReason: schemaShape.cancellationReason.stringSpec({ meaning: 'Current cancellation reason, cleared on resume and replaced on a later cancellation. Historical reasons are retained in committed cancellation audit events.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Inspect one subscription for settings, entitlements, and support.',\n outcome: 'Current items, status, and period fields for UI.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The subscription was found and its items, status, and period bounds are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to read the subscription (the read path is an org-owner/org-admin-scoped API operation).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id under the caller’s billing account.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect the active team subscription',\n response: subscriptionExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect the subscription with available relationship context',\n response: subscriptionExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact subscription summary',\n response: subscriptionSummaryExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Enumerate subscriptions for a billing account or scope.',\n outcome: 'Table data for admin and self-serve subscription pickers.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of subscriptions for the billing account or scope.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to enumerate subscriptions in this scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse subscriptions for one billing account',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([subscriptionExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse subscriptions with relationship context',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([subscriptionExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact subscription summaries',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([subscriptionSummaryExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.CREATE]: {\n purpose: 'Repository path when server creates a subscription document from provider sync before first API read.',\n outcome: 'New row aligned to provider id in implementation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A subscription document was materialised from provider sync and aligned to the provider subscription id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The synced subscription payload fails schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller holds no role this operation names. Subscription rows are materialised by the engine\\'s billing provider-event handler, which acts with the handler-only `ORG_BILLING_PROVIDER_EVENTS` (organization) or `APP_BILLING_PROVIDER_EVENTS` (personal) role; this is an internal service-pipeline write, not a public create endpoint.' },\n ],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Internal updates from billing provider events (the engine\\'s billing handler, authorized with its handler-only role) or migration; user-facing changes use custom ops.',\n outcome: 'Patched fields per DTO rules in factory.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The subscription fields were patched (typically reconciling provider webhook state) and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The patched fields fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner / system role required to reconcile subscription state (internal service-pipeline path, not HTTP-exposed).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id under the caller’s billing account.' },\n ],\n idempotent: true,\n },\n [BillingSubscription_Operations.CANCEL]: {\n operationId: BillingSubscription_Operations.CANCEL,\n purpose: 'Cancel at the end of the current period or immediately, within what the plan permits.',\n outcome: 'Provider and row updated; the supplied reason is retained in the committed RESOURCE_OPERATION_PERFORMED event independently of the current cancellationReason field. Emails may fire per runtime config. Timing is decided in this order: the request’s `cancelImmediately` when it names one, then the plan product’s authored default, then the application default, then the end of the current period. A plan may FORBID immediate cancellation, in which case effective immediate timing is refused, including inherited defaults, rather than quietly downgraded — a caller told their subscription ended when it has not is worse served than one told no.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The cancellation was accepted at the provider and mirrored locally — either `cancelAtPeriodEnd` is set or the subscription is now `CANCELLED` per the `cancelImmediately` flag. A repeat with the same Idempotency-Key after it committed answers the subscription as it is now, without contacting the provider again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to cancel the subscription (a CRITICAL-risk lifecycle action).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id under the caller’s billing account.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription is in a state the provider will not cancel (e.g. already terminated, or `INCOMPLETE_EXPIRED`).' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Effective cancellation timing is immediate for a plan whose product forbids it, whether requested explicitly or inherited from a default. The subscription can still be cancelled at the end of the current period.', errorCode: 'billing_product_forbids_immediate_cancellation' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same request (the same Idempotency-Key) is still running. Nothing was sent to the provider by this request; retry later.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have applied this cancellation and nothing has yet established whether it did (a lost response, a timeout, a server error). Asking again sends nothing; the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused the cancellation and applied nothing. The refusal is recorded and the subscription is free again.', errorCode: 'billing_subscription_mutation_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A plan change is pending at the end of the period. Withdraw it with cancel-plan-change first; one pending change at a time, so the provider’s schedule and the subscription can never describe two different futures. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the cancellation was admitted. If the provider had already applied it, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The Idempotency-Key was already used for a DIFFERENT request to this operation — another actor, or other request values. Nothing is sent or replayed; use a new key for a new request. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.IDEMPOTENCY_KEY_REUSED },\n ],\n // Idempotent in effect (#535 S5a). A repeat with the same Idempotency-Key replays the committed cancellation without\n // contacting the provider again; the same key with a different request is refused 422. A repeat without a key is\n // admitted afresh and converges, because the provider treats re-cancelling an already-cancelling subscription as a no-op.\n idempotent: true,\n examples: [{\n title: 'Schedule cancellation at the current period end',\n request: { cancelImmediately: false, reason: 'Consolidating tools at renewal' },\n response: {\n ...subscriptionExample,\n cancelAtPeriodEnd: true,\n cancellationReason: 'Consolidating tools at renewal',\n updatedAt: '2026-06-20T15:15:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingSubscription_Operations.RESUME]: {\n operationId: BillingSubscription_Operations.RESUME,\n purpose: 'Undo a pending cancel before period end when provider allows.',\n outcome: 'The pending cancellation is removed; the current subscription lifecycle status is preserved.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pending cancellation was cleared at the provider and locally. A trial or overdue payment status is not changed by this operation. A repeat with the same Idempotency-Key after it committed answers the subscription as it is now, without contacting the provider again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to resume the subscription.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id under the caller’s billing account.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'There is no pending cancellation to undo. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_not_pending_cancellation' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same request (the same Idempotency-Key) is still running. Nothing was sent to the provider by this request; retry later.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have applied this resume and nothing has yet established whether it did (a lost response, a timeout, a server error). Asking again sends nothing; the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused the resume and applied nothing. The refusal is recorded and the subscription is free again.', errorCode: 'billing_subscription_mutation_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the resume was admitted. If the provider had already applied it, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The Idempotency-Key was already used for a DIFFERENT request to this operation — another actor, or other request values. Nothing is sent or replayed; use a new key for a new request. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.IDEMPOTENCY_KEY_REUSED },\n ],\n // Idempotent in effect (#535 S5a). A repeat with the same Idempotency-Key replays the committed resume without contacting\n // the provider; the same key with a different request is refused 422. Without a key, a repeat after resume cleared\n // cancelAtPeriodEnd is refused before admission (`billing_subscription_not_pending_cancellation`), not a no-op success.\n idempotent: true,\n examples: [{\n title: 'Resume a subscription before renewal',\n request: {},\n response: {\n ...subscriptionExample,\n cancelAtPeriodEnd: false,\n updatedAt: '2026-06-21T10:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingSubscription_Operations.CANCEL_PLAN_CHANGE]: {\n operationId: BillingSubscription_Operations.CANCEL_PLAN_CHANGE,\n purpose: 'Withdraw a plan change that was confirmed to take effect at the end of the current period (#1868).',\n outcome: 'The provider’s schedule for the change is released and `pendingPlanChange` is cleared, so the subscription renews on its current plan. Nothing is charged or refunded: the change had not taken effect.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pending change was withdrawn at the provider and locally. A repeat with the same Idempotency-Key after it committed answers the subscription as it is now, without contacting the provider again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to withdraw a plan change.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id under the caller’s billing account.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'No plan change is pending on this subscription: there is nothing to withdraw. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_no_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The pending change is taking effect: its renewal is due within five minutes, or has passed and the subscription has not yet been updated. Releasing the schedule then would leave the provider billing the new plan while the change read as withdrawn. Let it land, then change plan again. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_taking_effect' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same request (the same Idempotency-Key) is still running. Nothing was sent to the provider by this request; retry later.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have released the schedule and nothing has yet established whether it did (a lost response, a timeout, a server error). Asking again sends nothing; the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused to release the schedule and applied nothing — including when its next phase had already begun, so the change had taken effect. The refusal is recorded and the subscription is free again.', errorCode: 'billing_subscription_mutation_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the withdrawal was admitted. If the provider had already applied it, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The Idempotency-Key was already used for a DIFFERENT request to this operation — another actor, or other request values. Nothing is sent or replayed; use a new key for a new request. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.IDEMPOTENCY_KEY_REUSED },\n ],\n // Idempotent in effect, as RESUME: a repeat with the same Idempotency-Key replays the committed withdrawal; without a key, a\n // repeat after the pending change was cleared is refused before admission (`billing_subscription_no_plan_change_pending`).\n idempotent: true,\n examples: [{\n title: 'Keep the current plan: withdraw a downgrade pending at the end of the period',\n request: {},\n response: {\n ...subscriptionExample,\n updatedAt: '2026-06-23T09:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingSubscription_Operations.PREVIEW_PLAN_CHANGE]: {\n operationId: BillingSubscription_Operations.PREVIEW_PLAN_CHANGE,\n purpose: 'Request a fresh provider invoice estimate for a target plan and price.',\n outcome: 'Returns the upcoming invoice amount, currency, lines, period, calculation instant, when the change would take effect (`timing`, `effectiveAt`) and a short-lived previewToken bound to the caller, subscription and selected plan. A change the new plan defers to the end of the period is previewed as the renewal invoice on the new plan, unprorated. The token carries reviewed inputs; normal authorization still applies to confirmation.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Provider estimate calculated; this amount is not necessarily an immediate charge.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The subscription, billing account or scope does not match the authorized route context.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The target is not a plan or its selected price belongs to another product.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target product or price is retired, or provider item identities are incomplete.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A plan change is pending at the end of the period. Withdraw it with cancel-plan-change first; one pending change at a time, so the provider’s schedule and the subscription can never describe two different futures. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The new plan defers the change to the end of the period, and the subscription ends then: a cancellation is pending. Resume the subscription first. Refused before anything is sent.', errorCode: 'billing_plan_change_subscription_pending_cancellation' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The new plan defers the change to the end of the period, and the lines the subscription would then carry do not share one recurring billing interval (a yearly add-on beside a monthly plan): a deferred change is one provider phase, billed on one interval. Remove the add-on whose interval differs, or choose a price on the same interval. Refused before anything is sent.', errorCode: 'billing_plan_change_billing_interval_mismatch' },\n ],\n idempotent: true,\n },\n [BillingSubscription_Operations.CHANGE_PLAN]: {\n operationId: BillingSubscription_Operations.CHANGE_PLAN,\n purpose: 'Confirm a previously reviewed plan and price using its previewToken.',\n outcome: 'The new plan\\'s policy decides when the change takes effect (#1868). Immediately: the plan item is updated after provider confirmation, preserving its known provider item ID and unrelated add-on entries, and the new plan\\'s `proration` settles the unused part of the current period. At the end of the period (a downgrade\\'s default): the provider is given a schedule, the items are left as they are, and the subscription records the change as `pendingPlanChange` until renewal applies it.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'An immediate plan swap (with proration) was confirmed by the provider and the subscription’s plan item is updated with its provider identity preserved; or a change at the end of the period was scheduled by the provider and is returned as `pendingPlanChange`, with the items unchanged. Confirming the same preview again after it committed answers the subscription as it is now — a later change shows through — without contacting the provider or re-running any effect, for as long as the preview token is valid (10 minutes).' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`newProductKey` identifies a product that is not a PLAN. Add-ons and credit packs cannot replace the plan item.', customMessageReference: ErrorCustomMessageReference.BILLING_INVALID_PRODUCT_TYPE },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'An existing subscription item has no recorded provider item ID. Repair the missing provider identity before changing items; routine status reconciliation does not repair item IDs. The request is refused before provider mutation.', errorCode: 'billing_existing_provider_item_missing' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`newProductKey`, `newPriceId` or `previewToken` is missing or fails request-DTO validation.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The preview token is expired, altered or belongs to another actor, subscription or selection. Request a new preview before confirming.', errorCode: 'billing_plan_change_preview_invalid' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription terms or relevant catalogue policy changed after the preview, or another change to the subscription was admitted after it: a preview names the mutation generation it was computed against, and admission is a compare-and-swap on that generation, so of two previews of one generation only the first confirmation proceeds. The stale confirmation is rejected before contacting the provider.', errorCode: 'billing_plan_change_preview_stale' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same confirmation is already running. Nothing was sent to the provider by this request; retry later. A plan change that was admitted but never sent, and whose preview has expired, is released; a change the provider may have applied holds the subscription until recovery resolves it.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have applied this change and nothing has yet established whether it did (a lost response, a timeout, a server error), or another request with this same preview is still dispatching it. Confirming again sends nothing; a genuinely unknown outcome holds the subscription until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused the change and applied nothing, for example an invalid request. A failed proration payment is NOT a refusal: the change applies and the subscription moves to past_due. The refusal is recorded and the subscription is free again; request a new preview.', errorCode: 'billing_plan_change_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s items changed after the provider applied the change. The local write is refused so the applied change is not discarded, and the change stays owed to recovery.', errorCode: 'billing_plan_change_subscription_items_changed' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider applied the change but its answer does not identify the plan item it created (a subscription that had no plan item). The local write is refused rather than recording an item nothing can target later; the change stays applied, confirming again sends nothing, and it is owed to recovery.', errorCode: 'billing_created_provider_item_unresolved' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished — for example another request with the same preview completed it first. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the change was admitted, so a change admitted against the old identity is not applied to the new one. If the provider had already applied the change, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`newPriceId` names a price whose `productId` is not `newProductKey`’s product. The two are caller-supplied independently, and the provider is billed the PRICE while entitlements derive from the PRODUCT recorded on the item — so an unmatched pair would grant one plan’s entitlements at another plan’s price.', customMessageReference: ErrorCustomMessageReference.BILLING_PRICE_PRODUCT_MISMATCH },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to change the plan (a HIGH-risk commercial action).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id, or the target product/price is not in the catalog.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The requested price is incompatible with the current subscription.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`newProductKey` (or the price named by `newPriceId`) has been RETIRED from the code catalogue. A subscription may not be MOVED ONTO a retired product; a subscription already on one keeps running, and REMOVE_ADDON deliberately still works so a customer is never trapped on a withdrawn add-on.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_RETIRED },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`newProductKey` is announced but not yet on sale (catalogue `availability` UPCOMING). A subscription may not be moved onto it until the catalogue puts it on sale.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_NOT_YET_AVAILABLE },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A plan change is pending at the end of the period. Withdraw it with cancel-plan-change first; one pending change at a time, so the provider’s schedule and the subscription can never describe two different futures. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The new plan defers the change to the end of the period, and the subscription ends then: a cancellation is pending. Resume the subscription first. Refused before anything is sent.', errorCode: 'billing_plan_change_subscription_pending_cancellation' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The new plan defers the change to the end of the period, and the lines the subscription would then carry do not share one recurring billing interval (a yearly add-on beside a monthly plan): a deferred change is one provider phase, billed on one interval. Remove the add-on whose interval differs, or choose a price on the same interval. Refused before anything is sent.', errorCode: 'billing_plan_change_billing_interval_mismatch' },\n ],\n // One preview is at most one commercial change (#535): its generation is admitted once, the provider is sent the\n // change once under a store-owned key, and a replay after commit answers the subscription's CURRENT state with no\n // second call or effect. Bounded by the preview token's validity (10 minutes); a replay while the outcome is\n // unknown is refused rather than re-sent.\n idempotent: true,\n examples: [{\n title: 'Upgrade from Team to Business',\n request: { newProductKey: 'business_plan', newPriceId: 'price_business_monthly', previewToken: '<previewToken returned by preview-plan-change>' },\n response: {\n ...subscriptionExample,\n items: [{\n _id: 'subscription_item_business_01HX2EXAMPLE',\n productId: 'product_business_plan',\n priceId: 'price_business_monthly',\n quantity: 1,\n }],\n updatedAt: '2026-06-22T11:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }, {\n title: 'Downgrade from Business to Team at the end of the period',\n request: { newProductKey: 'team_plan', newPriceId: 'price_team_monthly', previewToken: '<previewToken returned by preview-plan-change>' },\n response: {\n ...subscriptionExample,\n pendingPlanChange: {\n productId: 'product_team_plan',\n priceId: 'price_team_monthly',\n effectiveAt: subscriptionExample.currentPeriodEnd,\n items: [{ _id: 'subscription_item_team_01HX2EXAMPLE', productId: 'product_team_plan', priceId: 'price_team_monthly', quantity: 1 }],\n },\n updatedAt: '2026-06-22T11:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingSubscription_Operations.ADD_ADDON]: {\n operationId: BillingSubscription_Operations.ADD_ADDON,\n purpose: 'Attach an add-on line item to the subscription.',\n outcome: 'The provider is sent the subscription’s lines plus one new line correlated by a backend-generated key, and the items array gains that entry with its provider-confirmed item ID. Every request must carry an Idempotency-Key: adding an add-on that is already attached adds another line and another charge, so a retry after a lost response has to be recognizable as the same request. A request without one is refused before anything is admitted.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The add-on line item was confirmed by the provider and appended to the subscription’s items array. A repeat with the same Idempotency-Key after it committed answers the subscription as it is now, without contacting the provider again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'An existing subscription item has no recorded provider item ID. Repair the missing provider identity before changing items; routine status reconciliation does not repair item IDs. The request is refused before provider mutation.', errorCode: 'billing_existing_provider_item_missing' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider applied the add-on but its answer does not identify the item it created. The local write is refused rather than recording an item nothing can target later; the add-on stays applied, asking again sends nothing, and it is owed to recovery.', errorCode: 'billing_created_provider_item_unresolved' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `addonProductKey` / `priceId` is missing or fails request-DTO validation.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`addonProductKey` identifies a product that is not an ADDON.', customMessageReference: ErrorCustomMessageReference.BILLING_INVALID_PRODUCT_TYPE },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`priceId` names a price whose `productId` is not the add-on product’s. Same split as CHANGE_PLAN: the provider bills the price, the item records the product, and entitlements follow the product.', customMessageReference: ErrorCustomMessageReference.BILLING_PRICE_PRODUCT_MISMATCH },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The add-on requires a plan tier the subscription’s plan does not have. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.BILLING_PLAN_TIER_REQUIRED },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to add an add-on (a HIGH-risk commercial action).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id, or the add-on product is not in the catalog.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`addonProductKey` (or the price named by `priceId`) has been RETIRED from the code catalogue and may no longer be bought.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_RETIRED },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`addonProductKey` is announced but not yet on sale (catalogue `availability` UPCOMING) and may not be bought yet.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_NOT_YET_AVAILABLE },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same request (the same Idempotency-Key) is still running. Nothing was sent to the provider by this request; retry later with the same key.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have applied this add-on and nothing has yet established whether it did (a lost response, a timeout, a server error). Asking again sends nothing; the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused the add-on and applied nothing. The refusal is recorded and the subscription is free again.', errorCode: 'billing_subscription_mutation_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A plan change is pending at the end of the period. Withdraw it with cancel-plan-change first; one pending change at a time, so the provider’s schedule and the subscription can never describe two different futures. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the add-on was admitted. If the provider had already applied it, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s items changed after the provider applied the add-on, so writing the items it was computed against would discard that change. The add-on stays applied and the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_items_changed' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The Idempotency-Key was already used for a DIFFERENT request to this operation — another actor, or other request values. Nothing is sent or replayed; use a new key for a new request. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.IDEMPOTENCY_KEY_REUSED },\n ],\n // Idempotent per key (#535 S5b). The key is REQUIRED: a repeat with it replays the committed addition without contacting the\n // provider, and the same key with a different request is refused 422. Without the key there is nothing to replay, so the\n // request is refused rather than admitted as a second addition.\n idempotent: true,\n examples: [{\n title: 'Add the audit-retention add-on',\n request: { addonProductKey: 'audit_retention', priceId: 'price_audit_retention_monthly' },\n response: {\n ...subscriptionExample,\n items: [\n baseItem,\n {\n _id: 'subscription_item_audit_01HX2EXAMPLE',\n productId: 'product_audit_retention',\n priceId: 'price_audit_retention_monthly',\n quantity: 1,\n },\n ],\n updatedAt: '2026-06-23T08:30:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingSubscription_Operations.REMOVE_ADDON]: {\n operationId: BillingSubscription_Operations.REMOVE_ADDON,\n purpose: 'Remove the named add-on through explicit provider item deletion.',\n outcome: 'All entries of the named add-on are explicitly deleted by their recorded provider item IDs before the local items array shrinks. The plan and unrelated add-ons are unchanged; missing provider item IDs refuse the operation before mutation. Every request must carry an Idempotency-Key: a repeat after the removal committed no longer finds the add-on, so only the key lets a retry after a lost response learn that its removal succeeded.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The add-on line item was removed at the provider and dropped from the subscription’s items array. A repeat with the same Idempotency-Key after it committed answers the subscription as it is now, without contacting the provider again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `addonProductKey` is missing or fails request-DTO validation.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`addonProductKey` identifies a product that is not an ADDON.', customMessageReference: ErrorCustomMessageReference.BILLING_INVALID_PRODUCT_TYPE },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to remove an add-on (a HIGH-risk commercial action).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id, or the named add-on is not present on the subscription.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A matching add-on entry has no recorded provider subscription-item ID, so the deletion cannot be targeted safely.', errorCode: 'billing_addon_provider_item_missing' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same request (the same Idempotency-Key) is still running. Nothing was sent to the provider by this request; retry later with the same key.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have applied this removal and nothing has yet established whether it did (a lost response, a timeout, a server error). Asking again sends nothing; the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused the removal and applied nothing. The refusal is recorded and the subscription is free again.', errorCode: 'billing_subscription_mutation_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A plan change is pending at the end of the period. Withdraw it with cancel-plan-change first; one pending change at a time, so the provider’s schedule and the subscription can never describe two different futures. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the removal was admitted. If the provider had already applied it, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s items changed after the provider applied the removal, so writing the items it was computed against would discard that change. The removal stays applied and the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_items_changed' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The Idempotency-Key was already used for a DIFFERENT request to this operation — another actor, or other request values. Nothing is sent or replayed; use a new key for a new request. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.IDEMPOTENCY_KEY_REUSED },\n ],\n // Idempotent per key (#535 S5b). The key is REQUIRED: a repeat with it replays the committed removal without contacting the\n // provider, and the same key with a different request is refused 422.\n idempotent: true,\n examples: [{\n title: 'Remove the audit-retention add-on',\n request: { addonProductKey: 'audit_retention' },\n response: {\n ...subscriptionExample,\n items: [baseItem],\n updatedAt: '2026-06-24T08:30:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'The `discounts` list, `trialStart` and `trialEnd` are copied from the billing provider on every provider event and by the reconciliation sweep, and are cleared when the provider no longer holds them. They are read-only. `discounts` holds every discount the provider applies, in the order it applies them: a referral reward added beside a checkout promotion is a second entry, and both are charged.',\n ],\n }),\n { resourcePrimaryScope: subResourcePrimaryScopeByResourceType[resourceType] },\n );\n}\n\nfunction buildSubscriptionSpec(resourceType: SubResourceType, memberName: SubResourceTypeMember) {\n const base = buildSubscriptionBase(resourceType, memberName);\n const main = resolveSubUI(billingMainPresets as Partial<Record<string, unknown>>, resourceType, 'billingMainPresets');\n const admin = resolveSubUI(billingAdminPresets as Partial<Record<string, unknown>>, resourceType, 'billingAdminPresets');\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(main), resourceFrontendConfiguration(admin)),\n base,\n () => ({\n label: { purpose: 'Preset uses `status` string for a compact row label in subscription lists.' },\n layout: {\n purpose: 'Inline summary template in billing presets (no `refs.sections`) shows status, cancel-at-period-end, period end, trial end, and billing-account id — child resources appear in parent billing-account tabs via `variantOverrides`.',\n displayPurpose: 'Self-serve “current plan” and org admin subscription management.',\n },\n views: {\n [BillingSubscription_Operations.CANCEL]: { purpose: 'Custom op host; entries are not addressable routes in merged `billing` presets but operations exist for action buttons.', whenToUse: 'Cancel plan flow in product UI.' },\n [BillingSubscription_Operations.RESUME]: { purpose: 'Resume before period end when user changes mind.', whenToUse: 'Reverse a scheduled cancel.' },\n [BillingSubscription_Operations.CHANGE_PLAN]: { purpose: 'Plan migration host for upgrade/downgrade UX.', whenToUse: 'When catalog offers multiple prices for the same product line.' },\n [BillingSubscription_Operations.ADD_ADDON]: { purpose: 'Attach add-on SKUs to the active subscription.', whenToUse: 'When add-on products exist in the catalog.' },\n [BillingSubscription_Operations.REMOVE_ADDON]: { purpose: 'Detach an add-on line item.', whenToUse: 'When seat-based or feature add-ons can be removed mid-cycle per policy.' },\n [BillingSubscription_Operations.CANCEL_PLAN_CHANGE]: { purpose: 'Withdraw a plan change pending at the end of the period.', whenToUse: 'When the customer changes their mind about a scheduled downgrade before renewal.' },\n },\n }),\n );\n}\n\nexport const organizationSubscriptionsResourceSpecification = buildSubscriptionSpec(\n CoreResourceType.ORGANIZATION_SUBSCRIPTIONS,\n 'ORGANIZATION_SUBSCRIPTIONS',\n);\n\nexport const userSubscriptionsResourceSpecification = buildSubscriptionSpec(CoreResourceType.USER_SUBSCRIPTIONS, 'USER_SUBSCRIPTIONS');\n"]}
1
+ {"version":3,"file":"subscriptions.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/billing/resources/subscriptions.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC9B,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,wCAAwC,EACxC,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,kCAAkC,EAClC,uBAAuB,EACvB,qCAAqC,GAEtC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAK3E,MAAM,qCAAqC,GAA6D;IACtG,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,EAAE,oBAAoB,CAAC,aAAa;IACjF,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,oBAAoB,CAAC,SAAS;CACtE,CAAC;AAQF,SAAS,YA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MAAM,EAAE;YACN,OAAO,EAAE,mOAAmO;YAC5O,cAAc,EAAE,kEAAkE;SACnF;QACD,KAAK,EAAE;YACL,CAAC,8BAA8B,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,yHAAyH,EAAE,SAAS,EAAE,iCAAiC,EAAE;YAC7N,CAAC,8BAA8B,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,kDAAkD,EAAE,SAAS,EAAE,6BAA6B,EAAE;YAClJ,CAAC,8BAA8B,CAAC,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,+CAA+C,EAAE,SAAS,EAAE,gEAAgE,EAAE;YACvL,CAAC,8BAA8B,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,EAAE,gDAAgD,EAAE,SAAS,EAAE,4CAA4C,EAAE;YAClK,CAAC,8BAA8B,CAAC,YAAY,CAAC,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,SAAS,EAAE,yEAAyE,EAAE;YAC/K,CAAC,8BAA8B,CAAC,kBAAkB,CAAC,EAAE,EAAE,OAAO,EAAE,0DAA0D,EAAE,SAAS,EAAE,kFAAkF,EAAE;SAC5N;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,8CAA8C,GAAG,qBAAqB,CACjF,gBAAgB,CAAC,0BAA0B,EAC3C,4BAA4B,CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAAG,qBAAqB,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC","sourcesContent":["import { billingAdminPresets, billingMainPresets } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n BillingSubscriptionBaseSchema,\n BillingSubscription_Operations,\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n SubscriptionStatus,\n billingSubscriptionsPolymorphicFactories,\n ErrorCustomMessageReference,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport {\n BILLING_API_REFERENCE_PAGE_REQUEST,\n billingApiReferencePage,\n createBillingApiReferenceScopeExample,\n type BillingApiReferenceExampleScope,\n} from './billing-api-reference-examples';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype SubResourceType = CoreResourceType.ORGANIZATION_SUBSCRIPTIONS | CoreResourceType.USER_SUBSCRIPTIONS;\ntype SubResourceTypeMember = 'ORGANIZATION_SUBSCRIPTIONS' | 'USER_SUBSCRIPTIONS';\n\nconst subResourcePrimaryScopeByResourceType: Record<SubResourceType, BillingApiReferenceExampleScope> = {\n [CoreResourceType.ORGANIZATION_SUBSCRIPTIONS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.USER_SUBSCRIPTIONS]: ResourcePrimaryScope.USER_SELF,\n};\n\ntype Cfg = ReturnType<(typeof billingSubscriptionsPolymorphicFactories)[CoreResourceType.ORGANIZATION_SUBSCRIPTIONS]>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof BillingSubscriptionBaseSchema;\ntype SubFrontend = ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nfunction resolveSubUI(source: Partial<Record<string, unknown>>, resourceType: SubResourceType, sourceName: string): SubFrontend {\n const uiBehavior = source[resourceType] as SubFrontend | undefined;\n if (!uiBehavior) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return uiBehavior;\n}\n\nfunction buildSubscriptionBase(resourceType: SubResourceType, memberName: SubResourceTypeMember) {\n const exampleScope = createBillingApiReferenceScopeExample(\n subResourcePrimaryScopeByResourceType[resourceType],\n );\n const baseItem = {\n _id: 'subscription_item_base_01HX2EXAMPLE',\n productId: 'product_team_plan',\n priceId: 'price_team_monthly',\n quantity: 25,\n };\n const subscriptionExample = {\n _id: 'subscription_01HX2EXAMPLE',\n ...exampleScope.billingAccountIdentity,\n status: SubscriptionStatus.ACTIVE,\n items: [baseItem],\n currentPeriodStart: '2026-06-01T00:00:00.000Z',\n currentPeriodEnd: '2026-07-01T00:00:00.000Z',\n cancelAtPeriodEnd: false,\n metadata: { contract: 'annual-commitment' },\n createdAt: '2026-05-10T09:00:00.000Z',\n updatedAt: '2026-06-01T00:05:00.000Z',\n ...exampleScope.scopeIdentity,\n };\n const subscriptionSummaryExample = {\n _id: subscriptionExample._id,\n ...exampleScope.billingAccountIdentity,\n status: subscriptionExample.status,\n currentPeriodEnd: subscriptionExample.currentPeriodEnd,\n cancelAtPeriodEnd: subscriptionExample.cancelAtPeriodEnd,\n };\n\n return resourceSpecification<Custom, Core, Main>(\n billingSubscriptionsPolymorphicFactories[resourceType],\n BillingSubscriptionBaseSchema,\n ({ schemaShape }) => ({\n purpose:\n 'Subscription for a billing account: exposes the selected plan and add-ons, lifecycle status, billing-period bounds, trial state, and cancellation state.',\n businessRole: 'Entitlement driver for seats and renewals — the object billing emails and plan changes refer to.',\n lifecycleRole:\n 'Created after a successful checkout and updated after subscription changes or billing-provider events. A cancelled subscription is retained as billing history rather than cascade-deleted with its account, and subject erasure terminates active billing.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.BILLING,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'BillingSubscriptionBaseSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactoryCollectionEntry: {\n collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'billingSubscriptionsPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n customEnum: { packageName: '@wildo-ai/saas-models', exportName: 'BillingSubscription_Operations', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n frontendConfigurationSourceEntries: [\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingMainPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingAdminPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n ],\n notes: ['Two billing notices are sent from these operations (#2929): `subscription-started` (CREATE and UPDATE, when the subscription first gives access) and `subscription-ending` (UPDATE and CANCEL, when its end is decided). An organization subscription notifies the organization\\'s billing contact (`ORGANIZATION_BILLING`), a personal one the person it belongs to (`USERS_CUSTOM` on `userId`). Each fires on a change of the row (`subscriptionStartedByWrite`, `subscriptionCancellationDecidedByWrite`), so a renewal sends nothing. Templates: `resources/<organizationSubscriptions|userSubscriptions>/<operation>.<target>_<notice>`.'],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Mongo id for this subscription document.', importance: FieldSemanticImportance.PRIMARY, semanticRole: 'identifier' }),\n billingAccountId: schemaShape.billingAccountId.stringSpec({ meaning: 'Polymorphic FK to the parent billing account (`organizationBillingAccountId` or `userBillingAccountId` on concrete schema).', importance: FieldSemanticImportance.PRIMARY }),\n status: schemaShape.status.enumSpec({\n meaning: 'Provider subscription lifecycle state mirrored for gating and UI badges.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'SubscriptionStatus', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n values: {\n [SubscriptionStatus.ACTIVE]: { meaning: 'Currently billable and entitled per provider.' },\n [SubscriptionStatus.TRIALING]: { meaning: 'In trial window if applicable.' },\n [SubscriptionStatus.PAST_DUE]: { meaning: 'Payment failed; access may be degraded per product policy.' },\n [SubscriptionStatus.UNPAID]: { meaning: 'Severe payment failure state from provider semantics.' },\n [SubscriptionStatus.CANCELLED]: { meaning: 'Terminated; may still be visible for history.' },\n [SubscriptionStatus.INCOMPLETE]: { meaning: 'Checkout or first payment not completed.' },\n [SubscriptionStatus.INCOMPLETE_EXPIRED]: { meaning: 'Incomplete checkout expired at provider.' },\n [SubscriptionStatus.PAUSED]: { meaning: 'Paused per provider rules (if used).' },\n },\n }),\n items: schemaShape.items.arraySpec({\n meaning: 'Line items (product + price + quantity) that make up the commercial subscription.',\n elementMeaning: 'One `SubscriptionItemSchema` with `productId`, `priceId`, `quantity`, and optional provider item id.',\n }),\n currentPeriodStart: schemaShape.currentPeriodStart.dateSpec({ meaning: 'Start of the current invoice period.', temporalRole: 'scheduled' }),\n currentPeriodEnd: schemaShape.currentPeriodEnd.dateSpec({ meaning: 'End of the current invoice period / next renewal anchor.', importance: FieldSemanticImportance.PRIMARY }),\n trialStart: schemaShape.trialStart.dateSpec({ meaning: 'When the trial began, as the billing provider reports it. Kept after the trial ends; absent on a subscription that never had a trial.', temporalRole: 'scheduled' }),\n trialEnd: schemaShape.trialEnd.dateSpec({ meaning: 'When the trial ends, or ended, as the billing provider reports it. Kept after the trial is over, so it describes the subscription\\'s trial, not whether it is trialing now: `status` says that.', temporalRole: 'deadline' }),\n cancelAtPeriodEnd: schemaShape.cancelAtPeriodEnd.booleanSpec({ meaning: 'User/org requested cancel at end of current period.' }),\n pendingPlanChange: schemaShape.pendingPlanChange.objectSpec({ meaning: 'A plan change confirmed to take effect at the end of the current period (#1868): the target plan and price, when it applies, and the lines the subscription will then carry. Written by a change-plan confirmation whose new plan defers it; cleared when renewal applies it (the items then become these lines) or when cancel-plan-change withdraws it. Read-only.' }),\n cancellationReason: schemaShape.cancellationReason.stringSpec({ meaning: 'Current cancellation reason, cleared on resume and replaced on a later cancellation. Historical reasons are retained in committed cancellation audit events.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Inspect one subscription for settings, entitlements, and support.',\n outcome: 'Current items, status, and period fields for UI.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The subscription was found and its items, status, and period bounds are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to read the subscription (the read path is an org-owner/org-admin-scoped API operation).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id under the caller’s billing account.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect the active team subscription',\n response: subscriptionExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect the subscription with available relationship context',\n response: subscriptionExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact subscription summary',\n response: subscriptionSummaryExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Enumerate subscriptions for a billing account or scope.',\n outcome: 'Table data for admin and self-serve subscription pickers.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of subscriptions for the billing account or scope.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to enumerate subscriptions in this scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse subscriptions for one billing account',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([subscriptionExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse subscriptions with relationship context',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([subscriptionExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact subscription summaries',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([subscriptionSummaryExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.CREATE]: {\n purpose: 'Repository path when server creates a subscription document from provider sync before first API read.',\n outcome: 'New row aligned to provider id in implementation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A subscription document was materialised from provider sync and aligned to the provider subscription id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The synced subscription payload fails schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller holds no role this operation names. Subscription rows are materialised by the engine\\'s billing provider-event handler, which acts with the handler-only `ORG_BILLING_PROVIDER_EVENTS` (organization) or `APP_BILLING_PROVIDER_EVENTS` (personal) role; this is an internal service-pipeline write, not a public create endpoint.' },\n ],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Internal updates from billing provider events (the engine\\'s billing handler, authorized with its handler-only role) or migration; user-facing changes use custom ops.',\n outcome: 'Patched fields per DTO rules in factory.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The subscription fields were patched (typically reconciling provider webhook state) and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The patched fields fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner / system role required to reconcile subscription state (internal service-pipeline path, not HTTP-exposed).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id under the caller’s billing account.' },\n ],\n idempotent: true,\n },\n [BillingSubscription_Operations.CANCEL]: {\n operationId: BillingSubscription_Operations.CANCEL,\n purpose: 'Cancel at the end of the current period or immediately, within what the plan permits.',\n outcome: 'Provider and row updated; the supplied reason is retained in the committed RESOURCE_OPERATION_PERFORMED event independently of the current cancellationReason field. Emails may fire per runtime config. Timing is decided in this order: the request’s `cancelImmediately` when it names one, then the plan product’s authored default, then the application default, then the end of the current period. A plan may FORBID immediate cancellation, in which case effective immediate timing is refused, including inherited defaults, rather than quietly downgraded — a caller told their subscription ended when it has not is worse served than one told no.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The cancellation was accepted at the provider and mirrored locally — either `cancelAtPeriodEnd` is set or the subscription is now `CANCELLED` per the `cancelImmediately` flag. A repeat with the same Idempotency-Key after it committed answers the subscription as it is now, without contacting the provider again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to cancel the subscription (a CRITICAL-risk lifecycle action).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id under the caller’s billing account.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription is in a state the provider will not cancel (e.g. already terminated, or `INCOMPLETE_EXPIRED`).' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Effective cancellation timing is immediate for a plan whose product forbids it, whether requested explicitly or inherited from a default. The subscription can still be cancelled at the end of the current period.', errorCode: 'billing_product_forbids_immediate_cancellation' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same request (the same Idempotency-Key) is still running. Nothing was sent to the provider by this request; retry later.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have applied this cancellation and nothing has yet established whether it did (a lost response, a timeout, a server error). Asking again sends nothing; the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused the cancellation and applied nothing. The refusal is recorded and the subscription is free again.', errorCode: 'billing_subscription_mutation_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A plan change is pending at the end of the period. Withdraw it with cancel-plan-change first; one pending change at a time, so the provider’s schedule and the subscription can never describe two different futures. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the cancellation was admitted. If the provider had already applied it, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The Idempotency-Key was already used for a DIFFERENT request to this operation — another actor, or other request values. Nothing is sent or replayed; use a new key for a new request. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.IDEMPOTENCY_KEY_REUSED },\n ],\n // Idempotent in effect (#535 S5a). A repeat with the same Idempotency-Key replays the committed cancellation without\n // contacting the provider again; the same key with a different request is refused 422. A repeat without a key is\n // admitted afresh and converges, because the provider treats re-cancelling an already-cancelling subscription as a no-op.\n idempotent: true,\n examples: [{\n title: 'Schedule cancellation at the current period end',\n request: { cancelImmediately: false, reason: 'Consolidating tools at renewal' },\n response: {\n ...subscriptionExample,\n cancelAtPeriodEnd: true,\n cancellationReason: 'Consolidating tools at renewal',\n updatedAt: '2026-06-20T15:15:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingSubscription_Operations.RESUME]: {\n operationId: BillingSubscription_Operations.RESUME,\n purpose: 'Undo a pending cancel before period end when provider allows.',\n outcome: 'The pending cancellation is removed; the current subscription lifecycle status is preserved.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pending cancellation was cleared at the provider and locally. A trial or overdue payment status is not changed by this operation. A repeat with the same Idempotency-Key after it committed answers the subscription as it is now, without contacting the provider again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to resume the subscription.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id under the caller’s billing account.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'There is no pending cancellation to undo. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_not_pending_cancellation' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same request (the same Idempotency-Key) is still running. Nothing was sent to the provider by this request; retry later.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have applied this resume and nothing has yet established whether it did (a lost response, a timeout, a server error). Asking again sends nothing; the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused the resume and applied nothing. The refusal is recorded and the subscription is free again.', errorCode: 'billing_subscription_mutation_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the resume was admitted. If the provider had already applied it, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The Idempotency-Key was already used for a DIFFERENT request to this operation — another actor, or other request values. Nothing is sent or replayed; use a new key for a new request. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.IDEMPOTENCY_KEY_REUSED },\n ],\n // Idempotent in effect (#535 S5a). A repeat with the same Idempotency-Key replays the committed resume without contacting\n // the provider; the same key with a different request is refused 422. Without a key, a repeat after resume cleared\n // cancelAtPeriodEnd is refused before admission (`billing_subscription_not_pending_cancellation`), not a no-op success.\n idempotent: true,\n examples: [{\n title: 'Resume a subscription before renewal',\n request: {},\n response: {\n ...subscriptionExample,\n cancelAtPeriodEnd: false,\n updatedAt: '2026-06-21T10:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingSubscription_Operations.CANCEL_PLAN_CHANGE]: {\n operationId: BillingSubscription_Operations.CANCEL_PLAN_CHANGE,\n purpose: 'Withdraw a plan change that was confirmed to take effect at the end of the current period (#1868).',\n outcome: 'The provider’s schedule for the change is released and `pendingPlanChange` is cleared, so the subscription renews on its current plan. Nothing is charged or refunded: the change had not taken effect.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pending change was withdrawn at the provider and locally. A repeat with the same Idempotency-Key after it committed answers the subscription as it is now, without contacting the provider again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to withdraw a plan change.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id under the caller’s billing account.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'No plan change is pending on this subscription: there is nothing to withdraw. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_no_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The pending change is taking effect: its renewal is due within five minutes, or has passed and the subscription has not yet been updated. Releasing the schedule then would leave the provider billing the new plan while the change read as withdrawn. Let it land, then change plan again. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_taking_effect' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same request (the same Idempotency-Key) is still running. Nothing was sent to the provider by this request; retry later.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have released the schedule and nothing has yet established whether it did (a lost response, a timeout, a server error). Asking again sends nothing; the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused to release the schedule and applied nothing — including when its next phase had already begun, so the change had taken effect. The refusal is recorded and the subscription is free again.', errorCode: 'billing_subscription_mutation_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the withdrawal was admitted. If the provider had already applied it, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The Idempotency-Key was already used for a DIFFERENT request to this operation — another actor, or other request values. Nothing is sent or replayed; use a new key for a new request. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.IDEMPOTENCY_KEY_REUSED },\n ],\n // Idempotent in effect, as RESUME: a repeat with the same Idempotency-Key replays the committed withdrawal; without a key, a\n // repeat after the pending change was cleared is refused before admission (`billing_subscription_no_plan_change_pending`).\n idempotent: true,\n examples: [{\n title: 'Keep the current plan: withdraw a downgrade pending at the end of the period',\n request: {},\n response: {\n ...subscriptionExample,\n updatedAt: '2026-06-23T09:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingSubscription_Operations.PREVIEW_PLAN_CHANGE]: {\n operationId: BillingSubscription_Operations.PREVIEW_PLAN_CHANGE,\n purpose: 'Request a fresh provider invoice estimate for a target plan and price.',\n outcome: 'Returns the upcoming invoice amount, currency, lines, period, calculation instant, when the change would take effect (`timing`, `effectiveAt`) and a short-lived previewToken bound to the caller, subscription and selected plan. A change the new plan defers to the end of the period is previewed as the renewal invoice on the new plan, unprorated. The token carries reviewed inputs; normal authorization still applies to confirmation.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Provider estimate calculated; this amount is not necessarily an immediate charge.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The subscription, billing account or scope does not match the authorized route context.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The target is not a plan or its selected price belongs to another product.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target product or price is retired, or provider item identities are incomplete.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A plan change is pending at the end of the period. Withdraw it with cancel-plan-change first; one pending change at a time, so the provider’s schedule and the subscription can never describe two different futures. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The new plan defers the change to the end of the period, and the subscription ends then: a cancellation is pending. Resume the subscription first. Refused before anything is sent.', errorCode: 'billing_plan_change_subscription_pending_cancellation' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The new plan defers the change to the end of the period, and the lines the subscription would then carry do not share one recurring billing interval (a yearly add-on beside a monthly plan): a deferred change is one provider phase, billed on one interval. Remove the add-on whose interval differs, or choose a price on the same interval. Refused before anything is sent.', errorCode: 'billing_plan_change_billing_interval_mismatch' },\n ],\n idempotent: true,\n },\n [BillingSubscription_Operations.CHANGE_PLAN]: {\n operationId: BillingSubscription_Operations.CHANGE_PLAN,\n purpose: 'Confirm a previously reviewed plan and price using its previewToken.',\n outcome: 'The new plan\\'s policy decides when the change takes effect (#1868). Immediately: the plan item is updated after provider confirmation, preserving its known provider item ID and unrelated add-on entries, and the new plan\\'s `proration` settles the unused part of the current period. At the end of the period (a downgrade\\'s default): the provider is given a schedule, the items are left as they are, and the subscription records the change as `pendingPlanChange` until renewal applies it.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'An immediate plan swap (with proration) was confirmed by the provider and the subscription’s plan item is updated with its provider identity preserved; or a change at the end of the period was scheduled by the provider and is returned as `pendingPlanChange`, with the items unchanged. Confirming the same preview again after it committed answers the subscription as it is now — a later change shows through — without contacting the provider or re-running any effect, for as long as the preview token is valid (10 minutes).' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`newProductKey` identifies a product that is not a PLAN. Add-ons and credit packs cannot replace the plan item.', customMessageReference: ErrorCustomMessageReference.BILLING_INVALID_PRODUCT_TYPE },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'An existing subscription item has no recorded provider item ID. Repair the missing provider identity before changing items; routine status reconciliation does not repair item IDs. The request is refused before provider mutation.', errorCode: 'billing_existing_provider_item_missing' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`newProductKey`, `newPriceId` or `previewToken` is missing or fails request-DTO validation.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The preview token is expired, altered or belongs to another actor, subscription or selection. Request a new preview before confirming.', errorCode: 'billing_plan_change_preview_invalid' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription terms or relevant catalogue policy changed after the preview, or another change to the subscription was admitted after it: a preview names the mutation generation it was computed against, and admission is a compare-and-swap on that generation, so of two previews of one generation only the first confirmation proceeds. The stale confirmation is rejected before contacting the provider.', errorCode: 'billing_plan_change_preview_stale' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same confirmation is already running. Nothing was sent to the provider by this request; retry later. A plan change that was admitted but never sent, and whose preview has expired, is released; a change the provider may have applied holds the subscription until recovery resolves it.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have applied this change and nothing has yet established whether it did (a lost response, a timeout, a server error), or another request with this same preview is still dispatching it. Confirming again sends nothing; a genuinely unknown outcome holds the subscription until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused the change and applied nothing, for example an invalid request. A failed proration payment is NOT a refusal: the change applies and the subscription moves to past_due. The refusal is recorded and the subscription is free again; request a new preview.', errorCode: 'billing_plan_change_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s items changed after the provider applied the change. The local write is refused so the applied change is not discarded, and the change stays owed to recovery.', errorCode: 'billing_plan_change_subscription_items_changed' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider applied the change but its answer does not identify the plan item it created (a subscription that had no plan item). The local write is refused rather than recording an item nothing can target later; the change stays applied, confirming again sends nothing, and it is owed to recovery.', errorCode: 'billing_created_provider_item_unresolved' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished — for example another request with the same preview completed it first. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the change was admitted, so a change admitted against the old identity is not applied to the new one. If the provider had already applied the change, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`newPriceId` names a price whose `productId` is not `newProductKey`’s product. The two are caller-supplied independently, and the provider is billed the PRICE while entitlements derive from the PRODUCT recorded on the item — so an unmatched pair would grant one plan’s entitlements at another plan’s price.', customMessageReference: ErrorCustomMessageReference.BILLING_PRICE_PRODUCT_MISMATCH },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to change the plan (a HIGH-risk commercial action).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id, or the target product/price is not in the catalog.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The requested price is incompatible with the current subscription.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`newProductKey` (or the price named by `newPriceId`) has been RETIRED from the code catalogue. A subscription may not be MOVED ONTO a retired product; a subscription already on one keeps running, and REMOVE_ADDON deliberately still works so a customer is never trapped on a withdrawn add-on.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_RETIRED },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`newProductKey` is announced but not yet on sale (catalogue `availability` UPCOMING). A subscription may not be moved onto it until the catalogue puts it on sale.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_NOT_YET_AVAILABLE },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A plan change is pending at the end of the period. Withdraw it with cancel-plan-change first; one pending change at a time, so the provider’s schedule and the subscription can never describe two different futures. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The new plan defers the change to the end of the period, and the subscription ends then: a cancellation is pending. Resume the subscription first. Refused before anything is sent.', errorCode: 'billing_plan_change_subscription_pending_cancellation' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The new plan defers the change to the end of the period, and the lines the subscription would then carry do not share one recurring billing interval (a yearly add-on beside a monthly plan): a deferred change is one provider phase, billed on one interval. Remove the add-on whose interval differs, or choose a price on the same interval. Refused before anything is sent.', errorCode: 'billing_plan_change_billing_interval_mismatch' },\n ],\n // One preview is at most one commercial change (#535): its generation is admitted once, the provider is sent the\n // change once under a store-owned key, and a replay after commit answers the subscription's CURRENT state with no\n // second call or effect. Bounded by the preview token's validity (10 minutes); a replay while the outcome is\n // unknown is refused rather than re-sent.\n idempotent: true,\n examples: [{\n title: 'Upgrade from Team to Business',\n request: { newProductKey: 'business_plan', newPriceId: 'price_business_monthly', previewToken: '<previewToken returned by preview-plan-change>' },\n response: {\n ...subscriptionExample,\n items: [{\n _id: 'subscription_item_business_01HX2EXAMPLE',\n productId: 'product_business_plan',\n priceId: 'price_business_monthly',\n quantity: 1,\n }],\n updatedAt: '2026-06-22T11:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }, {\n title: 'Downgrade from Business to Team at the end of the period',\n request: { newProductKey: 'team_plan', newPriceId: 'price_team_monthly', previewToken: '<previewToken returned by preview-plan-change>' },\n response: {\n ...subscriptionExample,\n pendingPlanChange: {\n productId: 'product_team_plan',\n priceId: 'price_team_monthly',\n effectiveAt: subscriptionExample.currentPeriodEnd,\n items: [{ _id: 'subscription_item_team_01HX2EXAMPLE', productId: 'product_team_plan', priceId: 'price_team_monthly', quantity: 1 }],\n },\n updatedAt: '2026-06-22T11:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingSubscription_Operations.ADD_ADDON]: {\n operationId: BillingSubscription_Operations.ADD_ADDON,\n purpose: 'Attach an add-on line item to the subscription.',\n outcome: 'The provider is sent the subscription’s lines plus one new line correlated by a backend-generated key, and the items array gains that entry with its provider-confirmed item ID. Every request must carry an Idempotency-Key: adding an add-on that is already attached adds another line and another charge, so a retry after a lost response has to be recognizable as the same request. A request without one is refused before anything is admitted.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The add-on line item was confirmed by the provider and appended to the subscription’s items array. A repeat with the same Idempotency-Key after it committed answers the subscription as it is now, without contacting the provider again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'An existing subscription item has no recorded provider item ID. Repair the missing provider identity before changing items; routine status reconciliation does not repair item IDs. The request is refused before provider mutation.', errorCode: 'billing_existing_provider_item_missing' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider applied the add-on but its answer does not identify the item it created. The local write is refused rather than recording an item nothing can target later; the add-on stays applied, asking again sends nothing, and it is owed to recovery.', errorCode: 'billing_created_provider_item_unresolved' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `addonProductKey` / `priceId` is missing or fails request-DTO validation.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`addonProductKey` identifies a product that is not an ADDON.', customMessageReference: ErrorCustomMessageReference.BILLING_INVALID_PRODUCT_TYPE },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`priceId` names a price whose `productId` is not the add-on product’s. Same split as CHANGE_PLAN: the provider bills the price, the item records the product, and entitlements follow the product.', customMessageReference: ErrorCustomMessageReference.BILLING_PRICE_PRODUCT_MISMATCH },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The add-on requires a plan tier the subscription’s plan does not have. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.BILLING_PLAN_TIER_REQUIRED },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to add an add-on (a HIGH-risk commercial action).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id, or the add-on product is not in the catalog.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`addonProductKey` (or the price named by `priceId`) has been RETIRED from the code catalogue and may no longer be bought.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_RETIRED },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`addonProductKey` is announced but not yet on sale (catalogue `availability` UPCOMING) and may not be bought yet.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_NOT_YET_AVAILABLE },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same request (the same Idempotency-Key) is still running. Nothing was sent to the provider by this request; retry later with the same key.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have applied this add-on and nothing has yet established whether it did (a lost response, a timeout, a server error). Asking again sends nothing; the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused the add-on and applied nothing. The refusal is recorded and the subscription is free again.', errorCode: 'billing_subscription_mutation_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A plan change is pending at the end of the period. Withdraw it with cancel-plan-change first; one pending change at a time, so the provider’s schedule and the subscription can never describe two different futures. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the add-on was admitted. If the provider had already applied it, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s items changed after the provider applied the add-on, so writing the items it was computed against would discard that change. The add-on stays applied and the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_items_changed' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The Idempotency-Key was already used for a DIFFERENT request to this operation — another actor, or other request values. Nothing is sent or replayed; use a new key for a new request. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.IDEMPOTENCY_KEY_REUSED },\n ],\n // Idempotent per key (#535 S5b). The key is REQUIRED: a repeat with it replays the committed addition without contacting the\n // provider, and the same key with a different request is refused 422. Without the key there is nothing to replay, so the\n // request is refused rather than admitted as a second addition.\n idempotent: true,\n examples: [{\n title: 'Add the audit-retention add-on',\n request: { addonProductKey: 'audit_retention', priceId: 'price_audit_retention_monthly' },\n response: {\n ...subscriptionExample,\n items: [\n baseItem,\n {\n _id: 'subscription_item_audit_01HX2EXAMPLE',\n productId: 'product_audit_retention',\n priceId: 'price_audit_retention_monthly',\n quantity: 1,\n },\n ],\n updatedAt: '2026-06-23T08:30:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingSubscription_Operations.REMOVE_ADDON]: {\n operationId: BillingSubscription_Operations.REMOVE_ADDON,\n purpose: 'Remove the named add-on through explicit provider item deletion.',\n outcome: 'All entries of the named add-on are explicitly deleted by their recorded provider item IDs before the local items array shrinks. The plan and unrelated add-ons are unchanged; missing provider item IDs refuse the operation before mutation. Every request must carry an Idempotency-Key: a repeat after the removal committed no longer finds the add-on, so only the key lets a retry after a lost response learn that its removal succeeded.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The add-on line item was removed at the provider and dropped from the subscription’s items array. A repeat with the same Idempotency-Key after it committed answers the subscription as it is now, without contacting the provider again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `addonProductKey` is missing or fails request-DTO validation.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`addonProductKey` identifies a product that is not an ADDON.', customMessageReference: ErrorCustomMessageReference.BILLING_INVALID_PRODUCT_TYPE },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to remove an add-on (a HIGH-risk commercial action).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No subscription exists for the supplied id, or the named add-on is not present on the subscription.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A matching add-on entry has no recorded provider subscription-item ID, so the deletion cannot be targeted safely.', errorCode: 'billing_addon_provider_item_missing' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another change holds this subscription’s mutation slot, or this same request (the same Idempotency-Key) is still running. Nothing was sent to the provider by this request; retry later with the same key.', errorCode: 'billing_subscription_mutation_in_progress' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider may have applied this removal and nothing has yet established whether it did (a lost response, a timeout, a server error). Asking again sends nothing; the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_outcome_unknown' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The provider refused the removal and applied nothing. The refusal is recorded and the subscription is free again.', errorCode: 'billing_subscription_mutation_provider_rejected' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A plan change is pending at the end of the period. Withdraw it with cancel-plan-change first; one pending change at a time, so the provider’s schedule and the subscription can never describe two different futures. Refused before anything is admitted or sent.', errorCode: 'billing_subscription_plan_change_pending' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This request’s hold on the subscription’s mutation generation was taken over before it finished. Nothing was sent twice.', errorCode: 'billing_subscription_mutation_claim_lost' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s billing account or provider identity changed since its mutation slot was created, or since the removal was admitted. If the provider had already applied it, it stays owed to recovery.', errorCode: 'billing_subscription_mutation_slot_identity_changed' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The subscription’s items changed after the provider applied the removal, so writing the items it was computed against would discard that change. The removal stays applied and the subscription is held until recovery resolves it.', errorCode: 'billing_subscription_mutation_items_changed' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The Idempotency-Key was already used for a DIFFERENT request to this operation — another actor, or other request values. Nothing is sent or replayed; use a new key for a new request. A 422 carries no `error.code`: branch on its `customMessageReference`.', customMessageReference: ErrorCustomMessageReference.IDEMPOTENCY_KEY_REUSED },\n ],\n // Idempotent per key (#535 S5b). The key is REQUIRED: a repeat with it replays the committed removal without contacting the\n // provider, and the same key with a different request is refused 422.\n idempotent: true,\n examples: [{\n title: 'Remove the audit-retention add-on',\n request: { addonProductKey: 'audit_retention' },\n response: {\n ...subscriptionExample,\n items: [baseItem],\n updatedAt: '2026-06-24T08:30:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'The `discounts` list, `trialStart` and `trialEnd` are copied from the billing provider on every provider event and by the reconciliation sweep, and are cleared when the provider no longer holds them. They are read-only. `discounts` holds every discount the provider applies, in the order it applies them: a referral reward added beside a checkout promotion is a second entry, and both are charged.',\n ],\n }),\n { resourcePrimaryScope: subResourcePrimaryScopeByResourceType[resourceType] },\n );\n}\n\nfunction buildSubscriptionSpec(resourceType: SubResourceType, memberName: SubResourceTypeMember) {\n const base = buildSubscriptionBase(resourceType, memberName);\n const main = resolveSubUI(billingMainPresets as Partial<Record<string, unknown>>, resourceType, 'billingMainPresets');\n const admin = resolveSubUI(billingAdminPresets as Partial<Record<string, unknown>>, resourceType, 'billingAdminPresets');\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(main), resourceFrontendConfiguration(admin)),\n base,\n () => ({\n label: { purpose: 'Preset uses `status` string for a compact row label in subscription lists.' },\n layout: {\n purpose: 'Inline summary template in billing presets (no `refs.sections`) shows status, cancel-at-period-end, period end, trial end, and billing-account id — child resources appear in parent billing-account tabs via `variantOverrides`.',\n displayPurpose: 'Self-serve “current plan” and org admin subscription management.',\n },\n views: {\n [BillingSubscription_Operations.CANCEL]: { purpose: 'Custom op host; entries are not addressable routes in merged `billing` presets but operations exist for action buttons.', whenToUse: 'Cancel plan flow in product UI.' },\n [BillingSubscription_Operations.RESUME]: { purpose: 'Resume before period end when user changes mind.', whenToUse: 'Reverse a scheduled cancel.' },\n [BillingSubscription_Operations.CHANGE_PLAN]: { purpose: 'Plan migration host for upgrade/downgrade UX.', whenToUse: 'When catalog offers multiple prices for the same product line.' },\n [BillingSubscription_Operations.ADD_ADDON]: { purpose: 'Attach add-on SKUs to the active subscription.', whenToUse: 'When add-on products exist in the catalog.' },\n [BillingSubscription_Operations.REMOVE_ADDON]: { purpose: 'Detach an add-on line item.', whenToUse: 'When seat-based or feature add-ons can be removed mid-cycle per policy.' },\n [BillingSubscription_Operations.CANCEL_PLAN_CHANGE]: { purpose: 'Withdraw a plan change pending at the end of the period.', whenToUse: 'When the customer changes their mind about a scheduled downgrade before renewal.' },\n },\n }),\n );\n}\n\nexport const organizationSubscriptionsResourceSpecification = buildSubscriptionSpec(\n CoreResourceType.ORGANIZATION_SUBSCRIPTIONS,\n 'ORGANIZATION_SUBSCRIPTIONS',\n);\n\nexport const userSubscriptionsResourceSpecification = buildSubscriptionSpec(CoreResourceType.USER_SUBSCRIPTIONS, 'USER_SUBSCRIPTIONS');\n"]}
@@ -9,8 +9,10 @@ export declare const organizationUsageRecordsResourceSpecification: import("../.
9
9
  type: import("zod").ZodEnum<typeof UsageSourceType>;
10
10
  resourceType: import("zod").ZodOptional<import("zod").ZodString>;
11
11
  operationIdentifier: import("zod").ZodOptional<import("zod").ZodString>;
12
+ recordId: import("zod").ZodOptional<import("zod").ZodString>;
12
13
  description: import("zod").ZodOptional<import("zod").ZodString>;
13
14
  }, import("zod/v4/core").$strip>>>;
15
+ oncePerRecordKey: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
14
16
  flushState: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodEnum<typeof UsageRecordFlushState>>>>>;
15
17
  reportedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>;
16
18
  unreportableReason: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodEnum<typeof UsageRecordUnreportableReason>>>>;
@@ -28,8 +30,10 @@ export declare const userUsageRecordsResourceSpecification: import("../../../_co
28
30
  type: import("zod").ZodEnum<typeof UsageSourceType>;
29
31
  resourceType: import("zod").ZodOptional<import("zod").ZodString>;
30
32
  operationIdentifier: import("zod").ZodOptional<import("zod").ZodString>;
33
+ recordId: import("zod").ZodOptional<import("zod").ZodString>;
31
34
  description: import("zod").ZodOptional<import("zod").ZodString>;
32
35
  }, import("zod/v4/core").$strip>>>;
36
+ oncePerRecordKey: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
33
37
  flushState: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodEnum<typeof UsageRecordFlushState>>>>>;
34
38
  reportedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>;
35
39
  unreportableReason: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodEnum<typeof UsageRecordUnreportableReason>>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"usage-records.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/billing/resources/usage-records.resource.specification.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAI3B,qBAAqB,EACrB,6BAA6B,EAC7B,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAkR/B,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;iCAGzD,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;iCAGjD,CAAC"}
1
+ {"version":3,"file":"usage-records.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/billing/resources/usage-records.resource.specification.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAI3B,qBAAqB,EACrB,6BAA6B,EAC7B,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAqR/B,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;iCAGzD,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;iCAGjD,CAAC"}
@@ -68,7 +68,10 @@ function buildUsageRecordBase(resourceType, memberName) {
68
68
  productKey: schemaShape.productKey.stringSpec({ meaning: 'Catalog product key the usage record charges against (matches product definition).', importance: FieldSemanticImportance.PRIMARY }),
69
69
  quantity: schemaShape.quantity.numberSpec({ meaning: 'Non-negative usage amount for the metering window captured in this record.' }),
70
70
  timestamp: schemaShape.timestamp.dateSpec({ meaning: 'When the usage event occurred in product time.', temporalRole: 'occurred' }),
71
- source: schemaShape.source.objectSpec({ meaning: 'Optional origin metadata (type, resourceType, operation id) for support and audits.' }),
71
+ source: schemaShape.source.objectSpec({ meaning: 'Optional origin metadata (type, resourceType, operation id, and the row the operation wrote) for support and audits. The row is how an operation that records once per row is not billed twice for it.' }),
72
+ oncePerRecordKey: schemaShape.oncePerRecordKey.stringSpec({
73
+ meaning: 'Backend-only. The occurrence a usage recorded once per row stands for: a digest of the billing account, product, resource and row. Unique, so the store refuses a second usage row for the same case; absent on every other row.',
74
+ }),
72
75
  flushState: schemaShape.flushState.enumSpec({
73
76
  meaning: 'Where the row stands with the provider flush. The flush selects exactly `pending`, so this field alone decides whether the row is still work.',
74
77
  importance: FieldSemanticImportance.PRIMARY,
@@ -1 +1 @@
1
- {"version":3,"file":"usage-records.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/billing/resources/usage-records.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,6BAA6B,EAC7B,eAAe,EACf,gCAAgC,GACjC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,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EAAE,uCAAuC,CAAC,YAAY,CAAC,EAAE,CAChF,CAAC;AACJ,CAAC;AAED,SAAS,oBAAoB,CAAC,YAA+B,EAAE,UAAmC;IAChG,MAAM,IAAI,GAAG,oBAAoB,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;IAC5D,MAAM,IAAI,GAAG,cAAc,CAAC,kBAAsD,EAAE,YAAY,EAAE,oBAAoB,CAAC,CAAC;IACxH,MAAM,KAAK,GAAG,cAAc,CAAC,mBAAuD,EAAE,YAAY,EAAE,qBAAqB,CAAC,CAAC;IAC3H,OAAO,8CAA8C,CACnD,mCAAmC,CAAC,6BAA6B,CAAC,IAAI,CAAC,EAAE,6BAA6B,CAAC,KAAK,CAAC,CAAC,EAC9G,IAAI,EACJ,GAAG,EAAE,CAAC,CAAC;QACL,KAAK,EAAE,EAAE,OAAO,EAAE,8DAA8D,EAAE;QAClF,KAAK,EAAE;YACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,4FAA4F,EAAE,SAAS,EAAE,sCAAsC,EAAE;YACvK,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,+CAA+C,EAAE,SAAS,EAAE,qCAAqC,EAAE;SAC1H;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,6CAA6C,GAAG,oBAAoB,CAC/E,gBAAgB,CAAC,0BAA0B,EAC3C,4BAA4B,CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,qCAAqC,GAAG,oBAAoB,CACvE,gBAAgB,CAAC,kBAAkB,EACnC,oBAAoB,CACrB,CAAC","sourcesContent":["import { billingAdminPresets, billingMainPresets } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n UsageRecordSchema,\n UsageRecordFlushState,\n UsageRecordUnreportableReason,\n UsageSourceType,\n usageRecordsPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport {\n BILLING_API_REFERENCE_PAGE_REQUEST,\n billingApiReferencePage,\n createBillingApiReferenceScopeExample,\n type BillingApiReferenceExampleScope,\n} from './billing-api-reference-examples';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype UsageResourceType = CoreResourceType.ORGANIZATION_USAGE_RECORDS | CoreResourceType.USER_USAGE_RECORDS;\ntype UsageResourceTypeMember = 'ORGANIZATION_USAGE_RECORDS' | 'USER_USAGE_RECORDS';\n\nconst usageResourcePrimaryScopeByResourceType: Record<UsageResourceType, BillingApiReferenceExampleScope> = {\n [CoreResourceType.ORGANIZATION_USAGE_RECORDS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.USER_USAGE_RECORDS]: ResourcePrimaryScope.USER_SELF,\n};\n\ntype Cfg = ReturnType<(typeof usageRecordsPolymorphicFactories)[CoreResourceType.ORGANIZATION_USAGE_RECORDS]>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof UsageRecordSchema;\ntype UsageFrontend = ResourceUIBehaviorConfig<undefined, Core, Main>;\n\nfunction resolveUsageUI(source: Partial<Record<string, unknown>>, resourceType: UsageResourceType, sourceName: string): UsageFrontend {\n const uiBehavior = source[resourceType] as UsageFrontend | undefined;\n if (!uiBehavior) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return uiBehavior;\n}\n\nfunction buildUsageRecordBase(resourceType: UsageResourceType, memberName: UsageResourceTypeMember) {\n const exampleScope = createBillingApiReferenceScopeExample(\n usageResourcePrimaryScopeByResourceType[resourceType],\n );\n const usageRecordExample = {\n _id: 'usage_record_01HX2EXAMPLE',\n ...exampleScope.billingAccountIdentity,\n productKey: 'api_calls',\n quantity: 1250,\n timestamp: '2026-06-15T12:00:00.000Z',\n source: {\n type: UsageSourceType.OPERATION,\n resourceType: 'documents',\n operationIdentifier: 'create',\n },\n flushState: UsageRecordFlushState.REPORTED,\n reportedAt: '2026-06-15T12:05:00.000Z',\n metadata: { region: 'eu-west' },\n createdAt: '2026-06-15T12:00:01.000Z',\n ...exampleScope.scopeIdentity,\n };\n const usageRecordSummaryExample = {\n _id: usageRecordExample._id,\n ...exampleScope.billingAccountIdentity,\n productKey: usageRecordExample.productKey,\n quantity: usageRecordExample.quantity,\n timestamp: usageRecordExample.timestamp,\n };\n\n return resourceSpecification<undefined, Core, Main>(\n usageRecordsPolymorphicFactories[resourceType],\n UsageRecordSchema,\n ({ schemaShape }) => ({\n purpose:\n 'Metered-usage record for a product key: exposes the measured quantity, event timestamp, reporting state, and the API or workflow source that produced it.',\n businessRole: 'Feeds METERED pricing and entitlements; aggregated in analytics and in `BillingState` responses.',\n lifecycleRole:\n 'Created by application metering and exposed as a read-only record. `flushState` moves from `pending` to `reported` once the billing provider acknowledges the measured usage, or to `unreportable` when the flush determines it never can — a billing account that no longer exists, for instance, since these rows are retained after their account is gone.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.BILLING,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'UsageRecordSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactoryCollectionEntry: {\n collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'usageRecordsPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSourceEntries: [\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingMainPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingAdminPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Usage document id.', importance: FieldSemanticImportance.PRIMARY, semanticRole: 'identifier' }),\n billingAccountId: schemaShape.billingAccountId.stringSpec({ meaning: 'Polymorphic parent billing account FK.', importance: FieldSemanticImportance.PRIMARY }),\n productKey: schemaShape.productKey.stringSpec({ meaning: 'Catalog product key the usage record charges against (matches product definition).', importance: FieldSemanticImportance.PRIMARY }),\n quantity: schemaShape.quantity.numberSpec({ meaning: 'Non-negative usage amount for the metering window captured in this record.' }),\n timestamp: schemaShape.timestamp.dateSpec({ meaning: 'When the usage event occurred in product time.', temporalRole: 'occurred' }),\n source: schemaShape.source.objectSpec({ meaning: 'Optional origin metadata (type, resourceType, operation id) for support and audits.' }),\n flushState: schemaShape.flushState.enumSpec({\n meaning: 'Where the row stands with the provider flush. The flush selects exactly `pending`, so this field alone decides whether the row is still work.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'UsageRecordFlushState', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n values: {\n [UsageRecordFlushState.PENDING]: { meaning: 'Awaiting a flush. Every newly recorded row starts here.' },\n [UsageRecordFlushState.REPORTED]: { meaning: 'The provider acknowledged the quantity; `reportedAt` says when. Terminal, and money moved.' },\n [UsageRecordFlushState.UNREPORTABLE]: { meaning: 'The flush determined the row can never be reported; `unreportableReason` says why. Terminal, and no money moved.' },\n },\n }),\n reportedAt: schemaShape.reportedAt.dateSpec({ meaning: 'When provider acknowledgement happened.', temporalRole: 'modified' }),\n unreportableReason: schemaShape.unreportableReason.enumSpec({\n meaning: 'Why the row can never be reported. Present only when the flush state is unreportable.',\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'UsageRecordUnreportableReason', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n values: {\n [UsageRecordUnreportableReason.BILLING_ACCOUNT_DELETED]: { meaning: 'The billing account row no longer exists, so there is no provider customer to report the usage to. Reachable by design: these rows are retained after their account is gone.' },\n },\n }),\n unreportableAt: schemaShape.unreportableAt.dateSpec({ meaning: 'When the flush determined the row unreportable.', temporalRole: 'modified' }),\n metadata: schemaShape.metadata.objectSpec({ meaning: 'Extra string tags for product-specific accounting.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'Record insert time.', temporalRole: 'creation' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Inspect a single usage row in admin or support tools.',\n outcome: 'Full quantity, timestamp, and source block.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The usage record was found and its quantity, timestamp, and source block are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to read metered-usage rows (reads are org-owner/org-admin-scoped API operations; writes stay system-scoped internal service-pipeline ops, not HTTP-exposed).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No usage record exists for the supplied id in the caller’s billing scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect one reported API-usage record',\n response: usageRecordExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect a usage record with available relationship context',\n response: usageRecordExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact usage summary',\n response: usageRecordSummaryExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Paginated usage history for a billing account (metering explorer).',\n outcome: 'Chronological rows for charts and export.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) chronological page of usage records for the billing account.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to enumerate metered-usage history.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse metered usage chronologically',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([usageRecordExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse usage records with relationship context',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([usageRecordExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact metered-usage summaries',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([usageRecordSummaryExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.CREATE]: {\n purpose: 'Record an occurrence of metered consumption from application code or workers.',\n outcome: 'New immutable-ish line with not-editable fields enforced in schema.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A metered-usage line was appended for the product key and is returned with its server-assigned id and creation time.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The usage payload is malformed — negative `quantity`, unknown `productKey`, or a non-editable field supplied by the caller.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the trusted system/metering identity authorised to append usage (the op is an internal service-pipeline op, not exposed over HTTP for arbitrary client writes).' },\n ],\n // Append-only event write: each call records a distinct metered occurrence, so\n // repeating it inserts another row. The runtime does not key these on an\n // idempotency token, so two identical requests double-count by design.\n idempotent: false,\n rateLimitNote: 'High-volume ingestion path — metering hooks and workers should batch and back off; bursty per-event writes may be throttled by the platform.',\n examples: [\n {\n title: 'Record one metered consumption event',\n request: {\n ...exampleScope.billingAccountIdentity,\n productKey: 'api_calls',\n quantity: 1,\n timestamp: '2026-06-15T12:00:00.000Z',\n source: {\n type: UsageSourceType.OPERATION,\n resourceType: 'documents',\n operationIdentifier: 'create',\n },\n },\n response: {\n _id: 'usage_record_unreported_01HX2EXAMPLE',\n ...exampleScope.billingAccountIdentity,\n productKey: 'api_calls',\n quantity: 1,\n timestamp: '2026-06-15T12:00:00.000Z',\n source: {\n type: UsageSourceType.OPERATION,\n resourceType: 'documents',\n operationIdentifier: 'create',\n },\n flushState: UsageRecordFlushState.PENDING,\n createdAt: '2026-06-15T12:00:01.000Z',\n ...exampleScope.scopeIdentity,\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Rare correction or provider sync patch paths when policy allows; many fields are not editable in zod for safety.',\n outcome: 'Patched metadata or flush state in implementation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The editable subset (metadata / report flags) was patched and the updated usage record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'A non-editable usage field (`quantity`, `productKey`, `timestamp`) was supplied, or the patch otherwise fails schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner / system role required to correct or re-sync usage rows.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No usage record exists for the supplied id in the caller’s billing scope.' },\n ],\n idempotent: true,\n },\n },\n businessConstraints: ['High-volume append-only usage — UI should not imply arbitrary user edits to historical quantities without a dedicated op.'],\n }),\n { resourcePrimaryScope: usageResourcePrimaryScopeByResourceType[resourceType] },\n );\n}\n\nfunction buildUsageRecordSpec(resourceType: UsageResourceType, memberName: UsageResourceTypeMember) {\n const base = buildUsageRecordBase(resourceType, memberName);\n const main = resolveUsageUI(billingMainPresets as Partial<Record<string, unknown>>, resourceType, 'billingMainPresets');\n const admin = resolveUsageUI(billingAdminPresets as Partial<Record<string, unknown>>, resourceType, 'billingAdminPresets');\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(main), resourceFrontendConfiguration(admin)),\n base,\n () => ({\n label: { purpose: 'Preset stringifies `productKey · quantity` for dense tables.' },\n views: {\n [Op.LIST]: { purpose: 'List op in merged `views` as non-addressable; keep spec aligned with merged preset op map.', whenToUse: 'Embedded list under billing account.' },\n [Op.READ]: { purpose: 'Read op in merged `views` as non-addressable.', whenToUse: 'Row detail in inspector when wired.' },\n },\n }),\n );\n}\n\nexport const organizationUsageRecordsResourceSpecification = buildUsageRecordSpec(\n CoreResourceType.ORGANIZATION_USAGE_RECORDS,\n 'ORGANIZATION_USAGE_RECORDS',\n);\n\nexport const userUsageRecordsResourceSpecification = buildUsageRecordSpec(\n CoreResourceType.USER_USAGE_RECORDS,\n 'USER_USAGE_RECORDS',\n);\n"]}
1
+ {"version":3,"file":"usage-records.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/billing/resources/usage-records.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,6BAA6B,EAC7B,eAAe,EACf,gCAAgC,GACjC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,m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wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n UsageRecordSchema,\n UsageRecordFlushState,\n UsageRecordUnreportableReason,\n UsageSourceType,\n usageRecordsPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport {\n BILLING_API_REFERENCE_PAGE_REQUEST,\n billingApiReferencePage,\n createBillingApiReferenceScopeExample,\n type BillingApiReferenceExampleScope,\n} from './billing-api-reference-examples';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype UsageResourceType = CoreResourceType.ORGANIZATION_USAGE_RECORDS | CoreResourceType.USER_USAGE_RECORDS;\ntype UsageResourceTypeMember = 'ORGANIZATION_USAGE_RECORDS' | 'USER_USAGE_RECORDS';\n\nconst usageResourcePrimaryScopeByResourceType: Record<UsageResourceType, BillingApiReferenceExampleScope> = {\n [CoreResourceType.ORGANIZATION_USAGE_RECORDS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.USER_USAGE_RECORDS]: ResourcePrimaryScope.USER_SELF,\n};\n\ntype Cfg = ReturnType<(typeof usageRecordsPolymorphicFactories)[CoreResourceType.ORGANIZATION_USAGE_RECORDS]>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof UsageRecordSchema;\ntype UsageFrontend = ResourceUIBehaviorConfig<undefined, Core, Main>;\n\nfunction resolveUsageUI(source: Partial<Record<string, unknown>>, resourceType: UsageResourceType, sourceName: string): UsageFrontend {\n const uiBehavior = source[resourceType] as UsageFrontend | undefined;\n if (!uiBehavior) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return uiBehavior;\n}\n\nfunction buildUsageRecordBase(resourceType: UsageResourceType, memberName: UsageResourceTypeMember) {\n const exampleScope = createBillingApiReferenceScopeExample(\n usageResourcePrimaryScopeByResourceType[resourceType],\n );\n const usageRecordExample = {\n _id: 'usage_record_01HX2EXAMPLE',\n ...exampleScope.billingAccountIdentity,\n productKey: 'api_calls',\n quantity: 1250,\n timestamp: '2026-06-15T12:00:00.000Z',\n source: {\n type: UsageSourceType.OPERATION,\n resourceType: 'documents',\n operationIdentifier: 'create',\n },\n flushState: UsageRecordFlushState.REPORTED,\n reportedAt: '2026-06-15T12:05:00.000Z',\n metadata: { region: 'eu-west' },\n createdAt: '2026-06-15T12:00:01.000Z',\n ...exampleScope.scopeIdentity,\n };\n const usageRecordSummaryExample = {\n _id: usageRecordExample._id,\n ...exampleScope.billingAccountIdentity,\n productKey: usageRecordExample.productKey,\n quantity: usageRecordExample.quantity,\n timestamp: usageRecordExample.timestamp,\n };\n\n return resourceSpecification<undefined, Core, Main>(\n usageRecordsPolymorphicFactories[resourceType],\n UsageRecordSchema,\n ({ schemaShape }) => ({\n purpose:\n 'Metered-usage record for a product key: exposes the measured quantity, event timestamp, reporting state, and the API or workflow source that produced it.',\n businessRole: 'Feeds METERED pricing and entitlements; aggregated in analytics and in `BillingState` responses.',\n lifecycleRole:\n 'Created by application metering and exposed as a read-only record. `flushState` moves from `pending` to `reported` once the billing provider acknowledges the measured usage, or to `unreportable` when the flush determines it never can — a billing account that no longer exists, for instance, since these rows are retained after their account is gone.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.BILLING,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'UsageRecordSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactoryCollectionEntry: {\n collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'usageRecordsPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSourceEntries: [\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingMainPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingAdminPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Usage document id.', importance: FieldSemanticImportance.PRIMARY, semanticRole: 'identifier' }),\n billingAccountId: schemaShape.billingAccountId.stringSpec({ meaning: 'Polymorphic parent billing account FK.', importance: FieldSemanticImportance.PRIMARY }),\n productKey: schemaShape.productKey.stringSpec({ meaning: 'Catalog product key the usage record charges against (matches product definition).', importance: FieldSemanticImportance.PRIMARY }),\n quantity: schemaShape.quantity.numberSpec({ meaning: 'Non-negative usage amount for the metering window captured in this record.' }),\n timestamp: schemaShape.timestamp.dateSpec({ meaning: 'When the usage event occurred in product time.', temporalRole: 'occurred' }),\n source: schemaShape.source.objectSpec({ meaning: 'Optional origin metadata (type, resourceType, operation id, and the row the operation wrote) for support and audits. The row is how an operation that records once per row is not billed twice for it.' }),\n oncePerRecordKey: schemaShape.oncePerRecordKey.stringSpec({\n meaning: 'Backend-only. The occurrence a usage recorded once per row stands for: a digest of the billing account, product, resource and row. Unique, so the store refuses a second usage row for the same case; absent on every other row.',\n }),\n flushState: schemaShape.flushState.enumSpec({\n meaning: 'Where the row stands with the provider flush. The flush selects exactly `pending`, so this field alone decides whether the row is still work.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'UsageRecordFlushState', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n values: {\n [UsageRecordFlushState.PENDING]: { meaning: 'Awaiting a flush. Every newly recorded row starts here.' },\n [UsageRecordFlushState.REPORTED]: { meaning: 'The provider acknowledged the quantity; `reportedAt` says when. Terminal, and money moved.' },\n [UsageRecordFlushState.UNREPORTABLE]: { meaning: 'The flush determined the row can never be reported; `unreportableReason` says why. Terminal, and no money moved.' },\n },\n }),\n reportedAt: schemaShape.reportedAt.dateSpec({ meaning: 'When provider acknowledgement happened.', temporalRole: 'modified' }),\n unreportableReason: schemaShape.unreportableReason.enumSpec({\n meaning: 'Why the row can never be reported. Present only when the flush state is unreportable.',\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'UsageRecordUnreportableReason', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n values: {\n [UsageRecordUnreportableReason.BILLING_ACCOUNT_DELETED]: { meaning: 'The billing account row no longer exists, so there is no provider customer to report the usage to. Reachable by design: these rows are retained after their account is gone.' },\n },\n }),\n unreportableAt: schemaShape.unreportableAt.dateSpec({ meaning: 'When the flush determined the row unreportable.', temporalRole: 'modified' }),\n metadata: schemaShape.metadata.objectSpec({ meaning: 'Extra string tags for product-specific accounting.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'Record insert time.', temporalRole: 'creation' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Inspect a single usage row in admin or support tools.',\n outcome: 'Full quantity, timestamp, and source block.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The usage record was found and its quantity, timestamp, and source block are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to read metered-usage rows (reads are org-owner/org-admin-scoped API operations; writes stay system-scoped internal service-pipeline ops, not HTTP-exposed).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No usage record exists for the supplied id in the caller’s billing scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect one reported API-usage record',\n response: usageRecordExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect a usage record with available relationship context',\n response: usageRecordExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact usage summary',\n response: usageRecordSummaryExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Paginated usage history for a billing account (metering explorer).',\n outcome: 'Chronological rows for charts and export.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) chronological page of usage records for the billing account.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner/org-admin role required to enumerate metered-usage history.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse metered usage chronologically',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([usageRecordExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse usage records with relationship context',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([usageRecordExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact metered-usage summaries',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([usageRecordSummaryExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.CREATE]: {\n purpose: 'Record an occurrence of metered consumption from application code or workers.',\n outcome: 'New immutable-ish line with not-editable fields enforced in schema.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A metered-usage line was appended for the product key and is returned with its server-assigned id and creation time.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The usage payload is malformed — negative `quantity`, unknown `productKey`, or a non-editable field supplied by the caller.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the trusted system/metering identity authorised to append usage (the op is an internal service-pipeline op, not exposed over HTTP for arbitrary client writes).' },\n ],\n // Append-only event write: each call records a distinct metered occurrence, so\n // repeating it inserts another row. The runtime does not key these on an\n // idempotency token, so two identical requests double-count by design.\n idempotent: false,\n rateLimitNote: 'High-volume ingestion path — metering hooks and workers should batch and back off; bursty per-event writes may be throttled by the platform.',\n examples: [\n {\n title: 'Record one metered consumption event',\n request: {\n ...exampleScope.billingAccountIdentity,\n productKey: 'api_calls',\n quantity: 1,\n timestamp: '2026-06-15T12:00:00.000Z',\n source: {\n type: UsageSourceType.OPERATION,\n resourceType: 'documents',\n operationIdentifier: 'create',\n },\n },\n response: {\n _id: 'usage_record_unreported_01HX2EXAMPLE',\n ...exampleScope.billingAccountIdentity,\n productKey: 'api_calls',\n quantity: 1,\n timestamp: '2026-06-15T12:00:00.000Z',\n source: {\n type: UsageSourceType.OPERATION,\n resourceType: 'documents',\n operationIdentifier: 'create',\n },\n flushState: UsageRecordFlushState.PENDING,\n createdAt: '2026-06-15T12:00:01.000Z',\n ...exampleScope.scopeIdentity,\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Rare correction or provider sync patch paths when policy allows; many fields are not editable in zod for safety.',\n outcome: 'Patched metadata or flush state in implementation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The editable subset (metadata / report flags) was patched and the updated usage record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'A non-editable usage field (`quantity`, `productKey`, `timestamp`) was supplied, or the patch otherwise fails schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-owner / system role required to correct or re-sync usage rows.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No usage record exists for the supplied id in the caller’s billing scope.' },\n ],\n idempotent: true,\n },\n },\n businessConstraints: ['High-volume append-only usage — UI should not imply arbitrary user edits to historical quantities without a dedicated op.'],\n }),\n { resourcePrimaryScope: usageResourcePrimaryScopeByResourceType[resourceType] },\n );\n}\n\nfunction buildUsageRecordSpec(resourceType: UsageResourceType, memberName: UsageResourceTypeMember) {\n const base = buildUsageRecordBase(resourceType, memberName);\n const main = resolveUsageUI(billingMainPresets as Partial<Record<string, unknown>>, resourceType, 'billingMainPresets');\n const admin = resolveUsageUI(billingAdminPresets as Partial<Record<string, unknown>>, resourceType, 'billingAdminPresets');\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(main), resourceFrontendConfiguration(admin)),\n base,\n () => ({\n label: { purpose: 'Preset stringifies `productKey · quantity` for dense tables.' },\n views: {\n [Op.LIST]: { purpose: 'List op in merged `views` as non-addressable; keep spec aligned with merged preset op map.', whenToUse: 'Embedded list under billing account.' },\n [Op.READ]: { purpose: 'Read op in merged `views` as non-addressable.', whenToUse: 'Row detail in inspector when wired.' },\n },\n }),\n );\n}\n\nexport const organizationUsageRecordsResourceSpecification = buildUsageRecordSpec(\n CoreResourceType.ORGANIZATION_USAGE_RECORDS,\n 'ORGANIZATION_USAGE_RECORDS',\n);\n\nexport const userUsageRecordsResourceSpecification = buildUsageRecordSpec(\n CoreResourceType.USER_USAGE_RECORDS,\n 'USER_USAGE_RECORDS',\n);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/engine/compliance/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/engine/compliance/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/engine/compliance/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './resources';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/engine/compliance/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './resources';\n"]}