@wildo-ai/saas-models 1.1.5 → 1.1.7

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 (1295) hide show
  1. package/dist/esm/__tests__/setup.d.ts.map +1 -1
  2. package/dist/esm/__tests__/setup.js.map +1 -1
  3. package/dist/esm/_inspect.d.ts.map +1 -1
  4. package/dist/esm/_inspect.js.map +1 -1
  5. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts.map +1 -1
  6. package/dist/esm/applications/application-metadata.shared.resources-config.schemas.js.map +1 -1
  7. package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -1
  8. package/dist/esm/applications/application-subject.shared.schemas.js.map +1 -1
  9. package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
  10. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js +2 -1
  11. package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
  12. package/dist/esm/applications/applications-context.schemas.d.ts +176 -2
  13. package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
  14. package/dist/esm/applications/applications-context.schemas.js.map +1 -1
  15. package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
  16. package/dist/esm/applications/applications.shared.resources-config.schemas.js +3 -2
  17. package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
  18. package/dist/esm/applications/applications.shared.schemas.d.ts +7 -5
  19. package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
  20. package/dist/esm/applications/applications.shared.schemas.js +6 -4
  21. package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
  22. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +10 -1
  23. package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
  24. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js +49 -15
  25. package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
  26. package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
  27. package/dist/esm/billing/billing-account.shared.schemas.js +2 -2
  28. package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
  29. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts +25 -0
  30. package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
  31. package/dist/esm/billing/billing-configuration.shared.schemas.js +19 -0
  32. package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
  33. package/dist/esm/billing/billing-enums.shared.schemas.d.ts +27 -5
  34. package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
  35. package/dist/esm/billing/billing-enums.shared.schemas.js +30 -4
  36. package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
  37. package/dist/esm/billing/billing-types.shared.schemas.d.ts +37 -11
  38. package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
  39. package/dist/esm/billing/billing-types.shared.schemas.js +31 -19
  40. package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
  41. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts +2 -0
  42. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts.map +1 -1
  43. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js +18 -7
  44. package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js.map +1 -1
  45. package/dist/esm/billing/credit-pool.shared.schemas.d.ts +2 -0
  46. package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
  47. package/dist/esm/billing/credit-pool.shared.schemas.js +7 -1
  48. package/dist/esm/billing/credit-pool.shared.schemas.js.map +1 -1
  49. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts.map +1 -1
  50. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js +6 -6
  51. package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js.map +1 -1
  52. package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
  53. package/dist/esm/billing/invoice-ref.shared.schemas.js +1 -1
  54. package/dist/esm/billing/invoice-ref.shared.schemas.js.map +1 -1
  55. package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
  56. package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
  57. package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
  58. package/dist/esm/billing/price.shared.schemas.js +5 -3
  59. package/dist/esm/billing/price.shared.schemas.js.map +1 -1
  60. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts +11 -1
  61. package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
  62. package/dist/esm/billing/product-behavior-policy.shared.schemas.js +39 -23
  63. package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
  64. package/dist/esm/billing/product-definition.shared.schemas.d.ts +30 -2
  65. package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
  66. package/dist/esm/billing/product-definition.shared.schemas.js +35 -0
  67. package/dist/esm/billing/product-definition.shared.schemas.js.map +1 -1
  68. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts +6 -3
  69. package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
  70. package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
  71. package/dist/esm/billing/product.shared.schemas.d.ts +7 -3
  72. package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
  73. package/dist/esm/billing/product.shared.schemas.js +22 -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 +8 -8
  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/promotions.shared.schemas.js.map +1 -1
  80. package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts +135 -0
  81. package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts.map +1 -0
  82. package/dist/esm/billing/public-pricing-catalog.shared.atoms.js +112 -0
  83. package/dist/esm/billing/public-pricing-catalog.shared.atoms.js.map +1 -0
  84. package/dist/esm/billing/public-pricing-catalog.shared.d.ts +30 -0
  85. package/dist/esm/billing/public-pricing-catalog.shared.d.ts.map +1 -0
  86. package/dist/esm/billing/public-pricing-catalog.shared.js +53 -0
  87. package/dist/esm/billing/public-pricing-catalog.shared.js.map +1 -0
  88. package/dist/esm/billing/referral-reward.shared.schemas.d.ts +51 -0
  89. package/dist/esm/billing/referral-reward.shared.schemas.d.ts.map +1 -0
  90. package/dist/esm/billing/referral-reward.shared.schemas.js +92 -0
  91. package/dist/esm/billing/referral-reward.shared.schemas.js.map +1 -0
  92. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts +54 -33
  93. package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
  94. package/dist/esm/billing/referral.shared.resources-config.schemas.js +56 -2
  95. package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
  96. package/dist/esm/billing/referral.shared.schemas.d.ts +22 -37
  97. package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
  98. package/dist/esm/billing/referral.shared.schemas.js +24 -44
  99. package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
  100. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +9 -1
  101. package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
  102. package/dist/esm/billing/subscription.shared.resources-config.schemas.js +55 -22
  103. package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
  104. package/dist/esm/billing/subscription.shared.schemas.d.ts +80 -5
  105. package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
  106. package/dist/esm/billing/subscription.shared.schemas.js +85 -25
  107. package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
  108. package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -1
  109. package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.map +1 -1
  110. package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts.map +1 -1
  111. package/dist/esm/billing/usage-record.shared.resources-config.schemas.js.map +1 -1
  112. package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
  113. package/dist/esm/billing/usage-record.shared.schemas.js +5 -5
  114. package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
  115. package/dist/esm/charts/aggregation-query.shared.schemas.d.ts.map +1 -1
  116. package/dist/esm/charts/aggregation-query.shared.schemas.js.map +1 -1
  117. package/dist/esm/charts/aggregation.shared.definitions.d.ts.map +1 -1
  118. package/dist/esm/charts/aggregation.shared.definitions.js.map +1 -1
  119. package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
  120. package/dist/esm/charts/chart-definition-builder.shared.js.map +1 -1
  121. package/dist/esm/companion/artifact-placement.shared.definitions.d.ts.map +1 -1
  122. package/dist/esm/companion/artifact-placement.shared.definitions.js.map +1 -1
  123. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +143 -2
  124. package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
  125. package/dist/esm/companion/provider-discovery.shared.schemas.js +84 -1
  126. package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
  127. package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts.map +1 -1
  128. package/dist/esm/companion/shared-library-companion.shared.definitions.js.map +1 -1
  129. package/dist/esm/companion-exports.d.ts.map +1 -1
  130. package/dist/esm/companion-exports.js.map +1 -1
  131. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +14 -1
  132. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  133. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +4 -0
  134. package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
  135. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts +70 -0
  136. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts.map +1 -1
  137. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js +87 -0
  138. package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js.map +1 -1
  139. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts +34 -0
  140. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -1
  141. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js +137 -3
  142. package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -1
  143. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts +7 -0
  144. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
  145. package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js.map +1 -1
  146. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +28 -2
  147. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
  148. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js +29 -8
  149. package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js.map +1 -1
  150. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +29 -6
  151. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
  152. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +38 -9
  153. package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
  154. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +1822 -146
  155. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
  156. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +1777 -87
  157. package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
  158. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts +10 -0
  159. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
  160. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +148 -7
  161. package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
  162. package/dist/esm/compliance/data-classification/data-classification.shared.schemas.d.ts.map +1 -1
  163. package/dist/esm/compliance/data-classification/data-classification.shared.schemas.js.map +1 -1
  164. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -1
  165. package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -1
  166. package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
  167. package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
  168. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -1
  169. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -1
  170. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -1
  171. package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -1
  172. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +2 -0
  173. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
  174. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +2 -0
  175. package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
  176. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -1
  177. package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -1
  178. package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
  179. package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
  180. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -1
  181. package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -1
  182. package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -1
  183. package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -1
  184. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts +17 -8
  185. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -1
  186. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +43 -20
  187. package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -1
  188. package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -1
  189. package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js.map +1 -1
  190. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts +38 -0
  191. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
  192. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js +39 -0
  193. package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -1
  194. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts +35 -0
  195. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts.map +1 -0
  196. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js +82 -0
  197. package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js.map +1 -0
  198. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts +37 -0
  199. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts.map +1 -0
  200. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js +223 -0
  201. package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js.map +1 -0
  202. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts +222 -0
  203. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts.map +1 -0
  204. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js +331 -0
  205. package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js.map +1 -0
  206. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
  207. package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
  208. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +37 -3
  209. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
  210. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +33 -4
  211. package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
  212. package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts.map +1 -1
  213. package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.js.map +1 -1
  214. package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -1
  215. package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.js.map +1 -1
  216. package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
  217. package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
  218. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts +52 -0
  219. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts.map +1 -0
  220. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js +116 -0
  221. package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js.map +1 -0
  222. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts +11 -0
  223. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts.map +1 -0
  224. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js +11 -0
  225. package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js.map +1 -0
  226. package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
  227. package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
  228. package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts +93 -0
  229. package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts.map +1 -0
  230. package/dist/esm/compliance/privacy/retention-binding.shared.utils.js +149 -0
  231. package/dist/esm/compliance/privacy/retention-binding.shared.utils.js.map +1 -0
  232. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts +43 -0
  233. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts.map +1 -0
  234. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js +106 -0
  235. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js.map +1 -0
  236. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts +209 -0
  237. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts.map +1 -0
  238. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js +226 -0
  239. package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js.map +1 -0
  240. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts +129 -5
  241. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -1
  242. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js +128 -4
  243. package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js.map +1 -1
  244. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts +53 -0
  245. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts.map +1 -0
  246. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js +74 -0
  247. package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js.map +1 -0
  248. package/dist/esm/compliance/privacy/sharing.shared.schemas.d.ts.map +1 -1
  249. package/dist/esm/compliance/privacy/sharing.shared.schemas.js.map +1 -1
  250. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts +311 -0
  251. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts.map +1 -0
  252. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js +355 -0
  253. package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js.map +1 -0
  254. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -1
  255. package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -1
  256. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +178 -39
  257. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
  258. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +145 -35
  259. package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
  260. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -1
  261. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js +26 -0
  262. package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js.map +1 -1
  263. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts +9 -0
  264. package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
  265. package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
  266. package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -1
  267. package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -1
  268. package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -1
  269. package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -1
  270. package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
  271. package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
  272. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +109 -1
  273. package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
  274. package/dist/esm/config/app-configuration-shared.shared.schemas.js +57 -0
  275. package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
  276. package/dist/esm/config/app-frontend-type.shared.schemas.d.ts.map +1 -1
  277. package/dist/esm/config/app-frontend-type.shared.schemas.js.map +1 -1
  278. package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
  279. package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
  280. package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
  281. package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
  282. package/dist/esm/config/configuration-validation.shared.schemas.d.ts.map +1 -1
  283. package/dist/esm/config/configuration-validation.shared.schemas.js.map +1 -1
  284. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +69 -0
  285. package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
  286. package/dist/esm/config/entity-identity-config.shared.schemas.js +93 -0
  287. package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
  288. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +16 -16
  289. package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
  290. package/dist/esm/config/frontend/chart-definition.shared.schemas.js.map +1 -1
  291. package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
  292. package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
  293. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +160 -61
  294. package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
  295. package/dist/esm/config/frontend/navigation.shared.schemas.js +297 -65
  296. package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
  297. package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
  298. package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
  299. package/dist/esm/config/postgresql.shared.schemas.d.ts.map +1 -1
  300. package/dist/esm/config/postgresql.shared.schemas.js.map +1 -1
  301. package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -1
  302. package/dist/esm/config/registration-acquisition-policy.shared.utils.js.map +1 -1
  303. package/dist/esm/config-authoring.entry.d.ts.map +1 -1
  304. package/dist/esm/config-authoring.entry.js.map +1 -1
  305. package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +1 -1
  306. package/dist/esm/crdt/crdt-merge.shared.utils.js.map +1 -1
  307. package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts.map +1 -1
  308. package/dist/esm/data-seeding/data-seeding-config.shared.schemas.js.map +1 -1
  309. package/dist/esm/errors/caught-error-description.shared.utils.d.ts +69 -0
  310. package/dist/esm/errors/caught-error-description.shared.utils.d.ts.map +1 -0
  311. package/dist/esm/errors/caught-error-description.shared.utils.js +77 -0
  312. package/dist/esm/errors/caught-error-description.shared.utils.js.map +1 -0
  313. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +76 -3
  314. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
  315. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js +76 -2
  316. package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
  317. package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
  318. package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
  319. package/dist/esm/errors/errors.shared.schemas.d.ts +20 -1
  320. package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
  321. package/dist/esm/errors/errors.shared.schemas.js +16 -9
  322. package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
  323. package/dist/esm/errors/errors.shared.utils.d.ts +0 -24
  324. package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
  325. package/dist/esm/errors/errors.shared.utils.js +0 -39
  326. package/dist/esm/errors/errors.shared.utils.js.map +1 -1
  327. package/dist/esm/errors/resource-access-forbidden.shared.error.d.ts.map +1 -1
  328. package/dist/esm/errors/resource-access-forbidden.shared.error.js.map +1 -1
  329. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts +6 -7
  330. package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -1
  331. package/dist/esm/errors/thrown-value-description.shared.utils.js +6 -7
  332. package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -1
  333. package/dist/esm/errors/zod-issue-formatting.shared.utils.d.ts.map +1 -1
  334. package/dist/esm/errors/zod-issue-formatting.shared.utils.js.map +1 -1
  335. package/dist/esm/exports/tabular-csv.shared.utils.d.ts.map +1 -1
  336. package/dist/esm/exports/tabular-csv.shared.utils.js.map +1 -1
  337. package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts +70 -0
  338. package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts.map +1 -0
  339. package/dist/esm/external-data/external-data-pipeline-description.shared.js +92 -0
  340. package/dist/esm/external-data/external-data-pipeline-description.shared.js.map +1 -0
  341. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts +154 -0
  342. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts.map +1 -0
  343. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js +161 -0
  344. package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js.map +1 -0
  345. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +1071 -23
  346. package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
  347. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +1065 -17
  348. package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
  349. package/dist/esm/external-data/external-data-provenance.shared.d.ts +71 -0
  350. package/dist/esm/external-data/external-data-provenance.shared.d.ts.map +1 -0
  351. package/dist/esm/external-data/external-data-provenance.shared.js +88 -0
  352. package/dist/esm/external-data/external-data-provenance.shared.js.map +1 -0
  353. package/dist/esm/external-data.exports.d.ts +5 -0
  354. package/dist/esm/external-data.exports.d.ts.map +1 -1
  355. package/dist/esm/external-data.exports.js +11 -0
  356. package/dist/esm/external-data.exports.js.map +1 -1
  357. package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -1
  358. package/dist/esm/external-providers/compose-provider-registry.shared.js.map +1 -1
  359. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +17 -2
  360. package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
  361. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +22 -4
  362. package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
  363. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
  364. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +3 -0
  365. package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
  366. package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -1
  367. package/dist/esm/external-providers/engine-capability-surface.shared.js +2 -0
  368. package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -1
  369. package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
  370. package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
  371. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +152 -1
  372. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
  373. package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.js.map +1 -1
  374. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +4 -3
  375. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
  376. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +4 -3
  377. package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
  378. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts +45 -0
  379. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -1
  380. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js +14 -0
  381. package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -1
  382. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +188 -4
  383. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
  384. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +76 -9
  385. package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
  386. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts +175 -33
  387. package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -1
  388. package/dist/esm/external-providers/frontend-provider-public-config.shared.js +247 -42
  389. package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -1
  390. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts +53 -0
  391. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts.map +1 -0
  392. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js +41 -0
  393. package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js.map +1 -0
  394. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts +150 -0
  395. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts.map +1 -0
  396. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js +22 -0
  397. package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js.map +1 -0
  398. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts +42 -0
  399. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts.map +1 -0
  400. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js +49 -0
  401. package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js.map +1 -0
  402. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -1
  403. package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -1
  404. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts +53 -0
  405. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -1
  406. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js +56 -0
  407. package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -1
  408. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +34 -0
  409. package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
  410. package/dist/esm/external-providers/provider-capability.shared.schemas.js +34 -0
  411. package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
  412. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +341 -4
  413. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
  414. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +270 -20
  415. package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
  416. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts +6 -2
  417. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -1
  418. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js +6 -2
  419. package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -1
  420. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +174 -1
  421. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
  422. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +125 -0
  423. package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
  424. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +3 -3
  425. package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
  426. package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
  427. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts +42 -0
  428. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts.map +1 -0
  429. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js +57 -0
  430. package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js.map +1 -0
  431. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts +6 -0
  432. package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
  433. package/dist/esm/external-providers/provider-protocol.shared.schemas.js +6 -0
  434. package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
  435. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts +58 -0
  436. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts.map +1 -0
  437. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js +35 -0
  438. package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js.map +1 -0
  439. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts +115 -0
  440. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts.map +1 -0
  441. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js +137 -0
  442. package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js.map +1 -0
  443. package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -1
  444. package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -1
  445. package/dist/esm/external-providers/provider-usage-cost.shared.d.ts +73 -0
  446. package/dist/esm/external-providers/provider-usage-cost.shared.d.ts.map +1 -0
  447. package/dist/esm/external-providers/provider-usage-cost.shared.js +171 -0
  448. package/dist/esm/external-providers/provider-usage-cost.shared.js.map +1 -0
  449. package/dist/esm/external-providers/provider-usage-pricing.example.d.ts +12 -0
  450. package/dist/esm/external-providers/provider-usage-pricing.example.d.ts.map +1 -0
  451. package/dist/esm/external-providers/provider-usage-pricing.example.js +40 -0
  452. package/dist/esm/external-providers/provider-usage-pricing.example.js.map +1 -0
  453. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts +68 -32
  454. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
  455. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js +63 -52
  456. package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js.map +1 -1
  457. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +5 -5
  458. package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
  459. package/dist/esm/features/application-features.shared.resources-config.schemas.js +13 -5
  460. package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
  461. package/dist/esm/features/connected-feature.example.d.ts.map +1 -1
  462. package/dist/esm/features/connected-feature.example.js +2 -1
  463. package/dist/esm/features/connected-feature.example.js.map +1 -1
  464. package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
  465. package/dist/esm/features/core-feature-definitions.shared.js +2 -1
  466. package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
  467. package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
  468. package/dist/esm/features/feature-builders.shared.js.map +1 -1
  469. package/dist/esm/features/feature-definition.shared.schemas.d.ts +2 -11
  470. package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
  471. package/dist/esm/features/feature-definition.shared.schemas.js +0 -12
  472. package/dist/esm/features/feature-definition.shared.schemas.js.map +1 -1
  473. package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
  474. package/dist/esm/features/feature-registry.shared.js.map +1 -1
  475. package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
  476. package/dist/esm/features/feature-resolution.shared.schemas.js.map +1 -1
  477. package/dist/esm/features/scope-features.shared.schemas.d.ts +31 -17
  478. package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
  479. package/dist/esm/features/scope-features.shared.schemas.js +27 -5
  480. package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
  481. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +5 -5
  482. package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
  483. package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
  484. package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -1
  485. package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -1
  486. package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -1
  487. package/dist/esm/files/file-upload-grant.shared.schemas.js.map +1 -1
  488. package/dist/esm/files/files.shared.resources-config.schemas.d.ts.map +1 -1
  489. package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
  490. package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
  491. package/dist/esm/files/files.shared.schemas.js.map +1 -1
  492. package/dist/esm/files/files.shared.utils.d.ts.map +1 -1
  493. package/dist/esm/files/files.shared.utils.js.map +1 -1
  494. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  495. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.js.map +1 -1
  496. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts.map +1 -1
  497. package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.js.map +1 -1
  498. package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts.map +1 -1
  499. package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.js.map +1 -1
  500. package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -1
  501. package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.js.map +1 -1
  502. package/dist/esm/flows-actors/actors.shared.schemas.d.ts +127 -11
  503. package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
  504. package/dist/esm/flows-actors/actors.shared.schemas.js +32 -1
  505. package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
  506. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +16 -0
  507. package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
  508. package/dist/esm/flows-actors/agent-traceability.shared.schemas.js +7 -0
  509. package/dist/esm/flows-actors/agent-traceability.shared.schemas.js.map +1 -1
  510. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts +68 -0
  511. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts.map +1 -0
  512. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js +276 -0
  513. package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js.map +1 -0
  514. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts +468 -0
  515. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts.map +1 -0
  516. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js +472 -0
  517. package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js.map +1 -0
  518. package/dist/esm/flows-actors/agents.shared.schemas.d.ts +2 -2
  519. package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
  520. package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
  521. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts +118 -0
  522. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts.map +1 -0
  523. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js +144 -0
  524. package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js.map +1 -0
  525. package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
  526. package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
  527. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -1
  528. package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js.map +1 -1
  529. package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts.map +1 -1
  530. package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.js.map +1 -1
  531. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +142 -8
  532. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
  533. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +209 -11
  534. package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
  535. package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts.map +1 -1
  536. package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.js.map +1 -1
  537. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts.map +1 -1
  538. package/dist/esm/flows-actors/flows-actors-task.shared.schemas.js.map +1 -1
  539. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +37 -2
  540. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
  541. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js +30 -2
  542. package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
  543. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts +0 -11
  544. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
  545. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js +12 -5
  546. package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js.map +1 -1
  547. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts +45 -6
  548. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
  549. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js +31 -5
  550. package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
  551. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts.map +1 -1
  552. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js +30 -30
  553. package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
  554. package/dist/esm/flows-actors/flows-actors.system.shared.definitions.d.ts.map +1 -1
  555. package/dist/esm/flows-actors/flows-actors.system.shared.definitions.js.map +1 -1
  556. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +15 -7
  557. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
  558. package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
  559. package/dist/esm/flows-actors/flows.shared.schemas.d.ts +15 -0
  560. package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
  561. package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
  562. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts +506 -0
  563. package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -1
  564. package/dist/esm/flows-actors/human-decision.shared.schemas.js +502 -0
  565. package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -1
  566. package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
  567. package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
  568. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts +46 -0
  569. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts.map +1 -0
  570. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js +65 -0
  571. package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js.map +1 -0
  572. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts +120 -0
  573. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts.map +1 -0
  574. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js +165 -0
  575. package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js.map +1 -0
  576. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts +45 -0
  577. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts.map +1 -0
  578. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js +127 -0
  579. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js.map +1 -0
  580. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts +83 -0
  581. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts.map +1 -0
  582. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js +97 -0
  583. package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js.map +1 -0
  584. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts +136 -0
  585. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts.map +1 -0
  586. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js +90 -0
  587. package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js.map +1 -0
  588. package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
  589. package/dist/esm/flows-actors/prompt-ir.shared.schemas.js.map +1 -1
  590. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts +5 -1
  591. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -1
  592. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js +19 -4
  593. package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -1
  594. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts +13 -15
  595. package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -1
  596. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js +30 -17
  597. package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -1
  598. package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts +268 -0
  599. package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts.map +1 -0
  600. package/dist/esm/flows-actors/review-deadlines.shared.schemas.js +576 -0
  601. package/dist/esm/flows-actors/review-deadlines.shared.schemas.js.map +1 -0
  602. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +30 -0
  603. package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
  604. package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
  605. package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts +129 -0
  606. package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts.map +1 -0
  607. package/dist/esm/flows-actors/work-attribution.shared.schemas.js +141 -0
  608. package/dist/esm/flows-actors/work-attribution.shared.schemas.js.map +1 -0
  609. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts +22 -1
  610. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts.map +1 -1
  611. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js +23 -0
  612. package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map +1 -1
  613. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +61 -0
  614. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -1
  615. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +61 -0
  616. package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -1
  617. package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
  618. package/dist/esm/guidance/guidance-flow.shared.schemas.js.map +1 -1
  619. package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.d.ts.map +1 -1
  620. package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.js.map +1 -1
  621. package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
  622. package/dist/esm/guidance/guidance-state.shared.schemas.js +11 -10
  623. package/dist/esm/guidance/guidance-state.shared.schemas.js.map +1 -1
  624. package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -1
  625. package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -1
  626. package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +1 -1
  627. package/dist/esm/guidance/lifecycle-config.shared.schemas.js.map +1 -1
  628. package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.d.ts.map +1 -1
  629. package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.js.map +1 -1
  630. package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
  631. package/dist/esm/guidance/lifecycle-state.shared.schemas.js +6 -6
  632. package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
  633. package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
  634. package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
  635. package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
  636. package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
  637. package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -1
  638. package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -1
  639. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
  640. package/dist/esm/guidance/progression-state.shared.resources-config.schemas.js.map +1 -1
  641. package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
  642. package/dist/esm/guidance/progression-state.shared.schemas.js +8 -7
  643. package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
  644. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -1
  645. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +1 -1
  646. package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
  647. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +550 -30
  648. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
  649. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +498 -34
  650. package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
  651. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts +62 -0
  652. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts.map +1 -0
  653. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js +66 -0
  654. package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js.map +1 -0
  655. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts +133 -0
  656. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts.map +1 -0
  657. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js +191 -0
  658. package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js.map +1 -0
  659. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts +37 -6
  660. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -1
  661. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js +37 -6
  662. package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -1
  663. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -1
  664. package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -1
  665. package/dist/esm/i18n/application-config-vocabulary.shared.d.ts +36 -0
  666. package/dist/esm/i18n/application-config-vocabulary.shared.d.ts.map +1 -0
  667. package/dist/esm/i18n/application-config-vocabulary.shared.js +39 -0
  668. package/dist/esm/i18n/application-config-vocabulary.shared.js.map +1 -0
  669. package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts +11 -0
  670. package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts.map +1 -0
  671. package/dist/esm/i18n/engine-open-vocabulary-values.shared.js +14 -0
  672. package/dist/esm/i18n/engine-open-vocabulary-values.shared.js.map +1 -0
  673. package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts +20 -0
  674. package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts.map +1 -0
  675. package/dist/esm/i18n/engine-open-vocabulary.shared.js +21 -0
  676. package/dist/esm/i18n/engine-open-vocabulary.shared.js.map +1 -0
  677. package/dist/esm/i18n/interpolate-label-params.shared.utils.d.ts.map +1 -1
  678. package/dist/esm/i18n/interpolate-label-params.shared.utils.js.map +1 -1
  679. package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
  680. package/dist/esm/i18n/labelling.dto.shared.schemas.js.map +1 -1
  681. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts +94 -0
  682. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts.map +1 -0
  683. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js +206 -0
  684. package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js.map +1 -0
  685. package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts +169 -0
  686. package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts.map +1 -0
  687. package/dist/esm/inbound/conversation-threads.shared.schemas.js +231 -0
  688. package/dist/esm/inbound/conversation-threads.shared.schemas.js.map +1 -0
  689. package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts +195 -0
  690. package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts.map +1 -0
  691. package/dist/esm/inbound/inbound-channels.shared.schemas.js +244 -0
  692. package/dist/esm/inbound/inbound-channels.shared.schemas.js.map +1 -0
  693. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts +36 -0
  694. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts.map +1 -0
  695. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js +169 -0
  696. package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js.map +1 -0
  697. package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts +404 -0
  698. package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts.map +1 -0
  699. package/dist/esm/inbound/inbound-delivery.shared.schemas.js +449 -0
  700. package/dist/esm/inbound/inbound-delivery.shared.schemas.js.map +1 -0
  701. package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts +46 -0
  702. package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts.map +1 -0
  703. package/dist/esm/inbound/inbound-endpoint-env.shared.js +57 -0
  704. package/dist/esm/inbound/inbound-endpoint-env.shared.js.map +1 -0
  705. package/dist/esm/index.d.ts +58 -1
  706. package/dist/esm/index.d.ts.map +1 -1
  707. package/dist/esm/index.js +67 -1
  708. package/dist/esm/index.js.map +1 -1
  709. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -1
  710. package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -1
  711. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -1
  712. package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -1
  713. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -1
  714. package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -1
  715. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -1
  716. package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -1
  717. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts +28 -0
  718. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -1
  719. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js +29 -0
  720. package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -1
  721. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +95 -1
  722. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -1
  723. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +121 -0
  724. package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -1
  725. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -1
  726. package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -1
  727. package/dist/esm/meta-workflows.exports.d.ts +0 -1
  728. package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
  729. package/dist/esm/meta-workflows.exports.js +0 -1
  730. package/dist/esm/meta-workflows.exports.js.map +1 -1
  731. package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
  732. package/dist/esm/monitoring/monitoring.shared.schemas.js.map +1 -1
  733. package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
  734. package/dist/esm/notifications/email/email-context.shared.schemas.js.map +1 -1
  735. package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -1
  736. package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -1
  737. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +7 -1
  738. package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
  739. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js +35 -0
  740. package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
  741. package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -1
  742. package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
  743. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts +131 -0
  744. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts.map +1 -0
  745. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js +258 -0
  746. package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js.map +1 -0
  747. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts +448 -0
  748. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts.map +1 -0
  749. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js +530 -0
  750. package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js.map +1 -0
  751. package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.d.ts.map +1 -1
  752. package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.js.map +1 -1
  753. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
  754. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +4 -3
  755. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
  756. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
  757. package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
  758. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts +16 -1
  759. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
  760. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +46 -16
  761. package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
  762. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts +19 -12
  763. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
  764. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js +77 -12
  765. package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
  766. package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
  767. package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
  768. package/dist/esm/notifications/notification-badges.schemas.d.ts +35 -3
  769. package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
  770. package/dist/esm/notifications/notification-badges.schemas.js +43 -3
  771. package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
  772. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
  773. package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
  774. package/dist/esm/notifications/notifications.shared.schemas.d.ts +66 -399
  775. package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
  776. package/dist/esm/notifications/notifications.shared.schemas.js +111 -58
  777. package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
  778. package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -1
  779. package/dist/esm/organizations/application-owner-organization.shared.schemas.js.map +1 -1
  780. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +5 -5
  781. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts.map +1 -1
  782. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js +6 -6
  783. package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
  784. package/dist/esm/organizations/organization-features.shared.schemas.d.ts.map +1 -1
  785. package/dist/esm/organizations/organization-features.shared.schemas.js.map +1 -1
  786. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +3 -0
  787. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
  788. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js +60 -14
  789. package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
  790. package/dist/esm/organizations/organization-members.shared.schemas.d.ts +3 -0
  791. package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
  792. package/dist/esm/organizations/organization-members.shared.schemas.js +30 -0
  793. package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
  794. package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.d.ts.map +1 -1
  795. package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.js.map +1 -1
  796. package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
  797. package/dist/esm/organizations/organization-notifications.shared.schemas.js +9 -9
  798. package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
  799. package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  800. package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.js.map +1 -1
  801. package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
  802. package/dist/esm/organizations/organization-preferences.shared.schemas.js +4 -4
  803. package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
  804. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts +0 -1
  805. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts.map +1 -1
  806. package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.js.map +1 -1
  807. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +5 -5
  808. package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
  809. package/dist/esm/organizations/organization-profile.shared.schemas.js +15 -10
  810. package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
  811. package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts.map +1 -1
  812. package/dist/esm/organizations/organization-unit-inheritance.shared.js.map +1 -1
  813. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts.map +1 -1
  814. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js +1 -1
  815. package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js.map +1 -1
  816. package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
  817. package/dist/esm/organizations/organization-unit-members.shared.schemas.js +2 -1
  818. package/dist/esm/organizations/organization-unit-members.shared.schemas.js.map +1 -1
  819. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts +63 -1
  820. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
  821. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js +106 -5
  822. package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js.map +1 -1
  823. package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -1
  824. package/dist/esm/organizations/organization-unit-narrowing.example.js.map +1 -1
  825. package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
  826. package/dist/esm/organizations/organization-unit-narrowing.shared.js +9 -0
  827. package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
  828. package/dist/esm/organizations/organization-units.shared.path.d.ts.map +1 -1
  829. package/dist/esm/organizations/organization-units.shared.path.js.map +1 -1
  830. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
  831. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js +7 -2
  832. package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
  833. package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
  834. package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
  835. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +3 -1
  836. package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
  837. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +12 -8
  838. package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
  839. package/dist/esm/organizations/organizations.shared.schemas.d.ts +7 -2
  840. package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
  841. package/dist/esm/organizations/organizations.shared.schemas.js +51 -1
  842. package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
  843. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts +58 -0
  844. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts.map +1 -0
  845. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js +188 -0
  846. package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js.map +1 -0
  847. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts +122 -0
  848. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts.map +1 -0
  849. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js +136 -0
  850. package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js.map +1 -0
  851. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts +36 -0
  852. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts.map +1 -0
  853. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js +155 -0
  854. package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js.map +1 -0
  855. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts +229 -0
  856. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts.map +1 -0
  857. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js +290 -0
  858. package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js.map +1 -0
  859. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts +48 -0
  860. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts.map +1 -0
  861. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js +50 -0
  862. package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js.map +1 -0
  863. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts +97 -0
  864. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts.map +1 -0
  865. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js +572 -0
  866. package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js.map +1 -0
  867. package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts +590 -0
  868. package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts.map +1 -0
  869. package/dist/esm/organizations/service-provider-relationships.shared.schemas.js +869 -0
  870. package/dist/esm/organizations/service-provider-relationships.shared.schemas.js.map +1 -0
  871. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +36 -6
  872. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
  873. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +57 -16
  874. package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
  875. package/dist/esm/provider-registration-runtime.exports.d.ts +0 -1
  876. package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
  877. package/dist/esm/provider-registration-runtime.exports.js +0 -1
  878. package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
  879. package/dist/esm/public-runtime/index.d.ts +30 -11
  880. package/dist/esm/public-runtime/index.d.ts.map +1 -1
  881. package/dist/esm/public-runtime/index.js +30 -11
  882. package/dist/esm/public-runtime/index.js.map +1 -1
  883. package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
  884. package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
  885. package/dist/esm/queue/jobs.shared.schemas.d.ts +30 -2
  886. package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
  887. package/dist/esm/queue/jobs.shared.schemas.js +12 -0
  888. package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
  889. package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
  890. package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
  891. package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
  892. package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
  893. package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
  894. package/dist/esm/queue/queues.shared.utils.js.map +1 -1
  895. package/dist/esm/queue/rabbitmq-queue-args.shared.d.ts.map +1 -1
  896. package/dist/esm/queue/rabbitmq-queue-args.shared.js.map +1 -1
  897. package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -1
  898. package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -1
  899. package/dist/esm/requests/header-keys.shared.d.ts +6 -0
  900. package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
  901. package/dist/esm/requests/header-keys.shared.js +7 -0
  902. package/dist/esm/requests/header-keys.shared.js.map +1 -1
  903. package/dist/esm/requests/http-requests.shared.d.ts.map +1 -1
  904. package/dist/esm/requests/http-requests.shared.js.map +1 -1
  905. package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -1
  906. package/dist/esm/requests/idempotency-key.shared.js.map +1 -1
  907. package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
  908. package/dist/esm/requests/manual-controllers-routes-documentation.js +147 -8
  909. package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
  910. package/dist/esm/requests/manual-controllers-routes-urls.d.ts +51 -23
  911. package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
  912. package/dist/esm/requests/manual-controllers-routes-urls.js +64 -0
  913. package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
  914. package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
  915. package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
  916. package/dist/esm/requests/websocket.shared.schemas.d.ts +78 -13
  917. package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
  918. package/dist/esm/requests/websocket.shared.schemas.js +91 -18
  919. package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
  920. package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
  921. package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
  922. package/dist/esm/resources/collection-query-parameters.shared.d.ts.map +1 -1
  923. package/dist/esm/resources/collection-query-parameters.shared.js.map +1 -1
  924. package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
  925. package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
  926. package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts +21 -0
  927. package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts.map +1 -0
  928. package/dist/esm/resources/embedded-resource-mark.shared.utils.js +22 -0
  929. package/dist/esm/resources/embedded-resource-mark.shared.utils.js.map +1 -0
  930. package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
  931. package/dist/esm/resources/relationship-display.shared.schemas.js.map +1 -1
  932. package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
  933. package/dist/esm/resources/resources-config.shared.factory.js +812 -32
  934. package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
  935. package/dist/esm/resources/resources-config.shared.schemas.d.ts +244 -48
  936. package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
  937. package/dist/esm/resources/resources-config.shared.schemas.js +151 -17
  938. package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
  939. package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
  940. package/dist/esm/resources/resources-registry.shared.core.definitions.js +369 -12
  941. package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
  942. package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
  943. package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
  944. package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
  945. package/dist/esm/resources/resources-serialization.shared.schemas.js.map +1 -1
  946. package/dist/esm/resources/resources.shared.core.definitions.d.ts +45 -0
  947. package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
  948. package/dist/esm/resources/resources.shared.core.definitions.js +92 -0
  949. package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
  950. package/dist/esm/resources/resources.shared.schemas.d.ts +2 -17
  951. package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
  952. package/dist/esm/resources/resources.shared.schemas.js +24 -20
  953. package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
  954. package/dist/esm/resources/resources.shared.utils.d.ts +16 -8
  955. package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
  956. package/dist/esm/resources/resources.shared.utils.js +16 -8
  957. package/dist/esm/resources/resources.shared.utils.js.map +1 -1
  958. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts +2 -2
  959. package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -1
  960. package/dist/esm/resources/utils/collection-export.shared.utils.js +4 -2
  961. package/dist/esm/resources/utils/collection-export.shared.utils.js.map +1 -1
  962. package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
  963. package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
  964. package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -1
  965. package/dist/esm/resources/utils/composition-seedability.validation.js.map +1 -1
  966. package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -1
  967. package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.js.map +1 -1
  968. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -1
  969. package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -1
  970. package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -1
  971. package/dist/esm/resources/utils/duplicate-relationship-registration.validation.js.map +1 -1
  972. package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -1
  973. package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -1
  974. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts +103 -0
  975. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts.map +1 -0
  976. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js +275 -0
  977. package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js.map +1 -0
  978. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -1
  979. package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -1
  980. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts +51 -0
  981. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts.map +1 -0
  982. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js +28 -0
  983. package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js.map +1 -0
  984. package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -1
  985. package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.js.map +1 -1
  986. package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -1
  987. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js +30 -19
  988. package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -1
  989. package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
  990. package/dist/esm/resources/utils/repository-dto-builder.utils.js.map +1 -1
  991. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts +2 -0
  992. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts.map +1 -0
  993. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js +33 -0
  994. package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js.map +1 -0
  995. package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -1
  996. package/dist/esm/resources/utils/required-fk-fillability.validation.js.map +1 -1
  997. package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts.map +1 -1
  998. package/dist/esm/resources/utils/resource-operation-type-guards.utils.js.map +1 -1
  999. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts +15 -0
  1000. package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
  1001. package/dist/esm/resources/utils/resource-polymorphism.factory.js +6 -1
  1002. package/dist/esm/resources/utils/resource-polymorphism.factory.js.map +1 -1
  1003. package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
  1004. package/dist/esm/resources/utils/resource-polymorphism.relationships.js.map +1 -1
  1005. package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
  1006. package/dist/esm/resources/utils/resource-polymorphism.schemas.js +30 -4
  1007. package/dist/esm/resources/utils/resource-polymorphism.schemas.js.map +1 -1
  1008. package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
  1009. package/dist/esm/resources/utils/resource-polymorphism.utils.js.map +1 -1
  1010. package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +1 -1
  1011. package/dist/esm/resources/utils/resource-subtree.utils.js.map +1 -1
  1012. package/dist/esm/resources/utils/resources-config-context-needs.utils.d.ts.map +1 -1
  1013. package/dist/esm/resources/utils/resources-config-context-needs.utils.js.map +1 -1
  1014. package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
  1015. package/dist/esm/resources/utils/resources-config-naming.utils.js.map +1 -1
  1016. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +46 -0
  1017. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
  1018. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js +205 -22
  1019. package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
  1020. package/dist/esm/resources/utils/resources-config-operations.path.utils.d.ts.map +1 -1
  1021. package/dist/esm/resources/utils/resources-config-operations.path.utils.js.map +1 -1
  1022. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts.map +1 -1
  1023. package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js.map +1 -1
  1024. package/dist/esm/resources/utils/resources-config-operations.utils.d.ts.map +1 -1
  1025. package/dist/esm/resources/utils/resources-config-operations.utils.js.map +1 -1
  1026. package/dist/esm/resources/utils/resources-serialization.utils.d.ts +19 -2
  1027. package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
  1028. package/dist/esm/resources/utils/resources-serialization.utils.js +4 -0
  1029. package/dist/esm/resources/utils/resources-serialization.utils.js.map +1 -1
  1030. package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
  1031. package/dist/esm/resources/utils/resources-summary.utils.js.map +1 -1
  1032. package/dist/esm/resources/utils/schema-family-builder.utils.d.ts.map +1 -1
  1033. package/dist/esm/resources/utils/schema-family-builder.utils.js.map +1 -1
  1034. package/dist/esm/resources/utils/schema-type-inference.utils.d.ts.map +1 -1
  1035. package/dist/esm/resources/utils/schema-type-inference.utils.js.map +1 -1
  1036. package/dist/esm/resources/utils/schema-type-utils.d.ts.map +1 -1
  1037. package/dist/esm/resources/utils/schema-type-utils.js.map +1 -1
  1038. package/dist/esm/resources/utils/schema-variant-resolver.utils.d.ts.map +1 -1
  1039. package/dist/esm/resources/utils/schema-variant-resolver.utils.js.map +1 -1
  1040. package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
  1041. package/dist/esm/resources/utils/shared-persistence-collection.utils.js +15 -9
  1042. package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
  1043. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
  1044. package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
  1045. package/dist/esm/resources/work-unit.shared.schemas.d.ts +20 -0
  1046. package/dist/esm/resources/work-unit.shared.schemas.d.ts.map +1 -0
  1047. package/dist/esm/resources/work-unit.shared.schemas.js +19 -0
  1048. package/dist/esm/resources/work-unit.shared.schemas.js.map +1 -0
  1049. package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
  1050. package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
  1051. package/dist/esm/runtime/execution-context.shared.schemas.d.ts +48 -1
  1052. package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
  1053. package/dist/esm/runtime/execution-context.shared.schemas.js +101 -9
  1054. package/dist/esm/runtime/execution-context.shared.schemas.js.map +1 -1
  1055. package/dist/esm/runtime/runtime.shared.schemas.d.ts.map +1 -1
  1056. package/dist/esm/runtime/runtime.shared.schemas.js.map +1 -1
  1057. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts +1 -0
  1058. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
  1059. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +37 -20
  1060. package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
  1061. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts +1 -0
  1062. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
  1063. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +61 -48
  1064. package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
  1065. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts +26 -0
  1066. package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
  1067. package/dist/esm/security/api-keys/api-keys.shared.schemas.js +39 -5
  1068. package/dist/esm/security/api-keys/api-keys.shared.schemas.js.map +1 -1
  1069. package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts.map +1 -1
  1070. package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.js.map +1 -1
  1071. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +5 -3
  1072. package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
  1073. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +6 -0
  1074. package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
  1075. package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
  1076. package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
  1077. package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
  1078. package/dist/esm/security/authentications/authentication.shared.utils.js.map +1 -1
  1079. package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
  1080. package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
  1081. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -1
  1082. package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
  1083. package/dist/esm/security/authentications/mfa-backup-code-contract.shared.d.ts.map +1 -1
  1084. package/dist/esm/security/authentications/mfa-backup-code-contract.shared.js.map +1 -1
  1085. package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -1
  1086. package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -1
  1087. package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts.map +1 -1
  1088. package/dist/esm/security/authentications/password-reset.shared.dto.schemas.js.map +1 -1
  1089. package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
  1090. package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
  1091. package/dist/esm/security/authentications/same-origin-redirect-path.shared.d.ts.map +1 -1
  1092. package/dist/esm/security/authentications/same-origin-redirect-path.shared.js.map +1 -1
  1093. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
  1094. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +2 -2
  1095. package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
  1096. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts +11 -0
  1097. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
  1098. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js +19 -8
  1099. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js.map +1 -1
  1100. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +1 -1
  1101. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
  1102. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +5 -5
  1103. package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
  1104. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
  1105. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +11 -11
  1106. package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
  1107. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts +2 -0
  1108. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
  1109. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js +9 -0
  1110. package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js.map +1 -1
  1111. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts +169 -0
  1112. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts.map +1 -0
  1113. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js +162 -0
  1114. package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js.map +1 -0
  1115. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
  1116. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js +10 -8
  1117. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
  1118. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.d.ts.map +1 -1
  1119. package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.js.map +1 -1
  1120. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -1
  1121. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -1
  1122. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -1
  1123. package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.map +1 -1
  1124. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.d.ts.map +1 -1
  1125. package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.js.map +1 -1
  1126. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts.map +1 -1
  1127. package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js.map +1 -1
  1128. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
  1129. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js +8 -8
  1130. package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -1
  1131. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
  1132. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +17 -16
  1133. package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
  1134. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
  1135. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +28 -25
  1136. package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
  1137. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts +17 -6
  1138. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
  1139. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js +90 -38
  1140. package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
  1141. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +0 -24
  1142. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
  1143. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js +79 -68
  1144. package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
  1145. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts +8 -1
  1146. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
  1147. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +7 -0
  1148. package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
  1149. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  1150. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +1 -1
  1151. package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -1
  1152. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -1
  1153. package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -1
  1154. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
  1155. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js +7 -7
  1156. package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
  1157. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
  1158. package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
  1159. package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
  1160. package/dist/esm/security/authorizations/roles.shared.defaults.js +56 -0
  1161. package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
  1162. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +77 -1
  1163. package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
  1164. package/dist/esm/security/authorizations/roles.shared.schemas.js +90 -0
  1165. package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
  1166. package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
  1167. package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
  1168. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts +86 -0
  1169. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts.map +1 -0
  1170. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js +40 -0
  1171. package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js.map +1 -0
  1172. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +2 -1
  1173. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
  1174. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js +2 -1
  1175. package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -1
  1176. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +2 -1
  1177. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
  1178. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +2 -1
  1179. package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
  1180. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +46 -14
  1181. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
  1182. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +81 -21
  1183. package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
  1184. package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts +69 -0
  1185. package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts.map +1 -0
  1186. package/dist/esm/security/credential-rotation-grace.shared.utils.js +77 -0
  1187. package/dist/esm/security/credential-rotation-grace.shared.utils.js.map +1 -0
  1188. package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.d.ts.map +1 -1
  1189. package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.js.map +1 -1
  1190. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
  1191. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +28 -8
  1192. package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
  1193. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +3 -1
  1194. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
  1195. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +89 -14
  1196. package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
  1197. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts +1 -0
  1198. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
  1199. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js +25 -4
  1200. package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
  1201. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts.map +1 -1
  1202. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.js.map +1 -1
  1203. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -1
  1204. package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -1
  1205. package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -1
  1206. package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.js.map +1 -1
  1207. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts +7 -1
  1208. package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -1
  1209. package/dist/esm/security/outbound-target-control.shared.schemas.js +6 -0
  1210. package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -1
  1211. package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts +143 -0
  1212. package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts.map +1 -0
  1213. package/dist/esm/security/submission-challenge/submission-challenge.shared.js +123 -0
  1214. package/dist/esm/security/submission-challenge/submission-challenge.shared.js.map +1 -0
  1215. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts +384 -0
  1216. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts.map +1 -0
  1217. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js +327 -0
  1218. package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js.map +1 -0
  1219. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -1
  1220. package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -1
  1221. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts +121 -8
  1222. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -1
  1223. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js +83 -4
  1224. package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -1
  1225. package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -1
  1226. package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -1
  1227. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts +266 -8
  1228. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -1
  1229. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js +291 -7
  1230. package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -1
  1231. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts +313 -3
  1232. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -1
  1233. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js +369 -3
  1234. package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -1
  1235. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -1
  1236. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js +2 -1
  1237. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -1
  1238. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -1
  1239. package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -1
  1240. package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
  1241. package/dist/esm/testing/resource-config-builders.js.map +1 -1
  1242. package/dist/esm/testing.d.ts.map +1 -1
  1243. package/dist/esm/testing.js.map +1 -1
  1244. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
  1245. package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -1
  1246. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +5 -3
  1247. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
  1248. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js +19 -10
  1249. package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
  1250. package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
  1251. package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
  1252. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
  1253. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +6 -0
  1254. package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
  1255. package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
  1256. package/dist/esm/users/inbound-contacts.shared.schemas.js.map +1 -1
  1257. package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -1
  1258. package/dist/esm/users/user-consent-decision.shared.utils.js.map +1 -1
  1259. package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts.map +1 -1
  1260. package/dist/esm/users/user-credentials.shared.resources-config.schemas.js.map +1 -1
  1261. package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
  1262. package/dist/esm/users/user-credentials.shared.schemas.js.map +1 -1
  1263. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
  1264. package/dist/esm/users/user-identity-links.shared.resources-config.schemas.js.map +1 -1
  1265. package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
  1266. package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
  1267. package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -1
  1268. package/dist/esm/users/user-preferences-reset.shared.utils.js +2 -2
  1269. package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
  1270. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +0 -3
  1271. package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  1272. package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
  1273. package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  1274. package/dist/esm/users/user-profiles.shared.resources-config.schemas.js.map +1 -1
  1275. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +0 -3
  1276. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
  1277. package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.map +1 -1
  1278. package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.d.ts.map +1 -1
  1279. package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.js.map +1 -1
  1280. package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
  1281. package/dist/esm/users/user-self.shared.resources-config.schemas.js +1 -1
  1282. package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
  1283. package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
  1284. package/dist/esm/users/users.shared.resources-config.schemas.js +82 -20
  1285. package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
  1286. package/dist/esm/users/users.shared.schemas.d.ts +12 -9
  1287. package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
  1288. package/dist/esm/users/users.shared.schemas.js +49 -18
  1289. package/dist/esm/users/users.shared.schemas.js.map +1 -1
  1290. package/dist/tsconfig.build.tsbuildinfo +1 -1
  1291. package/package.json +4 -4
  1292. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts +0 -8
  1293. package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +0 -1
  1294. package/dist/esm/compliance/privacy/data-retention.shared.schemas.js +0 -7
  1295. package/dist/esm/compliance/privacy/data-retention.shared.schemas.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"queues.shared.utils.js","sourceRoot":"","sources":["../../../../src/queue/que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shared Utilities\n * \n * All queue-related utility classes consolidated in a single file.\n * Includes: queue naming, retry delay calculations (legacy functions).\n */\n\nimport { RetryPolicy_BackoffType } from '../errors/errors.shared.schemas';\nimport { QueueRetryConfig, QUEUE_RETRY_DEFAULTS, QueueVariant } from './queues.shared.schemas';\n\n// ============================================================================\n// QUEUE NAMING UTILITIES\n// ============================================================================\n\n/**\n * Utilities for building queue names.\n *\n * Mono-env architecture: each deployment has its own infra, so env is NOT\n * part of queue names. Uniqueness comes from appId alone.\n *\n * The `appId` here is the application's canonical identifier — its Mongo `_id`,\n * projected into the app runtime as env `APPLICATION_ID` and exposed by\n * `AppConfigurationService.applicationId`. It is NOT the human-readable\n * `appSlug`. Every producer AND consumer of a given app's queues must derive\n * the name from the same identifier; keying one side on the slug orphans the\n * queue (nothing consumes it) and a slug rename would silently orphan it again.\n *\n * Queue naming convention:\n * - App queues: wildo.queue.{appId}.{category}[.{variant}]\n * - Reply queues: wildo.reply.{appId}.{podId}\n * - Domain queues: wildo.queue.{appId}.domain.{domainName}\n * - Platform queues: wildo.queue.platform.{msName}.{category}[.{variant}]\n */\nexport class QueueNamingUtils {\n /**\n * Build queue name following the convention:\n * wildo.queue.{appId}.{category}[.{variant}]\n *\n * @param appId - Canonical application identifier (the app's Mongo `_id` /\n * env `APPLICATION_ID`), NOT the human-readable slug. Producer and consumer\n * must agree on this identifier or the queue is orphaned.\n * @param category - Queue category (operations, scheduled, callbacks, domain.*)\n * @param variant - Optional variant (priority, deadletter)\n * @returns Formatted queue name\n *\n * @example\n * QueueNamingUtils.buildQueueName('6a08488438bc965729b8b9ff', 'operations')\n * // => 'wildo.queue.6a08488438bc965729b8b9ff.operations'\n */\n static buildQueueName(\n appId: string,\n category: string,\n variant?: QueueVariant\n ): string {\n const base = `wildo.queue.${appId}.${category}`;\n return variant ? `${base}.${variant}` : base;\n }\n\n /**\n * Build reply queue name for RPC pattern.\n * Reply queues are exclusive, auto-delete, and transient.\n * \n * wildo.reply.{appId}.{podId}\n */\n static buildReplyQueueName(appId: string, podId: string, principalSegment?: string): string {\n // `principalSegment` makes an RPC reply queue attributable to the RUNTIME\n // that owns it, which is what lets a broker permission separate one\n // runtime's replies from another's.\n //\n // Without it the name is `wildo.reply.<appId>.<podId>` and `podId` is a\n // per-PROCESS token carrying no principal — so a minion's reply queue and\n // the application backend's differ only by an opaque suffix, and no regex\n // can admit one while refusing the other. Narrowing a minion's broker `read`\n // therefore refused its OWN replies and crash-looped it (2026-08-12).\n //\n // OPTIONAL, and absent means the historical layout. Existing callers keep\n // producing exactly the names they produce today; only a caller that knows\n // its principal opts in.\n return principalSegment\n ? `wildo.reply.${appId}.${principalSegment}.${podId}`\n : `wildo.reply.${appId}.${podId}`;\n }\n\n /**\n * Build domain-specific queue name.\n *\n * wildo.queue.{appId}.domain.{domainName}\n */\n static buildDomainQueueName(appId: string, domainName: string): string {\n return `wildo.queue.${appId}.domain.${domainName}`;\n }\n\n /**\n * Build a delay (retry-hold) queue name for durable backoff.\n *\n * A delay queue holds a failed job for a fixed TTL, then dead-letters it back\n * to its source queue for re-delivery. One queue exists PER distinct delay\n * value so every message in it shares the same `x-message-ttl` — this avoids\n * RabbitMQ's per-message-TTL head-of-line blocking (where a short-delay message\n * would wait behind a longer-delay one ahead of it in the queue). The delay is\n * embedded in the name, so the set of delay queues stays bounded by the (few)\n * distinct backoff delays an app produces (`baseDelayMs × 2^attempt`, capped).\n *\n * `{sourceQueueName}.delay.{delayMs}`\n *\n * @param sourceQueueName - Full name of the queue the message returns to on expiry\n * @param delayMs - Hold duration in ms (becomes the delay queue's `x-message-ttl`)\n * @example\n * QueueNamingUtils.buildDelayQueueName('wildo.queue.my-app.operations', 2000)\n * // => 'wildo.queue.my-app.operations.delay.2000'\n */\n static buildDelayQueueName(sourceQueueName: string, delayMs: number): string {\n return `${sourceQueueName}.delay.${delayMs}`;\n }\n\n /**\n * Build minion-tick queue name (KD-12 of\n * `.claude/plans/minions-and-workers-implementation.md`).\n *\n * `wildo.queue.{appId}.minion-tick.{minionName}`\n *\n * Each minion subscribes only to its own per-minion queue so the\n * backend-api and the minion (which both connect to the same RabbitMQ\n * vhost) do not compete on the shared `scheduled` queue. The publisher\n * (`platform-crontabs-batches-manager`) routes `MINION_TICK` ticks to\n * this per-minion queue; `SCHEDULED_CRON` ticks keep flowing to the\n * shared `scheduled` queue (consumed by the backend-api executor).\n */\n static buildMinionTickQueueName(appId: string, minionName: string): string {\n return `wildo.queue.${appId}.minion-tick.${minionName}`;\n }\n\n /**\n * Build platform microservice queue name.\n * Platform queues don't include environment as they're shared infrastructure.\n * \n * wildo.queue.platform.{msName}.{category}[.{variant}]\n * \n * @param msName - Microservice name\n * @param category - Queue category\n * @param variant - Optional variant\n * @returns Formatted platform queue name\n */\n static buildPlatformQueueName(\n msName: string,\n category: string,\n variant?: QueueVariant\n ): string {\n const base = `wildo.queue.platform.${msName}.${category}`;\n return variant ? `${base}.${variant}` : base;\n }\n\n /**\n * Parse a queue name to extract its components.\n * \n * @param queueName - Full queue name to parse\n * @returns Parsed components or null if invalid format\n */\n static parseQueueName(queueName: string): {\n type: 'app' | 'platform' | 'reply';\n identifier: string;\n category?: string;\n variant?: string;\n } | null {\n const parts = queueName.split('.');\n \n if (parts.length < 3 || parts[0] !== 'wildo') {\n return null;\n }\n\n // Reply queue: wildo.reply.{appId}.{podId}\n // or wildo.reply.{appId}.{principalSegment}.{podId}\n //\n // `category` stays the LAST segment in both layouts, so it remains the podId\n // rather than silently becoming the principal for principal-scoped names —\n // a caller reading `category` expecting a pod identity must keep getting\n // one.\n if (parts[1] === 'reply') {\n if (parts.length < 4) return null;\n return {\n type: 'reply',\n identifier: parts[2],\n category: parts[parts.length - 1]!,\n // Present only for the principal-scoped layout; `undefined` for the\n // historical one rather than an empty string, so \"no principal in the\n // name\" is distinguishable from \"a principal whose name is empty\".\n variant: parts.length > 4 ? parts[3] : undefined,\n };\n }\n\n // Queue: wildo.queue.{...}\n if (parts[1] === 'queue') {\n if (parts[2] === 'platform') {\n // Platform queue: wildo.queue.platform.{msName}.{category}[.{variant}]\n return {\n type: 'platform',\n identifier: parts[3],\n category: parts[4],\n variant: parts[5],\n };\n } else {\n // App queue: wildo.queue.{appId}.{category}[.{variant}]\n if (parts.length < 4) return null;\n return {\n type: 'app',\n identifier: parts[2],\n category: parts[3],\n variant: parts[4],\n };\n }\n }\n\n return null;\n }\n\n /**\n * Check if a queue name is a dead letter queue.\n */\n static isDeadLetterQueue(queueName: string): boolean {\n return queueName.endsWith('.deadletter');\n }\n\n /**\n * Check if a queue name is a priority queue.\n */\n static isPriorityQueue(queueName: string): boolean {\n return queueName.endsWith('.priority');\n }\n\n /**\n * Check if a queue name is a reply queue.\n */\n static isReplyQueue(queueName: string): boolean {\n return queueName.startsWith('wildo.reply.');\n }\n\n /**\n * Get the base queue name (without variant suffix).\n * \n * @param queueName - Full queue name\n * @returns Base queue name without variant\n */\n static getBaseQueueName(queueName: string): string {\n if (queueName.endsWith('.priority') || queueName.endsWith('.deadletter')) {\n return queueName.substring(0, queueName.lastIndexOf('.'));\n }\n return queueName;\n }\n}\n\n// ============================================================================\n// STANDALONE FUNCTIONS\n// Convenience wrappers around QueueNamingUtils class\n// ============================================================================\n\n/**\n * Build queue name following the convention.\n * wildo.queue.{appId}.{category}[.{variant}]\n */\nexport function buildQueueName(\n appId: string,\n category: string,\n variant?: QueueVariant\n): string {\n return QueueNamingUtils.buildQueueName(appId, category, variant);\n}\n\n/**\n * Build reply queue name for RPC pattern.\n * wildo.reply.{appId}.{podId}\n */\nexport function buildReplyQueueName(appId: string, podId: string, principalSegment?: string): string {\n return QueueNamingUtils.buildReplyQueueName(appId, podId, principalSegment);\n}\n\n/**\n * Build domain queue name.\n * wildo.queue.{appId}.domain.{domainName}\n */\nexport function buildDomainQueueName(appId: string, domainName: string): string {\n return QueueNamingUtils.buildDomainQueueName(appId, domainName);\n}\n\n/**\n * Build a delay (retry-hold) queue name for durable backoff.\n * {sourceQueueName}.delay.{delayMs}\n */\nexport function buildDelayQueueName(sourceQueueName: string, delayMs: number): string {\n return QueueNamingUtils.buildDelayQueueName(sourceQueueName, delayMs);\n}\n\n/**\n * Build per-minion tick queue name (KD-12).\n * wildo.queue.{appId}.minion-tick.{minionName}\n */\nexport function buildMinionTickQueueName(appId: string, minionName: string): string {\n return QueueNamingUtils.buildMinionTickQueueName(appId, minionName);\n}\n\n/**\n * Calculate retry delay based on policy and attempt number.\n * \n * @param config Retry configuration\n * @param attempt Current retry attempt (0-indexed)\n * @returns Delay in milliseconds (capped at maxDelayMs)\n */\nexport function calculateRetryDelay(config: QueueRetryConfig, attempt: number): number {\n let delay: number;\n \n switch (config.retryPolicy) {\n case RetryPolicy_BackoffType.FIXED:\n delay = config.baseDelayMs;\n break;\n case RetryPolicy_BackoffType.LINEAR:\n delay = config.baseDelayMs * (attempt + 1);\n break;\n case RetryPolicy_BackoffType.EXPONENTIAL:\n default:\n delay = config.baseDelayMs * Math.pow(2, attempt);\n break;\n }\n \n return Math.min(delay, config.maxDelayMs);\n}\n\n/**\n * Estimate retry duration assuming each retry takes exactly config.timeoutMs.\n * Excludes the initial attempt and broker waiting time. Worker execution is not\n * capped by timeoutMs; the legacy function name does not imply an enforced maximum.\n *\n * @param config Retry configuration\n * @returns Estimated retry duration in milliseconds under the stated assumption\n */\nexport function calculateMaxRetryDuration(config: QueueRetryConfig): number {\n let totalDelay = 0;\n for (let i = 0; i < config.maxRetries; i++) {\n totalDelay += calculateRetryDelay(config, i);\n totalDelay += config.timeoutMs;\n }\n return totalDelay;\n}\n\n// ============================================================================\n// BROKER CONNECTION URL\n// ============================================================================\n\n/**\n * The RabbitMQ default virtual host, whose NAME is the single character `/`.\n *\n * Every broker ships with it, and an app that authors no\n * `backingServices.rabbitmq.vhost` lands here (isolation then comes from the\n * per-app user's permission regex rather than from a dedicated vhost).\n *\n * Note the deliberate ambiguity this constant resolves: `/` is BOTH the name of\n * the default vhost AND the AMQP URI path separator. Conflating the two is what\n * broke the two pre-consolidation URL builders — see\n * {@link buildRabbitMQConnectionUrl}.\n */\nexport const DEFAULT_RABBITMQ_VHOST = '/';\n\n/** Connection inputs for {@link buildRabbitMQConnectionUrl}. */\nexport interface RabbitMQConnectionUrlParts {\n /** Broker hostname, e.g. `'localhost'`. */\n host: string;\n /** Broker AMQP port, e.g. `5672`. */\n port: number;\n /** Per-app broker username (minted by the infra provider module). */\n username: string;\n /** Per-app broker password (minted by the infra provider module). */\n password: string;\n /**\n * Virtual host **name** — e.g. `'wonder-todos'`, with NO leading slash. This\n * is the value authored at `backingServices.rabbitmq.vhost` in\n * `wildo.infra.<envName>.config.ts` and the same name the infra provider\n * passes to `ensureVhost()` (`PUT /api/vhosts/{name}`), so the string that\n * names the vhost on the broker is the string that appears here.\n *\n * Omit it — or pass {@link DEFAULT_RABBITMQ_VHOST} — to connect to the broker\n * default vhost.\n */\n vhost?: string;\n}\n\n/**\n * Assemble the AMQP connection URL for a broker + vhost + credential triple.\n *\n * This is the SINGLE owner of AMQP URL assembly across the monorepo. It exists\n * because the URL was previously built ad-hoc at three call sites with three\n * different conventions, two of which were wrong in the same way — they\n * interpolated the vhost directly after the port with no separator:\n *\n * ```ts\n * `amqp://${user}:${pass}@${host}:${port}${vhost || '/'}` // ← the old, broken form\n * ```\n *\n * That form only ever worked because the `'/'` fallback doubles as the URI path\n * separator, so the default case accidentally produced a well-formed URL with an\n * empty path. The moment a real vhost was threaded through it produced\n * `amqp://…@localhost:5672wonder-todos` — a malformed authority that fails to\n * connect. A silent misconfiguration (every app quietly sharing the default\n * vhost) was therefore load-bearing for the URL builder not crashing, which is\n * why the two defects had to be fixed together.\n *\n * The encoding rules, per the AMQP URI spec (RFC 3986 userinfo + path):\n *\n * - **Userinfo is percent-encoded.** Minted passwords are random and may contain\n * `@`, `:` or `/`, any of which would otherwise terminate the userinfo or\n * authority early and silently retarget the connection.\n * - **The path separator is unconditional.** The `/` after the port is always\n * emitted; it is URI syntax, never vhost data.\n * - **An EMPTY path means the default vhost.** So both an omitted vhost and the\n * literal default-vhost name `'/'` collapse to `amqp://host:port/`. This is\n * byte-for-byte what the previous builders emitted for the default case, so\n * consolidating cannot regress a currently-connected deployment.\n * - **A named vhost is percent-encoded** into exactly one path segment, so a\n * vhost containing `/` encodes to `%2F` and addresses one vhost rather than\n * splitting into a bogus second segment.\n *\n * @example\n * buildRabbitMQConnectionUrl({ host: 'localhost', port: 5672, username: 'wildo', password: 'pw' });\n * // → 'amqp://wildo:pw@localhost:5672/' (default vhost)\n *\n * buildRabbitMQConnectionUrl({ host: 'localhost', port: 5672, username: 'wildo', password: 'pw', vhost: 'wonder-todos' });\n * // → 'amqp://wildo:pw@localhost:5672/wonder-todos' (per-app vhost)\n */\nexport function buildRabbitMQConnectionUrl(parts: RabbitMQConnectionUrlParts): string {\n const { host, port, username, password, vhost } = parts;\n\n // An empty path addresses the broker default vhost. Encoding the literal name\n // `'/'` as `%2F` would ALSO address it, but emitting the empty path keeps this\n // builder's default-case output identical to the pre-consolidation builders.\n const vhostPath =\n !vhost || vhost === DEFAULT_RABBITMQ_VHOST ? '' : encodeURIComponent(vhost);\n\n return `amqp://${encodeURIComponent(username)}:${encodeURIComponent(password)}@${host}:${port}/${vhostPath}`;\n}\n"]}
1
+ {"version":3,"file":"queues.shared.utils.js","sourceRoot":"","sources":["../../../src/queue/queues.shared.utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAG1E,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,OAAO,gBAAgB;IAC3B;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,cAAc,CACnB,KAAa,EACb,QAAgB,EAChB,OAAsB;QAEtB,MAAM,IAAI,GAAG,eAAe,KAAK,IAAI,QAAQ,EAAE,CAAC;QAChD,OAAO,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,OAAO,EAAE,CAAC,CAAC,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BAAmB,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;QAC7C,UAAU,IAAI,MAAM,CAAC,SAAS,CAAC;IACjC,CAAC;IACD,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAE/E;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAyB1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,UAAU,0BAA0B,CAAC,KAAiC;IAC1E,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAExD,8EAA8E;IAC9E,+EAA+E;IAC/E,6EAA6E;IAC7E,MAAM,SAAS,GACb,CAAC,KAAK,IAAI,KAAK,KAAK,sBAAsB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;IAE9E,OAAO,UAAU,kBAAkB,CAAC,QAAQ,CAAC,IAAI,kBAAkB,CAAC,QAAQ,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,SAAS,EAAE,CAAC;AAC/G,CAAC","sourcesContent":["/**\n * Queues Shared Utilities\n * \n * All queue-related utility classes consolidated in a single file.\n * Includes: queue naming, retry delay calculations (legacy functions).\n */\n\nimport { RetryPolicy_BackoffType } from '../errors/errors.shared.schemas';\nimport { QueueRetryConfig, QUEUE_RETRY_DEFAULTS, QueueVariant } from './queues.shared.schemas';\n\n// ============================================================================\n// QUEUE NAMING UTILITIES\n// ============================================================================\n\n/**\n * Utilities for building queue names.\n *\n * Mono-env architecture: each deployment has its own infra, so env is NOT\n * part of queue names. Uniqueness comes from appId alone.\n *\n * The `appId` here is the application's canonical identifier — its Mongo `_id`,\n * projected into the app runtime as env `APPLICATION_ID` and exposed by\n * `AppConfigurationService.applicationId`. It is NOT the human-readable\n * `appSlug`. Every producer AND consumer of a given app's queues must derive\n * the name from the same identifier; keying one side on the slug orphans the\n * queue (nothing consumes it) and a slug rename would silently orphan it again.\n *\n * Queue naming convention:\n * - App queues: wildo.queue.{appId}.{category}[.{variant}]\n * - Reply queues: wildo.reply.{appId}.{podId}\n * - Domain queues: wildo.queue.{appId}.domain.{domainName}\n * - Platform queues: wildo.queue.platform.{msName}.{category}[.{variant}]\n */\nexport class QueueNamingUtils {\n /**\n * Build queue name following the convention:\n * wildo.queue.{appId}.{category}[.{variant}]\n *\n * @param appId - Canonical application identifier (the app's Mongo `_id` /\n * env `APPLICATION_ID`), NOT the human-readable slug. Producer and consumer\n * must agree on this identifier or the queue is orphaned.\n * @param category - Queue category (operations, scheduled, callbacks, domain.*)\n * @param variant - Optional variant (priority, deadletter)\n * @returns Formatted queue name\n *\n * @example\n * QueueNamingUtils.buildQueueName('6a08488438bc965729b8b9ff', 'operations')\n * // => 'wildo.queue.6a08488438bc965729b8b9ff.operations'\n */\n static buildQueueName(\n appId: string,\n category: string,\n variant?: QueueVariant\n ): string {\n const base = `wildo.queue.${appId}.${category}`;\n return variant ? `${base}.${variant}` : base;\n }\n\n /**\n * Build reply queue name for RPC pattern.\n * Reply queues are exclusive, auto-delete, and transient.\n * \n * wildo.reply.{appId}.{podId}\n */\n static buildReplyQueueName(appId: string, podId: string, principalSegment?: string): string {\n // `principalSegment` makes an RPC reply queue attributable to the RUNTIME\n // that owns it, which is what lets a broker permission separate one\n // runtime's replies from another's.\n //\n // Without it the name is `wildo.reply.<appId>.<podId>` and `podId` is a\n // per-PROCESS token carrying no principal — so a minion's reply queue and\n // the application backend's differ only by an opaque suffix, and no regex\n // can admit one while refusing the other. Narrowing a minion's broker `read`\n // therefore refused its OWN replies and crash-looped it (2026-08-12).\n //\n // OPTIONAL, and absent means the historical layout. Existing callers keep\n // producing exactly the names they produce today; only a caller that knows\n // its principal opts in.\n return principalSegment\n ? `wildo.reply.${appId}.${principalSegment}.${podId}`\n : `wildo.reply.${appId}.${podId}`;\n }\n\n /**\n * Build domain-specific queue name.\n *\n * wildo.queue.{appId}.domain.{domainName}\n */\n static buildDomainQueueName(appId: string, domainName: string): string {\n return `wildo.queue.${appId}.domain.${domainName}`;\n }\n\n /**\n * Build a delay (retry-hold) queue name for durable backoff.\n *\n * A delay queue holds a failed job for a fixed TTL, then dead-letters it back\n * to its source queue for re-delivery. One queue exists PER distinct delay\n * value so every message in it shares the same `x-message-ttl` — this avoids\n * RabbitMQ's per-message-TTL head-of-line blocking (where a short-delay message\n * would wait behind a longer-delay one ahead of it in the queue). The delay is\n * embedded in the name, so the set of delay queues stays bounded by the (few)\n * distinct backoff delays an app produces (`baseDelayMs × 2^attempt`, capped).\n *\n * `{sourceQueueName}.delay.{delayMs}`\n *\n * @param sourceQueueName - Full name of the queue the message returns to on expiry\n * @param delayMs - Hold duration in ms (becomes the delay queue's `x-message-ttl`)\n * @example\n * QueueNamingUtils.buildDelayQueueName('wildo.queue.my-app.operations', 2000)\n * // => 'wildo.queue.my-app.operations.delay.2000'\n */\n static buildDelayQueueName(sourceQueueName: string, delayMs: number): string {\n return `${sourceQueueName}.delay.${delayMs}`;\n }\n\n /**\n * Build minion-tick queue name (KD-12 of\n * `.claude/plans/minions-and-workers-implementation.md`).\n *\n * `wildo.queue.{appId}.minion-tick.{minionName}`\n *\n * Each minion subscribes only to its own per-minion queue so the\n * backend-api and the minion (which both connect to the same RabbitMQ\n * vhost) do not compete on the shared `scheduled` queue. The publisher\n * (`platform-crontabs-batches-manager`) routes `MINION_TICK` ticks to\n * this per-minion queue; `SCHEDULED_CRON` ticks keep flowing to the\n * shared `scheduled` queue (consumed by the backend-api executor).\n */\n static buildMinionTickQueueName(appId: string, minionName: string): string {\n return `wildo.queue.${appId}.minion-tick.${minionName}`;\n }\n\n /**\n * Build platform microservice queue name.\n * Platform queues don't include environment as they're shared infrastructure.\n * \n * wildo.queue.platform.{msName}.{category}[.{variant}]\n * \n * @param msName - Microservice name\n * @param category - Queue category\n * @param variant - Optional variant\n * @returns Formatted platform queue name\n */\n static buildPlatformQueueName(\n msName: string,\n category: string,\n variant?: QueueVariant\n ): string {\n const base = `wildo.queue.platform.${msName}.${category}`;\n return variant ? `${base}.${variant}` : base;\n }\n\n /**\n * Parse a queue name to extract its components.\n * \n * @param queueName - Full queue name to parse\n * @returns Parsed components or null if invalid format\n */\n static parseQueueName(queueName: string): {\n type: 'app' | 'platform' | 'reply';\n identifier: string;\n category?: string;\n variant?: string;\n } | null {\n const parts = queueName.split('.');\n \n if (parts.length < 3 || parts[0] !== 'wildo') {\n return null;\n }\n\n // Reply queue: wildo.reply.{appId}.{podId}\n // or wildo.reply.{appId}.{principalSegment}.{podId}\n //\n // `category` stays the LAST segment in both layouts, so it remains the podId\n // rather than silently becoming the principal for principal-scoped names —\n // a caller reading `category` expecting a pod identity must keep getting\n // one.\n if (parts[1] === 'reply') {\n if (parts.length < 4) return null;\n return {\n type: 'reply',\n identifier: parts[2],\n category: parts[parts.length - 1]!,\n // Present only for the principal-scoped layout; `undefined` for the\n // historical one rather than an empty string, so \"no principal in the\n // name\" is distinguishable from \"a principal whose name is empty\".\n variant: parts.length > 4 ? parts[3] : undefined,\n };\n }\n\n // Queue: wildo.queue.{...}\n if (parts[1] === 'queue') {\n if (parts[2] === 'platform') {\n // Platform queue: wildo.queue.platform.{msName}.{category}[.{variant}]\n return {\n type: 'platform',\n identifier: parts[3],\n category: parts[4],\n variant: parts[5],\n };\n } else {\n // App queue: wildo.queue.{appId}.{category}[.{variant}]\n if (parts.length < 4) return null;\n return {\n type: 'app',\n identifier: parts[2],\n category: parts[3],\n variant: parts[4],\n };\n }\n }\n\n return null;\n }\n\n /**\n * Check if a queue name is a dead letter queue.\n */\n static isDeadLetterQueue(queueName: string): boolean {\n return queueName.endsWith('.deadletter');\n }\n\n /**\n * Check if a queue name is a priority queue.\n */\n static isPriorityQueue(queueName: string): boolean {\n return queueName.endsWith('.priority');\n }\n\n /**\n * Check if a queue name is a reply queue.\n */\n static isReplyQueue(queueName: string): boolean {\n return queueName.startsWith('wildo.reply.');\n }\n\n /**\n * Get the base queue name (without variant suffix).\n * \n * @param queueName - Full queue name\n * @returns Base queue name without variant\n */\n static getBaseQueueName(queueName: string): string {\n if (queueName.endsWith('.priority') || queueName.endsWith('.deadletter')) {\n return queueName.substring(0, queueName.lastIndexOf('.'));\n }\n return queueName;\n }\n}\n\n// ============================================================================\n// STANDALONE FUNCTIONS\n// Convenience wrappers around QueueNamingUtils class\n// ============================================================================\n\n/**\n * Build queue name following the convention.\n * wildo.queue.{appId}.{category}[.{variant}]\n */\nexport function buildQueueName(\n appId: string,\n category: string,\n variant?: QueueVariant\n): string {\n return QueueNamingUtils.buildQueueName(appId, category, variant);\n}\n\n/**\n * Build reply queue name for RPC pattern.\n * wildo.reply.{appId}.{podId}\n */\nexport function buildReplyQueueName(appId: string, podId: string, principalSegment?: string): string {\n return QueueNamingUtils.buildReplyQueueName(appId, podId, principalSegment);\n}\n\n/**\n * Build domain queue name.\n * wildo.queue.{appId}.domain.{domainName}\n */\nexport function buildDomainQueueName(appId: string, domainName: string): string {\n return QueueNamingUtils.buildDomainQueueName(appId, domainName);\n}\n\n/**\n * Build a delay (retry-hold) queue name for durable backoff.\n * {sourceQueueName}.delay.{delayMs}\n */\nexport function buildDelayQueueName(sourceQueueName: string, delayMs: number): string {\n return QueueNamingUtils.buildDelayQueueName(sourceQueueName, delayMs);\n}\n\n/**\n * Build per-minion tick queue name (KD-12).\n * wildo.queue.{appId}.minion-tick.{minionName}\n */\nexport function buildMinionTickQueueName(appId: string, minionName: string): string {\n return QueueNamingUtils.buildMinionTickQueueName(appId, minionName);\n}\n\n/**\n * Calculate retry delay based on policy and attempt number.\n * \n * @param config Retry configuration\n * @param attempt Current retry attempt (0-indexed)\n * @returns Delay in milliseconds (capped at maxDelayMs)\n */\nexport function calculateRetryDelay(config: QueueRetryConfig, attempt: number): number {\n let delay: number;\n \n switch (config.retryPolicy) {\n case RetryPolicy_BackoffType.FIXED:\n delay = config.baseDelayMs;\n break;\n case RetryPolicy_BackoffType.LINEAR:\n delay = config.baseDelayMs * (attempt + 1);\n break;\n case RetryPolicy_BackoffType.EXPONENTIAL:\n default:\n delay = config.baseDelayMs * Math.pow(2, attempt);\n break;\n }\n \n return Math.min(delay, config.maxDelayMs);\n}\n\n/**\n * Estimate retry duration assuming each retry takes exactly config.timeoutMs.\n * Excludes the initial attempt and broker waiting time. Worker execution is not\n * capped by timeoutMs; the legacy function name does not imply an enforced maximum.\n *\n * @param config Retry configuration\n * @returns Estimated retry duration in milliseconds under the stated assumption\n */\nexport function calculateMaxRetryDuration(config: QueueRetryConfig): number {\n let totalDelay = 0;\n for (let i = 0; i < config.maxRetries; i++) {\n totalDelay += calculateRetryDelay(config, i);\n totalDelay += config.timeoutMs;\n }\n return totalDelay;\n}\n\n// ============================================================================\n// BROKER CONNECTION URL\n// ============================================================================\n\n/**\n * The RabbitMQ default virtual host, whose NAME is the single character `/`.\n *\n * Every broker ships with it, and an app that authors no\n * `backingServices.rabbitmq.vhost` lands here (isolation then comes from the\n * per-app user's permission regex rather than from a dedicated vhost).\n *\n * Note the deliberate ambiguity this constant resolves: `/` is BOTH the name of\n * the default vhost AND the AMQP URI path separator. Conflating the two is what\n * broke the two pre-consolidation URL builders — see\n * {@link buildRabbitMQConnectionUrl}.\n */\nexport const DEFAULT_RABBITMQ_VHOST = '/';\n\n/** Connection inputs for {@link buildRabbitMQConnectionUrl}. */\nexport interface RabbitMQConnectionUrlParts {\n /** Broker hostname, e.g. `'localhost'`. */\n host: string;\n /** Broker AMQP port, e.g. `5672`. */\n port: number;\n /** Per-app broker username (minted by the infra provider module). */\n username: string;\n /** Per-app broker password (minted by the infra provider module). */\n password: string;\n /**\n * Virtual host **name** — e.g. `'wonder-todos'`, with NO leading slash. This\n * is the value authored at `backingServices.rabbitmq.vhost` in\n * `wildo.infra.<envName>.config.ts` and the same name the infra provider\n * passes to `ensureVhost()` (`PUT /api/vhosts/{name}`), so the string that\n * names the vhost on the broker is the string that appears here.\n *\n * Omit it — or pass {@link DEFAULT_RABBITMQ_VHOST} — to connect to the broker\n * default vhost.\n */\n vhost?: string;\n}\n\n/**\n * Assemble the AMQP connection URL for a broker + vhost + credential triple.\n *\n * This is the SINGLE owner of AMQP URL assembly across the monorepo. It exists\n * because the URL was previously built ad-hoc at three call sites with three\n * different conventions, two of which were wrong in the same way — they\n * interpolated the vhost directly after the port with no separator:\n *\n * ```ts\n * `amqp://${user}:${pass}@${host}:${port}${vhost || '/'}` // ← the old, broken form\n * ```\n *\n * That form only ever worked because the `'/'` fallback doubles as the URI path\n * separator, so the default case accidentally produced a well-formed URL with an\n * empty path. The moment a real vhost was threaded through it produced\n * `amqp://…@localhost:5672wonder-todos` — a malformed authority that fails to\n * connect. A silent misconfiguration (every app quietly sharing the default\n * vhost) was therefore load-bearing for the URL builder not crashing, which is\n * why the two defects had to be fixed together.\n *\n * The encoding rules, per the AMQP URI spec (RFC 3986 userinfo + path):\n *\n * - **Userinfo is percent-encoded.** Minted passwords are random and may contain\n * `@`, `:` or `/`, any of which would otherwise terminate the userinfo or\n * authority early and silently retarget the connection.\n * - **The path separator is unconditional.** The `/` after the port is always\n * emitted; it is URI syntax, never vhost data.\n * - **An EMPTY path means the default vhost.** So both an omitted vhost and the\n * literal default-vhost name `'/'` collapse to `amqp://host:port/`. This is\n * byte-for-byte what the previous builders emitted for the default case, so\n * consolidating cannot regress a currently-connected deployment.\n * - **A named vhost is percent-encoded** into exactly one path segment, so a\n * vhost containing `/` encodes to `%2F` and addresses one vhost rather than\n * splitting into a bogus second segment.\n *\n * @example\n * buildRabbitMQConnectionUrl({ host: 'localhost', port: 5672, username: 'wildo', password: 'pw' });\n * // → 'amqp://wildo:pw@localhost:5672/' (default vhost)\n *\n * buildRabbitMQConnectionUrl({ host: 'localhost', port: 5672, username: 'wildo', password: 'pw', vhost: 'wonder-todos' });\n * // → 'amqp://wildo:pw@localhost:5672/wonder-todos' (per-app vhost)\n */\nexport function buildRabbitMQConnectionUrl(parts: RabbitMQConnectionUrlParts): string {\n const { host, port, username, password, vhost } = parts;\n\n // An empty path addresses the broker default vhost. Encoding the literal name\n // `'/'` as `%2F` would ALSO address it, but emitting the empty path keeps this\n // builder's default-case output identical to the pre-consolidation builders.\n const vhostPath =\n !vhost || vhost === DEFAULT_RABBITMQ_VHOST ? '' : encodeURIComponent(vhost);\n\n return `amqp://${encodeURIComponent(username)}:${encodeURIComponent(password)}@${host}:${port}/${vhostPath}`;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"rabbitmq-queue-args.shared.d.ts","sourceRoot":"","sources":["../../../../src/queue/rabbitmq-queue-args.shared.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;;;;;CAKvB,CAAC"}
1
+ {"version":3,"file":"rabbitmq-queue-args.shared.d.ts","sourceRoot":"","sources":["../../../src/queue/rabbitmq-queue-args.shared.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;;;;;CAKvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"rabbitmq-queue-args.shared.js","sourceRoot":"","sources":["../../../../src/queue/rabbitmq-queue-args.shared.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,oBAAoB,EAAE,wBAAwB;IAC9C,uBAAuB,EAAE,2BAA2B;IACpD,WAAW,EAAE,eAAe;IAC5B,UAAU,EAAE,cAAc;CAClB,CAAC","sourcesContent":["/**\n * Canonical RabbitMQ queue argument keys.\n *\n * Single source of truth for AMQP queue arguments (x-*).\n * Used by RabbitMQ adapter when asserting queues.\n */\nexport const RabbitMQQueueArgKeys = {\n DEAD_LETTER_EXCHANGE: 'x-dead-letter-exchange',\n DEAD_LETTER_ROUTING_KEY: 'x-dead-letter-routing-key',\n MESSAGE_TTL: 'x-message-ttl',\n MAX_LENGTH: 'x-max-length',\n} as const;\n"]}
1
+ {"version":3,"file":"rabbitmq-queue-args.shared.js","sourceRoot":"","sources":["../../../src/queue/rabbitmq-queue-args.shared.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,oBAAoB,EAAE,wBAAwB;IAC9C,uBAAuB,EAAE,2BAA2B;IACpD,WAAW,EAAE,eAAe;IAC5B,UAAU,EAAE,cAAc;CAClB,CAAC","sourcesContent":["/**\n * Canonical RabbitMQ queue argument keys.\n *\n * Single source of truth for AMQP queue arguments (x-*).\n * Used by RabbitMQ adapter when asserting queues.\n */\nexport const RabbitMQQueueArgKeys = {\n DEAD_LETTER_EXCHANGE: 'x-dead-letter-exchange',\n DEAD_LETTER_ROUTING_KEY: 'x-dead-letter-routing-key',\n MESSAGE_TTL: 'x-message-ttl',\n MAX_LENGTH: 'x-max-length',\n} as const;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"rag-retrieval-health.shared.d.ts","sourceRoot":"","sources":["../../../../src/rag/rag-retrieval-health.shared.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,wBAAwB;IAClC,gFAAgF;IAChF,OAAO,YAAY;IACnB,2FAA2F;IAC3F,QAAQ,aAAa;IACrB,wFAAwF;IACxF,MAAM,WAAW;IACjB,0FAA0F;IAC1F,OAAO,YAAY;CACpB;AAED,4FAA4F;AAC5F,oBAAY,2BAA2B;IACrC,iFAAiF;IACjF,SAAS,cAAc;IACvB,yFAAyF;IACzF,cAAc,mBAAmB;IACjC,wFAAwF;IACxF,MAAM,WAAW;IACjB,4DAA4D;IAC5D,aAAa,kBAAkB;CAChC"}
1
+ {"version":3,"file":"rag-retrieval-health.shared.d.ts","sourceRoot":"","sources":["../../../src/rag/rag-retrieval-health.shared.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,wBAAwB;IAClC,gFAAgF;IAChF,OAAO,YAAY;IACnB,2FAA2F;IAC3F,QAAQ,aAAa;IACrB,wFAAwF;IACxF,MAAM,WAAW;IACjB,0FAA0F;IAC1F,OAAO,YAAY;CACpB;AAED,4FAA4F;AAC5F,oBAAY,2BAA2B;IACrC,iFAAiF;IACjF,SAAS,cAAc;IACvB,yFAAyF;IACzF,cAAc,mBAAmB;IACjC,wFAAwF;IACxF,MAAM,WAAW;IACjB,4DAA4D;IAC5D,aAAa,kBAAkB;CAChC"}
@@ -1 +1 @@
1
- {"version":3,"file":"rag-retrieval-health.shared.js","sourceRoot":"","sources":["../../../../src/rag/rag-retrieval-health.shared.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAN,IAAY,wBASX;AATD,WAAY,wBAAwB;IAClC,gFAAgF;IAChF,+CAAmB,CAAA;IACnB,2FAA2F;IAC3F,iDAAqB,CAAA;IACrB,wFAAwF;IACxF,6CAAiB,CAAA;IACjB,0FAA0F;IAC1F,+CAAmB,CAAA;AACrB,CAAC,EATW,wBAAwB,KAAxB,wBAAwB,QASnC;AAED,4FAA4F;AAC5F,MAAM,CAAN,IAAY,2BASX;AATD,WAAY,2BAA2B;IACrC,iFAAiF;IACjF,sDAAuB,CAAA;IACvB,yFAAyF;IACzF,gEAAiC,CAAA;IACjC,wFAAwF;IACxF,gDAAiB,CAAA;IACjB,4DAA4D;IAC5D,8DAA+B,CAAA;AACjC,CAAC,EATW,2BAA2B,KAA3B,2BAA2B,QAStC","sourcesContent":["/**\n * Search availability, separate from hit count, permissions and context budgets.\n * Shared by the engine result and application response schemas so projections cannot silently\n * rename a failure into a healthy empty result. No provider/database error text belongs here.\n */\nexport enum RagRetrievalSearchStatus {\n /** All requested search arms completed; zero hits is a valid search outcome. */\n HEALTHY = 'healthy',\n /** Some requested arms or resource stores were unavailable; at least one arm completed. */\n DEGRADED = 'degraded',\n /** No usable search result: execution failed or every requested arm was unavailable. */\n FAILED = 'failed',\n /** No admitted corpus or no searchable query; does not establish absence of knowledge. */\n NOT_RUN = 'not-run',\n}\n\n/** Query-vector preparation, independent of the search store's actual arm participation. */\nexport enum RagRetrievalEmbeddingStatus {\n /** A query vector was produced; this does not certify vector-index readiness. */\n GENERATED = 'generated',\n /** No embeddings provider is configured. Healthy lexical-only retrieval is supported. */\n NOT_CONFIGURED = 'not-configured',\n /** A configured provider or its binding failed; lexical retrieval may still succeed. */\n FAILED = 'failed',\n /** No admitted corpus required query-vector preparation. */\n NOT_REQUESTED = 'not-requested',\n}\n"]}
1
+ {"version":3,"file":"rag-retrieval-health.shared.js","sourceRoot":"","sources":["../../../src/rag/rag-retrieval-health.shared.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAN,IAAY,wBASX;AATD,WAAY,wBAAwB;IAClC,gFAAgF;IAChF,+CAAmB,CAAA;IACnB,2FAA2F;IAC3F,iDAAqB,CAAA;IACrB,wFAAwF;IACxF,6CAAiB,CAAA;IACjB,0FAA0F;IAC1F,+CAAmB,CAAA;AACrB,CAAC,EATW,wBAAwB,KAAxB,wBAAwB,QASnC;AAED,4FAA4F;AAC5F,MAAM,CAAN,IAAY,2BASX;AATD,WAAY,2BAA2B;IACrC,iFAAiF;IACjF,sDAAuB,CAAA;IACvB,yFAAyF;IACzF,gEAAiC,CAAA;IACjC,wFAAwF;IACxF,gDAAiB,CAAA;IACjB,4DAA4D;IAC5D,8DAA+B,CAAA;AACjC,CAAC,EATW,2BAA2B,KAA3B,2BAA2B,QAStC","sourcesContent":["/**\n * Search availability, separate from hit count, permissions and context budgets.\n * Shared by the engine result and application response schemas so projections cannot silently\n * rename a failure into a healthy empty result. No provider/database error text belongs here.\n */\nexport enum RagRetrievalSearchStatus {\n /** All requested search arms completed; zero hits is a valid search outcome. */\n HEALTHY = 'healthy',\n /** Some requested arms or resource stores were unavailable; at least one arm completed. */\n DEGRADED = 'degraded',\n /** No usable search result: execution failed or every requested arm was unavailable. */\n FAILED = 'failed',\n /** No admitted corpus or no searchable query; does not establish absence of knowledge. */\n NOT_RUN = 'not-run',\n}\n\n/** Query-vector preparation, independent of the search store's actual arm participation. */\nexport enum RagRetrievalEmbeddingStatus {\n /** A query vector was produced; this does not certify vector-index readiness. */\n GENERATED = 'generated',\n /** No embeddings provider is configured. Healthy lexical-only retrieval is supported. */\n NOT_CONFIGURED = 'not-configured',\n /** A configured provider or its binding failed; lexical retrieval may still succeed. */\n FAILED = 'failed',\n /** No admitted corpus required query-vector preparation. */\n NOT_REQUESTED = 'not-requested',\n}\n"]}
@@ -58,6 +58,12 @@ export declare const WildoHeaderKeys: {
58
58
  */
59
59
  readonly CLIENT_INSTANCE_ID: "x-client-instance-id";
60
60
  readonly REAUTH_TOKEN: "x-reauth-token";
61
+ /**
62
+ * The answer to a submission challenge — a captcha vendor's token or the engine's proof of work —
63
+ * JSON-encoded (`encodeSubmissionChallengeResponse`). Read by a public form's backend operation that
64
+ * requires a challenge (`POST /inbound-contacts` when the application declares a captcha provider).
65
+ */
66
+ readonly SUBMISSION_CHALLENGE_RESPONSE: "x-submission-challenge-response";
61
67
  /**
62
68
  * The caller's identity for ONE intended mutation, so a retry receives the first request's outcome instead of running
63
69
  * again. Taken only by an operation variant that declares `idempotencyKey`; see `idempotency-key.shared.ts` for the
@@ -1 +1 @@
1
- {"version":3,"file":"header-keys.shared.d.ts","sourceRoot":"","sources":["../../../../src/requests/header-keys.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;IAqC1B;;;;;;;;;;;OAWG;;;;;;;;;;;IAyBH;;;;;OAKG;;;IAOH;;;;OAIG;;;;;;;;;;;;;;CAoCK,CAAC"}
1
+ {"version":3,"file":"header-keys.shared.d.ts","sourceRoot":"","sources":["../../../src/requests/header-keys.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;IAqC1B;;;;;;;;;;;OAWG;;;;;;;;;;;IAyBH;;;;;OAKG;;;IAOH;;;;OAIG;;IAIH;;;;OAIG;;;;;;;;;;;;;;CAoCK,CAAC"}
@@ -78,6 +78,13 @@ export const WildoHeaderKeys = {
78
78
  CLIENT_INSTANCE_ID: 'x-client-instance-id',
79
79
  // ── Step-up re-authentication ──────────────────────────────────────
80
80
  REAUTH_TOKEN: 'x-reauth-token',
81
+ // ── Public submission challenge (#1735) ────────────────────────────
82
+ /**
83
+ * The answer to a submission challenge — a captcha vendor's token or the engine's proof of work —
84
+ * JSON-encoded (`encodeSubmissionChallengeResponse`). Read by a public form's backend operation that
85
+ * requires a challenge (`POST /inbound-contacts` when the application declares a captcha provider).
86
+ */
87
+ SUBMISSION_CHALLENGE_RESPONSE: 'x-submission-challenge-response',
81
88
  // ── Request idempotency ────────────────────────────────────────────
82
89
  /**
83
90
  * The caller's identity for ONE intended mutation, so a retry receives the first request's outcome instead of running
@@ -1 +1 @@
1
- {"version":3,"file":"header-keys.shared.js","sourceRoot":"","sources":["../../../../src/requests/header-keys.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,sEAAsE;IACtE,aAAa,EAAE,eAAe;IAC9B,YAAY,EAAE,cAAc;IAC5B,cAAc,EAAE,gBAAgB;IAChC,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,gBAAgB,EAAE,kBAAkB;IACpC,IAAI,EAAE,MAAM;IAEZ,uEAAuE;IACvE,eAAe,EAAE,iBAAiB;IAElC,uEAAuE;IACvE,uEAAuE;IACvE,uEAAuE;IACvE,gEAAgE;IAChE,sCAAsC;IACtC,oEAAoE;IACpE,mBAAmB,EAAE,2BAA2B;IAEhD,sEAAsE;IACtE,UAAU,EAAE,cAAc;IAC1B,cAAc,EAAE,kBAAkB;IAElC,sEAAsE;IACtE,eAAe,EAAE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,CAAC","sourcesContent":["/**\n * Canonical HTTP header keys for the entire Wildo platform.\n *\n * Single source of truth — imported by backend, frontend, platform, and CLI.\n * All values are lowercase (HTTP/2 canonical form). Express normalizes\n * incoming headers to lowercase automatically, so these work for both\n * reading (req.headers[key]) and writing (res.setHeader(key, value)).\n */\nexport const WildoHeaderKeys = {\n // ── Standard HTTP ──────────────────────────────────────────────────\n AUTHORIZATION: 'authorization',\n CONTENT_TYPE: 'content-type',\n CONTENT_LENGTH: 'content-length',\n ACCEPT: 'accept',\n USER_AGENT: 'user-agent',\n ETAG: 'etag',\n IF_MATCH: 'if-match',\n LAST_MODIFIED: 'last-modified',\n CACHE_CONTROL: 'cache-control',\n ORIGIN: 'origin',\n LOCATION: 'location',\n WWW_AUTHENTICATE: 'www-authenticate',\n HOST: 'host',\n\n // ── SIEM webhook (HMAC signature) ───────────────────────────────────\n X_SIGNATURE_256: 'x-signature-256',\n\n // ── M2M outbound webhook (JWT signature) ────────────────────────────\n // Carries the compact-serialized JWT (header.payload.signature) signed\n // with `JwtPrivateKeys.APPLICATION_WEBHOOK`. Embeds `bodyHash` (sha256\n // hex of the POST body) as a claim so consumers can verify both\n // identity AND payload integrity. See\n // `notifications/webhooks/outbound/` in saas-backend-lib (Phase 3).\n X_WEBHOOK_SIGNATURE: 'x-wildo-webhook-signature',\n\n // ── Service identity ───────────────────────────────────────────────\n SERVICE_ID: 'x-service-id',\n APPLICATION_ID: 'x-application-id',\n\n // ── Authentication ─────────────────────────────────────────────────\n PLATFORM_SECRET: 'x-platform-secret',\n API_KEY: 'x-api-key',\n ORGANIZATION_ID: 'x-organization-id',\n LIFECYCLE_SECRET: 'x-lifecycle-secret',\n\n /**\n * A short-lived attestation, MINTED BY apps-manager, that the bearer is one\n * named runtime principal (`minion:<name>`) of one application.\n *\n * A separate header from {@link WildoHeaderKeys.AUTHORIZATION} on purpose. The\n * bearer is not a platform service and must not present itself through\n * `SERVICE_ID`, and it is not the application backend either — an application\n * JWT is signed with a key EVERY runtime of that application holds, so a claim\n * carried there could name any sibling. This header's token is signed by\n * apps-manager, which is the only party that learns the principal from the\n * secret PRESENTED rather than from anything the caller asserts.\n */\n RUNTIME_PRINCIPAL_TOKEN: 'x-wildo-runtime-principal-token',\n\n // ── Target application (cross-app operations) ──────────────────────\n TARGET_APP_SLUG: 'x-target-app-slug',\n TARGET_APP_ID: 'x-target-app-id',\n\n // ── Observability ──────────────────────────────────────────────────\n // The canonical per-request identifier carried across every service hop. The receiver's\n // `setupRequestContext` ingests it into the request-scoped ALS frame, so the downstream\n // request's EC, logs and audit all share one correlationId. (Replaced the former\n // `x-request-uuid`, which was set on the platform channel but never read back.)\n CORRELATION_ID: 'x-correlation-id',\n\n // ── Rate limiting (response) ───────────────────────────────────────\n RATE_LIMIT_LIMIT: 'x-ratelimit-limit',\n RATE_LIMIT_REMAINING: 'x-ratelimit-remaining',\n RATE_LIMIT_RESET: 'x-ratelimit-reset',\n\n // ── File transfer (gateway) ────────────────────────────────────────\n FILE_ID: 'x-file-id',\n STORAGE_KEY: 'x-storage-key',\n\n // ── Frontend originator ────────────────────────────────────────────\n FRONTEND_SERVICE_NAME: 'x-frontend-service-name',\n /**\n * Which browser/device INSTALL issued the request. Sent ONLY when the application authored a\n * non-`DISABLED` `compliance.clientInstanceIdScope`, and INGESTED only under that same policy —\n * the backend fails closed, so an unopted application records nothing even if a client sends it.\n * See `ClientInstanceIdScope` for the privacy reasoning.\n */\n CLIENT_INSTANCE_ID: 'x-client-instance-id',\n\n // ── Step-up re-authentication ──────────────────────────────────────\n REAUTH_TOKEN: 'x-reauth-token',\n\n // ── Request idempotency ────────────────────────────────────────────\n /**\n * The caller's identity for ONE intended mutation, so a retry receives the first request's outcome instead of running\n * again. Taken only by an operation variant that declares `idempotencyKey`; see `idempotency-key.shared.ts` for the\n * value syntax, the bounds and the refusals. Standard name, not `x-`-prefixed: it is the IETF httpapi draft's header.\n */\n IDEMPOTENCY_KEY: 'idempotency-key',\n\n // ── MFA enrollment ─────────────────────────────────────────────────\n AUTH_SESSION_ID: 'x-auth-session-id',\n\n // ── Anonymous sessions (W7.3a) ─────────────────────────────────────\n ANONYMOUS_SESSION_INIT: 'x-anonymous-session-init',\n ANONYMOUS_SESSION: 'x-anonymous-session',\n ANONYMOUS_SESSION_TOKEN: 'x-anonymous-session-token',\n\n // ── Marketing site first-touch attribution (Phase 0.5, Q-D=β) ──────\n // Sent by the marketing-site bootstrap on the very first request to\n // the anonymous-session-init endpoint. Carries the path of the\n // landing page (e.g. `/pricing`, `/blog/post-slug`) — distinct from\n // `req.path` because the session-init endpoint URL is itself not a\n // marketing landing page. Stored ONCE on\n // `AnonymousUser.marketingMetadata.landingPath` (first-touch only).\n // Carried in the engine CORS `allowedHeaders` floor (framework-universal),\n // since it travels with `x-anonymous-session-init` on the same preflighted\n // session-init request — see `engineAllowedHeaders` in saas-backend-lib's\n // `http-server.backend.service.ts`.\n LANDING_PATH: 'x-landing-path',\n\n // ── Consumable tokens (W7.3b) ──────────────────────────────────────\n CONSUMABLE_TOKEN: 'x-consumable-token',\n CONSUMABLE_TOKEN_CONSUMED: 'x-consumable-token-consumed',\n\n // ── CRDT time synchronization ───────────────────────────────────────\n X_SERVER_TIME: 'x-server-time',\n\n // ── Proxy headers ──────────────────────────────────────────────────\n FORWARDED_FOR: 'x-forwarded-for',\n FORWARDED_PROTO: 'x-forwarded-proto',\n FORWARDED_HOST: 'x-forwarded-host',\n REAL_IP: 'x-real-ip',\n} as const;\n"]}
1
+ {"version":3,"file":"header-keys.shared.js","sourceRoot":"","sources":["../../../src/requests/header-keys.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,sEAAsE;IACtE,aAAa,EAAE,eAAe;IAC9B,YAAY,EAAE,cAAc;IAC5B,cAAc,EAAE,gBAAgB;IAChC,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,QAAQ,EA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,iBAAiB,EAAE,qBAAqB;IACxC,uBAAuB,EAAE,2BAA2B;IAEpD,sEAAsE;IACtE,oEAAoE;IACpE,+DAA+D;IAC/D,oEAAoE;IACpE,mEAAmE;IACnE,yCAAyC;IACzC,oEAAoE;IACpE,2EAA2E;IAC3E,2EAA2E;IAC3E,0EAA0E;IAC1E,oCAAoC;IACpC,YAAY,EAAE,gBAAgB;IAE9B,sEAAsE;IACtE,gBAAgB,EAAE,oBAAoB;IACtC,yBAAyB,EAAE,6BAA6B;IAExD,uEAAuE;IACvE,aAAa,EAAE,eAAe;IAE9B,sEAAsE;IACtE,aAAa,EAAE,iBAAiB;IAChC,eAAe,EAAE,mBAAmB;IACpC,cAAc,EAAE,kBAAkB;IAClC,OAAO,EAAE,WAAW;CACZ,CAAC","sourcesContent":["/**\n * Canonical HTTP header keys for the entire Wildo platform.\n *\n * Single source of truth — imported by backend, frontend, platform, and CLI.\n * All values are lowercase (HTTP/2 canonical form). Express normalizes\n * incoming headers to lowercase automatically, so these work for both\n * reading (req.headers[key]) and writing (res.setHeader(key, value)).\n */\nexport const WildoHeaderKeys = {\n // ── Standard HTTP ──────────────────────────────────────────────────\n AUTHORIZATION: 'authorization',\n CONTENT_TYPE: 'content-type',\n CONTENT_LENGTH: 'content-length',\n ACCEPT: 'accept',\n USER_AGENT: 'user-agent',\n ETAG: 'etag',\n IF_MATCH: 'if-match',\n LAST_MODIFIED: 'last-modified',\n CACHE_CONTROL: 'cache-control',\n ORIGIN: 'origin',\n LOCATION: 'location',\n WWW_AUTHENTICATE: 'www-authenticate',\n HOST: 'host',\n\n // ── SIEM webhook (HMAC signature) ───────────────────────────────────\n X_SIGNATURE_256: 'x-signature-256',\n\n // ── M2M outbound webhook (JWT signature) ────────────────────────────\n // Carries the compact-serialized JWT (header.payload.signature) signed\n // with `JwtPrivateKeys.APPLICATION_WEBHOOK`. Embeds `bodyHash` (sha256\n // hex of the POST body) as a claim so consumers can verify both\n // identity AND payload integrity. See\n // `notifications/webhooks/outbound/` in saas-backend-lib (Phase 3).\n X_WEBHOOK_SIGNATURE: 'x-wildo-webhook-signature',\n\n // ── Service identity ───────────────────────────────────────────────\n SERVICE_ID: 'x-service-id',\n APPLICATION_ID: 'x-application-id',\n\n // ── Authentication ─────────────────────────────────────────────────\n PLATFORM_SECRET: 'x-platform-secret',\n API_KEY: 'x-api-key',\n ORGANIZATION_ID: 'x-organization-id',\n LIFECYCLE_SECRET: 'x-lifecycle-secret',\n\n /**\n * A short-lived attestation, MINTED BY apps-manager, that the bearer is one\n * named runtime principal (`minion:<name>`) of one application.\n *\n * A separate header from {@link WildoHeaderKeys.AUTHORIZATION} on purpose. The\n * bearer is not a platform service and must not present itself through\n * `SERVICE_ID`, and it is not the application backend either — an application\n * JWT is signed with a key EVERY runtime of that application holds, so a claim\n * carried there could name any sibling. This header's token is signed by\n * apps-manager, which is the only party that learns the principal from the\n * secret PRESENTED rather than from anything the caller asserts.\n */\n RUNTIME_PRINCIPAL_TOKEN: 'x-wildo-runtime-principal-token',\n\n // ── Target application (cross-app operations) ──────────────────────\n TARGET_APP_SLUG: 'x-target-app-slug',\n TARGET_APP_ID: 'x-target-app-id',\n\n // ── Observability ──────────────────────────────────────────────────\n // The canonical per-request identifier carried across every service hop. The receiver's\n // `setupRequestContext` ingests it into the request-scoped ALS frame, so the downstream\n // request's EC, logs and audit all share one correlationId. (Replaced the former\n // `x-request-uuid`, which was set on the platform channel but never read back.)\n CORRELATION_ID: 'x-correlation-id',\n\n // ── Rate limiting (response) ───────────────────────────────────────\n RATE_LIMIT_LIMIT: 'x-ratelimit-limit',\n RATE_LIMIT_REMAINING: 'x-ratelimit-remaining',\n RATE_LIMIT_RESET: 'x-ratelimit-reset',\n\n // ── File transfer (gateway) ────────────────────────────────────────\n FILE_ID: 'x-file-id',\n STORAGE_KEY: 'x-storage-key',\n\n // ── Frontend originator ────────────────────────────────────────────\n FRONTEND_SERVICE_NAME: 'x-frontend-service-name',\n /**\n * Which browser/device INSTALL issued the request. Sent ONLY when the application authored a\n * non-`DISABLED` `compliance.clientInstanceIdScope`, and INGESTED only under that same policy —\n * the backend fails closed, so an unopted application records nothing even if a client sends it.\n * See `ClientInstanceIdScope` for the privacy reasoning.\n */\n CLIENT_INSTANCE_ID: 'x-client-instance-id',\n\n // ── Step-up re-authentication ──────────────────────────────────────\n REAUTH_TOKEN: 'x-reauth-token',\n\n // ── Public submission challenge (#1735) ────────────────────────────\n /**\n * The answer to a submission challenge — a captcha vendor's token or the engine's proof of work —\n * JSON-encoded (`encodeSubmissionChallengeResponse`). Read by a public form's backend operation that\n * requires a challenge (`POST /inbound-contacts` when the application declares a captcha provider).\n */\n SUBMISSION_CHALLENGE_RESPONSE: 'x-submission-challenge-response',\n\n // ── Request idempotency ────────────────────────────────────────────\n /**\n * The caller's identity for ONE intended mutation, so a retry receives the first request's outcome instead of running\n * again. Taken only by an operation variant that declares `idempotencyKey`; see `idempotency-key.shared.ts` for the\n * value syntax, the bounds and the refusals. Standard name, not `x-`-prefixed: it is the IETF httpapi draft's header.\n */\n IDEMPOTENCY_KEY: 'idempotency-key',\n\n // ── MFA enrollment ─────────────────────────────────────────────────\n AUTH_SESSION_ID: 'x-auth-session-id',\n\n // ── Anonymous sessions (W7.3a) ─────────────────────────────────────\n ANONYMOUS_SESSION_INIT: 'x-anonymous-session-init',\n ANONYMOUS_SESSION: 'x-anonymous-session',\n ANONYMOUS_SESSION_TOKEN: 'x-anonymous-session-token',\n\n // ── Marketing site first-touch attribution (Phase 0.5, Q-D=β) ──────\n // Sent by the marketing-site bootstrap on the very first request to\n // the anonymous-session-init endpoint. Carries the path of the\n // landing page (e.g. `/pricing`, `/blog/post-slug`) — distinct from\n // `req.path` because the session-init endpoint URL is itself not a\n // marketing landing page. Stored ONCE on\n // `AnonymousUser.marketingMetadata.landingPath` (first-touch only).\n // Carried in the engine CORS `allowedHeaders` floor (framework-universal),\n // since it travels with `x-anonymous-session-init` on the same preflighted\n // session-init request — see `engineAllowedHeaders` in saas-backend-lib's\n // `http-server.backend.service.ts`.\n LANDING_PATH: 'x-landing-path',\n\n // ── Consumable tokens (W7.3b) ──────────────────────────────────────\n CONSUMABLE_TOKEN: 'x-consumable-token',\n CONSUMABLE_TOKEN_CONSUMED: 'x-consumable-token-consumed',\n\n // ── CRDT time synchronization ───────────────────────────────────────\n X_SERVER_TIME: 'x-server-time',\n\n // ── Proxy headers ──────────────────────────────────────────────────\n FORWARDED_FOR: 'x-forwarded-for',\n FORWARDED_PROTO: 'x-forwarded-proto',\n FORWARDED_HOST: 'x-forwarded-host',\n REAL_IP: 'x-real-ip',\n} as const;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"http-requests.shared.d.ts","sourceRoot":"","sources":["../../../../src/requests/http-requests.shared.ts"],"names":[],"mappings":"AAEA,oBAAY,UAAU;IACpB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,oBAAY,cAAc;IACxB,EAAE,MAAM;IACR,OAAO,MAAM;IACb,QAAQ,MAAM;IACd,UAAU,MAAM;IAChB,WAAW,MAAM;IACjB,YAAY,MAAM;IAClB,SAAS,MAAM;IACf,SAAS,MAAM;IACf,kBAAkB,MAAM;IACxB,QAAQ,MAAM;IACd,iBAAiB,MAAM;IACvB,oBAAoB,MAAM;IAC1B,iBAAiB,MAAM;IACvB,qBAAqB,MAAM;IAC3B,WAAW,MAAM;IACjB,mBAAmB,MAAM;IACzB,eAAe,MAAM;CACtB;AAGD,oBAAY,eAAe;IACzB,IAAI,qBAAqB;IACzB,SAAS,wBAAwB;IACjC,IAAI,6BAA6B;IACjC,IAAI,eAAe;IACnB,IAAI,cAAc;IAClB,GAAG,oBAAoB;IACvB,GAAG,aAAa;IAChB,GAAG,oBAAoB;CACxB"}
1
+ {"version":3,"file":"http-requests.shared.d.ts","sourceRoot":"","sources":["../../../src/requests/http-requests.shared.ts"],"names":[],"mappings":"AAEA,oBAAY,UAAU;IACpB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,oBAAY,cAAc;IACxB,EAAE,MAAM;IACR,OAAO,MAAM;IACb,QAAQ,MAAM;IACd,UAAU,MAAM;IAChB,WAAW,MAAM;IACjB,YAAY,MAAM;IAClB,SAAS,MAAM;IACf,SAAS,MAAM;IACf,kBAAkB,MAAM;IACxB,QAAQ,MAAM;IACd,iBAAiB,MAAM;IACvB,oBAAoB,MAAM;IAC1B,iBAAiB,MAAM;IACvB,qBAAqB,MAAM;IAC3B,WAAW,MAAM;IACjB,mBAAmB,MAAM;IACzB,eAAe,MAAM;CACtB;AAGD,oBAAY,eAAe;IACzB,IAAI,qBAAqB;IACzB,SAAS,wBAAwB;IACjC,IAAI,6BAA6B;IACjC,IAAI,eAAe;IACnB,IAAI,cAAc;IAClB,GAAG,oBAAoB;IACvB,GAAG,aAAa;IAChB,GAAG,oBAAoB;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"http-requests.shared.js","sourceRoot":"","sources":["../../../../src/requests/http-requests.shared.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,2BAAa,CAAA;IACb,yBAAW,CAAA;IACX,6BAAe,CAAA;IACf,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;AACrB,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAED,MAAM,CAAN,IAAY,cAkBX;AAlBD,WAAY,cAAc;IACxB,iDAAQ,CAAA;IACR,2DAAa,CAAA;IACb,6DAAc,CAAA;IACd,iEAAgB,CAAA;IAChB,mEAAiB,CAAA;IACjB,qEAAkB,CAAA;IAClB,+DAAe,CAAA;IACf,+DAAe,CAAA;IACf,iFAAwB,CAAA;IACxB,6DAAc,CAAA;IACd,+EAAuB,CAAA;IACvB,qFAA0B,CAAA;IAC1B,+EAAuB,CAAA;IACvB,uFAA2B,CAAA;IAC3B,mEAAiB,CAAA;IACjB,mFAAyB,CAAA;IACzB,2EAAqB,CAAA;AACvB,CAAC,EAlBW,cAAc,KAAd,cAAc,QAkBzB;AAGD,MAAM,CAAN,IAAY,eASX;AATD,WAAY,eAAe;IACzB,4CAAyB,CAAA;IACzB,oDAAiC,CAAA;IACjC,oDAAiC,CAAA;IACjC,sCAAmB,CAAA;IACnB,qCAAkB,CAAA;IAClB,0CAAuB,CAAA;IACvB,mCAAgB,CAAA;IAChB,0CAAuB,CAAA;AACzB,CAAC,EATW,eAAe,KAAf,eAAe,QAS1B","sourcesContent":["\n\nexport enum HttpMethod {\n GET = 'GET',\n POST = 'POST',\n PUT = 'PUT',\n PATCH = 'PATCH',\n DELETE = 'DELETE',\n OPTIONS = 'OPTIONS',\n}\n\nexport enum HttpStatusCode {\n OK = 200,\n CREATED = 201,\n ACCEPTED = 202,\n NO_CONTENT = 204,\n BAD_REQUEST = 400,\n UNAUTHORIZED = 401,\n FORBIDDEN = 403,\n NOT_FOUND = 404,\n METHOD_NOT_ALLOWED = 405,\n CONFLICT = 409,\n PAYLOAD_TOO_LARGE = 413,\n UNPROCESSABLE_ENTITY = 422,\n TOO_MANY_REQUESTS = 429,\n INTERNAL_SERVER_ERROR = 500,\n BAD_GATEWAY = 502,\n SERVICE_UNAVAILABLE = 503,\n GATEWAY_TIMEOUT = 504\n}\n\n\nexport enum HttpContentType {\n JSON = 'application/json',\n FORM_DATA = 'multipart/form-data',\n FILE = 'application/octet-stream',\n TEXT = 'text/plain',\n HTML = 'text/html',\n XML = 'application/xml',\n CSV = 'text/csv',\n PDF = 'application/pdf',\n}"]}
1
+ {"version":3,"file":"http-requests.shared.js","sourceRoot":"","sources":["../../../src/requests/http-requests.shared.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,2BAAa,CAAA;IACb,yBAAW,CAAA;IACX,6BAAe,CAAA;IACf,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;AACrB,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAED,MAAM,CAAN,IAAY,cAkBX;AAlBD,WAAY,cAAc;IACxB,iDAAQ,CAAA;IACR,2DAAa,CAAA;IACb,6DAAc,CAAA;IACd,iEAAgB,CAAA;IAChB,mEAAiB,CAAA;IACjB,qEAAkB,CAAA;IAClB,+DAAe,CAAA;IACf,+DAAe,CAAA;IACf,iFAAwB,CAAA;IACxB,6DAAc,CAAA;IACd,+EAAuB,CAAA;IACvB,qFAA0B,CAAA;IAC1B,+EAAuB,CAAA;IACvB,uFAA2B,CAAA;IAC3B,mEAAiB,CAAA;IACjB,mFAAyB,CAAA;IACzB,2EAAqB,CAAA;AACvB,CAAC,EAlBW,cAAc,KAAd,cAAc,QAkBzB;AAGD,MAAM,CAAN,IAAY,eASX;AATD,WAAY,eAAe;IACzB,4CAAyB,CAAA;IACzB,oDAAiC,CAAA;IACjC,oDAAiC,CAAA;IACjC,sCAAmB,CAAA;IACnB,qCAAkB,CAAA;IAClB,0CAAuB,CAAA;IACvB,mCAAgB,CAAA;IAChB,0CAAuB,CAAA;AACzB,CAAC,EATW,eAAe,KAAf,eAAe,QAS1B","sourcesContent":["\n\nexport enum HttpMethod {\n GET = 'GET',\n POST = 'POST',\n PUT = 'PUT',\n PATCH = 'PATCH',\n DELETE = 'DELETE',\n OPTIONS = 'OPTIONS',\n}\n\nexport enum HttpStatusCode {\n OK = 200,\n CREATED = 201,\n ACCEPTED = 202,\n NO_CONTENT = 204,\n BAD_REQUEST = 400,\n UNAUTHORIZED = 401,\n FORBIDDEN = 403,\n NOT_FOUND = 404,\n METHOD_NOT_ALLOWED = 405,\n CONFLICT = 409,\n PAYLOAD_TOO_LARGE = 413,\n UNPROCESSABLE_ENTITY = 422,\n TOO_MANY_REQUESTS = 429,\n INTERNAL_SERVER_ERROR = 500,\n BAD_GATEWAY = 502,\n SERVICE_UNAVAILABLE = 503,\n GATEWAY_TIMEOUT = 504\n}\n\n\nexport enum HttpContentType {\n JSON = 'application/json',\n FORM_DATA = 'multipart/form-data',\n FILE = 'application/octet-stream',\n TEXT = 'text/plain',\n HTML = 'text/html',\n XML = 'application/xml',\n CSV = 'text/csv',\n PDF = 'application/pdf',\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"idempotency-key.shared.d.ts","sourceRoot":"","sources":["../../../../src/requests/idempotency-key.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,mHAAmH;AACnH,oBAAY,0CAA0C;IACpD;;;OAGG;IACH,QAAQ,aAAa;IACrB;;;OAGG;IACH,QAAQ,aAAa;CACtB;AAED;;;GAGG;AACH,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAE9C,uHAAuH;AACvH,oBAAY,yBAAyB;IACnC,0EAA0E;IAC1E,QAAQ,6BAA6B;IACrC,uHAAuH;IACvH,SAAS,8BAA8B;IACvC;;;;OAIG;IACH,YAAY,iCAAiC;CAC9C;AAED,4CAA4C;AAC5C,oBAAY,2BAA2B;IACrC,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,SAAS,cAAc;CACxB;AAED,MAAM,MAAM,yBAAyB,GACjC;IAAE,OAAO,EAAE,2BAA2B,CAAC,MAAM,CAAA;CAAE,GAC/C;IAAE,OAAO,EAAE,2BAA2B,CAAC,GAAG,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GACzD;IAAE,OAAO,EAAE,2BAA2B,CAAC,SAAS,CAAA;CAAE,CAAC;AAKvD;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,GAAG,yBAAyB,CA6BhH;AAED,iGAAiG;AACjG,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE9D"}
1
+ {"version":3,"file":"idempotency-key.shared.d.ts","sourceRoot":"","sources":["../../../src/requests/idempotency-key.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,mHAAmH;AACnH,oBAAY,0CAA0C;IACpD;;;OAGG;IACH,QAAQ,aAAa;IACrB;;;OAGG;IACH,QAAQ,aAAa;CACtB;AAED;;;GAGG;AACH,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAE9C,uHAAuH;AACvH,oBAAY,yBAAyB;IACnC,0EAA0E;IAC1E,QAAQ,6BAA6B;IACrC,uHAAuH;IACvH,SAAS,8BAA8B;IACvC;;;;OAIG;IACH,YAAY,iCAAiC;CAC9C;AAED,4CAA4C;AAC5C,oBAAY,2BAA2B;IACrC,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,SAAS,cAAc;CACxB;AAED,MAAM,MAAM,yBAAyB,GACjC;IAAE,OAAO,EAAE,2BAA2B,CAAC,MAAM,CAAA;CAAE,GAC/C;IAAE,OAAO,EAAE,2BAA2B,CAAC,GAAG,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GACzD;IAAE,OAAO,EAAE,2BAA2B,CAAC,SAAS,CAAA;CAAE,CAAC;AAKvD;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,GAAG,yBAAyB,CA6BhH;AAED,iGAAiG;AACjG,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"idempotency-key.shared.js","sourceRoot":"","sources":["../../../../src/requests/idempotency-key.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,mHAAmH;AACnH,MAAM,CAAN,IAAY,0CAWX;AAXD,WAAY,0CAA0C;IACpD;;;OAGG;IACH,mEAAqB,CAAA;IACrB;;;OAGG;IACH,mEAAqB,CAAA;AACvB,CAAC,EAXW,0CAA0C,KAA1C,0CAA0C,QAWr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AO,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,KAAK,SAAS,EAAE,CAAC,GAAG,CAAC;AACvE,CAAC","sourcesContent":["/**\n * The `Idempotency-Key` request header: its vocabulary, its bounds and its one parser (#535).\n *\n * A caller that sends the same key again is asking for the outcome of the FIRST request, not for a second execution. An\n * operation variant declares whether it takes the header ({@link ResourceOperationIdempotencyKeyRequirement}); the\n * framework parses and bounds the value here, refuses a malformed or undeclared one, and hands the key to the operation's\n * implementation, which owns what \"the same request\" means for its effects (a billing mutation, for example, replays the\n * committed change and refuses the same key sent with a different request).\n *\n * Shared by the backend controller that reads the header, the frontend client that writes it and the OpenAPI projection\n * that documents it, so the three cannot disagree about what a key is.\n *\n * spec-cite: draft-ietf-httpapi-idempotency-key-header-07 (2025-10-15), https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-idempotency-key-header\n * — the header name, its String value, and the 400/409/422 outcomes are taken from that draft; the wording here is this\n * repository's own.\n */\n\n/** Whether an operation variant takes the `Idempotency-Key` request header. Absent on a variant: it takes none. */\nexport enum ResourceOperationIdempotencyKeyRequirement {\n /**\n * The header is honored when a caller sends it, and a request without it runs unkeyed. For an operation whose effect\n * converges when repeated (cancelling, resuming), so an unkeyed retry is safe even though it is not deduplicated.\n */\n ACCEPTED = 'accepted',\n /**\n * A request without the header is refused with 400 before anything runs. For an operation whose repeat is a second,\n * different effect (adding an add-on twice adds two), where an unkeyed retry is exactly the duplicate the key prevents.\n */\n REQUIRED = 'required',\n}\n\n/**\n * Longest key accepted, in characters. A key is stored as part of an operation's admission identity, which also carries\n * the operation name, inside a 255-character column; 200 leaves room for that prefix. A UUID is 36.\n */\nexport const IDEMPOTENCY_KEY_MAX_LENGTH = 200;\n\n/** Why the framework refused a request's `Idempotency-Key`, carried as the client-branchable `error.code` of a 400. */\nexport enum IdempotencyKeyRefusalCode {\n /** The operation requires the header and the request did not send one. */\n REQUIRED = 'idempotency_key_required',\n /** The header is present but is not a String of 1 to {@link IDEMPOTENCY_KEY_MAX_LENGTH} printable ASCII characters. */\n MALFORMED = 'idempotency_key_malformed',\n /**\n * The header was sent to a MUTATION that does not take one. Refused rather than ignored: a caller who sent a key believes\n * a retry is deduplicated, and silently ignoring it would let that retry run twice. A read-shaped operation ignores an\n * undeclared key instead, because repeating a read is harmless.\n */\n NOT_ACCEPTED = 'idempotency_key_not_accepted',\n}\n\n/** What one reading of the header found. */\nexport enum IdempotencyKeyHeaderOutcome {\n ABSENT = 'absent',\n KEY = 'key',\n MALFORMED = 'malformed',\n}\n\nexport type IdempotencyKeyHeaderParse =\n | { outcome: IdempotencyKeyHeaderOutcome.ABSENT }\n | { outcome: IdempotencyKeyHeaderOutcome.KEY; key: string }\n | { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n\n/** The unquoted form some clients send (Stripe's SDKs among them): token characters only, so it cannot hide a list. */\nconst BARE_KEY = /^[A-Za-z0-9._~:+/=-]+$/;\n\n/**\n * Read one request's `Idempotency-Key` header value.\n *\n * Accepts the draft's String form (`\"8e03978e-40d5-43e8-bc93-6894a57f9324\"`, printable ASCII, `\\\"` and `\\\\` the only\n * escapes) and, for clients that send it unquoted, a bare token. Anything else is MALFORMED, never trimmed into a key:\n *\n * - an empty value (the header was sent, so the caller meant something);\n * - a repeated header, which Node joins with `, ` and which could otherwise be read as one key made of two;\n * - a control or non-ASCII character, which would reach logs and a stored admission identity;\n * - a key longer than {@link IDEMPOTENCY_KEY_MAX_LENGTH}.\n */\nexport function parseIdempotencyKeyHeader(raw: string | readonly string[] | undefined): IdempotencyKeyHeaderParse {\n if (raw === undefined) return { outcome: IdempotencyKeyHeaderOutcome.ABSENT };\n if (typeof raw !== 'string') return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n const value = raw.trim();\n if (value.length === 0) return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n\n let key = '';\n if (value.startsWith('\"')) {\n if (value.length < 2 || !value.endsWith('\"')) return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n const body = value.slice(1, -1);\n for (let index = 0; index < body.length; index += 1) {\n const character = body[index]!;\n const code = character.charCodeAt(0);\n if (code < 0x20 || code > 0x7e || character === '\"') return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n if (character === '\\\\') {\n const escaped = body[index + 1];\n if (escaped !== '\"' && escaped !== '\\\\') return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n key += escaped;\n index += 1;\n continue;\n }\n key += character;\n }\n } else {\n if (!BARE_KEY.test(value)) return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n key = value;\n }\n if (key.length === 0 || key.length > IDEMPOTENCY_KEY_MAX_LENGTH) return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n return { outcome: IdempotencyKeyHeaderOutcome.KEY, key };\n}\n\n/** Write a key as the header's String form, the inverse of {@link parseIdempotencyKeyHeader}. */\nexport function formatIdempotencyKeyHeader(key: string): string {\n return `\"${key.replace(/[\\\\\"]/g, (character) => `\\\\${character}`)}\"`;\n}\n"]}
1
+ {"version":3,"file":"idempotency-key.shared.js","sourceRoot":"","sources":["../../../src/requests/idempotency-key.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,mHAAmH;AACnH,MAAM,CAAN,IAAY,0CAWX;AAXD,WAAY,0CAA0C;IACpD;;;OAGG;IACH,mEAAqB,CAAA;IACrB;;;OAGG;IACH,mEAAqB,CAAA;AACvB,CAAC,EAXW,0CAA0C,KAA1C,0CAA0C,QAWrD;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,CAAC;AAE9C,uHAAuH;AACvH,MAAM,CAAN,IAAY,yBAWX;AAXD,WAAY,yBAAyB;IACnC,0EAA0E;IAC1E,kEAAqC,CAAA;IACrC,uHAAuH;IACvH,oEAAuC,CAAA;IACvC;;;;OAIG;IACH,0EAA6C,CAAA;AAC/C,CAAC,EAXW,yBAAyB,KA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,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,SAAS,KAAK,GAAG;gBAAE,OAAO,EAAE,OAAO,EAAE,2BAA2B,CAAC,SAAS,EAAE,CAAC;YAC/G,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;gBACvB,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;gBAChC,IAAI,OAAO,KAAK,GAAG,IAAI,OAAO,KAAK,IAAI;oBAAE,OAAO,EAAE,OAAO,EAAE,2BAA2B,CAAC,SAAS,EAAE,CAAC;gBACnG,GAAG,IAAI,OAAO,CAAC;gBACf,KAAK,IAAI,CAAC,CAAC;gBACX,SAAS;YACX,CAAC;YACD,GAAG,IAAI,SAAS,CAAC;QACnB,CAAC;IACH,CAAC;SAAM,CAAC;QACN,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC;YAAE,OAAO,EAAE,OAAO,EAAE,2BAA2B,CAAC,SAAS,EAAE,CAAC;QACrF,GAAG,GAAG,KAAK,CAAC;IACd,CAAC;IACD,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,IAAI,GAAG,CAAC,MAAM,GAAG,0BAA0B;QAAE,OAAO,EAAE,OAAO,EAAE,2BAA2B,CAAC,SAAS,EAAE,CAAC;IAC3H,OAAO,EAAE,OAAO,EAAE,2BAA2B,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC;AAC3D,CAAC;AAED,iGAAiG;AACjG,MAAM,UAAU,0BAA0B,CAAC,GAAW;IACpD,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,KAAK,SAAS,EAAE,CAAC,GAAG,CAAC;AACvE,CAAC","sourcesContent":["/**\n * The `Idempotency-Key` request header: its vocabulary, its bounds and its one parser (#535).\n *\n * A caller that sends the same key again is asking for the outcome of the FIRST request, not for a second execution. An\n * operation variant declares whether it takes the header ({@link ResourceOperationIdempotencyKeyRequirement}); the\n * framework parses and bounds the value here, refuses a malformed or undeclared one, and hands the key to the operation's\n * implementation, which owns what \"the same request\" means for its effects (a billing mutation, for example, replays the\n * committed change and refuses the same key sent with a different request).\n *\n * Shared by the backend controller that reads the header, the frontend client that writes it and the OpenAPI projection\n * that documents it, so the three cannot disagree about what a key is.\n *\n * spec-cite: draft-ietf-httpapi-idempotency-key-header-07 (2025-10-15), https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-idempotency-key-header\n * — the header name, its String value, and the 400/409/422 outcomes are taken from that draft; the wording here is this\n * repository's own.\n */\n\n/** Whether an operation variant takes the `Idempotency-Key` request header. Absent on a variant: it takes none. */\nexport enum ResourceOperationIdempotencyKeyRequirement {\n /**\n * The header is honored when a caller sends it, and a request without it runs unkeyed. For an operation whose effect\n * converges when repeated (cancelling, resuming), so an unkeyed retry is safe even though it is not deduplicated.\n */\n ACCEPTED = 'accepted',\n /**\n * A request without the header is refused with 400 before anything runs. For an operation whose repeat is a second,\n * different effect (adding an add-on twice adds two), where an unkeyed retry is exactly the duplicate the key prevents.\n */\n REQUIRED = 'required',\n}\n\n/**\n * Longest key accepted, in characters. A key is stored as part of an operation's admission identity, which also carries\n * the operation name, inside a 255-character column; 200 leaves room for that prefix. A UUID is 36.\n */\nexport const IDEMPOTENCY_KEY_MAX_LENGTH = 200;\n\n/** Why the framework refused a request's `Idempotency-Key`, carried as the client-branchable `error.code` of a 400. */\nexport enum IdempotencyKeyRefusalCode {\n /** The operation requires the header and the request did not send one. */\n REQUIRED = 'idempotency_key_required',\n /** The header is present but is not a String of 1 to {@link IDEMPOTENCY_KEY_MAX_LENGTH} printable ASCII characters. */\n MALFORMED = 'idempotency_key_malformed',\n /**\n * The header was sent to a MUTATION that does not take one. Refused rather than ignored: a caller who sent a key believes\n * a retry is deduplicated, and silently ignoring it would let that retry run twice. A read-shaped operation ignores an\n * undeclared key instead, because repeating a read is harmless.\n */\n NOT_ACCEPTED = 'idempotency_key_not_accepted',\n}\n\n/** What one reading of the header found. */\nexport enum IdempotencyKeyHeaderOutcome {\n ABSENT = 'absent',\n KEY = 'key',\n MALFORMED = 'malformed',\n}\n\nexport type IdempotencyKeyHeaderParse =\n | { outcome: IdempotencyKeyHeaderOutcome.ABSENT }\n | { outcome: IdempotencyKeyHeaderOutcome.KEY; key: string }\n | { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n\n/** The unquoted form some clients send (Stripe's SDKs among them): token characters only, so it cannot hide a list. */\nconst BARE_KEY = /^[A-Za-z0-9._~:+/=-]+$/;\n\n/**\n * Read one request's `Idempotency-Key` header value.\n *\n * Accepts the draft's String form (`\"8e03978e-40d5-43e8-bc93-6894a57f9324\"`, printable ASCII, `\\\"` and `\\\\` the only\n * escapes) and, for clients that send it unquoted, a bare token. Anything else is MALFORMED, never trimmed into a key:\n *\n * - an empty value (the header was sent, so the caller meant something);\n * - a repeated header, which Node joins with `, ` and which could otherwise be read as one key made of two;\n * - a control or non-ASCII character, which would reach logs and a stored admission identity;\n * - a key longer than {@link IDEMPOTENCY_KEY_MAX_LENGTH}.\n */\nexport function parseIdempotencyKeyHeader(raw: string | readonly string[] | undefined): IdempotencyKeyHeaderParse {\n if (raw === undefined) return { outcome: IdempotencyKeyHeaderOutcome.ABSENT };\n if (typeof raw !== 'string') return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n const value = raw.trim();\n if (value.length === 0) return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n\n let key = '';\n if (value.startsWith('\"')) {\n if (value.length < 2 || !value.endsWith('\"')) return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n const body = value.slice(1, -1);\n for (let index = 0; index < body.length; index += 1) {\n const character = body[index]!;\n const code = character.charCodeAt(0);\n if (code < 0x20 || code > 0x7e || character === '\"') return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n if (character === '\\\\') {\n const escaped = body[index + 1];\n if (escaped !== '\"' && escaped !== '\\\\') return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n key += escaped;\n index += 1;\n continue;\n }\n key += character;\n }\n } else {\n if (!BARE_KEY.test(value)) return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n key = value;\n }\n if (key.length === 0 || key.length > IDEMPOTENCY_KEY_MAX_LENGTH) return { outcome: IdempotencyKeyHeaderOutcome.MALFORMED };\n return { outcome: IdempotencyKeyHeaderOutcome.KEY, key };\n}\n\n/** Write a key as the header's String form, the inverse of {@link parseIdempotencyKeyHeader}. */\nexport function formatIdempotencyKeyHeader(key: string): string {\n return `\"${key.replace(/[\\\\\"]/g, (character) => `\\\\${character}`)}\"`;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"manual-controllers-routes-documentation.d.ts","sourceRoot":"","sources":["../../../../src/requests/manual-controllers-routes-documentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAE5E;;;;;;;;;;;GAWG;AACH,oBAAY,0BAA0B;IACpC,gGAAgG;IAChG,cAAc,mBAAmB;IACjC,wGAAwG;IACxG,iBAAiB,qBAAqB;IACtC,2GAA2G;IAC3G,kBAAkB,sBAAsB;IACxC,uFAAuF;IACvF,gBAAgB,oBAAoB;IACpC,yEAAyE;IACzE,aAAa,iBAAiB;IAC9B,kFAAkF;IAClF,mBAAmB,uBAAuB;CAC3C;AAED;;;GAGG;AACH,oBAAY,mCAAmC;IAC7C,2GAA2G;IAC3G,MAAM,WAAW;IACjB,kEAAkE;IAClE,iBAAiB,sBAAsB;IACvC,0EAA0E;IAC1E,aAAa,kBAAkB;IAC/B,kFAAkF;IAClF,0BAA0B,+BAA+B;CAC1D;AAED,oEAAoE;AACpE,oBAAY,gCAAgC;IAC1C,SAAS,cAAc;IACvB,QAAQ,aAAa;CACtB;AAED,8FAA8F;AAC9F,MAAM,WAAW,2CAA2C;IAC1D,QAAQ,CAAC,WAAW,EAAE,gCAAgC,CAAC,SAAS,CAAC;IACjE,QAAQ,CAAC,KAAK,EAAE,0BAA0B,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,SAAS,UAAU,EAAE,CAAC;IACxC,kGAAkG;IAClG,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,uGAAuG;IACvG,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,cAAc,EAAE,mCAAmC,CAAC;IAC7D,yDAAyD;IACzD,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACvC;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAC7E;AAED;;;;;;GAMG;AACH,MAAM,WAAW,0CAA0C;IACzD,QAAQ,CAAC,WAAW,EAAE,gCAAgC,CAAC,QAAQ,CAAC;IAChE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,MAAM,kCAAkC,GAC1C,2CAA2C,GAC3C,0CAA0C,CAAC;AAoB/C,gGAAgG;AAChG,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,0BAA0B,EAAE,MAAM,CAuBjG,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,wBAAwB,EAAE,kCAAkC,CA85CtH,CAAC"}
1
+ {"version":3,"file":"manual-controllers-routes-documentation.d.ts","sourceRoot":"","sources":["../../../src/requests/manual-controllers-routes-documentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,M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,CAAC,QAAQ,CAAC;IAChE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,MAAM,kCAAkC,GAC1C,2CAA2C,GAC3C,0CAA0C,CAAC;AAoB/C,gGAAgG;AAChG,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,0BAA0B,EAAE,MAAM,CAuBjG,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,wBAAwB,EAAE,kCAAkC,CAkjDtH,CAAC"}
@@ -1079,9 +1079,13 @@ export const MANUAL_CONTROLLER_ROUTE_DOCUMENTATION = {
1079
1079
  group: CONNECTIONS,
1080
1080
  methods: [HttpMethod.POST],
1081
1081
  summary: 'Start connecting a third-party account',
1082
- description: 'Begins an outbound connection to the named provider so this application can later act as the connected account. The '
1083
- + 'opposite direction from social sign-in, which uses a vendor to identify a person. An application that declares no '
1084
- + 'connectable provider answers with a "not connectable" error rather than a missing route, which names why.',
1082
+ description: 'Begins an outbound connection so this application can later act as the connected account. The path names a '
1083
+ + 'provider ref, and the grant belongs to that ref\u2019s CONNECTION: a ref the application declares as a member of a '
1084
+ + 'shared connection (`providers.sharedConnections`) connects the one connection its base ref owns, so connecting '
1085
+ + 'through any member and through the base produce the same single grant. With `addScopes` it grows the stored '
1086
+ + 'connection instead of connecting afresh. The opposite direction from social sign-in, which uses a vendor to '
1087
+ + 'identify a person. An application that declares no connectable provider answers with a "not connectable" error '
1088
+ + 'rather than a missing route, which names why.',
1085
1089
  authentication: BEARER,
1086
1090
  authenticationSummary: BEARER_CREDENTIAL,
1087
1091
  successStatus: ok('The provider authorization URL to navigate to.'),
@@ -1118,7 +1122,8 @@ export const MANUAL_CONTROLLER_ROUTE_DOCUMENTATION = {
1118
1122
  group: CONNECTIONS,
1119
1123
  methods: [HttpMethod.POST],
1120
1124
  summary: 'Store a typed credential for a provider',
1121
- description: 'For a vendor whose credential is TYPED rather than granted. Takes one value per slot the provider declares as '
1125
+ description: 'For a vendor whose credential is TYPED rather than granted. Stored under the ref\u2019s connection, like a granted '
1126
+ + 'one. Takes one value per slot the provider declares as '
1122
1127
  + 'identifying an account, and refuses any name the provider did not declare — so a caller cannot invent a slot, '
1123
1128
  + 'and cannot write an account token into the slot holding the application\u2019s own registration. Values are '
1124
1129
  + 'sealed by the write door; the request is the only place they exist in plaintext.',
@@ -1131,7 +1136,9 @@ export const MANUAL_CONTROLLER_ROUTE_DOCUMENTATION = {
1131
1136
  group: CONNECTIONS,
1132
1137
  methods: [HttpMethod.GET],
1133
1138
  summary: 'What can be connected',
1134
- description: 'Lists the providers this application declares as connectable, with the owner scopes each one admits and whether it '
1139
+ description: 'Lists what this application declares as connectable, ONE entry per connection: a shared connection\u2019s members '
1140
+ + 'are folded into its base ref\u2019s entry, which names every ref it serves in `servesRefs`, and a ref declared in no '
1141
+ + 'shared connection is its own connection. Each entry carries the owner scopes it admits and whether it '
1135
1142
  + 'carries an authorization flow. Answers the question the stored-credential list cannot: a person with nothing '
1136
1143
  + 'connected has an empty list and no way to learn what they might connect. Admissibility is a recorded decision per '
1137
1144
  + 'provider, so this reports a decision rather than inspecting a vendor.',
@@ -1144,7 +1151,8 @@ export const MANUAL_CONTROLLER_ROUTE_DOCUMENTATION = {
1144
1151
  group: CONNECTIONS,
1145
1152
  methods: [HttpMethod.GET],
1146
1153
  summary: 'A short-lived access token for your own connected account',
1147
- description: 'Resolves the caller\u2019s OWN grant for a provider and returns its access token, renewed if the vendor\u2019s expiry '
1154
+ description: 'Resolves the caller\u2019s OWN grant for a provider \u2014 the grant of that ref\u2019s connection, so a member of a shared '
1155
+ + 'connection answers with the one grant its base holds \u2014 and returns its access token, renewed if the vendor\u2019s expiry '
1148
1156
  + 'has passed \u2014 the one credential a browser may be handed, because a vendor\u2019s own picker authorizes as the '
1149
1157
  + 'signed-in user and cannot open without it. Never the refresh token; never another owner\u2019s account. Each '
1150
1158
  + 'hand-out is recorded as a USE of the credential, so revoking or erasing the connection is visible against '
@@ -1154,6 +1162,22 @@ export const MANUAL_CONTROLLER_ROUTE_DOCUMENTATION = {
1154
1162
  authenticationSummary: BEARER_CREDENTIAL,
1155
1163
  successStatus: ok('The access token, with its expiry and granted scopes when the vendor stated them.'),
1156
1164
  },
1165
+ [ManualControllerRouteKey.PROVIDER_CONNECTION_LIST]: {
1166
+ publication: ManualControllerRoutePublication.PUBLISHED,
1167
+ group: CONNECTIONS,
1168
+ methods: [HttpMethod.GET],
1169
+ summary: 'The connections an owner holds',
1170
+ description: 'One entry per CONNECTION the owner (`ownerScope` = USER for the caller\u2019s own, ORGANIZATION with `ownerId` for a '
1171
+ + 'tenant the caller administers) has stored a credential under \u2014 never one per provider ref, because several refs '
1172
+ + 'of one vendor share one grant. Each entry names the refs the connection serves, the scopes its consent has '
1173
+ + 'accumulated (read from the sealed grant; no token is returned), its validation state, and the credential rows it '
1174
+ + 'is made of. Disconnecting is the credential resource\u2019s own DELETE of those rows, which authorizes, may ask '
1175
+ + 'for step-up, records who revoked, and withdraws the grant at a vendor that accepts a withdrawal. An organization\u2019s '
1176
+ + 'connections are listed only for a caller holding the role the organization credential list itself requires.',
1177
+ authentication: BEARER,
1178
+ authenticationSummary: BEARER_CREDENTIAL,
1179
+ successStatus: ok('The owner\u2019s connections, one entry each.'),
1180
+ },
1157
1181
  [ManualControllerRouteKey.PROVIDER_OPERATION_EXECUTE]: {
1158
1182
  publication: ManualControllerRoutePublication.PUBLISHED,
1159
1183
  group: CONNECTIONS,
@@ -1329,6 +1353,20 @@ export const MANUAL_CONTROLLER_ROUTE_DOCUMENTATION = {
1329
1353
  authenticationSummary: BEARER_CREDENTIAL,
1330
1354
  successStatus: ok('The caller\'s resolved feature set.'),
1331
1355
  },
1356
+ [ManualControllerRouteKey.SUBMISSION_CHALLENGE_PROOF_OF_WORK]: {
1357
+ publication: ManualControllerRoutePublication.PUBLISHED,
1358
+ group: RUNTIME,
1359
+ methods: [HttpMethod.GET],
1360
+ summary: 'Get a proof-of-work challenge for a public submission',
1361
+ description: 'A signed, expiring SHA-256 puzzle. When the application protects a public form (the contact form) with a captcha, a '
1362
+ + 'submission must carry an answer in the `x-submission-challenge-response` header: either a token from the consented '
1363
+ + 'captcha vendor, or the solution to this challenge. Find the number whose SHA-256 of `salt + number` equals '
1364
+ + '`challenge`, then send `{"kind":"proof_of_work","challenge":<this object>,"number":<n>}` as that header. A '
1365
+ + 'solution is accepted once, before the salt\'s expiry. Nothing about the caller is stored or sent to a third party.',
1366
+ authentication: PUBLIC,
1367
+ authenticationSummary: 'No credential. A visitor who has not signed in needs a challenge to submit a public form.',
1368
+ successStatus: ok('The challenge: algorithm, salt (carrying its expiry), challenge hash, the largest number to try, and its signature.'),
1369
+ },
1332
1370
  [ManualControllerRouteKey.CHARTS_DATA]: {
1333
1371
  publication: ManualControllerRoutePublication.PUBLISHED,
1334
1372
  group: RUNTIME,
@@ -1369,6 +1407,68 @@ export const MANUAL_CONTROLLER_ROUTE_DOCUMENTATION = {
1369
1407
  authenticationSummary: BEARER_CREDENTIAL,
1370
1408
  successStatus: ok('The provider-call summary for the window.'),
1371
1409
  },
1410
+ [ManualControllerRouteKey.MODEL_COST_SUMMARY]: {
1411
+ publication: ManualControllerRoutePublication.PUBLISHED,
1412
+ group: RUNTIME,
1413
+ methods: [HttpMethod.POST],
1414
+ summary: 'Summarize model cost per case, organization, agent or model over a window',
1415
+ description: 'Totals, for a window, what the application\'s model calls cost: grouped by case, organization, agent or model, per currency, '
1416
+ + 'with the tokens each group consumed and the exact cost rounded up once per total. Calls made outside any unit of work, and '
1417
+ + 'calls no registered price covered, are counted apart so a gap is visible rather than folded into a total. A case summary '
1418
+ + 'also reports the expert review time recorded on each case, or says that none is recorded. Application administrators only '
1419
+ + '(super-administrator or billing manager): it is the application\'s internal cost data. A window covers at most a year. POST '
1420
+ + 'because the case filter is a list of references. To invoice a month, list the model-cost period aggregates instead and link '
1421
+ + 'the one the invoice bills.',
1422
+ authentication: BEARER,
1423
+ authenticationSummary: BEARER_CREDENTIAL,
1424
+ successStatus: ok('The model-cost summary for the window.'),
1425
+ },
1426
+ [ManualControllerRouteKey.AGENT_WORK_OVERRIDE_RATE]: {
1427
+ publication: ManualControllerRoutePublication.PUBLISHED,
1428
+ group: RUNTIME,
1429
+ methods: [HttpMethod.POST],
1430
+ summary: 'Report how often experts overrode what an agent proposed, over a window',
1431
+ description: 'Counts, for a window, the decisions people took on agents\' proposals, grouped by agent, tool, case or decider: accepted as '
1432
+ + 'proposed, accepted after a change, and rejected. The override rate is the changed and rejected decisions over all three. '
1433
+ + 'Decisions nobody took (the window lapsed, the work was withdrawn, or the requester lost their access) are counted apart and '
1434
+ + 'never enter the rate. It reads the decision records only, never their content. An organization administrator reads their '
1435
+ + 'own organization; an application super-administrator may read any, or all. A window covers at most a year.',
1436
+ authentication: BEARER,
1437
+ authenticationSummary: BEARER_CREDENTIAL,
1438
+ successStatus: ok('The override rate per group for the window.'),
1439
+ },
1440
+ [ManualControllerRouteKey.AGENT_WORK_EVALUATION_EXPORT]: {
1441
+ publication: ManualControllerRoutePublication.PUBLISHED,
1442
+ group: RUNTIME,
1443
+ methods: [HttpMethod.POST],
1444
+ summary: 'Export an organization\'s decisions on one agent\'s proposals as an evaluation dataset',
1445
+ description: 'Exports, for one organization, one agent and a window, the decisions its people took on that agent\'s proposals, as JSON '
1446
+ + 'Lines: one object per decision, with no decider and no organization. The record\'s own identifiers (the decision, the '
1447
+ + 'case, the run, the task, the work product, the decider, the organization) are replaced by pseudonyms wherever they '
1448
+ + 'appear, including inside kept content; any other value in the kept proposal or final version is exported as the '
1449
+ + 'organization kept it. The proposal and the final version are included only when the organization kept them. Cases the organization walled off '
1450
+ + 'are left out, and a case of a privileged kind goes only with its client\'s recorded consent. The export is refused, and '
1451
+ + 'the refusal recorded, unless the organization holds an active export authorisation; every export is recorded on its '
1452
+ + 'ledger and in the audit trail. An organization administrator for their own organization, or an application '
1453
+ + 'super-administrator.',
1454
+ authentication: BEARER,
1455
+ authenticationSummary: BEARER_CREDENTIAL,
1456
+ successStatus: ok('The dataset, and the id of its ledger entry.'),
1457
+ },
1458
+ [ManualControllerRouteKey.RETENTION_ENFORCEMENT_EVIDENCE]: {
1459
+ publication: ManualControllerRoutePublication.PUBLISHED,
1460
+ group: RUNTIME,
1461
+ methods: [HttpMethod.GET],
1462
+ summary: 'List the retention enforcement records of the sweep runs in a window',
1463
+ description: 'Returns, for a closed window, every record the retention-class sweep wrote: one per run and per resource bound to a retention '
1464
+ + 'class, with the class, the period the run applied, the cutoff, how many rows it deleted and the window of their retention '
1465
+ + 'start, how many a legal hold kept, and whether the run completed, deferred work to the next run, failed or skipped the '
1466
+ + 'resource. A failed run has a record too. The records hold counts and instants only, so the answer names no person and no '
1467
+ + 'deleted row.',
1468
+ authentication: BEARER,
1469
+ authenticationSummary: BEARER_CREDENTIAL,
1470
+ successStatus: ok('The retention enforcement records for the window.'),
1471
+ },
1372
1472
  [ManualControllerRouteKey.USAGE_FLUSH_EVIDENCE]: {
1373
1473
  publication: ManualControllerRoutePublication.PUBLISHED,
1374
1474
  group: RUNTIME,
@@ -1403,10 +1503,11 @@ export const MANUAL_CONTROLLER_ROUTE_DOCUMENTATION = {
1403
1503
  methods: [HttpMethod.GET],
1404
1504
  summary: 'Read the flow and actor systems a client may render',
1405
1505
  description: 'The metadata and renderable graph for every flow or actor system this application exposes to its frontends — what '
1406
- + 'exists, what it is called, and how it is shaped.',
1506
+ + 'exists, what it is called, and how it is shaped — and the autonomous agents the application declares, by reference '
1507
+ + 'and actor system: the only values an organization OAuth client may be bound to.',
1407
1508
  authentication: BEARER,
1408
1509
  authenticationSummary: BEARER_CREDENTIAL,
1409
- successStatus: ok('The visible flow and actor systems.'),
1510
+ successStatus: ok('The visible flow and actor systems, and the declared autonomous agents.'),
1410
1511
  },
1411
1512
  [ManualControllerRouteKey.FLOWS_ACTORS_HISTORY]: {
1412
1513
  publication: ManualControllerRoutePublication.PUBLISHED,
@@ -1419,6 +1520,44 @@ export const MANUAL_CONTROLLER_ROUTE_DOCUMENTATION = {
1419
1520
  authenticationSummary: BEARER_CREDENTIAL,
1420
1521
  successStatus: ok('The caller\'s conversation, or confirmation that it was cleared.'),
1421
1522
  },
1523
+ [ManualControllerRouteKey.FLOWS_ACTORS_DECISIONS]: {
1524
+ publication: ManualControllerRoutePublication.PUBLISHED,
1525
+ group: RUNTIME,
1526
+ methods: [HttpMethod.GET],
1527
+ summary: 'List the decisions waiting on me',
1528
+ description: 'The pending decisions an agent is waiting on that the caller may act on, across every conversation: their own, those '
1529
+ + 'assigned to them, and those routed to a role they hold in the decision\'s organization. Each is a decision card — the '
1530
+ + 'call being asked for, its deadline, its route and what the caller may do — and never the conversation behind it. '
1531
+ + 'Every row is re-checked against the same rule an act is, so the list never shows a decision the caller could not act on.',
1532
+ authentication: BEARER,
1533
+ authenticationSummary: BEARER_CREDENTIAL,
1534
+ successStatus: ok('The decision cards.'),
1535
+ },
1536
+ [ManualControllerRouteKey.FLOWS_ACTORS_DECISION_ACT]: {
1537
+ publication: ManualControllerRoutePublication.PUBLISHED,
1538
+ group: RUNTIME,
1539
+ methods: [HttpMethod.POST],
1540
+ summary: 'Answer, reassign, claim, unclaim or escalate a decision',
1541
+ description: 'Acts on one pending decision. `answer` approves or denies the call, optionally with edited arguments; the work then '
1542
+ + 'runs as the person who raised it, with their access as it stands now. `reassign` and `escalate` move it to another '
1543
+ + 'person, who must be able to answer it; `claim` takes a role-routed decision for yourself and `unclaim` gives it back. '
1544
+ + 'A decision that does not exist, is settled, or is not routed to the caller all answer the same way.',
1545
+ authentication: BEARER,
1546
+ authenticationSummary: BEARER_CREDENTIAL,
1547
+ successStatus: ok('What the act came to.'),
1548
+ },
1549
+ [ManualControllerRouteKey.FLOWS_ACTORS_DECISION_CANDIDATES]: {
1550
+ publication: ManualControllerRoutePublication.PUBLISHED,
1551
+ group: RUNTIME,
1552
+ methods: [HttpMethod.GET],
1553
+ summary: 'List who a decision may be moved to',
1554
+ description: 'The people in the decision\'s organization who could answer it, for a caller who may reassign or escalate it. Each is '
1555
+ + 'checked against the same rule a move is, so choosing one of them is never refused for who they are. A decision the '
1556
+ + 'caller may not move answers the same way as one that does not exist.',
1557
+ authentication: BEARER,
1558
+ authenticationSummary: BEARER_CREDENTIAL,
1559
+ successStatus: ok('The people it may be moved to.'),
1560
+ },
1422
1561
  [ManualControllerRouteKey.ANALYTICS_EVENTS]: {
1423
1562
  publication: ManualControllerRoutePublication.PUBLISHED,
1424
1563
  group: RUNTIME,