@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-members.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organization-members.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,IAAI,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AAChI,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,iCAAiC,EACjC,cAAc,EACd,qBAAqB,IAAI,EAAE,EAC3B,aAAa,EACb,SAAS,EACT,wBAAwB,EACxB,wBAAwB,EACxB,8BAA8B,EAC9B,oBAAoB,EACpB,8DAA8D,IAAI,0BAA0B,GAC7F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAO3E,MAAM,qCAAqC,GAAG,mCAAmF,CAAC;AAElI,MAAM,2BAA2B,GAAG;IAClC,GAAG,EAAE,kCAAkC;IACvC,MAAM,EAAE,mBAAmB;IAC3B,SAAS,EAAE,yBAAyB;IACpC,cAAc,EAAE,2BAA2B;IAC3C,KAAK,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC;IAClC,MAAM,EAAE,wBAAwB,CAAC,MAAM;IACvC,SAAS,EAAE,gBAAgB;IAC3B,aAAa,EAAE,aAAa;IAC5B,SAAS,EAAE,0BAA0B;IACrC,SAAS,EAAE,0BAA0B;IACrC,QAAQ,EAAE,CAAC;CACH,CAAC;AAEX,MAAM,mCAAmC,GAAG;IAC1C,GAAG,EAAE,2BAA2B,CAAC,GAAG;IACpC,MAAM,EAAE,2BAA2B,CAAC,MAAM;IAC1C,SAAS,EAAE,2BAA2B,CAAC,SAAS;IAChD,cAAc,EAAE,2BAA2B,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,CAAC","sourcesContent":["import { organizationMembersMainResourceUIBehavior as organizationMembersUIBehaviorSource } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n AdministrativeContinuityErrorCode,\n CORE_ORG_ROLES,\n CoreResourceOperation as Op,\n ErrorSeverity,\n ErrorType,\n OrganizationMemberSchema,\n OrganizationMemberStatus,\n OrganizationMembers_Operations,\n ResourcePrimaryScope,\n organizationMembersResourceConfiguration_InitializationFactory as organizationMembersFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype Cfg = ReturnType<typeof organizationMembersFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst organizationMembersResourceUIBehavior = organizationMembersUIBehaviorSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst ORGANIZATION_MEMBER_EXAMPLE = {\n _id: 'organization_member_01HX2EXAMPLE',\n userId: 'user_01HX2EXAMPLE',\n userEmail: 'alex.morgan@example.com',\n organizationId: 'organization_01HX2EXAMPLE',\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n status: OrganizationMemberStatus.ACTIVE,\n userTitle: 'Staff Engineer',\n instanceLabel: 'Alex Morgan',\n createdAt: '2026-07-03T09:15:00.000Z',\n updatedAt: '2026-08-18T08:00:00.000Z',\n _version: 4,\n} as const;\n\nconst ORGANIZATION_MEMBER_SUMMARY_EXAMPLE = {\n _id: ORGANIZATION_MEMBER_EXAMPLE._id,\n userId: ORGANIZATION_MEMBER_EXAMPLE.userId,\n userEmail: ORGANIZATION_MEMBER_EXAMPLE.userEmail,\n organizationId: ORGANIZATION_MEMBER_EXAMPLE.organizationId,\n roles: ORGANIZATION_MEMBER_EXAMPLE.roles,\n status: ORGANIZATION_MEMBER_EXAMPLE.status,\n userTitle: ORGANIZATION_MEMBER_EXAMPLE.userTitle,\n instanceLabel: ORGANIZATION_MEMBER_EXAMPLE.instanceLabel,\n _version: ORGANIZATION_MEMBER_EXAMPLE._version,\n} as const;\n\nconst ORGANIZATION_MEMBER_CONTEXT_EXAMPLE = {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n user: { _id: ORGANIZATION_MEMBER_EXAMPLE.userId },\n organization: { _id: ORGANIZATION_MEMBER_EXAMPLE.organizationId },\n} as const;\n\nfunction organizationMembersPage<T>(data: readonly T[]) {\n return {\n data,\n pagination: { page: 1, limit: 20, total: data.length, totalPages: data.length === 0 ? 0 : 1 },\n };\n}\n\nconst ORGANIZATION_MEMBERS_PAGE_REQUEST = { page: 1, limit: 20, sort: 'createdAt:desc' } as const;\n\nexport const organizationMembersResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(organizationMembersResourceUIBehavior),\n resourceSpecification(\n organizationMembersFactory,\n OrganizationMemberSchema,\n ({ schemaShape }) => ({\n purpose: 'Represents one person’s membership in an organization, including their organization roles, directory title, and current access state.',\n businessRole: 'Use this resource to browse the organization directory and to manage invitations, membership access, and organization-level authority.',\n lifecycleRole: 'A membership begins as a pending invitation or an active provisioned membership, can be updated or suspended, and ends when the invitation is revoked or the member is removed.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.ORGANIZATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMemberSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationMembersResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORGANIZATION_MEMBERS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMembers_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationMembersMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The `USERS` identity this membership grants organization access to — the junction’s subject party.',\n whyItMatters: 'A membership row is a link with no inherent identity; this FK is what a name/email resolves against (via `USER_PROFILES`) and, together with `organizationId`, forms the database-enforced business key that prevents duplicate memberships.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n roles: schemaShape.roles.arraySpec({\n meaning: 'Org-wide roles granted to this member — the authority set every access check evaluates for the user within this organization.',\n elementMeaning: 'One role identifier — a core org role token (`CORE_ORG_ROLES`) or an app-defined custom role string.',\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CORE_ORG_ROLES',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n }),\n userTitle: schemaShape.userTitle.stringSpec({ meaning: 'Authored job title / role label for the member (e.g. “Engineering Lead”). Distinct from the directory record label — that is the linked user’s name (see `instanceLabel`).' }),\n instanceLabel: schemaShape.instanceLabel.stringSpec({ meaning: 'Computed directory label for the membership — the linked user’s name, forwarded live from `USER_PROFILES` (joining on `userId`, rendering first/last name) and resolved SERVER-SIDE at read time via the virtual-field pipeline. A junction record has no inherent name; this gives it one without denormalizing the mutable name (never stale, tenant-safe, not persisted). The frontend uses it directly as `getFrontendResourceLabel`; it falls back to the immutable `userEmail` when the profile is unavailable.' }),\n userEmail: schemaShape.userEmail.stringSpec({ meaning: 'Denormalized, immutable copy of the linked user’s email captured at membership creation. Two roles: the OWN-FIELD half of member search (first/last name are searched relationally through `USER_PROFILES`, never denormalized), and the secondary label fallback behind the server-resolved `instanceLabel`. The live email lives on `USERS`; this copy is display-hidden and never client-writable.' }),\n status: schemaShape.status.enumSpec({\n meaning: 'Membership lifecycle and access posture in this org.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMemberStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationMemberStatus.INVITED]: { meaning: 'A pending invitation — the membership was extended (via CREATE) but the invitee has not accepted yet. Carries a single-use accept link. Flips to ACTIVE on acceptance; the record is DELETED on decline/revoke (no terminal \"rejected\" status — the invite IS the membership in this pending state).' },\n [OrganizationMemberStatus.ACTIVE]: { meaning: 'Can participate as roles allow.' },\n [OrganizationMemberStatus.INACTIVE]: { meaning: 'Record retained but not participating.' },\n [OrganizationMemberStatus.SUSPENDED]: { meaning: 'Access blocked in-org while record remains.' },\n },\n }),\n serviceProviderRelationshipId: schemaShape.serviceProviderRelationshipId.stringSpec({\n meaning: 'Present only on a PROVIDER membership: the service-provider relationship through which a service firm\\'s expert is present in this organization.',\n whyItMatters: 'It changes what the row means everywhere. The membership confers authority only while that relationship passes the per-request live filter (active, within its term, its role still offered by the declaration, the expert still an active member of the firm and assigned to it); its `roles` are owned by the relationship and cannot be edited here; it never counts toward the owner floor and cannot receive ownership; it grants no user type; and it is not part of the organization\\'s SCIM directory. System-written only by the relationship verbs: `assign` creates or re-points it, `amendScope` keeps its `roles` equal to the relationship\\'s role, and `unassign` or the relationship ending makes an ACTIVE one INACTIVE. The row keeps the (user, organization) key after the relationship or assignment ends (INACTIVE), so inviting that person as the organization\\'s own member is refused with `SERVICE_PROVIDER_MEMBERSHIP_CONFLICTS_WITH_INVITATION` until the ended membership is removed. A provider membership the organization SUSPENDS stays suspended when the firm unassigns the person or the relationship ends, and the firm cannot re-assign them (`SERVICE_PROVIDER_EXPERT_SUSPENDED_BY_CLIENT`) until the organization reactivates it. Reactivating a provider membership (by hand or by the reactivation sweep) restores ACTIVE only while its relationship has not ended (ACTIVE or SUSPENDED) and the person is still assigned; otherwise it lands INACTIVE, and a later assignment re-points it. Whether an ACTIVE row confers is the live filter\\'s decision on each request. Deleting a provider membership ends the firm\\'s assignment of that person in the same transaction; it does not stop the firm assigning them again under the relationship — suspension is the organization\\'s bar against one person.',\n }),\n providerOrganizationId: schemaShape.providerOrganizationId.stringSpec({\n meaning: 'Present only on a PROVIDER membership: the service firm whose expert holds it.',\n whyItMatters: 'The live filter requires the expert to hold an active, ordinary membership in this organization, and the organization to still confer authority — a firm that deprovisions its expert ends their reach into every client on the next request.',\n }),\n providerOrganizationName: schemaShape.providerOrganizationName.stringSpec({\n meaning: 'Present only on a PROVIDER membership: the firm\\'s name, copied from its relationship when the expert was assigned — what the directory shows as \"via {Firm}\".',\n whyItMatters: 'A client can never read the firm\\'s organization row, which lives in another tenant, so without this snapshot the directory could name the firm only by an opaque id. It is display only and decides nothing.',\n }),\n scheduledReactivationAt: schemaShape.scheduledReactivationAt.dateSpec({\n meaning: 'When an automated sweep lifts this suspension by dispatching REACTIVATE — to ACTIVE, or to INACTIVE for a service-provider membership whose relationship has ended or whose person is no longer assigned. Set by SUSPEND when the caller time-boxes the suspension (its request contract calls this `suspensionEndDate`), cleared by REACTIVATE. Absent means the suspension is indefinite and only an explicit REACTIVATE lifts it — the default, since an unbounded suspension is the safer reading of “suspend”.',\n whyItMatters: 'Named for the effect rather than the cause so the identical field on `USERS` — which serves both admin suspension and voluntary self-deactivation — carries the same name and the reactivation sweep queries one field everywhere. Server-owned: only the transition operations write it, exactly as for `status`.',\n }),\n invitedByUserId: schemaShape.invitedByUserId.stringSpec({\n meaning: 'The user who sent the invitation this membership started from. Set by the application; absent when the member was added directly or provisioned by the system.',\n whyItMatters: 'A record of who invited the member, not a link the API follows: the membership\\'s user is `userId`.',\n }),\n invitedAt: schemaShape.invitedAt.dateSpec({\n meaning: 'When the invitation was sent. Set by the application and never changed; absent when the member was not invited. Pending invitations expire relative to it.',\n }),\n },\n operations: {\n [Op.COUNT]: {\n purpose: 'Return the total number of memberships visible in the selected organization or relationship scope.',\n outcome: 'A single non-negative membership count is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The current membership count is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to read the membership count.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Count organization memberships',\n response: { count: 37 },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Invite a person by email, or provision an existing user through a user-linked relationship route. Email invitations create an INVITED membership; direct provisioning creates an ACTIVE membership.',\n outcome: 'The membership is created with its initial organization roles. An invitation sends one single-use acceptance link; direct provisioning sends no acceptance link. The resolved role grant is recorded in the audit trail.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A membership record was created linking the user to the organization with its initial roles, and the new record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The user reference, roles, or title fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization admin nor a service firm\\'s expert the organization lent `INVITE_MEMBERS` through a live capability grant (#1631), or asks for a role above its own ceiling (`role_ceiling_exceeded`) — a delegated capability role is never grantable, and an expert\\'s ceiling is its own provider role.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The user already holds a membership in this organization.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Invite a member by email with an initial title',\n request: {\n userEmail: 'new.lead@acme.com',\n userTitle: 'Engineering Lead',\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n userEmail: 'new.lead@acme.com',\n userTitle: 'Engineering Lead',\n status: OrganizationMemberStatus.INVITED,\n invitedByUserId: 'user_admin_01HX2EXAMPLE',\n invitedAt: '2026-08-18T08:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.READ]: {\n purpose: 'Retrieve one membership by its route identity.',\n outcome: 'The member’s organization roles, lifecycle state, directory title, and public identifiers are returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership was found and its roles, title, state, and public identifiers are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to read the membership directory.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect an active organization member',\n response: ORGANIZATION_MEMBER_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect a member with relationship identifiers',\n response: ORGANIZATION_MEMBER_CONTEXT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact member summary',\n response: ORGANIZATION_MEMBER_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Browse the organization membership directory as a paginated collection.',\n outcome: 'A page of memberships and pagination metadata is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of membership records for the organization directory.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to browse the membership directory.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse organization members',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([ORGANIZATION_MEMBER_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse members with relationship identifiers',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([{\n ...ORGANIZATION_MEMBER_EXAMPLE,\n user: { _id: ORGANIZATION_MEMBER_EXAMPLE.userId },\n organization: { _id: ORGANIZATION_MEMBER_EXAMPLE.organizationId },\n }]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact member summaries',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([ORGANIZATION_MEMBER_SUMMARY_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Searchable member roster — matches on the member’s email (own field) and, through the linked user profile, on first/last name.',\n outcome: 'Org members matching the query by email or name, for people pickers and large-roster look-ups.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of members whose email, or whose linked profile’s first/last name, matches the search query.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to search the membership directory.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Find active members by email or name',\n request: { q: 'alex', status: OrganizationMemberStatus.ACTIVE, page: 1, limit: 20, sort: 'status:asc' },\n response: organizationMembersPage([ORGANIZATION_MEMBER_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.UPDATE]: {\n purpose: 'Update a member’s directory title or organization roles. This is the only API operation used to change a membership’s role set.',\n outcome: 'The updated membership is returned. Role changes take effect for subsequent authorization decisions and emit a dedicated authorization audit event with the previous and resulting role sets.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership’s title/org-unit/roles were updated and the new state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited title, org-unit, or role set fails schema validation.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to edit memberships.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The edit would remove the LAST administratively usable owner of the organization — either by rewriting `roles` so they no longer confer `ORG_OWNER` (directly or by inheritance), or by moving the membership `status` out of ACTIVE (the only status whose roles reach `initiatorRoles`). Grant an owner role to another active member first. Not a 403: the caller IS authorized — the current state of the organization forbids it. No TENANT authority lifts this floor; a platform administrator can repair an already-stranded organization through `grantOwnership`, which is the only cross-tenant variant this resource declares. An owner counts only when the membership is ACTIVE AND the linked user is ACTIVE; organizations in a terminal state (CANCELLED, DELETED, soft-deleted) are not protected.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Update a member’s directory title without changing authority',\n request: { userTitle: 'Staff Engineer' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n userTitle: 'Staff Engineer',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [Op.DELETE]: {\n purpose: 'Remove an accepted member from the organization. Use REVOKE instead for a still-pending invitation.',\n outcome: 'The membership and its organization-unit assignments are removed, organization-scoped access ends, and the withdrawn roles and unit grants are recorded in the audit trail. For a service-provider membership, the firm\\'s active assignment of that person to the relationship ends in the same transaction and is recorded as an unassignment.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The membership record was removed; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id (or it was already removed).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization admin nor a service firm\\'s expert the organization lent `MANAGE_RELATIONSHIP_EXPERTS` through a live capability grant (#1631).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller holds `MANAGE_RELATIONSHIP_EXPERTS` (a capability a client lends a service firm, #1631) and the target is not an expert of the SAME relationship it serves the organization through — an ordinary member, another firm\\'s expert, or an expert of another of its relationships. Carries `code: SERVICE_PROVIDER_CAPABILITY_TARGET_OUTSIDE_RELATIONSHIP`.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target is the LAST administratively usable owner of the organization. Destroying the row that holds the last tenant authority strands the organization exactly as demoting it would, so it is refused on the same terms — grant an owner role to another active member first. Also returned when the membership snapshot cannot be read, since the floor must not assume an unreadable row is not the last owner.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Refuse removal of the last usable organization owner',\n response: {\n error: {\n type: ErrorType.CONFLICT,\n severity: ErrorSeverity.MEDIUM,\n message: 'Resource conflict detected',\n customMessage: 'Grant ownership to another active member before removing this member.',\n code: AdministrativeContinuityErrorCode.LAST_ORGANIZATION_OWNER,\n timestamp: '2026-08-18T08:00:00.000Z',\n },\n },\n forStatus: HttpResponseStatusCode.CONFLICT_409,\n }],\n },\n [OrganizationMembers_Operations.SUSPEND]: {\n operationId: OrganizationMembers_Operations.SUSPEND,\n purpose: 'Temporarily block access without deleting the membership record.',\n outcome: 'The membership becomes SUSPENDED and no longer grants organization access. If `suspensionEndDate` is supplied, it is exposed as `scheduledReactivationAt` and the membership is reactivated after that instant; otherwise an administrator must reactivate it explicitly. The suspended member is emailed about it, even with email notifications turned off, and the organization\\'s other active members, apart from the administrator who suspended it, are notified.',\n whenToUse: 'Use for temporary security or policy holds where the membership history must remain available. The last usable organization owner cannot be suspended.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership transitioned to suspended and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization admin nor a service firm\\'s expert the organization lent `MANAGE_RELATIONSHIP_EXPERTS` through a live capability grant (#1631).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller holds `MANAGE_RELATIONSHIP_EXPERTS` (a capability a client lends a service firm, #1631) and the target is not an expert of the SAME relationship it serves the organization through — an ordinary member, another firm\\'s expert, or an expert of another of its relationships. Carries `code: SERVICE_PROVIDER_CAPABILITY_TARGET_OUTSIDE_RELATIONSHIP`.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is not currently ACTIVE.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The membership is not ACTIVE, so this is not a legal transition — an INVITED row has not accepted yet (cancel it with REVOKE, which also revokes the accept token) and an INACTIVE or already-SUSPENDED one is already out. Carries `resource_status_transition_conflict`, whose context names the current status, the target status and the permitted source statuses, so a client can re-read and show the real state rather than treating it as an opaque clash. Most callers meet the earlier `enabledCondition` gate (403) instead; this reference covers the paths that gate does not reach.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target is the organization’s LAST administratively usable owner (an ACTIVE membership holding a role that confers `ORG_OWNER`, directly or by inheritance, whose linked user is also ACTIVE). Suspending it leaves the organization with no principal able to administer it, so the tenant cannot administer itself afterwards. Grant an owner role to another active member first. Recovery is not impossible \\u2014 a platform administrator holds `grantOwnership` \\u2014 but it is an out-of-tenant escalation, which is why the in-tenant refusal stands. Not a 403: the caller IS authorized; the current state of the organization forbids it. Carries the stable client-branchable `code: LAST_ORGANIZATION_OWNER` — a DIFFERENT code from the application floor, because the remedy is scoped to this organization.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Suspend a member until a scheduled review date',\n request: {\n suspensionReason: 'Access paused while the security review is completed.',\n suspensionEndDate: '2026-09-01T09:00:00.000Z',\n },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.SUSPENDED,\n scheduledReactivationAt: '2026-09-01T09:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.REACTIVATE]: {\n operationId: OrganizationMembers_Operations.REACTIVATE,\n purpose: 'Restore access for a currently suspended organization member.',\n outcome: 'The membership becomes ACTIVE with its existing roles and any scheduled reactivation deadline is cleared. A service-provider membership becomes ACTIVE only while its relationship is still live (accepted and not ended — a suspended relationship counts) and the person is still assigned to it; otherwise it becomes INACTIVE, the state the relationship\\'s end or the unassignment would have given it, and a later assignment re-points it. An ACTIVE provider row confers authority only while the relationship does — the per-request live filter decides that. When the membership comes back ACTIVE, the member is emailed, even with email notifications turned off and also when the scheduled sweep lifted the suspension. The organization\\'s other active members are notified as well, leaving out the administrator who acted and the member themself (who has their own notice); a reactivation by the scheduled sweep is announced to the membership\\'s organization the same way. A row that lands INACTIVE notifies nobody.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The suspended membership transitioned back to active and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to reactivate members. Deliberately NOT opened to `MANAGE_RELATIONSHIP_EXPERTS` (#1631): a suspension is the organization\\'s bar against one person, which a service firm may never lift, even for its own expert.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is not currently SUSPENDED.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The membership is not SUSPENDED, so there is nothing to reactivate — notably an INVITED row is refused here rather than being silently promoted, which would grant a membership nobody accepted. Carries `resource_status_transition_conflict` with the current and permitted statuses in its context.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Reactivate a member after the review is complete',\n request: { reason: 'Security review completed without further action.' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.ACTIVE,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.REVOKE]: {\n operationId: OrganizationMembers_Operations.REVOKE,\n purpose: 'Cancel a still-pending organization invitation. Use DELETE instead for an accepted member.',\n outcome: 'The INVITED membership is removed, its acceptance token can no longer be used, and the invitee and acting administrator are notified. The optional reason is retained in the audit event.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pending invitation was revoked (the INVITED membership removed) and a confirmation is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization admin nor a service firm\\'s expert the organization lent `INVITE_MEMBERS` through a live capability grant (#1631).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is no longer INVITED.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Revoke a pending invitation before it is accepted',\n request: { reason: 'The invitee joined through another organization.' },\n response: { id: ORGANIZATION_MEMBER_EXAMPLE._id, deletedAt: '2026-08-18T08:05:00.000Z' },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.GRANT_OWNERSHIP]: {\n operationId: OrganizationMembers_Operations.GRANT_OWNERSHIP,\n purpose: 'Platform-tier repair door: grant `ORG_OWNER` to an EXISTING member of an organization that has no administratively usable owner left.',\n outcome: 'The existing ACTIVE membership gains the owner-conferring role; no role is removed and no new membership is created. The cross-tenant repair is audited with the required justification and the organization is notified.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The member now holds an owner-conferring role. Idempotent: a member who already owns the organization returns 200 with their role set unchanged.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold `APP_ADMIN_SUPER_ADMIN` at APPLICATION scope. An organization-scope caller who merely writes that string into their own membership `roles` is denied: the role gate resolves an organization-scope entry against the organization role table, which does not contain that key.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target membership is not administratively usable (only ACTIVE rows confer roles), or the linked user is not usable. Granting either would answer 200 while leaving the organization with zero usable owners \\u2014 a repair that repairs nothing and stops the operator looking. Fix the membership or user lifecycle first. Also returned when the user row cannot be read, since absence is not evidence of a usable owner.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Repair a stranded organization by granting an existing member ownership',\n request: { justification: 'Restore tenant administration after the sole owner was removed during account recovery.' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n roles: [CORE_ORG_ROLES.ORG_MEMBER, CORE_ORG_ROLES.ORG_OWNER],\n status: OrganizationMemberStatus.ACTIVE,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.RESEND]: {\n operationId: OrganizationMembers_Operations.RESEND,\n purpose: 'Re-mint and re-send the accept link for a still-pending invitation (an INVITED membership).',\n outcome: 'A fresh single-use accept token is issued (revoking any prior token for this membership) and the invitation email is re-delivered to the invitee.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A new accept token was minted and the invitation email re-sent; a confirmation is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization admin nor a service firm\\'s expert the organization lent `INVITE_MEMBERS` through a live capability grant (#1631).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is no longer INVITED.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Send a fresh acceptance link for a pending invitation',\n request: {},\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.INVITED,\n invitedByUserId: 'user_admin_01HX2EXAMPLE',\n invitedAt: '2026-08-18T08:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'CREATE is polymorphic: the accept-link email AND the single-use accept token fire ONLY for the INVITE branch (resulting status INVITED). A direct/system provisioning create (userId supplied — founder org-owner grant, SSO JIT, SCIM) persists an ACTIVE row and fires NEITHER side-effect (nothing to accept; its `userEmail` is the member’s own address). The gate is keyed on the resulting `status`, not on which identity field the caller supplied.',\n 'Factory declares userNotifications on several mutations; companion should ground email/SMS copy on runtime `userNotifications[]`, not invent channels absent from the configuration.',\n 'Member SEARCH matches on `userEmail` (a denormalized own field) and on the linked user’s first/last name. The name match is RELATIONAL: the framework runs a secondary search on `USER_PROFILES` and intersects on `userId` — names are read live (never stale) and are not denormalized onto the member row. The result stays scoped to the caller’s organization.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n layout: {\n purpose: 'The organization member directory (Settings → Members): who belongs, with which roles, in which state.',\n headerPurpose: 'The READ identity line: the member\\'s name (the forwarded `instanceLabel`, else the membership\\'s `userEmail`) and the `status` badge beside it. Neither repeats in the body.',\n displayPurpose: 'READ is one flat list of rows and documents no section: `roles`, then `userTitle` and `providerOrganizationName` when set (both hide when empty), then `createdAt`. Unit assignments are the ORGANIZATION_UNIT_MEMBERS resource, composed below as its own tab.',\n summaryPurpose: 'A member card: the resolved member name as the title, then `status`, `roles` and the service firm as bare values. The two provider identifiers are hidden from display, so they are not directory columns; `providerOrganizationName` is their readable form.',\n editPurpose: 'One flat form, no section: the invitee `userEmail` first and focused (CREATE only), then `roles` and `userTitle`. `status` is owned by SUSPEND / REACTIVATE / REVOKE and never appears on a form.',\n },\n views: {\n [Op.COUNT]: { purpose: 'Header metrics and cap enforcement surfaces.', whenToUse: 'Dashboards, billing seat counts, and upgrade prompts.' },\n [Op.CREATE]: { purpose: 'Invite (writes an INVITED row + emails an accept link) or direct-add flows in org admin UIs.', whenToUse: 'Inviting a teammate by email, onboarding, and bulk import.' },\n [Op.READ]: { purpose: 'Profile drawer and permission summaries.', whenToUse: 'Click-through from directory rows.' },\n [Op.LIST]: { purpose: 'Addressable roster list per merged preset (only `LIST` is addressable).', whenToUse: 'Default org directory experience.' },\n [Op.SEARCH]: { purpose: 'Member discovery by email or name when search is enabled.', whenToUse: 'Large-tenant look-ups and people pickers.' },\n [Op.UPDATE]: { purpose: 'Inline edit of metadata, roles, and org-unit links.', whenToUse: 'HR and IT directory maintenance, and every role change — there is no dedicated promote/demote verb.' },\n [Op.DELETE]: { purpose: 'Revoke and remove directory presence.', whenToUse: 'Offboarding, abuse, and access reviews.' },\n [OrganizationMembers_Operations.SUSPEND]: { purpose: 'Degraded access while retaining audit of membership history.', whenToUse: 'Short-term ToS and security holds.' },\n [OrganizationMembers_Operations.REACTIVATE]: { purpose: 'Re-open access after hold clears.', whenToUse: 'After payment or review completion.' },\n [OrganizationMembers_Operations.REVOKE]: { purpose: 'Cancel a still-pending invitation (deletes the INVITED row + revokes its accept token).', whenToUse: 'From the members list, on a row still showing INVITED.' },\n // GRANT_OWNERSHIP is deliberately ABSENT here, and the omission is the documentation.\n // `views` may only describe operations the merged frontend configuration surfaces\n // (`resourceSpecificationFromFrontendConfiguration` throws otherwise), and this operation has\n // no tenant-facing surface by construction: its caller is a platform operator who is NOT a\n // member of the organization, so the member roster \\u2014 which is a tenant surface \\u2014 is exactly\n // where it must not appear. It is reached from support/operations tooling.\n [OrganizationMembers_Operations.RESEND]: { purpose: 'Re-issue the accept link for a still-pending invitation.', whenToUse: 'When an invitee lost or never received the original invite email.' },\n },\n }),\n);\n"]}
1
+ {"version":3,"file":"organization-members.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organization-members.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0CAA0C,IAAI,wCA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EAAE;KAC9M;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationMembersAdminResourceUIBehavior as organizationMembersAdminUIBehaviorSource,\n organizationMembersMainResourceUIBehavior as organizationMembersUIBehaviorSource,\n} from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n AdministrativeContinuityErrorCode,\n CORE_ORG_ROLES,\n CoreResourceOperation as Op,\n ErrorSeverity,\n ErrorType,\n OrganizationMemberSchema,\n OrganizationMemberStatus,\n OrganizationMembers_Operations,\n ResourcePrimaryScope,\n organizationMembersResourceConfiguration_InitializationFactory as organizationMembersFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype Cfg = ReturnType<typeof organizationMembersFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst organizationMembersResourceUIBehavior = organizationMembersUIBehaviorSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\nconst organizationMembersAdminResourceUIBehavior = organizationMembersAdminUIBehaviorSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst ORGANIZATION_MEMBER_EXAMPLE = {\n _id: 'organization_member_01HX2EXAMPLE',\n userId: 'user_01HX2EXAMPLE',\n userEmail: 'alex.morgan@example.com',\n organizationId: 'organization_01HX2EXAMPLE',\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n status: OrganizationMemberStatus.ACTIVE,\n userTitle: 'Staff Engineer',\n instanceLabel: 'Alex Morgan',\n createdAt: '2026-07-03T09:15:00.000Z',\n updatedAt: '2026-08-18T08:00:00.000Z',\n _version: 4,\n} as const;\n\nconst ORGANIZATION_MEMBER_SUMMARY_EXAMPLE = {\n _id: ORGANIZATION_MEMBER_EXAMPLE._id,\n userId: ORGANIZATION_MEMBER_EXAMPLE.userId,\n userEmail: ORGANIZATION_MEMBER_EXAMPLE.userEmail,\n organizationId: ORGANIZATION_MEMBER_EXAMPLE.organizationId,\n roles: ORGANIZATION_MEMBER_EXAMPLE.roles,\n status: ORGANIZATION_MEMBER_EXAMPLE.status,\n // No `userTitle`: a job title is not a summary field (#1852), so the directory row does not carry it.\n instanceLabel: ORGANIZATION_MEMBER_EXAMPLE.instanceLabel,\n _version: ORGANIZATION_MEMBER_EXAMPLE._version,\n} as const;\n\nconst ORGANIZATION_MEMBER_CONTEXT_EXAMPLE = {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n user: { _id: ORGANIZATION_MEMBER_EXAMPLE.userId },\n organization: { _id: ORGANIZATION_MEMBER_EXAMPLE.organizationId },\n} as const;\n\nfunction organizationMembersPage<T>(data: readonly T[]) {\n return {\n data,\n pagination: { page: 1, limit: 20, total: data.length, totalPages: data.length === 0 ? 0 : 1 },\n };\n}\n\nconst ORGANIZATION_MEMBERS_PAGE_REQUEST = { page: 1, limit: 20, sort: 'createdAt:desc' } as const;\n\nexport const organizationMembersResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(organizationMembersResourceUIBehavior),\n resourceFrontendConfiguration(organizationMembersAdminResourceUIBehavior),\n ),\n resourceSpecification(\n organizationMembersFactory,\n OrganizationMemberSchema,\n ({ schemaShape }) => ({\n purpose: 'Represents one person’s membership in an organization, including their organization roles, directory title, and current access state.',\n businessRole: 'Use this resource to browse the organization directory and to manage invitations, membership access, and organization-level authority.',\n lifecycleRole: 'A membership begins as a pending invitation or an active provisioned membership, can be updated or suspended, and ends when the invitation is revoked or the member is removed.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.ORGANIZATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMemberSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationMembersResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORGANIZATION_MEMBERS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMembers_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationMembersMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationMembersAdminResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The `USERS` identity this membership grants organization access to — the junction’s subject party.',\n whyItMatters: 'A membership row is a link with no inherent identity; this FK is what a name/email resolves against (via `USER_PROFILES`) and, together with `organizationId`, forms the database-enforced business key that prevents duplicate memberships.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n roles: schemaShape.roles.arraySpec({\n meaning: 'Org-wide roles granted to this member — the authority set every access check evaluates for the user within this organization.',\n elementMeaning: 'One role identifier — a core org role token (`CORE_ORG_ROLES`) or an app-defined custom role string.',\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CORE_ORG_ROLES',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n }),\n userTitle: schemaShape.userTitle.stringSpec({ meaning: 'Authored job title / role label for the member (e.g. “Engineering Lead”). Distinct from the directory record label — that is the linked user’s name (see `instanceLabel`).', whyItMatters: 'A fact of the member\\'s own page, not a summary field (#1852): most members have none, so a directory column or card line for it said nothing on most rows.' }),\n instanceLabel: schemaShape.instanceLabel.stringSpec({ meaning: 'Computed directory label for the membership — the linked user’s name, forwarded live from `USER_PROFILES` (joining on `userId`, rendering first/last name) and resolved SERVER-SIDE at read time via the virtual-field pipeline. A junction record has no inherent name; this gives it one without denormalizing the mutable name (never stale, tenant-safe, not persisted). The frontend uses it directly as `getFrontendResourceLabel`; it falls back to the immutable `userEmail` when the profile is unavailable. Carried by a READ as well as a list row (#1852), so the READ page and the breadcrumb name the person.' }),\n userEmail: schemaShape.userEmail.stringSpec({ meaning: 'Denormalized, immutable copy of the linked user’s email captured at membership creation. Two roles: the OWN-FIELD half of member search (first/last name are searched relationally through `USER_PROFILES`, never denormalized), and the secondary label fallback behind the server-resolved `instanceLabel`. The live email lives on `USERS`; this copy is display-hidden and never client-writable.' }),\n status: schemaShape.status.enumSpec({\n meaning: 'Membership lifecycle and access posture in this org.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationMemberStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationMemberStatus.INVITED]: { meaning: 'A pending invitation — the membership was extended (via CREATE) but the invitee has not accepted yet. Carries a single-use accept link. Flips to ACTIVE on acceptance; the record is DELETED on decline/revoke (no terminal \"rejected\" status — the invite IS the membership in this pending state).' },\n [OrganizationMemberStatus.ACTIVE]: { meaning: 'Can participate as roles allow.' },\n [OrganizationMemberStatus.INACTIVE]: { meaning: 'Record retained but not participating.' },\n [OrganizationMemberStatus.SUSPENDED]: { meaning: 'Access blocked in-org while record remains.' },\n },\n }),\n organizationRelationshipId: schemaShape.organizationRelationshipId.stringSpec({\n meaning: 'Present only on a relationship membership: the organization relationship through which a representative of another organization is present in this organization.',\n whyItMatters: 'It changes what the row means everywhere. The membership confers authority only while that relationship passes the per-request live filter (active, within its term, its kind still admitting it with its role, the representative still an active member of the representing organization and assigned to it); its `roles` are owned by the relationship and cannot be edited here; it never counts toward the owner floor and cannot receive ownership; it grants no user type; and it is not part of the organization\\'s SCIM directory. System-written only by the relationship verbs: `assign` creates or re-points it, `amendScope` keeps its `roles` equal to the relationship\\'s role, and `unassign` or the relationship ending makes an ACTIVE one INACTIVE. The row keeps the (user, organization) key after the relationship or assignment ends (INACTIVE), so inviting that person as the organization\\'s own member is refused with `RELATIONSHIP_MEMBERSHIP_CONFLICTS_WITH_INVITATION` until the ended membership is removed. A relationship membership the organization SUSPENDS stays suspended when the representing organization unassigns the person or the relationship ends, and the representing organization cannot re-assign them (`REPRESENTATIVE_SUSPENDED_BY_GRANTOR`) until the organization reactivates it. Reactivating a relationship membership (by hand or by the reactivation sweep) restores ACTIVE only while its relationship has not ended (ACTIVE or SUSPENDED) and the person is still assigned; otherwise it lands INACTIVE, and a later assignment re-points it. Whether an ACTIVE row confers is the live filter\\'s decision on each request. Deleting a relationship membership ends the representing organization\\'s assignment of that person in the same transaction; it does not stop the representing organization assigning them again under the relationship — suspension is the organization\\'s bar against one person.',\n }),\n representingOrganizationId: schemaShape.representingOrganizationId.stringSpec({\n meaning: 'Present only on a relationship membership: the representing organization whose representative holds it.',\n whyItMatters: 'The live filter requires the representative to hold an active, ordinary membership in the representing organization, and that organization to still confer authority — a representing organization that deprovisions its representative ends their reach into every granting organization on the next request.',\n }),\n representingOrganizationName: schemaShape.representingOrganizationName.stringSpec({\n meaning: 'Present only on a relationship membership: the representing organization\\'s name, copied from its relationship when the representative was assigned — what the directory shows as \"via {Organization}\".',\n whyItMatters: 'The granting organization can never read the representing organization\\'s row, which lives in another tenant, so without this snapshot the directory could name that organization only by an opaque id. It is display only and decides nothing.',\n }),\n scheduledReactivationAt: schemaShape.scheduledReactivationAt.dateSpec({\n meaning: 'When an automated sweep lifts this suspension by dispatching REACTIVATE — to ACTIVE, or to INACTIVE for a relationship membership whose relationship has ended or whose person is no longer assigned. Set by SUSPEND when the caller time-boxes the suspension (its request contract calls this `suspensionEndDate`), cleared by REACTIVATE. Absent means the suspension is indefinite and only an explicit REACTIVATE lifts it — the default, since an unbounded suspension is the safer reading of “suspend”.',\n whyItMatters: 'Named for the effect rather than the cause so the identical field on `USERS` — which serves both admin suspension and voluntary self-deactivation — carries the same name and the reactivation sweep queries one field everywhere. Server-owned: only the transition operations write it, exactly as for `status`.',\n }),\n scheduledReactivationPerformedAt: schemaShape.scheduledReactivationPerformedAt.dateSpec({\n meaning: 'When the reactivation sweep last lifted this membership\\'s time-boxed suspension because `scheduledReactivationAt` had passed. Written only by REACTIVATE when the system runs it on schedule; an administrator\\'s REACTIVATE leaves it as it was. Kept until the next scheduled lift overwrites it.',\n whyItMatters: 'It is the scheduled lift\\'s own stamp: the lift\\'s audit row is keyed by it, so a lift whose commit could not be confirmed (its reply was lost) is found by the sweep\\'s next run and its row and notices are written once. Server-owned, and it decides nothing about what the member may do.',\n }),\n invitedByUserId: schemaShape.invitedByUserId.stringSpec({\n meaning: 'The user who sent the invitation this membership started from. Set by the application; absent when the member was added directly or provisioned by the system.',\n whyItMatters: 'A record of who invited the member, not a link the API follows: the membership\\'s user is `userId`.',\n }),\n invitedAt: schemaShape.invitedAt.dateSpec({\n meaning: 'When the invitation was sent. Set by the application and never changed; absent when the member was not invited. Pending invitations expire relative to it.',\n }),\n },\n operations: {\n [Op.COUNT]: {\n purpose: 'Return the total number of memberships visible in the selected organization or relationship scope.',\n outcome: 'A single non-negative membership count is returned. A caller present in the organization only as a representative of another organization reads the organization\\'s own members and their own relationship\\'s representatives, never another relationship\\'s representatives (#2614).',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The current membership count is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to read the membership count.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Count organization memberships',\n response: { count: 37 },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Invite a person by email, or provision an existing user through a user-linked relationship route. Email invitations create an INVITED membership; direct provisioning creates an ACTIVE membership.',\n outcome: 'The membership is created with its initial organization roles. An invitation sends one single-use acceptance link; direct provisioning sends no acceptance link. The resolved role grant is recorded in the audit trail.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A membership record was created linking the user to the organization with its initial roles, and the new record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The user reference, roles, or title fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization admin nor a representative of another organization holding `INVITE_MEMBERS` through a live capability grant this organization lent (#1631), or asks for a role above its own ceiling (`role_ceiling_exceeded`) — a delegated capability role is never grantable, and a representative\\'s ceiling is the role its relationship confers.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The user already holds a membership in this organization.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Invite a member by email with an initial title',\n request: {\n userEmail: 'new.lead@acme.com',\n userTitle: 'Engineering Lead',\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n userEmail: 'new.lead@acme.com',\n userTitle: 'Engineering Lead',\n status: OrganizationMemberStatus.INVITED,\n invitedByUserId: 'user_admin_01HX2EXAMPLE',\n invitedAt: '2026-08-18T08:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.READ]: {\n purpose: 'Retrieve one membership by its route identity. The `admin` variant is a platform super-administrator\\u2019s read of a member of a tenant they do not belong to (#2315), and crosses only under that tenant\\u2019s platform access grant.',\n outcome: 'The member’s organization roles, lifecycle state, directory title, and public identifiers are returned. A caller present in the organization only as a representative of another organization reads the organization\\'s own members and their own relationship\\'s representatives, never another relationship\\'s representatives (#2614). The membership of another relationship\\'s representative is not found for them.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership was found and its roles, title, state, and public identifiers are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization. On the `admin` variant, also when the caller holds no usable platform access grant for the tenant: answered exactly like a missing row, so nobody can probe which ids exist.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to read the membership directory, or uses the `admin` variant without the platform super-administrator role.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect an active organization member',\n response: ORGANIZATION_MEMBER_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect a member with relationship identifiers',\n response: ORGANIZATION_MEMBER_CONTEXT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact member summary',\n response: ORGANIZATION_MEMBER_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Browse the organization membership directory as a paginated collection. The `admin` variant is a platform super-administrator\\u2019s list of a tenant\\u2019s members (#2315), crossing only under that tenant\\u2019s platform access grant; every crossing is recorded as cross-tenant administrative access.',\n outcome: 'A page of memberships and pagination metadata is returned. A caller present in the organization only as a representative of another organization reads the organization\\'s own members and their own relationship\\'s representatives, never another relationship\\'s representatives (#2614).',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of membership records for the organization directory.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to browse the membership directory, or uses the `admin` variant without the platform super-administrator role or without a usable platform access grant for the tenant.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse organization members',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([ORGANIZATION_MEMBER_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse members with relationship identifiers',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([{\n ...ORGANIZATION_MEMBER_EXAMPLE,\n user: { _id: ORGANIZATION_MEMBER_EXAMPLE.userId },\n organization: { _id: ORGANIZATION_MEMBER_EXAMPLE.organizationId },\n }]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact member summaries',\n request: ORGANIZATION_MEMBERS_PAGE_REQUEST,\n response: organizationMembersPage([ORGANIZATION_MEMBER_SUMMARY_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Searchable member roster — matches on the member’s email (own field) and, through the linked user profile, on first/last name.',\n outcome: 'Org members matching the query by email or name, for people pickers and large-roster look-ups. A caller present in the organization only as a representative of another organization reads the organization\\'s own members and their own relationship\\'s representatives, never another relationship\\'s representatives (#2614). The organization\\'s people picker (`/organizations/{organizationId}/users/search`) is confined the same way.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of members whose email, or whose linked profile’s first/last name, matches the search query.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization member permitted to search the membership directory.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Find active members by email or name',\n request: { q: 'alex', status: OrganizationMemberStatus.ACTIVE, page: 1, limit: 20, sort: 'status:asc' },\n response: organizationMembersPage([ORGANIZATION_MEMBER_EXAMPLE]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.UPDATE]: {\n purpose: 'Update a member’s directory title or organization roles. This is the only API operation used to change a membership’s role set.',\n outcome: 'The updated membership is returned. Role changes take effect for subsequent authorization decisions and emit a dedicated authorization audit event with the previous and resulting role sets.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership’s title/org-unit/roles were updated and the new state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited title, org-unit, or role set fails schema validation.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to edit memberships.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The edit would remove the LAST administratively usable owner of the organization — either by rewriting `roles` so they no longer confer `ORG_OWNER` (directly or by inheritance), or by moving the membership `status` out of ACTIVE (the only status whose roles reach `initiatorRoles`). Grant an owner role to another active member first. Not a 403: the caller IS authorized — the current state of the organization forbids it. No TENANT authority lifts this floor; a platform administrator can repair an already-stranded organization through `grantOwnership`, which is the only cross-tenant variant this resource declares. An owner counts only when the membership is ACTIVE AND the linked user is ACTIVE; organizations in a terminal state (CANCELLED, DELETED, soft-deleted) are not protected.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Update a member’s directory title without changing authority',\n request: { userTitle: 'Staff Engineer' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n userTitle: 'Staff Engineer',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [Op.DELETE]: {\n purpose: 'Remove an accepted member from the organization. Use REVOKE instead for a still-pending invitation.',\n outcome: 'The membership and its organization-unit assignments are removed, organization-scoped access ends, and the withdrawn roles and unit grants are recorded in the audit trail. For a relationship membership, the representing organization\\'s active assignment of that person to the relationship ends in the same transaction and is recorded as an unassignment, and that organization\\'s owners and administrators are emailed.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership record was removed; the body carries its `id`.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id (or it was already removed).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization admin nor a representative of another organization holding `MANAGE_RELATIONSHIP_REPRESENTATIVES` through a live capability grant this organization lent (#1631).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller holds `MANAGE_RELATIONSHIP_REPRESENTATIVES` (a capability a granting organization lends a relationship\\'s representing organization, #1631) and the target is not a representative of the SAME relationship it acts in the organization through — an ordinary member, another representing organization\\'s representative, or a representative of another of its relationships. Carries `code: RELATIONSHIP_CAPABILITY_TARGET_OUTSIDE_RELATIONSHIP`.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target is the LAST administratively usable owner of the organization. Destroying the row that holds the last tenant authority strands the organization exactly as demoting it would, so it is refused on the same terms — grant an owner role to another active member first. Also returned when the membership snapshot cannot be read, since the floor must not assume an unreadable row is not the last owner.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Refuse removal of the last usable organization owner',\n response: {\n error: {\n type: ErrorType.CONFLICT,\n severity: ErrorSeverity.MEDIUM,\n message: 'Resource conflict detected',\n customMessage: 'Grant ownership to another active member before removing this member.',\n code: AdministrativeContinuityErrorCode.LAST_ORGANIZATION_OWNER,\n timestamp: '2026-08-18T08:00:00.000Z',\n },\n },\n forStatus: HttpResponseStatusCode.CONFLICT_409,\n }],\n },\n [OrganizationMembers_Operations.SUSPEND]: {\n operationId: OrganizationMembers_Operations.SUSPEND,\n purpose: 'Temporarily block access without deleting the membership record.',\n outcome: 'The membership becomes SUSPENDED and no longer grants organization access. If `suspensionEndDate` is supplied, it is exposed as `scheduledReactivationAt` and the membership is reactivated after that instant; otherwise an administrator must reactivate it explicitly. The suspended member is emailed about it, even with email notifications turned off, and the organization\\'s other active members, apart from the administrator who suspended it, are notified. A representative\\'s suspension is also emailed to the representing organization\\'s owners and administrators.',\n whenToUse: 'Use for temporary security or policy holds where the membership history must remain available. The last usable organization owner cannot be suspended.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The membership transitioned to suspended and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization admin nor a representative of another organization holding `MANAGE_RELATIONSHIP_REPRESENTATIVES` through a live capability grant this organization lent (#1631).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller holds `MANAGE_RELATIONSHIP_REPRESENTATIVES` (a capability a granting organization lends a relationship\\'s representing organization, #1631) and the target is not a representative of the SAME relationship it acts in the organization through — an ordinary member, another representing organization\\'s representative, or a representative of another of its relationships. Carries `code: RELATIONSHIP_CAPABILITY_TARGET_OUTSIDE_RELATIONSHIP`.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is not currently ACTIVE.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The membership is not ACTIVE, so this is not a legal transition — an INVITED row has not accepted yet (cancel it with REVOKE, which also revokes the accept token) and an INACTIVE or already-SUSPENDED one is already out. Carries `resource_status_transition_conflict`, whose context names the current status, the target status and the permitted source statuses, so a client can re-read and show the real state rather than treating it as an opaque clash. Most callers meet the earlier `enabledCondition` gate (403) instead; this reference covers the paths that gate does not reach.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target is the organization’s LAST administratively usable owner (an ACTIVE membership holding a role that confers `ORG_OWNER`, directly or by inheritance, whose linked user is also ACTIVE). Suspending it leaves the organization with no principal able to administer it, so the tenant cannot administer itself afterwards. Grant an owner role to another active member first. Recovery is not impossible \\u2014 a platform administrator holds `grantOwnership` \\u2014 but it is an out-of-tenant escalation, which is why the in-tenant refusal stands. Not a 403: the caller IS authorized; the current state of the organization forbids it. Carries the stable client-branchable `code: LAST_ORGANIZATION_OWNER` — a DIFFERENT code from the application floor, because the remedy is scoped to this organization.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Suspend a member until a scheduled review date',\n request: {\n suspensionReason: 'Access paused while the security review is completed.',\n suspensionEndDate: '2026-09-01T09:00:00.000Z',\n },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.SUSPENDED,\n scheduledReactivationAt: '2026-09-01T09:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.REACTIVATE]: {\n operationId: OrganizationMembers_Operations.REACTIVATE,\n purpose: 'Restore access for a currently suspended organization member.',\n outcome: 'The membership becomes ACTIVE with its existing roles and any scheduled reactivation deadline is cleared. A relationship membership becomes ACTIVE only while its relationship is still live (accepted and not ended — a suspended relationship counts) and the person is still assigned to it; otherwise it becomes INACTIVE, the state the relationship\\'s end or the unassignment would have given it, and a later assignment re-points it. An ACTIVE relationship membership confers authority only while the relationship does — the per-request live filter decides that. When the membership comes back ACTIVE, the member is emailed, even with email notifications turned off and also when the scheduled sweep lifted the suspension. The organization\\'s other active members are notified as well, leaving out the administrator who acted and the member themself (who has their own notice); a reactivation by the scheduled sweep is announced to the membership\\'s organization the same way. A representative restored to ACTIVE is also announced to the representing organization\\'s owners and administrators. A row that lands INACTIVE notifies nobody.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The suspended membership transitioned back to active and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin permitted to reactivate members. Deliberately NOT opened to `MANAGE_RELATIONSHIP_REPRESENTATIVES` (#1631): a suspension is the organization\\'s bar against one person, which a representing organization may never lift, even for its own representative.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is not currently SUSPENDED.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The membership is not SUSPENDED, so there is nothing to reactivate — notably an INVITED row is refused here rather than being silently promoted, which would grant a membership nobody accepted. Carries `resource_status_transition_conflict` with the current and permitted statuses in its context.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Reactivate a member after the review is complete',\n request: { reason: 'Security review completed without further action.' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.ACTIVE,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.REVOKE]: {\n operationId: OrganizationMembers_Operations.REVOKE,\n purpose: 'Cancel a still-pending organization invitation. Use DELETE instead for an accepted member.',\n outcome: 'The INVITED membership is removed together with any organization-unit assignments it already carried, its acceptance token can no longer be used, and the invitee and acting administrator are notified. The optional reason is retained in the audit event.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pending invitation was revoked (the INVITED membership removed) and a confirmation is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization admin nor a representative of another organization holding `INVITE_MEMBERS` through a live capability grant this organization lent (#1631).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is no longer INVITED.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Revoke a pending invitation before it is accepted',\n request: { reason: 'The invitee joined through another organization.' },\n response: { id: ORGANIZATION_MEMBER_EXAMPLE._id, deletedAt: '2026-08-18T08:05:00.000Z' },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.GRANT_OWNERSHIP]: {\n operationId: OrganizationMembers_Operations.GRANT_OWNERSHIP,\n purpose: 'Platform-tier repair door: grant ownership to an EXISTING member of an organization that has no administratively usable owner left — the ownership role the organization\\'s type offers (its founding owner role, else `ORG_OWNER`).',\n outcome: 'The existing ACTIVE membership gains the owner-conferring role; no role is removed and no new membership is created. The cross-tenant repair is audited with the required justification and the organization is notified.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The member now holds an owner-conferring role. Idempotent: a member who already owns the organization returns 200 with their role set unchanged.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization\\'s type offers no role that confers ownership (#2607). The door grants the type\\'s founding owner role, else `ORG_OWNER`, and only when the type offers it: a role the type does not grant would confer nothing, so the organization would stay as ownerless as before.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold `APP_ADMIN_SUPER_ADMIN` at APPLICATION scope. An organization-scope caller who merely writes that string into their own membership `roles` is denied: the role gate resolves an organization-scope entry against the organization role table, which does not contain that key.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target membership is not administratively usable (only ACTIVE rows confer roles), or the linked user is not usable. Granting either would answer 200 while leaving the organization with zero usable owners \\u2014 a repair that repairs nothing and stops the operator looking. Fix the membership or user lifecycle first. Also returned when the user row cannot be read, since absence is not evidence of a usable owner.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Repair a stranded organization by granting an existing member ownership',\n request: { justification: 'Restore tenant administration after the sole owner was removed during account recovery.' },\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n roles: [CORE_ORG_ROLES.ORG_MEMBER, CORE_ORG_ROLES.ORG_OWNER],\n status: OrganizationMemberStatus.ACTIVE,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationMembers_Operations.MAKE_OWNER]: {\n operationId: OrganizationMembers_Operations.MAKE_OWNER,\n purpose: 'An owner makes another member an owner of the organization too. An organization may have several owners, and having at least two keeps it administrable when one leaves.',\n outcome: 'The member keeps their roles and gains the owner role. The organization\\'s administrators are notified, and the change is recorded with the roles before and after.',\n whenToUse: 'Adding a second owner, or the first step of handing ownership to someone else (make them an owner, then step down).',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The member is an owner. A member who already was one returns 200 with their roles unchanged.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an owner of this organization.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership exists for the supplied id in this organization.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization\\'s type offers no role that confers ownership (#2607). The door grants the type\\'s founding owner role, else `ORG_OWNER`, and only when the type offers it: a role the type does not grant would confer nothing, so the organization would stay as ownerless as before.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The membership is not active, or its user is not active, so the new owner would not count as one. Also returned for a membership held through an organization relationship, whose roles that relationship decides.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Make a second owner',\n request: {},\n response: { ...ORGANIZATION_MEMBER_EXAMPLE, roles: [CORE_ORG_ROLES.ORG_MEMBER, CORE_ORG_ROLES.ORG_OWNER], status: OrganizationMemberStatus.ACTIVE },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrganizationMembers_Operations.STEP_DOWN_AS_OWNER]: {\n operationId: OrganizationMembers_Operations.STEP_DOWN_AS_OWNER,\n purpose: 'An owner gives up ownership of their own membership and stays an administrator — or a member, when the organization\\'s type offers no administrator role (#2607).',\n outcome: 'The owner role is replaced by the administrator role, or by the type\\'s default member role when the type does not offer `ORG_ADMIN` — never by a role the type does not offer. The organization\\'s administrators are notified, and the change is recorded with the roles before and after.',\n whenToUse: 'The second step of handing ownership over, once another member is an owner. To leave administration too, edit or remove the membership afterwards.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The caller is no longer an owner and is an administrator.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an owner, or the membership is not the caller\\'s own.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The caller is the organization\\'s last usable owner. Make another member an owner first.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Step down after handing ownership over',\n request: {},\n response: { ...ORGANIZATION_MEMBER_EXAMPLE, roles: [CORE_ORG_ROLES.ORG_ADMIN], status: OrganizationMemberStatus.ACTIVE },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrganizationMembers_Operations.RESEND]: {\n operationId: OrganizationMembers_Operations.RESEND,\n purpose: 'Re-mint and re-send the accept link for a still-pending invitation (an INVITED membership).',\n outcome: 'A fresh single-use accept token is issued (revoking any prior token for this membership) and the invitation email is re-delivered to the invitee.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A new accept token was minted and the invitation email re-sent; a confirmation is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No membership row exists for the supplied id in the caller’s organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization admin nor a representative of another organization holding `INVITE_MEMBERS` through a live capability grant this organization lent (#1631).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable because the membership is no longer INVITED.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Send a fresh acceptance link for a pending invitation',\n request: {},\n response: {\n ...ORGANIZATION_MEMBER_EXAMPLE,\n status: OrganizationMemberStatus.INVITED,\n invitedByUserId: 'user_admin_01HX2EXAMPLE',\n invitedAt: '2026-08-18T08:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'CREATE is polymorphic: the accept-link email AND the single-use accept token fire ONLY for the INVITE branch (resulting status INVITED). A direct/system provisioning create (userId supplied — founder org-owner grant, SSO JIT, SCIM) persists an ACTIVE row and fires NEITHER side-effect (nothing to accept; its `userEmail` is the member’s own address). The gate is keyed on the resulting `status`, not on which identity field the caller supplied.',\n 'Factory declares userNotifications on several mutations; companion should ground email/SMS copy on runtime `userNotifications[]`, not invent channels absent from the configuration.',\n 'Member SEARCH matches on `userEmail` (a denormalized own field) and on the linked user’s first/last name. The name match is RELATIONAL: the framework runs a secondary search on `USER_PROFILES` and intersects on `userId` — names are read live (never stale) and are not denormalized onto the member row. The result stays scoped to the caller’s organization.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n layout: {\n purpose: 'The organization member directory (Settings → Members): who belongs, with which roles, in which state.',\n headerPurpose: 'The READ header: the member\\'s name (the forwarded `instanceLabel`, else the membership\\'s `userEmail`) on the title line, and the `status` badge on the facts line under it. Neither repeats in the body.',\n displayPurpose: 'READ is one flat list of rows and documents no section: `roles`, then `userTitle` and `representingOrganizationName` when set (both hide when empty), then `createdAt`. Unit assignments are the ORGANIZATION_UNIT_MEMBERS resource, composed below as its own tab.',\n summaryPurpose: 'A member card: the resolved member name as the title, then `status`, `roles` and the representing organization as bare values. The two relationship identifiers are hidden from display, so they are not directory columns; `representingOrganizationName` is their readable form.',\n editPurpose: 'One flat form, no section: the invitee `userEmail` first and focused (CREATE only), then `roles` and `userTitle`. `status` is owned by SUSPEND / REACTIVATE / REVOKE and never appears on a form.',\n },\n views: {\n [Op.COUNT]: { purpose: 'Header metrics and cap enforcement surfaces.', whenToUse: 'Dashboards, billing seat counts, and upgrade prompts.' },\n [Op.CREATE]: { purpose: 'Invite (writes an INVITED row + emails an accept link) or direct-add flows in org admin UIs.', whenToUse: 'Inviting a teammate by email, onboarding, and bulk import.' },\n [Op.READ]: {\n variants: {\n default: { purpose: 'Profile drawer and permission summaries.', whenToUse: 'Click-through from directory rows.' },\n admin: { purpose: 'One member of a tenant the operator does not belong to, opened from the operator\\u2019s list of its members (#2315). Crosses only under a usable platform access grant.', whenToUse: 'An operator checking who a member is and what they hold.' },\n },\n },\n [Op.LIST]: {\n variants: {\n default: { purpose: 'Addressable roster list per merged preset (only `LIST` is addressable).', whenToUse: 'Default org directory experience.' },\n admin: { purpose: 'A tenant\\u2019s members, on the tenant directory\\u2019s page for that organization (#2315), shown once the page\\u2019s own read has answered. Crosses only under a usable platform access grant.', whenToUse: 'An operator finding who administers a tenant, or the member `grantOwnership` would promote.' },\n },\n },\n [Op.SEARCH]: { purpose: 'Member discovery by email or name when search is enabled.', whenToUse: 'Large-tenant look-ups and people pickers.' },\n [Op.UPDATE]: { purpose: 'Inline edit of metadata, roles, and org-unit links.', whenToUse: 'HR and IT directory maintenance, and every role change — there is no dedicated promote/demote verb.' },\n [Op.DELETE]: { purpose: 'Revoke and remove directory presence.', whenToUse: 'Offboarding, abuse, and access reviews.' },\n [OrganizationMembers_Operations.SUSPEND]: { purpose: 'Degraded access while retaining audit of membership history.', whenToUse: 'Short-term ToS and security holds.' },\n [OrganizationMembers_Operations.REACTIVATE]: { purpose: 'Re-open access after hold clears.', whenToUse: 'After payment or review completion.' },\n [OrganizationMembers_Operations.REVOKE]: { purpose: 'Cancel a still-pending invitation (deletes the INVITED row and any unit assignments it carries, and revokes its accept token).', whenToUse: 'From the members list, on a row still showing INVITED.' },\n // GRANT_OWNERSHIP is offered on the operator's crossed list of a tenant's members (#2315). On the tenant's own\n // roster it reaches nobody but a platform super-administrator who is also a member, whom the backend admits for\n // a per-instance verb; an ordinary member never holds its role, so the tenant surface does not offer it to them.\n [OrganizationMembers_Operations.GRANT_OWNERSHIP]: { purpose: 'The platform operator\\u2019s repair of a tenant with no usable owner: make an existing active member an owner, with a recorded justification. On the tenant directory\\u2019s page for that organization, under a usable platform access grant.', whenToUse: 'A tenant that can no longer administer itself, after confirming it has no usable owner (see the runbook in the administrative-continuity rule).' },\n [OrganizationMembers_Operations.RESEND]: { purpose: 'Re-issue the accept link for a still-pending invitation.', whenToUse: 'When an invitee lost or never received the original invite email.' },\n [OrganizationMembers_Operations.MAKE_OWNER]: { purpose: 'Offered to an owner on an active member who is not an owner yet.', whenToUse: 'Adding a second owner, or handing ownership over.' },\n [OrganizationMembers_Operations.STEP_DOWN_AS_OWNER]: { purpose: 'Offered to an owner on their own row only.', whenToUse: 'Once another member is an owner, to give up ownership and stay an administrator.' },\n },\n }),\n);\n"]}
@@ -2,35 +2,36 @@ import { CoreResourceOperation as Op, OrganizationIndustry, OrganizationProfile_
2
2
  export declare const organizationProfilesResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof OrganizationProfile_Operations, Op.READ | Op.UPDATE | Op.DELETE | Op.CREATE, import("zod").ZodObject<{
3
3
  _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
4
4
  organizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
5
- displayName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
6
- domain: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>;
7
- phone: import("zod").ZodOptional<import("zod").ZodString>;
8
- website: import("zod").ZodOptional<import("zod").ZodURL>;
5
+ displayName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>;
6
+ domain: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
7
+ phone: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>;
8
+ website: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodURL>>;
9
9
  description: import("zod").ZodOptional<import("zod").ZodString>;
10
10
  industry: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodEnum<typeof OrganizationIndustry>>>;
11
11
  size: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodEnum<typeof OrganizationSize>>>;
12
12
  founded: import("zod").ZodOptional<import("zod").ZodDate>;
13
- address: import("zod").ZodOptional<import("zod").ZodObject<{
13
+ address: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodObject<{
14
14
  line1: import("zod").ZodString;
15
15
  line2: import("zod").ZodOptional<import("zod").ZodString>;
16
16
  city: import("zod").ZodString;
17
17
  state: import("zod").ZodOptional<import("zod").ZodString>;
18
18
  country: import("zod").ZodString;
19
19
  postalCode: import("zod").ZodString;
20
- }, import("zod/v4/core").$strip>>;
20
+ }, import("zod/v4/core").$strip>>>;
21
21
  timezone: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodString>>;
22
22
  branding: import("zod").ZodDefault<import("zod").ZodObject<{
23
- logo: import("zod").ZodOptional<import("zod").ZodURL>;
24
- favicon: import("zod").ZodOptional<import("zod").ZodURL>;
23
+ logo: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedFileSchema> | import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedMultipleFileSchema>;
24
+ favicon: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedFileSchema> | import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedMultipleFileSchema>;
25
25
  primaryColor: import("zod").ZodOptional<import("zod").ZodString>;
26
26
  secondaryColor: import("zod").ZodOptional<import("zod").ZodString>;
27
+ productName: import("zod").ZodOptional<import("zod").ZodString>;
27
28
  }, import("zod/v4/core").$strip>>;
28
- socialLinks: import("zod").ZodOptional<import("zod").ZodObject<{
29
+ socialLinks: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodObject<{
29
30
  linkedin: import("zod").ZodOptional<import("zod").ZodURL>;
30
31
  twitter: import("zod").ZodOptional<import("zod").ZodURL>;
31
32
  facebook: import("zod").ZodOptional<import("zod").ZodURL>;
32
33
  github: import("zod").ZodOptional<import("zod").ZodURL>;
33
- }, import("zod/v4/core").$strip>>;
34
+ }, import("zod/v4/core").$strip>>>;
34
35
  createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>;
35
36
  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>>>>;
36
37
  }, import("zod/v4/core").$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"organization-profiles.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organization-profiles.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,oBAAoB,EAEpB,8BAA8B,EAC9B,gBAAgB,EAGjB,MAAM,uBAAuB,CAAC;AAwG/B,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAoOrD,CAAC"}
1
+ {"version":3,"file":"organization-profiles.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organization-profiles.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,oBAAoB,EAEpB,8BAA8B,EAC9B,gBAAgB,EAGjB,MAAM,uBAAuB,CAAC;AA2G/B,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAoOrD,CAAC"}
@@ -24,10 +24,12 @@ const ORGANIZATION_PROFILE_EXAMPLE = {
24
24
  },
25
25
  timezone: 'Europe/Luxembourg',
26
26
  branding: {
27
- logo: 'https://cdn.acme.example/brand/logo.svg',
28
- favicon: 'https://cdn.acme.example/brand/favicon.png',
27
+ // Uploaded files (#2979): a reference to the stored file, served publicly by the application while in effect.
28
+ logo: { fileId: '6650c1f2a8b3d4e5f6a7b8c9', updatedAt: '2026-08-20T16:30:00.000Z' },
29
+ favicon: { fileId: '6650c1f2a8b3d4e5f6a7b8ca', updatedAt: '2026-08-20T16:30:00.000Z' },
29
30
  primaryColor: '#635BFF',
30
31
  secondaryColor: '#0A2540',
32
+ productName: 'Acme Workspace',
31
33
  },
32
34
  socialLinks: {
33
35
  linkedin: 'https://www.linkedin.com/company/acme-europe',
@@ -74,10 +76,11 @@ const ORGANIZATION_PROFILE_UPDATE_RESPONSE_EXAMPLE = {
74
76
  };
75
77
  const ORGANIZATION_PROFILE_BRANDING_REQUEST_EXAMPLE = {
76
78
  branding: {
77
- logo: 'https://cdn.acme.example/brand/logo-2026.svg',
78
- favicon: 'https://cdn.acme.example/brand/favicon-2026.png',
79
+ logo: { fileId: '6650c1f2a8b3d4e5f6a7b8cb', updatedAt: '2026-08-21T09:05:00.000Z' },
80
+ favicon: { fileId: '6650c1f2a8b3d4e5f6a7b8cc', updatedAt: '2026-08-21T09:05:00.000Z' },
79
81
  primaryColor: '#4F46E5',
80
82
  secondaryColor: '#111827',
83
+ productName: 'Acme Workspace',
81
84
  },
82
85
  };
83
86
  const ORGANIZATION_PROFILE_BRANDING_RESPONSE_EXAMPLE = {
@@ -192,7 +195,7 @@ export const organizationProfilesResourceSpecification = resourceSpecificationFr
192
195
  founded: schemaShape.founded.dateSpec({ meaning: 'Date associated with the organization’s founding for profile and directory presentation.' }),
193
196
  address: schemaShape.address.objectSpec({ meaning: 'Primary organization address, including ISO two-letter country code and postal information.' }),
194
197
  timezone: schemaShape.timezone.stringSpec({ meaning: 'Default IANA timezone used when organization-facing surfaces need a local time context.' }),
195
- branding: schemaShape.branding.objectSpec({ meaning: 'Organization-specific logo, favicon and colors. The logo, primary color and favicon are shown on the organization\u2019s sign-in card (the favicon in the browser tab while the card is on screen). A verified organization domain can supply login branding independently of enabled SSO connections. The identification name comes from the organization record. Fallback depends on the consuming surface: authentication identification can use the application logo, while an omitted tenant primary color remains absent; it does not use the email-brand palette.' }),
198
+ branding: schemaShape.branding.objectSpec({ meaning: 'Organization-specific logo, favicon, colors and product name. The logo and favicon are UPLOADED images (PNG or JPEG for the logo, PNG or ICO for the favicon), served publicly by the application at its organization-branding address so a sign-in page and an email can show them. All of it is SERVED only while the organization holds the custom-branding entitlement (`CoreFeature.CUSTOM_BRANDING`); when it lapses, the application\u2019s brand returns everywhere and what the organization set is kept, not deleted. While in effect: the logo, primary color, favicon and product name are shown on the organization\u2019s sign-in card (the favicon in the browser tab while the card is on screen); inside the application the primary color replaces the brand roles of the application\u2019s design system (the primary fill and its label, the focus ring, the sidebar\u2019s primary label and ring) with the application\u2019s contrast kept, the second color seeds the accent gradient (only beside a primary color, since the gradient runs from one to the other), the logo replaces the application\u2019s mark and the product name its name in the sidebar and menubar and the browser title; emails sent for the organization carry its logo, its product name and a button derived from its color. Never on public or legal pages, OAuth consent or the security emails (sign-in codes, alerts, password reset), which speak for the application. A verified organization domain can supply login branding independently of enabled SSO connections. The identification name is the product name, else the organization record\u2019s name.' }),
196
199
  socialLinks: schemaShape.socialLinks.objectSpec({ meaning: 'Optional public profile URLs for the organization’s supported social and developer channels.' }),
197
200
  createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When this profile record was created by the organization lifecycle.' }),
198
201
  updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When any stored profile field was last changed.' }),
@@ -247,7 +250,7 @@ export const organizationProfilesResourceSpecification = resourceSpecificationFr
247
250
  ],
248
251
  errorScenarios: [
249
252
  { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited profile fields fail schema validation (e.g. a malformed `website` URL).' },
250
- { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold the organization-manager authority required by this route.' },
253
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold the organization-manager authority required by this route, or the request sets a branding value the stored profile does not hold and the organization lacks the custom-branding entitlement. Sending back the stored branding, or clearing it, needs no entitlement.' },
251
254
  { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No profile record exists for the addressed organization to update.' },
252
255
  ],
253
256
  examples: [{
@@ -280,7 +283,7 @@ export const organizationProfilesResourceSpecification = resourceSpecificationFr
280
283
  ],
281
284
  errorScenarios: [
282
285
  { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The branding bundle fails validation (e.g. an invalid color token or an unsupported logo/favicon asset reference).' },
283
- { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold the organization-admin authority required by this route.' },
286
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold the organization-admin authority required by this route, or the request sets a branding value the stored profile does not hold and the organization lacks the custom-branding entitlement. Clearing the branding needs no entitlement.' },
284
287
  { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No profile record exists for the addressed organization to apply branding to.' },
285
288
  ],
286
289
  examples: [{
@@ -1 +1 @@
1
- {"version":3,"file":"organization-profiles.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organization-profiles.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0CAA0C,IAAI,oCAAoC,EAAE,MAAM,8BAA8B,CAAC;AAClI,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEp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CAAC;YACF,UAAU,EAAE,IAAI;SACjB;KACF;IACD,mBAAmB,EAAE;QACnB,qIAAqI;QACrI,2QAA2Q;KAC5Q;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,EACD,GAAG,EAAE,CAAC,CAAC;IACL,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,yCAAyC,EAAE,SAAS,EAAE,mEAAmE,EAAE;QACjJ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,4CAA4C,EAAE,SAAS,EAAE,2DAA2D,EAAE;QAC9I,CAAC,8BAA8B,CAAC,eAAe,CAAC,EAAE,EAAE,OAAO,EAAE,0DAA0D,EAAE,SAAS,EAAE,sCAAsC,EAAE;KAC7K;CACF,CAAC,CACH,CAAC","sourcesContent":["import { organizationProfilesMainResourceUIBehavior as organizationProfilesUIBehaviorSource } 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 OrganizationIndustry,\n OrganizationProfileSchema,\n OrganizationProfile_Operations,\n OrganizationSize,\n ResourcePrimaryScope,\n organizationProfileResourceConfiguration_InitializationFactory as organizationProfilesFactory,\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 organizationProfilesFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst organizationProfilesResourceUIBehavior = organizationProfilesUIBehaviorSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst ORGANIZATION_PROFILE_EXAMPLE = {\n _id: 'organization_profile_01JEXAMPLE',\n organizationId: 'org_01JEXAMPLE',\n displayName: 'Acme Europe',\n domain: 'acme.example',\n phone: '+352 26 00 00 00',\n website: 'https://www.acme.example',\n description: 'European operations and customer delivery hub for Acme.',\n industry: OrganizationIndustry.TECHNOLOGY,\n size: OrganizationSize.MEDIUM,\n founded: '2018-06-14T00:00:00.000Z',\n address: {\n line1: '12 Boulevard Royal',\n city: 'Luxembourg',\n country: 'LU',\n postalCode: 'L-2449',\n },\n timezone: 'Europe/Luxembourg',\n branding: {\n logo: 'https://cdn.acme.example/brand/logo.svg',\n favicon: 'https://cdn.acme.example/brand/favicon.png',\n primaryColor: '#635BFF',\n secondaryColor: '#0A2540',\n },\n socialLinks: {\n linkedin: 'https://www.linkedin.com/company/acme-europe',\n github: 'https://github.com/acme-europe',\n },\n createdAt: '2026-01-12T09:00:00.000Z',\n updatedAt: '2026-08-20T16:30:00.000Z',\n _version: 7,\n} as const;\n\nconst ORGANIZATION_PROFILE_CONTEXT_EXAMPLE = {\n ...ORGANIZATION_PROFILE_EXAMPLE,\n organization: { _id: ORGANIZATION_PROFILE_EXAMPLE.organizationId },\n} as const;\n\nconst ORGANIZATION_PROFILE_SUMMARY_EXAMPLE = {\n _id: ORGANIZATION_PROFILE_EXAMPLE._id,\n organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId,\n displayName: ORGANIZATION_PROFILE_EXAMPLE.displayName,\n _version: ORGANIZATION_PROFILE_EXAMPLE._version,\n} as const;\n\nconst ORGANIZATION_PROFILE_UPDATE_REQUEST_EXAMPLE = {\n displayName: 'Acme Europe & Middle East',\n website: 'https://emea.acme.example',\n description: 'European and Middle East operations and customer delivery hub for Acme.',\n industry: OrganizationIndustry.TECHNOLOGY,\n size: OrganizationSize.LARGE,\n timezone: 'Europe/Luxembourg',\n address: {\n line1: '12 Boulevard Royal',\n line2: 'Floor 4',\n city: 'Luxembourg',\n country: 'LU',\n postalCode: 'L-2449',\n },\n socialLinks: {\n linkedin: 'https://www.linkedin.com/company/acme-emea',\n github: 'https://github.com/acme-emea',\n },\n} as const;\n\nconst ORGANIZATION_PROFILE_UPDATE_RESPONSE_EXAMPLE = {\n ...ORGANIZATION_PROFILE_EXAMPLE,\n ...ORGANIZATION_PROFILE_UPDATE_REQUEST_EXAMPLE,\n updatedAt: '2026-08-21T08:45:00.000Z',\n _version: 8,\n} as const;\n\nconst ORGANIZATION_PROFILE_BRANDING_REQUEST_EXAMPLE = {\n branding: {\n logo: 'https://cdn.acme.example/brand/logo-2026.svg',\n favicon: 'https://cdn.acme.example/brand/favicon-2026.png',\n primaryColor: '#4F46E5',\n secondaryColor: '#111827',\n },\n} as const;\n\nconst ORGANIZATION_PROFILE_BRANDING_RESPONSE_EXAMPLE = {\n ...ORGANIZATION_PROFILE_EXAMPLE,\n branding: ORGANIZATION_PROFILE_BRANDING_REQUEST_EXAMPLE.branding,\n updatedAt: '2026-08-21T09:10:00.000Z',\n _version: 8,\n} as const;\n\nexport const organizationProfilesResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(organizationProfilesResourceUIBehavior),\n resourceSpecification(\n organizationProfilesFactory,\n OrganizationProfileSchema,\n ({ schemaShape }) => ({\n purpose: 'Business identity and presentation metadata for one organization: company facts, location, branding, and social links.',\n businessRole: 'Gives authorized members and integrations one consistent organization profile for product surfaces, directories, and connected systems.',\n lifecycleRole: 'The profile is created with its organization, evolves through company and brand changes, and is removed with the owning organization.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.ORGANIZATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationProfileSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationProfileResourceConfiguration_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_PROFILES',\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: 'OrganizationProfile_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationProfilesMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Stable identifier of the organization-profile record.',\n whyItMatters: 'Identifies this profile document independently from the organization id used to address the route.',\n }),\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The organization this public/directory profile describes.',\n whyItMatters: 'Ties branding and company facts to exactly one tenant so directory cards and connector metadata resolve per organization and cannot surface another tenant’s profile.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n displayName: schemaShape.displayName.stringSpec({ meaning: 'Customer-facing name when different from the canonical org `name`.' }),\n domain: schemaShape.domain.stringSpec({ meaning: 'Organization-owned internet domain used as profile and directory metadata; it is not an authentication-domain verification claim.' }),\n phone: schemaShape.phone.stringSpec({ meaning: 'Organization contact telephone number as entered by an authorized profile editor.' }),\n website: schemaShape.website.stringSpec({ meaning: 'Primary marketing or product URL for the tenant.' }),\n description: schemaShape.description.stringSpec({ meaning: 'Short organization description for about panels, directories, and connected systems.' }),\n industry: schemaShape.industry.enumSpec({\n meaning: 'Business sector classification for the tenant, used in directory facets and segmentation.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationIndustry',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationIndustry.TECHNOLOGY]: { meaning: 'Technology / software.' },\n [OrganizationIndustry.FINANCE]: { meaning: 'Finance, banking, or insurance.' },\n [OrganizationIndustry.HEALTHCARE]: { meaning: 'Healthcare and life sciences.' },\n [OrganizationIndustry.EDUCATION]: { meaning: 'Education and academia.' },\n [OrganizationIndustry.RETAIL]: { meaning: 'Retail and commerce.' },\n [OrganizationIndustry.MANUFACTURING]: { meaning: 'Manufacturing and industry.' },\n [OrganizationIndustry.CONSULTING]: { meaning: 'Professional services and consulting.' },\n [OrganizationIndustry.MEDIA]: { meaning: 'Media, entertainment, and publishing.' },\n [OrganizationIndustry.GOVERNMENT]: { meaning: 'Government and public sector.' },\n [OrganizationIndustry.NONPROFIT]: { meaning: 'Nonprofit and NGO.' },\n [OrganizationIndustry.OTHER]: { meaning: 'Any sector not covered by the named categories.' },\n },\n }),\n size: schemaShape.size.enumSpec({\n meaning: 'Employee-count band for the tenant, used for directory facets and plan/segment heuristics.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationSize',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationSize.STARTUP]: { meaning: 'Startup, roughly 1–10 employees.' },\n [OrganizationSize.SMALL]: { meaning: 'Small, roughly 11–50 employees.' },\n [OrganizationSize.MEDIUM]: { meaning: 'Medium, roughly 51–200 employees.' },\n [OrganizationSize.LARGE]: { meaning: 'Large, roughly 201–1000 employees.' },\n [OrganizationSize.ENTERPRISE]: { meaning: 'Enterprise, 1000+ employees.' },\n },\n }),\n founded: schemaShape.founded.dateSpec({ meaning: 'Date associated with the organization’s founding for profile and directory presentation.' }),\n address: schemaShape.address.objectSpec({ meaning: 'Primary organization address, including ISO two-letter country code and postal information.' }),\n timezone: schemaShape.timezone.stringSpec({ meaning: 'Default IANA timezone used when organization-facing surfaces need a local time context.' }),\n branding: schemaShape.branding.objectSpec({ meaning: 'Organization-specific logo, favicon and colors. The logo, primary color and favicon are shown on the organization\\u2019s sign-in card (the favicon in the browser tab while the card is on screen). A verified organization domain can supply login branding independently of enabled SSO connections. The identification name comes from the organization record. Fallback depends on the consuming surface: authentication identification can use the application logo, while an omitted tenant primary color remains absent; it does not use the email-brand palette.' }),\n socialLinks: schemaShape.socialLinks.objectSpec({ meaning: 'Optional public profile URLs for the organization’s supported social and developer channels.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When this profile record was created by the organization lifecycle.' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When any stored profile field was last changed.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the addressed organization’s complete profile.',\n outcome: 'The caller receives company facts, location, branding, social links, and the current resource version.',\n whenToUse: 'Use this representation when synchronizing a complete organization profile or rendering a full about/settings surface.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The profile was found and its directory/branding metadata is returned for the addressed organization.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No profile record has been provisioned for the addressed organization in the caller’s scope.' },\n ],\n examples: [{\n title: 'Read the organization profile',\n request: { organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId },\n response: ORGANIZATION_PROFILE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read the organization profile with its configured relationship context.',\n outcome: 'The complete profile is returned with the related organization identifier when that relationship is available.',\n examples: [{\n title: 'Read the profile with organization context',\n request: { organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId },\n response: ORGANIZATION_PROFILE_CONTEXT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact organization-profile identity.',\n outcome: 'Only the profile id, organization id, display name, and current resource version are returned.',\n examples: [{\n title: 'Read the compact organization profile',\n request: { organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId },\n response: ORGANIZATION_PROFILE_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.UPDATE]: {\n purpose: 'Update one or more editable organization-profile fields.',\n outcome: 'The stored profile is changed and the complete updated representation, including its new resource version, is returned.',\n whenToUse: 'Use this operation for company, classification, location, social-link, or combined profile changes. Use the branding operation when the request changes only the brand kit.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The profile fields were patched and the updated profile is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited profile fields fail schema validation (e.g. a malformed `website` URL).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold the organization-manager authority required by this route.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No profile record exists for the addressed organization to update.' },\n ],\n examples: [{\n title: 'Update organization company and directory details',\n request: {\n organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId,\n ...ORGANIZATION_PROFILE_UPDATE_REQUEST_EXAMPLE,\n },\n response: ORGANIZATION_PROFILE_UPDATE_RESPONSE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the organization profile row when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The eager-seeded singleton profile row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization profile record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (ORG_ADMIN) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n [OrganizationProfile_Operations.UPDATE_BRANDING]: {\n operationId: OrganizationProfile_Operations.UPDATE_BRANDING,\n purpose: 'Replace the organization-specific logo, favicon and colors as one brand kit.',\n outcome: 'The brand kit is validated, stored, and returned inside the complete updated profile with its new resource version.',\n whenToUse: 'Use this operation for a branding-only change that should not carry unrelated company-profile fields.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The brand kit (colors, logo, favicon) was applied and the updated profile is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The branding bundle fails validation (e.g. an invalid color token or an unsupported logo/favicon asset reference).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold the organization-admin authority required by this route.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No profile record exists for the addressed organization to apply branding to.' },\n ],\n examples: [{\n title: 'Replace the organization brand kit',\n request: {\n organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId,\n ...ORGANIZATION_PROFILE_BRANDING_REQUEST_EXAMPLE,\n },\n response: ORGANIZATION_PROFILE_BRANDING_RESPONSE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Each organization owns one profile. The framework creates it with the organization and removes it when the organization is deleted.',\n 'Brand fallbacks depend on the consumer. Identification may supply the application logo; an omitted tenant color remains absent. The standard login card preserves application theme tokens and uses a supplied tenant primary color only as a decorative identity accent.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n views: {\n [Op.READ]: { purpose: 'Settings read for company/about panels.', whenToUse: 'Org profile in admin and member-visible about pages when exposed.' },\n [Op.UPDATE]: { purpose: 'General field edits in multi-section form.', whenToUse: 'IT and marketing co-own updates through governance roles.' },\n [OrganizationProfile_Operations.UPDATE_BRANDING]: { purpose: 'Branding wizard path separate from long-form text edits.', whenToUse: 'White-label and theme management UX.' },\n },\n }),\n);\n"]}
1
+ {"version":3,"file":"organization-profiles.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/organizations/resources/organization-profiles.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0CAA0C,IAAI,oCAAoC,EAAE,MAAM,8BAA8B,CAAC;AAClI,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,oBAAoB,EACpB,yBAAyB,EACzB,8BAA8B,EAC9B,gBAAgB,EAChB,oBAAoB,EACpB,8DAA8D,IAAI,2BAA2B,GAC9F,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,sCAAsC,GAAG,oCAAoF,CAAC;AAEpI,MAAM,4BAA4B,GAAG;IACnC,GAAG,EAAE,iCAAiC;IACtC,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;IAC1B,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,kBAAkB;IACzB,OAAO,EAAE,0BAA0B;IACnC,WAAW,EAAE,yDAAyD;IACtE,QAAQ,EAAE,oBAAoB,CAAC,UAAU;IACzC,IAAI,EAAE,gBAAgB,CAAC,MAAM;IAC7B,OAAO,EAAE,0BAA0B;IACnC,OAAO,EAAE;QACP,KAAK,EAAE,oBAAoB;QAC3B,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,QAAQ;KACrB;IACD,QAAQ,EAAE,mBAAmB;IAC7B,QAAQ,EAAE;QACR,8GAA8G;QAC9G,I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gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,wFAAwF,EAAE;aAC3I;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,eAAe,EAAE,IAAI,EAAE,oHAAoH,EAAE;gBAC5K,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,iQAAiQ,EAAE;gBACvT,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,+EAA+E,EAAE;aACtI;YACD,QAAQ,EAAE,CAAC;oBACT,KAAK,EAAE,oCAAoC;oBAC3C,OAAO,EAAE;wBACP,cAAc,EAAE,4BAA4B,CAAC,cAAc;wBAC3D,GAAG,6CAA6C;qBACjD;oBACD,QAAQ,EAAE,8CAA8C;oBACxD,SAAS,EAAE,sBAAsB,CAAC,MAAM;iBACzC,CAAC;YACF,UAAU,EAAE,IAAI;SACjB;KACF;IACD,mBAAmB,EAAE;QACnB,qIAAqI;QACrI,2QAA2Q;KAC5Q;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,EACD,GAAG,EAAE,CAAC,CAAC;IACL,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,yCAAyC,EAAE,SAAS,EAAE,mEAAmE,EAAE;QACjJ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,4CAA4C,EAAE,SAAS,EAAE,2DAA2D,EAAE;QAC9I,CAAC,8BAA8B,CAAC,eAAe,CAAC,EAAE,EAAE,OAAO,EAAE,0DAA0D,EAAE,SAAS,EAAE,sCAAsC,EAAE;KAC7K;CACF,CAAC,CACH,CAAC","sourcesContent":["import { organizationProfilesMainResourceUIBehavior as organizationProfilesUIBehaviorSource } 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 OrganizationIndustry,\n OrganizationProfileSchema,\n OrganizationProfile_Operations,\n OrganizationSize,\n ResourcePrimaryScope,\n organizationProfileResourceConfiguration_InitializationFactory as organizationProfilesFactory,\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 organizationProfilesFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst organizationProfilesResourceUIBehavior = organizationProfilesUIBehaviorSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst ORGANIZATION_PROFILE_EXAMPLE = {\n _id: 'organization_profile_01JEXAMPLE',\n organizationId: 'org_01JEXAMPLE',\n displayName: 'Acme Europe',\n domain: 'acme.example',\n phone: '+352 26 00 00 00',\n website: 'https://www.acme.example',\n description: 'European operations and customer delivery hub for Acme.',\n industry: OrganizationIndustry.TECHNOLOGY,\n size: OrganizationSize.MEDIUM,\n founded: '2018-06-14T00:00:00.000Z',\n address: {\n line1: '12 Boulevard Royal',\n city: 'Luxembourg',\n country: 'LU',\n postalCode: 'L-2449',\n },\n timezone: 'Europe/Luxembourg',\n branding: {\n // Uploaded files (#2979): a reference to the stored file, served publicly by the application while in effect.\n logo: { fileId: '6650c1f2a8b3d4e5f6a7b8c9', updatedAt: '2026-08-20T16:30:00.000Z' },\n favicon: { fileId: '6650c1f2a8b3d4e5f6a7b8ca', updatedAt: '2026-08-20T16:30:00.000Z' },\n primaryColor: '#635BFF',\n secondaryColor: '#0A2540',\n productName: 'Acme Workspace',\n },\n socialLinks: {\n linkedin: 'https://www.linkedin.com/company/acme-europe',\n github: 'https://github.com/acme-europe',\n },\n createdAt: '2026-01-12T09:00:00.000Z',\n updatedAt: '2026-08-20T16:30:00.000Z',\n _version: 7,\n} as const;\n\nconst ORGANIZATION_PROFILE_CONTEXT_EXAMPLE = {\n ...ORGANIZATION_PROFILE_EXAMPLE,\n organization: { _id: ORGANIZATION_PROFILE_EXAMPLE.organizationId },\n} as const;\n\nconst ORGANIZATION_PROFILE_SUMMARY_EXAMPLE = {\n _id: ORGANIZATION_PROFILE_EXAMPLE._id,\n organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId,\n displayName: ORGANIZATION_PROFILE_EXAMPLE.displayName,\n _version: ORGANIZATION_PROFILE_EXAMPLE._version,\n} as const;\n\nconst ORGANIZATION_PROFILE_UPDATE_REQUEST_EXAMPLE = {\n displayName: 'Acme Europe & Middle East',\n website: 'https://emea.acme.example',\n description: 'European and Middle East operations and customer delivery hub for Acme.',\n industry: OrganizationIndustry.TECHNOLOGY,\n size: OrganizationSize.LARGE,\n timezone: 'Europe/Luxembourg',\n address: {\n line1: '12 Boulevard Royal',\n line2: 'Floor 4',\n city: 'Luxembourg',\n country: 'LU',\n postalCode: 'L-2449',\n },\n socialLinks: {\n linkedin: 'https://www.linkedin.com/company/acme-emea',\n github: 'https://github.com/acme-emea',\n },\n} as const;\n\nconst ORGANIZATION_PROFILE_UPDATE_RESPONSE_EXAMPLE = {\n ...ORGANIZATION_PROFILE_EXAMPLE,\n ...ORGANIZATION_PROFILE_UPDATE_REQUEST_EXAMPLE,\n updatedAt: '2026-08-21T08:45:00.000Z',\n _version: 8,\n} as const;\n\nconst ORGANIZATION_PROFILE_BRANDING_REQUEST_EXAMPLE = {\n branding: {\n logo: { fileId: '6650c1f2a8b3d4e5f6a7b8cb', updatedAt: '2026-08-21T09:05:00.000Z' },\n favicon: { fileId: '6650c1f2a8b3d4e5f6a7b8cc', updatedAt: '2026-08-21T09:05:00.000Z' },\n primaryColor: '#4F46E5',\n secondaryColor: '#111827',\n productName: 'Acme Workspace',\n },\n} as const;\n\nconst ORGANIZATION_PROFILE_BRANDING_RESPONSE_EXAMPLE = {\n ...ORGANIZATION_PROFILE_EXAMPLE,\n branding: ORGANIZATION_PROFILE_BRANDING_REQUEST_EXAMPLE.branding,\n updatedAt: '2026-08-21T09:10:00.000Z',\n _version: 8,\n} as const;\n\nexport const organizationProfilesResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(organizationProfilesResourceUIBehavior),\n resourceSpecification(\n organizationProfilesFactory,\n OrganizationProfileSchema,\n ({ schemaShape }) => ({\n purpose: 'Business identity and presentation metadata for one organization: company facts, location, branding, and social links.',\n businessRole: 'Gives authorized members and integrations one consistent organization profile for product surfaces, directories, and connected systems.',\n lifecycleRole: 'The profile is created with its organization, evolves through company and brand changes, and is removed with the owning organization.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.ORGANIZATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationProfileSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationProfileResourceConfiguration_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_PROFILES',\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: 'OrganizationProfile_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationProfilesMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Stable identifier of the organization-profile record.',\n whyItMatters: 'Identifies this profile document independently from the organization id used to address the route.',\n }),\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The organization this public/directory profile describes.',\n whyItMatters: 'Ties branding and company facts to exactly one tenant so directory cards and connector metadata resolve per organization and cannot surface another tenant’s profile.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n displayName: schemaShape.displayName.stringSpec({ meaning: 'Customer-facing name when different from the canonical org `name`.' }),\n domain: schemaShape.domain.stringSpec({ meaning: 'Organization-owned internet domain used as profile and directory metadata; it is not an authentication-domain verification claim.' }),\n phone: schemaShape.phone.stringSpec({ meaning: 'Organization contact telephone number as entered by an authorized profile editor.' }),\n website: schemaShape.website.stringSpec({ meaning: 'Primary marketing or product URL for the tenant.' }),\n description: schemaShape.description.stringSpec({ meaning: 'Short organization description for about panels, directories, and connected systems.' }),\n industry: schemaShape.industry.enumSpec({\n meaning: 'Business sector classification for the tenant, used in directory facets and segmentation.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationIndustry',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationIndustry.TECHNOLOGY]: { meaning: 'Technology / software.' },\n [OrganizationIndustry.FINANCE]: { meaning: 'Finance, banking, or insurance.' },\n [OrganizationIndustry.HEALTHCARE]: { meaning: 'Healthcare and life sciences.' },\n [OrganizationIndustry.EDUCATION]: { meaning: 'Education and academia.' },\n [OrganizationIndustry.RETAIL]: { meaning: 'Retail and commerce.' },\n [OrganizationIndustry.MANUFACTURING]: { meaning: 'Manufacturing and industry.' },\n [OrganizationIndustry.CONSULTING]: { meaning: 'Professional services and consulting.' },\n [OrganizationIndustry.MEDIA]: { meaning: 'Media, entertainment, and publishing.' },\n [OrganizationIndustry.GOVERNMENT]: { meaning: 'Government and public sector.' },\n [OrganizationIndustry.NONPROFIT]: { meaning: 'Nonprofit and NGO.' },\n [OrganizationIndustry.OTHER]: { meaning: 'Any sector not covered by the named categories.' },\n },\n }),\n size: schemaShape.size.enumSpec({\n meaning: 'Employee-count band for the tenant, used for directory facets and plan/segment heuristics.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationSize',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationSize.STARTUP]: { meaning: 'Startup, roughly 1–10 employees.' },\n [OrganizationSize.SMALL]: { meaning: 'Small, roughly 11–50 employees.' },\n [OrganizationSize.MEDIUM]: { meaning: 'Medium, roughly 51–200 employees.' },\n [OrganizationSize.LARGE]: { meaning: 'Large, roughly 201–1000 employees.' },\n [OrganizationSize.ENTERPRISE]: { meaning: 'Enterprise, 1000+ employees.' },\n },\n }),\n founded: schemaShape.founded.dateSpec({ meaning: 'Date associated with the organization’s founding for profile and directory presentation.' }),\n address: schemaShape.address.objectSpec({ meaning: 'Primary organization address, including ISO two-letter country code and postal information.' }),\n timezone: schemaShape.timezone.stringSpec({ meaning: 'Default IANA timezone used when organization-facing surfaces need a local time context.' }),\n branding: schemaShape.branding.objectSpec({ meaning: 'Organization-specific logo, favicon, colors and product name. The logo and favicon are UPLOADED images (PNG or JPEG for the logo, PNG or ICO for the favicon), served publicly by the application at its organization-branding address so a sign-in page and an email can show them. All of it is SERVED only while the organization holds the custom-branding entitlement (`CoreFeature.CUSTOM_BRANDING`); when it lapses, the application\\u2019s brand returns everywhere and what the organization set is kept, not deleted. While in effect: the logo, primary color, favicon and product name are shown on the organization\\u2019s sign-in card (the favicon in the browser tab while the card is on screen); inside the application the primary color replaces the brand roles of the application\\u2019s design system (the primary fill and its label, the focus ring, the sidebar\\u2019s primary label and ring) with the application\\u2019s contrast kept, the second color seeds the accent gradient (only beside a primary color, since the gradient runs from one to the other), the logo replaces the application\\u2019s mark and the product name its name in the sidebar and menubar and the browser title; emails sent for the organization carry its logo, its product name and a button derived from its color. Never on public or legal pages, OAuth consent or the security emails (sign-in codes, alerts, password reset), which speak for the application. A verified organization domain can supply login branding independently of enabled SSO connections. The identification name is the product name, else the organization record\\u2019s name.' }),\n socialLinks: schemaShape.socialLinks.objectSpec({ meaning: 'Optional public profile URLs for the organization’s supported social and developer channels.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When this profile record was created by the organization lifecycle.' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When any stored profile field was last changed.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the addressed organization’s complete profile.',\n outcome: 'The caller receives company facts, location, branding, social links, and the current resource version.',\n whenToUse: 'Use this representation when synchronizing a complete organization profile or rendering a full about/settings surface.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The profile was found and its directory/branding metadata is returned for the addressed organization.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No profile record has been provisioned for the addressed organization in the caller’s scope.' },\n ],\n examples: [{\n title: 'Read the organization profile',\n request: { organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId },\n response: ORGANIZATION_PROFILE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read the organization profile with its configured relationship context.',\n outcome: 'The complete profile is returned with the related organization identifier when that relationship is available.',\n examples: [{\n title: 'Read the profile with organization context',\n request: { organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId },\n response: ORGANIZATION_PROFILE_CONTEXT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact organization-profile identity.',\n outcome: 'Only the profile id, organization id, display name, and current resource version are returned.',\n examples: [{\n title: 'Read the compact organization profile',\n request: { organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId },\n response: ORGANIZATION_PROFILE_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.UPDATE]: {\n purpose: 'Update one or more editable organization-profile fields.',\n outcome: 'The stored profile is changed and the complete updated representation, including its new resource version, is returned.',\n whenToUse: 'Use this operation for company, classification, location, social-link, or combined profile changes. Use the branding operation when the request changes only the brand kit.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The profile fields were patched and the updated profile is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited profile fields fail schema validation (e.g. a malformed `website` URL).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold the organization-manager authority required by this route, or the request sets a branding value the stored profile does not hold and the organization lacks the custom-branding entitlement. Sending back the stored branding, or clearing it, needs no entitlement.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No profile record exists for the addressed organization to update.' },\n ],\n examples: [{\n title: 'Update organization company and directory details',\n request: {\n organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId,\n ...ORGANIZATION_PROFILE_UPDATE_REQUEST_EXAMPLE,\n },\n response: ORGANIZATION_PROFILE_UPDATE_RESPONSE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the organization profile row when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The eager-seeded singleton profile row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization profile record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (ORG_ADMIN) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n [OrganizationProfile_Operations.UPDATE_BRANDING]: {\n operationId: OrganizationProfile_Operations.UPDATE_BRANDING,\n purpose: 'Replace the organization-specific logo, favicon and colors as one brand kit.',\n outcome: 'The brand kit is validated, stored, and returned inside the complete updated profile with its new resource version.',\n whenToUse: 'Use this operation for a branding-only change that should not carry unrelated company-profile fields.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The brand kit (colors, logo, favicon) was applied and the updated profile is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The branding bundle fails validation (e.g. an invalid color token or an unsupported logo/favicon asset reference).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold the organization-admin authority required by this route, or the request sets a branding value the stored profile does not hold and the organization lacks the custom-branding entitlement. Clearing the branding needs no entitlement.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No profile record exists for the addressed organization to apply branding to.' },\n ],\n examples: [{\n title: 'Replace the organization brand kit',\n request: {\n organizationId: ORGANIZATION_PROFILE_EXAMPLE.organizationId,\n ...ORGANIZATION_PROFILE_BRANDING_REQUEST_EXAMPLE,\n },\n response: ORGANIZATION_PROFILE_BRANDING_RESPONSE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Each organization owns one profile. The framework creates it with the organization and removes it when the organization is deleted.',\n 'Brand fallbacks depend on the consumer. Identification may supply the application logo; an omitted tenant color remains absent. The standard login card preserves application theme tokens and uses a supplied tenant primary color only as a decorative identity accent.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n views: {\n [Op.READ]: { purpose: 'Settings read for company/about panels.', whenToUse: 'Org profile in admin and member-visible about pages when exposed.' },\n [Op.UPDATE]: { purpose: 'General field edits in multi-section form.', whenToUse: 'IT and marketing co-own updates through governance roles.' },\n [OrganizationProfile_Operations.UPDATE_BRANDING]: { purpose: 'Branding wizard path separate from long-form text edits.', whenToUse: 'White-label and theme management UX.' },\n },\n }),\n);\n"]}