@wildo-ai/saas-specifications 1.1.9 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (928) hide show
  1. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
  4. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/index.js +1 -1
  6. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
  7. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
  8. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
  9. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
  10. package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
  11. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
  12. package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
  13. package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
  14. package/dist/esm/_core/brand/brand-name-choice.js +144 -24
  15. package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
  16. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
  17. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
  18. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +19 -3
  19. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
  20. package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +7 -1
  21. package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
  22. package/dist/esm/_core/brand/brand-name-screening-validation.js +24 -3
  23. package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
  24. package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
  25. package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
  26. package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
  27. package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
  28. package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
  29. package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
  30. package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
  31. package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
  32. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
  33. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  34. package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
  35. package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
  36. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +76 -0
  37. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  38. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +7 -2
  39. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  40. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +21 -3
  41. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  42. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +411 -13
  43. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  44. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +281 -8
  45. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  46. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +1 -1
  47. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  48. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -0
  49. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  50. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +3 -0
  51. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  52. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +6 -0
  53. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  54. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +20 -0
  55. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  56. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +1 -0
  57. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
  59. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  60. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
  61. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  62. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
  63. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
  64. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
  65. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
  66. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
  67. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
  68. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
  69. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
  70. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
  71. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
  72. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +66 -2
  73. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
  74. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
  75. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
  76. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
  77. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
  78. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
  79. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
  81. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  82. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
  83. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
  84. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
  85. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
  86. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
  87. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
  88. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
  89. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
  90. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
  91. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  92. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
  93. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  94. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
  95. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
  96. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
  97. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
  98. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  99. package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
  100. package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
  101. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
  102. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  103. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
  104. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
  105. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +33 -1
  106. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  107. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +134 -9
  108. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
  109. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +117 -0
  110. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  111. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +118 -0
  112. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  113. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
  114. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  115. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +22 -1
  116. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  117. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
  118. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
  120. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
  121. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
  122. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
  123. package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
  124. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
  125. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
  126. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
  127. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
  128. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +81 -9
  129. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
  130. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
  131. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
  132. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
  133. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  134. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
  135. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  136. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  137. package/dist/esm/_core/family-aspects.registry.js +2 -0
  138. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  139. package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
  140. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  141. package/dist/esm/_core/family-aspects.schemas.js +20 -0
  142. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  143. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +6 -6
  144. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
  145. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  146. package/dist/esm/_core/index.d.ts +6 -0
  147. package/dist/esm/_core/index.d.ts.map +1 -1
  148. package/dist/esm/_core/index.js +6 -0
  149. package/dist/esm/_core/index.js.map +1 -1
  150. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
  151. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
  152. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
  153. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
  154. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
  155. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +26 -2
  156. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
  157. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
  158. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
  159. package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
  160. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  161. package/dist/esm/_core/market/market-references.schemas.js +13 -1
  162. package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
  163. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -12
  164. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  165. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
  166. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  167. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  168. package/dist/esm/_core/market/market.family-aspects.js +4 -1
  169. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  170. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
  171. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  172. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +6 -3
  173. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  174. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -1
  175. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  176. package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
  177. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  178. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  179. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
  180. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  181. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +83 -0
  182. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  183. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
  184. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  185. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
  186. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  187. package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
  188. package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
  189. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
  190. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  191. package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
  192. package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
  193. package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
  194. package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
  195. package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
  196. package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
  197. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
  198. package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
  199. package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
  200. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -0
  201. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  202. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +12 -1
  203. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  204. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
  205. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  206. package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
  207. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  208. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
  209. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  210. package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
  211. package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
  212. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  213. package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
  214. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
  215. package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
  216. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  217. package/dist/esm/_core/resource-specification.schemas.js +73 -13
  218. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  219. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
  220. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  221. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
  222. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
  223. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
  224. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  225. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
  226. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  227. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
  228. package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
  229. package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
  230. package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
  231. package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
  232. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
  233. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
  234. package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
  235. package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
  236. package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
  237. package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
  238. package/dist/esm/_core/service-method/service-method-validation.js +75 -0
  239. package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
  240. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
  241. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
  242. package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
  243. package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
  244. package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
  245. package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
  246. package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
  247. package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
  248. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
  249. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
  250. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
  251. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
  252. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +29 -3
  253. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
  254. package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
  255. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
  256. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
  257. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +6 -1
  258. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
  259. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +521 -15
  260. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
  261. package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
  262. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
  263. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
  264. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
  265. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
  266. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
  267. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +26 -0
  268. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
  269. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +14 -0
  270. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
  271. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
  272. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  273. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
  274. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  275. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +119 -10
  276. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
  277. package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
  278. package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
  279. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
  280. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  281. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
  282. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
  283. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
  284. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  285. package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
  286. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  287. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +103 -15
  288. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  289. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
  290. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  291. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
  292. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  293. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
  294. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  295. package/dist/esm/application-creation.exports.d.ts +7 -0
  296. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  297. package/dist/esm/application-creation.exports.js +7 -0
  298. package/dist/esm/application-creation.exports.js.map +1 -1
  299. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +36 -2
  300. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
  301. package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
  302. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
  303. package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
  304. package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
  305. package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
  306. package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
  307. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
  308. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  309. package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
  310. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  311. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
  312. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  313. package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
  314. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  315. package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
  316. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  317. package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
  318. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  319. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
  320. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  321. package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
  322. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  323. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
  324. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
  325. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
  326. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
  327. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  328. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1631 -70
  329. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  330. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
  331. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
  332. package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
  333. package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
  334. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
  335. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  336. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
  337. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  338. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
  339. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
  340. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
  341. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
  342. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
  343. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
  344. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
  345. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
  346. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
  347. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  348. package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
  349. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  350. package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
  351. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  352. package/dist/esm/assurance/assurance-program.schemas.js +255 -14
  353. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  354. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
  355. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  356. package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
  357. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  358. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
  359. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
  360. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
  361. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
  362. package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
  363. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  364. package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
  365. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  366. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  367. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +356 -5
  368. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  369. package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
  370. package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
  371. package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
  372. package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
  373. package/dist/esm/assurance/governed-document-release.d.ts +15 -1
  374. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
  375. package/dist/esm/assurance/governed-document-release.js +3 -1
  376. package/dist/esm/assurance/governed-document-release.js.map +1 -1
  377. package/dist/esm/assurance.exports.d.ts +4 -0
  378. package/dist/esm/assurance.exports.d.ts.map +1 -1
  379. package/dist/esm/assurance.exports.js +4 -0
  380. package/dist/esm/assurance.exports.js.map +1 -1
  381. package/dist/esm/companion-exports.d.ts +9 -1
  382. package/dist/esm/companion-exports.d.ts.map +1 -1
  383. package/dist/esm/companion-exports.js.map +1 -1
  384. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -1
  385. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +33 -5
  387. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  388. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  389. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +9 -12
  390. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  391. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +1 -1
  392. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  393. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +60 -6
  394. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  395. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
  396. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  397. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
  398. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  399. package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
  400. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  401. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +12 -4
  402. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  403. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +46 -10
  404. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  405. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
  406. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  407. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
  408. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  409. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -1
  410. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  411. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +40 -11
  412. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  413. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -1
  414. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  415. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +44 -3
  416. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  417. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +7 -3
  418. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  419. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +40 -8
  420. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  421. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +14 -8
  422. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  423. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +72 -19
  424. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  425. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +2 -2
  426. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  427. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +6 -6
  428. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  429. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
  430. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  431. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +14 -13
  432. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  433. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  434. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -2
  435. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  436. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
  437. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
  438. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  439. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +68 -12
  440. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  441. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  442. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
  443. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  444. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +3 -1
  445. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  446. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +11 -7
  447. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  448. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -0
  449. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  450. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -1
  451. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  452. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -2
  453. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  454. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +8 -7
  455. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  456. package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
  457. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  458. package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
  459. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  460. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
  461. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  462. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
  463. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  464. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
  465. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
  466. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  467. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +4 -0
  468. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  469. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +4 -1
  470. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  471. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +9 -5
  472. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  473. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +16 -8
  474. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  475. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
  476. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
  477. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
  478. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
  479. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
  480. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  481. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +19 -13
  482. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  483. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
  484. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
  486. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
  487. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
  488. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
  489. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
  490. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
  491. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
  492. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
  493. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  494. package/dist/esm/engine/engine-resource-specifications.registry.js +55 -11
  495. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  496. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  497. package/dist/esm/engine/errors/error-messages.specification.js +300 -5
  498. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  499. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
  500. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  501. package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
  502. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  503. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  504. package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
  505. package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
  506. package/dist/esm/engine/features/index.d.ts +4 -2
  507. package/dist/esm/engine/features/index.d.ts.map +1 -1
  508. package/dist/esm/engine/features/index.js +6 -4
  509. package/dist/esm/engine/features/index.js.map +1 -1
  510. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
  511. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  512. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  513. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +34 -15
  514. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  515. package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -1
  516. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  517. package/dist/esm/engine/files/resources/files.resource.specification.js +24 -3
  518. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  519. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  520. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
  521. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  522. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -6
  523. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  524. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
  525. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
  526. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
  527. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
  528. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
  529. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
  530. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
  531. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
  532. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
  533. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
  534. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
  535. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
  536. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
  537. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
  538. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
  539. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
  540. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
  541. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
  542. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
  543. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
  544. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
  545. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
  546. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
  547. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
  548. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
  549. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
  550. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
  551. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
  552. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  553. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +118 -18
  554. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  555. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -0
  556. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  557. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -4
  558. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  559. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
  560. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
  561. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
  562. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
  563. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
  564. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
  565. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
  566. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
  567. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
  568. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
  569. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
  570. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
  571. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
  572. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
  573. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
  574. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
  575. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
  576. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
  577. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
  578. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
  579. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
  580. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
  581. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
  582. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
  583. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
  584. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
  585. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
  586. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
  587. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
  588. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
  589. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
  590. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
  591. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
  592. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
  594. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
  595. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
  596. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
  597. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
  598. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
  599. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  600. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
  601. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
  602. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
  603. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
  604. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
  606. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
  607. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  608. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
  609. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
  610. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
  611. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
  612. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
  613. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
  614. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
  615. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
  616. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
  617. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
  618. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
  619. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
  620. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +3 -2
  622. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  623. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
  624. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
  625. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
  626. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
  627. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
  628. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
  629. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
  630. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
  631. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
  632. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
  633. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
  634. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
  635. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
  636. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
  637. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
  638. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -0
  639. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  640. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
  641. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  642. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  643. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
  644. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
  645. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
  646. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
  647. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
  648. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
  649. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
  650. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  651. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
  652. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
  653. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
  654. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  655. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  656. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
  657. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
  658. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
  659. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
  660. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  661. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  662. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
  663. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
  664. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
  665. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
  666. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
  667. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
  668. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
  669. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
  670. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
  671. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
  672. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
  673. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
  674. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
  675. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
  676. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
  677. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
  678. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
  679. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
  680. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
  681. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
  682. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
  683. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
  684. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
  685. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
  686. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
  687. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
  688. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
  689. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
  690. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
  691. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
  692. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
  693. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
  694. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
  695. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
  696. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  697. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
  698. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
  699. package/dist/esm/engine/frontend-components/index.d.ts +7 -0
  700. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  701. package/dist/esm/engine/frontend-components/index.js +29 -0
  702. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  703. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
  704. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
  705. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  706. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
  707. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
  708. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
  709. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
  710. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
  711. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
  712. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
  713. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
  714. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
  715. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
  716. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
  717. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
  718. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  719. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
  720. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  721. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
  722. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
  723. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
  724. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
  725. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  726. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
  727. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  728. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
  729. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
  730. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
  731. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
  732. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
  733. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
  734. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
  735. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
  736. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
  737. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
  738. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
  739. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
  740. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
  741. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
  742. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
  743. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
  744. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
  745. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
  746. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
  747. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
  748. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
  749. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
  750. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  751. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
  752. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  753. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
  754. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
  755. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
  756. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
  757. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  758. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
  759. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
  760. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  761. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
  762. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
  763. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
  764. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
  765. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
  766. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
  767. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
  768. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
  769. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
  770. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
  771. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
  772. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
  773. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
  774. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
  775. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
  776. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
  777. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
  778. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
  779. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
  780. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
  781. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
  782. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
  783. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
  784. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
  785. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
  786. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
  787. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
  788. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
  789. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  790. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -4
  791. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  792. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +2 -2
  793. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
  794. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  795. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +3 -3
  796. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  797. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
  798. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
  799. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
  800. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
  801. package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
  802. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  803. package/dist/esm/engine/notifications/system-emails/index.js +1 -3
  804. package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
  805. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
  806. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  807. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
  808. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
  809. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
  810. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  811. package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
  812. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  813. package/dist/esm/engine/organizations/resources/index.js +1 -2
  814. package/dist/esm/engine/organizations/resources/index.js.map +1 -1
  815. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
  816. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  817. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +114 -51
  818. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  819. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
  820. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  821. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
  822. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  823. package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
  824. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
  825. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
  826. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
  827. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +1 -1
  828. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  829. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +6 -4
  830. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  831. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -2
  832. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  833. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +4 -4
  834. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  835. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
  836. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  837. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
  838. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
  839. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
  840. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
  841. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  842. package/dist/esm/engine/providers/github.provider.specification.js +8 -5
  843. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  844. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
  845. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
  846. package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
  847. package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
  848. package/dist/esm/engine/providers/index.d.ts +2 -0
  849. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  850. package/dist/esm/engine/providers/index.js +5 -1
  851. package/dist/esm/engine/providers/index.js.map +1 -1
  852. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
  853. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
  854. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
  855. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
  856. package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
  857. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  858. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
  860. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  861. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
  862. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
  863. package/dist/esm/engine/roles/index.d.ts +2 -2
  864. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  865. package/dist/esm/engine/roles/index.js +5 -5
  866. package/dist/esm/engine/roles/index.js.map +1 -1
  867. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
  868. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
  869. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
  870. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
  871. package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
  872. package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
  873. package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
  874. package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
  875. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +1 -0
  876. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  877. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
  878. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  879. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +3 -3
  880. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
  881. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  882. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
  883. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  884. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
  885. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  886. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
  887. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  888. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
  889. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  890. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
  891. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  892. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -0
  893. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  894. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +3 -3
  895. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  896. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
  897. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  898. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -0
  899. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  900. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +6 -2
  901. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  902. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
  903. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  904. package/dist/esm/engine/users/resources/user-self.resource.specification.js +33 -0
  905. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  906. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +2 -1
  907. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  908. package/dist/esm/engine/users/resources/users.resource.specification.js +10 -4
  909. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  910. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  911. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +17 -15
  912. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  913. package/package.json +8 -8
  914. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
  915. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
  916. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
  917. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
  918. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
  919. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
  920. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
  921. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
  922. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
  923. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
  924. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
  925. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
  926. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
  927. package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
  928. package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"application-versions.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/applications/resources/application-versions.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0CAA0C,IAAI,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACvH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,wBAAwB,EACxB,qBAAqB,IAAI,EAAE,EAC3B,oBAAoB,EACpB,8DAA8D,IAAI,0BAA0B,GAC7F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAO3E,MAAM,qBAAqB,GAAG,yBAAyE,CAAC;AAExG,MAAM,CAAC,MAAM,wCAAwC,GAAG,8CAA8C,CACpG,6BAA6B,CAAC,qBAAqB,CAAC,EACpD,qBAAqB,CACnB,0BAA0B,EAC1B,wBAAwB,EACxB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,2JAA2J;IACpK,YAAY,EAAE,0IAA0I;IACxJ,aAAa,EAAE,wRAAwR;IACvS,QAAQ,EAAE,aAAa,CAAC,SAAS;IACjC,SAAS,EAAE,uBAAuB,CAAC,YAAY;IAC/C,YAAY,EAAE;QACZ,UAAU,EAAE;YACV,WAAW,EAAE,uBAAuB;YACpC,UAAU,EAAE,0BAA0B;YACtC,UAAU,EAAE,cAAc,CAAC,MAAM;YACjC,eAAe,EAAE,mBAAmB,CAAC,UAAU;SAChD;QACD,eAAe,EAAE;YACf,WAAW,EAAE,uBAAuB;YACpC,UAAU,EAAE,gEAAgE;YAC5E,UAAU,EAAE,cAAc,CAAC,OAAO;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,EAAE,SAAS,EAAE,qDAAqD,EAAE;KACnJ;CACF,CAAC,CACH,CAAC","sourcesContent":["import { applicationVersionsAdminResourceUIBehavior as applicationVersionsSource } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n ApplicationVersionSchema,\n CoreResourceOperation as Op,\n ResourcePrimaryScope,\n applicationVersionsResourceConfiguration_InitializationFactory as applicationVersionsFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype Cfg = ReturnType<typeof applicationVersionsFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst applicationVersionsUI = applicationVersionsSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nexport const applicationVersionsResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(applicationVersionsUI),\n resourceSpecification(\n applicationVersionsFactory,\n ApplicationVersionSchema,\n ({ schemaShape }) => ({\n purpose: 'The application\\'s published releases: one record per version, with its release notes and publication date. A published version is not edited afterwards.',\n businessRole: 'Serves as the application’s changelog of record — what shipped, when, and with which notes — for support, audit, and migration planning.',\n lifecycleRole: 'Grows an append-mostly history over time through core CRUD; it records releases and does not control them. Deployment (which build runs where) is owned by the CLI self-host lane, and the framework is mono-env, so no promotion/rollback/deprecation state lives on the version row.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.APPLICATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ApplicationVersionSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'applicationVersionsResourceConfiguration_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: 'APPLICATION_VERSIONS',\n },\n // No `customEnum`: this resource has no custom operations. The former\n // `ApplicationVersion_Operations` enum was removed on 2026-08-01 along with its three\n // release-management verbs (see `businessConstraints`).\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 frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'applicationVersionsAdminResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n applicationId: schemaShape.applicationId.foreignKeySpec({\n meaning: 'The owning `applications` record this release belongs to; immutable after create.',\n whyItMatters: 'Scopes the version history to a single application so roll-forward/rollback and changelog surfaces only ever mix builds of the same app.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n version: schemaShape.version.stringSpec({ meaning: 'Semver (or product-specific) string for this build.', importance: FieldSemanticImportance.PRIMARY }),\n releaseDate: schemaShape.releaseDate.dateSpec({ meaning: 'Publish timestamp for the cut.' }),\n releaseNotes: schemaShape.releaseNotes.stringSpec({ meaning: 'Changelog and migration notes for operators and support.' }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Record a new build row when a pipeline produces artifacts.',\n outcome: 'Appears in history tables and can be selected for traffic.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The release record was recorded for the owning application and is returned with its id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The version string or release fields fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin for the owning application; recording releases is org-admin gated.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The owning application referenced by this release does not exist in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A release row with the same version string already exists for this application.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Record a new release',\n request: {\n version: '2.4.0',\n releaseDate: '2026-06-15T09:00:00.000Z',\n releaseNotes: 'Adds bulk task completion and fixes the assignee filter.',\n },\n response: {\n version: '2.4.0',\n releaseDate: '2026-06-15T09:00:00.000Z',\n releaseNotes: 'Adds bulk task completion and fixes the assignee filter.',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.READ]: {\n purpose: 'Detail view for a single release, including long notes.',\n outcome: 'Support and SRE can verify exactly what shipped.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The release record was found and its full detail (including notes) is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No release row exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'Paginated history for the owning application.',\n outcome: 'Ordered timeline for “what’s live” decisions.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of release records for the owning application.' },\n ],\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Search or filter the release log.',\n outcome: 'A narrowed result set for tenants that deploy frequently.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of release records matching the version/notes query.' },\n ],\n idempotent: true,\n },\n [Op.UPDATE]: {\n purpose: 'Patch release notes or metadata where mutability is allowed by policy.',\n outcome: 'Correct typos in notes without re-running the build.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The release record was patched and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited release fields fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin for the owning application; editing releases is org-admin gated.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No release row exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Remove errant or superseded records when legal policy allows hard delete.',\n outcome: 'Row absent from public history; audit events may still exist outside this resource.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The release record was deleted; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin for the owning application; deleting releases is org-admin gated.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No release row exists for the supplied id (or it was already deleted).' },\n ],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Only the admin `application` preset materializes the versions relationship tab; end-user `APPLICATION` main preset keeps versions hidden in merged maps.',\n 'This resource RECORDS releases; it does not control them. `PROMOTE` / `ROLLBACK` / `DEPRECATE` were declared here and removed on 2026-08-01 — all three were routed but wrote nothing, and the state they implied cannot live on this row: the framework is mono-env (each deployment has its own infrastructure and database), so \"which build is live in environment X\" is not a fact this application\\'s database can hold, and deploying a built image is owned by the CLI self-host lane rather than by a resource verb.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n ),\n () => ({\n label: {\n purpose: 'The version string: a release is known by it everywhere else, so it is the page title and no row repeats it.',\n },\n layout: {\n purpose: 'A release reads as its date and its notes; the version is the page title.',\n displayPurpose: 'An untitled card holding the release date, then the notes under their own heading, unlabelled and full width. No read section shows a description. The form is one flat list — version (focused), release date, notes as a paragraph — with no headings.',\n summaryPurpose: 'One line: the version and the release date, bare.',\n sections: {\n overview: {\n purpose: 'The release date. The version is the page title.',\n whenToUse: 'The first block of a single release\\'s read page.',\n textSlots: {\n title: { purpose: 'Name the release-facts block. Not rendered on the read page, where the header already names the release.' },\n },\n },\n releaseNotes: {\n purpose: 'The release notes, as written.',\n whenToUse: 'Reading what changed in a release.',\n textSlots: {\n title: { purpose: 'Head the release notes; the notes themselves carry no label beneath it.' },\n },\n },\n },\n },\n views: {\n [Op.CREATE]: { purpose: 'Register a new row after CI publishes artifacts.', whenToUse: 'Release automation and manual hotfix entry.' },\n [Op.READ]: { purpose: 'Detail drawer in admin for one release line.', whenToUse: 'Comparing notes during migration planning.' },\n [Op.LIST]: { purpose: 'History tab in admin apps surface.', whenToUse: 'Default release browser experience.' },\n [Op.SEARCH]: { purpose: 'Search the release log when search is enabled in factory config.', whenToUse: 'Large app histories in enterprise tenants.' },\n [Op.UPDATE]: { purpose: 'Note edits for clarifications or legal redactions in displayed changelog.', whenToUse: 'When marketing updates copy without changing bits.' },\n [Op.DELETE]: { purpose: 'Remove mistaken rows in exceptional migration flows.', whenToUse: 'Test builds accidentally captured as prod releases.' },\n },\n }),\n);\n"]}
1
+ {"version":3,"file":"application-versions.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/applications/resources/application-versions.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0CAA0C,IAAI,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACvH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,wBAAwB,EACxB,qBAAqB,IAAI,EAAE,EAC3B,oBAAoB,EACpB,8DAA8D,IAAI,0BAA0B,GAC7F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC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SAAS,EAAE,oCAAoC;gBAC/C,SAAS,EAAE;oBACT,KAAK,EAAE,EAAE,OAAO,EAAE,yEAAyE,EAAE;iBAC9F;aACF;SACF;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,kDAAkD,EAAE,SAAS,EAAE,6CAA6C,EAAE;QACtI,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,8CAA8C,EAAE,SAAS,EAAE,4CAA4C,EAAE;QAC/H,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,oCAAoC,EAAE,SAAS,EAAE,qCAAqC,EAAE;QAC9G,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,kEAAkE,EAAE,SAAS,EAAE,4CAA4C,EAAE;QACrJ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,2EAA2E,EAAE,SAAS,EAAE,oDAAoD,EAAE;QACtK,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,sDAAsD,EAAE,SAAS,EAAE,qDAAqD,EAAE;KACnJ;CACF,CAAC,CACH,CAAC","sourcesContent":["import { applicationVersionsAdminResourceUIBehavior as applicationVersionsSource } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n ApplicationVersionSchema,\n CoreResourceOperation as Op,\n ResourcePrimaryScope,\n applicationVersionsResourceConfiguration_InitializationFactory as applicationVersionsFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype Cfg = ReturnType<typeof applicationVersionsFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst applicationVersionsUI = applicationVersionsSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nexport const applicationVersionsResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(applicationVersionsUI),\n resourceSpecification(\n applicationVersionsFactory,\n ApplicationVersionSchema,\n ({ schemaShape }) => ({\n purpose: 'The application\\'s published releases: one record per version, with its release notes and publication date. A published version is not edited afterwards.',\n businessRole: 'Serves as the application’s changelog of record — what shipped, when, and with which notes — for support, audit, and migration planning.',\n lifecycleRole: 'Grows an append-mostly history over time through core CRUD; it records releases and does not control them. Deployment (which build runs where) is owned by the CLI self-host lane, and the framework is mono-env, so no promotion/rollback/deprecation state lives on the version row.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.APPLICATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ApplicationVersionSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'applicationVersionsResourceConfiguration_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: 'APPLICATION_VERSIONS',\n },\n // No `customEnum`: this resource has no custom operations. The former\n // `ApplicationVersion_Operations` enum was removed on 2026-08-01 along with its three\n // release-management verbs (see `businessConstraints`).\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 frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'applicationVersionsAdminResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n applicationId: schemaShape.applicationId.foreignKeySpec({\n meaning: 'The owning `applications` record this release belongs to; immutable after create.',\n whyItMatters: 'Scopes the version history to a single application so roll-forward/rollback and changelog surfaces only ever mix builds of the same app.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n version: schemaShape.version.stringSpec({ meaning: 'Semver (or product-specific) string for this build.', importance: FieldSemanticImportance.PRIMARY }),\n releaseDate: schemaShape.releaseDate.dateSpec({ meaning: 'Publish timestamp for the cut.' }),\n releaseNotes: schemaShape.releaseNotes.stringSpec({ meaning: 'Changelog and migration notes for operators and support.' }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Record a new build row when a pipeline produces artifacts.',\n outcome: 'Appears in history tables and can be selected for traffic.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The release record was recorded for the owning application and is returned with its id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The version string or release fields fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the application\\'s super-administrator. Organization roles do not apply: the release record belongs to the application.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The owning application referenced by this release does not exist in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A release row with the same version string already exists for this application.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Record a new release',\n request: {\n version: '2.4.0',\n releaseDate: '2026-06-15T09:00:00.000Z',\n releaseNotes: 'Adds bulk task completion and fixes the assignee filter.',\n },\n response: {\n version: '2.4.0',\n releaseDate: '2026-06-15T09:00:00.000Z',\n releaseNotes: 'Adds bulk task completion and fixes the assignee filter.',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.READ]: {\n purpose: 'Detail view for a single release, including long notes.',\n outcome: 'Support and SRE can verify exactly what shipped.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The release record was found and its full detail (including notes) is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No release row exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'Paginated history for the owning application.',\n outcome: 'Ordered timeline for “what’s live” decisions.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of release records for the owning application.' },\n ],\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Search or filter the release log.',\n outcome: 'A narrowed result set for tenants that deploy frequently.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of release records matching the version/notes query.' },\n ],\n idempotent: true,\n },\n [Op.UPDATE]: {\n purpose: 'Patch release notes or metadata where mutability is allowed by policy.',\n outcome: 'Correct typos in notes without re-running the build.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The release record was patched and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited release fields fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the application\\'s super-administrator. Organization roles do not apply: the release record belongs to the application.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No release row exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Remove errant or superseded records when legal policy allows hard delete.',\n outcome: 'Row absent from public history; audit events may still exist outside this resource.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The release record was deleted; the body carries its `id`.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the application\\'s super-administrator. Organization roles do not apply: the release record belongs to the application.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No release row exists for the supplied id (or it was already deleted).' },\n ],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Only the admin `application` preset materializes the versions relationship tab; end-user `APPLICATION` main preset keeps versions hidden in merged maps.',\n 'This resource RECORDS releases; it does not control them. `PROMOTE` / `ROLLBACK` / `DEPRECATE` were declared here and removed on 2026-08-01 — all three were routed but wrote nothing, and the state they implied cannot live on this row: the framework is mono-env (each deployment has its own infrastructure and database), so \"which build is live in environment X\" is not a fact this application\\'s database can hold, and deploying a built image is owned by the CLI self-host lane rather than by a resource verb.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n ),\n () => ({\n label: {\n purpose: 'The version string: a release is known by it everywhere else, so it is the page title and no row repeats it.',\n },\n layout: {\n purpose: 'A release reads as its date and its notes; the version is the page title.',\n displayPurpose: 'An untitled card holding the release date, then the notes under their own heading, unlabelled and full width. No read section shows a description. The form is one flat list — version (focused), release date, notes as a paragraph — with no headings.',\n summaryPurpose: 'One line: the version and the release date, bare.',\n sections: {\n overview: {\n purpose: 'The release date. The version is the page title.',\n whenToUse: 'The first block of a single release\\'s read page.',\n textSlots: {\n title: { purpose: 'Name the release-facts block. Not rendered on the read page, where the header already names the release.' },\n },\n },\n releaseNotes: {\n purpose: 'The release notes, as written.',\n whenToUse: 'Reading what changed in a release.',\n textSlots: {\n title: { purpose: 'Head the release notes; the notes themselves carry no label beneath it.' },\n },\n },\n },\n },\n views: {\n [Op.CREATE]: { purpose: 'Register a new row after CI publishes artifacts.', whenToUse: 'Release automation and manual hotfix entry.' },\n [Op.READ]: { purpose: 'Detail drawer in admin for one release line.', whenToUse: 'Comparing notes during migration planning.' },\n [Op.LIST]: { purpose: 'History tab in admin apps surface.', whenToUse: 'Default release browser experience.' },\n [Op.SEARCH]: { purpose: 'Search the release log when search is enabled in factory config.', whenToUse: 'Large app histories in enterprise tenants.' },\n [Op.UPDATE]: { purpose: 'Note edits for clarifications or legal redactions in displayed changelog.', whenToUse: 'When marketing updates copy without changing bits.' },\n [Op.DELETE]: { purpose: 'Remove mistaken rows in exceptional migration flows.', whenToUse: 'Test builds accidentally captured as prod releases.' },\n },\n }),\n);\n"]}
@@ -6,5 +6,6 @@ export declare const applicationsResourceSpecification: import("../../../_core")
6
6
  lastVersion: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
7
7
  platformAppId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
8
8
  ownerOrganizationSerializationToken: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>>>>;
9
+ ownerOrganizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>>>>;
9
10
  }, import("zod/v4/core").$strip>>;
10
11
  //# sourceMappingURL=applications.resource.specification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"applications.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/applications/resources/applications.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EAEL,qBAAqB,IAAI,EAAE,EAI5B,MAAM,uBAAuB,CAAC;AAmB/B,eAAO,MAAM,iCAAiC;;;;;;;iCAwL7C,CAAC"}
1
+ {"version":3,"file":"applications.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/applications/resources/applications.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EAEL,qBAAqB,IAAI,EAAE,EAI5B,MAAM,uBAAuB,CAAC;AAmB/B,eAAO,MAAM,iCAAiC;;;;;;;;iCAwL7C,CAAC"}
@@ -144,7 +144,7 @@ export const applicationsResourceSpecification = resourceSpecificationFromFronte
144
144
  purpose: 'Remove an application record and cascade per registry (high risk).',
145
145
  outcome: 'Tombstone/soft delete varies by product policy.',
146
146
  responseStatuses: [
147
- { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The application (and its composed children) were removed per the registry cascade; no body is returned.' },
147
+ { code: HttpResponseStatusCode.OK_200, meaning: 'The application (and its composed children) were removed per the registry cascade; the body carries its `id`.' },
148
148
  ],
149
149
  errorScenarios: [
150
150
  { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin (or platform super-admin) for this application; this is a critical-risk admin-gated operation.' },
@@ -158,7 +158,7 @@ export const applicationsResourceSpecification = resourceSpecificationFromFronte
158
158
  businessConstraints: [
159
159
  '`APPLICATION` is the self-anchor for `APPLICATION` primary scope; align the declared `resourcePrimaryScope` with the registry for companion prompts.',
160
160
  'Cross-organization application transfer is intentionally NOT a framework capability. A `TRANSFER` operation was declared here in two variants and removed on 2026-08-01: it was routed but wrote nothing, and the move it named is incoherent in this model. `APPLICATION` is the self-anchored top-level scope — the application IS the tenant container and organizations are a sibling scope inside its tenancy — so there is no owning-organization field to re-point and no `ORGANIZATIONS → APPLICATION` relationship in the registry. This mirrors the framework’s refusal of cross-organization MEMBER transfer as a tenant-boundary crossing it does not sanction.',
161
- 'Application status lifecycle is intentionally NOT a framework capability. `ACTIVATE` and `SUSPEND` were declared here as super-admin verbs (each with a generated bulk variant) and removed on 2026-08-01: they were routed but wrote nothing, because this resource carries no lifecycle state to write. `APPLICATION` is an identity row (`appSlug`, `appDisplayName`, `lastVersion`, `platformAppId`); an application’s real operational state lives one tier up, at `PLATFORM_APPLICATIONS` / `Wildo_Application_Config`, managed by the platform apps-manager. Halting an application is a platform-tier action, not a field flip on the application’s own registry entry — and by ground 3 above, the suspending super-admin’s session lives inside the container being suspended. Re-declaring these verbs requires the per-organization application-ownership model first, not an `ApplicationStatus` field bolted on to satisfy two buttons.',
161
+ 'Application status lifecycle is intentionally NOT a framework capability. `ACTIVATE` and `SUSPEND` were declared here as super-admin verbs (each with a generated bulk variant) and removed on 2026-08-01: they were routed but wrote nothing, because this resource carries no lifecycle state to write. `APPLICATION` is an identity row (`appSlug`, `appDisplayName`, `lastVersion`, `platformAppId`, plus two backend-only fields about which organization operates the application: `ownerOrganizationId`, the recorded owner that the owner resolver reads, and `ownerOrganizationSerializationToken`, the row a promotion serializes on); an application’s real operational state lives one tier up, at `PLATFORM_APPLICATIONS` / `Wildo_Application_Config`, managed by the platform apps-manager. Halting an application is a platform-tier action, not a field flip on the application’s own registry entry — and by ground 3 above, the suspending super-admin’s session lives inside the container being suspended. Re-declaring these verbs requires the per-organization application-ownership model first, not an `ApplicationStatus` field bolted on to satisfy two buttons.',
162
162
  ],
163
163
  }), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION }), () => ({
164
164
  views: {
@@ -1 +1 @@
1
- {"version":3,"file":"applications.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/applications/resources/applications.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6CAA6C,IAAI,uBAAuB,EACxE,4CAA4C,IAAI,sBAAsB,GACvE,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,iBAAiB,EACjB,qBAAqB,IAAI,EAAE,EAC3B,oBAAoB,EACpB,sDAAsD,IAAI,mBAAmB,EAC7E,2BAA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IACL,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;YACT,QAAQ,EAAE;gBACR,OAAO,EAAE;oBACP,OAAO,EAAE,6EAA6E;oBACtF,SAAS,EAAE,uEAAuE;iBACnF;gBACD,KAAK,EAAE;oBACL,OAAO,EAAE,sEAAsE;oBAC/E,SAAS,EAAE,2FAA2F;iBACvG;aACF;SACF;QACD,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,kFAAkF,EAAE,SAAS,EAAE,0CAA0C,EAAE;QACjK,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,6DAA6D,EAAE,SAAS,EAAE,uDAAuD,EAAE;QAC3J,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,yFAAyF,EAAE,SAAS,EAAE,kDAAkD,EAAE;QAClL,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,kEAAkE,EAAE,SAAS,EAAE,wDAAwD,EAAE;QACjK,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,sEAAsE,EAAE,SAAS,EAAE,yCAAyC,EAAE;KACvJ;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n applicationAdminApplicationResourceUIBehavior as applicationsAdminSource,\n applicationMainApplicationResourceUIBehavior as applicationsMainSource,\n} from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n ApplicationSchema,\n CoreResourceOperation as Op,\n ResourcePrimaryScope,\n applicationResourceConfiguration_InitializationFactory as applicationsFactory,\n ErrorCustomMessageReference,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype Cfg = ReturnType<typeof applicationsFactory>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\n// `undefined` custom-operation parameter: `APPLICATION` declares no custom operations (see the\n// operationVocabulary note below). Same shape as `application-metadata.resource.specification.ts`.\nconst applicationsMainUI = applicationsMainSource as ResourceUIBehaviorConfig<undefined, Core, Main>;\nconst applicationsAdminUI = applicationsAdminSource as ResourceUIBehaviorConfig<undefined, Core, Main>;\n\nexport const applicationsResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(applicationsMainUI),\n resourceFrontendConfiguration(applicationsAdminUI),\n ),\n resourceSpecification(\n applicationsFactory,\n ApplicationSchema,\n ({ schemaShape }) => ({\n purpose: 'The application\\'s own identity record: its slug, display name and how it is registered with the platform that hosts it.',\n businessRole: 'Anchor for all app-scoped entitlements, versions, and infrastructure configuration in the control plane.',\n lifecycleRole: 'Provisioned through platform bootstrap, managed by admins, and suspended or re-activated under governance. Its tenancy is fixed at creation — an application cannot be re-parented to another organization.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.APPLICATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ApplicationSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'applicationResourceConfiguration_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: 'APPLICATION',\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 // No `customEnum`: `APPLICATION` declares no custom operations. TRANSFER, ACTIVATE and\n // SUSPEND were all removed on 2026-08-01 (see businessConstraints), emptying the\n // `Application_Operations` enum, which was deleted with them.\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'applicationMainApplicationResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'applicationAdminApplicationResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n appDisplayName: schemaShape.appDisplayName.stringSpec({\n meaning: 'Operator-facing name shown in org and platform consoles.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n appSlug: schemaShape.appSlug.stringSpec({\n meaning: 'Immutable routing key and DNS-safe identifier for the app install.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n lastVersion: schemaShape.lastVersion.stringSpec({ meaning: 'Most recent published semver for this application. Read-only on the API (excluded from create and update); it is written by platform provisioning, not by application traffic, and is absent until provisioning sets it.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Members read a lightweight about row; app admins read the full row; platform admins use `admin` variants.',\n outcome: 'Clients hydrate shell chrome and about surfaces.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The application was found and the projection the variant asks for is returned — the short “about” view or the full record.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No application exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'Paginated apps in org or platform directory views.',\n outcome: 'Rows for org multi-app and platform overviews.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of applications visible to the caller (org-scoped by default, all apps via the `admin` variant).' },\n ],\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Filter apps by display name, slug, or health metadata where indexed.',\n outcome: 'Matches for back-office and org admin tools.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of applications matching the display-name/slug query in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Provision a new app under an org or for a customer in platform mode.',\n outcome: 'New `APPLICATION` and downstream bootstrap hooks.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The application was provisioned under the org and is returned with its server-assigned id and slug.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The display name or slug payload fails schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an org admin (for their own org) nor a platform super-admin (for any org); app provisioning is admin gated.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The requested `appSlug` is already taken — slugs are immutable routing keys and must be unique.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Provision a new application',\n request: {\n appDisplayName: 'Wonder Todos',\n appSlug: 'wonder-todos',\n },\n response: {\n appDisplayName: 'Wonder Todos',\n appSlug: 'wonder-todos',\n lastVersion: null,\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Change display name or mutable metadata; slug remains immutable in normal flows.',\n outcome: 'Updated copy and routing for dependent services.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The mutable application fields were updated and the new state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited fields fail schema validation (e.g. attempting to mutate the immutable slug).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin (or platform super-admin) for this application; edits are admin gated.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No application exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Remove an application record and cascade per registry (high risk).',\n outcome: 'Tombstone/soft delete varies by product policy.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The application (and its composed children) were removed per the registry cascade; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin (or platform super-admin) for this application; this is a critical-risk admin-gated operation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'Both variants declare `requiresStepUpAuthentication`, and the request carried no valid single-use re-authentication token. Obtain one from the re-authentication route and retry with it — an application is a top-level scope, so its deletion destroys everything scoped beneath it and a live session alone is deliberately not sufficient.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No application exists for the supplied id (or it was already deleted).' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Product policy blocks the delete because the application has dependents that cannot be cascaded automatically (e.g. it is still active or has bound infrastructure).' },\n ],\n idempotent: true,\n },\n },\n businessConstraints: [\n '`APPLICATION` is the self-anchor for `APPLICATION` primary scope; align the declared `resourcePrimaryScope` with the registry for companion prompts.',\n 'Cross-organization application transfer is intentionally NOT a framework capability. A `TRANSFER` operation was declared here in two variants and removed on 2026-08-01: it was routed but wrote nothing, and the move it named is incoherent in this model. `APPLICATION` is the self-anchored top-level scope — the application IS the tenant container and organizations are a sibling scope inside its tenancy — so there is no owning-organization field to re-point and no `ORGANIZATIONS → APPLICATION` relationship in the registry. This mirrors the framework’s refusal of cross-organization MEMBER transfer as a tenant-boundary crossing it does not sanction.',\n 'Application status lifecycle is intentionally NOT a framework capability. `ACTIVATE` and `SUSPEND` were declared here as super-admin verbs (each with a generated bulk variant) and removed on 2026-08-01: they were routed but wrote nothing, because this resource carries no lifecycle state to write. `APPLICATION` is an identity row (`appSlug`, `appDisplayName`, `lastVersion`, `platformAppId`); an application’s real operational state lives one tier up, at `PLATFORM_APPLICATIONS` / `Wildo_Application_Config`, managed by the platform apps-manager. Halting an application is a platform-tier action, not a field flip on the application’s own registry entry — and by ground 3 above, the suspending super-admin’s session lives inside the container being suspended. Re-declaring these verbs requires the per-organization application-ownership model first, not an `ApplicationStatus` field bolted on to satisfy two buttons.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n ),\n () => ({\n views: {\n [Op.READ]: {\n variants: {\n default: {\n purpose: 'Read-only \"about this app\" shell entry for end users in merged main preset.',\n whenToUse: 'In-app about drawer when org members cannot manage versions directly.',\n },\n admin: {\n purpose: 'App-admin and platform read for full fields and child relationships.',\n whenToUse: 'Admin area host surfaces (`application` preset wires metadata/versions as tabs in admin).',\n },\n },\n },\n [Op.LIST]: { purpose: 'Directory listing in admin and platform UIs (admin variants only in merged map).', whenToUse: 'Multi-app org view and support consoles.' },\n [Op.SEARCH]: { purpose: 'Search in admin and platform UIs for application discovery.', whenToUse: 'When many apps exist in one org or in global catalog.' },\n [Op.CREATE]: { purpose: 'App creation in admin and platform (merged preset adds `admin` variant addressability).', whenToUse: 'Onboarding a new app id under customer contract.' },\n [Op.UPDATE]: { purpose: 'Administrator edits the mutable fields on the `APPLICATION` row.', whenToUse: 'Rebranding, slug freeze exceptions, and support edits.' },\n [Op.DELETE]: { purpose: 'Destructive removal when policy allows a hard delete in admin flows.', whenToUse: 'Pilots, migrations, and contract exits.' },\n },\n }),\n);\n"]}
1
+ {"version":3,"file":"applications.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/applications/resources/applications.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6CAA6C,IAAI,uBAAuB,EACxE,4CAA4C,IAAI,sBAAsB,GACvE,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,u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ACtJ,6oBAA6oB;QAC7oB,8nCAA8nC;KAC/nC;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,EACD,GAAG,EAAE,CAAC,CAAC;IACL,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;YACT,QAAQ,EAAE;gBACR,OAAO,EAAE;oBACP,OAAO,EAAE,6EAA6E;oBACtF,SAAS,EAAE,uEAAuE;iBACnF;gBACD,KAAK,EAAE;oBACL,OAAO,EAAE,sEAAsE;oBAC/E,SAAS,EAAE,2FAA2F;iBACvG;aACF;SACF;QACD,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,kFAAkF,EAAE,SAAS,EAAE,0CAA0C,EAAE;QACjK,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,6DAA6D,EAAE,SAAS,EAAE,uDAAuD,EAAE;QAC3J,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,yFAAyF,EAAE,SAAS,EAAE,kDAAkD,EAAE;QAClL,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,kEAAkE,EAAE,SAAS,EAAE,wDAAwD,EAAE;QACjK,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,sEAAsE,EAAE,SAAS,EAAE,yCAAyC,EAAE;KACvJ;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n applicationAdminApplicationResourceUIBehavior as applicationsAdminSource,\n applicationMainApplicationResourceUIBehavior as applicationsMainSource,\n} from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n ApplicationSchema,\n CoreResourceOperation as Op,\n ResourcePrimaryScope,\n applicationResourceConfiguration_InitializationFactory as applicationsFactory,\n ErrorCustomMessageReference,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype Cfg = ReturnType<typeof applicationsFactory>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\n// `undefined` custom-operation parameter: `APPLICATION` declares no custom operations (see the\n// operationVocabulary note below). Same shape as `application-metadata.resource.specification.ts`.\nconst applicationsMainUI = applicationsMainSource as ResourceUIBehaviorConfig<undefined, Core, Main>;\nconst applicationsAdminUI = applicationsAdminSource as ResourceUIBehaviorConfig<undefined, Core, Main>;\n\nexport const applicationsResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(applicationsMainUI),\n resourceFrontendConfiguration(applicationsAdminUI),\n ),\n resourceSpecification(\n applicationsFactory,\n ApplicationSchema,\n ({ schemaShape }) => ({\n purpose: 'The application\\'s own identity record: its slug, display name and how it is registered with the platform that hosts it.',\n businessRole: 'Anchor for all app-scoped entitlements, versions, and infrastructure configuration in the control plane.',\n lifecycleRole: 'Provisioned through platform bootstrap, managed by admins, and suspended or re-activated under governance. Its tenancy is fixed at creation — an application cannot be re-parented to another organization.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.APPLICATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ApplicationSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'applicationResourceConfiguration_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: 'APPLICATION',\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 // No `customEnum`: `APPLICATION` declares no custom operations. TRANSFER, ACTIVATE and\n // SUSPEND were all removed on 2026-08-01 (see businessConstraints), emptying the\n // `Application_Operations` enum, which was deleted with them.\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'applicationMainApplicationResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'applicationAdminApplicationResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n appDisplayName: schemaShape.appDisplayName.stringSpec({\n meaning: 'Operator-facing name shown in org and platform consoles.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n appSlug: schemaShape.appSlug.stringSpec({\n meaning: 'Immutable routing key and DNS-safe identifier for the app install.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n lastVersion: schemaShape.lastVersion.stringSpec({ meaning: 'Most recent published semver for this application. Read-only on the API (excluded from create and update); it is written by platform provisioning, not by application traffic, and is absent until provisioning sets it.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Members read a lightweight about row; app admins read the full row; platform admins use `admin` variants.',\n outcome: 'Clients hydrate shell chrome and about surfaces.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The application was found and the projection the variant asks for is returned — the short “about” view or the full record.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No application exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'Paginated apps in org or platform directory views.',\n outcome: 'Rows for org multi-app and platform overviews.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of applications visible to the caller (org-scoped by default, all apps via the `admin` variant).' },\n ],\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Filter apps by display name, slug, or health metadata where indexed.',\n outcome: 'Matches for back-office and org admin tools.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of applications matching the display-name/slug query in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Provision a new app under an org or for a customer in platform mode.',\n outcome: 'New `APPLICATION` and downstream bootstrap hooks.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The application was provisioned under the org and is returned with its server-assigned id and slug.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The display name or slug payload fails schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an org admin (for their own org) nor a platform super-admin (for any org); app provisioning is admin gated.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The requested `appSlug` is already taken — slugs are immutable routing keys and must be unique.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Provision a new application',\n request: {\n appDisplayName: 'Wonder Todos',\n appSlug: 'wonder-todos',\n },\n response: {\n appDisplayName: 'Wonder Todos',\n appSlug: 'wonder-todos',\n lastVersion: null,\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Change display name or mutable metadata; slug remains immutable in normal flows.',\n outcome: 'Updated copy and routing for dependent services.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The mutable application fields were updated and the new state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited fields fail schema validation (e.g. attempting to mutate the immutable slug).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin (or platform super-admin) for this application; edits are admin gated.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No application exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Remove an application record and cascade per registry (high risk).',\n outcome: 'Tombstone/soft delete varies by product policy.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The application (and its composed children) were removed per the registry cascade; the body carries its `id`.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin (or platform super-admin) for this application; this is a critical-risk admin-gated operation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'Both variants declare `requiresStepUpAuthentication`, and the request carried no valid single-use re-authentication token. Obtain one from the re-authentication route and retry with it — an application is a top-level scope, so its deletion destroys everything scoped beneath it and a live session alone is deliberately not sufficient.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No application exists for the supplied id (or it was already deleted).' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Product policy blocks the delete because the application has dependents that cannot be cascaded automatically (e.g. it is still active or has bound infrastructure).' },\n ],\n idempotent: true,\n },\n },\n businessConstraints: [\n '`APPLICATION` is the self-anchor for `APPLICATION` primary scope; align the declared `resourcePrimaryScope` with the registry for companion prompts.',\n 'Cross-organization application transfer is intentionally NOT a framework capability. A `TRANSFER` operation was declared here in two variants and removed on 2026-08-01: it was routed but wrote nothing, and the move it named is incoherent in this model. `APPLICATION` is the self-anchored top-level scope — the application IS the tenant container and organizations are a sibling scope inside its tenancy — so there is no owning-organization field to re-point and no `ORGANIZATIONS → APPLICATION` relationship in the registry. This mirrors the framework’s refusal of cross-organization MEMBER transfer as a tenant-boundary crossing it does not sanction.',\n 'Application status lifecycle is intentionally NOT a framework capability. `ACTIVATE` and `SUSPEND` were declared here as super-admin verbs (each with a generated bulk variant) and removed on 2026-08-01: they were routed but wrote nothing, because this resource carries no lifecycle state to write. `APPLICATION` is an identity row (`appSlug`, `appDisplayName`, `lastVersion`, `platformAppId`, plus two backend-only fields about which organization operates the application: `ownerOrganizationId`, the recorded owner that the owner resolver reads, and `ownerOrganizationSerializationToken`, the row a promotion serializes on); an application’s real operational state lives one tier up, at `PLATFORM_APPLICATIONS` / `Wildo_Application_Config`, managed by the platform apps-manager. Halting an application is a platform-tier action, not a field flip on the application’s own registry entry — and by ground 3 above, the suspending super-admin’s session lives inside the container being suspended. Re-declaring these verbs requires the per-organization application-ownership model first, not an `ApplicationStatus` field bolted on to satisfy two buttons.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n ),\n () => ({\n views: {\n [Op.READ]: {\n variants: {\n default: {\n purpose: 'Read-only \"about this app\" shell entry for end users in merged main preset.',\n whenToUse: 'In-app about drawer when org members cannot manage versions directly.',\n },\n admin: {\n purpose: 'App-admin and platform read for full fields and child relationships.',\n whenToUse: 'Admin area host surfaces (`application` preset wires metadata/versions as tabs in admin).',\n },\n },\n },\n [Op.LIST]: { purpose: 'Directory listing in admin and platform UIs (admin variants only in merged map).', whenToUse: 'Multi-app org view and support consoles.' },\n [Op.SEARCH]: { purpose: 'Search in admin and platform UIs for application discovery.', whenToUse: 'When many apps exist in one org or in global catalog.' },\n [Op.CREATE]: { purpose: 'App creation in admin and platform (merged preset adds `admin` variant addressability).', whenToUse: 'Onboarding a new app id under customer contract.' },\n [Op.UPDATE]: { purpose: 'Administrator edits the mutable fields on the `APPLICATION` row.', whenToUse: 'Rebranding, slug freeze exceptions, and support edits.' },\n [Op.DELETE]: { purpose: 'Destructive removal when policy allows a hard delete in admin flows.', whenToUse: 'Pilots, migrations, and contract exits.' },\n },\n }),\n);\n"]}
@@ -40,17 +40,25 @@ import { ApplicationAccessGrants_Operations, CoreResourceOperation as Op, Platfo
40
40
  export declare const applicationAccessGrantsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof ApplicationAccessGrants_Operations, Op.READ | Op.UPDATE_MANY | Op.LIST | Op.COUNT, import("zod").ZodObject<{
41
41
  _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
42
42
  applicationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>;
43
- operatorUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>>>;
43
+ operatorUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>>>>;
44
44
  justification: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
45
45
  status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof PlatformAccessGrantStatus>>>>>>>>;
46
46
  expiresAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>>>;
47
- approvedByUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>>;
47
+ approvedByUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>>>>;
48
48
  approvedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
49
+ decidedByUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>>>>;
50
+ decidedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
51
+ operatorName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>;
52
+ approvedByName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>;
53
+ decidedByName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>;
49
54
  grantedMachineCredential: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodObject<{
50
- authMethod: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
55
+ authMethod: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>>;
51
56
  credentialId: import("zod").ZodString;
52
57
  }, import("zod/v4/core").$strip>>>>;
53
- decisionReason: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>;
58
+ purpose: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ApplicationAccessGrantPurpose>>>>>>;
59
+ targetOrganizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>;
60
+ targetOrganizationName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>;
61
+ decisionReason: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>;
54
62
  createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
55
63
  updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
56
64
  }, import("zod/v4/core").$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"application-access-grants.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/application-access-grants.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAUH,OAAO,EAEL,kCAAkC,EAClC,qBAAqB,IAAI,EAAE,EAC3B,yBAAyB,EAG1B,MAAM,uBAAuB,CAAC;AAqC/B;;;;;GAKG;AACH,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;iCAqWxD,CAAC"}
1
+ {"version":3,"file":"application-access-grants.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/application-access-grants.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAUH,OAAO,EAEL,kCAAkC,EAClC,qBAAqB,IAAI,EAAE,EAC3B,yBAAyB,EAG1B,MAAM,uBAAuB,CAAC;AAuC/B;;;;;GAKG;AACH,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;iCAuYxD,CAAC"}
@@ -57,6 +57,8 @@ const applicationAccessActiveGrantExample = {
57
57
  status: PlatformAccessGrantStatus.ACTIVE,
58
58
  approvedByUserId: APPLICATION_ACCESS_SECOND_ADMIN_USER_ID,
59
59
  approvedAt: '2026-09-09T13:04:00.000Z',
60
+ decidedByUserId: APPLICATION_ACCESS_SECOND_ADMIN_USER_ID,
61
+ decidedAt: '2026-09-09T13:04:00.000Z',
60
62
  updatedAt: '2026-09-09T13:04:00.000Z',
61
63
  };
62
64
  const applicationAccessGrantsUIBehavior = applicationAccessGrantsUIBehaviorSource;
@@ -67,7 +69,7 @@ const applicationAccessGrantsUIBehavior = applicationAccessGrantsUIBehaviorSourc
67
69
  * visible. The narration below describes the review queue an administrator now actually reaches.
68
70
  */
69
71
  export const applicationAccessGrantsResourceSpecification = resourceSpecificationFromFrontendConfiguration(resourceFrontendConfiguration(applicationAccessGrantsUIBehavior), resourceSpecification(applicationAccessGrantsResourceConfiguration_InitializationFactory, ApplicationAccessGrantSchema, ({ schemaShape }) => ({
70
- purpose: 'Give a platform support team a justified, short-lived, second-signed way to perform application-wide reads that require elevation: the user directory and other enrolled surfaces, plus the audit viewer when its independent-approval policy is enabled.',
72
+ purpose: 'Give a platform support team a justified, short-lived, second-signed way to perform application-wide reads that require elevation (the user directory and other enrolled surfaces, plus the audit viewer when its independent-approval policy is enabled), or, under its own purpose, a window in which the doors declared to overrule an organization may act on one named organization, such as releasing a vendor account it holds.',
71
73
  businessRole: 'The deployment\'s application-wide access ledger. It answers who asked to see across every tenant, why, which SECOND administrator agreed, how long the window lasted, and how it ended.',
72
74
  lifecycleRole: 'A platform administrator requests, stating a reason. The request is never usable on creation. A DIFFERENT platform administrator approves or denies it; the requester may withdraw or refuse their own request but can never approve it. Either can revoke an active window early, and expiry ends it automatically. Completed requests remain available as access-review history.',
73
75
  audience: LabelAudience.ADMIN,
@@ -163,13 +165,46 @@ export const applicationAccessGrantsResourceSpecification = resourceSpecificatio
163
165
  meaning: 'When the second administrator approved the elevation. Absent while it is pending and on a denied request.',
164
166
  temporalRole: 'occurred',
165
167
  }),
168
+ decidedByUserId: schemaShape.decidedByUserId.foreignKeySpec({
169
+ meaning: 'The administrator who made the last decision on the grant: approved, denied or revoked it.',
170
+ whyItMatters: 'Answers who refused a request or ended a window early, which the approver field cannot, and keeps the last decision\'s reason attached to the person who gave it. Written by `approve`, `deny` and `revoke`; expiry is not a decision and leaves it alone.',
171
+ }),
172
+ operatorName: schemaShape.operatorName.stringSpec({ meaning: 'The operator who requested the elevation, by name: `operatorUserId`\'s label fallback. Resolved at read time from the person\'s profile, else their account\'s email (`forwardedUserName`, opted in for the operator only); never stored, so the row keeps only the id (#1852).', whyItMatters: 'A tenant administrator approving an operator usually may not read the operator\'s account, so the reference alone could not say who is asking. Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),
173
+ approvedByName: schemaShape.approvedByName.stringSpec({ meaning: 'The administrator who approved, by name: `approvedByUserId`\'s label fallback. Resolved at read time from the person\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored, so the row keeps only the id (#1852).', whyItMatters: 'Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),
174
+ decidedByName: schemaShape.decidedByName.stringSpec({ meaning: 'The administrator who made the last decision, by name: `decidedByUserId`\'s label fallback. Resolved at read time from the person\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored, so the row keeps only the id (#1852).', whyItMatters: 'Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),
175
+ decidedAt: schemaShape.decidedAt.dateSpec({
176
+ meaning: 'When the last decision was made.',
177
+ whyItMatters: 'Places a refusal or an early revocation in time against the access it ended.',
178
+ temporalRole: 'occurred',
179
+ }),
180
+ purpose: schemaShape.purpose.enumSpec({
181
+ meaning: 'What the elevation admits, and so what the second administrator signs for: tenant-spanning reads, or a window onto the doors declared to overrule an organization, on the organization in `targetOrganizationId`.',
182
+ whyItMatters: 'The two acts are not one act. A read changes nothing and names no tenant; an overrule changes one organization\'s rows against its will. A window approved for one never admits the other, so an approver who signed for reading the directory has not signed for releasing a tenant\'s vendor account. Set at request time and never updated. A request that states none asks for reads.',
183
+ importance: FieldSemanticImportance.PRIMARY,
184
+ enumDeclaration: {
185
+ packageName: '@wildo-ai/saas-models',
186
+ exportName: 'ApplicationAccessGrantPurpose',
187
+ symbolKind: CodeSymbolKind.ENUM,
188
+ declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
189
+ },
190
+ }),
191
+ targetOrganizationId: schemaShape.targetOrganizationId.stringSpec({
192
+ meaning: 'The one organization a `tenant_overrule` elevation may act on. Absent on every other purpose.',
193
+ whyItMatters: 'Names the tenant the second administrator agreed to overrule, so the window cannot be spent on another. Re-read at request time (an organization that does not exist is refused) and compared with the organization of the row the act would change.',
194
+ importance: FieldSemanticImportance.PRIMARY,
195
+ }),
196
+ targetOrganizationName: schemaShape.targetOrganizationName.stringSpec({
197
+ meaning: 'What the target organization was called when the overrule was requested. Absent on every other purpose.',
198
+ whyItMatters: 'What the approver reads to know whom they are signing against. A snapshot, not a lookup: the approver holds no grant into that tenant, so resolving the id would be a crossing of its own. Written from the organization the request re-read; the id stays the authority the admission compares.',
199
+ semanticRole: 'label',
200
+ }),
166
201
  grantedMachineCredential: schemaShape.grantedMachineCredential.objectSpec({
167
202
  meaning: 'The one machine credential of this application — an API key or an OAuth client — the elevation is for, when it is for a machine rather than the requester.',
168
- whyItMatters: 'Under independent audit-read approval a machine could otherwise never read, since a grant was keyed on a user and a machine has none — so an assurance collector, the reader that policy most wants governed, was shut out. When set, the grant admits exactly that credential and NEVER the administrator who requested it: naming a machine must not be a way to mint oneself a window. Validated against the live credential at request time and never updated, because re-pointing a signed grant at another credential would be a grant nobody signed. Like any application-wide grant it satisfies EVERY read that requires one — not only the audit viewer — so what the credential can actually read is still bounded by the roles it holds: give it the read-only audit-evidence reader role, which reaches the audit viewer and nothing else.',
203
+ whyItMatters: 'Under independent audit-read approval a machine could otherwise never read, since a grant was keyed on a user and a machine has none — so an assurance collector, the reader that policy most wants governed, was shut out. When set, the grant admits exactly that credential and NEVER the administrator who requested it: naming a machine must not be a way to mint oneself a window. Validated against the live credential at request time and never updated, because re-pointing a signed grant at another credential would be a grant nobody signed. Like any read grant it satisfies EVERY read that requires one — not only the audit viewer — so what the credential can actually read is still bounded by the roles it holds: give it the read-only audit-evidence reader role, which reaches the audit viewer and nothing else. A machine is never granted an overrule: that is a person\'s decision.',
169
204
  importance: FieldSemanticImportance.CONTEXTUAL,
170
205
  }),
171
206
  decisionReason: schemaShape.decisionReason.stringSpec({
172
- meaning: 'The approver\'s reason for refusing, or the revoker\'s reason for withdrawing.',
207
+ meaning: 'The reason given with the LAST decision — an approval, a refusal or a revocation — belonging to `decidedByUserId`. A decision given without one clears it.',
173
208
  whyItMatters: 'What a later reader needs to tell a refusal that was considered from one that was reflexive. Scrubbed on subject erasure, like the justification, because it is free text one administrator wrote about another\'s request.',
174
209
  importance: FieldSemanticImportance.CONTEXTUAL,
175
210
  }),
@@ -229,9 +264,9 @@ export const applicationAccessGrantsResourceSpecification = resourceSpecificatio
229
264
  },
230
265
  [ApplicationAccessGrants_Operations.REQUEST_ACCESS]: {
231
266
  operationId: ApplicationAccessGrants_Operations.REQUEST_ACCESS,
232
- purpose: 'Ask for a short, justified window in which the tenant-spanning reads become available.',
267
+ purpose: 'Ask for a short, justified window in which the tenant-spanning reads become available, or in which the doors declared to overrule an organization may act on one named organization.',
233
268
  outcome: 'A request in `pending_approval`, usable by nobody until a DIFFERENT platform administrator approves it. The window is recorded at creation and starts running then, so a request nobody signs simply lapses.',
234
- whenToUse: 'An operator needs an elevation-gated read that names no single tenant: the user directory, or the audit viewer with independent approval enabled, for a support case or incident spanning customers.',
269
+ whenToUse: 'An operator needs an elevation-gated read that names no single tenant (the user directory, or the audit viewer with independent approval enabled, for a support case or incident spanning customers), or must overrule one organization through a door that declares it, such as releasing a vendor account the organization holds (`purpose: tenant_overrule`, `targetOrganizationId`).',
235
270
  importance: FieldSemanticImportance.PRIMARY,
236
271
  responseStatuses: [
237
272
  { code: HttpResponseStatusCode.CREATED_201, meaning: 'The elevation request was recorded and awaits a second administrator.' },
@@ -239,6 +274,7 @@ export const applicationAccessGrantsResourceSpecification = resourceSpecificatio
239
274
  errorScenarios: [
240
275
  { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The justification is missing or empty. It is required because it is the only thing the approver has to decide on.' },
241
276
  { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`grantedMachineCredential` names no active, unexpired API key or OAuth client of this application. The refusal does not say which condition failed.' },
277
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The purpose and the target do not fit: a `tenant_overrule` that names no organization, names one that does not exist, or binds a machine credential; or a read that names an organization.' },
242
278
  { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform super-administrator.' },
243
279
  ],
244
280
  idempotent: false,
@@ -255,8 +291,8 @@ export const applicationAccessGrantsResourceSpecification = resourceSpecificatio
255
291
  [ApplicationAccessGrants_Operations.APPROVE]: {
256
292
  operationId: ApplicationAccessGrants_Operations.APPROVE,
257
293
  purpose: 'Sign another administrator\'s request — the second signature.',
258
- outcome: 'The request becomes `active` and names the approver. Until the window closes the tenant-spanning reads become available to exactly one principal: the REQUESTER — or, for a grant bound to a machine credential, that credential and not the requester.',
259
- whenToUse: 'A platform administrator has read the requester\'s justification and agrees the application-wide reach is warranted.',
294
+ outcome: 'The request becomes `active` and names the approver. Until the window closes what its purpose names becomes available to exactly one principal: the tenant-spanning reads, or the one overrule of the named organization, to the REQUESTER — or, for a read grant bound to a machine credential, to that credential and not the requester.',
295
+ whenToUse: 'A platform administrator has read the requester\'s justification and purpose (and, for an overrule, the organization it names) and agrees that act is warranted.',
260
296
  importance: FieldSemanticImportance.PRIMARY,
261
297
  responseStatuses: [
262
298
  { code: HttpResponseStatusCode.OK_200, meaning: 'The elevation is now active, and its updated state — including the approver — is returned.' },
@@ -362,7 +398,7 @@ export const applicationAccessGrantsResourceSpecification = resourceSpecificatio
362
398
  businessConstraints: [
363
399
  'THE control: `approve` refuses when the approver is the requester. Enforced TWICE, and neither half alone is the control — the operation\'s `enabledCondition` makes the affordance disappear so no console renders an Approve button on one\'s own request, and the custom implementation makes the transition impossible so a future variant authored without that condition cannot transition silently. The comparison itself lives in ONE exported predicate, which fails CLOSED when either identity is missing: an approval reaching the check with no decider has no second person behind it, and the naive inline form would admit exactly that case.',
364
400
  'Customer approval is the industry ceiling and is structurally unavailable here — there is no single customer to ask — so a second signature is the strongest control that exists for this act. That is why AUTO-APPROVAL was rejected even though it is the tenant grant\'s own default posture: that default is defensible only because a tenant can opt in above it, and there is no such party here.',
365
- 'Application-wide directory and declared cross-tenant reads retain their elevation gate. The application audit viewer is the explicit policy exception: auditTrail.applicationReadAccess defaults to AuditApplicationReadAccess.ROLE_BASED in all environments, while INDEPENDENT_APPROVAL requires this grant. Both modes keep administrator-role checks and crossing observations; role-based evidence carries no fabricated grant id. Grant requests themselves are never auto-approved.',
401
+ 'Application-wide directory and declared cross-tenant reads retain their elevation gate. The application audit viewer and the assurance evidence doors are the explicit policy exception: auditTrail.applicationReadAccess, when undeclared, follows the application\'s shape in all environments (#2618): AuditApplicationReadAccess.INDEPENDENT_APPROVAL, which requires this grant, where the parties of some relationship kind are independent of the operator, and ROLE_BASED otherwise. Both modes keep administrator-role checks and crossing observations; role-based evidence carries no fabricated grant id. Grant requests themselves are never auto-approved.',
366
402
  'The per-row tenant crossing is deliberately NOT gated on this grant. That door already works, approved by the customer it names; requiring an application-wide elevation there too would replace a customer-approvable control with a platform-internal one, which is a step DOWN the operator-access ladder.',
367
403
  'Both grant resources are EXEMPT from the admission wholesale — this one and `platformAccessGrants`. An operator would otherwise need an application-wide grant in order to ask for one, and the second administrator would need one in order to read the queue and sign. The exemption is safe for the reason the tenant resource\'s own bootstrap exemption is safe: these rows are the elevation ledger, they belong to no tenant, and reading them discloses no customer\'s data.',
368
404
  'Usability is EVALUATED, never read off `status`. A grant counts only when it is ACTIVE and `expiresAt` is still in the future, through the single predicate both grant resources share. The expiry sweep\'s relabelling is bookkeeping for humans; if admission read the label, a lagging sweep would be an authorization hole rather than a stale display.',
@@ -371,7 +407,7 @@ export const applicationAccessGrantsResourceSpecification = resourceSpecificatio
371
407
  ],
372
408
  }), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION }), () => ({
373
409
  label: {
374
- purpose: 'The instant the request was made, in the viewer\'s date-time format. The record carries the requesting operator only as a user id, and a synchronous label cannot resolve a name, so the operator is shown — resolved to the person — as the first row of the body and on the card instead.',
410
+ purpose: 'The request\'s justification, the one thing the approving administrator decides on. It is a summary field, so the list card carries it; the request instant is not, and naming a card by it showed the raw id on every card (#2329). A row whose justification was masked on erasure is named by the instant it was made, then by its id. The record carries the requesting operator only as a user id, and a synchronous label cannot resolve a name, so the operator is shown — resolved to the person — as the first row of the body and on the card instead.',
375
411
  },
376
412
  layout: {
377
413
  purpose: 'Three sections that separate the two identities the control exists to keep apart: `request` (who asked and why), `decision` (who signed and why), `window` (how long, and which credential it admits). Folding decision into request would put requester and approver in one block, which is precisely the distinction `applicationAccessGrantApproverIsDistinct` enforces.',
@@ -386,7 +422,7 @@ export const applicationAccessGrantsResourceSpecification = resourceSpecificatio
386
422
  },
387
423
  },
388
424
  decision: {
389
- purpose: 'The second administrator, when they signed, and the reason they recorded.',
425
+ purpose: 'The second administrator and when they signed, the administrator who made the LAST decision (approved, denied or revoked) and when, and that decision\u2019s reason. A denial or a revocation is read against its own decider, never against the approver.',
390
426
  whenToUse: 'Auditing whether an elevation was independently approved, and on what grounds.',
391
427
  textSlots: {
392
428
  title: { purpose: 'Label the signature block.' },