@wildo-ai/saas-models 1.1.8 → 1.1.10

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 (951) hide show
  1. package/dist/esm/_inspect.d.ts.map +1 -1
  2. package/dist/esm/_inspect.js.map +1 -1
  3. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts.map +1 -1
  4. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.js.map +1 -1
  5. package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -1
  6. package/dist/esm/applications/application-subject.shared.schemas.js.map +1 -1
  7. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
  8. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
  9. package/dist/esm/applications/applications-context.schemas.d.ts +68 -2
  10. package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
  11. package/dist/esm/applications/applications-context.schemas.js.map +1 -1
  12. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
  13. package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
  14. package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
  15. package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
  16. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
  17. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
  18. package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
  19. package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
  20. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
  21. package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
  22. package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
  23. package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
  24. package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
  25. package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
  26. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts.map +1 -1
  27. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js.map +1 -1
  28. package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
  29. package/dist/esm/billing/credit-pool.shared.schemas.js.map +1 -1
  30. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts.map +1 -1
  31. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js.map +1 -1
  32. package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
  33. package/dist/esm/billing/invoice-ref.shared.schemas.js.map +1 -1
  34. package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
  35. package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
  36. package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
  37. package/dist/esm/billing/price.shared.schemas.js.map +1 -1
  38. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
  39. package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
  40. package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
  41. package/dist/esm/billing/product-definition.shared.schemas.js.map +1 -1
  42. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
  43. package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
  44. package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
  45. package/dist/esm/billing/product.shared.schemas.js.map +1 -1
  46. package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
  47. package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
  48. package/dist/esm/billing/promotions.shared.schemas.d.ts.map +1 -1
  49. package/dist/esm/billing/promotions.shared.schemas.js.map +1 -1
  50. package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts.map +1 -1
  51. package/dist/esm/billing/public-pricing-catalog.shared.atoms.js.map +1 -1
  52. package/dist/esm/billing/public-pricing-catalog.shared.d.ts.map +1 -1
  53. package/dist/esm/billing/public-pricing-catalog.shared.js.map +1 -1
  54. package/dist/esm/billing/referral-reward.shared.schemas.d.ts.map +1 -1
  55. package/dist/esm/billing/referral-reward.shared.schemas.js.map +1 -1
  56. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
  57. package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
  58. package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
  59. package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
  60. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
  61. package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
  62. package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
  63. package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
  64. package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -1
  65. package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.map +1 -1
  66. package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts.map +1 -1
  67. package/dist/esm/billing/usage-record.shared.resources-config.schemas.js.map +1 -1
  68. package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
  69. package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
  70. package/dist/esm/charts/aggregation-query.shared.schemas.d.ts.map +1 -1
  71. package/dist/esm/charts/aggregation-query.shared.schemas.js.map +1 -1
  72. package/dist/esm/charts/aggregation.shared.definitions.d.ts.map +1 -1
  73. package/dist/esm/charts/aggregation.shared.definitions.js.map +1 -1
  74. package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
  75. package/dist/esm/charts/chart-definition-builder.shared.js.map +1 -1
  76. package/dist/esm/companion/artifact-placement.shared.definitions.d.ts.map +1 -1
  77. package/dist/esm/companion/artifact-placement.shared.definitions.js.map +1 -1
  78. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +13 -0
  79. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
  80. package/dist/esm/companion/provider-discovery.shared.schemas.js +13 -0
  81. package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
  82. package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts.map +1 -1
  83. package/dist/esm/companion/shared-library-companion.shared.definitions.js.map +1 -1
  84. package/dist/esm/companion-exports.d.ts.map +1 -1
  85. package/dist/esm/companion-exports.js.map +1 -1
  86. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +1 -1
  87. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  88. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +5 -2
  89. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
  90. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts.map +1 -1
  91. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js.map +1 -1
  92. package/dist/esm/compliance/audit-trails/audit-event-classification.shared.d.ts +28 -0
  93. package/dist/esm/compliance/audit-trails/audit-event-classification.shared.d.ts.map +1 -0
  94. package/dist/esm/compliance/audit-trails/audit-event-classification.shared.js +30 -0
  95. package/dist/esm/compliance/audit-trails/audit-event-classification.shared.js.map +1 -0
  96. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -1
  97. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -1
  98. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
  99. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js.map +1 -1
  100. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +1 -1
  101. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  102. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js +2 -1
  103. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js.map +1 -1
  104. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +20 -0
  105. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
  106. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +40 -0
  107. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
  108. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +1 -14
  109. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
  110. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +1 -16
  111. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
  112. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts +17 -4
  113. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
  114. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +25 -5
  115. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
  116. package/dist/esm/compliance/data-classification/data-classification.shared.schemas.d.ts.map +1 -1
  117. package/dist/esm/compliance/data-classification/data-classification.shared.schemas.js.map +1 -1
  118. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -1
  119. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -1
  120. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts +0 -50
  121. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
  122. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js +4 -51
  123. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
  124. package/dist/esm/compliance/documents/public-governed-documents.shared.d.ts +67 -0
  125. package/dist/esm/compliance/documents/public-governed-documents.shared.d.ts.map +1 -0
  126. package/dist/esm/compliance/documents/public-governed-documents.shared.js +69 -0
  127. package/dist/esm/compliance/documents/public-governed-documents.shared.js.map +1 -0
  128. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -1
  129. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -1
  130. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -1
  131. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -1
  132. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
  133. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
  134. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -1
  135. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -1
  136. package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
  137. package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
  138. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -1
  139. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -1
  140. package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -1
  141. package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -1
  142. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -1
  143. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +1 -1
  144. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -1
  145. package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -1
  146. package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js.map +1 -1
  147. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
  148. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -1
  149. package/dist/esm/compliance/privacy/jurisdiction-containment.shared.d.ts +32 -0
  150. package/dist/esm/compliance/privacy/jurisdiction-containment.shared.d.ts.map +1 -0
  151. package/dist/esm/compliance/privacy/jurisdiction-containment.shared.js +46 -0
  152. package/dist/esm/compliance/privacy/jurisdiction-containment.shared.js.map +1 -0
  153. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts.map +1 -1
  154. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js.map +1 -1
  155. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts.map +1 -1
  156. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js.map +1 -1
  157. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts.map +1 -1
  158. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js.map +1 -1
  159. package/dist/esm/compliance/privacy/legal-notice-obligation.shared.d.ts +47 -0
  160. package/dist/esm/compliance/privacy/legal-notice-obligation.shared.d.ts.map +1 -0
  161. package/dist/esm/compliance/privacy/legal-notice-obligation.shared.js +54 -0
  162. package/dist/esm/compliance/privacy/legal-notice-obligation.shared.js.map +1 -0
  163. package/dist/esm/compliance/privacy/legal-notice.shared.d.ts +105 -0
  164. package/dist/esm/compliance/privacy/legal-notice.shared.d.ts.map +1 -0
  165. package/dist/esm/compliance/privacy/legal-notice.shared.js +112 -0
  166. package/dist/esm/compliance/privacy/legal-notice.shared.js.map +1 -0
  167. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts +1 -27
  168. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
  169. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js +2 -41
  170. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
  171. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +83 -1
  172. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
  173. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +97 -0
  174. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
  175. package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts.map +1 -1
  176. package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.js.map +1 -1
  177. package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -1
  178. package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.js.map +1 -1
  179. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
  180. package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
  181. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts.map +1 -1
  182. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js.map +1 -1
  183. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts.map +1 -1
  184. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js.map +1 -1
  185. package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
  186. package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
  187. package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts.map +1 -1
  188. package/dist/esm/compliance/privacy/retention-binding.shared.utils.js.map +1 -1
  189. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts.map +1 -1
  190. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js.map +1 -1
  191. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts +8 -8
  192. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts.map +1 -1
  193. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js.map +1 -1
  194. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -1
  195. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js.map +1 -1
  196. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts.map +1 -1
  197. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js.map +1 -1
  198. package/dist/esm/compliance/privacy/sharing.shared.schemas.d.ts.map +1 -1
  199. package/dist/esm/compliance/privacy/sharing.shared.schemas.js.map +1 -1
  200. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts.map +1 -1
  201. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js.map +1 -1
  202. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -1
  203. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -1
  204. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
  205. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
  206. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -1
  207. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js.map +1 -1
  208. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
  209. package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
  210. package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -1
  211. package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -1
  212. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts +15 -3
  213. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -1
  214. package/dist/esm/compliance/risk-posture.shared.schemas.js +14 -2
  215. package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -1
  216. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
  217. package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
  218. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +63 -1
  219. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
  220. package/dist/esm/config/app-configuration-shared.shared.schemas.js +11 -0
  221. package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
  222. package/dist/esm/config/app-frontend-type.shared.schemas.d.ts.map +1 -1
  223. package/dist/esm/config/app-frontend-type.shared.schemas.js.map +1 -1
  224. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
  225. package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
  226. package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
  227. package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
  228. package/dist/esm/config/configuration-validation.shared.schemas.d.ts.map +1 -1
  229. package/dist/esm/config/configuration-validation.shared.schemas.js.map +1 -1
  230. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
  231. package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
  232. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +16 -16
  233. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
  234. package/dist/esm/config/frontend/chart-definition.shared.schemas.js.map +1 -1
  235. package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
  236. package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
  237. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
  238. package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
  239. package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
  240. package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
  241. package/dist/esm/config/postgresql.shared.schemas.d.ts.map +1 -1
  242. package/dist/esm/config/postgresql.shared.schemas.js.map +1 -1
  243. package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -1
  244. package/dist/esm/config/registration-acquisition-policy.shared.utils.js.map +1 -1
  245. package/dist/esm/config-authoring.entry.d.ts.map +1 -1
  246. package/dist/esm/config-authoring.entry.js.map +1 -1
  247. package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +1 -1
  248. package/dist/esm/crdt/crdt-merge.shared.utils.js.map +1 -1
  249. package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts.map +1 -1
  250. package/dist/esm/data-seeding/data-seeding-config.shared.schemas.js.map +1 -1
  251. package/dist/esm/errors/caught-error-description.shared.utils.d.ts +5 -1
  252. package/dist/esm/errors/caught-error-description.shared.utils.d.ts.map +1 -1
  253. package/dist/esm/errors/caught-error-description.shared.utils.js +48 -4
  254. package/dist/esm/errors/caught-error-description.shared.utils.js.map +1 -1
  255. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
  256. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
  257. package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
  258. package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
  259. package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
  260. package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
  261. package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
  262. package/dist/esm/errors/errors.shared.utils.js.map +1 -1
  263. package/dist/esm/errors/resource-access-forbidden.shared.error.d.ts.map +1 -1
  264. package/dist/esm/errors/resource-access-forbidden.shared.error.js.map +1 -1
  265. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -1
  266. package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -1
  267. package/dist/esm/errors/zod-issue-formatting.shared.utils.d.ts.map +1 -1
  268. package/dist/esm/errors/zod-issue-formatting.shared.utils.js.map +1 -1
  269. package/dist/esm/exports/tabular-csv.shared.utils.d.ts.map +1 -1
  270. package/dist/esm/exports/tabular-csv.shared.utils.js.map +1 -1
  271. package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts.map +1 -1
  272. package/dist/esm/external-data/external-data-pipeline-description.shared.js.map +1 -1
  273. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts.map +1 -1
  274. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js.map +1 -1
  275. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
  276. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
  277. package/dist/esm/external-data/external-data-provenance.shared.d.ts.map +1 -1
  278. package/dist/esm/external-data/external-data-provenance.shared.js.map +1 -1
  279. package/dist/esm/external-data.exports.d.ts.map +1 -1
  280. package/dist/esm/external-data.exports.js.map +1 -1
  281. package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -1
  282. package/dist/esm/external-providers/compose-provider-registry.shared.js.map +1 -1
  283. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
  284. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
  285. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
  286. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
  287. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -1
  288. package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -1
  289. package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
  290. package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
  291. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +34 -1
  292. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
  293. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.js.map +1 -1
  294. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
  295. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
  296. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -1
  297. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -1
  298. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
  299. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
  300. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -1
  301. package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -1
  302. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts.map +1 -1
  303. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js.map +1 -1
  304. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts.map +1 -1
  305. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js.map +1 -1
  306. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts.map +1 -1
  307. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js.map +1 -1
  308. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -1
  309. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -1
  310. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -1
  311. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -1
  312. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
  313. package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
  314. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
  315. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
  316. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -1
  317. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -1
  318. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
  319. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
  320. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
  321. package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
  322. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts.map +1 -1
  323. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js.map +1 -1
  324. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
  325. package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
  326. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts.map +1 -1
  327. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js.map +1 -1
  328. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts.map +1 -1
  329. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js.map +1 -1
  330. package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -1
  331. package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -1
  332. package/dist/esm/external-providers/provider-usage-cost.shared.d.ts.map +1 -1
  333. package/dist/esm/external-providers/provider-usage-cost.shared.js.map +1 -1
  334. package/dist/esm/external-providers/provider-usage-pricing.example.d.ts.map +1 -1
  335. package/dist/esm/external-providers/provider-usage-pricing.example.js.map +1 -1
  336. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
  337. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js.map +1 -1
  338. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
  339. package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
  340. package/dist/esm/features/connected-feature.example.d.ts.map +1 -1
  341. package/dist/esm/features/connected-feature.example.js.map +1 -1
  342. package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
  343. package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
  344. package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
  345. package/dist/esm/features/feature-builders.shared.js.map +1 -1
  346. package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
  347. package/dist/esm/features/feature-definition.shared.schemas.js.map +1 -1
  348. package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
  349. package/dist/esm/features/feature-registry.shared.js.map +1 -1
  350. package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
  351. package/dist/esm/features/feature-resolution.shared.schemas.js.map +1 -1
  352. package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
  353. package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
  354. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
  355. package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
  356. package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -1
  357. package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -1
  358. package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -1
  359. package/dist/esm/files/file-upload-grant.shared.schemas.js.map +1 -1
  360. package/dist/esm/files/files.shared.resources-config.schemas.d.ts.map +1 -1
  361. package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
  362. package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
  363. package/dist/esm/files/files.shared.schemas.js.map +1 -1
  364. package/dist/esm/files/files.shared.utils.d.ts.map +1 -1
  365. package/dist/esm/files/files.shared.utils.js.map +1 -1
  366. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  367. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.js.map +1 -1
  368. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts.map +1 -1
  369. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.js.map +1 -1
  370. package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts.map +1 -1
  371. package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.js.map +1 -1
  372. package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -1
  373. package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.js.map +1 -1
  374. package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
  375. package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
  376. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
  377. package/dist/esm/flows-actors/agent-traceability.shared.schemas.js.map +1 -1
  378. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts.map +1 -1
  379. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js.map +1 -1
  380. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts.map +1 -1
  381. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js.map +1 -1
  382. package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
  383. package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
  384. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts.map +1 -1
  385. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js.map +1 -1
  386. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +2 -1
  387. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
  388. package/dist/esm/flows-actors/deliberation.shared.schemas.js +2 -1
  389. package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
  390. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -1
  391. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js.map +1 -1
  392. package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts.map +1 -1
  393. package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.js.map +1 -1
  394. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
  395. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
  396. package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts.map +1 -1
  397. package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.js.map +1 -1
  398. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts.map +1 -1
  399. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.js.map +1 -1
  400. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
  401. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
  402. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
  403. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js.map +1 -1
  404. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
  405. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
  406. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts.map +1 -1
  407. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
  408. package/dist/esm/flows-actors/flows-actors.system.shared.definitions.d.ts.map +1 -1
  409. package/dist/esm/flows-actors/flows-actors.system.shared.definitions.js.map +1 -1
  410. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
  411. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
  412. package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
  413. package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
  414. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -1
  415. package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -1
  416. package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
  417. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
  418. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts.map +1 -1
  419. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js.map +1 -1
  420. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts.map +1 -1
  421. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js.map +1 -1
  422. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts.map +1 -1
  423. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js.map +1 -1
  424. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts.map +1 -1
  425. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js.map +1 -1
  426. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts.map +1 -1
  427. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js.map +1 -1
  428. package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
  429. package/dist/esm/flows-actors/prompt-ir.shared.schemas.js.map +1 -1
  430. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -1
  431. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -1
  432. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -1
  433. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -1
  434. package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts.map +1 -1
  435. package/dist/esm/flows-actors/review-deadlines.shared.schemas.js.map +1 -1
  436. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
  437. package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
  438. package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts.map +1 -1
  439. package/dist/esm/flows-actors/work-attribution.shared.schemas.js.map +1 -1
  440. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts.map +1 -1
  441. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map +1 -1
  442. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -1
  443. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -1
  444. package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
  445. package/dist/esm/guidance/guidance-flow.shared.schemas.js.map +1 -1
  446. package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.d.ts.map +1 -1
  447. package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.js.map +1 -1
  448. package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
  449. package/dist/esm/guidance/guidance-state.shared.schemas.js.map +1 -1
  450. package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -1
  451. package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -1
  452. package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts +2 -2
  453. package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +1 -1
  454. package/dist/esm/guidance/lifecycle-config.shared.schemas.js.map +1 -1
  455. package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.d.ts.map +1 -1
  456. package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.js.map +1 -1
  457. package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
  458. package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
  459. package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
  460. package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
  461. package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
  462. package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
  463. package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -1
  464. package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -1
  465. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
  466. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.js.map +1 -1
  467. package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
  468. package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
  469. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -1
  470. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
  471. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
  472. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
  473. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts.map +1 -1
  474. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js.map +1 -1
  475. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts.map +1 -1
  476. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js.map +1 -1
  477. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -1
  478. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -1
  479. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -1
  480. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -1
  481. package/dist/esm/i18n/application-config-vocabulary.shared.d.ts.map +1 -1
  482. package/dist/esm/i18n/application-config-vocabulary.shared.js.map +1 -1
  483. package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts.map +1 -1
  484. package/dist/esm/i18n/engine-open-vocabulary-values.shared.js.map +1 -1
  485. package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts.map +1 -1
  486. package/dist/esm/i18n/engine-open-vocabulary.shared.js.map +1 -1
  487. package/dist/esm/i18n/interpolate-label-params.shared.utils.d.ts.map +1 -1
  488. package/dist/esm/i18n/interpolate-label-params.shared.utils.js.map +1 -1
  489. package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
  490. package/dist/esm/i18n/labelling.dto.shared.schemas.js.map +1 -1
  491. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts.map +1 -1
  492. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js.map +1 -1
  493. package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts.map +1 -1
  494. package/dist/esm/inbound/conversation-threads.shared.schemas.js.map +1 -1
  495. package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts.map +1 -1
  496. package/dist/esm/inbound/inbound-channels.shared.schemas.js.map +1 -1
  497. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts.map +1 -1
  498. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js.map +1 -1
  499. package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts.map +1 -1
  500. package/dist/esm/inbound/inbound-delivery.shared.schemas.js.map +1 -1
  501. package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts.map +1 -1
  502. package/dist/esm/inbound/inbound-endpoint-env.shared.js.map +1 -1
  503. package/dist/esm/index.d.ts +5 -0
  504. package/dist/esm/index.d.ts.map +1 -1
  505. package/dist/esm/index.js +5 -0
  506. package/dist/esm/index.js.map +1 -1
  507. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -1
  508. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -1
  509. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -1
  510. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -1
  511. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -1
  512. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -1
  513. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -1
  514. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -1
  515. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -1
  516. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -1
  517. package/dist/esm/meta-workflows/elicitation-depth.meta-workflows.shared.schemas.d.ts +128 -0
  518. package/dist/esm/meta-workflows/elicitation-depth.meta-workflows.shared.schemas.d.ts.map +1 -0
  519. package/dist/esm/meta-workflows/elicitation-depth.meta-workflows.shared.schemas.js +136 -0
  520. package/dist/esm/meta-workflows/elicitation-depth.meta-workflows.shared.schemas.js.map +1 -0
  521. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +45 -1
  522. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -1
  523. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +87 -2
  524. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -1
  525. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -1
  526. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -1
  527. package/dist/esm/meta-workflows.exports.d.ts +1 -0
  528. package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
  529. package/dist/esm/meta-workflows.exports.js +1 -0
  530. package/dist/esm/meta-workflows.exports.js.map +1 -1
  531. package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
  532. package/dist/esm/monitoring/monitoring.shared.schemas.js.map +1 -1
  533. package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
  534. package/dist/esm/notifications/email/email-context.shared.schemas.js.map +1 -1
  535. package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -1
  536. package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -1
  537. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
  538. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
  539. package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -1
  540. package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
  541. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts.map +1 -1
  542. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js.map +1 -1
  543. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts.map +1 -1
  544. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js.map +1 -1
  545. package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.d.ts.map +1 -1
  546. package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.js.map +1 -1
  547. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  548. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
  549. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
  550. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
  551. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
  552. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
  553. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
  554. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
  555. package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
  556. package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
  557. package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
  558. package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
  559. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
  560. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
  561. package/dist/esm/notifications/notifications.shared.schemas.d.ts +5 -3
  562. package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
  563. package/dist/esm/notifications/notifications.shared.schemas.js +5 -3
  564. package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
  565. package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -1
  566. package/dist/esm/organizations/application-owner-organization.shared.schemas.js.map +1 -1
  567. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts.map +1 -1
  568. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
  569. package/dist/esm/organizations/organization-features.shared.schemas.d.ts.map +1 -1
  570. package/dist/esm/organizations/organization-features.shared.schemas.js.map +1 -1
  571. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
  572. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
  573. package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
  574. package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
  575. package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.d.ts.map +1 -1
  576. package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.js.map +1 -1
  577. package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
  578. package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
  579. package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  580. package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.js.map +1 -1
  581. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
  582. package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
  583. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts.map +1 -1
  584. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.js.map +1 -1
  585. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
  586. package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
  587. package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts.map +1 -1
  588. package/dist/esm/organizations/organization-unit-inheritance.shared.js.map +1 -1
  589. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts.map +1 -1
  590. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js.map +1 -1
  591. package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
  592. package/dist/esm/organizations/organization-unit-members.shared.schemas.js.map +1 -1
  593. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
  594. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js.map +1 -1
  595. package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -1
  596. package/dist/esm/organizations/organization-unit-narrowing.example.js.map +1 -1
  597. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
  598. package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
  599. package/dist/esm/organizations/organization-units.shared.path.d.ts.map +1 -1
  600. package/dist/esm/organizations/organization-units.shared.path.js.map +1 -1
  601. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
  602. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
  603. package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
  604. package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
  605. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
  606. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
  607. package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
  608. package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
  609. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts.map +1 -1
  610. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js.map +1 -1
  611. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts.map +1 -1
  612. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js.map +1 -1
  613. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts.map +1 -1
  614. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js.map +1 -1
  615. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts.map +1 -1
  616. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js.map +1 -1
  617. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts.map +1 -1
  618. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js.map +1 -1
  619. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts.map +1 -1
  620. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js.map +1 -1
  621. package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts.map +1 -1
  622. package/dist/esm/organizations/service-provider-relationships.shared.schemas.js.map +1 -1
  623. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
  624. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
  625. package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
  626. package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
  627. package/dist/esm/public-runtime/index.d.ts +13 -0
  628. package/dist/esm/public-runtime/index.d.ts.map +1 -1
  629. package/dist/esm/public-runtime/index.js +13 -0
  630. package/dist/esm/public-runtime/index.js.map +1 -1
  631. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
  632. package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
  633. package/dist/esm/queue/jobs.shared.schemas.d.ts +71 -2
  634. package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
  635. package/dist/esm/queue/jobs.shared.schemas.js +85 -2
  636. package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
  637. package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
  638. package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
  639. package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
  640. package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
  641. package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
  642. package/dist/esm/queue/queues.shared.utils.js.map +1 -1
  643. package/dist/esm/queue/rabbitmq-queue-args.shared.d.ts.map +1 -1
  644. package/dist/esm/queue/rabbitmq-queue-args.shared.js.map +1 -1
  645. package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -1
  646. package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -1
  647. package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
  648. package/dist/esm/requests/header-keys.shared.js.map +1 -1
  649. package/dist/esm/requests/http-requests.shared.d.ts.map +1 -1
  650. package/dist/esm/requests/http-requests.shared.js.map +1 -1
  651. package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -1
  652. package/dist/esm/requests/idempotency-key.shared.js.map +1 -1
  653. package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
  654. package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
  655. package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
  656. package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
  657. package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
  658. package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
  659. package/dist/esm/requests/websocket.shared.schemas.d.ts +2 -2
  660. package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
  661. package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
  662. package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
  663. package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
  664. package/dist/esm/resources/collection-query-parameters.shared.d.ts.map +1 -1
  665. package/dist/esm/resources/collection-query-parameters.shared.js.map +1 -1
  666. package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
  667. package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
  668. package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts.map +1 -1
  669. package/dist/esm/resources/embedded-resource-mark.shared.utils.js.map +1 -1
  670. package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
  671. package/dist/esm/resources/relationship-display.shared.schemas.js.map +1 -1
  672. package/dist/esm/resources/resource-status-lifecycle.example.d.ts +100 -0
  673. package/dist/esm/resources/resource-status-lifecycle.example.d.ts.map +1 -0
  674. package/dist/esm/resources/resource-status-lifecycle.example.js +156 -0
  675. package/dist/esm/resources/resource-status-lifecycle.example.js.map +1 -0
  676. package/dist/esm/resources/resources-config.shared.factory.d.ts +25 -1
  677. package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
  678. package/dist/esm/resources/resources-config.shared.factory.js +31 -8
  679. package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
  680. package/dist/esm/resources/resources-config.shared.schemas.d.ts +33 -0
  681. package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
  682. package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
  683. package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
  684. package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
  685. package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
  686. package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
  687. package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
  688. package/dist/esm/resources/resources-serialization.shared.schemas.js.map +1 -1
  689. package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
  690. package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
  691. package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
  692. package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
  693. package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
  694. package/dist/esm/resources/resources.shared.utils.js.map +1 -1
  695. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -1
  696. package/dist/esm/resources/utils/collection-export.shared.utils.js.map +1 -1
  697. package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
  698. package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
  699. package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -1
  700. package/dist/esm/resources/utils/composition-seedability.validation.js.map +1 -1
  701. package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -1
  702. package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.js.map +1 -1
  703. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -1
  704. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -1
  705. package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -1
  706. package/dist/esm/resources/utils/duplicate-relationship-registration.validation.js.map +1 -1
  707. package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -1
  708. package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -1
  709. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts.map +1 -1
  710. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js.map +1 -1
  711. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -1
  712. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -1
  713. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts.map +1 -1
  714. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js.map +1 -1
  715. package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -1
  716. package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.js.map +1 -1
  717. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -1
  718. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -1
  719. package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
  720. package/dist/esm/resources/utils/repository-dto-builder.utils.js.map +1 -1
  721. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts.map +1 -1
  722. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js.map +1 -1
  723. package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -1
  724. package/dist/esm/resources/utils/required-fk-fillability.validation.js.map +1 -1
  725. package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts.map +1 -1
  726. package/dist/esm/resources/utils/resource-operation-type-guards.utils.js.map +1 -1
  727. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
  728. package/dist/esm/resources/utils/resource-polymorphism.factory.js.map +1 -1
  729. package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
  730. package/dist/esm/resources/utils/resource-polymorphism.relationships.js.map +1 -1
  731. package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
  732. package/dist/esm/resources/utils/resource-polymorphism.schemas.js.map +1 -1
  733. package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
  734. package/dist/esm/resources/utils/resource-polymorphism.utils.js.map +1 -1
  735. package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +1 -1
  736. package/dist/esm/resources/utils/resource-subtree.utils.js.map +1 -1
  737. package/dist/esm/resources/utils/resources-config-context-needs.utils.d.ts.map +1 -1
  738. package/dist/esm/resources/utils/resources-config-context-needs.utils.js.map +1 -1
  739. package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
  740. package/dist/esm/resources/utils/resources-config-naming.utils.js.map +1 -1
  741. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +25 -0
  742. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
  743. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js +47 -19
  744. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
  745. package/dist/esm/resources/utils/resources-config-operations.path.utils.d.ts.map +1 -1
  746. package/dist/esm/resources/utils/resources-config-operations.path.utils.js.map +1 -1
  747. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts.map +1 -1
  748. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js.map +1 -1
  749. package/dist/esm/resources/utils/resources-config-operations.utils.d.ts.map +1 -1
  750. package/dist/esm/resources/utils/resources-config-operations.utils.js.map +1 -1
  751. package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
  752. package/dist/esm/resources/utils/resources-serialization.utils.js.map +1 -1
  753. package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
  754. package/dist/esm/resources/utils/resources-summary.utils.js.map +1 -1
  755. package/dist/esm/resources/utils/schema-family-builder.utils.d.ts.map +1 -1
  756. package/dist/esm/resources/utils/schema-family-builder.utils.js.map +1 -1
  757. package/dist/esm/resources/utils/schema-type-inference.utils.d.ts.map +1 -1
  758. package/dist/esm/resources/utils/schema-type-inference.utils.js.map +1 -1
  759. package/dist/esm/resources/utils/schema-type-utils.d.ts.map +1 -1
  760. package/dist/esm/resources/utils/schema-type-utils.js.map +1 -1
  761. package/dist/esm/resources/utils/schema-variant-resolver.utils.d.ts.map +1 -1
  762. package/dist/esm/resources/utils/schema-variant-resolver.utils.js.map +1 -1
  763. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
  764. package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
  765. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
  766. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
  767. package/dist/esm/resources/work-unit.shared.schemas.d.ts.map +1 -1
  768. package/dist/esm/resources/work-unit.shared.schemas.js.map +1 -1
  769. package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
  770. package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
  771. package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
  772. package/dist/esm/runtime/execution-context.shared.schemas.js.map +1 -1
  773. package/dist/esm/runtime/runtime.shared.schemas.d.ts.map +1 -1
  774. package/dist/esm/runtime/runtime.shared.schemas.js.map +1 -1
  775. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
  776. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
  777. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
  778. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
  779. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
  780. package/dist/esm/security/api-keys/api-keys.shared.schemas.js.map +1 -1
  781. package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts.map +1 -1
  782. package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.js.map +1 -1
  783. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
  784. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
  785. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
  786. package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
  787. package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
  788. package/dist/esm/security/authentications/authentication.shared.utils.js.map +1 -1
  789. package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
  790. package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
  791. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -1
  792. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
  793. package/dist/esm/security/authentications/mfa-backup-code-contract.shared.d.ts.map +1 -1
  794. package/dist/esm/security/authentications/mfa-backup-code-contract.shared.js.map +1 -1
  795. package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -1
  796. package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -1
  797. package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts.map +1 -1
  798. package/dist/esm/security/authentications/password-reset.shared.dto.schemas.js.map +1 -1
  799. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
  800. package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
  801. package/dist/esm/security/authentications/same-origin-redirect-path.shared.d.ts.map +1 -1
  802. package/dist/esm/security/authentications/same-origin-redirect-path.shared.js.map +1 -1
  803. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
  804. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
  805. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
  806. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js.map +1 -1
  807. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
  808. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
  809. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
  810. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
  811. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
  812. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js.map +1 -1
  813. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts.map +1 -1
  814. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js.map +1 -1
  815. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
  816. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
  817. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.d.ts.map +1 -1
  818. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.js.map +1 -1
  819. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -1
  820. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -1
  821. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -1
  822. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.map +1 -1
  823. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.d.ts.map +1 -1
  824. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.js.map +1 -1
  825. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts.map +1 -1
  826. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js.map +1 -1
  827. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
  828. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -1
  829. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
  830. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
  831. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
  832. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
  833. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
  834. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
  835. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
  836. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
  837. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
  838. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
  839. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  840. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -1
  841. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -1
  842. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -1
  843. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  844. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
  845. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
  846. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
  847. package/dist/esm/security/authorizations/roles.application-roles.example.d.ts +37 -0
  848. package/dist/esm/security/authorizations/roles.application-roles.example.d.ts.map +1 -0
  849. package/dist/esm/security/authorizations/roles.application-roles.example.js +50 -0
  850. package/dist/esm/security/authorizations/roles.application-roles.example.js.map +1 -0
  851. package/dist/esm/security/authorizations/roles.shared.defaults.d.ts +13 -0
  852. package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
  853. package/dist/esm/security/authorizations/roles.shared.defaults.js +13 -0
  854. package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
  855. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +29 -0
  856. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
  857. package/dist/esm/security/authorizations/roles.shared.schemas.js +28 -0
  858. package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
  859. package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
  860. package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
  861. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts.map +1 -1
  862. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js.map +1 -1
  863. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
  864. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -1
  865. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
  866. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
  867. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
  868. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
  869. package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts.map +1 -1
  870. package/dist/esm/security/credential-rotation-grace.shared.utils.js.map +1 -1
  871. package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.d.ts.map +1 -1
  872. package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.js.map +1 -1
  873. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
  874. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
  875. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
  876. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
  877. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
  878. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
  879. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts.map +1 -1
  880. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.js.map +1 -1
  881. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -1
  882. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -1
  883. package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -1
  884. package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.js.map +1 -1
  885. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -1
  886. package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -1
  887. package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts.map +1 -1
  888. package/dist/esm/security/submission-challenge/submission-challenge.shared.js.map +1 -1
  889. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts.map +1 -1
  890. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js.map +1 -1
  891. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -1
  892. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -1
  893. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -1
  894. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -1
  895. package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -1
  896. package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -1
  897. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -1
  898. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -1
  899. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -1
  900. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -1
  901. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -1
  902. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -1
  903. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -1
  904. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -1
  905. package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
  906. package/dist/esm/testing/resource-config-builders.js.map +1 -1
  907. package/dist/esm/testing.d.ts.map +1 -1
  908. package/dist/esm/testing.js.map +1 -1
  909. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
  910. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -1
  911. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
  912. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
  913. package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
  914. package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
  915. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
  916. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +2 -0
  917. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
  918. package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
  919. package/dist/esm/users/inbound-contacts.shared.schemas.js.map +1 -1
  920. package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -1
  921. package/dist/esm/users/user-consent-decision.shared.utils.js.map +1 -1
  922. package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts.map +1 -1
  923. package/dist/esm/users/user-credentials.shared.resources-config.schemas.js.map +1 -1
  924. package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
  925. package/dist/esm/users/user-credentials.shared.schemas.js.map +1 -1
  926. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
  927. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.js.map +1 -1
  928. package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
  929. package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
  930. package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -1
  931. package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
  932. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  933. package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
  934. package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  935. package/dist/esm/users/user-profiles.shared.resources-config.schemas.js.map +1 -1
  936. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  937. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.map +1 -1
  938. package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  939. package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.js.map +1 -1
  940. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
  941. package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
  942. package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
  943. package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
  944. package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
  945. package/dist/esm/users/users.shared.schemas.js.map +1 -1
  946. package/dist/tsconfig.build.tsbuildinfo +1 -1
  947. package/package.json +4 -4
  948. package/dist/esm/__tests__/setup.d.ts +0 -2
  949. package/dist/esm/__tests__/setup.d.ts.map +0 -1
  950. package/dist/esm/__tests__/setup.js +0 -19
  951. package/dist/esm/__tests__/setup.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"entity-identity-config.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/config/entity-identity-config.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,4BAA4B,EAAE,MAAM,wEAAwE,CAAC;AACtH,OAAO,EAAE,UAAU,EAAE,MAAM,2DAA2D,CAAC;AACvF,OAAO,EAAkB,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACjG,OAAO,EAAE,cAAc,EAAkB,MAAM,iDAAiD,CAAC;AACjG,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,gEAAgE,CAAC;AAUtH,kDAAkD;AAClD,oBAAY,gBAAgB;IAC1B,IAAI,SAAS;IACb,eAAe,oBAAoB;IACnC,UAAU,eAAe;IACzB,QAAQ,aAAa;CACtB;AAED;;;;;;GAMG;AACH,oBAAY,8BAA8B;IACxC,mBAAmB,wBAAwB;IAC3C,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,UAAU,eAAe;IACzB,2BAA2B,gCAAgC;CAC5D;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,oBAAY,4BAA4B;IACtC,2BAA2B;IAC3B,YAAY,iBAAiB;IAC7B,6EAA6E;IAC7E,UAAU,eAAe;CAC1B;AACD,6DAA6D;AAE7D,uCAAuC;AACvC,oBAA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yCAAyC,CACvD,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC,CAAC,GAAG,SAAS,EAClG,eAAe,EAAE,SAAS,MAAM,EAAE,GACjC,0BAA0B,CAS5B"}
1
+ {"version":3,"file":"entity-identity-config.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/config/entity-identity-config.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,4BAA4B,EAAE,MAAM,wEAAwE,CAAC;AACtH,OAAO,EAAE,UAAU,EAAE,MAAM,2DAA2D,CAAC;AACvF,OAAO,EAAkB,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACjG,OAAO,EAAE,cAAc,EAAkB,MAAM,iDAAiD,CAAC;AACjG,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,gEAAgE,CAAC;AAUtH,kDAAkD;AAClD,oBAAY,gBAAgB;IAC1B,IAAI,SAAS;IACb,eAAe,oBAAoB;IACnC,UAAU,eAAe;IACzB,QAAQ,aAAa;CACtB;AAED;;;;;;GAMG;AACH,oBAAY,8BAA8B;IACxC,mBAAmB,wBAAwB;IAC3C,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,UAAU,eAAe;IACzB,2BAA2B,gCAAgC;CAC5D;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,oBAAY,4BAA4B;IACtC,2BAA2B;IAC3B,YAAY,iBAAiB;IAC7B,6EAA6E;IAC7E,UAAU,eAAe;CAC1B;AACD,6DAA6D;AAE7D,uCAAuC;AACvC,oBAAY,qBAAqB;IAC/B;;;;OAIG;IACH,sBAAsB,2BAA2B;IACjD;;;;;;;;;;OAUG;IACH,QAAQ,aAAa;CAC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AAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC,CAAC,GAAG,SAAS,EAClG,eAAe,EAAE,SAAS,MAAM,EAAE,GACjC,0BAA0B,CAS5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"entity-identity-config.shared.schemas.js","sourceRoot":"","sources":["../../../../src/config/entity-identity-config.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,4BAA4B,EAAE,MAAM,wEAAwE,CAAC;AACtH,OAAO,EAAE,UAAU,EAAE,MAAM,2DAA2D,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACjG,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,oCAAoC,EAAE,MAAM,gEAAgE,CAAC;AACtH,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AACnG,OAAO,EAAE,6CAA6C,EAAE,MAAM,oEAAoE,CAAC;AACnI,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,GAC9C,MAAM,sCAAsC,CAAC;AAE9C,+EAA+E;AAE/E,kDAAkD;AAClD,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,iCAAa,CAAA;IACb,uDAAmC,CAAA;IACnC,6CAAyB,CAAA;IACzB,yCAAqB,CAAA;AACvB,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAED;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,8BAMX;AAND,WAAY,8BAA8B;IACxC,6EAA2C,CAAA;IAC3C,uEAAqC,CAAA;IACrC,2EAAyC,CAAA;IACzC,2DAAyB,CAAA;IACzB,6F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sBG;AACH,MAAM,UAAU,yCAAyC,CACvD,iBAAkG,EAClG,eAAkC;IAElC,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjC,OAAO,EAAE,OAAO,EAAE,iCAAiC,CAAC,IAAI,EAAE,CAAC;IAC7D,CAAC;IACD,OAAO,oBAAoB,CACzB,MAAM,CAAC,OAAO,CAAC,iBAAiB,IAAI,EAAE,CAAC;SACpC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC;SACxG,GAAG,CAAC,CAAC,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,gBAAgB,CAAC,CACjD,CAAC;AACJ,CAAC","sourcesContent":["/**\n * Entity & Identity Configuration Schemas\n *\n * Top-level config sections: userTypes, frontendServices, organizationTypes.\n * Defines the identity model for the application (user facets, frontend-surface-to-user-type mapping, org typing).\n *\n * Auth policy is ENTIRELY per-user-type (UserTypeAuthPolicySchema) — no global auth defaults.\n * Global auth (in app-configuration-shared) contains only infrastructure + app-level settings.\n *\n * See:\n * - target-configuration-type.md §2b (UserTypeAuthPolicy)\n * - entity-identity-architecture-analysis.md §4.2\n */\n\nimport { z } from 'zod';\nimport { ExternalAssuranceEnforcement } from '../external-providers/provider-authentication-assurance.shared.schemas';\nimport { AuthMethod } from '../security/authentications/authentication.shared.schemas';\nimport { AppRolesSchema, CORE_APP_ROLES } from '../security/authorizations/roles.shared.schemas';\nimport { CORE_ORG_ROLES, OrgRolesSchema } from '../security/authorizations/roles.shared.schemas';\nimport { AppFrontendType } from './app-frontend-type.shared.schemas';\nimport { isLabelKeySegment } from '../i18n/application-config-vocabulary.shared';\nimport { ServiceProviderExpertAdmissionPolicy } from '../organizations/service-provider-relationships.shared.schemas';\nimport { ReviewDeadlinesDeclarationSchema } from '../flows-actors/review-deadlines.shared.schemas';\nimport { SECURITY_CRITICAL_CAPABILITY_DEFAULT_MAX_DAYS } from '../organizations/service-provider-capability-grants.shared.schemas';\nimport {\n OnboardingSurveyQuestionSchema,\n SURVEY_QUESTION_TYPES_WHOSE_ANSWER_IS_A_VALUE,\n} from './frontend/onboarding.shared.schemas';\n\n// ─── Enums ──────────────────────────────────────────────────────────────────\n\n/** Canonical registration-policy discriminant. */\nexport enum RegistrationMode {\n OPEN = 'open',\n INVITATION_ONLY = 'invitation_only',\n ADMIN_ONLY = 'admin_only',\n DISABLED = 'disabled',\n}\n\n/**\n * Semantically distinct ways in which a user can acquire a user type.\n *\n * Keep these channels separate even when two currently share the same mode matrix: the actor,\n * user intent, and security boundary differ, and future policy can evolve one without silently\n * changing the others.\n */\nexport enum RegistrationAcquisitionChannel {\n PUBLIC_SELF_SERVICE = 'public_self_service',\n SOCIAL_OAUTH_JIT = 'social_oauth_jit',\n ENTERPRISE_SSO_JIT = 'enterprise_sso_jit',\n INVITATION = 'invitation',\n ADMINISTRATIVE_PROVISIONING = 'administrative_provisioning',\n}\n\n/**\n * @wildo_source:part:start saas.models.config.registration facet:layer:shared facet:audience:app-developer\n *\n * WHEN a user type asks a person for their first and last name (#1374). Declared as\n * `userTypes.<type>.auth.registration.profileNamesCollectedAt`.\n *\n * - `REGISTRATION` (the default) — on the sign-up form.\n * - `ONBOARDING` — after the person has confirmed their address and credential. The sign-up form leaves the names\n * out; the account is created without a profile, and the first sign-in stops at the onboarding screen, which asks\n * for the names before the account can be used. A person who closes the tab is asked again at their next\n * sign-in: whether the names are owed is worked out from the account (does it have a profile yet?), never\n * remembered in the session.\n *\n * `ONBOARDING` cannot be combined with `additionalProfileQuestions`: those answers are saved WITH the profile, and\n * at sign-up there is no profile to save them into. The configuration is refused rather than silently discarding\n * them — ask those questions at `REGISTRATION`, or move them to an in-app guidance survey.\n */\nexport enum ProfileNamesCollectionMoment {\n /** On the sign-up form. */\n REGISTRATION = 'registration',\n /** At the onboarding screen, after the address and credential are proven. */\n ONBOARDING = 'onboarding',\n}\n/** @wildo_source:part:end saas.models.config.registration */\n\n/** D-19: Email verification timing. */\nexport enum EmailVerificationMode {\n /**\n * The account is created pending verification and the emailed link is the only continuation. The\n * registration answer for a new address is the same acknowledgement an already-registered address\n * receives, so `POST /auth/register` does not reveal which addresses have accounts (#1010).\n */\n REQUIRED_BEFORE_ACCESS = 'required_before_access',\n /**\n * The account is created ACTIVE and a new registrant is signed in (or sent to enrollment / onboarding)\n * by the registration answer itself.\n *\n * **This mode reveals whether an address is registered, by construction.** A new address receives a\n * session and tokens; an already-registered address can only receive the acknowledgement, because\n * answering it with a session would sign a stranger into someone else's account. No response shaping\n * can hide that difference, so choosing this mode accepts account enumeration through registration.\n * Choose `REQUIRED_BEFORE_ACCESS` where that matters. (Password-less registration never honours this\n * mode, and stays indistinguishable.)\n */\n DEFERRED = 'deferred',\n}\n\n/** E-10, D-15: How much orgs can override user-type auth methods. */\nexport enum OrgAuthMethodPolicy {\n RESTRICT_ONLY = 'restrict_only',\n EXPAND_WITHIN_SET = 'expand_within_set',\n UNRESTRICTED = 'unrestricted',\n}\n\n// ─── Auth Method Expanded Config (D-20) ─────────────────────────────────────\n\nexport const AuthMethodExpandedConfigSchema = z.object({\n enabled: z.boolean(),\n});\nexport type AuthMethodExpandedConfig = z.infer<typeof AuthMethodExpandedConfigSchema>;\n\n/**\n * authMethodsEnabled value: boolean shorthand OR expanded config.\n *\n * NOTHING REWRITES THE STORED SHAPE — the two forms are normalized on READ, by `getEnabledMethods`, and every reader\n * must go through it. This comment said \"normalized at runtime to { enabled: true }\", which reads as a guarantee that a\n * consumer may test the value for truthiness; there is no such normalizer, an object is truthy whatever it says, and\n * two backend readers did exactly that and admitted a method declared `{ enabled: false }`.\n */\nconst AuthMethodValueSchema = z.union([z.boolean(), AuthMethodExpandedConfigSchema]);\n\n// ─── Policy Sub-Types ───────────────────────────────────────────────────────\n\nexport const MfaPolicyConfigSchema = z.object({\n /** Missing/insufficient social-login assurance warns by default. STRICT refuses before session issuance. Enterprise SSO delegates MFA to its configured IdP. */\n externalAssuranceEnforcement: z.enum(ExternalAssuranceEnforcement).optional(),\n requireMFA: z.boolean().default(false),\n /** D-4: EMAIL_OTP alone insufficient when true. Requires TOTP, Passkey, or SMS_OTP. */\n requireStrongMFA: z.boolean().default(false),\n /** Restricts which MFA methods count. Intersected with authMethodsEnabled second factors. */\n acceptableMFAMethods: z.array(z.enum(AuthMethod)).optional(),\n /** D-17: days only — enrollmentGraceLogins REMOVED. 0 = must enroll on first login. Enforced via firstMfaPromptAt on UserCredentials. */\n enrollmentGracePeriodDays: z.number().min(0).max(365).default(0),\n /** C-5 migration: migrated to config from the now-removed AuthPolicyBase resource. Passkey IS multi-factor. */\n passkeyExemptFromMFA: z.boolean().default(true),\n});\nexport type MfaPolicyConfig = z.infer<typeof MfaPolicyConfigSchema>;\n\n/**\n * Registration policy for one user type.\n *\n * Every user type must author this object explicitly. Acquisition policy is security\n * configuration, so omission must never silently become open registration.\n */\n/** @wildo_source:part:start saas.models.config.registration */\nexport const RegistrationConfigSchema = z.strictObject({\n mode: z.enum(RegistrationMode),\n /**\n * Only acquisition methods with a complete public-signup implementation are accepted.\n *\n * PASSWORD, EXTERNAL_OAUTH2, MAGIC_LINK and PASSKEY. The last two gained end-to-end public\n * registration in #463; before that they were authentication and enrollment methods only, and\n * declaring one here was refused because it would have advertised a path the runtime could not\n * execute.\n *\n * A password-less signup creates the account with NO credential and proves the address by a magic\n * link, so it never issues a session at signup and never honours `emailVerification: DEFERRED` —\n * \"access now, verify later\" is not a state the runtime can produce for a registrant who holds\n * nothing. See `registerUser`.\n */\n allowedMethods: z.array(z.enum(AuthMethod)).default([AuthMethod.PASSWORD]),\n /** D-19: 'deferred' gives immediate access, verify later. */\n emailVerification: z.enum(EmailVerificationMode).default(EmailVerificationMode.REQUIRED_BEFORE_ACCESS),\n /** R-6: Moved from flat auth field. Blocks self-registration for SSO-managed domains. */\n blockForSSODomains: z.boolean().default(false),\n /**\n * The email domains that may sign themselves up, when an application wants to restrict that (#1222).\n *\n * OMITTED means no restriction, which is the correct default for a public application and the only\n * honest reading of an unauthored field — an empty ARRAY would mean \"nobody may register\", a state\n * an application expresses through `registration.mode` instead.\n *\n * ## Distinct from `blockForSSODomains`, which answers the opposite question\n *\n * `blockForSSODomains` is a DENY derived from another tenant's declaration: it refuses signup for a\n * domain somebody else has claimed and put behind their identity provider. This is an ALLOW the\n * application states about itself: only these domains may sign up here. An internal tool restricting\n * signup to its own company has no SSO-enforced domain to key on and could not express that at all —\n * enterprise provisioning had such a control and public signup, the one anonymous surface, had none.\n *\n * Compared case-insensitively against the address's domain part, whole-string: `acme.com` does not\n * admit `notacme.com` and does not admit `sub.acme.com`. Subdomains are a separate decision an\n * application makes by listing them, because a wildcard that quietly admits every subdomain of a\n * domain the application does not fully control is the failure this control exists to prevent.\n */\n allowedEmailDomains: z.array(z.string().min(1)).optional(),\n /**\n * Extra profile questions this user type is asked AT SIGN-UP, beyond the name and email (#1371).\n *\n * Each is a survey question — `id`, `type`, `required`, `bindToField` — the same declaration an in-app guidance\n * survey uses, so one question can be moved between sign-up and a later survey without rewriting it.\n *\n * `bindToField` names a field of the person's USER PROFILE, which is where the answer is saved. The account does\n * not exist while the form is open, so the answers travel with the sign-up request and are saved when the\n * profile is created.\n *\n * Refused when the configuration is loaded:\n * - a question with no `bindToField` — its answer would be collected and thrown away;\n * - a choice-type question — its answer is an option key rather than a value, so the profile would store the key;\n * - any question when `profileNamesCollectedAt` is `ONBOARDING` — there is no profile at sign-up to save into.\n *\n * Optional; absent and empty mean the same thing.\n */\n additionalProfileQuestions: z.array(OnboardingSurveyQuestionSchema).optional(),\n /** When the person's first and last name are asked (#1374). See {@link ProfileNamesCollectionMoment}. */\n profileNamesCollectedAt: z.enum(ProfileNamesCollectionMoment).optional(),\n}).superRefine((registration, ctx) => {\n /*\n * Sign-up answers are saved with the profile, and the profile is created from the names: with the names asked at\n * onboarding there is no profile at sign-up, so every answer would be discarded. Refused rather than tolerated —\n * a configuration that collects answers and throws them away is worse than one that cannot be written.\n */\n if (\n registration.profileNamesCollectedAt === ProfileNamesCollectionMoment.ONBOARDING\n && (registration.additionalProfileQuestions?.length ?? 0) > 0\n ) {\n ctx.addIssue({\n code: 'custom',\n path: ['additionalProfileQuestions'],\n message:\n 'sign-up profile questions are written with the profile row, which is created from the first and last name; '\n + 'with profileNamesCollectedAt ONBOARDING there is no row at sign-up, so the answers would be discarded. '\n + 'Collect the names at REGISTRATION, or move these questions to an in-app guidance survey.',\n });\n }\n (registration.additionalProfileQuestions ?? []).forEach((question, index) => {\n const path = ['additionalProfileQuestions', index] as (string | number)[];\n if (!question.bindToField) {\n ctx.addIssue({\n code: 'custom',\n path: [...path, 'bindToField'],\n message:\n `sign-up question \"${question.id}\" declares no bindToField, so its answer would be collected and `\n + 'discarded. Name the user-profile field it fills, or remove the question.',\n });\n }\n if (!SURVEY_QUESTION_TYPES_WHOSE_ANSWER_IS_A_VALUE.includes(question.type)) {\n ctx.addIssue({\n code: 'custom',\n path: [...path, 'type'],\n message:\n `sign-up question \"${question.id}\" is a ${question.type} question, whose answer is an option ref rather `\n + `than a value. Use one of ${SURVEY_QUESTION_TYPES_WHOSE_ANSWER_IS_A_VALUE.join(' / ')}.`,\n });\n }\n });\n /*\n * The set with a public-signup implementation. It is enumerated rather than open because the\n * failure this refusal prevents is silent: a method listed here is ADVERTISED to a registrant, and\n * one the runtime cannot execute fails after they have committed to it.\n *\n * MAGIC_LINK and PASSKEY joined in #463. Anything else — SSO, an MFA factor — is an authentication\n * or enrollment method that has no way to CREATE an account from an anonymous caller, and adding it\n * here means building that flow first, not widening this list.\n *\n * ## This list reaches PUBLIC SELF-SERVICE SIGNUP, and nothing else (#1222)\n *\n * The scope follows from the sentence above: the question it answers only arises when an ANONYMOUS\n * caller is creating an account for themselves. So it does NOT govern invitation acceptance (the\n * caller holds an invitation token and the account already exists), SCIM or enterprise provisioning,\n * or the administrative member-create door. Those paths are governed by `authMethodsEnabled` alone —\n * a credential the sign-in doors refuse is useless however it was created.\n *\n * Recorded because the reach was got wrong in both directions at once: invitation acceptance applied\n * this list to PASSWORD only, while self-registration checked it and never checked\n * `authMethodsEnabled`. The second was the one with a cost — an application listing MAGIC_LINK here\n * while withdrawing it from the doors created ACTIVE accounts that could never sign in.\n */\n const publiclyRegisterableMethods: readonly AuthMethod[] = [\n AuthMethod.PASSWORD,\n AuthMethod.EXTERNAL_OAUTH2,\n AuthMethod.MAGIC_LINK,\n AuthMethod.PASSKEY,\n ];\n const unsupportedMethods = registration.allowedMethods.filter(\n (method) => !publiclyRegisterableMethods.includes(method),\n );\n if (unsupportedMethods.length > 0) {\n ctx.addIssue({\n code: 'custom',\n path: ['allowedMethods'],\n message: `Unsupported public registration methods: ${unsupportedMethods.join(', ')}`,\n });\n }\n if (\n registration.mode === RegistrationMode.OPEN\n && registration.allowedMethods.length === 0\n ) {\n ctx.addIssue({\n code: 'custom',\n path: ['allowedMethods'],\n message: 'Open registration requires at least one supported acquisition method',\n });\n }\n});\n/** @wildo_source:part:end saas.models.config.registration */\nexport type RegistrationConfig = z.infer<typeof RegistrationConfigSchema>;\n\n/**\n * The ONE reading of when a user type's names are collected (#1374): the declared moment, else `REGISTRATION` —\n * the behaviour every user type had before the moment could be declared.\n */\nexport function resolveProfileNamesCollectionMoment(\n registration: Pick<RegistrationConfig, 'profileNamesCollectedAt'> | null | undefined,\n): ProfileNamesCollectionMoment {\n return registration?.profileNamesCollectedAt ?? ProfileNamesCollectionMoment.REGISTRATION;\n}\n\n/**\n * Password policy — includes expiryDays (R-8, moved from flat auth field).\n * Defined here (not in app-configuration-shared) to avoid circular dependency.\n * PasswordPolicyRulesSchema in app-configuration-shared is the frontend validation subset.\n */\nexport const PasswordPolicyConfigSchema = z.object({\n /**\n * Length is the whole of the length requirement, and the composition flags default OFF (#1249).\n *\n * > \"Verifiers and CSPs SHALL NOT impose other composition rules (e.g., requiring mixtures of\n * > different character types) for passwords.\"\n *\n * spec-cite: NIST SP 800-63B-4 §3.1.1.2 \"Password Verifiers\"\n * (https://pages.nist.gov/800-63-4/sp800-63b.html). §3.1.1.1 sets the floor at eight characters and\n * asks verifiers to require fifteen, which is where this default now sits.\n *\n * The flags REMAIN authorable, because an application under a regulator that mandates character\n * mixtures must be able to say so; what changed is which way they point when nobody has decided.\n * Appendix A.3 is why: \"a user who might have chosen 'password' as their password would be\n * relatively likely to choose 'Password1' if required to include an uppercase letter and a number\".\n * The rule that replaces them is the blocklist — see `assertPasswordNotBlocklisted`.\n */\n /**\n * The shortest password an application may REQUIRE, and the shortest it may ACCEPT.\n *\n * The floor is 8, not 6, because the standard states it as an obligation on the verifier:\n * \"Verifiers and CSPs SHALL require passwords to be a minimum of eight characters in length.\"\n * spec-cite: NIST SP 800-63B-4 §3.1.1.1 (https://pages.nist.gov/800-63-4/sp800-63b.html).\n * A schema that admitted 6 let an application declare a policy the standard forbids — quietly,\n * since nothing downstream re-checked the declared value.\n *\n * The DEFAULT is 15 because the same section continues: \"Verifiers and CSPs SHOULD require\n * passwords to be a minimum of 15 characters in length.\"\n * spec-cite: NIST SP 800-63B-4 §3.1.1.1 (https://pages.nist.gov/800-63-4/sp800-63b.html).\n * A framework's default is the answer every application that expresses no opinion receives, so it\n * takes the SHOULD; the floor only has to stop an application going below the SHALL.\n */\n minLength: z.number().min(8).max(128).default(15),\n maxLength: z.number().min(8).max(256).default(128),\n requireUppercase: z.boolean().default(false),\n requireLowercase: z.boolean().default(false),\n requireNumbers: z.boolean().default(false),\n requireSpecialChars: z.boolean().default(false),\n /** R-8: Folded from flat auth.passwordExpiryDays. 0 = never. Backend-only. Enforced in orchestrator authenticate(). */\n expiryDays: z.number().min(0).default(0),\n});\nexport type PasswordPolicyConfig = z.infer<typeof PasswordPolicyConfigSchema>;\n\n/** E-9, D-16: Step-up re-authentication for sensitive operations. R-2: single source of truth. */\nexport const StepUpAuthConfigSchema = z.object({\n enabled: z.boolean().default(false),\n maxAgeSeconds: z.number().min(60).max(3600).default(300),\n methods: z.array(z.enum(AuthMethod)).default([AuthMethod.PASSWORD]),\n});\nexport type StepUpAuthConfig = z.infer<typeof StepUpAuthConfigSchema>;\n\nexport const LockoutPolicyConfigSchema = z.object({\n maxLoginAttempts: z.number().min(3).max(20).default(5),\n lockoutDurationMinutes: z.number().min(1).max(1440).default(30),\n /** W2.3: doubles lockout duration for each consecutive lockout (2^n × lockoutDurationMinutes). Tracked via consecutiveLockouts on UserCredentials. */\n progressiveLockout: z.boolean().default(false),\n /** W2.3: cap for progressive lockout duration in hours. */\n maxProgressiveLockoutHours: z.number().min(1).max(168).default(24),\n});\nexport type LockoutPolicyConfig = z.infer<typeof LockoutPolicyConfigSchema>;\n\nexport const MethodManagementConfigSchema = z.object({\n allowUserMethodRemoval: z.boolean().default(true),\n /**\n * Whether adding or removing an authenticator requires the person to re-prove who they are first.\n *\n * ON by default, because NIST SP 800-63B-4 Sec. 4.1.2 requires it when an authenticator is bound to an\n * existing account: binding is how a stolen session becomes access that survives a password reset.\n * spec-cite: NIST SP 800-63B-4 Sec. 4.1.2 (Post-Enrollment Binding), fetched 2026-09-20 from\n * https://pages.nist.gov/800-63-4/sp800-63b/events/\n *\n * It never asks during enrollment at sign-in or registration, where the person has just authenticated,\n * and it never asks an account that holds nothing a re-authentication could check (no password,\n * verified TOTP or passkey) — that is how an invited or email-link-only account gets its FIRST\n * authenticator. The proof itself is collected by the shared step-up dialog, so no screen has to know\n * this setting exists. Setting it to `false` is a declared deviation from the SHALL above.\n */\n requireReauthForMethodChanges: z.boolean().default(true),\n});\nexport type MethodManagementConfig = z.infer<typeof MethodManagementConfigSchema>;\n\n// ─── User Type Auth Policy (§2b — complete, non-partial, REQUIRED) ──────────\n\n/**\n * The complete auth policy for a user type. Every user type MUST define this.\n * There are no global auth defaults — this IS the auth config.\n *\n * Zod .default() values enable omission in config input files, but the\n * resolved runtime type has all fields present (no optionals for policy fields).\n *\n * See target-configuration-type.md §2b for full specification.\n */\nexport const UserTypeAuthPolicySchema = z.object({\n /** E-1, D-20: Opt-in semantics — absent method = disabled. */\n authMethodsEnabled: z.partialRecord(\n z.enum(AuthMethod),\n AuthMethodValueSchema,\n ).default({ [AuthMethod.PASSWORD]: true }),\n\n /** E-2: MFA enforcement for this user type. */\n mfaPolicy: MfaPolicyConfigSchema.default({\n requireMFA: false,\n requireStrongMFA: false,\n enrollmentGracePeriodDays: 0,\n passkeyExemptFromMFA: true,\n }),\n\n /** E-3: Explicit acquisition policy. No implicit OPEN or legacy boolean fallback exists. */\n registration: RegistrationConfigSchema,\n\n /** E-7, R-8: Password strength + expiry. */\n passwordPolicy: PasswordPolicyConfigSchema.default({\n minLength: 15,\n maxLength: 128,\n requireUppercase: false,\n requireLowercase: false,\n requireNumbers: false,\n requireSpecialChars: false,\n expiryDays: 0,\n }),\n\n /** E-8: Session duration for this user type. */\n sessionDurationMinutes: z.number().min(1).max(1440).default(30),\n\n /**\n * E-8, G-2: the cap on simultaneous refresh chains for this user type.\n *\n * Leaving it undefined does NOT mean unlimited. The token issuer falls back to\n * `DEFAULT_MAX_CONCURRENT_SESSIONS` (10) and evicts the oldest chain beyond it, so a user type\n * that declares nothing is still capped. There is no value that disables the cap; declare the\n * number you want.\n */\n maxConcurrentSessions: z.number().min(1).optional(),\n\n /** G-1: Per-user-type lockout. Backend-only. */\n lockoutPolicy: LockoutPolicyConfigSchema.default({\n maxLoginAttempts: 5,\n lockoutDurationMinutes: 30,\n progressiveLockout: false,\n maxProgressiveLockoutHours: 24,\n }),\n\n /** G-8: Consumer=true (convenience), Admin=false (security). */\n autoLinkByEmail: z.boolean().default(true),\n\n /** E-9, D-16, R-2: Step-up auth. undefined = disabled. W7.1: enforced in doOperation(). */\n stepUpAuth: StepUpAuthConfigSchema.optional(),\n\n methodManagement: MethodManagementConfigSchema.default({\n allowUserMethodRemoval: true,\n requireReauthForMethodChanges: true,\n }),\n\n /** W7.3a: Enables anonymous session support for this user type. When true,\n * unauthenticated users can interact with isAnonymizable resources via ANONYMOUS scope.\n * On login/register for this user type, anonymous resources are transposed to the authenticated user. */\n anonymousSessionsEnabled: z.boolean().optional(),\n\n /** W7.3b: Enables one-off scoped sessions — known users accessing specific operations via consumable token links without full authentication. */\n oneOffSessionAllowed: z.boolean().optional(),\n\n /** revocation-B1: Per-user-type upper bound (in minutes) on the lifetime of a one-off SESSION token minted\n * for a user of this type through the super-admin route. It can only TIGHTEN below the framework-wide\n * absolute one-off-session ceiling (`ONE_OFF_SESSION_ABSOLUTE_MAX_MINUTES`, ~12h) that EVERY mint path is\n * bounded by at issuance — a value above that ceiling has no effect (the absolute maximum wins). When unset,\n * the absolute ceiling applies. An over-cap mint is refused (`ONE_OFF_SESSION_DURATION_EXCEEDS_MAX`). The\n * ceiling follows the industry treatment of delegated/impersonated-credential lifetime as a hard cap\n * enforced at issuance (see `ONE_OFF_SESSION_ABSOLUTE_MAX_MINUTES` for the AWS STS / GCP / OWASP sources). */\n oneOffSessionMaxDurationMinutes: z.number().int().min(1).optional(),\n});\nexport type UserTypeAuthPolicy = z.infer<typeof UserTypeAuthPolicySchema>;\n\n// ─── User Type Definition ───────────────────────────────────────────────────\n\nexport const UserTypeDefinitionSchema = z.object({\n /** REQUIRED — the complete auth policy for this user type. Not an override of global. */\n auth: UserTypeAuthPolicySchema,\n\n /*\n * `uniqueIdentifier` was REMOVED (#1224). It accepted any string, supported only `'email'`, and its\n * ONLY reader was a startup warning saying the value \"will be treated as email\" — so an application\n * could declare a different identifier, be told at boot that it would be ignored, and have it\n * ignored. A field whose whole runtime behaviour is to announce that it does nothing is a promise\n * the framework cannot keep.\n *\n * Removed rather than implemented, because implementing it is not a knob: every identity surface\n * here is keyed on an email address — `findUserByEmail`, the anti-enumeration acknowledgements, the\n * magic-link and password-reset token subjects, the per-email lockout bucket, the invitation join.\n * A second identifier kind is a feature with its own design, and it starts by naming which of those\n * surfaces change, not by re-adding this field.\n */\n defaultAppRoles: z.array(AppRolesSchema).default([CORE_APP_ROLES.APP_USER]),\n\n /** D-10: When set, user type auto-revoked when user leaves last org of matching type. */\n requiresOrgMembership: z.object({\n orgTypes: z.array(z.string()).min(1),\n }).optional(),\n});\nexport type UserTypeDefinition = z.infer<typeof UserTypeDefinitionSchema>;\n\n// ─── Frontend Service Identity ──────────────────────────────────────────────\n\nexport const FrontendServiceUserManagementEntrySchema = z.object({\n register: z.boolean(),\n auth: z.boolean(),\n isDefault: z.boolean().optional(),\n});\nexport type FrontendServiceUserManagementEntry = z.infer<typeof FrontendServiceUserManagementEntrySchema>;\n\n/**\n * Backend-runtime view of one frontend service.\n *\n * Seeded by `platform-apps-manager`'s `buildManagedFrontendServicesSeed()`\n * from the `AdminAppManagedDeclaration` projection of `wildo.saas.config.ts`.\n *\n * - `usersManagement` — auth-policy bindings per user type (legacy field;\n * present since the original auth identity model).\n * - `frontendType` — the runtime kind declared in\n * `wildo.saas.config.ts → services[name].frontendType`. Currently\n * informational on the backend; reserved for `frontendType`-conditioned\n * policy (e.g. `TECH_DOC` only ever receives ephemeral sessions). The\n * full taxonomy + the \"no native variants\" decision live in\n * `./app-frontend-type.shared.schemas.ts`'s file-level JSDoc — do NOT\n * duplicate that explanation here.\n */\nexport const FrontendServiceDefinitionSchema = z.object({\n usersManagement: z.record(z.string(), FrontendServiceUserManagementEntrySchema),\n frontendType: z.enum(AppFrontendType).optional(),\n});\nexport type FrontendServiceDefinition = z.infer<typeof FrontendServiceDefinitionSchema>;\n\n// ─── Organization Type ──────────────────────────────────────────────────────\n\n/**\n * @wildo_source:part:start saas.models.config.organization-types facet:layer:shared facet:audience:app-developer\n *\n * An ORGANIZATION TYPE is the shape a tenant takes: which user types its members get, which roles\n * exist inside it, whether it can come into existence through sign-up, and how hard it is for its\n * members to prove who they are. Declared as `organizationTypes` in `wildo.saas.config.ts` — never in the backend\n * configuration, because the platform reads it to type the organization it seeds for the first administrator.\n *\n * ## At least one type, and every organization carries one\n *\n * The map may not be empty, and an organization's `type` is required and must name an entry in it. A member of an\n * organization whose type names nothing here cannot sign in: the type is where that tenant's authentication\n * restrictions live, and \"could not tell\" is never read as \"no restrictions\".\n *\n * The first administrator's organization is typed by derivation, never by a separate setting: it gets the one\n * declared type whose `userTypes` include every one of `bootstrap.firstAdmin.userTypes`, and the configuration is\n * refused when none or several do. An organization whose stored type resolves to nothing — none stored, or one this\n * declaration no longer carries — is typed at startup when exactly one type is declared, and the value it replaced is\n * recorded; with several, the application refuses to start and names them. A member who reaches sign-in anyway is\n * refused with `authentication_organization_policy_unresolved`, never let through with no restrictions.\n *\n * ## A type only self-creates if it says so\n *\n * `creationPolicy.createOnUserTypeRegistration` names the user types whose registration brings a\n * tenant of this type into existence. A type an administrator creates simply omits the policy — and\n * a user type may match AT MOST ONE organization type, which the schema enforces rather than\n * resolving by record order.\n *\n * `orgNameSource` decides where that tenant's first display name comes from: `ASK` during\n * registration, `AUTO` derived, or `ONBOARDING` deferred to a later step. `defaultOwnerRole` is who\n * the registrant becomes.\n *\n * ## `authOverrides`: method choices and restrictive security requirements\n *\n * Organizations may override enabled methods, MFA, password policy and step-up freshness.\n * Session length, lockout and registration are not organization-overridable.\n *\n * Enabled login methods follow the application's `auth.orgAuthMethodPolicy`: RESTRICT_ONLY intersects\n * with the user type's methods; EXPAND_WITHIN_SET adds only methods allowed by\n * `auth.expandableOrgMethods`; UNRESTRICTED uses the organization's enabled set. Across organizations\n * with explicit `authMethodsEnabled` overrides, the resolved sets intersect, including in expansion\n * mode. An organization without that override does not participate in this method-set intersection.\n *\n * The other axes remain most-restrictive-wins: MFA requirements cannot be removed, password\n * requirements cannot be weakened, and step-up `enabled` is OR, `maxAgeSeconds` is MIN and\n * `methods` intersects. Expanding login methods does not expand accepted step-up methods.\n *\n * How a registration-derived organization obtains its initial display name.\n */\nexport enum OrganizationNameSource {\n ASK = 'ask',\n AUTO = 'auto',\n ONBOARDING = 'onboarding',\n}\n\nexport const OrgCreationPolicySchema = z.object({\n createOnUserTypeRegistration: z.array(z.string()).min(1),\n orgNameSource: z.enum(OrganizationNameSource),\n defaultOwnerRole: z.string().default(CORE_ORG_ROLES.ORG_OWNER),\n});\nexport type OrgCreationPolicy = z.infer<typeof OrgCreationPolicySchema>;\n\n/** Org overrides: login methods follow the application mode; MFA, password and step-up remain restrictive. */\nexport const OrgTypeAuthOverridesSchema = z.object({\n authMethodsEnabled: z.partialRecord(z.enum(AuthMethod), AuthMethodValueSchema).optional(),\n mfaPolicy: MfaPolicyConfigSchema.partial().optional(),\n passwordPolicy: PasswordPolicyConfigSchema.partial().optional(),\n /**\n * Re-authentication freshness, added 2026-09-09 (#527).\n *\n * The other three overrides and this one answer ONE question — how hard is it for this tenant's\n * members to prove who they are — and until now a tenant could tighten three of them. An\n * organisation that requires MFA and a 16-character password could still have a member mutate a\n * sensitive resource on an eight-hour-old session, because the app-wide default said so.\n *\n * Most-restrictive-wins like its siblings, but the two fields move in OPPOSITE arithmetic\n * directions and that is worth stating rather than inferring: `enabled` is an OR (either side\n * turning step-up ON wins) while `maxAgeSeconds` is a MIN (the shorter window wins). `methods`\n * intersects, so an organisation can withdraw an acceptable re-authentication method but never\n * introduce one the user type does not already allow.\n */\n stepUpAuth: StepUpAuthConfigSchema.partial().optional(),\n}).optional();\nexport type OrgTypeAuthOverrides = z.infer<typeof OrgTypeAuthOverridesSchema>;\n\n/**\n * G-4: Per-org-type SCIM provisioning (moved from global directoryProvisioningEnabled).\n *\n * `syncFrequencyHours` was REMOVED here (#1224): no production code read it — the gate consults only\n * `.enabled` — so an application could set a sync cadence and nothing would schedule anything.\n *\n * It is NOT the per-connection field of the same name, which is live: that one is on\n * `sso-config.shared.schemas.ts` and is surfaced in the administration view. Two fields, one name, one\n * of them decorative, is also why this went unnoticed — a search for the name found a reader.\n */\nexport const OrgScimProvisioningSchema = z.object({\n enabled: z.boolean().default(false),\n});\nexport type OrgScimProvisioning = z.infer<typeof OrgScimProvisioningSchema>;\n\nexport const OrganizationTypeDefinitionSchema = z.object({\n /** D-10: User types auto-granted when joining this org type. */\n userTypes: z.array(z.string()).min(1),\n\n availableOrgRoles: z.array(z.union([OrgRolesSchema, z.string()])).default([\n CORE_ORG_ROLES.ORG_OWNER,\n CORE_ORG_ROLES.ORG_ADMIN,\n CORE_ORG_ROLES.ORG_MEMBER,\n ]),\n\n /** R-5: Moved from registration.defaultOrgRole. */\n defaultMemberRole: z.union([OrgRolesSchema, z.string()]).default(CORE_ORG_ROLES.ORG_MEMBER),\n\n /** D-15: Most-restrictive-wins on top of user type auth policy. */\n authOverrides: OrgTypeAuthOverridesSchema,\n\n /** G-4: SCIM provisioning toggle per org type. */\n scimProvisioning: OrgScimProvisioningSchema.optional(),\n\n creationPolicy: OrgCreationPolicySchema.optional(),\n\n /**\n * This type's organization OPERATES the application — the corporate in an internal tool, the suite\n * vendor in a product that extends an existing suite.\n *\n * ## What it is for\n *\n * Some applications are not sold to many tenants. They are built FOR one organization, which runs\n * them and owns the data in them — and that organization's systems (an ERP, a CRM, a directory) are\n * the systems of record the application reads. The framework needs to be able to name that\n * organization before it can say whose rows the remote data is, and an application had no way to\n * say it: a type carries `userTypes`, roles, auth overrides and a creation policy, none of which\n * means \"this one runs the place\".\n *\n * Declare it on exactly ONE type, and at most one organization of that type may exist. Everything\n * downstream that must belong to the operator — not to a customer — resolves through it.\n *\n * ```ts\n * organizationTypes: {\n * company: { ownsApplication: true, userTypes: ['member'] }, // the operator; no creationPolicy\n * workspace: { userTypes: ['member'], creationPolicy: { … } }, // tenants that sign themselves up\n * }\n * ```\n *\n * ## The three rules, and why each exists\n *\n * - **At most one type may carry it.** Two would make \"the organization that owns the application\"\n * a choice, and the framework does not choose between declarations by record order.\n * - **A marked type may NOT declare a `creationPolicy`.** A creation policy is how a type comes\n * into existence when somebody signs up, so a marked type with one would produce a new owner per\n * registrant. The two statements contradict each other, and the contradiction is refused where it\n * is written rather than discovered as a second owner.\n * - **Its `userTypes` must cover `bootstrap.firstAdmin.userTypes`.** The organization the platform\n * seeds for the first administrator IS the owner organization, so a type that does not grant the\n * administrator what they are would seed them into an organization contradicting their identity.\n *\n * ## What it is NOT\n *\n * Not the platform's own `WILDO_OWNER_ORGANIZATION` (`@wildo-ai/platform-config-lib`), which is the\n * organization that owns *Wildo's* applications inside apps-manager and which no application\n * backend ever reads. This marker is an APPLICATION-level statement about one of the application's\n * own tenants. Conflating them would make Wildo the owner of every customer's internal tool.\n *\n * Not a claim about privilege either: members of the owner organization hold exactly the roles the\n * type grants them. What the marker decides is OWNERSHIP of data, not authority over people.\n *\n * ## Adding it to an application that is already running\n *\n * An organization's `type` is creation-time identity, so an existing organization cannot be\n * re-typed by an update. The paired door is `organizations.promoteToOwnerOrganization`: a\n * super-administrator who is a MEMBER of the target organization promotes it, with a justification,\n * and the promotion is audited. Declare the type, run `wildo config reapply-declaration`, then\n * promote. Declaring a second type on an application whose organizations are not all typed yet is\n * refused at boot — boot once with the single type so every row is typed, then add the marked one.\n *\n * `z.literal(true)` rather than `z.boolean()`: `ownsApplication: false` would be a way of writing\n * down a fact that is already true of every type that omits it, and two spellings of the same\n * statement is how a declaration comes to disagree with itself.\n */\n ownsApplication: z.literal(true).optional(),\n\n /**\n * This type's organizations are SERVICE FIRMS whose experts work inside client organizations (#1597).\n *\n * Declaring it lets an organization of this type enter service-provider relationships with\n * organizations of the listed client types. A relationship is always the client's to accept, scope and\n * end; the firm assigns which of its members serve it, and each assigned expert receives a membership\n * in the client carrying the relationship's role — re-checked on every request.\n *\n * ```ts\n * organizationTypes: {\n * workspace: {\n * userTypes: ['member'],\n * availableOrgRoles: ['ORG_OWNER', 'ORG_ADMIN', 'ORG_MEMBER', 'ORG_SERVICE_PROVIDER'],\n * servesAsProvider: {\n * clientOrganizationTypes: ['workspace'],\n * providerRoles: ['ORG_SERVICE_PROVIDER'],\n * defaultProviderRole: 'ORG_SERVICE_PROVIDER',\n * },\n * },\n * }\n * ```\n *\n * Startup refuses:\n * - a provider role that leads up to `ORG_ADMIN` — a relationship never confers administration of the\n * client (a narrow, time-bound delegation is a separate mechanism);\n * - a provider role that a client type does not list in its `availableOrgRoles`;\n * - a `defaultProviderRole` that is not one of `providerRoles`, and a client type that is not declared.\n *\n * The core `ORG_SERVICE_PROVIDER` role (inherits `ORG_MEMBER`) is the usual choice.\n */\n servesAsProvider: z.object({\n clientOrganizationTypes: z.array(z.string().min(1)).min(1),\n providerRoles: z.array(z.string().min(1)).min(1),\n defaultProviderRole: z.string().min(1),\n }).optional(),\n\n /**\n * How organizations of this type, as CLIENTS of a service firm, admit the firm's experts by default (#1612).\n *\n * Each relationship carries its own `expertAdmissionPolicy`, chosen by the client when it proposes or accepts and\n * changed later by a client administrator; this is only where that choice STARTS when the client makes none —\n * for instance a firm's proposal the client has not accepted yet. The relationship's value always wins. It sits\n * on the CLIENT type because the client owns the choice: a firm's type never decides who enters another tenant.\n *\n * ```ts\n * organizationTypes: {\n * lawClient: {\n * // …\n * acceptsServiceProviders: { defaultExpertAdmissionPolicy: ServiceProviderExpertAdmissionPolicy.CLIENT_APPROVES_EACH_EXPERT },\n * },\n * }\n * ```\n *\n * Absent: every expert a firm assigns is admitted (`RELATIONSHIP_APPROVES_ASSIGNED_EXPERTS`), the #1597 behaviour.\n */\n acceptsServiceProviders: z.object({\n defaultExpertAdmissionPolicy: z.enum(ServiceProviderExpertAdmissionPolicy).optional(),\n /**\n * The longest, in days, an organization of this type may lend a service firm a SECURITY-CRITICAL administrative\n * capability (SSO/SCIM, API keys, access-grant approval — #1631). Lowers the framework's 30-day cap; it can never\n * raise it. Ordinary capabilities keep their two-year maximum.\n */\n securityCriticalCapabilityMaxDays: z.number().int().min(1).max(SECURITY_CRITICAL_CAPABILITY_DEFAULT_MAX_DAYS).optional(),\n /**\n * When a client's pending approval of one of a firm's experts lapses, and who is reminded before it does (#1909) —\n * #1628's deadline declaration, on this plane: `lapseAfter` (ISO-8601, e.g. `'P14D'`), a `decision` target with\n * an optional `warnBefore`, and NOTIFY `rules`. There is no `claim`, no REASSIGN and no `pauseStates`: the\n * approval is routed to the client's administrators as a group, offers only an answer, and startup refuses a\n * declaration asking for more. Absent: the framework defaults every human decision gets (a 24-hour lapse, a\n * reminder to the administrators at three quarters of it). A lapsed approval admits nobody; the firm assigns again.\n */\n expertApprovalDeadlines: ReviewDeadlinesDeclarationSchema.optional(),\n }).optional(),\n});\nexport type OrganizationTypeDefinition = z.infer<typeof OrganizationTypeDefinitionSchema>;\n/** @wildo_source:part:end saas.models.config.organization-types */\n\n// ─── Top-Level Config Sections ──────────────────────────────────────────────\n\nexport const UserTypesConfigSchema = z.record(z.string(), UserTypeDefinitionSchema);\nexport type UserTypesConfig = z.infer<typeof UserTypesConfigSchema>;\n\nexport const FrontendServicesConfigSchema = z.record(z.string(), FrontendServiceDefinitionSchema);\nexport type FrontendServicesConfig = z.infer<typeof FrontendServicesConfigSchema>;\n\n/**\n * The application's organization types — at least ONE, always.\n *\n * ## Why an empty map is refused (#1032, decided 2026-09-14)\n *\n * Every organization carries a `type`, and that type must name an entry here. The authentication\n * policy resolver refuses a member whose organization's type it cannot resolve, because a type is\n * where an organization's authentication restrictions live and \"could not tell\" must never read as\n * \"no restrictions\". An application declaring no types therefore could not have a single\n * organization anybody can sign in through — including the one the platform seeds for its first\n * administrator. It used to be optional, and the platform seeded that organization with no type at\n * all, which is how every administrator came to be locked out once the resolver fail-closed.\n *\n * Authored in `wildo.saas.config.ts` (not the backend config) so the platform, which seeds the first\n * organization, can read it.\n *\n * A type key is letters, digits, `_` and `-` only (#1851): it is also the last segment of its label key,\n * `system_enums.OrganizationType.<type>`, and the label tree is addressed by dotted path. A dotted key would name a\n * label nobody could resolve, so the type would show its raw key for ever with nothing reporting why, and a key\n * `acme.eu` beside `acme` would need `acme` to be both a word and a branch. The reviewers' reason codes refuse a dot\n * for the same reason (`AgentWorkReasonCodeSchema`); both test it with `isLabelKeySegment`.\n */\nexport const OrganizationTypesConfigSchema = z\n .record(z.string(), OrganizationTypeDefinitionSchema)\n .superRefine((organizationTypes, ctx) => {\n // Checked here rather than as a record-key schema, whose failure Zod reports only as \"Invalid key in record\".\n for (const typeKey of Object.keys(organizationTypes)) {\n if (!isLabelKeySegment(typeKey)) {\n ctx.addIssue({\n code: 'custom',\n path: [typeKey],\n message: `Organization type key \"${typeKey}\" may contain only letters, digits, \"_\" and \"-\": it is also the last `\n + 'segment of its label key, system_enums.OrganizationType.<type>, which is addressed by dotted path.',\n });\n }\n }\n if (Object.keys(organizationTypes).length === 0) {\n ctx.addIssue({\n code: 'custom',\n path: [],\n message:\n 'At least one organization type must be declared: every organization carries a type, and a '\n + 'member of an organization whose type names no entry here cannot sign in.',\n });\n }\n /*\n * At most ONE type may declare `ownsApplication`, and a type that declares it may not also be\n * created on registration.\n *\n * Both refusals live here for the same reason the `ownerByRegisteredUserType` map below does:\n * they are statements ABOUT THE MAP, not about any one entry, so a per-entry refine could not\n * see them. And both are contradictions in the declaration rather than states of the world —\n * refusing them where the file is loaded turns a would-be second owner organization into an\n * authoring error nobody can commit.\n */\n const markedOwnerTypes = Object.entries(organizationTypes)\n .filter(([, definition]) => definition.ownsApplication === true)\n .map(([organizationType]) => organizationType);\n\n if (markedOwnerTypes.length > 1) {\n ctx.addIssue({\n code: 'custom',\n path: [markedOwnerTypes[1]!, 'ownsApplication'],\n message:\n `Organization types ${markedOwnerTypes.map((type) => `'${type}'`).join(', ')} all declare \\`ownsApplication\\`, `\n + 'but an application is owned by exactly one organization, so at most one type may say so. '\n + 'Keep the marker on the type whose organization operates the application and remove it from the others.',\n });\n }\n\n for (const organizationType of markedOwnerTypes) {\n if (organizationTypes[organizationType]?.creationPolicy === undefined) continue;\n ctx.addIssue({\n code: 'custom',\n path: [organizationType, 'creationPolicy'],\n message:\n `Organization type '${organizationType}' declares \\`ownsApplication\\` and a \\`creationPolicy\\`. `\n + 'A creation policy makes a new organization of this type every time a matching user registers, '\n + 'which would produce one owner organization per registrant; at most one may exist. '\n + 'Keep the marker and drop the creation policy, or move the policy to a separate type for the tenants that sign themselves up.',\n });\n }\n\n const ownerByRegisteredUserType = new Map<string, string>();\n for (const [organizationType, definition] of Object.entries(\n organizationTypes,\n )) {\n const registeredUserTypes =\n definition.creationPolicy?.createOnUserTypeRegistration ?? [];\n registeredUserTypes.forEach((userType, index) => {\n const existingOwner = ownerByRegisteredUserType.get(userType);\n if (existingOwner !== undefined) {\n ctx.addIssue({\n code: 'custom',\n path: [\n organizationType,\n 'creationPolicy',\n 'createOnUserTypeRegistration',\n index,\n ],\n message:\n `User type '${userType}' already creates organization type `\n + `'${existingOwner}' during registration; one registration `\n + 'cannot implicitly choose between multiple organization types',\n });\n return;\n }\n ownerByRegisteredUserType.set(userType, organizationType);\n });\n }\n });\nexport type OrganizationTypesConfig = z.infer<typeof OrganizationTypesConfigSchema>;\n\nexport interface OrganizationTypeRegistrationCreationMatch<\n TDefinition extends {\n readonly creationPolicy?: OrgCreationPolicy;\n } = OrganizationTypeDefinition,\n> {\n readonly organizationType: string;\n readonly definition: TDefinition;\n}\n\n/**\n * Canonical matching rule for registration-derived organization creation.\n *\n * The schema rejects more than one match for a user type. Returning all\n * matches is intentional defensive behavior for stale/unparsed runtime input:\n * callers can fail closed instead of selecting record insertion order.\n */\nexport function findOrganizationTypeRegistrationCreationMatches<\n TDefinition extends {\n readonly creationPolicy?: OrgCreationPolicy;\n },\n>(\n organizationTypes: Readonly<Record<string, TDefinition>> | undefined,\n registeredUserType: string,\n): readonly OrganizationTypeRegistrationCreationMatch<TDefinition>[] {\n if (!organizationTypes) return [];\n return Object.entries(organizationTypes)\n .filter(([, definition]) =>\n definition.creationPolicy?.createOnUserTypeRegistration.includes(\n registeredUserType,\n ),\n )\n .map(([organizationType, definition]) => ({\n organizationType,\n definition,\n }));\n}\n\n/**\n * Why an organization yields no authentication policy — the log-side split of\n * `ErrorCustomMessageReference.AUTHENTICATION_ORGANIZATION_POLICY_UNRESOLVED` (#1036). Three states, three remedies.\n */\nexport enum OrganizationAuthPolicyUnresolvedReason {\n /** A membership names an organization that cannot be found. Remedy: remove the membership or restore the organization. */\n ORGANIZATION_NOT_FOUND = 'organization_not_found',\n /** The organization carries no type. The engine types such organizations at startup when one type is declared. */\n ORGANIZATION_TYPE_MISSING = 'organization_type_missing',\n /** The organization's type names no declared organization type. Remedy: declare it again, or restart so the engine re-types it. */\n ORGANIZATION_TYPE_UNDECLARED = 'organization_type_undeclared',\n}\n\n/**\n * Why an organization type could, or could not, be derived — the vocabulary both derivations below\n * answer in.\n *\n * A closed vocabulary rather than `string | undefined`, because the two refusals have different\n * remedies and a caller has to be able to name them: NONE means the declaration offers nothing that\n * fits (declare a type), AMBIGUOUS means it offers several and the framework will not choose between\n * them by record order (narrow the declaration).\n */\nexport enum OrganizationTypeDerivationOutcome {\n /** Exactly one declared type fits; it is `organizationType`. */\n DERIVED = 'DERIVED',\n /** No declared type fits. */\n NONE = 'NONE',\n /** More than one declared type fits; they are `candidates`, in declaration order. */\n AMBIGUOUS = 'AMBIGUOUS',\n}\n\nexport type OrganizationTypeDerivation =\n | { readonly outcome: OrganizationTypeDerivationOutcome.DERIVED; readonly organizationType: string }\n | { readonly outcome: OrganizationTypeDerivationOutcome.NONE }\n | { readonly outcome: OrganizationTypeDerivationOutcome.AMBIGUOUS; readonly candidates: readonly string[] };\n\nconst deriveFromCandidates = (candidates: readonly string[]): OrganizationTypeDerivation => {\n if (candidates.length === 1) {\n return { outcome: OrganizationTypeDerivationOutcome.DERIVED, organizationType: candidates[0]! };\n }\n return candidates.length === 0\n ? { outcome: OrganizationTypeDerivationOutcome.NONE }\n : { outcome: OrganizationTypeDerivationOutcome.AMBIGUOUS, candidates };\n};\n\n/**\n * The type of the organization the platform seeds for an application's first administrator.\n *\n * DERIVED, never authored: it is the declared organization type whose `userTypes` include every one of\n * `bootstrap.firstAdmin.userTypes`. An organization type's `userTypes` are what a member of it is\n * granted, so a type that does not cover the administrator's user types would seed them into an\n * organization that contradicts who they are. Asking the application author to restate the answer\n * would be a second copy of a fact the declaration already holds.\n *\n * Refuses rather than guesses when several types fit — record order is not a decision.\n *\n * ## The owner marker DECIDES, when one of the fitting types carries it\n *\n * `ownsApplication` says which organization operates the application, and the organization the\n * platform seeds for the first administrator IS that organization. So when a fitting type is marked,\n * the answer is not ambiguous — it is declared, and reading anything else would seed the operator's\n * own administrator into a customer-shaped tenant.\n *\n * This is not a tie-break bolted onto a refusal; without it, an application with a marker would\n * usually be REFUSED. The natural shape of a case-1 declaration is a marked `company` for the\n * operator beside an unmarked `workspace` for the tenants that sign themselves up, and both\n * ordinarily grant the same user types — so both cover the first administrator and `AMBIGUOUS` would\n * fire on every such application. `AMBIGUOUS` keeps its whole meaning for the unmarked case: several\n * types fit and NOTHING in the declaration says which, so record order is all that is left and record\n * order is not a decision.\n *\n * Several MARKED types are still ambiguous, and deliberately so. The configuration schema refuses a\n * second marker, so this can only be reached from a declaration that arrived by another route (a\n * stored configuration written before the rule, an unparsed runtime input) — exactly the case where\n * choosing would be a guess dressed as a derivation.\n */\nexport function deriveFirstAdministratorOrganizationType(\n organizationTypes:\n | Readonly<Record<string, { readonly userTypes: readonly string[]; readonly ownsApplication?: true }>>\n | undefined,\n firstAdministratorUserTypes: readonly string[],\n): OrganizationTypeDerivation {\n const fittingTypes = Object.entries(organizationTypes ?? {})\n .filter(([, definition]) => firstAdministratorUserTypes.every((userType) => definition.userTypes.includes(userType)));\n\n const markedFittingTypes = fittingTypes.filter(([, definition]) => definition.ownsApplication === true);\n if (markedFittingTypes.length > 0) {\n return deriveFromCandidates(markedFittingTypes.map(([organizationType]) => organizationType));\n }\n\n return deriveFromCandidates(fittingTypes.map(([organizationType]) => organizationType));\n}\n\n/**\n * The role that OWNS a newly-created organization of a given type.\n *\n * ONE resolution for every door that founds a tenant, because a tenant founded without an owner is\n * the stranded state `administrative-continuity-floors.md` exists to prevent, and it is reached by\n * whichever door forgot — not by the ones that remembered.\n *\n * There are THREE such doors and they are in two packages, which is why this is a function rather\n * than a convention: self-service `organizations.create`, the organization derived when a user of a\n * declaring type registers, and the platform seeding an application's FIRST organization for its\n * first administrator. The first two already resolved it identically and said so in a comment — *\"the\n * SAME resolution registration uses, so the two creation paths cannot disagree\"* — while the third\n * hard-coded `ORG_ADMIN` and gave every freshly created application an ownerless first tenant, which\n * its own boot report then reported at CRITICAL forever (#436 established the invariant and fixed two\n * of its three call sites; `invariant-call-site-enumeration.md`).\n *\n * `ORG_OWNER` is the answer when the type declares no `creationPolicy` or no `defaultOwnerRole` —\n * the same default `OrgCreationPolicySchema` carries, restated here because the seeding lanes reach\n * types that never passed through that parse (a platform-supplied declaration, a stored\n * configuration). An application that wants a differently-named founding role declares it once, on\n * the type, and all three doors follow.\n */\nexport function resolveOrganizationFoundingOwnerRole(\n organizationTypes: Readonly<Record<string, { readonly creationPolicy?: { readonly defaultOwnerRole?: string } }>> | undefined,\n organizationType: string | undefined,\n): string {\n const declared = organizationType === undefined ? undefined : organizationTypes?.[organizationType];\n return declared?.creationPolicy?.defaultOwnerRole ?? CORE_ORG_ROLES.ORG_OWNER;\n}\n\n/**\n * Which declared organization type OWNS the application, if any.\n *\n * The one reader of {@link OrganizationTypeDefinition.ownsApplication}, so every surface that needs\n * \"the owner type\" asks the same question of the same declaration rather than re-typing the filter.\n *\n * `NONE` is an ordinary, correct answer and the default for every application: most applications are\n * sold to many tenants and no organization operates them. Only a case-1 application — an internal\n * tool, or a product extending a suite the operator already runs — declares one.\n *\n * `AMBIGUOUS` is unreachable from a configuration the schema parsed (a second marker is refused\n * there), and is returned rather than resolved for the same reason the derivation above does it: a\n * declaration that reached a runtime by another route must not have its contradiction silently\n * decided. Callers fail closed on it; nothing is the owner until an operator repairs the declaration.\n */\nexport function resolveApplicationOwnerOrganizationType(\n organizationTypes: Readonly<Record<string, { readonly ownsApplication?: true }>> | undefined,\n): OrganizationTypeDerivation {\n return deriveFromCandidates(\n Object.entries(organizationTypes ?? {})\n .filter(([, definition]) => definition.ownsApplication === true)\n .map(([organizationType]) => organizationType),\n );\n}\n\n/**\n * The type an EXISTING untyped organization receives when the application declares exactly one.\n *\n * The narrowest of the three derivations here: it reads only the declaration, so it answers for an\n * organization about which nothing at all is known. With several declared types it refuses, and the\n * caller falls through to {@link deriveOrganizationTypeFromMemberUserTypes}, which asks the\n * organization itself.\n */\nexport function deriveSoleOrganizationType(\n organizationTypes: Readonly<Record<string, unknown>> | undefined,\n): OrganizationTypeDerivation {\n return deriveFromCandidates(Object.keys(organizationTypes ?? {}));\n}\n\n/**\n * The type an EXISTING untyped organization receives, read from the user types its own members hold.\n *\n * ## Why an existing organization is not silent about its type\n *\n * {@link deriveSoleOrganizationType} used to be the only answer for an existing organization, on the\n * reasoning that one \"carries no record of which user types it was meant for\". Its MEMBERS carry\n * exactly that record: an organization type's `userTypes` are what a member of it is granted, so a\n * type that does not cover every user type the organization's members actually hold is a type this\n * organization cannot be. When that leaves exactly one candidate, nothing is guessed — it is the same\n * coverage test {@link deriveFirstAdministratorOrganizationType} already applies to the\n * first-administrator organization, asked of the members instead of the declaration.\n *\n * ## Why an empty `memberUserTypes` is NONE rather than a match\n *\n * `every` over an empty set is vacuously true, so an organization with no members to read would match\n * every declared type and, against a single-type declaration, would derive one. That would not be a\n * derivation from the organization — it would be {@link deriveSoleOrganizationType} wearing this\n * function's name, reached without reading anything. Absence of a signal is NONE.\n *\n * @param memberUserTypes The union of the user types held by the organization's members. The caller\n * decides which memberships count; it is the one judgement this function does not make.\n */\nexport function deriveOrganizationTypeFromMemberUserTypes(\n organizationTypes: Readonly<Record<string, { readonly userTypes: readonly string[] }>> | undefined,\n memberUserTypes: readonly string[],\n): OrganizationTypeDerivation {\n if (memberUserTypes.length === 0) {\n return { outcome: OrganizationTypeDerivationOutcome.NONE };\n }\n return deriveFromCandidates(\n Object.entries(organizationTypes ?? {})\n .filter(([, definition]) => memberUserTypes.every((userType) => definition.userTypes.includes(userType)))\n .map(([organizationType]) => organizationType),\n );\n}\n"]}
1
+ {"version":3,"file":"entity-identity-config.shared.schemas.js","sourceRoot":"","sources":["../../../src/config/entity-identity-config.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH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C;SACpC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC;SACxG,GAAG,CAAC,CAAC,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,gBAAgB,CAAC,CACjD,CAAC;AACJ,CAAC","sourcesContent":["/**\n * Entity & Identity Configuration Schemas\n *\n * Top-level config sections: userTypes, frontendServices, organizationTypes.\n * Defines the identity model for the application (user facets, frontend-surface-to-user-type mapping, org typing).\n *\n * Auth policy is ENTIRELY per-user-type (UserTypeAuthPolicySchema) — no global auth defaults.\n * Global auth (in app-configuration-shared) contains only infrastructure + app-level settings.\n *\n * See:\n * - target-configuration-type.md §2b (UserTypeAuthPolicy)\n * - entity-identity-architecture-analysis.md §4.2\n */\n\nimport { z } from 'zod';\nimport { ExternalAssuranceEnforcement } from '../external-providers/provider-authentication-assurance.shared.schemas';\nimport { AuthMethod } from '../security/authentications/authentication.shared.schemas';\nimport { AppRolesSchema, CORE_APP_ROLES } from '../security/authorizations/roles.shared.schemas';\nimport { CORE_ORG_ROLES, OrgRolesSchema } from '../security/authorizations/roles.shared.schemas';\nimport { AppFrontendType } from './app-frontend-type.shared.schemas';\nimport { isLabelKeySegment } from '../i18n/application-config-vocabulary.shared';\nimport { ServiceProviderExpertAdmissionPolicy } from '../organizations/service-provider-relationships.shared.schemas';\nimport { ReviewDeadlinesDeclarationSchema } from '../flows-actors/review-deadlines.shared.schemas';\nimport { SECURITY_CRITICAL_CAPABILITY_DEFAULT_MAX_DAYS } from '../organizations/service-provider-capability-grants.shared.schemas';\nimport {\n OnboardingSurveyQuestionSchema,\n SURVEY_QUESTION_TYPES_WHOSE_ANSWER_IS_A_VALUE,\n} from './frontend/onboarding.shared.schemas';\n\n// ─── Enums ──────────────────────────────────────────────────────────────────\n\n/** Canonical registration-policy discriminant. */\nexport enum RegistrationMode {\n OPEN = 'open',\n INVITATION_ONLY = 'invitation_only',\n ADMIN_ONLY = 'admin_only',\n DISABLED = 'disabled',\n}\n\n/**\n * Semantically distinct ways in which a user can acquire a user type.\n *\n * Keep these channels separate even when two currently share the same mode matrix: the actor,\n * user intent, and security boundary differ, and future policy can evolve one without silently\n * changing the others.\n */\nexport enum RegistrationAcquisitionChannel {\n PUBLIC_SELF_SERVICE = 'public_self_service',\n SOCIAL_OAUTH_JIT = 'social_oauth_jit',\n ENTERPRISE_SSO_JIT = 'enterprise_sso_jit',\n INVITATION = 'invitation',\n ADMINISTRATIVE_PROVISIONING = 'administrative_provisioning',\n}\n\n/**\n * @wildo_source:part:start saas.models.config.registration facet:layer:shared facet:audience:app-developer\n *\n * WHEN a user type asks a person for their first and last name (#1374). Declared as\n * `userTypes.<type>.auth.registration.profileNamesCollectedAt`.\n *\n * - `REGISTRATION` (the default) — on the sign-up form.\n * - `ONBOARDING` — after the person has confirmed their address and credential. The sign-up form leaves the names\n * out; the account is created without a profile, and the first sign-in stops at the onboarding screen, which asks\n * for the names before the account can be used. A person who closes the tab is asked again at their next\n * sign-in: whether the names are owed is worked out from the account (does it have a profile yet?), never\n * remembered in the session.\n *\n * `ONBOARDING` cannot be combined with `additionalProfileQuestions`: those answers are saved WITH the profile, and\n * at sign-up there is no profile to save them into. The configuration is refused rather than silently discarding\n * them — ask those questions at `REGISTRATION`, or move them to an in-app guidance survey.\n */\nexport enum ProfileNamesCollectionMoment {\n /** On the sign-up form. */\n REGISTRATION = 'registration',\n /** At the onboarding screen, after the address and credential are proven. */\n ONBOARDING = 'onboarding',\n}\n/** @wildo_source:part:end saas.models.config.registration */\n\n/** D-19: Email verification timing. */\nexport enum EmailVerificationMode {\n /**\n * The account is created pending verification and the emailed link is the only continuation. The\n * registration answer for a new address is the same acknowledgement an already-registered address\n * receives, so `POST /auth/register` does not reveal which addresses have accounts (#1010).\n */\n REQUIRED_BEFORE_ACCESS = 'required_before_access',\n /**\n * The account is created ACTIVE and a new registrant is signed in (or sent to enrollment / onboarding)\n * by the registration answer itself.\n *\n * **This mode reveals whether an address is registered, by construction.** A new address receives a\n * session and tokens; an already-registered address can only receive the acknowledgement, because\n * answering it with a session would sign a stranger into someone else's account. No response shaping\n * can hide that difference, so choosing this mode accepts account enumeration through registration.\n * Choose `REQUIRED_BEFORE_ACCESS` where that matters. (Password-less registration never honours this\n * mode, and stays indistinguishable.)\n */\n DEFERRED = 'deferred',\n}\n\n/** E-10, D-15: How much orgs can override user-type auth methods. */\nexport enum OrgAuthMethodPolicy {\n RESTRICT_ONLY = 'restrict_only',\n EXPAND_WITHIN_SET = 'expand_within_set',\n UNRESTRICTED = 'unrestricted',\n}\n\n// ─── Auth Method Expanded Config (D-20) ─────────────────────────────────────\n\nexport const AuthMethodExpandedConfigSchema = z.object({\n enabled: z.boolean(),\n});\nexport type AuthMethodExpandedConfig = z.infer<typeof AuthMethodExpandedConfigSchema>;\n\n/**\n * authMethodsEnabled value: boolean shorthand OR expanded config.\n *\n * NOTHING REWRITES THE STORED SHAPE — the two forms are normalized on READ, by `getEnabledMethods`, and every reader\n * must go through it. This comment said \"normalized at runtime to { enabled: true }\", which reads as a guarantee that a\n * consumer may test the value for truthiness; there is no such normalizer, an object is truthy whatever it says, and\n * two backend readers did exactly that and admitted a method declared `{ enabled: false }`.\n */\nconst AuthMethodValueSchema = z.union([z.boolean(), AuthMethodExpandedConfigSchema]);\n\n// ─── Policy Sub-Types ───────────────────────────────────────────────────────\n\nexport const MfaPolicyConfigSchema = z.object({\n /** Missing/insufficient social-login assurance warns by default. STRICT refuses before session issuance. Enterprise SSO delegates MFA to its configured IdP. */\n externalAssuranceEnforcement: z.enum(ExternalAssuranceEnforcement).optional(),\n requireMFA: z.boolean().default(false),\n /** D-4: EMAIL_OTP alone insufficient when true. Requires TOTP, Passkey, or SMS_OTP. */\n requireStrongMFA: z.boolean().default(false),\n /** Restricts which MFA methods count. Intersected with authMethodsEnabled second factors. */\n acceptableMFAMethods: z.array(z.enum(AuthMethod)).optional(),\n /** D-17: days only — enrollmentGraceLogins REMOVED. 0 = must enroll on first login. Enforced via firstMfaPromptAt on UserCredentials. */\n enrollmentGracePeriodDays: z.number().min(0).max(365).default(0),\n /** C-5 migration: migrated to config from the now-removed AuthPolicyBase resource. Passkey IS multi-factor. */\n passkeyExemptFromMFA: z.boolean().default(true),\n});\nexport type MfaPolicyConfig = z.infer<typeof MfaPolicyConfigSchema>;\n\n/**\n * Registration policy for one user type.\n *\n * Every user type must author this object explicitly. Acquisition policy is security\n * configuration, so omission must never silently become open registration.\n */\n/** @wildo_source:part:start saas.models.config.registration */\nexport const RegistrationConfigSchema = z.strictObject({\n mode: z.enum(RegistrationMode),\n /**\n * Only acquisition methods with a complete public-signup implementation are accepted.\n *\n * PASSWORD, EXTERNAL_OAUTH2, MAGIC_LINK and PASSKEY. The last two gained end-to-end public\n * registration in #463; before that they were authentication and enrollment methods only, and\n * declaring one here was refused because it would have advertised a path the runtime could not\n * execute.\n *\n * A password-less signup creates the account with NO credential and proves the address by a magic\n * link, so it never issues a session at signup and never honours `emailVerification: DEFERRED` —\n * \"access now, verify later\" is not a state the runtime can produce for a registrant who holds\n * nothing. See `registerUser`.\n */\n allowedMethods: z.array(z.enum(AuthMethod)).default([AuthMethod.PASSWORD]),\n /** D-19: 'deferred' gives immediate access, verify later. */\n emailVerification: z.enum(EmailVerificationMode).default(EmailVerificationMode.REQUIRED_BEFORE_ACCESS),\n /** R-6: Moved from flat auth field. Blocks self-registration for SSO-managed domains. */\n blockForSSODomains: z.boolean().default(false),\n /**\n * The email domains that may sign themselves up, when an application wants to restrict that (#1222).\n *\n * OMITTED means no restriction, which is the correct default for a public application and the only\n * honest reading of an unauthored field — an empty ARRAY would mean \"nobody may register\", a state\n * an application expresses through `registration.mode` instead.\n *\n * ## Distinct from `blockForSSODomains`, which answers the opposite question\n *\n * `blockForSSODomains` is a DENY derived from another tenant's declaration: it refuses signup for a\n * domain somebody else has claimed and put behind their identity provider. This is an ALLOW the\n * application states about itself: only these domains may sign up here. An internal tool restricting\n * signup to its own company has no SSO-enforced domain to key on and could not express that at all —\n * enterprise provisioning had such a control and public signup, the one anonymous surface, had none.\n *\n * Compared case-insensitively against the address's domain part, whole-string: `acme.com` does not\n * admit `notacme.com` and does not admit `sub.acme.com`. Subdomains are a separate decision an\n * application makes by listing them, because a wildcard that quietly admits every subdomain of a\n * domain the application does not fully control is the failure this control exists to prevent.\n */\n allowedEmailDomains: z.array(z.string().min(1)).optional(),\n /**\n * Extra profile questions this user type is asked AT SIGN-UP, beyond the name and email (#1371).\n *\n * Each is a survey question — `id`, `type`, `required`, `bindToField` — the same declaration an in-app guidance\n * survey uses, so one question can be moved between sign-up and a later survey without rewriting it.\n *\n * `bindToField` names a field of the person's USER PROFILE, which is where the answer is saved. The account does\n * not exist while the form is open, so the answers travel with the sign-up request and are saved when the\n * profile is created.\n *\n * Refused when the configuration is loaded:\n * - a question with no `bindToField` — its answer would be collected and thrown away;\n * - a choice-type question — its answer is an option key rather than a value, so the profile would store the key;\n * - any question when `profileNamesCollectedAt` is `ONBOARDING` — there is no profile at sign-up to save into.\n *\n * Optional; absent and empty mean the same thing.\n */\n additionalProfileQuestions: z.array(OnboardingSurveyQuestionSchema).optional(),\n /** When the person's first and last name are asked (#1374). See {@link ProfileNamesCollectionMoment}. */\n profileNamesCollectedAt: z.enum(ProfileNamesCollectionMoment).optional(),\n}).superRefine((registration, ctx) => {\n /*\n * Sign-up answers are saved with the profile, and the profile is created from the names: with the names asked at\n * onboarding there is no profile at sign-up, so every answer would be discarded. Refused rather than tolerated —\n * a configuration that collects answers and throws them away is worse than one that cannot be written.\n */\n if (\n registration.profileNamesCollectedAt === ProfileNamesCollectionMoment.ONBOARDING\n && (registration.additionalProfileQuestions?.length ?? 0) > 0\n ) {\n ctx.addIssue({\n code: 'custom',\n path: ['additionalProfileQuestions'],\n message:\n 'sign-up profile questions are written with the profile row, which is created from the first and last name; '\n + 'with profileNamesCollectedAt ONBOARDING there is no row at sign-up, so the answers would be discarded. '\n + 'Collect the names at REGISTRATION, or move these questions to an in-app guidance survey.',\n });\n }\n (registration.additionalProfileQuestions ?? []).forEach((question, index) => {\n const path = ['additionalProfileQuestions', index] as (string | number)[];\n if (!question.bindToField) {\n ctx.addIssue({\n code: 'custom',\n path: [...path, 'bindToField'],\n message:\n `sign-up question \"${question.id}\" declares no bindToField, so its answer would be collected and `\n + 'discarded. Name the user-profile field it fills, or remove the question.',\n });\n }\n if (!SURVEY_QUESTION_TYPES_WHOSE_ANSWER_IS_A_VALUE.includes(question.type)) {\n ctx.addIssue({\n code: 'custom',\n path: [...path, 'type'],\n message:\n `sign-up question \"${question.id}\" is a ${question.type} question, whose answer is an option ref rather `\n + `than a value. Use one of ${SURVEY_QUESTION_TYPES_WHOSE_ANSWER_IS_A_VALUE.join(' / ')}.`,\n });\n }\n });\n /*\n * The set with a public-signup implementation. It is enumerated rather than open because the\n * failure this refusal prevents is silent: a method listed here is ADVERTISED to a registrant, and\n * one the runtime cannot execute fails after they have committed to it.\n *\n * MAGIC_LINK and PASSKEY joined in #463. Anything else — SSO, an MFA factor — is an authentication\n * or enrollment method that has no way to CREATE an account from an anonymous caller, and adding it\n * here means building that flow first, not widening this list.\n *\n * ## This list reaches PUBLIC SELF-SERVICE SIGNUP, and nothing else (#1222)\n *\n * The scope follows from the sentence above: the question it answers only arises when an ANONYMOUS\n * caller is creating an account for themselves. So it does NOT govern invitation acceptance (the\n * caller holds an invitation token and the account already exists), SCIM or enterprise provisioning,\n * or the administrative member-create door. Those paths are governed by `authMethodsEnabled` alone —\n * a credential the sign-in doors refuse is useless however it was created.\n *\n * Recorded because the reach was got wrong in both directions at once: invitation acceptance applied\n * this list to PASSWORD only, while self-registration checked it and never checked\n * `authMethodsEnabled`. The second was the one with a cost — an application listing MAGIC_LINK here\n * while withdrawing it from the doors created ACTIVE accounts that could never sign in.\n */\n const publiclyRegisterableMethods: readonly AuthMethod[] = [\n AuthMethod.PASSWORD,\n AuthMethod.EXTERNAL_OAUTH2,\n AuthMethod.MAGIC_LINK,\n AuthMethod.PASSKEY,\n ];\n const unsupportedMethods = registration.allowedMethods.filter(\n (method) => !publiclyRegisterableMethods.includes(method),\n );\n if (unsupportedMethods.length > 0) {\n ctx.addIssue({\n code: 'custom',\n path: ['allowedMethods'],\n message: `Unsupported public registration methods: ${unsupportedMethods.join(', ')}`,\n });\n }\n if (\n registration.mode === RegistrationMode.OPEN\n && registration.allowedMethods.length === 0\n ) {\n ctx.addIssue({\n code: 'custom',\n path: ['allowedMethods'],\n message: 'Open registration requires at least one supported acquisition method',\n });\n }\n});\n/** @wildo_source:part:end saas.models.config.registration */\nexport type RegistrationConfig = z.infer<typeof RegistrationConfigSchema>;\n\n/**\n * The ONE reading of when a user type's names are collected (#1374): the declared moment, else `REGISTRATION` —\n * the behaviour every user type had before the moment could be declared.\n */\nexport function resolveProfileNamesCollectionMoment(\n registration: Pick<RegistrationConfig, 'profileNamesCollectedAt'> | null | undefined,\n): ProfileNamesCollectionMoment {\n return registration?.profileNamesCollectedAt ?? ProfileNamesCollectionMoment.REGISTRATION;\n}\n\n/**\n * Password policy — includes expiryDays (R-8, moved from flat auth field).\n * Defined here (not in app-configuration-shared) to avoid circular dependency.\n * PasswordPolicyRulesSchema in app-configuration-shared is the frontend validation subset.\n */\nexport const PasswordPolicyConfigSchema = z.object({\n /**\n * Length is the whole of the length requirement, and the composition flags default OFF (#1249).\n *\n * > \"Verifiers and CSPs SHALL NOT impose other composition rules (e.g., requiring mixtures of\n * > different character types) for passwords.\"\n *\n * spec-cite: NIST SP 800-63B-4 §3.1.1.2 \"Password Verifiers\"\n * (https://pages.nist.gov/800-63-4/sp800-63b.html). §3.1.1.1 sets the floor at eight characters and\n * asks verifiers to require fifteen, which is where this default now sits.\n *\n * The flags REMAIN authorable, because an application under a regulator that mandates character\n * mixtures must be able to say so; what changed is which way they point when nobody has decided.\n * Appendix A.3 is why: \"a user who might have chosen 'password' as their password would be\n * relatively likely to choose 'Password1' if required to include an uppercase letter and a number\".\n * The rule that replaces them is the blocklist — see `assertPasswordNotBlocklisted`.\n */\n /**\n * The shortest password an application may REQUIRE, and the shortest it may ACCEPT.\n *\n * The floor is 8, not 6, because the standard states it as an obligation on the verifier:\n * \"Verifiers and CSPs SHALL require passwords to be a minimum of eight characters in length.\"\n * spec-cite: NIST SP 800-63B-4 §3.1.1.1 (https://pages.nist.gov/800-63-4/sp800-63b.html).\n * A schema that admitted 6 let an application declare a policy the standard forbids — quietly,\n * since nothing downstream re-checked the declared value.\n *\n * The DEFAULT is 15 because the same section continues: \"Verifiers and CSPs SHOULD require\n * passwords to be a minimum of 15 characters in length.\"\n * spec-cite: NIST SP 800-63B-4 §3.1.1.1 (https://pages.nist.gov/800-63-4/sp800-63b.html).\n * A framework's default is the answer every application that expresses no opinion receives, so it\n * takes the SHOULD; the floor only has to stop an application going below the SHALL.\n */\n minLength: z.number().min(8).max(128).default(15),\n maxLength: z.number().min(8).max(256).default(128),\n requireUppercase: z.boolean().default(false),\n requireLowercase: z.boolean().default(false),\n requireNumbers: z.boolean().default(false),\n requireSpecialChars: z.boolean().default(false),\n /** R-8: Folded from flat auth.passwordExpiryDays. 0 = never. Backend-only. Enforced in orchestrator authenticate(). */\n expiryDays: z.number().min(0).default(0),\n});\nexport type PasswordPolicyConfig = z.infer<typeof PasswordPolicyConfigSchema>;\n\n/** E-9, D-16: Step-up re-authentication for sensitive operations. R-2: single source of truth. */\nexport const StepUpAuthConfigSchema = z.object({\n enabled: z.boolean().default(false),\n maxAgeSeconds: z.number().min(60).max(3600).default(300),\n methods: z.array(z.enum(AuthMethod)).default([AuthMethod.PASSWORD]),\n});\nexport type StepUpAuthConfig = z.infer<typeof StepUpAuthConfigSchema>;\n\nexport const LockoutPolicyConfigSchema = z.object({\n maxLoginAttempts: z.number().min(3).max(20).default(5),\n lockoutDurationMinutes: z.number().min(1).max(1440).default(30),\n /** W2.3: doubles lockout duration for each consecutive lockout (2^n × lockoutDurationMinutes). Tracked via consecutiveLockouts on UserCredentials. */\n progressiveLockout: z.boolean().default(false),\n /** W2.3: cap for progressive lockout duration in hours. */\n maxProgressiveLockoutHours: z.number().min(1).max(168).default(24),\n});\nexport type LockoutPolicyConfig = z.infer<typeof LockoutPolicyConfigSchema>;\n\nexport const MethodManagementConfigSchema = z.object({\n allowUserMethodRemoval: z.boolean().default(true),\n /**\n * Whether adding or removing an authenticator requires the person to re-prove who they are first.\n *\n * ON by default, because NIST SP 800-63B-4 Sec. 4.1.2 requires it when an authenticator is bound to an\n * existing account: binding is how a stolen session becomes access that survives a password reset.\n * spec-cite: NIST SP 800-63B-4 Sec. 4.1.2 (Post-Enrollment Binding), fetched 2026-09-20 from\n * https://pages.nist.gov/800-63-4/sp800-63b/events/\n *\n * It never asks during enrollment at sign-in or registration, where the person has just authenticated,\n * and it never asks an account that holds nothing a re-authentication could check (no password,\n * verified TOTP or passkey) — that is how an invited or email-link-only account gets its FIRST\n * authenticator. The proof itself is collected by the shared step-up dialog, so no screen has to know\n * this setting exists. Setting it to `false` is a declared deviation from the SHALL above.\n */\n requireReauthForMethodChanges: z.boolean().default(true),\n});\nexport type MethodManagementConfig = z.infer<typeof MethodManagementConfigSchema>;\n\n// ─── User Type Auth Policy (§2b — complete, non-partial, REQUIRED) ──────────\n\n/**\n * The complete auth policy for a user type. Every user type MUST define this.\n * There are no global auth defaults — this IS the auth config.\n *\n * Zod .default() values enable omission in config input files, but the\n * resolved runtime type has all fields present (no optionals for policy fields).\n *\n * See target-configuration-type.md §2b for full specification.\n */\nexport const UserTypeAuthPolicySchema = z.object({\n /** E-1, D-20: Opt-in semantics — absent method = disabled. */\n authMethodsEnabled: z.partialRecord(\n z.enum(AuthMethod),\n AuthMethodValueSchema,\n ).default({ [AuthMethod.PASSWORD]: true }),\n\n /** E-2: MFA enforcement for this user type. */\n mfaPolicy: MfaPolicyConfigSchema.default({\n requireMFA: false,\n requireStrongMFA: false,\n enrollmentGracePeriodDays: 0,\n passkeyExemptFromMFA: true,\n }),\n\n /** E-3: Explicit acquisition policy. No implicit OPEN or legacy boolean fallback exists. */\n registration: RegistrationConfigSchema,\n\n /** E-7, R-8: Password strength + expiry. */\n passwordPolicy: PasswordPolicyConfigSchema.default({\n minLength: 15,\n maxLength: 128,\n requireUppercase: false,\n requireLowercase: false,\n requireNumbers: false,\n requireSpecialChars: false,\n expiryDays: 0,\n }),\n\n /** E-8: Session duration for this user type. */\n sessionDurationMinutes: z.number().min(1).max(1440).default(30),\n\n /**\n * E-8, G-2: the cap on simultaneous refresh chains for this user type.\n *\n * Leaving it undefined does NOT mean unlimited. The token issuer falls back to\n * `DEFAULT_MAX_CONCURRENT_SESSIONS` (10) and evicts the oldest chain beyond it, so a user type\n * that declares nothing is still capped. There is no value that disables the cap; declare the\n * number you want.\n */\n maxConcurrentSessions: z.number().min(1).optional(),\n\n /** G-1: Per-user-type lockout. Backend-only. */\n lockoutPolicy: LockoutPolicyConfigSchema.default({\n maxLoginAttempts: 5,\n lockoutDurationMinutes: 30,\n progressiveLockout: false,\n maxProgressiveLockoutHours: 24,\n }),\n\n /** G-8: Consumer=true (convenience), Admin=false (security). */\n autoLinkByEmail: z.boolean().default(true),\n\n /** E-9, D-16, R-2: Step-up auth. undefined = disabled. W7.1: enforced in doOperation(). */\n stepUpAuth: StepUpAuthConfigSchema.optional(),\n\n methodManagement: MethodManagementConfigSchema.default({\n allowUserMethodRemoval: true,\n requireReauthForMethodChanges: true,\n }),\n\n /** W7.3a: Enables anonymous session support for this user type. When true,\n * unauthenticated users can interact with isAnonymizable resources via ANONYMOUS scope.\n * On login/register for this user type, anonymous resources are transposed to the authenticated user. */\n anonymousSessionsEnabled: z.boolean().optional(),\n\n /** W7.3b: Enables one-off scoped sessions — known users accessing specific operations via consumable token links without full authentication. */\n oneOffSessionAllowed: z.boolean().optional(),\n\n /** revocation-B1: Per-user-type upper bound (in minutes) on the lifetime of a one-off SESSION token minted\n * for a user of this type through the super-admin route. It can only TIGHTEN below the framework-wide\n * absolute one-off-session ceiling (`ONE_OFF_SESSION_ABSOLUTE_MAX_MINUTES`, ~12h) that EVERY mint path is\n * bounded by at issuance — a value above that ceiling has no effect (the absolute maximum wins). When unset,\n * the absolute ceiling applies. An over-cap mint is refused (`ONE_OFF_SESSION_DURATION_EXCEEDS_MAX`). The\n * ceiling follows the industry treatment of delegated/impersonated-credential lifetime as a hard cap\n * enforced at issuance (see `ONE_OFF_SESSION_ABSOLUTE_MAX_MINUTES` for the AWS STS / GCP / OWASP sources). */\n oneOffSessionMaxDurationMinutes: z.number().int().min(1).optional(),\n});\nexport type UserTypeAuthPolicy = z.infer<typeof UserTypeAuthPolicySchema>;\n\n// ─── User Type Definition ───────────────────────────────────────────────────\n\nexport const UserTypeDefinitionSchema = z.object({\n /** REQUIRED — the complete auth policy for this user type. Not an override of global. */\n auth: UserTypeAuthPolicySchema,\n\n /*\n * `uniqueIdentifier` was REMOVED (#1224). It accepted any string, supported only `'email'`, and its\n * ONLY reader was a startup warning saying the value \"will be treated as email\" — so an application\n * could declare a different identifier, be told at boot that it would be ignored, and have it\n * ignored. A field whose whole runtime behaviour is to announce that it does nothing is a promise\n * the framework cannot keep.\n *\n * Removed rather than implemented, because implementing it is not a knob: every identity surface\n * here is keyed on an email address — `findUserByEmail`, the anti-enumeration acknowledgements, the\n * magic-link and password-reset token subjects, the per-email lockout bucket, the invitation join.\n * A second identifier kind is a feature with its own design, and it starts by naming which of those\n * surfaces change, not by re-adding this field.\n */\n defaultAppRoles: z.array(AppRolesSchema).default([CORE_APP_ROLES.APP_USER]),\n\n /** D-10: When set, user type auto-revoked when user leaves last org of matching type. */\n requiresOrgMembership: z.object({\n orgTypes: z.array(z.string()).min(1),\n }).optional(),\n});\nexport type UserTypeDefinition = z.infer<typeof UserTypeDefinitionSchema>;\n\n// ─── Frontend Service Identity ──────────────────────────────────────────────\n\nexport const FrontendServiceUserManagementEntrySchema = z.object({\n register: z.boolean(),\n auth: z.boolean(),\n isDefault: z.boolean().optional(),\n});\nexport type FrontendServiceUserManagementEntry = z.infer<typeof FrontendServiceUserManagementEntrySchema>;\n\n/**\n * Backend-runtime view of one frontend service.\n *\n * Seeded by `platform-apps-manager`'s `buildManagedFrontendServicesSeed()`\n * from the `AdminAppManagedDeclaration` projection of `wildo.saas.config.ts`.\n *\n * - `usersManagement` — auth-policy bindings per user type (legacy field;\n * present since the original auth identity model).\n * - `frontendType` — the runtime kind declared in\n * `wildo.saas.config.ts → services[name].frontendType`. Currently\n * informational on the backend; reserved for `frontendType`-conditioned\n * policy (e.g. `TECH_DOC` only ever receives ephemeral sessions). The\n * full taxonomy + the \"no native variants\" decision live in\n * `./app-frontend-type.shared.schemas.ts`'s file-level JSDoc — do NOT\n * duplicate that explanation here.\n */\nexport const FrontendServiceDefinitionSchema = z.object({\n usersManagement: z.record(z.string(), FrontendServiceUserManagementEntrySchema),\n frontendType: z.enum(AppFrontendType).optional(),\n});\nexport type FrontendServiceDefinition = z.infer<typeof FrontendServiceDefinitionSchema>;\n\n// ─── Organization Type ──────────────────────────────────────────────────────\n\n/**\n * @wildo_source:part:start saas.models.config.organization-types facet:layer:shared facet:audience:app-developer\n *\n * An ORGANIZATION TYPE is the shape a tenant takes: which user types its members get, which roles\n * exist inside it, whether it can come into existence through sign-up, and how hard it is for its\n * members to prove who they are. Declared as `organizationTypes` in `wildo.saas.config.ts` — never in the backend\n * configuration, because the platform reads it to type the organization it seeds for the first administrator.\n *\n * ## At least one type, and every organization carries one\n *\n * The map may not be empty, and an organization's `type` is required and must name an entry in it. A member of an\n * organization whose type names nothing here cannot sign in: the type is where that tenant's authentication\n * restrictions live, and \"could not tell\" is never read as \"no restrictions\".\n *\n * The first administrator's organization is typed by derivation, never by a separate setting: it gets the one\n * declared type whose `userTypes` include every one of `bootstrap.firstAdmin.userTypes`, and the configuration is\n * refused when none or several do. An organization whose stored type resolves to nothing — none stored, or one this\n * declaration no longer carries — is typed at startup when exactly one type is declared, and the value it replaced is\n * recorded; with several, the application refuses to start and names them. A member who reaches sign-in anyway is\n * refused with `authentication_organization_policy_unresolved`, never let through with no restrictions.\n *\n * ## A type only self-creates if it says so\n *\n * `creationPolicy.createOnUserTypeRegistration` names the user types whose registration brings a\n * tenant of this type into existence. A type an administrator creates simply omits the policy — and\n * a user type may match AT MOST ONE organization type, which the schema enforces rather than\n * resolving by record order.\n *\n * `orgNameSource` decides where that tenant's first display name comes from: `ASK` during\n * registration, `AUTO` derived, or `ONBOARDING` deferred to a later step. `defaultOwnerRole` is who\n * the registrant becomes.\n *\n * ## `authOverrides`: method choices and restrictive security requirements\n *\n * Organizations may override enabled methods, MFA, password policy and step-up freshness.\n * Session length, lockout and registration are not organization-overridable.\n *\n * Enabled login methods follow the application's `auth.orgAuthMethodPolicy`: RESTRICT_ONLY intersects\n * with the user type's methods; EXPAND_WITHIN_SET adds only methods allowed by\n * `auth.expandableOrgMethods`; UNRESTRICTED uses the organization's enabled set. Across organizations\n * with explicit `authMethodsEnabled` overrides, the resolved sets intersect, including in expansion\n * mode. An organization without that override does not participate in this method-set intersection.\n *\n * The other axes remain most-restrictive-wins: MFA requirements cannot be removed, password\n * requirements cannot be weakened, and step-up `enabled` is OR, `maxAgeSeconds` is MIN and\n * `methods` intersects. Expanding login methods does not expand accepted step-up methods.\n *\n * How a registration-derived organization obtains its initial display name.\n */\nexport enum OrganizationNameSource {\n ASK = 'ask',\n AUTO = 'auto',\n ONBOARDING = 'onboarding',\n}\n\nexport const OrgCreationPolicySchema = z.object({\n createOnUserTypeRegistration: z.array(z.string()).min(1),\n orgNameSource: z.enum(OrganizationNameSource),\n defaultOwnerRole: z.string().default(CORE_ORG_ROLES.ORG_OWNER),\n});\nexport type OrgCreationPolicy = z.infer<typeof OrgCreationPolicySchema>;\n\n/** Org overrides: login methods follow the application mode; MFA, password and step-up remain restrictive. */\nexport const OrgTypeAuthOverridesSchema = z.object({\n authMethodsEnabled: z.partialRecord(z.enum(AuthMethod), AuthMethodValueSchema).optional(),\n mfaPolicy: MfaPolicyConfigSchema.partial().optional(),\n passwordPolicy: PasswordPolicyConfigSchema.partial().optional(),\n /**\n * Re-authentication freshness, added 2026-09-09 (#527).\n *\n * The other three overrides and this one answer ONE question — how hard is it for this tenant's\n * members to prove who they are — and until now a tenant could tighten three of them. An\n * organisation that requires MFA and a 16-character password could still have a member mutate a\n * sensitive resource on an eight-hour-old session, because the app-wide default said so.\n *\n * Most-restrictive-wins like its siblings, but the two fields move in OPPOSITE arithmetic\n * directions and that is worth stating rather than inferring: `enabled` is an OR (either side\n * turning step-up ON wins) while `maxAgeSeconds` is a MIN (the shorter window wins). `methods`\n * intersects, so an organisation can withdraw an acceptable re-authentication method but never\n * introduce one the user type does not already allow.\n */\n stepUpAuth: StepUpAuthConfigSchema.partial().optional(),\n}).optional();\nexport type OrgTypeAuthOverrides = z.infer<typeof OrgTypeAuthOverridesSchema>;\n\n/**\n * G-4: Per-org-type SCIM provisioning (moved from global directoryProvisioningEnabled).\n *\n * `syncFrequencyHours` was REMOVED here (#1224): no production code read it — the gate consults only\n * `.enabled` — so an application could set a sync cadence and nothing would schedule anything.\n *\n * It is NOT the per-connection field of the same name, which is live: that one is on\n * `sso-config.shared.schemas.ts` and is surfaced in the administration view. Two fields, one name, one\n * of them decorative, is also why this went unnoticed — a search for the name found a reader.\n */\nexport const OrgScimProvisioningSchema = z.object({\n enabled: z.boolean().default(false),\n});\nexport type OrgScimProvisioning = z.infer<typeof OrgScimProvisioningSchema>;\n\nexport const OrganizationTypeDefinitionSchema = z.object({\n /** D-10: User types auto-granted when joining this org type. */\n userTypes: z.array(z.string()).min(1),\n\n availableOrgRoles: z.array(z.union([OrgRolesSchema, z.string()])).default([\n CORE_ORG_ROLES.ORG_OWNER,\n CORE_ORG_ROLES.ORG_ADMIN,\n CORE_ORG_ROLES.ORG_MEMBER,\n ]),\n\n /** R-5: Moved from registration.defaultOrgRole. */\n defaultMemberRole: z.union([OrgRolesSchema, z.string()]).default(CORE_ORG_ROLES.ORG_MEMBER),\n\n /** D-15: Most-restrictive-wins on top of user type auth policy. */\n authOverrides: OrgTypeAuthOverridesSchema,\n\n /** G-4: SCIM provisioning toggle per org type. */\n scimProvisioning: OrgScimProvisioningSchema.optional(),\n\n creationPolicy: OrgCreationPolicySchema.optional(),\n\n /**\n * This type's organization OPERATES the application — the corporate in an internal tool, the suite\n * vendor in a product that extends an existing suite.\n *\n * ## What it is for\n *\n * Some applications are not sold to many tenants. They are built FOR one organization, which runs\n * them and owns the data in them — and that organization's systems (an ERP, a CRM, a directory) are\n * the systems of record the application reads. The framework needs to be able to name that\n * organization before it can say whose rows the remote data is, and an application had no way to\n * say it: a type carries `userTypes`, roles, auth overrides and a creation policy, none of which\n * means \"this one runs the place\".\n *\n * Declare it on exactly ONE type, and at most one organization of that type may exist. Everything\n * downstream that must belong to the operator — not to a customer — resolves through it.\n *\n * ```ts\n * organizationTypes: {\n * company: { ownsApplication: true, userTypes: ['member'] }, // the operator; no creationPolicy\n * workspace: { userTypes: ['member'], creationPolicy: { … } }, // tenants that sign themselves up\n * }\n * ```\n *\n * ## The three rules, and why each exists\n *\n * - **At most one type may carry it.** Two would make \"the organization that owns the application\"\n * a choice, and the framework does not choose between declarations by record order.\n * - **A marked type may NOT declare a `creationPolicy`.** A creation policy is how a type comes\n * into existence when somebody signs up, so a marked type with one would produce a new owner per\n * registrant. The two statements contradict each other, and the contradiction is refused where it\n * is written rather than discovered as a second owner.\n * - **Its `userTypes` must cover `bootstrap.firstAdmin.userTypes`.** The organization the platform\n * seeds for the first administrator IS the owner organization, so a type that does not grant the\n * administrator what they are would seed them into an organization contradicting their identity.\n *\n * ## What it is NOT\n *\n * Not the platform's own `WILDO_OWNER_ORGANIZATION` (`@wildo-ai/platform-config-lib`), which is the\n * organization that owns *Wildo's* applications inside apps-manager and which no application\n * backend ever reads. This marker is an APPLICATION-level statement about one of the application's\n * own tenants. Conflating them would make Wildo the owner of every customer's internal tool.\n *\n * Not a claim about privilege either: members of the owner organization hold exactly the roles the\n * type grants them. What the marker decides is OWNERSHIP of data, not authority over people.\n *\n * ## Adding it to an application that is already running\n *\n * An organization's `type` is creation-time identity, so an existing organization cannot be\n * re-typed by an update. The paired door is `organizations.promoteToOwnerOrganization`: a\n * super-administrator who is a MEMBER of the target organization promotes it, with a justification,\n * and the promotion is audited. Declare the type, run `wildo config reapply-declaration`, then\n * promote. Declaring a second type on an application whose organizations are not all typed yet is\n * refused at boot — boot once with the single type so every row is typed, then add the marked one.\n *\n * `z.literal(true)` rather than `z.boolean()`: `ownsApplication: false` would be a way of writing\n * down a fact that is already true of every type that omits it, and two spellings of the same\n * statement is how a declaration comes to disagree with itself.\n */\n ownsApplication: z.literal(true).optional(),\n\n /**\n * This type's organizations are SERVICE FIRMS whose experts work inside client organizations (#1597).\n *\n * Declaring it lets an organization of this type enter service-provider relationships with\n * organizations of the listed client types. A relationship is always the client's to accept, scope and\n * end; the firm assigns which of its members serve it, and each assigned expert receives a membership\n * in the client carrying the relationship's role — re-checked on every request.\n *\n * ```ts\n * organizationTypes: {\n * workspace: {\n * userTypes: ['member'],\n * availableOrgRoles: ['ORG_OWNER', 'ORG_ADMIN', 'ORG_MEMBER', 'ORG_SERVICE_PROVIDER'],\n * servesAsProvider: {\n * clientOrganizationTypes: ['workspace'],\n * providerRoles: ['ORG_SERVICE_PROVIDER'],\n * defaultProviderRole: 'ORG_SERVICE_PROVIDER',\n * },\n * },\n * }\n * ```\n *\n * Startup refuses:\n * - a provider role that leads up to `ORG_ADMIN` — a relationship never confers administration of the\n * client (a narrow, time-bound delegation is a separate mechanism);\n * - a provider role that a client type does not list in its `availableOrgRoles`;\n * - a `defaultProviderRole` that is not one of `providerRoles`, and a client type that is not declared.\n *\n * The core `ORG_SERVICE_PROVIDER` role (inherits `ORG_MEMBER`) is the usual choice.\n */\n servesAsProvider: z.object({\n clientOrganizationTypes: z.array(z.string().min(1)).min(1),\n providerRoles: z.array(z.string().min(1)).min(1),\n defaultProviderRole: z.string().min(1),\n }).optional(),\n\n /**\n * How organizations of this type, as CLIENTS of a service firm, admit the firm's experts by default (#1612).\n *\n * Each relationship carries its own `expertAdmissionPolicy`, chosen by the client when it proposes or accepts and\n * changed later by a client administrator; this is only where that choice STARTS when the client makes none —\n * for instance a firm's proposal the client has not accepted yet. The relationship's value always wins. It sits\n * on the CLIENT type because the client owns the choice: a firm's type never decides who enters another tenant.\n *\n * ```ts\n * organizationTypes: {\n * lawClient: {\n * // …\n * acceptsServiceProviders: { defaultExpertAdmissionPolicy: ServiceProviderExpertAdmissionPolicy.CLIENT_APPROVES_EACH_EXPERT },\n * },\n * }\n * ```\n *\n * Absent: every expert a firm assigns is admitted (`RELATIONSHIP_APPROVES_ASSIGNED_EXPERTS`), the #1597 behaviour.\n */\n acceptsServiceProviders: z.object({\n defaultExpertAdmissionPolicy: z.enum(ServiceProviderExpertAdmissionPolicy).optional(),\n /**\n * The longest, in days, an organization of this type may lend a service firm a SECURITY-CRITICAL administrative\n * capability (SSO/SCIM, API keys, access-grant approval — #1631). Lowers the framework's 30-day cap; it can never\n * raise it. Ordinary capabilities keep their two-year maximum.\n */\n securityCriticalCapabilityMaxDays: z.number().int().min(1).max(SECURITY_CRITICAL_CAPABILITY_DEFAULT_MAX_DAYS).optional(),\n /**\n * When a client's pending approval of one of a firm's experts lapses, and who is reminded before it does (#1909) —\n * #1628's deadline declaration, on this plane: `lapseAfter` (ISO-8601, e.g. `'P14D'`), a `decision` target with\n * an optional `warnBefore`, and NOTIFY `rules`. There is no `claim`, no REASSIGN and no `pauseStates`: the\n * approval is routed to the client's administrators as a group, offers only an answer, and startup refuses a\n * declaration asking for more. Absent: the framework defaults every human decision gets (a 24-hour lapse, a\n * reminder to the administrators at three quarters of it). A lapsed approval admits nobody; the firm assigns again.\n */\n expertApprovalDeadlines: ReviewDeadlinesDeclarationSchema.optional(),\n }).optional(),\n});\nexport type OrganizationTypeDefinition = z.infer<typeof OrganizationTypeDefinitionSchema>;\n/** @wildo_source:part:end saas.models.config.organization-types */\n\n// ─── Top-Level Config Sections ──────────────────────────────────────────────\n\nexport const UserTypesConfigSchema = z.record(z.string(), UserTypeDefinitionSchema);\nexport type UserTypesConfig = z.infer<typeof UserTypesConfigSchema>;\n\nexport const FrontendServicesConfigSchema = z.record(z.string(), FrontendServiceDefinitionSchema);\nexport type FrontendServicesConfig = z.infer<typeof FrontendServicesConfigSchema>;\n\n/**\n * The application's organization types — at least ONE, always.\n *\n * ## Why an empty map is refused (#1032, decided 2026-09-14)\n *\n * Every organization carries a `type`, and that type must name an entry here. The authentication\n * policy resolver refuses a member whose organization's type it cannot resolve, because a type is\n * where an organization's authentication restrictions live and \"could not tell\" must never read as\n * \"no restrictions\". An application declaring no types therefore could not have a single\n * organization anybody can sign in through — including the one the platform seeds for its first\n * administrator. It used to be optional, and the platform seeded that organization with no type at\n * all, which is how every administrator came to be locked out once the resolver fail-closed.\n *\n * Authored in `wildo.saas.config.ts` (not the backend config) so the platform, which seeds the first\n * organization, can read it.\n *\n * A type key is letters, digits, `_` and `-` only (#1851): it is also the last segment of its label key,\n * `system_enums.OrganizationType.<type>`, and the label tree is addressed by dotted path. A dotted key would name a\n * label nobody could resolve, so the type would show its raw key for ever with nothing reporting why, and a key\n * `acme.eu` beside `acme` would need `acme` to be both a word and a branch. The reviewers' reason codes refuse a dot\n * for the same reason (`AgentWorkReasonCodeSchema`); both test it with `isLabelKeySegment`.\n */\nexport const OrganizationTypesConfigSchema = z\n .record(z.string(), OrganizationTypeDefinitionSchema)\n .superRefine((organizationTypes, ctx) => {\n // Checked here rather than as a record-key schema, whose failure Zod reports only as \"Invalid key in record\".\n for (const typeKey of Object.keys(organizationTypes)) {\n if (!isLabelKeySegment(typeKey)) {\n ctx.addIssue({\n code: 'custom',\n path: [typeKey],\n message: `Organization type key \"${typeKey}\" may contain only letters, digits, \"_\" and \"-\": it is also the last `\n + 'segment of its label key, system_enums.OrganizationType.<type>, which is addressed by dotted path.',\n });\n }\n }\n if (Object.keys(organizationTypes).length === 0) {\n ctx.addIssue({\n code: 'custom',\n path: [],\n message:\n 'At least one organization type must be declared: every organization carries a type, and a '\n + 'member of an organization whose type names no entry here cannot sign in.',\n });\n }\n /*\n * At most ONE type may declare `ownsApplication`, and a type that declares it may not also be\n * created on registration.\n *\n * Both refusals live here for the same reason the `ownerByRegisteredUserType` map below does:\n * they are statements ABOUT THE MAP, not about any one entry, so a per-entry refine could not\n * see them. And both are contradictions in the declaration rather than states of the world —\n * refusing them where the file is loaded turns a would-be second owner organization into an\n * authoring error nobody can commit.\n */\n const markedOwnerTypes = Object.entries(organizationTypes)\n .filter(([, definition]) => definition.ownsApplication === true)\n .map(([organizationType]) => organizationType);\n\n if (markedOwnerTypes.length > 1) {\n ctx.addIssue({\n code: 'custom',\n path: [markedOwnerTypes[1]!, 'ownsApplication'],\n message:\n `Organization types ${markedOwnerTypes.map((type) => `'${type}'`).join(', ')} all declare \\`ownsApplication\\`, `\n + 'but an application is owned by exactly one organization, so at most one type may say so. '\n + 'Keep the marker on the type whose organization operates the application and remove it from the others.',\n });\n }\n\n for (const organizationType of markedOwnerTypes) {\n if (organizationTypes[organizationType]?.creationPolicy === undefined) continue;\n ctx.addIssue({\n code: 'custom',\n path: [organizationType, 'creationPolicy'],\n message:\n `Organization type '${organizationType}' declares \\`ownsApplication\\` and a \\`creationPolicy\\`. `\n + 'A creation policy makes a new organization of this type every time a matching user registers, '\n + 'which would produce one owner organization per registrant; at most one may exist. '\n + 'Keep the marker and drop the creation policy, or move the policy to a separate type for the tenants that sign themselves up.',\n });\n }\n\n const ownerByRegisteredUserType = new Map<string, string>();\n for (const [organizationType, definition] of Object.entries(\n organizationTypes,\n )) {\n const registeredUserTypes =\n definition.creationPolicy?.createOnUserTypeRegistration ?? [];\n registeredUserTypes.forEach((userType, index) => {\n const existingOwner = ownerByRegisteredUserType.get(userType);\n if (existingOwner !== undefined) {\n ctx.addIssue({\n code: 'custom',\n path: [\n organizationType,\n 'creationPolicy',\n 'createOnUserTypeRegistration',\n index,\n ],\n message:\n `User type '${userType}' already creates organization type `\n + `'${existingOwner}' during registration; one registration `\n + 'cannot implicitly choose between multiple organization types',\n });\n return;\n }\n ownerByRegisteredUserType.set(userType, organizationType);\n });\n }\n });\nexport type OrganizationTypesConfig = z.infer<typeof OrganizationTypesConfigSchema>;\n\nexport interface OrganizationTypeRegistrationCreationMatch<\n TDefinition extends {\n readonly creationPolicy?: OrgCreationPolicy;\n } = OrganizationTypeDefinition,\n> {\n readonly organizationType: string;\n readonly definition: TDefinition;\n}\n\n/**\n * Canonical matching rule for registration-derived organization creation.\n *\n * The schema rejects more than one match for a user type. Returning all\n * matches is intentional defensive behavior for stale/unparsed runtime input:\n * callers can fail closed instead of selecting record insertion order.\n */\nexport function findOrganizationTypeRegistrationCreationMatches<\n TDefinition extends {\n readonly creationPolicy?: OrgCreationPolicy;\n },\n>(\n organizationTypes: Readonly<Record<string, TDefinition>> | undefined,\n registeredUserType: string,\n): readonly OrganizationTypeRegistrationCreationMatch<TDefinition>[] {\n if (!organizationTypes) return [];\n return Object.entries(organizationTypes)\n .filter(([, definition]) =>\n definition.creationPolicy?.createOnUserTypeRegistration.includes(\n registeredUserType,\n ),\n )\n .map(([organizationType, definition]) => ({\n organizationType,\n definition,\n }));\n}\n\n/**\n * Why an organization yields no authentication policy — the log-side split of\n * `ErrorCustomMessageReference.AUTHENTICATION_ORGANIZATION_POLICY_UNRESOLVED` (#1036). Three states, three remedies.\n */\nexport enum OrganizationAuthPolicyUnresolvedReason {\n /** A membership names an organization that cannot be found. Remedy: remove the membership or restore the organization. */\n ORGANIZATION_NOT_FOUND = 'organization_not_found',\n /** The organization carries no type. The engine types such organizations at startup when one type is declared. */\n ORGANIZATION_TYPE_MISSING = 'organization_type_missing',\n /** The organization's type names no declared organization type. Remedy: declare it again, or restart so the engine re-types it. */\n ORGANIZATION_TYPE_UNDECLARED = 'organization_type_undeclared',\n}\n\n/**\n * Why an organization type could, or could not, be derived — the vocabulary both derivations below\n * answer in.\n *\n * A closed vocabulary rather than `string | undefined`, because the two refusals have different\n * remedies and a caller has to be able to name them: NONE means the declaration offers nothing that\n * fits (declare a type), AMBIGUOUS means it offers several and the framework will not choose between\n * them by record order (narrow the declaration).\n */\nexport enum OrganizationTypeDerivationOutcome {\n /** Exactly one declared type fits; it is `organizationType`. */\n DERIVED = 'DERIVED',\n /** No declared type fits. */\n NONE = 'NONE',\n /** More than one declared type fits; they are `candidates`, in declaration order. */\n AMBIGUOUS = 'AMBIGUOUS',\n}\n\nexport type OrganizationTypeDerivation =\n | { readonly outcome: OrganizationTypeDerivationOutcome.DERIVED; readonly organizationType: string }\n | { readonly outcome: OrganizationTypeDerivationOutcome.NONE }\n | { readonly outcome: OrganizationTypeDerivationOutcome.AMBIGUOUS; readonly candidates: readonly string[] };\n\nconst deriveFromCandidates = (candidates: readonly string[]): OrganizationTypeDerivation => {\n if (candidates.length === 1) {\n return { outcome: OrganizationTypeDerivationOutcome.DERIVED, organizationType: candidates[0]! };\n }\n return candidates.length === 0\n ? { outcome: OrganizationTypeDerivationOutcome.NONE }\n : { outcome: OrganizationTypeDerivationOutcome.AMBIGUOUS, candidates };\n};\n\n/**\n * The type of the organization the platform seeds for an application's first administrator.\n *\n * DERIVED, never authored: it is the declared organization type whose `userTypes` include every one of\n * `bootstrap.firstAdmin.userTypes`. An organization type's `userTypes` are what a member of it is\n * granted, so a type that does not cover the administrator's user types would seed them into an\n * organization that contradicts who they are. Asking the application author to restate the answer\n * would be a second copy of a fact the declaration already holds.\n *\n * Refuses rather than guesses when several types fit — record order is not a decision.\n *\n * ## The owner marker DECIDES, when one of the fitting types carries it\n *\n * `ownsApplication` says which organization operates the application, and the organization the\n * platform seeds for the first administrator IS that organization. So when a fitting type is marked,\n * the answer is not ambiguous — it is declared, and reading anything else would seed the operator's\n * own administrator into a customer-shaped tenant.\n *\n * This is not a tie-break bolted onto a refusal; without it, an application with a marker would\n * usually be REFUSED. The natural shape of a case-1 declaration is a marked `company` for the\n * operator beside an unmarked `workspace` for the tenants that sign themselves up, and both\n * ordinarily grant the same user types — so both cover the first administrator and `AMBIGUOUS` would\n * fire on every such application. `AMBIGUOUS` keeps its whole meaning for the unmarked case: several\n * types fit and NOTHING in the declaration says which, so record order is all that is left and record\n * order is not a decision.\n *\n * Several MARKED types are still ambiguous, and deliberately so. The configuration schema refuses a\n * second marker, so this can only be reached from a declaration that arrived by another route (a\n * stored configuration written before the rule, an unparsed runtime input) — exactly the case where\n * choosing would be a guess dressed as a derivation.\n */\nexport function deriveFirstAdministratorOrganizationType(\n organizationTypes:\n | Readonly<Record<string, { readonly userTypes: readonly string[]; readonly ownsApplication?: true }>>\n | undefined,\n firstAdministratorUserTypes: readonly string[],\n): OrganizationTypeDerivation {\n const fittingTypes = Object.entries(organizationTypes ?? {})\n .filter(([, definition]) => firstAdministratorUserTypes.every((userType) => definition.userTypes.includes(userType)));\n\n const markedFittingTypes = fittingTypes.filter(([, definition]) => definition.ownsApplication === true);\n if (markedFittingTypes.length > 0) {\n return deriveFromCandidates(markedFittingTypes.map(([organizationType]) => organizationType));\n }\n\n return deriveFromCandidates(fittingTypes.map(([organizationType]) => organizationType));\n}\n\n/**\n * The role that OWNS a newly-created organization of a given type.\n *\n * ONE resolution for every door that founds a tenant, because a tenant founded without an owner is\n * the stranded state `administrative-continuity-floors.md` exists to prevent, and it is reached by\n * whichever door forgot — not by the ones that remembered.\n *\n * There are THREE such doors and they are in two packages, which is why this is a function rather\n * than a convention: self-service `organizations.create`, the organization derived when a user of a\n * declaring type registers, and the platform seeding an application's FIRST organization for its\n * first administrator. The first two already resolved it identically and said so in a comment — *\"the\n * SAME resolution registration uses, so the two creation paths cannot disagree\"* — while the third\n * hard-coded `ORG_ADMIN` and gave every freshly created application an ownerless first tenant, which\n * its own boot report then reported at CRITICAL forever (#436 established the invariant and fixed two\n * of its three call sites; `invariant-call-site-enumeration.md`).\n *\n * `ORG_OWNER` is the answer when the type declares no `creationPolicy` or no `defaultOwnerRole` —\n * the same default `OrgCreationPolicySchema` carries, restated here because the seeding lanes reach\n * types that never passed through that parse (a platform-supplied declaration, a stored\n * configuration). An application that wants a differently-named founding role declares it once, on\n * the type, and all three doors follow.\n */\nexport function resolveOrganizationFoundingOwnerRole(\n organizationTypes: Readonly<Record<string, { readonly creationPolicy?: { readonly defaultOwnerRole?: string } }>> | undefined,\n organizationType: string | undefined,\n): string {\n const declared = organizationType === undefined ? undefined : organizationTypes?.[organizationType];\n return declared?.creationPolicy?.defaultOwnerRole ?? CORE_ORG_ROLES.ORG_OWNER;\n}\n\n/**\n * Which declared organization type OWNS the application, if any.\n *\n * The one reader of {@link OrganizationTypeDefinition.ownsApplication}, so every surface that needs\n * \"the owner type\" asks the same question of the same declaration rather than re-typing the filter.\n *\n * `NONE` is an ordinary, correct answer and the default for every application: most applications are\n * sold to many tenants and no organization operates them. Only a case-1 application — an internal\n * tool, or a product extending a suite the operator already runs — declares one.\n *\n * `AMBIGUOUS` is unreachable from a configuration the schema parsed (a second marker is refused\n * there), and is returned rather than resolved for the same reason the derivation above does it: a\n * declaration that reached a runtime by another route must not have its contradiction silently\n * decided. Callers fail closed on it; nothing is the owner until an operator repairs the declaration.\n */\nexport function resolveApplicationOwnerOrganizationType(\n organizationTypes: Readonly<Record<string, { readonly ownsApplication?: true }>> | undefined,\n): OrganizationTypeDerivation {\n return deriveFromCandidates(\n Object.entries(organizationTypes ?? {})\n .filter(([, definition]) => definition.ownsApplication === true)\n .map(([organizationType]) => organizationType),\n );\n}\n\n/**\n * The type an EXISTING untyped organization receives when the application declares exactly one.\n *\n * The narrowest of the three derivations here: it reads only the declaration, so it answers for an\n * organization about which nothing at all is known. With several declared types it refuses, and the\n * caller falls through to {@link deriveOrganizationTypeFromMemberUserTypes}, which asks the\n * organization itself.\n */\nexport function deriveSoleOrganizationType(\n organizationTypes: Readonly<Record<string, unknown>> | undefined,\n): OrganizationTypeDerivation {\n return deriveFromCandidates(Object.keys(organizationTypes ?? {}));\n}\n\n/**\n * The type an EXISTING untyped organization receives, read from the user types its own members hold.\n *\n * ## Why an existing organization is not silent about its type\n *\n * {@link deriveSoleOrganizationType} used to be the only answer for an existing organization, on the\n * reasoning that one \"carries no record of which user types it was meant for\". Its MEMBERS carry\n * exactly that record: an organization type's `userTypes` are what a member of it is granted, so a\n * type that does not cover every user type the organization's members actually hold is a type this\n * organization cannot be. When that leaves exactly one candidate, nothing is guessed — it is the same\n * coverage test {@link deriveFirstAdministratorOrganizationType} already applies to the\n * first-administrator organization, asked of the members instead of the declaration.\n *\n * ## Why an empty `memberUserTypes` is NONE rather than a match\n *\n * `every` over an empty set is vacuously true, so an organization with no members to read would match\n * every declared type and, against a single-type declaration, would derive one. That would not be a\n * derivation from the organization — it would be {@link deriveSoleOrganizationType} wearing this\n * function's name, reached without reading anything. Absence of a signal is NONE.\n *\n * @param memberUserTypes The union of the user types held by the organization's members. The caller\n * decides which memberships count; it is the one judgement this function does not make.\n */\nexport function deriveOrganizationTypeFromMemberUserTypes(\n organizationTypes: Readonly<Record<string, { readonly userTypes: readonly string[] }>> | undefined,\n memberUserTypes: readonly string[],\n): OrganizationTypeDerivation {\n if (memberUserTypes.length === 0) {\n return { outcome: OrganizationTypeDerivationOutcome.NONE };\n }\n return deriveFromCandidates(\n Object.entries(organizationTypes ?? {})\n .filter(([, definition]) => memberUserTypes.every((userType) => definition.userTypes.includes(userType)))\n .map(([organizationType]) => organizationType),\n );\n}\n"]}
@@ -73,8 +73,8 @@ export declare const ChartSeriesStyleSchema: z.ZodObject<{
73
73
  emphasisScale: z.ZodOptional<z.ZodBoolean>;
74
74
  markLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
75
75
  type: z.ZodOptional<z.ZodEnum<{
76
- max: "max";
77
76
  min: "min";
77
+ max: "max";
78
78
  average: "average";
79
79
  }>>;
80
80
  yValue: z.ZodOptional<z.ZodNumber>;
@@ -89,8 +89,8 @@ export declare const ChartSeriesStyleSchema: z.ZodObject<{
89
89
  }, z.core.$strip>>>;
90
90
  markPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
91
91
  type: z.ZodOptional<z.ZodEnum<{
92
- max: "max";
93
92
  min: "min";
93
+ max: "max";
94
94
  average: "average";
95
95
  }>>;
96
96
  label: z.ZodOptional<z.ZodString>;
@@ -155,8 +155,8 @@ export declare const ChartSeriesDefinitionSchema: z.ZodObject<{
155
155
  emphasisScale: z.ZodOptional<z.ZodBoolean>;
156
156
  markLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
157
  type: z.ZodOptional<z.ZodEnum<{
158
- max: "max";
159
158
  min: "min";
159
+ max: "max";
160
160
  average: "average";
161
161
  }>>;
162
162
  yValue: z.ZodOptional<z.ZodNumber>;
@@ -171,8 +171,8 @@ export declare const ChartSeriesDefinitionSchema: z.ZodObject<{
171
171
  }, z.core.$strip>>>;
172
172
  markPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
173
173
  type: z.ZodOptional<z.ZodEnum<{
174
- max: "max";
175
174
  min: "min";
175
+ max: "max";
176
176
  average: "average";
177
177
  }>>;
178
178
  label: z.ZodOptional<z.ZodString>;
@@ -239,8 +239,8 @@ export declare const ChartSeriesSchema: z.ZodObject<{
239
239
  emphasisScale: z.ZodOptional<z.ZodBoolean>;
240
240
  markLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
241
241
  type: z.ZodOptional<z.ZodEnum<{
242
- max: "max";
243
242
  min: "min";
243
+ max: "max";
244
244
  average: "average";
245
245
  }>>;
246
246
  yValue: z.ZodOptional<z.ZodNumber>;
@@ -255,8 +255,8 @@ export declare const ChartSeriesSchema: z.ZodObject<{
255
255
  }, z.core.$strip>>>;
256
256
  markPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
257
257
  type: z.ZodOptional<z.ZodEnum<{
258
- max: "max";
259
258
  min: "min";
259
+ max: "max";
260
260
  average: "average";
261
261
  }>>;
262
262
  label: z.ZodOptional<z.ZodString>;
@@ -411,8 +411,8 @@ export declare const ChartAppearanceSchema: z.ZodObject<{
411
411
  formatter: z.ZodOptional<z.ZodString>;
412
412
  axisPointerType: z.ZodOptional<z.ZodEnum<{
413
413
  none: "none";
414
- shadow: "shadow";
415
414
  line: "line";
415
+ shadow: "shadow";
416
416
  cross: "cross";
417
417
  }>>;
418
418
  }, z.core.$strip>>;
@@ -436,8 +436,8 @@ export declare const ChartAppearanceSchema: z.ZodObject<{
436
436
  slider: "slider";
437
437
  }>>>;
438
438
  axis: z.ZodOptional<z.ZodEnum<{
439
- y: "y";
440
439
  both: "both";
440
+ y: "y";
441
441
  x: "x";
442
442
  }>>;
443
443
  start: z.ZodOptional<z.ZodNumber>;
@@ -605,8 +605,8 @@ export type ChartTypeConfig_Heatmap = z.infer<typeof ChartTypeConfig_HeatmapSche
605
605
  export declare const ChartTypeConfig_SankeySchema: z.ZodObject<{
606
606
  emphasisFocus: z.ZodOptional<z.ZodEnum<{
607
607
  none: "none";
608
- self: "self";
609
608
  adjacency: "adjacency";
609
+ self: "self";
610
610
  }>>;
611
611
  nodeWidth: z.ZodOptional<z.ZodNumber>;
612
612
  nodeGap: z.ZodOptional<z.ZodNumber>;
@@ -817,8 +817,8 @@ export declare const ChartTypeConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
817
817
  }, z.core.$loose>, z.ZodObject<{
818
818
  emphasisFocus: z.ZodOptional<z.ZodEnum<{
819
819
  none: "none";
820
- self: "self";
821
820
  adjacency: "adjacency";
821
+ self: "self";
822
822
  }>>;
823
823
  nodeWidth: z.ZodOptional<z.ZodNumber>;
824
824
  nodeGap: z.ZodOptional<z.ZodNumber>;
@@ -1024,8 +1024,8 @@ export declare const ChartViewOptionsSchema: z.ZodObject<{
1024
1024
  }, z.core.$loose>, z.ZodObject<{
1025
1025
  emphasisFocus: z.ZodOptional<z.ZodEnum<{
1026
1026
  none: "none";
1027
- self: "self";
1028
1027
  adjacency: "adjacency";
1028
+ self: "self";
1029
1029
  }>>;
1030
1030
  nodeWidth: z.ZodOptional<z.ZodNumber>;
1031
1031
  nodeGap: z.ZodOptional<z.ZodNumber>;
@@ -1211,8 +1211,8 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
1211
1211
  emphasisScale: z.ZodOptional<z.ZodBoolean>;
1212
1212
  markLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
1213
1213
  type: z.ZodOptional<z.ZodEnum<{
1214
- max: "max";
1215
1214
  min: "min";
1215
+ max: "max";
1216
1216
  average: "average";
1217
1217
  }>>;
1218
1218
  yValue: z.ZodOptional<z.ZodNumber>;
@@ -1227,8 +1227,8 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
1227
1227
  }, z.core.$strip>>>;
1228
1228
  markPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
1229
1229
  type: z.ZodOptional<z.ZodEnum<{
1230
- max: "max";
1231
1230
  min: "min";
1231
+ max: "max";
1232
1232
  average: "average";
1233
1233
  }>>;
1234
1234
  label: z.ZodOptional<z.ZodString>;
@@ -1342,8 +1342,8 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
1342
1342
  formatter: z.ZodOptional<z.ZodString>;
1343
1343
  axisPointerType: z.ZodOptional<z.ZodEnum<{
1344
1344
  none: "none";
1345
- shadow: "shadow";
1346
1345
  line: "line";
1346
+ shadow: "shadow";
1347
1347
  cross: "cross";
1348
1348
  }>>;
1349
1349
  }, z.core.$strip>>;
@@ -1367,8 +1367,8 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
1367
1367
  slider: "slider";
1368
1368
  }>>>;
1369
1369
  axis: z.ZodOptional<z.ZodEnum<{
1370
- y: "y";
1371
1370
  both: "both";
1371
+ y: "y";
1372
1372
  x: "x";
1373
1373
  }>>;
1374
1374
  start: z.ZodOptional<z.ZodNumber>;
@@ -1510,8 +1510,8 @@ export declare const ChartDefinitionSchema: z.ZodObject<{
1510
1510
  }, z.core.$loose>, z.ZodObject<{
1511
1511
  emphasisFocus: z.ZodOptional<z.ZodEnum<{
1512
1512
  none: "none";
1513
- self: "self";
1514
1513
  adjacency: "adjacency";
1514
+ self: "self";
1515
1515
  }>>;
1516
1516
  nodeWidth: z.ZodOptional<z.ZodNumber>;
1517
1517
  nodeGap: z.ZodOptional<z.ZodNumber>;
@@ -1 +1 @@
1
- {"version":3,"file":"chart-definition.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/config/frontend/chart-definition.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAEhF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AAE9F;;oEAEoE;AAOpE,oBAAY,SAAS;IAEnB,GAAG,QAAQ;IACX,cAAc,mBAAmB;IACjC,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IAGvB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IAGvB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,OAAO,YAAY;IAGnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,YAAY;IAGnB,KAAK,UAAU;IACf,QAAQ,aAAa;IAGrB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IAGjB,QAAQ,aAAa;CACtB;AAID,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAKD,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AA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