@adaptic/backend-legacy 0.0.991 → 0.0.992

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 (356) hide show
  1. package/Account.cjs +40 -0
  2. package/AccountLinkingRequest.cjs +40 -0
  3. package/AccountRiskMetrics.cjs +36 -0
  4. package/Alert.cjs +34 -0
  5. package/Allocation.cjs +34 -0
  6. package/AlpacaAccount.cjs +110 -0
  7. package/Authenticator.cjs +40 -0
  8. package/Customer.cjs +42 -0
  9. package/LinkedProvider.cjs +40 -0
  10. package/LlmConfiguration.cjs +40 -0
  11. package/PolicyOverlay.cjs +188 -0
  12. package/RiskEscalationEvent.cjs +102 -0
  13. package/Session.cjs +40 -0
  14. package/StrategyHealthSnapshot.cjs +36 -0
  15. package/TradingPolicy.cjs +26 -0
  16. package/User.cjs +36 -0
  17. package/WaitlistEntry.cjs +40 -0
  18. package/esm/Account.d.ts.map +1 -1
  19. package/esm/Account.js.map +1 -1
  20. package/esm/Account.mjs +40 -0
  21. package/esm/AccountLinkingRequest.d.ts.map +1 -1
  22. package/esm/AccountLinkingRequest.js.map +1 -1
  23. package/esm/AccountLinkingRequest.mjs +40 -0
  24. package/esm/AccountRiskMetrics.d.ts.map +1 -1
  25. package/esm/AccountRiskMetrics.js.map +1 -1
  26. package/esm/AccountRiskMetrics.mjs +36 -0
  27. package/esm/Alert.d.ts.map +1 -1
  28. package/esm/Alert.js.map +1 -1
  29. package/esm/Alert.mjs +34 -0
  30. package/esm/Allocation.d.ts.map +1 -1
  31. package/esm/Allocation.js.map +1 -1
  32. package/esm/Allocation.mjs +34 -0
  33. package/esm/AlpacaAccount.d.ts.map +1 -1
  34. package/esm/AlpacaAccount.js.map +1 -1
  35. package/esm/AlpacaAccount.mjs +110 -0
  36. package/esm/Authenticator.d.ts.map +1 -1
  37. package/esm/Authenticator.js.map +1 -1
  38. package/esm/Authenticator.mjs +40 -0
  39. package/esm/Customer.d.ts.map +1 -1
  40. package/esm/Customer.js.map +1 -1
  41. package/esm/Customer.mjs +42 -0
  42. package/esm/LinkedProvider.d.ts.map +1 -1
  43. package/esm/LinkedProvider.js.map +1 -1
  44. package/esm/LinkedProvider.mjs +40 -0
  45. package/esm/LlmConfiguration.d.ts.map +1 -1
  46. package/esm/LlmConfiguration.js.map +1 -1
  47. package/esm/LlmConfiguration.mjs +40 -0
  48. package/esm/PolicyOverlay.d.ts.map +1 -1
  49. package/esm/PolicyOverlay.js.map +1 -1
  50. package/esm/PolicyOverlay.mjs +188 -0
  51. package/esm/RiskEscalationEvent.d.ts.map +1 -1
  52. package/esm/RiskEscalationEvent.js.map +1 -1
  53. package/esm/RiskEscalationEvent.mjs +102 -0
  54. package/esm/Session.d.ts.map +1 -1
  55. package/esm/Session.js.map +1 -1
  56. package/esm/Session.mjs +40 -0
  57. package/esm/StrategyHealthSnapshot.d.ts.map +1 -1
  58. package/esm/StrategyHealthSnapshot.js.map +1 -1
  59. package/esm/StrategyHealthSnapshot.mjs +36 -0
  60. package/esm/TradingPolicy.d.ts.map +1 -1
  61. package/esm/TradingPolicy.js.map +1 -1
  62. package/esm/TradingPolicy.mjs +26 -0
  63. package/esm/User.d.ts.map +1 -1
  64. package/esm/User.js.map +1 -1
  65. package/esm/User.mjs +36 -0
  66. package/esm/WaitlistEntry.d.ts.map +1 -1
  67. package/esm/WaitlistEntry.js.map +1 -1
  68. package/esm/WaitlistEntry.mjs +40 -0
  69. package/esm/generated/selectionSets/AccountRiskMetrics.d.ts +1 -1
  70. package/esm/generated/selectionSets/AccountRiskMetrics.d.ts.map +1 -1
  71. package/esm/generated/selectionSets/AccountRiskMetrics.js.map +1 -1
  72. package/esm/generated/selectionSets/AccountRiskMetrics.mjs +2 -0
  73. package/esm/generated/selectionSets/AlpacaAccount.d.ts +1 -1
  74. package/esm/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
  75. package/esm/generated/selectionSets/AlpacaAccount.js.map +1 -1
  76. package/esm/generated/selectionSets/AlpacaAccount.mjs +2 -0
  77. package/esm/generated/selectionSets/Customer.d.ts +1 -1
  78. package/esm/generated/selectionSets/Customer.d.ts.map +1 -1
  79. package/esm/generated/selectionSets/Customer.js.map +1 -1
  80. package/esm/generated/selectionSets/Customer.mjs +2 -0
  81. package/esm/generated/selectionSets/StrategyHealthSnapshot.d.ts +1 -1
  82. package/esm/generated/selectionSets/StrategyHealthSnapshot.d.ts.map +1 -1
  83. package/esm/generated/selectionSets/StrategyHealthSnapshot.js.map +1 -1
  84. package/esm/generated/selectionSets/StrategyHealthSnapshot.mjs +2 -0
  85. package/esm/generated/selectionSets/TradingPolicy.d.ts +1 -1
  86. package/esm/generated/selectionSets/TradingPolicy.d.ts.map +1 -1
  87. package/esm/generated/selectionSets/TradingPolicy.js.map +1 -1
  88. package/esm/generated/selectionSets/TradingPolicy.mjs +2 -0
  89. package/esm/generated/selectionSets/User.d.ts +1 -1
  90. package/esm/generated/selectionSets/User.d.ts.map +1 -1
  91. package/esm/generated/selectionSets/User.js.map +1 -1
  92. package/esm/generated/selectionSets/User.mjs +2 -0
  93. package/esm/generated/typeStrings/PolicyOverlay.d.ts +1 -1
  94. package/esm/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
  95. package/esm/generated/typeStrings/PolicyOverlay.js.map +1 -1
  96. package/esm/generated/typeStrings/PolicyOverlay.mjs +4 -0
  97. package/esm/generated/typeStrings/TradingPolicy.d.ts +1 -1
  98. package/esm/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
  99. package/esm/generated/typeStrings/TradingPolicy.js.map +1 -1
  100. package/esm/generated/typeStrings/TradingPolicy.mjs +4 -0
  101. package/esm/generated/typeStrings/index.d.ts +2 -2
  102. package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
  103. package/esm/generated/typegraphql-prisma/enhance.mjs +26 -26
  104. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts +2 -0
  105. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts.map +1 -1
  106. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.js.map +1 -1
  107. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.mjs +2 -0
  108. package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts +8 -0
  109. package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
  110. package/esm/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
  111. package/esm/generated/typegraphql-prisma/models/TradingPolicy.mjs +22 -0
  112. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts +1 -1
  113. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts.map +1 -1
  114. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.js.map +1 -1
  115. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts +1 -1
  116. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts.map +1 -1
  117. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.js.map +1 -1
  118. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts +1 -1
  119. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts.map +1 -1
  120. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.js.map +1 -1
  121. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts +1 -1
  122. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts.map +1 -1
  123. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.js.map +1 -1
  124. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts +1 -0
  125. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts.map +1 -1
  126. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.js.map +1 -1
  127. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.mjs +7 -0
  128. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +2 -0
  129. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts.map +1 -1
  130. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.js.map +1 -1
  131. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.mjs +14 -0
  132. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +2 -0
  133. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts.map +1 -1
  134. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.js.map +1 -1
  135. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.mjs +14 -0
  136. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +2 -0
  137. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts.map +1 -1
  138. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.js.map +1 -1
  139. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.mjs +14 -0
  140. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +2 -0
  141. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  142. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.js.map +1 -1
  143. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.mjs +14 -0
  144. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +2 -0
  145. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts.map +1 -1
  146. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.js.map +1 -1
  147. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.mjs +14 -0
  148. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +2 -0
  149. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts.map +1 -1
  150. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.js.map +1 -1
  151. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.mjs +14 -0
  152. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +2 -0
  153. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts.map +1 -1
  154. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.js.map +1 -1
  155. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.mjs +14 -0
  156. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +2 -0
  157. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts.map +1 -1
  158. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.js.map +1 -1
  159. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.mjs +14 -0
  160. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +2 -0
  161. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts.map +1 -1
  162. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.js.map +1 -1
  163. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.mjs +14 -0
  164. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +4 -0
  165. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts.map +1 -1
  166. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.js.map +1 -1
  167. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.mjs +16 -0
  168. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +1 -0
  169. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts.map +1 -1
  170. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.js.map +1 -1
  171. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.mjs +7 -0
  172. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +4 -0
  173. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts.map +1 -1
  174. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.js.map +1 -1
  175. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.mjs +16 -0
  176. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +4 -0
  177. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts.map +1 -1
  178. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.js.map +1 -1
  179. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.mjs +16 -0
  180. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +4 -0
  181. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  182. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.js.map +1 -1
  183. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.mjs +16 -0
  184. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +4 -0
  185. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts.map +1 -1
  186. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.js.map +1 -1
  187. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.mjs +16 -0
  188. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +4 -0
  189. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts.map +1 -1
  190. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.js.map +1 -1
  191. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.mjs +16 -0
  192. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +4 -0
  193. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts.map +1 -1
  194. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.js.map +1 -1
  195. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.mjs +16 -0
  196. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +2 -0
  197. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts.map +1 -1
  198. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.js.map +1 -1
  199. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.mjs +14 -0
  200. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +1 -0
  201. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts.map +1 -1
  202. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.js.map +1 -1
  203. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.mjs +7 -0
  204. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +2 -0
  205. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts.map +1 -1
  206. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.js.map +1 -1
  207. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.mjs +14 -0
  208. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +2 -0
  209. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts.map +1 -1
  210. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.js.map +1 -1
  211. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.mjs +14 -0
  212. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +2 -0
  213. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts.map +1 -1
  214. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.js.map +1 -1
  215. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.mjs +14 -0
  216. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +2 -0
  217. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts.map +1 -1
  218. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.js.map +1 -1
  219. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.mjs +14 -0
  220. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +1 -0
  221. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts.map +1 -1
  222. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.js.map +1 -1
  223. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.mjs +7 -0
  224. package/esm/index.d.ts.map +1 -1
  225. package/generated/typeStrings/PolicyOverlay.cjs +4 -0
  226. package/generated/typeStrings/PolicyOverlay.d.ts +1 -1
  227. package/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
  228. package/generated/typeStrings/PolicyOverlay.js.map +1 -1
  229. package/generated/typeStrings/TradingPolicy.cjs +4 -0
  230. package/generated/typeStrings/TradingPolicy.d.ts +1 -1
  231. package/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
  232. package/generated/typeStrings/TradingPolicy.js.map +1 -1
  233. package/generated/typeStrings/index.d.ts +2 -2
  234. package/generated/typegraphql-prisma/enhance.cjs +26 -26
  235. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  236. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.cjs +2 -0
  237. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts +2 -0
  238. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts.map +1 -1
  239. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.js.map +1 -1
  240. package/generated/typegraphql-prisma/models/TradingPolicy.cjs +14 -0
  241. package/generated/typegraphql-prisma/models/TradingPolicy.d.ts +8 -0
  242. package/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
  243. package/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
  244. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts +1 -1
  245. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts.map +1 -1
  246. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.js.map +1 -1
  247. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts +1 -1
  248. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts.map +1 -1
  249. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.js.map +1 -1
  250. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts +1 -1
  251. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts.map +1 -1
  252. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.js.map +1 -1
  253. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts +1 -1
  254. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts.map +1 -1
  255. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.js.map +1 -1
  256. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.cjs +6 -0
  257. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts +1 -0
  258. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts.map +1 -1
  259. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.js.map +1 -1
  260. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.cjs +12 -0
  261. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +2 -0
  262. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts.map +1 -1
  263. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.js.map +1 -1
  264. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.cjs +12 -0
  265. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +2 -0
  266. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts.map +1 -1
  267. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.js.map +1 -1
  268. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.cjs +12 -0
  269. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +2 -0
  270. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts.map +1 -1
  271. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.js.map +1 -1
  272. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.cjs +12 -0
  273. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +2 -0
  274. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  275. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.js.map +1 -1
  276. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.cjs +12 -0
  277. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +2 -0
  278. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts.map +1 -1
  279. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.js.map +1 -1
  280. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.cjs +12 -0
  281. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +2 -0
  282. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts.map +1 -1
  283. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.js.map +1 -1
  284. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.cjs +12 -0
  285. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +2 -0
  286. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts.map +1 -1
  287. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.js.map +1 -1
  288. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.cjs +12 -0
  289. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +2 -0
  290. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts.map +1 -1
  291. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.js.map +1 -1
  292. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.cjs +12 -0
  293. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +2 -0
  294. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts.map +1 -1
  295. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.js.map +1 -1
  296. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.cjs +14 -0
  297. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +4 -0
  298. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts.map +1 -1
  299. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.js.map +1 -1
  300. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.cjs +6 -0
  301. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +1 -0
  302. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts.map +1 -1
  303. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.js.map +1 -1
  304. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.cjs +14 -0
  305. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +4 -0
  306. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts.map +1 -1
  307. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.js.map +1 -1
  308. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.cjs +14 -0
  309. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +4 -0
  310. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts.map +1 -1
  311. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.js.map +1 -1
  312. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.cjs +14 -0
  313. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +4 -0
  314. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  315. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.js.map +1 -1
  316. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.cjs +14 -0
  317. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +4 -0
  318. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts.map +1 -1
  319. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.js.map +1 -1
  320. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.cjs +14 -0
  321. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +4 -0
  322. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts.map +1 -1
  323. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.js.map +1 -1
  324. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.cjs +14 -0
  325. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +4 -0
  326. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts.map +1 -1
  327. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.js.map +1 -1
  328. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.cjs +12 -0
  329. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +2 -0
  330. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts.map +1 -1
  331. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.js.map +1 -1
  332. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.cjs +6 -0
  333. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +1 -0
  334. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts.map +1 -1
  335. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.js.map +1 -1
  336. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.cjs +12 -0
  337. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +2 -0
  338. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts.map +1 -1
  339. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.js.map +1 -1
  340. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.cjs +12 -0
  341. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +2 -0
  342. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts.map +1 -1
  343. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.js.map +1 -1
  344. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.cjs +12 -0
  345. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +2 -0
  346. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts.map +1 -1
  347. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.js.map +1 -1
  348. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.cjs +12 -0
  349. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +2 -0
  350. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts.map +1 -1
  351. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.js.map +1 -1
  352. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.cjs +6 -0
  353. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +1 -0
  354. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts.map +1 -1
  355. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.js.map +1 -1
  356. package/package.json +1 -1
@@ -2504,7 +2504,7 @@ const modelsInfo = {
2504
2504
  WaitlistEntry: ["id", "email", "fullName", "companyName", "companyWebsite", "jobRole", "professionalInvestorConfirmed", "status", "queuePosition", "createdAt", "updatedAt", "reviewedAt", "reviewedById"],
2505
2505
  InviteToken: ["id", "token", "email", "waitlistEntryId", "used", "usedAt", "expiresAt", "createdAt"],
2506
2506
  AuditLog: ["id", "timestamp", "userId", "operationType", "modelName", "recordId", "changedFields", "operationName", "ipAddress", "metadata"],
2507
- TradingPolicy: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
2507
+ TradingPolicy: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
2508
2508
  PolicyOverlay: ["id", "tradingPolicyId", "overlayType", "source", "reason", "severity", "version", "mutations", "status", "activatedAt", "expiresAt", "deactivatedAt", "deactivatedBy", "correlationId", "triggerEventId", "riskEscalationEventId", "createdAt", "updatedAt"],
2509
2509
  AccountDecisionRecord: ["id", "alpacaAccountId", "correlationId", "opportunityId", "symbol", "assetClass", "signalAction", "signalConfidence", "decision", "decisionRationale", "decisionConfidence", "actionIntents", "validationResults", "executionResults", "effectivePolicySnapshot", "positionsSnapshot", "openOrdersSnapshot", "exposureSnapshot", "overlaysSnapshot", "modelProvider", "modelId", "modelTier", "routingReason", "tokenUsage", "sessionDurationMs", "gatingDurationMs", "validationDurationMs", "executionDurationMs", "status", "createdAt", "updatedAt"],
2510
2510
  DecisionMemorySummary: ["id", "alpacaAccountId", "symbol", "sector", "assetClass", "summary", "keyFactors", "outcome", "outcomeDetails", "decisionRecordId", "correlationId", "relevanceScore", "expiresAt", "createdAt", "updatedAt"],
@@ -2640,7 +2640,7 @@ const outputsInfo = {
2640
2640
  AggregateAuditLog: ["_count", "_min", "_max"],
2641
2641
  AuditLogGroupBy: ["id", "timestamp", "userId", "operationType", "modelName", "recordId", "changedFields", "operationName", "ipAddress", "metadata", "_count", "_min", "_max"],
2642
2642
  AggregateTradingPolicy: ["_count", "_avg", "_sum", "_min", "_max"],
2643
- TradingPolicyGroupBy: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "_count", "_avg", "_sum", "_min", "_max"],
2643
+ TradingPolicyGroupBy: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "_count", "_avg", "_sum", "_min", "_max"],
2644
2644
  AggregatePolicyOverlay: ["_count", "_avg", "_sum", "_min", "_max"],
2645
2645
  PolicyOverlayGroupBy: ["id", "tradingPolicyId", "overlayType", "source", "reason", "severity", "version", "mutations", "status", "activatedAt", "expiresAt", "deactivatedAt", "deactivatedBy", "correlationId", "triggerEventId", "riskEscalationEventId", "createdAt", "updatedAt", "_count", "_avg", "_sum", "_min", "_max"],
2646
2646
  AggregateAccountDecisionRecord: ["_count", "_avg", "_sum", "_min", "_max"],
@@ -2918,11 +2918,11 @@ const outputsInfo = {
2918
2918
  AuditLogMinAggregate: ["id", "timestamp", "userId", "operationType", "modelName", "recordId", "operationName", "ipAddress"],
2919
2919
  AuditLogMaxAggregate: ["id", "timestamp", "userId", "operationType", "modelName", "recordId", "operationName", "ipAddress"],
2920
2920
  TradingPolicyCount: ["overlays"],
2921
- TradingPolicyCountAggregate: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "_all"],
2922
- TradingPolicyAvgAggregate: ["version", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds"],
2923
- TradingPolicySumAggregate: ["version", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds"],
2924
- TradingPolicyMinAggregate: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
2925
- TradingPolicyMaxAggregate: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
2921
+ TradingPolicyCountAggregate: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "_all"],
2922
+ TradingPolicyAvgAggregate: ["version", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds"],
2923
+ TradingPolicySumAggregate: ["version", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds"],
2924
+ TradingPolicyMinAggregate: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
2925
+ TradingPolicyMaxAggregate: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
2926
2926
  PolicyOverlayCount: ["triggeredRiskEvents"],
2927
2927
  PolicyOverlayCountAggregate: ["id", "tradingPolicyId", "overlayType", "source", "reason", "severity", "version", "mutations", "status", "activatedAt", "expiresAt", "deactivatedAt", "deactivatedBy", "correlationId", "triggerEventId", "riskEscalationEventId", "createdAt", "updatedAt", "_all"],
2928
2928
  PolicyOverlayAvgAggregate: ["version"],
@@ -3026,7 +3026,7 @@ const outputsInfo = {
3026
3026
  CreateManyAndReturnWaitlistEntry: ["id", "email", "fullName", "companyName", "companyWebsite", "jobRole", "professionalInvestorConfirmed", "status", "queuePosition", "createdAt", "updatedAt", "reviewedAt", "reviewedById", "reviewedBy"],
3027
3027
  CreateManyAndReturnInviteToken: ["id", "token", "email", "waitlistEntryId", "used", "usedAt", "expiresAt", "createdAt", "waitlistEntry"],
3028
3028
  CreateManyAndReturnAuditLog: ["id", "timestamp", "userId", "operationType", "modelName", "recordId", "changedFields", "operationName", "ipAddress", "metadata"],
3029
- CreateManyAndReturnTradingPolicy: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount"],
3029
+ CreateManyAndReturnTradingPolicy: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount"],
3030
3030
  CreateManyAndReturnPolicyOverlay: ["id", "tradingPolicyId", "overlayType", "source", "reason", "severity", "version", "mutations", "status", "activatedAt", "expiresAt", "deactivatedAt", "deactivatedBy", "correlationId", "triggerEventId", "riskEscalationEventId", "createdAt", "updatedAt", "tradingPolicy", "riskEscalationEvent"],
3031
3031
  CreateManyAndReturnAccountDecisionRecord: ["id", "alpacaAccountId", "correlationId", "opportunityId", "symbol", "assetClass", "signalAction", "signalConfidence", "decision", "decisionRationale", "decisionConfidence", "actionIntents", "validationResults", "executionResults", "effectivePolicySnapshot", "positionsSnapshot", "openOrdersSnapshot", "exposureSnapshot", "overlaysSnapshot", "modelProvider", "modelId", "modelTier", "routingReason", "tokenUsage", "sessionDurationMs", "gatingDurationMs", "validationDurationMs", "executionDurationMs", "status", "createdAt", "updatedAt"],
3032
3032
  CreateManyAndReturnDecisionMemorySummary: ["id", "alpacaAccountId", "symbol", "sector", "assetClass", "summary", "keyFactors", "outcome", "outcomeDetails", "decisionRecordId", "correlationId", "relevanceScore", "expiresAt", "createdAt", "updatedAt"],
@@ -3332,11 +3332,11 @@ const inputsInfo = {
3332
3332
  AuditLogWhereUniqueInput: ["id", "AND", "OR", "NOT", "timestamp", "userId", "operationType", "modelName", "recordId", "changedFields", "operationName", "ipAddress", "metadata"],
3333
3333
  AuditLogOrderByWithAggregationInput: ["id", "timestamp", "userId", "operationType", "modelName", "recordId", "changedFields", "operationName", "ipAddress", "metadata", "_count", "_max", "_min"],
3334
3334
  AuditLogScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "timestamp", "userId", "operationType", "modelName", "recordId", "changedFields", "operationName", "ipAddress", "metadata"],
3335
- TradingPolicyWhereInput: ["AND", "OR", "NOT", "id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount", "overlays"],
3336
- TradingPolicyOrderByWithRelationInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount", "overlays"],
3337
- TradingPolicyWhereUniqueInput: ["id", "alpacaAccountId", "AND", "OR", "NOT", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount", "overlays"],
3338
- TradingPolicyOrderByWithAggregationInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "_count", "_avg", "_max", "_min", "_sum"],
3339
- TradingPolicyScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
3335
+ TradingPolicyWhereInput: ["AND", "OR", "NOT", "id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount", "overlays"],
3336
+ TradingPolicyOrderByWithRelationInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount", "overlays"],
3337
+ TradingPolicyWhereUniqueInput: ["id", "alpacaAccountId", "AND", "OR", "NOT", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount", "overlays"],
3338
+ TradingPolicyOrderByWithAggregationInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "_count", "_avg", "_max", "_min", "_sum"],
3339
+ TradingPolicyScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
3340
3340
  PolicyOverlayWhereInput: ["AND", "OR", "NOT", "id", "tradingPolicyId", "overlayType", "source", "reason", "severity", "version", "mutations", "status", "activatedAt", "expiresAt", "deactivatedAt", "deactivatedBy", "correlationId", "triggerEventId", "riskEscalationEventId", "createdAt", "updatedAt", "tradingPolicy", "riskEscalationEvent", "triggeredRiskEvents"],
3341
3341
  PolicyOverlayOrderByWithRelationInput: ["id", "tradingPolicyId", "overlayType", "source", "reason", "severity", "version", "mutations", "status", "activatedAt", "expiresAt", "deactivatedAt", "deactivatedBy", "correlationId", "triggerEventId", "riskEscalationEventId", "createdAt", "updatedAt", "tradingPolicy", "riskEscalationEvent", "triggeredRiskEvents"],
3342
3342
  PolicyOverlayWhereUniqueInput: ["id", "riskEscalationEventId", "AND", "OR", "NOT", "tradingPolicyId", "overlayType", "source", "reason", "severity", "version", "mutations", "status", "activatedAt", "expiresAt", "deactivatedAt", "deactivatedBy", "correlationId", "triggerEventId", "createdAt", "updatedAt", "tradingPolicy", "riskEscalationEvent", "triggeredRiskEvents"],
@@ -3610,10 +3610,10 @@ const inputsInfo = {
3610
3610
  AuditLogUpdateInput: ["id", "timestamp", "userId", "operationType", "modelName", "recordId", "changedFields", "operationName", "ipAddress", "metadata"],
3611
3611
  AuditLogCreateManyInput: ["id", "timestamp", "userId", "operationType", "modelName", "recordId", "changedFields", "operationName", "ipAddress", "metadata"],
3612
3612
  AuditLogUpdateManyMutationInput: ["id", "timestamp", "userId", "operationType", "modelName", "recordId", "changedFields", "operationName", "ipAddress", "metadata"],
3613
- TradingPolicyCreateInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount", "overlays"],
3614
- TradingPolicyUpdateInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount", "overlays"],
3615
- TradingPolicyCreateManyInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
3616
- TradingPolicyUpdateManyMutationInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
3613
+ TradingPolicyCreateInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount", "overlays"],
3614
+ TradingPolicyUpdateInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount", "overlays"],
3615
+ TradingPolicyCreateManyInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
3616
+ TradingPolicyUpdateManyMutationInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
3617
3617
  PolicyOverlayCreateInput: ["id", "overlayType", "source", "reason", "severity", "version", "mutations", "status", "activatedAt", "expiresAt", "deactivatedAt", "deactivatedBy", "correlationId", "triggerEventId", "createdAt", "updatedAt", "tradingPolicy", "riskEscalationEvent", "triggeredRiskEvents"],
3618
3618
  PolicyOverlayUpdateInput: ["id", "overlayType", "source", "reason", "severity", "version", "mutations", "status", "activatedAt", "expiresAt", "deactivatedAt", "deactivatedBy", "correlationId", "triggerEventId", "createdAt", "updatedAt", "tradingPolicy", "riskEscalationEvent", "triggeredRiskEvents"],
3619
3619
  PolicyOverlayCreateManyInput: ["id", "tradingPolicyId", "overlayType", "source", "reason", "severity", "version", "mutations", "status", "activatedAt", "expiresAt", "deactivatedAt", "deactivatedBy", "correlationId", "triggerEventId", "riskEscalationEventId", "createdAt", "updatedAt"],
@@ -4134,11 +4134,11 @@ const inputsInfo = {
4134
4134
  EnumAccountRiskStateFilter: ["equals", "in", "notIn", "not"],
4135
4135
  PolicyOverlayListRelationFilter: ["every", "some", "none"],
4136
4136
  PolicyOverlayOrderByRelationAggregateInput: ["_count"],
4137
- TradingPolicyCountOrderByAggregateInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
4138
- TradingPolicyAvgOrderByAggregateInput: ["version", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds"],
4139
- TradingPolicyMaxOrderByAggregateInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
4140
- TradingPolicyMinOrderByAggregateInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
4141
- TradingPolicySumOrderByAggregateInput: ["version", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds"],
4137
+ TradingPolicyCountOrderByAggregateInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
4138
+ TradingPolicyAvgOrderByAggregateInput: ["version", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds"],
4139
+ TradingPolicyMaxOrderByAggregateInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
4140
+ TradingPolicyMinOrderByAggregateInput: ["id", "alpacaAccountId", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt"],
4141
+ TradingPolicySumOrderByAggregateInput: ["version", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds"],
4142
4142
  EnumAutonomyModeWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
4143
4143
  EnumAccountRiskStateWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
4144
4144
  EnumOverlayTypeFilter: ["equals", "in", "notIn", "not"],
@@ -4699,7 +4699,7 @@ const inputsInfo = {
4699
4699
  UserUpdateWithoutAccountLinkingRequestsInput: ["id", "name", "email", "emailVerified", "image", "createdAt", "updatedAt", "deletedAt", "role", "bio", "jobTitle", "currentAccount", "plan", "openaiAPIKey", "openaiModel", "customer", "accounts", "sessions", "authenticators", "alpacaAccounts", "linkedProviders", "reviewedWaitlistEntries", "llmConfiguration"],
4700
4700
  AllocationCreateWithoutAlpacaAccountInput: ["id", "equities", "optionsContracts", "futures", "etfs", "forex", "crypto", "stocks", "options", "createdAt", "updatedAt"],
4701
4701
  AllocationCreateOrConnectWithoutAlpacaAccountInput: ["where", "create"],
4702
- TradingPolicyCreateWithoutAlpacaAccountInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "overlays"],
4702
+ TradingPolicyCreateWithoutAlpacaAccountInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "overlays"],
4703
4703
  TradingPolicyCreateOrConnectWithoutAlpacaAccountInput: ["where", "create"],
4704
4704
  UserCreateWithoutAlpacaAccountsInput: ["id", "name", "email", "emailVerified", "image", "createdAt", "updatedAt", "deletedAt", "role", "bio", "jobTitle", "currentAccount", "plan", "openaiAPIKey", "openaiModel", "customer", "accounts", "sessions", "authenticators", "linkedProviders", "accountLinkingRequests", "reviewedWaitlistEntries", "llmConfiguration"],
4705
4705
  UserCreateOrConnectWithoutAlpacaAccountsInput: ["where", "create"],
@@ -4719,7 +4719,7 @@ const inputsInfo = {
4719
4719
  AllocationUpdateWithoutAlpacaAccountInput: ["id", "equities", "optionsContracts", "futures", "etfs", "forex", "crypto", "stocks", "options", "createdAt", "updatedAt"],
4720
4720
  TradingPolicyUpsertWithoutAlpacaAccountInput: ["update", "create", "where"],
4721
4721
  TradingPolicyUpdateToOneWithWhereWithoutAlpacaAccountInput: ["where", "data"],
4722
- TradingPolicyUpdateWithoutAlpacaAccountInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "overlays"],
4722
+ TradingPolicyUpdateWithoutAlpacaAccountInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "overlays"],
4723
4723
  UserUpsertWithoutAlpacaAccountsInput: ["update", "create", "where"],
4724
4724
  UserUpdateToOneWithWhereWithoutAlpacaAccountsInput: ["where", "data"],
4725
4725
  UserUpdateWithoutAlpacaAccountsInput: ["id", "name", "email", "emailVerified", "image", "createdAt", "updatedAt", "deletedAt", "role", "bio", "jobTitle", "currentAccount", "plan", "openaiAPIKey", "openaiModel", "customer", "accounts", "sessions", "authenticators", "linkedProviders", "accountLinkingRequests", "reviewedWaitlistEntries", "llmConfiguration"],
@@ -4980,7 +4980,7 @@ const inputsInfo = {
4980
4980
  PolicyOverlayUpdateWithWhereUniqueWithoutTradingPolicyInput: ["where", "data"],
4981
4981
  PolicyOverlayUpdateManyWithWhereWithoutTradingPolicyInput: ["where", "data"],
4982
4982
  PolicyOverlayScalarWhereInput: ["AND", "OR", "NOT", "id", "tradingPolicyId", "overlayType", "source", "reason", "severity", "version", "mutations", "status", "activatedAt", "expiresAt", "deactivatedAt", "deactivatedBy", "correlationId", "triggerEventId", "riskEscalationEventId", "createdAt", "updatedAt"],
4983
- TradingPolicyCreateWithoutOverlaysInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount"],
4983
+ TradingPolicyCreateWithoutOverlaysInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount"],
4984
4984
  TradingPolicyCreateOrConnectWithoutOverlaysInput: ["where", "create"],
4985
4985
  RiskEscalationEventCreateWithoutActivatedPolicyOverlayInput: ["id", "scopeKind", "scopeValue", "fromState", "toState", "reason", "severity", "triggeringObserver", "observedValue", "breachedThreshold", "breachedThresholdKey", "correlationId", "triggeringEventId", "actor", "actorUserId", "rationale", "createdAt", "alpacaAccount", "triggeredByPolicyOverlay"],
4986
4986
  RiskEscalationEventCreateOrConnectWithoutActivatedPolicyOverlayInput: ["where", "create"],
@@ -4989,7 +4989,7 @@ const inputsInfo = {
4989
4989
  RiskEscalationEventCreateManyTriggeredByPolicyOverlayInputEnvelope: ["data", "skipDuplicates"],
4990
4990
  TradingPolicyUpsertWithoutOverlaysInput: ["update", "create", "where"],
4991
4991
  TradingPolicyUpdateToOneWithWhereWithoutOverlaysInput: ["where", "data"],
4992
- TradingPolicyUpdateWithoutOverlaysInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount"],
4992
+ TradingPolicyUpdateWithoutOverlaysInput: ["id", "version", "lastModifiedBy", "lastModifiedAt", "autonomyMode", "realtimeTradingEnabled", "paperTradingOnly", "killSwitchEnabled", "autonomyPrefs", "equitiesEnabled", "etfsEnabled", "cryptoEnabled", "optionsEnabled", "futuresEnabled", "forexEnabled", "shortingEnabled", "marginEnabled", "fractionalSharesEnabled", "assetUniversePrefs", "maxBuyingPowerUtilPct", "cashFloorPct", "maxGrossExposurePct", "maxNetExposurePct", "maxLeverage", "maxSymbolConcentrationPct", "maxSectorConcentrationPct", "maxOpenPositions", "maxOpenOrders", "perTradeEquityAllocationPct", "perTradeCryptoAllocationPct", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "enablePortfolioTakeProfit", "portfolioTakeProfitThresholdPercent", "defaultTrailingStopPercentage100", "firstTrailReductionThreshold100", "secondTrailReductionThreshold100", "firstReducedTrailPercentage100", "secondReducedTrailPercentage100", "minimumPriceChangePercent100", "equityWashTradeCooldownMs", "minIntradayLiquidityShares", "maxEntrySpreadBps", "sameSideReentryDelayMs", "minAtrPercentage", "maxAtrPercentage", "minBookDepthShares", "maxAnomalousSlippageBps", "intradayTradingWindows", "hardPositionExitMinutes", "maxOrdersPerWindow", "orderWindowSeconds", "dayTradeOnly", "riskBudgetPrefs", "signalConsumptionPrefs", "executionPrefs", "positionManagementPrefs", "portfolioConstructionPrefs", "macroOverlayEnabled", "sectorOverlayEnabled", "volatilityOverlayEnabled", "liquidityStressOverlayEnabled", "blackSwanProtectionEnabled", "drawdownGuardianEnabled", "correlationSpikeProtectionEnabled", "newsEventRiskOverlayEnabled", "exchangeHealthOverlayEnabled", "dataQualitySentinelEnabled", "overlayResponsePrefs", "miniModelProvider", "miniModelId", "normalModelProvider", "normalModelId", "advancedModelProvider", "advancedModelId", "modelPrefs", "auditNotificationPrefs", "escalationPolicyOverrides", "currentRiskState", "currentRiskStateAt", "lastRiskStateChangedBy", "lastRiskEscalationEventId", "createdAt", "updatedAt", "alpacaAccount"],
4993
4993
  RiskEscalationEventUpsertWithoutActivatedPolicyOverlayInput: ["update", "create", "where"],
4994
4994
  RiskEscalationEventUpdateToOneWithWhereWithoutActivatedPolicyOverlayInput: ["where", "data"],
4995
4995
  RiskEscalationEventUpdateWithoutActivatedPolicyOverlayInput: ["id", "scopeKind", "scopeValue", "fromState", "toState", "reason", "severity", "triggeringObserver", "observedValue", "breachedThreshold", "breachedThresholdKey", "correlationId", "triggeringEventId", "actor", "actorUserId", "rationale", "createdAt", "alpacaAccount", "triggeredByPolicyOverlay"],
@@ -34,6 +34,8 @@ export declare enum TradingPolicyScalarFieldEnum {
34
34
  portfolioTrailPercent = "portfolioTrailPercent",
35
35
  portfolioProfitThresholdPercent = "portfolioProfitThresholdPercent",
36
36
  reducedPortfolioTrailPercent = "reducedPortfolioTrailPercent",
37
+ enablePortfolioTakeProfit = "enablePortfolioTakeProfit",
38
+ portfolioTakeProfitThresholdPercent = "portfolioTakeProfitThresholdPercent",
37
39
  defaultTrailingStopPercentage100 = "defaultTrailingStopPercentage100",
38
40
  firstTrailReductionThreshold100 = "firstTrailReductionThreshold100",
39
41
  secondTrailReductionThreshold100 = "secondTrailReductionThreshold100",
@@ -1 +1 @@
1
- {"version":3,"file":"TradingPolicyScalarFieldEnum.d.ts","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.ts"],"names":[],"mappings":"AAEA,oBAAY,4BAA4B;IACtC,EAAE,OAAO;IACT,eAAe,oBAAoB;IACnC,OAAO,YAAY;IACnB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,sBAAsB,2BAA2B;IACjD,gBAAgB,qBAAqB;IACrC,iBAAiB,sBAAsB;IACvC,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;IAC/B,uBAAuB,4BAA4B;IACnD,kBAAkB,uBAAuB;IACzC,qBAAqB,0BAA0B;IAC/C,YAAY,iBAAiB;IAC7B,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAC3B,yBAAyB,8BAA8B;IACvD,yBAAyB,8BAA8B;IACvD,gBAAgB,qBAAqB;IACrC,aAAa,kBAAkB;IAC/B,2BAA2B,gCAAgC;IAC3D,2BAA2B,gCAAgC;IAC3D,2BAA2B,gCAAgC;IAC3D,qBAAqB,0BAA0B;IAC/C,+BAA+B,oCAAoC;IACnE,4BAA4B,iCAAiC;IAC7D,gCAAgC,qCAAqC;IACrE,+BAA+B,oCAAoC;IACnE,gCAAgC,qCAAqC;IACrE,8BAA8B,mCAAmC;IACjE,+BAA+B,oCAAoC;IACnE,4BAA4B,iCAAiC;IAC7D,yBAAyB,8BAA8B;IACvD,0BAA0B,+BAA+B;IACzD,iBAAiB,sBAAsB;IACvC,sBAAsB,2BAA2B;IACjD,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,uBAAuB,4BAA4B;IACnD,sBAAsB,2BAA2B;IACjD,uBAAuB,4BAA4B;IACnD,kBAAkB,uBAAuB;IACzC,kBAAkB,uBAAuB;IACzC,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,sBAAsB,2BAA2B;IACjD,cAAc,mBAAmB;IACjC,uBAAuB,4BAA4B;IACnD,0BAA0B,+BAA+B;IACzD,mBAAmB,wBAAwB;IAC3C,oBAAoB,yBAAyB;IAC7C,wBAAwB,6BAA6B;IACrD,6BAA6B,kCAAkC;IAC/D,0BAA0B,+BAA+B;IACzD,uBAAuB,4BAA4B;IACnD,iCAAiC,sCAAsC;IACvE,2BAA2B,gCAAgC;IAC3D,4BAA4B,iCAAiC;IAC7D,0BAA0B,+BAA+B;IACzD,oBAAoB,yBAAyB;IAC7C,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB;IAC3C,aAAa,kBAAkB;IAC/B,qBAAqB,0BAA0B;IAC/C,eAAe,oBAAoB;IACnC,UAAU,eAAe;IACzB,sBAAsB,2BAA2B;IACjD,yBAAyB,8BAA8B;IACvD,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,sBAAsB,2BAA2B;IACjD,yBAAyB,8BAA8B;IACvD,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB"}
1
+ {"version":3,"file":"TradingPolicyScalarFieldEnum.d.ts","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.ts"],"names":[],"mappings":"AAEA,oBAAY,4BAA4B;IACtC,EAAE,OAAO;IACT,eAAe,oBAAoB;IACnC,OAAO,YAAY;IACnB,cAAc,mBAAmB;IACj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mB;IACjC,uBAAuB,4BAA4B;IACnD,0BAA0B,+BAA+B;IACzD,mBAAmB,wBAAwB;IAC3C,oBAAoB,yBAAyB;IAC7C,wBAAwB,6BAA6B;IACrD,6BAA6B,kCAAkC;IAC/D,0BAA0B,+BAA+B;IACzD,uBAAuB,4BAA4B;IACnD,iCAAiC,sCAAsC;IACvE,2BAA2B,gCAAgC;IAC3D,4BAA4B,iCAAiC;IAC7D,0BAA0B,+BAA+B;IACzD,oBAAoB,yBAAyB;IAC7C,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB;IAC3C,aAAa,kBAAkB;IAC/B,qBAAqB,0BAA0B;IAC/C,eAAe,oBAAoB;IACnC,UAAU,eAAe;IACzB,sBAAsB,2BAA2B;IACjD,yBAAyB,8BAA8B;IACvD,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,sBAAsB,2BAA2B;IACjD,yBAAyB,8BAA8B;IACvD,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"TradingPolicyScalarFieldEnum.js","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAE5C,MAAM,CAAN,IAAY,4BAsFX;AAtFD,WAAY,4BAA4B;IACtC,yCAAS,CAAA;IACT,mEAAmC,CAAA;IACnC,mDAAmB,CAAA;IACnB,iEAAiC,CAAA;IACjC,iEAAiC,CAAA;IACjC,6DAA6B,CAAA;IAC7B,iFAAiD,CAAA;IACjD,qEAAqC,CAAA;IACrC,uEAAuC,CAAA;IACvC,+DAA+B,CAAA;IAC/B,mEAAmC,CAAA;IACnC,2DAA2B,CAAA;IAC3B,+DAA+B,CAAA;IAC/B,iEAAiC,CAAA;IACjC,iEAAiC,CAAA;IACjC,6DAA6B,CAAA;IAC7B,mEAAmC,CAAA;IACnC,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C,yDAAyB,CAAA;IACzB,iFAAiD,CAAA;IACjD,uFAAuD,CAAA;IACvD,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,iFAAiD,CAAA;IACjD,uFAAuD,CAAA;IACvD,uDAAuB,CAAA;IACvB,uDAAuB,CAAA;AACzB,CAAC,EAtFW,4BAA4B,KAA5B,4BAA4B,QAsFvC;AACD,WAAW,CAAC,gBAAgB,CAAC,4BAA4B,EAAE;IACzD,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE,SAAS;CACvB,CAAC,CAAC"}
1
+ {"version":3,"file":"TradingPolicyScalarFieldEnum.js","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAE5C,MAAM,CAAN,IAAY,4BAwFX;AAxFD,WAAY,4BAA4B;IACtC,yCAAS,CAAA;IACT,mEAAmC,CAAA;IACnC,mDAAmB,CAAA;IACnB,iEAAiC,CAAA;IACjC,iEAAiC,CAAA;IACjC,6DAA6B,CAAA;IAC7B,iFAAiD,CAAA;IACjD,qEAAqC,CAAA;IACrC,uEAAuC,CAAA;IACvC,+DAA+B,CAAA;IAC/B,mEAAmC,CAAA;IACnC,2DAA2B,CAAA;IAC3B,+DAA+B,CAAA;IAC/B,iEAAiC,CAAA;IACjC,iEAAiC,CAAA;IACjC,6DAA6B,CAAA;IAC7B,mEAAmC,CAAA;IACnC,+DAA+B,CAAA;IAC/B,mFAAmD,CAAA;IACnD,yEAAyC,CAAA;IACzC,+EAA+C,CAAA;IAC/C,6DAA6B,CAAA;IAC7B,2EAA2C,CAAA;IAC3C,uEAAuC,CAAA;IACvC,2DAA2B,CAAA;IAC3B,uFAAuD,CAAA;IACvD,uFAAuD,CAAA;IACvD,qEAAqC,CAAA;IACrC,+DAA+B,CAAA;IAC/B,2FAA2D,CAAA;IAC3D,2FAA2D,CAAA;IAC3D,2FAA2D,CA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BAA4B,EAAE;IACzD,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE,SAAS;CACvB,CAAC,CAAC"}
@@ -36,6 +36,8 @@ export var TradingPolicyScalarFieldEnum;
36
36
  TradingPolicyScalarFieldEnum["portfolioTrailPercent"] = "portfolioTrailPercent";
37
37
  TradingPolicyScalarFieldEnum["portfolioProfitThresholdPercent"] = "portfolioProfitThresholdPercent";
38
38
  TradingPolicyScalarFieldEnum["reducedPortfolioTrailPercent"] = "reducedPortfolioTrailPercent";
39
+ TradingPolicyScalarFieldEnum["enablePortfolioTakeProfit"] = "enablePortfolioTakeProfit";
40
+ TradingPolicyScalarFieldEnum["portfolioTakeProfitThresholdPercent"] = "portfolioTakeProfitThresholdPercent";
39
41
  TradingPolicyScalarFieldEnum["defaultTrailingStopPercentage100"] = "defaultTrailingStopPercentage100";
40
42
  TradingPolicyScalarFieldEnum["firstTrailReductionThreshold100"] = "firstTrailReductionThreshold100";
41
43
  TradingPolicyScalarFieldEnum["secondTrailReductionThreshold100"] = "secondTrailReductionThreshold100";
@@ -60,6 +60,14 @@ export declare class TradingPolicy {
60
60
  * Portfolio-level trailing stop percentage used by the Realtime Trade Engine for reducing the trailing stop once the profit threshold is exceeded. Canonical replacement for legacy AlpacaAccount.reducedPortfolioTrailPercent.
61
61
  */
62
62
  reducedPortfolioTrailPercent: number;
63
+ /**
64
+ * Whether the portfolio-level daily take-profit circuit breaker is enabled for this account.
65
+ */
66
+ enablePortfolioTakeProfit?: boolean | null;
67
+ /**
68
+ * Daily gain target (whole percent, e.g. 1 = 1%) since the 09:30 open that trips the take-profit breaker.
69
+ */
70
+ portfolioTakeProfitThresholdPercent?: number | null;
63
71
  /**
64
72
  * Initial trailing stop percentage used by the Position Trailing Stop Service. Canonical replacement for legacy AlpacaAccount.defaultTrailingStopPercentage100.
65
73
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TradingPolicy.d.ts","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/models/TradingPolic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