@adaptic/backend 0.0.1054 → 0.0.1056

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 (364) hide show
  1. package/Account.cjs +26 -0
  2. package/AccountLinkingRequest.cjs +26 -0
  3. package/AccountRiskMetrics.cjs +58 -0
  4. package/Action.cjs +26 -0
  5. package/AdaConversation.cjs +84 -0
  6. package/AdaMessage.cjs +29 -0
  7. package/Alert.cjs +58 -0
  8. package/Allocation.cjs +58 -0
  9. package/AlpacaAccount.cjs +52 -0
  10. package/Authenticator.cjs +26 -0
  11. package/AutoFollowRule.cjs +84 -0
  12. package/BrokerageAccount.cjs +116 -0
  13. package/Customer.cjs +55 -0
  14. package/DeskDecision.cjs +116 -0
  15. package/FeatureFlagOverride.cjs +26 -0
  16. package/Follow.cjs +84 -0
  17. package/Fund.cjs +197 -0
  18. package/FundAssignment.cjs +84 -0
  19. package/Holding.cjs +87 -0
  20. package/Investor.cjs +55 -0
  21. package/InvestorDocument.cjs +87 -0
  22. package/InvestorTransaction.cjs +87 -0
  23. package/InviteToken.cjs +29 -0
  24. package/LinkedProvider.cjs +26 -0
  25. package/LlmConfiguration.cjs +26 -0
  26. package/Mandate.cjs +142 -0
  27. package/MandateApproval.cjs +55 -0
  28. package/MandateRule.cjs +29 -0
  29. package/MandateVersion.cjs +113 -0
  30. package/NotificationDelivery.cjs +26 -0
  31. package/NotificationEvent.cjs +87 -0
  32. package/NotificationPreference.cjs +26 -0
  33. package/OrgMembership.cjs +26 -0
  34. package/Organization.cjs +174 -0
  35. package/PushSubscription.cjs +26 -0
  36. package/RiskEscalationEvent.cjs +58 -0
  37. package/Session.cjs +26 -0
  38. package/Strategy.cjs +15 -0
  39. package/StrategyHealthSnapshot.cjs +58 -0
  40. package/StrategySubscription.cjs +54 -0
  41. package/TaxDocument.cjs +87 -0
  42. package/Trade.cjs +23 -0
  43. package/TradingPolicy.cjs +58 -0
  44. package/User.cjs +110 -0
  45. package/UserTotp.cjs +26 -0
  46. package/WaitlistEntry.cjs +26 -0
  47. package/esm/Account.mjs +26 -0
  48. package/esm/AccountLinkingRequest.mjs +26 -0
  49. package/esm/AccountRiskMetrics.mjs +58 -0
  50. package/esm/Action.mjs +26 -0
  51. package/esm/AdaConversation.mjs +84 -0
  52. package/esm/AdaMessage.mjs +29 -0
  53. package/esm/Alert.mjs +58 -0
  54. package/esm/Allocation.mjs +58 -0
  55. package/esm/AlpacaAccount.mjs +52 -0
  56. package/esm/Authenticator.mjs +26 -0
  57. package/esm/AutoFollowRule.mjs +84 -0
  58. package/esm/BrokerageAccount.mjs +116 -0
  59. package/esm/Customer.mjs +55 -0
  60. package/esm/DeskDecision.mjs +116 -0
  61. package/esm/FeatureFlagOverride.mjs +26 -0
  62. package/esm/Follow.mjs +84 -0
  63. package/esm/Fund.mjs +197 -0
  64. package/esm/FundAssignment.mjs +84 -0
  65. package/esm/Holding.mjs +87 -0
  66. package/esm/Investor.mjs +55 -0
  67. package/esm/InvestorDocument.mjs +87 -0
  68. package/esm/InvestorTransaction.mjs +87 -0
  69. package/esm/InviteToken.mjs +29 -0
  70. package/esm/LinkedProvider.mjs +26 -0
  71. package/esm/LlmConfiguration.mjs +26 -0
  72. package/esm/Mandate.mjs +142 -0
  73. package/esm/MandateApproval.mjs +55 -0
  74. package/esm/MandateRule.mjs +29 -0
  75. package/esm/MandateVersion.mjs +113 -0
  76. package/esm/NotificationDelivery.mjs +26 -0
  77. package/esm/NotificationEvent.mjs +87 -0
  78. package/esm/NotificationPreference.mjs +26 -0
  79. package/esm/OrgMembership.mjs +26 -0
  80. package/esm/Organization.mjs +174 -0
  81. package/esm/PushSubscription.mjs +26 -0
  82. package/esm/RiskEscalationEvent.mjs +58 -0
  83. package/esm/Session.mjs +26 -0
  84. package/esm/Strategy.mjs +15 -0
  85. package/esm/StrategyHealthSnapshot.mjs +58 -0
  86. package/esm/StrategySubscription.mjs +54 -0
  87. package/esm/TaxDocument.mjs +87 -0
  88. package/esm/Trade.mjs +23 -0
  89. package/esm/TradingPolicy.mjs +58 -0
  90. package/esm/User.mjs +110 -0
  91. package/esm/UserTotp.mjs +26 -0
  92. package/esm/WaitlistEntry.mjs +26 -0
  93. package/esm/auth/membership-write-authority.d.ts +110 -0
  94. package/esm/auth/membership-write-authority.mjs +125 -0
  95. package/esm/auth/mutation-authorization.d.ts +23 -4
  96. package/esm/auth/mutation-authorization.mjs +36 -3
  97. package/esm/auth/nested-write-policy.d.ts +4 -0
  98. package/esm/auth/nested-write-policy.mjs +19 -0
  99. package/esm/auth/tenancy-scope.d.ts +50 -8
  100. package/esm/auth/tenancy-scope.mjs +87 -10
  101. package/esm/generated/selectionSets/Strategy.d.ts +1 -1
  102. package/esm/generated/selectionSets/Strategy.mjs +2 -0
  103. package/esm/generated/selectionSets/StrategySubscription.d.ts +1 -1
  104. package/esm/generated/selectionSets/StrategySubscription.mjs +2 -0
  105. package/esm/generated/typeStrings/Strategy.d.ts +1 -1
  106. package/esm/generated/typeStrings/Strategy.mjs +7 -0
  107. package/esm/generated/typeStrings/index.d.ts +1 -1
  108. package/esm/generated/typegraphql-prisma/enhance.mjs +79 -62
  109. package/esm/generated/typegraphql-prisma/enums/StrategyLifecycleState.d.ts +1 -0
  110. package/esm/generated/typegraphql-prisma/enums/StrategyLifecycleState.mjs +1 -0
  111. package/esm/generated/typegraphql-prisma/enums/StrategyScalarFieldEnum.d.ts +2 -0
  112. package/esm/generated/typegraphql-prisma/enums/StrategyScalarFieldEnum.mjs +2 -0
  113. package/esm/generated/typegraphql-prisma/models/Fund.d.ts +5 -0
  114. package/esm/generated/typegraphql-prisma/models/Fund.mjs +4 -0
  115. package/esm/generated/typegraphql-prisma/models/Strategy.d.ts +30 -1
  116. package/esm/generated/typegraphql-prisma/models/Strategy.mjs +43 -1
  117. package/esm/generated/typegraphql-prisma/resolvers/crud/Strategy/args/FindFirstStrategyArgs.d.ts +1 -1
  118. package/esm/generated/typegraphql-prisma/resolvers/crud/Strategy/args/FindFirstStrategyOrThrowArgs.d.ts +1 -1
  119. package/esm/generated/typegraphql-prisma/resolvers/crud/Strategy/args/FindManyStrategyArgs.d.ts +1 -1
  120. package/esm/generated/typegraphql-prisma/resolvers/crud/Strategy/args/GroupByStrategyArgs.d.ts +1 -1
  121. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumStrategyLifecycleStateFieldUpdateOperationsInput.d.ts +1 -1
  122. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumStrategyLifecycleStateFilter.d.ts +3 -3
  123. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumStrategyLifecycleStateWithAggregatesFilter.d.ts +3 -3
  124. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundCreateNestedOneWithoutStrategiesInput.d.ts +9 -0
  125. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundCreateNestedOneWithoutStrategiesInput.mjs +41 -0
  126. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundCreateOrConnectWithoutStrategiesInput.d.ts +7 -0
  127. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundCreateOrConnectWithoutStrategiesInput.mjs +33 -0
  128. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundCreateWithoutStrategiesInput.d.ts +53 -0
  129. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundCreateWithoutStrategiesInput.mjs +272 -0
  130. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundUpdateOneWithoutStrategiesNestedInput.d.ts +16 -0
  131. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundUpdateOneWithoutStrategiesNestedInput.mjs +72 -0
  132. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundUpdateToOneWithWhereWithoutStrategiesInput.d.ts +7 -0
  133. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundUpdateToOneWithWhereWithoutStrategiesInput.mjs +33 -0
  134. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundUpdateWithoutStrategiesInput.d.ts +60 -0
  135. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundUpdateWithoutStrategiesInput.mjs +278 -0
  136. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundUpsertWithoutStrategiesInput.d.ts +9 -0
  137. package/esm/generated/typegraphql-prisma/resolvers/inputs/FundUpsertWithoutStrategiesInput.mjs +41 -0
  138. package/esm/generated/typegraphql-prisma/resolvers/inputs/NestedEnumStrategyLifecycleStateFilter.d.ts +3 -3
  139. package/esm/generated/typegraphql-prisma/resolvers/inputs/NestedEnumStrategyLifecycleStateWithAggregatesFilter.d.ts +3 -3
  140. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCountOrderByAggregateInput.d.ts +2 -0
  141. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCountOrderByAggregateInput.mjs +14 -0
  142. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateInput.d.ts +2 -1
  143. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateInput.mjs +7 -0
  144. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyFundInput.d.ts +20 -0
  145. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyFundInput.mjs +134 -0
  146. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyFundInputEnvelope.d.ts +6 -0
  147. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyFundInputEnvelope.mjs +32 -0
  148. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyInput.d.ts +3 -1
  149. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyInput.mjs +14 -0
  150. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyOwnerInput.d.ts +3 -1
  151. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyOwnerInput.mjs +14 -0
  152. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateNestedManyWithoutFundInput.d.ts +11 -0
  153. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateNestedManyWithoutFundInput.mjs +49 -0
  154. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateOrConnectWithoutFundInput.d.ts +7 -0
  155. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateOrConnectWithoutFundInput.mjs +33 -0
  156. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutFundInput.d.ts +25 -0
  157. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutFundInput.mjs +151 -0
  158. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutOwnerInput.d.ts +2 -1
  159. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutOwnerInput.mjs +7 -0
  160. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutSubscriptionsInput.d.ts +2 -1
  161. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutSubscriptionsInput.mjs +7 -0
  162. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutTradesInput.d.ts +2 -1
  163. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutTradesInput.mjs +7 -0
  164. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyMaxOrderByAggregateInput.d.ts +2 -0
  165. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyMaxOrderByAggregateInput.mjs +14 -0
  166. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyMinOrderByAggregateInput.d.ts +2 -0
  167. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyMinOrderByAggregateInput.mjs +14 -0
  168. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyOrderByWithAggregationInput.d.ts +2 -0
  169. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyOrderByWithAggregationInput.mjs +14 -0
  170. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyOrderByWithRelationInput.d.ts +2 -0
  171. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyOrderByWithRelationInput.mjs +14 -0
  172. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyScalarWhereInput.d.ts +2 -0
  173. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyScalarWhereInput.mjs +14 -0
  174. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyScalarWhereWithAggregatesInput.d.ts +2 -0
  175. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyScalarWhereWithAggregatesInput.mjs +14 -0
  176. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateInput.d.ts +1 -0
  177. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateInput.mjs +7 -0
  178. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyMutationInput.d.ts +1 -0
  179. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyMutationInput.mjs +7 -0
  180. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyWithWhereWithoutFundInput.d.ts +7 -0
  181. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyWithWhereWithoutFundInput.mjs +33 -0
  182. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyWithoutFundNestedInput.d.ts +22 -0
  183. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyWithoutFundNestedInput.mjs +102 -0
  184. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithWhereUniqueWithoutFundInput.d.ts +7 -0
  185. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithWhereUniqueWithoutFundInput.mjs +33 -0
  186. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutFundInput.d.ts +33 -0
  187. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutFundInput.mjs +155 -0
  188. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutOwnerInput.d.ts +1 -0
  189. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutOwnerInput.mjs +7 -0
  190. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutSubscriptionsInput.d.ts +1 -0
  191. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutSubscriptionsInput.mjs +7 -0
  192. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutTradesInput.d.ts +1 -0
  193. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutTradesInput.mjs +7 -0
  194. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpsertWithWhereUniqueWithoutFundInput.d.ts +9 -0
  195. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyUpsertWithWhereUniqueWithoutFundInput.mjs +41 -0
  196. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyWhereInput.d.ts +2 -0
  197. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyWhereInput.mjs +14 -0
  198. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyWhereUniqueInput.d.ts +2 -0
  199. package/esm/generated/typegraphql-prisma/resolvers/inputs/StrategyWhereUniqueInput.mjs +14 -0
  200. package/esm/generated/typegraphql-prisma/resolvers/inputs/index.d.ts +17 -0
  201. package/esm/generated/typegraphql-prisma/resolvers/inputs/index.mjs +17 -0
  202. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnStrategy.d.ts +7 -1
  203. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnStrategy.mjs +31 -0
  204. package/esm/generated/typegraphql-prisma/resolvers/outputs/FundCount.d.ts +3 -0
  205. package/esm/generated/typegraphql-prisma/resolvers/outputs/FundCount.mjs +16 -0
  206. package/esm/generated/typegraphql-prisma/resolvers/outputs/StrategyCountAggregate.d.ts +2 -0
  207. package/esm/generated/typegraphql-prisma/resolvers/outputs/StrategyCountAggregate.mjs +14 -0
  208. package/esm/generated/typegraphql-prisma/resolvers/outputs/StrategyGroupBy.d.ts +3 -1
  209. package/esm/generated/typegraphql-prisma/resolvers/outputs/StrategyGroupBy.mjs +14 -0
  210. package/esm/generated/typegraphql-prisma/resolvers/outputs/StrategyMaxAggregate.d.ts +3 -1
  211. package/esm/generated/typegraphql-prisma/resolvers/outputs/StrategyMaxAggregate.mjs +14 -0
  212. package/esm/generated/typegraphql-prisma/resolvers/outputs/StrategyMinAggregate.d.ts +3 -1
  213. package/esm/generated/typegraphql-prisma/resolvers/outputs/StrategyMinAggregate.mjs +14 -0
  214. package/esm/generated/typegraphql-prisma/resolvers/outputs/args/CreateManyAndReturnStrategyFundArgs.d.ts +5 -0
  215. package/esm/generated/typegraphql-prisma/resolvers/outputs/args/CreateManyAndReturnStrategyFundArgs.mjs +25 -0
  216. package/esm/generated/typegraphql-prisma/resolvers/outputs/args/FundCountStrategiesArgs.d.ts +5 -0
  217. package/esm/generated/typegraphql-prisma/resolvers/outputs/args/FundCountStrategiesArgs.mjs +25 -0
  218. package/esm/generated/typegraphql-prisma/resolvers/outputs/args/index.d.ts +2 -0
  219. package/esm/generated/typegraphql-prisma/resolvers/outputs/args/index.mjs +2 -0
  220. package/esm/generated/typegraphql-prisma/resolvers/relations/User/args/UserOwnedStrategiesArgs.d.ts +1 -1
  221. package/esm/middleware/__tests__/mutation-auth-guard.harness.d.ts +2 -0
  222. package/esm/middleware/__tests__/mutation-auth-guard.harness.mjs +136 -10
  223. package/esm/middleware/mutation-auth-guard.d.ts +4 -2
  224. package/esm/middleware/mutation-auth-guard.mjs +20 -2
  225. package/esm/middleware/mutation-membership-facts.d.ts +133 -0
  226. package/esm/middleware/mutation-membership-facts.mjs +271 -0
  227. package/esm/middleware/mutation-tenant-facts.d.ts +4 -2
  228. package/esm/middleware/mutation-tenant-facts.mjs +4 -2
  229. package/esm/middleware/tenancy-scoping.mjs +15 -3
  230. package/esm/resolvers/custom/StrategyDraftResolver.d.ts +44 -0
  231. package/esm/resolvers/custom/StrategyDraftResolver.mjs +188 -0
  232. package/esm/resolvers/custom/index.d.ts +1 -0
  233. package/esm/resolvers/custom/index.mjs +1 -0
  234. package/esm/resolvers/custom/strategy-draft-service.d.ts +180 -0
  235. package/esm/resolvers/custom/strategy-draft-service.mjs +254 -0
  236. package/esm/resolvers/custom/strategy-spec-hash.d.ts +32 -0
  237. package/esm/resolvers/custom/strategy-spec-hash.mjs +54 -0
  238. package/esm/tests/strategy-fund-tenancy.harness.d.ts +20 -0
  239. package/esm/tests/strategy-fund-tenancy.harness.mjs +212 -0
  240. package/generated/typeStrings/Strategy.cjs +7 -0
  241. package/generated/typeStrings/Strategy.d.ts +1 -1
  242. package/generated/typeStrings/index.d.ts +1 -1
  243. package/generated/typegraphql-prisma/enhance.cjs +79 -62
  244. package/generated/typegraphql-prisma/enums/StrategyLifecycleState.cjs +1 -0
  245. package/generated/typegraphql-prisma/enums/StrategyLifecycleState.d.ts +1 -0
  246. package/generated/typegraphql-prisma/enums/StrategyScalarFieldEnum.cjs +2 -0
  247. package/generated/typegraphql-prisma/enums/StrategyScalarFieldEnum.d.ts +2 -0
  248. package/generated/typegraphql-prisma/models/Fund.d.ts +5 -0
  249. package/generated/typegraphql-prisma/models/Strategy.cjs +15 -1
  250. package/generated/typegraphql-prisma/models/Strategy.d.ts +30 -1
  251. package/generated/typegraphql-prisma/resolvers/crud/Strategy/args/FindFirstStrategyArgs.d.ts +1 -1
  252. package/generated/typegraphql-prisma/resolvers/crud/Strategy/args/FindFirstStrategyOrThrowArgs.d.ts +1 -1
  253. package/generated/typegraphql-prisma/resolvers/crud/Strategy/args/FindManyStrategyArgs.d.ts +1 -1
  254. package/generated/typegraphql-prisma/resolvers/crud/Strategy/args/GroupByStrategyArgs.d.ts +1 -1
  255. package/generated/typegraphql-prisma/resolvers/inputs/EnumStrategyLifecycleStateFieldUpdateOperationsInput.d.ts +1 -1
  256. package/generated/typegraphql-prisma/resolvers/inputs/EnumStrategyLifecycleStateFilter.d.ts +3 -3
  257. package/generated/typegraphql-prisma/resolvers/inputs/EnumStrategyLifecycleStateWithAggregatesFilter.d.ts +3 -3
  258. package/generated/typegraphql-prisma/resolvers/inputs/FundCreateNestedOneWithoutStrategiesInput.cjs +74 -0
  259. package/generated/typegraphql-prisma/resolvers/inputs/FundCreateNestedOneWithoutStrategiesInput.d.ts +9 -0
  260. package/generated/typegraphql-prisma/resolvers/inputs/FundCreateOrConnectWithoutStrategiesInput.cjs +67 -0
  261. package/generated/typegraphql-prisma/resolvers/inputs/FundCreateOrConnectWithoutStrategiesInput.d.ts +7 -0
  262. package/generated/typegraphql-prisma/resolvers/inputs/FundCreateWithoutStrategiesInput.cjs +274 -0
  263. package/generated/typegraphql-prisma/resolvers/inputs/FundCreateWithoutStrategiesInput.d.ts +53 -0
  264. package/generated/typegraphql-prisma/resolvers/inputs/FundUpdateOneWithoutStrategiesNestedInput.cjs +101 -0
  265. package/generated/typegraphql-prisma/resolvers/inputs/FundUpdateOneWithoutStrategiesNestedInput.d.ts +16 -0
  266. package/generated/typegraphql-prisma/resolvers/inputs/FundUpdateToOneWithWhereWithoutStrategiesInput.cjs +67 -0
  267. package/generated/typegraphql-prisma/resolvers/inputs/FundUpdateToOneWithWhereWithoutStrategiesInput.d.ts +7 -0
  268. package/generated/typegraphql-prisma/resolvers/inputs/FundUpdateWithoutStrategiesInput.cjs +280 -0
  269. package/generated/typegraphql-prisma/resolvers/inputs/FundUpdateWithoutStrategiesInput.d.ts +60 -0
  270. package/generated/typegraphql-prisma/resolvers/inputs/FundUpsertWithoutStrategiesInput.cjs +74 -0
  271. package/generated/typegraphql-prisma/resolvers/inputs/FundUpsertWithoutStrategiesInput.d.ts +9 -0
  272. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumStrategyLifecycleStateFilter.d.ts +3 -3
  273. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumStrategyLifecycleStateWithAggregatesFilter.d.ts +3 -3
  274. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCountOrderByAggregateInput.cjs +12 -0
  275. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCountOrderByAggregateInput.d.ts +2 -0
  276. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateInput.cjs +6 -0
  277. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateInput.d.ts +2 -1
  278. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyFundInput.cjs +154 -0
  279. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyFundInput.d.ts +20 -0
  280. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyFundInputEnvelope.cjs +66 -0
  281. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyFundInputEnvelope.d.ts +6 -0
  282. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyInput.cjs +12 -0
  283. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyInput.d.ts +3 -1
  284. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyOwnerInput.cjs +12 -0
  285. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateManyOwnerInput.d.ts +3 -1
  286. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateNestedManyWithoutFundInput.cjs +81 -0
  287. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateNestedManyWithoutFundInput.d.ts +11 -0
  288. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateOrConnectWithoutFundInput.cjs +67 -0
  289. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateOrConnectWithoutFundInput.d.ts +7 -0
  290. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutFundInput.cjs +169 -0
  291. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutFundInput.d.ts +25 -0
  292. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutOwnerInput.cjs +6 -0
  293. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutOwnerInput.d.ts +2 -1
  294. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutSubscriptionsInput.cjs +6 -0
  295. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutSubscriptionsInput.d.ts +2 -1
  296. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutTradesInput.cjs +6 -0
  297. package/generated/typegraphql-prisma/resolvers/inputs/StrategyCreateWithoutTradesInput.d.ts +2 -1
  298. package/generated/typegraphql-prisma/resolvers/inputs/StrategyMaxOrderByAggregateInput.cjs +12 -0
  299. package/generated/typegraphql-prisma/resolvers/inputs/StrategyMaxOrderByAggregateInput.d.ts +2 -0
  300. package/generated/typegraphql-prisma/resolvers/inputs/StrategyMinOrderByAggregateInput.cjs +12 -0
  301. package/generated/typegraphql-prisma/resolvers/inputs/StrategyMinOrderByAggregateInput.d.ts +2 -0
  302. package/generated/typegraphql-prisma/resolvers/inputs/StrategyOrderByWithAggregationInput.cjs +12 -0
  303. package/generated/typegraphql-prisma/resolvers/inputs/StrategyOrderByWithAggregationInput.d.ts +2 -0
  304. package/generated/typegraphql-prisma/resolvers/inputs/StrategyOrderByWithRelationInput.cjs +12 -0
  305. package/generated/typegraphql-prisma/resolvers/inputs/StrategyOrderByWithRelationInput.d.ts +2 -0
  306. package/generated/typegraphql-prisma/resolvers/inputs/StrategyScalarWhereInput.cjs +12 -0
  307. package/generated/typegraphql-prisma/resolvers/inputs/StrategyScalarWhereInput.d.ts +2 -0
  308. package/generated/typegraphql-prisma/resolvers/inputs/StrategyScalarWhereWithAggregatesInput.cjs +12 -0
  309. package/generated/typegraphql-prisma/resolvers/inputs/StrategyScalarWhereWithAggregatesInput.d.ts +2 -0
  310. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateInput.cjs +6 -0
  311. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateInput.d.ts +1 -0
  312. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyMutationInput.cjs +6 -0
  313. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyMutationInput.d.ts +1 -0
  314. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyWithWhereWithoutFundInput.cjs +67 -0
  315. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyWithWhereWithoutFundInput.d.ts +7 -0
  316. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyWithoutFundNestedInput.cjs +127 -0
  317. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateManyWithoutFundNestedInput.d.ts +22 -0
  318. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithWhereUniqueWithoutFundInput.cjs +67 -0
  319. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithWhereUniqueWithoutFundInput.d.ts +7 -0
  320. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutFundInput.cjs +173 -0
  321. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutFundInput.d.ts +33 -0
  322. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutOwnerInput.cjs +6 -0
  323. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutOwnerInput.d.ts +1 -0
  324. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutSubscriptionsInput.cjs +6 -0
  325. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutSubscriptionsInput.d.ts +1 -0
  326. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutTradesInput.cjs +6 -0
  327. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpdateWithoutTradesInput.d.ts +1 -0
  328. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpsertWithWhereUniqueWithoutFundInput.cjs +74 -0
  329. package/generated/typegraphql-prisma/resolvers/inputs/StrategyUpsertWithWhereUniqueWithoutFundInput.d.ts +9 -0
  330. package/generated/typegraphql-prisma/resolvers/inputs/StrategyWhereInput.cjs +12 -0
  331. package/generated/typegraphql-prisma/resolvers/inputs/StrategyWhereInput.d.ts +2 -0
  332. package/generated/typegraphql-prisma/resolvers/inputs/StrategyWhereUniqueInput.cjs +12 -0
  333. package/generated/typegraphql-prisma/resolvers/inputs/StrategyWhereUniqueInput.d.ts +2 -0
  334. package/generated/typegraphql-prisma/resolvers/inputs/index.cjs +84 -50
  335. package/generated/typegraphql-prisma/resolvers/inputs/index.d.ts +17 -0
  336. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnStrategy.cjs +28 -0
  337. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnStrategy.d.ts +7 -1
  338. package/generated/typegraphql-prisma/resolvers/outputs/FundCount.cjs +15 -0
  339. package/generated/typegraphql-prisma/resolvers/outputs/FundCount.d.ts +3 -0
  340. package/generated/typegraphql-prisma/resolvers/outputs/StrategyCountAggregate.cjs +12 -0
  341. package/generated/typegraphql-prisma/resolvers/outputs/StrategyCountAggregate.d.ts +2 -0
  342. package/generated/typegraphql-prisma/resolvers/outputs/StrategyGroupBy.cjs +12 -0
  343. package/generated/typegraphql-prisma/resolvers/outputs/StrategyGroupBy.d.ts +3 -1
  344. package/generated/typegraphql-prisma/resolvers/outputs/StrategyMaxAggregate.cjs +12 -0
  345. package/generated/typegraphql-prisma/resolvers/outputs/StrategyMaxAggregate.d.ts +3 -1
  346. package/generated/typegraphql-prisma/resolvers/outputs/StrategyMinAggregate.cjs +12 -0
  347. package/generated/typegraphql-prisma/resolvers/outputs/StrategyMinAggregate.d.ts +3 -1
  348. package/generated/typegraphql-prisma/resolvers/outputs/args/CreateManyAndReturnStrategyFundArgs.cjs +60 -0
  349. package/generated/typegraphql-prisma/resolvers/outputs/args/CreateManyAndReturnStrategyFundArgs.d.ts +5 -0
  350. package/generated/typegraphql-prisma/resolvers/outputs/args/FundCountStrategiesArgs.cjs +60 -0
  351. package/generated/typegraphql-prisma/resolvers/outputs/args/FundCountStrategiesArgs.d.ts +5 -0
  352. package/generated/typegraphql-prisma/resolvers/outputs/args/index.cjs +7 -3
  353. package/generated/typegraphql-prisma/resolvers/outputs/args/index.d.ts +2 -0
  354. package/generated/typegraphql-prisma/resolvers/relations/User/args/UserOwnedStrategiesArgs.d.ts +1 -1
  355. package/package.json +1 -1
  356. package/resolvers/custom/StrategyDraftResolver.cjs +221 -0
  357. package/resolvers/custom/StrategyDraftResolver.d.ts +44 -0
  358. package/resolvers/custom/index.cjs +5 -1
  359. package/resolvers/custom/index.d.ts +1 -0
  360. package/resolvers/custom/strategy-draft-service.cjs +262 -0
  361. package/resolvers/custom/strategy-draft-service.d.ts +180 -0
  362. package/resolvers/custom/strategy-spec-hash.cjs +58 -0
  363. package/resolvers/custom/strategy-spec-hash.d.ts +32 -0
  364. package/server.cjs +1 -0
@@ -30,6 +30,7 @@ let StrategyUpdateWithoutSubscriptionsInput = class StrategyUpdateWithoutSubscri
30
30
  kind;
31
31
  spec;
32
32
  backtestJobId;
33
+ backtestSpecHash;
33
34
  desk;
34
35
  createdAt;
35
36
  updatedAt;
@@ -97,6 +98,12 @@ __decorate([
97
98
  }),
98
99
  __metadata("design:type", Object)
99
100
  ], StrategyUpdateWithoutSubscriptionsInput.prototype, "backtestJobId", void 0);
101
+ __decorate([
102
+ TypeGraphQL.Field(_type => NullableStringFieldUpdateOperationsInput, {
103
+ nullable: true
104
+ }),
105
+ __metadata("design:type", Object)
106
+ ], StrategyUpdateWithoutSubscriptionsInput.prototype, "backtestSpecHash", void 0);
100
107
  __decorate([
101
108
  TypeGraphQL.Field(_type => NullableEnumDeskTypeFieldUpdateOperationsInput, {
102
109
  nullable: true
@@ -20,6 +20,7 @@ export declare class StrategyUpdateWithoutTradesInput {
20
20
  kind?: NullableEnumStrategyKindFieldUpdateOperationsInput | undefined;
21
21
  spec?: Prisma.InputJsonValue | undefined;
22
22
  backtestJobId?: NullableStringFieldUpdateOperationsInput | undefined;
23
+ backtestSpecHash?: NullableStringFieldUpdateOperationsInput | undefined;
23
24
  desk?: NullableEnumDeskTypeFieldUpdateOperationsInput | undefined;
24
25
  createdAt?: DateTimeFieldUpdateOperationsInput | undefined;
25
26
  updatedAt?: DateTimeFieldUpdateOperationsInput | undefined;
@@ -30,6 +30,7 @@ let StrategyUpdateWithoutTradesInput = class StrategyUpdateWithoutTradesInput {
30
30
  kind;
31
31
  spec;
32
32
  backtestJobId;
33
+ backtestSpecHash;
33
34
  desk;
34
35
  createdAt;
35
36
  updatedAt;
@@ -97,6 +98,12 @@ __decorate([
97
98
  }),
98
99
  __metadata("design:type", Object)
99
100
  ], StrategyUpdateWithoutTradesInput.prototype, "backtestJobId", void 0);
101
+ __decorate([
102
+ TypeGraphQL.Field(_type => NullableStringFieldUpdateOperationsInput, {
103
+ nullable: true
104
+ }),
105
+ __metadata("design:type", Object)
106
+ ], StrategyUpdateWithoutTradesInput.prototype, "backtestSpecHash", void 0);
100
107
  __decorate([
101
108
  TypeGraphQL.Field(_type => NullableEnumDeskTypeFieldUpdateOperationsInput, {
102
109
  nullable: true
@@ -0,0 +1,9 @@
1
+ import { StrategyCreateWithoutFundInput } from "../inputs/StrategyCreateWithoutFundInput";
2
+ import { StrategyUpdateWithoutFundInput } from "../inputs/StrategyUpdateWithoutFundInput";
3
+ import { StrategyWhereUniqueInput } from "../inputs/StrategyWhereUniqueInput";
4
+ export declare class StrategyUpsertWithWhereUniqueWithoutFundInput {
5
+ where: StrategyWhereUniqueInput;
6
+ update: StrategyUpdateWithoutFundInput;
7
+ create: StrategyCreateWithoutFundInput;
8
+ }
9
+ //# sourceMappingURL=StrategyUpsertWithWhereUniqueWithoutFundInput.d.ts.map
@@ -0,0 +1,41 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import * as TypeGraphQL from "type-graphql";
11
+ import { StrategyCreateWithoutFundInput } from "../inputs/StrategyCreateWithoutFundInput.mjs";
12
+ import { StrategyUpdateWithoutFundInput } from "../inputs/StrategyUpdateWithoutFundInput.mjs";
13
+ import { StrategyWhereUniqueInput } from "../inputs/StrategyWhereUniqueInput.mjs";
14
+ let StrategyUpsertWithWhereUniqueWithoutFundInput = class StrategyUpsertWithWhereUniqueWithoutFundInput {
15
+ where;
16
+ update;
17
+ create;
18
+ };
19
+ __decorate([
20
+ TypeGraphQL.Field(_type => StrategyWhereUniqueInput, {
21
+ nullable: false
22
+ }),
23
+ __metadata("design:type", StrategyWhereUniqueInput)
24
+ ], StrategyUpsertWithWhereUniqueWithoutFundInput.prototype, "where", void 0);
25
+ __decorate([
26
+ TypeGraphQL.Field(_type => StrategyUpdateWithoutFundInput, {
27
+ nullable: false
28
+ }),
29
+ __metadata("design:type", StrategyUpdateWithoutFundInput)
30
+ ], StrategyUpsertWithWhereUniqueWithoutFundInput.prototype, "update", void 0);
31
+ __decorate([
32
+ TypeGraphQL.Field(_type => StrategyCreateWithoutFundInput, {
33
+ nullable: false
34
+ }),
35
+ __metadata("design:type", StrategyCreateWithoutFundInput)
36
+ ], StrategyUpsertWithWhereUniqueWithoutFundInput.prototype, "create", void 0);
37
+ StrategyUpsertWithWhereUniqueWithoutFundInput = __decorate([
38
+ TypeGraphQL.InputType("StrategyUpsertWithWhereUniqueWithoutFundInput", {})
39
+ ], StrategyUpsertWithWhereUniqueWithoutFundInput);
40
+ export { StrategyUpsertWithWhereUniqueWithoutFundInput };
41
+ //# sourceMappingURL=StrategyUpsertWithWhereUniqueWithoutFundInput.js.map
@@ -26,8 +26,10 @@ export declare class StrategyWhereInput {
26
26
  kind?: EnumStrategyKindNullableFilter | undefined;
27
27
  spec?: JsonNullableFilter | undefined;
28
28
  backtestJobId?: StringNullableFilter | undefined;
29
+ backtestSpecHash?: StringNullableFilter | undefined;
29
30
  desk?: EnumDeskTypeNullableFilter | undefined;
30
31
  ownerUserId?: UuidNullableFilter | undefined;
32
+ fundId?: UuidNullableFilter | undefined;
31
33
  createdAt?: DateTimeFilter | undefined;
32
34
  updatedAt?: DateTimeFilter | undefined;
33
35
  deletedAt?: DateTimeNullableFilter | undefined;
@@ -36,8 +36,10 @@ let StrategyWhereInput = class StrategyWhereInput {
36
36
  kind;
37
37
  spec;
38
38
  backtestJobId;
39
+ backtestSpecHash;
39
40
  desk;
40
41
  ownerUserId;
42
+ fundId;
41
43
  createdAt;
42
44
  updatedAt;
43
45
  deletedAt;
@@ -123,6 +125,12 @@ __decorate([
123
125
  }),
124
126
  __metadata("design:type", Object)
125
127
  ], StrategyWhereInput.prototype, "backtestJobId", void 0);
128
+ __decorate([
129
+ TypeGraphQL.Field(_type => StringNullableFilter, {
130
+ nullable: true
131
+ }),
132
+ __metadata("design:type", Object)
133
+ ], StrategyWhereInput.prototype, "backtestSpecHash", void 0);
126
134
  __decorate([
127
135
  TypeGraphQL.Field(_type => EnumDeskTypeNullableFilter, {
128
136
  nullable: true
@@ -135,6 +143,12 @@ __decorate([
135
143
  }),
136
144
  __metadata("design:type", Object)
137
145
  ], StrategyWhereInput.prototype, "ownerUserId", void 0);
146
+ __decorate([
147
+ TypeGraphQL.Field(_type => UuidNullableFilter, {
148
+ nullable: true
149
+ }),
150
+ __metadata("design:type", Object)
151
+ ], StrategyWhereInput.prototype, "fundId", void 0);
138
152
  __decorate([
139
153
  TypeGraphQL.Field(_type => DateTimeFilter, {
140
154
  nullable: true
@@ -26,8 +26,10 @@ export declare class StrategyWhereUniqueInput {
26
26
  kind?: EnumStrategyKindNullableFilter | undefined;
27
27
  spec?: JsonNullableFilter | undefined;
28
28
  backtestJobId?: StringNullableFilter | undefined;
29
+ backtestSpecHash?: StringNullableFilter | undefined;
29
30
  desk?: EnumDeskTypeNullableFilter | undefined;
30
31
  ownerUserId?: UuidNullableFilter | undefined;
32
+ fundId?: UuidNullableFilter | undefined;
31
33
  createdAt?: DateTimeFilter | undefined;
32
34
  updatedAt?: DateTimeFilter | undefined;
33
35
  deletedAt?: DateTimeNullableFilter | undefined;
@@ -36,8 +36,10 @@ let StrategyWhereUniqueInput = class StrategyWhereUniqueInput {
36
36
  kind;
37
37
  spec;
38
38
  backtestJobId;
39
+ backtestSpecHash;
39
40
  desk;
40
41
  ownerUserId;
42
+ fundId;
41
43
  createdAt;
42
44
  updatedAt;
43
45
  deletedAt;
@@ -123,6 +125,12 @@ __decorate([
123
125
  }),
124
126
  __metadata("design:type", Object)
125
127
  ], StrategyWhereUniqueInput.prototype, "backtestJobId", void 0);
128
+ __decorate([
129
+ TypeGraphQL.Field(_type => StringNullableFilter, {
130
+ nullable: true
131
+ }),
132
+ __metadata("design:type", Object)
133
+ ], StrategyWhereUniqueInput.prototype, "backtestSpecHash", void 0);
126
134
  __decorate([
127
135
  TypeGraphQL.Field(_type => EnumDeskTypeNullableFilter, {
128
136
  nullable: true
@@ -135,6 +143,12 @@ __decorate([
135
143
  }),
136
144
  __metadata("design:type", Object)
137
145
  ], StrategyWhereUniqueInput.prototype, "ownerUserId", void 0);
146
+ __decorate([
147
+ TypeGraphQL.Field(_type => UuidNullableFilter, {
148
+ nullable: true
149
+ }),
150
+ __metadata("design:type", Object)
151
+ ], StrategyWhereUniqueInput.prototype, "fundId", void 0);
138
152
  __decorate([
139
153
  TypeGraphQL.Field(_type => DateTimeFilter, {
140
154
  nullable: true
@@ -1228,6 +1228,7 @@ export { FundCreateNestedOneWithoutInvestorDocumentsInput } from "./FundCreateNe
1228
1228
  export { FundCreateNestedOneWithoutInvestorTransactionsInput } from "./FundCreateNestedOneWithoutInvestorTransactionsInput";
1229
1229
  export { FundCreateNestedOneWithoutMandatesInput } from "./FundCreateNestedOneWithoutMandatesInput";
1230
1230
  export { FundCreateNestedOneWithoutNotificationEventsInput } from "./FundCreateNestedOneWithoutNotificationEventsInput";
1231
+ export { FundCreateNestedOneWithoutStrategiesInput } from "./FundCreateNestedOneWithoutStrategiesInput";
1231
1232
  export { FundCreateNestedOneWithoutTaxDocumentsInput } from "./FundCreateNestedOneWithoutTaxDocumentsInput";
1232
1233
  export { FundCreateOrConnectWithoutAdaConversationsInput } from "./FundCreateOrConnectWithoutAdaConversationsInput";
1233
1234
  export { FundCreateOrConnectWithoutAssignmentsInput } from "./FundCreateOrConnectWithoutAssignmentsInput";
@@ -1243,6 +1244,7 @@ export { FundCreateOrConnectWithoutMandatesInput } from "./FundCreateOrConnectWi
1243
1244
  export { FundCreateOrConnectWithoutNotificationEventsInput } from "./FundCreateOrConnectWithoutNotificationEventsInput";
1244
1245
  export { FundCreateOrConnectWithoutOperatorInput } from "./FundCreateOrConnectWithoutOperatorInput";
1245
1246
  export { FundCreateOrConnectWithoutOrganizationInput } from "./FundCreateOrConnectWithoutOrganizationInput";
1247
+ export { FundCreateOrConnectWithoutStrategiesInput } from "./FundCreateOrConnectWithoutStrategiesInput";
1246
1248
  export { FundCreateOrConnectWithoutTaxDocumentsInput } from "./FundCreateOrConnectWithoutTaxDocumentsInput";
1247
1249
  export { FundCreateWithoutAdaConversationsInput } from "./FundCreateWithoutAdaConversationsInput";
1248
1250
  export { FundCreateWithoutAssignmentsInput } from "./FundCreateWithoutAssignmentsInput";
@@ -1258,6 +1260,7 @@ export { FundCreateWithoutMandatesInput } from "./FundCreateWithoutMandatesInput
1258
1260
  export { FundCreateWithoutNotificationEventsInput } from "./FundCreateWithoutNotificationEventsInput";
1259
1261
  export { FundCreateWithoutOperatorInput } from "./FundCreateWithoutOperatorInput";
1260
1262
  export { FundCreateWithoutOrganizationInput } from "./FundCreateWithoutOrganizationInput";
1263
+ export { FundCreateWithoutStrategiesInput } from "./FundCreateWithoutStrategiesInput";
1261
1264
  export { FundCreateWithoutTaxDocumentsInput } from "./FundCreateWithoutTaxDocumentsInput";
1262
1265
  export { FundListRelationFilter } from "./FundListRelationFilter";
1263
1266
  export { FundMaxOrderByAggregateInput } from "./FundMaxOrderByAggregateInput";
@@ -1290,6 +1293,7 @@ export { FundUpdateOneRequiredWithoutInvestorTransactionsNestedInput } from "./F
1290
1293
  export { FundUpdateOneWithoutInvestorDocumentsNestedInput } from "./FundUpdateOneWithoutInvestorDocumentsNestedInput";
1291
1294
  export { FundUpdateOneWithoutMandatesNestedInput } from "./FundUpdateOneWithoutMandatesNestedInput";
1292
1295
  export { FundUpdateOneWithoutNotificationEventsNestedInput } from "./FundUpdateOneWithoutNotificationEventsNestedInput";
1296
+ export { FundUpdateOneWithoutStrategiesNestedInput } from "./FundUpdateOneWithoutStrategiesNestedInput";
1293
1297
  export { FundUpdateOneWithoutTaxDocumentsNestedInput } from "./FundUpdateOneWithoutTaxDocumentsNestedInput";
1294
1298
  export { FundUpdateToOneWithWhereWithoutAdaConversationsInput } from "./FundUpdateToOneWithWhereWithoutAdaConversationsInput";
1295
1299
  export { FundUpdateToOneWithWhereWithoutAssignmentsInput } from "./FundUpdateToOneWithWhereWithoutAssignmentsInput";
@@ -1302,6 +1306,7 @@ export { FundUpdateToOneWithWhereWithoutInvestorDocumentsInput } from "./FundUpd
1302
1306
  export { FundUpdateToOneWithWhereWithoutInvestorTransactionsInput } from "./FundUpdateToOneWithWhereWithoutInvestorTransactionsInput";
1303
1307
  export { FundUpdateToOneWithWhereWithoutMandatesInput } from "./FundUpdateToOneWithWhereWithoutMandatesInput";
1304
1308
  export { FundUpdateToOneWithWhereWithoutNotificationEventsInput } from "./FundUpdateToOneWithWhereWithoutNotificationEventsInput";
1309
+ export { FundUpdateToOneWithWhereWithoutStrategiesInput } from "./FundUpdateToOneWithWhereWithoutStrategiesInput";
1305
1310
  export { FundUpdateToOneWithWhereWithoutTaxDocumentsInput } from "./FundUpdateToOneWithWhereWithoutTaxDocumentsInput";
1306
1311
  export { FundUpdateWithWhereUniqueWithoutManagerInput } from "./FundUpdateWithWhereUniqueWithoutManagerInput";
1307
1312
  export { FundUpdateWithWhereUniqueWithoutOperatorInput } from "./FundUpdateWithWhereUniqueWithoutOperatorInput";
@@ -1320,6 +1325,7 @@ export { FundUpdateWithoutMandatesInput } from "./FundUpdateWithoutMandatesInput
1320
1325
  export { FundUpdateWithoutNotificationEventsInput } from "./FundUpdateWithoutNotificationEventsInput";
1321
1326
  export { FundUpdateWithoutOperatorInput } from "./FundUpdateWithoutOperatorInput";
1322
1327
  export { FundUpdateWithoutOrganizationInput } from "./FundUpdateWithoutOrganizationInput";
1328
+ export { FundUpdateWithoutStrategiesInput } from "./FundUpdateWithoutStrategiesInput";
1323
1329
  export { FundUpdateWithoutTaxDocumentsInput } from "./FundUpdateWithoutTaxDocumentsInput";
1324
1330
  export { FundUpsertWithWhereUniqueWithoutManagerInput } from "./FundUpsertWithWhereUniqueWithoutManagerInput";
1325
1331
  export { FundUpsertWithWhereUniqueWithoutOperatorInput } from "./FundUpsertWithWhereUniqueWithoutOperatorInput";
@@ -1335,6 +1341,7 @@ export { FundUpsertWithoutInvestorDocumentsInput } from "./FundUpsertWithoutInve
1335
1341
  export { FundUpsertWithoutInvestorTransactionsInput } from "./FundUpsertWithoutInvestorTransactionsInput";
1336
1342
  export { FundUpsertWithoutMandatesInput } from "./FundUpsertWithoutMandatesInput";
1337
1343
  export { FundUpsertWithoutNotificationEventsInput } from "./FundUpsertWithoutNotificationEventsInput";
1344
+ export { FundUpsertWithoutStrategiesInput } from "./FundUpsertWithoutStrategiesInput";
1338
1345
  export { FundUpsertWithoutTaxDocumentsInput } from "./FundUpsertWithoutTaxDocumentsInput";
1339
1346
  export { FundWhereInput } from "./FundWhereInput";
1340
1347
  export { FundWhereUniqueInput } from "./FundWhereUniqueInput";
@@ -3046,15 +3053,20 @@ export { SignalPriorityQueueWhereUniqueInput } from "./SignalPriorityQueueWhereU
3046
3053
  export { SortOrderInput } from "./SortOrderInput";
3047
3054
  export { StrategyCountOrderByAggregateInput } from "./StrategyCountOrderByAggregateInput";
3048
3055
  export { StrategyCreateInput } from "./StrategyCreateInput";
3056
+ export { StrategyCreateManyFundInput } from "./StrategyCreateManyFundInput";
3057
+ export { StrategyCreateManyFundInputEnvelope } from "./StrategyCreateManyFundInputEnvelope";
3049
3058
  export { StrategyCreateManyInput } from "./StrategyCreateManyInput";
3050
3059
  export { StrategyCreateManyOwnerInput } from "./StrategyCreateManyOwnerInput";
3051
3060
  export { StrategyCreateManyOwnerInputEnvelope } from "./StrategyCreateManyOwnerInputEnvelope";
3061
+ export { StrategyCreateNestedManyWithoutFundInput } from "./StrategyCreateNestedManyWithoutFundInput";
3052
3062
  export { StrategyCreateNestedManyWithoutOwnerInput } from "./StrategyCreateNestedManyWithoutOwnerInput";
3053
3063
  export { StrategyCreateNestedOneWithoutSubscriptionsInput } from "./StrategyCreateNestedOneWithoutSubscriptionsInput";
3054
3064
  export { StrategyCreateNestedOneWithoutTradesInput } from "./StrategyCreateNestedOneWithoutTradesInput";
3065
+ export { StrategyCreateOrConnectWithoutFundInput } from "./StrategyCreateOrConnectWithoutFundInput";
3055
3066
  export { StrategyCreateOrConnectWithoutOwnerInput } from "./StrategyCreateOrConnectWithoutOwnerInput";
3056
3067
  export { StrategyCreateOrConnectWithoutSubscriptionsInput } from "./StrategyCreateOrConnectWithoutSubscriptionsInput";
3057
3068
  export { StrategyCreateOrConnectWithoutTradesInput } from "./StrategyCreateOrConnectWithoutTradesInput";
3069
+ export { StrategyCreateWithoutFundInput } from "./StrategyCreateWithoutFundInput";
3058
3070
  export { StrategyCreateWithoutOwnerInput } from "./StrategyCreateWithoutOwnerInput";
3059
3071
  export { StrategyCreateWithoutSubscriptionsInput } from "./StrategyCreateWithoutSubscriptionsInput";
3060
3072
  export { StrategyCreateWithoutTradesInput } from "./StrategyCreateWithoutTradesInput";
@@ -3136,16 +3148,21 @@ export { StrategySubscriptionWhereInput } from "./StrategySubscriptionWhereInput
3136
3148
  export { StrategySubscriptionWhereUniqueInput } from "./StrategySubscriptionWhereUniqueInput";
3137
3149
  export { StrategyUpdateInput } from "./StrategyUpdateInput";
3138
3150
  export { StrategyUpdateManyMutationInput } from "./StrategyUpdateManyMutationInput";
3151
+ export { StrategyUpdateManyWithWhereWithoutFundInput } from "./StrategyUpdateManyWithWhereWithoutFundInput";
3139
3152
  export { StrategyUpdateManyWithWhereWithoutOwnerInput } from "./StrategyUpdateManyWithWhereWithoutOwnerInput";
3153
+ export { StrategyUpdateManyWithoutFundNestedInput } from "./StrategyUpdateManyWithoutFundNestedInput";
3140
3154
  export { StrategyUpdateManyWithoutOwnerNestedInput } from "./StrategyUpdateManyWithoutOwnerNestedInput";
3141
3155
  export { StrategyUpdateOneRequiredWithoutSubscriptionsNestedInput } from "./StrategyUpdateOneRequiredWithoutSubscriptionsNestedInput";
3142
3156
  export { StrategyUpdateOneWithoutTradesNestedInput } from "./StrategyUpdateOneWithoutTradesNestedInput";
3143
3157
  export { StrategyUpdateToOneWithWhereWithoutSubscriptionsInput } from "./StrategyUpdateToOneWithWhereWithoutSubscriptionsInput";
3144
3158
  export { StrategyUpdateToOneWithWhereWithoutTradesInput } from "./StrategyUpdateToOneWithWhereWithoutTradesInput";
3159
+ export { StrategyUpdateWithWhereUniqueWithoutFundInput } from "./StrategyUpdateWithWhereUniqueWithoutFundInput";
3145
3160
  export { StrategyUpdateWithWhereUniqueWithoutOwnerInput } from "./StrategyUpdateWithWhereUniqueWithoutOwnerInput";
3161
+ export { StrategyUpdateWithoutFundInput } from "./StrategyUpdateWithoutFundInput";
3146
3162
  export { StrategyUpdateWithoutOwnerInput } from "./StrategyUpdateWithoutOwnerInput";
3147
3163
  export { StrategyUpdateWithoutSubscriptionsInput } from "./StrategyUpdateWithoutSubscriptionsInput";
3148
3164
  export { StrategyUpdateWithoutTradesInput } from "./StrategyUpdateWithoutTradesInput";
3165
+ export { StrategyUpsertWithWhereUniqueWithoutFundInput } from "./StrategyUpsertWithWhereUniqueWithoutFundInput";
3149
3166
  export { StrategyUpsertWithWhereUniqueWithoutOwnerInput } from "./StrategyUpsertWithWhereUniqueWithoutOwnerInput";
3150
3167
  export { StrategyUpsertWithoutSubscriptionsInput } from "./StrategyUpsertWithoutSubscriptionsInput";
3151
3168
  export { StrategyUpsertWithoutTradesInput } from "./StrategyUpsertWithoutTradesInput";
@@ -1228,6 +1228,7 @@ export { FundCreateNestedOneWithoutInvestorDocumentsInput } from "./FundCreateN
1228
1228
  export { FundCreateNestedOneWithoutInvestorTransactionsInput } from "./FundCreateNestedOneWithoutInvestorTransactionsInput.mjs";
1229
1229
  export { FundCreateNestedOneWithoutMandatesInput } from "./FundCreateNestedOneWithoutMandatesInput.mjs";
1230
1230
  export { FundCreateNestedOneWithoutNotificationEventsInput } from "./FundCreateNestedOneWithoutNotificationEventsInput.mjs";
1231
+ export { FundCreateNestedOneWithoutStrategiesInput } from "./FundCreateNestedOneWithoutStrategiesInput.mjs";
1231
1232
  export { FundCreateNestedOneWithoutTaxDocumentsInput } from "./FundCreateNestedOneWithoutTaxDocumentsInput.mjs";
1232
1233
  export { FundCreateOrConnectWithoutAdaConversationsInput } from "./FundCreateOrConnectWithoutAdaConversationsInput.mjs";
1233
1234
  export { FundCreateOrConnectWithoutAssignmentsInput } from "./FundCreateOrConnectWithoutAssignmentsInput.mjs";
@@ -1243,6 +1244,7 @@ export { FundCreateOrConnectWithoutMandatesInput } from "./FundCreateOrConnectW
1243
1244
  export { FundCreateOrConnectWithoutNotificationEventsInput } from "./FundCreateOrConnectWithoutNotificationEventsInput.mjs";
1244
1245
  export { FundCreateOrConnectWithoutOperatorInput } from "./FundCreateOrConnectWithoutOperatorInput.mjs";
1245
1246
  export { FundCreateOrConnectWithoutOrganizationInput } from "./FundCreateOrConnectWithoutOrganizationInput.mjs";
1247
+ export { FundCreateOrConnectWithoutStrategiesInput } from "./FundCreateOrConnectWithoutStrategiesInput.mjs";
1246
1248
  export { FundCreateOrConnectWithoutTaxDocumentsInput } from "./FundCreateOrConnectWithoutTaxDocumentsInput.mjs";
1247
1249
  export { FundCreateWithoutAdaConversationsInput } from "./FundCreateWithoutAdaConversationsInput.mjs";
1248
1250
  export { FundCreateWithoutAssignmentsInput } from "./FundCreateWithoutAssignmentsInput.mjs";
@@ -1258,6 +1260,7 @@ export { FundCreateWithoutMandatesInput } from "./FundCreateWithoutMandatesInpu
1258
1260
  export { FundCreateWithoutNotificationEventsInput } from "./FundCreateWithoutNotificationEventsInput.mjs";
1259
1261
  export { FundCreateWithoutOperatorInput } from "./FundCreateWithoutOperatorInput.mjs";
1260
1262
  export { FundCreateWithoutOrganizationInput } from "./FundCreateWithoutOrganizationInput.mjs";
1263
+ export { FundCreateWithoutStrategiesInput } from "./FundCreateWithoutStrategiesInput.mjs";
1261
1264
  export { FundCreateWithoutTaxDocumentsInput } from "./FundCreateWithoutTaxDocumentsInput.mjs";
1262
1265
  export { FundListRelationFilter } from "./FundListRelationFilter.mjs";
1263
1266
  export { FundMaxOrderByAggregateInput } from "./FundMaxOrderByAggregateInput.mjs";
@@ -1290,6 +1293,7 @@ export { FundUpdateOneRequiredWithoutInvestorTransactionsNestedInput } from "./
1290
1293
  export { FundUpdateOneWithoutInvestorDocumentsNestedInput } from "./FundUpdateOneWithoutInvestorDocumentsNestedInput.mjs";
1291
1294
  export { FundUpdateOneWithoutMandatesNestedInput } from "./FundUpdateOneWithoutMandatesNestedInput.mjs";
1292
1295
  export { FundUpdateOneWithoutNotificationEventsNestedInput } from "./FundUpdateOneWithoutNotificationEventsNestedInput.mjs";
1296
+ export { FundUpdateOneWithoutStrategiesNestedInput } from "./FundUpdateOneWithoutStrategiesNestedInput.mjs";
1293
1297
  export { FundUpdateOneWithoutTaxDocumentsNestedInput } from "./FundUpdateOneWithoutTaxDocumentsNestedInput.mjs";
1294
1298
  export { FundUpdateToOneWithWhereWithoutAdaConversationsInput } from "./FundUpdateToOneWithWhereWithoutAdaConversationsInput.mjs";
1295
1299
  export { FundUpdateToOneWithWhereWithoutAssignmentsInput } from "./FundUpdateToOneWithWhereWithoutAssignmentsInput.mjs";
@@ -1302,6 +1306,7 @@ export { FundUpdateToOneWithWhereWithoutInvestorDocumentsInput } from "./FundUp
1302
1306
  export { FundUpdateToOneWithWhereWithoutInvestorTransactionsInput } from "./FundUpdateToOneWithWhereWithoutInvestorTransactionsInput.mjs";
1303
1307
  export { FundUpdateToOneWithWhereWithoutMandatesInput } from "./FundUpdateToOneWithWhereWithoutMandatesInput.mjs";
1304
1308
  export { FundUpdateToOneWithWhereWithoutNotificationEventsInput } from "./FundUpdateToOneWithWhereWithoutNotificationEventsInput.mjs";
1309
+ export { FundUpdateToOneWithWhereWithoutStrategiesInput } from "./FundUpdateToOneWithWhereWithoutStrategiesInput.mjs";
1305
1310
  export { FundUpdateToOneWithWhereWithoutTaxDocumentsInput } from "./FundUpdateToOneWithWhereWithoutTaxDocumentsInput.mjs";
1306
1311
  export { FundUpdateWithWhereUniqueWithoutManagerInput } from "./FundUpdateWithWhereUniqueWithoutManagerInput.mjs";
1307
1312
  export { FundUpdateWithWhereUniqueWithoutOperatorInput } from "./FundUpdateWithWhereUniqueWithoutOperatorInput.mjs";
@@ -1320,6 +1325,7 @@ export { FundUpdateWithoutMandatesInput } from "./FundUpdateWithoutMandatesInpu
1320
1325
  export { FundUpdateWithoutNotificationEventsInput } from "./FundUpdateWithoutNotificationEventsInput.mjs";
1321
1326
  export { FundUpdateWithoutOperatorInput } from "./FundUpdateWithoutOperatorInput.mjs";
1322
1327
  export { FundUpdateWithoutOrganizationInput } from "./FundUpdateWithoutOrganizationInput.mjs";
1328
+ export { FundUpdateWithoutStrategiesInput } from "./FundUpdateWithoutStrategiesInput.mjs";
1323
1329
  export { FundUpdateWithoutTaxDocumentsInput } from "./FundUpdateWithoutTaxDocumentsInput.mjs";
1324
1330
  export { FundUpsertWithWhereUniqueWithoutManagerInput } from "./FundUpsertWithWhereUniqueWithoutManagerInput.mjs";
1325
1331
  export { FundUpsertWithWhereUniqueWithoutOperatorInput } from "./FundUpsertWithWhereUniqueWithoutOperatorInput.mjs";
@@ -1335,6 +1341,7 @@ export { FundUpsertWithoutInvestorDocumentsInput } from "./FundUpsertWithoutInv
1335
1341
  export { FundUpsertWithoutInvestorTransactionsInput } from "./FundUpsertWithoutInvestorTransactionsInput.mjs";
1336
1342
  export { FundUpsertWithoutMandatesInput } from "./FundUpsertWithoutMandatesInput.mjs";
1337
1343
  export { FundUpsertWithoutNotificationEventsInput } from "./FundUpsertWithoutNotificationEventsInput.mjs";
1344
+ export { FundUpsertWithoutStrategiesInput } from "./FundUpsertWithoutStrategiesInput.mjs";
1338
1345
  export { FundUpsertWithoutTaxDocumentsInput } from "./FundUpsertWithoutTaxDocumentsInput.mjs";
1339
1346
  export { FundWhereInput } from "./FundWhereInput.mjs";
1340
1347
  export { FundWhereUniqueInput } from "./FundWhereUniqueInput.mjs";
@@ -3046,15 +3053,20 @@ export { SignalPriorityQueueWhereUniqueInput } from "./SignalPriorityQueueWhere
3046
3053
  export { SortOrderInput } from "./SortOrderInput.mjs";
3047
3054
  export { StrategyCountOrderByAggregateInput } from "./StrategyCountOrderByAggregateInput.mjs";
3048
3055
  export { StrategyCreateInput } from "./StrategyCreateInput.mjs";
3056
+ export { StrategyCreateManyFundInput } from "./StrategyCreateManyFundInput.mjs";
3057
+ export { StrategyCreateManyFundInputEnvelope } from "./StrategyCreateManyFundInputEnvelope.mjs";
3049
3058
  export { StrategyCreateManyInput } from "./StrategyCreateManyInput.mjs";
3050
3059
  export { StrategyCreateManyOwnerInput } from "./StrategyCreateManyOwnerInput.mjs";
3051
3060
  export { StrategyCreateManyOwnerInputEnvelope } from "./StrategyCreateManyOwnerInputEnvelope.mjs";
3061
+ export { StrategyCreateNestedManyWithoutFundInput } from "./StrategyCreateNestedManyWithoutFundInput.mjs";
3052
3062
  export { StrategyCreateNestedManyWithoutOwnerInput } from "./StrategyCreateNestedManyWithoutOwnerInput.mjs";
3053
3063
  export { StrategyCreateNestedOneWithoutSubscriptionsInput } from "./StrategyCreateNestedOneWithoutSubscriptionsInput.mjs";
3054
3064
  export { StrategyCreateNestedOneWithoutTradesInput } from "./StrategyCreateNestedOneWithoutTradesInput.mjs";
3065
+ export { StrategyCreateOrConnectWithoutFundInput } from "./StrategyCreateOrConnectWithoutFundInput.mjs";
3055
3066
  export { StrategyCreateOrConnectWithoutOwnerInput } from "./StrategyCreateOrConnectWithoutOwnerInput.mjs";
3056
3067
  export { StrategyCreateOrConnectWithoutSubscriptionsInput } from "./StrategyCreateOrConnectWithoutSubscriptionsInput.mjs";
3057
3068
  export { StrategyCreateOrConnectWithoutTradesInput } from "./StrategyCreateOrConnectWithoutTradesInput.mjs";
3069
+ export { StrategyCreateWithoutFundInput } from "./StrategyCreateWithoutFundInput.mjs";
3058
3070
  export { StrategyCreateWithoutOwnerInput } from "./StrategyCreateWithoutOwnerInput.mjs";
3059
3071
  export { StrategyCreateWithoutSubscriptionsInput } from "./StrategyCreateWithoutSubscriptionsInput.mjs";
3060
3072
  export { StrategyCreateWithoutTradesInput } from "./StrategyCreateWithoutTradesInput.mjs";
@@ -3136,16 +3148,21 @@ export { StrategySubscriptionWhereInput } from "./StrategySubscriptionWhereInpu
3136
3148
  export { StrategySubscriptionWhereUniqueInput } from "./StrategySubscriptionWhereUniqueInput.mjs";
3137
3149
  export { StrategyUpdateInput } from "./StrategyUpdateInput.mjs";
3138
3150
  export { StrategyUpdateManyMutationInput } from "./StrategyUpdateManyMutationInput.mjs";
3151
+ export { StrategyUpdateManyWithWhereWithoutFundInput } from "./StrategyUpdateManyWithWhereWithoutFundInput.mjs";
3139
3152
  export { StrategyUpdateManyWithWhereWithoutOwnerInput } from "./StrategyUpdateManyWithWhereWithoutOwnerInput.mjs";
3153
+ export { StrategyUpdateManyWithoutFundNestedInput } from "./StrategyUpdateManyWithoutFundNestedInput.mjs";
3140
3154
  export { StrategyUpdateManyWithoutOwnerNestedInput } from "./StrategyUpdateManyWithoutOwnerNestedInput.mjs";
3141
3155
  export { StrategyUpdateOneRequiredWithoutSubscriptionsNestedInput } from "./StrategyUpdateOneRequiredWithoutSubscriptionsNestedInput.mjs";
3142
3156
  export { StrategyUpdateOneWithoutTradesNestedInput } from "./StrategyUpdateOneWithoutTradesNestedInput.mjs";
3143
3157
  export { StrategyUpdateToOneWithWhereWithoutSubscriptionsInput } from "./StrategyUpdateToOneWithWhereWithoutSubscriptionsInput.mjs";
3144
3158
  export { StrategyUpdateToOneWithWhereWithoutTradesInput } from "./StrategyUpdateToOneWithWhereWithoutTradesInput.mjs";
3159
+ export { StrategyUpdateWithWhereUniqueWithoutFundInput } from "./StrategyUpdateWithWhereUniqueWithoutFundInput.mjs";
3145
3160
  export { StrategyUpdateWithWhereUniqueWithoutOwnerInput } from "./StrategyUpdateWithWhereUniqueWithoutOwnerInput.mjs";
3161
+ export { StrategyUpdateWithoutFundInput } from "./StrategyUpdateWithoutFundInput.mjs";
3146
3162
  export { StrategyUpdateWithoutOwnerInput } from "./StrategyUpdateWithoutOwnerInput.mjs";
3147
3163
  export { StrategyUpdateWithoutSubscriptionsInput } from "./StrategyUpdateWithoutSubscriptionsInput.mjs";
3148
3164
  export { StrategyUpdateWithoutTradesInput } from "./StrategyUpdateWithoutTradesInput.mjs";
3165
+ export { StrategyUpsertWithWhereUniqueWithoutFundInput } from "./StrategyUpsertWithWhereUniqueWithoutFundInput.mjs";
3149
3166
  export { StrategyUpsertWithWhereUniqueWithoutOwnerInput } from "./StrategyUpsertWithWhereUniqueWithoutOwnerInput.mjs";
3150
3167
  export { StrategyUpsertWithoutSubscriptionsInput } from "./StrategyUpsertWithoutSubscriptionsInput.mjs";
3151
3168
  export { StrategyUpsertWithoutTradesInput } from "./StrategyUpsertWithoutTradesInput.mjs";
@@ -1,5 +1,7 @@
1
1
  import { Prisma } from "@prisma/client";
2
+ import { CreateManyAndReturnStrategyFundArgs } from "./args/CreateManyAndReturnStrategyFundArgs";
2
3
  import { CreateManyAndReturnStrategyOwnerArgs } from "./args/CreateManyAndReturnStrategyOwnerArgs";
4
+ import { Fund } from "../../models/Fund";
3
5
  import { User } from "../../models/User";
4
6
  export declare class CreateManyAndReturnStrategy {
5
7
  id: string;
@@ -7,17 +9,21 @@ export declare class CreateManyAndReturnStrategy {
7
9
  displayName: string;
8
10
  description: string | null;
9
11
  origin: "SYSTEM" | "USER" | "AI_GENERATED";
10
- lifecycleState: "DRAFT" | "SHADOW" | "ACTIVE" | "PAUSED" | "RETIRED";
12
+ lifecycleState: "DRAFT" | "PENDING_APPROVAL" | "SHADOW" | "ACTIVE" | "PAUSED" | "RETIRED";
11
13
  manifestHash: string | null;
12
14
  kind: "thematic" | "signal" | null;
13
15
  spec: Prisma.JsonValue | null;
14
16
  backtestJobId: string | null;
17
+ backtestSpecHash: string | null;
15
18
  desk: "EVENT" | "THEMATIC" | "SYSTEMATIC" | null;
16
19
  ownerUserId: string | null;
20
+ fundId: string | null;
17
21
  createdAt: Date;
18
22
  updatedAt: Date;
19
23
  deletedAt: Date | null;
20
24
  owner: User | null;
25
+ fund: Fund | null;
21
26
  getOwner(root: CreateManyAndReturnStrategy, args: CreateManyAndReturnStrategyOwnerArgs): User | null;
27
+ getFund(root: CreateManyAndReturnStrategy, args: CreateManyAndReturnStrategyFundArgs): Fund | null;
22
28
  }
23
29
  //# sourceMappingURL=CreateManyAndReturnStrategy.d.ts.map
@@ -12,7 +12,9 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
12
  };
13
13
  import * as TypeGraphQL from "type-graphql";
14
14
  import * as GraphQLScalars from "graphql-scalars";
15
+ import { CreateManyAndReturnStrategyFundArgs } from "./args/CreateManyAndReturnStrategyFundArgs.mjs";
15
16
  import { CreateManyAndReturnStrategyOwnerArgs } from "./args/CreateManyAndReturnStrategyOwnerArgs.mjs";
17
+ import { Fund } from "../../models/Fund.mjs";
16
18
  import { User } from "../../models/User.mjs";
17
19
  import { DeskType } from "../../enums/DeskType.mjs";
18
20
  import { StrategyKind } from "../../enums/StrategyKind.mjs";
@@ -29,15 +31,21 @@ let CreateManyAndReturnStrategy = class CreateManyAndReturnStrategy {
29
31
  kind;
30
32
  spec;
31
33
  backtestJobId;
34
+ backtestSpecHash;
32
35
  desk;
33
36
  ownerUserId;
37
+ fundId;
34
38
  createdAt;
35
39
  updatedAt;
36
40
  deletedAt;
37
41
  owner;
42
+ fund;
38
43
  getOwner(root, args) {
39
44
  return root.owner;
40
45
  }
46
+ getFund(root, args) {
47
+ return root.fund;
48
+ }
41
49
  };
42
50
  __decorate([
43
51
  TypeGraphQL.Field(_type => String, {
@@ -99,6 +107,12 @@ __decorate([
99
107
  }),
100
108
  __metadata("design:type", Object)
101
109
  ], CreateManyAndReturnStrategy.prototype, "backtestJobId", void 0);
110
+ __decorate([
111
+ TypeGraphQL.Field(_type => String, {
112
+ nullable: true
113
+ }),
114
+ __metadata("design:type", Object)
115
+ ], CreateManyAndReturnStrategy.prototype, "backtestSpecHash", void 0);
102
116
  __decorate([
103
117
  TypeGraphQL.Field(_type => DeskType, {
104
118
  nullable: true
@@ -111,6 +125,12 @@ __decorate([
111
125
  }),
112
126
  __metadata("design:type", Object)
113
127
  ], CreateManyAndReturnStrategy.prototype, "ownerUserId", void 0);
128
+ __decorate([
129
+ TypeGraphQL.Field(_type => String, {
130
+ nullable: true
131
+ }),
132
+ __metadata("design:type", Object)
133
+ ], CreateManyAndReturnStrategy.prototype, "fundId", void 0);
114
134
  __decorate([
115
135
  TypeGraphQL.Field(_type => Date, {
116
136
  nullable: false
@@ -140,6 +160,17 @@ __decorate([
140
160
  __metadata("design:paramtypes", [CreateManyAndReturnStrategy, CreateManyAndReturnStrategyOwnerArgs]),
141
161
  __metadata("design:returntype", Object)
142
162
  ], CreateManyAndReturnStrategy.prototype, "getOwner", null);
163
+ __decorate([
164
+ TypeGraphQL.Field(_type => Fund, {
165
+ name: "fund",
166
+ nullable: true
167
+ }),
168
+ __param(0, TypeGraphQL.Root()),
169
+ __param(1, TypeGraphQL.Args()),
170
+ __metadata("design:type", Function),
171
+ __metadata("design:paramtypes", [CreateManyAndReturnStrategy, CreateManyAndReturnStrategyFundArgs]),
172
+ __metadata("design:returntype", Object)
173
+ ], CreateManyAndReturnStrategy.prototype, "getFund", null);
143
174
  CreateManyAndReturnStrategy = __decorate([
144
175
  TypeGraphQL.ObjectType("CreateManyAndReturnStrategy", {})
145
176
  ], CreateManyAndReturnStrategy);
@@ -9,6 +9,7 @@ import { FundCountInvestorDocumentsArgs } from "./args/FundCountInvestorDocument
9
9
  import { FundCountInvestorTransactionsArgs } from "./args/FundCountInvestorTransactionsArgs";
10
10
  import { FundCountMandatesArgs } from "./args/FundCountMandatesArgs";
11
11
  import { FundCountNotificationEventsArgs } from "./args/FundCountNotificationEventsArgs";
12
+ import { FundCountStrategiesArgs } from "./args/FundCountStrategiesArgs";
12
13
  import { FundCountTaxDocumentsArgs } from "./args/FundCountTaxDocumentsArgs";
13
14
  export declare class FundCount {
14
15
  brokerageAccounts: number;
@@ -23,6 +24,7 @@ export declare class FundCount {
23
24
  autoFollowRules: number;
24
25
  adaConversations: number;
25
26
  deskDecisions: number;
27
+ strategies: number;
26
28
  getBrokerageAccounts(root: FundCount, args: FundCountBrokerageAccountsArgs): number;
27
29
  getAssignments(root: FundCount, args: FundCountAssignmentsArgs): number;
28
30
  getHoldings(root: FundCount, args: FundCountHoldingsArgs): number;
@@ -35,5 +37,6 @@ export declare class FundCount {
35
37
  getAutoFollowRules(root: FundCount, args: FundCountAutoFollowRulesArgs): number;
36
38
  getAdaConversations(root: FundCount, args: FundCountAdaConversationsArgs): number;
37
39
  getDeskDecisions(root: FundCount, args: FundCountDeskDecisionsArgs): number;
40
+ getStrategies(root: FundCount, args: FundCountStrategiesArgs): number;
38
41
  }
39
42
  //# sourceMappingURL=FundCount.d.ts.map
@@ -22,6 +22,7 @@ import { FundCountInvestorDocumentsArgs } from "./args/FundCountInvestorDocument
22
22
  import { FundCountInvestorTransactionsArgs } from "./args/FundCountInvestorTransactionsArgs.mjs";
23
23
  import { FundCountMandatesArgs } from "./args/FundCountMandatesArgs.mjs";
24
24
  import { FundCountNotificationEventsArgs } from "./args/FundCountNotificationEventsArgs.mjs";
25
+ import { FundCountStrategiesArgs } from "./args/FundCountStrategiesArgs.mjs";
25
26
  import { FundCountTaxDocumentsArgs } from "./args/FundCountTaxDocumentsArgs.mjs";
26
27
  let FundCount = class FundCount {
27
28
  brokerageAccounts;
@@ -36,6 +37,7 @@ let FundCount = class FundCount {
36
37
  autoFollowRules;
37
38
  adaConversations;
38
39
  deskDecisions;
40
+ strategies;
39
41
  getBrokerageAccounts(root, args) {
40
42
  return root.brokerageAccounts;
41
43
  }
@@ -72,6 +74,9 @@ let FundCount = class FundCount {
72
74
  getDeskDecisions(root, args) {
73
75
  return root.deskDecisions;
74
76
  }
77
+ getStrategies(root, args) {
78
+ return root.strategies;
79
+ }
75
80
  };
76
81
  __decorate([
77
82
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
@@ -205,6 +210,17 @@ __decorate([
205
210
  __metadata("design:paramtypes", [FundCount, FundCountDeskDecisionsArgs]),
206
211
  __metadata("design:returntype", Number)
207
212
  ], FundCount.prototype, "getDeskDecisions", null);
213
+ __decorate([
214
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
215
+ name: "strategies",
216
+ nullable: false
217
+ }),
218
+ __param(0, TypeGraphQL.Root()),
219
+ __param(1, TypeGraphQL.Args()),
220
+ __metadata("design:type", Function),
221
+ __metadata("design:paramtypes", [FundCount, FundCountStrategiesArgs]),
222
+ __metadata("design:returntype", Number)
223
+ ], FundCount.prototype, "getStrategies", null);
208
224
  FundCount = __decorate([
209
225
  TypeGraphQL.ObjectType("FundCount", {})
210
226
  ], FundCount);
@@ -9,8 +9,10 @@ export declare class StrategyCountAggregate {
9
9
  kind: number;
10
10
  spec: number;
11
11
  backtestJobId: number;
12
+ backtestSpecHash: number;
12
13
  desk: number;
13
14
  ownerUserId: number;
15
+ fundId: number;
14
16
  createdAt: number;
15
17
  updatedAt: number;
16
18
  deletedAt: number;
@@ -19,8 +19,10 @@ let StrategyCountAggregate = class StrategyCountAggregate {
19
19
  kind;
20
20
  spec;
21
21
  backtestJobId;
22
+ backtestSpecHash;
22
23
  desk;
23
24
  ownerUserId;
25
+ fundId;
24
26
  createdAt;
25
27
  updatedAt;
26
28
  deletedAt;
@@ -86,6 +88,12 @@ __decorate([
86
88
  }),
87
89
  __metadata("design:type", Number)
88
90
  ], StrategyCountAggregate.prototype, "backtestJobId", void 0);
91
+ __decorate([
92
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
93
+ nullable: false
94
+ }),
95
+ __metadata("design:type", Number)
96
+ ], StrategyCountAggregate.prototype, "backtestSpecHash", void 0);
89
97
  __decorate([
90
98
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
91
99
  nullable: false
@@ -98,6 +106,12 @@ __decorate([
98
106
  }),
99
107
  __metadata("design:type", Number)
100
108
  ], StrategyCountAggregate.prototype, "ownerUserId", void 0);
109
+ __decorate([
110
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
111
+ nullable: false
112
+ }),
113
+ __metadata("design:type", Number)
114
+ ], StrategyCountAggregate.prototype, "fundId", void 0);
101
115
  __decorate([
102
116
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
103
117
  nullable: false