@wildo-ai/saas-specifications 1.1.4 → 1.1.6

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 (1725) hide show
  1. package/dist/esm/_catalogs/index.d.ts.map +1 -1
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +10 -8
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  4. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +14 -13
  5. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
  6. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts +3 -2
  7. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  8. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js +4 -3
  9. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js.map +1 -1
  10. package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
  12. package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
  14. package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
  15. package/dist/esm/_catalogs/schema-org/index.d.ts +31 -15
  16. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  17. package/dist/esm/_catalogs/schema-org/index.js +34 -13
  18. package/dist/esm/_catalogs/schema-org/index.js.map +1 -1
  19. package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
  20. package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
  21. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts +2 -2
  22. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
  23. package/dist/esm/_catalogs/schema-org/product.catalog-spec.js +4 -4
  24. package/dist/esm/_catalogs/schema-org/product.catalog-spec.js.map +1 -1
  25. package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
  26. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts +45 -0
  27. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts.map +1 -0
  28. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js +58 -0
  29. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js.map +1 -0
  30. package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
  31. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
  32. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
  33. package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
  34. package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
  35. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
  36. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
  37. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
  38. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
  39. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
  40. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
  41. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
  42. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
  43. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +305 -0
  44. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
  45. package/dist/esm/_core/application-specification-family-identity.schemas.js +315 -0
  46. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
  47. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
  48. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
  49. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
  50. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
  51. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
  52. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
  53. package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
  54. package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
  55. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
  56. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
  57. package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
  58. package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
  59. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
  60. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  61. package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
  62. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  63. package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
  64. package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
  65. package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
  66. package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
  67. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
  68. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  69. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
  70. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
  71. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
  72. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  73. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  74. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
  75. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  76. package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
  77. package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
  78. package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
  79. package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  81. package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
  82. package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
  83. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
  84. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  85. package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
  86. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  87. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
  88. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  89. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  90. package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
  91. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
  92. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +270 -2
  93. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  94. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
  95. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  96. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +150 -4
  97. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  98. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +248 -5
  99. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  100. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +791 -14
  101. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  102. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +603 -10
  103. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  104. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  105. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +104 -2
  106. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  107. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
  108. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  109. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
  110. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
  111. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  112. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  113. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  114. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  115. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
  116. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  117. package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
  118. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -1
  119. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
  120. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
  121. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
  122. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  123. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +4 -1
  124. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  125. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +50 -0
  126. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  127. package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
  128. package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
  129. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
  130. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
  131. package/dist/esm/_core/capability-composition/capability-composition-validation.js +90 -0
  132. package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
  133. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
  134. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
  135. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
  136. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
  137. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +160 -0
  138. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
  139. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +166 -0
  140. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
  141. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  142. package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
  143. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +42 -0
  144. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  145. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +60 -2
  146. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  147. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
  148. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
  149. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
  150. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
  151. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +256 -39
  152. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  153. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +297 -6
  154. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  155. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
  156. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  157. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
  158. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
  159. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +189 -0
  160. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
  161. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +538 -0
  162. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
  163. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  164. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
  165. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  166. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
  167. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
  168. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
  169. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +383 -4
  170. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  171. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +294 -2
  172. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  173. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +139 -0
  174. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -0
  175. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +172 -0
  176. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -0
  177. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +306 -0
  178. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -0
  179. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +502 -0
  180. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -0
  181. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
  182. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  183. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +75 -3
  184. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  185. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +107 -0
  186. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -0
  187. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +118 -0
  188. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -0
  189. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +56 -0
  190. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -0
  191. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +100 -0
  192. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -0
  193. package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
  194. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  195. package/dist/esm/_core/composite-view-specification.schemas.js +21 -1
  196. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  197. package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
  198. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  199. package/dist/esm/_core/cross-registry-assertions.js +7 -5
  200. package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
  201. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  202. package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
  203. package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
  204. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  205. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  206. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
  207. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  208. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +5 -2
  209. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  210. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +31 -0
  211. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  212. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +100 -6
  213. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  214. package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
  215. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  216. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +58 -0
  217. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
  218. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
  219. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
  220. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
  221. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
  222. package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
  223. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
  224. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
  225. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
  226. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
  227. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
  228. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +298 -0
  229. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
  230. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +358 -0
  231. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
  232. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
  233. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  234. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
  235. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
  236. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
  237. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  238. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +7 -0
  239. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  240. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  241. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  242. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
  243. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
  244. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
  245. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
  246. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
  247. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  248. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
  249. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  250. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  251. package/dist/esm/_core/family-aspects.registry.js +22 -1
  252. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  253. package/dist/esm/_core/family-aspects.schemas.d.ts +74 -1
  254. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  255. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  256. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +35 -35
  257. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
  258. package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
  259. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +60 -59
  260. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  261. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -1
  262. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
  263. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  264. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  265. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  266. package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
  267. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +16 -0
  268. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  269. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +14 -1
  270. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  271. package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
  272. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  273. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  274. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  275. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
  276. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  277. package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
  278. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  279. package/dist/esm/_core/index.d.ts +19 -0
  280. package/dist/esm/_core/index.d.ts.map +1 -1
  281. package/dist/esm/_core/index.js +19 -0
  282. package/dist/esm/_core/index.js.map +1 -1
  283. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +57 -0
  284. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
  285. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +52 -0
  286. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
  287. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
  288. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
  289. package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
  290. package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
  291. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
  292. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
  293. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +62 -0
  294. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
  295. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +196 -0
  296. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
  297. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +200 -0
  298. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
  299. package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
  300. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  301. package/dist/esm/_core/market/feature-benefit.schemas.js +7 -4
  302. package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
  303. package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
  304. package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
  305. package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
  306. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  307. package/dist/esm/_core/market/market-alternative.schemas.js +6 -3
  308. package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
  309. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
  310. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  311. package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
  312. package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
  313. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
  314. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  315. package/dist/esm/_core/market/market-buying-journey.schemas.js +6 -3
  316. package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
  317. package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
  318. package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
  319. package/dist/esm/_core/market/market-category.schemas.js +2 -2
  320. package/dist/esm/_core/market/market-category.schemas.js.map +1 -1
  321. package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
  322. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  323. package/dist/esm/_core/market/market-channel.schemas.js +8 -5
  324. package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
  325. package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
  326. package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
  327. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  328. package/dist/esm/_core/market/market-gain.schemas.js +6 -3
  329. package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
  330. package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
  331. package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
  332. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  333. package/dist/esm/_core/market/market-icp.schemas.js +14 -11
  334. package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
  335. package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
  336. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  337. package/dist/esm/_core/market/market-job.schemas.js +6 -3
  338. package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
  339. package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
  340. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  341. package/dist/esm/_core/market/market-message-template.schemas.js +7 -4
  342. package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
  343. package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
  344. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  345. package/dist/esm/_core/market/market-objection.schemas.js +6 -3
  346. package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
  347. package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
  348. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  349. package/dist/esm/_core/market/market-pain.schemas.js +6 -3
  350. package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
  351. package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
  352. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  353. package/dist/esm/_core/market/market-persona.schemas.js +7 -4
  354. package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
  355. package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
  356. package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
  357. package/dist/esm/_core/market/market-positioning.schemas.js +2 -2
  358. package/dist/esm/_core/market/market-positioning.schemas.js.map +1 -1
  359. package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
  360. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  361. package/dist/esm/_core/market/market-proof.schemas.js +6 -3
  362. package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
  363. package/dist/esm/_core/market/market-references.schemas.d.ts +6 -0
  364. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  365. package/dist/esm/_core/market/market-references.schemas.js +6 -0
  366. package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
  367. package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
  368. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +70 -70
  369. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  370. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  371. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  372. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  373. package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
  374. package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
  375. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
  376. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  377. package/dist/esm/_core/market/market-tone-of-voice.schemas.js +6 -3
  378. package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
  379. package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
  380. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  381. package/dist/esm/_core/market/market-trigger.schemas.js +6 -3
  382. package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
  383. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  384. package/dist/esm/_core/market/market.family-aspects.js +26 -2
  385. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  386. package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
  387. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
  388. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  389. package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
  390. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  391. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
  392. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  393. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  394. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +8 -0
  395. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  396. package/dist/esm/_core/placement-plan/placement-plan-validation.js +17 -1
  397. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  398. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  399. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +24 -1
  400. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  401. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +66 -39
  402. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  403. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +56 -17
  404. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  405. package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
  406. package/dist/esm/_core/provider-specification.schemas.d.ts +3 -0
  407. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
  408. package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
  409. package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
  410. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
  411. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  412. package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -0
  413. package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
  414. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
  415. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  416. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
  417. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  418. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
  419. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
  420. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
  421. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  422. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  423. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  424. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  425. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +5 -4
  426. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  427. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  428. package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
  429. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
  430. package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
  431. package/dist/esm/_core/resource-specification.schemas.d.ts +94 -28
  432. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  433. package/dist/esm/_core/resource-specification.schemas.js +110 -24
  434. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  435. package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
  436. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
  437. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  438. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
  439. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
  440. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
  441. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  442. package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
  443. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  444. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  445. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
  446. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  447. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
  448. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  449. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
  450. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
  451. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
  452. package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
  453. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
  454. package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
  455. package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
  456. package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
  457. package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
  458. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  459. package/dist/esm/_core/utils/extract-field-specs.js +4 -2
  460. package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
  461. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -1
  462. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -1
  463. package/dist/esm/_core/utils/retention-clock-field-specs.d.ts +13 -0
  464. package/dist/esm/_core/utils/retention-clock-field-specs.d.ts.map +1 -0
  465. package/dist/esm/_core/utils/retention-clock-field-specs.js +26 -0
  466. package/dist/esm/_core/utils/retention-clock-field-specs.js.map +1 -0
  467. package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
  468. package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
  469. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
  470. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  471. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
  472. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
  473. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
  474. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
  475. package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
  476. package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
  477. package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
  478. package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
  479. package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
  480. package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
  481. package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
  482. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  483. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  484. package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
  485. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
  486. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
  487. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
  488. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
  489. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
  490. package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
  491. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
  492. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
  493. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
  494. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
  495. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
  496. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
  497. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
  498. package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
  499. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
  500. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
  501. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
  502. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
  503. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
  504. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +219 -0
  505. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
  506. package/dist/esm/_core/website-plan/website-plan.schemas.js +222 -0
  507. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
  508. package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
  509. package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
  510. package/dist/esm/_core/zod-core-nameability.js +1 -0
  511. package/dist/esm/_core/zod-core-nameability.js.map +1 -0
  512. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +225 -0
  513. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
  514. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +230 -0
  515. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
  516. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +208 -43
  517. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  518. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +275 -17
  519. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  520. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
  521. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  522. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
  523. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  524. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +215 -0
  525. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -0
  526. package/dist/esm/application-creation/application-line.application-creation.schemas.js +253 -0
  527. package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -0
  528. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts +39 -0
  529. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts.map +1 -0
  530. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js +37 -0
  531. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js.map +1 -0
  532. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
  533. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
  534. package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
  535. package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
  536. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  537. package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
  538. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
  539. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
  540. package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
  541. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
  542. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  543. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +19 -97
  544. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  545. package/dist/esm/application-creation/journey.application-creation.schemas.js +64 -99
  546. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  547. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts +28 -0
  548. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts.map +1 -0
  549. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js +32 -0
  550. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js.map +1 -0
  551. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +225 -499
  552. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  553. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +284 -542
  554. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  555. package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
  556. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +10 -0
  557. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  558. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +10 -0
  559. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  560. package/dist/esm/application-creation.exports.d.ts +80 -8
  561. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  562. package/dist/esm/application-creation.exports.js +110 -8
  563. package/dist/esm/application-creation.exports.js.map +1 -1
  564. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
  565. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
  566. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
  567. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
  568. package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
  569. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  570. package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
  571. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  572. package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
  573. package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
  574. package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
  575. package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
  576. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
  577. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
  578. package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
  579. package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
  580. package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
  581. package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
  582. package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
  583. package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
  584. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
  585. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
  586. package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
  587. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
  588. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +269 -13
  589. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  590. package/dist/esm/assurance/assurance-authority-basis.definitions.js +891 -87
  591. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  592. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +106 -34
  593. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  594. package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
  595. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  596. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +11 -0
  597. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  598. package/dist/esm/assurance/assurance-document-blueprint-selection.js +22 -3
  599. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  600. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  601. package/dist/esm/assurance/assurance-document-system.definitions.js +138 -14
  602. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  603. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +144 -41
  604. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  605. package/dist/esm/assurance/assurance-document-system.schemas.js +79 -11
  606. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  607. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
  608. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
  609. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
  610. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
  611. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -46
  612. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  613. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1883 -412
  614. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  615. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
  616. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +28 -0
  617. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  618. package/dist/esm/assurance/assurance-foundation.schemas.js +28 -0
  619. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  620. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +2 -2
  621. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  622. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +125 -5
  623. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  624. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +262 -15
  625. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  626. package/dist/esm/assurance/assurance-program-generation.schemas.js +594 -48
  627. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  628. package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
  629. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  630. package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
  631. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
  632. package/dist/esm/assurance/assurance-program.schemas.d.ts +1412 -350
  633. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  634. package/dist/esm/assurance/assurance-program.schemas.js +565 -88
  635. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  636. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  637. package/dist/esm/assurance/assurance-source-registry.definitions.js +146 -2
  638. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  639. package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
  640. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  641. package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
  642. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  643. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  644. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +202 -7
  645. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  646. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -1
  647. package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
  648. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
  649. package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
  650. package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
  651. package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
  652. package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
  653. package/dist/esm/assurance/governed-document-release.d.ts +218 -0
  654. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
  655. package/dist/esm/assurance/governed-document-release.js +323 -0
  656. package/dist/esm/assurance/governed-document-release.js.map +1 -0
  657. package/dist/esm/assurance.exports.d.ts +5 -0
  658. package/dist/esm/assurance.exports.d.ts.map +1 -1
  659. package/dist/esm/assurance.exports.js +5 -0
  660. package/dist/esm/assurance.exports.js.map +1 -1
  661. package/dist/esm/companion-exports.d.ts +140 -15
  662. package/dist/esm/companion-exports.d.ts.map +1 -1
  663. package/dist/esm/companion-exports.js.map +1 -1
  664. package/dist/esm/engine/_bootstrap.d.ts +1 -1
  665. package/dist/esm/engine/_bootstrap.d.ts.map +1 -1
  666. package/dist/esm/engine/_bootstrap.js +1 -1
  667. package/dist/esm/engine/_bootstrap.js.map +1 -1
  668. package/dist/esm/engine/applications/index.d.ts.map +1 -1
  669. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -0
  670. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  671. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +35 -33
  672. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  673. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
  674. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  675. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +7 -3
  676. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  677. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +0 -23
  678. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  679. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +118 -35
  680. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  681. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
  682. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  683. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +27 -3
  684. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  685. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
  686. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  687. package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -4
  688. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  689. package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
  690. package/dist/esm/engine/auth/index.d.ts.map +1 -1
  691. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +11 -1
  692. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  693. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +70 -11
  694. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  695. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
  696. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  697. package/dist/esm/engine/auth/resources/index.d.ts +1 -0
  698. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  699. package/dist/esm/engine/auth/resources/index.js +1 -0
  700. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  701. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  702. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +2 -2
  703. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  704. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -0
  705. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  706. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +45 -32
  707. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  708. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -23
  709. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  710. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +238 -33
  711. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  712. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
  713. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
  714. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
  715. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
  716. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +6 -2
  717. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  718. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +38 -12
  719. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  720. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  721. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +7 -1
  722. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  723. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  724. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +14 -10
  725. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  726. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
  727. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  728. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +11 -7
  729. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  730. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  731. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +18 -16
  732. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  733. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
  734. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
  735. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
  736. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
  737. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
  738. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  739. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +32 -23
  740. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  741. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
  742. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  743. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +240 -242
  744. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  745. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +6 -26
  746. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  747. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +91 -18
  748. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  749. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +7 -3
  750. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  751. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +36 -20
  752. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  753. package/dist/esm/engine/billing/index.d.ts.map +1 -1
  754. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  755. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +43 -15
  756. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  757. package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
  758. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
  759. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
  760. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
  761. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
  762. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
  763. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
  764. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
  765. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
  766. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
  767. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
  768. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
  769. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
  770. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
  771. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
  772. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
  773. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
  774. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +2 -0
  775. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  776. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +13 -12
  777. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  778. package/dist/esm/engine/billing/resources/index.d.ts +4 -0
  779. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  780. package/dist/esm/engine/billing/resources/index.js +4 -0
  781. package/dist/esm/engine/billing/resources/index.js.map +1 -1
  782. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  783. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -5
  784. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  785. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
  786. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  787. package/dist/esm/engine/billing/resources/prices.resource.specification.js +12 -9
  788. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  789. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +10 -7
  790. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  791. package/dist/esm/engine/billing/resources/products.resource.specification.js +37 -17
  792. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  793. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  794. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +13 -10
  795. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  796. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +13 -8
  797. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  798. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +54 -20
  799. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  800. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +30 -4
  801. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  802. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +165 -49
  803. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  804. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  805. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +2 -2
  806. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  807. package/dist/esm/engine/compliance/index.d.ts.map +1 -1
  808. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +30 -9
  809. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  810. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +109 -15
  811. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  812. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +16 -3
  813. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  814. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +52 -12
  815. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  816. package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
  817. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  818. package/dist/esm/engine/compliance/resources/index.js +2 -0
  819. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  820. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +39 -0
  821. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -0
  822. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +325 -0
  823. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -0
  824. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +23 -0
  825. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -0
  826. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +197 -0
  827. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -0
  828. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
  829. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
  830. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
  831. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
  832. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  833. package/dist/esm/engine/engine-resource-specifications.registry.js +83 -0
  834. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  835. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  836. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  837. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  838. package/dist/esm/engine/errors/error-messages.specification.js +173 -19
  839. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  840. package/dist/esm/engine/errors/index.d.ts.map +1 -1
  841. package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
  842. package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
  843. package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
  844. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  845. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  846. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  847. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  848. package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
  849. package/dist/esm/engine/features/index.d.ts.map +1 -1
  850. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
  851. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +5 -5
  852. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  853. package/dist/esm/engine/features/resources/application-features.resource.specification.js +11 -11
  854. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  855. package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
  856. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts +5 -5
  857. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  858. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +12 -11
  859. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  860. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +6 -6
  861. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  862. package/dist/esm/engine/features/resources/user-features.resource.specification.js +7 -4
  863. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  864. package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
  865. package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
  866. package/dist/esm/engine/files/index.d.ts.map +1 -1
  867. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  868. package/dist/esm/engine/files/resources/files.resource.specification.js +15 -4
  869. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  870. package/dist/esm/engine/files/resources/index.d.ts.map +1 -1
  871. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  872. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +16 -4
  873. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  874. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  875. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +1 -1
  876. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  877. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts +11 -0
  878. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -0
  879. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +382 -0
  880. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -0
  881. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +142 -1
  882. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  883. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +150 -4
  884. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  885. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
  886. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  887. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -1
  888. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  889. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts +3 -0
  890. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -0
  891. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +162 -0
  892. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -0
  893. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts +3 -0
  894. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -0
  895. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +158 -0
  896. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -0
  897. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +15 -0
  898. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
  899. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +191 -0
  900. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
  901. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  902. package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
  903. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
  904. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
  905. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
  906. package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.d.ts.map +1 -1
  907. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  908. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
  909. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
  910. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  911. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
  912. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
  913. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
  914. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
  915. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
  916. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
  917. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
  918. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
  919. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
  920. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
  921. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
  922. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
  923. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
  924. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  925. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
  926. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
  927. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
  928. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
  929. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +1 -1
  930. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
  931. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
  932. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js +1 -1
  933. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js.map +1 -1
  934. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
  935. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
  936. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
  937. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
  938. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
  939. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
  940. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  941. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
  942. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
  943. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
  944. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  945. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
  946. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
  947. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
  948. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
  949. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
  950. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
  951. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
  952. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
  953. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
  954. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
  955. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
  956. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +1 -1
  957. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
  958. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
  959. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
  960. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
  961. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
  962. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
  963. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts +5 -0
  964. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts.map +1 -0
  965. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +79 -0
  966. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -0
  967. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.map +1 -1
  968. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js +1 -1
  969. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js.map +1 -1
  970. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
  971. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
  972. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +84 -0
  973. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -0
  974. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  975. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +8 -6
  976. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  977. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts +4 -0
  978. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
  979. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
  980. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
  981. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
  982. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
  983. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
  984. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
  985. package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
  986. package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
  987. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
  988. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +1 -1
  989. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
  990. package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  991. package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
  992. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
  993. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
  994. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
  995. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
  996. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -0
  997. package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
  998. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
  999. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
  1000. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
  1001. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -1
  1002. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -1
  1003. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  1004. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +4 -2
  1005. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  1006. package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
  1007. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
  1008. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
  1009. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
  1010. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  1011. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +1 -1
  1012. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
  1013. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  1014. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
  1015. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
  1016. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
  1017. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
  1018. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
  1019. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.d.ts.map +1 -1
  1020. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
  1021. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
  1022. package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
  1023. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
  1024. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
  1025. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
  1026. package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
  1027. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
  1028. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
  1029. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
  1030. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
  1031. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +1 -1
  1032. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
  1033. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  1034. package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.d.ts.map +1 -1
  1035. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
  1036. package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
  1037. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  1038. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
  1039. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
  1040. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +1 -1
  1041. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
  1042. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
  1043. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
  1044. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
  1045. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
  1046. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
  1047. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +1 -1
  1048. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
  1049. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
  1050. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.d.ts.map +1 -1
  1051. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +3 -3
  1052. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  1053. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +1 -1
  1054. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
  1055. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
  1056. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.d.ts.map +1 -1
  1057. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
  1058. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
  1059. package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.d.ts.map +1 -1
  1060. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  1061. package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
  1062. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  1063. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
  1064. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
  1065. package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
  1066. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
  1067. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
  1068. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
  1069. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
  1070. package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
  1071. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
  1072. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
  1073. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
  1074. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
  1075. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1076. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
  1077. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
  1078. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
  1079. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
  1080. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
  1081. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
  1082. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
  1083. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  1084. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
  1085. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
  1086. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
  1087. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
  1088. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
  1089. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
  1090. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  1091. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
  1092. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
  1093. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
  1094. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js +1 -1
  1095. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js.map +1 -1
  1096. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
  1097. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1098. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
  1099. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  1100. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
  1101. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
  1102. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
  1103. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
  1104. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js +2 -2
  1105. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js.map +1 -1
  1106. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
  1107. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
  1108. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
  1109. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
  1110. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
  1111. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
  1112. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
  1113. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
  1114. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
  1115. package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
  1116. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
  1117. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
  1118. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
  1119. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
  1120. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  1121. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
  1122. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js.map +1 -1
  1123. package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
  1124. package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
  1125. package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
  1126. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
  1127. package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
  1128. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
  1129. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
  1130. package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
  1131. package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
  1132. package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
  1133. package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
  1134. package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
  1135. package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
  1136. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
  1137. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
  1138. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.map +1 -1
  1139. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  1140. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  1141. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.d.ts.map +1 -1
  1142. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
  1143. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +1 -1
  1144. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
  1145. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
  1146. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
  1147. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
  1148. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
  1149. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
  1150. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
  1151. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
  1152. package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
  1153. package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
  1154. package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
  1155. package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
  1156. package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
  1157. package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
  1158. package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
  1159. package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
  1160. package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
  1161. package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
  1162. package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
  1163. package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
  1164. package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
  1165. package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
  1166. package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
  1167. package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
  1168. package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
  1169. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
  1170. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
  1171. package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
  1172. package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
  1173. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
  1174. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
  1175. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
  1176. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
  1177. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
  1178. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
  1179. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
  1180. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
  1181. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
  1182. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
  1183. package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
  1184. package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
  1185. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
  1186. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
  1187. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
  1188. package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
  1189. package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
  1190. package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
  1191. package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
  1192. package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
  1193. package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
  1194. package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
  1195. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
  1196. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
  1197. package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
  1198. package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
  1199. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
  1200. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
  1201. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
  1202. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
  1203. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
  1204. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
  1205. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
  1206. package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
  1207. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
  1208. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
  1209. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
  1210. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
  1211. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
  1212. package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1213. package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
  1214. package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
  1215. package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
  1216. package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
  1217. package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
  1218. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +1 -1
  1219. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
  1220. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
  1221. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.d.ts.map +1 -1
  1222. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
  1223. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
  1224. package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
  1225. package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
  1226. package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
  1227. package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1228. package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
  1229. package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  1230. package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
  1231. package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
  1232. package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
  1233. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
  1234. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +2 -2
  1235. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
  1236. package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
  1237. package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  1238. package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
  1239. package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
  1240. package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
  1241. package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
  1242. package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
  1243. package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
  1244. package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
  1245. package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
  1246. package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
  1247. package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
  1248. package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
  1249. package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
  1250. package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
  1251. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
  1252. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
  1253. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
  1254. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  1255. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
  1256. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
  1257. package/dist/esm/engine/frontend-components/index.d.ts +13 -0
  1258. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  1259. package/dist/esm/engine/frontend-components/index.js +43 -0
  1260. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  1261. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
  1262. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  1263. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
  1264. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
  1265. package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
  1266. package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
  1267. package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
  1268. package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
  1269. package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
  1270. package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
  1271. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
  1272. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
  1273. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
  1274. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
  1275. package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
  1276. package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
  1277. package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
  1278. package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
  1279. package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
  1280. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +1 -1
  1281. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
  1282. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
  1283. package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
  1284. package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
  1285. package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
  1286. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
  1287. package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
  1288. package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
  1289. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  1290. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
  1291. package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
  1292. package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
  1293. package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
  1294. package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
  1295. package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
  1296. package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
  1297. package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
  1298. package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
  1299. package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
  1300. package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
  1301. package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
  1302. package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
  1303. package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
  1304. package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
  1305. package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
  1306. package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
  1307. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
  1308. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  1309. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
  1310. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
  1311. package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
  1312. package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
  1313. package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
  1314. package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
  1315. package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
  1316. package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
  1317. package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
  1318. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
  1319. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +1 -1
  1320. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
  1321. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
  1322. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
  1323. package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
  1324. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
  1325. package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
  1326. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
  1327. package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
  1328. package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
  1329. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
  1330. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
  1331. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
  1332. package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
  1333. package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
  1334. package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
  1335. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
  1336. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js +1 -1
  1337. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js.map +1 -1
  1338. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
  1339. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
  1340. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js +1 -1
  1341. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js.map +1 -1
  1342. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  1343. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
  1344. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
  1345. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  1346. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
  1347. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
  1348. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
  1349. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
  1350. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
  1351. package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
  1352. package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.map +1 -1
  1353. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  1354. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js +9 -4
  1355. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js.map +1 -1
  1356. package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.d.ts.map +1 -1
  1357. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  1358. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
  1359. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
  1360. package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
  1361. package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
  1362. package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
  1363. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
  1364. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
  1365. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
  1366. package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
  1367. package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
  1368. package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
  1369. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  1370. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +21 -1
  1371. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  1372. package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
  1373. package/dist/esm/engine/guidance/index.d.ts.map +1 -1
  1374. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  1375. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
  1376. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  1377. package/dist/esm/engine/guidance/resources/index.d.ts.map +1 -1
  1378. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  1379. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +34 -0
  1380. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  1381. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
  1382. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  1383. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +26 -0
  1384. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  1385. package/dist/esm/engine/index.d.ts.map +1 -1
  1386. package/dist/esm/engine/index.js.map +1 -1
  1387. package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
  1388. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  1389. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +2 -2
  1390. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  1391. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts +9 -0
  1392. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -0
  1393. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +122 -0
  1394. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -0
  1395. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts +9 -0
  1396. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -0
  1397. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +152 -0
  1398. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -0
  1399. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts +10 -0
  1400. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts.map +1 -0
  1401. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js +94 -0
  1402. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js.map +1 -0
  1403. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts +10 -0
  1404. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts.map +1 -0
  1405. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +64 -0
  1406. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -0
  1407. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +7 -0
  1408. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
  1409. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +52 -0
  1410. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
  1411. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts +9 -0
  1412. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -0
  1413. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +200 -0
  1414. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -0
  1415. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  1416. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +21 -7
  1417. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  1418. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts +9 -0
  1419. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -0
  1420. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +97 -0
  1421. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -0
  1422. package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
  1423. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +85 -3
  1424. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  1425. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +13 -5
  1426. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  1427. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
  1428. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  1429. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +18 -9
  1430. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  1431. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
  1432. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
  1433. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
  1434. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
  1435. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts +9 -0
  1436. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts.map +1 -0
  1437. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js +153 -0
  1438. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js.map +1 -0
  1439. package/dist/esm/engine/notifications/index.d.ts.map +1 -1
  1440. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +81 -0
  1441. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -0
  1442. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +437 -0
  1443. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -0
  1444. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +112 -0
  1445. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -0
  1446. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +287 -0
  1447. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -0
  1448. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +131 -0
  1449. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -0
  1450. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +594 -0
  1451. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -0
  1452. package/dist/esm/engine/notifications/resources/index.d.ts +1 -0
  1453. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  1454. package/dist/esm/engine/notifications/resources/index.js +1 -0
  1455. package/dist/esm/engine/notifications/resources/index.js.map +1 -1
  1456. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -3
  1457. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  1458. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +25 -10
  1459. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  1460. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
  1461. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  1462. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +12 -2
  1463. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  1464. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +6 -6
  1465. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  1466. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +14 -17
  1467. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  1468. package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
  1469. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +4 -0
  1470. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -0
  1471. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +62 -0
  1472. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -0
  1473. package/dist/esm/engine/notifications/system-emails/index.d.ts +2 -1
  1474. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  1475. package/dist/esm/engine/notifications/system-emails/index.js +4 -2
  1476. package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
  1477. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  1478. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
  1479. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
  1480. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  1481. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
  1482. package/dist/esm/engine/organizations/index.d.ts.map +1 -1
  1483. package/dist/esm/engine/organizations/resources/index.d.ts +2 -0
  1484. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  1485. package/dist/esm/engine/organizations/resources/index.js +2 -0
  1486. package/dist/esm/engine/organizations/resources/index.js.map +1 -1
  1487. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +4 -1
  1488. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  1489. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +40 -12
  1490. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  1491. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  1492. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +2 -2
  1493. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  1494. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  1495. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +2 -2
  1496. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  1497. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +0 -1
  1498. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  1499. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +5 -7
  1500. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  1501. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  1502. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +7 -3
  1503. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  1504. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
  1505. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  1506. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +41 -12
  1507. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  1508. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +3 -1
  1509. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  1510. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +63 -29
  1511. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  1512. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +38 -0
  1513. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +1 -0
  1514. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +152 -0
  1515. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +1 -0
  1516. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +106 -0
  1517. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +1 -0
  1518. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +417 -0
  1519. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +1 -0
  1520. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -1
  1521. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -1
  1522. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
  1523. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
  1524. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
  1525. package/dist/esm/engine/providers/apple.provider.specification.js +3 -1
  1526. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  1527. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
  1528. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
  1529. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  1530. package/dist/esm/engine/providers/github.provider.specification.js +3 -1
  1531. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  1532. package/dist/esm/engine/providers/google-places.provider.specification.d.ts +6 -0
  1533. package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -0
  1534. package/dist/esm/engine/providers/google-places.provider.specification.js +44 -0
  1535. package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -0
  1536. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
  1537. package/dist/esm/engine/providers/google.provider.specification.js +3 -1
  1538. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  1539. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
  1540. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
  1541. package/dist/esm/engine/providers/index.d.ts +2 -0
  1542. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  1543. package/dist/esm/engine/providers/index.js +5 -1
  1544. package/dist/esm/engine/providers/index.js.map +1 -1
  1545. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  1546. package/dist/esm/engine/providers/microsoft.provider.specification.js +22 -6
  1547. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  1548. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
  1549. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  1550. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
  1551. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
  1552. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
  1553. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
  1554. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
  1555. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
  1556. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts +6 -0
  1557. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -0
  1558. package/dist/esm/engine/providers/recaptcha.provider.specification.js +38 -0
  1559. package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -0
  1560. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  1561. package/dist/esm/engine/providers/resend.provider.specification.js +3 -1
  1562. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  1563. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  1564. package/dist/esm/engine/providers/stripe.provider.specification.js +3 -2
  1565. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  1566. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
  1567. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
  1568. package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
  1569. package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
  1570. package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
  1571. package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
  1572. package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
  1573. package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
  1574. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
  1575. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
  1576. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
  1577. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
  1578. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts +2 -0
  1579. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts.map +1 -0
  1580. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js +21 -0
  1581. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js.map +1 -0
  1582. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts +2 -0
  1583. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts.map +1 -0
  1584. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js +21 -0
  1585. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js.map +1 -0
  1586. package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
  1587. package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
  1588. package/dist/esm/engine/roles/index.d.ts +14 -5
  1589. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  1590. package/dist/esm/engine/roles/index.js +21 -6
  1591. package/dist/esm/engine/roles/index.js.map +1 -1
  1592. package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
  1593. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts +2 -0
  1594. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts.map +1 -0
  1595. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js +21 -0
  1596. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js.map +1 -0
  1597. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +7 -0
  1598. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -0
  1599. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +72 -0
  1600. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -0
  1601. package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
  1602. package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
  1603. package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
  1604. package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
  1605. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +2 -0
  1606. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +1 -0
  1607. package/dist/esm/engine/roles/org-service-provider.role.specification.js +22 -0
  1608. package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +1 -0
  1609. package/dist/esm/engine/users/index.d.ts.map +1 -1
  1610. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
  1611. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  1612. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +4 -4
  1613. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  1614. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +2 -1
  1615. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  1616. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +5 -5
  1617. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  1618. package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
  1619. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts +1 -1
  1620. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  1621. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -6
  1622. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
  1623. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  1624. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
  1625. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  1626. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
  1627. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  1628. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +10 -5
  1629. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  1630. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -6
  1631. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  1632. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -5
  1633. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  1634. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -8
  1635. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  1636. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +8 -8
  1637. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  1638. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  1639. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +5 -5
  1640. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  1641. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -7
  1642. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  1643. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +14 -21
  1644. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  1645. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  1646. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +6 -6
  1647. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  1648. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
  1649. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  1650. package/dist/esm/engine/users/resources/user-self.resource.specification.js +5 -1
  1651. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  1652. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
  1653. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +9 -5
  1654. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  1655. package/dist/esm/engine/users/resources/users.resource.specification.js +51 -18
  1656. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  1657. package/dist/esm/index.d.ts +39 -0
  1658. package/dist/esm/index.d.ts.map +1 -1
  1659. package/dist/esm/index.js +39 -0
  1660. package/dist/esm/index.js.map +1 -1
  1661. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
  1662. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
  1663. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
  1664. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
  1665. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
  1666. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
  1667. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
  1668. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
  1669. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
  1670. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
  1671. package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
  1672. package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
  1673. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
  1674. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
  1675. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
  1676. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
  1677. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
  1678. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
  1679. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
  1680. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
  1681. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  1682. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +34 -23
  1683. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  1684. package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
  1685. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
  1686. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
  1687. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
  1688. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
  1689. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
  1690. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
  1691. package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
  1692. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
  1693. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
  1694. package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
  1695. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
  1696. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
  1697. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
  1698. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
  1699. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
  1700. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
  1701. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
  1702. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
  1703. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
  1704. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
  1705. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  1706. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
  1707. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  1708. package/dist/esm/technical-documentation.exports.d.ts +4 -0
  1709. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  1710. package/dist/esm/technical-documentation.exports.js +24 -0
  1711. package/dist/esm/technical-documentation.exports.js.map +1 -1
  1712. package/dist/tsconfig.build.tsbuildinfo +1 -1
  1713. package/package.json +8 -13
  1714. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
  1715. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
  1716. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
  1717. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
  1718. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
  1719. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
  1720. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
  1721. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
  1722. package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
  1723. package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
  1724. package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
  1725. package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"sso-connections.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/sso-connections.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,8BAA8B,EAC9B,aAAa,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,EAC5B,8BAA8B,EAC9B,uBAAuB,EACvB,gBAAgB,EAChB,WAAW,EACX,iCAAiC,GAClC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAE/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE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SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,+CAA+C,GAAG,wCAAwC,CACrG,gBAAgB,CAAC,4BAA4B,EAC7C,8BAA8B,CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAAG,wCAAwC,CACpG,gBAAgB,CAAC,2BAA2B,EAC5C,6BAA6B,CAC9B,CAAC","sourcesContent":["import {\n CorePresetNames,\n CorePreset_ResourceLayout_Read,\n LabelAudience,\n} from '@wildo-ai/presets-components-models';\nimport {\n securityAdminPresets,\n securityMainPresets,\n} from '@wildo-ai/presets-components';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n SsoConnection_Operations,\n SsoConnectionDiscoverySource,\n SsoConnectionTestOverallStatus,\n SsoConnectionBaseSchema,\n SamlNameIdFormat,\n SsoProtocol,\n ssoConnectionPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\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 SsoConnectionResourceType =\n | CoreResourceType.ORGANIZATION_SSO_CONNECTIONS\n | CoreResourceType.APPLICATION_SSO_CONNECTIONS;\n\ntype SsoConnectionResourceTypeMemberName =\n | 'ORGANIZATION_SSO_CONNECTIONS'\n | 'APPLICATION_SSO_CONNECTIONS';\n\ntype SsoConnectionResourceConfiguration = ReturnType<\n (typeof ssoConnectionPolymorphicFactories)[CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]\n>;\ntype SsoConnectionCustomOperation = NonNullable<SsoConnectionResourceConfiguration['customOperation']>;\ntype SsoConnectionCoreOperation = SsoConnectionResourceConfiguration['coreOperations'][number];\ntype SsoConnectionMainSchema = typeof SsoConnectionBaseSchema;\ntype SsoConnectionFrontendConfiguration = ResourceUIBehaviorConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n>;\n\nfunction resolveSsoConnectionUIBehavior(\n source: Partial<Record<string, unknown>>,\n resourceType: SsoConnectionResourceType,\n sourceName: string,\n): SsoConnectionFrontendConfiguration {\n const uiBehavior = source[resourceType] as SsoConnectionFrontendConfiguration | undefined;\n if (!uiBehavior) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return uiBehavior;\n}\n\n/**\n * Map each polymorphic SSO-connection resource type to its declared\n * `resourcePrimaryScope` (Phase 4.5 Step 2 — F-1). The polymorphic\n * factory derives the same value from the resource's relationships\n * (`AUTH_SCOPE_VARIANTS` carries `isPrimaryScope: true` for both the\n * `ORGANIZATIONS` and `APPLICATION` parents, so\n * `createPolymorphicScopeRelationships` emits scope edges for both\n * variants). Adding a new SSO-connection variant requires explicitly\n * extending this map (TypeScript-enforced via the\n * `Record<SsoConnectionResourceType, ...>` type), preventing a silent\n * scope-default regression on the new variant.\n *\n * The cross-check that the declared value here matches the registry-\n * assembled scope is the responsibility of the post-factory check\n * tracked as Phase 4.5 Step 2.5 — the spec layer cannot perform it\n * because it never sees the real cross-resource `ResourceRelationship[]`.\n */\nconst ssoConnectionResourcePrimaryScopeByResourceType: Record<\n SsoConnectionResourceType,\n ResourcePrimaryScope\n> = {\n [CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_SSO_CONNECTIONS]: ResourcePrimaryScope.APPLICATION,\n};\n\nconst SSO_CONNECTION_LIST_REQUEST_EXAMPLE = { page: 1, limit: 20, sort: 'displayName:asc' } as const;\n\nfunction createSsoConnectionExamples(resourceType: SsoConnectionResourceType) {\n const scopeIdentity = resourceType === CoreResourceType.ORGANIZATION_SSO_CONNECTIONS\n ? { organizationId: 'organization_01HX2EXAMPLE' }\n : { applicationId: 'application_01HX2EXAMPLE' };\n const record = {\n _id: resourceType === CoreResourceType.ORGANIZATION_SSO_CONNECTIONS ? 'sso_org_01HX2EXAMPLE' : 'sso_app_01HX2EXAMPLE',\n protocol: SsoProtocol.SAML,\n displayName: 'Corporate workforce SAML',\n enabled: true,\n isDefault: true,\n saml: {\n entityId: 'https://idp.example.com/saml',\n ssoUrl: 'https://idp.example.com/saml/sso',\n sloUrl: 'https://idp.example.com/saml/slo',\n x509Certificates: ['MIIBEXAMPLECERTIFICATE'],\n attributeMapping: {\n email: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress',\n firstName: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname',\n lastName: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname',\n },\n signRequests: true,\n wantAssertionsSigned: true,\n allowedClockDrift: 30,\n forceAuthn: false,\n nameIdFormat: SamlNameIdFormat.EMAIL_ADDRESS,\n allowIdpInitiated: false,\n auditSettings: {\n logAuthAttempts: true,\n logAttributeMapping: true,\n retentionDays: 90,\n },\n },\n autoCreateUsers: true,\n autoVerifyEmail: true,\n bypassAppMFA: false,\n defaultRole: 'member',\n allowedDomains: ['example.com'],\n createdAt: '2026-08-01T09:00:00.000Z',\n updatedAt: '2026-08-20T08:30:00.000Z',\n ...scopeIdentity,\n };\n const page = {\n data: [record],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n };\n const summaryPage = {\n data: [{\n _id: record._id,\n protocol: record.protocol,\n displayName: record.displayName,\n enabled: record.enabled,\n }],\n pagination: page.pagination,\n };\n\n return { page, summaryPage };\n}\n\nfunction buildSsoConnectionsBaseSpecification(\n resourceType: SsoConnectionResourceType,\n resourceTypeMemberName: SsoConnectionResourceTypeMemberName,\n): ResourceSpecificationConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n> {\n const examples = createSsoConnectionExamples(resourceType);\n return resourceSpecification<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n >(\n ssoConnectionPolymorphicFactories[resourceType],\n SsoConnectionBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Represent one configured SSO provider connection that governs how an organization or application accepts external identity-provider sign-ins.',\n businessRole: 'Administrative authentication-connection record that binds one auth scope to a concrete OIDC or SAML provider setup.',\n lifecycleRole: 'Moves from draft/provider setup through validation and eventual activation, rotation, or retirement under admin control.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SsoConnectionBaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactoryCollectionEntry: {\n collectionSymbol: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ssoConnectionPolymorphicFactories',\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: resourceTypeMemberName,\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: 'SsoConnection_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSourceEntries: [\n {\n collectionSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n {\n collectionSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n ],\n notes: [\n 'These resources are polymorphic: import the shared collection exports and select the entry keyed by the concrete resource type.',\n ],\n },\n fields: {\n protocol: schemaShape.protocol.enumSpec({\n meaning: 'Chooses which external authentication protocol contract this connection follows.',\n whyItMatters: 'It changes which nested configuration block is meaningful, which validation UI applies, and which custom admin views can surface.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SsoProtocol',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [SsoProtocol.OIDC]: { meaning: 'OIDC provider configuration with discovery/token endpoints and OAuth-style settings.' },\n [SsoProtocol.SAML]: { meaning: 'SAML identity-provider configuration with metadata, certificates, and assertion settings.' },\n },\n }),\n displayName: schemaShape.displayName.stringSpec({\n meaning: 'Human-facing name administrators use to recognize this SSO connection in settings and support flows.',\n whyItMatters: 'It anchors the connection in admin UX and makes protocol/test results intelligible during troubleshooting.',\n semanticRole: 'label',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Indicates whether the connection may actively participate in authentication flows.',\n whyItMatters: 'Disabled connections remain configured for audit or later reuse, but should not be offered for live sign-in attempts.',\n }),\n allowedDomains: schemaShape.allowedDomains.arraySpec({\n meaning: 'Restricts which email/identity domains are accepted through this SSO connection.',\n whyItMatters: 'It is the primary admin-controlled allow-list that prevents unintended tenants or users from authenticating through this connection — a security-critical setting.',\n elementMeaning: 'One DNS-style domain that an authenticating identity must match (e.g. acme.com).',\n elementType: {\n notes: [\n 'Element schema is a free-form string — domain values are application-declared and validated at the backend service layer rather than via a fixed enum.',\n ],\n },\n }),\n },\n operations: {\n [Op.LIST]: {\n purpose: 'List the SSO connections configured for the current organization or application authentication scope.',\n outcome: 'Administrators receive each configured provider connection with its protocol, enabled state, and configuration summary so they can select one to inspect, test, or maintain.',\n whenToUse: 'Use to build the authentication settings inventory or to locate a connection before a configuration or diagnostics action.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connections visible in the caller’s authentication scope are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to inspect SSO connection configuration.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse configured SSO connections',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.page,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse SSO connections through the context representation',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.page,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact SSO connection summaries',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.summaryPage,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.READ]: {\n purpose: 'Retrieve the current configuration and status of one SSO connection.',\n outcome: 'Administrators can inspect how the connection is wired and whether it is ready to support sign-in flows.',\n whenToUse: 'Use when the goal is configuration review, troubleshooting, or pre-change verification.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connection was found and its protocol configuration, allowed domains, and enabled state are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to inspect SSO connection configuration.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Create a new SSO connection for the current auth scope. INTERNAL_CALL service transport — there is no public HTTP CREATE route (only API_CALL variants register routes); administrators reach this through the DISCOVER_ENDPOINTS wizard and internal/system callers through `createAsSystem`. The statuses below describe the service-operation outcome, not a client-facing endpoint.',\n outcome: 'The organization or application gains a newly authored external identity-provider connection.',\n whenToUse: 'Use when onboarding a new enterprise identity provider or adding another auth route.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new SSO connection was created for the auth scope and returned with its server-assigned id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The connection fails schema validation (e.g. a missing `protocol`, an empty `displayName`, or protocol settings that do not match the selected `protocol`).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to author SSO connections for the scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A connection with the same provider identity (e.g. duplicate `displayName` or issuer) already exists in this auth scope.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Create an OIDC SSO connection',\n request: {\n protocol: SsoProtocol.OIDC,\n displayName: 'Acme Okta',\n enabled: false,\n allowedDomains: ['acme.com'],\n },\n response: {\n _id: 'ssoconn_01HX2…',\n protocol: SsoProtocol.OIDC,\n displayName: 'Acme Okta',\n enabled: false,\n allowedDomains: ['acme.com'],\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Adjust the configuration of an existing SSO connection. INTERNAL_CALL service transport — no public HTTP UPDATE route; the statuses below describe the service-operation outcome, not a client-facing endpoint. The write-only `oidc.clientSecret` is preserved when the caller round-trips the masked value.',\n outcome: 'The connection stays the same logical identity-provider entry but with updated settings or lifecycle posture.',\n whenToUse: 'Use when rotating metadata, changing mapping rules, or enabling/disabling the provider.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connection was updated and its new configuration/lifecycle state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited protocol settings, domains, or display name fail schema validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to modify SSO connections.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },\n ],\n idempotent: true,\n },\n [SsoConnection_Operations.TEST_CONNECTION]: {\n operationId: SsoConnection_Operations.TEST_CONNECTION,\n purpose: 'Evaluate the stored SSO connection without accepting a second connection identity in the request. SAML returns concrete certificate, endpoint, and service-provider metadata diagnostics; OIDC explicitly reports that its test flow is not implemented.',\n outcome: 'Administrators receive a protocol-discriminated result with `supported` always present, so a real SAML diagnostic cannot be confused with an unavailable OIDC test.',\n whenToUse: 'Use after configuring a SAML connection and before enabling it for production sign-in. For OIDC, use the response only to detect that this diagnostic capability is currently unavailable.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated result is returned. SAML validation failures use `overallStatus: fail`; OIDC returns `supported: false` and performs no provider handshake.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run an SSO connection test.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id to test.' },\n ],\n idempotent: false,\n rateLimitNote: 'A supported SAML test checks provider endpoints; throttle repeated calls to avoid tripping identity-provider limits while an administrator iterates.',\n examples: [\n {\n title: 'SAML connection passes diagnostics',\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityIdConfigured: true,\n ssoUrlReachable: true,\n ssoUrlStatus: 200,\n certificates: [{\n index: 0,\n valid: true,\n expiresAt: '2027-08-18T00:00:00.000Z',\n daysRemaining: 365,\n algorithm: 'sha256WithRSAEncryption',\n fingerprint: 'AA:BB:CC:DD:EE:FF',\n warnings: [],\n }],\n sloUrlReachable: true,\n sloUrlStatus: 200,\n spMetadataValid: true,\n overallStatus: SsoConnectionTestOverallStatus.PASS,\n errors: [],\n warnings: [],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'SAML connection fails diagnostics',\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityIdConfigured: true,\n ssoUrlReachable: false,\n certificates: [],\n spMetadataValid: true,\n overallStatus: SsoConnectionTestOverallStatus.FAIL,\n errors: ['SSO URL is not reachable: request timed out', 'No X.509 certificates configured'],\n warnings: [],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'OIDC diagnostics are unavailable',\n response: {\n protocol: SsoProtocol.OIDC,\n supported: false,\n message: 'OIDC connection testing is not implemented; no provider handshake was attempted.',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [SsoConnection_Operations.DISCOVER_ENDPOINTS]: {\n operationId: SsoConnection_Operations.DISCOVER_ENDPOINTS,\n purpose: 'Read provider endpoint metadata without creating or mutating an SSO connection. SAML metadata discovery is implemented; OIDC issuer discovery returns an explicit unsupported result.',\n outcome: 'The response contains discovered SAML metadata for the caller to review and apply separately, or an OIDC `supported: false` result. This operation never persists the returned values.',\n whenToUse: 'Use a `metadataUrl` while preparing SAML configuration. Supplying an `issuerUrl` currently provides only a machine-readable indication that OIDC discovery is unavailable.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated discovery result is returned. SAML contains parsed provider metadata; OIDC returns `supported: false` without fetching issuer metadata.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'Neither source is supplied, a URL is malformed or unreachable, or the SAML endpoint returns oversized, non-XML, or unparseable metadata.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run endpoint discovery.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Discover SAML identity-provider endpoints',\n request: { metadataUrl: 'https://idp.example.com/saml/metadata' },\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityId: 'https://idp.example.com/saml',\n ssoUrl: 'https://idp.example.com/saml/sso',\n sloUrl: 'https://idp.example.com/saml/slo',\n x509Certificates: ['-----BEGIN CERTIFICATE-----\\nMIIBEXAMPLE\\n-----END CERTIFICATE-----'],\n nameIdFormat: 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',\n source: SsoConnectionDiscoverySource.SAML_METADATA,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'OIDC discovery is unavailable',\n request: { issuerUrl: 'https://idp.example.com/oauth2/default' },\n response: {\n protocol: SsoProtocol.OIDC,\n supported: false,\n message: 'OIDC endpoint discovery is not implemented; issuer metadata was not fetched.',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n businessConstraints: [\n 'Protocol-specific nested settings are only meaningful when the matching `protocol` is selected; do not flatten SAML and OIDC concerns into one generic prose bucket.',\n 'These resources describe authentication-provider wiring, not end-user identity records or access-policy outcomes directly.',\n ],\n }),\n {\n // Phase 4.5 Step 2 (F-1): scope is parameterised per polymorphic\n // resource type via `ssoConnectionResourcePrimaryScopeByResourceType`\n // — the map is `Record<SsoConnectionResourceType, ...>` so adding a\n // new variant is a TypeScript error until the scope is declared.\n resourcePrimaryScope: ssoConnectionResourcePrimaryScopeByResourceType[resourceType],\n },\n );\n}\n\nfunction buildSsoConnectionsResourceSpecification(\n resourceType: SsoConnectionResourceType,\n resourceTypeMemberName: SsoConnectionResourceTypeMemberName,\n): ResourceSpecificationConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n> {\n const baseSpecification = buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberName);\n const mainUIBehavior = resolveSsoConnectionUIBehavior(\n securityMainPresets as Partial<Record<string, unknown>>,\n resourceType,\n 'securityMainPresets',\n );\n const adminUIBehavior = resolveSsoConnectionUIBehavior(\n securityAdminPresets as Partial<Record<string, unknown>>,\n resourceType,\n 'securityAdminPresets',\n );\n const mergedFrontendConfiguration = mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(mainUIBehavior),\n resourceFrontendConfiguration(adminUIBehavior),\n );\n\n return resourceSpecificationFromFrontendConfiguration(\n mergedFrontendConfiguration,\n baseSpecification,\n () => ({\n label: {\n purpose: 'Use the connection display name as the primary admin label so protocol diagnostics and provider-specific actions stay easy to map to the right external identity provider.',\n },\n views: {\n [SsoConnection_Operations.TEST_CONNECTION]: {\n purpose: 'Surface an admin-facing validation flow for the configured provider connection.',\n views: {\n default: {\n customView: {\n purpose: 'Augment the standard read shell with SAML-specific diagnostic and metadata sections while keeping the surrounding resource context intact.',\n whenToUse: 'Use when the operation behaves like a read-oriented diagnostics screen rather than a plain preset swap.',\n textSlots: {\n title: {\n purpose: 'Name this custom diagnostics host as the SSO connection test surface users are currently in.',\n },\n description: {\n purpose: 'Explain that this host focuses on validation and protocol diagnostics for the selected SSO connection.',\n },\n },\n basedOnPreset: CorePreset_ResourceLayout_Read.DEFAULT,\n implementationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceLayoutPreset_Read_SsoSaml',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n declarationSymbols: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n notes: [\n 'This is resource-owned operation metadata, not an injectable framework component preset.',\n ],\n },\n },\n },\n },\n [SsoConnection_Operations.DISCOVER_ENDPOINTS]: {\n purpose: 'Surface a metadata-discovery workflow that behaves like a guided create/setup flow for SSO connections.',\n views: {\n default: {\n customView: {\n purpose: 'Replace the generic create host with the SAML discovery wizard when the administrator needs provider-derived endpoint setup.',\n whenToUse: 'Use when the operation should drive guided discovery rather than the default create form shell.',\n textSlots: {\n title: {\n purpose: 'Name this custom setup host as the SSO endpoint-discovery workflow users are currently in.',\n },\n description: {\n purpose: 'Explain that this host guides administrators through metadata-driven SSO endpoint discovery rather than generic manual creation.',\n },\n },\n basedOnPreset: CorePresetNames.DEFAULT,\n implementationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceLayoutPreset_Create_SamlWizard',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n declarationSymbols: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n },\n },\n },\n },\n }),\n );\n}\n\nexport const organizationSsoConnectionsResourceSpecification = buildSsoConnectionsResourceSpecification(\n CoreResourceType.ORGANIZATION_SSO_CONNECTIONS,\n 'ORGANIZATION_SSO_CONNECTIONS',\n);\n\nexport const applicationSsoConnectionsResourceSpecification = buildSsoConnectionsResourceSpecification(\n CoreResourceType.APPLICATION_SSO_CONNECTIONS,\n 'APPLICATION_SSO_CONNECTIONS',\n);\n"]}
1
+ {"version":3,"file":"sso-connections.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/sso-connections.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,8BAA8B,EAC9B,aAAa,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EA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eAAe,EAAE,mBAAmB,CAAC,QAAQ;6BAC9C;4BACD,kBAAkB,EAAE;gCAClB;oCACE,WAAW,EAAE,8BAA8B;oCAC3C,UAAU,EAAE,qBAAqB;oCACjC,UAAU,EAAE,cAAc,CAAC,WAAW;iCACvC;gCACD;oCACE,WAAW,EAAE,8BAA8B;oCAC3C,UAAU,EAAE,sBAAsB;oCAClC,UAAU,EAAE,cAAc,CAAC,WAAW;iCACvC;6BACF;yBACF;qBACF;iBACF;aACF;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,+CAA+C,GAAG,wCAAwC,CACrG,gBAAgB,CAAC,4BAA4B,EAC7C,8BAA8B,CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAAG,wCAAwC,CACpG,gBAAgB,CAAC,2BAA2B,EAC5C,6BAA6B,CAC9B,CAAC","sourcesContent":["import {\n CorePresetNames,\n CorePreset_ResourceLayout_Read,\n LabelAudience,\n} from '@wildo-ai/presets-components-models';\nimport {\n securityAdminPresets,\n securityMainPresets,\n} from '@wildo-ai/presets-components';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n SsoConnection_Operations,\n SsoConnectionDiscoverySource,\n SsoConnectionTestOverallStatus,\n SsoConnectionBaseSchema,\n SamlNameIdFormat,\n SsoProtocol,\n ssoConnectionPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\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 SsoConnectionResourceType =\n | CoreResourceType.ORGANIZATION_SSO_CONNECTIONS\n | CoreResourceType.APPLICATION_SSO_CONNECTIONS;\n\ntype SsoConnectionResourceTypeMemberName =\n | 'ORGANIZATION_SSO_CONNECTIONS'\n | 'APPLICATION_SSO_CONNECTIONS';\n\ntype SsoConnectionResourceConfiguration = ReturnType<\n (typeof ssoConnectionPolymorphicFactories)[CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]\n>;\ntype SsoConnectionCustomOperation = NonNullable<SsoConnectionResourceConfiguration['customOperation']>;\ntype SsoConnectionCoreOperation = SsoConnectionResourceConfiguration['coreOperations'][number];\ntype SsoConnectionMainSchema = typeof SsoConnectionBaseSchema;\ntype SsoConnectionFrontendConfiguration = ResourceUIBehaviorConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n>;\n\nfunction resolveSsoConnectionUIBehavior(\n source: Partial<Record<string, unknown>>,\n resourceType: SsoConnectionResourceType,\n sourceName: string,\n): SsoConnectionFrontendConfiguration {\n const uiBehavior = source[resourceType] as SsoConnectionFrontendConfiguration | undefined;\n if (!uiBehavior) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return uiBehavior;\n}\n\n/**\n * Map each polymorphic SSO-connection resource type to its declared\n * `resourcePrimaryScope` (Phase 4.5 Step 2 — F-1). The polymorphic\n * factory derives the same value from the resource's relationships\n * (`AUTH_SCOPE_VARIANTS` carries `isPrimaryScope: true` for both the\n * `ORGANIZATIONS` and `APPLICATION` parents, so\n * `createPolymorphicScopeRelationships` emits scope edges for both\n * variants). Adding a new SSO-connection variant requires explicitly\n * extending this map (TypeScript-enforced via the\n * `Record<SsoConnectionResourceType, ...>` type), preventing a silent\n * scope-default regression on the new variant.\n *\n * The cross-check that the declared value here matches the registry-\n * assembled scope is the responsibility of the post-factory check\n * tracked as Phase 4.5 Step 2.5 — the spec layer cannot perform it\n * because it never sees the real cross-resource `ResourceRelationship[]`.\n */\nconst ssoConnectionResourcePrimaryScopeByResourceType: Record<\n SsoConnectionResourceType,\n ResourcePrimaryScope\n> = {\n [CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_SSO_CONNECTIONS]: ResourcePrimaryScope.APPLICATION,\n};\n\nconst SSO_CONNECTION_LIST_REQUEST_EXAMPLE = { page: 1, limit: 20, sort: 'displayName:asc' } as const;\n\nfunction createSsoConnectionExamples(resourceType: SsoConnectionResourceType) {\n const scopeIdentity = resourceType === CoreResourceType.ORGANIZATION_SSO_CONNECTIONS\n ? { organizationId: 'organization_01HX2EXAMPLE' }\n : { applicationId: 'application_01HX2EXAMPLE' };\n const record = {\n _id: resourceType === CoreResourceType.ORGANIZATION_SSO_CONNECTIONS ? 'sso_org_01HX2EXAMPLE' : 'sso_app_01HX2EXAMPLE',\n protocol: SsoProtocol.SAML,\n displayName: 'Corporate workforce SAML',\n enabled: true,\n isDefault: true,\n saml: {\n entityId: 'https://idp.example.com/saml',\n ssoUrl: 'https://idp.example.com/saml/sso',\n sloUrl: 'https://idp.example.com/saml/slo',\n x509Certificates: ['MIIBEXAMPLECERTIFICATE'],\n attributeMapping: {\n email: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress',\n firstName: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname',\n lastName: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname',\n },\n signRequests: true,\n wantAssertionsSigned: true,\n allowedClockDrift: 30,\n forceAuthn: false,\n nameIdFormat: SamlNameIdFormat.EMAIL_ADDRESS,\n allowIdpInitiated: false,\n },\n autoCreateUsers: true,\n defaultRole: 'member',\n allowedDomains: ['example.com'],\n createdAt: '2026-08-01T09:00:00.000Z',\n updatedAt: '2026-08-20T08:30:00.000Z',\n ...scopeIdentity,\n };\n const page = {\n data: [record],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n };\n const summaryPage = {\n data: [{\n _id: record._id,\n protocol: record.protocol,\n displayName: record.displayName,\n enabled: record.enabled,\n }],\n pagination: page.pagination,\n };\n\n return { page, summaryPage };\n}\n\nfunction buildSsoConnectionsBaseSpecification(\n resourceType: SsoConnectionResourceType,\n resourceTypeMemberName: SsoConnectionResourceTypeMemberName,\n): ResourceSpecificationConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n> {\n const examples = createSsoConnectionExamples(resourceType);\n return resourceSpecification<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n >(\n ssoConnectionPolymorphicFactories[resourceType],\n SsoConnectionBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Represent one configured SSO provider connection that governs how an organization or application accepts external identity-provider sign-ins.',\n businessRole: 'Administrative authentication-connection record that binds one auth scope to a concrete OIDC or SAML provider setup.',\n lifecycleRole: 'Moves from draft/provider setup through validation and eventual activation, rotation, or retirement under admin control.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SsoConnectionBaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactoryCollectionEntry: {\n collectionSymbol: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ssoConnectionPolymorphicFactories',\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: resourceTypeMemberName,\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: 'SsoConnection_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSourceEntries: [\n {\n collectionSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n {\n collectionSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n ],\n notes: [\n 'These resources are polymorphic: import the shared collection exports and select the entry keyed by the concrete resource type.',\n ],\n },\n fields: {\n protocol: schemaShape.protocol.enumSpec({\n meaning: 'Chooses which external authentication protocol contract this connection follows.',\n whyItMatters: 'It changes which nested configuration block is meaningful, which validation UI applies, and which custom admin views can surface.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SsoProtocol',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [SsoProtocol.OIDC]: { meaning: 'OIDC provider configuration with discovery/token endpoints and OAuth-style settings.' },\n [SsoProtocol.SAML]: { meaning: 'SAML identity-provider configuration with metadata, certificates, and assertion settings.' },\n },\n }),\n displayName: schemaShape.displayName.stringSpec({\n meaning: 'Human-facing name administrators use to recognize this SSO connection in settings and support flows.',\n whyItMatters: 'It anchors the connection in admin UX and makes protocol/test results intelligible during troubleshooting.',\n semanticRole: 'label',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Indicates whether the connection may actively participate in authentication flows.',\n whyItMatters: 'Disabled connections remain configured for audit or later reuse, but should not be offered for live sign-in attempts.',\n }),\n isDefault: schemaShape.isDefault.booleanSpec({\n meaning: 'Marks the connection that receives a sign-in when several of the scope\\u2019s enabled connections could. Sign-in offers exactly one connection; among eligible connections, one that names the user\\u2019s email domain wins first, then the default, then the oldest.',\n whyItMatters: 'It decides which identity provider silently receives a login, which is why it is audit evidence. Making one connection the default removes the flag from the scope\\u2019s others in the same write.',\n }),\n allowedDomains: schemaShape.allowedDomains.arraySpec({\n meaning: 'Restricts which email/identity domains are accepted through this SSO connection.',\n whyItMatters: 'It is the primary admin-controlled allow-list that prevents unintended tenants or users from authenticating through this connection — a security-critical setting.',\n elementMeaning: 'One DNS-style domain that an authenticating identity must match (e.g. acme.com).',\n elementType: {\n notes: [\n 'Element schema is a free-form string — domain values are application-declared and validated at the backend service layer rather than via a fixed enum.',\n ],\n },\n }),\n saml: schemaShape.saml.objectSpec({\n meaning: 'The SAML identity provider this connection federates with: its endpoints and certificates, how strictly its assertions are validated, and which attribute carries each user detail. Present when `protocol` is `saml`.',\n }),\n oidc: schemaShape.oidc.objectSpec({\n meaning: 'The OpenID Connect provider this connection federates with: how its endpoints are found, the client credentials the application uses, what it requests at sign-in, and which claim carries each user detail. Present when `protocol` is `oidc`.',\n }),\n externalProviderId: schemaShape.externalProviderId.stringSpec({\n meaning: 'The known provider this OIDC connection is built on, such as Google or Microsoft. In `template` mode its endpoints come from that provider\\'s definition, and in every mode the provider\\'s own token rules apply, such as how it reports a verified email or which directory asserted the identity.',\n }),\n autoCreateUsers: schemaShape.autoCreateUsers.booleanSpec({\n meaning: 'Whether a person signing in through this connection for the first time gets an account. When off, only people who already have an account can sign in through it.',\n }),\n defaultRole: schemaShape.defaultRole.stringSpec({\n meaning: 'The organization role a person receives when neither `roleMapping` nor `groupMapping` yields one. Like a mapped role, it is dropped if the organization type does not allow it.',\n }),\n allowedDirectoryIds: schemaShape.allowedDirectoryIds.arraySpec({\n meaning: 'The provider directories this connection accepts identities from, such as Microsoft Entra tenant IDs. Empty means no directory restriction. Independent of `allowedDomains`: a directory can assert an address in a domain it does not own, so only this list proves membership of a directory.',\n elementMeaning: 'One directory identifier as the provider reports it (for Microsoft, the `tid` claim).',\n }),\n roleMapping: schemaShape.roleMapping.objectSpec({\n meaning: 'Translates the role values the provider sends into organization roles: each key is a provider value, each value an organization role. Mapped roles the organization type does not allow are dropped.',\n }),\n groupMapping: schemaShape.groupMapping.objectSpec({\n meaning: 'Translates the groups the provider says a person belongs to into organization roles: each key is a group as the provider sends it (for Microsoft Entra, the group\\'s object ID), each value the organization roles its members receive. A person receives the roles of every mapped group they are in, together with those `roleMapping` gives; roles the organization type does not allow are dropped.',\n }),\n },\n operations: {\n [Op.LIST]: {\n purpose: 'List the SSO connections configured for the current organization or application authentication scope.',\n outcome: 'Administrators receive each configured provider connection with its protocol, enabled state, and configuration summary so they can select one to inspect, test, or maintain.',\n whenToUse: 'Use to build the authentication settings inventory or to locate a connection before a configuration or diagnostics action.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connections visible in the caller’s authentication scope are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to inspect SSO connection configuration.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse configured SSO connections',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.page,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse SSO connections through the context representation',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.page,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact SSO connection summaries',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.summaryPage,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.READ]: {\n purpose: 'Retrieve the current configuration and status of one SSO connection.',\n outcome: 'Administrators can inspect how the connection is wired and whether it is ready to support sign-in flows.',\n whenToUse: 'Use when the goal is configuration review, troubleshooting, or pre-change verification.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connection was found and its protocol configuration, allowed domains, and enabled state are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to inspect SSO connection configuration.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Create a new SSO connection for the current auth scope. INTERNAL_CALL service transport — there is no public HTTP CREATE route (only API_CALL variants register routes); administrators reach this through the DISCOVER_ENDPOINTS wizard and internal/system callers through `createAsSystem`. The statuses below describe the service-operation outcome, not a client-facing endpoint.',\n outcome: 'The organization or application gains a newly authored external identity-provider connection.',\n whenToUse: 'Use when onboarding a new enterprise identity provider or adding another auth route.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new SSO connection was created for the auth scope and returned with its server-assigned id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The connection fails schema validation (e.g. a missing `protocol`, an empty `displayName`, or protocol settings that do not match the selected `protocol`).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to author SSO connections for the scope.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The write would grant a role above the writer\\'s own (`role_ceiling_exceeded`, #1631): the roles this setting gives to the accounts it creates may not exceed the roles of whoever configures it, counting only roles the write adds. These writes are reached by organization administrators only (no capability opens them), so the check is what stops an administrator mapping a group to `ORG_OWNER`.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A connection with the same provider identity (e.g. duplicate `displayName` or issuer) already exists in this auth scope.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Create an OIDC SSO connection',\n request: {\n protocol: SsoProtocol.OIDC,\n displayName: 'Acme Okta',\n enabled: false,\n allowedDomains: ['acme.com'],\n },\n response: {\n _id: 'ssoconn_01HX2…',\n protocol: SsoProtocol.OIDC,\n displayName: 'Acme Okta',\n enabled: false,\n allowedDomains: ['acme.com'],\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Adjust the configuration of an existing SSO connection. INTERNAL_CALL service transport — no public HTTP UPDATE route; the statuses below describe the service-operation outcome, not a client-facing endpoint. The write-only `oidc.clientSecret` is preserved when the caller round-trips the masked value.',\n outcome: 'The connection stays the same logical identity-provider entry but with updated settings or lifecycle posture.',\n whenToUse: 'Use when rotating metadata, changing mapping rules, or enabling/disabling the provider.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connection was updated and its new configuration/lifecycle state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited protocol settings, domains, or display name fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to modify SSO connections.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The write would grant a role above the writer\\'s own (`role_ceiling_exceeded`, #1631): the roles this setting gives to the accounts it creates may not exceed the roles of whoever configures it, counting only roles the write adds. These writes are reached by organization administrators only (no capability opens them), so the check is what stops an administrator mapping a group to `ORG_OWNER`.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },\n ],\n idempotent: true,\n },\n [SsoConnection_Operations.TEST_CONNECTION]: {\n operationId: SsoConnection_Operations.TEST_CONNECTION,\n purpose: 'Evaluate the stored SSO connection without accepting a second connection identity in the request. SAML returns concrete certificate, endpoint, and service-provider metadata diagnostics; OIDC explicitly reports that its test flow is not implemented.',\n outcome: 'Administrators receive a protocol-discriminated result with `supported` always present, so a real SAML diagnostic cannot be confused with an unavailable OIDC test.',\n whenToUse: 'Use after configuring a SAML connection and before enabling it for production sign-in. For OIDC, use the response only to detect that this diagnostic capability is currently unavailable.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated result is returned. SAML validation failures use `overallStatus: fail`; an SSO or SLO URL the server may not connect to (a private network the operator has not declared) is reported as not probeable from the server — a warning, with `ssoUrlReachable` absent — because SAML sign-in reaches it through the browser. OIDC returns `supported: false` and performs no provider handshake.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run an SSO connection test.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id to test.' },\n ],\n idempotent: false,\n rateLimitNote: 'A supported SAML test checks provider endpoints; throttle repeated calls to avoid tripping identity-provider limits while an administrator iterates.',\n examples: [\n {\n title: 'SAML connection passes diagnostics',\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityIdConfigured: true,\n ssoUrlReachable: true,\n ssoUrlStatus: 200,\n certificates: [{\n index: 0,\n valid: true,\n expiresAt: '2027-08-18T00:00:00.000Z',\n daysRemaining: 365,\n algorithm: 'sha256WithRSAEncryption',\n fingerprint: 'AA:BB:CC:DD:EE:FF',\n warnings: [],\n }],\n sloUrlReachable: true,\n sloUrlStatus: 200,\n spMetadataValid: true,\n overallStatus: SsoConnectionTestOverallStatus.PASS,\n errors: [],\n warnings: [],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'SAML connection fails diagnostics',\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityIdConfigured: true,\n ssoUrlReachable: false,\n certificates: [],\n spMetadataValid: true,\n overallStatus: SsoConnectionTestOverallStatus.FAIL,\n errors: ['SSO URL is not reachable: request timed out', 'No X.509 certificates configured'],\n warnings: [],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'SAML SSO URL on an undeclared private network is not probeable from the server',\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityIdConfigured: true,\n certificates: [],\n spMetadataValid: true,\n overallStatus: SsoConnectionTestOverallStatus.FAIL,\n errors: ['No X.509 certificates configured'],\n warnings: ['SSO URL is not probeable from the server: the server does not connect to this destination (private_or_reserved_address). SAML sign-in reaches this endpoint through the user\\'s browser, so this is not a finding that it is unreachable. To let the server probe it, the operator declares its network in auth.federatedIdentityProviderPrivateNetworks.'],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'OIDC diagnostics are unavailable',\n response: {\n protocol: SsoProtocol.OIDC,\n supported: false,\n message: 'OIDC connection testing is not implemented; no provider handshake was attempted.',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [SsoConnection_Operations.DISCOVER_ENDPOINTS]: {\n operationId: SsoConnection_Operations.DISCOVER_ENDPOINTS,\n purpose: 'Read provider endpoint metadata without creating or mutating an SSO connection: a SAML provider from its metadata document (`metadataUrl`), an OpenID Connect provider from its discovery document (`issuerUrl`).',\n outcome: 'The response contains the discovered endpoints for the caller to review and apply separately. For OpenID Connect, the fields carry the connection\\u2019s own `oidc.*` names, and `issuer` is exactly as the provider publishes it — the string an ID token\\u2019s `iss` must equal. This operation never persists the returned values. When both sources are sent, SAML metadata is read.',\n whenToUse: 'Use a `metadataUrl` while preparing SAML configuration, or an `issuerUrl` while preparing an OpenID Connect one. The OpenID document is fetched fresh on every call, so re-running after fixing the provider shows the change.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated discovery result is returned: parsed SAML metadata, or the OpenID Connect provider\\u2019s endpoints.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'Neither source is supplied, a URL is malformed or unreachable, the metadata URL resolves to an address an identity-provider destination may not reach (link-local always; a private network unless the operator declared its range in `auth.federatedIdentityProviderPrivateNetworks`; loopback outside a development or test runtime unless explicitly declared), the endpoint answers with a redirect — which is reported, never followed — or the SAML endpoint returns oversized, non-XML, or unparseable metadata. For `issuerUrl`: the issuer is not HTTPS, its discovery document is not a JSON object or is oversized, lacks an authorization, token or JWKS endpoint, or asserts a different `issuer` — carried as `oidc_discovery_failed` with the reason in its context.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run endpoint discovery.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Discover SAML identity-provider endpoints',\n request: { metadataUrl: 'https://idp.example.com/saml/metadata' },\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityId: 'https://idp.example.com/saml',\n ssoUrl: 'https://idp.example.com/saml/sso',\n sloUrl: 'https://idp.example.com/saml/slo',\n x509Certificates: ['-----BEGIN CERTIFICATE-----\\nMIIBEXAMPLE\\n-----END CERTIFICATE-----'],\n nameIdFormat: 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',\n source: SsoConnectionDiscoverySource.SAML_METADATA,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'Discover OpenID Connect provider endpoints',\n request: { issuerUrl: 'https://idp.example.com/oauth2/default' },\n response: {\n protocol: SsoProtocol.OIDC,\n supported: true,\n issuer: 'https://idp.example.com/oauth2/default',\n authorizationEndpoint: 'https://idp.example.com/oauth2/default/v1/authorize',\n tokenEndpoint: 'https://idp.example.com/oauth2/default/v1/token',\n userInfoEndpoint: 'https://idp.example.com/oauth2/default/v1/userinfo',\n jwksUri: 'https://idp.example.com/oauth2/default/v1/keys',\n scopesSupported: ['openid', 'email', 'profile'],\n source: SsoConnectionDiscoverySource.OIDC_DISCOVERY,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n businessConstraints: [\n 'Protocol-specific nested settings are only meaningful when the matching `protocol` is selected; do not flatten SAML and OIDC concerns into one generic prose bucket.',\n 'These resources describe authentication-provider wiring, not end-user identity records or access-policy outcomes directly.',\n ],\n }),\n {\n // Phase 4.5 Step 2 (F-1): scope is parameterised per polymorphic\n // resource type via `ssoConnectionResourcePrimaryScopeByResourceType`\n // — the map is `Record<SsoConnectionResourceType, ...>` so adding a\n // new variant is a TypeScript error until the scope is declared.\n resourcePrimaryScope: ssoConnectionResourcePrimaryScopeByResourceType[resourceType],\n },\n );\n}\n\nfunction buildSsoConnectionsResourceSpecification(\n resourceType: SsoConnectionResourceType,\n resourceTypeMemberName: SsoConnectionResourceTypeMemberName,\n): ResourceSpecificationConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n> {\n const baseSpecification = buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberName);\n const mainUIBehavior = resolveSsoConnectionUIBehavior(\n securityMainPresets as Partial<Record<string, unknown>>,\n resourceType,\n 'securityMainPresets',\n );\n const adminUIBehavior = resolveSsoConnectionUIBehavior(\n securityAdminPresets as Partial<Record<string, unknown>>,\n resourceType,\n 'securityAdminPresets',\n );\n const mergedFrontendConfiguration = mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(mainUIBehavior),\n resourceFrontendConfiguration(adminUIBehavior),\n );\n\n return resourceSpecificationFromFrontendConfiguration(\n mergedFrontendConfiguration,\n baseSpecification,\n () => ({\n label: {\n purpose: 'Use the connection display name as the primary admin label so protocol diagnostics and provider-specific actions stay easy to map to the right external identity provider.',\n },\n layout: {\n purpose: 'Sections `overview`, `oidc`, `saml` and `provisioning` in the `security` templates, shared by the main and admin lanes of both variants.',\n displayPurpose: 'The header names the connection and carries its protocol badge; the settings rows follow, with no section descriptions. Only the section of the connection\\'s own protocol renders. The list card shows the name, the protocol badge and whether the connection is on.',\n sections: {\n overview: {\n purpose: 'Whether the connection is on, whether it is the organization\\'s default, and the provider\\'s own identifier for it.',\n whenToUse: 'Checking or switching whether this connection is used at sign-in.',\n textSlots: { title: { purpose: 'Connection status (not rendered: the header names the connection).' } },\n },\n oidc: {\n purpose: 'The OpenID Connect settings: discovery, endpoints, client, PKCE, the authentication-strength demands placed on the provider, and claim mapping. Rendered only for an OIDC connection.',\n whenToUse: 'Configuring or diagnosing an OpenID Connect provider.',\n textSlots: { title: { purpose: 'Heading of the OpenID Connect settings of this connection.' } },\n },\n saml: {\n purpose: 'The SAML settings: entity id, sign-on and logout URLs, the provider certificate, signing and assertion requirements, and attribute mapping. Rendered only for a SAML connection.',\n whenToUse: 'Configuring or diagnosing a SAML provider.',\n textSlots: { title: { purpose: 'Heading of the SAML settings of this connection.' } },\n },\n provisioning: {\n purpose: 'What happens to a person the first time they sign in through this connection: whether an account is created, whether the email is trusted, which role they get, which email domains are allowed, and how provider roles and groups map to application roles.',\n whenToUse: 'Deciding who may join through this connection and with what access.',\n textSlots: { title: { purpose: 'Heading of the settings applied to people who sign in through this connection.' } },\n },\n },\n },\n views: {\n [SsoConnection_Operations.TEST_CONNECTION]: {\n purpose: 'Surface an admin-facing validation flow for the configured provider connection.',\n views: {\n default: {\n customView: {\n purpose: 'Augment the standard read shell with SAML-specific diagnostic and metadata sections while keeping the surrounding resource context intact.',\n whenToUse: 'Use when the operation behaves like a read-oriented diagnostics screen rather than a plain preset swap.',\n textSlots: {\n title: {\n purpose: 'Name this custom diagnostics host as the SSO connection test surface users are currently in.',\n },\n description: {\n purpose: 'Explain that this host focuses on validation and protocol diagnostics for the selected SSO connection.',\n },\n },\n basedOnPreset: CorePreset_ResourceLayout_Read.DEFAULT,\n implementationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceLayoutPreset_Read_SsoSaml',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n declarationSymbols: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n notes: [\n 'This is resource-owned operation metadata, not an injectable framework component preset.',\n ],\n },\n },\n },\n },\n [SsoConnection_Operations.DISCOVER_ENDPOINTS]: {\n purpose: 'Surface a metadata-discovery workflow that behaves like a guided create/setup flow for SSO connections.',\n views: {\n default: {\n customView: {\n purpose: 'Replace the generic create host with the SAML discovery wizard when the administrator needs provider-derived endpoint setup.',\n whenToUse: 'Use when the operation should drive guided discovery rather than the default create form shell.',\n textSlots: {\n title: {\n purpose: 'Name this custom setup host as the SSO endpoint-discovery workflow users are currently in.',\n },\n description: {\n purpose: 'Explain that this host guides administrators through metadata-driven SSO endpoint discovery rather than generic manual creation.',\n },\n },\n basedOnPreset: CorePresetNames.DEFAULT,\n implementationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceLayoutPreset_Create_SamlWizard',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n declarationSymbols: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n },\n },\n },\n },\n }),\n );\n}\n\nexport const organizationSsoConnectionsResourceSpecification = buildSsoConnectionsResourceSpecification(\n CoreResourceType.ORGANIZATION_SSO_CONNECTIONS,\n 'ORGANIZATION_SSO_CONNECTIONS',\n);\n\nexport const applicationSsoConnectionsResourceSpecification = buildSsoConnectionsResourceSpecification(\n CoreResourceType.APPLICATION_SSO_CONNECTIONS,\n 'APPLICATION_SSO_CONNECTIONS',\n);\n"]}
@@ -12,19 +12,23 @@
12
12
  * → `USER_PROVIDER_CREDENTIALS`, reached through the `my-provider-credentials` settings destination.
13
13
  */
14
14
  import { CoreResourceOperation as Op, ProviderCredentialValidationState } from '@wildo-ai/saas-models';
15
- export declare const userProviderCredentialsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.CREATE | Op.LIST, import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodObject<{
15
+ export declare const userProviderCredentialsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.DELETE | Op.CREATE | Op.LIST, import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodObject<{
16
16
  _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
17
17
  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("zod").ZodString>>>>;
18
18
  providerRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
19
+ connectionRef: 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>>>>;
19
20
  secretSlug: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
20
21
  secretValue: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
21
22
  enabled: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>>;
22
- validationState: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodEnum<typeof ProviderCredentialValidationState>>>>;
23
+ validationState: 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").ZodDefault<import("zod").ZodEnum<typeof ProviderCredentialValidationState>>>>>>;
23
24
  validationError: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
24
25
  lastValidatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
25
26
  lastUsedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>>;
26
27
  secretSetAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
27
- connectionParameters: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
28
+ connectionFacts: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
29
+ value: import("zod").ZodString;
30
+ provenance: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ProviderConnectionFactProvenance>;
31
+ }, import("zod/v4/core").$strict>>>>>;
28
32
  description: import("zod").ZodOptional<import("zod").ZodString>;
29
33
  createdAt: 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").ZodDefault<import("zod").ZodDate>>>>>;
30
34
  updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"user-provider-credentials.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/auth/resources/user-provider-credentials.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAQH,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,iCAAiC,EAIlC,MAAM,uBAAuB,CAAC;AAoC/B,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;kCA4QxD,CAAC"}
1
+ {"version":3,"file":"user-provider-credentials.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/user-provider-credentials.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAQH,OAAO,EACL,qBAAqB,IAAI,EAAE,EAE3B,iCAAiC,EAIlC,MAAM,uBAAuB,CAAC;AAqC/B,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;kCA2RxD,CAAC"}
@@ -13,7 +13,7 @@
13
13
  */
14
14
  import { LabelAudience } from '@wildo-ai/presets-components-models';
15
15
  import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance, } from '@wildo-ai/zod-decorators';
16
- import { CoreResourceOperation as Op, ProviderCredentialValidationState, ResourcePrimaryScope, UserProviderCredentialSchema, userProviderCredentialsResourceConfiguration_InitializationFactory, } from '@wildo-ai/saas-models';
16
+ import { CoreResourceOperation as Op, ProviderCredentialSlotWriteRefusal, ProviderCredentialValidationState, ResourcePrimaryScope, UserProviderCredentialSchema, userProviderCredentialsResourceConfiguration_InitializationFactory, } from '@wildo-ai/saas-models';
17
17
  import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
18
18
  import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
19
19
  const CREDENTIAL_EXAMPLE_ID = 'usrprovcred_01J7K2M4N6P8Q0R2S4T6V8W0XY';
@@ -30,7 +30,8 @@ const CREDENTIAL_RECORD_EXAMPLE = {
30
30
  _id: CREDENTIAL_EXAMPLE_ID,
31
31
  userId: CREDENTIAL_EXAMPLE_USER_ID,
32
32
  providerRef: 'openai',
33
- secretSlug: 'OPENAI_API_KEY',
33
+ connectionRef: 'openai',
34
+ secretSlug: 'apiKey',
34
35
  secretValue: '••••••••',
35
36
  enabled: true,
36
37
  validationState: ProviderCredentialValidationState.VALID,
@@ -82,10 +83,10 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
82
83
  },
83
84
  },
84
85
  notes: [
85
- 'The stored value is SEALED, never the plaintext the holder typed: an AES-256-GCM envelope whose key is derived from the application\'s own `secrets.security.session.encryptionKey`. The USER scope selects a DIFFERENT key domain from the organization-owned sibling, so a person\'s envelope cannot be opened as a tenant\'s even with a matching owner id — and the associated data binds it to (userId, providerRef, secretSlug), so a ciphertext copied into another person\'s row fails to open rather than silently working.',
86
+ 'The stored value is SEALED, never the plaintext the holder typed: an AES-256-GCM envelope whose key is derived from the application\'s own `secrets.security.session.encryptionKey`. The USER scope selects a DIFFERENT key domain from the organization-owned sibling, so a person\'s envelope cannot be opened as a tenant\'s even with a matching owner id — and the associated data binds it to (userId, connectionRef, secretSlug), which is the key of the row (#1670), so a ciphertext copied into another person\'s row fails to open rather than silently working.',
86
87
  'Every door is APP_USER and there is deliberately NO administrative variant — not an organization administrator\'s, not a platform operator\'s. Consenting to STORE a personal credential is not consenting for somebody else to spend it, and the vendor records the resulting act as the holder\'s, which no later audit event makes reversible.',
87
88
  'There is NO resolution fallback. A person who has connected nothing gets a refusal naming what to connect — never the deployment\'s shared principal and never their organization\'s credential. Substituting either would attribute the act to a party that granted no permission for it.',
88
- 'A row appears in TWO ways, and only one of them is an HTTP write. A credential you PASTE arrives through `CREATE` below. A credential a vendor MINTS arrives through the authorization exchange: you authorize on the vendor\'s own consent screen, come back through one shared callback, and the application records the grant — you never see or type the token. The second path is why this resource permits a system-tier create at all.',
89
+ 'A row appears in TWO ways, and only one of them is an HTTP write. A credential you PASTE arrives through the Connect screen, which offers only the providers this application declares and, for each, only the credential slots that provider declares, and stores it through the connection controller\'s declared-secret door. `CREATE` below performs the same write for an API caller; the application\'s own screens do not offer it, because a free-text slot is how a value lands where nothing will ever read it (#1040). A credential a vendor MINTS arrives through the authorization exchange: you authorize on the vendor\'s own consent screen, come back through one shared callback, and the application records the grant — you never see or type the token. The second path is why this resource permits a system-tier create at all.',
89
90
  'Set, rotate, use and delete are audited as `USER_PROVIDER_CREDENTIAL_*`, annotated `WILDO.IDENTITY.DELEGATED_AUTHORIZATION`. None of the four payload schemas has a field the value could occupy, and none carries an organization — a person\'s connections must not reach their tenant\'s SIEM stream.',
90
91
  ],
91
92
  },
@@ -103,12 +104,18 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
103
104
  }),
104
105
  providerRef: schemaShape.providerRef.stringSpec({
105
106
  meaning: 'The provider this credential authenticates toward — `openai`, `slack`, a generated provider package\'s ref.',
106
- whyItMatters: 'Half of the credential\'s identity for its holder, and what tells them which third parties they have granted the application authority toward.',
107
+ whyItMatters: 'What tells the holder which third parties they have granted the application authority toward, and which ref\'s connect flow or write CREATED the row. It is no longer part of the key (#1670): `connectionRef` is.',
108
+ semanticRole: 'identifier',
109
+ importance: FieldSemanticImportance.PRIMARY,
110
+ }),
111
+ connectionRef: schemaShape.connectionRef.stringSpec({
112
+ meaning: 'The connection this credential belongs to — the grant a set of provider refs of one vendor spends. Derived by the server from `providerRef`, never supplied by a client, and equal to it for every ref an application has not declared as part of a shared connection.',
113
+ whyItMatters: 'Half of the credential\'s identity for its holder, and what the sealed value is bound to. Every ref of one connection resolves this one row, so a person authorizes a vendor once rather than once per ref. It cannot change: a row stored under one connection is replaced by reconnecting, never moved (#1670).',
107
114
  semanticRole: 'identifier',
108
115
  importance: FieldSemanticImportance.PRIMARY,
109
116
  }),
110
117
  secretSlug: schemaShape.secretSlug.stringSpec({
111
- meaning: "The slug in the provider's `secretsContract` that this value satisfies.",
118
+ meaning: "The provider's `secretsContract` KEY this value satisfies (`accessToken`) — not the slot's environment-variable spelling, which a provider regeneration may rename.",
112
119
  whyItMatters: 'A provider declaring several secrets (an API key and a signing secret) gets one row per slug, so the holder can rotate one without disturbing the other.',
113
120
  semanticRole: 'identifier',
114
121
  importance: FieldSemanticImportance.PRIMARY,
@@ -163,6 +170,9 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
163
170
  whyItMatters: 'Distinct from `updatedAt`, which any field write moves. This is the one that answers "did I rotate this after the vendor warned me?".',
164
171
  temporalRole: 'modified',
165
172
  }),
173
+ connectionFacts: schemaShape.connectionFacts.objectSpec({
174
+ meaning: 'Facts about the connected account, keyed by name: values entered when connecting, such as a tenant or region, and values the vendor reported, such as the account\'s API address. Calls to the provider are built from them. Not secret, and never written by a client.',
175
+ }),
166
176
  description: schemaShape.description.stringSpec({
167
177
  meaning: "The holder's own note — which account, which environment, why this credential exists.",
168
178
  whyItMatters: 'Somebody may hold several credentials for one provider across slugs; the note is what tells them apart in a list.',
@@ -221,7 +231,9 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
221
231
  { code: HttpResponseStatusCode.CREATED_201, meaning: 'The credential was sealed and stored. The response masks the value; it is never readable again.' },
222
232
  ],
223
233
  errorScenarios: [
224
- { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation, or `secretValue` is empty.', errorCode: 'VALIDATION_FAILED' },
234
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation, or `secretValue` is empty.' },
235
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: "`secretSlug` names no credential slot of the provider's current secrets contract — a retired or free-text name, or an unregistered provider. A value stored there could never be read, so it is refused (#624). Name the slot by its contract key (`apiKey`) or its environment-variable spelling; it is stored as the key.", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },
236
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: "`secretSlug` names the provider's own OAuth2 registration (a client id or secret), which is authored in the deployment environment and never read from a credential row.", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_A_CREDENTIAL },
225
237
  { code: HttpResponseStatusCode.CONFLICT_409, when: 'You already hold a credential for this provider and slug — rotate that one instead of creating a second.' },
226
238
  ],
227
239
  idempotent: false,
@@ -229,7 +241,7 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
229
241
  title: 'Connect my own OpenAI account',
230
242
  request: {
231
243
  providerRef: 'openai',
232
- secretSlug: 'OPENAI_API_KEY',
244
+ secretSlug: 'apiKey',
233
245
  secretValue: 'sk-my-own-personal-key',
234
246
  description: 'My personal key, so my drafts are billed to me.',
235
247
  },
@@ -246,7 +258,9 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
246
258
  { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was updated. A payload carrying a new `secretValue` re-seals it and is recorded as a rotation; one echoing the mask leaves the stored secret untouched.' },
247
259
  ],
248
260
  errorScenarios: [
249
- { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation.', errorCode: 'VALIDATION_FAILED' },
261
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation.' },
262
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: "A new `secretValue` is written into a credential stored under a slot the provider's current secrets contract no longer declares. That value could never be read; reconnect (or create the credential under the current slot) and delete this row. Edits that carry no new value are still accepted.", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },
263
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload names a different `providerRef`, `connectionRef` or `secretSlug`. A stored credential cannot move: its sealed value is bound to its connection and slot, and `providerRef` records which ref created it.', errorCode: ProviderCredentialSlotWriteRefusal.CREDENTIAL_SLOT_IMMUTABLE },
250
264
  { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No credential with that id belongs to the caller.' },
251
265
  ],
252
266
  idempotent: true,
@@ -275,22 +289,24 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
275
289
  forStatus: HttpResponseStatusCode.NO_CONTENT_204,
276
290
  }],
277
291
  },
278
- [Op.UPDATE_MANY]: {
279
- purpose: 'Route-less retention plumbing.',
280
- outcome: 'Nothing is scrubbed in practice: this resource declares `RETAIN_ONLY`, because a secret is not pseudonymised — it is destroyed. The operation exists because the retention contract requires READ + LIST + UPDATE_MANY to resolve, and a declared-but-unresolvable operation fails when an erasure actually runs.',
281
- responseStatuses: [
282
- { code: HttpResponseStatusCode.OK_200, meaning: 'The matching records were processed. INTERNAL_CALL — it registers no HTTP route.' },
283
- ],
284
- errorScenarios: [
285
- { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The filter fails validation.', errorCode: 'VALIDATION_FAILED' },
286
- ],
292
+ },
293
+ frontend: {
294
+ layout: {
295
+ purpose: 'No sections: a stored credential is a handful of facts that no heading would group better than the rows do, so the templates are flat rows under a header and the preset declares no `layout.refs`.',
296
+ headerPurpose: 'The READ identity line: `providerRef · secretSlug` as the title and the `validationState` badge beside it. Neither the provider, the slot nor the state repeats in the body.',
297
+ displayPurpose: 'Settings rows: whether the credential is enabled, then its description, last validation error, validation, use and secret-set dates and any connection facts — each hidden while empty — and its creation date.',
298
+ summaryPurpose: 'A list card: the `providerRef · secretSlug` title, the `validationState` badge, and "Enabled" / "Disabled" as a word rather than a labelled checkmark.',
299
+ editPurpose: 'The form reached from a credential\'s Edit action: the new secret (focused), whether it is enabled, a description. `validationState` is not offered: it is the store\'s verdict on the last use, excluded from create and update (#1809), and shows as the header badge. Provider and slot are the credential\'s identity and are offered only on the API\'s CREATE, which these screens hide.',
300
+ },
301
+ emptyState: {
302
+ purpose: 'Say that nothing is connected yet and that connecting happens on the Connect tab beside this list — the list offers no Create of its own (#1040), so without this line the empty state is the page title again with no way forward.',
287
303
  },
288
304
  },
289
305
  businessConstraints: [
290
- 'The uniqueness grain is `(userId, providerRef, secretSlug)`, enforced by a compound unique index rather than a read-then-write. Saving a rotation twice in the same minute would otherwise leave two rows, and the resolver would pick between them arbitrarily — so half the holder\'s outbound calls would carry the retired credential with nothing to say which half.',
306
+ 'The uniqueness grain is `(userId, connectionRef, secretSlug)` — the CONNECTION, not the provider ref (#1670): several refs of one vendor may share one connection and must then spend one stored grant rather than one per ref. Every ref is its own connection until the application declares otherwise, so today `connectionRef` equals `providerRef` on every row. It is enforced by a compound unique index rather than a read-then-write. Saving a rotation twice in the same minute would otherwise leave two rows, and the resolver would pick between them arbitrarily — so half the holder\'s outbound calls would carry the retired credential with nothing to say which half.',
291
307
  'A person\'s credential has NO fallback, in either direction. Their organization\'s credential is not a next-best owner and neither is the deployment\'s: a call that named this person and could not resolve them is REFUSED, because the vendor records the act under whichever identity was actually spent and that record outlives us.',
292
308
  'Nobody but the holder may read, spend, rotate or remove one. There is no administrative variant at any tier — consent to STORE a personal credential is not consent for somebody else to use it.',
293
- 'A subject erasure DOES reach this resource, and destroying the row is the correct treatment. `retentionPolicy` is RETAIN_ONLY rather than retain-and-impersonalize because a secret cannot be pseudonymised: an impersonalized row would keep key material that still opens against a person who asked to be forgotten. The `USERS` composition cascade removes these rows when the subject is erased.',
309
+ 'A subject erasure DOES reach this resource, and it DESTROYS the rows. The resource declares no `retentionPolicy`, because neither retain treatment fits a secret: an impersonalized row would keep key material that still opens against a person who asked to be forgotten, and a RETAIN_ONLY row keeps it untouched. The `USERS` → credentials edge authors `onParentDelete.strategy: DELETE`, read both by the delete cascade and by an erasure, which keeps the scrubbed person row. Until #1569 the resource declared RETAIN_ONLY, and every erasure kept the credentials.',
294
310
  '`exportSubject` is FORBIDDEN, and it matters more here than on the organization-owned sibling. That row is unreachable on the subject-export graph by construction; this one is reachable BY construction, because it hangs off the subject. The refusal is what stands between a subject-access request and a working credential in the response.',
295
311
  ],
296
312
  }), { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF });
@@ -1 +1 @@
1
- {"version":3,"file":"user-provider-credentials.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/auth/resources/user-provider-credentials.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;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,iCAAiC,EACjC,oBAAoB,EACpB,4BAA4B,EAC5B,kEAAkE,GACnE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,M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,OAAO,EAAE,EAAE,wBAAwB,EAAE,qBAAqB,EAAE;oBAC5D,SAAS,EAAE,sBAAsB,CAAC,cAAc;iBACjD,CAAC;SACH;QACD,CAAC,EAAE,CAAC,WAAW,CAAC,EAAE;YAChB,OAAO,EAAE,gCAAgC;YACzC,OAAO,EACL,mTAAmT;YACrT,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,kFAAkF,EAAE;aACrI;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,eAAe,EAAE,IAAI,EAAE,8BAA8B,EAAE,SAAS,EAAE,mBAAmB,EAAE;aACvH;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,2WAA2W;QAC3W,2UAA2U;QAC3U,kMAAkM;QAClM,wYAAwY;QACxY,oVAAoV;KACrV;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,SAAS,EAAE,CACzD,CAAC","sourcesContent":["/**\n * Resource: `userProviderCredentials` — Wildo SaaS engine specification\n * (user-self-scoped, backend-managed secret).\n *\n * Inputs:\n * - Schema: engine/saas-models/src/security/connected-accounts/provider-credentials.shared.schemas.ts\n * → `UserProviderCredentialSchema`\n * - Factory: engine/saas-models/src/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.ts\n * → `userProviderCredentialsResourceConfiguration_InitializationFactory`\n * - Custom operations: none\n * - UI presets: `engine/presets-components/src/config/resources/security.resource-presets.tsx`\n * → `USER_PROVIDER_CREDENTIALS`, reached through the `my-provider-credentials` settings destination.\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 ProviderCredentialValidationState,\n ResourcePrimaryScope,\n UserProviderCredentialSchema,\n userProviderCredentialsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst CREDENTIAL_EXAMPLE_ID = 'usrprovcred_01J7K2M4N6P8Q0R2S4T6V8W0XY';\nconst CREDENTIAL_EXAMPLE_USER_ID = 'user_01J4M1Z2X3C4V5B6N7M8Q9R0ST';\n\n/**\n * The record as a client sees it — with the value MASKED.\n *\n * That mask is not decoration in an example: `secretValue` is `.isWriteOnlySecret()`, so the\n * framework redacts it at the client boundary on every read. Showing a plausible token here would\n * teach an integrator that a credential can be read back, which is the one thing this resource\n * guarantees it cannot.\n */\nconst CREDENTIAL_RECORD_EXAMPLE = {\n _id: CREDENTIAL_EXAMPLE_ID,\n userId: CREDENTIAL_EXAMPLE_USER_ID,\n providerRef: 'openai',\n secretSlug: 'OPENAI_API_KEY',\n secretValue: '••••••••',\n enabled: true,\n validationState: ProviderCredentialValidationState.VALID,\n lastValidatedAt: '2026-09-02T11:14:00.000Z',\n lastUsedAt: '2026-09-02T11:14:00.000Z',\n secretSetAt: '2026-08-30T09:00:00.000Z',\n description: 'My personal key, so my drafts are billed to me.',\n createdAt: '2026-08-30T09:00:00.000Z',\n updatedAt: '2026-09-02T11:14:00.000Z',\n} as const;\n\nconst CREDENTIAL_PAGE_EXAMPLE = {\n data: [CREDENTIAL_RECORD_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nexport const userProviderCredentialsResourceSpecification = resourceSpecification(\n userProviderCredentialsResourceConfiguration_InitializationFactory,\n UserProviderCredentialSchema,\n ({ schemaShape }) => ({\n purpose:\n \"One PERSON's OWN credential toward a third-party provider — their personal API key, the account they connected themselves.\",\n businessRole:\n \"The record that lets an application act as an individual toward a third party rather than as the tenant or as itself. It is what makes a personal integration possible — work attributed to the person at the vendor, billed to their account, and carrying only the permissions they granted.\",\n lifecycleRole:\n 'Created by the holder when they connect a provider, rotated in place when they reissue the credential at the vendor, disabled to stop the application acting as them without discarding the credential, and removed when they disconnect the provider or their own account is erased.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'UserProviderCredentialSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'userProviderCredentialsResourceConfiguration_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: 'USER_PROVIDER_CREDENTIALS',\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 },\n notes: [\n 'The stored value is SEALED, never the plaintext the holder typed: an AES-256-GCM envelope whose key is derived from the application\\'s own `secrets.security.session.encryptionKey`. The USER scope selects a DIFFERENT key domain from the organization-owned sibling, so a person\\'s envelope cannot be opened as a tenant\\'s even with a matching owner id — and the associated data binds it to (userId, providerRef, secretSlug), so a ciphertext copied into another person\\'s row fails to open rather than silently working.',\n 'Every door is APP_USER and there is deliberately NO administrative variant — not an organization administrator\\'s, not a platform operator\\'s. Consenting to STORE a personal credential is not consenting for somebody else to spend it, and the vendor records the resulting act as the holder\\'s, which no later audit event makes reversible.',\n 'There is NO resolution fallback. A person who has connected nothing gets a refusal naming what to connect — never the deployment\\'s shared principal and never their organization\\'s credential. Substituting either would attribute the act to a party that granted no permission for it.',\n 'A row appears in TWO ways, and only one of them is an HTTP write. A credential you PASTE arrives through `CREATE` below. A credential a vendor MINTS arrives through the authorization exchange: you authorize on the vendor\\'s own consent screen, come back through one shared callback, and the application records the grant — you never see or type the token. The second path is why this resource permits a system-tier create at all.',\n 'Set, rotate, use and delete are audited as `USER_PROVIDER_CREDENTIAL_*`, annotated `WILDO.IDENTITY.DELEGATED_AUTHORIZATION`. None of the four payload schemas has a field the value could occupy, and none carries an organization — a person\\'s connections must not reach their tenant\\'s SIEM stream.',\n ],\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Identifier for one stored credential.',\n whyItMatters: 'The address for a rotation or a revocation, and the id every audit event carries.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The person who owns this credential.',\n whyItMatters:\n 'The isolation axis, and here it is also the SUBJECT. Injected by the framework from the authenticated scope rather than read from the payload, it scopes every read, and it is bound into the encryption envelope — so a credential cannot be read, spent or moved outside the person who set it. It is what makes \"another user\\'s key\" unreachable rather than merely filtered.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n providerRef: schemaShape.providerRef.stringSpec({\n meaning: 'The provider this credential authenticates toward — `openai`, `slack`, a generated provider package\\'s ref.',\n whyItMatters: 'Half of the credential\\'s identity for its holder, and what tells them which third parties they have granted the application authority toward.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretSlug: schemaShape.secretSlug.stringSpec({\n meaning: \"The slug in the provider's `secretsContract` that this value satisfies.\",\n whyItMatters:\n 'A provider declaring several secrets (an API key and a signing secret) gets one row per slug, so the holder can rotate one without disturbing the other.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretValue: schemaShape.secretValue.stringSpec({\n meaning: 'The credential itself. Supplied in plaintext on write, stored SEALED, and never returned — a read renders a fixed mask.',\n whyItMatters:\n 'Echoing the mask back on an update means \"keep the stored secret\", which is how the holder edits a note without retyping the credential. Sending a real value replaces it and is recorded as a rotation.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Whether this credential may be spent.',\n whyItMatters:\n 'Disabling stops the application acting as this person without discarding the credential. Unlike the tenant-owned sibling, a disabled credential does NOT degrade to a shared principal — the call refuses, which is the intended outcome: somebody switching their own connection off is asking the application to stop acting as them.',\n }),\n validationState: schemaShape.validationState.enumSpec({\n meaning: 'Whether the provider has accepted this credential on its last use.',\n whyItMatters:\n 'Separates \"never tried\" from \"tried and rejected\", which a boolean would merge into the same falsy answer. For a personal credential this badge is the only notice the holder will get that their integration has stopped working — nobody else can rotate it for them.',\n values: {\n [ProviderCredentialValidationState.UNVALIDATED]: {\n meaning: 'Stored, never exercised against the provider. Every credential starts here — storing one proves only that somebody typed it.',\n },\n [ProviderCredentialValidationState.VALID]: {\n meaning: 'The provider accepted it on its last use.',\n },\n [ProviderCredentialValidationState.INVALID]: {\n meaning: 'The provider rejected it on its last use; the integration is down until the holder rotates it.',\n },\n },\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ProviderCredentialValidationState',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n }),\n validationError: schemaShape.validationError.stringSpec({\n meaning: \"The provider's own message about why the last use failed.\",\n whyItMatters:\n 'Turns \"it stopped working\" into a vendor-attributed reason the holder can act on. Server-owned: it describes the credential\\'s status and is never derived from the credential.',\n }),\n lastValidatedAt: schemaShape.lastValidatedAt.dateSpec({\n meaning: 'When the provider last accepted or rejected this credential.',\n whyItMatters: 'How current the validation state is — a `VALID` from three months ago says less than one from this morning.',\n temporalRole: 'modified',\n }),\n lastUsedAt: schemaShape.lastUsedAt.dateSpec({\n meaning: 'When this credential was last resolved for an outbound call.',\n whyItMatters:\n 'Shows the holder what the application is actually doing as them. A credential nothing has spent in months is the one safest to disconnect, and the one riskiest to leave live.',\n temporalRole: 'modified',\n }),\n secretSetAt: schemaShape.secretSetAt.dateSpec({\n meaning: 'When the stored VALUE last changed.',\n whyItMatters: 'Distinct from `updatedAt`, which any field write moves. This is the one that answers \"did I rotate this after the vendor warned me?\".',\n temporalRole: 'modified',\n }),\n description: schemaShape.description.stringSpec({\n meaning: \"The holder's own note — which account, which environment, why this credential exists.\",\n whyItMatters: 'Somebody may hold several credentials for one provider across slugs; the note is what tells them apart in a list.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({\n meaning: 'When the credential was first stored.',\n whyItMatters: 'When this person first granted the application authority toward this provider.',\n temporalRole: 'creation',\n }),\n updatedAt: schemaShape.updatedAt.dateSpec({\n meaning: 'When any field last changed.',\n whyItMatters: 'Ordering for the credential list.',\n temporalRole: 'modified',\n }),\n },\n\n operations: {\n [Op.READ]: {\n purpose: 'Inspect one of your own stored provider credentials.',\n outcome: 'The holder sees which provider and slug the credential covers, whether it is enabled, and whether the provider last accepted it — with the value masked.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: \"The credential was found in the caller's own scope and returned with `secretValue` masked.\" },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: \"No credential with that id belongs to the caller. Another person's credential is indistinguishable from one that does not exist — there is no variant, for any role, that can address somebody else's.\" },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect the personal OpenAI key',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.LIST]: {\n purpose: 'List your own provider credentials — which third parties you have connected.',\n outcome: 'The holder sees every provider they have connected and the health of each.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: \"A (possibly empty) page of the caller's OWN credentials, values masked.\" },\n ],\n errorScenarios: [],\n idempotent: true,\n examples: [{\n title: 'List my connected accounts',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: CREDENTIAL_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Store your own credential for a provider, so the application acts as YOU toward that third party.',\n outcome: \"Outbound calls this application makes on your behalf to that provider use your own credential, so the vendor attributes the work to your account and applies the permissions you granted.\",\n whenToUse: 'When you connect a provider with a credential you obtained yourself — a personal API key, an account you authorized.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The credential was sealed and stored. The response masks the value; it is never readable again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation, or `secretValue` is empty.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'You already hold a credential for this provider and slug — rotate that one instead of creating a second.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Connect my own OpenAI account',\n request: {\n providerRef: 'openai',\n secretSlug: 'OPENAI_API_KEY',\n secretValue: 'sk-my-own-personal-key',\n description: 'My personal key, so my drafts are billed to me.',\n },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.CREATED_201,\n }],\n },\n [Op.UPDATE]: {\n purpose: 'Rotate your stored credential, or edit its note and enabled flag.',\n outcome: 'A new value replaces the old one immediately — there is no overlap window, because the vendor is the authority on which credential is live and only one of them is.',\n whenToUse: 'After reissuing the credential at the vendor, or to stop the application acting as you without disconnecting.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was updated. A payload carrying a new `secretValue` re-seals it and is recorded as a rotation; one echoing the mask leaves the stored secret untouched.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No credential with that id belongs to the caller.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Rotate the key after reissuing it at the vendor',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID, secretValue: 'sk-my-newly-issued-key' },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.DELETE]: {\n purpose: 'Disconnect your account at a provider.',\n outcome:\n 'The application stops acting as you toward that provider. Calls that named you as the connection are REFUSED by name — there is no fallback to the deployment\\'s or your organization\\'s credential, because either would act as a party you did not authorize.',\n whenToUse: 'When you disconnect the provider, or when you believe the credential is compromised and rotation is not enough.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The credential was removed. No body.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No credential with that id belongs to the caller, including one already removed.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Disconnect my OpenAI account',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n forStatus: HttpResponseStatusCode.NO_CONTENT_204,\n }],\n },\n [Op.UPDATE_MANY]: {\n purpose: 'Route-less retention plumbing.',\n outcome:\n 'Nothing is scrubbed in practice: this resource declares `RETAIN_ONLY`, because a secret is not pseudonymised — it is destroyed. The operation exists because the retention contract requires READ + LIST + UPDATE_MANY to resolve, and a declared-but-unresolvable operation fails when an erasure actually runs.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The matching records were processed. INTERNAL_CALL — it registers no HTTP route.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The filter fails validation.', errorCode: 'VALIDATION_FAILED' },\n ],\n },\n },\n\n businessConstraints: [\n 'The uniqueness grain is `(userId, providerRef, secretSlug)`, enforced by a compound unique index rather than a read-then-write. Saving a rotation twice in the same minute would otherwise leave two rows, and the resolver would pick between them arbitrarily — so half the holder\\'s outbound calls would carry the retired credential with nothing to say which half.',\n 'A person\\'s credential has NO fallback, in either direction. Their organization\\'s credential is not a next-best owner and neither is the deployment\\'s: a call that named this person and could not resolve them is REFUSED, because the vendor records the act under whichever identity was actually spent and that record outlives us.',\n 'Nobody but the holder may read, spend, rotate or remove one. There is no administrative variant at any tier — consent to STORE a personal credential is not consent for somebody else to use it.',\n 'A subject erasure DOES reach this resource, and destroying the row is the correct treatment. `retentionPolicy` is RETAIN_ONLY rather than retain-and-impersonalize because a secret cannot be pseudonymised: an impersonalized row would keep key material that still opens against a person who asked to be forgotten. The `USERS` composition cascade removes these rows when the subject is erased.',\n '`exportSubject` is FORBIDDEN, and it matters more here than on the organization-owned sibling. That row is unreachable on the subject-export graph by construction; this one is reachable BY construction, because it hangs off the subject. The refusal is what stands between a subject-access request and a working credential in the response.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n"]}
1
+ {"version":3,"file":"user-provider-credentials.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/user-provider-credentials.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;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,kCAAkC,EAClC,iCAAiC,EACjC,oBAAoB,EACpB,4BAA4B,EAC5B,kEAAkE,GACnE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,qBAAqB,GAAG,wCAAwC,CAAC;AACvE,MAAM,0BAA0B,GAAG,iCAAiC,CAAC;AAErE;;;;;;;GAOG;AACH,MAAM,yBAAyB,GAAG;IAChC,GAAG,EAAE,qBAAqB;IAC1B,MAAM,EAAE,0BAA0B;IAClC,WAAW,EAAE,QAAQ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,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACX,OAAO,EAAE,wCAAwC;YACjD,OAAO,EACL,iQAAiQ;YACnQ,SAAS,EAAE,iHAAiH;YAC5H,UAAU,EAAE,uBAAuB,CAAC,OAAO;YAC3C,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,cAAc,EAAE,OAAO,EAAE,sCAAsC,EAAE;aACjG;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,kFAAkF,EAAE;aACzI;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE,CAAC;oBACT,KAAK,EAAE,8BAA8B;oBACrC,OAAO,EAAE,EAAE,wBAAwB,EAAE,qBAAqB,EAAE;oBAC5D,SAAS,EAAE,sBAAsB,CAAC,cAAc;iBACjD,CAAC;SACH;KACF;IAED,QAAQ,EAAE;QACR,MAAM,EAAE;YACN,OAAO,EAAE,qMAAqM;YAC9M,aAAa,EAAE,8KAA8K;YAC7L,cAAc,EAAE,iNAAiN;YACjO,cAAc,EAAE,wJAAwJ;YACxK,WAAW,EAAE,gYAAgY;SAC9Y;QACD,UAAU,EAAE;YACV,OAAO,EAAE,qOAAqO;SAC/O;KACF;IACD,mBAAmB,EAAE;QACnB,0pBAA0pB;QAC1pB,2UAA2U;QAC3U,kMAAkM;QAClM,ijBAAijB;QACjjB,oVAAoV;KACrV;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,SAAS,EAAE,CACzD,CAAC","sourcesContent":["/**\n * Resource: `userProviderCredentials` — Wildo SaaS engine specification\n * (user-self-scoped, backend-managed secret).\n *\n * Inputs:\n * - Schema: engine/saas-models/src/security/connected-accounts/provider-credentials.shared.schemas.ts\n * → `UserProviderCredentialSchema`\n * - Factory: engine/saas-models/src/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.ts\n * → `userProviderCredentialsResourceConfiguration_InitializationFactory`\n * - Custom operations: none\n * - UI presets: `engine/presets-components/src/config/resources/security.resource-presets.tsx`\n * → `USER_PROVIDER_CREDENTIALS`, reached through the `my-provider-credentials` settings destination.\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 ProviderCredentialSlotWriteRefusal,\n ProviderCredentialValidationState,\n ResourcePrimaryScope,\n UserProviderCredentialSchema,\n userProviderCredentialsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst CREDENTIAL_EXAMPLE_ID = 'usrprovcred_01J7K2M4N6P8Q0R2S4T6V8W0XY';\nconst CREDENTIAL_EXAMPLE_USER_ID = 'user_01J4M1Z2X3C4V5B6N7M8Q9R0ST';\n\n/**\n * The record as a client sees it — with the value MASKED.\n *\n * That mask is not decoration in an example: `secretValue` is `.isWriteOnlySecret()`, so the\n * framework redacts it at the client boundary on every read. Showing a plausible token here would\n * teach an integrator that a credential can be read back, which is the one thing this resource\n * guarantees it cannot.\n */\nconst CREDENTIAL_RECORD_EXAMPLE = {\n _id: CREDENTIAL_EXAMPLE_ID,\n userId: CREDENTIAL_EXAMPLE_USER_ID,\n providerRef: 'openai',\n connectionRef: 'openai',\n secretSlug: 'apiKey',\n secretValue: '••••••••',\n enabled: true,\n validationState: ProviderCredentialValidationState.VALID,\n lastValidatedAt: '2026-09-02T11:14:00.000Z',\n lastUsedAt: '2026-09-02T11:14:00.000Z',\n secretSetAt: '2026-08-30T09:00:00.000Z',\n description: 'My personal key, so my drafts are billed to me.',\n createdAt: '2026-08-30T09:00:00.000Z',\n updatedAt: '2026-09-02T11:14:00.000Z',\n} as const;\n\nconst CREDENTIAL_PAGE_EXAMPLE = {\n data: [CREDENTIAL_RECORD_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nexport const userProviderCredentialsResourceSpecification = resourceSpecification(\n userProviderCredentialsResourceConfiguration_InitializationFactory,\n UserProviderCredentialSchema,\n ({ schemaShape }) => ({\n purpose:\n \"One PERSON's OWN credential toward a third-party provider — their personal API key, the account they connected themselves.\",\n businessRole:\n \"The record that lets an application act as an individual toward a third party rather than as the tenant or as itself. It is what makes a personal integration possible — work attributed to the person at the vendor, billed to their account, and carrying only the permissions they granted.\",\n lifecycleRole:\n 'Created by the holder when they connect a provider, rotated in place when they reissue the credential at the vendor, disabled to stop the application acting as them without discarding the credential, and removed when they disconnect the provider or their own account is erased.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'UserProviderCredentialSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'userProviderCredentialsResourceConfiguration_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: 'USER_PROVIDER_CREDENTIALS',\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 },\n notes: [\n 'The stored value is SEALED, never the plaintext the holder typed: an AES-256-GCM envelope whose key is derived from the application\\'s own `secrets.security.session.encryptionKey`. The USER scope selects a DIFFERENT key domain from the organization-owned sibling, so a person\\'s envelope cannot be opened as a tenant\\'s even with a matching owner id — and the associated data binds it to (userId, connectionRef, secretSlug), which is the key of the row (#1670), so a ciphertext copied into another person\\'s row fails to open rather than silently working.',\n 'Every door is APP_USER and there is deliberately NO administrative variant — not an organization administrator\\'s, not a platform operator\\'s. Consenting to STORE a personal credential is not consenting for somebody else to spend it, and the vendor records the resulting act as the holder\\'s, which no later audit event makes reversible.',\n 'There is NO resolution fallback. A person who has connected nothing gets a refusal naming what to connect — never the deployment\\'s shared principal and never their organization\\'s credential. Substituting either would attribute the act to a party that granted no permission for it.',\n 'A row appears in TWO ways, and only one of them is an HTTP write. A credential you PASTE arrives through the Connect screen, which offers only the providers this application declares and, for each, only the credential slots that provider declares, and stores it through the connection controller\\'s declared-secret door. `CREATE` below performs the same write for an API caller; the application\\'s own screens do not offer it, because a free-text slot is how a value lands where nothing will ever read it (#1040). A credential a vendor MINTS arrives through the authorization exchange: you authorize on the vendor\\'s own consent screen, come back through one shared callback, and the application records the grant — you never see or type the token. The second path is why this resource permits a system-tier create at all.',\n 'Set, rotate, use and delete are audited as `USER_PROVIDER_CREDENTIAL_*`, annotated `WILDO.IDENTITY.DELEGATED_AUTHORIZATION`. None of the four payload schemas has a field the value could occupy, and none carries an organization — a person\\'s connections must not reach their tenant\\'s SIEM stream.',\n ],\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Identifier for one stored credential.',\n whyItMatters: 'The address for a rotation or a revocation, and the id every audit event carries.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The person who owns this credential.',\n whyItMatters:\n 'The isolation axis, and here it is also the SUBJECT. Injected by the framework from the authenticated scope rather than read from the payload, it scopes every read, and it is bound into the encryption envelope — so a credential cannot be read, spent or moved outside the person who set it. It is what makes \"another user\\'s key\" unreachable rather than merely filtered.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n providerRef: schemaShape.providerRef.stringSpec({\n meaning: 'The provider this credential authenticates toward — `openai`, `slack`, a generated provider package\\'s ref.',\n whyItMatters: 'What tells the holder which third parties they have granted the application authority toward, and which ref\\'s connect flow or write CREATED the row. It is no longer part of the key (#1670): `connectionRef` is.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n connectionRef: schemaShape.connectionRef.stringSpec({\n meaning: 'The connection this credential belongs to — the grant a set of provider refs of one vendor spends. Derived by the server from `providerRef`, never supplied by a client, and equal to it for every ref an application has not declared as part of a shared connection.',\n whyItMatters:\n 'Half of the credential\\'s identity for its holder, and what the sealed value is bound to. Every ref of one connection resolves this one row, so a person authorizes a vendor once rather than once per ref. It cannot change: a row stored under one connection is replaced by reconnecting, never moved (#1670).',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretSlug: schemaShape.secretSlug.stringSpec({\n meaning: \"The provider's `secretsContract` KEY this value satisfies (`accessToken`) — not the slot's environment-variable spelling, which a provider regeneration may rename.\",\n whyItMatters:\n 'A provider declaring several secrets (an API key and a signing secret) gets one row per slug, so the holder can rotate one without disturbing the other.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretValue: schemaShape.secretValue.stringSpec({\n meaning: 'The credential itself. Supplied in plaintext on write, stored SEALED, and never returned — a read renders a fixed mask.',\n whyItMatters:\n 'Echoing the mask back on an update means \"keep the stored secret\", which is how the holder edits a note without retyping the credential. Sending a real value replaces it and is recorded as a rotation.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Whether this credential may be spent.',\n whyItMatters:\n 'Disabling stops the application acting as this person without discarding the credential. Unlike the tenant-owned sibling, a disabled credential does NOT degrade to a shared principal — the call refuses, which is the intended outcome: somebody switching their own connection off is asking the application to stop acting as them.',\n }),\n validationState: schemaShape.validationState.enumSpec({\n meaning: 'Whether the provider has accepted this credential on its last use.',\n whyItMatters:\n 'Separates \"never tried\" from \"tried and rejected\", which a boolean would merge into the same falsy answer. For a personal credential this badge is the only notice the holder will get that their integration has stopped working — nobody else can rotate it for them.',\n values: {\n [ProviderCredentialValidationState.UNVALIDATED]: {\n meaning: 'Stored, never exercised against the provider. Every credential starts here — storing one proves only that somebody typed it.',\n },\n [ProviderCredentialValidationState.VALID]: {\n meaning: 'The provider accepted it on its last use.',\n },\n [ProviderCredentialValidationState.INVALID]: {\n meaning: 'The provider rejected it on its last use; the integration is down until the holder rotates it.',\n },\n },\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ProviderCredentialValidationState',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n }),\n validationError: schemaShape.validationError.stringSpec({\n meaning: \"The provider's own message about why the last use failed.\",\n whyItMatters:\n 'Turns \"it stopped working\" into a vendor-attributed reason the holder can act on. Server-owned: it describes the credential\\'s status and is never derived from the credential.',\n }),\n lastValidatedAt: schemaShape.lastValidatedAt.dateSpec({\n meaning: 'When the provider last accepted or rejected this credential.',\n whyItMatters: 'How current the validation state is — a `VALID` from three months ago says less than one from this morning.',\n temporalRole: 'modified',\n }),\n lastUsedAt: schemaShape.lastUsedAt.dateSpec({\n meaning: 'When this credential was last resolved for an outbound call.',\n whyItMatters:\n 'Shows the holder what the application is actually doing as them. A credential nothing has spent in months is the one safest to disconnect, and the one riskiest to leave live.',\n temporalRole: 'modified',\n }),\n secretSetAt: schemaShape.secretSetAt.dateSpec({\n meaning: 'When the stored VALUE last changed.',\n whyItMatters: 'Distinct from `updatedAt`, which any field write moves. This is the one that answers \"did I rotate this after the vendor warned me?\".',\n temporalRole: 'modified',\n }),\n connectionFacts: schemaShape.connectionFacts.objectSpec({\n meaning: 'Facts about the connected account, keyed by name: values entered when connecting, such as a tenant or region, and values the vendor reported, such as the account\\'s API address. Calls to the provider are built from them. Not secret, and never written by a client.',\n }),\n description: schemaShape.description.stringSpec({\n meaning: \"The holder's own note — which account, which environment, why this credential exists.\",\n whyItMatters: 'Somebody may hold several credentials for one provider across slugs; the note is what tells them apart in a list.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({\n meaning: 'When the credential was first stored.',\n whyItMatters: 'When this person first granted the application authority toward this provider.',\n temporalRole: 'creation',\n }),\n updatedAt: schemaShape.updatedAt.dateSpec({\n meaning: 'When any field last changed.',\n whyItMatters: 'Ordering for the credential list.',\n temporalRole: 'modified',\n }),\n },\n\n operations: {\n [Op.READ]: {\n purpose: 'Inspect one of your own stored provider credentials.',\n outcome: 'The holder sees which provider and slug the credential covers, whether it is enabled, and whether the provider last accepted it — with the value masked.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: \"The credential was found in the caller's own scope and returned with `secretValue` masked.\" },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: \"No credential with that id belongs to the caller. Another person's credential is indistinguishable from one that does not exist — there is no variant, for any role, that can address somebody else's.\" },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect the personal OpenAI key',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.LIST]: {\n purpose: 'List your own provider credentials — which third parties you have connected.',\n outcome: 'The holder sees every provider they have connected and the health of each.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: \"A (possibly empty) page of the caller's OWN credentials, values masked.\" },\n ],\n errorScenarios: [],\n idempotent: true,\n examples: [{\n title: 'List my connected accounts',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: CREDENTIAL_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Store your own credential for a provider, so the application acts as YOU toward that third party.',\n outcome: \"Outbound calls this application makes on your behalf to that provider use your own credential, so the vendor attributes the work to your account and applies the permissions you granted.\",\n whenToUse: 'When you connect a provider with a credential you obtained yourself — a personal API key, an account you authorized.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The credential was sealed and stored. The response masks the value; it is never readable again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation, or `secretValue` is empty.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: \"`secretSlug` names no credential slot of the provider's current secrets contract — a retired or free-text name, or an unregistered provider. A value stored there could never be read, so it is refused (#624). Name the slot by its contract key (`apiKey`) or its environment-variable spelling; it is stored as the key.\", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: \"`secretSlug` names the provider's own OAuth2 registration (a client id or secret), which is authored in the deployment environment and never read from a credential row.\", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_A_CREDENTIAL },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'You already hold a credential for this provider and slug — rotate that one instead of creating a second.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Connect my own OpenAI account',\n request: {\n providerRef: 'openai',\n secretSlug: 'apiKey',\n secretValue: 'sk-my-own-personal-key',\n description: 'My personal key, so my drafts are billed to me.',\n },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.CREATED_201,\n }],\n },\n [Op.UPDATE]: {\n purpose: 'Rotate your stored credential, or edit its note and enabled flag.',\n outcome: 'A new value replaces the old one immediately — there is no overlap window, because the vendor is the authority on which credential is live and only one of them is.',\n whenToUse: 'After reissuing the credential at the vendor, or to stop the application acting as you without disconnecting.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was updated. A payload carrying a new `secretValue` re-seals it and is recorded as a rotation; one echoing the mask leaves the stored secret untouched.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: \"A new `secretValue` is written into a credential stored under a slot the provider's current secrets contract no longer declares. That value could never be read; reconnect (or create the credential under the current slot) and delete this row. Edits that carry no new value are still accepted.\", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload names a different `providerRef`, `connectionRef` or `secretSlug`. A stored credential cannot move: its sealed value is bound to its connection and slot, and `providerRef` records which ref created it.', errorCode: ProviderCredentialSlotWriteRefusal.CREDENTIAL_SLOT_IMMUTABLE },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No credential with that id belongs to the caller.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Rotate the key after reissuing it at the vendor',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID, secretValue: 'sk-my-newly-issued-key' },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.DELETE]: {\n purpose: 'Disconnect your account at a provider.',\n outcome:\n 'The application stops acting as you toward that provider. Calls that named you as the connection are REFUSED by name — there is no fallback to the deployment\\'s or your organization\\'s credential, because either would act as a party you did not authorize.',\n whenToUse: 'When you disconnect the provider, or when you believe the credential is compromised and rotation is not enough.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The credential was removed. No body.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No credential with that id belongs to the caller, including one already removed.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Disconnect my OpenAI account',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n forStatus: HttpResponseStatusCode.NO_CONTENT_204,\n }],\n },\n },\n\n frontend: {\n layout: {\n purpose: 'No sections: a stored credential is a handful of facts that no heading would group better than the rows do, so the templates are flat rows under a header and the preset declares no `layout.refs`.',\n headerPurpose: 'The READ identity line: `providerRef · secretSlug` as the title and the `validationState` badge beside it. Neither the provider, the slot nor the state repeats in the body.',\n displayPurpose: 'Settings rows: whether the credential is enabled, then its description, last validation error, validation, use and secret-set dates and any connection facts — each hidden while empty — and its creation date.',\n summaryPurpose: 'A list card: the `providerRef · secretSlug` title, the `validationState` badge, and \"Enabled\" / \"Disabled\" as a word rather than a labelled checkmark.',\n editPurpose: 'The form reached from a credential\\'s Edit action: the new secret (focused), whether it is enabled, a description. `validationState` is not offered: it is the store\\'s verdict on the last use, excluded from create and update (#1809), and shows as the header badge. Provider and slot are the credential\\'s identity and are offered only on the API\\'s CREATE, which these screens hide.',\n },\n emptyState: {\n purpose: 'Say that nothing is connected yet and that connecting happens on the Connect tab beside this list — the list offers no Create of its own (#1040), so without this line the empty state is the page title again with no way forward.',\n },\n },\n businessConstraints: [\n 'The uniqueness grain is `(userId, connectionRef, secretSlug)` — the CONNECTION, not the provider ref (#1670): several refs of one vendor may share one connection and must then spend one stored grant rather than one per ref. Every ref is its own connection until the application declares otherwise, so today `connectionRef` equals `providerRef` on every row. It is enforced by a compound unique index rather than a read-then-write. Saving a rotation twice in the same minute would otherwise leave two rows, and the resolver would pick between them arbitrarily — so half the holder\\'s outbound calls would carry the retired credential with nothing to say which half.',\n 'A person\\'s credential has NO fallback, in either direction. Their organization\\'s credential is not a next-best owner and neither is the deployment\\'s: a call that named this person and could not resolve them is REFUSED, because the vendor records the act under whichever identity was actually spent and that record outlives us.',\n 'Nobody but the holder may read, spend, rotate or remove one. There is no administrative variant at any tier — consent to STORE a personal credential is not consent for somebody else to use it.',\n 'A subject erasure DOES reach this resource, and it DESTROYS the rows. The resource declares no `retentionPolicy`, because neither retain treatment fits a secret: an impersonalized row would keep key material that still opens against a person who asked to be forgotten, and a RETAIN_ONLY row keeps it untouched. The `USERS` → credentials edge authors `onParentDelete.strategy: DELETE`, read both by the delete cascade and by an erasure, which keeps the scrubbed person row. Until #1569 the resource declared RETAIN_ONLY, and every erasure kept the credentials.',\n '`exportSubject` is FORBIDDEN, and it matters more here than on the organization-owned sibling. That row is unreachable on the subject-export graph by construction; this one is reachable BY construction, because it hangs off the subject. The refusal is what stands between a subject-access request and a working credential in the response.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/engine/billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/engine/billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}