@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":"organization-units.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organization-units.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,IAAI,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AAC5H,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,2BAA2B,EAC3B,aAAa,EACb,SAAS,EACT,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,2BAA2B,EAC3B,0CAA0C,EAC1C,oBAAoB,EACpB,2DAA2D,IAAI,wBAAwB,GACxF,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,mCAAmC,GAAG,iCAAiF,CAAC;AAE9H,MAAM,yBAAyB,GAAG;IAChC,GAAG,EAAE,8BAA8B;IACnC,cAAc,EAAE,2BAA2B;IAC3C,YAAY,EAAE,yBAAyB;IACvC,MAAM,EAAE,sBAAsB,CAAC,MAAM;IACrC,eAAe,EAAE,0CAA0C,CAAC,YAAY;IACxE,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,oBAAoB,CAAC,UAAU;IACrC,SAAS,EAAE,0BAA0B;IACrC,SAAS,EAAE,0BAA0B;IACrC,QAAQ,EAAE,CAAC;CACH,CAAC;AAEX,MAAM,iCAAiC,GAAG;IACxC,GAAG,EAAE,yBAAyB,CAAC,GAAG;IAClC,cAAc,EAAE,yBAAyB,CAAC,cAAc;IACxD,MA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,OAAO,EAAE,qDAAqD,EAAE,SAAS,EAAE,kCAAkC,EAAE;KACzJ;CACF,CAAC,CACH,CAAC","sourcesContent":["import { organizationUnitsMainResourceUIBehavior as organizationUnitsUIBehaviorSource } 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 CoreResourceOperation as Op,\n ErrorCustomMessageReference,\n ErrorSeverity,\n ErrorType,\n ExternalIdentitySource,\n OrganizationUnitSchema,\n OrganizationUnitStatus,\n OrganizationUnitType,\n OrganizationUnit_Operations,\n OrganizationUnit_PermissionInheritanceType,\n ResourcePrimaryScope,\n organizationUnitResourceConfiguration_InitializationFactory as organizationUnitsFactory,\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 organizationUnitsFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst organizationUnitsResourceUIBehavior = organizationUnitsUIBehaviorSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst ORGANIZATION_UNIT_EXAMPLE = {\n _id: 'organization_unit_emea_sales',\n organizationId: 'organization_01HX2EXAMPLE',\n parentUnitId: 'organization_unit_sales',\n status: OrganizationUnitStatus.ACTIVE,\n inheritanceType: OrganizationUnit_PermissionInheritanceType.INHERIT_DOWN,\n path: '/organization_unit_sales/',\n name: 'EMEA Sales',\n code: 'emea-sales',\n type: OrganizationUnitType.DEPARTMENT,\n createdAt: '2026-07-03T09:15:00.000Z',\n updatedAt: '2026-08-18T08:00:00.000Z',\n _version: 3,\n} as const;\n\nconst ORGANIZATION_UNIT_SUMMARY_EXAMPLE = {\n _id: ORGANIZATION_UNIT_EXAMPLE._id,\n organizationId: ORGANIZATION_UNIT_EXAMPLE.organizationId,\n status: ORGANIZATION_UNIT_EXAMPLE.status,\n name: ORGANIZATION_UNIT_EXAMPLE.name,\n type: ORGANIZATION_UNIT_EXAMPLE.type,\n _version: ORGANIZATION_UNIT_EXAMPLE._version,\n} as const;\n\nfunction organizationUnitsPage<T>(data: readonly T[]) {\n return {\n data,\n pagination: { page: 1, limit: 20, total: data.length, totalPages: data.length === 0 ? 0 : 1 },\n };\n}\n\nconst ORGANIZATION_UNITS_PAGE_REQUEST = { page: 1, limit: 20, sort: 'createdAt:desc' } as const;\n\nexport const organizationUnitsResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(organizationUnitsResourceUIBehavior),\n resourceSpecification(\n organizationUnitsFactory,\n OrganizationUnitSchema,\n ({ schemaShape }) => ({\n purpose: 'Represents a department, team, region, project group, or other node in an organization’s hierarchy.',\n businessRole: 'Organization units support org charts, unit-scoped membership, and downward permission inheritance in larger organizations.',\n lifecycleRole: 'Units can be created, renamed, moved, archived, restored, and deleted when they no longer have child units or member assignments.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.ORGANIZATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationUnitSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationUnitResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORGANIZATION_UNITS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationUnit_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationUnitsMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n parentUnitId: schemaShape.parentUnitId.foreignKeySpec({\n meaning: 'The parent org-unit this node hangs under (absent/root when the unit is a top-level node directly beneath the organization).',\n whyItMatters: 'Defines the tree edge that drives org-chart rendering, path materialization, and downward-only permission inheritance through the hierarchy.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n name: schemaShape.name.stringSpec({ meaning: 'Unit display name.', importance: FieldSemanticImportance.PRIMARY }),\n code: schemaShape.code.stringSpec({ meaning: 'Short stable code for APIs and HR imports. Optional, and unique among the siblings that carry one — the resource business key is (`organizationId`, `parentUnitId`, `code`).' }),\n type: schemaShape.type.enumSpec({\n meaning: 'Structural classification of the node in the org hierarchy (department, region, team, …).',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationUnitType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationUnitType.COMPANY]: { meaning: 'Top-level company entity within the tenant.' },\n [OrganizationUnitType.DIVISION]: { meaning: 'A division grouping multiple departments.' },\n [OrganizationUnitType.DEPARTMENT]: { meaning: 'A department within a division or company.' },\n [OrganizationUnitType.TEAM]: { meaning: 'A team within a department.' },\n [OrganizationUnitType.SUBTEAM]: { meaning: 'A sub-team nested under a team.' },\n [OrganizationUnitType.PROJECT_GROUP]: { meaning: 'A cross-cutting project or working group.' },\n [OrganizationUnitType.GEOGRAPHIC]: { meaning: 'A geography/region-based grouping.' },\n [OrganizationUnitType.FUNCTIONAL]: { meaning: 'A function-based grouping (e.g. a shared discipline).' },\n [OrganizationUnitType.CUSTOM]: { meaning: 'A tenant-defined unit kind that does not fit the named categories.' },\n },\n }),\n inheritanceType: schemaShape.inheritanceType.enumSpec({\n meaning: 'Controls whether a unit-scoped role also applies to descendant units. Permission inheritance is downward-only; a role on a child never grants authority over its parent or ancestors.',\n whyItMatters: 'With `inherit_down`, one assignment can cover an entire branch. With `no_inheritance`, the assignment applies only to this exact unit.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationUnit_PermissionInheritanceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationUnit_PermissionInheritanceType.INHERIT_DOWN]: { meaning: 'A role held at this unit also applies to its descendant units.' },\n [OrganizationUnit_PermissionInheritanceType.NO_INHERITANCE]: { meaning: 'No propagation; the node is isolated for permission purposes.' },\n },\n }),\n path: schemaShape.path.stringSpec({\n meaning: 'Server-maintained ancestor path for this node, excluding the node itself (for example `/division-id/department-id/`).',\n whyItMatters: 'Lets clients identify the node’s hierarchy and lets authorization apply inherited unit access across a branch. Change parents through MOVE; clients do not write this field directly.',\n }),\n externalSource: schemaShape.externalSource.enumSpec({\n meaning: 'The external system that asserts this unit. Present only on a unit an identity directory created; absent on every unit authored in the application.',\n whyItMatters: 'This is the OWNERSHIP marker for directory-managed units. `POST /scim/v2/Groups` sets it and nothing else writes it, and the SCIM Groups endpoints read, update and delete ONLY units that carry it — a unit an administrator created answers 404 there. That is what stops a directory adopting a hand-authored unit by matching its display name, which would hand an administrator’s unit membership to the directory. It also tells the SCIM `/Users` department reconciliation, which is authoritative over a member’s whole set of units, which assignments belong to the Groups path and must be left alone.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ExternalIdentitySource',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [ExternalIdentitySource.SCIM]: { meaning: 'A SCIM directory group: the unit was created by `POST /scim/v2/Groups` and its membership is reconciled by that directory.' },\n [ExternalIdentitySource.OIDC]: { meaning: 'Not written for organization units today; reserved by the shared identity-source vocabulary.' },\n [ExternalIdentitySource.OAUTH2]: { meaning: 'Not written for organization units today; reserved by the shared identity-source vocabulary.' },\n [ExternalIdentitySource.SAML]: { meaning: 'Not written for organization units today; reserved by the shared identity-source vocabulary.' },\n },\n }),\n externalId: schemaShape.externalId.stringSpec({\n meaning: 'The directory’s OWN identifier for the group this unit represents — the SCIM `externalId`, which the provisioning client issues and this application stores. The SCIM `id` of the same group is the unit’s `_id`.',\n whyItMatters: 'Unique per organization and sparse: two organizations may hold the same directory group id, and the many units with no directory group are outside the constraint entirely. Set once when the directory creates the group and immutable afterwards, because re-keying it would move an authorization grant onto a different group. Microsoft Entra sends it on group creation; Okta does not send one at all, which is why unit ownership is carried by `externalSource` rather than by the presence of this field.',\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Lifecycle state of the node (archived, suspended, etc.).',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationUnitStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationUnitStatus.ACTIVE]: { meaning: 'Normal visibility in pickers and policy.' },\n [OrganizationUnitStatus.INACTIVE]: { meaning: 'Retained for history, hidden from most UIs.' },\n [OrganizationUnitStatus.ARCHIVED]: { meaning: 'Soft-closed; restore via RESTORE when applicable.' },\n [OrganizationUnitStatus.SUSPENDED]: { meaning: 'Policy-hold; treat as non-assignable for new work.' },\n },\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Retrieve one organization unit by its route identity.',\n outcome: 'The unit’s hierarchy, classification, lifecycle state, and inheritance policy are returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization unit was found and its node record (name, code, status, hierarchy links) is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the organization-member role required to read organization units.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization unit exists for the supplied id within the caller’s tenant scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect an active department',\n response: ORGANIZATION_UNIT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect a unit with its organization relationship',\n response: {\n ...ORGANIZATION_UNIT_EXAMPLE,\n organization: { _id: ORGANIZATION_UNIT_EXAMPLE.organizationId },\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact organization-unit summary',\n response: ORGANIZATION_UNIT_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Browse organization units under an organization or a specific parent unit.',\n outcome: 'A page of organization-unit nodes and pagination metadata is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of units under the addressed org or parent node.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the organization-member role required to list organization units.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse recent organization units',\n request: ORGANIZATION_UNITS_PAGE_REQUEST,\n response: organizationUnitsPage([ORGANIZATION_UNIT_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse units with organization relationship context',\n request: ORGANIZATION_UNITS_PAGE_REQUEST,\n response: organizationUnitsPage([{\n ...ORGANIZATION_UNIT_EXAMPLE,\n organization: { _id: ORGANIZATION_UNIT_EXAMPLE.organizationId },\n }]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact organization-unit summaries',\n request: ORGANIZATION_UNITS_PAGE_REQUEST,\n response: organizationUnitsPage([ORGANIZATION_UNIT_SUMMARY_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Search organization units by name or description and narrow the result with supported filters.',\n outcome: 'A page of matching units in the addressed organization or parent branch is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of units matching the name or description query within the tenant.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the organization-member role required to search organization units.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Find sales units by name and parent',\n request: {\n q: 'sales',\n name: 'EMEA Sales',\n parentUnitId: ORGANIZATION_UNIT_EXAMPLE.parentUnitId,\n page: 1,\n limit: 20,\n sort: 'name:asc',\n },\n response: organizationUnitsPage([ORGANIZATION_UNIT_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Create a root organization unit or add a child under an existing parent unit.',\n outcome: 'The new unit is returned with its server-assigned identifier and hierarchy path, ready for unit-scoped membership and access policies.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new unit node was created under the supplied parent and is returned with its server-assigned id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The unit payload fails schema validation (e.g. missing `name`).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin / HR-structure role required to add nodes to the org tree.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The referenced parent unit does not exist within the caller’s organization.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A sibling unit under the same parent already uses the requested `code`; unit codes must be unique within a parent.', customMessageReference: ErrorCustomMessageReference.ORGANIZATION_UNIT_CODE_EXISTS },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Create a unit under a parent node',\n request: {\n name: 'EMEA Sales',\n code: 'emea-sales',\n parentUnitId: ORGANIZATION_UNIT_EXAMPLE.parentUnitId,\n type: OrganizationUnitType.DEPARTMENT,\n inheritanceType: OrganizationUnit_PermissionInheritanceType.INHERIT_DOWN,\n status: OrganizationUnitStatus.ACTIVE,\n },\n response: ORGANIZATION_UNIT_EXAMPLE,\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Update a unit’s name, code, type, lifecycle state, or permission-inheritance policy. Use MOVE to change its parent.',\n outcome: 'The updated unit is returned. Changes to inheritance affect subsequent unit-scoped authorization decisions.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The unit was updated and the new node state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited fields fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin / HR-structure role required to edit org tree nodes.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No unit exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The requested `code` is already used by a sibling under the same parent. Reparenting is not accepted by UPDATE; use MOVE.', customMessageReference: ErrorCustomMessageReference.ORGANIZATION_UNIT_CODE_EXISTS },\n ],\n idempotent: true,\n examples: [{\n title: 'Rename a unit and isolate its permissions',\n request: {\n name: 'EMEA Revenue',\n code: 'emea-revenue',\n inheritanceType: OrganizationUnit_PermissionInheritanceType.NO_INHERITANCE,\n },\n response: {\n ...ORGANIZATION_UNIT_EXAMPLE,\n name: 'EMEA Revenue',\n code: 'emea-revenue',\n inheritanceType: OrganizationUnit_PermissionInheritanceType.NO_INHERITANCE,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.DELETE]: {\n purpose: 'Remove an empty leaf node from the org tree; refused while the node still has child units or assigned members.',\n outcome: 'The unit row is deleted. A node with dependents is refused, so no subtree is stranded behind a dangling parent link and no member assignment outlives the unit it names.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The unit was deleted; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin role required to remove org tree nodes.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No unit exists for the supplied id (or it was already removed).' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The unit still has dependents, and neither is cascade-deleted with it. Either child units remain — re-parent each onto another node with MOVE, or delete the subtree bottom-up — or organization members are still assigned to this unit, in which case the assignments must be removed first. Only a node with no children and no assignments can be deleted. The error context names each blocking dependent (`blockingDependents`).', customMessageReference: ErrorCustomMessageReference.RESOURCE_HAS_DEPENDENTS },\n ],\n idempotent: true,\n examples: [{\n title: 'Refuse deletion while a child unit remains',\n response: {\n error: {\n type: ErrorType.CONFLICT,\n severity: ErrorSeverity.MEDIUM,\n message: 'Resource conflict detected',\n customMessage: 'Move or delete child units and remove member assignments before deleting this unit.',\n customMessageReference: ErrorCustomMessageReference.RESOURCE_HAS_DEPENDENTS,\n timestamp: '2026-08-18T08:00:00.000Z',\n },\n },\n forStatus: HttpResponseStatusCode.CONFLICT_409,\n }],\n },\n [OrganizationUnit_Operations.MOVE]: {\n operationId: OrganizationUnit_Operations.MOVE,\n purpose: 'Move a unit beneath a different parent, or to the organization root when `newParentUnitId` is omitted.',\n outcome: 'The unit keeps its identity and member assignments. Its ancestor path and every descendant path are updated to reflect the new location. The supplied reason is retained on the committed operation audit event.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The unit was re-parented and the updated node (with its new path) is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The optional destination-parent identifier or reason has an invalid type or length.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin / HR-structure role required to restructure the org tree.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The unit being moved, or the destination parent unit, does not exist in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The destination would create a cycle — the target parent sits inside the moved unit’s own subtree, or is the unit itself.', customMessageReference: ErrorCustomMessageReference.ORGANIZATION_UNIT_MOVE_CONFLICT },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A sibling under the new parent already uses the moved unit’s `code`. The destination itself is valid; rename the unit or choose another parent.', customMessageReference: ErrorCustomMessageReference.ORGANIZATION_UNIT_CODE_EXISTS },\n ],\n idempotent: false,\n examples: [{\n title: 'Move a department below a new division',\n request: {\n newParentUnitId: 'organization_unit_revenue',\n reason: 'Sales now reports through the global revenue division.',\n },\n response: {\n ...ORGANIZATION_UNIT_EXAMPLE,\n parentUnitId: 'organization_unit_revenue',\n path: '/organization_unit_revenue/',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrganizationUnit_Operations.ARCHIVE]: {\n operationId: OrganizationUnit_Operations.ARCHIVE,\n purpose: 'Archive one organization unit without deleting its history or changing descendant states.',\n outcome: 'The unit becomes ARCHIVED and is hidden from default active-unit pickers. Descendants retain their own states.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The unit transitioned to `ARCHIVED` and the updated node is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin role required to archive org tree nodes.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No unit exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The unit is already `ARCHIVED`, so archiving is not a legal transition from its current state.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Archive a department after a reorganization',\n request: { reason: 'The EMEA Sales department was consolidated into Global Revenue.' },\n response: { ...ORGANIZATION_UNIT_EXAMPLE, status: OrganizationUnitStatus.ARCHIVED },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrganizationUnit_Operations.RESTORE]: {\n operationId: OrganizationUnit_Operations.RESTORE,\n purpose: 'Restore an archived unit after its parent branch is active.',\n outcome: 'The unit becomes ACTIVE and is available again to active-unit pickers and policies. The committed operation is audited, including the optional reason, despite its MEDIUM risk level.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The unit transitioned back to `ACTIVE` and the restored node is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin role required to restore archived org tree nodes.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No unit exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The unit is not `ARCHIVED` (so there is nothing to restore), or its parent branch is still archived and must be restored first.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Restore an archived department',\n request: { reason: 'The department is active again for the new fiscal year.' },\n response: ORGANIZATION_UNIT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'Admin org presets do not add alternate variants for `ORGANIZATION_UNITS` — only main `organizations` presets apply.',\n 'Per-unit DELETE is refused while child units remain, but deleting the whole ORGANIZATION is not: that cascade is enabled and removes every unit of the tenant at once (each unit carries the tenant id, so tree depth is irrelevant). Tearing a tenant down does not require dismantling its org chart leaf-by-leaf.',\n // Scope note, recorded so the narrower guard is not later read as an oversight. An earlier\n // revision of this spec also named \"assigned members\" as a DELETE blocker; it was dropped\n // (2026-07-29) because it cannot be enforced honestly today, not because it stopped mattering.\n 'Unit assignments ARE checked on unit DELETE (since 2026-07-31). They live in the `ORGANIZATION_UNIT_MEMBERS` junction resource, promoted out of the members row precisely so this dependent could be guarded: as an embedded array it was not a registered relationship and not adapter-neutrally queryable (a nested-path filter resolves to null on the SQL adapter, and the list projection dropped the field), so either available check would have passed silently instead of blocking.',\n 'MOVE, ARCHIVE and RESTORE are implemented (2026-07-31). Their request payloads name no schema field, so each custom implementation translates the payload into the real field mutation: MOVE writes `parentUnitId` + `path` and rewrites the materialized `path` of every descendant in one transaction; ARCHIVE/RESTORE write `status`.',\n 'Re-parenting is owned exclusively by MOVE — `parentUnitId` is `.excludeFromUpdate()`. A reparent has a subtree-wide side effect (every descendant path must be rewritten) and must be refused when the destination sits inside the moved node’s own subtree; generic UPDATE performs neither check, so allowing it there would silently produce stale paths or a detached cycle.',\n '`path` is a materialized ANCESTOR chain (`/`, `/R/`, `/R/C/`) — the route TO the node, excluding the node itself. It is written by the CREATE prefix on the same write that inserts the row, because a CREATE custom implementation never receives the new row’s id and a second write would leave a window with no path at all. Descendants of a node are addressed by `path + _id + \"/\"`, which is also the O(1) cycle test MOVE relies on.',\n 'ARCHIVE is node-only: descendants keep their own status, which keeps ARCHIVE O(1) and makes restore order explicit. RESTORE pays for that by validating the ancestor chain, so a node cannot be restored underneath a still-archived parent.',\n 'MOVE, ARCHIVE and RESTORE retain the submitted reason in the committed RESOURCE_OPERATION_PERFORMED event; ARCHIVE requires one, while MOVE and RESTORE accept it optionally. The request reason is audit history, not a mutable organization-unit field.',\n 'Sibling `code` uniqueness is the schema business key (`organizationId`, `parentUnitId`, `code`) — sibling-scoped, so two teams called `sales` under different divisions are legitimate. Rows carrying NO `code` are outside the constraint entirely (any number of code-less siblings is fine), while roots ARE covered: an absent `parentUnitId` is a real position, so two roots may not share a code.',\n 'That business key is enforced at BOTH layers, and both raise `ORGANIZATION_UNIT_CODE_EXISTS`. On MongoDB a partial compound unique index closes the concurrency window. On a SQL adapter there is no index yet — the planner records uniqueness as intent and leaves enforcement migration-owned — so the application guard at CREATE, UPDATE (rename) and MOVE is retained as the cross-adapter backstop. That guard is a read-then-write and therefore still racy on its own; the index, not the guard, is what makes the constraint hold under concurrency. Treat schema-declared uniqueness as a MongoDB guarantee until the SQL migration lane closes the gap.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n layout: {\n purpose: 'The organization\\'s unit hierarchy (Settings → Organization units): departments, teams, regions and project groups.',\n headerPurpose: 'The READ identity line: the unit name, its `status` badge, and — for a unit a SCIM directory created — the `externalSource` badge, which is what tells an administrator that a rename made here will be reverted by the directory.',\n displayPurpose: 'READ is one flat list of rows and documents no section: `code`, `type`, `parentUnitId`, `inheritanceType` and `externalId`, each optional row hidden when empty. The materialized `path` is not shown — it is `parentUnitId` spelled as a chain of ids. Sub-units are composed below as this resource\\'s own tab.',\n summaryPurpose: 'A unit card: the name as the title, then `status`, `type` and the directory badge as bare values.',\n editPurpose: 'One flat, stacked form: `name` focused first, `code` and `type` sharing a row, then `status`, `parentUnitId` (CREATE only — re-parenting is MOVE) and `inheritanceType`.',\n },\n views: {\n [Op.READ]: { purpose: 'Detail drawer for a single unit in org settings.', whenToUse: 'Org structure admin and HR flows.' },\n [Op.LIST]: { purpose: 'Flat or nested listing under an org.', whenToUse: 'Unit pickers in assignment UI.' },\n [Op.SEARCH]: { purpose: 'Searchable listing when the factory marks search enabled.', whenToUse: 'Large orgs with many nodes.' },\n [Op.CREATE]: { purpose: 'Create under an org from structure settings.', whenToUse: 'HR or IT modeling new groups.' },\n [Op.UPDATE]: { purpose: 'Edit name, code, type, status, and inheritance policy inline.', whenToUse: 'Organization-directory corrections that do not change the parent.' },\n [Op.DELETE]: { purpose: 'Remove an empty leaf unit.', whenToUse: 'After its child units and member assignments have been removed or moved.' },\n [OrganizationUnit_Operations.MOVE]: { purpose: 'Drag/drop or form-driven reparenting.', whenToUse: 'Rebalancing regions or reporting lines.' },\n [OrganizationUnit_Operations.ARCHIVE]: { purpose: 'Soft-close one unit without changing descendants.', whenToUse: 'Mergers and seasonal structures.' },\n [OrganizationUnit_Operations.RESTORE]: { purpose: 'Bring an archived unit back under an active parent.', whenToUse: 'Mistakes or revived departments.' },\n },\n }),\n);\n"]}
1
+ {"version":3,"file":"organization-units.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organization-units.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,IAAI,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AAC5H,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,2BAA2B,EAC3B,aAAa,EACb,SAAS,EACT,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,2BAA2B,EAC3B,0CAA0C,EAC1C,oBAAoB,EACpB,2DAA2D,IAAI,wBAAwB,GACxF,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,mCAAmC,GAAG,iCAAiF,CAAC;AAE9H,MAAM,yBAAyB,GAAG;IAChC,GAAG,EAAE,8BAA8B;IACnC,cAAc,EAAE,2BAA2B;IAC3C,YAAY,EAAE,yBAAyB;IACvC,MAAM,EAAE,sBAAsB,CAAC,MAAM;IACrC,eAAe,EAAE,0CAA0C,CAAC,YAAY;IACxE,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,oBAAoB,CAAC,UAAU;IACrC,SAAS,EAAE,0BAA0B;IACrC,SAAS,EAAE,0BAA0B;IACrC,QAAQ,EAAE,CAAC;CACH,CAAC;AAEX,MAAM,iCAAiC,GAAG;IACxC,GAAG,EAAE,yBAAyB,CA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,EAAE;QACtJ,CAAC,2BAA2B,CAAC,OAAO,CAAC,EAAE,EAAE,OAAO,EAAE,qDAAqD,EAAE,SAAS,EAAE,kCAAkC,EAAE;KACzJ;CACF,CAAC,CACH,CAAC","sourcesContent":["import { organizationUnitsMainResourceUIBehavior as organizationUnitsUIBehaviorSource } 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 CoreResourceOperation as Op,\n ErrorCustomMessageReference,\n ErrorSeverity,\n ErrorType,\n ExternalIdentitySource,\n OrganizationUnitSchema,\n OrganizationUnitStatus,\n OrganizationUnitType,\n OrganizationUnit_Operations,\n OrganizationUnit_PermissionInheritanceType,\n ResourcePrimaryScope,\n organizationUnitResourceConfiguration_InitializationFactory as organizationUnitsFactory,\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 organizationUnitsFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst organizationUnitsResourceUIBehavior = organizationUnitsUIBehaviorSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst ORGANIZATION_UNIT_EXAMPLE = {\n _id: 'organization_unit_emea_sales',\n organizationId: 'organization_01HX2EXAMPLE',\n parentUnitId: 'organization_unit_sales',\n status: OrganizationUnitStatus.ACTIVE,\n inheritanceType: OrganizationUnit_PermissionInheritanceType.INHERIT_DOWN,\n path: '/organization_unit_sales/',\n name: 'EMEA Sales',\n code: 'emea-sales',\n type: OrganizationUnitType.DEPARTMENT,\n createdAt: '2026-07-03T09:15:00.000Z',\n updatedAt: '2026-08-18T08:00:00.000Z',\n _version: 3,\n} as const;\n\nconst ORGANIZATION_UNIT_SUMMARY_EXAMPLE = {\n _id: ORGANIZATION_UNIT_EXAMPLE._id,\n organizationId: ORGANIZATION_UNIT_EXAMPLE.organizationId,\n status: ORGANIZATION_UNIT_EXAMPLE.status,\n name: ORGANIZATION_UNIT_EXAMPLE.name,\n type: ORGANIZATION_UNIT_EXAMPLE.type,\n _version: ORGANIZATION_UNIT_EXAMPLE._version,\n} as const;\n\nfunction organizationUnitsPage<T>(data: readonly T[]) {\n return {\n data,\n pagination: { page: 1, limit: 20, total: data.length, totalPages: data.length === 0 ? 0 : 1 },\n };\n}\n\nconst ORGANIZATION_UNITS_PAGE_REQUEST = { page: 1, limit: 20, sort: 'createdAt:desc' } as const;\n\nexport const organizationUnitsResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(organizationUnitsResourceUIBehavior),\n resourceSpecification(\n organizationUnitsFactory,\n OrganizationUnitSchema,\n ({ schemaShape }) => ({\n purpose: 'Represents a department, team, region, project group, or other node in an organization’s hierarchy.',\n businessRole: 'Organization units support org charts, unit-scoped membership, and downward permission inheritance in larger organizations.',\n lifecycleRole: 'Units can be created, renamed, moved, archived, restored, and deleted when they no longer have child units or member assignments.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.ORGANIZATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationUnitSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationUnitResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORGANIZATION_UNITS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationUnit_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationUnitsMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n parentUnitId: schemaShape.parentUnitId.foreignKeySpec({\n meaning: 'The parent org-unit this node hangs under (absent/root when the unit is a top-level node directly beneath the organization).',\n whyItMatters: 'Defines the tree edge that drives org-chart rendering, path materialization, and downward-only permission inheritance through the hierarchy.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n name: schemaShape.name.stringSpec({ meaning: 'Unit display name.', importance: FieldSemanticImportance.PRIMARY }),\n code: schemaShape.code.stringSpec({ meaning: 'Short stable code for APIs and HR imports. Optional, and unique among the siblings that carry one — the resource business key is (`organizationId`, `parentUnitId`, `code`).' }),\n type: schemaShape.type.enumSpec({\n meaning: 'Structural classification of the node in the org hierarchy (department, region, team, …).',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationUnitType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationUnitType.COMPANY]: { meaning: 'Top-level company entity within the tenant.' },\n [OrganizationUnitType.DIVISION]: { meaning: 'A division grouping multiple departments.' },\n [OrganizationUnitType.DEPARTMENT]: { meaning: 'A department within a division or company.' },\n [OrganizationUnitType.TEAM]: { meaning: 'A team within a department.' },\n [OrganizationUnitType.SUBTEAM]: { meaning: 'A sub-team nested under a team.' },\n [OrganizationUnitType.PROJECT_GROUP]: { meaning: 'A cross-cutting project or working group.' },\n [OrganizationUnitType.GEOGRAPHIC]: { meaning: 'A geography/region-based grouping.' },\n [OrganizationUnitType.FUNCTIONAL]: { meaning: 'A function-based grouping (e.g. a shared discipline).' },\n [OrganizationUnitType.CUSTOM]: { meaning: 'A tenant-defined unit kind that does not fit the named categories.' },\n },\n }),\n inheritanceType: schemaShape.inheritanceType.enumSpec({\n meaning: 'Controls whether a unit-scoped role also applies to descendant units. Permission inheritance is downward-only; a role on a child never grants authority over its parent or ancestors.',\n whyItMatters: 'With `inherit_down`, one assignment can cover an entire branch. With `no_inheritance`, the assignment applies only to this exact unit.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationUnit_PermissionInheritanceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationUnit_PermissionInheritanceType.INHERIT_DOWN]: { meaning: 'A role held at this unit also applies to its descendant units.' },\n [OrganizationUnit_PermissionInheritanceType.NO_INHERITANCE]: { meaning: 'No propagation; the node is isolated for permission purposes.' },\n },\n }),\n path: schemaShape.path.stringSpec({\n meaning: 'Server-maintained ancestor path for this node, excluding the node itself (for example `/division-id/department-id/`).',\n whyItMatters: 'Lets clients identify the node’s hierarchy and lets authorization apply inherited unit access across a branch. Change parents through MOVE; clients do not write this field directly.',\n }),\n externalSource: schemaShape.externalSource.enumSpec({\n meaning: 'The external system that asserts this unit. Present only on a unit an identity directory created; absent on every unit authored in the application.',\n whyItMatters: 'This is the OWNERSHIP marker for directory-managed units. `POST /scim/v2/Groups` sets it and nothing else writes it, and the SCIM Groups endpoints read, update and delete ONLY units that carry it — a unit an administrator created answers 404 there. That is what stops a directory adopting a hand-authored unit by matching its display name, which would hand an administrator’s unit membership to the directory. It also tells the SCIM `/Users` department reconciliation, which is authoritative over a member’s whole set of units, which assignments belong to the Groups path and must be left alone.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ExternalIdentitySource',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [ExternalIdentitySource.SCIM]: { meaning: 'A SCIM directory group: the unit was created by `POST /scim/v2/Groups` and its membership is reconciled by that directory.' },\n [ExternalIdentitySource.OIDC]: { meaning: 'Not written for organization units today; reserved by the shared identity-source vocabulary.' },\n [ExternalIdentitySource.OAUTH2]: { meaning: 'Not written for organization units today; reserved by the shared identity-source vocabulary.' },\n [ExternalIdentitySource.SAML]: { meaning: 'Not written for organization units today; reserved by the shared identity-source vocabulary.' },\n },\n }),\n externalId: schemaShape.externalId.stringSpec({\n meaning: 'The directory’s OWN identifier for the group this unit represents — the SCIM `externalId`, which the provisioning client issues and this application stores. The SCIM `id` of the same group is the unit’s `_id`.',\n whyItMatters: 'Unique per organization and sparse: two organizations may hold the same directory group id, and the many units with no directory group are outside the constraint entirely. Set once when the directory creates the group and immutable afterwards, because re-keying it would move an authorization grant onto a different group. Microsoft Entra sends it on group creation; Okta does not send one at all, which is why unit ownership is carried by `externalSource` rather than by the presence of this field.',\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Lifecycle state of the node (archived, suspended, etc.).',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationUnitStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationUnitStatus.ACTIVE]: { meaning: 'Normal visibility in pickers and policy.' },\n [OrganizationUnitStatus.INACTIVE]: { meaning: 'Retained for history, hidden from most UIs.' },\n [OrganizationUnitStatus.ARCHIVED]: { meaning: 'Soft-closed; restore via RESTORE when applicable.' },\n [OrganizationUnitStatus.SUSPENDED]: { meaning: 'Policy-hold; treat as non-assignable for new work.' },\n },\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Retrieve one organization unit by its route identity.',\n outcome: 'The unit’s hierarchy, classification, lifecycle state, and inheritance policy are returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization unit was found and its node record (name, code, status, hierarchy links) is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the organization-member role required to read organization units.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization unit exists for the supplied id within the caller’s tenant scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect an active department',\n response: ORGANIZATION_UNIT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect a unit with its organization relationship',\n response: {\n ...ORGANIZATION_UNIT_EXAMPLE,\n organization: { _id: ORGANIZATION_UNIT_EXAMPLE.organizationId },\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact organization-unit summary',\n response: ORGANIZATION_UNIT_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Browse organization units under an organization or a specific parent unit.',\n outcome: 'A page of organization-unit nodes and pagination metadata is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of units under the addressed org or parent node.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the organization-member role required to list organization units.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse recent organization units',\n request: ORGANIZATION_UNITS_PAGE_REQUEST,\n response: organizationUnitsPage([ORGANIZATION_UNIT_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse units with organization relationship context',\n request: ORGANIZATION_UNITS_PAGE_REQUEST,\n response: organizationUnitsPage([{\n ...ORGANIZATION_UNIT_EXAMPLE,\n organization: { _id: ORGANIZATION_UNIT_EXAMPLE.organizationId },\n }]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact organization-unit summaries',\n request: ORGANIZATION_UNITS_PAGE_REQUEST,\n response: organizationUnitsPage([ORGANIZATION_UNIT_SUMMARY_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Search organization units by name or description and narrow the result with supported filters.',\n outcome: 'A page of matching units in the addressed organization or parent branch is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of units matching the name or description query within the tenant.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the organization-member role required to search organization units.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Find sales units by name and parent',\n request: {\n q: 'sales',\n name: 'EMEA Sales',\n parentUnitId: ORGANIZATION_UNIT_EXAMPLE.parentUnitId,\n page: 1,\n limit: 20,\n sort: 'name:asc',\n },\n response: organizationUnitsPage([ORGANIZATION_UNIT_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Create a root organization unit or add a child under an existing parent unit.',\n outcome: 'The new unit is returned with its server-assigned identifier and hierarchy path, ready for unit-scoped membership and access policies.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new unit node was created under the supplied parent and is returned with its server-assigned id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The unit payload fails schema validation (e.g. missing `name`).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin / HR-structure role required to add nodes to the org tree.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The referenced parent unit does not exist within the caller’s organization.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A sibling unit under the same parent already uses the requested `code`; unit codes must be unique within a parent.', customMessageReference: ErrorCustomMessageReference.ORGANIZATION_UNIT_CODE_EXISTS },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Create a unit under a parent node',\n request: {\n name: 'EMEA Sales',\n code: 'emea-sales',\n parentUnitId: ORGANIZATION_UNIT_EXAMPLE.parentUnitId,\n type: OrganizationUnitType.DEPARTMENT,\n inheritanceType: OrganizationUnit_PermissionInheritanceType.INHERIT_DOWN,\n status: OrganizationUnitStatus.ACTIVE,\n },\n response: ORGANIZATION_UNIT_EXAMPLE,\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Update a unit’s name, code, type, lifecycle state, or permission-inheritance policy. Use MOVE to change its parent.',\n outcome: 'The updated unit is returned. Changes to inheritance affect subsequent unit-scoped authorization decisions.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The unit was updated and the new node state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited fields fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin / HR-structure role required to edit org tree nodes.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No unit exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The requested `code` is already used by a sibling under the same parent. Reparenting is not accepted by UPDATE; use MOVE.', customMessageReference: ErrorCustomMessageReference.ORGANIZATION_UNIT_CODE_EXISTS },\n ],\n idempotent: true,\n examples: [{\n title: 'Rename a unit and isolate its permissions',\n request: {\n name: 'EMEA Revenue',\n code: 'emea-revenue',\n inheritanceType: OrganizationUnit_PermissionInheritanceType.NO_INHERITANCE,\n },\n response: {\n ...ORGANIZATION_UNIT_EXAMPLE,\n name: 'EMEA Revenue',\n code: 'emea-revenue',\n inheritanceType: OrganizationUnit_PermissionInheritanceType.NO_INHERITANCE,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.DELETE]: {\n purpose: 'Remove an empty leaf node from the org tree; refused while the node still has child units or assigned members.',\n outcome: 'The unit row is deleted. A node with dependents is refused, so no subtree is stranded behind a dangling parent link and no member assignment outlives the unit it names.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The unit was deleted; the body carries its `id`.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin role required to remove org tree nodes.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No unit exists for the supplied id (or it was already removed).' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The unit still has dependents, and neither is cascade-deleted with it. Either child units remain — re-parent each onto another node with MOVE, or delete the subtree bottom-up — or organization members are still assigned to this unit, in which case the assignments must be removed first. Only a node with no children and no assignments can be deleted. The error context names each blocking dependent (`blockingDependents`).', customMessageReference: ErrorCustomMessageReference.RESOURCE_HAS_DEPENDENTS },\n ],\n idempotent: true,\n examples: [{\n title: 'Refuse deletion while a child unit remains',\n response: {\n error: {\n type: ErrorType.CONFLICT,\n severity: ErrorSeverity.MEDIUM,\n message: 'Resource conflict detected',\n customMessage: 'Move or delete child units and remove member assignments before deleting this unit.',\n customMessageReference: ErrorCustomMessageReference.RESOURCE_HAS_DEPENDENTS,\n timestamp: '2026-08-18T08:00:00.000Z',\n },\n },\n forStatus: HttpResponseStatusCode.CONFLICT_409,\n }],\n },\n [OrganizationUnit_Operations.MOVE]: {\n operationId: OrganizationUnit_Operations.MOVE,\n purpose: 'Move a unit beneath a different parent, or to the organization root when `newParentUnitId` is omitted.',\n outcome: 'The unit keeps its identity and member assignments. Its ancestor path and every descendant path are updated to reflect the new location. The supplied reason is retained on the committed operation audit event.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The unit was re-parented and the updated node (with its new path) is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The optional destination-parent identifier or reason has an invalid type or length.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin / HR-structure role required to restructure the org tree.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The unit being moved, or the destination parent unit, does not exist in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The destination would create a cycle — the target parent sits inside the moved unit’s own subtree, or is the unit itself.', customMessageReference: ErrorCustomMessageReference.ORGANIZATION_UNIT_MOVE_CONFLICT },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A sibling under the new parent already uses the moved unit’s `code`. The destination itself is valid; rename the unit or choose another parent.', customMessageReference: ErrorCustomMessageReference.ORGANIZATION_UNIT_CODE_EXISTS },\n ],\n idempotent: false,\n examples: [{\n title: 'Move a department below a new division',\n request: {\n newParentUnitId: 'organization_unit_revenue',\n reason: 'Sales now reports through the global revenue division.',\n },\n response: {\n ...ORGANIZATION_UNIT_EXAMPLE,\n parentUnitId: 'organization_unit_revenue',\n path: '/organization_unit_revenue/',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrganizationUnit_Operations.ARCHIVE]: {\n operationId: OrganizationUnit_Operations.ARCHIVE,\n purpose: 'Archive one organization unit without deleting its history or changing descendant states.',\n outcome: 'The unit becomes ARCHIVED and is hidden from default active-unit pickers. Descendants retain their own states.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The unit transitioned to `ARCHIVED` and the updated node is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin role required to archive org tree nodes.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No unit exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The unit is already `ARCHIVED`, so archiving is not a legal transition from its current state.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Archive a department after a reorganization',\n request: { reason: 'The EMEA Sales department was consolidated into Global Revenue.' },\n response: { ...ORGANIZATION_UNIT_EXAMPLE, status: OrganizationUnitStatus.ARCHIVED },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrganizationUnit_Operations.RESTORE]: {\n operationId: OrganizationUnit_Operations.RESTORE,\n purpose: 'Restore an archived unit after its parent branch is active.',\n outcome: 'The unit becomes ACTIVE and is available again to active-unit pickers and policies. The committed operation is audited, including the optional reason, despite its MEDIUM risk level.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The unit transitioned back to `ACTIVE` and the restored node is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin role required to restore archived org tree nodes.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No unit exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The unit is not `ARCHIVED` (so there is nothing to restore), or its parent branch is still archived and must be restored first.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Restore an archived department',\n request: { reason: 'The department is active again for the new fiscal year.' },\n response: ORGANIZATION_UNIT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'Admin org presets do not add alternate variants for `ORGANIZATION_UNITS` — only main `organizations` presets apply.',\n 'Per-unit DELETE is refused while child units remain, but deleting the whole ORGANIZATION is not: that cascade is enabled and removes every unit of the tenant at once (each unit carries the tenant id, so tree depth is irrelevant). Tearing a tenant down does not require dismantling its org chart leaf-by-leaf.',\n // Scope note, recorded so the narrower guard is not later read as an oversight. An earlier\n // revision of this spec also named \"assigned members\" as a DELETE blocker; it was dropped\n // (2026-07-29) because it cannot be enforced honestly today, not because it stopped mattering.\n 'Unit assignments ARE checked on unit DELETE (since 2026-07-31). They live in the `ORGANIZATION_UNIT_MEMBERS` junction resource, promoted out of the members row precisely so this dependent could be guarded: as an embedded array it was not a registered relationship and not adapter-neutrally queryable (a nested-path filter resolves to null on the SQL adapter, and the list projection dropped the field), so either available check would have passed silently instead of blocking.',\n 'MOVE, ARCHIVE and RESTORE are implemented (2026-07-31). Their request payloads name no schema field, so each custom implementation translates the payload into the real field mutation: MOVE writes `parentUnitId` + `path` and rewrites the materialized `path` of every descendant in one transaction; ARCHIVE/RESTORE write `status`.',\n 'Re-parenting is owned exclusively by MOVE — `parentUnitId` is `.excludeFromUpdate()`. A reparent has a subtree-wide side effect (every descendant path must be rewritten) and must be refused when the destination sits inside the moved node’s own subtree; generic UPDATE performs neither check, so allowing it there would silently produce stale paths or a detached cycle.',\n '`path` is a materialized ANCESTOR chain (`/`, `/R/`, `/R/C/`) — the route TO the node, excluding the node itself. It is written by the CREATE prefix on the same write that inserts the row, because a CREATE custom implementation never receives the new row’s id and a second write would leave a window with no path at all. Descendants of a node are addressed by `path + _id + \"/\"`, which is also the O(1) cycle test MOVE relies on.',\n 'ARCHIVE is node-only: descendants keep their own status, which keeps ARCHIVE O(1) and makes restore order explicit. RESTORE pays for that by validating the ancestor chain, so a node cannot be restored underneath a still-archived parent.',\n 'MOVE, ARCHIVE and RESTORE retain the submitted reason in the committed RESOURCE_OPERATION_PERFORMED event; ARCHIVE requires one, while MOVE and RESTORE accept it optionally. The request reason is audit history, not a mutable organization-unit field.',\n 'Sibling `code` uniqueness is the schema business key (`organizationId`, `parentUnitId`, `code`) — sibling-scoped, so two teams called `sales` under different divisions are legitimate. Rows carrying NO `code` are outside the constraint entirely (any number of code-less siblings is fine), while roots ARE covered: an absent `parentUnitId` is a real position, so two roots may not share a code.',\n 'That business key is enforced at BOTH layers, and both raise `ORGANIZATION_UNIT_CODE_EXISTS`. On MongoDB a partial compound unique index closes the concurrency window. On a SQL adapter there is no index yet — the planner records uniqueness as intent and leaves enforcement migration-owned — so the application guard at CREATE, UPDATE (rename) and MOVE is retained as the cross-adapter backstop. That guard is a read-then-write and therefore still racy on its own; the index, not the guard, is what makes the constraint hold under concurrency. Treat schema-declared uniqueness as a MongoDB guarantee until the SQL migration lane closes the gap.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n layout: {\n purpose: 'The organization\\'s unit hierarchy (Settings → Organization units): departments, teams, regions and project groups.',\n headerPurpose: 'The READ header: the unit name on the title line, then on the facts line its `status` badge, and — for a unit a SCIM directory created — the `externalSource` badge, which is what tells an administrator that a rename made here will be reverted by the directory.',\n displayPurpose: 'READ is one flat list of rows and documents no section: `code`, `type`, `parentUnitId`, `inheritanceType` and `externalId`, each optional row hidden when empty. The materialized `path` is not shown — it is `parentUnitId` spelled as a chain of ids. Sub-units are composed below as this resource\\'s own tab.',\n summaryPurpose: 'A unit card: the name as the title, then `status`, `type` and the directory badge as bare values.',\n editPurpose: 'One flat, stacked form: `name` focused first, `code` and `type` sharing a row, then `status`, `parentUnitId` (CREATE only — re-parenting is MOVE) and `inheritanceType`.',\n },\n views: {\n [Op.READ]: { purpose: 'Detail drawer for a single unit in org settings.', whenToUse: 'Org structure admin and HR flows.' },\n [Op.LIST]: { purpose: 'Flat or nested listing under an org.', whenToUse: 'Unit pickers in assignment UI.' },\n [Op.SEARCH]: { purpose: 'Searchable listing when the factory marks search enabled.', whenToUse: 'Large orgs with many nodes.' },\n [Op.CREATE]: { purpose: 'Create under an org from structure settings.', whenToUse: 'HR or IT modeling new groups.' },\n [Op.UPDATE]: { purpose: 'Edit name, code, type, status, and inheritance policy inline.', whenToUse: 'Organization-directory corrections that do not change the parent.' },\n [Op.DELETE]: { purpose: 'Remove an empty leaf unit.', whenToUse: 'After its child units and member assignments have been removed or moved.' },\n [OrganizationUnit_Operations.MOVE]: { purpose: 'Drag/drop or form-driven reparenting.', whenToUse: 'Rebalancing regions or reporting lines.' },\n [OrganizationUnit_Operations.ARCHIVE]: { purpose: 'Soft-close one unit without changing descendants.', whenToUse: 'Mergers and seasonal structures.' },\n [OrganizationUnit_Operations.RESTORE]: { purpose: 'Bring an archived unit back under an active parent.', whenToUse: 'Mistakes or revived departments.' },\n },\n }),\n);\n"]}
@@ -5,16 +5,16 @@ import { CoreResourceOperation as Op, OrganizationStatus, Organization_Lifecycle
5
5
  */
6
6
  export declare const organizationsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof Organization_Lifecycle_Operations, Op.READ | Op.UPDATE | Op.DELETE | Op.CREATE | Op.LIST | Op.SEARCH, import("zod").ZodObject<{
7
7
  _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
8
- name: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
8
+ name: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
9
9
  type: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
10
- slug: 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>>>>;
10
+ slug: 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>>>>>;
11
11
  status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodEnum<typeof OrganizationStatus>>>>>;
12
- platformAccessApprovalRequired: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
12
+ platformAccessApprovalRequired: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>>;
13
13
  createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>>;
14
14
  updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>;
15
15
  deletionRequestedAt: 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").ZodDate>>>>>>;
16
16
  ownerFloorSerializationToken: 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>>>>>>;
17
- serviceProviderRelationshipSerializationToken: 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>>>>>>;
17
+ organizationRelationshipSerializationToken: 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>>>>>>;
18
18
  autonomousAgentBindingSerializationToken: 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>>>>>>;
19
19
  purgeScheduledAt: 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").ZodDate>>>>>>;
20
20
  }, import("zod/v4/core").$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organizations.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAE3B,kBAAkB,EAClB,iCAAiC,EAIlC,MAAM,uBAAuB,CAAC;AA0B/B;;;GAGG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;iCA6X9C,CAAC"}
1
+ {"version":3,"file":"organizations.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organizations.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAE3B,kBAAkB,EAClB,iCAAiC,EAKlC,MAAM,uBAAuB,CAAC;AA0B/B;;;GAGG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;iCA+a9C,CAAC"}