@wildo-ai/saas-specifications 1.1.2 → 1.1.4

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 (1007) hide show
  1. package/dist/esm/_catalogs/index.d.ts.map +1 -1
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  4. package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.d.ts.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
  6. package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
  8. package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  10. package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
  12. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
  14. package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
  15. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
  16. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
  17. package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
  18. package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
  19. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
  20. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -6
  21. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  22. package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
  23. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  24. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  25. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
  26. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  27. package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
  28. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  29. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  30. package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
  31. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  32. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
  33. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  34. package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
  35. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  36. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  37. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  38. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
  40. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  41. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
  42. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  43. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
  44. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  45. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  46. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  47. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  48. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  49. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
  50. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  51. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
  52. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  53. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  54. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  55. package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
  56. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -1
  57. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  59. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  60. package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
  61. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +118 -0
  62. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  63. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +65 -3
  64. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  65. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +508 -7
  66. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  67. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +489 -19
  68. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  69. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  70. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  71. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
  72. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +2 -0
  73. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  74. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +2 -0
  75. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  76. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  77. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  78. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  79. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
  81. package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
  82. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  83. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  84. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  85. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  86. package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
  87. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  88. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  89. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
  90. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  91. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
  92. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  93. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
  94. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  95. package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
  96. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  97. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
  98. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  99. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
  100. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  101. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  102. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  103. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  104. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +9 -9
  105. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
  106. package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
  107. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -1
  109. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  110. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  111. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
  112. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  113. package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
  114. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  115. package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
  116. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  117. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  118. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  120. package/dist/esm/_core/index.d.ts +1 -0
  121. package/dist/esm/_core/index.d.ts.map +1 -1
  122. package/dist/esm/_core/index.js +1 -0
  123. package/dist/esm/_core/index.js.map +1 -1
  124. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  125. package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
  126. package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
  127. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  128. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  129. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  130. package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
  131. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  132. package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
  133. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  134. package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
  135. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  136. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  137. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  138. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  139. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  140. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  141. package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
  142. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  143. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  144. package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
  145. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -18
  146. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  147. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
  148. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  149. package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
  150. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  151. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  152. package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
  153. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  154. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  155. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  156. package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
  157. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  158. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  159. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
  160. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  161. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +72 -9
  162. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  163. package/dist/esm/_core/placement-plan/placement-plan-validation.js +68 -20
  164. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  165. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  166. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +12 -5
  167. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  168. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +12 -5
  169. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  170. package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
  171. package/dist/esm/_core/provider-specification.schemas.d.ts +98 -0
  172. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
  173. package/dist/esm/_core/provider-specification.schemas.js +124 -0
  174. package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
  175. package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
  176. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  178. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  179. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
  180. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  181. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
  182. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  183. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
  184. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  185. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  186. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  187. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  188. package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
  189. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  190. package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
  191. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  192. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  193. package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
  194. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  195. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
  196. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  197. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
  198. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  199. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  200. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
  201. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
  202. package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
  203. package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
  204. package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
  205. package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
  206. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  207. package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
  208. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
  209. package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
  210. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
  211. package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
  212. package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
  213. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  214. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
  215. package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
  216. package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
  217. package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
  218. package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
  219. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  220. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
  221. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  222. package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
  223. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
  224. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
  225. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
  226. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
  227. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
  228. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +7 -7
  229. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  230. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +6 -7
  231. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  232. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
  233. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  234. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
  235. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  236. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +2 -2
  237. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
  238. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +2 -2
  239. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
  240. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  241. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
  242. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  243. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
  244. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  245. package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
  246. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  247. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +16 -23
  248. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  249. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +65 -27
  250. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  251. package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
  252. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  253. package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +1 -1
  254. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  255. package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
  256. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  257. package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
  258. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  259. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +83 -49
  260. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  261. package/dist/esm/assurance/assurance-authority-basis.definitions.js +194 -60
  262. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  263. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +25 -0
  264. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  265. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
  266. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  267. package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
  268. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  269. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  270. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  271. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +49 -0
  272. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
  273. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +2832 -0
  274. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
  275. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
  276. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
  277. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  278. package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
  279. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  280. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +44 -7
  281. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  282. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +64 -7
  283. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  284. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +8 -1
  285. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  286. package/dist/esm/assurance/assurance-program-generation.schemas.js +10 -2
  287. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  288. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  289. package/dist/esm/assurance/assurance-program.schemas.d.ts +463 -11
  290. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  291. package/dist/esm/assurance/assurance-program.schemas.js +301 -5
  292. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  293. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  294. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  295. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
  296. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
  297. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +1028 -0
  298. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
  299. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -1
  300. package/dist/esm/assurance.exports.d.ts.map +1 -1
  301. package/dist/esm/companion-exports.d.ts +7 -6
  302. package/dist/esm/companion-exports.d.ts.map +1 -1
  303. package/dist/esm/companion-exports.js.map +1 -1
  304. package/dist/esm/engine/_bootstrap.d.ts.map +1 -1
  305. package/dist/esm/engine/_bootstrap.js +3 -1
  306. package/dist/esm/engine/_bootstrap.js.map +1 -1
  307. package/dist/esm/engine/applications/index.d.ts.map +1 -1
  308. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  309. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +13 -1
  310. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  311. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  312. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
  313. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  314. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
  315. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  316. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +14 -2
  317. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  318. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  319. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +9 -9
  320. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  321. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  322. package/dist/esm/engine/applications/resources/applications.resource.specification.js +1 -1
  323. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  324. package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
  325. package/dist/esm/engine/auth/index.d.ts.map +1 -1
  326. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +47 -0
  327. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
  328. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +355 -0
  329. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
  330. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
  331. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +3 -3
  332. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  333. package/dist/esm/engine/auth/resources/index.d.ts +1 -0
  334. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  335. package/dist/esm/engine/auth/resources/index.js +1 -0
  336. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  337. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  338. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +1 -1
  339. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  340. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  341. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +13 -1
  342. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  343. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
  344. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  345. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +14 -2
  346. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  347. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
  348. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
  349. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
  350. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
  351. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  352. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +4 -4
  353. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  354. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  355. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +2 -2
  356. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  357. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  358. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +6 -6
  359. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  360. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  361. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +9 -9
  362. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  363. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  364. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +2 -2
  365. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  366. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
  367. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  368. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +112 -10
  369. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  370. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +2 -6
  371. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  372. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
  373. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
  374. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
  375. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
  376. package/dist/esm/engine/billing/index.d.ts.map +1 -1
  377. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  378. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +4 -3
  379. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  380. package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
  381. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  382. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +2 -2
  383. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  384. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  385. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +3 -3
  387. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  388. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  389. package/dist/esm/engine/billing/resources/prices.resource.specification.js +7 -7
  390. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  391. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  392. package/dist/esm/engine/billing/resources/products.resource.specification.js +7 -7
  393. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  394. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  395. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +14 -12
  396. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  397. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  398. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +7 -7
  399. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  400. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  401. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +6 -3
  402. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  403. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +7 -3
  404. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  405. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +28 -11
  406. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  407. package/dist/esm/engine/compliance/index.d.ts.map +1 -1
  408. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +69 -0
  409. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
  410. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +316 -0
  411. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
  412. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  413. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +8 -8
  414. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  415. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  416. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  417. package/dist/esm/engine/compliance/resources/index.js +1 -0
  418. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  419. package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
  420. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  421. package/dist/esm/engine/engine-resource-specifications.registry.js +10 -2
  422. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  423. package/dist/esm/engine/engine-resource-sub-domain.d.ts +20 -0
  424. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  425. package/dist/esm/engine/engine-resource-sub-domain.js +66 -0
  426. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  427. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  428. package/dist/esm/engine/errors/error-messages.specification.js +33 -0
  429. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  430. package/dist/esm/engine/errors/index.d.ts.map +1 -1
  431. package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
  432. package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
  433. package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
  434. package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
  435. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  436. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  437. package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
  438. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  439. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  440. package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
  441. package/dist/esm/engine/features/index.d.ts.map +1 -1
  442. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
  443. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  444. package/dist/esm/engine/features/resources/application-features.resource.specification.js +3 -3
  445. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  446. package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
  447. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  448. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +3 -3
  449. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  450. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  451. package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -3
  452. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  453. package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
  454. package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
  455. package/dist/esm/engine/files/index.d.ts.map +1 -1
  456. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  457. package/dist/esm/engine/files/resources/files.resource.specification.js +11 -11
  458. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  459. package/dist/esm/engine/files/resources/index.d.ts.map +1 -1
  460. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +11 -11
  462. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  463. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  464. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +4 -4
  465. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  466. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  467. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +2 -2
  468. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  469. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  470. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  471. package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
  472. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
  473. package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.d.ts.map +1 -1
  474. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  475. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  476. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
  477. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
  478. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
  479. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
  480. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
  481. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
  482. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
  483. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  484. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
  486. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
  487. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
  488. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
  489. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
  490. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
  491. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
  492. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
  493. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
  494. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
  495. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  496. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
  497. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
  498. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
  499. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  500. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
  501. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
  502. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
  503. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
  504. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
  505. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
  506. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
  507. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
  508. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
  509. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
  510. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
  511. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +1 -1
  512. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
  513. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
  514. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
  515. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
  516. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.map +1 -1
  517. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
  518. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
  519. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
  520. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
  521. package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
  522. package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
  523. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
  524. package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  525. package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
  526. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
  527. package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
  528. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
  529. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
  530. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
  531. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
  532. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
  533. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
  534. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
  535. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  536. package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
  537. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
  538. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  539. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  540. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
  541. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.d.ts.map +1 -1
  542. package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
  543. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
  544. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
  545. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
  546. package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
  547. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +1 -1
  548. package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.d.ts.map +1 -1
  549. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
  550. package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
  551. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  552. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +1 -1
  553. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +1 -1
  554. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.d.ts.map +1 -1
  555. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +1 -1
  556. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.d.ts.map +1 -1
  557. package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.d.ts.map +1 -1
  558. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  559. package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
  560. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  561. package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
  562. package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
  563. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  564. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
  565. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
  566. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
  567. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
  568. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
  569. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
  570. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
  571. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  572. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
  573. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
  574. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
  575. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
  576. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  577. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
  578. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
  579. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
  580. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
  581. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  582. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
  583. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  584. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
  585. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
  586. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
  587. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
  588. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
  589. package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
  590. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  591. package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
  592. package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
  594. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
  595. package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
  596. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
  597. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
  598. package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
  599. package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
  600. package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
  602. package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
  603. package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
  604. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
  606. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.map +1 -1
  607. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  608. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  609. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.d.ts.map +1 -1
  610. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
  611. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
  612. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
  613. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
  614. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
  615. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
  616. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
  617. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
  618. package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
  619. package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
  620. package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
  622. package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
  623. package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
  624. package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
  625. package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
  626. package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
  627. package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
  628. package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
  629. package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
  630. package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
  631. package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
  632. package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
  633. package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
  634. package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
  635. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
  636. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
  637. package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
  638. package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
  639. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
  640. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
  641. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
  642. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
  643. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
  644. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
  645. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
  646. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
  647. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
  648. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
  649. package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
  650. package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
  651. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
  652. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
  653. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
  654. package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
  656. package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
  657. package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
  658. package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
  659. package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
  660. package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
  661. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
  662. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
  663. package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
  664. package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
  665. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
  666. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
  667. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
  668. package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
  669. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
  670. package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  671. package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
  672. package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
  673. package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
  674. package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
  675. package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
  676. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +1 -1
  677. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.d.ts.map +1 -1
  678. package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
  679. package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
  680. package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
  681. package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  682. package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
  683. package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  684. package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
  685. package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
  686. package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
  687. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
  688. package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
  689. package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  690. package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
  691. package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
  692. package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
  693. package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
  694. package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
  695. package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
  696. package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
  697. package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
  698. package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
  699. package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
  700. package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
  701. package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
  702. package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
  703. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
  704. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
  705. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
  706. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  707. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
  708. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
  709. package/dist/esm/engine/frontend-components/index.d.ts +0 -2
  710. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  711. package/dist/esm/engine/frontend-components/index.js +4 -6
  712. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  713. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  714. package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
  715. package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
  716. package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
  717. package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
  718. package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
  719. package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
  720. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
  721. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
  722. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
  723. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
  724. package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
  725. package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
  726. package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
  727. package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
  728. package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
  729. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +1 -1
  730. package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
  731. package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
  732. package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
  733. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
  734. package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
  735. package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
  736. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  737. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
  738. package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
  739. package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
  740. package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
  741. package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
  742. package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
  743. package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
  744. package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
  745. package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
  746. package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
  747. package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
  748. package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
  749. package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
  750. package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
  751. package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
  752. package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
  753. package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
  754. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  755. package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
  756. package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
  757. package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
  758. package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
  759. package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
  760. package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
  761. package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
  762. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
  763. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
  764. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
  765. package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
  766. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
  767. package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
  768. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
  769. package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
  770. package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
  771. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
  772. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
  773. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
  774. package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
  775. package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
  776. package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
  777. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
  778. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
  779. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
  780. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  781. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  782. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
  783. package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
  784. package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.map +1 -1
  785. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  786. package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.d.ts.map +1 -1
  787. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  788. package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
  789. package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
  790. package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
  791. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
  792. package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
  793. package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
  794. package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
  795. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  796. package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
  797. package/dist/esm/engine/guidance/index.d.ts.map +1 -1
  798. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  799. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +12 -12
  800. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  801. package/dist/esm/engine/guidance/resources/index.d.ts.map +1 -1
  802. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  803. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +9 -9
  804. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  805. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +8 -0
  806. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  807. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +6 -6
  808. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  809. package/dist/esm/engine/index.d.ts +1 -0
  810. package/dist/esm/engine/index.d.ts.map +1 -1
  811. package/dist/esm/engine/index.js +1 -0
  812. package/dist/esm/engine/index.js.map +1 -1
  813. package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
  814. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  815. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +17 -17
  816. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  817. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  818. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +7 -7
  819. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  820. package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
  821. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  822. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +8 -8
  823. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  824. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
  825. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  826. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +10 -5
  827. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  828. package/dist/esm/engine/notifications/index.d.ts.map +1 -1
  829. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  830. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  831. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +20 -15
  832. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  833. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  834. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +11 -10
  835. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  836. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  837. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +29 -6
  838. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  839. package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
  840. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  841. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  842. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
  843. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
  844. package/dist/esm/engine/organizations/index.d.ts.map +1 -1
  845. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  846. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  847. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +9 -9
  848. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  849. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  850. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +3 -3
  851. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  852. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  853. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +4 -4
  854. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  855. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  856. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
  857. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  858. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +1 -1
  860. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  861. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  862. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  863. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +7 -7
  864. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  865. package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
  866. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
  867. package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
  868. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
  869. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
  870. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
  871. package/dist/esm/engine/providers/anthropic.provider.specification.js +42 -0
  872. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
  873. package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
  874. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
  875. package/dist/esm/engine/providers/apple.provider.specification.js +44 -0
  876. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
  877. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
  878. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
  879. package/dist/esm/engine/providers/email-preview.provider.specification.js +39 -0
  880. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
  881. package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
  882. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
  883. package/dist/esm/engine/providers/github.provider.specification.js +39 -0
  884. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
  885. package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
  886. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
  887. package/dist/esm/engine/providers/google.provider.specification.js +43 -0
  888. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
  889. package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
  890. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
  891. package/dist/esm/engine/providers/grok.provider.specification.js +39 -0
  892. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
  893. package/dist/esm/engine/providers/index.d.ts +23 -0
  894. package/dist/esm/engine/providers/index.d.ts.map +1 -0
  895. package/dist/esm/engine/providers/index.js +37 -0
  896. package/dist/esm/engine/providers/index.js.map +1 -0
  897. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
  898. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
  899. package/dist/esm/engine/providers/microsoft.provider.specification.js +39 -0
  900. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
  901. package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
  902. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
  903. package/dist/esm/engine/providers/mistral.provider.specification.js +42 -0
  904. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
  905. package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
  906. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
  907. package/dist/esm/engine/providers/openai.provider.specification.js +52 -0
  908. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
  909. package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
  910. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
  911. package/dist/esm/engine/providers/opencode.provider.specification.js +58 -0
  912. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
  913. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
  914. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
  915. package/dist/esm/engine/providers/perplexity.provider.specification.js +39 -0
  916. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
  917. package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
  918. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
  919. package/dist/esm/engine/providers/resend.provider.specification.js +42 -0
  920. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
  921. package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
  922. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
  923. package/dist/esm/engine/providers/stripe.provider.specification.js +44 -0
  924. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
  925. package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
  926. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
  927. package/dist/esm/engine/providers/twilio.provider.specification.js +42 -0
  928. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
  929. package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
  930. package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
  931. package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
  932. package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
  933. package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
  934. package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
  935. package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
  936. package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
  937. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  938. package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
  939. package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
  940. package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
  941. package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
  942. package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
  943. package/dist/esm/engine/users/index.d.ts.map +1 -1
  944. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  945. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -7
  946. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  947. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  948. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +9 -9
  949. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  950. package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
  951. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  952. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  953. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
  954. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  955. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  956. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -8
  957. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  958. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  959. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -4
  960. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  961. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +4 -4
  962. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  963. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  964. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +2 -2
  965. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  966. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
  967. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  968. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +13 -11
  969. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  970. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  971. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +1 -1
  972. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  973. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  974. package/dist/esm/engine/users/resources/user-self.resource.specification.js +9 -9
  975. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  976. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
  977. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  978. package/dist/esm/engine/users/resources/users.resource.specification.js +93 -0
  979. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  980. package/dist/esm/index.d.ts.map +1 -1
  981. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  982. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +95 -45
  983. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  984. package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
  985. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
  986. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
  987. package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
  988. package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
  989. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
  990. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
  991. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
  992. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
  993. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  994. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +36 -0
  995. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  996. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  997. package/dist/tsconfig.build.tsbuildinfo +1 -1
  998. package/package.json +8 -8
  999. package/dist/assurance/external-framework-mapping.json +0 -980
  1000. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
  1001. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
  1002. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
  1003. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
  1004. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
  1005. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
  1006. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
  1007. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"organization-oauth-clients.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/organization-oauth-clients.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,WAAW,EACX,cAAc,EACd,qBAAqB,IAAI,EAAE,EAC3B,2BAA2B,EAC3B,aAAa,EACb,SAAS,EACT,cAAc,EACd,6BAA6B,EAC7B,6BAA6B,EAC7B,iBAAiB,EACjB,4BAA4B,EAC5B,0BAA0B,EAC1B,oBAAoB,EACpB,0DAA0D,IAAI,sBAAsB,GACrF,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,wCAAwC,GAAG;IAC/C,GAAG,EAAE,+BAA+B;IACpC,IAAI,EAAE,iCAAiC;IACvC,WAAW,EAAE,yEAAyE;IACtF,KAAK,EAAE,WAAW,CAAC,YAAY;IAC/B,KAAK,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC;IAClC,aAAa,EAAE,EAAE;IACjB,aAAa,EAAE,CAAC,cAAc,CAAC,kBAAkB,CAAC;IAClD,YAAY,EAAE,EAAE;IAChB,sBAAsB,EAAE,EAAE;IAC1B,eAAe,EAAE,KAAK;IACtB,uBAAuB,EAAE,4BAA4B,CAAC,mBAAmB;IACzE,MAAM,EAAE,iBAAiB,CAAC,MAAM;IAChC,SAAS,EAAE,0BAA0B;IACrC,SAAS,EAAE,0BAA0B;IACrC,SAAS,EAAE,0BAA0B;IACrC,YAAY,EAAE,UAAU;IACxB,kBAAkB,EAAE,6BAA6B,CAAC,QAAQ;IAC1D,cAAc,EAAE,2BAA2B;CAC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AAM;iBACzC;aACF;SACF;KACF;IACD,mBAAmB,EAAE;QACnB,gMAAgM;QAChM,0HAA0H;QAC1H,6WAA6W;KAC9W;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n ApiKeyScope,\n CORE_ORG_ROLES,\n CoreResourceOperation as Op,\n ErrorCustomMessageReference,\n ErrorSeverity,\n ErrorType,\n OAuthGrantType,\n OAuthClientOrganizationSchema,\n OAuthClientRegistrationOrigin,\n OAuthClientStatus,\n OAuthTokenEndpointAuthMethod,\n OrgOAuthClients_Operations,\n ResourcePrimaryScope,\n orgOAuthClientsResourceConfiguration_InitializationFactory as orgOAuthClientsFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE = {\n _id: 'oauth_client_org_01HX2EXAMPLE',\n name: 'Revenue synchronization service',\n description: 'Confidential machine client used by the revenue synchronization worker.',\n scope: ApiKeyScope.ORGANIZATION,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n allowedScopes: [],\n allowedGrants: [OAuthGrantType.CLIENT_CREDENTIALS],\n redirectUris: [],\n postLogoutRedirectUris: [],\n requiresConsent: false,\n tokenEndpointAuthMethod: OAuthTokenEndpointAuthMethod.CLIENT_SECRET_BASIC,\n status: OAuthClientStatus.ACTIVE,\n expiresAt: '2099-01-01T00:00:00.000Z',\n createdAt: '2026-08-01T09:00:00.000Z',\n updatedAt: '2026-08-17T14:20:00.000Z',\n secretPrefix: 'oc_org_1',\n registrationOrigin: OAuthClientRegistrationOrigin.OPERATOR,\n organizationId: 'organization_01HX2EXAMPLE',\n} as const;\n\nconst ORGANIZATION_OAUTH_CLIENT_SUMMARY_EXAMPLE = {\n _id: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE._id,\n name: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.name,\n tokenEndpointAuthMethod: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.tokenEndpointAuthMethod,\n status: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.status,\n expiresAt: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.expiresAt,\n createdAt: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.createdAt,\n secretPrefix: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.secretPrefix,\n registrationOrigin: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.registrationOrigin,\n organizationId: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.organizationId,\n} as const;\n\nconst ORGANIZATION_OAUTH_CLIENT_PAGE_EXAMPLE = {\n data: [ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nconst ORGANIZATION_OAUTH_CLIENT_SUMMARY_PAGE_EXAMPLE = {\n data: [ORGANIZATION_OAUTH_CLIENT_SUMMARY_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nconst ORGANIZATION_OAUTH_CLIENT_NOT_FOUND_EXAMPLE = {\n error: {\n type: ErrorType.NOT_FOUND,\n severity: ErrorSeverity.LOW,\n message: 'Requested resource not found',\n customMessage: 'The OAuth client could not be found.',\n customMessageReference: ErrorCustomMessageReference.NOT_FOUND,\n timestamp: '2026-08-18T10:30:00.000Z',\n },\n} as const;\n\n/**\n * Framework-owned base specification for the organization-scoped\n * `organizationOAuthClients` resource.\n *\n * This resource is a FAITHFUL MIRROR of the api-keys resource\n * (`organization-api-keys.resource.specification.ts`) with a FOCUSED operation\n * set — core READ/LIST/SEARCH/CREATE/DELETE/COUNT plus custom ROTATE/REGENERATE.\n * The DEACTIVATE/REACTIVATE/EXTEND_EXPIRY/USAGE_STATS custom ops the api-keys\n * spec documents are intentionally deferred to the OIDC branch\n * (`.claude/plans/external-access-oidc-mcp-a2a.md`).\n *\n * Unlike api-keys, this resource ships NO UI behavior preset today, so — like\n * `jobExecutions` — it is authored from the shared resource factory only\n * (`resourceSpecification(...)`, no `resourceSpecificationFromFrontendConfiguration`\n * overlay). Its first useful semantic layer is the base operational model; the\n * label/layout/views frontend narration the api-keys spec carries has no preset\n * to document here.\n *\n * `resourcePrimaryScope: ORGANIZATIONS` — an organization OAuth client is\n * per-tenant data owned by the `organizationId` FK; the scope is enforced by the\n * spec ↔ registry alignment guard against the `isPrimaryScope: true` relationship\n * row for `OAUTH_CLIENTS_ORGANIZATION`.\n */\nexport const organizationOAuthClientsResourceSpecification = resourceSpecification(\n orgOAuthClientsFactory,\n OAuthClientOrganizationSchema,\n ({ schemaShape }) => ({\n purpose: 'Organization-scoped registered OAuth clients: client-credentials secrets used by org administrators and machine integrations to obtain tokens and call backend APIs in tenant context.',\n businessRole: 'First-class machine-to-machine OAuth credential for automation and partner integrations. Under client-credentials it authenticates the SAME organization machine principal (`ORGANIZATION_MACHINE`) that an organization API key does — a distinct credential type, not a distinct principal — and additionally supports authorization-code user delegation, which API keys cannot.',\n lifecycleRole: 'Created with optional expiry, can be rotated and regenerated, and deleted. The current token paths do not populate `lastUsedAt`, so retirement decisions require audit and workload evidence rather than this field alone.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OAuthClientOrganizationSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'orgOAuthClientsResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'OAUTH_CLIENTS_ORGANIZATION',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrgOAuthClients_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'No UI behavior preset exists for this resource — authored backend-only (no frontend overlay), mirroring the `jobExecutions` shape rather than the api-keys mixed shape.',\n 'Runtime declares userNotifications with channel EMAIL + FRONT_END_SUCCESS on CREATE/DELETE/ROTATE/REGENERATE; DF-1 communications blocks are omitted from this pass to stay a structural mirror of the api-keys spec, which likewise documents no communications blocks.',\n ],\n },\n fields: {\n name: schemaShape.name.stringSpec({\n meaning: 'Human label for the OAuth client in admin UI and support.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n description: schemaShape.description.stringSpec({\n meaning: 'Operator-authored explanation of the integration that owns this credential and why it exists.',\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Whether the client can obtain tokens and authenticate traffic.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OAuthClientStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OAuthClientStatus.ACTIVE]: { meaning: 'Client may mint tokens within policy and expiry.' },\n [OAuthClientStatus.INACTIVE]: { meaning: 'Revoked or disabled; token exchanges should fail.' },\n [OAuthClientStatus.EXPIRED]: { meaning: 'Past its validity window; treat as invalid.' },\n },\n }),\n secretPrefix: schemaShape.secretPrefix.stringSpec({\n meaning: 'Short public prefix of the client secret material for list rows and support correlation (never the full secret).',\n }),\n roles: schemaShape.roles.arraySpec({\n meaning: 'Roles embedded on the client; every token minted for it inherits exactly these roles, bounding what the integration or automation principal may do (least-privilege).',\n elementMeaning: 'One role identifier — a core app/org role token or an app-defined custom role string.',\n // Element is a union of `CORE_APP_ROLES` + `CORE_ORG_ROLES` + a free\n // custom-role string; the shape validator requires ONE enum vocabulary\n // to advertise, so we name the org-scope enum (the primary vocabulary\n // for an organization client). App tokens and custom strings remain valid\n // per `elementMeaning`.\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CORE_ORG_ROLES',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n }),\n allowedScopes: schemaShape.allowedScopes.arraySpec({\n meaning:\n 'Identity scopes this client may request in an authorization-code flow. These scopes select identity claims; authorization remains roles-only. Empty for a client-credentials-only machine client.',\n elementMeaning: 'One OAuth/OIDC identity scope allowed for this client, such as `openid`, `profile`, or `email`.',\n }),\n allowedGrants: schemaShape.allowedGrants.arraySpec({\n meaning: 'OAuth grant types this client is allowed to use. A token request using any other grant is refused.',\n elementMeaning: 'One permitted OAuth grant type.',\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OAuthGrantType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n }),\n requiresConsent: schemaShape.requiresConsent.booleanSpec({\n meaning:\n 'Whether an authorization-code request must obtain explicit user consent before a code is issued. Machine-only client-credentials clients leave this false.',\n }),\n organizationId: schemaShape.organizationId.stringSpec({\n meaning: 'Owning organization; immutable after create.',\n }),\n expiresAt: schemaShape.expiresAt.dateSpec({ meaning: 'Optional automatic invalidation time.' }),\n lastUsedAt: schemaShape.lastUsedAt.dateSpec({\n meaning: 'Reserved timestamp for a recorded successful use. The current OAuth token paths do not populate it; an absent or old value is not evidence that the client is unused.',\n }),\n previousSecretPrefix: schemaShape.previousSecretPrefix.stringSpec({\n meaning: 'Public prefix of the previous secret retained during a rotation or regeneration overlap window.',\n }),\n previousSecretInvalidationDate: schemaShape.previousSecretInvalidationDate.dateSpec({\n meaning: 'After a rotation, when the PRIOR secret stops authenticating. During this grace window both the new and previous secrets work so integrations can migrate without downtime; absent/null after a regenerate means the prior secret stays valid until the next rotation.',\n }),\n redirectUris: schemaShape.redirectUris.arraySpec({\n meaning:\n 'Exact-match allowlist of post-authorization redirect targets for the authorization_code flow. A request redirect_uri must equal one entry by exact string (no wildcards/substrings), and each entry is itself constrained to a safe absolute URL — https for any host/port, or http only for a loopback host — with no fragment or embedded credentials, so a registered entry can never become an open-redirect or stored-XSS navigation target. Empty for pure client_credentials clients.',\n elementMeaning: 'One registered redirect URI: an https URL (any host/port) or an http loopback URL (localhost / 127.0.0.1 / ::1).',\n }),\n postLogoutRedirectUris: schemaShape.postLogoutRedirectUris.arraySpec({\n meaning:\n 'Exact-match allowlist of POST-LOGOUT redirect targets for OIDC RP-Initiated Logout. When a relying party ends the user session at /oauth/end-session with a post_logout_redirect_uri, that value must equal one entry by exact string (no wildcards/substrings) or the OP refuses to redirect back and lands the user on its own logged-out page. Each entry is constrained to a safe absolute URL — https for any host/port, or http only for a loopback host — with no fragment or embedded credentials, the same anti-open-redirect gate as redirectUris. Empty for clients that never drive an interactive logout.',\n elementMeaning: 'One registered post-logout redirect URI: an https URL (any host/port) or an http loopback URL (localhost / 127.0.0.1 / ::1).',\n }),\n registrationOrigin: schemaShape.registrationOrigin.enumSpec({\n meaning:\n 'WHO registered this client, which is a different question from which scope owns the row. Every client created through the admin APIs is OPERATOR — a principal with standing in this application vouched for it. DYNAMIC means an anonymous caller self-registered it at the RFC 7591 `/oauth/register` endpoint and proved nothing beyond reaching the server. The authorize path reads this field to decide TRUST: a DYNAMIC client is treated as belonging to no tenant, so it can never inherit the first-party posture its APPLICATION-scoped row would otherwise imply, always faces the interactive consent screen, and is capped at identity scopes. Server-managed and immutable — a caller able to set it could file itself as vouched-for.',\n importance: FieldSemanticImportance.CONTEXTUAL,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OAuthClientRegistrationOrigin',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OAuthClientRegistrationOrigin.OPERATOR]: { meaning: 'Created by a principal with standing in this application (an administrator, a platform operator, or a seed). The default for authenticated administrative registration.' },\n [OAuthClientRegistrationOrigin.DYNAMIC]: { meaning: 'Self-registered anonymously through RFC 7591 dynamic client registration; unaffiliated, consent-always, identity scopes only.' },\n },\n }),\n tokenEndpointAuthMethod: schemaShape.tokenEndpointAuthMethod.enumSpec({\n meaning: 'How the client authenticates at the token endpoint: `none` for a public client (PKCE only, no client secret), or `client_secret_basic` / `client_secret_post` for a confidential client that presents its client_secret to redeem an authorization code or revoke a token. Defaults to `none`; a server-side client that can safely hold a secret opts into one of the secret-bearing methods.',\n importance: FieldSemanticImportance.CONTEXTUAL,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OAuthTokenEndpointAuthMethod',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OAuthTokenEndpointAuthMethod.NONE]: { meaning: 'Public client: no secret at the token endpoint; authorization_code relies on PKCE S256 + exact redirect_uri.' },\n [OAuthTokenEndpointAuthMethod.CLIENT_SECRET_BASIC]: { meaning: 'Confidential client presenting its secret via HTTP Basic auth.' },\n [OAuthTokenEndpointAuthMethod.CLIENT_SECRET_POST]: { meaning: 'Confidential client presenting its secret in the request body.' },\n },\n }),\n },\n operations: {\n [Op.COUNT]: {\n purpose: 'Repository-only counts for entitlements and feature metering.',\n outcome: 'Numeric total of clients per scope without a public list.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The count of OAuth clients in scope is returned for entitlement/metering checks.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the operator/metering role; this repository-only count is not a member-facing surface.' },\n ],\n idempotent: true,\n },\n [Op.READ]: {\n purpose: 'Inspect one client (org admin default; app super-admin `admin` variant for cross-tenant).',\n outcome: 'Metadata and status without revealing raw secret material.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The client’s metadata and status are returned (never the raw secret material).' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin for this client’s tenant (or lacks the super-admin `admin` role for cross-tenant reads).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No OAuth client exists for the supplied id in the caller’s visible scope.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Inspect a confidential organization integration client',\n response: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n variants: {\n context: {\n examples: [\n {\n title: 'Inspect the client through the context representation',\n response: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n summary: {\n examples: [\n {\n title: 'Inspect the client summary used in selectors',\n response: ORGANIZATION_OAUTH_CLIENT_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Enumerate clients the caller may see; members see a reduced roster vs admins.',\n outcome: 'Rows for security settings and admin consoles.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of OAuth clients the caller is permitted to see.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks any role that grants visibility into the organization’s OAuth-client roster.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Browse organization OAuth clients',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: ORGANIZATION_OAUTH_CLIENT_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n variants: {\n context: {\n examples: [\n {\n title: 'Browse clients through the context representation',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: ORGANIZATION_OAUTH_CLIENT_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n summary: {\n examples: [\n {\n title: 'Browse compact client summaries',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: ORGANIZATION_OAUTH_CLIENT_SUMMARY_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Find registered clients by name, status, expiration, and the other documented search parameters.',\n outcome: 'A paginated set of clients matching the supplied filters and sort order.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of OAuth clients matching the search/filter query.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role for the requested search scope (the broader-field filters require the super-admin `admin` variant).' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Find active expiring client-credentials integrations',\n request: {\n q: 'revenue',\n name: 'Revenue synchronization service',\n status: OAuthClientStatus.ACTIVE,\n hasExpiration: true,\n page: 1,\n limit: 20,\n sort: 'createdAt:desc',\n },\n response: ORGANIZATION_OAUTH_CLIENT_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [Op.CREATE]: {\n purpose: 'Register a new organization OAuth client and issue its first client secret.',\n outcome: 'The client is registered and its plaintext secret is returned exactly once. Store it before dismissing the response; later reads expose only its prefix.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new OAuth client is registered; the org-admin path returns the full plaintext secret exactly once in this response.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The create payload fails schema validation (e.g. missing `name`, malformed `expiresAt`).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin (or app-admin acting on the tenant) authorized to register OAuth clients.' },\n ],\n idempotent: false,\n rateLimitNote: 'Client registration is a credential-issuance path and may be rate-limited per organization to slow brute-force credential creation.',\n examples: [\n {\n title: 'Register a confidential organization machine client',\n request: {\n name: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.name,\n description: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.description,\n roles: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.roles,\n allowedScopes: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.allowedScopes,\n allowedGrants: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.allowedGrants,\n redirectUris: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.redirectUris,\n requiresConsent: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.requiresConsent,\n tokenEndpointAuthMethod: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.tokenEndpointAuthMethod,\n status: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.status,\n expiresAt: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.expiresAt,\n },\n response: {\n ...ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE,\n hashedSecret: 'd594ace6026589bb71deba4e2ae8f66018659182951d7539b9db14c630357564',\n plainSecret: 'oc_org_example-secret-returned-once',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.DELETE]: {\n purpose: 'Permanently remove an organization OAuth client that is no longer needed.',\n outcome: 'The client can no longer obtain access tokens or authenticate API traffic.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The client was deleted and can no longer authenticate; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin (or app-admin) role required to retire clients.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No OAuth client exists for the supplied id (or it was already deleted).' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'A client that was already removed',\n response: ORGANIZATION_OAUTH_CLIENT_NOT_FOUND_EXAMPLE,\n forStatus: HttpResponseStatusCode.NOT_FOUND_404,\n },\n ],\n },\n [OrgOAuthClients_Operations.ROTATE]: {\n operationId: OrgOAuthClients_Operations.ROTATE,\n purpose: 'Issue a new secret and schedule invalidation of the previous material.',\n outcome: 'The new plaintext secret is returned exactly once. The previous secret remains valid until the requested invalidation time so callers can migrate without downtime.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A fresh secret is issued and returned once; the previous material is scheduled for invalidation.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to rotate this client (org-admin in tenant scope, or app-admin cross-tenant).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation declares `requiresStepUpAuthentication`, and the request carried no valid single-use re-authentication token. Rotation hands back the replacement in plaintext and establishes when the previous secret becomes unusable, so holding a live session is deliberately not sufficient — obtain a token from the re-authentication route and retry with it.', errorCode: 'STEP_UP_REQUIRED' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No OAuth client exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The client is in a state that cannot be rotated (e.g. already revoked/expired), so reissuing the secret is an illegal transition.' },\n ],\n idempotent: false,\n rateLimitNote: 'Rotation issues new secret material and may be rate-limited to prevent rapid churn of live credentials.',\n examples: [\n {\n title: 'Rotate with a scheduled migration window',\n request: { oldSecretInvalidationDate: '2099-01-02T00:00:00.000Z' },\n response: {\n ...ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE,\n secretPrefix: 'oc_org_2',\n previousSecretPrefix: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.secretPrefix,\n previousSecretInvalidationDate: '2099-01-02T00:00:00.000Z',\n plainSecret: 'oc_org_rotated-secret-returned-once',\n oldClientId: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE._id,\n oldSecretInvalidationDate: '2099-01-02T00:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrgOAuthClients_Operations.REGENERATE]: {\n operationId: OrgOAuthClients_Operations.REGENERATE,\n purpose: 'Generate a new secret without a mandatory invalidation window for the old secret yet.',\n outcome: 'The new plaintext secret is returned exactly once while the previous secret remains valid until a later rotation completes the cutover.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A new secret is generated and returned once; the prior material stays valid to allow an overlap window.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to regenerate this client’s secret.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No OAuth client exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The client is not in a regenerable state (e.g. permanently revoked), so issuing fresh material is rejected.' },\n ],\n idempotent: false,\n rateLimitNote: 'Secret regeneration is a credential-issuance path and may be rate-limited per client.',\n examples: [\n {\n title: 'Regenerate while retaining the previous secret',\n request: {},\n response: {\n ...ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE,\n secretPrefix: 'oc_org_3',\n previousSecretPrefix: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.secretPrefix,\n plainSecret: 'oc_org_regenerated-secret-returned-once',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n businessConstraints: [\n 'The plaintext secret is only returned on create/rotate/regenerate paths where the factory sets ephemeral response DTOs; companion copy must not imply clients can re-fetch full secrets later.',\n 'Super-admin `admin` HTTP variants mirror org-admin operations across tenants; wire RBAC to factory roles, not guesswork.',\n 'ROTATE/REGENERATE keep the PRIOR secret authenticating during a grace window (rotate: until `previousSecretInvalidationDate`; regenerate: until the next rotation), so the client-credentials exchange accepts the current OR the not-yet-invalidated previous secret — a rotation is an immediate hard cutover only when `oldSecretInvalidationDate` is now (the default).',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
1
+ {"version":3,"file":"organization-oauth-clients.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/auth/resources/organization-oauth-clients.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,WAAW,EACX,cAAc,EACd,qBAAqB,IAAI,EAAE,EAC3B,2BAA2B,EAC3B,aAAa,EACb,SAAS,EACT,cAAc,EACd,6BAA6B,EAC7B,6BAA6B,EAC7B,iBAAiB,EACjB,4BAA4B,EAC5B,0BAA0B,EAC1B,oBAAoB,EACpB,0DAA0D,IAAI,sBAAsB,GACrF,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,wCAAwC,GAAG;IAC/C,GAAG,EAAE,+BAA+B;IACpC,IAAI,EAAE,iCAAiC;IACvC,WAAW,EAAE,yEAAyE;IACtF,KAAK,EAAE,WAAW,CAAC,YAAY;IAC/B,KAAK,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC;IAClC,aAAa,EAAE,EAAE;IACjB,aAAa,EAAE,CAAC,cAAc,CAAC,kBAAkB,CAAC;IAClD,YAAY,EAAE,EAAE;IAChB,sBAAsB,EAAE,EAAE;IAC1B,eAAe,EAAE,KAAK;IACtB,uBAAuB,EAAE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AC,aAAa,EAAE,IAAI,EAAE,mEAAmE,EAAE;gBACzH,EAAE,IAAI,EAAE,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,6GAA6G,EAAE;aACnK;YACD,UAAU,EAAE,KAAK;YACjB,aAAa,EAAE,uFAAuF;YACtG,QAAQ,EAAE;gBACR;oBACE,KAAK,EAAE,gDAAgD;oBACvD,OAAO,EAAE,EAAE;oBACX,QAAQ,EAAE;wBACR,GAAG,wCAAwC;wBAC3C,YAAY,EAAE,UAAU;wBACxB,oBAAoB,EAAE,wCAAwC,CAAC,YAAY;wBAC3E,WAAW,EAAE,yCAAyC;qBACvD;oBACD,SAAS,EAAE,sBAAsB,CAAC,MAAM;iBACzC;aACF;SACF;KACF;IACD,mBAAmB,EAAE;QACnB,gMAAgM;QAChM,0HAA0H;QAC1H,6WAA6W;KAC9W;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n ApiKeyScope,\n CORE_ORG_ROLES,\n CoreResourceOperation as Op,\n ErrorCustomMessageReference,\n ErrorSeverity,\n ErrorType,\n OAuthGrantType,\n OAuthClientOrganizationSchema,\n OAuthClientRegistrationOrigin,\n OAuthClientStatus,\n OAuthTokenEndpointAuthMethod,\n OrgOAuthClients_Operations,\n ResourcePrimaryScope,\n orgOAuthClientsResourceConfiguration_InitializationFactory as orgOAuthClientsFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE = {\n _id: 'oauth_client_org_01HX2EXAMPLE',\n name: 'Revenue synchronization service',\n description: 'Confidential machine client used by the revenue synchronization worker.',\n scope: ApiKeyScope.ORGANIZATION,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n allowedScopes: [],\n allowedGrants: [OAuthGrantType.CLIENT_CREDENTIALS],\n redirectUris: [],\n postLogoutRedirectUris: [],\n requiresConsent: false,\n tokenEndpointAuthMethod: OAuthTokenEndpointAuthMethod.CLIENT_SECRET_BASIC,\n status: OAuthClientStatus.ACTIVE,\n expiresAt: '2099-01-01T00:00:00.000Z',\n createdAt: '2026-08-01T09:00:00.000Z',\n updatedAt: '2026-08-17T14:20:00.000Z',\n secretPrefix: 'oc_org_1',\n registrationOrigin: OAuthClientRegistrationOrigin.OPERATOR,\n organizationId: 'organization_01HX2EXAMPLE',\n} as const;\n\nconst ORGANIZATION_OAUTH_CLIENT_SUMMARY_EXAMPLE = {\n _id: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE._id,\n name: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.name,\n tokenEndpointAuthMethod: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.tokenEndpointAuthMethod,\n status: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.status,\n expiresAt: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.expiresAt,\n createdAt: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.createdAt,\n secretPrefix: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.secretPrefix,\n registrationOrigin: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.registrationOrigin,\n organizationId: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.organizationId,\n} as const;\n\nconst ORGANIZATION_OAUTH_CLIENT_PAGE_EXAMPLE = {\n data: [ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nconst ORGANIZATION_OAUTH_CLIENT_SUMMARY_PAGE_EXAMPLE = {\n data: [ORGANIZATION_OAUTH_CLIENT_SUMMARY_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nconst ORGANIZATION_OAUTH_CLIENT_NOT_FOUND_EXAMPLE = {\n error: {\n type: ErrorType.NOT_FOUND,\n severity: ErrorSeverity.LOW,\n message: 'Requested resource not found',\n customMessage: 'The OAuth client could not be found.',\n customMessageReference: ErrorCustomMessageReference.NOT_FOUND,\n timestamp: '2026-08-18T10:30:00.000Z',\n },\n} as const;\n\n/**\n * Framework-owned base specification for the organization-scoped\n * `organizationOAuthClients` resource.\n *\n * This resource is a FAITHFUL MIRROR of the api-keys resource\n * (`organization-api-keys.resource.specification.ts`) with a FOCUSED operation\n * set — core READ/LIST/SEARCH/CREATE/DELETE/COUNT plus custom ROTATE/REGENERATE.\n * The DEACTIVATE/REACTIVATE/EXTEND_EXPIRY/USAGE_STATS custom ops the api-keys\n * spec documents are intentionally deferred to the OIDC branch\n * (`.claude/plans/external-access-oidc-mcp-a2a.md`).\n *\n * Unlike api-keys, this resource ships NO UI behavior preset today, so — like\n * `jobExecutions` — it is authored from the shared resource factory only\n * (`resourceSpecification(...)`, no `resourceSpecificationFromFrontendConfiguration`\n * overlay). Its first useful semantic layer is the base operational model; the\n * label/layout/views frontend narration the api-keys spec carries has no preset\n * to document here.\n *\n * `resourcePrimaryScope: ORGANIZATIONS` — an organization OAuth client is\n * per-tenant data owned by the `organizationId` FK; the scope is enforced by the\n * spec ↔ registry alignment guard against the `isPrimaryScope: true` relationship\n * row for `OAUTH_CLIENTS_ORGANIZATION`.\n */\nexport const organizationOAuthClientsResourceSpecification = resourceSpecification(\n orgOAuthClientsFactory,\n OAuthClientOrganizationSchema,\n ({ schemaShape }) => ({\n purpose: 'Organization-scoped registered OAuth clients: client-credentials secrets used by org administrators and machine integrations to obtain tokens and call backend APIs in tenant context.',\n businessRole: 'First-class machine-to-machine OAuth credential for automation and partner integrations. Under client-credentials it authenticates the SAME organization machine principal (`ORGANIZATION_MACHINE`) that an organization API key does — a distinct credential type, not a distinct principal — and additionally supports authorization-code user delegation, which API keys cannot.',\n lifecycleRole: 'Created with optional expiry, can be rotated and regenerated, and deleted. The current token paths do not populate `lastUsedAt`, so retirement decisions require audit and workload evidence rather than this field alone.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OAuthClientOrganizationSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'orgOAuthClientsResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'OAUTH_CLIENTS_ORGANIZATION',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrgOAuthClients_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'No UI behavior preset exists for this resource — authored backend-only (no frontend overlay), mirroring the `jobExecutions` shape rather than the api-keys mixed shape.',\n 'Runtime declares userNotifications with channel EMAIL + FRONT_END_SUCCESS on CREATE/DELETE/ROTATE/REGENERATE; DF-1 communications blocks are omitted from this pass to stay a structural mirror of the api-keys spec, which likewise documents no communications blocks.',\n ],\n },\n fields: {\n name: schemaShape.name.stringSpec({\n meaning: 'Human label for the OAuth client in admin UI and support.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n description: schemaShape.description.stringSpec({\n meaning: 'Operator-authored explanation of the integration that owns this credential and why it exists.',\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Whether the client can obtain tokens and authenticate traffic.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OAuthClientStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OAuthClientStatus.ACTIVE]: { meaning: 'Client may mint tokens within policy and expiry.' },\n [OAuthClientStatus.INACTIVE]: { meaning: 'Revoked or disabled; token exchanges should fail.' },\n [OAuthClientStatus.EXPIRED]: { meaning: 'Past its validity window; treat as invalid.' },\n },\n }),\n secretPrefix: schemaShape.secretPrefix.stringSpec({\n meaning: 'Short public prefix of the client secret material for list records and support correlation (never the full secret).',\n }),\n roles: schemaShape.roles.arraySpec({\n meaning: 'Roles embedded on the client; every token minted for it inherits exactly these roles, bounding what the integration or automation principal may do (least-privilege).',\n elementMeaning: 'One role identifier — a core app/org role token or an app-defined custom role string.',\n // Element is a union of `CORE_APP_ROLES` + `CORE_ORG_ROLES` + a free\n // custom-role string; the shape validator requires ONE enum vocabulary\n // to advertise, so we name the org-scope enum (the primary vocabulary\n // for an organization client). App tokens and custom strings remain valid\n // per `elementMeaning`.\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CORE_ORG_ROLES',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n }),\n allowedScopes: schemaShape.allowedScopes.arraySpec({\n meaning:\n 'Identity scopes this client may request in an authorization-code flow. These scopes select identity claims; authorization remains roles-only. Empty for a client-credentials-only machine client.',\n elementMeaning: 'One OAuth/OIDC identity scope allowed for this client, such as `openid`, `profile`, or `email`.',\n }),\n allowedGrants: schemaShape.allowedGrants.arraySpec({\n meaning: 'OAuth grant types this client is allowed to use. A token request using any other grant is refused.',\n elementMeaning: 'One permitted OAuth grant type.',\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OAuthGrantType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n }),\n requiresConsent: schemaShape.requiresConsent.booleanSpec({\n meaning:\n 'Whether an authorization-code request must obtain explicit user consent before a code is issued. Machine-only client-credentials clients leave this false.',\n }),\n organizationId: schemaShape.organizationId.stringSpec({\n meaning: 'Owning organization; immutable after create.',\n }),\n expiresAt: schemaShape.expiresAt.dateSpec({ meaning: 'Optional automatic invalidation time.' }),\n lastUsedAt: schemaShape.lastUsedAt.dateSpec({\n meaning: 'Reserved timestamp for a recorded successful use. The current OAuth token paths do not populate it; an absent or old value is not evidence that the client is unused.',\n }),\n previousSecretPrefix: schemaShape.previousSecretPrefix.stringSpec({\n meaning: 'Public prefix of the previous secret retained during a rotation or regeneration overlap window.',\n }),\n previousSecretInvalidationDate: schemaShape.previousSecretInvalidationDate.dateSpec({\n meaning: 'After a rotation, when the PRIOR secret stops authenticating. During this grace window both the new and previous secrets work so integrations can migrate without downtime; absent/null after a regenerate means the prior secret stays valid until the next rotation.',\n }),\n redirectUris: schemaShape.redirectUris.arraySpec({\n meaning:\n 'Exact-match allowlist of post-authorization redirect targets for the authorization_code flow. A request redirect_uri must equal one entry by exact string (no wildcards/substrings), and each entry is itself constrained to a safe absolute URL — https for any host/port, or http only for a loopback host — with no fragment or embedded credentials, so a registered entry can never become an open-redirect or stored-XSS navigation target. Empty for pure client_credentials clients.',\n elementMeaning: 'One registered redirect URI: an https URL (any host/port) or an http loopback URL (localhost / 127.0.0.1 / ::1).',\n }),\n postLogoutRedirectUris: schemaShape.postLogoutRedirectUris.arraySpec({\n meaning:\n 'Exact-match allowlist of POST-LOGOUT redirect targets for OIDC RP-Initiated Logout. When a relying party ends the user session at /oauth/end-session with a post_logout_redirect_uri, that value must equal one entry by exact string (no wildcards/substrings) or the OP refuses to redirect back and lands the user on its own logged-out page. Each entry is constrained to a safe absolute URL — https for any host/port, or http only for a loopback host — with no fragment or embedded credentials, the same anti-open-redirect gate as redirectUris. Empty for clients that never drive an interactive logout.',\n elementMeaning: 'One registered post-logout redirect URI: an https URL (any host/port) or an http loopback URL (localhost / 127.0.0.1 / ::1).',\n }),\n registrationOrigin: schemaShape.registrationOrigin.enumSpec({\n meaning:\n 'WHO registered this client, which is a different question from which scope owns the record. Every client created through the admin APIs is OPERATOR — a principal with standing in this application vouched for it. DYNAMIC means an anonymous caller self-registered it at the RFC 7591 `/oauth/register` endpoint and proved nothing beyond reaching the server. The authorize path reads this field to decide TRUST: a DYNAMIC client is treated as belonging to no tenant, so it can never inherit the first-party posture its APPLICATION-scoped record would otherwise imply, always faces the interactive consent screen, and is capped at identity scopes. Server-managed and immutable — a caller able to set it could file itself as vouched-for.',\n importance: FieldSemanticImportance.CONTEXTUAL,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OAuthClientRegistrationOrigin',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OAuthClientRegistrationOrigin.OPERATOR]: { meaning: 'Created by a principal with standing in this application (an administrator, a platform operator, or a seed). The default for authenticated administrative registration.' },\n [OAuthClientRegistrationOrigin.DYNAMIC]: { meaning: 'Self-registered anonymously through RFC 7591 dynamic client registration; unaffiliated, consent-always, identity scopes only.' },\n },\n }),\n tokenEndpointAuthMethod: schemaShape.tokenEndpointAuthMethod.enumSpec({\n meaning: 'How the client authenticates at the token endpoint: `none` for a public client (PKCE only, no client secret), or `client_secret_basic` / `client_secret_post` for a confidential client that presents its client_secret to redeem an authorization code or revoke a token. Defaults to `none`; a server-side client that can safely hold a secret opts into one of the secret-bearing methods.',\n importance: FieldSemanticImportance.CONTEXTUAL,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OAuthTokenEndpointAuthMethod',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OAuthTokenEndpointAuthMethod.NONE]: { meaning: 'Public client: no secret at the token endpoint; authorization_code relies on PKCE S256 + exact redirect_uri.' },\n [OAuthTokenEndpointAuthMethod.CLIENT_SECRET_BASIC]: { meaning: 'Confidential client presenting its secret via HTTP Basic auth.' },\n [OAuthTokenEndpointAuthMethod.CLIENT_SECRET_POST]: { meaning: 'Confidential client presenting its secret in the request body.' },\n },\n }),\n },\n operations: {\n [Op.COUNT]: {\n purpose: 'Repository-only counts for entitlements and feature metering.',\n outcome: 'Numeric total of clients per scope without a public list.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The count of OAuth clients in scope is returned for entitlement/metering checks.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the operator/metering role; this repository-only count is not a member-facing surface.' },\n ],\n idempotent: true,\n },\n [Op.READ]: {\n purpose: 'Inspect one client (org admin default; app super-admin `admin` variant for cross-tenant).',\n outcome: 'Metadata and status without revealing raw secret material.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The client’s metadata and status are returned (never the raw secret material).' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin for this client’s tenant (or lacks the super-admin `admin` role for cross-tenant reads).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No OAuth client exists for the supplied id in the caller’s visible scope.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Inspect a confidential organization integration client',\n response: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n variants: {\n context: {\n examples: [\n {\n title: 'Inspect the client through the context representation',\n response: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n summary: {\n examples: [\n {\n title: 'Inspect the client summary used in selectors',\n response: ORGANIZATION_OAUTH_CLIENT_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Enumerate clients the caller may see; members see a reduced roster vs admins.',\n outcome: 'Rows for security settings and admin consoles.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of OAuth clients the caller is permitted to see.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks any role that grants visibility into the organization’s OAuth-client roster.' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Browse organization OAuth clients',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: ORGANIZATION_OAUTH_CLIENT_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n variants: {\n context: {\n examples: [\n {\n title: 'Browse clients through the context representation',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: ORGANIZATION_OAUTH_CLIENT_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n summary: {\n examples: [\n {\n title: 'Browse compact client summaries',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: ORGANIZATION_OAUTH_CLIENT_SUMMARY_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Find registered clients by name, status, expiration, and the other documented search parameters.',\n outcome: 'A paginated set of clients matching the supplied filters and sort order.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of OAuth clients matching the search/filter query.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role for the requested search scope (the broader-field filters require the super-admin `admin` variant).' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'Find active expiring client-credentials integrations',\n request: {\n q: 'revenue',\n name: 'Revenue synchronization service',\n status: OAuthClientStatus.ACTIVE,\n hasExpiration: true,\n page: 1,\n limit: 20,\n sort: 'createdAt:desc',\n },\n response: ORGANIZATION_OAUTH_CLIENT_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [Op.CREATE]: {\n purpose: 'Register a new organization OAuth client and issue its first client secret.',\n outcome: 'The client is registered and its plaintext secret is returned exactly once. Store it before dismissing the response; later reads expose only its prefix.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new OAuth client is registered; the org-admin path returns the full plaintext secret exactly once in this response.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The create payload fails schema validation (e.g. missing `name`, malformed `expiresAt`).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin (or app-admin acting on the tenant) authorized to register OAuth clients.' },\n ],\n idempotent: false,\n rateLimitNote: 'Client registration is a credential-issuance path and may be rate-limited per organization to slow brute-force credential creation.',\n examples: [\n {\n title: 'Register a confidential organization machine client',\n request: {\n name: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.name,\n description: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.description,\n roles: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.roles,\n allowedScopes: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.allowedScopes,\n allowedGrants: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.allowedGrants,\n redirectUris: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.redirectUris,\n requiresConsent: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.requiresConsent,\n tokenEndpointAuthMethod: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.tokenEndpointAuthMethod,\n status: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.status,\n expiresAt: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.expiresAt,\n },\n response: {\n ...ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE,\n hashedSecret: 'd594ace6026589bb71deba4e2ae8f66018659182951d7539b9db14c630357564',\n plainSecret: 'oc_org_example-secret-returned-once',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.DELETE]: {\n purpose: 'Permanently remove an organization OAuth client that is no longer needed.',\n outcome: 'The client can no longer obtain access tokens or authenticate API traffic.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The client was deleted and can no longer authenticate; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin (or app-admin) role required to retire clients.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No OAuth client exists for the supplied id (or it was already deleted).' },\n ],\n idempotent: true,\n examples: [\n {\n title: 'A client that was already removed',\n response: ORGANIZATION_OAUTH_CLIENT_NOT_FOUND_EXAMPLE,\n forStatus: HttpResponseStatusCode.NOT_FOUND_404,\n },\n ],\n },\n /**\n * INTERNAL_CALL, so this entry documents SEMANTICS and deliberately carries no HTTP\n * response statuses, error scenarios or examples: there is no route to call and no response\n * a consumer receives. Authoring a `200 OK` example here would document a door that does not\n * exist, which is worse than the silence.\n */\n [OrgOAuthClients_Operations.EXPIRE]: {\n operationId: OrgOAuthClients_Operations.EXPIRE,\n purpose: 'Record that a registered client’s validity window has elapsed, so a listing shows it as expired rather than active.',\n outcome: 'Status becomes expired. Nothing about access changes — the client already stopped authenticating the instant its expiry passed.',\n whenToUse: 'Never called directly. The nightly credential-expiry sweep dispatches it; an administrator who wants access to end sooner uses deletion, and one who wants it to last longer extends the expiry.',\n },\n\n [OrgOAuthClients_Operations.ROTATE]: {\n operationId: OrgOAuthClients_Operations.ROTATE,\n purpose: 'Issue a new secret and schedule invalidation of the previous material.',\n outcome: 'The new plaintext secret is returned exactly once. The previous secret remains valid until the requested invalidation time so callers can migrate without downtime.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A fresh secret is issued and returned once; the previous material is scheduled for invalidation.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to rotate this client (org-admin in tenant scope, or app-admin cross-tenant).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation declares `requiresStepUpAuthentication`, and the request carried no valid single-use re-authentication token. Rotation hands back the replacement in plaintext and establishes when the previous secret becomes unusable, so holding a live session is deliberately not sufficient — obtain a token from the re-authentication route and retry with it.', errorCode: 'STEP_UP_REQUIRED' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No OAuth client exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The client is in a state that cannot be rotated (e.g. already revoked/expired), so reissuing the secret is an illegal transition.' },\n ],\n idempotent: false,\n rateLimitNote: 'Rotation issues new secret material and may be rate-limited to prevent rapid churn of live credentials.',\n examples: [\n {\n title: 'Rotate with a scheduled migration window',\n request: { oldSecretInvalidationDate: '2099-01-02T00:00:00.000Z' },\n response: {\n ...ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE,\n secretPrefix: 'oc_org_2',\n previousSecretPrefix: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.secretPrefix,\n previousSecretInvalidationDate: '2099-01-02T00:00:00.000Z',\n plainSecret: 'oc_org_rotated-secret-returned-once',\n oldClientId: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE._id,\n oldSecretInvalidationDate: '2099-01-02T00:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrgOAuthClients_Operations.REGENERATE]: {\n operationId: OrgOAuthClients_Operations.REGENERATE,\n purpose: 'Generate a new secret without a mandatory invalidation window for the old secret yet.',\n outcome: 'The new plaintext secret is returned exactly once while the previous secret remains valid until a later rotation completes the cutover.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A new secret is generated and returned once; the prior material stays valid to allow an overlap window.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to regenerate this client’s secret.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No OAuth client exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The client is not in a regenerable state (e.g. permanently revoked), so issuing fresh material is rejected.' },\n ],\n idempotent: false,\n rateLimitNote: 'Secret regeneration is a credential-issuance path and may be rate-limited per client.',\n examples: [\n {\n title: 'Regenerate while retaining the previous secret',\n request: {},\n response: {\n ...ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE,\n secretPrefix: 'oc_org_3',\n previousSecretPrefix: ORGANIZATION_OAUTH_CLIENT_RECORD_EXAMPLE.secretPrefix,\n plainSecret: 'oc_org_regenerated-secret-returned-once',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n businessConstraints: [\n 'The plaintext secret is only returned on create/rotate/regenerate paths where the factory sets ephemeral response DTOs; companion copy must not imply clients can re-fetch full secrets later.',\n 'Super-admin `admin` HTTP variants mirror org-admin operations across tenants; wire RBAC to factory roles, not guesswork.',\n 'ROTATE/REGENERATE keep the PRIOR secret authenticating during a grace window (rotate: until `previousSecretInvalidationDate`; regenerate: until the next rotation), so the client-credentials exchange accepts the current OR the not-yet-invalidated previous secret — a rotation is an immediate hard cutover only when `oldSecretInvalidationDate` is now (the default).',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Resource: `organizationProviderCredentials` — Wildo SaaS engine specification
3
+ * (organization-scoped, backend-managed secret).
4
+ *
5
+ * Inputs:
6
+ * - Schema: engine/saas-models/src/security/connected-accounts/provider-credentials.shared.schemas.ts
7
+ * → `OrganizationProviderCredentialSchema`
8
+ * - Factory: engine/saas-models/src/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.ts
9
+ * → `orgProviderCredentialsResourceConfiguration_InitializationFactory`
10
+ * - Custom operations: none
11
+ * - UI presets: none yet — the admin surface is a later slice (#332). The API is complete without it.
12
+ */
13
+ import { CoreResourceOperation as Op, ProviderCredentialValidationState } from '@wildo-ai/saas-models';
14
+ export declare const organizationProviderCredentialsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.CREATE | Op.LIST, import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodObject<{
15
+ _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
16
+ organizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
17
+ providerRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
18
+ secretSlug: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
19
+ secretValue: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
20
+ enabled: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>>;
21
+ validationState: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodEnum<typeof ProviderCredentialValidationState>>>>;
22
+ validationError: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
23
+ lastValidatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
24
+ lastUsedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>>;
25
+ setByUserId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>;
26
+ secretSetAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
27
+ connectionParameters: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
28
+ description: import("zod").ZodOptional<import("zod").ZodString>;
29
+ createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>>;
30
+ updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>;
31
+ }, import("zod/v4/core").$strip>>>;
32
+ //# sourceMappingURL=organization-provider-credentials.resource.specification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-provider-credentials.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/auth/resources/organization-provider-credentials.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAQH,OAAO,EACL,qBAAqB,IAAI,EAAE,EAE3B,iCAAiC,EAGlC,MAAM,uBAAuB,CAAC;AAqC/B,eAAO,MAAM,oDAAoD;;;;;;;;;;;;;;;;;kCAuRhE,CAAC"}
@@ -0,0 +1,308 @@
1
+ /**
2
+ * Resource: `organizationProviderCredentials` — Wildo SaaS engine specification
3
+ * (organization-scoped, backend-managed secret).
4
+ *
5
+ * Inputs:
6
+ * - Schema: engine/saas-models/src/security/connected-accounts/provider-credentials.shared.schemas.ts
7
+ * → `OrganizationProviderCredentialSchema`
8
+ * - Factory: engine/saas-models/src/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.ts
9
+ * → `orgProviderCredentialsResourceConfiguration_InitializationFactory`
10
+ * - Custom operations: none
11
+ * - UI presets: none yet — the admin surface is a later slice (#332). The API is complete without it.
12
+ */
13
+ import { LabelAudience } from '@wildo-ai/presets-components-models';
14
+ import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance, } from '@wildo-ai/zod-decorators';
15
+ import { CoreResourceOperation as Op, OrganizationProviderCredentialSchema, ProviderCredentialValidationState, ResourcePrimaryScope, orgProviderCredentialsResourceConfiguration_InitializationFactory, } from '@wildo-ai/saas-models';
16
+ import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
17
+ import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
18
+ const CREDENTIAL_EXAMPLE_ID = 'orgprovcred_01J7K2M4N6P8Q0R2S4T6V8W0XY';
19
+ const CREDENTIAL_EXAMPLE_ORG_ID = 'org_01J4M1Z2X3C4V5B6N7M8Q9R0ST';
20
+ /**
21
+ * The record as a client sees it — with the value MASKED.
22
+ *
23
+ * That mask is not decoration in an example: `secretValue` is `.isWriteOnlySecret()`, so the
24
+ * framework redacts it at the client boundary on every read. Showing a plausible token here would
25
+ * teach an integrator that a credential can be read back, which is the one thing this resource
26
+ * guarantees it cannot.
27
+ */
28
+ const CREDENTIAL_RECORD_EXAMPLE = {
29
+ _id: CREDENTIAL_EXAMPLE_ID,
30
+ organizationId: CREDENTIAL_EXAMPLE_ORG_ID,
31
+ providerRef: 'slack',
32
+ secretSlug: 'SLACK_BOT_TOKEN',
33
+ secretValue: '••••••••',
34
+ enabled: true,
35
+ validationState: ProviderCredentialValidationState.VALID,
36
+ lastValidatedAt: '2026-09-02T11:14:00.000Z',
37
+ lastUsedAt: '2026-09-02T11:14:00.000Z',
38
+ secretSetAt: '2026-08-30T09:00:00.000Z',
39
+ setByUserId: 'user_01J4M1Z2X3C4V5B6N7M8Q9R0ST',
40
+ description: 'Bot token for the #orders workspace channel.',
41
+ createdAt: '2026-08-30T09:00:00.000Z',
42
+ updatedAt: '2026-09-02T11:14:00.000Z',
43
+ };
44
+ const CREDENTIAL_PAGE_EXAMPLE = {
45
+ data: [CREDENTIAL_RECORD_EXAMPLE],
46
+ pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },
47
+ };
48
+ export const organizationProviderCredentialsResourceSpecification = resourceSpecification(orgProviderCredentialsResourceConfiguration_InitializationFactory, OrganizationProviderCredentialSchema, ({ schemaShape }) => ({
49
+ purpose: "One organization's OWN credential toward a third-party provider — its Slack workspace token, its CRM API key, its SMTP password.",
50
+ businessRole: 'The record that lets one application serve many organizations while each acts as ITSELF toward a third party. Without it every tenant shares the deployment\'s single environment secret and therefore acts as the same third-party principal.',
51
+ lifecycleRole: 'Created by an organization administrator when the tenant connects a provider, rotated in place when the vendor credential changes, disabled to park an integration during an incident, and removed when the tenant disconnects the provider or the organization itself is purged.',
52
+ audience: LabelAudience.DEVELOPER,
53
+ subDomain: EngineResourceSubDomain.AUTH,
54
+ codeHandling: {
55
+ mainSchema: {
56
+ packageName: '@wildo-ai/saas-models',
57
+ exportName: 'OrganizationProviderCredentialSchema',
58
+ symbolKind: CodeSymbolKind.SCHEMA,
59
+ declarationKind: CodeDeclarationKind.ZOD_SCHEMA,
60
+ },
61
+ resourceFactory: {
62
+ packageName: '@wildo-ai/saas-models',
63
+ exportName: 'orgProviderCredentialsResourceConfiguration_InitializationFactory',
64
+ symbolKind: CodeSymbolKind.FACTORY,
65
+ declarationKind: CodeDeclarationKind.FUNCTION,
66
+ },
67
+ resourceType: {
68
+ enumDeclaration: {
69
+ packageName: '@wildo-ai/saas-models',
70
+ exportName: 'CoreResourceType',
71
+ symbolKind: CodeSymbolKind.ENUM,
72
+ declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
73
+ },
74
+ memberName: 'ORG_PROVIDER_CREDENTIALS',
75
+ },
76
+ operationVocabulary: {
77
+ coreEnum: {
78
+ packageName: '@wildo-ai/saas-models',
79
+ exportName: 'CoreResourceOperation',
80
+ symbolKind: CodeSymbolKind.ENUM,
81
+ declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
82
+ },
83
+ },
84
+ notes: [
85
+ 'The stored value is SEALED, never the plaintext an administrator typed: an AES-256-GCM envelope whose key is derived from the application\'s own `secrets.security.session.encryptionKey` with a subsystem-specific domain separator. The seal is applied by the CREATE/UPDATE custom implementation, and its associated data binds the envelope to (organizationId, providerRef, secretSlug) — so a ciphertext copied into another tenant\'s row fails to open rather than silently working.',
86
+ 'Every write door is ORG_ADMIN, and there is deliberately NO super-administrator variant. An operator who could list, rotate or spend a tenant\'s credential could act as that tenant toward the vendor, and no later audit event makes that reversible. A tenant that has lost every administrator is repaired through `organizationMembers.grantOwnership` — restore an administrator, and the tenant repairs its own credentials.',
87
+ 'Resolution order is the organization\'s own credential, then the deployment\'s env-projected SecretsContract, then a REFUSAL naming both places. A provider is never handed an empty credential.',
88
+ 'A row appears in TWO ways, and only one of them is an HTTP write. A credential an administrator PASTES arrives through `CREATE` below. A credential a vendor MINTS arrives through the authorization exchange, where the administrator authorizes on the vendor\'s consent screen and the application records the grant — nobody types the token. The second path is why this resource permits a system-tier create.',
89
+ 'Set, rotate, use and delete are audited as `ORGANIZATION_PROVIDER_CREDENTIAL_*`, annotated `WILDO.IDENTITY.DELEGATED_AUTHORIZATION`. None of the four payload schemas has a field the value could occupy.',
90
+ ],
91
+ },
92
+ fields: {
93
+ _id: schemaShape._id.stringSpec({
94
+ meaning: 'Identifier for one stored credential.',
95
+ whyItMatters: 'The address for a rotation or a revocation, and the id every audit event carries.',
96
+ semanticRole: 'identifier',
97
+ importance: FieldSemanticImportance.PRIMARY,
98
+ }),
99
+ organizationId: schemaShape.organizationId.foreignKeySpec({
100
+ meaning: 'The tenant that owns this credential.',
101
+ whyItMatters: 'The isolation axis. It is injected by the framework from the request scope rather than read from the payload, it scopes every read, and it is bound into the encryption envelope — so a credential cannot be read, spent or moved outside the organization that set it.',
102
+ importance: FieldSemanticImportance.PRIMARY,
103
+ }),
104
+ providerRef: schemaShape.providerRef.stringSpec({
105
+ meaning: 'The provider this credential authenticates toward — `slack`, `stripe`, a generated provider package\'s ref.',
106
+ whyItMatters: 'Half of the credential\'s identity within its tenant, and what an audit reader uses to see which third parties an organization has granted the application authority toward.',
107
+ semanticRole: 'identifier',
108
+ importance: FieldSemanticImportance.PRIMARY,
109
+ }),
110
+ secretSlug: schemaShape.secretSlug.stringSpec({
111
+ meaning: "The slug in the provider's `secretsContract` that this value satisfies — the same identifier the deployment's environment projection names.",
112
+ whyItMatters: 'It is what makes the two resolution places name the same thing. A provider declaring several secrets (an API key and a signing secret) gets one row per slug.',
113
+ semanticRole: 'identifier',
114
+ importance: FieldSemanticImportance.PRIMARY,
115
+ }),
116
+ secretValue: schemaShape.secretValue.stringSpec({
117
+ meaning: 'The credential itself. Supplied in plaintext on write, stored SEALED, and never returned — a read renders a fixed mask.',
118
+ whyItMatters: 'Echoing the mask back on an update means "keep the stored secret", which is how an administrator edits a description without retyping the credential. Sending a real value replaces it and is recorded as a rotation.',
119
+ semanticRole: 'identifier',
120
+ importance: FieldSemanticImportance.PRIMARY,
121
+ }),
122
+ enabled: schemaShape.enabled.booleanSpec({
123
+ meaning: 'Whether this credential may be spent.',
124
+ whyItMatters: 'Disabling parks an integration without destroying the credential — the reversible move during an incident. A disabled credential resolves as ABSENT, so the application falls back to the deployment environment exactly as it would for a tenant that never set one.',
125
+ }),
126
+ validationState: schemaShape.validationState.enumSpec({
127
+ meaning: 'Whether the provider has accepted this credential on its last use.',
128
+ whyItMatters: 'Separates "never tried" from "tried and rejected", which a boolean would merge into the same falsy answer. `INVALID` is the operator\'s signal to rotate.',
129
+ values: {
130
+ [ProviderCredentialValidationState.UNVALIDATED]: {
131
+ meaning: 'Stored, never exercised against the provider. Every credential starts here — storing one proves only that somebody typed it.',
132
+ },
133
+ [ProviderCredentialValidationState.VALID]: {
134
+ meaning: 'The provider accepted it on its last use.',
135
+ },
136
+ [ProviderCredentialValidationState.INVALID]: {
137
+ meaning: 'The provider rejected it on its last use; the integration is down until it is rotated.',
138
+ },
139
+ },
140
+ enumDeclaration: {
141
+ packageName: '@wildo-ai/saas-models',
142
+ exportName: 'ProviderCredentialValidationState',
143
+ symbolKind: CodeSymbolKind.ENUM,
144
+ declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
145
+ },
146
+ }),
147
+ validationError: schemaShape.validationError.stringSpec({
148
+ meaning: "The provider's own message about why the last use failed.",
149
+ whyItMatters: 'Turns "the integration stopped working" into a vendor-attributed reason. Server-owned: it describes the credential\'s status and is never derived from the credential.',
150
+ }),
151
+ lastValidatedAt: schemaShape.lastValidatedAt.dateSpec({
152
+ meaning: 'When the provider last accepted or rejected this credential.',
153
+ whyItMatters: 'How current the validation state is — a `VALID` from three months ago says less than one from this morning.',
154
+ temporalRole: 'modified',
155
+ }),
156
+ lastUsedAt: schemaShape.lastUsedAt.dateSpec({
157
+ meaning: 'When this credential was last resolved for an outbound call.',
158
+ whyItMatters: 'Identifies credentials nothing spends any more — the ones safest to revoke and riskiest to leave live.',
159
+ temporalRole: 'modified',
160
+ }),
161
+ setByUserId: schemaShape.setByUserId.stringSpec({
162
+ meaning: 'The administrator who last supplied the value.',
163
+ whyItMatters: 'The first question of any credential incident. Deliberately NOT a registered USERS relationship: that edge would place a live credential on the subject-export graph, and would let a departing administrator\'s erasure destroy the tenant\'s integration.',
164
+ semanticRole: 'identifier',
165
+ }),
166
+ secretSetAt: schemaShape.secretSetAt.dateSpec({
167
+ meaning: 'When the stored VALUE last changed.',
168
+ whyItMatters: 'Distinct from `updatedAt`, which any field write moves. This is the one that answers "was this rotated after the incident?".',
169
+ temporalRole: 'modified',
170
+ }),
171
+ description: schemaShape.description.stringSpec({
172
+ meaning: 'An operator note — which workspace, which account, which environment this credential belongs to.',
173
+ whyItMatters: 'A tenant may hold several credentials for one provider across slugs; the note is what tells them apart in a list.',
174
+ }),
175
+ createdAt: schemaShape.createdAt.dateSpec({
176
+ meaning: 'When the credential was first stored.',
177
+ whyItMatters: 'When this tenant first granted the application authority toward this provider.',
178
+ temporalRole: 'creation',
179
+ }),
180
+ updatedAt: schemaShape.updatedAt.dateSpec({
181
+ meaning: 'When any field last changed.',
182
+ whyItMatters: 'Ordering for the credential list.',
183
+ temporalRole: 'modified',
184
+ }),
185
+ },
186
+ operations: {
187
+ [Op.READ]: {
188
+ purpose: "Inspect one of the organization's stored provider credentials.",
189
+ outcome: 'The administrator sees which provider and slug the credential covers, whether it is enabled, and whether the provider last accepted it — with the value masked.',
190
+ importance: FieldSemanticImportance.PRIMARY,
191
+ responseStatuses: [
192
+ { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was found in the caller\'s organization scope and returned with `secretValue` masked.' },
193
+ ],
194
+ errorScenarios: [
195
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },
196
+ { code: HttpResponseStatusCode.NOT_FOUND_404, when: "No credential with that id is visible in the caller's organization scope. A credential belonging to a DIFFERENT organization is indistinguishable from one that does not exist — the tenant boundary never confirms the existence of another tenant's row." },
197
+ ],
198
+ idempotent: true,
199
+ examples: [{
200
+ title: 'Inspect the Slack bot-token credential',
201
+ request: { orgProviderCredentialId: CREDENTIAL_EXAMPLE_ID },
202
+ response: CREDENTIAL_RECORD_EXAMPLE,
203
+ forStatus: HttpResponseStatusCode.OK_200,
204
+ }],
205
+ },
206
+ [Op.LIST]: {
207
+ purpose: "List the organization's provider credentials — which third parties this tenant has connected.",
208
+ outcome: 'The administrator sees every provider the organization has credentials for and the health of each.',
209
+ responseStatuses: [
210
+ { code: HttpResponseStatusCode.OK_200, meaning: "A (possibly empty) page of the caller's own organization's credentials, values masked." },
211
+ ],
212
+ errorScenarios: [
213
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },
214
+ ],
215
+ idempotent: true,
216
+ examples: [{
217
+ title: 'List the connected providers',
218
+ request: { page: 1, limit: 20, sort: 'createdAt:desc' },
219
+ response: CREDENTIAL_PAGE_EXAMPLE,
220
+ forStatus: HttpResponseStatusCode.OK_200,
221
+ }],
222
+ },
223
+ [Op.CREATE]: {
224
+ purpose: 'Store the organization\'s own credential for a provider, so the application acts as THIS tenant toward that third party.',
225
+ outcome: "Every subsequent outbound call this application makes to that provider on the organization's behalf uses the organization's own credential instead of the deployment's shared one.",
226
+ whenToUse: 'When a tenant connects a provider with a credential they obtained themselves — a Slack app installed in their workspace, an API key minted in their CRM account.',
227
+ importance: FieldSemanticImportance.PRIMARY,
228
+ responseStatuses: [
229
+ { code: HttpResponseStatusCode.CREATED_201, meaning: 'The credential was sealed and stored. The response masks the value; it is never readable again.' },
230
+ ],
231
+ errorScenarios: [
232
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation, or `secretValue` is empty.', errorCode: 'VALIDATION_FAILED' },
233
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },
234
+ { code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization already holds a credential for this provider and slug — rotate that one instead of creating a second.' },
235
+ ],
236
+ idempotent: false,
237
+ examples: [{
238
+ title: 'Connect the tenant\'s own Slack workspace',
239
+ request: {
240
+ providerRef: 'slack',
241
+ secretSlug: 'SLACK_BOT_TOKEN',
242
+ secretValue: 'xoxb-the-tenants-own-bot-token',
243
+ description: 'Bot token for the #orders workspace channel.',
244
+ },
245
+ response: CREDENTIAL_RECORD_EXAMPLE,
246
+ forStatus: HttpResponseStatusCode.CREATED_201,
247
+ }],
248
+ },
249
+ [Op.UPDATE]: {
250
+ purpose: 'Rotate the stored credential, or edit its description and enabled flag.',
251
+ outcome: 'A new value replaces the old one immediately — there is no overlap window, because the vendor is the authority on which credential is live and only one of them is.',
252
+ whenToUse: 'After rotating the credential at the vendor, or to park an integration by clearing `enabled`.',
253
+ importance: FieldSemanticImportance.PRIMARY,
254
+ responseStatuses: [
255
+ { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was updated. A payload carrying a new `secretValue` re-seals it and is recorded as a rotation; one echoing the mask leaves the stored secret untouched.' },
256
+ ],
257
+ errorScenarios: [
258
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation.', errorCode: 'VALIDATION_FAILED' },
259
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },
260
+ { code: HttpResponseStatusCode.NOT_FOUND_404, when: "No credential with that id is visible in the caller's organization scope." },
261
+ ],
262
+ idempotent: true,
263
+ examples: [{
264
+ title: 'Rotate the bot token after a vendor-side reissue',
265
+ request: { orgProviderCredentialId: CREDENTIAL_EXAMPLE_ID, secretValue: 'xoxb-the-newly-issued-bot-token' },
266
+ response: CREDENTIAL_RECORD_EXAMPLE,
267
+ forStatus: HttpResponseStatusCode.OK_200,
268
+ }],
269
+ },
270
+ [Op.DELETE]: {
271
+ purpose: 'Revoke the organization\'s credential for a provider.',
272
+ outcome: "The application stops acting as this tenant toward that provider. Whether the integration keeps working depends on the deployment: if the operator has set the environment secret, calls fall back to the shared principal; if not, they are refused by name.",
273
+ whenToUse: 'When the tenant disconnects the provider, or when a credential is believed compromised and rotation is not enough.',
274
+ importance: FieldSemanticImportance.PRIMARY,
275
+ responseStatuses: [
276
+ { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The credential was removed. No body.' },
277
+ ],
278
+ errorScenarios: [
279
+ { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },
280
+ { code: HttpResponseStatusCode.NOT_FOUND_404, when: "No credential with that id is visible in the caller's organization scope, including one already removed." },
281
+ ],
282
+ idempotent: true,
283
+ examples: [{
284
+ title: 'Disconnect the Slack workspace',
285
+ request: { orgProviderCredentialId: CREDENTIAL_EXAMPLE_ID },
286
+ forStatus: HttpResponseStatusCode.NO_CONTENT_204,
287
+ }],
288
+ },
289
+ [Op.UPDATE_MANY]: {
290
+ purpose: 'Route-less retention plumbing.',
291
+ outcome: 'Nothing is scrubbed in practice: this resource declares `RETAIN_ONLY`, a positive assertion that it holds no personal data of its own. The operation exists because the retention contract requires READ + LIST + UPDATE_MANY to resolve, and a declared-but-unresolvable operation fails when an erasure actually runs.',
292
+ responseStatuses: [
293
+ { code: HttpResponseStatusCode.OK_200, meaning: 'The matching records were processed. INTERNAL_CALL — it registers no HTTP route.' },
294
+ ],
295
+ errorScenarios: [
296
+ { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The filter fails validation.', errorCode: 'VALIDATION_FAILED' },
297
+ ],
298
+ },
299
+ },
300
+ businessConstraints: [
301
+ 'The uniqueness grain is `(organizationId, providerRef, secretSlug)`, enforced by a compound unique index rather than a read-then-write. Two administrators saving a rotation in the same minute would otherwise leave two rows, and the resolver would pick between them arbitrarily — so half the tenant\'s outbound calls would carry the retired credential with nothing to say which half.',
302
+ 'A credential is resolved BEFORE the deployment environment and never after it. A tenant that has set its own credential must never fall back to the shared deployment secret: an unopenable or tampered credential is REFUSED rather than substituted, because silently acting as the wrong third-party principal is the defect this resource exists to remove.',
303
+ 'A disabled credential resolves as absent, not as an error — disabling parks an integration, it does not break it.',
304
+ 'Credentials do not outlive their tenant: the ORGANIZATIONS composition cascade removes them when an organization is purged, through both the retention-window batch door and the super-administrator immediate-purge door. `request_deletion` only MARKS the tenant, so credentials survive the retention window deliberately — otherwise `restore` would return a tenant with no working integrations.',
305
+ 'A subject erasure never reaches this resource. `setByUserId` names an ACTOR rather than a data subject, and no USERS relationship is registered for it — which also keeps a live credential off the subject-export graph, where `exportSubject` is FORBIDDEN.',
306
+ ],
307
+ }), { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS });
308
+ //# sourceMappingURL=organization-provider-credentials.resource.specification.js.map