@wildo-ai/saas-specifications 1.1.4 → 1.1.5

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 (1476) hide show
  1. package/dist/assurance/external-framework-mapping.json +1228 -0
  2. package/dist/esm/_catalogs/index.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  4. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.d.ts.map +1 -1
  6. package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
  8. package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
  10. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
  12. package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
  14. package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
  15. package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
  16. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
  17. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
  18. package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
  19. package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
  20. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
  21. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
  22. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
  23. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
  24. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
  25. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
  26. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
  27. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
  28. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
  29. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
  30. package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
  31. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
  32. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
  33. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
  34. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
  35. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
  36. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
  37. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
  38. package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
  40. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
  41. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
  42. package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
  43. package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
  44. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
  45. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  46. package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
  47. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  48. package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
  49. package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
  50. package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
  51. package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
  52. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
  53. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  54. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
  55. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
  56. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
  57. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  59. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
  60. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  61. package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
  62. package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
  63. package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
  64. package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
  65. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  66. package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
  67. package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
  68. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
  69. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  70. package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
  71. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  72. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
  73. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  74. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  75. package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
  76. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
  77. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
  78. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  79. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
  80. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  81. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +121 -1
  82. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  83. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +215 -2
  84. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  85. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +703 -14
  86. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  87. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +536 -7
  88. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  89. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  90. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
  91. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  92. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
  93. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  94. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
  95. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
  96. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  97. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  98. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  99. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  100. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
  101. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  102. package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
  103. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -1
  104. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
  105. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
  106. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
  107. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +4 -1
  109. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  110. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
  111. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  112. package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
  113. package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
  114. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
  115. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
  116. package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
  117. package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
  118. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
  119. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
  120. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
  121. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
  122. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
  123. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
  124. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
  125. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
  126. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  127. package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
  128. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +42 -0
  129. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  130. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +60 -2
  131. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  132. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
  133. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
  134. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
  135. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
  136. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +245 -7
  137. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  138. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +227 -3
  139. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  140. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
  141. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  142. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
  143. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
  144. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
  145. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
  146. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
  147. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
  148. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  149. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
  150. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  151. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
  152. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
  153. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
  154. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +218 -4
  155. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  156. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +147 -2
  157. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  158. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
  159. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  160. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +75 -3
  161. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  162. package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
  163. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  164. package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
  165. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  166. package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
  167. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  168. package/dist/esm/_core/cross-registry-assertions.js +7 -5
  169. package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
  170. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  171. package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
  172. package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
  173. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  174. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  175. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
  176. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +5 -2
  178. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  179. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +30 -0
  180. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  181. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +99 -6
  182. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  183. package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
  184. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  185. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +58 -0
  186. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
  187. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
  188. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
  189. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
  190. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
  191. package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
  192. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
  193. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
  194. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
  195. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
  196. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
  197. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
  198. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
  199. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
  200. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
  201. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
  202. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  203. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
  204. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
  205. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
  206. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  207. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +7 -0
  208. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  209. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  210. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  211. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
  212. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
  213. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
  214. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
  215. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
  216. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  217. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
  218. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  219. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  220. package/dist/esm/_core/family-aspects.registry.js +22 -1
  221. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  222. package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
  223. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  224. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  225. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +34 -34
  226. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
  227. package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
  228. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
  229. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  230. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -1
  231. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
  232. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  233. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  234. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  235. package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
  236. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  237. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
  238. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  239. package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
  240. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  241. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  242. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  243. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
  244. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  245. package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
  246. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  247. package/dist/esm/_core/index.d.ts +16 -0
  248. package/dist/esm/_core/index.d.ts.map +1 -1
  249. package/dist/esm/_core/index.js +16 -0
  250. package/dist/esm/_core/index.js.map +1 -1
  251. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
  252. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
  253. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
  254. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
  255. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
  256. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
  257. package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
  258. package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
  259. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
  260. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
  261. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
  262. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
  263. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
  264. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
  265. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
  266. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
  267. package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
  268. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  269. package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
  270. package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
  271. package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
  272. package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
  273. package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
  274. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  275. package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
  276. package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
  277. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
  278. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  279. package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
  280. package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
  281. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
  282. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  283. package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
  284. package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
  285. package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
  286. package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
  287. package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
  288. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  289. package/dist/esm/_core/market/market-channel.schemas.js +6 -3
  290. package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
  291. package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
  292. package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
  293. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  294. package/dist/esm/_core/market/market-gain.schemas.js +4 -1
  295. package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
  296. package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
  297. package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
  298. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  299. package/dist/esm/_core/market/market-icp.schemas.js +12 -9
  300. package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
  301. package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
  302. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  303. package/dist/esm/_core/market/market-job.schemas.js +4 -1
  304. package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
  305. package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
  306. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  307. package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
  308. package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
  309. package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
  310. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  311. package/dist/esm/_core/market/market-objection.schemas.js +4 -1
  312. package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
  313. package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
  314. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  315. package/dist/esm/_core/market/market-pain.schemas.js +4 -1
  316. package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
  317. package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
  318. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  319. package/dist/esm/_core/market/market-persona.schemas.js +5 -2
  320. package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
  321. package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
  322. package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
  323. package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
  324. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  325. package/dist/esm/_core/market/market-proof.schemas.js +4 -1
  326. package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
  327. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  328. package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
  329. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +68 -68
  330. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  331. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  332. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  333. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  334. package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
  335. package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
  336. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
  337. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  338. package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
  339. package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
  340. package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
  341. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  342. package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
  343. package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
  344. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  345. package/dist/esm/_core/market/market.family-aspects.js +25 -1
  346. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  347. package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
  348. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
  349. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  350. package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
  351. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  352. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
  353. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  354. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  355. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +8 -0
  356. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  357. package/dist/esm/_core/placement-plan/placement-plan-validation.js +17 -1
  358. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  359. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  360. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +24 -1
  361. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  362. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +66 -39
  363. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  364. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +50 -16
  365. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  366. package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
  367. package/dist/esm/_core/provider-specification.schemas.d.ts +3 -0
  368. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
  369. package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
  370. package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
  371. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
  372. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  373. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
  374. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  375. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
  376. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  377. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
  378. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
  379. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
  380. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  381. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  382. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  383. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  384. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
  385. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  386. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  387. package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
  388. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
  389. package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
  390. package/dist/esm/_core/resource-specification.schemas.d.ts +8 -0
  391. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  392. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  393. package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
  394. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
  395. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  396. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
  397. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
  398. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
  399. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  400. package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
  401. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  402. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  403. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
  404. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  405. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
  406. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  407. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
  408. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
  409. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
  410. package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
  411. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
  412. package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
  413. package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
  414. package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
  415. package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
  416. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  417. package/dist/esm/_core/utils/extract-field-specs.js +4 -2
  418. package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
  419. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -1
  420. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -1
  421. package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
  422. package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
  423. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
  424. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  425. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
  426. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
  427. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
  428. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
  429. package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
  430. package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
  431. package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
  432. package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
  433. package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
  434. package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
  435. package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
  436. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  437. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  438. package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
  439. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
  440. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
  441. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
  442. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
  443. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
  444. package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
  445. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
  446. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
  447. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
  448. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
  449. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
  450. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
  451. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
  452. package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
  453. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
  454. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
  455. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
  456. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
  457. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
  458. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
  459. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
  460. package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
  461. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
  462. package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
  463. package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
  464. package/dist/esm/_core/zod-core-nameability.js +1 -0
  465. package/dist/esm/_core/zod-core-nameability.js.map +1 -0
  466. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
  467. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
  468. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
  469. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
  470. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
  471. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  472. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +182 -11
  473. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  474. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
  475. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  476. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
  477. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  478. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
  479. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
  480. package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
  481. package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
  482. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  483. package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
  484. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
  485. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
  486. package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
  487. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
  488. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  489. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
  490. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  491. package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
  492. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  493. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -503
  494. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  495. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -542
  496. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  497. package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
  498. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +10 -0
  499. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  500. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +10 -0
  501. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  502. package/dist/esm/application-creation.exports.d.ts +73 -8
  503. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  504. package/dist/esm/application-creation.exports.js +103 -8
  505. package/dist/esm/application-creation.exports.js.map +1 -1
  506. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
  507. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
  508. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
  509. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
  510. package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
  511. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  512. package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
  513. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  514. package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
  515. package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
  516. package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
  517. package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
  518. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
  519. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
  520. package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
  521. package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
  522. package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
  523. package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
  524. package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
  525. package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
  526. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
  527. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
  528. package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
  529. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
  530. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +246 -13
  531. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  532. package/dist/esm/assurance/assurance-authority-basis.definitions.js +821 -87
  533. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  534. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +100 -34
  535. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  536. package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
  537. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  538. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  539. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  540. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  541. package/dist/esm/assurance/assurance-document-system.definitions.js +99 -8
  542. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  543. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
  544. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  545. package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
  546. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  547. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
  548. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
  549. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
  550. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
  551. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -46
  552. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  553. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1613 -406
  554. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  555. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
  556. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
  557. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  558. package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
  559. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  560. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +2 -2
  561. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  562. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +108 -5
  563. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  564. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
  565. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  566. package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
  567. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  568. package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
  569. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  570. package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
  571. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
  572. package/dist/esm/assurance/assurance-program.schemas.d.ts +1180 -347
  573. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  574. package/dist/esm/assurance/assurance-program.schemas.js +458 -74
  575. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  576. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  577. package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
  578. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  579. package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
  580. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  581. package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
  582. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  583. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  584. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +179 -6
  585. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  586. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -1
  587. package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
  588. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
  589. package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
  590. package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
  591. package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
  592. package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
  593. package/dist/esm/assurance/governed-document-release.d.ts +211 -0
  594. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
  595. package/dist/esm/assurance/governed-document-release.js +314 -0
  596. package/dist/esm/assurance/governed-document-release.js.map +1 -0
  597. package/dist/esm/assurance.exports.d.ts +5 -0
  598. package/dist/esm/assurance.exports.d.ts.map +1 -1
  599. package/dist/esm/assurance.exports.js +5 -0
  600. package/dist/esm/assurance.exports.js.map +1 -1
  601. package/dist/esm/companion-exports.d.ts +135 -11
  602. package/dist/esm/companion-exports.d.ts.map +1 -1
  603. package/dist/esm/companion-exports.js.map +1 -1
  604. package/dist/esm/engine/_bootstrap.d.ts +1 -1
  605. package/dist/esm/engine/_bootstrap.d.ts.map +1 -1
  606. package/dist/esm/engine/_bootstrap.js +1 -1
  607. package/dist/esm/engine/_bootstrap.js.map +1 -1
  608. package/dist/esm/engine/applications/index.d.ts.map +1 -1
  609. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  610. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  611. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
  612. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  613. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
  614. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  615. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +0 -23
  616. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  617. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +110 -28
  618. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  619. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
  620. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
  622. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  623. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
  624. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  625. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  626. package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
  627. package/dist/esm/engine/auth/index.d.ts.map +1 -1
  628. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +11 -1
  629. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  630. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +67 -10
  631. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  632. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
  633. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  634. package/dist/esm/engine/auth/resources/index.d.ts +1 -0
  635. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  636. package/dist/esm/engine/auth/resources/index.js +1 -0
  637. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  638. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  639. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  640. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  641. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  642. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
  643. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  644. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +57 -6
  645. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  646. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
  647. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
  648. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
  649. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
  650. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
  651. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  652. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +10 -6
  653. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  654. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  656. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  657. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +5 -4
  658. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  659. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  660. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  661. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  662. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  663. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
  664. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
  665. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
  666. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
  667. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
  668. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  669. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +24 -13
  670. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  671. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
  672. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  673. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +5 -26
  674. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  675. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +6 -2
  676. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  677. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +16 -3
  678. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  679. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +5 -2
  680. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  681. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +10 -16
  682. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  683. package/dist/esm/engine/billing/index.d.ts.map +1 -1
  684. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  685. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
  686. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  687. package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
  688. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
  689. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
  690. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
  691. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
  692. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
  693. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
  694. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
  695. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
  696. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
  697. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
  698. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
  699. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
  700. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
  701. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
  702. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
  703. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
  704. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  705. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  706. package/dist/esm/engine/billing/resources/index.d.ts +4 -0
  707. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  708. package/dist/esm/engine/billing/resources/index.js +4 -0
  709. package/dist/esm/engine/billing/resources/index.js.map +1 -1
  710. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  711. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  712. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
  713. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  714. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  715. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
  716. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  717. package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
  718. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  719. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  720. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  721. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  722. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  723. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  724. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
  725. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  726. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  727. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  728. package/dist/esm/engine/compliance/index.d.ts.map +1 -1
  729. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +15 -7
  730. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  731. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +72 -13
  732. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  733. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
  734. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  735. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  736. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  737. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  738. package/dist/esm/engine/compliance/resources/index.js +1 -0
  739. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  740. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
  741. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
  742. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
  743. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
  744. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  745. package/dist/esm/engine/engine-resource-specifications.registry.js +24 -0
  746. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  747. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  748. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  749. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  750. package/dist/esm/engine/errors/error-messages.specification.js +104 -19
  751. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  752. package/dist/esm/engine/errors/index.d.ts.map +1 -1
  753. package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
  754. package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
  755. package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
  756. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  757. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  758. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  759. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  760. package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
  761. package/dist/esm/engine/features/index.d.ts.map +1 -1
  762. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
  763. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  764. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -1
  765. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  766. package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
  767. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  768. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +1 -0
  769. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  770. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
  771. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  772. package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -1
  773. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  774. package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
  775. package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
  776. package/dist/esm/engine/files/index.d.ts.map +1 -1
  777. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  778. package/dist/esm/engine/files/resources/files.resource.specification.js +14 -2
  779. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  780. package/dist/esm/engine/files/resources/index.d.ts.map +1 -1
  781. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  782. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  783. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  784. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  785. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
  786. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  787. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +1 -1
  788. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  789. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
  790. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  791. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +14 -0
  792. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
  793. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
  794. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
  795. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  796. package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
  797. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
  798. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
  799. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
  800. package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.d.ts.map +1 -1
  801. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  802. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
  803. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
  804. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  805. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
  806. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
  807. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
  808. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
  809. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
  810. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
  811. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
  812. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
  813. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
  814. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
  815. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
  816. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
  817. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
  818. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  819. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
  820. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
  821. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
  822. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
  823. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
  824. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
  825. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
  826. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
  827. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
  828. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
  829. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
  830. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  831. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
  832. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
  833. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
  834. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  835. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
  836. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
  837. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
  838. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
  839. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
  840. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
  841. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
  842. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
  843. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
  844. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
  845. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
  846. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +1 -1
  847. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
  848. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
  849. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
  850. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
  851. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
  852. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
  853. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.map +1 -1
  854. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
  855. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
  856. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
  857. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -0
  858. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +6 -5
  860. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  861. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts +4 -0
  862. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
  863. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
  864. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
  865. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
  866. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
  867. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
  868. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
  869. package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
  870. package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
  871. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
  872. package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  873. package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
  874. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
  875. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
  876. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
  877. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
  878. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -0
  879. package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
  880. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
  881. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
  882. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
  883. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -1
  884. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -1
  885. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  886. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +4 -2
  887. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  888. package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
  889. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
  890. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
  891. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
  892. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  893. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  894. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
  895. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
  896. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
  897. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
  898. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
  899. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.d.ts.map +1 -1
  900. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
  901. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
  902. package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
  903. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
  904. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
  905. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
  906. package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
  907. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
  908. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
  909. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
  910. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
  911. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +1 -1
  912. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
  913. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  914. package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.d.ts.map +1 -1
  915. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
  916. package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
  917. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  918. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
  919. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
  920. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +1 -1
  921. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
  922. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
  923. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
  924. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
  925. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
  926. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
  927. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +1 -1
  928. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
  929. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
  930. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.d.ts.map +1 -1
  931. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
  932. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  933. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +1 -1
  934. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
  935. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
  936. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.d.ts.map +1 -1
  937. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
  938. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
  939. package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.d.ts.map +1 -1
  940. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  941. package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
  942. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  943. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
  944. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
  945. package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
  946. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
  947. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
  948. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
  949. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
  950. package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
  951. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
  952. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
  953. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
  954. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
  955. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  956. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
  957. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
  958. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
  959. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
  960. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
  961. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
  962. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
  963. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  964. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
  965. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
  966. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
  967. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
  968. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
  969. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
  970. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  971. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
  972. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
  973. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
  974. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
  975. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  976. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
  977. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  978. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
  979. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
  980. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
  981. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
  982. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
  983. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
  984. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
  985. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
  986. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
  987. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
  988. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
  989. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
  990. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
  991. package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
  992. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
  993. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
  994. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
  995. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
  996. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  997. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
  998. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js.map +1 -1
  999. package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
  1000. package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
  1001. package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
  1002. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
  1003. package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
  1004. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
  1005. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
  1006. package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
  1007. package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
  1008. package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
  1009. package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
  1010. package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
  1011. package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
  1012. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
  1013. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
  1014. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.map +1 -1
  1015. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  1016. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.d.ts.map +1 -1
  1017. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
  1018. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
  1019. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
  1020. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
  1021. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
  1022. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
  1023. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
  1024. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
  1025. package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
  1026. package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
  1027. package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
  1028. package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
  1029. package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
  1030. package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
  1031. package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
  1032. package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
  1033. package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
  1034. package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
  1035. package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
  1036. package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
  1037. package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
  1038. package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
  1039. package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
  1040. package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
  1041. package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
  1042. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
  1043. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
  1044. package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
  1045. package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
  1046. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
  1047. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
  1048. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
  1049. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
  1050. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
  1051. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
  1052. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
  1053. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
  1054. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
  1055. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
  1056. package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
  1057. package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
  1058. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
  1059. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
  1060. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
  1061. package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
  1062. package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
  1063. package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
  1064. package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
  1065. package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
  1066. package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
  1067. package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
  1068. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
  1069. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
  1070. package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
  1071. package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
  1072. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
  1073. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
  1074. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
  1075. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
  1076. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
  1077. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
  1078. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
  1079. package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
  1080. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
  1081. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
  1082. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
  1083. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
  1084. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
  1085. package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1086. package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
  1087. package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
  1088. package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
  1089. package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
  1090. package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
  1091. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +1 -1
  1092. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
  1093. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
  1094. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.d.ts.map +1 -1
  1095. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
  1096. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
  1097. package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
  1098. package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
  1099. package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
  1100. package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1101. package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
  1102. package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  1103. package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
  1104. package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
  1105. package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
  1106. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
  1107. package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
  1108. package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  1109. package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
  1110. package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
  1111. package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
  1112. package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
  1113. package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
  1114. package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
  1115. package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
  1116. package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
  1117. package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
  1118. package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
  1119. package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
  1120. package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
  1121. package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
  1122. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
  1123. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
  1124. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
  1125. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  1126. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
  1127. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
  1128. package/dist/esm/engine/frontend-components/index.d.ts +12 -0
  1129. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  1130. package/dist/esm/engine/frontend-components/index.js +40 -0
  1131. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  1132. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
  1133. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  1134. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
  1135. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
  1136. package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
  1137. package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
  1138. package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
  1139. package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
  1140. package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
  1141. package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
  1142. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
  1143. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
  1144. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
  1145. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
  1146. package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
  1147. package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
  1148. package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
  1149. package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
  1150. package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
  1151. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +1 -1
  1152. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
  1153. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
  1154. package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
  1155. package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
  1156. package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
  1157. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
  1158. package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
  1159. package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
  1160. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  1161. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
  1162. package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
  1163. package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
  1164. package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
  1165. package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
  1166. package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
  1167. package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
  1168. package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
  1169. package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
  1170. package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
  1171. package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
  1172. package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
  1173. package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
  1174. package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
  1175. package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
  1176. package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
  1177. package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
  1178. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
  1179. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  1180. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
  1181. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
  1182. package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
  1183. package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
  1184. package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
  1185. package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
  1186. package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
  1187. package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
  1188. package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
  1189. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
  1190. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
  1191. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
  1192. package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
  1193. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
  1194. package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
  1195. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
  1196. package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
  1197. package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
  1198. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
  1199. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
  1200. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
  1201. package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
  1202. package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
  1203. package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
  1204. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
  1205. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
  1206. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
  1207. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  1208. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
  1209. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
  1210. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  1211. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
  1212. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
  1213. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
  1214. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
  1215. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
  1216. package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
  1217. package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.map +1 -1
  1218. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  1219. package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.d.ts.map +1 -1
  1220. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  1221. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
  1222. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
  1223. package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
  1224. package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
  1225. package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
  1226. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
  1227. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
  1228. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
  1229. package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
  1230. package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
  1231. package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
  1232. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  1233. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +21 -1
  1234. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  1235. package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
  1236. package/dist/esm/engine/guidance/index.d.ts.map +1 -1
  1237. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  1238. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  1239. package/dist/esm/engine/guidance/resources/index.d.ts.map +1 -1
  1240. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  1241. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  1242. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
  1243. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  1244. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  1245. package/dist/esm/engine/index.d.ts.map +1 -1
  1246. package/dist/esm/engine/index.js.map +1 -1
  1247. package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
  1248. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  1249. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  1250. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
  1251. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
  1252. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
  1253. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
  1254. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  1255. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +3 -2
  1256. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  1257. package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
  1258. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +77 -3
  1259. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  1260. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +11 -3
  1261. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  1262. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
  1263. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  1264. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +17 -8
  1265. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  1266. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
  1267. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
  1268. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
  1269. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
  1270. package/dist/esm/engine/notifications/index.d.ts.map +1 -1
  1271. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  1272. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  1273. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
  1274. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  1275. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
  1276. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  1277. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  1278. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  1279. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +6 -6
  1280. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  1281. package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
  1282. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  1283. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  1284. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
  1285. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
  1286. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  1287. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
  1288. package/dist/esm/engine/organizations/index.d.ts.map +1 -1
  1289. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  1290. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
  1291. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  1292. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  1293. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  1294. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  1295. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  1296. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  1297. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  1298. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
  1299. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  1300. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  1301. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  1302. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
  1303. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  1304. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +27 -5
  1305. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  1306. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +1 -1
  1307. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  1308. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +31 -12
  1309. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  1310. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -1
  1311. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -1
  1312. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
  1313. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
  1314. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
  1315. package/dist/esm/engine/providers/apple.provider.specification.js +2 -0
  1316. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  1317. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
  1318. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
  1319. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  1320. package/dist/esm/engine/providers/github.provider.specification.js +2 -0
  1321. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  1322. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
  1323. package/dist/esm/engine/providers/google.provider.specification.js +2 -0
  1324. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  1325. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
  1326. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
  1327. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  1328. package/dist/esm/engine/providers/index.js.map +1 -1
  1329. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  1330. package/dist/esm/engine/providers/microsoft.provider.specification.js +12 -0
  1331. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  1332. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
  1333. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  1334. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
  1335. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
  1336. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
  1337. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
  1338. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
  1339. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
  1340. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  1341. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  1342. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  1343. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  1344. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
  1345. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
  1346. package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
  1347. package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
  1348. package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
  1349. package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
  1350. package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
  1351. package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
  1352. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
  1353. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
  1354. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
  1355. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
  1356. package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
  1357. package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
  1358. package/dist/esm/engine/roles/index.d.ts +4 -3
  1359. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  1360. package/dist/esm/engine/roles/index.js +6 -4
  1361. package/dist/esm/engine/roles/index.js.map +1 -1
  1362. package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
  1363. package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
  1364. package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
  1365. package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
  1366. package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
  1367. package/dist/esm/engine/users/index.d.ts.map +1 -1
  1368. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
  1369. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  1370. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
  1371. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  1372. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +2 -1
  1373. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  1374. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
  1375. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  1376. package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
  1377. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  1378. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  1379. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  1380. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
  1381. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  1382. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -3
  1383. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  1384. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -2
  1385. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  1386. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
  1387. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  1388. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
  1389. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  1390. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
  1391. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  1392. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  1393. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  1394. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
  1395. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  1396. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
  1397. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  1398. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  1399. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  1400. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
  1401. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  1402. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  1403. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
  1404. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +1 -0
  1405. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  1406. package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
  1407. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  1408. package/dist/esm/index.d.ts +39 -0
  1409. package/dist/esm/index.d.ts.map +1 -1
  1410. package/dist/esm/index.js +39 -0
  1411. package/dist/esm/index.js.map +1 -1
  1412. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
  1413. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
  1414. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
  1415. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
  1416. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
  1417. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
  1418. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
  1419. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
  1420. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
  1421. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
  1422. package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
  1423. package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
  1424. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
  1425. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
  1426. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
  1427. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
  1428. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
  1429. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
  1430. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
  1431. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
  1432. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  1433. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +7 -15
  1434. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  1435. package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
  1436. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
  1437. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
  1438. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
  1439. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
  1440. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
  1441. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
  1442. package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
  1443. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
  1444. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
  1445. package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
  1446. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
  1447. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
  1448. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
  1449. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
  1450. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
  1451. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
  1452. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
  1453. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
  1454. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
  1455. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
  1456. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  1457. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
  1458. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  1459. package/dist/esm/technical-documentation.exports.d.ts +4 -0
  1460. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  1461. package/dist/esm/technical-documentation.exports.js +24 -0
  1462. package/dist/esm/technical-documentation.exports.js.map +1 -1
  1463. package/dist/tsconfig.build.tsbuildinfo +1 -1
  1464. package/package.json +8 -13
  1465. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
  1466. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
  1467. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
  1468. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
  1469. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
  1470. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
  1471. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
  1472. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
  1473. package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
  1474. package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
  1475. package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
  1476. package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"webhook-config.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/notifications/resources/webhook-config.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EACvB,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEzF,OAA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;gBACD,SAAS,EAAE;oBACT,OAAO,EAAE,8FAA8F;oBACvG,SAAS,EAAE,0DAA0D;oBACrE,SAAS,EAAE;wBACT,KAAK,EAAE,EAAE,OAAO,EAAE,2CAA2C,EAAE;wBAC/D,WAAW,EAAE,EAAE,OAAO,EAAE,+GAA+G,EAAE;qBAC1I;iBACF;gBACD,YAAY,EAAE;oBACZ,OAAO,EAAE,8FAA8F;oBACvG,SAAS,EAAE,4DAA4D;oBACvE,SAAS,EAAE;wBACT,KAAK,EAAE,EAAE,OAAO,EAAE,6CAA6C,EAAE;wBACjE,WAAW,EAAE,EAAE,OAAO,EAAE,8FAA8F,EAAE;qBACzH;iBACF;aACF;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,8CAA8C,GAAG,+BAA+B,CAC3F,gBAAgB,CAAC,2BAA2B,EAC5C,6BAA6B,CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,6CAA6C,GAAG,+BAA+B,CAC1F,gBAAgB,CAAC,0BAA0B,EAC3C,4BAA4B,CAC7B,CAAC","sourcesContent":["/**\n * Resources: `organizationWebhookConfig` + `applicationWebhookConfig` — Wildo SaaS engine specification (backend-only).\n *\n * Polymorphic ORG + APP pair sharing `WebhookConfigBaseSchema` and `webhookConfigPolymorphicFactories` (one spec export per\n * `CoreResourceType`, single authoring file, SSO-style split exports).\n *\n * Inputs:\n * - Base schema: engine/saas-models/src/notifications/m2m/webhook-config.shared.schemas.ts → `WebhookConfigBaseSchema`\n * - Polymorphic map: `webhookConfigPolymorphicFactories` (same file family as\n * `webhook-config.shared.resources-config.schemas.ts`)\n * - Custom operations: `WebhookConfig_Operations` (`testEndpoint` synthetic delivery)\n * - UI presets: `webhooksMainPresets` / `webhooksAdminPresets`\n * (engine/presets-components/src/config/resources/webhooks.resource-presets.tsx) —\n * sectioned READ layout (`status` / `endpoints` / `verification`), surfaced in the\n * org Settings Hub `webhooks` section. The spec is frontend-configured (mirrors the\n * SIEM config): the `frontend.layout.sections` documented below MUST equal the\n * preset's `layout.refs.sections` — `validateStructuralSlotDescriptions` enforces\n * the match bidirectionally at companion load. Edit both sides together.\n */\n\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n WebhookConfig_Operations,\n WebhookConfigBaseSchema,\n WebhookEndpointProbeOutcome,\n webhookConfigPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport { webhooksAdminPresets, webhooksMainPresets } from '@wildo-ai/presets-components';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n type ResourceSpecificationConfig,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype WebhookConfigResourceType =\n | CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG\n | CoreResourceType.APPLICATION_WEBHOOK_CONFIG;\n\ntype WebhookConfigResourceTypeMember = 'ORGANIZATION_WEBHOOK_CONFIG' | 'APPLICATION_WEBHOOK_CONFIG';\n\nconst webhookConfigResourcePrimaryScope: Record<WebhookConfigResourceType, ResourcePrimaryScope> = {\n [CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_WEBHOOK_CONFIG]: ResourcePrimaryScope.APPLICATION,\n};\n\ntype WebhookCfg = ReturnType<\n (typeof webhookConfigPolymorphicFactories)[CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG]\n>;\ntype WebhookConfigCustomOp = NonNullable<WebhookCfg['customOperation']>;\n// Derive from the factory's coreOperations so the spec tracks config changes\n// (e.g. the REPOSITORY_ONLY DELETE for the onParentDelete cascade) automatically,\n// rather than a hand-maintained union that silently drifts out of sync.\ntype WebhookConfigCoreOp = WebhookCfg['coreOperations'][number];\ntype WebhookConfigMain = typeof WebhookConfigBaseSchema;\n\ntype WebhookFrontend = ResourceUIBehaviorConfig<WebhookConfigCustomOp, WebhookConfigCoreOp, WebhookConfigMain>;\n\n/**\n * Extract the merged ui-behavior for one webhook-config variant from a presets\n * bundle. The presets declare both scope variants (ORG addressable, APP demoted),\n * so this resolves either; a missing entry is an authoring error, surfaced loudly.\n */\nfunction resolveWebhookConfigUI(\n source: Partial<Record<string, unknown>>,\n resourceType: WebhookConfigResourceType,\n sourceName: string,\n): WebhookFrontend {\n const ui = source[resourceType] as WebhookFrontend | undefined;\n if (!ui) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return ui;\n}\n\nfunction buildWebhookConfigBaseSpecification(\n resourceType: WebhookConfigResourceType,\n memberName: WebhookConfigResourceTypeMember,\n): ResourceSpecificationConfig<WebhookConfigCustomOp, WebhookConfigCoreOp, WebhookConfigMain> {\n const isOrganizationScope = resourceType === CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG;\n const scopeLabel = isOrganizationScope ? 'organization' : 'application';\n const scopeId = isOrganizationScope ? 'org_acme' : 'app_wonder_todos';\n const scopeFieldName = isOrganizationScope ? 'organizationId' : 'applicationId';\n const readExample = {\n _id: 'whc_01HX2EXAMPLE',\n enabled: true,\n endpoints: [\n {\n id: 'whe_primary_partner',\n url: 'https://hooks.example.com/wildo',\n description: 'Primary partner listener',\n enabled: true,\n createdAt: '2026-06-14T12:00:00.000Z',\n updatedAt: '2026-06-14T12:00:00.000Z',\n },\n ],\n applicationPublicKeyPem: '-----BEGIN PUBLIC KEY-----\\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AEXAMPLE\\n-----END PUBLIC KEY-----',\n createdAt: '2026-06-14T12:00:00.000Z',\n updatedAt: '2026-06-14T12:00:00.000Z',\n [scopeFieldName]: scopeId,\n };\n\n return resourceSpecification<WebhookConfigCustomOp, WebhookConfigCoreOp, WebhookConfigMain>(\n webhookConfigPolymorphicFactories[resourceType],\n WebhookConfigBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Store tenant-level M2M webhook configuration (endpoints, master enable flag, and derived verification material) for outbound `WEBHOOK_ORGANIZATION` or `WEBHOOK_APPLICATION` delivery.',\n businessRole: 'Singleton-per-scope config row that the dispatcher and admin UI use to know where to POST JSON payloads and which endpoints are still enabled.',\n lifecycleRole: 'Seeded as a REPOSITORY-only create per org/app, then maintained by admins (UPDATE) and read for diagnostics; test deliveries exercise connectivity without writing delivery log rows.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'WebhookConfigBaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactoryCollectionEntry: {\n collectionSymbol: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'webhookConfigPolymorphicFactories',\n symbolKind: CodeSymbolKind.FACTORY,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName,\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'WebhookConfig_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'Factory entry is selected by `webhookConfigPolymorphicFactories[CoreResourceType.*]`; `identifierField: \"collectionKey\"` follows the engine polymorphic map convention (see SSO + billing polymorphic specs).',\n 'The runtime injects the scope FK (`organizationId` or `applicationId`) — never list those columns on the base Zod object.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Singleton document id for the webhook config record in this scope’s MongoDB collection.',\n importance: FieldSemanticImportance.PRIMARY,\n semanticRole: 'identifier',\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Global kill-switch: when `false`, the dispatcher does not attempt deliveries regardless of per-endpoint flags.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n endpoints: schemaShape.endpoints.arraySpec({\n meaning: 'Admin-configured destination URLs, each with its own `enabled` bit and `endpointId` for delivery-log provenance.',\n whyItMatters: 'M2M events fan out to every enabled row; disabled endpoints are skipped per dispatch.',\n elementMeaning: 'One `WebhookEndpointSchema` (id, url, description, flags, created/updated timestamps).',\n elementType: {\n notes: [\n 'Element schema: `WebhookEndpointSchema` in `engine/saas-models/src/notifications/m2m/webhook-config.shared.schemas.ts`.',\n ],\n },\n }),\n applicationPublicKeyPem: schemaShape.applicationPublicKeyPem.stringSpec({\n meaning: 'PEM public half of `JwtPrivateKeys.APPLICATION_WEBHOOK`, surfaced on READ so customers verify JWT `X-Webhook-Signature` bodies.',\n whyItMatters: 'Downstream verifiers need the public key without out-of-band secret sharing; key rotation re-reads from app config on every READ per postfix hook.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({\n meaning: 'When the singleton config record was first inserted.',\n temporalRole: 'creation',\n }),\n updatedAt: schemaShape.updatedAt.dateSpec({\n meaning: 'When the record last changed (endpoint list edits, `enabled` toggles, or hook refreshes).',\n temporalRole: 'modified',\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Return the org- or app-scoped config including endpoints and the derived public key material.',\n outcome: 'Admins and automated smoke tests can verify the runtime wiring before shipping traffic.',\n whenToUse: 'Use from admin UIs, CLI diagnostics, and health checks; requires org-admin or app-super-admin roles per variant.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The singleton webhook config for this scope is returned, including the endpoint list and the derived `applicationPublicKeyPem` for signature verification.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No webhook config has been seeded for this org/app scope yet (the singleton row does not exist).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin (ORG variant) or app-super-admin (APP variant) role required to read webhook configuration.' },\n ],\n idempotent: true,\n examples: [\n {\n title: `Read the active ${scopeLabel} webhook configuration`,\n response: readExample,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [Op.CREATE]: {\n purpose: 'Seed the singleton config document when a new org/app is provisioned and the collection is empty.',\n outcome: 'A baseline disabled config exists so the dispatcher can load structured rows without null-check sprawl.',\n whenToUse: 'Repository-only path — not an HTTP public create; used by system seeds or platform bootstrap runs.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The baseline (disabled) singleton config record was seeded for this scope and returned. Internal/service write path — system seeds or platform bootstrap run this, not a public HTTP create.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seed payload fails schema validation (e.g. a non-HTTPS endpoint URL or a malformed endpoint entry).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-system/non-admin caller attempts to seed the config row.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A webhook config already exists for this scope — the resource is a singleton-per-scope, so a second seed collides with the existing row.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Seed a disabled webhook config with one endpoint',\n request: {\n enabled: false,\n endpoints: [\n { url: 'https://hooks.example.com/wildo', description: 'Primary partner listener', enabled: true },\n ],\n },\n response: {\n _id: 'whc_01HX2…',\n enabled: false,\n endpoints: [\n { id: 'whe_01HX2…', url: 'https://hooks.example.com/wildo', enabled: true },\n ],\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Persist endpoint URL edits, enable toggles, and metadata updates for the current scope’s singleton.',\n outcome: 'The next M2M notification fire sees the new routing truth immediately after commit.',\n whenToUse: 'Use in admin “save endpoints” flows or through trusted automation, still via repository or dedicated controller surfaces rather than a generic public PUT API.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The endpoint list / `enabled` toggles / metadata were persisted and the updated singleton config is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited endpoints or flags fail schema validation (e.g. a non-HTTPS URL or a duplicate endpoint id).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin / app-super-admin role required to change webhook configuration.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No webhook config has been seeded for this scope to update.' },\n ],\n idempotent: true,\n rateLimitNote: 'Endpoint edits can rotate the signing key material read on every READ; throttle rapid save cycles so downstream verifiers are not churned by repeated key changes.',\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the webhook config row when its owning org/app is deleted (composition `onParentDelete` cascade).',\n outcome: 'The one-per-scope config row is removed together with its parent — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The webhook config record was deleted as part of the deletion cascade of its owning scope.' },\n ],\n // REPOSITORY_ONLY variant (org/app admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n [WebhookConfig_Operations.TEST_ENDPOINT]: {\n operationId: WebhookConfig_Operations.TEST_ENDPOINT,\n purpose: 'Send a single synthetic request to a chosen `endpointId` to prove reachability and signature verification (does not create `M2MWebhookDeliveryLog` rows). Borrows UPDATE (a `PUT` on the custom-op sub-path) rather than READ: no row is written, but a live signed request leaves the platform, and a `GET` for that was a contradiction the generated contract had to spell out as `x-idempotent: false`.',\n outcome: 'Admins can validate connectivity in isolation before real notification traffic is enabled. The response is a diagnostic — `outcome` (`accepted` / `rejected` / `unreachable` / `not_sent`), plus response status, truncated response body, failure reason, duration, the probe’s `signatureJti` for correlation against the consumer’s own logs, and `transportIsPlaintext` — NOT the configuration row. `transportIsPlaintext` is independent of `outcome`: an endpoint on `http://` can answer `accepted` and still be sending the delivery signature in the clear, where it is readable and replayable until it expires. Plaintext endpoints are admitted deliberately (see `WebhookEndpointSchema.url`), so this probe is where that admission is surfaced to the admin who can act on it.',\n whenToUse: 'Run after any URL/secret/rotation event that could break downstream listeners.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The synthetic request was attempted and a diagnostic result (reachability, response status, signature-verification outcome) is returned — a transport-level failure at the customer endpoint is still a 200 carrying the diagnostic, not an API error. `not_sent` likewise answers 200: the payload could not be signed, which is a platform-side key fault reported distinctly so it is never misread as a broken customer endpoint.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No webhook config exists for this scope, or the supplied `endpointId` is not present in the config’s endpoint list.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin / app-super-admin role required to fire a test delivery.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'No `endpointId` was supplied, or the stored endpoint is incomplete (e.g. missing URL), so no meaningful test can be sent.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.TOO_MANY_REQUESTS_429, when: 'The per-endpoint probe budget for the current window is exhausted. Also returned when the rate-limit store is unreachable: this operation fails CLOSED, because running an egress primitive unmetered is worse than refusing it.' },\n ],\n idempotent: false,\n rateLimitNote: 'ENFORCED, not advisory: at most 5 probes per endpoint per 60s, keyed on scope + `endpointId` (the resource being protected is the customer’s listener, which does not care which admin is iterating). Exceeding it returns 429 with `retryAfterSeconds`.',\n examples: [\n {\n title: 'Endpoint accepts the signed probe',\n request: { endpointId: 'whe_primary_partner' },\n response: {\n endpointId: 'whe_primary_partner',\n url: 'https://hooks.example.com/wildo',\n transportIsPlaintext: false,\n outcome: WebhookEndpointProbeOutcome.ACCEPTED,\n responseStatus: 202,\n responseBodyTruncated: 'queued',\n durationMs: 84,\n signatureJti: 'probe_01HX2ACCEPTED',\n attemptedAt: '2026-06-14T12:05:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'Endpoint rejects the signed probe',\n request: { endpointId: 'whe_primary_partner' },\n response: {\n endpointId: 'whe_primary_partner',\n url: 'https://hooks.example.com/wildo',\n transportIsPlaintext: false,\n outcome: WebhookEndpointProbeOutcome.REJECTED,\n responseStatus: 401,\n responseBodyTruncated: 'invalid signature',\n durationMs: 61,\n signatureJti: 'probe_01HX2REJECTED',\n attemptedAt: '2026-06-14T12:06:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'Endpoint cannot be reached',\n request: { endpointId: 'whe_primary_partner' },\n response: {\n endpointId: 'whe_primary_partner',\n url: 'https://hooks.example.com/wildo',\n transportIsPlaintext: false,\n outcome: WebhookEndpointProbeOutcome.UNREACHABLE,\n failureReason: 'fetch failed: connect ECONNREFUSED',\n durationMs: 10003,\n signatureJti: 'probe_01HX2UNREACHABLE',\n attemptedAt: '2026-06-14T12:07:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'Probe is not sent because signing fails',\n request: { endpointId: 'whe_primary_partner' },\n response: {\n endpointId: 'whe_primary_partner',\n url: 'https://hooks.example.com/wildo',\n transportIsPlaintext: false,\n outcome: WebhookEndpointProbeOutcome.NOT_SENT,\n failureReason: 'JWT signing failed: application webhook key unavailable',\n durationMs: 0,\n signatureJti: 'probe_01HX2NOTSENT',\n attemptedAt: '2026-06-14T12:08:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'Endpoint accepts the probe, but over plaintext HTTP',\n request: { endpointId: 'whe_legacy_plaintext' },\n response: {\n endpointId: 'whe_legacy_plaintext',\n url: 'http://legacy.example.com/wildo',\n // The case this field exists for (#492). A working endpoint AND a credential on the\n // wire — `ACCEPTED` is the truthful outcome, and reporting the exposure as a failure\n // would be false, so the two are stated separately.\n transportIsPlaintext: true,\n outcome: WebhookEndpointProbeOutcome.ACCEPTED,\n responseStatus: 200,\n responseBodyTruncated: 'ok',\n durationMs: 77,\n signatureJti: 'probe_01HX2PLAINTEXT',\n attemptedAt: '2026-06-14T12:09:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n businessConstraints: [\n 'Each scope owns at most one config row: treat this as a singleton resource, not a list resource with arbitrary many configs.',\n 'Because deliveries are multi-endpoint, keep endpoint ids stable: deleting an endpoint that still has log rows will break referential explainability in the delivery log view.',\n '`testEndpoint` probes travel the SAME signed transport as real deliveries (same key, same claim shape, same `X-Webhook-Signature` header). That is the point: a probe reaching the endpoint by a separate code path would attest to that path rather than to the delivery path. Do not give the probe its own HTTP client.',\n 'Probe traffic is marked synthetic on BOTH the body (`synthetic: true` plus explanatory text) and the signed claims, so a consumer can hard-refuse it on the verified envelope rather than on body text. Wildo is POSTing to a customer’s production listener; a probe indistinguishable from a real event invites consumers to act on a fake one.',\n 'A DISABLED endpoint is still probed. \"Validate before enabling\" is the primary workflow this operation exists for, and refusing would force an admin to enable an unverified URL in order to verify it.',\n 'Every attempt — successful or not — is recorded as a `WEBHOOK_ENDPOINT_TEST_DISPATCHED` audit event carrying the actor, scope, endpoint, outcome and destination HOST (never the full URL: customer endpoint paths routinely embed per-tenant tokens, and audit rows replicate to the org SIEM and the immutable store).',\n ],\n }),\n { resourcePrimaryScope: webhookConfigResourcePrimaryScope[resourceType] },\n );\n}\n\n/**\n * Compose the backend-semantics base with the frontend ui-behavior so the spec\n * can DOCUMENT the sectioned READ layout the preset declares. The section refs\n * (`status` / `endpoints` / `verification`) MUST equal the preset's\n * `layout.refs.sections` for this resource — `validateStructuralSlotDescriptions`\n * enforces the match bidirectionally at companion load (mirrors the SIEM config).\n */\nfunction buildWebhookConfigSpecification(\n resourceType: WebhookConfigResourceType,\n memberName: WebhookConfigResourceTypeMember,\n) {\n const base = buildWebhookConfigBaseSpecification(resourceType, memberName);\n const main = resolveWebhookConfigUI(webhooksMainPresets as Partial<Record<string, unknown>>, resourceType, 'webhooksMainPresets');\n const admin = resolveWebhookConfigUI(webhooksAdminPresets as Partial<Record<string, unknown>>, resourceType, 'webhooksAdminPresets');\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(main), resourceFrontendConfiguration(admin)),\n base,\n () => ({\n layout: {\n purpose: 'The webhook config READ groups the singleton into `status`, `endpoints`, and `verification` sections so an admin reasons about the integration top-down: is it on, where does it deliver, how do receivers verify signatures.',\n displayPurpose: 'Read template renders the same three sections in that order; timestamps and the surrogate id are intentionally omitted from the curated admin read.',\n sections: {\n status: {\n purpose: 'The master `enabled` kill-switch for outbound delivery in this scope.',\n whenToUse: 'First decision: pause or resume all deliveries without editing endpoints.',\n textSlots: {\n title: { purpose: 'Name the “deliveries on / paused” card.' },\n description: { purpose: 'Clarify that disabling stops new deliveries but keeps the endpoint configuration intact.' },\n },\n },\n endpoints: {\n purpose: 'The admin-configured destination URLs, each with its own enable bit and stable `endpointId`.',\n whenToUse: 'Adding, disabling, or auditing where M2M events fan out.',\n textSlots: {\n title: { purpose: 'Label the destinations / endpoints block.' },\n description: { purpose: 'Note that each enabled endpoint receives every dispatched event; disabled endpoints are skipped per delivery.' },\n },\n },\n verification: {\n purpose: 'The derived `applicationPublicKeyPem` receivers use to verify the JWT `X-Webhook-Signature`.',\n whenToUse: 'When a receiver sets up or rotates signature verification.',\n textSlots: {\n title: { purpose: 'Label the signature-verification key block.' },\n description: { purpose: 'Read-only; the public half of the app webhook signing key, refreshed on read after rotation.' },\n },\n },\n },\n },\n }),\n );\n}\n\nexport const organizationWebhookConfigResourceSpecification = buildWebhookConfigSpecification(\n CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG,\n 'ORGANIZATION_WEBHOOK_CONFIG',\n);\n\nexport const applicationWebhookConfigResourceSpecification = buildWebhookConfigSpecification(\n CoreResourceType.APPLICATION_WEBHOOK_CONFIG,\n 'APPLICATION_WEBHOOK_CONFIG',\n);\n"]}
1
+ {"version":3,"file":"webhook-config.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/notifications/resources/webhook-config.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EACvB,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEzF,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAE/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAQ3E,MAAM,iCAAiC,GAA4D;IACjG,CAAC,gBAAgB,CAAC,2BAA2B,CAAC,EAAE,oBAAoB,CAAC,aAAa;IAClF,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,EAAE,oBAAoB,CAAC,WAAW;CAChF,CAAC;AAcF;;;;GAIG;AACH,SAAS,sBAAsB,CAC7B,MAAwC,EACxC,YAAuC,EACvC,UAAkB;IAElB,MAAM,EAAE,GAAG,MAAM,CAAC,YAAY,CAAgC,CAAC;IAC/D,IAAI,CAAC,EAAE,EAAE,CAAC;QACR,MAAM,IAAI,KAAK,CAAC,YAAY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2B,EAC5C,6BAA6B,CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,6CAA6C,GAAG,+BAA+B,CAC1F,gBAAgB,CAAC,0BAA0B,EAC3C,4BAA4B,CAC7B,CAAC","sourcesContent":["/**\n * Resources: `organizationWebhookConfig` + `applicationWebhookConfig` — Wildo SaaS engine specification (backend-only).\n *\n * Polymorphic ORG + APP pair sharing `WebhookConfigBaseSchema` and `webhookConfigPolymorphicFactories` (one spec export per\n * `CoreResourceType`, single authoring file, SSO-style split exports).\n *\n * Inputs:\n * - Base schema: engine/saas-models/src/notifications/m2m/webhook-config.shared.schemas.ts → `WebhookConfigBaseSchema`\n * - Polymorphic map: `webhookConfigPolymorphicFactories` (same file family as\n * `webhook-config.shared.resources-config.schemas.ts`)\n * - Custom operations: `WebhookConfig_Operations` (`testEndpoint` synthetic delivery)\n * - UI presets: `webhooksMainPresets` / `webhooksAdminPresets`\n * (engine/presets-components/src/config/resources/webhooks.resource-presets.tsx) —\n * sectioned READ layout (`status` / `endpoints` / `verification`), surfaced in the\n * org Settings Hub `webhooks` section. The spec is frontend-configured (mirrors the\n * SIEM config): the `frontend.layout.sections` documented below MUST equal the\n * preset's `layout.refs.sections` — `validateStructuralSlotDescriptions` enforces\n * the match bidirectionally at companion load. Edit both sides together.\n */\n\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n WebhookConfig_Operations,\n WebhookConfigBaseSchema,\n WebhookEndpointProbeOutcome,\n webhookConfigPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport { webhooksAdminPresets, webhooksMainPresets } from '@wildo-ai/presets-components';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n type ResourceSpecificationConfig,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype WebhookConfigResourceType =\n | CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG\n | CoreResourceType.APPLICATION_WEBHOOK_CONFIG;\n\ntype WebhookConfigResourceTypeMember = 'ORGANIZATION_WEBHOOK_CONFIG' | 'APPLICATION_WEBHOOK_CONFIG';\n\nconst webhookConfigResourcePrimaryScope: Record<WebhookConfigResourceType, ResourcePrimaryScope> = {\n [CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_WEBHOOK_CONFIG]: ResourcePrimaryScope.APPLICATION,\n};\n\ntype WebhookCfg = ReturnType<\n (typeof webhookConfigPolymorphicFactories)[CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG]\n>;\ntype WebhookConfigCustomOp = NonNullable<WebhookCfg['customOperation']>;\n// Derive from the factory's coreOperations so the spec tracks config changes\n// (e.g. the REPOSITORY_ONLY DELETE for the onParentDelete cascade) automatically,\n// rather than a hand-maintained union that silently drifts out of sync.\ntype WebhookConfigCoreOp = WebhookCfg['coreOperations'][number];\ntype WebhookConfigMain = typeof WebhookConfigBaseSchema;\n\ntype WebhookFrontend = ResourceUIBehaviorConfig<WebhookConfigCustomOp, WebhookConfigCoreOp, WebhookConfigMain>;\n\n/**\n * Extract the merged ui-behavior for one webhook-config variant from a presets\n * bundle. The presets declare both scope variants (ORG addressable, APP demoted),\n * so this resolves either; a missing entry is an authoring error, surfaced loudly.\n */\nfunction resolveWebhookConfigUI(\n source: Partial<Record<string, unknown>>,\n resourceType: WebhookConfigResourceType,\n sourceName: string,\n): WebhookFrontend {\n const ui = source[resourceType] as WebhookFrontend | undefined;\n if (!ui) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return ui;\n}\n\nfunction buildWebhookConfigBaseSpecification(\n resourceType: WebhookConfigResourceType,\n memberName: WebhookConfigResourceTypeMember,\n): ResourceSpecificationConfig<WebhookConfigCustomOp, WebhookConfigCoreOp, WebhookConfigMain> {\n const isOrganizationScope = resourceType === CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG;\n const scopeLabel = isOrganizationScope ? 'organization' : 'application';\n const scopeId = isOrganizationScope ? 'org_acme' : 'app_wonder_todos';\n const scopeFieldName = isOrganizationScope ? 'organizationId' : 'applicationId';\n const readExample = {\n _id: 'whc_01HX2EXAMPLE',\n enabled: true,\n endpoints: [\n {\n id: 'whe_primary_partner',\n url: 'https://hooks.example.com/wildo',\n description: 'Primary partner listener',\n enabled: true,\n createdAt: '2026-06-14T12:00:00.000Z',\n updatedAt: '2026-06-14T12:00:00.000Z',\n },\n ],\n applicationPublicKeyPem: '-----BEGIN PUBLIC KEY-----\\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AEXAMPLE\\n-----END PUBLIC KEY-----',\n createdAt: '2026-06-14T12:00:00.000Z',\n updatedAt: '2026-06-14T12:00:00.000Z',\n [scopeFieldName]: scopeId,\n };\n\n return resourceSpecification<WebhookConfigCustomOp, WebhookConfigCoreOp, WebhookConfigMain>(\n webhookConfigPolymorphicFactories[resourceType],\n WebhookConfigBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Store tenant-level M2M webhook configuration (endpoints, master enable flag, and derived verification material) for outbound `WEBHOOK_ORGANIZATION` or `WEBHOOK_APPLICATION` delivery.',\n businessRole: 'Singleton-per-scope config row that the dispatcher and admin UI use to know where to POST JSON payloads and which endpoints are still enabled.',\n lifecycleRole: 'Seeded as a REPOSITORY-only create per org/app, then maintained by admins (UPDATE) and read for diagnostics; test deliveries exercise connectivity without writing delivery log rows.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'WebhookConfigBaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactoryCollectionEntry: {\n collectionSymbol: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'webhookConfigPolymorphicFactories',\n symbolKind: CodeSymbolKind.FACTORY,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName,\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'WebhookConfig_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'Factory entry is selected by `webhookConfigPolymorphicFactories[CoreResourceType.*]`; `identifierField: \"collectionKey\"` follows the engine polymorphic map convention (see SSO + billing polymorphic specs).',\n 'The runtime injects the scope FK (`organizationId` or `applicationId`) — never list those columns on the base Zod object.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Singleton document id for the webhook config record in this scope’s MongoDB collection.',\n importance: FieldSemanticImportance.PRIMARY,\n semanticRole: 'identifier',\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Global kill-switch: when `false`, the dispatcher does not attempt deliveries regardless of per-endpoint flags.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n endpoints: schemaShape.endpoints.arraySpec({\n meaning: 'Admin-configured destination URLs, each with its own `enabled` bit and `endpointId` for delivery-log provenance.',\n whyItMatters: 'M2M events fan out to every enabled row; disabled endpoints are skipped per dispatch.',\n elementMeaning: 'One `WebhookEndpointSchema` (id, url, description, flags, created/updated timestamps).',\n elementType: {\n notes: [\n 'Element schema: `WebhookEndpointSchema` in `engine/saas-models/src/notifications/m2m/webhook-config.shared.schemas.ts`.',\n ],\n },\n }),\n applicationPublicKeyPem: schemaShape.applicationPublicKeyPem.stringSpec({\n meaning: 'PEM public half of `JwtPrivateKeys.APPLICATION_WEBHOOK`, surfaced on READ so customers verify JWT `x-wildo-webhook-signature` bodies.',\n whyItMatters: 'Downstream verifiers need the public key without out-of-band secret sharing; key rotation re-reads from app config on every READ per postfix hook.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({\n meaning: 'When the singleton config record was first inserted.',\n temporalRole: 'creation',\n }),\n updatedAt: schemaShape.updatedAt.dateSpec({\n meaning: 'When the record last changed (endpoint list edits, `enabled` toggles, or hook refreshes).',\n temporalRole: 'modified',\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Return the org- or app-scoped config including endpoints and the derived public key material.',\n outcome: 'Admins and automated smoke tests can verify the runtime wiring before shipping traffic.',\n whenToUse: 'Use from admin UIs, CLI diagnostics, and health checks; requires org-admin or app-super-admin roles per variant.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The singleton webhook config for this scope is returned, including the endpoint list and the derived `applicationPublicKeyPem` for signature verification.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No webhook config has been seeded for this org/app scope yet (the singleton row does not exist).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin (ORG variant) or app-super-admin (APP variant) role required to read webhook configuration.' },\n ],\n idempotent: true,\n examples: [\n {\n title: `Read the active ${scopeLabel} webhook configuration`,\n response: readExample,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [Op.CREATE]: {\n purpose: 'Seed the singleton config document when a new org/app is provisioned and the collection is empty.',\n outcome: 'A baseline disabled config exists so the dispatcher can load structured rows without null-check sprawl.',\n whenToUse: 'Repository-only path — not an HTTP public create; used by system seeds or platform bootstrap runs.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The baseline (disabled) singleton config record was seeded for this scope and returned. Internal/service write path — system seeds or platform bootstrap run this, not a public HTTP create.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seed payload fails schema validation (e.g. a non-HTTPS endpoint URL or a malformed endpoint entry).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-system/non-admin caller attempts to seed the config row.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A webhook config already exists for this scope — the resource is a singleton-per-scope, so a second seed collides with the existing row.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Seed a disabled webhook config with one endpoint',\n request: {\n enabled: false,\n endpoints: [\n { url: 'https://hooks.example.com/wildo', description: 'Primary partner listener', enabled: true },\n ],\n },\n response: {\n _id: 'whc_01HX2…',\n enabled: false,\n endpoints: [\n { id: 'whe_01HX2…', url: 'https://hooks.example.com/wildo', enabled: true },\n ],\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Persist endpoint URL edits, enable toggles, and metadata updates for the current scope’s singleton.',\n outcome: 'The next M2M notification fire sees the new routing truth immediately after commit.',\n whenToUse: 'Use in admin “save endpoints” flows or through trusted automation. This IS the generic PUT, and it is the only caller: the variant was REPOSITORY_ONLY — route-less — with no engine service reaching it either, so the pane that exists to edit these endpoints could not save. Gated on org-admin / app-super-admin.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The endpoint list / `enabled` toggles / metadata were persisted and the updated singleton config is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited endpoints or flags fail schema validation (e.g. a non-HTTPS URL or a duplicate endpoint id).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin / app-super-admin role required to change webhook configuration.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No webhook config has been seeded for this scope to update.' },\n ],\n idempotent: true,\n rateLimitNote: 'Endpoint edits can rotate the signing key material read on every READ; throttle rapid save cycles so downstream verifiers are not churned by repeated key changes.',\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the webhook config row when its owning org/app is deleted (composition `onParentDelete` cascade).',\n outcome: 'The one-per-scope config row is removed together with its parent — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The webhook config record was deleted as part of the deletion cascade of its owning scope.' },\n ],\n // REPOSITORY_ONLY variant (org/app admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n [WebhookConfig_Operations.TEST_ENDPOINT]: {\n operationId: WebhookConfig_Operations.TEST_ENDPOINT,\n purpose: 'Send a single synthetic request to a chosen `endpointId` to check reachability and the receiver response (does not create `M2MWebhookDeliveryLog` rows). Borrows UPDATE (a `PUT` on the custom-op sub-path) rather than READ: no row is written, but a live signed request leaves the platform, and a `GET` for that was a contradiction the generated contract had to spell out as `x-idempotent: false`.',\n outcome: 'Admins can validate connectivity in isolation before real notification traffic is enabled. The response is a diagnostic — `outcome` (`accepted` / `rejected` / `unreachable` / `not_sent`), plus response status, truncated response body, failure reason, duration, the probe’s `signatureJti` for correlation against the consumer’s own logs, and `transportIsPlaintext` — NOT the configuration row. `transportIsPlaintext` is independent of `outcome`: an endpoint on `http://` can answer `accepted` and still be sending the delivery signature in the clear, where it is readable and replayable until it expires. Plaintext endpoints are admitted deliberately (see `WebhookEndpointSchema.url`), so this probe is where that admission is surfaced to the admin who can act on it.',\n whenToUse: 'Run after any URL/secret/rotation event that could break downstream listeners.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The synthetic request was attempted and a diagnostic result (reachability and response status; signature verification is only established if the receiver performs it) is returned — a transport-level failure at the customer endpoint is still a 200 carrying the diagnostic, not an API error. `not_sent` likewise answers 200: the payload could not be signed, which is a platform-side key fault reported distinctly so it is never misread as a broken customer endpoint.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No webhook config exists for this scope, or the supplied `endpointId` is not present in the config’s endpoint list.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin / app-super-admin role required to fire a test delivery.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'No `endpointId` was supplied, or the stored endpoint is incomplete (e.g. missing URL), so no meaningful test can be sent.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.TOO_MANY_REQUESTS_429, when: 'The per-endpoint probe budget for the current window is exhausted. Also returned when the rate-limit store is unreachable: this operation fails CLOSED, because running an egress primitive unmetered is worse than refusing it.' },\n ],\n idempotent: false,\n rateLimitNote: 'ENFORCED, not advisory: at most 5 probes per endpoint per 60s, keyed on scope + `endpointId` (the resource being protected is the customer’s listener, which does not care which admin is iterating). Exceeding it returns 429 with `retryAfterSeconds`.',\n examples: [\n {\n title: 'Endpoint accepts the signed probe',\n request: { endpointId: 'whe_primary_partner' },\n response: {\n endpointId: 'whe_primary_partner',\n url: 'https://hooks.example.com/wildo',\n transportIsPlaintext: false,\n outcome: WebhookEndpointProbeOutcome.ACCEPTED,\n responseStatus: 202,\n responseBodyTruncated: 'queued',\n durationMs: 84,\n signatureJti: 'probe_01HX2ACCEPTED',\n attemptedAt: '2026-06-14T12:05:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'Endpoint rejects the signed probe',\n request: { endpointId: 'whe_primary_partner' },\n response: {\n endpointId: 'whe_primary_partner',\n url: 'https://hooks.example.com/wildo',\n transportIsPlaintext: false,\n outcome: WebhookEndpointProbeOutcome.REJECTED,\n responseStatus: 401,\n responseBodyTruncated: 'invalid signature',\n durationMs: 61,\n signatureJti: 'probe_01HX2REJECTED',\n attemptedAt: '2026-06-14T12:06:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'Endpoint cannot be reached',\n request: { endpointId: 'whe_primary_partner' },\n response: {\n endpointId: 'whe_primary_partner',\n url: 'https://hooks.example.com/wildo',\n transportIsPlaintext: false,\n outcome: WebhookEndpointProbeOutcome.UNREACHABLE,\n failureReason: 'fetch failed: connect ECONNREFUSED',\n durationMs: 10003,\n signatureJti: 'probe_01HX2UNREACHABLE',\n attemptedAt: '2026-06-14T12:07:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'Probe is not sent because signing fails',\n request: { endpointId: 'whe_primary_partner' },\n response: {\n endpointId: 'whe_primary_partner',\n url: 'https://hooks.example.com/wildo',\n transportIsPlaintext: false,\n outcome: WebhookEndpointProbeOutcome.NOT_SENT,\n failureReason: 'JWT signing failed: application webhook key unavailable',\n durationMs: 0,\n signatureJti: 'probe_01HX2NOTSENT',\n attemptedAt: '2026-06-14T12:08:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'Endpoint accepts the probe, but over plaintext HTTP',\n request: { endpointId: 'whe_legacy_plaintext' },\n response: {\n endpointId: 'whe_legacy_plaintext',\n url: 'http://legacy.example.com/wildo',\n // The case this field exists for (#492). A working endpoint AND a credential on the\n // wire — `ACCEPTED` is the truthful outcome, and reporting the exposure as a failure\n // would be false, so the two are stated separately.\n transportIsPlaintext: true,\n outcome: WebhookEndpointProbeOutcome.ACCEPTED,\n responseStatus: 200,\n responseBodyTruncated: 'ok',\n durationMs: 77,\n signatureJti: 'probe_01HX2PLAINTEXT',\n attemptedAt: '2026-06-14T12:09:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n businessConstraints: [\n 'Each scope owns at most one config row: treat this as a singleton resource, not a list resource with arbitrary many configs.',\n 'Because deliveries are multi-endpoint, keep endpoint ids stable: deleting an endpoint that still has log rows will break referential explainability in the delivery log view.',\n '`testEndpoint` probes travel the SAME signed transport as real deliveries (same key, same claim shape, same `x-wildo-webhook-signature` header). That is the point: a probe reaching the endpoint by a separate code path would attest to that path rather than to the delivery path. Do not give the probe its own HTTP client.',\n 'Probe traffic is marked synthetic on BOTH the body (`synthetic: true` plus explanatory text) and the signed claims, so a consumer can hard-refuse it on the verified envelope rather than on body text. Wildo is POSTing to a customer’s production listener; a probe indistinguishable from a real event invites consumers to act on a fake one.',\n 'A DISABLED endpoint is still probed. \"Validate before enabling\" is the primary workflow this operation exists for, and refusing would force an admin to enable an unverified URL in order to verify it.',\n 'Every attempt — successful or not — is recorded as a `WEBHOOK_ENDPOINT_TEST_DISPATCHED` audit event carrying the actor, scope, endpoint, outcome and destination HOST (never the full URL: customer endpoint paths routinely embed per-tenant tokens, and audit rows replicate to the org SIEM and the immutable store).',\n ],\n }),\n { resourcePrimaryScope: webhookConfigResourcePrimaryScope[resourceType] },\n );\n}\n\n/**\n * Compose the backend-semantics base with the frontend ui-behavior so the spec\n * can DOCUMENT the sectioned READ layout the preset declares. The section refs\n * (`status` / `endpoints` / `verification`) MUST equal the preset's\n * `layout.refs.sections` for this resource — `validateStructuralSlotDescriptions`\n * enforces the match bidirectionally at companion load (mirrors the SIEM config).\n */\nfunction buildWebhookConfigSpecification(\n resourceType: WebhookConfigResourceType,\n memberName: WebhookConfigResourceTypeMember,\n) {\n const base = buildWebhookConfigBaseSpecification(resourceType, memberName);\n const main = resolveWebhookConfigUI(webhooksMainPresets as Partial<Record<string, unknown>>, resourceType, 'webhooksMainPresets');\n const admin = resolveWebhookConfigUI(webhooksAdminPresets as Partial<Record<string, unknown>>, resourceType, 'webhooksAdminPresets');\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(main), resourceFrontendConfiguration(admin)),\n base,\n () => ({\n layout: {\n purpose: 'The webhook config READ groups the singleton into `status`, `endpoints`, and `verification` sections so an admin reasons about the integration top-down: is it on, where does it deliver, how do receivers verify signatures.',\n displayPurpose: 'Read template renders the same three sections in that order; timestamps and the surrogate id are intentionally omitted from the curated admin read.',\n sections: {\n status: {\n purpose: 'The master `enabled` kill-switch for outbound delivery in this scope.',\n whenToUse: 'First decision: pause or resume all deliveries without editing endpoints.',\n textSlots: {\n title: { purpose: 'Name the “deliveries on / paused” card.' },\n description: { purpose: 'Clarify that disabling stops new deliveries but keeps the endpoint configuration intact.' },\n },\n },\n endpoints: {\n purpose: 'The admin-configured destination URLs, each with its own enable bit and stable `endpointId`.',\n whenToUse: 'Adding, disabling, or auditing where M2M events fan out.',\n textSlots: {\n title: { purpose: 'Label the destinations / endpoints block.' },\n description: { purpose: 'Note that each enabled endpoint receives every dispatched event; disabled endpoints are skipped per delivery.' },\n },\n },\n verification: {\n purpose: 'The derived `applicationPublicKeyPem` receivers use to verify the JWT `x-wildo-webhook-signature`.',\n whenToUse: 'When a receiver sets up or rotates signature verification.',\n textSlots: {\n title: { purpose: 'Label the signature-verification key block.' },\n description: { purpose: 'Read-only; the public half of the app webhook signing key, refreshed on read after rotation.' },\n },\n },\n },\n },\n }),\n );\n}\n\nexport const organizationWebhookConfigResourceSpecification = buildWebhookConfigSpecification(\n CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG,\n 'ORGANIZATION_WEBHOOK_CONFIG',\n);\n\nexport const applicationWebhookConfigResourceSpecification = buildWebhookConfigSpecification(\n CoreResourceType.APPLICATION_WEBHOOK_CONFIG,\n 'APPLICATION_WEBHOOK_CONFIG',\n);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"authentication.system-emails.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/notifications/system-emails/authentication.system-emails.specification.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,sCAAsC,EAC5C,MAAM,6BAA6B,CAAC;AAgCrC,eAAO,MAAM,uCAAuC,wCAwCnD,CAAC;AAEF,eAAO,MAAM,wCAAwC,wCAyCpD,CAAC;AAEF,eAAO,MAAM,4CAA4C,wCAiCxD,CAAC;AAEF,eAAO,MAAM,mCAAmC,wCAwC/C,CAAC;AAEF,eAAO,MAAM,oCAAoC,wCAyChD,CAAC;AAEF,eAAO,MAAM,+CAA+C,EAAE,sCAAsC,EAMnG,CAAC"}
1
+ {"version":3,"file":"authentication.system-emails.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/notifications/system-emails/authentication.system-emails.specification.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,sCAAsC,EAC5C,MAAM,6BAA6B,CAAC;AAgCrC,eAAO,MAAM,uCAAuC,wCAwCnD,CAAC;AAEF,eAAO,MAAM,wCAAwC,wCAyCpD,CAAC;AAEF,eAAO,MAAM,4CAA4C,wCAiCxD,CAAC;AAEF,eAAO,MAAM,mCAAmC,wCAwC/C,CAAC;AAEF,eAAO,MAAM,oCAAoC,wCAyChD,CAAC;AAEF,eAAO,MAAM,+CAA+C,EAAE,sCAAsC,EAMnG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/engine/notifications/system-emails/index.ts"],"names":[],"mappings":"AAMA,cAAc,8CAA8C,CAAC;AAC7D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wCAAwC,CAAC;AACvD,cAAc,4CAA4C,CAAC;AAE3D;;;;;;GAMG;AACH,eAAO,MAAM,uCAAuC,wEAKnD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/notifications/system-emails/index.ts"],"names":[],"mappings":"AAMA,cAAc,8CAA8C,CAAC;AAC7D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wCAAwC,CAAC;AACvD,cAAc,4CAA4C,CAAC;AAE3D;;;;;;GAMG;AACH,eAAO,MAAM,uCAAuC,wEAKnD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"organization.system-emails.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/notifications/system-emails/organization.system-emails.specification.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,sCAAsC,EAC5C,MAAM,6BAA6B,CAAC;AAgCrC,eAAO,MAAM,iDAAiD,wCAsC7D,CAAC;AAEF,eAAO,MAAM,oDAAoD,wCAmChE,CAAC;AAEF,eAAO,MAAM,6CAA6C,EAAE,sCAAsC,EAGjG,CAAC"}
1
+ {"version":3,"file":"organization.system-emails.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/notifications/system-emails/organization.system-emails.specification.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,sCAAsC,EAC5C,MAAM,6BAA6B,CAAC;AAgCrC,eAAO,MAAM,iDAAiD,wCAsC7D,CAAC;AAEF,eAAO,MAAM,oDAAoD,wCAmChE,CAAC;AAEF,eAAO,MAAM,6CAA6C,EAAE,sCAAsC,EAGjG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"security.system-emails.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/notifications/system-emails/security.system-emails.specification.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,sCAAsC,EAC5C,MAAM,6BAA6B,CAAC;AAgCrC,eAAO,MAAM,wCAAwC,wCA0CpD,CAAC;AAEF,eAAO,MAAM,yCAAyC,wCAwCrD,CAAC;AAEF,eAAO,MAAM,yCAAyC,EAAE,sCAAsC,EAG7F,CAAC"}
1
+ {"version":3,"file":"security.system-emails.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/notifications/system-emails/security.system-emails.specification.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,sCAAsC,EAC5C,MAAM,6BAA6B,CAAC;AAgCrC,eAAO,MAAM,wCAAwC,wCA0CpD,CAAC;AAEF,eAAO,MAAM,yCAAyC,wCAwCrD,CAAC;AAEF,eAAO,MAAM,yCAAyC,EAAE,sCAAsC,EAG7F,CAAC"}
@@ -31,7 +31,7 @@ const EVENT_DATA_SCHEMA_SYMBOL = {
31
31
  export const securityAlertSystemTemplateSpecification = systemEmailTemplateSpecificationFromRegistryEntry(SystemEmailTemplateRegistry[SystemEmailTemplateRef.SECURITY_ALERT], () => ({
32
32
  purpose: 'Tell the account owner that a sensitive security event just happened on their account and help them react quickly if it was not them.',
33
33
  tone: 'Authoritative, calm, and action-oriented — the recipient must trust the signal immediately without spiraling into panic.',
34
- useWhen: 'Use for any value of the runtime `alertType` enum — `suspicious_login`, `password_changed`, `mfa_disabled`, `new_api_key`, or `other` — that needs account-owner awareness.',
34
+ useWhen: 'Use for any `SecurityAlertType` that needs account-owner awareness. Sent today, always after the change is made and never failing it: `authenticator_added` when a way to sign in is added to an existing account (passkey registration, TOTP confirmation, phone confirmation, a password set, a social account auto-linked by its verified email, an enterprise identity newly linked to an already-active account), as NIST SP 800-63B-4 Sec. 4.1.2.1 requires; `authenticator_removed` when the account holder removes a passkey or unlinks an identity, `mfa_disabled` when they turn TOTP off, and `password_changed` on an in-session change or a completed reset, the notice Sec. 4.5 recommends. `suspicious_login`, `new_api_key` and `other` have words but no sender yet.',
35
35
  avoidWhen: 'Do not use for routine device-login notifications; those live in the dedicated new-device-login template.',
36
36
  textSlots: {
37
37
  subject: {
@@ -42,7 +42,7 @@ export const securityAlertSystemTemplateSpecification = systemEmailTemplateSpeci
42
42
  notes: ['Never include precise IP addresses, device fingerprints, or full alert descriptions in the preview.'],
43
43
  },
44
44
  body: {
45
- purpose: 'Short paragraph explaining what kind of event happened, referencing the `alertType` category in natural language. The category is one of `suspicious_login`, `password_changed`, `mfa_disabled`, `new_api_key`, or `other` — translate each as a human sentence without broadening the semantics.',
45
+ purpose: 'Short paragraph explaining what kind of event happened, in the words the template labels author for each `SecurityAlertType` (`suspicious_login`, `password_changed`, `mfa_disabled`, `new_api_key`, `authenticator_added`, `authenticator_removed`, `other`). For `authenticator_added` and `authenticator_removed` it names which authenticator, from `eventData.authMethod`, and says "a sign-in method" when the sender cannot name one. Never broaden a kind\'s meaning.',
46
46
  },
47
47
  eventDetailsLabel: {
48
48
  purpose: 'Label for the structured details block that surfaces timestamp and, when available, IP address and location.',
@@ -55,7 +55,7 @@ export const securityAlertSystemTemplateSpecification = systemEmailTemplateSpeci
55
55
  },
56
56
  },
57
57
  eventData: {
58
- purpose: 'Alert category, human-readable description, timestamp, optional IP and location, and the security-settings URL.',
58
+ purpose: 'Alert kind, the authenticator concerned for `authenticator_added`, `authenticator_removed` and `mfa_disabled` (optional), timestamp, optional IP and location, and an optional security-settings URL. There is no caller-written description: every sentence comes from the template labels, so it can be translated and reworded.',
59
59
  notes: ['Treat `alertType` as a translatable category identifier; do not surface the raw enum value.'],
60
60
  },
61
61
  businessConstraints: [
@@ -1 +1 @@
1
- {"version":3,"file":"security.system-emails.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/notifications/system-emails/security.system-emails.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,cAAc,GAEf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,iDAAiD,EACjD,sBAAsB,GAGvB,MAAM,6BAA6B,CAAC;AAErC;;;;;;;;;GASG;AACH,MAAM,gBAAgB,GAA0B;IAC9C,OAAO,EAAE,QAAQ;IACjB,SAAS,EAAE,sBAAsB,CAAC,MAAM;CACzC,CAAC;AAEF,MAAM,wBAAwB,GAAkB;IAC9C,WAAW,EAAE,uBAAuB;IACpC,UAAU,EAAE,wBAAwB;IACpC,UAAU,EAAE,cAAc,CAAC,IAAI;IAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;CACrD,CAAC;AAEF,MAAM,wBAAwB,GAAkB;IAC9C,WAAW,EAAE,uBAAuB;IACpC,UAAU,EAAE,6BAA6B;IACzC,UAAU,EAAE,cAAc,CAAC,MAAM;IACjC,eAAe,EAAE,mBAAmB,CAAC,YAAY;IACjD,KAAK,EAAE,CAAC,mGAAmG,CAAC;CAC7G,CAAC;A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AAE;YACJ,OAAO,EAAE,2HAA2H;SACrI;QACD,kBAAkB,EAAE;YAClB,OAAO,EAAE,oHAAoH;SAC9H;QACD,QAAQ,EAAE;YACR,OAAO,EAAE,+EAA+E;SACzF;QACD,mBAAmB,EAAE;YACnB,OAAO,EAAE,wGAAwG;SAClH;KACF;IACD,SAAS,EAAE;QACT,OAAO,EAAE,sGAAsG;QAC/G,KAAK,EAAE,CAAC,0GAA0G,CAAC;KACpH;IACD,mBAAmB,EAAE;QACnB,0FAA0F;KAC3F;IACD,YAAY,EAAE;QACZ,eAAe,EAAE,gBAAgB;QACjC,sBAAsB,EAAE,wBAAwB;QAChD,qBAAqB,EAAE,wBAAwB;KAChD;CACF,CAAC,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAA6C;IACjG,wCAAwC;IACxC,yCAAyC;CAC1C,CAAC","sourcesContent":["import {\n CodeDeclarationKind,\n CodeSymbolKind,\n type CodeSymbolRef,\n} from '@wildo-ai/zod-decorators';\nimport {\n SystemEmailTemplateRef,\n SystemEmailTemplateRegistry,\n} from '@wildo-ai/saas-models';\nimport {\n systemEmailTemplateSpecificationFromRegistryEntry,\n SpecificationOwnerKind,\n type SpecificationOwnerRef,\n type SystemEmailTemplateSpecificationConfig,\n} from '~wildo-specifications/_core';\n\n/**\n * Owner ref for engine-shipped system-email template specifications.\n *\n * Mirrors the engine-author bucket used by `engine/features/_engine-feature-shared.ts`\n * and `engine/roles/_engine-role-shared.ts`. Kept inlined per family for\n * grep-friendliness — every engine spec family declares its own typed\n * `ENGINE_OWNER_REF` constant rather than sharing a single import, so a\n * grep for `ENGINE_OWNER_REF` in any one family file lands on the local\n * source-of-truth without crossing module boundaries.\n */\nconst ENGINE_OWNER_REF: SpecificationOwnerRef = {\n ownerId: 'engine',\n ownerKind: SpecificationOwnerKind.ENGINE,\n};\n\nconst TEMPLATE_REF_DECLARATION: CodeSymbolRef = {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SystemEmailTemplateRef',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n};\n\nconst EVENT_DATA_SCHEMA_SYMBOL: CodeSymbolRef = {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SystemEmailTemplateRegistry',\n symbolKind: CodeSymbolKind.CONFIG,\n declarationKind: CodeDeclarationKind.CONST_OBJECT,\n notes: ['Look up the entry by `SystemEmailTemplateRef.*` to reach the `eventDataSchema` for this template.'],\n};\n\nexport const securityAlertSystemTemplateSpecification = systemEmailTemplateSpecificationFromRegistryEntry(\n SystemEmailTemplateRegistry[SystemEmailTemplateRef.SECURITY_ALERT],\n () => ({\n purpose: 'Tell the account owner that a sensitive security event just happened on their account and help them react quickly if it was not them.',\n tone: 'Authoritative, calm, and action-oriented — the recipient must trust the signal immediately without spiraling into panic.',\n useWhen: 'Use for any value of the runtime `alertType` enum — `suspicious_login`, `password_changed`, `mfa_disabled`, `new_api_key`, or `other` — that needs account-owner awareness.',\n avoidWhen: 'Do not use for routine device-login notifications; those live in the dedicated new-device-login template.',\n textSlots: {\n subject: {\n purpose: 'Signal that a security event was detected, without leaking exploitable detail in the inbox preview.',\n },\n previewText: {\n purpose: 'Short preview that names the alert category in generic terms and invites the recipient to open.',\n notes: ['Never include precise IP addresses, device fingerprints, or full alert descriptions in the preview.'],\n },\n body: {\n purpose: 'Short paragraph explaining what kind of event happened, referencing the `alertType` category in natural language. The category is one of `suspicious_login`, `password_changed`, `mfa_disabled`, `new_api_key`, or `other` — translate each as a human sentence without broadening the semantics.',\n },\n eventDetailsLabel: {\n purpose: 'Label for the structured details block that surfaces timestamp and, when available, IP address and location.',\n },\n ctaLabel: {\n purpose: 'Primary action label that sends the recipient to `eventData.securitySettingsUrl`.',\n },\n reassuranceFootnote: {\n purpose: 'Closing guidance for the \"this was me\" case that tells the recipient no further action is needed.',\n },\n },\n eventData: {\n purpose: 'Alert category, human-readable description, timestamp, optional IP and location, and the security-settings URL.',\n notes: ['Treat `alertType` as a translatable category identifier; do not surface the raw enum value.'],\n },\n businessConstraints: [\n 'Never expose session tokens, reset URLs, or credentials in this template; they belong to dedicated flows.',\n 'Always treat `ipAddress` and `location` as optional and omit them gracefully when absent.',\n ],\n codeHandling: {\n definitionOwner: ENGINE_OWNER_REF,\n templateRefDeclaration: TEMPLATE_REF_DECLARATION,\n eventDataSchemaSymbol: EVENT_DATA_SCHEMA_SYMBOL,\n },\n }),\n);\n\nexport const newDeviceLoginSystemTemplateSpecification = systemEmailTemplateSpecificationFromRegistryEntry(\n SystemEmailTemplateRegistry[SystemEmailTemplateRef.NEW_DEVICE_LOGIN],\n () => ({\n purpose: 'Let the account owner confirm that a login from a new device was legitimate, and offer a fast path to revoke access if it was not.',\n tone: 'Informational and reassuring with a clear corrective action — most recipients just need acknowledgment, a minority need the revoke CTA to stand out.',\n useWhen: 'Use when a successful authentication came from a device signature the account has not seen recently.',\n avoidWhen: 'Do not use for failed login attempts or broader security alerts; those belong to the security-alert template.',\n textSlots: {\n subject: {\n purpose: 'Signal a new-device login without implying it was necessarily suspicious.',\n },\n previewText: {\n purpose: 'Short preview restating the event category and hinting at the revoke CTA.',\n },\n body: {\n purpose: 'Short paragraph summarizing the login event and giving the recipient a clear \"if this was you, no action needed\" framing.',\n },\n deviceDetailsLabel: {\n purpose: 'Label for the details block showing device type, browser, operating system, IP, optional location, and login time.',\n },\n ctaLabel: {\n purpose: 'Primary action label that sends the recipient to `eventData.revokeAccessUrl`.',\n },\n reassuranceFootnote: {\n purpose: 'Closing line for the recipient who recognizes the device, confirming that no further action is needed.',\n },\n },\n eventData: {\n purpose: 'Device signature (type, browser, OS), IP, optional location, login timestamp, and revoke-access URL.',\n notes: ['The `location` field is optional and sometimes coarse — do not imply exact-address accuracy in the copy.'],\n },\n businessConstraints: [\n 'Never include session tokens or credential URLs; the revoke flow handles access changes.',\n ],\n codeHandling: {\n definitionOwner: ENGINE_OWNER_REF,\n templateRefDeclaration: TEMPLATE_REF_DECLARATION,\n eventDataSchemaSymbol: EVENT_DATA_SCHEMA_SYMBOL,\n },\n }),\n);\n\nexport const securitySystemEmailTemplateSpecifications: SystemEmailTemplateSpecificationConfig[] = [\n securityAlertSystemTemplateSpecification,\n newDeviceLoginSystemTemplateSpecification,\n];\n"]}
1
+ {"version":3,"file":"security.system-emails.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/notifications/system-emails/security.system-emails.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,cAAc,GAEf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,iDAAiD,EACjD,sBAAsB,GAGvB,MAAM,6BAA6B,CAAC;AAErC;;;;;;;;;GASG;AACH,MAAM,gBAAgB,GAA0B;IAC9C,OAAO,EAAE,QAAQ;IACjB,SAAS,EAAE,sBAAsB,CAAC,MAAM;CACzC,CAAC;AAEF,MAAM,wBAAwB,GAAkB;IAC9C,WAAW,EAAE,uBAAuB;IACpC,UAAU,EAAE,wBAAwB;IACpC,UAAU,EAAE,cAAc,CAAC,IAAI;IAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;CACrD,CAAC;AAEF,MAAM,wBAAwB,GAAkB;IAC9C,WAAW,EAAE,uBAAuB;IACpC,UAAU,EAAE,6BAA6B;IACzC,UAAU,EAAE,cAAc,CAAC,MAAM;IACjC,eAAe,EAAE,mBAAmB,CAAC,YAAY;IACjD,KAAK,EAAE,CAAC,mGAAmG,CAAC;CAC7G,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG,iDAAiD,CACvG,2BAA2B,CAAC,sBAAsB,CAAC,cAAc,CAAC,EAClE,GAAG,EAAE,CAAC,CAAC;IACL,OAAO,EAAE,uIAAuI;IAChJ,IAAI,EAAE,0HAA0H;IAChI,OAAO,EAAE,uvBAAuvB;IAChwB,SAAS,EAAE,2GAA2G;IACtH,SAAS,EAAE;QACT,OAAO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CAAC,0GAA0G,CAAC;KACpH;IACD,mBAAmB,EAAE;QACnB,0FAA0F;KAC3F;IACD,YAAY,EAAE;QACZ,eAAe,EAAE,gBAAgB;QACjC,sBAAsB,EAAE,wBAAwB;QAChD,qBAAqB,EAAE,wBAAwB;KAChD;CACF,CAAC,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAA6C;IACjG,wCAAwC;IACxC,yCAAyC;CAC1C,CAAC","sourcesContent":["import {\n CodeDeclarationKind,\n CodeSymbolKind,\n type CodeSymbolRef,\n} from '@wildo-ai/zod-decorators';\nimport {\n SystemEmailTemplateRef,\n SystemEmailTemplateRegistry,\n} from '@wildo-ai/saas-models';\nimport {\n systemEmailTemplateSpecificationFromRegistryEntry,\n SpecificationOwnerKind,\n type SpecificationOwnerRef,\n type SystemEmailTemplateSpecificationConfig,\n} from '~wildo-specifications/_core';\n\n/**\n * Owner ref for engine-shipped system-email template specifications.\n *\n * Mirrors the engine-author bucket used by `engine/features/_engine-feature-shared.ts`\n * and `engine/roles/_engine-role-shared.ts`. Kept inlined per family for\n * grep-friendliness — every engine spec family declares its own typed\n * `ENGINE_OWNER_REF` constant rather than sharing a single import, so a\n * grep for `ENGINE_OWNER_REF` in any one family file lands on the local\n * source-of-truth without crossing module boundaries.\n */\nconst ENGINE_OWNER_REF: SpecificationOwnerRef = {\n ownerId: 'engine',\n ownerKind: SpecificationOwnerKind.ENGINE,\n};\n\nconst TEMPLATE_REF_DECLARATION: CodeSymbolRef = {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SystemEmailTemplateRef',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n};\n\nconst EVENT_DATA_SCHEMA_SYMBOL: CodeSymbolRef = {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SystemEmailTemplateRegistry',\n symbolKind: CodeSymbolKind.CONFIG,\n declarationKind: CodeDeclarationKind.CONST_OBJECT,\n notes: ['Look up the entry by `SystemEmailTemplateRef.*` to reach the `eventDataSchema` for this template.'],\n};\n\nexport const securityAlertSystemTemplateSpecification = systemEmailTemplateSpecificationFromRegistryEntry(\n SystemEmailTemplateRegistry[SystemEmailTemplateRef.SECURITY_ALERT],\n () => ({\n purpose: 'Tell the account owner that a sensitive security event just happened on their account and help them react quickly if it was not them.',\n tone: 'Authoritative, calm, and action-oriented — the recipient must trust the signal immediately without spiraling into panic.',\n useWhen: 'Use for any `SecurityAlertType` that needs account-owner awareness. Sent today, always after the change is made and never failing it: `authenticator_added` when a way to sign in is added to an existing account (passkey registration, TOTP confirmation, phone confirmation, a password set, a social account auto-linked by its verified email, an enterprise identity newly linked to an already-active account), as NIST SP 800-63B-4 Sec. 4.1.2.1 requires; `authenticator_removed` when the account holder removes a passkey or unlinks an identity, `mfa_disabled` when they turn TOTP off, and `password_changed` on an in-session change or a completed reset, the notice Sec. 4.5 recommends. `suspicious_login`, `new_api_key` and `other` have words but no sender yet.',\n avoidWhen: 'Do not use for routine device-login notifications; those live in the dedicated new-device-login template.',\n textSlots: {\n subject: {\n purpose: 'Signal that a security event was detected, without leaking exploitable detail in the inbox preview.',\n },\n previewText: {\n purpose: 'Short preview that names the alert category in generic terms and invites the recipient to open.',\n notes: ['Never include precise IP addresses, device fingerprints, or full alert descriptions in the preview.'],\n },\n body: {\n purpose: 'Short paragraph explaining what kind of event happened, in the words the template labels author for each `SecurityAlertType` (`suspicious_login`, `password_changed`, `mfa_disabled`, `new_api_key`, `authenticator_added`, `authenticator_removed`, `other`). For `authenticator_added` and `authenticator_removed` it names which authenticator, from `eventData.authMethod`, and says \"a sign-in method\" when the sender cannot name one. Never broaden a kind\\'s meaning.',\n },\n eventDetailsLabel: {\n purpose: 'Label for the structured details block that surfaces timestamp and, when available, IP address and location.',\n },\n ctaLabel: {\n purpose: 'Primary action label that sends the recipient to `eventData.securitySettingsUrl`.',\n },\n reassuranceFootnote: {\n purpose: 'Closing guidance for the \"this was me\" case that tells the recipient no further action is needed.',\n },\n },\n eventData: {\n purpose: 'Alert kind, the authenticator concerned for `authenticator_added`, `authenticator_removed` and `mfa_disabled` (optional), timestamp, optional IP and location, and an optional security-settings URL. There is no caller-written description: every sentence comes from the template labels, so it can be translated and reworded.',\n notes: ['Treat `alertType` as a translatable category identifier; do not surface the raw enum value.'],\n },\n businessConstraints: [\n 'Never expose session tokens, reset URLs, or credentials in this template; they belong to dedicated flows.',\n 'Always treat `ipAddress` and `location` as optional and omit them gracefully when absent.',\n ],\n codeHandling: {\n definitionOwner: ENGINE_OWNER_REF,\n templateRefDeclaration: TEMPLATE_REF_DECLARATION,\n eventDataSchemaSymbol: EVENT_DATA_SCHEMA_SYMBOL,\n },\n }),\n);\n\nexport const newDeviceLoginSystemTemplateSpecification = systemEmailTemplateSpecificationFromRegistryEntry(\n SystemEmailTemplateRegistry[SystemEmailTemplateRef.NEW_DEVICE_LOGIN],\n () => ({\n purpose: 'Let the account owner confirm that a login from a new device was legitimate, and offer a fast path to revoke access if it was not.',\n tone: 'Informational and reassuring with a clear corrective action — most recipients just need acknowledgment, a minority need the revoke CTA to stand out.',\n useWhen: 'Use when a successful authentication came from a device signature the account has not seen recently.',\n avoidWhen: 'Do not use for failed login attempts or broader security alerts; those belong to the security-alert template.',\n textSlots: {\n subject: {\n purpose: 'Signal a new-device login without implying it was necessarily suspicious.',\n },\n previewText: {\n purpose: 'Short preview restating the event category and hinting at the revoke CTA.',\n },\n body: {\n purpose: 'Short paragraph summarizing the login event and giving the recipient a clear \"if this was you, no action needed\" framing.',\n },\n deviceDetailsLabel: {\n purpose: 'Label for the details block showing device type, browser, operating system, IP, optional location, and login time.',\n },\n ctaLabel: {\n purpose: 'Primary action label that sends the recipient to `eventData.revokeAccessUrl`.',\n },\n reassuranceFootnote: {\n purpose: 'Closing line for the recipient who recognizes the device, confirming that no further action is needed.',\n },\n },\n eventData: {\n purpose: 'Device signature (type, browser, OS), IP, optional location, login timestamp, and revoke-access URL.',\n notes: ['The `location` field is optional and sometimes coarse — do not imply exact-address accuracy in the copy.'],\n },\n businessConstraints: [\n 'Never include session tokens or credential URLs; the revoke flow handles access changes.',\n ],\n codeHandling: {\n definitionOwner: ENGINE_OWNER_REF,\n templateRefDeclaration: TEMPLATE_REF_DECLARATION,\n eventDataSchemaSymbol: EVENT_DATA_SCHEMA_SYMBOL,\n },\n }),\n);\n\nexport const securitySystemEmailTemplateSpecifications: SystemEmailTemplateSpecificationConfig[] = [\n securityAlertSystemTemplateSpecification,\n newDeviceLoginSystemTemplateSpecification,\n];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"subscription.system-emails.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/notifications/system-emails/subscription.system-emails.specification.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,sCAAsC,EAC5C,MAAM,6BAA6B,CAAC;AAgCrC,eAAO,MAAM,mDAAmD,wCA2C/D,CAAC;AAEF,eAAO,MAAM,gDAAgD,wCAmC5D,CAAC;AAEF,eAAO,MAAM,wCAAwC,wCAsCpD,CAAC;AAEF,eAAO,MAAM,6CAA6C,EAAE,sCAAsC,EAIjG,CAAC"}
1
+ {"version":3,"file":"subscription.system-emails.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/notifications/system-emails/subscription.system-emails.specification.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,sCAAsC,EAC5C,MAAM,6BAA6B,CAAC;AAgCrC,eAAO,MAAM,mDAAmD,wCA2C/D,CAAC;AAEF,eAAO,MAAM,gDAAgD,wCAmC5D,CAAC;AAEF,eAAO,MAAM,wCAAwC,wCAsCpD,CAAC;AAEF,eAAO,MAAM,6CAA6C,EAAE,sCAAsC,EAIjG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/engine/organizations/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/engine/organizations/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/engine/organizations/resources/index.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,CAAC;AAC9D,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,mDAAmD,CAAC;AAClE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/index.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,CAAC;AAC9D,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,mDAAmD,CAAC;AAClE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,wCAAwC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { CORE_ORG_ROLES, CoreResourceOperation as Op, OrganizationMemberStatus, OrganizationMembers_Operations } from '@wildo-ai/saas-models';
2
2
  export declare const organizationMembersResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof OrganizationMembers_Operations, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.CREATE | Op.LIST | Op.SEARCH | Op.COUNT, import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodObject<{
3
3
  _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
4
- userId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>>;
4
+ userId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>>>;
5
5
  userEmail: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodEmail>>>>>>;
6
6
  organizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
7
7
  roles: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodEnum<typeof CORE_ORG_ROLES>, import("zod").ZodString]>>>>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"organization-members.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/organizations/resources/organization-members.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EAEL,cAAc,EACd,qBAAqB,IAAI,EAAE,EAI3B,wBAAwB,EACxB,8BAA8B,EAG/B,MAAM,uBAAuB,CAAC;AAyD/B,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;kCAgcpD,CAAC"}
1
+ {"version":3,"file":"organization-members.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organization-members.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EAEL,cAAc,EACd,qBAAqB,IAAI,EAAE,EAI3B,wBAAwB,EACxB,8BAA8B,EAG/B,MAAM,uBAAuB,CAAC;AAyD/B,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;kCAgcpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"organization-members.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/organizations/resources/organization-members.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,IAAI,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AAChI,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,iCAAiC,EACjC,cAAc,EACd,qBAAqB,IAAI,EAAE,EAC3B,aAAa,EACb,SAAS,EACT,wBAAwB,EACxB,wBAAwB,EACxB,8BAA8B,EAC9B,oBAAoB,EACpB,8DAA8D,IAAI,0BAA0B,GAC7F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAO3E,MAAM,qCAAqC,GAAG,mCAAmF,CAAC;AAElI,MAAM,2BAA2B,GAAG;IAClC,GAAG,EAAE,kCAAkC;IACvC,MAAM,EAAE,mBAAmB;IAC3B,SAAS,EAAE,yBAAyB;IACpC,cAAc,EAAE,2BAA2B;IAC3C,KAAK,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC;IAClC,MAAM,EAAE,wBAAwB,CAAC,MAAM;IACvC,SAAS,EAAE,gBAAgB;IAC3B,aAAa,EAAE,aAAa;IAC5B,SA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M,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,uCAAuC,EAAE,SAAS,EAAE,yCAAyC,EAAE;QACvH,CAAC,8BAA8B,CAAC,OAAO,CAAC,EAAE,EAAE,OAAO,EAAE,8DAA8D,EAAE,SAAS,EAAE,oCAAoC,EAAE;QACtK,CAAC,8BAA8B,CAAC,UAAU,CAAC,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,SAAS,EAAE,qCAAqC,EAAE;QAC/I,CAAC,8BAA8B,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,yFAAyF,EAAE,SAAS,EAAE,wDAAwD,EAAE;QACpN,sFAAsF;QACtF,kFAAkF;QAClF,8FAA8F;QAC9F,2FAA2F;QAC3F,sGAAsG;QACtG,2EAA2E;QAC3E,CAAC,8BAA8B,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,0DAA0D,EAAE,SAAS,EAAE,mEAAmE,EAAE;KACjM;CACF,CAAC,CACH,CAAC","sourcesContent":["import { organizationMembersMainResourceUIBehavior as organizationMembersUIBehaviorSource } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n AdministrativeContinuityErrorCode,\n CORE_ORG_ROLES,\n CoreResourceOperation as Op,\n ErrorSeverity,\n ErrorType,\n OrganizationMemberSchema,\n OrganizationMemberStatus,\n OrganizationMembers_Operations,\n ResourcePrimaryScope,\n organizationMembersResourceConfiguration_InitializationFactory as organizationMembersFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype Cfg = ReturnType<typeof organizationMembersFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst organizationMembersResourceUIBehavior = organizationMembersUIBehaviorSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst ORGANIZATION_MEMBER_EXAMPLE = {\n _id: 'organization_member_01HX2EXAMPLE',\n userId: 'user_01HX2EXAMPLE',\n userEmail: 'alex.morgan@example.com',\n organizationId: 'organization_01HX2EXAMPLE',\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n status: OrganizationMemberStatus.ACTIVE,\n userTitle: 'Staff Engineer',\n instanceLabel: 'Alex Morgan',\n createdAt: '2026-07-03T09:15:00.000Z',\n updatedAt: '2026-08-18T08:00:00.000Z',\n _version: 4,\n} as const;\n\nconst ORGANIZATION_MEMBER_SUMMARY_EXAMPLE = {\n _id: ORGANIZATION_MEMBER_EXAMPLE._id,\n userId: ORGANIZATION_MEMBER_EXAMPLE.userId,\n userEmail: ORGANIZATION_MEMBER_EXAMPLE.userEmail,\n organizationId: ORGANIZATION_MEMBER_EXAMPLE.organizationId,\n roles: ORGANIZATION_MEMBER_EXAMPLE.roles,\n status: ORGANIZATION_MEMBER_EXAMPLE.status,\n userTitle: ORGANIZATION_MEMBER_EXAMPLE.userTitle,\n instanceLabel: ORGANIZATION_MEMBER_EXAMPLE.instanceLabel,\n _version: ORGANIZATION_MEMBER_EXAMPLE._version,\n} as const;\n\nconst ORGANIZATION_MEMBER_CONTEXT_EXAMPLE = {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n user: { _id: ORGANIZATION_MEMBER_EXAMPLE.userId },\n organization: { _id: ORGANIZATION_MEMBER_EXAMPLE.organizationId },\n} as const;\n\nfunction organizationMembersPage<T>(data: readonly T[]) {\n return {\n data,\n pagination: { page: 1, limit: 20, total: data.length, totalPages: data.length === 0 ? 0 : 1 },\n };\n}\n\nconst ORGANIZATION_MEMBERS_PAGE_REQUEST = { page: 1, limit: 20, sort: 'createdAt:desc' } as const;\n\nexport const organizationMembersResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(organizationMembersResourceUIBehavior),\n resourceSpecification(\n organizationMembersFactory,\n OrganizationMemberSchema,\n ({ schemaShape }) => ({\n purpose: 'Represents one person’s membership in an organization, including their organization roles, directory title, and current access state.',\n businessRole: 'Use this resource to browse the organization directory and to manage invitations, membership access, and organization-level authority.',\n lifecycleRole: 'A membership begins as a pending invitation or an active provisioned membership, can be updated or suspended, and ends when the invitation is revoked or the member is removed.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.ORGANIZATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMemberSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationMembersResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORGANIZATION_MEMBERS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMembers_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationMembersMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The `USERS` identity this membership grants organization access to — the junction’s subject party.',\n whyItMatters: 'A membership row is a link with no inherent identity; this FK is what a name/email resolves against (via `USER_PROFILES`) and, together with `organizationId`, forms the database-enforced business key that prevents duplicate memberships.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n roles: schemaShape.roles.arraySpec({\n meaning: 'Org-wide roles granted to this member — the authority set every access check evaluates for the user within this organization.',\n elementMeaning: 'One role identifier — a core org role token (`CORE_ORG_ROLES`) or an app-defined custom role string.',\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CORE_ORG_ROLES',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n }),\n userTitle: schemaShape.userTitle.stringSpec({ meaning: 'Authored job title / role label for the member (e.g. “Engineering Lead”). Distinct from the directory record label — that is the linked user’s name (see `instanceLabel`).' }),\n instanceLabel: schemaShape.instanceLabel.stringSpec({ meaning: 'Computed directory label for the membership — the linked user’s name, forwarded live from `USER_PROFILES` (joining on `userId`, rendering first/last name) and resolved SERVER-SIDE at read time via the virtual-field pipeline. A junction record has no inherent name; this gives it one without denormalizing the mutable name (never stale, tenant-safe, not persisted). The frontend uses it directly as `getFrontendResourceLabel`; it falls back to the immutable `userEmail` when the profile is unavailable.' }),\n userEmail: schemaShape.userEmail.stringSpec({ meaning: 'Denormalized, immutable copy of the linked user’s email captured at membership creation. Two roles: the OWN-FIELD half of member search (first/last name are searched relationally through `USER_PROFILES`, never denormalized), and the secondary label fallback behind the server-resolved `instanceLabel`. The live email lives on `USERS`; this copy is display-hidden and never client-writable.' }),\n status: schemaShape.status.enumSpec({\n meaning: 'Membership lifecycle and access posture in this org.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMemberStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationMemberStatus.INVITED]: { meaning: 'A pending invitation — the membership was extended (via CREATE) but the invitee has not accepted yet. Carries a single-use accept link. Flips to ACTIVE on acceptance; the record is DELETED on decline/revoke (no terminal \"rejected\" status — the invite IS the membership in this pending state).' },\n [OrganizationMemberStatus.ACTIVE]: { meaning: 'Can participate as roles allow.' },\n [OrganizationMemberStatus.INACTIVE]: { meaning: 'Record retained but not participating.' },\n [OrganizationMemberStatus.SUSPENDED]: { meaning: 'Access blocked in-org while record remains.' },\n },\n }),\n scheduledReactivationAt: schemaShape.scheduledReactivationAt.dateSpec({\n meaning: 'When an automated sweep returns this membership to ACTIVE. Set by SUSPEND when the caller time-boxes the suspension (its request contract calls this `suspensionEndDate`), cleared by REACTIVATE. Absent means the suspension is indefinite and only an explicit REACTIVATE lifts it — the default, since an unbounded suspension is the safer reading of “suspend”.',\n whyItMatters: 'Named for the effect rather than the cause so the identical field on `USERS` — which serves both admin suspension and voluntary self-deactivation — carries the same name and the reactivation sweep queries one field everywhere. Server-owned: only the transition operations write it, exactly as for `status`.',\n }),\n },\n operations: {\n [Op.COUNT]: {\n purpose: 'Return the total number of memberships visible in the selected organization or relationship scope.',\n outcome: 'A single non-negative membership count is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The current membership count is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to read the membership count.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Count organization memberships',\n response: { count: 37 },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Invite a person by email, or provision an existing user through a user-linked relationship route. Email invitations create an INVITED membership; direct provisioning creates an ACTIVE membership.',\n outcome: 'The membership is created with its initial organization roles. An invitation sends one single-use acceptance link; direct provisioning sends no acceptance link. The resolved role grant is recorded in the audit trail.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A membership record was created linking the user to the organization with its initial roles, and the new record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The user reference, roles, or title fail schema validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to provision members.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The user already holds a membership in this organization.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Invite a member by email with an initial title',\n request: {\n userEmail: 'new.lead@acme.com',\n userTitle: 'Engineering Lead',\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n userEmail: 'new.lead@acme.com',\n userTitle: 'Engineering Lead',\n status: OrganizationMemberStatus.INVITED,\n invitedByUserId: 'user_admin_01HX2EXAMPLE',\n invitedAt: '2026-08-18T08:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.READ]: {\n purpose: 'Retrieve one membership by its route identity.',\n outcome: 'The member’s organization roles, lifecycle state, directory title, and public identifiers are returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership was found and its roles, title, state, and public identifiers are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to read the membership directory.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect an active organization member',\n response: ORGANIZATION_MEMBER_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect a member with relationship identifiers',\n response: ORGANIZATION_MEMBER_CONTEXT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact member summary',\n response: ORGANIZATION_MEMBER_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Browse the organization membership directory as a paginated collection.',\n outcome: 'A page of memberships and pagination metadata is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of membership records for the organization directory.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to browse the membership directory.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse organization members',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([ORGANIZATION_MEMBER_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse members with relationship identifiers',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([{\n ...ORGANIZATION_MEMBER_EXAMPLE,\n user: { _id: ORGANIZATION_MEMBER_EXAMPLE.userId },\n organization: { _id: ORGANIZATION_MEMBER_EXAMPLE.organizationId },\n }]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact member summaries',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([ORGANIZATION_MEMBER_SUMMARY_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Searchable member roster — matches on the member’s email (own field) and, through the linked user profile, on first/last name.',\n outcome: 'Org members matching the query by email or name, for people pickers and large-roster look-ups.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of members whose email, or whose linked profile’s first/last name, matches the search query.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to search the membership directory.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Find active members by email or name',\n request: { q: 'alex', status: OrganizationMemberStatus.ACTIVE, page: 1, limit: 20, sort: 'status:asc' },\n response: organizationMembersPage([ORGANIZATION_MEMBER_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.UPDATE]: {\n purpose: 'Update a member’s directory title or organization roles. This is the only API operation used to change a membership’s role set.',\n outcome: 'The updated membership is returned. Role changes take effect for subsequent authorization decisions and emit a dedicated authorization audit event with the previous and resulting role sets.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership’s title/org-unit/roles were updated and the new state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited title, org-unit, or role set fails schema validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to edit memberships.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The edit would remove the LAST administratively usable owner of the organization — either by rewriting `roles` so they no longer confer `ORG_OWNER` (directly or by inheritance), or by moving the membership `status` out of ACTIVE (the only status whose roles reach `initiatorRoles`). Grant an owner role to another active member first. Not a 403: the caller IS authorized — the current state of the organization forbids it. No TENANT authority lifts this floor; a platform administrator can repair an already-stranded organization through `grantOwnership`, which is the only cross-tenant variant this resource declares. An owner counts only when the membership is ACTIVE AND the linked user is ACTIVE; organizations in a terminal state (CANCELLED, DELETED, soft-deleted) are not protected.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Update a member’s directory title without changing authority',\n request: { userTitle: 'Staff Engineer' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n userTitle: 'Staff Engineer',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [Op.DELETE]: {\n purpose: 'Remove an accepted member from the organization. Use REVOKE instead for a still-pending invitation.',\n outcome: 'The membership and its organization-unit assignments are removed, organization-scoped access ends, and the withdrawn roles and unit grants are recorded in the audit trail.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The membership record was removed; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id (or it was already removed).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to remove members.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target is the LAST administratively usable owner of the organization. Destroying the row that holds the last tenant authority strands the organization exactly as demoting it would, so it is refused on the same terms — grant an owner role to another active member first. Also returned when the membership snapshot cannot be read, since the floor must not assume an unreadable row is not the last owner.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Refuse removal of the last usable organization owner',\n response: {\n error: {\n type: ErrorType.CONFLICT,\n severity: ErrorSeverity.MEDIUM,\n message: 'Resource conflict detected',\n customMessage: 'Grant ownership to another active member before removing this member.',\n code: AdministrativeContinuityErrorCode.LAST_ORGANIZATION_OWNER,\n timestamp: '2026-08-18T08:00:00.000Z',\n },\n },\n forStatus: HttpResponseStatusCode.CONFLICT_409,\n }],\n },\n [OrganizationMembers_Operations.SUSPEND]: {\n operationId: OrganizationMembers_Operations.SUSPEND,\n purpose: 'Temporarily block access without deleting the membership record.',\n outcome: 'The membership becomes SUSPENDED and no longer grants organization access. If `suspensionEndDate` is supplied, it is exposed as `scheduledReactivationAt` and the membership is reactivated after that instant; otherwise an administrator must reactivate it explicitly.',\n whenToUse: 'Use for temporary security or policy holds where the membership history must remain available. The last usable organization owner cannot be suspended.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership transitioned to suspended and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to suspend members.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is not currently ACTIVE.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The membership is not ACTIVE, so this is not a legal transition — an INVITED row has not accepted yet (cancel it with REVOKE, which also revokes the accept token) and an INACTIVE or already-SUSPENDED one is already out. Carries `resource_status_transition_conflict`, whose context names the current status, the target status and the permitted source statuses, so a client can re-read and show the real state rather than treating it as an opaque clash. Most callers meet the earlier `enabledCondition` gate (403) instead; this reference covers the paths that gate does not reach.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target is the organization’s LAST administratively usable owner (an ACTIVE membership holding a role that confers `ORG_OWNER`, directly or by inheritance, whose linked user is also ACTIVE). Suspending it leaves the organization with no principal able to administer it, so the tenant cannot administer itself afterwards. Grant an owner role to another active member first. Recovery is not impossible \\u2014 a platform administrator holds `grantOwnership` \\u2014 but it is an out-of-tenant escalation, which is why the in-tenant refusal stands. Not a 403: the caller IS authorized; the current state of the organization forbids it. Carries the stable client-branchable `code: LAST_ORGANIZATION_OWNER` — a DIFFERENT code from the application floor, because the remedy is scoped to this organization.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Suspend a member until a scheduled review date',\n request: {\n suspensionReason: 'Access paused while the security review is completed.',\n suspensionEndDate: '2026-09-01T09:00:00.000Z',\n },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.SUSPENDED,\n scheduledReactivationAt: '2026-09-01T09:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.REACTIVATE]: {\n operationId: OrganizationMembers_Operations.REACTIVATE,\n purpose: 'Restore access for a currently suspended organization member.',\n outcome: 'The membership becomes ACTIVE with its existing roles and any scheduled reactivation deadline is cleared.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The suspended membership transitioned back to active and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to reactivate members.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is not currently SUSPENDED.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The membership is not SUSPENDED, so there is nothing to reactivate — notably an INVITED row is refused here rather than being silently promoted, which would grant a membership nobody accepted. Carries `resource_status_transition_conflict` with the current and permitted statuses in its context.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Reactivate a member after the review is complete',\n request: { reason: 'Security review completed without further action.' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.ACTIVE,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.REVOKE]: {\n operationId: OrganizationMembers_Operations.REVOKE,\n purpose: 'Cancel a still-pending organization invitation. Use DELETE instead for an accepted member.',\n outcome: 'The INVITED membership is removed, its acceptance token can no longer be used, and the invitee and acting administrator are notified. The optional reason is retained in the audit event.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pending invitation was revoked (the INVITED membership removed) and a confirmation is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to revoke invitations.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is no longer INVITED.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Revoke a pending invitation before it is accepted',\n request: { reason: 'The invitee joined through another organization.' },\n response: { id: ORGANIZATION_MEMBER_EXAMPLE._id, deletedAt: '2026-08-18T08:05:00.000Z' },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.GRANT_OWNERSHIP]: {\n operationId: OrganizationMembers_Operations.GRANT_OWNERSHIP,\n purpose: 'Platform-tier repair door: grant `ORG_OWNER` to an EXISTING member of an organization that has no administratively usable owner left.',\n outcome: 'The existing ACTIVE membership gains the owner-conferring role; no role is removed and no new membership is created. The cross-tenant repair is audited with the required justification and the organization is notified.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The member now holds an owner-conferring role. Idempotent: a member who already owns the organization returns 200 with their role set unchanged.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold `APP_ADMIN_SUPER_ADMIN` at APPLICATION scope. An organization-scope caller who merely writes that string into their own membership `roles` is denied: the role gate resolves an organization-scope entry against the organization role table, which does not contain that key.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target membership is not administratively usable (only ACTIVE rows confer roles), or the linked user is not usable. Granting either would answer 200 while leaving the organization with zero usable owners \\u2014 a repair that repairs nothing and stops the operator looking. Fix the membership or user lifecycle first. Also returned when the user row cannot be read, since absence is not evidence of a usable owner.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Repair a stranded organization by granting an existing member ownership',\n request: { justification: 'Restore tenant administration after the sole owner was removed during account recovery.' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n roles: [CORE_ORG_ROLES.ORG_MEMBER, CORE_ORG_ROLES.ORG_OWNER],\n status: OrganizationMemberStatus.ACTIVE,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.RESEND]: {\n operationId: OrganizationMembers_Operations.RESEND,\n purpose: 'Re-mint and re-send the accept link for a still-pending invitation (an INVITED membership).',\n outcome: 'A fresh single-use accept token is issued (revoking any prior token for this membership) and the invitation email is re-delivered to the invitee.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A new accept token was minted and the invitation email re-sent; a confirmation is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to resend invitations.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is no longer INVITED.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Send a fresh acceptance link for a pending invitation',\n request: {},\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.INVITED,\n invitedByUserId: 'user_admin_01HX2EXAMPLE',\n invitedAt: '2026-08-18T08:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'CREATE is polymorphic: the accept-link email AND the single-use accept token fire ONLY for the INVITE branch (resulting status INVITED). A direct/system provisioning create (userId supplied — founder org-owner grant, SSO JIT, SCIM) persists an ACTIVE row and fires NEITHER side-effect (nothing to accept; its `userEmail` is the member’s own address). The gate is keyed on the resulting `status`, not on which identity field the caller supplied.',\n 'Factory declares userNotifications on several mutations; companion should ground email/SMS copy on runtime `userNotifications[]`, not invent channels absent from the configuration.',\n 'Member SEARCH matches on `userEmail` (a denormalized own field) and on the linked user’s first/last name. The name match is RELATIONAL: the framework runs a secondary search on `USER_PROFILES` and intersects on `userId` — names are read live (never stale) and are not denormalized onto the member row. The result stays scoped to the caller’s organization.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n views: {\n [Op.COUNT]: { purpose: 'Header metrics and cap enforcement surfaces.', whenToUse: 'Dashboards, billing seat counts, and upgrade prompts.' },\n [Op.CREATE]: { purpose: 'Invite (writes an INVITED row + emails an accept link) or direct-add flows in org admin UIs.', whenToUse: 'Inviting a teammate by email, onboarding, and bulk import.' },\n [Op.READ]: { purpose: 'Profile drawer and permission summaries.', whenToUse: 'Click-through from directory rows.' },\n [Op.LIST]: { purpose: 'Addressable roster list per merged preset (only `LIST` is addressable).', whenToUse: 'Default org directory experience.' },\n [Op.SEARCH]: { purpose: 'Member discovery by email or name when search is enabled.', whenToUse: 'Large-tenant look-ups and people pickers.' },\n [Op.UPDATE]: { purpose: 'Inline edit of metadata, roles, and org-unit links.', whenToUse: 'HR and IT directory maintenance, and every role change — there is no dedicated promote/demote verb.' },\n [Op.DELETE]: { purpose: 'Revoke and remove directory presence.', whenToUse: 'Offboarding, abuse, and access reviews.' },\n [OrganizationMembers_Operations.SUSPEND]: { purpose: 'Degraded access while retaining audit of membership history.', whenToUse: 'Short-term ToS and security holds.' },\n [OrganizationMembers_Operations.REACTIVATE]: { purpose: 'Re-open access after hold clears.', whenToUse: 'After payment or review completion.' },\n [OrganizationMembers_Operations.REVOKE]: { purpose: 'Cancel a still-pending invitation (deletes the INVITED row + revokes its accept token).', whenToUse: 'From the members list, on a row still showing INVITED.' },\n // GRANT_OWNERSHIP is deliberately ABSENT here, and the omission is the documentation.\n // `views` may only describe operations the merged frontend configuration surfaces\n // (`resourceSpecificationFromFrontendConfiguration` throws otherwise), and this operation has\n // no tenant-facing surface by construction: its caller is a platform operator who is NOT a\n // member of the organization, so the member roster \\u2014 which is a tenant surface \\u2014 is exactly\n // where it must not appear. It is reached from support/operations tooling.\n [OrganizationMembers_Operations.RESEND]: { purpose: 'Re-issue the accept link for a still-pending invitation.', whenToUse: 'When an invitee lost or never received the original invite email.' },\n },\n }),\n);\n"]}
1
+ {"version":3,"file":"organization-members.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organization-members.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,IAAI,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AAChI,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,iCAAiC,EACjC,cAA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EAAmE,EAAE;KACjM;CACF,CAAC,CACH,CAAC","sourcesContent":["import { organizationMembersMainResourceUIBehavior as organizationMembersUIBehaviorSource } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n AdministrativeContinuityErrorCode,\n CORE_ORG_ROLES,\n CoreResourceOperation as Op,\n ErrorSeverity,\n ErrorType,\n OrganizationMemberSchema,\n OrganizationMemberStatus,\n OrganizationMembers_Operations,\n ResourcePrimaryScope,\n organizationMembersResourceConfiguration_InitializationFactory as organizationMembersFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype Cfg = ReturnType<typeof organizationMembersFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst organizationMembersResourceUIBehavior = organizationMembersUIBehaviorSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst ORGANIZATION_MEMBER_EXAMPLE = {\n _id: 'organization_member_01HX2EXAMPLE',\n userId: 'user_01HX2EXAMPLE',\n userEmail: 'alex.morgan@example.com',\n organizationId: 'organization_01HX2EXAMPLE',\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n status: OrganizationMemberStatus.ACTIVE,\n userTitle: 'Staff Engineer',\n instanceLabel: 'Alex Morgan',\n createdAt: '2026-07-03T09:15:00.000Z',\n updatedAt: '2026-08-18T08:00:00.000Z',\n _version: 4,\n} as const;\n\nconst ORGANIZATION_MEMBER_SUMMARY_EXAMPLE = {\n _id: ORGANIZATION_MEMBER_EXAMPLE._id,\n userId: ORGANIZATION_MEMBER_EXAMPLE.userId,\n userEmail: ORGANIZATION_MEMBER_EXAMPLE.userEmail,\n organizationId: ORGANIZATION_MEMBER_EXAMPLE.organizationId,\n roles: ORGANIZATION_MEMBER_EXAMPLE.roles,\n status: ORGANIZATION_MEMBER_EXAMPLE.status,\n userTitle: ORGANIZATION_MEMBER_EXAMPLE.userTitle,\n instanceLabel: ORGANIZATION_MEMBER_EXAMPLE.instanceLabel,\n _version: ORGANIZATION_MEMBER_EXAMPLE._version,\n} as const;\n\nconst ORGANIZATION_MEMBER_CONTEXT_EXAMPLE = {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n user: { _id: ORGANIZATION_MEMBER_EXAMPLE.userId },\n organization: { _id: ORGANIZATION_MEMBER_EXAMPLE.organizationId },\n} as const;\n\nfunction organizationMembersPage<T>(data: readonly T[]) {\n return {\n data,\n pagination: { page: 1, limit: 20, total: data.length, totalPages: data.length === 0 ? 0 : 1 },\n };\n}\n\nconst ORGANIZATION_MEMBERS_PAGE_REQUEST = { page: 1, limit: 20, sort: 'createdAt:desc' } as const;\n\nexport const organizationMembersResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(organizationMembersResourceUIBehavior),\n resourceSpecification(\n organizationMembersFactory,\n OrganizationMemberSchema,\n ({ schemaShape }) => ({\n purpose: 'Represents one person’s membership in an organization, including their organization roles, directory title, and current access state.',\n businessRole: 'Use this resource to browse the organization directory and to manage invitations, membership access, and organization-level authority.',\n lifecycleRole: 'A membership begins as a pending invitation or an active provisioned membership, can be updated or suspended, and ends when the invitation is revoked or the member is removed.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.ORGANIZATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMemberSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationMembersResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORGANIZATION_MEMBERS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMembers_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationMembersMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The `USERS` identity this membership grants organization access to — the junction’s subject party.',\n whyItMatters: 'A membership row is a link with no inherent identity; this FK is what a name/email resolves against (via `USER_PROFILES`) and, together with `organizationId`, forms the database-enforced business key that prevents duplicate memberships.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n roles: schemaShape.roles.arraySpec({\n meaning: 'Org-wide roles granted to this member — the authority set every access check evaluates for the user within this organization.',\n elementMeaning: 'One role identifier — a core org role token (`CORE_ORG_ROLES`) or an app-defined custom role string.',\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CORE_ORG_ROLES',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n }),\n userTitle: schemaShape.userTitle.stringSpec({ meaning: 'Authored job title / role label for the member (e.g. “Engineering Lead”). Distinct from the directory record label — that is the linked user’s name (see `instanceLabel`).' }),\n instanceLabel: schemaShape.instanceLabel.stringSpec({ meaning: 'Computed directory label for the membership — the linked user’s name, forwarded live from `USER_PROFILES` (joining on `userId`, rendering first/last name) and resolved SERVER-SIDE at read time via the virtual-field pipeline. A junction record has no inherent name; this gives it one without denormalizing the mutable name (never stale, tenant-safe, not persisted). The frontend uses it directly as `getFrontendResourceLabel`; it falls back to the immutable `userEmail` when the profile is unavailable.' }),\n userEmail: schemaShape.userEmail.stringSpec({ meaning: 'Denormalized, immutable copy of the linked user’s email captured at membership creation. Two roles: the OWN-FIELD half of member search (first/last name are searched relationally through `USER_PROFILES`, never denormalized), and the secondary label fallback behind the server-resolved `instanceLabel`. The live email lives on `USERS`; this copy is display-hidden and never client-writable.' }),\n status: schemaShape.status.enumSpec({\n meaning: 'Membership lifecycle and access posture in this org.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMemberStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationMemberStatus.INVITED]: { meaning: 'A pending invitation — the membership was extended (via CREATE) but the invitee has not accepted yet. Carries a single-use accept link. Flips to ACTIVE on acceptance; the record is DELETED on decline/revoke (no terminal \"rejected\" status — the invite IS the membership in this pending state).' },\n [OrganizationMemberStatus.ACTIVE]: { meaning: 'Can participate as roles allow.' },\n [OrganizationMemberStatus.INACTIVE]: { meaning: 'Record retained but not participating.' },\n [OrganizationMemberStatus.SUSPENDED]: { meaning: 'Access blocked in-org while record remains.' },\n },\n }),\n scheduledReactivationAt: schemaShape.scheduledReactivationAt.dateSpec({\n meaning: 'When an automated sweep returns this membership to ACTIVE. Set by SUSPEND when the caller time-boxes the suspension (its request contract calls this `suspensionEndDate`), cleared by REACTIVATE. Absent means the suspension is indefinite and only an explicit REACTIVATE lifts it — the default, since an unbounded suspension is the safer reading of “suspend”.',\n whyItMatters: 'Named for the effect rather than the cause so the identical field on `USERS` — which serves both admin suspension and voluntary self-deactivation — carries the same name and the reactivation sweep queries one field everywhere. Server-owned: only the transition operations write it, exactly as for `status`.',\n }),\n },\n operations: {\n [Op.COUNT]: {\n purpose: 'Return the total number of memberships visible in the selected organization or relationship scope.',\n outcome: 'A single non-negative membership count is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The current membership count is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to read the membership count.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Count organization memberships',\n response: { count: 37 },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Invite a person by email, or provision an existing user through a user-linked relationship route. Email invitations create an INVITED membership; direct provisioning creates an ACTIVE membership.',\n outcome: 'The membership is created with its initial organization roles. An invitation sends one single-use acceptance link; direct provisioning sends no acceptance link. The resolved role grant is recorded in the audit trail.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A membership record was created linking the user to the organization with its initial roles, and the new record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The user reference, roles, or title fail schema validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to provision members.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The user already holds a membership in this organization.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Invite a member by email with an initial title',\n request: {\n userEmail: 'new.lead@acme.com',\n userTitle: 'Engineering Lead',\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n userEmail: 'new.lead@acme.com',\n userTitle: 'Engineering Lead',\n status: OrganizationMemberStatus.INVITED,\n invitedByUserId: 'user_admin_01HX2EXAMPLE',\n invitedAt: '2026-08-18T08:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.READ]: {\n purpose: 'Retrieve one membership by its route identity.',\n outcome: 'The member’s organization roles, lifecycle state, directory title, and public identifiers are returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership was found and its roles, title, state, and public identifiers are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to read the membership directory.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect an active organization member',\n response: ORGANIZATION_MEMBER_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect a member with relationship identifiers',\n response: ORGANIZATION_MEMBER_CONTEXT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact member summary',\n response: ORGANIZATION_MEMBER_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Browse the organization membership directory as a paginated collection.',\n outcome: 'A page of memberships and pagination metadata is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of membership records for the organization directory.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to browse the membership directory.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse organization members',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([ORGANIZATION_MEMBER_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse members with relationship identifiers',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([{\n ...ORGANIZATION_MEMBER_EXAMPLE,\n user: { _id: ORGANIZATION_MEMBER_EXAMPLE.userId },\n organization: { _id: ORGANIZATION_MEMBER_EXAMPLE.organizationId },\n }]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact member summaries',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([ORGANIZATION_MEMBER_SUMMARY_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Searchable member roster — matches on the member’s email (own field) and, through the linked user profile, on first/last name.',\n outcome: 'Org members matching the query by email or name, for people pickers and large-roster look-ups.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of members whose email, or whose linked profile’s first/last name, matches the search query.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to search the membership directory.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Find active members by email or name',\n request: { q: 'alex', status: OrganizationMemberStatus.ACTIVE, page: 1, limit: 20, sort: 'status:asc' },\n response: organizationMembersPage([ORGANIZATION_MEMBER_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.UPDATE]: {\n purpose: 'Update a member’s directory title or organization roles. This is the only API operation used to change a membership’s role set.',\n outcome: 'The updated membership is returned. Role changes take effect for subsequent authorization decisions and emit a dedicated authorization audit event with the previous and resulting role sets.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership’s title/org-unit/roles were updated and the new state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited title, org-unit, or role set fails schema validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to edit memberships.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The edit would remove the LAST administratively usable owner of the organization — either by rewriting `roles` so they no longer confer `ORG_OWNER` (directly or by inheritance), or by moving the membership `status` out of ACTIVE (the only status whose roles reach `initiatorRoles`). Grant an owner role to another active member first. Not a 403: the caller IS authorized — the current state of the organization forbids it. No TENANT authority lifts this floor; a platform administrator can repair an already-stranded organization through `grantOwnership`, which is the only cross-tenant variant this resource declares. An owner counts only when the membership is ACTIVE AND the linked user is ACTIVE; organizations in a terminal state (CANCELLED, DELETED, soft-deleted) are not protected.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Update a member’s directory title without changing authority',\n request: { userTitle: 'Staff Engineer' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n userTitle: 'Staff Engineer',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [Op.DELETE]: {\n purpose: 'Remove an accepted member from the organization. Use REVOKE instead for a still-pending invitation.',\n outcome: 'The membership and its organization-unit assignments are removed, organization-scoped access ends, and the withdrawn roles and unit grants are recorded in the audit trail.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The membership record was removed; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id (or it was already removed).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to remove members.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target is the LAST administratively usable owner of the organization. Destroying the row that holds the last tenant authority strands the organization exactly as demoting it would, so it is refused on the same terms — grant an owner role to another active member first. Also returned when the membership snapshot cannot be read, since the floor must not assume an unreadable row is not the last owner.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Refuse removal of the last usable organization owner',\n response: {\n error: {\n type: ErrorType.CONFLICT,\n severity: ErrorSeverity.MEDIUM,\n message: 'Resource conflict detected',\n customMessage: 'Grant ownership to another active member before removing this member.',\n code: AdministrativeContinuityErrorCode.LAST_ORGANIZATION_OWNER,\n timestamp: '2026-08-18T08:00:00.000Z',\n },\n },\n forStatus: HttpResponseStatusCode.CONFLICT_409,\n }],\n },\n [OrganizationMembers_Operations.SUSPEND]: {\n operationId: OrganizationMembers_Operations.SUSPEND,\n purpose: 'Temporarily block access without deleting the membership record.',\n outcome: 'The membership becomes SUSPENDED and no longer grants organization access. If `suspensionEndDate` is supplied, it is exposed as `scheduledReactivationAt` and the membership is reactivated after that instant; otherwise an administrator must reactivate it explicitly.',\n whenToUse: 'Use for temporary security or policy holds where the membership history must remain available. The last usable organization owner cannot be suspended.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership transitioned to suspended and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to suspend members.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is not currently ACTIVE.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The membership is not ACTIVE, so this is not a legal transition — an INVITED row has not accepted yet (cancel it with REVOKE, which also revokes the accept token) and an INACTIVE or already-SUSPENDED one is already out. Carries `resource_status_transition_conflict`, whose context names the current status, the target status and the permitted source statuses, so a client can re-read and show the real state rather than treating it as an opaque clash. Most callers meet the earlier `enabledCondition` gate (403) instead; this reference covers the paths that gate does not reach.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target is the organization’s LAST administratively usable owner (an ACTIVE membership holding a role that confers `ORG_OWNER`, directly or by inheritance, whose linked user is also ACTIVE). Suspending it leaves the organization with no principal able to administer it, so the tenant cannot administer itself afterwards. Grant an owner role to another active member first. Recovery is not impossible \\u2014 a platform administrator holds `grantOwnership` \\u2014 but it is an out-of-tenant escalation, which is why the in-tenant refusal stands. Not a 403: the caller IS authorized; the current state of the organization forbids it. Carries the stable client-branchable `code: LAST_ORGANIZATION_OWNER` — a DIFFERENT code from the application floor, because the remedy is scoped to this organization.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Suspend a member until a scheduled review date',\n request: {\n suspensionReason: 'Access paused while the security review is completed.',\n suspensionEndDate: '2026-09-01T09:00:00.000Z',\n },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.SUSPENDED,\n scheduledReactivationAt: '2026-09-01T09:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.REACTIVATE]: {\n operationId: OrganizationMembers_Operations.REACTIVATE,\n purpose: 'Restore access for a currently suspended organization member.',\n outcome: 'The membership becomes ACTIVE with its existing roles and any scheduled reactivation deadline is cleared.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The suspended membership transitioned back to active and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to reactivate members.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is not currently SUSPENDED.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The membership is not SUSPENDED, so there is nothing to reactivate — notably an INVITED row is refused here rather than being silently promoted, which would grant a membership nobody accepted. Carries `resource_status_transition_conflict` with the current and permitted statuses in its context.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Reactivate a member after the review is complete',\n request: { reason: 'Security review completed without further action.' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.ACTIVE,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.REVOKE]: {\n operationId: OrganizationMembers_Operations.REVOKE,\n purpose: 'Cancel a still-pending organization invitation. Use DELETE instead for an accepted member.',\n outcome: 'The INVITED membership is removed, its acceptance token can no longer be used, and the invitee and acting administrator are notified. The optional reason is retained in the audit event.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pending invitation was revoked (the INVITED membership removed) and a confirmation is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to revoke invitations.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is no longer INVITED.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Revoke a pending invitation before it is accepted',\n request: { reason: 'The invitee joined through another organization.' },\n response: { id: ORGANIZATION_MEMBER_EXAMPLE._id, deletedAt: '2026-08-18T08:05:00.000Z' },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.GRANT_OWNERSHIP]: {\n operationId: OrganizationMembers_Operations.GRANT_OWNERSHIP,\n purpose: 'Platform-tier repair door: grant `ORG_OWNER` to an EXISTING member of an organization that has no administratively usable owner left.',\n outcome: 'The existing ACTIVE membership gains the owner-conferring role; no role is removed and no new membership is created. The cross-tenant repair is audited with the required justification and the organization is notified.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The member now holds an owner-conferring role. Idempotent: a member who already owns the organization returns 200 with their role set unchanged.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold `APP_ADMIN_SUPER_ADMIN` at APPLICATION scope. An organization-scope caller who merely writes that string into their own membership `roles` is denied: the role gate resolves an organization-scope entry against the organization role table, which does not contain that key.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target membership is not administratively usable (only ACTIVE rows confer roles), or the linked user is not usable. Granting either would answer 200 while leaving the organization with zero usable owners \\u2014 a repair that repairs nothing and stops the operator looking. Fix the membership or user lifecycle first. Also returned when the user row cannot be read, since absence is not evidence of a usable owner.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Repair a stranded organization by granting an existing member ownership',\n request: { justification: 'Restore tenant administration after the sole owner was removed during account recovery.' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n roles: [CORE_ORG_ROLES.ORG_MEMBER, CORE_ORG_ROLES.ORG_OWNER],\n status: OrganizationMemberStatus.ACTIVE,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.RESEND]: {\n operationId: OrganizationMembers_Operations.RESEND,\n purpose: 'Re-mint and re-send the accept link for a still-pending invitation (an INVITED membership).',\n outcome: 'A fresh single-use accept token is issued (revoking any prior token for this membership) and the invitation email is re-delivered to the invitee.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A new accept token was minted and the invitation email re-sent; a confirmation is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to resend invitations.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is no longer INVITED.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Send a fresh acceptance link for a pending invitation',\n request: {},\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.INVITED,\n invitedByUserId: 'user_admin_01HX2EXAMPLE',\n invitedAt: '2026-08-18T08:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'CREATE is polymorphic: the accept-link email AND the single-use accept token fire ONLY for the INVITE branch (resulting status INVITED). A direct/system provisioning create (userId supplied — founder org-owner grant, SSO JIT, SCIM) persists an ACTIVE row and fires NEITHER side-effect (nothing to accept; its `userEmail` is the member’s own address). The gate is keyed on the resulting `status`, not on which identity field the caller supplied.',\n 'Factory declares userNotifications on several mutations; companion should ground email/SMS copy on runtime `userNotifications[]`, not invent channels absent from the configuration.',\n 'Member SEARCH matches on `userEmail` (a denormalized own field) and on the linked user’s first/last name. The name match is RELATIONAL: the framework runs a secondary search on `USER_PROFILES` and intersects on `userId` — names are read live (never stale) and are not denormalized onto the member row. The result stays scoped to the caller’s organization.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n views: {\n [Op.COUNT]: { purpose: 'Header metrics and cap enforcement surfaces.', whenToUse: 'Dashboards, billing seat counts, and upgrade prompts.' },\n [Op.CREATE]: { purpose: 'Invite (writes an INVITED row + emails an accept link) or direct-add flows in org admin UIs.', whenToUse: 'Inviting a teammate by email, onboarding, and bulk import.' },\n [Op.READ]: { purpose: 'Profile drawer and permission summaries.', whenToUse: 'Click-through from directory rows.' },\n [Op.LIST]: { purpose: 'Addressable roster list per merged preset (only `LIST` is addressable).', whenToUse: 'Default org directory experience.' },\n [Op.SEARCH]: { purpose: 'Member discovery by email or name when search is enabled.', whenToUse: 'Large-tenant look-ups and people pickers.' },\n [Op.UPDATE]: { purpose: 'Inline edit of metadata, roles, and org-unit links.', whenToUse: 'HR and IT directory maintenance, and every role change — there is no dedicated promote/demote verb.' },\n [Op.DELETE]: { purpose: 'Revoke and remove directory presence.', whenToUse: 'Offboarding, abuse, and access reviews.' },\n [OrganizationMembers_Operations.SUSPEND]: { purpose: 'Degraded access while retaining audit of membership history.', whenToUse: 'Short-term ToS and security holds.' },\n [OrganizationMembers_Operations.REACTIVATE]: { purpose: 'Re-open access after hold clears.', whenToUse: 'After payment or review completion.' },\n [OrganizationMembers_Operations.REVOKE]: { purpose: 'Cancel a still-pending invitation (deletes the INVITED row + revokes its accept token).', whenToUse: 'From the members list, on a row still showing INVITED.' },\n // GRANT_OWNERSHIP is deliberately ABSENT here, and the omission is the documentation.\n // `views` may only describe operations the merged frontend configuration surfaces\n // (`resourceSpecificationFromFrontendConfiguration` throws otherwise), and this operation has\n // no tenant-facing surface by construction: its caller is a platform operator who is NOT a\n // member of the organization, so the member roster \\u2014 which is a tenant surface \\u2014 is exactly\n // where it must not appear. It is reached from support/operations tooling.\n [OrganizationMembers_Operations.RESEND]: { purpose: 'Re-issue the accept link for a still-pending invitation.', whenToUse: 'When an invitee lost or never received the original invite email.' },\n },\n }),\n);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"organization-notifications.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/organizations/resources/organization-notifications.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,qBAAqB,IAAI,EAAE,EAI5B,MAAM,uBAAuB,CAAC;AAiE/B,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;iCAwL1D,CAAC"}
1
+ {"version":3,"file":"organization-notifications.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organization-notifications.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,qBAAqB,IAAI,EAAE,EAI5B,MAAM,uBAAuB,CAAC;AAiE/B,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;iCAwL1D,CAAC"}