@wildo-ai/saas-specifications 1.1.1 → 1.1.2

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 (423) hide show
  1. package/dist/assurance/external-framework-mapping.json +980 -0
  2. package/dist/esm/_core/brand/brand.family-aspects.d.ts +3 -0
  3. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
  4. package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
  5. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -0
  6. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts +3 -0
  7. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
  8. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
  9. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -0
  10. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts +3 -0
  11. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
  12. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
  13. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
  14. package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
  15. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  16. package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
  17. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
  18. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  19. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
  20. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  21. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +168 -2
  22. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  23. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +98 -9
  24. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  25. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
  26. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
  27. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
  28. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
  29. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  30. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
  31. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  32. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
  33. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
  34. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
  35. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
  36. package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
  37. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  38. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  39. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
  40. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
  41. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
  42. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
  43. package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
  44. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  45. package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
  46. package/dist/esm/_core/family-aspects.registry.d.ts +18 -0
  47. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
  48. package/dist/esm/_core/family-aspects.registry.js +60 -0
  49. package/dist/esm/_core/family-aspects.registry.js.map +1 -0
  50. package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
  51. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
  52. package/dist/esm/_core/family-aspects.schemas.js +15 -0
  53. package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
  54. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
  55. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
  56. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
  57. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
  58. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
  59. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts +11 -0
  60. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  61. package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
  62. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  63. package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
  64. package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
  65. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
  66. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  67. package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
  68. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
  69. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  70. package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
  71. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  72. package/dist/esm/_core/index.d.ts +2 -0
  73. package/dist/esm/_core/index.d.ts.map +1 -1
  74. package/dist/esm/_core/index.js +2 -0
  75. package/dist/esm/_core/index.js.map +1 -1
  76. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
  77. package/dist/esm/_core/market/market.family-aspects.d.ts +9 -0
  78. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
  79. package/dist/esm/_core/market/market.family-aspects.js +227 -0
  80. package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
  81. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
  82. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  83. package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
  84. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  85. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts +3 -0
  86. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
  87. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
  88. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
  89. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts +9 -0
  90. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
  91. package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
  92. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
  93. package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
  94. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  95. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  96. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts +3 -0
  97. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
  98. package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
  99. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
  100. package/dist/esm/_core/vision/vision.family-aspects.d.ts +11 -0
  101. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
  102. package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
  103. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
  104. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +188 -33
  105. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  106. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +158 -57
  107. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  108. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +38 -4
  109. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
  110. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
  111. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
  112. package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
  113. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
  114. package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
  115. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
  116. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
  117. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
  118. package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
  119. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
  120. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +93 -62
  121. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  122. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +114 -59
  123. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  124. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -0
  125. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  126. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
  127. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  128. package/dist/esm/application-creation.exports.d.ts +11 -0
  129. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  130. package/dist/esm/application-creation.exports.js +11 -0
  131. package/dist/esm/application-creation.exports.js.map +1 -1
  132. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +976 -2
  133. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  134. package/dist/esm/assurance/assurance-authority-basis.definitions.js +2026 -61
  135. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  136. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +1 -0
  137. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  138. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  139. package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
  140. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  141. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
  142. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  143. package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
  144. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  145. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts +90 -0
  146. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
  147. package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
  148. package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -0
  149. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +71 -1
  150. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  151. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +545 -5
  152. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  153. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +141 -0
  154. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
  155. package/dist/esm/assurance/assurance-program-generation.schemas.js +377 -0
  156. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
  157. package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
  158. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
  159. package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
  160. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
  161. package/dist/esm/assurance/assurance-program.schemas.d.ts +30 -6
  162. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  163. package/dist/esm/assurance/assurance-program.schemas.js +29 -6
  164. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  165. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
  166. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  167. package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
  168. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  169. package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
  170. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  171. package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
  172. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  173. package/dist/esm/assurance/document-publication.family-aspects.d.ts +29 -0
  174. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
  175. package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
  176. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
  177. package/dist/esm/assurance.exports.d.ts +2 -0
  178. package/dist/esm/assurance.exports.d.ts.map +1 -1
  179. package/dist/esm/assurance.exports.js +2 -0
  180. package/dist/esm/assurance.exports.js.map +1 -1
  181. package/dist/esm/companion-exports.d.ts +19 -2
  182. package/dist/esm/companion-exports.d.ts.map +1 -1
  183. package/dist/esm/companion-exports.js.map +1 -1
  184. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  185. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +2 -0
  186. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  187. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  188. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +3 -1
  189. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  190. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  191. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +3 -1
  192. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  193. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  194. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +3 -1
  195. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  196. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  197. package/dist/esm/engine/applications/resources/applications.resource.specification.js +3 -1
  198. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  199. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
  200. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
  201. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
  202. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
  203. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
  204. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  205. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +2 -0
  206. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  207. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  208. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +2 -0
  209. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  210. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  211. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +3 -1
  212. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  213. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +1 -1
  214. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  215. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +2 -0
  216. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  217. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  218. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +2 -0
  219. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  220. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  221. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +2 -0
  222. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  223. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  224. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -0
  225. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  226. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  227. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +6 -4
  228. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  229. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  230. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +2 -0
  231. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  232. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  233. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +2 -0
  234. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  235. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -2
  236. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  237. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -0
  238. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  239. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +8 -8
  240. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  241. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +2 -0
  242. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  243. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +2 -2
  244. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  245. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +2 -0
  246. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  247. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  248. package/dist/esm/engine/billing/resources/prices.resource.specification.js +3 -1
  249. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  250. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  251. package/dist/esm/engine/billing/resources/products.resource.specification.js +3 -1
  252. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  253. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  254. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +2 -0
  255. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  256. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  257. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +3 -1
  258. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  259. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
  260. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  261. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +2 -0
  262. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  263. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +6 -6
  264. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  265. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +2 -0
  266. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  267. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  268. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +2 -0
  269. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  270. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  271. package/dist/esm/engine/engine-resource-specifications.registry.js +5 -0
  272. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  273. package/dist/esm/engine/engine-resource-sub-domain.d.ts +63 -0
  274. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
  275. package/dist/esm/engine/engine-resource-sub-domain.js +87 -0
  276. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
  277. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  278. package/dist/esm/engine/errors/error-messages.specification.js +30 -1
  279. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  280. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  281. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -0
  282. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  283. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  284. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +2 -0
  285. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  286. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
  287. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  288. package/dist/esm/engine/features/resources/user-features.resource.specification.js +2 -0
  289. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  290. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  291. package/dist/esm/engine/files/resources/files.resource.specification.js +2 -0
  292. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  293. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +3 -3
  294. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  295. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +12 -0
  296. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  297. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +3 -3
  298. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  299. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +2 -0
  300. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  301. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -3
  302. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  303. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +2 -0
  304. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  305. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
  306. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  307. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +3 -1
  308. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  309. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  310. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +8 -3
  311. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  312. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +1 -1
  313. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  314. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +3 -0
  315. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  316. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +1 -1
  317. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  318. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +3 -0
  319. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  320. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +1 -1
  321. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  322. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +3 -0
  323. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  324. package/dist/esm/engine/index.d.ts +1 -0
  325. package/dist/esm/engine/index.d.ts.map +1 -1
  326. package/dist/esm/engine/index.js +1 -0
  327. package/dist/esm/engine/index.js.map +1 -1
  328. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  329. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +2 -0
  330. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  331. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  332. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +2 -0
  333. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  334. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  335. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +2 -0
  336. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  337. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  338. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +2 -0
  339. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  340. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  341. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +2 -0
  342. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  343. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
  344. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  345. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +3 -0
  346. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  347. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  348. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +2 -0
  349. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  350. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
  351. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  352. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +2 -0
  353. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  354. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  355. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +2 -0
  356. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  357. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  358. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +2 -0
  359. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  360. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  361. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -0
  362. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  363. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  364. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +2 -0
  365. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  366. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  367. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
  368. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  369. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  370. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +2 -0
  371. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  372. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  373. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -0
  374. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  375. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +1 -1
  376. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  377. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -0
  378. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  379. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +1 -1
  380. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  381. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -0
  382. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  383. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
  384. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  385. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +2 -0
  386. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  387. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +1 -1
  388. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  389. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +2 -0
  390. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  391. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +1 -1
  392. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  393. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +2 -0
  394. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  395. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +1 -1
  396. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  397. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +2 -0
  398. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  399. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +1 -1
  400. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  401. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +2 -0
  402. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  403. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  404. package/dist/esm/engine/users/resources/user-self.resource.specification.js +3 -1
  405. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  406. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  407. package/dist/esm/engine/users/resources/users.resource.specification.js +2 -0
  408. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  409. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts +5 -0
  410. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  411. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +385 -9
  412. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  413. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +1 -1
  414. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  415. package/dist/tsconfig.build.tsbuildinfo +1 -0
  416. package/package.json +8 -8
  417. package/dist/esm/.builder.pid +0 -9
  418. package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
  419. package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
  420. package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
  421. package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
  422. package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
  423. package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
@@ -0,0 +1,87 @@
1
+ /**
2
+ * Which part of the ENGINE a resource belongs to.
3
+ *
4
+ * ## Why this exists
5
+ *
6
+ * An application's own resources are grouped by the module that registers them, and the engine's are
7
+ * grouped by nothing at all. Every engine resource arrives as one flat set of 85 — `users` beside
8
+ * `stripeWebhookEvents` beside `flowsActorsTaskEvents` — so any surface that has to present them
9
+ * (the domain-model graph, `wildo context`, generated documentation, an application-creation
10
+ * playbook deciding what to show a builder) either shows all 85 undifferentiated or invents its own
11
+ * grouping and drifts from the next surface that does the same.
12
+ *
13
+ * The grouping is not new: it has existed since the specs were written, as the DIRECTORY each spec
14
+ * lives in and as a matching row of `// auth`, `// billing`, `// users` banner comments in
15
+ * `engine-resource-specifications.registry.ts`. Both are hand-maintained, neither is reachable at
16
+ * runtime, and nothing checks that they agree. This enum is those same twelve values made addressable
17
+ * — a name a member's meaning can be written next to, which a folder name cannot carry.
18
+ *
19
+ * ## What this is NOT
20
+ *
21
+ * - **Not `ApplicationModuleKind`** (`'domain' | 'engine'`). That decides whether a resource is the
22
+ * application's or the engine's; this subdivides the engine's half, which that axis cannot do.
23
+ * - **Not `EngineCapability`.** That is a PROCUREMENT axis — which external provider fills a slot
24
+ * (`BILLING`, `AI_LLM`, `SMS`). Most engine resources map to none of it (`users`, `roles`,
25
+ * `sessions`, `apiKeys`), and reusing it would fuse "who supplies this" with "what part of the
26
+ * product this is".
27
+ * - **Not a scope, a tenancy axis or an authorization boundary.** `ResourcePrimaryScope` answers who
28
+ * a row belongs to; this answers what it is about. A single sub-domain spans several scopes.
29
+ *
30
+ * ## Its counterpart on an application's side
31
+ *
32
+ * `ResourceSpecificationConfig.subDomain` is typed `string`, not this enum, because an application's
33
+ * sub-domains are its own and this repository cannot enumerate them. This is the ENGINE's closed
34
+ * vocabulary for that open field — the one named runtime source for the twelve values engine specs
35
+ * are allowed to use.
36
+ */
37
+ export var EngineResourceSubDomain;
38
+ (function (EngineResourceSubDomain) {
39
+ /** The application itself as a record: its metadata, versions, API keys and OAuth clients. */
40
+ EngineResourceSubDomain["APPLICATIONS"] = "applications";
41
+ /** Proving who is calling and what they may delegate: sessions, MFA, SSO/SCIM, OAuth, consumable tokens. */
42
+ EngineResourceSubDomain["AUTH"] = "auth";
43
+ /** Money: products, plans, subscriptions, invoices, payments and the provider events behind them. */
44
+ EngineResourceSubDomain["BILLING"] = "billing";
45
+ /** What an operator must be able to SAY: governed documents, privacy notices, evidence. */
46
+ EngineResourceSubDomain["COMPLIANCE"] = "compliance";
47
+ /** What the application offers and to whom: features, products, milestones. */
48
+ EngineResourceSubDomain["FEATURES"] = "features";
49
+ /** Uploaded bytes and the metadata that links them to a domain row. */
50
+ EngineResourceSubDomain["FILES"] = "files";
51
+ /** Work that runs: flows, actors, tasks, agents and their execution records. */
52
+ EngineResourceSubDomain["FLOWS_ACTORS"] = "flows-actors";
53
+ /** Leading a user through something: onboarding, guidance flows, their state. */
54
+ EngineResourceSubDomain["GUIDANCE"] = "guidance";
55
+ /** The machinery an application runs ON: jobs, seeding, ETL, webhooks, integration plumbing. */
56
+ EngineResourceSubDomain["INFRASTRUCTURE"] = "infrastructure";
57
+ /** Telling someone: email, in-app notifications, their templates and delivery records. */
58
+ EngineResourceSubDomain["NOTIFICATIONS"] = "notifications";
59
+ /** The tenant: organizations, their members, invitations, units and settings. */
60
+ EngineResourceSubDomain["ORGANIZATIONS"] = "organizations";
61
+ /** The person: user records, profiles, preferences, roles and their assignments. */
62
+ EngineResourceSubDomain["USERS"] = "users";
63
+ })(EngineResourceSubDomain || (EngineResourceSubDomain = {}));
64
+ /*
65
+ * NO PRESENTATION ORDER LIVES HERE, and that was tried first.
66
+ *
67
+ * A ranking of these twelve values was written beside them, on the argument that two surfaces
68
+ * ordering one vocabulary by their own lights will drift. The argument is real and it lost to a
69
+ * measured cost: the only consumer is a BROWSER package, and importing this module pulls the
70
+ * `saas-specifications` root barrel, which pulls all 84 engine resource specifications and — through
71
+ * `data-seed-runs` — a hop into `@wildo-ai/saas-backend-lib` SOURCE, whose internal `~wildo-backend-lib`
72
+ * aliases the consumer cannot resolve. The import failed outright, and had it resolved it would have
73
+ * put the entire specification tree in an application chunk.
74
+ *
75
+ * A narrow subpath was the other candidate and is refused by `check:package-entrypoints`: one module
76
+ * behind its own public specifier is `single-file-subpath`, which exposes repository organization as
77
+ * API.
78
+ *
79
+ * What is left is the honest split. This file owns the VOCABULARY — what the twelve values are and
80
+ * what each means, which is a contract. The order a diagram meets them in is a property of that
81
+ * diagram and lives with it (`domain-model-graph.builder.ts`), where an unknown value sorts last by
82
+ * a documented rule rather than silently.
83
+ *
84
+ * If a SECOND surface ever needs the same order, that is the moment to give this vocabulary a real
85
+ * cohesive entrypoint — not before, and not by paying a bundle for a consumer that does not exist.
86
+ */
87
+ //# sourceMappingURL=engine-resource-sub-domain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"engine-resource-sub-domain.js","sourceRoot":"","sources":["../../../../src/engine/engine-resource-sub-domain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,CAAN,IAAY,uBAyBX;AAzBD,WAAY,uBAAuB;IACjC,8FAA8F;IAC9F,wDAA6B,CAAA;IAC7B,4GAA4G;IAC5G,wCAAa,CAAA;IACb,qGAAqG;IACrG,8CAAmB,CAAA;IACnB,2FAA2F;IAC3F,oDAAyB,CAAA;IACzB,+EAA+E;IAC/E,gDAAqB,CAAA;IACrB,uEAAuE;IACvE,0CAAe,CAAA;IACf,gFAAgF;IAChF,wDAA6B,CAAA;IAC7B,iFAAiF;IACjF,gDAAqB,CAAA;IACrB,gGAAgG;IAChG,4DAAiC,CAAA;IACjC,0FAA0F;IAC1F,0DAA+B,CAAA;IAC/B,iFAAiF;IACjF,0DAA+B,CAAA;IAC/B,oFAAoF;IACpF,0CAAe,CAAA;AACjB,CAAC,EAzBW,uBAAuB,KAAvB,uBAAuB,QAyBlC;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG","sourcesContent":["/**\n * Which part of the ENGINE a resource belongs to.\n *\n * ## Why this exists\n *\n * An application's own resources are grouped by the module that registers them, and the engine's are\n * grouped by nothing at all. Every engine resource arrives as one flat set of 85 — `users` beside\n * `stripeWebhookEvents` beside `flowsActorsTaskEvents` — so any surface that has to present them\n * (the domain-model graph, `wildo context`, generated documentation, an application-creation\n * playbook deciding what to show a builder) either shows all 85 undifferentiated or invents its own\n * grouping and drifts from the next surface that does the same.\n *\n * The grouping is not new: it has existed since the specs were written, as the DIRECTORY each spec\n * lives in and as a matching row of `// auth`, `// billing`, `// users` banner comments in\n * `engine-resource-specifications.registry.ts`. Both are hand-maintained, neither is reachable at\n * runtime, and nothing checks that they agree. This enum is those same twelve values made addressable\n * — a name a member's meaning can be written next to, which a folder name cannot carry.\n *\n * ## What this is NOT\n *\n * - **Not `ApplicationModuleKind`** (`'domain' | 'engine'`). That decides whether a resource is the\n * application's or the engine's; this subdivides the engine's half, which that axis cannot do.\n * - **Not `EngineCapability`.** That is a PROCUREMENT axis — which external provider fills a slot\n * (`BILLING`, `AI_LLM`, `SMS`). Most engine resources map to none of it (`users`, `roles`,\n * `sessions`, `apiKeys`), and reusing it would fuse \"who supplies this\" with \"what part of the\n * product this is\".\n * - **Not a scope, a tenancy axis or an authorization boundary.** `ResourcePrimaryScope` answers who\n * a row belongs to; this answers what it is about. A single sub-domain spans several scopes.\n *\n * ## Its counterpart on an application's side\n *\n * `ResourceSpecificationConfig.subDomain` is typed `string`, not this enum, because an application's\n * sub-domains are its own and this repository cannot enumerate them. This is the ENGINE's closed\n * vocabulary for that open field — the one named runtime source for the twelve values engine specs\n * are allowed to use.\n */\nexport enum EngineResourceSubDomain {\n /** The application itself as a record: its metadata, versions, API keys and OAuth clients. */\n APPLICATIONS = 'applications',\n /** Proving who is calling and what they may delegate: sessions, MFA, SSO/SCIM, OAuth, consumable tokens. */\n AUTH = 'auth',\n /** Money: products, plans, subscriptions, invoices, payments and the provider events behind them. */\n BILLING = 'billing',\n /** What an operator must be able to SAY: governed documents, privacy notices, evidence. */\n COMPLIANCE = 'compliance',\n /** What the application offers and to whom: features, products, milestones. */\n FEATURES = 'features',\n /** Uploaded bytes and the metadata that links them to a domain row. */\n FILES = 'files',\n /** Work that runs: flows, actors, tasks, agents and their execution records. */\n FLOWS_ACTORS = 'flows-actors',\n /** Leading a user through something: onboarding, guidance flows, their state. */\n GUIDANCE = 'guidance',\n /** The machinery an application runs ON: jobs, seeding, ETL, webhooks, integration plumbing. */\n INFRASTRUCTURE = 'infrastructure',\n /** Telling someone: email, in-app notifications, their templates and delivery records. */\n NOTIFICATIONS = 'notifications',\n /** The tenant: organizations, their members, invitations, units and settings. */\n ORGANIZATIONS = 'organizations',\n /** The person: user records, profiles, preferences, roles and their assignments. */\n USERS = 'users',\n}\n\n/*\n * NO PRESENTATION ORDER LIVES HERE, and that was tried first.\n *\n * A ranking of these twelve values was written beside them, on the argument that two surfaces\n * ordering one vocabulary by their own lights will drift. The argument is real and it lost to a\n * measured cost: the only consumer is a BROWSER package, and importing this module pulls the\n * `saas-specifications` root barrel, which pulls all 84 engine resource specifications and — through\n * `data-seed-runs` — a hop into `@wildo-ai/saas-backend-lib` SOURCE, whose internal `~wildo-backend-lib`\n * aliases the consumer cannot resolve. The import failed outright, and had it resolved it would have\n * put the entire specification tree in an application chunk.\n *\n * A narrow subpath was the other candidate and is refused by `check:package-entrypoints`: one module\n * behind its own public specifier is `single-file-subpath`, which exposes repository organization as\n * API.\n *\n * What is left is the honest split. This file owns the VOCABULARY — what the twelve values are and\n * what each means, which is a contract. The order a diagram meets them in is a property of that\n * diagram and lives with it (`domain-model-graph.builder.ts`), where an unknown value sorts last by\n * a documented rule rather than silently.\n *\n * If a SECOND surface ever needs the same order, that is the moment to give this vocabulary a real\n * cohesive entrypoint — not before, and not by paying a bundle for a consumer that does not exist.\n */\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"error-messages.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/errors/error-messages.specification.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,yBAAyB,EAE1B,MAAM,6BAA6B,CAAC;AAs2BrC;;;;;;;;;GASG;AACH,eAAO,MAAM,gCAAgC,EAAE,yBAQ5C,CAAC"}
1
+ {"version":3,"file":"error-messages.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/errors/error-messages.specification.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,yBAAyB,EAE1B,MAAM,6BAA6B,CAAC;AAm4BrC;;;;;;;;;GASG;AACH,eAAO,MAAM,gCAAgC,EAAE,yBAQ5C,CAAC"}
@@ -406,6 +406,26 @@ const ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS = {
406
406
  businessRole: 'Rejects a consumable token not accepted for the attempted operation.',
407
407
  },
408
408
  [ErrorCustomMessageReference.CONSUMABLE_TOKEN_RACE_CONDITION]: null,
409
+ [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_TARGET_MISMATCH]: {
410
+ audience: LabelAudience.END_USER,
411
+ purpose: 'Tell the user this upload link is for a different place and cannot be used here.',
412
+ businessRole: 'Rejects an upload grant presented on a route other than the one resource, field, operation and row it was minted for.',
413
+ },
414
+ [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_DURATION_EXCEEDS_MAX]: {
415
+ audience: LabelAudience.ADMIN,
416
+ purpose: 'Tell the caller the requested link lifetime is above the maximum and to request a shorter one.',
417
+ businessRole: 'Rejects minting an upload grant whose lifetime exceeds the engine ceiling; the ceiling is fixed because the link travels outside the application.',
418
+ },
419
+ [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_MINTER_NOT_ELIGIBLE]: {
420
+ audience: LabelAudience.ADMIN,
421
+ purpose: 'Tell the caller that this kind of session cannot create upload links.',
422
+ businessRole: 'Rejects minting from a consumable-token or anonymous context: a link may not mint a link, and an anonymous session has no subject to attribute the file to.',
423
+ },
424
+ [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_NOT_FOUND]: {
425
+ audience: LabelAudience.END_USER,
426
+ purpose: 'Tell the user this upload link is not valid.',
427
+ businessRole: 'Rejects a status read or redemption of an upload grant that does not match any token, without revealing whether one ever existed.',
428
+ },
409
429
  [ErrorCustomMessageReference.CONSUMABLE_TOKEN_FILE_SHARING_DISABLED]: {
410
430
  audience: LabelAudience.END_USER,
411
431
  purpose: 'Tell the user file sharing is turned off.',
@@ -777,7 +797,16 @@ const ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS = {
777
797
  businessRole: 'Rejects a file operation whose file does not exist or is not accessible.',
778
798
  },
779
799
  [ErrorCustomMessageReference.FILE_INVALID_STATUS_TRANSITION]: null,
780
- [ErrorCustomMessageReference.FILE_NOT_IN_UPLOADED_STATUS]: null,
800
+ [ErrorCustomMessageReference.FILE_NOT_LINKABLE]: {
801
+ audience: LabelAudience.END_USER,
802
+ purpose: 'Tell the user the file is not ready to be attached (it failed, was removed, or is already in use) and to upload it again.',
803
+ businessRole: 'Rejects attaching a file whose status is outside the linkable set — a failed, deleted, orphaned or infected upload cannot be attached to a record.',
804
+ },
805
+ [ErrorCustomMessageReference.FILE_SCAN_IN_PROGRESS]: {
806
+ audience: LabelAudience.END_USER,
807
+ purpose: 'Tell the user the file is still being checked and to try attaching it again in a moment.',
808
+ businessRole: 'Rejects attaching a file whose antivirus scan has not finished; the file is not wrong, only not yet known to be safe, so the action is retryable.',
809
+ },
781
810
  [ErrorCustomMessageReference.FILE_ALREADY_LINKED]: null,
782
811
  [ErrorCustomMessageReference.FILE_ALREADY_DELETED]: {
783
812
  audience: LabelAudience.END_USER,
@@ -1 +1 @@
1
- {"version":3,"file":"error-messages.specification.js","sourceRoot":"","sources":["../../../../../src/engine/errors/error-messages.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAMhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,yCAAyC,GAG3C;IACF,2EAA2E;IAC3E,uEAAuE;IACvE,0EAA0E;IAC1E,yEAAyE;IACzE,2CAA2C;IAC3C,CAAC,2BAA2B,CAAC,OAAO,CAAC,EAAE;QACrC,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,kEAAkE;QAC3E,YAAY,EAAE,wEAAwE;KACvF;IACD,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE,IAAI;IAC1C,CAAC,2BAA2B,CAAC,OAAO,CAAC,EAAE;QACrC,QAAQ,EAAE,aAAa,CAAC,QAA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vE,CAAC,2BAA2B,CAAC,wBAAwB,CAAC,EAAE,IAAI;IAC5D,CAAC,2BAA2B,CAAC,0BAA0B,CAAC,EAAE,IAAI;IAC9D,CAAC,2BAA2B,CAAC,4BAA4B,CAAC,EAAE,IAAI;IAEhE,2EAA2E;IAC3E,CAAC,2BAA2B,CAAC,mCAAmC,CAAC,EAAE,IAAI;CACxE,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAC3C,iCAAiC,CAC/B,GAAG,MAAM,CAAC,OAAO,CAAC,yCAAyC,CAAC;KACzD,MAAM,CACL,CAAC,KAAK,EAAqD,EAAE,CAC3D,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,CACpB;KACA,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAC9C,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { ErrorCustomMessageReference } from '@wildo-ai/saas-models';\nimport { buildErrorMessageSpecificationMap } from '~wildo-specifications/_core';\nimport type {\n ErrorMessageSpecification,\n ErrorMessageSpecificationDraft,\n} from '~wildo-specifications/_core';\n\n/**\n * Engine-shipped semantic overlay for `ErrorCustomMessageReference`.\n *\n * # Why this record is EXHAUSTIVE (`Record`, not `Partial<Record>`)\n *\n * Every `ErrorCustomMessageReference` member MUST appear here — the\n * `Record<ErrorCustomMessageReference, …>` type makes a missing member a\n * COMPILE error. This is the durable guarantee that a newly-added error\n * reference cannot ship without a deliberate decision about its\n * user-facing wording: either author a draft, or mark it `null`.\n *\n * # `null` = intentionally internal (no user-facing quality investment)\n *\n * `null` means \"this reference is server-internal plumbing (DI, registry,\n * driver, transport, job/queue) that a normal user never meaningfully\n * reads — let the label generator fall back to its default token-based\n * copy.\" Marking `null` is a positive statement, not an omission: it is\n * how the exhaustiveness gate is satisfied for an internal error.\n *\n * # Authored drafts (the user-facing subset — D2)\n *\n * A draft carries `{ audience, purpose, businessRole }`:\n * - `audience` — `END_USER` (consumer flows), `ADMIN` (back-office /\n * operator surfaces), or `DEVELOPER` (integration / API errors).\n * - `purpose` — the USER-FACING intent (what the reader should\n * understand + do next); this is the `errors_messages.<ref>.msg` seed.\n * - `businessRole` — the system condition the error guards.\n *\n * The audience axis is deliberately per-ref (unlike roles, which are all\n * `ADMIN` at the unit level) — invitation/auth flows are `END_USER`,\n * seed/config surfaces are `ADMIN`, API/webhook/SSO integration surfaces\n * are `DEVELOPER`.\n *\n * NOTE: this classification is a first, defensible pass. Refining an\n * individual audience/purpose only touches this record; the mechanism\n * (projection → prompt) is unaffected.\n */\nconst ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS: Record<\n ErrorCustomMessageReference,\n ErrorMessageSpecificationDraft | null\n> = {\n // ── Coarse ErrorType fallbacks ──────────────────────────────────────────\n // Generic buckets shown when no specific reference is set. The clearly\n // user-facing ones get graceful copy; pure server-fault buckets stay null\n // (the generator keeps a terse \"server error\" style; context is stripped\n // from the client for these types anyway).\n [ErrorCustomMessageReference.DEFAULT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user something went wrong and to try again in a moment.',\n businessRole: 'Generic fallback message when no more specific error reference is set.',\n },\n [ErrorCustomMessageReference.CUSTOM]: null,\n [ErrorCustomMessageReference.NETWORK]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the request could not reach the server and to check their connection and retry.',\n businessRole: 'Coarse network-failure bucket surfaced when a request never completed.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they need to sign in to continue.',\n businessRole: 'Coarse 401 bucket for missing or invalid authentication.',\n },\n [ErrorCustomMessageReference.AUTHORIZATION]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have permission to do this.\",\n businessRole: 'Coarse 403 bucket for an authenticated but not-permitted request.',\n },\n [ErrorCustomMessageReference.VALIDATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user some of the information they entered is invalid and to review it.',\n businessRole: 'Coarse 400 bucket for malformed input or a failed cross-field rule.',\n },\n [ErrorCustomMessageReference.NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user the item they're looking for could not be found.\",\n businessRole: 'Coarse 404 bucket for a missing or not-visible resource.',\n },\n [ErrorCustomMessageReference.CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the action conflicts with the current state and to reload and try again.',\n businessRole: 'Coarse 409 bucket for a uniqueness, version, or state conflict.',\n },\n [ErrorCustomMessageReference.RATE_LIMIT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they are doing that too often and to wait a moment before retrying.',\n businessRole: 'Coarse 429 bucket for too many requests.',\n },\n [ErrorCustomMessageReference.INTERNAL]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an unexpected error occurred on our side and to try again later.',\n businessRole: 'Coarse 500 bucket for a server-side fault (details are logged, not shown).',\n },\n [ErrorCustomMessageReference.DATABASE]: null,\n [ErrorCustomMessageReference.EXTERNAL_SERVICE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user a service we depend on is temporarily unavailable and to try again later.',\n businessRole: 'Coarse 502 bucket for a failed downstream provider/API.',\n },\n [ErrorCustomMessageReference.UNKNOWN]: null,\n [ErrorCustomMessageReference.UNCAUGHT_EXCEPTION]: null,\n [ErrorCustomMessageReference.UNHANDLED_REJECTION]: null,\n [ErrorCustomMessageReference.BUSINESS_RULE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the action is not allowed by a business rule.',\n businessRole: 'Coarse 422 bucket for a well-formed request that violates a domain rule.',\n },\n [ErrorCustomMessageReference.INFRASTRUCTURE]: null,\n [ErrorCustomMessageReference.CONFIGURATION]: null,\n\n // ── Controller / repository / service / registry plumbing (internal) ────\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_BUILD_ERROR]: null,\n [ErrorCustomMessageReference.REPOSITORIES_REGISTRY_NOT_FOUND]: null,\n [ErrorCustomMessageReference.REPOSITORIES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEARCH_NOT_CONFIGURED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEARCH_NOT_ENABLED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCE_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.APP_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.FILENAME_SANITIZATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTENT_LENGTH_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.STREAM_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_TRANSFORMATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_BUILD_ERROR]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_OPERATION_DISABLED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_REGISTRY_NOT_AVAILABLE]: null,\n [ErrorCustomMessageReference.SERVICES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_SCHEMA_CONVERSION_FAILED]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_UNSUPPORTED_TYPE]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_MODEL_BUILD_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_REGISTRATION_FAILED]: null,\n [ErrorCustomMessageReference.EXTERNAL_PROVIDER_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.EXECUTION_CONTEXT_SEALED_MODIFICATION]: null,\n [ErrorCustomMessageReference.EXECUTION_CONTEXT_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.HTTP_SERVER_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_CONFIGURATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_STARTUP_FAILED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_MISSING_INITIATOR]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_NO_OPERATION_CONTEXT]: null,\n\n // ── JWT internals (never user-facing) ───────────────────────────────────\n [ErrorCustomMessageReference.JWT_SIGNING_FAILED]: null,\n [ErrorCustomMessageReference.JWT_VERIFICATION_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_GENERATION_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_PARSING_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_EXPIRED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_INVALID]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_VERIFIED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_SIGNED]: null,\n [ErrorCustomMessageReference.PLATFORM_HTTP_ERROR]: null,\n [ErrorCustomMessageReference.RESOURCE_OPERATION_CUSTOM_IMPLEMENTATION_NOT_IMPLEMENTED]: null,\n [ErrorCustomMessageReference.SERVICE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.SERVICE_CREATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_OPERATION_PATH_NOT_FOUND]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_FIELD_IDENTIFIER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_RELATIONSHIP_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.CONTROLLER_CUSTOM_NAME_CONFLICT]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_ID_MUST_BE_UNIQUE]: null,\n\n // ── API-key / token / initiator auth (integrator-facing) ────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_API_KEY_INVALID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the API key is invalid or unrecognised.',\n businessRole: 'Rejects a request whose API key does not resolve to an active credential.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_API_KEY_FAILED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller API-key authentication failed.',\n businessRole: 'Generic API-key authentication failure.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_INVALID_TOKEN]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the authentication token is invalid or malformed.',\n businessRole: 'Rejects a request carrying an unparseable or invalid bearer token.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NO_AUTHENTICATION_PROVIDED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller no credential was supplied and one is required.',\n businessRole: 'Rejects a request that reached a protected endpoint with no auth material.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_MISSING]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller a required initiator parameter is missing from the request.',\n businessRole: 'Rejects an API call whose initiator identification is incomplete.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_INCONSISTENT]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the initiator parameters are inconsistent with each other.',\n businessRole: 'Rejects an API call whose initiator parameters contradict.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_UNSUPPORTED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the supplied initiator parameter is not supported.',\n businessRole: 'Rejects an API call using an unsupported initiator parameter.',\n },\n [ErrorCustomMessageReference.API_ORG_KEY_WITHOUT_ORG_ID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller an organization-scoped API key requires an organization id.',\n businessRole: 'Rejects an org-scoped key used without the organization identifier.',\n },\n [ErrorCustomMessageReference.API_ORG_KEY_WRONG_RESOURCE]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the organization API key is not valid for this resource.',\n businessRole: 'Rejects an org-scoped key used against a resource outside its scope.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_JWT_TOKEN_FAILED]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_ACTIVE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their account is not active and to contact support.',\n businessRole: 'Blocks sign-in for a user whose account is not in an active state.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_AUTHORIZED]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_CREDENTIALS_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_CREDENTIALS_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the email or password is incorrect (without revealing which).',\n businessRole: 'Rejects a password sign-in with wrong credentials; deliberately non-specific for security.',\n },\n\n // ── Authentication session & flow (user-facing) ─────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session is no longer valid and to sign in again.',\n businessRole: 'Rejects a request whose session could not be validated.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session has expired and to sign in again.',\n businessRole: 'Rejects a request whose session has passed its lifetime.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_ACCOUNT_LOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their account is locked and how to regain access.',\n businessRole: 'Blocks sign-in for an account locked (e.g. after repeated failures).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_MFA_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user multi-factor authentication is required to continue.',\n businessRole: 'Signals the sign-in flow must complete an MFA challenge.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SSO_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their organization requires single sign-on and to use the SSO option.',\n businessRole: 'Blocks password sign-in when the org mandates SSO (grace exhausted or disallowed).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_EMAIL_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an email address is required to continue.',\n businessRole: 'Blocks a sign-in/registration step that needs an email address.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_METHOD_NOT_SUPPORTED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that sign-in method is not available here.',\n businessRole: 'Rejects an authentication method not enabled for this application.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_PASSWORD_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their password has expired and must be changed before continuing.',\n businessRole: 'Blocks token issuance until an expired password is changed (password policy).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_USER_TYPE_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user their account can't be used to sign in to this application.\",\n businessRole: \"Blocks sign-in when the user's types do not include this app's active user type.\",\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NOT_IMPLEMENTED]: null,\n [ErrorCustomMessageReference.STEP_UP_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this action needs them to confirm their identity again.',\n businessRole: 'Requires step-up re-authentication before a sensitive operation.',\n },\n [ErrorCustomMessageReference.CROSS_ORG_SSO_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user cross-organization single sign-on is not allowed for their account.',\n businessRole: 'Blocks SSO when the user already holds an enterprise SSO link from another org.',\n },\n [ErrorCustomMessageReference.APP_CONFIGURATION_UNAUTHORIZED]: null,\n [ErrorCustomMessageReference.APP_CONFIGURATION_NOT_INITIALIZED]: null,\n\n // ── Frontend runtime internals (never user-facing copy) ─────────────────\n [ErrorCustomMessageReference.FRONTEND_FORM_READ_OPERATION_NOT_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_INVALID_URL_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_MISSING_REQUIRED_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_UNRESOLVED_ROUTE_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_OPERATION_NOT_FOUND]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_UNSUPPORTED_OPERATION_TYPE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_SEARCH_OPERATION_INVALID]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_UNSUPPORTED_HTTP_METHOD]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_ENDPOINT_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_ROUTE_PATHS_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_CALLBACK_URL]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_RESPONSE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.REGISTRY_FK_MAP_COLLISION]: null,\n [ErrorCustomMessageReference.FRONTEND_FK_RESOLUTION_FAILED]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_FIELD_IDENTIFIER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCES_NOT_INITIALIZED]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_INVALID_DISCRIMINATOR]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_UNACCOUNTED_VALUES]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_DUPLICATE_VALUES]: null,\n\n // ── Database constraint / field validation (user-facing) ────────────────\n [ErrorCustomMessageReference.UNIQUE_CONSTRAINT_VIOLATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the value they entered is already taken and to choose another.',\n businessRole: 'Rejects a write that would break a uniqueness constraint.',\n },\n [ErrorCustomMessageReference.VERSION_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this item was changed by someone else and to reload before saving again.',\n businessRole: 'Rejects an optimistic-concurrency write against a stale version.',\n },\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_UNIQUE]: null,\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_FOUND]: null,\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_UNIQUE_FIELD]: null,\n [ErrorCustomMessageReference.VALIDATION_PASSWORD_POLICY_VIOLATION]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user their password doesn't meet the requirements and to choose a stronger one.\",\n businessRole: 'Rejects a password that fails the configured password policy.',\n },\n\n // ── Queue / job internals (never user-facing) ───────────────────────────\n [ErrorCustomMessageReference.QUEUE_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_PUBLISH_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_CONSUME_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_CHANNEL_CLOSED]: null,\n [ErrorCustomMessageReference.QUEUE_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.JOB_EXECUTION_FAILED]: null,\n [ErrorCustomMessageReference.JOB_TIMEOUT]: null,\n [ErrorCustomMessageReference.JOB_MAX_RETRIES_EXCEEDED]: null,\n [ErrorCustomMessageReference.JOB_DEAD_LETTERED]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_TOO_LARGE]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_STORAGE_FAILED]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_RETRIEVAL_FAILED]: null,\n [ErrorCustomMessageReference.JOB_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JOB_ALREADY_PROCESSED]: null,\n [ErrorCustomMessageReference.JOB_CANCELLED]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_SIGNATURE_INVALID]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_SIGNATURE_EXPIRED]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_UNAUTHORIZED]: null,\n [ErrorCustomMessageReference.JOB_OPERATION_PATH_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JOB_EXECUTION_CONTEXT_INVALID]: null,\n [ErrorCustomMessageReference.JOB_BATCH_REF_NOT_FOUND]: null,\n\n // ── Feature gating (user-facing) ────────────────────────────────────────\n [ErrorCustomMessageReference.FEATURE_NOT_AVAILABLE]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this feature isn't available on their current plan.\",\n businessRole: 'Gates a feature the current plan/entitlement does not include.',\n },\n [ErrorCustomMessageReference.FEATURE_LIMIT_EXCEEDED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they've reached their plan's limit for this and how to raise it.\",\n businessRole: 'Gates an action that would exceed a plan limit.',\n },\n [ErrorCustomMessageReference.INSUFFICIENT_CREDITS]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have enough credits for this action.\",\n businessRole: 'Gates a metered action when the credit balance is insufficient.',\n },\n\n // ── Consumable tokens (user-facing share / reset links) ─────────────────\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link is invalid.',\n businessRole: 'Rejects a consumable-token flow whose token does not resolve.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has expired and to request a new one.',\n businessRole: 'Rejects a consumable token past its expiry.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_ALREADY_CONSUMED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has already been used.',\n businessRole: 'Rejects a single-use token that was already consumed.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_REVOKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has been revoked.',\n businessRole: 'Rejects a consumable token that was revoked before use.',\n },\n // END_USER: a token type/context/operation mismatch surfaces in a user's\n // share/reset link flow as \"this link can't be used here\" — user-facing, not\n // internal. (RACE_CONDITION stays null — a transient internal retry concern.)\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_TYPE_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used here.',\n businessRole: 'Rejects a consumable token presented for a different token type than expected.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_CONTEXT_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used here.',\n businessRole: 'Rejects a consumable token whose bound context does not match the request.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_NOT_ACCEPTED_FOR_OPERATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used for this action.',\n businessRole: 'Rejects a consumable token not accepted for the attempted operation.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_RACE_CONDITION]: null,\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_FILE_SHARING_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user file sharing is turned off.',\n businessRole: 'Blocks a file-share token flow when sharing is disabled.',\n },\n [ErrorCustomMessageReference.ADDITIVE_TOKEN_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller this request also requires a consumable-token header alongside its auth.',\n businessRole: 'Enforces the ADDITIVE policy requiring x-consumable-token alongside JWT/API-key auth.',\n },\n [ErrorCustomMessageReference.ONE_OFF_SESSION_DURATION_EXCEEDS_MAX]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the administrator the requested one-off session lifetime is longer than this user type allows, and to request a shorter one.',\n businessRole: \"Caps a super-admin-minted one-off session at the user type's max-duration ceiling so it cannot become a long-lived impersonation credential.\",\n },\n\n // ── Invitation acceptance / registration (user-facing; seed refs) ───────\n [ErrorCustomMessageReference.INVITATION_ORG_VERIFICATION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the invitee we couldn't verify the invitation right now and that it's safe to try again.\",\n businessRole: \"Transient failure verifying the invitation's organization; the single-use token is NOT consumed.\",\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SCIM_LOCAL_CREDENTIAL_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the invitee this organization uses single sign-on, so they should sign in with SSO instead of setting a password.',\n businessRole: 'Blocks setting a local credential for a directory-managed (SCIM) organization.',\n },\n [ErrorCustomMessageReference.INVITATION_NO_LONGER_VALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the invitee the invitation link can no longer be used and to ask the inviting administrator for a new one.',\n businessRole: 'Uniform terminal guard on the public invitation-accept flow (unrecognised / expired / consumed / superseded).',\n },\n [ErrorCustomMessageReference.INVITATION_NOT_ADDRESSED_TO_CALLER]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this invitation was sent to a different account.',\n businessRole: 'Rejects an authenticated accept when the invitation targets another account.',\n },\n [ErrorCustomMessageReference.INVITATION_EXISTING_ACCOUNT_NO_PASSWORD]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they already have an account, so they can accept the invitation and then sign in with their existing method.',\n businessRole: 'Signals the invitee already has an account and must accept without setting a password.',\n },\n [ErrorCustomMessageReference.REGISTRATION_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user sign-up is turned off for this application.',\n businessRole: 'Blocks self-service registration when it is disabled for the app/service/user type.',\n },\n [ErrorCustomMessageReference.REGISTRATION_INVITATION_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user registration is invitation-only and they need a valid invitation.',\n businessRole: 'Blocks registration without an invitation when the app is invitation-only.',\n },\n [ErrorCustomMessageReference.REGISTRATION_ADMIN_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this account type is created by an administrator, so they cannot sign up themselves.',\n businessRole: 'Blocks self-service registration when the user type is admin-provisioned only (registration.mode=admin_only).',\n },\n [ErrorCustomMessageReference.REGISTRATION_PASSWORD_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user a password is required to finish creating their account.',\n businessRole: 'Blocks registration completion when a password is required but missing.',\n },\n [ErrorCustomMessageReference.REGISTRATION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user registration couldn't be completed and to try again.\",\n businessRole: 'Transient server failure during registration; the user may retry.',\n },\n [ErrorCustomMessageReference.ACCOUNT_ACTIVATION_NOT_ALLOWED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this account can't be activated in its current state.\",\n businessRole: 'Blocks activation of an account that exists but is not in an activatable state.',\n },\n\n // ── Auth / session flow (user-facing) ───────────────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_FIRST_FACTOR_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they must complete the first sign-in step before this one.',\n businessRole: 'Blocks a second-factor step before a first authentication factor is completed.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_MAGIC_LINK_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user magic-link sign-in is not available and to use another method.',\n businessRole: 'Blocks magic-link authentication when disabled for the application.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NO_VERIFIED_PHONE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user there is no verified phone number for SMS codes and to add one first.',\n businessRole: 'Blocks SMS one-time-passcode delivery when no verified phone is on file.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_ONBOARDING_STATE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user organization setup can't be completed in the current state.\",\n businessRole: 'Blocks completing organization onboarding from an invalid session state.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_LOST]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session was lost and to start signing in again.',\n businessRole: 'Signals the session was lost after magic-link verification; sign-in must restart.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_NO_EMAIL]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_NO_USER]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_SMS_OTP_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user SMS code sign-in is not available and to use another method.',\n businessRole: 'Blocks SMS one-time-passcode authentication when disabled for the application.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_REFRESH_TOKEN_REQUIRED]: null,\n [ErrorCustomMessageReference.AUTHORIZATION_USER_ID_MISMATCH]: null,\n [ErrorCustomMessageReference.AUTHORIZATION_MACHINE_SCOPE_MISMATCH]: null,\n\n // ── MFA flow (user-facing) ──────────────────────────────────────────────\n [ErrorCustomMessageReference.MFA_ENROLLMENT_STATE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user MFA setup can't be completed right now and to restart it.\",\n businessRole: 'Blocks completing MFA enrollment from an invalid session state.',\n },\n [ErrorCustomMessageReference.MFA_NOT_ENROLLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user no multi-factor method is set up yet.',\n businessRole: 'Rejects an MFA challenge when no method is enrolled.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_ALREADY_ENROLLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an authenticator app is already set up for their account.',\n businessRole: 'Rejects a duplicate TOTP enrollment.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_CODE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user that authentication code didn't match and to try again.\",\n businessRole: 'Rejects an invalid TOTP verification code.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_SETUP_NOT_INITIATED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user to start authenticator setup before entering a code.',\n businessRole: 'Rejects TOTP verification when no pending setup exists.',\n },\n\n // ── Config / request contract ───────────────────────────────────────────\n [ErrorCustomMessageReference.ORG_NAME_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an organization name is required.',\n businessRole: 'Rejects organization creation/onboarding without a name.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_HAS_DEPENDENTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the unit cannot be deleted while child units or assigned members still hang off it, and that the children must first be re-parented onto another node with MOVE (or the subtree deleted bottom-up).',\n businessRole: 'Protects the integrity of the organization tree: the unit self-relationship declares no delete cascade, so removing an interior node would strand its whole subtree behind a dangling parent reference and a stale hierarchy path.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_MOVE_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the destination is not a legal home for this unit, because it sits inside the unit\\'s own subtree.',\n businessRole: 'Protects the organization tree from a re-parent that would detach a branch into a cycle — a node beneath its own descendant has no route back to the root.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the archive or restore is not a legal transition from the unit\\'s current state.',\n businessRole: 'Keeps archive/restore ordered — a branch cannot be restored underneath a parent that is still archived, which would leave an active node unreachable through an inactive ancestor.',\n },\n [ErrorCustomMessageReference.RESOURCE_STATUS_TRANSITION_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this action is unavailable because the item is no longer in a state that permits it, and to refresh before choosing the next action.',\n businessRole: 'Rejects a lifecycle transition when the persisted item\\'s current status is not one of the operation\\'s allowed source statuses.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_SLUG_EXISTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the person creating the organization that this web address is already taken, and to choose a different one.',\n businessRole: \"Protects the tenant's URL-safe identity. The slug is creation-time identity and cannot be edited afterwards, so a collision has to be refused at creation — there would be no way to resolve it later.\",\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_CODE_EXISTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin that another unit under the same parent already uses this code, and that the code must be changed (or the unit placed elsewhere).',\n businessRole: 'Keeps unit codes unambiguous where they are actually used to disambiguate — among siblings. Codes stay reusable across different branches, and units that carry no code at all are unaffected.',\n },\n [ErrorCustomMessageReference.APPLICATION_SLUG_EXISTS]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator creating the application that this slug is already in use somewhere on the platform — including in another organization — and to choose a different one.',\n businessRole: 'Protects the application slug, which names every backing resource the application is provisioned with (its database, database user and message-broker vhost). Uniqueness is deliberately platform-wide rather than per-organization, because two applications sharing a slug would be handed the same backing resources. The slug is creation-time identity and cannot be edited afterwards, so a collision has to be refused at creation.',\n },\n [ErrorCustomMessageReference.FRONTEND_SERVICE_HEADER_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the X-Frontend-Service-Name header is required.',\n businessRole: 'Rejects a request missing the frontend-service identity header.',\n },\n\n // ── Webhook (integrator-facing) ─────────────────────────────────────────\n [ErrorCustomMessageReference.WEBHOOK_SIGNATURE_INVALID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the inbound webhook signature could not be verified.',\n businessRole: 'Rejects an inbound webhook whose signature verification failed.',\n },\n\n // ── Billing ─────────────────────────────────────────────────────────────\n [ErrorCustomMessageReference.BILLING_NOT_INITIALIZED]: null,\n [ErrorCustomMessageReference.BILLING_ACCOUNT_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_CUSTOMER]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_NO_ACTIVE_SUBSCRIPTION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user there is no active subscription for this action.',\n businessRole: 'Gates an action that requires an active subscription.',\n },\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_SUBSCRIPTION]: null,\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_PRICE]: null,\n [ErrorCustomMessageReference.BILLING_PRODUCT_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_PRICE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_INVALID_PRODUCT_TYPE]: null,\n [ErrorCustomMessageReference.BILLING_PLAN_TIER_REQUIRED]: null,\n [ErrorCustomMessageReference.BILLING_ADDON_NOT_ON_SUBSCRIPTION]: null,\n [ErrorCustomMessageReference.BILLING_LOCAL_WRITE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_NO_ITEMS]: null,\n [ErrorCustomMessageReference.BILLING_ACCOUNT_UPDATE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_UPDATE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_PROMOTION_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that promotion code could not be found.',\n businessRole: 'Rejects a promotion code that does not resolve.',\n },\n [ErrorCustomMessageReference.BILLING_INSUFFICIENT_CREDITS]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have enough credits for this.\",\n businessRole: 'Gates a billing action when the credit balance is insufficient.',\n },\n [ErrorCustomMessageReference.BILLING_CREDIT_POOL_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_PROMOTION_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that promotion code is not valid.',\n businessRole: 'Rejects a promotion code that is expired or not applicable.',\n },\n [ErrorCustomMessageReference.BILLING_PRODUCT_SCOPE_MISMATCH]: null,\n // Not `null`: the reader is an end user in a self-serve purchase or plan-change flow, and the\n // refusal is a business rule about the request they just made — not plumbing. The message must\n // say the chosen price does not belong to the chosen product, so a UI that de-synced its product\n // and price pickers produces a legible failure instead of an opaque 400.\n [ErrorCustomMessageReference.BILLING_PRICE_PRODUCT_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the selected price does not belong to the selected product, so the purchase or plan change cannot proceed.',\n businessRole: 'Enforces the price→product foreign key at purchase time: entitlements derive from the product while the provider bills the price, so an unmatched pair would grant one product’s entitlements at another’s price.',\n },\n [ErrorCustomMessageReference.BILLING_SCOPE_NOT_ENABLED]: null,\n // Not `null`: this is a business rule, not plumbing. The reader is whoever wrote the\n // off-boarding routine (the operation is INTERNAL_CALL with no HTTP/UI surface), and the\n // message must tell them the delete was refused on purpose and what to resolve first.\n [ErrorCustomMessageReference.BILLING_ACCOUNT_HAS_DEPENDENTS]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Explain that the billing account cannot be hard-deleted because retained financial records (subscriptions, invoices, usage, credits) still reference it, and that those must be resolved — or the account soft-retired instead — first.',\n businessRole: 'Protects the retained financial audit trail: this account holds the only local provider-customer mapping, so removing it would leave those records unreconcilable against the billing provider.',\n },\n\n // ── SAML protocol engine (SSO integration diagnostics) ──────────────────\n // Deferred: SAML failures surface a coarse authentication error to the\n // end user; these granular refs are operator/integration diagnostics and\n // are left null for a dedicated pass.\n [ErrorCustomMessageReference.SAML_ASSERTION_INVALID]: null,\n [ErrorCustomMessageReference.SAML_SIGNATURE_INVALID]: null,\n [ErrorCustomMessageReference.SAML_AUDIENCE_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_REPLAY_DETECTED]: null,\n [ErrorCustomMessageReference.SAML_EXPIRED]: null,\n [ErrorCustomMessageReference.SAML_DOMAIN_NOT_VERIFIED]: null,\n [ErrorCustomMessageReference.SAML_CERT_EXPIRED]: null,\n [ErrorCustomMessageReference.SAML_DECRYPTION_FAILED]: null,\n [ErrorCustomMessageReference.SAML_SP_KEY_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_UNSUPPORTED_ENCRYPTION]: null,\n [ErrorCustomMessageReference.SAML_TRANSIENT_NAMEID]: null,\n [ErrorCustomMessageReference.SAML_INVALID_NAME_ID]: null,\n [ErrorCustomMessageReference.SAML_MOBILE_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.SAML_MULTIPLE_ASSERTIONS]: null,\n [ErrorCustomMessageReference.SAML_BINDING_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_METADATA_PARSE_ERROR]: null,\n [ErrorCustomMessageReference.SAML_INVALID_IN_RESPONSE_TO]: null,\n [ErrorCustomMessageReference.SAML_ORGANIZATION_REQUIRED]: null,\n [ErrorCustomMessageReference.SAML_IDP_INITIATED_NOT_ALLOWED]: null,\n [ErrorCustomMessageReference.SAML_AMBIGUOUS_IDP]: null,\n [ErrorCustomMessageReference.SAML_UNKNOWN_IDP]: null,\n [ErrorCustomMessageReference.SAML_DESTINATION_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_JAVA_REQUIRED]: null,\n\n // ── Aggregation / chart ─────────────────────────────────────────────────\n [ErrorCustomMessageReference.CHART_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that chart could not be found.',\n businessRole: 'Rejects a chart request whose chart does not resolve.',\n },\n // END_USER: a chart query timing out is seen by the person viewing the chart.\n [ErrorCustomMessageReference.AGGREGATION_TIMEOUT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the chart took too long to load and to narrow the range or filters.',\n businessRole: 'Aborts a chart aggregation that exceeded its time budget.',\n },\n [ErrorCustomMessageReference.AGGREGATION_MAX_BUCKETS_EXCEEDED]: null,\n [ErrorCustomMessageReference.AGGREGATION_FIELD_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AGGREGATION_COMPUTED_EXPRESSION_ERROR]: null,\n [ErrorCustomMessageReference.AGGREGATION_JOIN_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AGGREGATION_ACCESS_DENIED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have permission to view this chart's data.\",\n businessRole: 'Blocks aggregated-data access without the required list/chart permissions.',\n },\n [ErrorCustomMessageReference.AGGREGATION_SCOPE_UNRESOLVED]: null,\n [ErrorCustomMessageReference.AGGREGATION_SCOPE_CONFLICT]: null,\n [ErrorCustomMessageReference.AGGREGATION_EXECUTION_CONTEXT_REQUIRED]: null,\n\n // ── Agent / flows-actors (developer/config; deferred) ───────────────────\n [ErrorCustomMessageReference.AGENT_PROVIDER_NOT_ENABLED]: null,\n [ErrorCustomMessageReference.AGENT_PROVIDER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AGENT_OPERATION_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.AGENT_IMAGE_GENERATION_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.AGENT_IMAGE_PROMPT_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_CLI_OUTPUT_INVALID]: null,\n [ErrorCustomMessageReference.AGENT_STRUCTURED_SCHEMA_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_MODEL_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.AGENT_MESSAGES_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.FLOW_INVALID_KIND]: null,\n [ErrorCustomMessageReference.FLOW_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.ACTOR_INVALID_KIND]: null,\n [ErrorCustomMessageReference.ACTOR_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.CHART_PARENT_CONTEXT_INACCESSIBLE]: null,\n\n // ── Auth-methods / SSO (integrator-facing) ──────────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_DISABLED_FOR_SERVICE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user sign-in is not available here.',\n businessRole: 'Blocks authentication for a frontend service + user type combination.',\n },\n // END_USER (not DEVELOPER): these surface to a person attempting a social /\n // SSO sign-in whose provider or connection is unconfigured, so the friendly\n // consumer register fits better than integrator voice.\n [ErrorCustomMessageReference.OAUTH_PROVIDER_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that sign-in option is not available right now.',\n businessRole: 'Rejects an OAuth/social sign-in flow for an unregistered or disabled provider.',\n },\n [ErrorCustomMessageReference.SSO_CONNECTION_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user single sign-on is not available for their account right now.',\n businessRole: 'Rejects an SSO sign-in flow whose connection was not found or is disabled.',\n },\n\n // ── Config / data-seeding / email ───────────────────────────────────────\n [ErrorCustomMessageReference.APP_CONFIGURATION_FRONTEND_SERVICE_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the frontendServiceName query parameter is required.',\n businessRole: 'Rejects an app-configuration fetch missing the frontend-service parameter.',\n },\n [ErrorCustomMessageReference.APP_CONFIGURATION_UNKNOWN_FRONTEND_SERVICE]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the frontendServiceName does not match a configured service.',\n businessRole: 'Rejects an app-configuration fetch for an unknown frontend service.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_SECRET_REQUIRED]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin secret header is missing.',\n businessRole: 'Rejects a data-seeding admin call without the secret header.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_SECRET_INVALID]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin secret did not match.',\n businessRole: 'Rejects a data-seeding admin call with a wrong secret header.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_INVALID_QUERY]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin list-runs query is invalid.',\n businessRole: 'Rejects invalid query parameters on the data-seeding admin endpoint.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_INVALID_PAYLOAD]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin rerun payload is invalid.',\n businessRole: 'Rejects an invalid request body on the data-seeding admin rerun endpoint.',\n },\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEED_METADATA_NOT_FOUND]: null,\n [ErrorCustomMessageReference.EMAIL_INVALID_ADDRESS_FORMAT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user one of the email addresses is not valid.',\n businessRole: 'Rejects an email whose recipient/cc/bcc/replyTo contains a malformed address.',\n },\n\n // ── File operations ─────────────────────────────────────────────────────\n [ErrorCustomMessageReference.FILE_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that file could not be found.',\n businessRole: 'Rejects a file operation whose file does not exist or is not accessible.',\n },\n [ErrorCustomMessageReference.FILE_INVALID_STATUS_TRANSITION]: null,\n [ErrorCustomMessageReference.FILE_NOT_IN_UPLOADED_STATUS]: null,\n [ErrorCustomMessageReference.FILE_ALREADY_LINKED]: null,\n [ErrorCustomMessageReference.FILE_ALREADY_DELETED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that file has already been deleted.',\n businessRole: 'Rejects a delete on an already-deleted file.',\n },\n [ErrorCustomMessageReference.FILE_ACCESS_DENIED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have access to that file.\",\n businessRole: 'Blocks access to a file the caller is not permitted to see.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_WHILE_PROCESSING]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user the file is still being processed and can't be deleted yet.\",\n businessRole: 'Blocks file deletion while the AV scan is in progress.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_LINKED_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user to unlink the file from its item before deleting it.',\n businessRole: 'Blocks deleting a file still linked to a resource.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_UPLOADER_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user only the person who uploaded this file can delete it.',\n businessRole: 'Blocks file deletion by anyone other than the original uploader.',\n },\n [ErrorCustomMessageReference.FILE_SHARE_REQUEST_INVALID]: null,\n [ErrorCustomMessageReference.FILE_UPLOAD_NO_FILE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user no file was provided to upload.',\n businessRole: 'Rejects an upload request with no file.',\n },\n [ErrorCustomMessageReference.FILE_TOO_MANY_FILES]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they selected too many files for this field and to remove some.',\n businessRole: 'Rejects an upload exceeding the field maximum.',\n },\n [ErrorCustomMessageReference.FILE_GENERATED_FIELD_NOT_WRITABLE]: null,\n [ErrorCustomMessageReference.FILE_FIELD_NOT_OVERRIDABLE]: null,\n [ErrorCustomMessageReference.FILE_FIELD_VALUE_INVALID]: null,\n [ErrorCustomMessageReference.FILE_NESTED_UPDATE_AMBIGUOUS]: null,\n [ErrorCustomMessageReference.FILE_UPLOADER_FIELDS_INCONSISTENT]: null,\n [ErrorCustomMessageReference.FILE_UPLOADER_MISMATCH]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_IDENTIFIER_MISSING]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_IDENTIFIER_INVALID]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_DERIVATION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_TEXT_EXTRACTION_UNSUPPORTED_TYPE]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user text can't be extracted from this type of file.\",\n businessRole: 'Rejects text extraction for an unsupported MIME type.',\n },\n [ErrorCustomMessageReference.FILE_TEXT_EXTRACTION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this file's contents could not be read, and that a different copy may work.\",\n businessRole: 'Reports a document whose bytes are corrupt, truncated, or password-protected.',\n },\n [ErrorCustomMessageReference.FILE_NOT_FOUND_IN_STORAGE]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_KEY_COMPOSITION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_REF_INVALID]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_REF_FORBIDDEN]: null,\n [ErrorCustomMessageReference.FILE_PATH_TRAVERSAL_DETECTED]: null,\n\n // ── Bulk relationship ───────────────────────────────────────────────────\n [ErrorCustomMessageReference.BULK_RELATIONSHIP_SELECTOR_REQUIRED]: null,\n};\n\n/**\n * Engine-shipped {@link ErrorMessageSpecification} map — the authored\n * (non-`null`) subset of {@link ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS},\n * with each draft's `ref` injected from the exhaustive record's key.\n *\n * Built once at module load via {@link buildErrorMessageSpecificationMap},\n * which validates every entry and keys it `app.<ref>`. Consumed by the dev\n * companion's label projector to attach `purpose` + `audience` to\n * `errors_messages.<ref>.msg` label keys before generation.\n */\nexport const engineErrorMessageSpecifications: ErrorMessageSpecification =\n buildErrorMessageSpecificationMap(\n ...Object.entries(ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS)\n .filter(\n (entry): entry is [string, ErrorMessageSpecificationDraft] =>\n entry[1] !== null,\n )\n .map(([ref, draft]) => ({ ref, ...draft })),\n );\n"]}
1
+ {"version":3,"file":"error-messages.specification.js","sourceRoot":"","sources":["../../../../../src/engine/errors/error-messages.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAMhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,yCAAyC,GAG3C;IACF,2EAA2E;IAC3E,uEAAuE;IACvE,0EAA0E;IAC1E,yEAAyE;IACzE,2CAA2C;IAC3C,CAAC,2BAA2B,CAAC,OAAO,CAAC,EAAE;QACrC,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,kEAAkE;QAC3E,YAAY,EAAE,wEAAwE;KACvF;IACD,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE,IAAI;IAC1C,CAAC,2BAA2B,CAAC,OAAO,CAAC,EAAE;QACrC,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,+FAA+F;QACxG,YAAY,EAAE,wEAAwE;KACvF;IACD,CAAC,2BAA2B,CAAC,cAAc,CAAC,EAAE;QAC5C,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,iDAAiD;QAC1D,YAAY,EAAE,0DAA0D;KACzE;IACD,CAAC,2BAA2B,CAAC,aAAa,CAAC,EAAE;QAC3C,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,sDAAsD;QAC/D,YAAY,EAAE,mEAAmE;KAClF;IACD,CAAC,2BAA2B,CAAC,UAAU,CAAC,EAAE;QACxC,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,iFAAiF;QAC1F,YAAY,EAAE,qEAAqE;KACp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AAE,uDAAuD;KACtE;IACD,CAAC,2BAA2B,CAAC,2BAA2B,CAAC,EAAE;QACzD,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,2FAA2F;QACpG,YAAY,EAAE,+EAA+E;KAC9F;IACD,CAAC,2BAA2B,CAAC,yBAAyB,CAAC,EAAE,IAAI;IAC7D,CAAC,2BAA2B,CAAC,0BAA0B,CAAC,EAAE,IAAI;IAC9D,CAAC,2BAA2B,CAAC,mCAAmC,CAAC,EAAE,IAAI;IACvE,CAAC,2BAA2B,CAAC,wBAAwB,CAAC,EAAE,IAAI;IAC5D,CAAC,2BAA2B,CAAC,0BAA0B,CAAC,EAAE,IAAI;IAC9D,CAAC,2BAA2B,CAAC,4BAA4B,CAAC,EAAE,IAAI;IAEhE,2EAA2E;IAC3E,CAAC,2BAA2B,CAAC,mCAAmC,CAAC,EAAE,IAAI;CACxE,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAC3C,iCAAiC,CAC/B,GAAG,MAAM,CAAC,OAAO,CAAC,yCAAyC,CAAC;KACzD,MAAM,CACL,CAAC,KAAK,EAAqD,EAAE,CAC3D,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,CACpB;KACA,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAC9C,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { ErrorCustomMessageReference } from '@wildo-ai/saas-models';\nimport { buildErrorMessageSpecificationMap } from '~wildo-specifications/_core';\nimport type {\n ErrorMessageSpecification,\n ErrorMessageSpecificationDraft,\n} from '~wildo-specifications/_core';\n\n/**\n * Engine-shipped semantic overlay for `ErrorCustomMessageReference`.\n *\n * # Why this record is EXHAUSTIVE (`Record`, not `Partial<Record>`)\n *\n * Every `ErrorCustomMessageReference` member MUST appear here — the\n * `Record<ErrorCustomMessageReference, …>` type makes a missing member a\n * COMPILE error. This is the durable guarantee that a newly-added error\n * reference cannot ship without a deliberate decision about its\n * user-facing wording: either author a draft, or mark it `null`.\n *\n * # `null` = intentionally internal (no user-facing quality investment)\n *\n * `null` means \"this reference is server-internal plumbing (DI, registry,\n * driver, transport, job/queue) that a normal user never meaningfully\n * reads — let the label generator fall back to its default token-based\n * copy.\" Marking `null` is a positive statement, not an omission: it is\n * how the exhaustiveness gate is satisfied for an internal error.\n *\n * # Authored drafts (the user-facing subset — D2)\n *\n * A draft carries `{ audience, purpose, businessRole }`:\n * - `audience` — `END_USER` (consumer flows), `ADMIN` (back-office /\n * operator surfaces), or `DEVELOPER` (integration / API errors).\n * - `purpose` — the USER-FACING intent (what the reader should\n * understand + do next); this is the `errors_messages.<ref>.msg` seed.\n * - `businessRole` — the system condition the error guards.\n *\n * The audience axis is deliberately per-ref (unlike roles, which are all\n * `ADMIN` at the unit level) — invitation/auth flows are `END_USER`,\n * seed/config surfaces are `ADMIN`, API/webhook/SSO integration surfaces\n * are `DEVELOPER`.\n *\n * NOTE: this classification is a first, defensible pass. Refining an\n * individual audience/purpose only touches this record; the mechanism\n * (projection → prompt) is unaffected.\n */\nconst ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS: Record<\n ErrorCustomMessageReference,\n ErrorMessageSpecificationDraft | null\n> = {\n // ── Coarse ErrorType fallbacks ──────────────────────────────────────────\n // Generic buckets shown when no specific reference is set. The clearly\n // user-facing ones get graceful copy; pure server-fault buckets stay null\n // (the generator keeps a terse \"server error\" style; context is stripped\n // from the client for these types anyway).\n [ErrorCustomMessageReference.DEFAULT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user something went wrong and to try again in a moment.',\n businessRole: 'Generic fallback message when no more specific error reference is set.',\n },\n [ErrorCustomMessageReference.CUSTOM]: null,\n [ErrorCustomMessageReference.NETWORK]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the request could not reach the server and to check their connection and retry.',\n businessRole: 'Coarse network-failure bucket surfaced when a request never completed.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they need to sign in to continue.',\n businessRole: 'Coarse 401 bucket for missing or invalid authentication.',\n },\n [ErrorCustomMessageReference.AUTHORIZATION]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have permission to do this.\",\n businessRole: 'Coarse 403 bucket for an authenticated but not-permitted request.',\n },\n [ErrorCustomMessageReference.VALIDATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user some of the information they entered is invalid and to review it.',\n businessRole: 'Coarse 400 bucket for malformed input or a failed cross-field rule.',\n },\n [ErrorCustomMessageReference.NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user the item they're looking for could not be found.\",\n businessRole: 'Coarse 404 bucket for a missing or not-visible resource.',\n },\n [ErrorCustomMessageReference.CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the action conflicts with the current state and to reload and try again.',\n businessRole: 'Coarse 409 bucket for a uniqueness, version, or state conflict.',\n },\n [ErrorCustomMessageReference.RATE_LIMIT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they are doing that too often and to wait a moment before retrying.',\n businessRole: 'Coarse 429 bucket for too many requests.',\n },\n [ErrorCustomMessageReference.INTERNAL]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an unexpected error occurred on our side and to try again later.',\n businessRole: 'Coarse 500 bucket for a server-side fault (details are logged, not shown).',\n },\n [ErrorCustomMessageReference.DATABASE]: null,\n [ErrorCustomMessageReference.EXTERNAL_SERVICE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user a service we depend on is temporarily unavailable and to try again later.',\n businessRole: 'Coarse 502 bucket for a failed downstream provider/API.',\n },\n [ErrorCustomMessageReference.UNKNOWN]: null,\n [ErrorCustomMessageReference.UNCAUGHT_EXCEPTION]: null,\n [ErrorCustomMessageReference.UNHANDLED_REJECTION]: null,\n [ErrorCustomMessageReference.BUSINESS_RULE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the action is not allowed by a business rule.',\n businessRole: 'Coarse 422 bucket for a well-formed request that violates a domain rule.',\n },\n [ErrorCustomMessageReference.INFRASTRUCTURE]: null,\n [ErrorCustomMessageReference.CONFIGURATION]: null,\n\n // ── Controller / repository / service / registry plumbing (internal) ────\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_BUILD_ERROR]: null,\n [ErrorCustomMessageReference.REPOSITORIES_REGISTRY_NOT_FOUND]: null,\n [ErrorCustomMessageReference.REPOSITORIES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEARCH_NOT_CONFIGURED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEARCH_NOT_ENABLED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCE_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.APP_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.FILENAME_SANITIZATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTENT_LENGTH_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.STREAM_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_TRANSFORMATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_BUILD_ERROR]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_OPERATION_DISABLED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_REGISTRY_NOT_AVAILABLE]: null,\n [ErrorCustomMessageReference.SERVICES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_SCHEMA_CONVERSION_FAILED]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_UNSUPPORTED_TYPE]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_MODEL_BUILD_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_REGISTRATION_FAILED]: null,\n [ErrorCustomMessageReference.EXTERNAL_PROVIDER_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.EXECUTION_CONTEXT_SEALED_MODIFICATION]: null,\n [ErrorCustomMessageReference.EXECUTION_CONTEXT_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.HTTP_SERVER_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_CONFIGURATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_STARTUP_FAILED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_MISSING_INITIATOR]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_NO_OPERATION_CONTEXT]: null,\n\n // ── JWT internals (never user-facing) ───────────────────────────────────\n [ErrorCustomMessageReference.JWT_SIGNING_FAILED]: null,\n [ErrorCustomMessageReference.JWT_VERIFICATION_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_GENERATION_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_PARSING_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_EXPIRED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_INVALID]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_VERIFIED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_SIGNED]: null,\n [ErrorCustomMessageReference.PLATFORM_HTTP_ERROR]: null,\n [ErrorCustomMessageReference.RESOURCE_OPERATION_CUSTOM_IMPLEMENTATION_NOT_IMPLEMENTED]: null,\n [ErrorCustomMessageReference.SERVICE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.SERVICE_CREATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_OPERATION_PATH_NOT_FOUND]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_FIELD_IDENTIFIER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_RELATIONSHIP_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.CONTROLLER_CUSTOM_NAME_CONFLICT]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_ID_MUST_BE_UNIQUE]: null,\n\n // ── API-key / token / initiator auth (integrator-facing) ────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_API_KEY_INVALID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the API key is invalid or unrecognised.',\n businessRole: 'Rejects a request whose API key does not resolve to an active credential.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_API_KEY_FAILED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller API-key authentication failed.',\n businessRole: 'Generic API-key authentication failure.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_INVALID_TOKEN]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the authentication token is invalid or malformed.',\n businessRole: 'Rejects a request carrying an unparseable or invalid bearer token.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NO_AUTHENTICATION_PROVIDED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller no credential was supplied and one is required.',\n businessRole: 'Rejects a request that reached a protected endpoint with no auth material.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_MISSING]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller a required initiator parameter is missing from the request.',\n businessRole: 'Rejects an API call whose initiator identification is incomplete.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_INCONSISTENT]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the initiator parameters are inconsistent with each other.',\n businessRole: 'Rejects an API call whose initiator parameters contradict.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_UNSUPPORTED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the supplied initiator parameter is not supported.',\n businessRole: 'Rejects an API call using an unsupported initiator parameter.',\n },\n [ErrorCustomMessageReference.API_ORG_KEY_WITHOUT_ORG_ID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller an organization-scoped API key requires an organization id.',\n businessRole: 'Rejects an org-scoped key used without the organization identifier.',\n },\n [ErrorCustomMessageReference.API_ORG_KEY_WRONG_RESOURCE]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the organization API key is not valid for this resource.',\n businessRole: 'Rejects an org-scoped key used against a resource outside its scope.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_JWT_TOKEN_FAILED]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_ACTIVE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their account is not active and to contact support.',\n businessRole: 'Blocks sign-in for a user whose account is not in an active state.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_AUTHORIZED]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_CREDENTIALS_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_CREDENTIALS_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the email or password is incorrect (without revealing which).',\n businessRole: 'Rejects a password sign-in with wrong credentials; deliberately non-specific for security.',\n },\n\n // ── Authentication session & flow (user-facing) ─────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session is no longer valid and to sign in again.',\n businessRole: 'Rejects a request whose session could not be validated.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session has expired and to sign in again.',\n businessRole: 'Rejects a request whose session has passed its lifetime.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_ACCOUNT_LOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their account is locked and how to regain access.',\n businessRole: 'Blocks sign-in for an account locked (e.g. after repeated failures).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_MFA_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user multi-factor authentication is required to continue.',\n businessRole: 'Signals the sign-in flow must complete an MFA challenge.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SSO_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their organization requires single sign-on and to use the SSO option.',\n businessRole: 'Blocks password sign-in when the org mandates SSO (grace exhausted or disallowed).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_EMAIL_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an email address is required to continue.',\n businessRole: 'Blocks a sign-in/registration step that needs an email address.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_METHOD_NOT_SUPPORTED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that sign-in method is not available here.',\n businessRole: 'Rejects an authentication method not enabled for this application.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_PASSWORD_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their password has expired and must be changed before continuing.',\n businessRole: 'Blocks token issuance until an expired password is changed (password policy).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_USER_TYPE_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user their account can't be used to sign in to this application.\",\n businessRole: \"Blocks sign-in when the user's types do not include this app's active user type.\",\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NOT_IMPLEMENTED]: null,\n [ErrorCustomMessageReference.STEP_UP_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this action needs them to confirm their identity again.',\n businessRole: 'Requires step-up re-authentication before a sensitive operation.',\n },\n [ErrorCustomMessageReference.CROSS_ORG_SSO_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user cross-organization single sign-on is not allowed for their account.',\n businessRole: 'Blocks SSO when the user already holds an enterprise SSO link from another org.',\n },\n [ErrorCustomMessageReference.APP_CONFIGURATION_UNAUTHORIZED]: null,\n [ErrorCustomMessageReference.APP_CONFIGURATION_NOT_INITIALIZED]: null,\n\n // ── Frontend runtime internals (never user-facing copy) ─────────────────\n [ErrorCustomMessageReference.FRONTEND_FORM_READ_OPERATION_NOT_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_INVALID_URL_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_MISSING_REQUIRED_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_UNRESOLVED_ROUTE_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_OPERATION_NOT_FOUND]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_UNSUPPORTED_OPERATION_TYPE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_SEARCH_OPERATION_INVALID]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_UNSUPPORTED_HTTP_METHOD]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_ENDPOINT_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_ROUTE_PATHS_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_CALLBACK_URL]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_RESPONSE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.REGISTRY_FK_MAP_COLLISION]: null,\n [ErrorCustomMessageReference.FRONTEND_FK_RESOLUTION_FAILED]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_FIELD_IDENTIFIER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCES_NOT_INITIALIZED]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_INVALID_DISCRIMINATOR]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_UNACCOUNTED_VALUES]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_DUPLICATE_VALUES]: null,\n\n // ── Database constraint / field validation (user-facing) ────────────────\n [ErrorCustomMessageReference.UNIQUE_CONSTRAINT_VIOLATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the value they entered is already taken and to choose another.',\n businessRole: 'Rejects a write that would break a uniqueness constraint.',\n },\n [ErrorCustomMessageReference.VERSION_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this item was changed by someone else and to reload before saving again.',\n businessRole: 'Rejects an optimistic-concurrency write against a stale version.',\n },\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_UNIQUE]: null,\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_FOUND]: null,\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_UNIQUE_FIELD]: null,\n [ErrorCustomMessageReference.VALIDATION_PASSWORD_POLICY_VIOLATION]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user their password doesn't meet the requirements and to choose a stronger one.\",\n businessRole: 'Rejects a password that fails the configured password policy.',\n },\n\n // ── Queue / job internals (never user-facing) ───────────────────────────\n [ErrorCustomMessageReference.QUEUE_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_PUBLISH_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_CONSUME_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_CHANNEL_CLOSED]: null,\n [ErrorCustomMessageReference.QUEUE_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.JOB_EXECUTION_FAILED]: null,\n [ErrorCustomMessageReference.JOB_TIMEOUT]: null,\n [ErrorCustomMessageReference.JOB_MAX_RETRIES_EXCEEDED]: null,\n [ErrorCustomMessageReference.JOB_DEAD_LETTERED]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_TOO_LARGE]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_STORAGE_FAILED]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_RETRIEVAL_FAILED]: null,\n [ErrorCustomMessageReference.JOB_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JOB_ALREADY_PROCESSED]: null,\n [ErrorCustomMessageReference.JOB_CANCELLED]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_SIGNATURE_INVALID]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_SIGNATURE_EXPIRED]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_UNAUTHORIZED]: null,\n [ErrorCustomMessageReference.JOB_OPERATION_PATH_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JOB_EXECUTION_CONTEXT_INVALID]: null,\n [ErrorCustomMessageReference.JOB_BATCH_REF_NOT_FOUND]: null,\n\n // ── Feature gating (user-facing) ────────────────────────────────────────\n [ErrorCustomMessageReference.FEATURE_NOT_AVAILABLE]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this feature isn't available on their current plan.\",\n businessRole: 'Gates a feature the current plan/entitlement does not include.',\n },\n [ErrorCustomMessageReference.FEATURE_LIMIT_EXCEEDED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they've reached their plan's limit for this and how to raise it.\",\n businessRole: 'Gates an action that would exceed a plan limit.',\n },\n [ErrorCustomMessageReference.INSUFFICIENT_CREDITS]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have enough credits for this action.\",\n businessRole: 'Gates a metered action when the credit balance is insufficient.',\n },\n\n // ── Consumable tokens (user-facing share / reset links) ─────────────────\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link is invalid.',\n businessRole: 'Rejects a consumable-token flow whose token does not resolve.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has expired and to request a new one.',\n businessRole: 'Rejects a consumable token past its expiry.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_ALREADY_CONSUMED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has already been used.',\n businessRole: 'Rejects a single-use token that was already consumed.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_REVOKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has been revoked.',\n businessRole: 'Rejects a consumable token that was revoked before use.',\n },\n // END_USER: a token type/context/operation mismatch surfaces in a user's\n // share/reset link flow as \"this link can't be used here\" — user-facing, not\n // internal. (RACE_CONDITION stays null — a transient internal retry concern.)\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_TYPE_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used here.',\n businessRole: 'Rejects a consumable token presented for a different token type than expected.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_CONTEXT_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used here.',\n businessRole: 'Rejects a consumable token whose bound context does not match the request.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_NOT_ACCEPTED_FOR_OPERATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used for this action.',\n businessRole: 'Rejects a consumable token not accepted for the attempted operation.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_RACE_CONDITION]: null,\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_TARGET_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this upload link is for a different place and cannot be used here.',\n businessRole: 'Rejects an upload grant presented on a route other than the one resource, field, operation and row it was minted for.',\n },\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_DURATION_EXCEEDS_MAX]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the caller the requested link lifetime is above the maximum and to request a shorter one.',\n businessRole: 'Rejects minting an upload grant whose lifetime exceeds the engine ceiling; the ceiling is fixed because the link travels outside the application.',\n },\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_MINTER_NOT_ELIGIBLE]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the caller that this kind of session cannot create upload links.',\n businessRole: 'Rejects minting from a consumable-token or anonymous context: a link may not mint a link, and an anonymous session has no subject to attribute the file to.',\n },\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this upload link is not valid.',\n businessRole: 'Rejects a status read or redemption of an upload grant that does not match any token, without revealing whether one ever existed.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_FILE_SHARING_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user file sharing is turned off.',\n businessRole: 'Blocks a file-share token flow when sharing is disabled.',\n },\n [ErrorCustomMessageReference.ADDITIVE_TOKEN_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller this request also requires a consumable-token header alongside its auth.',\n businessRole: 'Enforces the ADDITIVE policy requiring x-consumable-token alongside JWT/API-key auth.',\n },\n [ErrorCustomMessageReference.ONE_OFF_SESSION_DURATION_EXCEEDS_MAX]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the administrator the requested one-off session lifetime is longer than this user type allows, and to request a shorter one.',\n businessRole: \"Caps a super-admin-minted one-off session at the user type's max-duration ceiling so it cannot become a long-lived impersonation credential.\",\n },\n\n // ── Invitation acceptance / registration (user-facing; seed refs) ───────\n [ErrorCustomMessageReference.INVITATION_ORG_VERIFICATION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the invitee we couldn't verify the invitation right now and that it's safe to try again.\",\n businessRole: \"Transient failure verifying the invitation's organization; the single-use token is NOT consumed.\",\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SCIM_LOCAL_CREDENTIAL_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the invitee this organization uses single sign-on, so they should sign in with SSO instead of setting a password.',\n businessRole: 'Blocks setting a local credential for a directory-managed (SCIM) organization.',\n },\n [ErrorCustomMessageReference.INVITATION_NO_LONGER_VALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the invitee the invitation link can no longer be used and to ask the inviting administrator for a new one.',\n businessRole: 'Uniform terminal guard on the public invitation-accept flow (unrecognised / expired / consumed / superseded).',\n },\n [ErrorCustomMessageReference.INVITATION_NOT_ADDRESSED_TO_CALLER]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this invitation was sent to a different account.',\n businessRole: 'Rejects an authenticated accept when the invitation targets another account.',\n },\n [ErrorCustomMessageReference.INVITATION_EXISTING_ACCOUNT_NO_PASSWORD]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they already have an account, so they can accept the invitation and then sign in with their existing method.',\n businessRole: 'Signals the invitee already has an account and must accept without setting a password.',\n },\n [ErrorCustomMessageReference.REGISTRATION_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user sign-up is turned off for this application.',\n businessRole: 'Blocks self-service registration when it is disabled for the app/service/user type.',\n },\n [ErrorCustomMessageReference.REGISTRATION_INVITATION_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user registration is invitation-only and they need a valid invitation.',\n businessRole: 'Blocks registration without an invitation when the app is invitation-only.',\n },\n [ErrorCustomMessageReference.REGISTRATION_ADMIN_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this account type is created by an administrator, so they cannot sign up themselves.',\n businessRole: 'Blocks self-service registration when the user type is admin-provisioned only (registration.mode=admin_only).',\n },\n [ErrorCustomMessageReference.REGISTRATION_PASSWORD_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user a password is required to finish creating their account.',\n businessRole: 'Blocks registration completion when a password is required but missing.',\n },\n [ErrorCustomMessageReference.REGISTRATION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user registration couldn't be completed and to try again.\",\n businessRole: 'Transient server failure during registration; the user may retry.',\n },\n [ErrorCustomMessageReference.ACCOUNT_ACTIVATION_NOT_ALLOWED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this account can't be activated in its current state.\",\n businessRole: 'Blocks activation of an account that exists but is not in an activatable state.',\n },\n\n // ── Auth / session flow (user-facing) ───────────────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_FIRST_FACTOR_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they must complete the first sign-in step before this one.',\n businessRole: 'Blocks a second-factor step before a first authentication factor is completed.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_MAGIC_LINK_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user magic-link sign-in is not available and to use another method.',\n businessRole: 'Blocks magic-link authentication when disabled for the application.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NO_VERIFIED_PHONE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user there is no verified phone number for SMS codes and to add one first.',\n businessRole: 'Blocks SMS one-time-passcode delivery when no verified phone is on file.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_ONBOARDING_STATE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user organization setup can't be completed in the current state.\",\n businessRole: 'Blocks completing organization onboarding from an invalid session state.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_LOST]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session was lost and to start signing in again.',\n businessRole: 'Signals the session was lost after magic-link verification; sign-in must restart.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_NO_EMAIL]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_NO_USER]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_SMS_OTP_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user SMS code sign-in is not available and to use another method.',\n businessRole: 'Blocks SMS one-time-passcode authentication when disabled for the application.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_REFRESH_TOKEN_REQUIRED]: null,\n [ErrorCustomMessageReference.AUTHORIZATION_USER_ID_MISMATCH]: null,\n [ErrorCustomMessageReference.AUTHORIZATION_MACHINE_SCOPE_MISMATCH]: null,\n\n // ── MFA flow (user-facing) ──────────────────────────────────────────────\n [ErrorCustomMessageReference.MFA_ENROLLMENT_STATE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user MFA setup can't be completed right now and to restart it.\",\n businessRole: 'Blocks completing MFA enrollment from an invalid session state.',\n },\n [ErrorCustomMessageReference.MFA_NOT_ENROLLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user no multi-factor method is set up yet.',\n businessRole: 'Rejects an MFA challenge when no method is enrolled.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_ALREADY_ENROLLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an authenticator app is already set up for their account.',\n businessRole: 'Rejects a duplicate TOTP enrollment.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_CODE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user that authentication code didn't match and to try again.\",\n businessRole: 'Rejects an invalid TOTP verification code.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_SETUP_NOT_INITIATED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user to start authenticator setup before entering a code.',\n businessRole: 'Rejects TOTP verification when no pending setup exists.',\n },\n\n // ── Config / request contract ───────────────────────────────────────────\n [ErrorCustomMessageReference.ORG_NAME_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an organization name is required.',\n businessRole: 'Rejects organization creation/onboarding without a name.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_HAS_DEPENDENTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the unit cannot be deleted while child units or assigned members still hang off it, and that the children must first be re-parented onto another node with MOVE (or the subtree deleted bottom-up).',\n businessRole: 'Protects the integrity of the organization tree: the unit self-relationship declares no delete cascade, so removing an interior node would strand its whole subtree behind a dangling parent reference and a stale hierarchy path.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_MOVE_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the destination is not a legal home for this unit, because it sits inside the unit\\'s own subtree.',\n businessRole: 'Protects the organization tree from a re-parent that would detach a branch into a cycle — a node beneath its own descendant has no route back to the root.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the archive or restore is not a legal transition from the unit\\'s current state.',\n businessRole: 'Keeps archive/restore ordered — a branch cannot be restored underneath a parent that is still archived, which would leave an active node unreachable through an inactive ancestor.',\n },\n [ErrorCustomMessageReference.RESOURCE_STATUS_TRANSITION_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this action is unavailable because the item is no longer in a state that permits it, and to refresh before choosing the next action.',\n businessRole: 'Rejects a lifecycle transition when the persisted item\\'s current status is not one of the operation\\'s allowed source statuses.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_SLUG_EXISTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the person creating the organization that this web address is already taken, and to choose a different one.',\n businessRole: \"Protects the tenant's URL-safe identity. The slug is creation-time identity and cannot be edited afterwards, so a collision has to be refused at creation — there would be no way to resolve it later.\",\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_CODE_EXISTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin that another unit under the same parent already uses this code, and that the code must be changed (or the unit placed elsewhere).',\n businessRole: 'Keeps unit codes unambiguous where they are actually used to disambiguate — among siblings. Codes stay reusable across different branches, and units that carry no code at all are unaffected.',\n },\n [ErrorCustomMessageReference.APPLICATION_SLUG_EXISTS]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator creating the application that this slug is already in use somewhere on the platform — including in another organization — and to choose a different one.',\n businessRole: 'Protects the application slug, which names every backing resource the application is provisioned with (its database, database user and message-broker vhost). Uniqueness is deliberately platform-wide rather than per-organization, because two applications sharing a slug would be handed the same backing resources. The slug is creation-time identity and cannot be edited afterwards, so a collision has to be refused at creation.',\n },\n [ErrorCustomMessageReference.FRONTEND_SERVICE_HEADER_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the X-Frontend-Service-Name header is required.',\n businessRole: 'Rejects a request missing the frontend-service identity header.',\n },\n\n // ── Webhook (integrator-facing) ─────────────────────────────────────────\n [ErrorCustomMessageReference.WEBHOOK_SIGNATURE_INVALID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the inbound webhook signature could not be verified.',\n businessRole: 'Rejects an inbound webhook whose signature verification failed.',\n },\n\n // ── Billing ─────────────────────────────────────────────────────────────\n [ErrorCustomMessageReference.BILLING_NOT_INITIALIZED]: null,\n [ErrorCustomMessageReference.BILLING_ACCOUNT_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_CUSTOMER]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_NO_ACTIVE_SUBSCRIPTION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user there is no active subscription for this action.',\n businessRole: 'Gates an action that requires an active subscription.',\n },\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_SUBSCRIPTION]: null,\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_PRICE]: null,\n [ErrorCustomMessageReference.BILLING_PRODUCT_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_PRICE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_INVALID_PRODUCT_TYPE]: null,\n [ErrorCustomMessageReference.BILLING_PLAN_TIER_REQUIRED]: null,\n [ErrorCustomMessageReference.BILLING_ADDON_NOT_ON_SUBSCRIPTION]: null,\n [ErrorCustomMessageReference.BILLING_LOCAL_WRITE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_NO_ITEMS]: null,\n [ErrorCustomMessageReference.BILLING_ACCOUNT_UPDATE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_UPDATE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_PROMOTION_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that promotion code could not be found.',\n businessRole: 'Rejects a promotion code that does not resolve.',\n },\n [ErrorCustomMessageReference.BILLING_INSUFFICIENT_CREDITS]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have enough credits for this.\",\n businessRole: 'Gates a billing action when the credit balance is insufficient.',\n },\n [ErrorCustomMessageReference.BILLING_CREDIT_POOL_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_PROMOTION_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that promotion code is not valid.',\n businessRole: 'Rejects a promotion code that is expired or not applicable.',\n },\n [ErrorCustomMessageReference.BILLING_PRODUCT_SCOPE_MISMATCH]: null,\n // Not `null`: the reader is an end user in a self-serve purchase or plan-change flow, and the\n // refusal is a business rule about the request they just made — not plumbing. The message must\n // say the chosen price does not belong to the chosen product, so a UI that de-synced its product\n // and price pickers produces a legible failure instead of an opaque 400.\n [ErrorCustomMessageReference.BILLING_PRICE_PRODUCT_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the selected price does not belong to the selected product, so the purchase or plan change cannot proceed.',\n businessRole: 'Enforces the price→product foreign key at purchase time: entitlements derive from the product while the provider bills the price, so an unmatched pair would grant one product’s entitlements at another’s price.',\n },\n [ErrorCustomMessageReference.BILLING_SCOPE_NOT_ENABLED]: null,\n // Not `null`: this is a business rule, not plumbing. The reader is whoever wrote the\n // off-boarding routine (the operation is INTERNAL_CALL with no HTTP/UI surface), and the\n // message must tell them the delete was refused on purpose and what to resolve first.\n [ErrorCustomMessageReference.BILLING_ACCOUNT_HAS_DEPENDENTS]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Explain that the billing account cannot be hard-deleted because retained financial records (subscriptions, invoices, usage, credits) still reference it, and that those must be resolved — or the account soft-retired instead — first.',\n businessRole: 'Protects the retained financial audit trail: this account holds the only local provider-customer mapping, so removing it would leave those records unreconcilable against the billing provider.',\n },\n\n // ── SAML protocol engine (SSO integration diagnostics) ──────────────────\n // Deferred: SAML failures surface a coarse authentication error to the\n // end user; these granular refs are operator/integration diagnostics and\n // are left null for a dedicated pass.\n [ErrorCustomMessageReference.SAML_ASSERTION_INVALID]: null,\n [ErrorCustomMessageReference.SAML_SIGNATURE_INVALID]: null,\n [ErrorCustomMessageReference.SAML_AUDIENCE_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_REPLAY_DETECTED]: null,\n [ErrorCustomMessageReference.SAML_EXPIRED]: null,\n [ErrorCustomMessageReference.SAML_DOMAIN_NOT_VERIFIED]: null,\n [ErrorCustomMessageReference.SAML_CERT_EXPIRED]: null,\n [ErrorCustomMessageReference.SAML_DECRYPTION_FAILED]: null,\n [ErrorCustomMessageReference.SAML_SP_KEY_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_UNSUPPORTED_ENCRYPTION]: null,\n [ErrorCustomMessageReference.SAML_TRANSIENT_NAMEID]: null,\n [ErrorCustomMessageReference.SAML_INVALID_NAME_ID]: null,\n [ErrorCustomMessageReference.SAML_MOBILE_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.SAML_MULTIPLE_ASSERTIONS]: null,\n [ErrorCustomMessageReference.SAML_BINDING_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_METADATA_PARSE_ERROR]: null,\n [ErrorCustomMessageReference.SAML_INVALID_IN_RESPONSE_TO]: null,\n [ErrorCustomMessageReference.SAML_ORGANIZATION_REQUIRED]: null,\n [ErrorCustomMessageReference.SAML_IDP_INITIATED_NOT_ALLOWED]: null,\n [ErrorCustomMessageReference.SAML_AMBIGUOUS_IDP]: null,\n [ErrorCustomMessageReference.SAML_UNKNOWN_IDP]: null,\n [ErrorCustomMessageReference.SAML_DESTINATION_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_JAVA_REQUIRED]: null,\n\n // ── Aggregation / chart ─────────────────────────────────────────────────\n [ErrorCustomMessageReference.CHART_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that chart could not be found.',\n businessRole: 'Rejects a chart request whose chart does not resolve.',\n },\n // END_USER: a chart query timing out is seen by the person viewing the chart.\n [ErrorCustomMessageReference.AGGREGATION_TIMEOUT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the chart took too long to load and to narrow the range or filters.',\n businessRole: 'Aborts a chart aggregation that exceeded its time budget.',\n },\n [ErrorCustomMessageReference.AGGREGATION_MAX_BUCKETS_EXCEEDED]: null,\n [ErrorCustomMessageReference.AGGREGATION_FIELD_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AGGREGATION_COMPUTED_EXPRESSION_ERROR]: null,\n [ErrorCustomMessageReference.AGGREGATION_JOIN_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AGGREGATION_ACCESS_DENIED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have permission to view this chart's data.\",\n businessRole: 'Blocks aggregated-data access without the required list/chart permissions.',\n },\n [ErrorCustomMessageReference.AGGREGATION_SCOPE_UNRESOLVED]: null,\n [ErrorCustomMessageReference.AGGREGATION_SCOPE_CONFLICT]: null,\n [ErrorCustomMessageReference.AGGREGATION_EXECUTION_CONTEXT_REQUIRED]: null,\n\n // ── Agent / flows-actors (developer/config; deferred) ───────────────────\n [ErrorCustomMessageReference.AGENT_PROVIDER_NOT_ENABLED]: null,\n [ErrorCustomMessageReference.AGENT_PROVIDER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AGENT_OPERATION_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.AGENT_IMAGE_GENERATION_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.AGENT_IMAGE_PROMPT_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_CLI_OUTPUT_INVALID]: null,\n [ErrorCustomMessageReference.AGENT_STRUCTURED_SCHEMA_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_MODEL_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.AGENT_MESSAGES_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.FLOW_INVALID_KIND]: null,\n [ErrorCustomMessageReference.FLOW_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.ACTOR_INVALID_KIND]: null,\n [ErrorCustomMessageReference.ACTOR_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.CHART_PARENT_CONTEXT_INACCESSIBLE]: null,\n\n // ── Auth-methods / SSO (integrator-facing) ──────────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_DISABLED_FOR_SERVICE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user sign-in is not available here.',\n businessRole: 'Blocks authentication for a frontend service + user type combination.',\n },\n // END_USER (not DEVELOPER): these surface to a person attempting a social /\n // SSO sign-in whose provider or connection is unconfigured, so the friendly\n // consumer register fits better than integrator voice.\n [ErrorCustomMessageReference.OAUTH_PROVIDER_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that sign-in option is not available right now.',\n businessRole: 'Rejects an OAuth/social sign-in flow for an unregistered or disabled provider.',\n },\n [ErrorCustomMessageReference.SSO_CONNECTION_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user single sign-on is not available for their account right now.',\n businessRole: 'Rejects an SSO sign-in flow whose connection was not found or is disabled.',\n },\n\n // ── Config / data-seeding / email ───────────────────────────────────────\n [ErrorCustomMessageReference.APP_CONFIGURATION_FRONTEND_SERVICE_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the frontendServiceName query parameter is required.',\n businessRole: 'Rejects an app-configuration fetch missing the frontend-service parameter.',\n },\n [ErrorCustomMessageReference.APP_CONFIGURATION_UNKNOWN_FRONTEND_SERVICE]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the frontendServiceName does not match a configured service.',\n businessRole: 'Rejects an app-configuration fetch for an unknown frontend service.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_SECRET_REQUIRED]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin secret header is missing.',\n businessRole: 'Rejects a data-seeding admin call without the secret header.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_SECRET_INVALID]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin secret did not match.',\n businessRole: 'Rejects a data-seeding admin call with a wrong secret header.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_INVALID_QUERY]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin list-runs query is invalid.',\n businessRole: 'Rejects invalid query parameters on the data-seeding admin endpoint.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_INVALID_PAYLOAD]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin rerun payload is invalid.',\n businessRole: 'Rejects an invalid request body on the data-seeding admin rerun endpoint.',\n },\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEED_METADATA_NOT_FOUND]: null,\n [ErrorCustomMessageReference.EMAIL_INVALID_ADDRESS_FORMAT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user one of the email addresses is not valid.',\n businessRole: 'Rejects an email whose recipient/cc/bcc/replyTo contains a malformed address.',\n },\n\n // ── File operations ─────────────────────────────────────────────────────\n [ErrorCustomMessageReference.FILE_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that file could not be found.',\n businessRole: 'Rejects a file operation whose file does not exist or is not accessible.',\n },\n [ErrorCustomMessageReference.FILE_INVALID_STATUS_TRANSITION]: null,\n [ErrorCustomMessageReference.FILE_NOT_LINKABLE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the file is not ready to be attached (it failed, was removed, or is already in use) and to upload it again.',\n businessRole: 'Rejects attaching a file whose status is outside the linkable set — a failed, deleted, orphaned or infected upload cannot be attached to a record.',\n },\n [ErrorCustomMessageReference.FILE_SCAN_IN_PROGRESS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the file is still being checked and to try attaching it again in a moment.',\n businessRole: 'Rejects attaching a file whose antivirus scan has not finished; the file is not wrong, only not yet known to be safe, so the action is retryable.',\n },\n [ErrorCustomMessageReference.FILE_ALREADY_LINKED]: null,\n [ErrorCustomMessageReference.FILE_ALREADY_DELETED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that file has already been deleted.',\n businessRole: 'Rejects a delete on an already-deleted file.',\n },\n [ErrorCustomMessageReference.FILE_ACCESS_DENIED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have access to that file.\",\n businessRole: 'Blocks access to a file the caller is not permitted to see.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_WHILE_PROCESSING]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user the file is still being processed and can't be deleted yet.\",\n businessRole: 'Blocks file deletion while the AV scan is in progress.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_LINKED_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user to unlink the file from its item before deleting it.',\n businessRole: 'Blocks deleting a file still linked to a resource.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_UPLOADER_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user only the person who uploaded this file can delete it.',\n businessRole: 'Blocks file deletion by anyone other than the original uploader.',\n },\n [ErrorCustomMessageReference.FILE_SHARE_REQUEST_INVALID]: null,\n [ErrorCustomMessageReference.FILE_UPLOAD_NO_FILE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user no file was provided to upload.',\n businessRole: 'Rejects an upload request with no file.',\n },\n [ErrorCustomMessageReference.FILE_TOO_MANY_FILES]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they selected too many files for this field and to remove some.',\n businessRole: 'Rejects an upload exceeding the field maximum.',\n },\n [ErrorCustomMessageReference.FILE_GENERATED_FIELD_NOT_WRITABLE]: null,\n [ErrorCustomMessageReference.FILE_FIELD_NOT_OVERRIDABLE]: null,\n [ErrorCustomMessageReference.FILE_FIELD_VALUE_INVALID]: null,\n [ErrorCustomMessageReference.FILE_NESTED_UPDATE_AMBIGUOUS]: null,\n [ErrorCustomMessageReference.FILE_UPLOADER_FIELDS_INCONSISTENT]: null,\n [ErrorCustomMessageReference.FILE_UPLOADER_MISMATCH]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_IDENTIFIER_MISSING]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_IDENTIFIER_INVALID]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_DERIVATION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_TEXT_EXTRACTION_UNSUPPORTED_TYPE]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user text can't be extracted from this type of file.\",\n businessRole: 'Rejects text extraction for an unsupported MIME type.',\n },\n [ErrorCustomMessageReference.FILE_TEXT_EXTRACTION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this file's contents could not be read, and that a different copy may work.\",\n businessRole: 'Reports a document whose bytes are corrupt, truncated, or password-protected.',\n },\n [ErrorCustomMessageReference.FILE_NOT_FOUND_IN_STORAGE]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_KEY_COMPOSITION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_REF_INVALID]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_REF_FORBIDDEN]: null,\n [ErrorCustomMessageReference.FILE_PATH_TRAVERSAL_DETECTED]: null,\n\n // ── Bulk relationship ───────────────────────────────────────────────────\n [ErrorCustomMessageReference.BULK_RELATIONSHIP_SELECTOR_REQUIRED]: null,\n};\n\n/**\n * Engine-shipped {@link ErrorMessageSpecification} map — the authored\n * (non-`null`) subset of {@link ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS},\n * with each draft's `ref` injected from the exhaustive record's key.\n *\n * Built once at module load via {@link buildErrorMessageSpecificationMap},\n * which validates every entry and keys it `app.<ref>`. Consumed by the dev\n * companion's label projector to attach `purpose` + `audience` to\n * `errors_messages.<ref>.msg` label keys before generation.\n */\nexport const engineErrorMessageSpecifications: ErrorMessageSpecification =\n buildErrorMessageSpecificationMap(\n ...Object.entries(ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS)\n .filter(\n (entry): entry is [string, ErrorMessageSpecificationDraft] =>\n entry[1] !== null,\n )\n .map(([ref, draft]) => ({ ref, ...draft })),\n );\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"application-features.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/features/resources/application-features.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAYH,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,IAAI,EAAE,EAI5B,MAAM,uBAAuB,CAAC;AAkB/B,eAAO,MAAM,wCAAwC;;;;;;;;iCAsOpD,CAAC"}
1
+ {"version":3,"file":"application-features.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/features/resources/application-features.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAYH,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,IAAI,EAAE,EAI5B,MAAM,uBAAuB,CAAC;AAmB/B,eAAO,MAAM,wCAAwC;;;;;;;;iCAuOpD,CAAC"}
@@ -12,12 +12,14 @@ import { LabelAudience } from '@wildo-ai/presets-components-models';
12
12
  import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance, } from '@wildo-ai/zod-decorators';
13
13
  import { ApplicationFeatures_Operations, CoreResourceOperation as Op, ResourcePrimaryScope, ScopeFeaturesWithOverridesSchema, applicationFeaturesResourceConfiguration_InitializationFactory as applicationFeaturesFactory, } from '@wildo-ai/saas-models';
14
14
  import { HttpResponseStatusCode, resourceFrontendConfiguration, resourceSpecification, resourceSpecificationFromFrontendConfiguration, } from '../../../_core/index.js';
15
+ import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
15
16
  const applicationFeaturesAdminResourceUIBehavior = applicationFeaturesAdminSource;
16
17
  export const applicationFeaturesResourceSpecification = resourceSpecificationFromFrontendConfiguration(resourceFrontendConfiguration(applicationFeaturesAdminResourceUIBehavior), resourceSpecification(applicationFeaturesFactory, ScopeFeaturesWithOverridesSchema, ({ schemaShape }) => ({
17
18
  purpose: 'Application-wide entitlements: enabled features, limits, and manual overrides for app-scoped capabilities.',
18
19
  businessRole: 'Unblocks exact application-scope feature gates such as `M2M_WEBHOOK_DELIVERY` for `WEBHOOK_APPLICATION` delivery without leaking app opt-in to every organization.',
19
20
  lifecycleRole: 'Materialized by high-trust admin operations when an application-scope capability needs to be enabled or reset.',
20
21
  audience: LabelAudience.ADMIN,
22
+ subDomain: EngineResourceSubDomain.FEATURES,
21
23
  codeHandling: {
22
24
  mainSchema: {
23
25
  packageName: '@wildo-ai/saas-models',