@wildo-ai/saas-specifications 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (677) hide show
  1. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +10 -8
  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 +14 -13
  4. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts +3 -2
  6. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js +4 -3
  8. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/index.d.ts +31 -15
  10. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/index.js +34 -13
  12. package/dist/esm/_catalogs/schema-org/index.js.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts +2 -2
  14. package/dist/esm/_catalogs/schema-org/product.catalog-spec.js +4 -4
  15. package/dist/esm/_catalogs/schema-org/product.catalog-spec.js.map +1 -1
  16. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts +45 -0
  17. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts.map +1 -0
  18. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js +58 -0
  19. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js.map +1 -0
  20. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +3 -2
  21. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
  22. package/dist/esm/_core/application-specification-family-identity.schemas.js +3 -2
  23. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
  24. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +18 -0
  25. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  26. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +39 -13
  27. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  28. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +43 -13
  29. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  30. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +90 -2
  31. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  32. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +70 -6
  33. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  34. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  35. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +26 -4
  36. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  37. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +14 -0
  38. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
  40. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -1
  41. package/dist/esm/_core/capability-composition/capability-composition-validation.js +1 -0
  42. package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -1
  43. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +21 -2
  44. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
  45. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +20 -1
  46. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
  47. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +11 -32
  48. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  49. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +70 -3
  50. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  51. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +142 -17
  52. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
  53. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +285 -30
  54. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
  55. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +183 -18
  56. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  57. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +165 -18
  58. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  59. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +139 -0
  60. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -0
  61. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +172 -0
  62. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -0
  63. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +306 -0
  64. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -0
  65. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +502 -0
  66. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -0
  67. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +107 -0
  68. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -0
  69. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +118 -0
  70. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -0
  71. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +56 -0
  72. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -0
  73. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +100 -0
  74. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -0
  75. package/dist/esm/_core/composite-view-specification.schemas.js +8 -1
  76. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  77. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -2
  78. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  79. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +3 -2
  80. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  81. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +16 -3
  82. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
  83. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +70 -5
  84. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
  85. package/dist/esm/_core/family-aspects.schemas.d.ts +10 -0
  86. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  87. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  88. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +2 -2
  89. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +1 -0
  90. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  91. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +16 -0
  92. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  93. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +8 -0
  94. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  95. package/dist/esm/_core/index.d.ts +3 -0
  96. package/dist/esm/_core/index.d.ts.map +1 -1
  97. package/dist/esm/_core/index.js +3 -0
  98. package/dist/esm/_core/index.js.map +1 -1
  99. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +5 -0
  100. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
  101. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +3 -1
  102. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -1
  103. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
  104. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +12 -2
  105. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
  106. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +30 -2
  107. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +32 -2
  109. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
  110. package/dist/esm/_core/market/feature-benefit.schemas.js +2 -2
  111. package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
  112. package/dist/esm/_core/market/market-alternative.schemas.js +2 -2
  113. package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
  114. package/dist/esm/_core/market/market-buying-journey.schemas.js +2 -2
  115. package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
  116. package/dist/esm/_core/market/market-category.schemas.js +2 -2
  117. package/dist/esm/_core/market/market-category.schemas.js.map +1 -1
  118. package/dist/esm/_core/market/market-channel.schemas.js +2 -2
  119. package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
  120. package/dist/esm/_core/market/market-gain.schemas.js +2 -2
  121. package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
  122. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  123. package/dist/esm/_core/market/market-icp.schemas.js +2 -2
  124. package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
  125. package/dist/esm/_core/market/market-job.schemas.js +2 -2
  126. package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
  127. package/dist/esm/_core/market/market-message-template.schemas.js +2 -2
  128. package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
  129. package/dist/esm/_core/market/market-objection.schemas.js +2 -2
  130. package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
  131. package/dist/esm/_core/market/market-pain.schemas.js +2 -2
  132. package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
  133. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  134. package/dist/esm/_core/market/market-persona.schemas.js +2 -2
  135. package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
  136. package/dist/esm/_core/market/market-positioning.schemas.js +2 -2
  137. package/dist/esm/_core/market/market-positioning.schemas.js.map +1 -1
  138. package/dist/esm/_core/market/market-proof.schemas.js +2 -2
  139. package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
  140. package/dist/esm/_core/market/market-references.schemas.d.ts +6 -0
  141. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  142. package/dist/esm/_core/market/market-references.schemas.js +6 -0
  143. package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
  144. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +4 -4
  145. package/dist/esm/_core/market/market-tone-of-voice.schemas.js +2 -2
  146. package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
  147. package/dist/esm/_core/market/market-trigger.schemas.js +2 -2
  148. package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
  149. package/dist/esm/_core/market/market.family-aspects.js +1 -1
  150. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  151. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  152. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +6 -1
  153. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  154. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +1 -0
  155. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  156. package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -0
  157. package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
  158. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +1 -0
  159. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  160. package/dist/esm/_core/resource-specification.schemas.d.ts +86 -28
  161. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  162. package/dist/esm/_core/resource-specification.schemas.js +110 -24
  163. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  164. package/dist/esm/_core/utils/retention-clock-field-specs.d.ts +13 -0
  165. package/dist/esm/_core/utils/retention-clock-field-specs.d.ts.map +1 -0
  166. package/dist/esm/_core/utils/retention-clock-field-specs.js +26 -0
  167. package/dist/esm/_core/utils/retention-clock-field-specs.js.map +1 -0
  168. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +31 -6
  169. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
  170. package/dist/esm/_core/website-plan/website-plan.schemas.js +35 -6
  171. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
  172. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +142 -3
  173. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
  174. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +148 -14
  175. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
  176. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +70 -10
  177. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  178. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +98 -11
  179. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  180. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +215 -0
  181. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -0
  182. package/dist/esm/application-creation/application-line.application-creation.schemas.js +253 -0
  183. package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -0
  184. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts +39 -0
  185. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts.map +1 -0
  186. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js +37 -0
  187. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js.map +1 -0
  188. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +5 -49
  189. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  190. package/dist/esm/application-creation/journey.application-creation.schemas.js +25 -60
  191. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  192. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts +28 -0
  193. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts.map +1 -0
  194. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js +32 -0
  195. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js.map +1 -0
  196. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +26 -6
  197. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  198. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +28 -1
  199. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  200. package/dist/esm/application-creation.exports.d.ts +7 -0
  201. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  202. package/dist/esm/application-creation.exports.js +7 -0
  203. package/dist/esm/application-creation.exports.js.map +1 -1
  204. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +1 -1
  205. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +1 -1
  206. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -1
  207. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +24 -1
  208. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  209. package/dist/esm/assurance/assurance-authority-basis.definitions.js +75 -5
  210. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  211. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +6 -0
  212. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  213. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +11 -0
  214. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  215. package/dist/esm/assurance/assurance-document-blueprint-selection.js +22 -3
  216. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  217. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  218. package/dist/esm/assurance/assurance-document-system.definitions.js +39 -6
  219. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  220. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +11 -0
  221. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  222. package/dist/esm/assurance/assurance-document-system.schemas.js +19 -0
  223. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  224. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  225. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +295 -31
  226. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  227. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +7 -0
  228. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  229. package/dist/esm/assurance/assurance-foundation.schemas.js +7 -0
  230. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  231. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  232. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +17 -0
  233. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  234. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +5 -1
  235. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  236. package/dist/esm/assurance/assurance-program-generation.schemas.js +6 -3
  237. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  238. package/dist/esm/assurance/assurance-program.family-aspects.js +1 -1
  239. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
  240. package/dist/esm/assurance/assurance-program.schemas.d.ts +232 -3
  241. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  242. package/dist/esm/assurance/assurance-program.schemas.js +107 -14
  243. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  244. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  245. package/dist/esm/assurance/assurance-source-registry.definitions.js +77 -1
  246. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  247. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  248. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +23 -1
  249. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  250. package/dist/esm/assurance/governed-document-release.d.ts +7 -0
  251. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
  252. package/dist/esm/assurance/governed-document-release.js +11 -2
  253. package/dist/esm/assurance/governed-document-release.js.map +1 -1
  254. package/dist/esm/companion-exports.d.ts +6 -5
  255. package/dist/esm/companion-exports.d.ts.map +1 -1
  256. package/dist/esm/companion-exports.js.map +1 -1
  257. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -0
  258. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  259. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +35 -33
  260. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  261. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  262. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +6 -2
  263. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  264. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  265. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +13 -12
  266. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  267. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  268. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +26 -2
  269. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  270. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  271. package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -4
  272. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  273. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  274. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +11 -9
  275. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  276. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +2 -2
  277. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  278. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -0
  279. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  280. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +45 -32
  281. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  282. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -23
  283. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  284. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +185 -31
  285. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  286. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +2 -1
  287. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  288. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +29 -7
  289. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  290. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  291. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +7 -1
  292. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  293. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  294. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +9 -6
  295. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  296. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
  297. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  298. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +11 -7
  299. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  300. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  301. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +18 -16
  302. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  303. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  304. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +9 -11
  305. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  306. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  307. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +238 -219
  308. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  309. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -24
  310. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  311. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +76 -16
  312. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  313. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +2 -1
  314. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  315. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +28 -6
  316. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  317. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  318. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +29 -11
  319. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  320. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +1 -1
  321. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -1
  322. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +2 -0
  323. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  324. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +13 -12
  325. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  326. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -5
  327. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  328. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  329. package/dist/esm/engine/billing/resources/prices.resource.specification.js +12 -9
  330. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  331. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +7 -4
  332. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  333. package/dist/esm/engine/billing/resources/products.resource.specification.js +36 -16
  334. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  335. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  336. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +13 -10
  337. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  338. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +13 -8
  339. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  340. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +54 -20
  341. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  342. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +30 -4
  343. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  344. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +85 -25
  345. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  346. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +2 -2
  347. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  348. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +15 -2
  349. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  350. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +45 -10
  351. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  352. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +15 -2
  353. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  354. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +52 -12
  355. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  356. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  357. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  358. package/dist/esm/engine/compliance/resources/index.js +1 -0
  359. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  360. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +39 -0
  361. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -0
  362. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +325 -0
  363. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -0
  364. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +23 -0
  365. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -0
  366. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +197 -0
  367. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -0
  368. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  369. package/dist/esm/engine/engine-resource-specifications.registry.js +59 -0
  370. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  371. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  372. package/dist/esm/engine/errors/error-messages.specification.js +69 -0
  373. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  374. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +5 -5
  375. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  376. package/dist/esm/engine/features/resources/application-features.resource.specification.js +9 -10
  377. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  378. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts +5 -5
  379. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +11 -11
  380. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  381. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +5 -5
  382. package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -3
  383. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  384. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  385. package/dist/esm/engine/files/resources/files.resource.specification.js +7 -8
  386. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  387. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  388. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +16 -4
  389. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  390. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +1 -1
  391. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  392. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts +11 -0
  393. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -0
  394. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +382 -0
  395. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -0
  396. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +139 -1
  397. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  398. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +150 -4
  399. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  400. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  401. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -1
  402. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  403. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts +3 -0
  404. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -0
  405. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +162 -0
  406. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -0
  407. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts +3 -0
  408. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -0
  409. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +158 -0
  410. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -0
  411. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +2 -1
  412. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
  413. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +16 -9
  414. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
  415. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +1 -1
  416. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
  417. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js +1 -1
  418. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js.map +1 -1
  419. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts +5 -0
  420. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts.map +1 -0
  421. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +79 -0
  422. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -0
  423. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js +1 -1
  424. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js.map +1 -1
  425. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -1
  426. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +3 -1
  427. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -1
  428. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  429. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +5 -4
  430. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  431. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +1 -1
  432. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
  433. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +1 -1
  434. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
  435. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
  436. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  437. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js +1 -1
  438. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js.map +1 -1
  439. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js +2 -2
  440. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js.map +1 -1
  441. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  442. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  443. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +1 -1
  444. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
  445. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -1
  446. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +1 -1
  447. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -1
  448. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +2 -2
  449. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
  450. package/dist/esm/engine/frontend-components/index.d.ts +1 -0
  451. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  452. package/dist/esm/engine/frontend-components/index.js +3 -0
  453. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  454. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +1 -1
  455. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
  456. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js +1 -1
  457. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js.map +1 -1
  458. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js +1 -1
  459. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js.map +1 -1
  460. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js +9 -4
  462. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js.map +1 -1
  463. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
  464. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  465. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  466. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +34 -0
  467. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  468. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  469. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +26 -0
  470. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  471. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +2 -2
  472. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  473. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts +9 -0
  474. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -0
  475. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +122 -0
  476. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -0
  477. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts +9 -0
  478. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -0
  479. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +152 -0
  480. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -0
  481. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts +10 -0
  482. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts.map +1 -0
  483. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js +94 -0
  484. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js.map +1 -0
  485. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts +10 -0
  486. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts.map +1 -0
  487. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +64 -0
  488. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -0
  489. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -1
  490. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -1
  491. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +20 -16
  492. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
  493. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts +9 -0
  494. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -0
  495. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +200 -0
  496. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -0
  497. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  498. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +19 -6
  499. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  500. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts +9 -0
  501. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -0
  502. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +97 -0
  503. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -0
  504. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +8 -0
  505. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  506. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +2 -2
  507. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  508. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +8 -8
  509. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
  510. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  511. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +4 -4
  512. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
  513. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts +9 -0
  514. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts.map +1 -0
  515. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js +153 -0
  516. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js.map +1 -0
  517. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +81 -0
  518. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -0
  519. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +437 -0
  520. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -0
  521. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +112 -0
  522. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -0
  523. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +287 -0
  524. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -0
  525. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +131 -0
  526. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -0
  527. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +594 -0
  528. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -0
  529. package/dist/esm/engine/notifications/resources/index.d.ts +1 -0
  530. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  531. package/dist/esm/engine/notifications/resources/index.js +1 -0
  532. package/dist/esm/engine/notifications/resources/index.js.map +1 -1
  533. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -3
  534. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  535. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +20 -5
  536. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  537. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  538. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +12 -2
  539. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  540. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +6 -6
  541. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  542. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +8 -11
  543. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  544. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +4 -0
  545. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -0
  546. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +62 -0
  547. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -0
  548. package/dist/esm/engine/notifications/system-emails/index.d.ts +2 -1
  549. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  550. package/dist/esm/engine/notifications/system-emails/index.js +4 -2
  551. package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
  552. package/dist/esm/engine/organizations/resources/index.d.ts +2 -0
  553. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  554. package/dist/esm/engine/organizations/resources/index.js +2 -0
  555. package/dist/esm/engine/organizations/resources/index.js.map +1 -1
  556. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +3 -0
  557. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  558. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +40 -12
  559. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  560. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +2 -2
  561. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  562. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +2 -2
  563. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  564. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +0 -1
  565. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  566. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -6
  567. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  568. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  569. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +7 -3
  570. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  571. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  572. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +15 -8
  573. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  574. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +3 -1
  575. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  576. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +36 -21
  577. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  578. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +38 -0
  579. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +1 -0
  580. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +152 -0
  581. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +1 -0
  582. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +106 -0
  583. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +1 -0
  584. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +417 -0
  585. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +1 -0
  586. package/dist/esm/engine/providers/apple.provider.specification.js +1 -1
  587. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  588. package/dist/esm/engine/providers/github.provider.specification.js +1 -1
  589. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  590. package/dist/esm/engine/providers/google-places.provider.specification.d.ts +6 -0
  591. package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -0
  592. package/dist/esm/engine/providers/google-places.provider.specification.js +44 -0
  593. package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -0
  594. package/dist/esm/engine/providers/google.provider.specification.js +1 -1
  595. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  596. package/dist/esm/engine/providers/index.d.ts +2 -0
  597. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  598. package/dist/esm/engine/providers/index.js +5 -1
  599. package/dist/esm/engine/providers/index.js.map +1 -1
  600. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/providers/microsoft.provider.specification.js +10 -6
  602. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  603. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts +6 -0
  604. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -0
  605. package/dist/esm/engine/providers/recaptcha.provider.specification.js +38 -0
  606. package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -0
  607. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  608. package/dist/esm/engine/providers/resend.provider.specification.js +3 -1
  609. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  610. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  611. package/dist/esm/engine/providers/stripe.provider.specification.js +3 -2
  612. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  613. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts +2 -0
  614. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts.map +1 -0
  615. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js +21 -0
  616. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js.map +1 -0
  617. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts +2 -0
  618. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts.map +1 -0
  619. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js +21 -0
  620. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js.map +1 -0
  621. package/dist/esm/engine/roles/index.d.ts +13 -5
  622. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  623. package/dist/esm/engine/roles/index.js +19 -6
  624. package/dist/esm/engine/roles/index.js.map +1 -1
  625. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts +2 -0
  626. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts.map +1 -0
  627. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js +21 -0
  628. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js.map +1 -0
  629. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +7 -0
  630. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -0
  631. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +72 -0
  632. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -0
  633. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +2 -0
  634. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +1 -0
  635. package/dist/esm/engine/roles/org-service-provider.role.specification.js +22 -0
  636. package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +1 -0
  637. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
  638. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  639. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
  640. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  641. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts +1 -1
  642. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  643. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -6
  644. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
  645. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
  646. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  647. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +2 -2
  648. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  649. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +0 -4
  650. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  651. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +0 -3
  652. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  653. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +0 -3
  654. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +7 -7
  656. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  657. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +5 -5
  658. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  659. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +0 -3
  660. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  661. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +11 -18
  662. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  663. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +6 -6
  664. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  665. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  666. package/dist/esm/engine/users/resources/user-self.resource.specification.js +5 -1
  667. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  668. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +8 -5
  669. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  670. package/dist/esm/engine/users/resources/users.resource.specification.js +49 -16
  671. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  672. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  673. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +29 -10
  674. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  675. package/dist/tsconfig.build.tsbuildinfo +1 -1
  676. package/package.json +8 -8
  677. package/dist/assurance/external-framework-mapping.json +0 -1228
@@ -1 +1 @@
1
- {"version":3,"file":"sso-config.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/sso-config.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAE/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAU3E,SAAS,CAAC,CAAC,MAAwC,EAAE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E,kKAAkK,EAAE,EAAE,EAAE;gBACtd,KAAK,EAAE,EAAE,OAAO,EAAE,mIAAmI,EAAE,SAAS,EAAE,0DAA0D,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,qBAAqB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,qGAAqG,EAAE,EAAE,EAAE;aAC1Z;SACF;QACD,KAAK,EAAE;YACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,2JAA2J,EAAE,SAAS,EAAE,4CAA4C,EAAE;YAC5O,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,8IAA8I,EAAE,SAAS,EAAE,oGAAoG,EAAE;YACzR,CAAC,oBAAoB,CAAC,YAAY,CAAC,EAAE,EAAE,OAAO,EAAE,2JAA2J,EAAE,SAAS,EAAE,wDAAwD,EAAE;YAClR,CAAC,oBAAoB,CAAC,aAAa,CAAC,EAAE,EAAE,OAAO,EAAE,sIAAsI,EAAE,SAAS,EAAE,mGAAmG,EAAE;YACzS,CAAC,oBAAoB,CAAC,aAAa,CAAC,EAAE,EAAE,OAAO,EAAE,oGAAoG,EAAE,SAAS,EAAE,wEAAwE,EAAE;SAC7O;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,0CAA0C,GAAG,KAAK,CAAC,gBAAgB,CAAC,uBAAuB,EAAE,yBAAyB,CAAC,CAAC;AACrI,MAAM,CAAC,MAAM,yCAAyC,GAAG,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,EAAE,wBAAwB,CAAC,CAAC","sourcesContent":["import { securityAdminPresets, securityMainPresets } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind } from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n DomainVerificationStatus,\n ResourcePrimaryScope,\n SsoConfig_Operations,\n SsoConfigBaseSchema,\n ssoConfigPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n type ResourceSpecificationConfig,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype RType = CoreResourceType.ORGANIZATION_SSO_CONFIG | CoreResourceType.APPLICATION_SSO_CONFIG;\ntype RMember = 'ORGANIZATION_SSO_CONFIG' | 'APPLICATION_SSO_CONFIG';\ntype Cfg = ReturnType<(typeof ssoConfigPolymorphicFactories)[CoreResourceType.ORGANIZATION_SSO_CONFIG]>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof SsoConfigBaseSchema;\ntype F = ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nfunction r(source: Partial<Record<string, unknown>>, rt: RType, name: string): F {\n const u = source[rt] as F | undefined;\n if (!u) throw new Error(`Missing \"${rt}\" in ${name}.`);\n return u;\n}\nconst scope: Record<RType, ResourcePrimaryScope> = {\n [CoreResourceType.ORGANIZATION_SSO_CONFIG]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_SSO_CONFIG]: ResourcePrimaryScope.APPLICATION,\n};\n\nconst SSO_CONFIG_DOMAIN_EXAMPLE = 'identity.example.com';\n\n/**\n * Builds the three READ representation examples from one policy snapshot so\n * the source specification, generated OpenAPI, and native renderer cannot\n * teach contradictory SSO postures. Scope-specific ownership is injected here\n * rather than duplicated in the organization and application specifications.\n * Secrets and backend-only domain-verification tokens are deliberately absent.\n */\nfunction createSsoConfigExamples(rt: RType) {\n const scopeId = rt === CoreResourceType.ORGANIZATION_SSO_CONFIG ? 'org_01JSSOEXAMPLE' : 'app_01JSSOEXAMPLE';\n const scopeIdentifier = rt === CoreResourceType.ORGANIZATION_SSO_CONFIG\n ? { organizationId: scopeId }\n : { applicationId: scopeId };\n const scopeContext = rt === CoreResourceType.ORGANIZATION_SSO_CONFIG\n ? { organization: { _id: scopeId } }\n : { application: { _id: scopeId } };\n const response = {\n _id: 'ssocfg_01JSSOEXAMPLE',\n enforcement: {\n requireSSO: true,\n allowPasswordFallback: false,\n graceLoginAttempts: 1,\n },\n domains: {\n verifiedDomains: [SSO_CONFIG_DOMAIN_EXAMPLE],\n ssoEnabledDomains: [SSO_CONFIG_DOMAIN_EXAMPLE],\n domainVerificationStatus: {\n [SSO_CONFIG_DOMAIN_EXAMPLE]: DomainVerificationStatus.VERIFIED,\n },\n },\n sessionSettings: {\n singleLogoutEnabled: true,\n },\n emergencyAccess: {\n enabled: true,\n breakGlassAccounts: ['breakglass@identity.example.com', 'breakglass-2@identity.example.com'],\n },\n oauth2ProviderRestrictions: {\n allowedProviders: [],\n blockedProviders: [],\n requireEnterpriseSSOOnly: true,\n },\n socialCredentialOverrides: [],\n createdAt: '2026-08-20T08:00:00.000Z',\n updatedAt: '2026-08-20T08:15:00.000Z',\n ...scopeIdentifier,\n };\n\n return {\n response,\n contextResponse: { ...response, ...scopeContext },\n summaryResponse: {\n _id: response._id,\n enforcement: response.enforcement,\n },\n };\n}\n\nfunction buildBase(rt: RType, member: RMember): ResourceSpecificationConfig<Custom, Core, Main> {\n const examples = createSsoConfigExamples(rt);\n\n return resourceSpecification<Custom, Core, Main>(\n ssoConfigPolymorphicFactories[rt],\n SsoConfigBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'SSO **policy and settings** for a scope: enforcement, email-domain routing, session and audit knobs, and emergency break-glass. Concrete IdP **connections** are `SsoConnection` resources.',\n businessRole: 'The customer-facing “how SSO works here” config separate from one provider’s OIDC/SAML row.',\n lifecycleRole: 'Tightened or relaxed through framework-owned administrative policy services. Email-domain ownership is the one publicly mutable part, through the DNS-challenge operations `claimDomain` / `verifyDomain` / `revokeDomain`.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'SsoConfigBaseSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactoryCollectionEntry: { collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'ssoConfigPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY }, identifierField: 'collectionKey', identifierValue: rt },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: member },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n customEnum: { packageName: '@wildo-ai/saas-models', exportName: 'SsoConfig_Operations', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n frontendConfigurationSourceEntries: [\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'securityMainPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: rt },\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'securityAdminPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: rt },\n ],\n },\n fields: {\n enforcement: schemaShape.enforcement.objectSpec({ meaning: 'Require-SSO, password fallback, admin-only enforcement, and grace attempts — the “hard vs soft” SSO posture for the scope.' }),\n domains: schemaShape.domains.objectSpec({ meaning: 'Email-domain allow and verification state maps, plus whether external domains and hinting are allowed — drives login routing UX.' }),\n sessionSettings: schemaShape.sessionSettings.objectSpec({ meaning: 'SSO session duration, reauth for sensitive, SLO, and concurrent session caps for enterprise expectations.' }),\n socialCredentialOverrides: schemaShape.socialCredentialOverrides.arraySpec({\n meaning: 'Per-scope social-provider OAuth2 credential overrides: when set, this org/app uses its own registered OAuth2 app (client id/secret, plus signed-JWT team/key ids for Apple-style secrets) instead of the platform-level social credentials from AppConfiguration.',\n elementMeaning: 'One provider override — the target `providerRef` plus its scope-owned client credentials. `clientSecret` is a write-only secret (operator-writable, returned to the client masked as `••••••••`); `signedJwtKeyId`/`signedJwtTeamId` are backend-only (never returned). All three are re-injected from the existing record on save when the client sends the mask or omits them.',\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the current SSO policy for org/app admins.',\n outcome: 'Security settings and enforcement preview UIs can hydrate from this op.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO policy document for the scope was found and its enforcement, domains, and session blocks are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org/app admin role required to read the SSO policy.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO policy has been provisioned for this scope yet.' },\n ],\n examples: [{\n title: 'Read the complete SSO policy',\n response: examples.response,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Read the SSO policy with its owning scope context',\n response: examples.contextResponse,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Read the SSO enforcement summary',\n response: examples.summaryResponse,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Bootstrap a policy row (INTERNAL_CALL create in the factory — no public HTTP route; seed / system-context lazy-create only; HIGH risk).',\n outcome: 'First-time SSO policy for a scope in migration or greenfield flows.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'An SSO policy document was provisioned for the scope and returned with its server-assigned id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The enforcement/domains/session blocks fail schema validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform/migration operator; this is a HIGH-risk internal-only (INTERNAL_CALL) bootstrap, not a self-serve create.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'An SSO policy already exists for this scope — the resource is one-per-scope, so a second create collides.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Provision an SSO policy for a scope',\n request: {\n enforcement: { requireSSO: false, allowPasswordFallback: true },\n domains: { allowExternalDomains: false },\n },\n response: {\n _id: 'ssocfg_01HX2…',\n enforcement: { requireSSO: false, allowPasswordFallback: true },\n domains: { allowExternalDomains: false },\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Patch nested blocks of the SSO policy for a scope (API_CALL update — the administrator’s edit door, gated on the same org-admin / app-super-admin roles as the read; HIGH risk). Backend callers that hold no operation — `AuthOrganizationConfigurationService.saveSSOConfig`, `initiateDomainVerification`, `verifyDomainOwnership` — resolve this SAME default through `getServiceOperationPathDefault` on the admin’s execution context, preserving admin audit attribution. It was INTERNAL_CALL and route-less, which left the policy readable by an administrator and writable by nobody.',\n outcome: 'Updated sign-in and routing behavior for subsequent sessions, subject to cache/propagation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO policy was updated and the new enforcement/routing posture for the scope is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The patched enforcement, domains, or session block fails schema validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the HIGH-risk admin role required to rewrite the SSO policy.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO policy exists for this scope to update.' },\n ],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'Internal-only enumeration (INTERNAL_CALL — no public HTTP route) whose single caller is the domain-exclusivity probe behind `claimDomain` / `verifyDomain`.',\n outcome: 'The probe can answer whether any OTHER scope already holds a domain verified — the question that keeps sign-in routing deterministic.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO policy rows visible to the system-context probe are returned.' },\n ],\n // No public API_CALL variant exists: one tenant enumerating every other tenant's SSO\n // policy is the opposite of what this resource is for, so no client-facing errors are\n // documented.\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the SSO policy row when its owning org/app is deleted (composition `onParentDelete` cascade).',\n outcome: 'The one-per-scope SSO policy row is removed together with its parent — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO policy record was deleted as part of the deletion cascade of its owning scope.' },\n ],\n // REPOSITORY_ONLY variant (org/app admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n [SsoConfig_Operations.CLAIM_DOMAIN]: {\n operationId: SsoConfig_Operations.CLAIM_DOMAIN,\n purpose: 'Claim an email domain for this scope and receive the DNS TXT record that proves ownership of it.',\n outcome: 'The domain is recorded as `pending` and a challenge nonce is minted. Publish the returned record at the returned name, then call `verifyDomain`. The claim itself changes no sign-in behavior.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The claim was recorded as `pending` and the response carries the DNS name and the exact TXT value to publish. The value is shown once and cannot be read back.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`domain` is missing or is not a DNS hostname with at least two labels.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org/app admin role that owns domain configuration for this scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another scope already holds this domain verified. It must be revoked there first; the holder is deliberately not named.', errorCode: 'SSO_DOMAIN_VERIFIED_ELSEWHERE' },\n ],\n idempotent: false,\n rateLimitNote: 'Each call mints a fresh nonce and invalidates the previous one, so a claim repeated while an operator is mid-publish resets the challenge.',\n examples: [\n {\n title: 'Claim a corporate email domain',\n request: { domain: SSO_CONFIG_DOMAIN_EXAMPLE },\n response: {\n domain: SSO_CONFIG_DOMAIN_EXAMPLE,\n status: DomainVerificationStatus.PENDING,\n dnsName: `_wildo-verification.${SSO_CONFIG_DOMAIN_EXAMPLE}`,\n dnsRecordValue: 'wildo-domain-verification=6f1c1d2e-2b5a-4f0e-9a3d-7c1b8e5a0d42',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [SsoConfig_Operations.VERIFY_DOMAIN]: {\n operationId: SsoConfig_Operations.VERIFY_DOMAIN,\n purpose: 'Resolve the DNS TXT challenge for a claimed domain and record the outcome.',\n outcome: 'On a match the domain becomes `verified` and sign-ins at it route to this scope’s identity provider. On a miss it becomes `failed` and the response lists the TXT records that were found, so the mismatch is diagnosable without a second tool.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The challenge was resolved. `status` is `verified` or `failed`; a failed check is a result, not an error.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`domain` is missing or malformed.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org/app admin role that owns domain configuration for this scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'No challenge exists for this domain in this scope (claim it first), or another scope verified it while this claim was pending.', errorCode: 'SSO_DOMAIN_NOT_CLAIMED' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Verify a published DNS challenge',\n request: { domain: SSO_CONFIG_DOMAIN_EXAMPLE },\n response: {\n domain: SSO_CONFIG_DOMAIN_EXAMPLE,\n status: DomainVerificationStatus.VERIFIED,\n dnsName: `_wildo-verification.${SSO_CONFIG_DOMAIN_EXAMPLE}`,\n dnsRecordsFound: ['wildo-domain-verification=6f1c1d2e-2b5a-4f0e-9a3d-7c1b8e5a0d42'],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [SsoConfig_Operations.REVOKE_DOMAIN]: {\n operationId: SsoConfig_Operations.REVOKE_DOMAIN,\n purpose: 'Withdraw this scope’s claim on a domain, releasing it for another scope to verify.',\n outcome: 'The domain leaves the claimed list, its status and its nonce, and its `ssoEnabledDomains` entry. New sign-ins at the domain stop routing to this scope; sessions already established are unaffected.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The scope now holds no claim, status or nonce for the domain.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`domain` is missing or malformed.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org/app admin role that owns domain configuration for this scope.' },\n /**\n * 409, not 404 — corrected 2026-09-10 when the refusal was driven over HTTP for the\n * first time. The sibling `verifyDomain` above documents the SAME `errorCode` at 409\n * for the same condition, and only the CONFLICT form can actually carry that code to a\n * client: `sanitizeErrorForClient` allow-lists a refusal's context for VALIDATION /\n * CONFLICT / RATE_LIMIT and strips it whole otherwise, so the 404 form answered a bare\n * `not_found` and this `errorCode` described something no caller could observe.\n */\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This scope holds no claim on that domain, so there is nothing to revoke.', errorCode: 'SSO_DOMAIN_NOT_CLAIMED' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Release a domain before handing it to another scope',\n request: { domain: SSO_CONFIG_DOMAIN_EXAMPLE },\n response: { domain: SSO_CONFIG_DOMAIN_EXAMPLE, revoked: true },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n businessConstraints: [\n 'This resource is the policy document for SSO behavior in-product; individual IdP connection rows (`SsoConnection`) remain the correct place to describe per-provider setup and `TEST_CONNECTION` flows.',\n 'Provisioning has exactly TWO authorities and this row is neither. An interactive sign-in reads the CONNECTION (`SsoConnection.{autoCreateUsers, autoVerifyEmail, defaultRole, roleMapping, groupMapping}`) — per connection, because two IdPs on one tenant may differ. A directory PUSH reads `ScimProvisioningConfig` — per organization, because there is one directory relationship. `SsoConfig.provisioning` was a third, org-wide copy that nothing read; it is gone. Say which of the two a question is about; never describe this resource as governing provisioning.',\n 'A domain grants nothing until it is VERIFIED. `claimDomain` records it as `pending` and mints a DNS-TXT challenge; every routing reader joins the claimed list against `domainVerificationStatus`, so a claim alone never reaches sign-in behavior.',\n 'A domain may be verified for at most ONE scope at a time. Both `claimDomain` and `verifyDomain` refuse with `SSO_DOMAIN_VERIFIED_ELSEWHERE` when another scope holds it — a domain routes sign-ins to exactly one identity provider, and two holders would make that routing depend on which configuration the lookup reached first. Handing a domain over therefore means the current holder revokes before the next one verifies.',\n 'Revocation withdraws routing, never sessions. A verified domain is a routing hint that decides where a NEW sign-in is sent; it is not a credential and confers no standing, so revoking it does not invalidate sessions established while it was verified. Ending those is a separate control (member suspension, user deactivation, the session fence).',\n 'The verification nonce is disclosed exactly once, in the `claimDomain` response. It is backend-only in storage and never returned by a read; an operator who loses it claims again, which mints a new nonce and invalidates the old one.',\n 'A named `emergencyAccess.breakGlassAccounts` entry may sign in with a password past this scope\\'s own SSO requirement, including past an exhausted grace allowance, and is exempt from nothing else — same password, same lockout counters, same rate limits. Every use raises `EMERGENCY_ACCESS_USED` at CRITICAL.',\n 'While that list is non-empty the WHOLE scope keeps a password field on its sign-in page, even under `allowPasswordFallback: false`. Offering it only to the listed accounts would make the sign-in response an oracle for who they are; everyone else is instead refused after presenting a correct credential.',\n 'Break-glass works at organization and application scope alike, and each use is recorded under the scope whose policy granted it — never under an organization an application-scope policy does not have.',\n ],\n }),\n { resourcePrimaryScope: scope[rt] },\n );\n}\n\nfunction build(rt: RType, member: RMember): ResourceSpecificationConfig<Custom, Core, Main> {\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(r(securityMainPresets as Partial<Record<string, unknown>>, rt, 'securityMainPresets')),\n resourceFrontendConfiguration(r(securityAdminPresets as Partial<Record<string, unknown>>, rt, 'securityAdminPresets')),\n ),\n buildBase(rt, member),\n () => ({\n layout: {\n purpose: 'Five section refs in `security` : `enforcement`, `domains`, `session`, `emergency`, `oauth` (provider restrictions and OAuth2 scopes). There is no `audit` section either: the five flags it rendered were inert, and audit behaviour is not configurable per SSO policy — emission follows the operation\\u2019s risk level against `AUTOMATIC_AUDIT_RISK_FLOOR`, retention follows `ApplicationRetentionSchedule`. There is deliberately no `provisioning` section: the block it rendered decided nothing, and on an SSO pane it read as the summary of the two settings that DO decide — the connection\\u2019s own flags and the SCIM provisioning row.',\n displayPurpose: 'Long-form display layout mirrors edit sections for a guided admin walkthrough of SSO security posture.',\n sections: {\n enforcement: { purpose: 'When SSO is mandatory vs optional, and grace for password fallback.', whenToUse: 'First-time SSO hardening in tenant security.', textSlots: { title: { purpose: 'Enforcement heading.' }, description: { purpose: 'Tie to auth flows and any grace counters from factory-enabled checks.' } } },\n domains: { purpose: 'Email-domain routing, verification, and allow lists.', whenToUse: 'Onboarding a new corporate email domain to SSO without opening all addresses globally.', textSlots: { title: { purpose: 'Domains block.' }, description: { purpose: 'DNS verification state is backend-owned; UI may show per-domain badges.' } } },\n session: { purpose: 'Federated logout — whether the SP advertises an SLO endpoint and honours logout in both directions. One row: session duration, step-up reauth and the concurrency limit were removed, each having decided nothing, and the concurrency limit having a live home at `userTypes.<type>.auth.maxConcurrentSessions`.', whenToUse: 'Deciding whether signing out of this application should sign the person out of the IdP.', textSlots: { title: { purpose: 'Session settings.' }, description: { purpose: 'State what SLO does to the IdP session, in both directions.' } } },\n emergency: { purpose: 'The named accounts that may still sign in with a password when the identity provider cannot be reached.', whenToUse: 'Configuring break-glass before an outage, and reviewing who holds it afterwards.', textSlots: { title: { purpose: 'Emergency access.' }, description: { purpose: 'Keep the list small and reviewed: each entry is a standing password path into a tenant that otherwise requires SSO, and every use raises a CRITICAL audit event.' } } },\n oauth: { purpose: 'OAuth2 provider allow/deny, scopes, and tenant restrictions to reduce token theft blast radius in OIDC-based SSO when configured.', whenToUse: 'Locking IdP tenants and scopes in highly regulated orgs.', textSlots: { title: { purpose: 'OAuth restrictions.' }, description: { purpose: 'Complement, not replace, the per-connection OIDC field-level settings in `SsoConnection` resources.' } } },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Addressable read for org in merged main/admin where presets surface SSO policy; app-scoped may suppress views in `variantOverrides`—factory READ remains.', whenToUse: 'Security “SSO” settings in admin consoles.' },\n [Op.UPDATE]: { purpose: 'The administrator’s edit of the policy, declared `notAddressable` so it opens from the READ view rather than adding a rail entry of its own.', whenToUse: 'Any change to enforcement, domains, session or OAuth policy from the Single sign-on settings pane.' },\n [SsoConfig_Operations.CLAIM_DOMAIN]: { purpose: 'Domain-claim action; not addressable in the default `views` array, invoked from the domains section so the returned DNS record can be copied immediately.', whenToUse: 'Onboarding a corporate email domain to enterprise SSO.' },\n [SsoConfig_Operations.VERIFY_DOMAIN]: { purpose: 'Challenge-check action; not addressable in the default `views` array, invoked per claimed domain once its DNS record has propagated.', whenToUse: 'Completing an onboarding after publishing the TXT record, and re-checking after a failed attempt.' },\n [SsoConfig_Operations.REVOKE_DOMAIN]: { purpose: 'Claim-withdrawal action; not addressable in the default `views` array, invoked per claimed domain.', whenToUse: 'Retiring a domain, or releasing it so a different scope can verify it.' },\n },\n }),\n );\n}\n\nexport const organizationSsoConfigResourceSpecification = build(CoreResourceType.ORGANIZATION_SSO_CONFIG, 'ORGANIZATION_SSO_CONFIG');\nexport const applicationSsoConfigResourceSpecification = build(CoreResourceType.APPLICATION_SSO_CONFIG, 'APPLICATION_SSO_CONFIG');\n"]}
1
+ {"version":3,"file":"sso-config.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/sso-config.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBA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YAAY,CAAC,EAAE,EAAE,OAAO,EAAE,2JAA2J,EAAE,SAAS,EAAE,wDAAwD,EAAE;YAClR,CAAC,oBAAoB,CAAC,aAAa,CAAC,EAAE,EAAE,OAAO,EAAE,sIAAsI,EAAE,SAAS,EAAE,mGAAmG,EAAE;YACzS,CAAC,oBAAoB,CAAC,aAAa,CAAC,EAAE,EAAE,OAAO,EAAE,oGAAoG,EAAE,SAAS,EAAE,wEAAwE,EAAE;SAC7O;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,0CAA0C,GAAG,KAAK,CAAC,gBAAgB,CAAC,uBAAuB,EAAE,yBAAyB,CAAC,CAAC;AACrI,MAAM,CAAC,MAAM,yCAAyC,GAAG,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,EAAE,wBAAwB,CAAC,CAAC","sourcesContent":["import { securityAdminPresets, securityMainPresets } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind } from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n DomainVerificationStatus,\n ResourcePrimaryScope,\n SsoConfig_Operations,\n SsoConfigBaseSchema,\n ssoConfigPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n type ResourceSpecificationConfig,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype RType = CoreResourceType.ORGANIZATION_SSO_CONFIG | CoreResourceType.APPLICATION_SSO_CONFIG;\ntype RMember = 'ORGANIZATION_SSO_CONFIG' | 'APPLICATION_SSO_CONFIG';\ntype Cfg = ReturnType<(typeof ssoConfigPolymorphicFactories)[CoreResourceType.ORGANIZATION_SSO_CONFIG]>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof SsoConfigBaseSchema;\ntype F = ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nfunction r(source: Partial<Record<string, unknown>>, rt: RType, name: string): F {\n const u = source[rt] as F | undefined;\n if (!u) throw new Error(`Missing \"${rt}\" in ${name}.`);\n return u;\n}\nconst scope: Record<RType, ResourcePrimaryScope> = {\n [CoreResourceType.ORGANIZATION_SSO_CONFIG]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_SSO_CONFIG]: ResourcePrimaryScope.APPLICATION,\n};\n\nconst SSO_CONFIG_DOMAIN_EXAMPLE = 'identity.example.com';\n\n/**\n * Builds the three READ representation examples from one policy snapshot so\n * the source specification, generated OpenAPI, and native renderer cannot\n * teach contradictory SSO postures. Scope-specific ownership is injected here\n * rather than duplicated in the organization and application specifications.\n * Secrets and backend-only domain-verification tokens are deliberately absent.\n */\nfunction createSsoConfigExamples(rt: RType) {\n const scopeId = rt === CoreResourceType.ORGANIZATION_SSO_CONFIG ? 'org_01JSSOEXAMPLE' : 'app_01JSSOEXAMPLE';\n const scopeIdentifier = rt === CoreResourceType.ORGANIZATION_SSO_CONFIG\n ? { organizationId: scopeId }\n : { applicationId: scopeId };\n const scopeContext = rt === CoreResourceType.ORGANIZATION_SSO_CONFIG\n ? { organization: { _id: scopeId } }\n : { application: { _id: scopeId } };\n const response = {\n _id: 'ssocfg_01JSSOEXAMPLE',\n enforcement: {\n requireSSO: true,\n allowPasswordFallback: false,\n graceLoginAttempts: 1,\n },\n domains: {\n verifiedDomains: [SSO_CONFIG_DOMAIN_EXAMPLE],\n ssoEnabledDomains: [SSO_CONFIG_DOMAIN_EXAMPLE],\n domainVerificationStatus: {\n [SSO_CONFIG_DOMAIN_EXAMPLE]: DomainVerificationStatus.VERIFIED,\n },\n },\n sessionSettings: {\n singleLogoutEnabled: true,\n },\n emergencyAccess: {\n enabled: true,\n breakGlassAccounts: ['breakglass@identity.example.com', 'breakglass-2@identity.example.com'],\n },\n oauth2ProviderRestrictions: {\n allowedProviders: [],\n blockedProviders: [],\n requireEnterpriseSSOOnly: true,\n },\n socialCredentialOverrides: [],\n createdAt: '2026-08-20T08:00:00.000Z',\n updatedAt: '2026-08-20T08:15:00.000Z',\n ...scopeIdentifier,\n };\n\n return {\n response,\n contextResponse: { ...response, ...scopeContext },\n summaryResponse: {\n _id: response._id,\n enforcement: response.enforcement,\n },\n };\n}\n\nfunction buildBase(rt: RType, member: RMember): ResourceSpecificationConfig<Custom, Core, Main> {\n const examples = createSsoConfigExamples(rt);\n\n return resourceSpecification<Custom, Core, Main>(\n ssoConfigPolymorphicFactories[rt],\n SsoConfigBaseSchema,\n ({ schemaShape }) => {\n /*\n * A NESTED leaf is documented where it lives: `fields` keys are top-level, and the labeller reads a nested\n * field's meaning from the spec declared on the leaf itself (registered under its dotted path). This is the\n * one sentence on the SSO policy pane that is a warning rather than a restatement, and it belongs to the\n * field it warns about — the pane's vertical tabs render no section description.\n */\n schemaShape.emergencyAccess.shape.breakGlassAccounts.arraySpec({\n meaning: 'The email addresses of the accounts that may still sign in with a password when SSO is required, for when the identity provider cannot be reached.',\n whyItMatters: 'Each address is a standing way into this scope with a password alone, past its own SSO requirement, so keep the list short and review it. Every use is audited at critical severity.',\n elementMeaning: 'The email address of one break-glass account.',\n });\n return {\n purpose: 'SSO **policy and settings** for a scope: enforcement, email-domain routing, session and audit knobs, and emergency break-glass. Concrete IdP **connections** are `SsoConnection` resources.',\n businessRole: 'The customer-facing “how SSO works here” config separate from one provider’s OIDC/SAML row.',\n lifecycleRole: 'Tightened or relaxed through framework-owned administrative policy services. Email-domain ownership is the one publicly mutable part, through the DNS-challenge operations `claimDomain` / `verifyDomain` / `revokeDomain`.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'SsoConfigBaseSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactoryCollectionEntry: { collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'ssoConfigPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY }, identifierField: 'collectionKey', identifierValue: rt },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: member },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n customEnum: { packageName: '@wildo-ai/saas-models', exportName: 'SsoConfig_Operations', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n frontendConfigurationSourceEntries: [\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'securityMainPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: rt },\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'securityAdminPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: rt },\n ],\n },\n fields: {\n enforcement: schemaShape.enforcement.objectSpec({ meaning: 'Require-SSO, password fallback, admin-only enforcement, and grace attempts — the “hard vs soft” SSO posture for the scope.' }),\n domains: schemaShape.domains.objectSpec({ meaning: 'Email-domain allow and verification state maps, plus whether external domains and hinting are allowed — drives login routing UX.' }),\n sessionSettings: schemaShape.sessionSettings.objectSpec({ meaning: 'SSO session duration, reauth for sensitive, SLO, and concurrent session caps for enterprise expectations.' }),\n emergencyAccess: schemaShape.emergencyAccess.objectSpec({ meaning: 'Break-glass: the named accounts that may bypass this scope\\'s SSO requirement with a password, and the switch that allows them to.' }),\n socialCredentialOverrides: schemaShape.socialCredentialOverrides.arraySpec({\n meaning: 'Per-scope social-provider OAuth2 credential overrides: when set, this org/app uses its own registered OAuth2 app (client id/secret, plus signed-JWT team/key ids for Apple-style secrets) instead of the platform-level social credentials from AppConfiguration.',\n elementMeaning: 'One provider override — the target `providerRef` plus its scope-owned client credentials. `clientSecret` is a write-only secret (operator-writable, returned to the client masked as `••••••••`); `signedJwtKeyId`/`signedJwtTeamId` are backend-only (never returned). All three are re-injected from the existing record on save when the client sends the mask or omits them.',\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the current SSO policy for org/app admins.',\n outcome: 'Security settings and enforcement preview UIs can hydrate from this op.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO policy document for the scope was found and its enforcement, domains, and session blocks are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org/app admin role required to read the SSO policy.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO policy has been provisioned for this scope yet.' },\n ],\n examples: [{\n title: 'Read the complete SSO policy',\n response: examples.response,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Read the SSO policy with its owning scope context',\n response: examples.contextResponse,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Read the SSO enforcement summary',\n response: examples.summaryResponse,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Bootstrap a policy row (INTERNAL_CALL create in the factory — no public HTTP route; seed / system-context lazy-create only; HIGH risk).',\n outcome: 'First-time SSO policy for a scope in migration or greenfield flows.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'An SSO policy document was provisioned for the scope and returned with its server-assigned id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The enforcement/domains/session blocks fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform/migration operator; this is a HIGH-risk internal-only (INTERNAL_CALL) bootstrap, not a self-serve create.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'An SSO policy already exists for this scope — the resource is one-per-scope, so a second create collides.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Provision an SSO policy for a scope',\n request: {\n enforcement: { requireSSO: false, allowPasswordFallback: true },\n domains: { allowExternalDomains: false },\n },\n response: {\n _id: 'ssocfg_01HX2…',\n enforcement: { requireSSO: false, allowPasswordFallback: true },\n domains: { allowExternalDomains: false },\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Patch nested blocks of the SSO policy for a scope (API_CALL update — the administrator’s edit door, gated on the same org-admin / app-super-admin roles as the read; HIGH risk). Backend callers that hold no operation — `AuthOrganizationConfigurationService.saveSSOConfig`, `initiateDomainVerification`, `verifyDomainOwnership` — resolve this SAME default through `getServiceOperationPathDefault` on the admin’s execution context, preserving admin audit attribution. It was INTERNAL_CALL and route-less, which left the policy readable by an administrator and writable by nobody.',\n outcome: 'Updated sign-in and routing behavior for subsequent sessions, subject to cache/propagation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO policy was updated and the new enforcement/routing posture for the scope is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The patched enforcement, domains, or session block fails schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the HIGH-risk admin role required to rewrite the SSO policy.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO policy exists for this scope to update.' },\n ],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'Internal-only enumeration (INTERNAL_CALL — no public HTTP route) whose single caller is the domain-exclusivity probe behind `claimDomain` / `verifyDomain`.',\n outcome: 'The probe can answer whether any OTHER scope already holds a domain verified — the question that keeps sign-in routing deterministic.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO policy rows visible to the system-context probe are returned.' },\n ],\n // No public API_CALL variant exists: one tenant enumerating every other tenant's SSO\n // policy is the opposite of what this resource is for, so no client-facing errors are\n // documented.\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the SSO policy row when its owning org/app is deleted (composition `onParentDelete` cascade).',\n outcome: 'The one-per-scope SSO policy row is removed together with its parent — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO policy record was deleted as part of the deletion cascade of its owning scope.' },\n ],\n // REPOSITORY_ONLY variant (org/app admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n [SsoConfig_Operations.CLAIM_DOMAIN]: {\n operationId: SsoConfig_Operations.CLAIM_DOMAIN,\n purpose: 'Claim an email domain for this scope and receive the DNS TXT record that proves ownership of it.',\n outcome: 'The domain is recorded as `pending` and a challenge nonce is minted. Publish the returned record at the returned name, then call `verifyDomain`. The claim itself changes no sign-in behavior.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The claim was recorded as `pending` and the response carries the DNS name and the exact TXT value to publish. The value is shown once and cannot be read back.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`domain` is missing or is not a DNS hostname with at least two labels.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org/app admin role that owns domain configuration for this scope.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another scope already holds this domain verified. It must be revoked there first; the holder is deliberately not named.', errorCode: 'SSO_DOMAIN_VERIFIED_ELSEWHERE' },\n ],\n idempotent: false,\n rateLimitNote: 'Each call mints a fresh nonce and invalidates the previous one, so a claim repeated while an operator is mid-publish resets the challenge.',\n examples: [\n {\n title: 'Claim a corporate email domain',\n request: { domain: SSO_CONFIG_DOMAIN_EXAMPLE },\n response: {\n domain: SSO_CONFIG_DOMAIN_EXAMPLE,\n status: DomainVerificationStatus.PENDING,\n dnsName: `_wildo-verification.${SSO_CONFIG_DOMAIN_EXAMPLE}`,\n dnsRecordValue: 'wildo-domain-verification=6f1c1d2e-2b5a-4f0e-9a3d-7c1b8e5a0d42',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [SsoConfig_Operations.VERIFY_DOMAIN]: {\n operationId: SsoConfig_Operations.VERIFY_DOMAIN,\n purpose: 'Resolve the DNS TXT challenge for a claimed domain and record the outcome.',\n outcome: 'On a match the domain becomes `verified` and sign-ins at it route to this scope’s identity provider. On a miss it becomes `failed` and the response lists the TXT records that were found, so the mismatch is diagnosable without a second tool.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The challenge was resolved. `status` is `verified` or `failed`; a failed check is a result, not an error.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`domain` is missing or malformed.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org/app admin role that owns domain configuration for this scope.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'No challenge exists for this domain in this scope (claim it first), or another scope verified it while this claim was pending.', errorCode: 'SSO_DOMAIN_NOT_CLAIMED' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Verify a published DNS challenge',\n request: { domain: SSO_CONFIG_DOMAIN_EXAMPLE },\n response: {\n domain: SSO_CONFIG_DOMAIN_EXAMPLE,\n status: DomainVerificationStatus.VERIFIED,\n dnsName: `_wildo-verification.${SSO_CONFIG_DOMAIN_EXAMPLE}`,\n dnsRecordsFound: ['wildo-domain-verification=6f1c1d2e-2b5a-4f0e-9a3d-7c1b8e5a0d42'],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [SsoConfig_Operations.REVOKE_DOMAIN]: {\n operationId: SsoConfig_Operations.REVOKE_DOMAIN,\n purpose: 'Withdraw this scope’s claim on a domain, releasing it for another scope to verify.',\n outcome: 'The domain leaves the claimed list, its status and its nonce, and its `ssoEnabledDomains` entry. New sign-ins at the domain stop routing to this scope; sessions already established are unaffected.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The scope now holds no claim, status or nonce for the domain.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`domain` is missing or malformed.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org/app admin role that owns domain configuration for this scope.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n /**\n * 409, not 404 — corrected 2026-09-10 when the refusal was driven over HTTP for the\n * first time. The sibling `verifyDomain` above documents the SAME `errorCode` at 409\n * for the same condition, and only the CONFLICT form can actually carry that code to a\n * client: `sanitizeErrorForClient` allow-lists a refusal's context for VALIDATION /\n * CONFLICT / RATE_LIMIT and strips it whole otherwise, so the 404 form answered a bare\n * `not_found` and this `errorCode` described something no caller could observe.\n */\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'This scope holds no claim on that domain, so there is nothing to revoke.', errorCode: 'SSO_DOMAIN_NOT_CLAIMED' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Release a domain before handing it to another scope',\n request: { domain: SSO_CONFIG_DOMAIN_EXAMPLE },\n response: { domain: SSO_CONFIG_DOMAIN_EXAMPLE, revoked: true },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n businessConstraints: [\n 'This resource is the policy document for SSO behavior in-product; individual IdP connection rows (`SsoConnection`) remain the correct place to describe per-provider setup and `TEST_CONNECTION` flows.',\n 'Provisioning has exactly TWO authorities and this row is neither. An interactive sign-in reads the CONNECTION (`SsoConnection.{autoCreateUsers, defaultRole, roleMapping, groupMapping}`) — per connection, because two IdPs on one tenant may differ. A directory PUSH reads `ScimProvisioningConfig` — per organization, because there is one directory relationship. `SsoConfig.provisioning` was a third, org-wide copy that nothing read; it is gone. Say which of the two a question is about; never describe this resource as governing provisioning.',\n 'A domain grants nothing until it is VERIFIED. `claimDomain` records it as `pending` and mints a DNS-TXT challenge; every routing reader joins the claimed list against `domainVerificationStatus`, so a claim alone never reaches sign-in behavior.',\n 'A domain may be verified for at most ONE scope at a time. Both `claimDomain` and `verifyDomain` refuse with `SSO_DOMAIN_VERIFIED_ELSEWHERE` when another scope holds it — a domain routes sign-ins to exactly one identity provider, and two holders would make that routing depend on which configuration the lookup reached first. Handing a domain over therefore means the current holder revokes before the next one verifies.',\n 'Revocation withdraws routing, never sessions. A verified domain is a routing hint that decides where a NEW sign-in is sent; it is not a credential and confers no standing, so revoking it does not invalidate sessions established while it was verified. Ending those is a separate control (member suspension, user deactivation, the session fence).',\n 'The verification nonce is disclosed exactly once, in the `claimDomain` response. It is backend-only in storage and never returned by a read; an operator who loses it claims again, which mints a new nonce and invalidates the old one.',\n 'A named `emergencyAccess.breakGlassAccounts` entry may sign in with a password past this scope\\'s own SSO requirement, including past an exhausted grace allowance, and is exempt from nothing else — same password, same lockout counters, same rate limits. Every use raises `EMERGENCY_ACCESS_USED` at CRITICAL.',\n 'While that list is non-empty the WHOLE scope keeps a password field on its sign-in page, even under `allowPasswordFallback: false`. Offering it only to the listed accounts would make the sign-in response an oracle for who they are; everyone else is instead refused after presenting a correct credential.',\n 'Break-glass works at organization and application scope alike, and each use is recorded under the scope whose policy granted it — never under an organization an application-scope policy does not have.',\n ],\n };\n },\n { resourcePrimaryScope: scope[rt] },\n );\n}\n\nfunction build(rt: RType, member: RMember): ResourceSpecificationConfig<Custom, Core, Main> {\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(r(securityMainPresets as Partial<Record<string, unknown>>, rt, 'securityMainPresets')),\n resourceFrontendConfiguration(r(securityAdminPresets as Partial<Record<string, unknown>>, rt, 'securityAdminPresets')),\n ),\n buildBase(rt, member),\n () => ({\n layout: {\n purpose: 'Five section refs in `security` : `enforcement`, `domains`, `session`, `emergency`, `oauth` (provider restrictions and OAuth2 scopes). There is no `audit` section either: the five flags it rendered were inert, and audit behaviour is not configurable per SSO policy — emission follows the operation\\u2019s risk level against `AUTOMATIC_AUDIT_RISK_FLOOR`, retention follows `ApplicationRetentionSchedule`. There is deliberately no `provisioning` section: the block it rendered decided nothing, and on an SSO pane it read as the summary of the two settings that DO decide — the connection\\u2019s own flags and the SCIM provisioning row.',\n displayPurpose: 'One group per vertical tab, as settings rows edited in place. The vertical-tabs container renders no section description, so none is documented: each group is named by its tab. The list card keeps its one value labelled (\"Require SSO\").',\n sections: {\n enforcement: { purpose: 'When SSO is mandatory vs optional, and grace for password fallback.', whenToUse: 'First-time SSO hardening in tenant security.', textSlots: { title: { purpose: 'Enforcement heading.' } } },\n domains: { purpose: 'Email-domain routing, verification, and allow lists.', whenToUse: 'Onboarding a new corporate email domain to SSO without opening all addresses globally.', textSlots: { title: { purpose: 'Domains block.' } } },\n session: { purpose: 'Federated logout — whether the SP advertises an SLO endpoint and honours logout in both directions. One row: session duration, step-up reauth and the concurrency limit were removed, each having decided nothing, and the concurrency limit having a live home at `userTypes.<type>.auth.maxConcurrentSessions`.', whenToUse: 'Deciding whether signing out of this application should sign the person out of the IdP.', textSlots: { title: { purpose: 'Session settings.' } } },\n emergency: { purpose: 'The named accounts that may still sign in with a password when the identity provider cannot be reached.', whenToUse: 'Configuring break-glass before an outage, and reviewing who holds it afterwards.', textSlots: { title: { purpose: 'Emergency access.' } } },\n oauth: { purpose: 'OAuth2 provider allow/deny, scopes, and tenant restrictions to reduce token theft blast radius in OIDC-based SSO when configured.', whenToUse: 'Locking IdP tenants and scopes in highly regulated orgs.', textSlots: { title: { purpose: 'OAuth restrictions.' } } },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Addressable read for org in merged main/admin where presets surface SSO policy; app-scoped may suppress views in `variantOverrides`—factory READ remains.', whenToUse: 'Security “SSO” settings in admin consoles.' },\n [Op.UPDATE]: { purpose: 'The administrator’s edit of the policy, declared `notAddressable` so it opens from the READ view rather than adding a rail entry of its own.', whenToUse: 'Any change to enforcement, domains, session or OAuth policy from the Single sign-on settings pane.' },\n [SsoConfig_Operations.CLAIM_DOMAIN]: { purpose: 'Domain-claim action; not addressable in the default `views` array, invoked from the domains section so the returned DNS record can be copied immediately.', whenToUse: 'Onboarding a corporate email domain to enterprise SSO.' },\n [SsoConfig_Operations.VERIFY_DOMAIN]: { purpose: 'Challenge-check action; not addressable in the default `views` array, invoked per claimed domain once its DNS record has propagated.', whenToUse: 'Completing an onboarding after publishing the TXT record, and re-checking after a failed attempt.' },\n [SsoConfig_Operations.REVOKE_DOMAIN]: { purpose: 'Claim-withdrawal action; not addressable in the default `views` array, invoked per claimed domain.', whenToUse: 'Retiring a domain, or releasing it so a different scope can verify it.' },\n },\n }),\n );\n}\n\nexport const organizationSsoConfigResourceSpecification = build(CoreResourceType.ORGANIZATION_SSO_CONFIG, 'ORGANIZATION_SSO_CONFIG');\nexport const applicationSsoConfigResourceSpecification = build(CoreResourceType.APPLICATION_SSO_CONFIG, 'APPLICATION_SSO_CONFIG');\n"]}
@@ -35,11 +35,6 @@ export declare const organizationSsoConnectionsResourceSpecification: ResourceSp
35
35
  readonly TRANSIENT: "urn:oasis:names:tc:SAML:2.0:nameid-format:transient";
36
36
  }>>>;
37
37
  allowIdpInitiated: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
38
- auditSettings: import("zod").ZodObject<{
39
- logAuthAttempts: import("zod").ZodDefault<import("zod").ZodBoolean>;
40
- logAttributeMapping: import("zod").ZodDefault<import("zod").ZodBoolean>;
41
- retentionDays: import("zod").ZodDefault<import("zod").ZodNumber>;
42
- }, import("zod/v4/core").$strip>;
43
38
  }, import("zod/v4/core").$strip>>;
44
39
  oidc: import("zod").ZodOptional<import("zod").ZodObject<{
45
40
  templateMode: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodEnum<{
@@ -93,15 +88,8 @@ export declare const organizationSsoConnectionsResourceSpecification: ResourceSp
93
88
  readonly S256: "S256";
94
89
  readonly PLAIN: "plain";
95
90
  }>>>;
96
- auditSettings: import("zod").ZodObject<{
97
- logAuthAttempts: import("zod").ZodDefault<import("zod").ZodBoolean>;
98
- logTokenExchange: import("zod").ZodDefault<import("zod").ZodBoolean>;
99
- logClaimsMapping: import("zod").ZodDefault<import("zod").ZodBoolean>;
100
- retentionDays: import("zod").ZodDefault<import("zod").ZodNumber>;
101
- }, import("zod/v4/core").$strip>;
102
91
  }, import("zod/v4/core").$strip>>;
103
92
  autoCreateUsers: import("zod").ZodDefault<import("zod").ZodBoolean>;
104
- autoVerifyEmail: import("zod").ZodDefault<import("zod").ZodBoolean>;
105
93
  defaultRole: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>;
106
94
  allowedDomains: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>>>;
107
95
  allowedDirectoryIds: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>>;
@@ -145,11 +133,6 @@ export declare const applicationSsoConnectionsResourceSpecification: ResourceSpe
145
133
  readonly TRANSIENT: "urn:oasis:names:tc:SAML:2.0:nameid-format:transient";
146
134
  }>>>;
147
135
  allowIdpInitiated: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
148
- auditSettings: import("zod").ZodObject<{
149
- logAuthAttempts: import("zod").ZodDefault<import("zod").ZodBoolean>;
150
- logAttributeMapping: import("zod").ZodDefault<import("zod").ZodBoolean>;
151
- retentionDays: import("zod").ZodDefault<import("zod").ZodNumber>;
152
- }, import("zod/v4/core").$strip>;
153
136
  }, import("zod/v4/core").$strip>>;
154
137
  oidc: import("zod").ZodOptional<import("zod").ZodObject<{
155
138
  templateMode: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodEnum<{
@@ -203,15 +186,8 @@ export declare const applicationSsoConnectionsResourceSpecification: ResourceSpe
203
186
  readonly S256: "S256";
204
187
  readonly PLAIN: "plain";
205
188
  }>>>;
206
- auditSettings: import("zod").ZodObject<{
207
- logAuthAttempts: import("zod").ZodDefault<import("zod").ZodBoolean>;
208
- logTokenExchange: import("zod").ZodDefault<import("zod").ZodBoolean>;
209
- logClaimsMapping: import("zod").ZodDefault<import("zod").ZodBoolean>;
210
- retentionDays: import("zod").ZodDefault<import("zod").ZodNumber>;
211
- }, import("zod/v4/core").$strip>;
212
189
  }, import("zod/v4/core").$strip>>;
213
190
  autoCreateUsers: import("zod").ZodDefault<import("zod").ZodBoolean>;
214
- autoVerifyEmail: import("zod").ZodDefault<import("zod").ZodBoolean>;
215
191
  defaultRole: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>;
216
192
  allowedDomains: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>>>;
217
193
  allowedDirectoryIds: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"sso-connections.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/sso-connections.resource.specification.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAG3B,wBAAwB,EAKxB,WAAW,EAEZ,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAML,KAAK,2BAA2B,EACjC,MAAM,6BAA6B,CAAC;AAolBrC,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAG3D,CAAC;AAEF,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAG1D,CAAC"}
1
+ {"version":3,"file":"sso-connections.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/sso-connections.resource.specification.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAG3B,wBAAwB,EAKxB,WAAW,EAEZ,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAML,KAAK,2BAA2B,EACjC,MAAM,6BAA6B,CAAC;AAgpBrC,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAG3D,CAAC;AAEF,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAG1D,CAAC"}
@@ -59,14 +59,8 @@ function createSsoConnectionExamples(resourceType) {
59
59
  forceAuthn: false,
60
60
  nameIdFormat: SamlNameIdFormat.EMAIL_ADDRESS,
61
61
  allowIdpInitiated: false,
62
- auditSettings: {
63
- logAuthAttempts: true,
64
- logAttributeMapping: true,
65
- retentionDays: 90,
66
- },
67
62
  },
68
63
  autoCreateUsers: true,
69
- autoVerifyEmail: true,
70
64
  defaultRole: 'member',
71
65
  allowedDomains: ['example.com'],
72
66
  createdAt: '2026-08-01T09:00:00.000Z',
@@ -185,6 +179,10 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
185
179
  meaning: 'Indicates whether the connection may actively participate in authentication flows.',
186
180
  whyItMatters: 'Disabled connections remain configured for audit or later reuse, but should not be offered for live sign-in attempts.',
187
181
  }),
182
+ isDefault: schemaShape.isDefault.booleanSpec({
183
+ meaning: 'Marks the connection that receives a sign-in when several of the scope\u2019s enabled connections could. Sign-in offers exactly one connection; among eligible connections, one that names the user\u2019s email domain wins first, then the default, then the oldest.',
184
+ whyItMatters: 'It decides which identity provider silently receives a login, which is why it is audit evidence. Making one connection the default removes the flag from the scope\u2019s others in the same write.',
185
+ }),
188
186
  allowedDomains: schemaShape.allowedDomains.arraySpec({
189
187
  meaning: 'Restricts which email/identity domains are accepted through this SSO connection.',
190
188
  whyItMatters: 'It is the primary admin-controlled allow-list that prevents unintended tenants or users from authenticating through this connection — a security-critical setting.',
@@ -195,6 +193,31 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
195
193
  ],
196
194
  },
197
195
  }),
196
+ saml: schemaShape.saml.objectSpec({
197
+ meaning: 'The SAML identity provider this connection federates with: its endpoints and certificates, how strictly its assertions are validated, and which attribute carries each user detail. Present when `protocol` is `saml`.',
198
+ }),
199
+ oidc: schemaShape.oidc.objectSpec({
200
+ meaning: 'The OpenID Connect provider this connection federates with: how its endpoints are found, the client credentials the application uses, what it requests at sign-in, and which claim carries each user detail. Present when `protocol` is `oidc`.',
201
+ }),
202
+ externalProviderId: schemaShape.externalProviderId.stringSpec({
203
+ meaning: 'The known provider this OIDC connection is built on, such as Google or Microsoft. In `template` mode its endpoints come from that provider\'s definition, and in every mode the provider\'s own token rules apply, such as how it reports a verified email or which directory asserted the identity.',
204
+ }),
205
+ autoCreateUsers: schemaShape.autoCreateUsers.booleanSpec({
206
+ meaning: 'Whether a person signing in through this connection for the first time gets an account. When off, only people who already have an account can sign in through it.',
207
+ }),
208
+ defaultRole: schemaShape.defaultRole.stringSpec({
209
+ meaning: 'The organization role a person receives when neither `roleMapping` nor `groupMapping` yields one. Like a mapped role, it is dropped if the organization type does not allow it.',
210
+ }),
211
+ allowedDirectoryIds: schemaShape.allowedDirectoryIds.arraySpec({
212
+ meaning: 'The provider directories this connection accepts identities from, such as Microsoft Entra tenant IDs. Empty means no directory restriction. Independent of `allowedDomains`: a directory can assert an address in a domain it does not own, so only this list proves membership of a directory.',
213
+ elementMeaning: 'One directory identifier as the provider reports it (for Microsoft, the `tid` claim).',
214
+ }),
215
+ roleMapping: schemaShape.roleMapping.objectSpec({
216
+ meaning: 'Translates the role values the provider sends into organization roles: each key is a provider value, each value an organization role. Mapped roles the organization type does not allow are dropped.',
217
+ }),
218
+ groupMapping: schemaShape.groupMapping.objectSpec({
219
+ meaning: 'Translates the groups the provider says a person belongs to into organization roles: each key is a group as the provider sends it (for Microsoft Entra, the group\'s object ID), each value the organization roles its members receive. A person receives the roles of every mapped group they are in, together with those `roleMapping` gives; roles the organization type does not allow are dropped.',
220
+ }),
198
221
  },
199
222
  operations: {
200
223
  [Op.LIST]: {
@@ -207,6 +230,7 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
207
230
  ],
208
231
  errorScenarios: [
209
232
  { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to inspect SSO connection configuration.' },
233
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\'s next request.' },
210
234
  ],
211
235
  idempotent: true,
212
236
  examples: [{
@@ -257,8 +281,9 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
257
281
  { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new SSO connection was created for the auth scope and returned with its server-assigned id.' },
258
282
  ],
259
283
  errorScenarios: [
260
- { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The connection fails schema validation (e.g. a missing `protocol`, an empty `displayName`, or protocol settings that do not match the selected `protocol`).', errorCode: 'VALIDATION_FAILED' },
284
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The connection fails schema validation (e.g. a missing `protocol`, an empty `displayName`, or protocol settings that do not match the selected `protocol`).' },
261
285
  { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to author SSO connections for the scope.' },
286
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The write would grant a role above the writer\'s own (`role_ceiling_exceeded`, #1631): the roles this setting gives to the accounts it creates may not exceed the roles of whoever configures it, counting only roles the write adds. These writes are reached by organization administrators only (no capability opens them), so the check is what stops an administrator mapping a group to `ORG_OWNER`.' },
262
287
  { code: HttpResponseStatusCode.CONFLICT_409, when: 'A connection with the same provider identity (e.g. duplicate `displayName` or issuer) already exists in this auth scope.' },
263
288
  ],
264
289
  idempotent: false,
@@ -290,8 +315,9 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
290
315
  { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connection was updated and its new configuration/lifecycle state is returned.' },
291
316
  ],
292
317
  errorScenarios: [
293
- { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited protocol settings, domains, or display name fail schema validation.', errorCode: 'VALIDATION_FAILED' },
318
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited protocol settings, domains, or display name fail schema validation.' },
294
319
  { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to modify SSO connections.' },
320
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The write would grant a role above the writer\'s own (`role_ceiling_exceeded`, #1631): the roles this setting gives to the accounts it creates may not exceed the roles of whoever configures it, counting only roles the write adds. These writes are reached by organization administrators only (no capability opens them), so the check is what stops an administrator mapping a group to `ORG_OWNER`.' },
295
321
  { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },
296
322
  ],
297
323
  idempotent: true,
@@ -307,6 +333,7 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
307
333
  ],
308
334
  errorScenarios: [
309
335
  { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run an SSO connection test.' },
336
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\'s next request.' },
310
337
  { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id to test.' },
311
338
  ],
312
339
  idempotent: false,
@@ -380,15 +407,16 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
380
407
  },
381
408
  [SsoConnection_Operations.DISCOVER_ENDPOINTS]: {
382
409
  operationId: SsoConnection_Operations.DISCOVER_ENDPOINTS,
383
- purpose: 'Read provider endpoint metadata without creating or mutating an SSO connection. SAML metadata discovery is implemented; OIDC issuer discovery returns an explicit unsupported result.',
384
- outcome: 'The response contains discovered SAML metadata for the caller to review and apply separately, or an OIDC `supported: false` result. This operation never persists the returned values.',
385
- whenToUse: 'Use a `metadataUrl` while preparing SAML configuration. Supplying an `issuerUrl` currently provides only a machine-readable indication that OIDC discovery is unavailable.',
410
+ purpose: 'Read provider endpoint metadata without creating or mutating an SSO connection: a SAML provider from its metadata document (`metadataUrl`), an OpenID Connect provider from its discovery document (`issuerUrl`).',
411
+ outcome: 'The response contains the discovered endpoints for the caller to review and apply separately. For OpenID Connect, the fields carry the connection\u2019s own `oidc.*` names, and `issuer` is exactly as the provider publishes it — the string an ID token\u2019s `iss` must equal. This operation never persists the returned values. When both sources are sent, SAML metadata is read.',
412
+ whenToUse: 'Use a `metadataUrl` while preparing SAML configuration, or an `issuerUrl` while preparing an OpenID Connect one. The OpenID document is fetched fresh on every call, so re-running after fixing the provider shows the change.',
386
413
  responseStatuses: [
387
- { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated discovery result is returned. SAML contains parsed provider metadata; OIDC returns `supported: false` without fetching issuer metadata.' },
414
+ { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated discovery result is returned: parsed SAML metadata, or the OpenID Connect provider\u2019s endpoints.' },
388
415
  ],
389
416
  errorScenarios: [
390
- { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'Neither source is supplied, a URL is malformed or unreachable, the metadata URL resolves to an address an identity-provider destination may not reach (link-local always; a private network unless the operator declared its range in `auth.federatedIdentityProviderPrivateNetworks`; loopback outside a development or test runtime unless explicitly declared), the endpoint answers with a redirect — which is reported, never followed — or the SAML endpoint returns oversized, non-XML, or unparseable metadata.', errorCode: 'VALIDATION_FAILED' },
417
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'Neither source is supplied, a URL is malformed or unreachable, the metadata URL resolves to an address an identity-provider destination may not reach (link-local always; a private network unless the operator declared its range in `auth.federatedIdentityProviderPrivateNetworks`; loopback outside a development or test runtime unless explicitly declared), the endpoint answers with a redirect — which is reported, never followed — or the SAML endpoint returns oversized, non-XML, or unparseable metadata. For `issuerUrl`: the issuer is not HTTPS, its discovery document is not a JSON object or is oversized, lacks an authorization, token or JWKS endpoint, or asserts a different `issuer` — carried as `oidc_discovery_failed` with the reason in its context.' },
391
418
  { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run endpoint discovery.' },
419
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\'s next request.' },
392
420
  ],
393
421
  idempotent: false,
394
422
  examples: [
@@ -408,12 +436,18 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
408
436
  forStatus: HttpResponseStatusCode.OK_200,
409
437
  },
410
438
  {
411
- title: 'OIDC discovery is unavailable',
439
+ title: 'Discover OpenID Connect provider endpoints',
412
440
  request: { issuerUrl: 'https://idp.example.com/oauth2/default' },
413
441
  response: {
414
442
  protocol: SsoProtocol.OIDC,
415
- supported: false,
416
- message: 'OIDC endpoint discovery is not implemented; issuer metadata was not fetched.',
443
+ supported: true,
444
+ issuer: 'https://idp.example.com/oauth2/default',
445
+ authorizationEndpoint: 'https://idp.example.com/oauth2/default/v1/authorize',
446
+ tokenEndpoint: 'https://idp.example.com/oauth2/default/v1/token',
447
+ userInfoEndpoint: 'https://idp.example.com/oauth2/default/v1/userinfo',
448
+ jwksUri: 'https://idp.example.com/oauth2/default/v1/keys',
449
+ scopesSupported: ['openid', 'email', 'profile'],
450
+ source: SsoConnectionDiscoverySource.OIDC_DISCOVERY,
417
451
  },
418
452
  forStatus: HttpResponseStatusCode.OK_200,
419
453
  },
@@ -441,6 +475,32 @@ function buildSsoConnectionsResourceSpecification(resourceType, resourceTypeMemb
441
475
  label: {
442
476
  purpose: 'Use the connection display name as the primary admin label so protocol diagnostics and provider-specific actions stay easy to map to the right external identity provider.',
443
477
  },
478
+ layout: {
479
+ purpose: 'Sections `overview`, `oidc`, `saml` and `provisioning` in the `security` templates, shared by the main and admin lanes of both variants.',
480
+ displayPurpose: 'The header names the connection and carries its protocol badge; the settings rows follow, with no section descriptions. Only the section of the connection\'s own protocol renders. The list card shows the name, the protocol badge and whether the connection is on.',
481
+ sections: {
482
+ overview: {
483
+ purpose: 'Whether the connection is on, whether it is the organization\'s default, and the provider\'s own identifier for it.',
484
+ whenToUse: 'Checking or switching whether this connection is used at sign-in.',
485
+ textSlots: { title: { purpose: 'Connection status (not rendered: the header names the connection).' } },
486
+ },
487
+ oidc: {
488
+ purpose: 'The OpenID Connect settings: discovery, endpoints, client, PKCE, the authentication-strength demands placed on the provider, and claim mapping. Rendered only for an OIDC connection.',
489
+ whenToUse: 'Configuring or diagnosing an OpenID Connect provider.',
490
+ textSlots: { title: { purpose: 'Heading of the OpenID Connect settings of this connection.' } },
491
+ },
492
+ saml: {
493
+ purpose: 'The SAML settings: entity id, sign-on and logout URLs, the provider certificate, signing and assertion requirements, and attribute mapping. Rendered only for a SAML connection.',
494
+ whenToUse: 'Configuring or diagnosing a SAML provider.',
495
+ textSlots: { title: { purpose: 'Heading of the SAML settings of this connection.' } },
496
+ },
497
+ provisioning: {
498
+ purpose: 'What happens to a person the first time they sign in through this connection: whether an account is created, whether the email is trusted, which role they get, which email domains are allowed, and how provider roles and groups map to application roles.',
499
+ whenToUse: 'Deciding who may join through this connection and with what access.',
500
+ textSlots: { title: { purpose: 'Heading of the settings applied to people who sign in through this connection.' } },
501
+ },
502
+ },
503
+ },
444
504
  views: {
445
505
  [SsoConnection_Operations.TEST_CONNECTION]: {
446
506
  purpose: 'Surface an admin-facing validation flow for the configured provider connection.',