@wildo-ai/saas-models 1.1.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1399) hide show
  1. package/dist/esm/__tests__/setup.d.ts.map +1 -1
  2. package/dist/esm/_inspect.d.ts.map +1 -1
  3. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts +1 -1
  4. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts.map +1 -1
  5. package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -1
  6. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts +1 -1
  7. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
  8. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js +4 -3
  9. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
  10. package/dist/esm/applications/applications-context.schemas.d.ts +412 -20
  11. package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
  12. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts +1 -0
  13. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
  14. package/dist/esm/applications/applications.shared.resources-config.schemas.js +4 -3
  15. package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
  16. package/dist/esm/applications/applications.shared.schemas.d.ts +10 -7
  17. package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
  18. package/dist/esm/applications/applications.shared.schemas.js +46 -9
  19. package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
  20. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +11 -3
  21. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
  22. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js +50 -17
  23. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
  24. package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
  25. package/dist/esm/billing/billing-account.shared.schemas.js +2 -2
  26. package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
  27. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts +25 -0
  28. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
  29. package/dist/esm/billing/billing-configuration.shared.schemas.js +19 -0
  30. package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
  31. package/dist/esm/billing/billing-enums.shared.schemas.d.ts +114 -10
  32. package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
  33. package/dist/esm/billing/billing-enums.shared.schemas.js +121 -9
  34. package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
  35. package/dist/esm/billing/billing-types.shared.schemas.d.ts +61 -15
  36. package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
  37. package/dist/esm/billing/billing-types.shared.schemas.js +54 -26
  38. package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
  39. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts +2 -0
  40. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts.map +1 -1
  41. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js +18 -7
  42. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js.map +1 -1
  43. package/dist/esm/billing/credit-pool.shared.schemas.d.ts +2 -0
  44. package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
  45. package/dist/esm/billing/credit-pool.shared.schemas.js +7 -1
  46. package/dist/esm/billing/credit-pool.shared.schemas.js.map +1 -1
  47. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts.map +1 -1
  48. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js +6 -6
  49. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js.map +1 -1
  50. package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
  51. package/dist/esm/billing/invoice-ref.shared.schemas.js +1 -1
  52. package/dist/esm/billing/invoice-ref.shared.schemas.js.map +1 -1
  53. package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
  54. package/dist/esm/billing/price.shared.resources-config.schemas.js +32 -2
  55. package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
  56. package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
  57. package/dist/esm/billing/price.shared.schemas.js +5 -3
  58. package/dist/esm/billing/price.shared.schemas.js.map +1 -1
  59. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts +11 -1
  60. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
  61. package/dist/esm/billing/product-behavior-policy.shared.schemas.js +39 -23
  62. package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
  63. package/dist/esm/billing/product-definition.shared.schemas.d.ts +30 -2
  64. package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
  65. package/dist/esm/billing/product-definition.shared.schemas.js +35 -0
  66. package/dist/esm/billing/product-definition.shared.schemas.js.map +1 -1
  67. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts +6 -3
  68. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
  69. package/dist/esm/billing/product.shared.resources-config.schemas.js +32 -2
  70. package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
  71. package/dist/esm/billing/product.shared.schemas.d.ts +8 -3
  72. package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
  73. package/dist/esm/billing/product.shared.schemas.js +25 -7
  74. package/dist/esm/billing/product.shared.schemas.js.map +1 -1
  75. package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
  76. package/dist/esm/billing/promotions.shared.resources-config.schemas.js +41 -11
  77. package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
  78. package/dist/esm/billing/promotions.shared.schemas.d.ts.map +1 -1
  79. package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts +135 -0
  80. package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts.map +1 -0
  81. package/dist/esm/billing/public-pricing-catalog.shared.atoms.js +112 -0
  82. package/dist/esm/billing/public-pricing-catalog.shared.atoms.js.map +1 -0
  83. package/dist/esm/billing/public-pricing-catalog.shared.d.ts +30 -0
  84. package/dist/esm/billing/public-pricing-catalog.shared.d.ts.map +1 -0
  85. package/dist/esm/billing/public-pricing-catalog.shared.js +53 -0
  86. package/dist/esm/billing/public-pricing-catalog.shared.js.map +1 -0
  87. package/dist/esm/billing/referral-reward.shared.schemas.d.ts +51 -0
  88. package/dist/esm/billing/referral-reward.shared.schemas.d.ts.map +1 -0
  89. package/dist/esm/billing/referral-reward.shared.schemas.js +92 -0
  90. package/dist/esm/billing/referral-reward.shared.schemas.js.map +1 -0
  91. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts +54 -33
  92. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
  93. package/dist/esm/billing/referral.shared.resources-config.schemas.js +76 -2
  94. package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
  95. package/dist/esm/billing/referral.shared.schemas.d.ts +23 -37
  96. package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
  97. package/dist/esm/billing/referral.shared.schemas.js +27 -44
  98. package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
  99. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +32 -2
  100. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
  101. package/dist/esm/billing/subscription.shared.resources-config.schemas.js +95 -16
  102. package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
  103. package/dist/esm/billing/subscription.shared.schemas.d.ts +81 -5
  104. package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
  105. package/dist/esm/billing/subscription.shared.schemas.js +88 -25
  106. package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
  107. package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts +49 -0
  108. package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -0
  109. package/dist/esm/billing/usage-flush-evidence.shared.schemas.js +48 -0
  110. package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.map +1 -0
  111. package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts.map +1 -1
  112. package/dist/esm/billing/usage-record.shared.schemas.d.ts +1 -0
  113. package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
  114. package/dist/esm/billing/usage-record.shared.schemas.js +8 -5
  115. package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
  116. package/dist/esm/charts/aggregation-query.shared.schemas.d.ts.map +1 -1
  117. package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
  118. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +150 -3
  119. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
  120. package/dist/esm/companion/provider-discovery.shared.schemas.js +84 -1
  121. package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
  122. package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts.map +1 -1
  123. package/dist/esm/companion-exports.d.ts.map +1 -1
  124. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +28 -4
  125. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  126. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +25 -7
  127. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
  128. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts +70 -0
  129. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts.map +1 -1
  130. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js +87 -0
  131. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js.map +1 -1
  132. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts +484 -0
  133. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -0
  134. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js +857 -0
  135. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -0
  136. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts +7 -0
  137. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
  138. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js.map +1 -1
  139. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +30 -4
  140. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  141. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js +29 -8
  142. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js.map +1 -1
  143. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +37 -6
  144. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
  145. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +53 -9
  146. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
  147. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +2432 -162
  148. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
  149. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +2545 -124
  150. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
  151. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts +10 -0
  152. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
  153. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +177 -7
  154. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
  155. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts +463 -0
  156. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -0
  157. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js +526 -0
  158. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -0
  159. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts +539 -15
  160. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
  161. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js +402 -14
  162. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
  163. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts +18 -0
  164. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -0
  165. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js +89 -0
  166. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -0
  167. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts +47 -0
  168. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -0
  169. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js +73 -0
  170. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -0
  171. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +23 -0
  172. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
  173. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +41 -1
  174. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
  175. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts +33 -0
  176. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -0
  177. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js +30 -0
  178. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -0
  179. package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts +6 -5
  180. package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
  181. package/dist/esm/compliance/privacy/client-storage.shared.schemas.js +15 -5
  182. package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
  183. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts +127 -0
  184. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -0
  185. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js +94 -0
  186. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -0
  187. package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts +125 -0
  188. package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -0
  189. package/dist/esm/compliance/privacy/consent-purposes.shared.js +136 -0
  190. package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -0
  191. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts +0 -8
  192. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +0 -1
  193. package/dist/esm/compliance/privacy/data-retention.shared.schemas.js.map +0 -1
  194. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts +100 -0
  195. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -0
  196. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +146 -0
  197. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -0
  198. package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -1
  199. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts +38 -0
  200. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
  201. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js +39 -0
  202. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -1
  203. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts +35 -0
  204. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts.map +1 -0
  205. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js +82 -0
  206. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js.map +1 -0
  207. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts +37 -0
  208. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts.map +1 -0
  209. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js +223 -0
  210. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js.map +1 -0
  211. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts +222 -0
  212. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts.map +1 -0
  213. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js +331 -0
  214. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js.map +1 -0
  215. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
  216. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
  217. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +105 -28
  218. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
  219. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +107 -26
  220. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
  221. package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts.map +1 -1
  222. package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -1
  223. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts +9 -17
  224. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
  225. package/dist/esm/compliance/privacy/privacy.shared.schemas.js +74 -31
  226. package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
  227. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts +52 -0
  228. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts.map +1 -0
  229. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js +116 -0
  230. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js.map +1 -0
  231. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts +11 -0
  232. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts.map +1 -0
  233. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js +11 -0
  234. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js.map +1 -0
  235. package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
  236. package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
  237. package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts +93 -0
  238. package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts.map +1 -0
  239. package/dist/esm/compliance/privacy/retention-binding.shared.utils.js +149 -0
  240. package/dist/esm/compliance/privacy/retention-binding.shared.utils.js.map +1 -0
  241. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts +43 -0
  242. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts.map +1 -0
  243. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js +106 -0
  244. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js.map +1 -0
  245. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts +209 -0
  246. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts.map +1 -0
  247. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js +226 -0
  248. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js.map +1 -0
  249. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts +129 -5
  250. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -1
  251. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js +128 -4
  252. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js.map +1 -1
  253. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts +53 -0
  254. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts.map +1 -0
  255. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js +74 -0
  256. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js.map +1 -0
  257. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts +311 -0
  258. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts.map +1 -0
  259. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js +355 -0
  260. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js.map +1 -0
  261. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts +47 -0
  262. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -0
  263. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js +98 -0
  264. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -0
  265. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +507 -35
  266. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
  267. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +513 -17
  268. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
  269. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -1
  270. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js +26 -0
  271. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js.map +1 -1
  272. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts +9 -0
  273. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
  274. package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
  275. package/dist/esm/compliance/review-cadence.shared.schemas.d.ts +56 -0
  276. package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -0
  277. package/dist/esm/compliance/review-cadence.shared.schemas.js +71 -0
  278. package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -0
  279. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts +161 -0
  280. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -0
  281. package/dist/esm/compliance/risk-posture.shared.schemas.js +166 -0
  282. package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -0
  283. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts +4 -3
  284. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
  285. package/dist/esm/config/analytics-value-moments.shared.schemas.js +4 -3
  286. package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
  287. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +331 -10
  288. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
  289. package/dist/esm/config/app-configuration-shared.shared.schemas.js +289 -9
  290. package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
  291. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts +75 -3
  292. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
  293. package/dist/esm/config/auth-config-resolution.shared.utils.js +93 -4
  294. package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
  295. package/dist/esm/config/brand-assets.shared.schemas.d.ts +5 -4
  296. package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
  297. package/dist/esm/config/brand-assets.shared.schemas.js +14 -4
  298. package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
  299. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +532 -19
  300. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
  301. package/dist/esm/config/entity-identity-config.shared.schemas.js +628 -28
  302. package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
  303. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +32 -32
  304. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
  305. package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
  306. package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
  307. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +180 -77
  308. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
  309. package/dist/esm/config/frontend/navigation.shared.schemas.js +354 -104
  310. package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
  311. package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts +90 -133
  312. package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
  313. package/dist/esm/config/frontend/onboarding.shared.schemas.js +148 -100
  314. package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
  315. package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -1
  316. package/dist/esm/config-authoring.entry.d.ts.map +1 -1
  317. package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +1 -1
  318. package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts.map +1 -1
  319. package/dist/esm/errors/caught-error-description.shared.utils.d.ts +69 -0
  320. package/dist/esm/errors/caught-error-description.shared.utils.d.ts.map +1 -0
  321. package/dist/esm/errors/caught-error-description.shared.utils.js +77 -0
  322. package/dist/esm/errors/caught-error-description.shared.utils.js.map +1 -0
  323. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +212 -42
  324. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
  325. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js +214 -41
  326. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
  327. package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
  328. package/dist/esm/errors/errors.shared.definitions.js +1 -1
  329. package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
  330. package/dist/esm/errors/errors.shared.schemas.d.ts +49 -41
  331. package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
  332. package/dist/esm/errors/errors.shared.schemas.js +52 -62
  333. package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
  334. package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
  335. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts +26 -0
  336. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -0
  337. package/dist/esm/errors/thrown-value-description.shared.utils.js +66 -0
  338. package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -0
  339. package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts +70 -0
  340. package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts.map +1 -0
  341. package/dist/esm/external-data/external-data-pipeline-description.shared.js +92 -0
  342. package/dist/esm/external-data/external-data-pipeline-description.shared.js.map +1 -0
  343. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts +154 -0
  344. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts.map +1 -0
  345. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js +161 -0
  346. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js.map +1 -0
  347. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +1118 -95
  348. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
  349. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +1166 -24
  350. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
  351. package/dist/esm/external-data/external-data-provenance.shared.d.ts +71 -0
  352. package/dist/esm/external-data/external-data-provenance.shared.d.ts.map +1 -0
  353. package/dist/esm/external-data/external-data-provenance.shared.js +88 -0
  354. package/dist/esm/external-data/external-data-provenance.shared.js.map +1 -0
  355. package/dist/esm/external-data.exports.d.ts +6 -0
  356. package/dist/esm/external-data.exports.d.ts.map +1 -1
  357. package/dist/esm/external-data.exports.js +12 -0
  358. package/dist/esm/external-data.exports.js.map +1 -1
  359. package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -1
  360. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +28 -14
  361. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
  362. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +33 -16
  363. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
  364. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts +5 -3
  365. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
  366. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +8 -3
  367. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
  368. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts +77 -0
  369. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -0
  370. package/dist/esm/external-providers/engine-capability-surface.shared.js +175 -0
  371. package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -0
  372. package/dist/esm/external-providers/external-providers.shared.schemas.d.ts +2 -0
  373. package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
  374. package/dist/esm/external-providers/external-providers.shared.schemas.js +21 -0
  375. package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
  376. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +281 -10
  377. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
  378. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +115 -0
  379. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
  380. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +149 -0
  381. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
  382. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts +45 -0
  383. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -1
  384. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js +14 -0
  385. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -1
  386. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +242 -7
  387. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
  388. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +127 -3
  389. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
  390. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts +187 -36
  391. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -1
  392. package/dist/esm/external-providers/frontend-provider-public-config.shared.js +261 -47
  393. package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -1
  394. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts +53 -0
  395. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts.map +1 -0
  396. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js +41 -0
  397. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js.map +1 -0
  398. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts +150 -0
  399. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts.map +1 -0
  400. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js +22 -0
  401. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js.map +1 -0
  402. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts +42 -0
  403. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts.map +1 -0
  404. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js +49 -0
  405. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js.map +1 -0
  406. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts +30 -0
  407. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -0
  408. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js +32 -0
  409. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -0
  410. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts +139 -0
  411. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -0
  412. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js +141 -0
  413. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -0
  414. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +48 -13
  415. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
  416. package/dist/esm/external-providers/provider-capability.shared.schemas.js +44 -10
  417. package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
  418. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +341 -4
  419. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
  420. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +270 -20
  421. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
  422. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts +6 -2
  423. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -1
  424. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js +6 -2
  425. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -1
  426. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +181 -6
  427. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
  428. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +132 -5
  429. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
  430. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +5 -2
  431. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
  432. package/dist/esm/external-providers/provider-metadata.shared.schemas.js +5 -2
  433. package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
  434. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts +42 -0
  435. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts.map +1 -0
  436. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js +57 -0
  437. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js.map +1 -0
  438. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts +6 -0
  439. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
  440. package/dist/esm/external-providers/provider-protocol.shared.schemas.js +6 -0
  441. package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
  442. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts +58 -0
  443. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts.map +1 -0
  444. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js +35 -0
  445. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js.map +1 -0
  446. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts +115 -0
  447. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts.map +1 -0
  448. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js +137 -0
  449. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js.map +1 -0
  450. package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -1
  451. package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -1
  452. package/dist/esm/external-providers/provider-usage-cost.shared.d.ts +73 -0
  453. package/dist/esm/external-providers/provider-usage-cost.shared.d.ts.map +1 -0
  454. package/dist/esm/external-providers/provider-usage-cost.shared.js +171 -0
  455. package/dist/esm/external-providers/provider-usage-cost.shared.js.map +1 -0
  456. package/dist/esm/external-providers/provider-usage-pricing.example.d.ts +12 -0
  457. package/dist/esm/external-providers/provider-usage-pricing.example.d.ts.map +1 -0
  458. package/dist/esm/external-providers/provider-usage-pricing.example.js +40 -0
  459. package/dist/esm/external-providers/provider-usage-pricing.example.js.map +1 -0
  460. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts +68 -32
  461. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
  462. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js +63 -52
  463. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js.map +1 -1
  464. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +7 -5
  465. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
  466. package/dist/esm/features/application-features.shared.resources-config.schemas.js +43 -8
  467. package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
  468. package/dist/esm/features/connected-feature.example.d.ts +64 -0
  469. package/dist/esm/features/connected-feature.example.d.ts.map +1 -0
  470. package/dist/esm/features/connected-feature.example.js +87 -0
  471. package/dist/esm/features/connected-feature.example.js.map +1 -0
  472. package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
  473. package/dist/esm/features/core-feature-definitions.shared.js +2 -1
  474. package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
  475. package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
  476. package/dist/esm/features/feature-builders.shared.js.map +1 -1
  477. package/dist/esm/features/feature-definition.shared.schemas.d.ts +2 -11
  478. package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
  479. package/dist/esm/features/feature-definition.shared.schemas.js +0 -12
  480. package/dist/esm/features/feature-definition.shared.schemas.js.map +1 -1
  481. package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
  482. package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
  483. package/dist/esm/features/scope-features.shared.schemas.d.ts +74 -7
  484. package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
  485. package/dist/esm/features/scope-features.shared.schemas.js +64 -5
  486. package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
  487. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +6 -6
  488. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
  489. package/dist/esm/features/user-features.shared.resources-config.schemas.js +34 -52
  490. package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
  491. package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -1
  492. package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -1
  493. package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -1
  494. package/dist/esm/files/file-upload-grant.shared.schemas.js.map +1 -1
  495. package/dist/esm/files/files.shared.resources-config.schemas.d.ts +3 -3
  496. package/dist/esm/files/files.shared.resources-config.schemas.d.ts.map +1 -1
  497. package/dist/esm/files/files.shared.resources-config.schemas.js +3 -3
  498. package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
  499. package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
  500. package/dist/esm/files/files.shared.schemas.js.map +1 -1
  501. package/dist/esm/files/files.shared.utils.d.ts.map +1 -1
  502. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  503. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts.map +1 -1
  504. package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts.map +1 -1
  505. package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -1
  506. package/dist/esm/flows-actors/actors.shared.schemas.d.ts +279 -140
  507. package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
  508. package/dist/esm/flows-actors/actors.shared.schemas.js +130 -2
  509. package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
  510. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +22 -0
  511. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
  512. package/dist/esm/flows-actors/agent-traceability.shared.schemas.js +7 -0
  513. package/dist/esm/flows-actors/agent-traceability.shared.schemas.js.map +1 -1
  514. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts +68 -0
  515. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts.map +1 -0
  516. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js +276 -0
  517. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js.map +1 -0
  518. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts +468 -0
  519. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts.map +1 -0
  520. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js +472 -0
  521. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js.map +1 -0
  522. package/dist/esm/flows-actors/agents.shared.schemas.d.ts +3 -3
  523. package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
  524. package/dist/esm/flows-actors/agents.shared.schemas.js +11 -5
  525. package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
  526. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts +118 -0
  527. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts.map +1 -0
  528. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js +144 -0
  529. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js.map +1 -0
  530. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +13 -0
  531. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
  532. package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
  533. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts +45 -0
  534. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -0
  535. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js +51 -0
  536. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js.map +1 -0
  537. package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts.map +1 -1
  538. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +173 -8
  539. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
  540. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +269 -13
  541. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
  542. package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts.map +1 -1
  543. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts +2 -2
  544. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts.map +1 -1
  545. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +51 -8
  546. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
  547. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js +51 -11
  548. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
  549. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts +0 -200
  550. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
  551. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js +25 -54
  552. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js.map +1 -1
  553. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts +45 -9
  554. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
  555. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js +31 -6
  556. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
  557. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts.map +1 -1
  558. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js +30 -30
  559. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
  560. package/dist/esm/flows-actors/flows-actors.system.shared.definitions.d.ts.map +1 -1
  561. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +16 -74
  562. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
  563. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js +1 -2
  564. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
  565. package/dist/esm/flows-actors/flows.shared.schemas.d.ts +15 -1
  566. package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
  567. package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
  568. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts +627 -0
  569. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -0
  570. package/dist/esm/flows-actors/human-decision.shared.schemas.js +754 -0
  571. package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -0
  572. package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
  573. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js +4 -2
  574. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
  575. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts +46 -0
  576. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts.map +1 -0
  577. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js +65 -0
  578. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js.map +1 -0
  579. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts +120 -0
  580. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts.map +1 -0
  581. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js +165 -0
  582. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js.map +1 -0
  583. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts +45 -0
  584. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts.map +1 -0
  585. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js +127 -0
  586. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js.map +1 -0
  587. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts +83 -0
  588. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts.map +1 -0
  589. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js +97 -0
  590. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js.map +1 -0
  591. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts +136 -0
  592. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts.map +1 -0
  593. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js +90 -0
  594. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js.map +1 -0
  595. package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
  596. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts +28 -0
  597. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -0
  598. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js +95 -0
  599. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -0
  600. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts +121 -0
  601. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -0
  602. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js +194 -0
  603. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -0
  604. package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts +268 -0
  605. package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts.map +1 -0
  606. package/dist/esm/flows-actors/review-deadlines.shared.schemas.js +576 -0
  607. package/dist/esm/flows-actors/review-deadlines.shared.schemas.js.map +1 -0
  608. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +88 -81
  609. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
  610. package/dist/esm/flows-actors/tasks.actors.shared.schemas.js +75 -38
  611. package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
  612. package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts +129 -0
  613. package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts.map +1 -0
  614. package/dist/esm/flows-actors/work-attribution.shared.schemas.js +141 -0
  615. package/dist/esm/flows-actors/work-attribution.shared.schemas.js.map +1 -0
  616. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts +22 -1
  617. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts.map +1 -1
  618. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js +23 -0
  619. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map +1 -1
  620. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +167 -1
  621. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -1
  622. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +178 -0
  623. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -1
  624. package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts +106 -24
  625. package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
  626. package/dist/esm/guidance/guidance-flow.shared.schemas.js +152 -14
  627. package/dist/esm/guidance/guidance-flow.shared.schemas.js.map +1 -1
  628. package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.d.ts.map +1 -1
  629. package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
  630. package/dist/esm/guidance/guidance-state.shared.schemas.js +11 -10
  631. package/dist/esm/guidance/guidance-state.shared.schemas.js.map +1 -1
  632. package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -1
  633. package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -1
  634. package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +1 -1
  635. package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.d.ts.map +1 -1
  636. package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts +0 -6
  637. package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
  638. package/dist/esm/guidance/lifecycle-state.shared.schemas.js +6 -25
  639. package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
  640. package/dist/esm/guidance/milestone-builders.shared.d.ts +4 -2
  641. package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
  642. package/dist/esm/guidance/milestone-builders.shared.js +4 -2
  643. package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
  644. package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts +66 -4
  645. package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
  646. package/dist/esm/guidance/milestone-definition.shared.schemas.js +50 -0
  647. package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
  648. package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts +71 -0
  649. package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -0
  650. package/dist/esm/guidance/progression-presentation.shared.schemas.js +72 -0
  651. package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -0
  652. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts +2 -0
  653. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
  654. package/dist/esm/guidance/progression-state.shared.schemas.d.ts +4 -0
  655. package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
  656. package/dist/esm/guidance/progression-state.shared.schemas.js +12 -6
  657. package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
  658. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -1
  659. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +2 -1
  660. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
  661. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +730 -441
  662. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
  663. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +747 -233
  664. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
  665. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts +62 -0
  666. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts.map +1 -0
  667. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js +66 -0
  668. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js.map +1 -0
  669. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts +133 -0
  670. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts.map +1 -0
  671. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js +191 -0
  672. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js.map +1 -0
  673. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts +138 -0
  674. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -0
  675. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js +139 -0
  676. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -0
  677. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts +38 -0
  678. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -0
  679. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js +42 -0
  680. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -0
  681. package/dist/esm/i18n/application-config-vocabulary.shared.d.ts +36 -0
  682. package/dist/esm/i18n/application-config-vocabulary.shared.d.ts.map +1 -0
  683. package/dist/esm/i18n/application-config-vocabulary.shared.js +39 -0
  684. package/dist/esm/i18n/application-config-vocabulary.shared.js.map +1 -0
  685. package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts +11 -0
  686. package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts.map +1 -0
  687. package/dist/esm/i18n/engine-open-vocabulary-values.shared.js +14 -0
  688. package/dist/esm/i18n/engine-open-vocabulary-values.shared.js.map +1 -0
  689. package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts +20 -0
  690. package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts.map +1 -0
  691. package/dist/esm/i18n/engine-open-vocabulary.shared.js +21 -0
  692. package/dist/esm/i18n/engine-open-vocabulary.shared.js.map +1 -0
  693. package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
  694. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts +94 -0
  695. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts.map +1 -0
  696. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js +206 -0
  697. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js.map +1 -0
  698. package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts +169 -0
  699. package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts.map +1 -0
  700. package/dist/esm/inbound/conversation-threads.shared.schemas.js +231 -0
  701. package/dist/esm/inbound/conversation-threads.shared.schemas.js.map +1 -0
  702. package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts +195 -0
  703. package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts.map +1 -0
  704. package/dist/esm/inbound/inbound-channels.shared.schemas.js +244 -0
  705. package/dist/esm/inbound/inbound-channels.shared.schemas.js.map +1 -0
  706. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts +36 -0
  707. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts.map +1 -0
  708. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js +169 -0
  709. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js.map +1 -0
  710. package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts +404 -0
  711. package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts.map +1 -0
  712. package/dist/esm/inbound/inbound-delivery.shared.schemas.js +449 -0
  713. package/dist/esm/inbound/inbound-delivery.shared.schemas.js.map +1 -0
  714. package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts +46 -0
  715. package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts.map +1 -0
  716. package/dist/esm/inbound/inbound-endpoint-env.shared.js +57 -0
  717. package/dist/esm/inbound/inbound-endpoint-env.shared.js.map +1 -0
  718. package/dist/esm/index.d.ts +99 -5
  719. package/dist/esm/index.d.ts.map +1 -1
  720. package/dist/esm/index.js +138 -17
  721. package/dist/esm/index.js.map +1 -1
  722. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -0
  723. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -0
  724. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -0
  725. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -0
  726. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts +130 -0
  727. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -0
  728. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js +104 -0
  729. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -0
  730. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -0
  731. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -0
  732. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.d.ts +92 -0
  733. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -0
  734. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.js +76 -0
  735. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -0
  736. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +638 -0
  737. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -0
  738. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +759 -0
  739. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -0
  740. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.d.ts +15 -8
  741. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -0
  742. package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.js +15 -8
  743. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -0
  744. package/dist/esm/meta-workflows.exports.d.ts +21 -26
  745. package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
  746. package/dist/esm/meta-workflows.exports.js +21 -26
  747. package/dist/esm/meta-workflows.exports.js.map +1 -1
  748. package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
  749. package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
  750. package/dist/esm/notifications/email/email-submission.shared.enums.d.ts +16 -0
  751. package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -0
  752. package/dist/esm/notifications/email/email-submission.shared.enums.js +17 -0
  753. package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -0
  754. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +43 -1
  755. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
  756. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js +85 -3
  757. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
  758. package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -1
  759. package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
  760. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts +131 -0
  761. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts.map +1 -0
  762. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js +258 -0
  763. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js.map +1 -0
  764. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts +448 -0
  765. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts.map +1 -0
  766. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js +530 -0
  767. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js.map +1 -0
  768. package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.d.ts.map +1 -1
  769. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  770. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +8 -4
  771. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
  772. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts +2 -1
  773. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
  774. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js +3 -2
  775. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
  776. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts +16 -1
  777. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
  778. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +86 -15
  779. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
  780. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts +19 -12
  781. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
  782. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js +77 -12
  783. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
  784. package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
  785. package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
  786. package/dist/esm/notifications/notification-badges.schemas.d.ts +35 -3
  787. package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
  788. package/dist/esm/notifications/notification-badges.schemas.js +43 -3
  789. package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
  790. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts +1 -1
  791. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
  792. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js +12 -33
  793. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
  794. package/dist/esm/notifications/notifications.shared.schemas.d.ts +85 -407
  795. package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
  796. package/dist/esm/notifications/notifications.shared.schemas.js +130 -66
  797. package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
  798. package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts +145 -0
  799. package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -0
  800. package/dist/esm/organizations/application-owner-organization.shared.schemas.js +146 -0
  801. package/dist/esm/organizations/application-owner-organization.shared.schemas.js.map +1 -0
  802. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +7 -5
  803. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts.map +1 -1
  804. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js +32 -9
  805. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
  806. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +4 -1
  807. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
  808. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js +78 -28
  809. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
  810. package/dist/esm/organizations/organization-members.shared.schemas.d.ts +4 -1
  811. package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
  812. package/dist/esm/organizations/organization-members.shared.schemas.js +39 -1
  813. package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
  814. package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.d.ts.map +1 -1
  815. package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
  816. package/dist/esm/organizations/organization-notifications.shared.schemas.js +9 -9
  817. package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
  818. package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  819. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts +2 -1
  820. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
  821. package/dist/esm/organizations/organization-preferences.shared.schemas.js +7 -4
  822. package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
  823. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts +0 -1
  824. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts.map +1 -1
  825. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +8 -6
  826. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
  827. package/dist/esm/organizations/organization-profile.shared.schemas.js +19 -12
  828. package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
  829. package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts.map +1 -1
  830. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts.map +1 -1
  831. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js +1 -1
  832. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js.map +1 -1
  833. package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
  834. package/dist/esm/organizations/organization-unit-members.shared.schemas.js +2 -1
  835. package/dist/esm/organizations/organization-unit-members.shared.schemas.js.map +1 -1
  836. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts +63 -1
  837. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
  838. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js +106 -5
  839. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js.map +1 -1
  840. package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -1
  841. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts +29 -2
  842. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
  843. package/dist/esm/organizations/organization-unit-narrowing.shared.js +36 -0
  844. package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
  845. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts +2 -0
  846. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
  847. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js +10 -2
  848. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
  849. package/dist/esm/organizations/organization-units.shared.schemas.d.ts +17 -5
  850. package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
  851. package/dist/esm/organizations/organization-units.shared.schemas.js +65 -5
  852. package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
  853. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +53 -7
  854. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
  855. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +162 -14
  856. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
  857. package/dist/esm/organizations/organizations.shared.schemas.d.ts +23 -83
  858. package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
  859. package/dist/esm/organizations/organizations.shared.schemas.js +87 -19
  860. package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
  861. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts +58 -0
  862. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts.map +1 -0
  863. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js +188 -0
  864. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js.map +1 -0
  865. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts +122 -0
  866. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts.map +1 -0
  867. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js +136 -0
  868. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js.map +1 -0
  869. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts +36 -0
  870. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts.map +1 -0
  871. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js +155 -0
  872. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js.map +1 -0
  873. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts +229 -0
  874. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts.map +1 -0
  875. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js +290 -0
  876. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js.map +1 -0
  877. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts +48 -0
  878. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts.map +1 -0
  879. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js +50 -0
  880. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js.map +1 -0
  881. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts +97 -0
  882. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts.map +1 -0
  883. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js +572 -0
  884. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js.map +1 -0
  885. package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts +590 -0
  886. package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts.map +1 -0
  887. package/dist/esm/organizations/service-provider-relationships.shared.schemas.js +869 -0
  888. package/dist/esm/organizations/service-provider-relationships.shared.schemas.js.map +1 -0
  889. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +36 -6
  890. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
  891. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +57 -16
  892. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
  893. package/dist/esm/provider-registration-runtime.exports.d.ts +1 -1
  894. package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
  895. package/dist/esm/provider-registration-runtime.exports.js +1 -1
  896. package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
  897. package/dist/esm/public-runtime/index.d.ts +65 -17
  898. package/dist/esm/public-runtime/index.d.ts.map +1 -1
  899. package/dist/esm/public-runtime/index.js +65 -17
  900. package/dist/esm/public-runtime/index.js.map +1 -1
  901. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts +7 -8
  902. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
  903. package/dist/esm/queue/jobs.shared.resources-config.schemas.js +30 -6
  904. package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
  905. package/dist/esm/queue/jobs.shared.schemas.d.ts +416 -2
  906. package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
  907. package/dist/esm/queue/jobs.shared.schemas.js +327 -11
  908. package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
  909. package/dist/esm/queue/jobs.shared.utils.d.ts +6 -4
  910. package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
  911. package/dist/esm/queue/jobs.shared.utils.js +5 -4
  912. package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
  913. package/dist/esm/queue/queues.shared.schemas.d.ts +20 -8
  914. package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
  915. package/dist/esm/queue/queues.shared.schemas.js +23 -18
  916. package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
  917. package/dist/esm/queue/queues.shared.utils.d.ts +4 -2
  918. package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
  919. package/dist/esm/queue/queues.shared.utils.js +4 -2
  920. package/dist/esm/queue/queues.shared.utils.js.map +1 -1
  921. package/dist/esm/rag/rag-retrieval-health.shared.d.ts +27 -0
  922. package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -0
  923. package/dist/esm/rag/rag-retrieval-health.shared.js +29 -0
  924. package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -0
  925. package/dist/esm/requests/header-keys.shared.d.ts +12 -0
  926. package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
  927. package/dist/esm/requests/header-keys.shared.js +14 -0
  928. package/dist/esm/requests/header-keys.shared.js.map +1 -1
  929. package/dist/esm/requests/idempotency-key.shared.d.ts +76 -0
  930. package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -0
  931. package/dist/esm/requests/idempotency-key.shared.js +112 -0
  932. package/dist/esm/requests/idempotency-key.shared.js.map +1 -0
  933. package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
  934. package/dist/esm/requests/manual-controllers-routes-documentation.js +365 -25
  935. package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
  936. package/dist/esm/requests/manual-controllers-routes-urls.d.ts +138 -23
  937. package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
  938. package/dist/esm/requests/manual-controllers-routes-urls.js +166 -0
  939. package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
  940. package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
  941. package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
  942. package/dist/esm/requests/websocket.shared.schemas.d.ts +267 -26
  943. package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
  944. package/dist/esm/requests/websocket.shared.schemas.js +310 -23
  945. package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
  946. package/dist/esm/resources/child-operations.shared.schemas.d.ts +56 -5
  947. package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
  948. package/dist/esm/resources/child-operations.shared.schemas.js +97 -5
  949. package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
  950. package/dist/esm/resources/context-policy.shared.schemas.d.ts +20 -0
  951. package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
  952. package/dist/esm/resources/context-policy.shared.schemas.js +3 -0
  953. package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
  954. package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts +21 -0
  955. package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts.map +1 -0
  956. package/dist/esm/resources/embedded-resource-mark.shared.utils.js +22 -0
  957. package/dist/esm/resources/embedded-resource-mark.shared.utils.js.map +1 -0
  958. package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
  959. package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
  960. package/dist/esm/resources/resources-config.shared.factory.js +1296 -47
  961. package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
  962. package/dist/esm/resources/resources-config.shared.schemas.d.ts +866 -92
  963. package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
  964. package/dist/esm/resources/resources-config.shared.schemas.js +460 -33
  965. package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
  966. package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
  967. package/dist/esm/resources/resources-registry.shared.core.definitions.js +730 -81
  968. package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
  969. package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
  970. package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
  971. package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
  972. package/dist/esm/resources/resources.shared.core.definitions.d.ts +64 -0
  973. package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
  974. package/dist/esm/resources/resources.shared.core.definitions.js +120 -0
  975. package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
  976. package/dist/esm/resources/resources.shared.schemas.d.ts +258 -27
  977. package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
  978. package/dist/esm/resources/resources.shared.schemas.js +233 -29
  979. package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
  980. package/dist/esm/resources/resources.shared.utils.d.ts +18 -9
  981. package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
  982. package/dist/esm/resources/resources.shared.utils.js +54 -14
  983. package/dist/esm/resources/resources.shared.utils.js.map +1 -1
  984. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts +2 -2
  985. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -1
  986. package/dist/esm/resources/utils/collection-export.shared.utils.js +4 -2
  987. package/dist/esm/resources/utils/collection-export.shared.utils.js.map +1 -1
  988. package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts +44 -12
  989. package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
  990. package/dist/esm/resources/utils/composition-cascade-deletability.validation.js +46 -23
  991. package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
  992. package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -1
  993. package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -1
  994. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts +61 -0
  995. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -0
  996. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js +79 -0
  997. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -0
  998. package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -1
  999. package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -1
  1000. package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -1
  1001. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts +103 -0
  1002. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts.map +1 -0
  1003. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js +275 -0
  1004. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js.map +1 -0
  1005. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts +60 -0
  1006. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -0
  1007. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js +80 -0
  1008. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -0
  1009. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts +51 -0
  1010. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts.map +1 -0
  1011. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js +28 -0
  1012. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js.map +1 -0
  1013. package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -1
  1014. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts +21 -0
  1015. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -0
  1016. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js +170 -0
  1017. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -0
  1018. package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
  1019. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts +2 -0
  1020. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts.map +1 -0
  1021. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js +33 -0
  1022. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js.map +1 -0
  1023. package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -1
  1024. package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts.map +1 -1
  1025. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts +15 -0
  1026. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
  1027. package/dist/esm/resources/utils/resource-polymorphism.factory.js +6 -1
  1028. package/dist/esm/resources/utils/resource-polymorphism.factory.js.map +1 -1
  1029. package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
  1030. package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
  1031. package/dist/esm/resources/utils/resource-polymorphism.schemas.js +30 -4
  1032. package/dist/esm/resources/utils/resource-polymorphism.schemas.js.map +1 -1
  1033. package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
  1034. package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +1 -1
  1035. package/dist/esm/resources/utils/resources-config-context-needs.utils.d.ts.map +1 -1
  1036. package/dist/esm/resources/utils/resources-config-naming.utils.d.ts +15 -0
  1037. package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
  1038. package/dist/esm/resources/utils/resources-config-naming.utils.js +56 -11
  1039. package/dist/esm/resources/utils/resources-config-naming.utils.js.map +1 -1
  1040. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +97 -1
  1041. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
  1042. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js +402 -60
  1043. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
  1044. package/dist/esm/resources/utils/resources-config-operations.path.utils.d.ts.map +1 -1
  1045. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts +34 -0
  1046. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts.map +1 -1
  1047. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js +45 -1
  1048. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js.map +1 -1
  1049. package/dist/esm/resources/utils/resources-config-operations.utils.d.ts.map +1 -1
  1050. package/dist/esm/resources/utils/resources-serialization.utils.d.ts +19 -2
  1051. package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
  1052. package/dist/esm/resources/utils/resources-serialization.utils.js +4 -0
  1053. package/dist/esm/resources/utils/resources-serialization.utils.js.map +1 -1
  1054. package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
  1055. package/dist/esm/resources/utils/resources-summary.utils.js.map +1 -1
  1056. package/dist/esm/resources/utils/schema-family-builder.utils.d.ts.map +1 -1
  1057. package/dist/esm/resources/utils/schema-type-inference.utils.d.ts.map +1 -1
  1058. package/dist/esm/resources/utils/schema-type-utils.d.ts.map +1 -1
  1059. package/dist/esm/resources/utils/schema-variant-resolver.utils.d.ts.map +1 -1
  1060. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts +29 -0
  1061. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
  1062. package/dist/esm/resources/utils/shared-persistence-collection.utils.js +45 -9
  1063. package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
  1064. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
  1065. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js +49 -11
  1066. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
  1067. package/dist/esm/resources/work-unit.shared.schemas.d.ts +20 -0
  1068. package/dist/esm/resources/work-unit.shared.schemas.d.ts.map +1 -0
  1069. package/dist/esm/resources/work-unit.shared.schemas.js +19 -0
  1070. package/dist/esm/resources/work-unit.shared.schemas.js.map +1 -0
  1071. package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
  1072. package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
  1073. package/dist/esm/runtime/execution-context.shared.schemas.d.ts +48 -1
  1074. package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
  1075. package/dist/esm/runtime/execution-context.shared.schemas.js +101 -9
  1076. package/dist/esm/runtime/execution-context.shared.schemas.js.map +1 -1
  1077. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts +1 -0
  1078. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
  1079. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +41 -21
  1080. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
  1081. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts +1 -0
  1082. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
  1083. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +65 -49
  1084. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
  1085. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts +26 -0
  1086. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
  1087. package/dist/esm/security/api-keys/api-keys.shared.schemas.js +39 -5
  1088. package/dist/esm/security/api-keys/api-keys.shared.schemas.js.map +1 -1
  1089. package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts.map +1 -1
  1090. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +133 -19
  1091. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
  1092. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +166 -6
  1093. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
  1094. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts +324 -9
  1095. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
  1096. package/dist/esm/security/authentications/authentication.shared.schemas.js +411 -8
  1097. package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
  1098. package/dist/esm/security/authentications/authentication.shared.utils.d.ts +87 -4
  1099. package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
  1100. package/dist/esm/security/authentications/authentication.shared.utils.js +95 -6
  1101. package/dist/esm/security/authentications/authentication.shared.utils.js.map +1 -1
  1102. package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts +23 -1
  1103. package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
  1104. package/dist/esm/security/authentications/consumable-token.shared.schemas.js +23 -1
  1105. package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
  1106. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts +7 -1
  1107. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -1
  1108. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js +7 -1
  1109. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
  1110. package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts +74 -0
  1111. package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -0
  1112. package/dist/esm/security/authentications/password-blocklist.shared.utils.js +122 -0
  1113. package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -0
  1114. package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts.map +1 -1
  1115. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts +88 -2
  1116. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
  1117. package/dist/esm/security/authentications/registration.shared.dto.schemas.js +149 -2
  1118. package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
  1119. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts +57 -11
  1120. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
  1121. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +46 -13
  1122. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
  1123. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts +11 -0
  1124. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
  1125. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js +34 -10
  1126. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js.map +1 -1
  1127. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +16 -2
  1128. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
  1129. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +36 -6
  1130. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
  1131. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
  1132. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +18 -12
  1133. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
  1134. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts +2 -0
  1135. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
  1136. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js +9 -0
  1137. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js.map +1 -1
  1138. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts +169 -0
  1139. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts.map +1 -0
  1140. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js +162 -0
  1141. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js.map +1 -0
  1142. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
  1143. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js +14 -9
  1144. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
  1145. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.d.ts.map +1 -1
  1146. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts +27 -0
  1147. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -0
  1148. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js +109 -0
  1149. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -0
  1150. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts +66 -0
  1151. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -0
  1152. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js +107 -0
  1153. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.map +1 -0
  1154. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.d.ts.map +1 -1
  1155. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.js.map +1 -1
  1156. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts +19 -0
  1157. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts.map +1 -1
  1158. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js +50 -13
  1159. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js.map +1 -1
  1160. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts +18 -6
  1161. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
  1162. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js +139 -10
  1163. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -1
  1164. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts +26 -0
  1165. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
  1166. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +63 -33
  1167. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
  1168. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts +0 -40
  1169. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
  1170. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +127 -50
  1171. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
  1172. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts +26 -7
  1173. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
  1174. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js +98 -38
  1175. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
  1176. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +6 -26
  1177. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
  1178. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js +153 -70
  1179. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
  1180. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts +13 -5
  1181. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
  1182. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +12 -4
  1183. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
  1184. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts +4 -0
  1185. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  1186. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +9 -1
  1187. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -1
  1188. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts +44 -0
  1189. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -1
  1190. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js +52 -0
  1191. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -1
  1192. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  1193. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js +7 -7
  1194. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
  1195. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
  1196. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
  1197. package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
  1198. package/dist/esm/security/authorizations/roles.shared.defaults.js +62 -0
  1199. package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
  1200. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +91 -1
  1201. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
  1202. package/dist/esm/security/authorizations/roles.shared.schemas.js +109 -0
  1203. package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
  1204. package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
  1205. package/dist/esm/security/authorizations/roles.shared.utils.js +2 -0
  1206. package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
  1207. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts +86 -0
  1208. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts.map +1 -0
  1209. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js +40 -0
  1210. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js.map +1 -0
  1211. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +6 -2
  1212. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
  1213. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js +2 -1
  1214. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -1
  1215. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +7 -3
  1216. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
  1217. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +15 -43
  1218. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
  1219. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +242 -23
  1220. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
  1221. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +310 -62
  1222. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
  1223. package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts +69 -0
  1224. package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts.map +1 -0
  1225. package/dist/esm/security/credential-rotation-grace.shared.utils.js +77 -0
  1226. package/dist/esm/security/credential-rotation-grace.shared.utils.js.map +1 -0
  1227. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts +6 -3
  1228. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
  1229. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +102 -12
  1230. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
  1231. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +8 -3
  1232. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
  1233. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +194 -17
  1234. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
  1235. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts +1 -0
  1236. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
  1237. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js +25 -4
  1238. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
  1239. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts.map +1 -1
  1240. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -1
  1241. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -1
  1242. package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -1
  1243. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts +73 -0
  1244. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -0
  1245. package/dist/esm/security/outbound-target-control.shared.schemas.js +75 -0
  1246. package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -0
  1247. package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts +143 -0
  1248. package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts.map +1 -0
  1249. package/dist/esm/security/submission-challenge/submission-challenge.shared.js +123 -0
  1250. package/dist/esm/security/submission-challenge/submission-challenge.shared.js.map +1 -0
  1251. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts +384 -0
  1252. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts.map +1 -0
  1253. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js +327 -0
  1254. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js.map +1 -0
  1255. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts +159 -0
  1256. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -0
  1257. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js +164 -0
  1258. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -0
  1259. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts +322 -0
  1260. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -0
  1261. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js +229 -0
  1262. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -0
  1263. package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts +79 -0
  1264. package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -0
  1265. package/dist/esm/systems-of-record/system-of-record-env.shared.js +116 -0
  1266. package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -0
  1267. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts +403 -0
  1268. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -0
  1269. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js +430 -0
  1270. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -0
  1271. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts +788 -0
  1272. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -0
  1273. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js +985 -0
  1274. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -0
  1275. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts +31 -0
  1276. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -0
  1277. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js +233 -0
  1278. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -0
  1279. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts +127 -0
  1280. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -0
  1281. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js +204 -0
  1282. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -0
  1283. package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
  1284. package/dist/esm/testing/resource-config-builders.js +10 -4
  1285. package/dist/esm/testing/resource-config-builders.js.map +1 -1
  1286. package/dist/esm/testing.d.ts.map +1 -1
  1287. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts +2 -1
  1288. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
  1289. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js +2 -1
  1290. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -1
  1291. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +141 -24
  1292. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
  1293. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js +264 -0
  1294. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
  1295. package/dist/esm/users/anonymous-users.shared.schema.d.ts +5 -3
  1296. package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
  1297. package/dist/esm/users/anonymous-users.shared.schema.js +18 -1
  1298. package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
  1299. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts +2 -1
  1300. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
  1301. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +29 -0
  1302. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
  1303. package/dist/esm/users/inbound-contacts.shared.schemas.d.ts +2 -1
  1304. package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
  1305. package/dist/esm/users/user-consent-decision.shared.utils.d.ts +127 -0
  1306. package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -0
  1307. package/dist/esm/users/user-consent-decision.shared.utils.js +189 -0
  1308. package/dist/esm/users/user-consent-decision.shared.utils.js.map +1 -0
  1309. package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts.map +1 -1
  1310. package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
  1311. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts +1 -0
  1312. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
  1313. package/dist/esm/users/user-identity-links.shared.schemas.d.ts +1 -0
  1314. package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
  1315. package/dist/esm/users/user-identity-links.shared.schemas.js +30 -0
  1316. package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
  1317. package/dist/esm/users/user-preferences-reset.shared.utils.d.ts +6 -6
  1318. package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -1
  1319. package/dist/esm/users/user-preferences-reset.shared.utils.js +8 -8
  1320. package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
  1321. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +71 -29
  1322. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  1323. package/dist/esm/users/user-preferences.shared.resources-config.schemas.js +99 -0
  1324. package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
  1325. package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  1326. package/dist/esm/users/user-profiles.shared.resources-config.schemas.js +25 -9
  1327. package/dist/esm/users/user-profiles.shared.resources-config.schemas.js.map +1 -1
  1328. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +4 -7
  1329. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  1330. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js +12 -1
  1331. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.map +1 -1
  1332. package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  1333. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts +1 -0
  1334. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
  1335. package/dist/esm/users/user-self.shared.resources-config.schemas.js +3 -3
  1336. package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
  1337. package/dist/esm/users/users.shared.resources-config.schemas.d.ts +1 -0
  1338. package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
  1339. package/dist/esm/users/users.shared.resources-config.schemas.js +84 -22
  1340. package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
  1341. package/dist/esm/users/users.shared.schemas.d.ts +23 -18
  1342. package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
  1343. package/dist/esm/users/users.shared.schemas.js +117 -27
  1344. package/dist/esm/users/users.shared.schemas.js.map +1 -1
  1345. package/package.json +14 -35
  1346. package/dist/esm/compliance/privacy/data-retention.shared.schemas.js +0 -7
  1347. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts +0 -19
  1348. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts.map +0 -1
  1349. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js +0 -35
  1350. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js.map +0 -1
  1351. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts +0 -213
  1352. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts.map +0 -1
  1353. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js +0 -287
  1354. package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js.map +0 -1
  1355. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts +0 -236
  1356. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts.map +0 -1
  1357. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js +0 -212
  1358. package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js.map +0 -1
  1359. package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +0 -1
  1360. package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.js.map +0 -1
  1361. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts +0 -17
  1362. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts.map +0 -1
  1363. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js +0 -31
  1364. package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js.map +0 -1
  1365. package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +0 -1
  1366. package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +0 -1
  1367. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +0 -1
  1368. package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +0 -1
  1369. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts +0 -28
  1370. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts.map +0 -1
  1371. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js +0 -28
  1372. package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js.map +0 -1
  1373. package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +0 -1
  1374. package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +0 -1
  1375. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts +0 -100
  1376. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts.map +0 -1
  1377. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js +0 -232
  1378. package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js.map +0 -1
  1379. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts +0 -29
  1380. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts.map +0 -1
  1381. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js +0 -58
  1382. package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js.map +0 -1
  1383. package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +0 -1
  1384. package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +0 -1
  1385. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts +0 -81
  1386. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts.map +0 -1
  1387. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js +0 -82
  1388. package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js.map +0 -1
  1389. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts +0 -2
  1390. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts.map +0 -1
  1391. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js +0 -1
  1392. package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js.map +0 -1
  1393. package/dist/tsconfig.build.tsbuildinfo +0 -1
  1394. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.d.ts +0 -0
  1395. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.js +0 -0
  1396. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.d.ts +0 -0
  1397. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.js +0 -0
  1398. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.d.ts +0 -0
  1399. /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.js +0 -0
@@ -1,6 +1,6 @@
1
1
  import { RelationshipNature, ResourceRelationshipAccessScopeStrategy, ResourceRelationshipCardinality, ResourceParentResourceRequirement } from "./resources.shared.schemas.js";
2
2
  import { ContextPolicy_ObjectMode } from "./context-policy.shared.schemas.js";
3
- import { ChildLifecycleMode } from "./child-operations.shared.schemas.js";
3
+ import { ChildLifecycleMode, ChildLifecycleStrategy } from "./child-operations.shared.schemas.js";
4
4
  import { CoreResourceOperation } from "./resources.shared.core.definitions.js";
5
5
  import { CoreResourceType } from "./resources.shared.core.definitions.js";
6
6
  // Resource configuration factory imports
@@ -21,7 +21,12 @@ import { organizationUnitMemberResourceConfiguration_InitializationFactory } fro
21
21
  import { organizationProfileResourceConfiguration_InitializationFactory } from "../organizations/organization-profile.shared.resources-config.schemas.js";
22
22
  import { organizationPreferencesResourceConfiguration_InitializationFactory } from "../organizations/organization-preferences.shared.resources-config.schemas.js";
23
23
  import { applicationAccessGrantsResourceConfiguration_InitializationFactory } from '../security/authorizations/application-access-grants.shared.resources-config.schemas.js';
24
+ import { systemOfRecordPartitionAssignmentsResourceConfiguration_InitializationFactory } from '../systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js';
24
25
  import { platformAccessGrantsResourceConfiguration_InitializationFactory } from '../security/authorizations/platform-access-grants.shared.resources-config.schemas.js';
26
+ import { legalHoldsResourceConfiguration_InitializationFactory } from '../compliance/privacy/legal-holds.shared.resources-config.schemas.js';
27
+ import { serviceEngagementAssignmentsResourceConfiguration_InitializationFactory, serviceEngagementsResourceConfiguration_InitializationFactory, serviceProviderRelationshipsResourceConfiguration_InitializationFactory, } from '../organizations/service-provider-relationships.shared.resources-config.schemas.js';
28
+ import { serviceProviderActivityFeedResourceConfiguration_InitializationFactory, serviceProviderActivityFeedSettingsResourceConfiguration_InitializationFactory, } from '../organizations/service-provider-activity-feed.shared.resources-config.schemas.js';
29
+ import { serviceProviderCapabilityGrantsResourceConfiguration_InitializationFactory } from '../organizations/service-provider-capability-grants.shared.resources-config.schemas.js';
25
30
  import { organizationNotificationsResourceConfiguration_InitializationFactory } from "../organizations/organization-notifications.shared.resources-config.schemas.js";
26
31
  import { organizationFeaturesResourceConfiguration_InitializationFactory } from "../organizations/organization-features.shared.resources-config.schemas.js";
27
32
  import { userFeaturesResourceConfiguration_InitializationFactory } from "../features/user-features.shared.resources-config.schemas.js";
@@ -55,6 +60,12 @@ import { applicationVersionsResourceConfiguration_InitializationFactory } from "
55
60
  import { applicationMetadataResourceConfiguration_InitializationFactory } from "../applications/application-metadata.shared.resources-config.schemas.js";
56
61
  // Queue system resources
57
62
  import { jobExecution_ResourceConfiguration_InitializationFactory, jobPayloadStorage_ResourceConfiguration_InitializationFactory } from "../queue/jobs.shared.resources-config.schemas.js";
63
+ import { providerCallRecordsResourceConfiguration_InitializationFactory } from "../flows-actors/provider-call-records.shared.resources-config.schemas.js";
64
+ import { modelCallAttributionsResourceConfiguration_InitializationFactory } from "../flows-actors/model-call-attributions.shared.resources-config.schemas.js";
65
+ import { modelCostPeriodAggregatesResourceConfiguration_InitializationFactory } from "../flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js";
66
+ import { agentWorkCaptureSettingsResourceConfiguration_InitializationFactory, agentWorkDecisionContentsPolymorphicFactories, agentWorkDecisionsPolymorphicFactories, evaluationDatasetExportsResourceConfiguration_InitializationFactory, evaluationExportAuthorizationsResourceConfiguration_InitializationFactory, } from "../flows-actors/agent-work-decisions.shared.resources-config.schemas.js";
67
+ import { agentWorkDecisionContentsPolymorphicDeclaration, agentWorkDecisionsPolymorphicDeclaration } from "../flows-actors/agent-work-decisions.shared.schemas.js";
68
+ import { retentionEnforcementRecordsResourceConfiguration_InitializationFactory } from "../compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js";
58
69
  // Flows-Actors execution resource (persisted flow/actor system executions)
59
70
  import { flowActorExecutionsPolymorphicFactories } from "../flows-actors/flows-actors-execution.shared.resources-config.schemas.js";
60
71
  import { flowActorExecutionsPolymorphicDeclaration } from "../flows-actors/flows-actors-execution.shared.schemas.js";
@@ -66,6 +77,7 @@ import { a2aTokenBudgetStatePolymorphicDeclaration } from "../flows-actors/a2a-t
66
77
  import { a2aPushDeliveryLogPolymorphicDeclaration } from "../flows-actors/a2a-push-delivery-log.shared.schemas.js";
67
78
  // Authentication resources
68
79
  import { userIdentityLinksResourceConfiguration_InitializationFactory } from "../users/user-identity-links.shared.resources-config.schemas.js";
80
+ import { userGovernedDocumentAcceptancesResourceConfiguration_InitializationFactory } from "../compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js";
69
81
  // Anonymous session resources (W7.3a)
70
82
  import { anonymousUsersResourceConfiguration_InitializationFactory } from "../users/anonymous-users.shared.resources-config.schemas.js";
71
83
  // Inbound contacts (Phase 0.5 — public marketing-site lead capture, Q-E=B path)
@@ -81,10 +93,16 @@ import { siemExportConfigPolymorphicFactories } from "../security/authentication
81
93
  import { siemExportConfigPolymorphicDeclaration } from "../security/authentications/siem/siem-export-config.shared.schemas.js";
82
94
  import { siemDeliveryDlqPolymorphicFactories } from "../security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js";
83
95
  import { siemDeliveryDlqPolymorphicDeclaration } from "../security/authentications/siem/siem-delivery-dlq.shared.schemas.js";
96
+ import { siemDeliveryOutboxPolymorphicFactories } from "../security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js";
97
+ import { siemDeliveryOutboxPolymorphicDeclaration } from "../security/authentications/siem/siem-delivery-outbox.shared.schemas.js";
84
98
  import { webhookConfigPolymorphicFactories } from "../notifications/m2m/webhook-config.shared.resources-config.schemas.js";
85
99
  import { webhookConfigPolymorphicDeclaration } from "../notifications/m2m/webhook-config.shared.schemas.js";
86
100
  import { m2mWebhookDeliveryLogPolymorphicFactories } from "../notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js";
87
101
  import { m2mWebhookDeliveryLogPolymorphicDeclaration } from "../notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js";
102
+ import { inboundDeliveryPolymorphicFactories } from "../inbound/inbound-delivery.shared.resources-config.schemas.js";
103
+ import { inboundDeliveryPolymorphicDeclaration } from "../inbound/inbound-delivery.shared.schemas.js";
104
+ import { conversationMessagesResourceConfiguration_InitializationFactory, conversationReplyTokensResourceConfiguration_InitializationFactory, conversationThreadsResourceConfiguration_InitializationFactory, } from "../inbound/conversation-threads.shared.resources-config.schemas.js";
105
+ import { clientMailboxesResourceConfiguration_InitializationFactory, inboundAddressTombstonesResourceConfiguration_InitializationFactory, inboundEmailsResourceConfiguration_InitializationFactory, organizationEmailDomainsResourceConfiguration_InitializationFactory, } from "../notifications/inbound-email/inbound-email.shared.resources-config.schemas.js";
88
106
  import { scimTokensPolymorphicFactories } from "../security/authentications/scim/scim-tokens.shared.resources-config.schemas.js";
89
107
  import { scimTokensPolymorphicDeclaration } from "../security/authentications/scim/scim-tokens.shared.schemas.js";
90
108
  import { scimProvisioningConfigPolymorphicFactories } from "../security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js";
@@ -93,6 +111,7 @@ import { scimProvisioningConfigPolymorphicDeclaration } from "../security/authen
93
111
  import { userProgressionStateResourceConfiguration_InitializationFactory, organizationProgressionStateResourceConfiguration_InitializationFactory } from "../guidance/progression-state.shared.resources-config.schemas.js";
94
112
  // Lifecycle State resources
95
113
  import { userLifecycleStateResourceConfiguration_InitializationFactory, organizationLifecycleStateResourceConfiguration_InitializationFactory } from "../guidance/lifecycle-state.shared.resources-config.schemas.js";
114
+ import { GuidanceStateUtils } from "../guidance/guidance-state.shared.utils.js";
96
115
  export const coreSharedResourceRelationship = [
97
116
  // Core organizational relationships - Many-to-many through organization members
98
117
  // Note: No isPrimaryScope here - applications are the primary scope for users, not organizations
@@ -214,6 +233,37 @@ export const coreSharedResourceRelationship = [
214
233
  // SECURITY: Identity links contain raw IdP profiles — never fetch via context
215
234
  contextPolicy: { enabled: false }
216
235
  }),
236
+ // An ORGANIZATION-scoped enterprise identity link dies with its organization.
237
+ //
238
+ // Before this edge, the link's only parent was its user, and `organizationId` was a bare foreign
239
+ // key. The organization purge deletes by the `onParentDelete` cascade and by nothing else, so every
240
+ // member's enterprise link outlived the tenant. The one cleanup that did exist, the AUTH-13 postfix
241
+ // on SSO connection DELETE, never runs there: the cascade deletes a connection through its
242
+ // repository, which bypasses service-tier hooks. The dead link then read as a live membership to
243
+ // the cross-organization SSO guard, which refused that person's enterprise sign-in into EVERY other
244
+ // organization for good. Measured 2026-09-21: 19 such links on one account, and the `saml` e2e lane
245
+ // refused from its second run on (#1448).
246
+ //
247
+ // Non-primary and STANDALONE, the ORGANIZATION_MEMBERS teardown-anchor pattern: USERS stays the
248
+ // primary scope (the owner-only access filter and the subject-erasure classification are unchanged),
249
+ // no URL surface is added, and the link is never context-fetched. An APPLICATION-scoped link carries
250
+ // no `organizationId`, so this edge never selects it.
251
+ //
252
+ // Fires at PURGE, like every other organization child, never at the soft-delete mark: a restored
253
+ // tenant keeps its members' links.
254
+ //
255
+ // OPTIONAL parent: a social link, and an application-scoped enterprise link, carry no
256
+ // `organizationId`, and the schema declares it optional. The persistence converter refuses a
257
+ // relationship whose requirement disagrees with the schema path.
258
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.USER_IDENTITY_LINKS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
259
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
260
+ isPrimaryScope: false,
261
+ parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
262
+ nature: RelationshipNature.COMPOSITION,
263
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
264
+ foreignKeyField: 'organizationId',
265
+ contextPolicy: { enabled: false }
266
+ }),
217
267
  // OIDC persistent consent grants — USER_SELF-scoped ("remember this app"). COMPOSITION so a user's
218
268
  // grants cascade-delete with the user; `isPrimaryScope: true` anchors resourcePrimaryScope to
219
269
  // USER_SELF (the owner-only READ/LIST/DELETE filter). Consent state is never context-fetched.
@@ -225,6 +275,31 @@ export const coreSharedResourceRelationship = [
225
275
  foreignKeyField: 'userId',
226
276
  contextPolicy: { enabled: false }
227
277
  }),
278
+ // Link Users to UserGovernedDocumentAcceptances (1:N — one row per accepted release, #1258).
279
+ //
280
+ // KEPT when the user goes, deliberately: `onParentDelete` is DISABLED, the same answer the billing
281
+ // family gives below and for the same reason — the row is EVIDENCE of an act, and the erasure right
282
+ // does not reach what is needed to establish or defend a legal claim (GDPR Art. 17(3)(e)). A
283
+ // contract acceptance is exactly that: the operator's answer to "did this person agree to these
284
+ // terms, which version, and when?".
285
+ // spec-cite: Regulation (EU) 2016/679, Art. 17(3)(e) (https://gdpr-info.eu/art-17-gdpr/).
286
+ //
287
+ // Why NOT `retentionPolicy` + `IMPERSONALIZE_AND_RETAIN`: the row holds no personal data of its own
288
+ // (every value describes the account's contractual standing, with the person as a foreign key), so
289
+ // there is nothing to scrub, and the retaining EDGE strategy is declared nowhere in this file — the
290
+ // billing note records that its one declared scrub is wired to nothing. Evidence should not rest on
291
+ // an unexercised path. The erased person's own identity is impersonalized on the USERS row; this row
292
+ // then points at a pseudonymous account, which is what makes keeping it proportionate.
293
+ //
294
+ // STANDALONE + `contextPolicy: { enabled: false }`: no URL surface and never fetched through context.
295
+ createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
296
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
297
+ isPrimaryScope: true,
298
+ nature: RelationshipNature.COMPOSITION,
299
+ childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
300
+ foreignKeyField: 'userId',
301
+ contextPolicy: { enabled: false }
302
+ }),
228
303
  // User Self 1:1 relationships - separated for access control
229
304
  createResourcesRelationship(CoreResourceType.USER_SELF, CoreResourceType.USER_SELF_PROFILES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
230
305
  isPrimaryScope: true,
@@ -359,10 +434,15 @@ export const coreSharedResourceRelationship = [
359
434
  // `allowCycle: true` is only the schema-level escape hatch for declaring a
360
435
  // self-edge. The business model is still an acyclic hierarchy; re-parenting
361
436
  // is handled explicitly via the MOVE operation on organization units.
437
+ // REFUSE_WHILE_CHILDREN_EXIST: deleting an interior node would strand its subtree behind a dangling
438
+ // `parentUnitId` and a stale materialized `path`, and hard-deleting the subtree behind a single-node
439
+ // DELETE is a worse default than asking. The operator re-parents each child with MOVE, or deletes
440
+ // the subtree bottom-up. A tenant purge still removes every unit through the ORGANIZATIONS edge.
362
441
  createResourcesRelationship(CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.ORGANIZATION_UNITS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
363
442
  nature: RelationshipNature.COMPOSITION,
364
443
  foreignKeyField: 'parentUnitId',
365
444
  allowCycle: true,
445
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },
366
446
  parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
367
447
  accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,
368
448
  contextPolicy: { enabled: false },
@@ -378,10 +458,10 @@ export const coreSharedResourceRelationship = [
378
458
  // membership, so losing the membership is exactly when the assignment stops meaning
379
459
  // anything — hence the cascade. This is the edge that stops assignments outliving the
380
460
  // membership that justified them.
381
- // 3. ORGANIZATION_UNITS → … is what the unit DELETE dependents guard was missing. While unit
382
- // assignment lived in an embedded array it was not a registered relationship and not
383
- // portably queryable, so "assigned members" had to be EXCLUDED from that guard (it would
384
- // have failed open on PostgreSQL). As a real edge it becomes a guardable dependent.
461
+ // 3. ORGANIZATION_UNITS → … makes an assignment a dependent the unit DELETE refuses on
462
+ // (REFUSE_WHILE_CHILDREN_EXIST). While unit assignment lived in an embedded array it was not
463
+ // a registered relationship and not portably queryable, so a dependents check would have
464
+ // failed open on PostgreSQL. As a real edge it is refused on like any other.
385
465
  createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
386
466
  isPrimaryScope: true,
387
467
  nature: RelationshipNature.COMPOSITION,
@@ -418,10 +498,10 @@ export const coreSharedResourceRelationship = [
418
498
  childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
419
499
  contextPolicy: { enabled: false },
420
500
  }),
421
- // No cascade on this edge ON PURPOSE — it mirrors the unit tree's own delete policy. A unit
422
- // DELETE is refused while dependents remain (the operator decides where an orphaned assignment
423
- // belongs) rather than silently dropping people's roles behind a single-node delete. Tearing
424
- // down the whole ORGANIZATION still removes these rows via edge 1 above.
501
+ // REFUSE_WHILE_CHILDREN_EXIST, mirroring the unit tree's own delete policy: a unit DELETE is
502
+ // refused while assignments remain (the operator decides where an orphaned assignment belongs)
503
+ // rather than silently dropping people's roles behind a single-node delete. Tearing down the
504
+ // whole ORGANIZATION still removes these rows via edge 1 above.
425
505
  // OPTIONAL_CONTEXT for the same reason as the ORGANIZATION_MEMBERS edge above — this is the
426
506
  // mirrored half. Together the two now yield the unit-scoped route as well, so "who is in this
427
507
  // unit?" is answerable, and both partial routes exist beside the fully-nested one rather than
@@ -430,6 +510,7 @@ export const coreSharedResourceRelationship = [
430
510
  nature: RelationshipNature.COMPOSITION,
431
511
  foreignKeyField: 'organizationUnitId',
432
512
  accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,
513
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },
433
514
  contextPolicy: { enabled: false },
434
515
  }),
435
516
  createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PROFILES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
@@ -458,6 +539,121 @@ export const coreSharedResourceRelationship = [
458
539
  childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
459
540
  foreignKeyField: 'organizationId',
460
541
  }),
542
+ // ── LEGAL HOLDS (#1634) ──────────────────────────────────────────────
543
+ //
544
+ // Stored in the tenant it holds, so the tenant sees every hold on its data. REFERENCE with the teardown
545
+ // cascade DISABLED: a hold is the operator's defence evidence and outlives a purged tenant until its
546
+ // AUDIT_LOGS period (counted from release) ends. An ACTIVE hold stops the purge outright.
547
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.LEGAL_HOLDS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
548
+ isPrimaryScope: true,
549
+ nature: RelationshipNature.REFERENCE,
550
+ childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
551
+ foreignKeyField: 'organizationId',
552
+ }),
553
+ // The three people a hold names. REFERENCE + STANDALONE, never a teardown: erasing the placer, the
554
+ // releaser or the held person leaves the hold exactly as it is (RETAINED_BY_DECLARATION).
555
+ ...['placedByUserId', 'releasedByUserId', 'subjectUserId'].map((foreignKeyField) => createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.LEGAL_HOLDS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
556
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
557
+ nature: RelationshipNature.REFERENCE,
558
+ foreignKeyField,
559
+ parentResourceRequirement: foreignKeyField === 'placedByUserId'
560
+ ? ResourceParentResourceRequirement.MANDATORY
561
+ : ResourceParentResourceRequirement.OPTIONAL,
562
+ childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
563
+ contextPolicy: { enabled: false },
564
+ })),
565
+ // ── SERVICE-PROVIDER RELATIONSHIPS (#1597) ──────────────────────────
566
+ //
567
+ // Three COMPOSITION children, each of the organization it is stored in: the relationship of the
568
+ // CLIENT (the party that controls it), the engagement mirror and the assignments of the FIRM. The
569
+ // other tenant is named by a plain id on each row and never by an edge — a navigable relationship
570
+ // from one tenant's row into another tenant is exactly what this model refuses to create.
571
+ // Purged with their organization; never seeded on create.
572
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_RELATIONSHIPS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
573
+ isPrimaryScope: true,
574
+ nature: RelationshipNature.COMPOSITION,
575
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
576
+ foreignKeyField: 'organizationId',
577
+ }),
578
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_ENGAGEMENTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
579
+ isPrimaryScope: true,
580
+ nature: RelationshipNature.COMPOSITION,
581
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
582
+ foreignKeyField: 'organizationId',
583
+ }),
584
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
585
+ isPrimaryScope: true,
586
+ nature: RelationshipNature.COMPOSITION,
587
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
588
+ foreignKeyField: 'organizationId',
589
+ }),
590
+ // The assignment's engagement is in the SAME (firm) tenant, so it is a real edge. REFERENCE +
591
+ // STANDALONE: an assignment is addressed under its organization, and ending an engagement ENDS its
592
+ // assignments (status) rather than deleting the evidence of who served the client.
593
+ createResourcesRelationship(CoreResourceType.SERVICE_ENGAGEMENTS, CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
594
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
595
+ nature: RelationshipNature.REFERENCE,
596
+ foreignKeyField: 'serviceEngagementId',
597
+ parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,
598
+ childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
599
+ contextPolicy: { enabled: false },
600
+ }),
601
+ // The expert. REFERENCE + STANDALONE, copied from `USERS → PLATFORM_ACCESS_GRANTS`: addressed under
602
+ // the organization, never under the user.
603
+ createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
604
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
605
+ nature: RelationshipNature.REFERENCE,
606
+ foreignKeyField: 'userId',
607
+ parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,
608
+ childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
609
+ contextPolicy: { enabled: false },
610
+ }),
611
+ // ── SERVICE-PROVIDER ACTIVITY FEED (#1632) ──────────────────────────
612
+ //
613
+ // Both stored in the PROVIDER organization it is about, and purged with it. The client an entry names is a
614
+ // plain id, never an edge, for the same reason as the relationship's. The expert is a REFERENCE + STANDALONE
615
+ // edge, like the assignment's: addressed under the organization, never under the user, and an erasure of the
616
+ // expert freezes their entries (RETAIN_ONLY) rather than deleting the firm's record.
617
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED_SETTINGS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
618
+ isPrimaryScope: true,
619
+ nature: RelationshipNature.COMPOSITION,
620
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
621
+ foreignKeyField: 'organizationId',
622
+ }),
623
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
624
+ isPrimaryScope: true,
625
+ nature: RelationshipNature.COMPOSITION,
626
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
627
+ foreignKeyField: 'organizationId',
628
+ }),
629
+ createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
630
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
631
+ nature: RelationshipNature.REFERENCE,
632
+ foreignKeyField: 'expertUserId',
633
+ parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,
634
+ childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
635
+ contextPolicy: { enabled: false },
636
+ }),
637
+ // ── DELEGATED CAPABILITIES (#1631) ──────────────────────────────────
638
+ //
639
+ // A grant lives in the CLIENT organization that lends it, and is purged with it. Its relationship is in the SAME
640
+ // (client) tenant, so it is a real edge — REFERENCE + STANDALONE, like the assignment's engagement: a grant is
641
+ // addressed under its organization, and a relationship that ends REVOKES its grants (status) rather than
642
+ // deleting the evidence of what the firm could administer.
643
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_CAPABILITY_GRANTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
644
+ isPrimaryScope: true,
645
+ nature: RelationshipNature.COMPOSITION,
646
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
647
+ foreignKeyField: 'organizationId',
648
+ }),
649
+ createResourcesRelationship(CoreResourceType.SERVICE_PROVIDER_RELATIONSHIPS, CoreResourceType.SERVICE_PROVIDER_CAPABILITY_GRANTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
650
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
651
+ nature: RelationshipNature.REFERENCE,
652
+ foreignKeyField: 'relationshipId',
653
+ parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,
654
+ childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
655
+ contextPolicy: { enabled: false },
656
+ }),
461
657
  // ── APPLICATION-WIDE grants ──────────────────────────────────────────
462
658
  //
463
659
  // The APPLICATION-scoped sibling. Same lifecycle, no tenant: an elevation that reaches every
@@ -553,6 +749,87 @@ export const coreSharedResourceRelationship = [
553
749
  childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
554
750
  contextPolicy: { enabled: false },
555
751
  }),
752
+ // ── SYSTEM-OF-RECORD PARTITION ASSIGNMENTS ───────────────────────────
753
+ //
754
+ // Which organization UNIT a remote partition belongs to — the edge that makes unit narrowing
755
+ // reach a read-through resource. Three parents, and each is a REFERENCE for a different reason.
756
+ //
757
+ // The DEPLOYMENT, carrying the primary scope. Same shape as APPLICATION -> APPLICATION_ACCESS_GRANTS
758
+ // and for the same measured reason: OPTIONAL + REQUIRES_CONTEXT + `isPrimaryScope`, because
759
+ // declaring it MANDATORY makes the ZodToMongoose convertor refuse the resource outright and INIT
760
+ // dies on a Mongo-persisted deployment. Addressing is carried by `isPrimaryScope` +
761
+ // REQUIRES_CONTEXT, which is what the URL builder reads, so the route is identical either way.
762
+ // No `onParentDelete`: the APPLICATION row is the deployment itself and is not purged.
763
+ createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
764
+ isPrimaryScope: true,
765
+ foreignKeyField: 'applicationId',
766
+ parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
767
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,
768
+ nature: RelationshipNature.REFERENCE,
769
+ contextPolicy: { enabled: false },
770
+ }),
771
+ // The UNIT the partition is confined to — the first edge in this registry from a non-org-scoped
772
+ // resource to ORGANIZATION_UNITS, so what it does and does not buy is stated rather than assumed.
773
+ //
774
+ // STANDALONE, because the assignment is addressed under the APPLICATION and never under a unit:
775
+ // an operator works from the partition map, not from the org chart.
776
+ //
777
+ // ⚠️ The FK buys EXISTENCE and nothing more. No relationship factory validates scope
778
+ // compatibility, and an APPLICATION-scoped row written by a super-administrator resolves
779
+ // `writeTenantId === ''` in the write-integrity check — so this edge cannot also assert that the
780
+ // unit belongs to the OWNER organization or that it is ACTIVE. Both are checked in the custom
781
+ // implementation through the system door against the owner-organization resolver, and pinned
782
+ // there. Reading this edge as a tenant check is the mistake it is written to prevent.
783
+ //
784
+ // `onParentDelete.enabled: false` states the survival explicitly rather than inheriting it. A
785
+ // cascade would be actively wrong: deleting a unit would silently unassign its partitions, and an
786
+ // unassigned partition is invisible to EVERY caller — an org-chart edit would quietly remove a
787
+ // company from the product. The unit DELETE guard refuses instead, which is the same answer that
788
+ // resource already gives for its own child units.
789
+ createResourcesRelationship(CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
790
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
791
+ nature: RelationshipNature.REFERENCE,
792
+ foreignKeyField: 'organizationUnitId',
793
+ parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,
794
+ /*
795
+ * REFUSE_WHILE_CHILDREN_EXIST — and a CASCADE here would be the worst available default.
796
+ *
797
+ * Deleting a unit that still names partitions would silently UNASSIGN them, and an
798
+ * unassigned partition is invisible to EVERY caller — an organization-wide administrator
799
+ * included, because their entitlement is "every partition the operator ASSIGNED, and no
800
+ * others". An ordinary org-chart edit would withdraw a company from the product, and the
801
+ * symptom ("the German invoices are gone") arrives far from the delete that caused it.
802
+ *
803
+ * This posture was carried by a hand-written DELETE-prefix guard until `f4175a240`
804
+ * replaced two such guards with this declaration — rightly, since a hand-written guard is
805
+ * registered on one variant and invisible to the bulk path.
806
+ *
807
+ * The declaration did not reach a REFERENCE edge until #1485: the coherence check read
808
+ * `enabled === true` without reading `strategy`, so the one strategy that ASSERTS the
809
+ * child is independent was barred from the one nature that declares it. REFERENCE stays
810
+ * correct here — an assignment is not composed by a unit, it is an APPLICATION-scoped row
811
+ * that references one — and widening the nature to reach the mechanism would have been
812
+ * choosing the wrong semantics.
813
+ */
814
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },
815
+ contextPolicy: { enabled: false },
816
+ }),
817
+ // The OPERATOR who last assigned or moved the partition. REFERENCE with no cascade, on the
818
+ // access-grant precedent and for its reason: making a user the owner resolves `lifecycleModelMode`
819
+ // to DEPENDENT, which is the value `classifySubjectErasureDisposition` reads — a user erasure would
820
+ // then own the row's fate, and an operator leaving must not silently unassign the companies they
821
+ // configured. The row is RETAIN_AND_IMPERSONALIZE precisely so the configuration survives the
822
+ // person while their prose does not.
823
+ createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
824
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
825
+ nature: RelationshipNature.REFERENCE,
826
+ foreignKeyField: 'assignedByUserId',
827
+ // OPTIONAL because the field is `.optional()`: a row seeded by a lane with no session
828
+ // carries none, and MANDATORY would assert an operator every assignment must have.
829
+ parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
830
+ childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
831
+ contextPolicy: { enabled: false },
832
+ }),
556
833
  createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PREFERENCES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
557
834
  isPrimaryScope: true,
558
835
  nature: RelationshipNature.COMPOSITION,
@@ -620,7 +897,7 @@ export const coreSharedResourceRelationship = [
620
897
  // this went unnoticed. Removed rather than commented as pending. (The sibling
621
898
  // APPLICATION_FEATURES edge records the same blocker.)
622
899
  childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
623
- foreignKeyField: 'appId',
900
+ foreignKeyField: 'applicationId',
624
901
  // 1:1 metadata: full on READ
625
902
  contextPolicy: {
626
903
  objectMode: ContextPolicy_ObjectMode.SUMMARY,
@@ -633,7 +910,7 @@ export const coreSharedResourceRelationship = [
633
910
  isPrimaryScope: true,
634
911
  nature: RelationshipNature.COMPOSITION,
635
912
  childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
636
- foreignKeyField: 'appId',
913
+ foreignKeyField: 'applicationId',
637
914
  // High cardinality over time: disable on LIST/SEARCH
638
915
  contextPolicy: {
639
916
  operationOverrides: {
@@ -646,16 +923,36 @@ export const coreSharedResourceRelationship = [
646
923
  isPrimaryScope: true,
647
924
  nature: RelationshipNature.COMPOSITION,
648
925
  // Deliberately NO onParentCreate — same cache-resolved-ledger rationale as the
649
- // ORGANIZATION_FEATURES edge above. TWO extra APP-only blockers even if that
650
- // changed: (1) APPLICATION rows are provisioned via the platform CLI / apps-manager
651
- // bootstrap, not the engine handler.create → executePostOperationLogic, so the seed
652
- // hook never fires on real app provisioning; (2) this edge's foreignKeyField 'appId'
653
- // is NOT the APPLICATION primary-scope identifier ('applicationId'), so it is absent
654
- // from CONTEXT_AUTO_POPULATED_FIELD_IDENTIFIERS — createAsSystem's name-based
655
- // preserve-list would strip it and seed an orphan row (the boot seedability guard
656
- // does not catch this: it probes DTO defaults, not FK persistence).
926
+ // ORGANIZATION_FEATURES edge above, plus one APP-only blocker: APPLICATION rows are
927
+ // provisioned via the platform CLI / apps-manager bootstrap, not the engine
928
+ // handler.create → executePostOperationLogic, so the seed hook never fires on real app
929
+ // provisioning.
930
+ //
931
+ // THE FK IS `applicationId`, AND IT MUST STAY THAT NAME. This edge and its two siblings
932
+ // (APPLICATION_METADATA, APPLICATION_VERSIONS) declared `appId` until 2026-09-18. That
933
+ // is not a distinct ROLE the way `assignedToUserId` is — it is the application itself,
934
+ // spelled differently from the APPLICATION scope's registered field identifier — and
935
+ // every mechanism keyed on that identifier therefore skipped these three resources:
936
+ //
937
+ // • CONTEXT_AUTO_POPULATED_FIELD_IDENTIFIERS did not carry it, so createAsSystem's
938
+ // name-based preserve-list stripped it and a seed wrote an orphan row;
939
+ // • the URL builder read a non-standard FK as a custom relationship PREFIX, so the
940
+ // route became `/app-applications/{appId}/application-versions` (measured: that
941
+ // path answers 200 and nothing addresses it) instead of nesting under
942
+ // `/applications/{applicationId}`;
943
+ // • and the frontend, whose resource context carries `applicationId`, could not
944
+ // satisfy a required param named `appId`. Three Administration settings panes —
945
+ // General, Versions, Entitlements — issued NO REQUEST AT ALL and rendered their
946
+ // failure state, which is indistinguishable from a backend outage.
947
+ //
948
+ // The last one is why this is recorded here rather than in a changelog: the divergence
949
+ // was noticed twice and written down twice (in this comment's previous text, and in
950
+ // `resources-config-operations.urls-builder.utils.ts`, which called it "7 phantom
951
+ // combinations […] nobody had noticed because nothing called it"). Naming an invariant
952
+ // is not upholding it. A non-standard `foreignKeyField` is a claim that the edge means
953
+ // something other than plain ownership; do not spell one differently for brevity.
657
954
  childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
658
- foreignKeyField: 'appId',
955
+ foreignKeyField: 'applicationId',
659
956
  contextPolicy: {
660
957
  objectMode: ContextPolicy_ObjectMode.SUMMARY,
661
958
  }
@@ -695,15 +992,29 @@ export const coreSharedResourceRelationship = [
695
992
  * restricts every read to the authenticated caller's own credentials — nobody can reach
696
993
  * another person's key, structurally, rather than because a role list happens to be narrow.
697
994
  *
698
- * And its COMPOSITION cascade is what stops a personal credential outliving the person. The
699
- * retention policy deliberately scrubs nothing (a secret is not pseudonymised, it is
700
- * destroyed), so the DELETE dispatched here IS the erasure answer for this resource. A
701
- * REFERENCE edge cannot carry `onParentDelete` at all, so getting the nature wrong would
995
+ * And it is what destroys a person's credentials, on BOTH paths that remove a person: the
996
+ * delete cascade when the USERS row is deleted, and a subject erasure, which KEEPS the
997
+ * (scrubbed) USERS row and so reads this edge's `strategy` instead. A secret is not
998
+ * pseudonymised, it is destroyed.
999
+ *
1000
+ * `strategy: DELETE` is AUTHORED, not left to the default, and that is the fix for #1569.
1001
+ * The credential resource used to declare `retentionPolicy: RETAIN_ONLY`; once #1279 made a
1002
+ * silent edge honour the child's retention declaration, every erasure kept the person's
1003
+ * third-party tokens in place and reported them "retained by declaration". The retention
1004
+ * policy is gone, and naming DELETE here means that if anyone re-adds one, the erasure
1005
+ * refuses the contradiction loudly (`findSubjectErasureRetentionContradictedEdges`) instead
1006
+ * of quietly keeping the credentials again.
1007
+ *
1008
+ * A REFERENCE edge cannot carry `onParentDelete` at all, so getting the nature wrong would
702
1009
  * leave a live third-party credential belonging to somebody who asked to be forgotten.
703
1010
  */
704
1011
  isPrimaryScope: true,
705
1012
  nature: RelationshipNature.COMPOSITION,
706
- childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1013
+ childOperations: {
1014
+ lifecycle: {
1015
+ onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE },
1016
+ },
1017
+ },
707
1018
  // SECURITY: as the organization-owned sibling — a row holding a secret must never ride in a
708
1019
  // context DTO the client receives.
709
1020
  contextPolicy: { enabled: false }
@@ -756,12 +1067,11 @@ export const coreSharedResourceRelationship = [
756
1067
  childOperations: {
757
1068
  lifecycle: { onParentDelete: { enabled: false } },
758
1069
  },
759
- contextPolicy: {
760
- operationOverrides: {
761
- [CoreResourceOperation.LIST]: { enabled: false },
762
- [CoreResourceOperation.SEARCH]: { enabled: false },
763
- },
764
- },
1070
+ // Off the context surface entirely (#583), as on the APPLICATION and USERS edges above. With
1071
+ // READ still enabled, an organization context read embedded the tenant's WHOLE audit history
1072
+ // — 143 rows on a two-week-old dogfood tenant, monotonically growing, on an interactive
1073
+ // path. An audit row is not ambient context; the Audit Log Viewer pages this edge's LIST.
1074
+ contextPolicy: { enabled: false },
765
1075
  }),
766
1076
  // parentResourceRequirement=OPTIONAL because AuditableEvent_BaseSchema.userId is optional —
767
1077
  // audit logs can be application-level events with no associated user (e.g. system events).
@@ -808,6 +1118,18 @@ export const coreSharedResourceRelationship = [
808
1118
  nature: RelationshipNature.REFERENCE,
809
1119
  contextPolicy: { enabled: false },
810
1120
  }),
1121
+ // Retention-enforcement records (#1636): application-wide, routed under the application for the
1122
+ // administration console, and the SAME shape as the audit door above for the same reasons — the edge
1123
+ // is an address (primary scope + REQUIRES_CONTEXT), OPTIONAL so the Mongo convertor accepts the column,
1124
+ // and `contextPolicy` disabled because a record must never be fetched as ambient context.
1125
+ createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.RETENTION_ENFORCEMENT_RECORDS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1126
+ isPrimaryScope: true,
1127
+ foreignKeyField: 'applicationId',
1128
+ parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
1129
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,
1130
+ nature: RelationshipNature.REFERENCE,
1131
+ contextPolicy: { enabled: false },
1132
+ }),
811
1133
  // ── Notification Badges (Dual-Scope Polymorphic) ─────────────────────
812
1134
  // Each scope owns its own resource type and its own MongoDB collection.
813
1135
  // Accessed internally via `NotificationBadgeBackendService`, which dispatches
@@ -820,7 +1142,11 @@ export const coreSharedResourceRelationship = [
820
1142
  isPrimaryScope: true,
821
1143
  foreignKeyField: 'userId',
822
1144
  nature: RelationshipNature.COMPOSITION,
823
- childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1145
+ // `strategy: DELETE` is AUTHORED (#1569): a subject erasure keeps the scrubbed USERS row and
1146
+ // reads this strategy, so an erased person's unread counters are destroyed. Naming it means a
1147
+ // retention policy re-added to the badge resource is refused as a contradiction
1148
+ // (`findSubjectErasureRetentionContradictedEdges`) instead of quietly keeping the rows.
1149
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE } } },
824
1150
  // Notifications: ephemeral, accessed via dedicated service
825
1151
  contextPolicy: { enabled: false }
826
1152
  }),
@@ -845,6 +1171,61 @@ export const coreSharedResourceRelationship = [
845
1171
  // Internal resource: never fetch via context, accessed via dedicated services
846
1172
  contextPolicy: { enabled: false }
847
1173
  }),
1174
+ // Provider-call records: the same internal, application-primary shape as the queue records above.
1175
+ // STANDALONE keeps them off URL routing; nothing reaches them except the recorder and the evidence door.
1176
+ createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.PROVIDER_CALL_RECORDS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1177
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
1178
+ isPrimaryScope: true,
1179
+ nature: RelationshipNature.REFERENCE,
1180
+ contextPolicy: { enabled: false }
1181
+ }),
1182
+ // Model-call attributions and model-cost period aggregates (#1598): application-primary and route-less,
1183
+ // like the provider-call records above. Their organization edges are below, with the teardown decision.
1184
+ createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.MODEL_CALL_ATTRIBUTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1185
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
1186
+ isPrimaryScope: true,
1187
+ nature: RelationshipNature.REFERENCE,
1188
+ contextPolicy: { enabled: false }
1189
+ }),
1190
+ createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.MODEL_COST_PERIOD_AGGREGATES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1191
+ // REQUIRES_CONTEXT, like the retention enforcement records: the billing flow reads and links
1192
+ // aggregates at `/applications/{applicationId}/…`, and the per-row APPLICATION authorization compares
1193
+ // the row's `applicationId` with that URL's. A STANDALONE edge gave the route no application, so
1194
+ // every READ and `link_invoice` was refused, super-administrator included (#1598, found live).
1195
+ isPrimaryScope: true,
1196
+ foreignKeyField: 'applicationId',
1197
+ parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
1198
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,
1199
+ nature: RelationshipNature.REFERENCE,
1200
+ contextPolicy: { enabled: false }
1201
+ }),
1202
+ // A tenant's attribution rows die with the tenant (Paul Q2 on #1598): COMPOSITION + the purge's cascade,
1203
+ // the USER_IDENTITY_LINKS teardown-anchor shape (non-primary, STANDALONE, OPTIONAL: an unattributed row
1204
+ // carries no organizationId). The organization DELETE's prefix closes the open cost period into an
1205
+ // aggregate BEFORE this cascade runs, so no cost is lost with the rows.
1206
+ //
1207
+ // assurance-control: WILDO.PRIVACY.ERASURE_PROPAGATION — detail rows are deleted with their tenant.
1208
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.MODEL_CALL_ATTRIBUTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1209
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
1210
+ isPrimaryScope: false,
1211
+ parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
1212
+ nature: RelationshipNature.COMPOSITION,
1213
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1214
+ foreignKeyField: 'organizationId',
1215
+ contextPolicy: { enabled: false }
1216
+ }),
1217
+ // An aggregate is NOT torn down by the cascade: the organization DELETE's prefix deletes the tenant's
1218
+ // UNLINKED aggregates itself, and an aggregate an invoice bills outlives the tenant for its statutory
1219
+ // BUSINESS_RECORDS period (GDPR Art. 17(3)(b)). A REFERENCE edge with the cascade disabled, the billing
1220
+ // family's answer for records kept past their scope.
1221
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.MODEL_COST_PERIOD_AGGREGATES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1222
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
1223
+ isPrimaryScope: false,
1224
+ nature: RelationshipNature.REFERENCE,
1225
+ childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
1226
+ foreignKeyField: 'organizationId',
1227
+ contextPolicy: { enabled: false }
1228
+ }),
848
1229
  createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.JOB_PAYLOAD_STORAGE, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
849
1230
  accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
850
1231
  isPrimaryScope: true,
@@ -927,6 +1308,38 @@ export const coreSharedResourceRelationship = [
927
1308
  // NOTE the deliberate absence of an execution→task relationship: `flowActorExecutionId`
928
1309
  // is a SOFT indexed link, not a declared FK, because a task must be able to outlive the
929
1310
  // conversation that produced it. See the base schema for the full rationale.
1311
+ // Agent-work decisions and their content (#1599), owned by the same three scopes as the executions they record
1312
+ // decisions on. COMPOSITION + cascade: a scope's records go with the scope, like its conversations. The metadata
1313
+ // is kept for AUDIT_LOGS while the scope exists; an erasure severs the decider and scrubs the content.
1314
+ ...createPolymorphicScopeRelationships(agentWorkDecisionsPolymorphicDeclaration, {
1315
+ nature: RelationshipNature.COMPOSITION,
1316
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1317
+ contextPolicy: { enabled: false },
1318
+ }),
1319
+ ...createPolymorphicScopeRelationships(agentWorkDecisionContentsPolymorphicDeclaration, {
1320
+ nature: RelationshipNature.COMPOSITION,
1321
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1322
+ contextPolicy: { enabled: false },
1323
+ }),
1324
+ // The organization's two agent-work settings (singletons) and its export ledger (#1599), torn down with it.
1325
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.AGENT_WORK_CAPTURE_SETTINGS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
1326
+ isPrimaryScope: true,
1327
+ nature: RelationshipNature.COMPOSITION,
1328
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1329
+ contextPolicy: { enabled: false },
1330
+ }),
1331
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.EVALUATION_EXPORT_AUTHORIZATIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
1332
+ isPrimaryScope: true,
1333
+ nature: RelationshipNature.COMPOSITION,
1334
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1335
+ contextPolicy: { enabled: false },
1336
+ }),
1337
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.EVALUATION_DATASET_EXPORTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1338
+ isPrimaryScope: true,
1339
+ nature: RelationshipNature.COMPOSITION,
1340
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1341
+ contextPolicy: { enabled: false },
1342
+ }),
930
1343
  ...createPolymorphicScopeRelationships(flowActorTasksPolymorphicDeclaration, {
931
1344
  nature: RelationshipNature.COMPOSITION,
932
1345
  childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
@@ -1014,11 +1427,11 @@ export const coreSharedResourceRelationship = [
1014
1427
  // account genuinely belongs to its scope); only the dies-with-parent behaviour is declined.
1015
1428
  //
1016
1429
  // With this cascade disabled, a DIRECT hard delete of the account became the only remaining path
1017
- // into the forbidden half-state described below. That path is now closed at runtime: the billing
1018
- // account's DELETE carries a fail-closed dependents guard that refuses with 409
1019
- // `BILLING_ACCOUNT_HAS_DEPENDENTS` while any retained child still references the account
1020
- // (`assertNoBillingAccountDependents`, wired as a DELETE prefix custom implementation). Keep that
1021
- // guard's family list in lock-step with the retained edges declared here.
1430
+ // into the forbidden half-state described below. That path is closed at runtime by declaration:
1431
+ // each `BillingAccounts → <child>` edge below declares `onParentDelete.strategy:
1432
+ // REFUSE_WHILE_CHILDREN_EXIST`, so the service tier refuses the account's DELETE with 409
1433
+ // `RESOURCE_HAS_DEPENDENTS` while any retained child still references it, before anything is
1434
+ // written. The scope edges stay `enabled: false`: those rows must outlive their scope.
1022
1435
  ...createPolymorphicScopeRelationships(billingAccountsPolymorphicDeclaration, {
1023
1436
  nature: RelationshipNature.COMPOSITION,
1024
1437
  childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the note above.
@@ -1035,7 +1448,7 @@ export const coreSharedResourceRelationship = [
1035
1448
  // userBillingAccounts → userSubscriptions
1036
1449
  ...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, billingSubscriptionsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1037
1450
  nature: RelationshipNature.COMPOSITION,
1038
- childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
1451
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — see the billing-retention note above.
1039
1452
  contextPolicy: {},
1040
1453
  }),
1041
1454
  // ── Polymorphic Billing Children ─────────────────────────────────────
@@ -1043,16 +1456,59 @@ export const coreSharedResourceRelationship = [
1043
1456
  // ⚠️ BILLING RETENTION (compliance decision, Paul — 2026-07-29): subscriptions / invoiceRefs /
1044
1457
  // usageRecords / creditPools are RETAINED, never cascade-deleted. The financial audit trail must
1045
1458
  // survive the deletion of the scope or the billing account that produced it (tax / SOX retention),
1046
- // so every `onParentDelete` below is DISABLED — 16 edges in total (4 families × 2 parents × 2 scope
1047
- // variants). These are the entries formerly tracked as `KNOWN_CASCADE_DELETABILITY_GAPS`.
1459
+ // so none of the 16 edges below cascades (4 families × 2 parents × 2 scope variants): the scope
1460
+ // edges DISABLE `onParentDelete`, and the billing-account edges declare REFUSE_WHILE_CHILDREN_EXIST
1461
+ // so the account cannot be deleted out from under them. These are the entries formerly tracked as
1462
+ // `KNOWN_CASCADE_DELETABILITY_GAPS`.
1048
1463
  //
1049
1464
  // Why NOT `retentionPolicy` + `IMPERSONALIZE_AND_RETAIN`: that machinery also HIDES and FREEZES the
1050
1465
  // row (reachable only through the audited see-through path), and these invoices must stay visible
1051
- // for ordinary accounting. It is also the wrong tool semantically — a billing row holds no personal
1052
- // data of its own (no name, email or address; the person is a foreign key), so there is nothing on
1053
- // it to scrub. The PII lives on the linked USER, which is where impersonalization belongs: erasing
1054
- // a subject scrubs the user row and keeps it, so these financial rows keep resolving to an
1055
- // anonymized subject.
1466
+ // for ordinary accounting.
1467
+ //
1468
+ // ## DECIDED 2026-09-17 (#1208), and the SECOND reason this used to give is now FALSE
1469
+ //
1470
+ // It said "a billing row holds no personal data of its own (no name, email or address; the person
1471
+ // is a foreign key), so there is nothing on it to scrub". That has not been true since
1472
+ // `invoice-ref.shared.schemas.ts` gained `hostedInvoiceUrl` and `invoicePdfUrl`, which
1473
+ // `addImpersonalizeWith(..., REMOVE)` marks precisely BECAUSE they address provider-hosted
1474
+ // documents carrying the person's name and billing address. A blanket "no personal data here" is
1475
+ // the kind of claim that stops being checked once it is written down.
1476
+ //
1477
+ // The conclusion survives on the FIRST reason alone, and the external norms point the same way:
1478
+ //
1479
+ // - The erasure right does not reach these records. GDPR Art. 17(3)(b) excepts processing
1480
+ // "necessary for compliance with a legal obligation which requires processing by Union or
1481
+ // Member State law to which the controller is subject", which is what a statutory invoice
1482
+ // retention period is.
1483
+ // spec-cite: Regulation (EU) 2016/679, Art. 17(3)(b) (https://gdpr-info.eu/art-17-gdpr/).
1484
+ // - The record must stay COMPLETE, not scrubbed. An invoice is legally required to carry "the
1485
+ // full name and address of the taxable person and of the customer", so the identifying data is
1486
+ // mandated CONTENT rather than something incidental that may be removed; and every taxable
1487
+ // person must store their invoices for a period each Member State sets.
1488
+ // spec-cite: Council Directive 2006/112/EC, Art. 226 (invoice content) and Arts. 244/247
1489
+ // (storage and period).
1490
+ // - Scrubbing our URL removes a POINTER, never the document. The invoice itself lives at the
1491
+ // payment provider, which retains it under its own obligation and offers its own redaction —
1492
+ // so dropping the link costs the operator the ability to open their own invoice and gains the
1493
+ // data subject nothing the controller does not still hold.
1494
+ //
1495
+ // Storage limitation is therefore satisfied by the retention SCHEDULE (the period a class
1496
+ // declares), not by an erasure — which is the split `retention-schedule.shared.schemas.ts` already
1497
+ // draws between WHAT erasure does to a row and HOW LONG a row is kept.
1498
+ //
1499
+ // ## The declared treatments are currently UNREACHABLE, which is the live half of #1208
1500
+ //
1501
+ // `retentionPolicy` is the RESOURCE-level opt-in; the per-EDGE trigger is
1502
+ // `onParentDelete.strategy: IMPERSONALIZE_AND_RETAIN`, and the ONLY occurrence of that member in
1503
+ // this file is the sentence above explaining why it is not used. So no billing row is ever marked
1504
+ // RETAINED and the invoice-ref scrub never runs: after an erasure those two URLs are intact.
1505
+ //
1506
+ // That is the opposite of what #1208 feared — the risk was never that an erased customer's
1507
+ // invoices would vanish from accounting, it is that a scrub was declared, reasoned about, and
1508
+ // wired to nothing. Removing `retentionPolicy` from the five billing resources is the follow-
1509
+ // through; it is left out of this change because it also withdraws derived `seeRetained` grants
1510
+ // and would orphan the `addImpersonalizeWith` treatments, which is a config-build question rather
1511
+ // than a documentation one.
1056
1512
  //
1057
1513
  // A COMPOSITION without `onParentDelete` is an explicitly supported combination — it leaves the
1058
1514
  // children behind by design choice (see `validateCompositionCascadeDeletability`). The nature stays
@@ -1060,7 +1516,7 @@ export const coreSharedResourceRelationship = [
1060
1516
  // behaviour is declined.
1061
1517
  //
1062
1518
  // The `Scope → BillingAccounts` edge above was RETAINED on the same day as a coherence follow-up
1063
- // (18 disabled billing cascades in total). Without it these 16 edges kept rows whose owning account
1519
+ // (18 billing edges, none of which cascades). Without it these 16 edges kept rows whose owning account
1064
1520
  // had been deleted — see the rationale block at that declaration. Do not re-enable either half in
1065
1521
  // isolation: retaining the children while deleting the account strands the provider-customer
1066
1522
  // mapping, and deleting the children while retaining the account discards the audit trail.
@@ -1072,7 +1528,7 @@ export const coreSharedResourceRelationship = [
1072
1528
  // BillingAccounts → InvoiceRefs (variant-matched, 1:N)
1073
1529
  ...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, invoiceRefsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1074
1530
  nature: RelationshipNature.COMPOSITION,
1075
- childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
1531
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — see the billing-retention note above.
1076
1532
  contextPolicy: {},
1077
1533
  }),
1078
1534
  // Usage Records — scope relationships (2 variants: ORG, USER)
@@ -1083,7 +1539,7 @@ export const coreSharedResourceRelationship = [
1083
1539
  // BillingAccounts → UsageRecords (variant-matched, 1:N)
1084
1540
  ...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, usageRecordsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1085
1541
  nature: RelationshipNature.COMPOSITION,
1086
- childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
1542
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — see the billing-retention note above.
1087
1543
  contextPolicy: { enabled: false },
1088
1544
  }),
1089
1545
  // Credit Pools — scope relationships (2 variants: ORG, USER)
@@ -1094,7 +1550,7 @@ export const coreSharedResourceRelationship = [
1094
1550
  // BillingAccounts → CreditPools (variant-matched, 1:N)
1095
1551
  ...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, creditPoolsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1096
1552
  nature: RelationshipNature.COMPOSITION,
1097
- childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
1553
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — see the billing-retention note above.
1098
1554
  contextPolicy: {},
1099
1555
  }),
1100
1556
  // Referrals keep shared FK field names (`referrerBillingAccountId`, `referredBillingAccountId`)
@@ -1183,7 +1639,10 @@ export const coreSharedResourceRelationship = [
1183
1639
  // (ORGANIZATION_FEATURES / APPLICATION_FEATURES both declared the cascade) →
1184
1640
  // orphan-on-user-delete risk; now aligned. Deliberately NO onParentCreate: the
1185
1641
  // scope-features ledger is cache-resolved (see the ORGANIZATION_FEATURES note).
1186
- childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1642
+ // `strategy: DELETE` is AUTHORED (#1569): an erasure keeps the scrubbed USERS row and reads
1643
+ // this strategy, so an erased person's entitlement overrides are destroyed; a retention
1644
+ // policy re-added to USER_FEATURES is then refused as a contradiction rather than obeyed.
1645
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE } } },
1187
1646
  contextPolicy: { enabled: false },
1188
1647
  }),
1189
1648
  createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.FILES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
@@ -1195,19 +1654,22 @@ export const coreSharedResourceRelationship = [
1195
1654
  // USER_SELF). It is the top-level tenant isolation field, not the scope discriminator.
1196
1655
  contextPolicy: { enabled: false },
1197
1656
  }),
1198
- // Referrals scope anchor — TEMPORARY SHIM — Phase 4.5 Step 2.5 Layer 3c TODO.
1199
- //
1200
- // Referrals naturally inherit polymorphism from `*_billingAccounts` (which
1201
- // are USER_SELF/ORG-polymorphic). The principled long-term design is to
1202
- // split `referrals` into the same polymorphic variant pair so each variant
1203
- // carries its own scope via the parent billing-account chain. Until that
1204
- // follow-up PR lands, the ORGANIZATIONS edge below carries a STANDALONE
1205
- // primary anchor so the resource has a defined `resourcePrimaryScope` and
1206
- // the registry-layer factory's no-fallback throw stays satisfied.
1207
- // Tracked in `.cursor/plans/m2m-webhook-organization-delivery-phase4-5-hardening.md`
1208
- // (Phase 4.5 Step 2.5 Layer 3c).
1657
+ // Referrals are ROUTED under the organization that issued them (#1802).
1658
+ //
1659
+ // The row belongs to its referrer, and only an organization can refer: its `organizationId` is the
1660
+ // referrer's tenant. Every door onto the resource is that organization's — ISSUE, CANCEL and the LIST the
1661
+ // `organization-referrals` settings page reads — and each authorizes as that organization's owner, so the
1662
+ // organization must be in the route (`/organizations/{organizationId}/referrals/…`).
1663
+ //
1664
+ // This edge was a STANDALONE "scope anchor" until 2026-09-28, which kept the resource off the organization
1665
+ // URL surface: the routes mounted at `/api/v1/referrals/…`, no request could carry an organization, and every
1666
+ // one answered 403 — the settings page (#1295) and both referral verbs alike. A second edge could not make
1667
+ // this worse: the four billing-account edges below are STANDALONE references, so this is the only URL parent.
1668
+ //
1669
+ // The REFERRED side is not routed here, deliberately: a redemption is the new customer's act, and it is
1670
+ // `BillingAccount_Operations.REDEEM_REFERRAL` on that customer's own billing account.
1209
1671
  createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.REFERRALS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1210
- accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
1672
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,
1211
1673
  isPrimaryScope: true,
1212
1674
  nature: RelationshipNature.REFERENCE,
1213
1675
  contextPolicy: { enabled: false },
@@ -1256,15 +1718,78 @@ export const coreSharedResourceRelationship = [
1256
1718
  nature: RelationshipNature.COMPOSITION,
1257
1719
  // onParentCreate: eager-seed the lifecycle-state row on user creation — the
1258
1720
  // genuine latent gap (no READ self-heal); the evaluator read-then-creates so no dup.
1259
- childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
1721
+ //
1722
+ // `initialData.override` because the SHAPE the two doors produce must match, and the
1723
+ // schema defaults alone cannot produce it. The lazy doors persist
1724
+ // `createInitialScopedLifecycleState` — `stageHistory: [{ SIGNED_UP, … }]`,
1725
+ // `stagesVisited: [SIGNED_UP]` — while this eager door wrote the schema defaults,
1726
+ // `[]` and `[]`. The eager door is the one that runs in production, so the lazy pair's
1727
+ // shape was only ever written when THIS one had failed.
1728
+ //
1729
+ // The consequence is `hasReachedStage`, whose own JSDoc says it exists "for reliable
1730
+ // stage visitation checks": after the first transition `stagesVisited` read
1731
+ // `[ACTIVATED]`, so it answered FALSE for SIGNED_UP — a stage the subject demonstrably
1732
+ // passed — and the transition audit trail started one entry short.
1733
+ //
1734
+ // The values come from the same named source the lazy doors use, so there is still one
1735
+ // shape. It is NOT moved into the schema defaults: `stageHistory` carries
1736
+ // `RedactionType.RESET`, so a dynamic default would be written BY an erasure — the
1737
+ // hazard `lastActiveAt` names one field below — re-asserting a SIGNED_UP entry stamped
1738
+ // at erasure time. Seeding and the erasure default are different questions.
1739
+ childOperations: {
1740
+ lifecycle: {
1741
+ onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 },
1742
+ onParentCreate: {
1743
+ enabled: true,
1744
+ initialData: {
1745
+ override: () => {
1746
+ const initial = GuidanceStateUtils.createInitialLifecycleState();
1747
+ return { stageHistory: initial.stageHistory, stagesVisited: initial.stagesVisited };
1748
+ },
1749
+ },
1750
+ },
1751
+ },
1752
+ },
1260
1753
  contextPolicy: { enabled: false }
1261
1754
  }),
1262
1755
  createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_LIFECYCLE_STATE, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
1263
1756
  isPrimaryScope: true,
1264
1757
  foreignKeyField: 'organizationId',
1265
1758
  nature: RelationshipNature.COMPOSITION,
1266
- // onParentCreate: eager-seed the lifecycle-state row on org creation (latent gap).
1267
- childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
1759
+ // onParentCreate: eager-seed the lifecycle-state row on org creation — the
1760
+ // genuine latent gap (no READ self-heal); the evaluator read-then-creates so no dup.
1761
+ //
1762
+ // `initialData.override` because the SHAPE the two doors produce must match, and the
1763
+ // schema defaults alone cannot produce it. The lazy doors persist
1764
+ // `createInitialScopedLifecycleState` — `stageHistory: [{ SIGNED_UP, … }]`,
1765
+ // `stagesVisited: [SIGNED_UP]` — while this eager door wrote the schema defaults,
1766
+ // `[]` and `[]`. The eager door is the one that runs in production, so the lazy pair's
1767
+ // shape was only ever written when THIS one had failed.
1768
+ //
1769
+ // The consequence is `hasReachedStage`, whose own JSDoc says it exists "for reliable
1770
+ // stage visitation checks": after the first transition `stagesVisited` read
1771
+ // `[ACTIVATED]`, so it answered FALSE for SIGNED_UP — a stage the subject demonstrably
1772
+ // passed — and the transition audit trail started one entry short.
1773
+ //
1774
+ // The values come from the same named source the lazy doors use, so there is still one
1775
+ // shape. It is NOT moved into the schema defaults: `stageHistory` carries
1776
+ // `RedactionType.RESET`, so a dynamic default would be written BY an erasure — the
1777
+ // hazard `lastActiveAt` names one field below — re-asserting a SIGNED_UP entry stamped
1778
+ // at erasure time. Seeding and the erasure default are different questions.
1779
+ childOperations: {
1780
+ lifecycle: {
1781
+ onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 },
1782
+ onParentCreate: {
1783
+ enabled: true,
1784
+ initialData: {
1785
+ override: () => {
1786
+ const initial = GuidanceStateUtils.createInitialLifecycleState();
1787
+ return { stageHistory: initial.stageHistory, stagesVisited: initial.stagesVisited };
1788
+ },
1789
+ },
1790
+ },
1791
+ },
1792
+ },
1268
1793
  contextPolicy: { enabled: false }
1269
1794
  }),
1270
1795
  // ── Inbound Contacts (Phase 0.5, Q-E=B) ──────────────────────────────
@@ -1370,16 +1895,22 @@ export const coreSharedResourceRelationship = [
1370
1895
  },
1371
1896
  },
1372
1897
  }),
1373
- // SIEM Delivery DLQ — collection (MANY per scope)
1898
+ // SIEM Delivery DLQ — collection (MANY per scope). Off the context surface (#583): a dead-letter
1899
+ // queue is append-only and grows without bound during a SIEM outage, exactly when a scope's context
1900
+ // read must stay cheap. Operators page it through its own LIST.
1374
1901
  ...createPolymorphicScopeRelationships(siemDeliveryDlqPolymorphicDeclaration, {
1375
1902
  nature: RelationshipNature.COMPOSITION,
1376
1903
  childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1377
- contextPolicy: {
1378
- operationOverrides: {
1379
- [CoreResourceOperation.LIST]: { enabled: false },
1380
- [CoreResourceOperation.SEARCH]: { enabled: false },
1381
- },
1382
- },
1904
+ contextPolicy: { enabled: false },
1905
+ }),
1906
+ // SIEM Delivery Outbox — collection (MANY per scope). Off the context surface for the SAME reason
1907
+ // as the DLQ above and one more: these rows are machinery in flight, claimed and deleted by the
1908
+ // collector within a window, so a context read would carry a set that is stale by the time it is
1909
+ // read. Cascades on scope delete like its sibling — a tenant that is gone has nothing left to export.
1910
+ ...createPolymorphicScopeRelationships(siemDeliveryOutboxPolymorphicDeclaration, {
1911
+ nature: RelationshipNature.COMPOSITION,
1912
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1913
+ contextPolicy: { enabled: false },
1383
1914
  }),
1384
1915
  // SCIM Tokens — collection (MANY per scope)
1385
1916
  ...createPolymorphicScopeRelationships(scimTokensPolymorphicDeclaration, {
@@ -1416,18 +1947,107 @@ export const coreSharedResourceRelationship = [
1416
1947
  },
1417
1948
  },
1418
1949
  }),
1419
- // M2M Webhook Delivery Log — collection (MANY per scope). LIST/SEARCH stay
1420
- // off the context surface (high-volume noise — admin queries them via the
1421
- // dedicated UI, not via implicit context inclusion). Mirrors SIEM DLQ wiring.
1950
+ // M2M Webhook Delivery Log — collection (MANY per scope). Off the context surface entirely (#583):
1951
+ // one row per delivery attempt, unbounded, and READ used to embed all of them. Admins query it via
1952
+ // the dedicated UI, not via implicit context inclusion. Mirrors SIEM DLQ wiring.
1422
1953
  ...createPolymorphicScopeRelationships(m2mWebhookDeliveryLogPolymorphicDeclaration, {
1423
1954
  nature: RelationshipNature.COMPOSITION,
1424
1955
  childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1425
- contextPolicy: {
1426
- operationOverrides: {
1427
- [CoreResourceOperation.LIST]: { enabled: false },
1428
- [CoreResourceOperation.SEARCH]: { enabled: false },
1429
- },
1430
- },
1956
+ contextPolicy: { enabled: false },
1957
+ }),
1958
+ // Inbound deliveries (#1596) — collection, MANY per scope, off the context surface for the same reason
1959
+ // as the outbound log. COMPOSITION + IMMEDIATE: a delivery's payload is its organization's data, so it
1960
+ // is erased with the organization rather than outliving it in the application variant.
1961
+ ...createPolymorphicScopeRelationships(inboundDeliveryPolymorphicDeclaration, {
1962
+ nature: RelationshipNature.COMPOSITION,
1963
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1964
+ contextPolicy: { enabled: false },
1965
+ }),
1966
+ // ── CONVERSATION THREADS (#1630) ─────────────────────────────────────
1967
+ //
1968
+ // All three are the organization's, purged with it. Reply tokens are COMPOSITION children of their
1969
+ // thread (deleted with it); messages only REFERENCE it (see that edge). Both are addressed under the
1970
+ // organization with the thread as an optional context — the ORGANIZATION_MEMBERS →
1971
+ // ORGANIZATION_UNIT_MEMBERS shape.
1972
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.CONVERSATION_THREADS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1973
+ isPrimaryScope: true,
1974
+ nature: RelationshipNature.COMPOSITION,
1975
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1976
+ foreignKeyField: 'organizationId',
1977
+ contextPolicy: { enabled: false },
1978
+ }),
1979
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.CONVERSATION_MESSAGES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1980
+ isPrimaryScope: true,
1981
+ nature: RelationshipNature.COMPOSITION,
1982
+ // IMPERSONALIZE_AND_RETAIN, never silent (#1635): messages keep a statutory ground, and a silent edge is
1983
+ // DELETE on a parent delete — the tenant purge would destroy correspondence the law requires kept. Retained,
1984
+ // they stay restricted until their BUSINESS_RECORDS period ends and the retention-class sweep deletes them.
1985
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, strategy: ChildLifecycleStrategy.IMPERSONALIZE_AND_RETAIN, maxDepth: 1 } } },
1986
+ foreignKeyField: 'organizationId',
1987
+ contextPolicy: { enabled: false },
1988
+ }),
1989
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.CONVERSATION_REPLY_TOKENS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
1990
+ isPrimaryScope: true,
1991
+ nature: RelationshipNature.COMPOSITION,
1992
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
1993
+ foreignKeyField: 'organizationId',
1994
+ contextPolicy: { enabled: false },
1995
+ }),
1996
+ // A REFERENCE, not a composition: a message is a business letter a statute keeps on its own clock
1997
+ // (#1635), and deleting the thread — correlation, kept for a shorter period — must never take it along.
1998
+ // The engagement → assignment precedent above: ending the parent leaves the evidence standing.
1999
+ createResourcesRelationship(CoreResourceType.CONVERSATION_THREADS, CoreResourceType.CONVERSATION_MESSAGES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
2000
+ nature: RelationshipNature.REFERENCE,
2001
+ foreignKeyField: 'threadId',
2002
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,
2003
+ childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
2004
+ contextPolicy: { enabled: false },
2005
+ }),
2006
+ createResourcesRelationship(CoreResourceType.CONVERSATION_THREADS, CoreResourceType.CONVERSATION_REPLY_TOKENS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
2007
+ nature: RelationshipNature.COMPOSITION,
2008
+ foreignKeyField: 'threadId',
2009
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,
2010
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
2011
+ contextPolicy: { enabled: false },
2012
+ }),
2013
+ // ── RECEIVING EMAIL (#1600) ──────────────────────────────────────────
2014
+ //
2015
+ // The three organization-scoped resources are the organization's. The organization-deletion hook reads the
2016
+ // domains BEFORE this cascade runs, so the provider's copies are deleted too (E9).
2017
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.INBOUND_EMAILS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
2018
+ isPrimaryScope: true,
2019
+ nature: RelationshipNature.COMPOSITION,
2020
+ // IMPERSONALIZE_AND_RETAIN, as for conversation messages (#1635): a received letter keeps a statutory
2021
+ // ground, so the tenant purge keeps it restricted until its BUSINESS_RECORDS period ends and the
2022
+ // retention-class sweep deletes it — its raw MIME and attachment files with it.
2023
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, strategy: ChildLifecycleStrategy.IMPERSONALIZE_AND_RETAIN, maxDepth: 1 } } },
2024
+ foreignKeyField: 'organizationId',
2025
+ contextPolicy: { enabled: false },
2026
+ }),
2027
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_EMAIL_DOMAINS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
2028
+ isPrimaryScope: true,
2029
+ nature: RelationshipNature.COMPOSITION,
2030
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
2031
+ foreignKeyField: 'organizationId',
2032
+ contextPolicy: { enabled: false },
2033
+ }),
2034
+ // The CLIENT organization owns its mailboxes. The firm's domain is named by a plain id, never an edge:
2035
+ // a navigable edge from one tenant's row into another tenant's is what the model refuses.
2036
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.CLIENT_MAILBOXES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
2037
+ isPrimaryScope: true,
2038
+ nature: RelationshipNature.COMPOSITION,
2039
+ childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
2040
+ foreignKeyField: 'organizationId',
2041
+ contextPolicy: { enabled: false },
2042
+ }),
2043
+ // Application-wide, the retention-enforcement records shape: an address, never ambient context.
2044
+ createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.INBOUND_ADDRESS_TOMBSTONES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
2045
+ isPrimaryScope: true,
2046
+ foreignKeyField: 'applicationId',
2047
+ parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
2048
+ accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,
2049
+ nature: RelationshipNature.REFERENCE,
2050
+ contextPolicy: { enabled: false },
1431
2051
  }),
1432
2052
  ];
1433
2053
  export const coreShared_ResourcesConfigurations_FactoryMap = {
@@ -1445,7 +2065,15 @@ export const coreShared_ResourcesConfigurations_FactoryMap = {
1445
2065
  [CoreResourceType.ORGANIZATION_PROFILES]: organizationProfileResourceConfiguration_InitializationFactory,
1446
2066
  [CoreResourceType.ORGANIZATION_PREFERENCES]: organizationPreferencesResourceConfiguration_InitializationFactory,
1447
2067
  [CoreResourceType.PLATFORM_ACCESS_GRANTS]: platformAccessGrantsResourceConfiguration_InitializationFactory,
2068
+ [CoreResourceType.LEGAL_HOLDS]: legalHoldsResourceConfiguration_InitializationFactory,
2069
+ [CoreResourceType.SERVICE_PROVIDER_RELATIONSHIPS]: serviceProviderRelationshipsResourceConfiguration_InitializationFactory,
2070
+ [CoreResourceType.SERVICE_ENGAGEMENTS]: serviceEngagementsResourceConfiguration_InitializationFactory,
2071
+ [CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS]: serviceEngagementAssignmentsResourceConfiguration_InitializationFactory,
2072
+ [CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED_SETTINGS]: serviceProviderActivityFeedSettingsResourceConfiguration_InitializationFactory,
2073
+ [CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED]: serviceProviderActivityFeedResourceConfiguration_InitializationFactory,
2074
+ [CoreResourceType.SERVICE_PROVIDER_CAPABILITY_GRANTS]: serviceProviderCapabilityGrantsResourceConfiguration_InitializationFactory,
1448
2075
  [CoreResourceType.APPLICATION_ACCESS_GRANTS]: applicationAccessGrantsResourceConfiguration_InitializationFactory,
2076
+ [CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS]: systemOfRecordPartitionAssignmentsResourceConfiguration_InitializationFactory,
1449
2077
  [CoreResourceType.ORGANIZATION_NOTIFICATIONS]: organizationNotificationsResourceConfiguration_InitializationFactory,
1450
2078
  [CoreResourceType.ORGANIZATION_FEATURES]: organizationFeaturesResourceConfiguration_InitializationFactory,
1451
2079
  [CoreResourceType.USER_FEATURES]: userFeaturesResourceConfiguration_InitializationFactory,
@@ -1487,6 +2115,16 @@ export const coreShared_ResourcesConfigurations_FactoryMap = {
1487
2115
  // Queue System Resources (internal infrastructure)
1488
2116
  [CoreResourceType.JOB_EXECUTIONS]: jobExecution_ResourceConfiguration_InitializationFactory,
1489
2117
  [CoreResourceType.JOB_PAYLOAD_STORAGE]: jobPayloadStorage_ResourceConfiguration_InitializationFactory,
2118
+ [CoreResourceType.PROVIDER_CALL_RECORDS]: providerCallRecordsResourceConfiguration_InitializationFactory,
2119
+ [CoreResourceType.MODEL_CALL_ATTRIBUTIONS]: modelCallAttributionsResourceConfiguration_InitializationFactory,
2120
+ [CoreResourceType.MODEL_COST_PERIOD_AGGREGATES]: modelCostPeriodAggregatesResourceConfiguration_InitializationFactory,
2121
+ // Agent-work decisions (#1599): the two polymorphic record families, and the organization's settings and ledger.
2122
+ ...agentWorkDecisionsPolymorphicFactories,
2123
+ ...agentWorkDecisionContentsPolymorphicFactories,
2124
+ [CoreResourceType.AGENT_WORK_CAPTURE_SETTINGS]: agentWorkCaptureSettingsResourceConfiguration_InitializationFactory,
2125
+ [CoreResourceType.EVALUATION_EXPORT_AUTHORIZATIONS]: evaluationExportAuthorizationsResourceConfiguration_InitializationFactory,
2126
+ [CoreResourceType.EVALUATION_DATASET_EXPORTS]: evaluationDatasetExportsResourceConfiguration_InitializationFactory,
2127
+ [CoreResourceType.RETENTION_ENFORCEMENT_RECORDS]: retentionEnforcementRecordsResourceConfiguration_InitializationFactory,
1490
2128
  // Flows-Actors Execution Resource (persisted flow/actor system executions)
1491
2129
  ...flowActorExecutionsPolymorphicFactories,
1492
2130
  // Flows-Actors Task Resource (the WORK plane behind the A2A `Task` object)
@@ -1496,6 +2134,7 @@ export const coreShared_ResourcesConfigurations_FactoryMap = {
1496
2134
  // Authentication Resources
1497
2135
  [CoreResourceType.USER_IDENTITY_LINKS]: userIdentityLinksResourceConfiguration_InitializationFactory,
1498
2136
  [CoreResourceType.OAUTH_CONSENT_GRANTS]: oauthConsentGrantsResourceConfiguration_InitializationFactory,
2137
+ [CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES]: userGovernedDocumentAcceptancesResourceConfiguration_InitializationFactory,
1499
2138
  // Anonymous Session Resources (W7.3a)
1500
2139
  [CoreResourceType.ANONYMOUS_USERS]: anonymousUsersResourceConfiguration_InitializationFactory,
1501
2140
  // Inbound Contacts (Phase 0.5 — public marketing-site lead capture, Q-E=B)
@@ -1514,10 +2153,20 @@ export const coreShared_ResourcesConfigurations_FactoryMap = {
1514
2153
  ...ssoConnectionPolymorphicFactories,
1515
2154
  ...siemExportConfigPolymorphicFactories,
1516
2155
  ...siemDeliveryDlqPolymorphicFactories,
2156
+ ...siemDeliveryOutboxPolymorphicFactories,
1517
2157
  ...scimTokensPolymorphicFactories,
1518
2158
  ...scimProvisioningConfigPolymorphicFactories,
1519
2159
  // M2M Outbound Webhook Resources — polymorphic dual-scope (2 × 2 = 4 entries)
1520
2160
  ...webhookConfigPolymorphicFactories,
1521
2161
  ...m2mWebhookDeliveryLogPolymorphicFactories,
2162
+ // Inbound deliveries — polymorphic dual-scope (#1596)
2163
+ ...inboundDeliveryPolymorphicFactories,
2164
+ [CoreResourceType.CONVERSATION_THREADS]: conversationThreadsResourceConfiguration_InitializationFactory,
2165
+ [CoreResourceType.CONVERSATION_MESSAGES]: conversationMessagesResourceConfiguration_InitializationFactory,
2166
+ [CoreResourceType.CONVERSATION_REPLY_TOKENS]: conversationReplyTokensResourceConfiguration_InitializationFactory,
2167
+ [CoreResourceType.INBOUND_EMAILS]: inboundEmailsResourceConfiguration_InitializationFactory,
2168
+ [CoreResourceType.ORGANIZATION_EMAIL_DOMAINS]: organizationEmailDomainsResourceConfiguration_InitializationFactory,
2169
+ [CoreResourceType.CLIENT_MAILBOXES]: clientMailboxesResourceConfiguration_InitializationFactory,
2170
+ [CoreResourceType.INBOUND_ADDRESS_TOMBSTONES]: inboundAddressTombstonesResourceConfiguration_InitializationFactory,
1522
2171
  };
1523
2172
  //# sourceMappingURL=resources-registry.shared.core.definitions.js.map