@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
@@ -1 +1 @@
1
- {"version":3,"file":"engine-documentation-specification-catalog.companion.d.ts","sourceRoot":"","sources":["../../../../src/technical-documentation/engine-documentation-specification-catalog.companion.ts"],"names":[],"mappings":"AAiGA,OAAO,EAEL,KAAK,iDAAiD,EACvD,MAAM,4CAA4C,CAAC;AAEpD,KAAK,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AACtD,MAAM,MAAM,2CAA2C,GAAG,aAAa,GAAG,SAAS,2CAA2C,EAAE,GAAG;IACjI,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,2CAA2C,CAAC;CACrE,CAAC;AAEF,wHAAwH;AACxH,oBAAY,yCAAyC;IACnD,aAAa,uCAAuC;IACpD,iBAAiB,2CAA2C;IAC5D,gBAAgB,0CAA0C;IAC1D,OAAO,iCAAiC;IACxC,QAAQ,kCAAkC;IAC1C,2BAA2B,qDAAqD;CACjF;AAED,oBAAY,qCAAqC;IAC/C,uCAAuC,4CAA4C;IACnF,4DAA4D,iEAAiE;CAC9H;AAED,oBAAY,uCAAuC;IACjD,SAAS,cAAc;CACxB;AAED,eAAO,MAAM,wDAAwD,4DAA4D,CAAC;AAClI,eAAO,MAAM,4DAA4D,IAAI,CAAC;AAW9E,MAAM,WAAW,uDAAuD;IACtE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,sBAAsB,EAAE,yCAAyC,CAAC;IAC3E,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,8CAA8C;IAC7D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,sBAAsB,EAAE,yCAAyC,CAAC;IAC3E,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,2CAA2C,CAAC;CACnE;AAED,MAAM,WAAW,yCAAyC;IACxD,QAAQ,CAAC,QAAQ,EAAE,iDAAiD,CAAC;IACrE,QAAQ,CAAC,OAAO,EAAE,SAAS,8CAA8C,EAAE,CAAC;IAC5E,2EAA2E;IAC3E,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC;CACrC;AAyjCD;;;;;;;;;GASG;AACH,eAAO,MAAM,0DAA0D,yIACiE,CAAC;AAiPzI,uFAAuF;AACvF,eAAO,MAAM,6DAA6D,EAAE,SAAS,uDAAuD,EAO3I,CAAC;AA0BF,0IAA0I;AAC1I,wBAAgB,+CAA+C,IAAI,yCAAyC,CAwC3G"}
1
+ {"version":3,"file":"engine-documentation-specification-catalog.companion.d.ts","sourceRoot":"","sources":["../../../../src/technical-documentation/engine-documentation-specification-catalog.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,UAAU,EAgEX,MAAM,uBAAuB,CAAC;AA8C/B,OAAO,EAEL,KAAK,iDAAiD,EACvD,MAAM,4CAA4C,CAAC;AAEpD,KAAK,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AACtD,MAAM,MAAM,2CAA2C,GAAG,aAAa,GAAG,SAAS,2CAA2C,EAAE,GAAG;IACjI,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,2CAA2C,CAAC;CACrE,CAAC;AAEF,wHAAwH;AACxH,oBAAY,yCAAyC;IACnD,aAAa,uCAAuC;IACpD,iBAAiB,2CAA2C;IAC5D,gBAAgB,0CAA0C;IAC1D,OAAO,iCAAiC;IACxC,QAAQ,kCAAkC;IAC1C,2BAA2B,qDAAqD;CACjF;AAED,oBAAY,qCAAqC;IAC/C,uCAAuC,4CAA4C;IACnF,4DAA4D,iEAAiE;CAC9H;AAED,oBAAY,uCAAuC;IACjD,SAAS,cAAc;CACxB;AAED,eAAO,MAAM,wDAAwD,4DAA4D,CAAC;AAClI,eAAO,MAAM,4DAA4D,IAAI,CAAC;AAW9E,MAAM,WAAW,uDAAuD;IACtE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,sBAAsB,EAAE,yCAAyC,CAAC;IAC3E,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,8CAA8C;IAC7D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,sBAAsB,EAAE,yCAAyC,CAAC;IAC3E,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,2CAA2C,CAAC;CACnE;AAED,MAAM,WAAW,yCAAyC;IACxD,QAAQ,CAAC,QAAQ,EAAE,iDAAiD,CAAC;IACrE,QAAQ,CAAC,OAAO,EAAE,SAAS,8CAA8C,EAAE,CAAC;IAC5E,2EAA2E;IAC3E,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC;CACrC;AA4SD,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,UAAU,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAIzH;AAsnCD;;;;;;;;;GASG;AACH,eAAO,MAAM,0DAA0D,yIACiE,CAAC;AAgTzI,uFAAuF;AACvF,eAAO,MAAM,6DAA6D,EAAE,SAAS,uDAAuD,EAO3I,CAAC;AA0BF,0IAA0I;AAC1I,wBAAgB,+CAA+C,IAAI,yCAAyC,CAwC3G"}
@@ -1,4 +1,4 @@
1
- import { API_KEY_CREDENTIAL_PRESENTATION, AUTH_METHOD_CATEGORY_MAP, AUTH_METHOD_FACTOR_MAP, ApiKeyStatus, ApiKeyScope, AuthMethod, CoreResourceType, CoreResourceOperation, EngineCapability, ErrorCustomMessageReference, OAuthClientRegistrationOrigin, OAuthClientSchemaBase, OAuthClientStatus, OAuthGrantType, OAuthTokenEndpointAuthMethod, OrgOAuthClients_Operations, OrgApiKeys_Operations, AdministrativeContinuityErrorCode, BillingInterval, BillingTiming, DiscountType, InvoiceStatus, LimitGrantMode, OrganizationMemberSchema, OrganizationMemberStatus, OrganizationUnitMemberSchema, OrganizationUnitSchema, OrganizationUnitType, OrganizationUnit_PermissionInheritanceType, OrganizationUnitStatus, ProductType, PricingModel, PromotionDuration, PromotionType, ProrationBehavior, ScimAttributeMappingSchema, ScimOrganizationUnitMappingEntrySchema, ScimProvisioningConfigBaseSchema, SIEMEventCategory, SIEMFilterSeverity, SiemExportConfigBaseSchema, SsoConnectionBaseSchema, SsoConnection_Operations, SsoProtocol, SubscriptionStatus, TaxDisplayMode, UsageSourceType, WebhookConfigBaseSchema, WildoHeaderKeys, } from "@wildo-ai/saas-models";
1
+ import { API_KEY_CREDENTIAL_PRESENTATION, AUTH_METHOD_CATEGORY_MAP, AUTH_METHOD_FACTOR_MAP, ApiKeyStatus, ApiKeyScope, AuthMethod, AuthFactorType, AuditEventCategory, AuditEventSeverity, CoreResourceType, CoreResourceOperation, EngineCapability, ErrorCustomMessageReference, OAuthClientRegistrationOrigin, OAuthClientSchemaBase, OAuthClientStatus, OAuthGrantType, OAuthTokenEndpointAuthMethod, OrgOAuthClients_Operations, OrgApiKeys_Operations, AdministrativeContinuityErrorCode, BillingInterval, BillingTiming, DiscountType, InvoiceStatus, LimitGrantMode, OrganizationMemberSchema, OrganizationMemberStatus, OrganizationUnitMemberSchema, OrganizationUnitSchema, OrganizationUnitType, OrganizationUnit_PermissionInheritanceType, OrganizationUnitStatus, ProductType, PricingModel, PromotionDuration, PromotionType, ProrationBehavior, ScimAttributeMappingSchema, ScimOrganizationUnitMappingEntrySchema, ScimProvisioningConfigBaseSchema, SIEM_DELIVERY_RELIABILITY_CONTRACT, SIEMEventCategory, SIEMFilterSeverity, SiemExportConfigBaseSchema, SsoConnectionBaseSchema, SsoConnection_Operations, SsoProtocol, SubscriptionStatus, TaxDisplayMode, UsageSourceType, WebhookConfigBaseSchema, WildoHeaderKeys, COLLECTION_QUERY_PARAMETERS, CoreM2MNotificationChannel, ERROR_DEFINITIONS, ErrorResponseSchema, ErrorType, M2M_WEBHOOK_DELIVERY_CONTRACT, M2MWebhookDeliveryLogBaseSchema, M2MWebhookDeliveryLogStatus, Resources_PaginationRequestSchema, Resources_PaginationResponseMetadataSchema, WebhookEndpointProbeOutcome, WebhookEndpointSchema, ResourceOperationVariantType, ResourcesConfig_OperationPathUtils, } from "@wildo-ai/saas-models";
2
2
  import { getZodType, isBackendOnlyField, isExcludedFromCreate, isExcludedFromUpdate, isWriteOnlySecretField, unwrapSchema, } from "@wildo-ai/zod-decorators";
3
3
  import { extractFieldSpecsFromFieldMap } from "../_core/utils/extract-field-specs.js";
4
4
  import { appLevelFeatureSpecificationKeyFor } from "../_core/definition-specification.schemas.js";
@@ -14,6 +14,7 @@ import { organizationScimProvisioningConfigResourceSpecification } from "../engi
14
14
  import { organizationApiKeysResourceSpecification } from "../engine/auth/resources/organization-api-keys.resource.specification.js";
15
15
  import { organizationOAuthClientsResourceSpecification } from "../engine/auth/resources/organization-oauth-clients.resource.specification.js";
16
16
  import { organizationSiemExportConfigResourceSpecification } from "../engine/auth/resources/siem-export-config.resource.specification.js";
17
+ import { auditLogsResourceSpecification } from "../engine/compliance/resources/audit-logs.resource.specification.js";
17
18
  import { organizationSsoConnectionsResourceSpecification } from "../engine/auth/resources/sso-connections.resource.specification.js";
18
19
  import { organizationMembersResourceSpecification } from "../engine/organizations/resources/organization-members.resource.specification.js";
19
20
  import { organizationNotificationsResourceSpecification } from "../engine/organizations/resources/organization-notifications.resource.specification.js";
@@ -84,15 +85,105 @@ function optionalBoolean(value) {
84
85
  function consumerFactLabel(value) {
85
86
  return value.toLocaleLowerCase("en-US").split("_").map((part) => part.slice(0, 1).toLocaleUpperCase("en-US") + part.slice(1)).join(" ");
86
87
  }
88
+ /**
89
+ * Customer-facing words for each sign-in method.
90
+ *
91
+ * Authored, not derived. `consumerFactLabel` title-cases a constant, which turns `ORG_SAML` into
92
+ * "Org Saml", `SMS_OTP` into "Sms Otp" and `TOTP` into "Totp" — text no product would print, and
93
+ * text no reader can search for. A closed vocabulary's WORDS belong beside the vocabulary, and the
94
+ * `Record<AuthMethod, …>` makes a new method a compile error here rather than a new piece of
95
+ * invented English on a shipped page.
96
+ */
97
+ const AUTH_METHOD_CONSUMER_MEANINGS = {
98
+ [AuthMethod.PASSWORD]: { name: 'Password', meaning: 'A password the person sets and the application stores only as a verifier.' },
99
+ [AuthMethod.MAGIC_LINK]: { name: 'Magic link', meaning: 'A single-use link sent to the person\'s email address; no password is involved.' },
100
+ [AuthMethod.EXTERNAL_OAUTH2]: { name: 'External identity provider', meaning: 'Sign-in through a third-party account the application accepts, such as a social or vendor login.' },
101
+ [AuthMethod.ORG_SAML]: { name: 'Organization SAML single sign-on', meaning: 'The organization\'s own identity provider authenticates the person over SAML.' },
102
+ [AuthMethod.ORG_OPENID_CONNECT]: { name: 'Organization OpenID Connect single sign-on', meaning: 'The organization\'s own identity provider authenticates the person over OpenID Connect.' },
103
+ [AuthMethod.TOTP]: { name: 'Authenticator app code', meaning: 'A rotating six-digit code from an authenticator app, used as a second factor.' },
104
+ [AuthMethod.SMS_OTP]: { name: 'SMS code', meaning: 'A one-time code sent by text message.' },
105
+ [AuthMethod.EMAIL_OTP]: { name: 'Email code', meaning: 'A one-time code sent by email, used as a second factor.' },
106
+ [AuthMethod.PASSKEY]: { name: 'Passkey', meaning: 'A device-held credential unlocked by the device\'s own biometric or screen lock; nothing is typed.' },
107
+ };
108
+ /** Where a method may sit in the sign-in sequence, said the way a reader experiences it. */
109
+ const AUTH_FACTOR_POSITION_MEANINGS = {
110
+ [AuthFactorType.FIRST_ONLY]: 'Starts the sign-in',
111
+ [AuthFactorType.SECOND_ONLY]: 'Confirms a sign-in already started',
112
+ [AuthFactorType.FIRST_OR_SECOND]: 'Starts a sign-in or confirms one',
113
+ [AuthFactorType.ANY]: 'Usable at any point in the sign-in',
114
+ };
115
+ /**
116
+ * The customer-facing words for one sign-in method.
117
+ *
118
+ * Exported because the application-side projection names the SUBSET a given application enables,
119
+ * and both surfaces must call a method the same thing. The words live here, beside the vocabulary
120
+ * they describe, rather than being derived from the constant's spelling.
121
+ */
122
+ /**
123
+ * Customer-facing words for the audit vocabularies.
124
+ *
125
+ * Both are closed enums a reader FILTERS by, so their members are values someone types into a
126
+ * search — and `consumerFactLabel` would have rendered "Org Management" and "Info". Authored here
127
+ * as `Record`s so a new member is a compile error rather than new invented English, and so a
128
+ * reader learns what each value actually selects.
129
+ */
130
+ const AUDIT_EVENT_CATEGORY_MEANINGS = {
131
+ [AuditEventCategory.AUTHENTICATION]: { name: 'Authentication', meaning: 'Signing in, signing out, second factors and failed attempts.' },
132
+ [AuditEventCategory.AUTHORIZATION]: { name: 'Authorization', meaning: 'Access decisions: what an identity was allowed or refused.' },
133
+ [AuditEventCategory.USER_LIFECYCLE]: { name: 'User lifecycle', meaning: 'Accounts created, changed, suspended, restored or removed.' },
134
+ [AuditEventCategory.ORG_MANAGEMENT]: { name: 'Organization management', meaning: 'Membership, roles, units and organization settings.' },
135
+ [AuditEventCategory.DATA_ACCESS]: { name: 'Data access', meaning: 'Reads and changes of application data that are recorded for review.' },
136
+ };
137
+ const AUDIT_EVENT_SEVERITY_MEANINGS = {
138
+ [AuditEventSeverity.INFO]: { name: 'Information', meaning: 'Expected activity. Useful as evidence, not a signal on its own.' },
139
+ [AuditEventSeverity.WARNING]: { name: 'Warning', meaning: 'Unusual or refused activity worth reviewing in context.' },
140
+ [AuditEventSeverity.CRITICAL]: { name: 'Critical', meaning: 'Activity that should reach whoever handles security incidents.' },
141
+ };
142
+ /** What a reader can narrow the trail by, said in the words the search screen and the API use. */
143
+ function projectAuditTrailConsumerFact(source) {
144
+ const categoryRows = Object.values(source.categories).map((category) => {
145
+ const meanings = AUDIT_EVENT_CATEGORY_MEANINGS[category];
146
+ if (meanings === undefined)
147
+ throw new Error(`no customer-facing words are authored for audit category ${category}`);
148
+ return `| ${meanings.name} | \`${category}\` | ${meanings.meaning} |`;
149
+ }).join("\n");
150
+ const severityRows = Object.values(source.severities).map((severity) => {
151
+ const meanings = AUDIT_EVENT_SEVERITY_MEANINGS[severity];
152
+ if (meanings === undefined)
153
+ throw new Error(`no customer-facing words are authored for audit severity ${severity}`);
154
+ return `| ${meanings.name} | \`${severity}\` | ${meanings.meaning} |`;
155
+ }).join("\n");
156
+ const filters = source.filterFieldNames.map((field) => `\`${field}\``).join(', ');
157
+ const sorts = source.sortFieldNames.map((field) => `\`${field}\``).join(', ');
158
+ return {
159
+ categoriesMarkdown: `| Category | Filter value | What it selects |\n| --- | --- | --- |\n${categoryRows}`,
160
+ severitiesMarkdown: `| Severity | Filter value | What it means |\n| --- | --- | --- |\n${severityRows}`,
161
+ queryMarkdown: `You can narrow the trail by ${filters}, and order it by ${sorts}. A single page returns at most ${source.maxRecordsPerPage} records; ask for the next page rather than widening the range until everything fits.`,
162
+ filterFieldNames: source.filterFieldNames,
163
+ sortFieldNames: source.sortFieldNames,
164
+ maxRecordsPerPage: source.maxRecordsPerPage,
165
+ };
166
+ }
167
+ export function authenticationMethodConsumerWords(method) {
168
+ const meanings = AUTH_METHOD_CONSUMER_MEANINGS[method];
169
+ if (meanings === undefined)
170
+ throw new Error(`no customer-facing words are authored for sign-in method ${method}`);
171
+ return meanings;
172
+ }
87
173
  function projectAuthenticationMethodsConsumerFact(source) {
88
- const rows = Object.values(source.methods).map((method) => ({
89
- method,
90
- category: source.categories[method],
91
- factorType: source.factorTypes[method],
92
- }));
93
- const table = rows.map((row) => `| ${consumerFactLabel(row.method)} | ${consumerFactLabel(row.category)} | ${consumerFactLabel(row.factorType)} |`).join("\n");
174
+ const rows = Object.values(source.methods).map((method) => {
175
+ const meanings = AUTH_METHOD_CONSUMER_MEANINGS[method];
176
+ if (meanings === undefined)
177
+ throw new Error(`authentication-methods consumer fact has no customer-facing words for ${method}`);
178
+ const factorType = source.factorTypes[method];
179
+ const position = AUTH_FACTOR_POSITION_MEANINGS[factorType];
180
+ if (position === undefined)
181
+ throw new Error(`authentication-methods consumer fact has no reader meaning for factor position ${factorType}`);
182
+ return { method, name: meanings.name, meaning: meanings.meaning, category: source.categories[method], factorType, position };
183
+ });
184
+ const table = rows.map((row) => `| ${row.name} | ${row.meaning} | ${row.position} |`).join("\n");
94
185
  return {
95
- markdown: `This application can present the following sign-in methods. This is a support inventory, not a promise that every method is enabled for this application or organization. The sign-in screen and its available-method response are authoritative for the current user and organization.\n\n| Method | Category | Factor position |\n| --- | --- | --- |\n${table}`,
186
+ markdown: `These are the sign-in methods this application can present. It is a catalogue, not a promise: which of them are offered depends on how the application is configured, and an organization can narrow that further for its own people. The sign-in screen shows the methods actually available to you.\n\n| Method | What it is | Where it fits |\n| --- | --- | --- |\n${table}`,
96
187
  methods: rows,
97
188
  };
98
189
  }
@@ -581,7 +672,9 @@ ${tableRows(Object.values(SIEMFilterSeverity).map((value) => ({ value, meaning:
581
672
  | \`timeoutSeconds\` | 1–60 seconds | ${source.defaults.delivery.timeoutSeconds} | Enforced for each HTTP request |
582
673
  | \`batchSize\` | 1–100 | ${source.defaults.delivery.batchSize} | **Reserved:** stored, but the current worker sends one event per request |
583
674
  | \`batchWindowSeconds\` | 0–60 seconds | ${source.defaults.delivery.batchWindowSeconds} | **Reserved:** stored, but the current worker does not aggregate a time window |`;
675
+ const reliabilityMarkdown = `A destination that keeps failing is paused rather than retried forever. After **${SIEM_DELIVERY_RELIABILITY_CONTRACT.circuitBreakerFailureThreshold} consecutive failed deliveries** to the same destination, delivery to it stops for **${SIEM_DELIVERY_RELIABILITY_CONTRACT.circuitBreakerCooldownMinutes} minutes**, then one delivery is tried again. That pause is fixed and is not part of the per-organization retry settings above: those govern one delivery attempt, this governs whether attempts continue at all. Events produced while a destination is paused are not lost — they follow the same failure path as any other undelivered event.`;
584
676
  return {
677
+ deliveryReliabilityMarkdown: reliabilityMarkdown,
585
678
  markdown: 'Organization SIEM export is a filtered outbound copy of the authoritative audit trail. Only the organization-scoped producer is active in this framework version; an application-scoped configuration does not create an application event stream.',
586
679
  configurationMarkdown,
587
680
  authenticationValuesMarkdown,
@@ -590,6 +683,225 @@ ${tableRows(Object.values(SIEMFilterSeverity).map((value) => ({ value, meaning:
590
683
  deliveryValuesMarkdown,
591
684
  };
592
685
  }
686
+ /**
687
+ * Meanings a REST caller needs for each error type, keyed by the runtime enum so
688
+ * a new member fails this projection instead of silently shipping undocumented.
689
+ */
690
+ const ERROR_TYPE_CONSUMER_MEANINGS = {
691
+ [ErrorType.VALIDATION]: "The request is malformed or breaks a field rule. Fix the request; repeating it unchanged fails again. `validationErrors` names the fields.",
692
+ [ErrorType.PAYLOAD_TOO_LARGE]: "The request body exceeds the accepted size. Send less data.",
693
+ [ErrorType.AUTHENTICATION]: "No credential, or a credential the application does not accept: missing, expired, revoked or sent in the wrong form.",
694
+ [ErrorType.AUTHORIZATION]: "The credential is valid but this identity may not perform this operation in this scope.",
695
+ [ErrorType.FEATURE_NOT_AVAILABLE]: "The organization's plan does not include this capability.",
696
+ [ErrorType.FEATURE_LIMIT_EXCEEDED]: "The organization has reached a plan limit for this capability.",
697
+ [ErrorType.INSUFFICIENT_CREDITS]: "The organization has no remaining credit for this metered capability.",
698
+ [ErrorType.NOT_FOUND]: "The resource does not exist, or is not visible to this identity in this organization. The two cases are deliberately indistinguishable.",
699
+ [ErrorType.CONFLICT]: "The current state refuses the change: a uniqueness rule, a stale `If-Match` version, or a transition the state machine forbids. Read the resource again before deciding.",
700
+ [ErrorType.BUSINESS_RULE]: "The request is well-formed but a domain rule refuses it. `customMessageReference` names the rule.",
701
+ [ErrorType.RATE_LIMIT]: "Too many requests in a window. Wait for `Retry-After` seconds before sending again.",
702
+ [ErrorType.INTERNAL]: "The application failed while handling the request. Quote `correlationId` to support.",
703
+ [ErrorType.DATABASE]: "The application's data store failed. Quote `correlationId` to support.",
704
+ [ErrorType.UNKNOWN]: "An unclassified failure. Quote `correlationId` to support.",
705
+ [ErrorType.UNCAUGHT_EXCEPTION]: "An unexpected failure inside the application. Quote `correlationId` to support.",
706
+ [ErrorType.UNHANDLED_REJECTION]: "An unexpected asynchronous failure inside the application. Quote `correlationId` to support.",
707
+ [ErrorType.CONFIGURATION]: "The application is misconfigured for this operation. An operator must correct it; a retry does not help.",
708
+ [ErrorType.EXTERNAL_SERVICE]: "A provider the application depends on failed. Usually transient.",
709
+ [ErrorType.INFRASTRUCTURE]: "A platform service the application depends on is unavailable. Usually transient.",
710
+ [ErrorType.NETWORK]: "The application could not reach a dependency. Usually transient.",
711
+ };
712
+ const ERROR_ENVELOPE_FIELD_MEANINGS = {
713
+ type: "Machine-readable class of the failure. Branch on it, never on `message`.",
714
+ severity: "How serious the application considers the failure.",
715
+ message: "The same reference key as `customMessageReference`. It is not prose and not localized; do not display it or branch on it.",
716
+ customMessage: "Also the reference key. Localized wording is produced by the client from `customMessageReference`, not sent on the wire.",
717
+ customMessageReference: "Stable key of the user-facing message (for example `conflict`, `version_conflict`). Resolve it to text in your own language layer.",
718
+ code: "Stable, operation-specific refusal code when the operation defines one (for example `LAST_ORGANIZATION_OWNER`), also repeated as `details.code`. Branch on it for known refusals.",
719
+ operationPath: "Key of the operation that produced the error, as `resource | operation | variant | …`. It names the operation in the API reference; it is not a URL.",
720
+ correlationId: "Request-correlation identifier. Quote it to support; it joins the response to the application's logs and audit trail and contains no personal data.",
721
+ details: "Structured context for failures that expose one: `details.code` and `details.message` for a named refusal, `details.versionConflict` with the current and expected versions for a stale `If-Match`, `details.retryAfterSeconds` for a rate limit.",
722
+ timestamp: "When the application produced the error.",
723
+ initiatorIds: "Identifiers of the caller as the application resolved them, when available.",
724
+ validationErrors: "Field-level validation failures keyed by field name.",
725
+ userGuidance: "Optional explanation, resolution and next-action text for a person.",
726
+ };
727
+ function projectRestConventionsConsumerFact(source) {
728
+ const sourceRef = "source:consumer-fact:rest-conventions";
729
+ assertConsumerFactFields(sourceRef, source.errorEnvelopeFieldNames, Object.keys(ERROR_ENVELOPE_FIELD_MEANINGS));
730
+ const undocumentedEnvelopeFields = source.errorEnvelopeFieldNames.filter((field) => !(field in ERROR_ENVELOPE_FIELD_MEANINGS));
731
+ if (undocumentedEnvelopeFields.length > 0) {
732
+ throw new Error(`${sourceRef} error envelope has fields without a consumer meaning: ${undocumentedEnvelopeFields.join(", ")}`);
733
+ }
734
+ assertConsumerFactFields(sourceRef, source.pagination.requestFieldNames, ["page", "limit"]);
735
+ assertConsumerFactFields(sourceRef, source.pagination.responseFieldNames, ["page", "limit", "total", "totalPages"]);
736
+ const errorRows = Object.values(ErrorType).map((type) => {
737
+ const definition = source.errorDefinitions[type];
738
+ if (definition === undefined)
739
+ throw new Error(`${sourceRef} has no definition for error type ${type}`);
740
+ return { status: Number(definition.statusCode), type, meaning: ERROR_TYPE_CONSUMER_MEANINGS[type] };
741
+ }).sort((left, right) => left.status - right.status || left.type.localeCompare(right.type, "en-US"));
742
+ const errorStatusMarkdown = `| HTTP status | \`error.type\` | What it means for the caller |\n| --- | --- | --- |\n${errorRows.map((row) => `| ${row.status} | \`${row.type}\` | ${row.meaning} |`).join("\n")}`;
743
+ const envelopeRows = source.errorEnvelopeFieldNames.map((field) => `| \`error.${field}\` | ${ERROR_ENVELOPE_FIELD_MEANINGS[field]} |`).join("\n");
744
+ const errorEnvelopeMarkdown = `Every error response carries one JSON object under \`error\`:\n\n| Field | Meaning |\n| --- | --- |\n${envelopeRows}`;
745
+ // Mirrors what `ErrorHandlerService` serializes for the owner-floor refusal: `message` and
746
+ // `customMessage` carry the reference key, the refusal code rides both `code` and `details.code`,
747
+ // and `operationPath` is the operation KEY. Change this only against the handler.
748
+ const errorExampleJson = JSON.stringify({
749
+ error: {
750
+ type: ErrorType.CONFLICT,
751
+ severity: "medium",
752
+ message: "conflict",
753
+ customMessage: "conflict",
754
+ customMessageReference: "conflict",
755
+ code: "LAST_ORGANIZATION_OWNER",
756
+ // Derived through the same utility the error builder uses, never typed by hand.
757
+ operationPath: ResourcesConfig_OperationPathUtils.createOperationPathKey({
758
+ resourceIdentifier: CoreResourceType.ORGANIZATION_MEMBERS,
759
+ operationIdentifier: CoreResourceOperation.DELETE,
760
+ variantType: ResourceOperationVariantType.API_CALL,
761
+ isOperationDefault: true,
762
+ }),
763
+ correlationId: "4f0b2c6e-8d3a-4e1f-9b7c-2a5d6e8f0c13",
764
+ timestamp: "2026-09-03T10:15:00.000Z",
765
+ details: {
766
+ code: "LAST_ORGANIZATION_OWNER",
767
+ message: "Refused: this would leave an organization with no usable owner. Grant owner access to another active member first.",
768
+ },
769
+ },
770
+ }, null, 2);
771
+ const { queryParameters, pagination } = source;
772
+ const collectionQueryMarkdown = `| Query parameter | Applies to | Meaning |\n| --- | --- | --- |\n| \`${queryParameters.page}\` | list, search | 1-based page number. Default ${pagination.defaultPage}. |\n| \`${queryParameters.limit}\` | list, search | Items per page. Default ${pagination.defaultLimit}, at most ${pagination.maxLimit} unless the operation states a different ceiling. |\n| \`${queryParameters.sort}\` | list, search | Comma-separated \`field:asc\` or \`field:desc\` pairs, highest priority first, for example \`${queryParameters.sort}=createdAt:desc,title:asc\`. |\n| \`${queryParameters.search}\` | search | Free-text term matched against the operation's searchable fields. |\n| one parameter per filter field | list, search | The API reference lists each operation's filter fields. Date ranges use bracket notation: \`createdAt[startDate]=2026-09-01T00:00:00Z&createdAt[endDate]=2026-09-30T23:59:59Z\`. |`;
773
+ const paginationResponseMarkdown = `A collection response is one object with \`data\` (the page) and \`pagination\`:\n\n| Field | Meaning |\n| --- | --- |\n| \`pagination.page\` | The page that was returned. |\n| \`pagination.limit\` | The page size the operation applied. |\n| \`pagination.total\` | Matching records for the whole query. |\n| \`pagination.totalPages\` | Number of pages at this limit. Stop when \`page\` equals it; do not infer the end from a short page. |`;
774
+ const rateLimitMarkdown = `| Response header | Meaning |\n| --- | --- |\n| \`${source.headers.rateLimitLimit}\` | Requests allowed in the tightest active window. |\n| \`${source.headers.rateLimitRemaining}\` | Requests left in that window. |\n| \`${source.headers.rateLimitReset}\` | Seconds until that window resets. |\n| \`Retry-After\` | Sent with a 429 only: seconds to wait before the next attempt. Every tripped window must recover, so wait the full value. |`;
775
+ const concurrencyMarkdown = `Records carry an integer \`_version\` that increases on every write. To refuse a write that would overwrite a change you have not seen, send the version you read in the \`${source.headers.ifMatch}\` header. A mismatch answers **409** with \`error.details.versionConflict\` carrying the current version; read the record again, merge, and resend with the new version.`;
776
+ return {
777
+ markdown: errorStatusMarkdown,
778
+ errorStatusMarkdown,
779
+ errorEnvelopeMarkdown,
780
+ errorExampleJson,
781
+ collectionQueryMarkdown,
782
+ paginationResponseMarkdown,
783
+ rateLimitMarkdown,
784
+ concurrencyMarkdown,
785
+ authorizationHeader: source.headers.authorization,
786
+ queryParameters: { ...queryParameters },
787
+ pagination: { defaultPage: pagination.defaultPage, defaultLimit: pagination.defaultLimit, maxLimit: pagination.maxLimit },
788
+ errors: errorRows,
789
+ };
790
+ }
791
+ const WEBHOOK_DELIVERY_STATUS_MEANINGS = {
792
+ [M2MWebhookDeliveryLogStatus.PENDING]: { meaning: "Waiting for its first attempt or for a scheduled retry.", action: "Compare `nextAttemptAt` with the retry ladder. Do not send it yourself." },
793
+ [M2MWebhookDeliveryLogStatus.IN_FLIGHT]: { meaning: "A worker currently holds the row and is making one HTTP attempt.", action: "Wait for the attempt to finish; the timeout bounds it." },
794
+ [M2MWebhookDeliveryLogStatus.DELIVERED]: { meaning: "Your receiver answered 2xx to one attempt.", action: "Confirm your receiver stored the `jti` and finished the work; the application cannot see that." },
795
+ [M2MWebhookDeliveryLogStatus.FAILED]: { meaning: "A terminal response (3xx, or a 4xx other than 408 and 429) was received, or every attempt was used.", action: "Fix the cause, then use the retry operation on that one row." },
796
+ };
797
+ const WEBHOOK_PROBE_OUTCOME_MEANINGS = {
798
+ [WebhookEndpointProbeOutcome.ACCEPTED]: { meaning: "The endpoint answered 2xx to the signed synthetic request.", action: "Check your receiver's log shows signature and body-hash verification ran before it answered." },
799
+ [WebhookEndpointProbeOutcome.REJECTED]: { meaning: "The endpoint answered, but not with 2xx.", action: "Read the recorded status and body; the receiver refused or failed." },
800
+ [WebhookEndpointProbeOutcome.UNREACHABLE]: { meaning: "No HTTP response arrived within the timeout.", action: "Check public reachability, DNS, TLS and the receiver's own timeout." },
801
+ [WebhookEndpointProbeOutcome.NOT_SENT]: { meaning: "The application refused to send: the URL failed policy (private address, embedded credentials) or signing was not possible.", action: "Correct the endpoint URL or the application's signing configuration." },
802
+ };
803
+ function projectOutboundWebhooksConsumerFact(source) {
804
+ const sourceRef = "source:consumer-fact:outbound-webhooks";
805
+ const { contract } = source;
806
+ // The receiver contract says "every enabled endpoint receives every event". That is
807
+ // only true while an endpoint has no event filter, so this projection fails closed the
808
+ // day a filter field appears on the endpoint schema.
809
+ const expectedEndpointFields = ["id", "url", "description", "enabled", "createdAt", "updatedAt"];
810
+ assertConsumerFactFields(sourceRef, source.endpointFieldNames, expectedEndpointFields);
811
+ const unexpectedEndpointFields = source.endpointFieldNames.filter((field) => !expectedEndpointFields.includes(field));
812
+ if (unexpectedEndpointFields.length > 0) {
813
+ throw new Error(`${sourceRef} endpoint schema grew fields the documented delivery model does not cover: ${unexpectedEndpointFields.join(", ")}`);
814
+ }
815
+ assertConsumerFactFields(sourceRef, source.configurationFieldNames, ["enabled", "endpoints", "applicationPublicKeyPem"]);
816
+ assertConsumerFactFields(sourceRef, source.deliveryLogFieldNames, ["endpointId", "channel", "resourceIdentifier", "operationIdentifier", "httpUrl", "attemptCount", "nextAttemptAt", "responseStatus", "responseBodyTruncated", "failureReason", "signatureJti"]);
817
+ for (const status of Object.values(source.deliveryStatuses)) {
818
+ if (WEBHOOK_DELIVERY_STATUS_MEANINGS[status] === undefined)
819
+ throw new Error(`${sourceRef} has no meaning for delivery status ${status}`);
820
+ }
821
+ for (const outcome of Object.values(source.probeOutcomes)) {
822
+ if (WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome] === undefined)
823
+ throw new Error(`${sourceRef} has no meaning for endpoint test outcome ${outcome}`);
824
+ }
825
+ const claims = contract.signatureClaims;
826
+ const signatureMarkdown = `Every delivery is a \`POST\` whose \`${contract.signatureHeader}\` header carries a JSON Web Token signed with **${contract.signatureAlgorithm}** by the application's webhook key. The public key is the \`applicationPublicKeyPem\` value on the webhook configuration. The JWT header's \`kid\` is the RFC 7638 thumbprint of that key: do not pin a fixed value, verify with the PEM you hold, and treat a \`kid\` you have not seen as the signal that the key rotated. The body itself is not inside the token, only its hash.\n\n| Claim | Value or meaning |\n| --- | --- |\n| \`iss\` | \`${contract.signature.issuer}\` |\n| \`aud\` | \`${contract.signature.audience}\` |\n| \`iat\`, \`exp\` | Issued per attempt; a token lives ${contract.signature.expiresIn}. |\n| \`${claims.deliveryId}\` | Identifier of this delivery. Identical on every retry of the same delivery, different for every other delivery, even one carrying the same body. Deduplicate on it. |\n| \`${claims.bodyHash}\` | Hex ${contract.bodyHashAlgorithm.toUpperCase()} digest of the exact raw request bytes. |\n| \`${claims.bodyHashAlgorithm}\` | \`${contract.bodyHashAlgorithm}\` |\n| \`${claims.eventChannel}\` | Which configuration produced it: \`${Object.values(source.channels).join("\` or \`")}\`. |\n| \`${claims.resourceIdentifier}\`, \`${claims.operationIdentifier}\` | The resource and operation that fired the event, as named in the API reference. |`;
827
+ const claimsExampleJson = JSON.stringify({
828
+ iss: contract.signature.issuer,
829
+ aud: contract.signature.audience,
830
+ iat: 1788174900,
831
+ exp: 1788196500,
832
+ [claims.deliveryId]: "9d2b5f3c-1e8a-4c6f-b0d7-3a4e5f6c7d8e",
833
+ [claims.bodyHash]: "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
834
+ [claims.bodyHashAlgorithm]: contract.bodyHashAlgorithm,
835
+ [claims.eventChannel]: source.channels.WEBHOOK_ORGANIZATION,
836
+ [claims.resourceIdentifier]: "organizationMembers",
837
+ [claims.operationIdentifier]: "create",
838
+ }, null, 2);
839
+ const ladder = contract.backoffScheduleSeconds.map((seconds, index) => {
840
+ const label = seconds >= 3600 ? `${seconds / 3600} h` : `${seconds / 60} min`;
841
+ return `| ${index + 2} | after ${label} |`;
842
+ }).join("\n");
843
+ const retryMarkdown = `| Attempt | When |\n| --- | --- |\n| 1 | Immediately after the event |\n${ladder}\n\nAt most **${contract.maxAttempts}** attempts. Each attempt times out after ${contract.requestTimeoutMs / 1000} seconds. A network failure, a timeout, a **5xx**, a **${contract.retryableHttpStatuses.join("** or a **")}** schedules the next attempt; any other **4xx** and every **3xx** ends the delivery as failed, because the same bytes would be refused again. The first ${contract.responseBodyTruncationBytes / 1024} KiB of your response body is recorded on the delivery for diagnosis. Requests carry \`User-Agent: ${contract.userAgent}\`.`;
844
+ const deliveryStatesMarkdown = `| Status | Meaning | What to do |\n| --- | --- | --- |\n${Object.values(source.deliveryStatuses).map((status) => `| \`${status}\` | ${WEBHOOK_DELIVERY_STATUS_MEANINGS[status].meaning} | ${WEBHOOK_DELIVERY_STATUS_MEANINGS[status].action} |`).join("\n")}`;
845
+ const testOutcomesMarkdown = `| Outcome | Meaning | What to do |\n| --- | --- | --- |\n${Object.values(source.probeOutcomes).map((outcome) => `| \`${outcome}\` | ${WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome].meaning} | ${WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome].action} |`).join("\n")}`;
846
+ const endpointMarkdown = `A webhook configuration holds a master \`enabled\` switch, the \`endpoints\` list and the read-only \`applicationPublicKeyPem\`. Each endpoint has exactly these fields: ${expectedEndpointFields.map((field) => `\`${field}\``).join(", ")}. **There is no per-endpoint event filter.** Every enabled endpoint receives every event the application publishes on that channel; route or ignore events inside your receiver using the \`${claims.resourceIdentifier}\` and \`${claims.operationIdentifier}\` claims.`;
847
+ const verifierSampleNode = [
848
+ "const crypto = require('node:crypto');",
849
+ "const express = require('express');",
850
+ "const jwt = require('jsonwebtoken');",
851
+ "",
852
+ "// Copy applicationPublicKeyPem from the webhook configuration into your secret store.",
853
+ "const PUBLIC_KEY_PEM = process.env.APP_WEBHOOK_PUBLIC_KEY_PEM;",
854
+ "",
855
+ "const app = express();",
856
+ "",
857
+ "// Keep the raw bytes: any JSON parser before this handler changes the body hash.",
858
+ "app.post('/webhooks/app', express.raw({ type: '*/*' }), async (req, res) => {",
859
+ ` const token = req.get('${contract.signatureHeader}');`,
860
+ " if (!token) return res.status(401).end();",
861
+ "",
862
+ " let claims;",
863
+ " try {",
864
+ " claims = jwt.verify(token, PUBLIC_KEY_PEM, {",
865
+ ` algorithms: ['${contract.signatureAlgorithm}'],`,
866
+ ` issuer: '${contract.signature.issuer}',`,
867
+ ` audience: '${contract.signature.audience}',`,
868
+ " });",
869
+ " } catch {",
870
+ " return res.status(401).end();",
871
+ " }",
872
+ "",
873
+ ` const bodyHash = crypto.createHash('${contract.bodyHashAlgorithm}').update(req.body).digest('hex');`,
874
+ ` const expected = Buffer.from(String(claims.${claims.bodyHash}));`,
875
+ " if (expected.length !== bodyHash.length || !crypto.timingSafeEqual(Buffer.from(bodyHash), expected)) {",
876
+ " return res.status(401).end();",
877
+ " }",
878
+ "",
879
+ ` // Claim the delivery id atomically; a retry of the same delivery carries the same ${claims.deliveryId}.`,
880
+ ` const firstTime = await claimDeliveryOnce(claims.${claims.deliveryId});`,
881
+ " if (!firstTime) return res.status(200).end();",
882
+ "",
883
+ " const event = JSON.parse(req.body.toString('utf8'));",
884
+ ` await enqueue({ resource: claims.${claims.resourceIdentifier}, operation: claims.${claims.operationIdentifier}, event });`,
885
+ " return res.status(202).end();",
886
+ "});",
887
+ ].join("\n");
888
+ return {
889
+ markdown: signatureMarkdown,
890
+ signatureMarkdown,
891
+ claimsExampleJson,
892
+ retryMarkdown,
893
+ deliveryStatesMarkdown,
894
+ testOutcomesMarkdown,
895
+ endpointMarkdown,
896
+ verifierSampleNode,
897
+ signatureHeader: contract.signatureHeader,
898
+ signatureAlgorithm: contract.signatureAlgorithm,
899
+ maxAttempts: contract.maxAttempts,
900
+ backoffScheduleSeconds: [...contract.backoffScheduleSeconds],
901
+ requestTimeoutMs: contract.requestTimeoutMs,
902
+ claims: { ...claims },
903
+ };
904
+ }
593
905
  function projectOrganizationUnitsConsumerFact(source) {
594
906
  assertConsumerFactFields('organization unit', source.unitFieldNames, ['organizationId', 'parentUnitId', 'inheritanceType', 'status']);
595
907
  assertConsumerFactFields('organization unit membership', source.unitMemberFieldNames, ['organizationMemberId', 'organizationUnitId', 'role']);
@@ -628,7 +940,7 @@ function projectOrganizationMembershipAdministrationConsumerFact(source) {
628
940
  }));
629
941
  const lifecycleTable = lifecycle.map(({ status, meaning }) => `| ${consumerFactLabel(status)} | ${meaning} |`).join('\n');
630
942
  return {
631
- markdown: `An organization membership is the invitation record: there is no separate invitation object. Inviting by email creates an **Invited** membership; accepting it activates that same membership. A membership carries roles inside one organization, so changing organization never copies authority from another membership.\n\n| Membership state | Meaning |\n| --- | --- |\n${lifecycleTable}\n\nOnly an active membership can contribute organization authority. Before removing, suspending or demoting a member, grant owner authority to another active member when needed: the application refuses a change that would leave the organization without an administratively usable owner. The stable refusal code is \`${source.continuityCodes.LAST_ORGANIZATION_OWNER}\`.`,
943
+ markdown: `An organization membership is the invitation record: there is no separate invitation object. Inviting by email creates an **Invited** membership; accepting it activates that same membership. A membership carries roles inside one organization, so changing organization never copies authority from another membership.\n\n| Membership state | Meaning |\n| --- | --- |\n${lifecycleTable}\n\nOnly an active membership can contribute organization authority. Before removing, suspending or demoting a member, grant owner authority to another active member when needed: the application refuses a change that would leave the organization without an administratively usable owner. The refusal is HTTP **409** with \`error.type\` \`CONFLICT\` and the stable code \`${source.continuityCodes.LAST_ORGANIZATION_OWNER}\` in \`error.code\`.`,
632
944
  lifecycle,
633
945
  invitationRecord: 'membership',
634
946
  authorizationStatus: OrganizationMemberStatus.ACTIVE,
@@ -1070,6 +1382,22 @@ const MANAGED_SOURCES_UNSORTED = [
1070
1382
  },
1071
1383
  project: (source) => projectScimProvisioningConsumerFact(source),
1072
1384
  }),
1385
+ managedSource({
1386
+ sourceRef: "source:consumer-fact:organization-audit-trail",
1387
+ specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,
1388
+ sourceModuleBinding: "engine/saas-models/src/compliance/audit-trails/auditable-events.shared.schema.ts#AuditEventCategory|engine/saas-models/src/compliance/audit-trails/audit-logs.shared.resources-config.schemas.ts#AuditLogs_FilterSchema",
1389
+ projectorRef: "projector:technical-documentation:consumer-fact:v1",
1390
+ source: {
1391
+ categories: AuditEventCategory,
1392
+ severities: AuditEventSeverity,
1393
+ // The exact fields the LIST operation declares; a reader cannot filter by anything else.
1394
+ filterFieldNames: ['eventType', 'eventCategory', 'severity', 'userId', 'organizationId', 'applicationId', 'correlationId', 'clientInstanceId', 'createdAt'],
1395
+ sortFieldNames: ['createdAt', 'severity', 'eventType', 'eventId'],
1396
+ maxRecordsPerPage: 100,
1397
+ specification: auditLogsResourceSpecification,
1398
+ },
1399
+ project: (source) => projectAuditTrailConsumerFact(source),
1400
+ }),
1073
1401
  managedSource({
1074
1402
  sourceRef: "source:consumer-fact:organization-siem-export",
1075
1403
  specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,
@@ -1106,6 +1434,54 @@ const MANAGED_SOURCES_UNSORTED = [
1106
1434
  },
1107
1435
  project: (source) => projectOrganizationUnitsConsumerFact(source),
1108
1436
  }),
1437
+ managedSource({
1438
+ sourceRef: "source:consumer-fact:rest-conventions",
1439
+ specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,
1440
+ sourceModuleBinding: "engine/saas-models/src/errors/errors.shared.definitions.ts#ERROR_DEFINITIONS|engine/saas-models/src/errors/errors.shared.schemas.ts#ErrorResponseSchema|engine/saas-models/src/resources/collection-query-parameters.shared.ts#COLLECTION_QUERY_PARAMETERS|engine/saas-models/src/resources/resources-config.shared.schemas.ts#Resources_PaginationRequestSchema|engine/saas-models/src/requests/header-keys.shared.ts#WildoHeaderKeys",
1441
+ projectorRef: "projector:technical-documentation:consumer-fact:v1",
1442
+ source: {
1443
+ errorDefinitions: ERROR_DEFINITIONS,
1444
+ errorEnvelopeFieldNames: Object.keys(ErrorResponseSchema.shape.error.shape),
1445
+ queryParameters: COLLECTION_QUERY_PARAMETERS,
1446
+ pagination: {
1447
+ defaultPage: Resources_PaginationRequestSchema.shape.page.parse(undefined),
1448
+ defaultLimit: Resources_PaginationRequestSchema.shape.limit.parse(undefined),
1449
+ maxLimit: (() => {
1450
+ const limit = unwrapSchema(Resources_PaginationRequestSchema.shape.limit);
1451
+ if (typeof limit.maxValue !== "number")
1452
+ throw new Error("pagination limit schema has no maximum");
1453
+ return limit.maxValue;
1454
+ })(),
1455
+ requestFieldNames: Object.keys(Resources_PaginationRequestSchema.shape),
1456
+ responseFieldNames: Object.keys(Resources_PaginationResponseMetadataSchema.shape),
1457
+ },
1458
+ headers: {
1459
+ authorization: WildoHeaderKeys.AUTHORIZATION,
1460
+ ifMatch: WildoHeaderKeys.IF_MATCH,
1461
+ etag: WildoHeaderKeys.ETAG,
1462
+ rateLimitLimit: WildoHeaderKeys.RATE_LIMIT_LIMIT,
1463
+ rateLimitRemaining: WildoHeaderKeys.RATE_LIMIT_REMAINING,
1464
+ rateLimitReset: WildoHeaderKeys.RATE_LIMIT_RESET,
1465
+ },
1466
+ },
1467
+ project: (source) => projectRestConventionsConsumerFact(source),
1468
+ }),
1469
+ managedSource({
1470
+ sourceRef: "source:consumer-fact:outbound-webhooks",
1471
+ specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,
1472
+ sourceModuleBinding: "engine/saas-models/src/notifications/m2m/m2m-webhook-delivery-contract.shared.ts#M2M_WEBHOOK_DELIVERY_CONTRACT|engine/saas-models/src/notifications/m2m/webhook-config.shared.schemas.ts#WebhookEndpointSchema|WebhookConfigBaseSchema|WebhookEndpointProbeOutcome|engine/saas-models/src/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.ts#M2MWebhookDeliveryLogBaseSchema|M2MWebhookDeliveryLogStatus",
1473
+ projectorRef: "projector:technical-documentation:consumer-fact:v1",
1474
+ source: {
1475
+ contract: M2M_WEBHOOK_DELIVERY_CONTRACT,
1476
+ endpointFieldNames: Object.keys(WebhookEndpointSchema.shape),
1477
+ configurationFieldNames: Object.keys(WebhookConfigBaseSchema.shape),
1478
+ deliveryLogFieldNames: Object.keys(M2MWebhookDeliveryLogBaseSchema.shape),
1479
+ deliveryStatuses: M2MWebhookDeliveryLogStatus,
1480
+ probeOutcomes: WebhookEndpointProbeOutcome,
1481
+ channels: CoreM2MNotificationChannel,
1482
+ },
1483
+ project: (source) => projectOutboundWebhooksConsumerFact(source),
1484
+ }),
1109
1485
  managedSource({
1110
1486
  sourceRef: "source:engine-capability:ORGANIZATIONS",
1111
1487
  specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.ENGINE_CAPABILITY,