adaptic-backend 1.0.265 → 1.0.267

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 (373) hide show
  1. package/Account.cjs +81 -27
  2. package/Action.cjs +293 -81
  3. package/Alert.cjs +92 -51
  4. package/AlpacaAccount.cjs +235 -99
  5. package/Asset.cjs +246 -111
  6. package/Authenticator.cjs +81 -27
  7. package/Contract.cjs +237 -90
  8. package/Customer.cjs +81 -27
  9. package/Deliverable.cjs +89 -36
  10. package/NewsArticle.cjs +71 -18
  11. package/NewsArticleAssetSentiment.cjs +89 -48
  12. package/Order.cjs +243 -108
  13. package/Position.cjs +121 -93
  14. package/Session.cjs +80 -27
  15. package/StopLoss.cjs +157 -51
  16. package/TakeProfit.cjs +157 -51
  17. package/Trade.cjs +190 -108
  18. package/User.cjs +93 -51
  19. package/generated/typeStrings/Position.cjs +2 -0
  20. package/generated/typeStrings/Position.d.ts +1 -1
  21. package/generated/typeStrings/Position.d.ts.map +1 -1
  22. package/generated/typeStrings/Position.js.map +1 -1
  23. package/generated/typeStrings/index.d.ts +1 -1
  24. package/generated/typegraphql-prisma/enhance.cjs +26 -25
  25. package/generated/typegraphql-prisma/enhance.d.ts.map +1 -1
  26. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  27. package/generated/typegraphql-prisma/enums/PositionScalarFieldEnum.cjs +1 -0
  28. package/generated/typegraphql-prisma/enums/PositionScalarFieldEnum.d.ts +1 -0
  29. package/generated/typegraphql-prisma/enums/PositionScalarFieldEnum.d.ts.map +1 -1
  30. package/generated/typegraphql-prisma/enums/PositionScalarFieldEnum.js.map +1 -1
  31. package/generated/typegraphql-prisma/models/Position.cjs +7 -0
  32. package/generated/typegraphql-prisma/models/Position.d.ts +4 -0
  33. package/generated/typegraphql-prisma/models/Position.d.ts.map +1 -1
  34. package/generated/typegraphql-prisma/models/Position.js.map +1 -1
  35. package/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionArgs.d.ts +1 -1
  36. package/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionArgs.d.ts.map +1 -1
  37. package/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionArgs.js.map +1 -1
  38. package/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionOrThrowArgs.d.ts +1 -1
  39. package/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionOrThrowArgs.d.ts.map +1 -1
  40. package/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionOrThrowArgs.js.map +1 -1
  41. package/generated/typegraphql-prisma/resolvers/crud/Position/args/FindManyPositionArgs.d.ts +1 -1
  42. package/generated/typegraphql-prisma/resolvers/crud/Position/args/FindManyPositionArgs.d.ts.map +1 -1
  43. package/generated/typegraphql-prisma/resolvers/crud/Position/args/FindManyPositionArgs.js.map +1 -1
  44. package/generated/typegraphql-prisma/resolvers/crud/Position/args/GroupByPositionArgs.d.ts +1 -1
  45. package/generated/typegraphql-prisma/resolvers/crud/Position/args/GroupByPositionArgs.d.ts.map +1 -1
  46. package/generated/typegraphql-prisma/resolvers/crud/Position/args/GroupByPositionArgs.js.map +1 -1
  47. package/generated/typegraphql-prisma/resolvers/inputs/PositionCountOrderByAggregateInput.cjs +6 -0
  48. package/generated/typegraphql-prisma/resolvers/inputs/PositionCountOrderByAggregateInput.d.ts +1 -0
  49. package/generated/typegraphql-prisma/resolvers/inputs/PositionCountOrderByAggregateInput.d.ts.map +1 -1
  50. package/generated/typegraphql-prisma/resolvers/inputs/PositionCountOrderByAggregateInput.js.map +1 -1
  51. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateInput.cjs +6 -0
  52. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateInput.d.ts +1 -0
  53. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateInput.d.ts.map +1 -1
  54. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateInput.js.map +1 -1
  55. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAlpacaAccountInput.cjs +6 -0
  56. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAlpacaAccountInput.d.ts +1 -0
  57. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAlpacaAccountInput.d.ts.map +1 -1
  58. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAlpacaAccountInput.js.map +1 -1
  59. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAssetInput.cjs +6 -0
  60. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAssetInput.d.ts +1 -0
  61. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAssetInput.d.ts.map +1 -1
  62. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAssetInput.js.map +1 -1
  63. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyInput.cjs +6 -0
  64. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyInput.d.ts +1 -0
  65. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyInput.d.ts.map +1 -1
  66. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyInput.js.map +1 -1
  67. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAlpacaAccountInput.cjs +6 -0
  68. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAlpacaAccountInput.d.ts +1 -0
  69. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  70. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAlpacaAccountInput.js.map +1 -1
  71. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAssetInput.cjs +6 -0
  72. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAssetInput.d.ts +1 -0
  73. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAssetInput.d.ts.map +1 -1
  74. package/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAssetInput.js.map +1 -1
  75. package/generated/typegraphql-prisma/resolvers/inputs/PositionMaxOrderByAggregateInput.cjs +6 -0
  76. package/generated/typegraphql-prisma/resolvers/inputs/PositionMaxOrderByAggregateInput.d.ts +1 -0
  77. package/generated/typegraphql-prisma/resolvers/inputs/PositionMaxOrderByAggregateInput.d.ts.map +1 -1
  78. package/generated/typegraphql-prisma/resolvers/inputs/PositionMaxOrderByAggregateInput.js.map +1 -1
  79. package/generated/typegraphql-prisma/resolvers/inputs/PositionMinOrderByAggregateInput.cjs +6 -0
  80. package/generated/typegraphql-prisma/resolvers/inputs/PositionMinOrderByAggregateInput.d.ts +1 -0
  81. package/generated/typegraphql-prisma/resolvers/inputs/PositionMinOrderByAggregateInput.d.ts.map +1 -1
  82. package/generated/typegraphql-prisma/resolvers/inputs/PositionMinOrderByAggregateInput.js.map +1 -1
  83. package/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithAggregationInput.cjs +6 -0
  84. package/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithAggregationInput.d.ts +1 -0
  85. package/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithAggregationInput.d.ts.map +1 -1
  86. package/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithAggregationInput.js.map +1 -1
  87. package/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithRelationInput.cjs +6 -0
  88. package/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithRelationInput.d.ts +1 -0
  89. package/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithRelationInput.d.ts.map +1 -1
  90. package/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithRelationInput.js.map +1 -1
  91. package/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereInput.cjs +7 -0
  92. package/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereInput.d.ts +2 -0
  93. package/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereInput.d.ts.map +1 -1
  94. package/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereInput.js.map +1 -1
  95. package/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereWithAggregatesInput.cjs +7 -0
  96. package/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereWithAggregatesInput.d.ts +2 -0
  97. package/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereWithAggregatesInput.d.ts.map +1 -1
  98. package/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereWithAggregatesInput.js.map +1 -1
  99. package/generated/typegraphql-prisma/resolvers/inputs/PositionSymbolAlpacaAccountIdCompoundUniqueInput.cjs +65 -0
  100. package/generated/typegraphql-prisma/resolvers/inputs/PositionSymbolAlpacaAccountIdCompoundUniqueInput.d.ts +5 -0
  101. package/generated/typegraphql-prisma/resolvers/inputs/PositionSymbolAlpacaAccountIdCompoundUniqueInput.d.ts.map +1 -0
  102. package/generated/typegraphql-prisma/resolvers/inputs/PositionSymbolAlpacaAccountIdCompoundUniqueInput.js.map +1 -0
  103. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateInput.cjs +7 -0
  104. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateInput.d.ts +2 -0
  105. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateInput.d.ts.map +1 -1
  106. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateInput.js.map +1 -1
  107. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateManyMutationInput.cjs +7 -0
  108. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateManyMutationInput.d.ts +2 -0
  109. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateManyMutationInput.d.ts.map +1 -1
  110. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateManyMutationInput.js.map +1 -1
  111. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAlpacaAccountInput.cjs +7 -0
  112. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAlpacaAccountInput.d.ts +2 -0
  113. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  114. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAlpacaAccountInput.js.map +1 -1
  115. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAssetInput.cjs +7 -0
  116. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAssetInput.d.ts +2 -0
  117. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAssetInput.d.ts.map +1 -1
  118. package/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAssetInput.js.map +1 -1
  119. package/generated/typegraphql-prisma/resolvers/inputs/PositionWhereInput.cjs +7 -0
  120. package/generated/typegraphql-prisma/resolvers/inputs/PositionWhereInput.d.ts +2 -0
  121. package/generated/typegraphql-prisma/resolvers/inputs/PositionWhereInput.d.ts.map +1 -1
  122. package/generated/typegraphql-prisma/resolvers/inputs/PositionWhereInput.js.map +1 -1
  123. package/generated/typegraphql-prisma/resolvers/inputs/PositionWhereUniqueInput.cjs +14 -0
  124. package/generated/typegraphql-prisma/resolvers/inputs/PositionWhereUniqueInput.d.ts +4 -0
  125. package/generated/typegraphql-prisma/resolvers/inputs/PositionWhereUniqueInput.d.ts.map +1 -1
  126. package/generated/typegraphql-prisma/resolvers/inputs/PositionWhereUniqueInput.js.map +1 -1
  127. package/generated/typegraphql-prisma/resolvers/inputs/index.cjs +7 -5
  128. package/generated/typegraphql-prisma/resolvers/inputs/index.d.ts +1 -0
  129. package/generated/typegraphql-prisma/resolvers/inputs/index.d.ts.map +1 -1
  130. package/generated/typegraphql-prisma/resolvers/inputs/index.js.map +1 -1
  131. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnPosition.cjs +6 -0
  132. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnPosition.d.ts +1 -0
  133. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnPosition.d.ts.map +1 -1
  134. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnPosition.js.map +1 -1
  135. package/generated/typegraphql-prisma/resolvers/outputs/PositionCountAggregate.cjs +6 -0
  136. package/generated/typegraphql-prisma/resolvers/outputs/PositionCountAggregate.d.ts +1 -0
  137. package/generated/typegraphql-prisma/resolvers/outputs/PositionCountAggregate.d.ts.map +1 -1
  138. package/generated/typegraphql-prisma/resolvers/outputs/PositionCountAggregate.js.map +1 -1
  139. package/generated/typegraphql-prisma/resolvers/outputs/PositionGroupBy.cjs +6 -0
  140. package/generated/typegraphql-prisma/resolvers/outputs/PositionGroupBy.d.ts +1 -0
  141. package/generated/typegraphql-prisma/resolvers/outputs/PositionGroupBy.d.ts.map +1 -1
  142. package/generated/typegraphql-prisma/resolvers/outputs/PositionGroupBy.js.map +1 -1
  143. package/generated/typegraphql-prisma/resolvers/outputs/PositionMaxAggregate.cjs +6 -0
  144. package/generated/typegraphql-prisma/resolvers/outputs/PositionMaxAggregate.d.ts +1 -0
  145. package/generated/typegraphql-prisma/resolvers/outputs/PositionMaxAggregate.d.ts.map +1 -1
  146. package/generated/typegraphql-prisma/resolvers/outputs/PositionMaxAggregate.js.map +1 -1
  147. package/generated/typegraphql-prisma/resolvers/outputs/PositionMinAggregate.cjs +6 -0
  148. package/generated/typegraphql-prisma/resolvers/outputs/PositionMinAggregate.d.ts +1 -0
  149. package/generated/typegraphql-prisma/resolvers/outputs/PositionMinAggregate.d.ts.map +1 -1
  150. package/generated/typegraphql-prisma/resolvers/outputs/PositionMinAggregate.js.map +1 -1
  151. package/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountPositionsArgs.d.ts +1 -1
  152. package/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountPositionsArgs.d.ts.map +1 -1
  153. package/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountPositionsArgs.js.map +1 -1
  154. package/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetPositionsArgs.d.ts +1 -1
  155. package/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetPositionsArgs.d.ts.map +1 -1
  156. package/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetPositionsArgs.js.map +1 -1
  157. package/package.json +1 -1
  158. package/server/Account.d.ts.map +1 -1
  159. package/server/Account.js.map +1 -1
  160. package/server/Account.mjs +81 -27
  161. package/server/Action.d.ts.map +1 -1
  162. package/server/Action.js.map +1 -1
  163. package/server/Action.mjs +293 -81
  164. package/server/Alert.d.ts.map +1 -1
  165. package/server/Alert.js.map +1 -1
  166. package/server/Alert.mjs +92 -51
  167. package/server/AlpacaAccount.d.ts.map +1 -1
  168. package/server/AlpacaAccount.js.map +1 -1
  169. package/server/AlpacaAccount.mjs +235 -99
  170. package/server/Asset.d.ts.map +1 -1
  171. package/server/Asset.js.map +1 -1
  172. package/server/Asset.mjs +246 -111
  173. package/server/Authenticator.d.ts.map +1 -1
  174. package/server/Authenticator.js.map +1 -1
  175. package/server/Authenticator.mjs +81 -27
  176. package/server/Contract.d.ts.map +1 -1
  177. package/server/Contract.js.map +1 -1
  178. package/server/Contract.mjs +237 -90
  179. package/server/Customer.d.ts.map +1 -1
  180. package/server/Customer.js.map +1 -1
  181. package/server/Customer.mjs +81 -27
  182. package/server/Deliverable.d.ts.map +1 -1
  183. package/server/Deliverable.js.map +1 -1
  184. package/server/Deliverable.mjs +89 -36
  185. package/server/NewsArticle.d.ts.map +1 -1
  186. package/server/NewsArticle.js.map +1 -1
  187. package/server/NewsArticle.mjs +71 -18
  188. package/server/NewsArticleAssetSentiment.d.ts.map +1 -1
  189. package/server/NewsArticleAssetSentiment.js.map +1 -1
  190. package/server/NewsArticleAssetSentiment.mjs +89 -48
  191. package/server/Order.d.ts.map +1 -1
  192. package/server/Order.js.map +1 -1
  193. package/server/Order.mjs +243 -108
  194. package/server/Position.d.ts.map +1 -1
  195. package/server/Position.js.map +1 -1
  196. package/server/Position.mjs +121 -93
  197. package/server/Session.d.ts.map +1 -1
  198. package/server/Session.js.map +1 -1
  199. package/server/Session.mjs +80 -27
  200. package/server/StopLoss.d.ts.map +1 -1
  201. package/server/StopLoss.js.map +1 -1
  202. package/server/StopLoss.mjs +157 -51
  203. package/server/TakeProfit.d.ts.map +1 -1
  204. package/server/TakeProfit.js.map +1 -1
  205. package/server/TakeProfit.mjs +157 -51
  206. package/server/Trade.d.ts.map +1 -1
  207. package/server/Trade.js.map +1 -1
  208. package/server/Trade.mjs +190 -108
  209. package/server/User.d.ts.map +1 -1
  210. package/server/User.js.map +1 -1
  211. package/server/User.mjs +93 -51
  212. package/server/generated/selectionSets/Account.d.ts +1 -1
  213. package/server/generated/selectionSets/Account.d.ts.map +1 -1
  214. package/server/generated/selectionSets/Account.js.map +1 -1
  215. package/server/generated/selectionSets/Account.mjs +1 -0
  216. package/server/generated/selectionSets/AlpacaAccount.d.ts +1 -1
  217. package/server/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
  218. package/server/generated/selectionSets/AlpacaAccount.js.map +1 -1
  219. package/server/generated/selectionSets/AlpacaAccount.mjs +1 -0
  220. package/server/generated/selectionSets/Authenticator.d.ts +1 -1
  221. package/server/generated/selectionSets/Authenticator.d.ts.map +1 -1
  222. package/server/generated/selectionSets/Authenticator.js.map +1 -1
  223. package/server/generated/selectionSets/Authenticator.mjs +1 -0
  224. package/server/generated/selectionSets/Customer.d.ts +1 -1
  225. package/server/generated/selectionSets/Customer.d.ts.map +1 -1
  226. package/server/generated/selectionSets/Customer.js.map +1 -1
  227. package/server/generated/selectionSets/Customer.mjs +1 -0
  228. package/server/generated/selectionSets/Position.d.ts +1 -1
  229. package/server/generated/selectionSets/Position.d.ts.map +1 -1
  230. package/server/generated/selectionSets/Position.js.map +1 -1
  231. package/server/generated/selectionSets/Position.mjs +1 -0
  232. package/server/generated/selectionSets/User.d.ts +1 -1
  233. package/server/generated/selectionSets/User.d.ts.map +1 -1
  234. package/server/generated/selectionSets/User.js.map +1 -1
  235. package/server/generated/selectionSets/User.mjs +1 -0
  236. package/server/generated/typeStrings/Position.d.ts +1 -1
  237. package/server/generated/typeStrings/Position.d.ts.map +1 -1
  238. package/server/generated/typeStrings/Position.js.map +1 -1
  239. package/server/generated/typeStrings/Position.mjs +2 -0
  240. package/server/generated/typeStrings/index.d.ts +1 -1
  241. package/server/generated/typegraphql-prisma/enhance.d.ts.map +1 -1
  242. package/server/generated/typegraphql-prisma/enhance.js.map +1 -1
  243. package/server/generated/typegraphql-prisma/enhance.mjs +26 -25
  244. package/server/generated/typegraphql-prisma/enums/PositionScalarFieldEnum.d.ts +1 -0
  245. package/server/generated/typegraphql-prisma/enums/PositionScalarFieldEnum.d.ts.map +1 -1
  246. package/server/generated/typegraphql-prisma/enums/PositionScalarFieldEnum.js.map +1 -1
  247. package/server/generated/typegraphql-prisma/enums/PositionScalarFieldEnum.mjs +1 -0
  248. package/server/generated/typegraphql-prisma/models/Position.d.ts +4 -0
  249. package/server/generated/typegraphql-prisma/models/Position.d.ts.map +1 -1
  250. package/server/generated/typegraphql-prisma/models/Position.js.map +1 -1
  251. package/server/generated/typegraphql-prisma/models/Position.mjs +11 -0
  252. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionArgs.d.ts +1 -1
  253. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionArgs.d.ts.map +1 -1
  254. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionArgs.js.map +1 -1
  255. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionOrThrowArgs.d.ts +1 -1
  256. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionOrThrowArgs.d.ts.map +1 -1
  257. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/FindFirstPositionOrThrowArgs.js.map +1 -1
  258. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/FindManyPositionArgs.d.ts +1 -1
  259. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/FindManyPositionArgs.d.ts.map +1 -1
  260. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/FindManyPositionArgs.js.map +1 -1
  261. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/GroupByPositionArgs.d.ts +1 -1
  262. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/GroupByPositionArgs.d.ts.map +1 -1
  263. package/server/generated/typegraphql-prisma/resolvers/crud/Position/args/GroupByPositionArgs.js.map +1 -1
  264. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCountOrderByAggregateInput.d.ts +1 -0
  265. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCountOrderByAggregateInput.d.ts.map +1 -1
  266. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCountOrderByAggregateInput.js.map +1 -1
  267. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCountOrderByAggregateInput.mjs +7 -0
  268. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateInput.d.ts +1 -0
  269. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateInput.d.ts.map +1 -1
  270. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateInput.js.map +1 -1
  271. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateInput.mjs +7 -0
  272. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAlpacaAccountInput.d.ts +1 -0
  273. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAlpacaAccountInput.d.ts.map +1 -1
  274. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAlpacaAccountInput.js.map +1 -1
  275. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAlpacaAccountInput.mjs +7 -0
  276. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAssetInput.d.ts +1 -0
  277. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAssetInput.d.ts.map +1 -1
  278. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAssetInput.js.map +1 -1
  279. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyAssetInput.mjs +7 -0
  280. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyInput.d.ts +1 -0
  281. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyInput.d.ts.map +1 -1
  282. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyInput.js.map +1 -1
  283. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateManyInput.mjs +7 -0
  284. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAlpacaAccountInput.d.ts +1 -0
  285. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  286. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAlpacaAccountInput.js.map +1 -1
  287. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAlpacaAccountInput.mjs +7 -0
  288. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAssetInput.d.ts +1 -0
  289. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAssetInput.d.ts.map +1 -1
  290. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAssetInput.js.map +1 -1
  291. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionCreateWithoutAssetInput.mjs +7 -0
  292. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionMaxOrderByAggregateInput.d.ts +1 -0
  293. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionMaxOrderByAggregateInput.d.ts.map +1 -1
  294. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionMaxOrderByAggregateInput.js.map +1 -1
  295. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionMaxOrderByAggregateInput.mjs +7 -0
  296. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionMinOrderByAggregateInput.d.ts +1 -0
  297. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionMinOrderByAggregateInput.d.ts.map +1 -1
  298. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionMinOrderByAggregateInput.js.map +1 -1
  299. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionMinOrderByAggregateInput.mjs +7 -0
  300. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithAggregationInput.d.ts +1 -0
  301. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithAggregationInput.d.ts.map +1 -1
  302. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithAggregationInput.js.map +1 -1
  303. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithAggregationInput.mjs +7 -0
  304. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithRelationInput.d.ts +1 -0
  305. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithRelationInput.d.ts.map +1 -1
  306. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithRelationInput.js.map +1 -1
  307. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionOrderByWithRelationInput.mjs +7 -0
  308. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereInput.d.ts +2 -0
  309. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereInput.d.ts.map +1 -1
  310. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereInput.js.map +1 -1
  311. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereInput.mjs +8 -0
  312. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereWithAggregatesInput.d.ts +2 -0
  313. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereWithAggregatesInput.d.ts.map +1 -1
  314. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereWithAggregatesInput.js.map +1 -1
  315. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionScalarWhereWithAggregatesInput.mjs +8 -0
  316. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionSymbolAlpacaAccountIdCompoundUniqueInput.d.ts +5 -0
  317. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionSymbolAlpacaAccountIdCompoundUniqueInput.d.ts.map +1 -0
  318. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionSymbolAlpacaAccountIdCompoundUniqueInput.js.map +1 -0
  319. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionSymbolAlpacaAccountIdCompoundUniqueInput.mjs +31 -0
  320. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateInput.d.ts +2 -0
  321. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateInput.d.ts.map +1 -1
  322. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateInput.js.map +1 -1
  323. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateInput.mjs +8 -0
  324. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateManyMutationInput.d.ts +2 -0
  325. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateManyMutationInput.d.ts.map +1 -1
  326. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateManyMutationInput.js.map +1 -1
  327. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateManyMutationInput.mjs +8 -0
  328. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAlpacaAccountInput.d.ts +2 -0
  329. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  330. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAlpacaAccountInput.js.map +1 -1
  331. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAlpacaAccountInput.mjs +8 -0
  332. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAssetInput.d.ts +2 -0
  333. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAssetInput.d.ts.map +1 -1
  334. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAssetInput.js.map +1 -1
  335. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionUpdateWithoutAssetInput.mjs +8 -0
  336. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionWhereInput.d.ts +2 -0
  337. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionWhereInput.d.ts.map +1 -1
  338. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionWhereInput.js.map +1 -1
  339. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionWhereInput.mjs +8 -0
  340. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionWhereUniqueInput.d.ts +4 -0
  341. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionWhereUniqueInput.d.ts.map +1 -1
  342. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionWhereUniqueInput.js.map +1 -1
  343. package/server/generated/typegraphql-prisma/resolvers/inputs/PositionWhereUniqueInput.mjs +16 -0
  344. package/server/generated/typegraphql-prisma/resolvers/inputs/index.d.ts +1 -0
  345. package/server/generated/typegraphql-prisma/resolvers/inputs/index.d.ts.map +1 -1
  346. package/server/generated/typegraphql-prisma/resolvers/inputs/index.js.map +1 -1
  347. package/server/generated/typegraphql-prisma/resolvers/inputs/index.mjs +1 -0
  348. package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnPosition.d.ts +1 -0
  349. package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnPosition.d.ts.map +1 -1
  350. package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnPosition.js.map +1 -1
  351. package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnPosition.mjs +7 -0
  352. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionCountAggregate.d.ts +1 -0
  353. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionCountAggregate.d.ts.map +1 -1
  354. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionCountAggregate.js.map +1 -1
  355. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionCountAggregate.mjs +7 -0
  356. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionGroupBy.d.ts +1 -0
  357. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionGroupBy.d.ts.map +1 -1
  358. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionGroupBy.js.map +1 -1
  359. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionGroupBy.mjs +7 -0
  360. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionMaxAggregate.d.ts +1 -0
  361. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionMaxAggregate.d.ts.map +1 -1
  362. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionMaxAggregate.js.map +1 -1
  363. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionMaxAggregate.mjs +7 -0
  364. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionMinAggregate.d.ts +1 -0
  365. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionMinAggregate.d.ts.map +1 -1
  366. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionMinAggregate.js.map +1 -1
  367. package/server/generated/typegraphql-prisma/resolvers/outputs/PositionMinAggregate.mjs +7 -0
  368. package/server/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountPositionsArgs.d.ts +1 -1
  369. package/server/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountPositionsArgs.d.ts.map +1 -1
  370. package/server/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountPositionsArgs.js.map +1 -1
  371. package/server/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetPositionsArgs.d.ts +1 -1
  372. package/server/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetPositionsArgs.d.ts.map +1 -1
  373. package/server/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetPositionsArgs.js.map +1 -1
@@ -6,6 +6,8 @@ exports.PositionTypeString = `
6
6
  // Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).
7
7
 
8
8
  export type Position = {
9
+ // The symbol of the asset.
10
+ symbol?: string;
9
11
  // Relation to the Asset model.
10
12
  asset?: {
11
13
  // Ticker symbol of the asset
@@ -1,2 +1,2 @@
1
- export declare const PositionTypeString = "\n// Your response should adhere to the following type definition for the \"Position\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Position = {\n // Relation to the Asset model.\n asset?: {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n };\n // The average price at which the asset was acquired.\n averageEntryPrice: number;\n // Total quantity of the asset held.\n qty: number;\n // Quantity of the asset available for trading.\n qtyAvailable: number;\n // Current market value of the position.\n marketValue: number;\n // Total cost basis of the position.\n costBasis: number;\n // Unrealized profit or loss of the position.\n unrealizedPL: number;\n // Unrealized profit or loss as a percentage.\n unrealizedPLPC: number;\n // Unrealized intraday profit or loss.\n unrealisedIntradayPL: number;\n // Unrealized intraday profit or loss as a percentage.\n unrealisedIntradayPLPC: number;\n // Current price of the asset.\n currentPrice: number;\n // Last traded price of the asset.\n lastTradePrice: number;\n // Price change of the asset for the day.\n changeToday: number;\n // Indicates if the asset is marginable.\n assetMarginable: boolean;\n};\n\nenum AssetType {\n STOCK\n\n ETF\n\n MUTUAL_FUND\n\n CRYPTOCURRENCY\n\n INDEX\n\n COMMODITY\n\n CURRENCY\n\n OPTION\n\n FUTURE\n\n BOND\n\n WARRANT\n\n ADR\n\n GDR\n\n UNIT\n\n RIGHT\n\n REIT\n\n STRUCTURED_PRODUCT\n\n SWAP\n\n SPOT\n\n FORWARD\n\n OTHER\n}\n\n";
1
+ export declare const PositionTypeString = "\n// Your response should adhere to the following type definition for the \"Position\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Position = {\n // The symbol of the asset.\n symbol?: string;\n // Relation to the Asset model.\n asset?: {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n };\n // The average price at which the asset was acquired.\n averageEntryPrice: number;\n // Total quantity of the asset held.\n qty: number;\n // Quantity of the asset available for trading.\n qtyAvailable: number;\n // Current market value of the position.\n marketValue: number;\n // Total cost basis of the position.\n costBasis: number;\n // Unrealized profit or loss of the position.\n unrealizedPL: number;\n // Unrealized profit or loss as a percentage.\n unrealizedPLPC: number;\n // Unrealized intraday profit or loss.\n unrealisedIntradayPL: number;\n // Unrealized intraday profit or loss as a percentage.\n unrealisedIntradayPLPC: number;\n // Current price of the asset.\n currentPrice: number;\n // Last traded price of the asset.\n lastTradePrice: number;\n // Price change of the asset for the day.\n changeToday: number;\n // Indicates if the asset is marginable.\n assetMarginable: boolean;\n};\n\nenum AssetType {\n STOCK\n\n ETF\n\n MUTUAL_FUND\n\n CRYPTOCURRENCY\n\n INDEX\n\n COMMODITY\n\n CURRENCY\n\n OPTION\n\n FUTURE\n\n BOND\n\n WARRANT\n\n ADR\n\n GDR\n\n UNIT\n\n RIGHT\n\n REIT\n\n STRUCTURED_PRODUCT\n\n SWAP\n\n SPOT\n\n FORWARD\n\n OTHER\n}\n\n";
2
2
  //# sourceMappingURL=Position.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Position.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,orDAsF9B,CAAC"}
1
+ {"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Position.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,uuDAwF9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Position.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Position.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFjC,CAAC"}
1
+ {"version":3,"file":"Position.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Position.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwFjC,CAAC"}
@@ -3,7 +3,7 @@ export declare const typeStrings: {
3
3
  readonly session: "\n// Your response should adhere to the following type definition for the \"Session\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Session = {\n // Expiration date and time of the session.\n expires: Date;\n // Relation to the User model.\n user: {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n };\n};\n\n";
4
4
  readonly user: "\n// Your response should adhere to the following type definition for the \"User\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type User = {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n // URL to the user's profile image.\n image?: string;\n // The role assigned to the user, determining permissions.\n role: UserRole;\n // A short biography or description of the user.\n bio?: string;\n // The user's job title or position.\n jobTitle?: string;\n // The type of Alpaca account the user currently holds.\n currentAccount: AlpacaAccountType;\n // Relation to the Customer model.\n customer?: {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n };\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n }[];\n // OpenAI API key for the user.\n openaiAPIKey?: string;\n // OpenAI API Language model selected by the user\n openaiModel?: OpenaiModel;\n};\n\nenum UserRole {\n OWNER\n\n ADMIN\n\n USER\n}\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum SubscriptionPlan {\n FREE\n\n PRO\n\n BUSINESS\n}\n\nenum OpenaiModel {\n GPT_4O\n\n GPT_4O_MINI\n\n O1_PREVIEW\n\n O1_MINI\n}\n\n";
5
5
  readonly alpacaAccount: "\n// Your response should adhere to the following type definition for the \"AlpacaAccount\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // List of positions held in this Alpaca account.\n positions: {\n // Total quantity of the asset held.\n qty: number;\n // Relation to the Asset model.\n asset?: {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n };\n }[];\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AssetType {\n STOCK\n\n ETF\n\n MUTUAL_FUND\n\n CRYPTOCURRENCY\n\n INDEX\n\n COMMODITY\n\n CURRENCY\n\n OPTION\n\n FUTURE\n\n BOND\n\n WARRANT\n\n ADR\n\n GDR\n\n UNIT\n\n RIGHT\n\n REIT\n\n STRUCTURED_PRODUCT\n\n SWAP\n\n SPOT\n\n FORWARD\n\n OTHER\n}\n\n";
6
- readonly position: "\n// Your response should adhere to the following type definition for the \"Position\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Position = {\n // Relation to the Asset model.\n asset?: {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n };\n // The average price at which the asset was acquired.\n averageEntryPrice: number;\n // Total quantity of the asset held.\n qty: number;\n // Quantity of the asset available for trading.\n qtyAvailable: number;\n // Current market value of the position.\n marketValue: number;\n // Total cost basis of the position.\n costBasis: number;\n // Unrealized profit or loss of the position.\n unrealizedPL: number;\n // Unrealized profit or loss as a percentage.\n unrealizedPLPC: number;\n // Unrealized intraday profit or loss.\n unrealisedIntradayPL: number;\n // Unrealized intraday profit or loss as a percentage.\n unrealisedIntradayPLPC: number;\n // Current price of the asset.\n currentPrice: number;\n // Last traded price of the asset.\n lastTradePrice: number;\n // Price change of the asset for the day.\n changeToday: number;\n // Indicates if the asset is marginable.\n assetMarginable: boolean;\n};\n\nenum AssetType {\n STOCK\n\n ETF\n\n MUTUAL_FUND\n\n CRYPTOCURRENCY\n\n INDEX\n\n COMMODITY\n\n CURRENCY\n\n OPTION\n\n FUTURE\n\n BOND\n\n WARRANT\n\n ADR\n\n GDR\n\n UNIT\n\n RIGHT\n\n REIT\n\n STRUCTURED_PRODUCT\n\n SWAP\n\n SPOT\n\n FORWARD\n\n OTHER\n}\n\n";
6
+ readonly position: "\n// Your response should adhere to the following type definition for the \"Position\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Position = {\n // The symbol of the asset.\n symbol?: string;\n // Relation to the Asset model.\n asset?: {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n };\n // The average price at which the asset was acquired.\n averageEntryPrice: number;\n // Total quantity of the asset held.\n qty: number;\n // Quantity of the asset available for trading.\n qtyAvailable: number;\n // Current market value of the position.\n marketValue: number;\n // Total cost basis of the position.\n costBasis: number;\n // Unrealized profit or loss of the position.\n unrealizedPL: number;\n // Unrealized profit or loss as a percentage.\n unrealizedPLPC: number;\n // Unrealized intraday profit or loss.\n unrealisedIntradayPL: number;\n // Unrealized intraday profit or loss as a percentage.\n unrealisedIntradayPLPC: number;\n // Current price of the asset.\n currentPrice: number;\n // Last traded price of the asset.\n lastTradePrice: number;\n // Price change of the asset for the day.\n changeToday: number;\n // Indicates if the asset is marginable.\n assetMarginable: boolean;\n};\n\nenum AssetType {\n STOCK\n\n ETF\n\n MUTUAL_FUND\n\n CRYPTOCURRENCY\n\n INDEX\n\n COMMODITY\n\n CURRENCY\n\n OPTION\n\n FUTURE\n\n BOND\n\n WARRANT\n\n ADR\n\n GDR\n\n UNIT\n\n RIGHT\n\n REIT\n\n STRUCTURED_PRODUCT\n\n SWAP\n\n SPOT\n\n FORWARD\n\n OTHER\n}\n\n";
7
7
  readonly authenticator: "\n// Your response should adhere to the following type definition for the \"Authenticator\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Authenticator = {\n\n};\n\n";
8
8
  readonly account: "\n// Your response should adhere to the following type definition for the \"Account\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Account = {\n // Type of the account (e.g., OAuth provider).\n type: string;\n // Provider of the account (e.g., Google, GitHub).\n provider: string;\n // Expiration time of the access token.\n expires_at?: number;\n // Type of the token (e.g., Bearer).\n token_type?: string;\n // Scope of access granted by the token.\n scope?: string;\n // State of the session associated with the account.\n session_state?: string;\n};\n\n";
9
9
  readonly verificationToken: "\n// Your response should adhere to the following type definition for the \"VerificationToken\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type VerificationToken = {\n\n};\n\n";
@@ -930,7 +930,7 @@ const modelsInfo = {
930
930
  Session: ["id", "sessionToken", "userId", "expires", "createdAt", "updatedAt"],
931
931
  User: ["id", "name", "email", "emailVerified", "image", "createdAt", "updatedAt", "role", "bio", "jobTitle", "currentAccount", "customerId", "plan", "openaiAPIKey", "openaiModel"],
932
932
  AlpacaAccount: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "userId", "createdAt", "updatedAt"],
933
- Position: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
933
+ Position: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
934
934
  Authenticator: ["id", "userId", "credentialID", "publicKey", "counter", "createdAt", "updatedAt"],
935
935
  Account: ["id", "userId", "type", "provider", "providerAccountId", "refresh_token", "access_token", "expires_at", "token_type", "scope", "id_token", "session_state", "createdAt", "updatedAt"],
936
936
  VerificationToken: ["id", "identifier", "token", "expires"],
@@ -968,7 +968,7 @@ const outputsInfo = {
968
968
  AggregateAlpacaAccount: ["_count", "_avg", "_sum", "_min", "_max"],
969
969
  AlpacaAccountGroupBy: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "userId", "createdAt", "updatedAt", "_count", "_avg", "_sum", "_min", "_max"],
970
970
  AggregatePosition: ["_count", "_avg", "_sum", "_min", "_max"],
971
- PositionGroupBy: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "_count", "_avg", "_sum", "_min", "_max"],
971
+ PositionGroupBy: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "_count", "_avg", "_sum", "_min", "_max"],
972
972
  AggregateAuthenticator: ["_count", "_avg", "_sum", "_min", "_max"],
973
973
  AuthenticatorGroupBy: ["id", "userId", "credentialID", "publicKey", "counter", "createdAt", "updatedAt", "_count", "_avg", "_sum", "_min", "_max"],
974
974
  AggregateAccount: ["_count", "_avg", "_sum", "_min", "_max"],
@@ -1022,11 +1022,11 @@ const outputsInfo = {
1022
1022
  AlpacaAccountSumAggregate: ["minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold"],
1023
1023
  AlpacaAccountMinAggregate: ["id", "type", "APIKey", "APISecret", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "userId", "createdAt", "updatedAt"],
1024
1024
  AlpacaAccountMaxAggregate: ["id", "type", "APIKey", "APISecret", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "userId", "createdAt", "updatedAt"],
1025
- PositionCountAggregate: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "_all"],
1025
+ PositionCountAggregate: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "_all"],
1026
1026
  PositionAvgAggregate: ["averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday"],
1027
1027
  PositionSumAggregate: ["averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday"],
1028
- PositionMinAggregate: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1029
- PositionMaxAggregate: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1028
+ PositionMinAggregate: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1029
+ PositionMaxAggregate: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1030
1030
  AuthenticatorCountAggregate: ["id", "userId", "credentialID", "publicKey", "counter", "createdAt", "updatedAt", "_all"],
1031
1031
  AuthenticatorAvgAggregate: ["counter"],
1032
1032
  AuthenticatorSumAggregate: ["counter"],
@@ -1109,7 +1109,7 @@ const outputsInfo = {
1109
1109
  CreateManyAndReturnSession: ["id", "sessionToken", "userId", "expires", "createdAt", "updatedAt", "user"],
1110
1110
  CreateManyAndReturnUser: ["id", "name", "email", "emailVerified", "image", "createdAt", "updatedAt", "role", "bio", "jobTitle", "currentAccount", "customerId", "plan", "openaiAPIKey", "openaiModel", "customer"],
1111
1111
  CreateManyAndReturnAlpacaAccount: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "userId", "createdAt", "updatedAt", "user"],
1112
- CreateManyAndReturnPosition: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1112
+ CreateManyAndReturnPosition: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1113
1113
  CreateManyAndReturnAuthenticator: ["id", "userId", "credentialID", "publicKey", "counter", "createdAt", "updatedAt", "user"],
1114
1114
  CreateManyAndReturnAccount: ["id", "userId", "type", "provider", "providerAccountId", "refresh_token", "access_token", "expires_at", "token_type", "scope", "id_token", "session_state", "createdAt", "updatedAt", "user"],
1115
1115
  CreateManyAndReturnVerificationToken: ["id", "identifier", "token", "expires"],
@@ -1158,11 +1158,11 @@ const inputsInfo = {
1158
1158
  AlpacaAccountWhereUniqueInput: ["id", "AND", "OR", "NOT", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "userId", "createdAt", "updatedAt", "user", "trades", "orders", "positions", "alerts"],
1159
1159
  AlpacaAccountOrderByWithAggregationInput: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "userId", "createdAt", "updatedAt", "_count", "_avg", "_max", "_min", "_sum"],
1160
1160
  AlpacaAccountScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "userId", "createdAt", "updatedAt"],
1161
- PositionWhereInput: ["AND", "OR", "NOT", "id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1162
- PositionOrderByWithRelationInput: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1163
- PositionWhereUniqueInput: ["id", "AND", "OR", "NOT", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1164
- PositionOrderByWithAggregationInput: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "_count", "_avg", "_max", "_min", "_sum"],
1165
- PositionScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1161
+ PositionWhereInput: ["AND", "OR", "NOT", "id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1162
+ PositionOrderByWithRelationInput: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1163
+ PositionWhereUniqueInput: ["id", "symbol_alpacaAccountId", "AND", "OR", "NOT", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1164
+ PositionOrderByWithAggregationInput: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt", "_count", "_avg", "_max", "_min", "_sum"],
1165
+ PositionScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1166
1166
  AuthenticatorWhereInput: ["AND", "OR", "NOT", "id", "userId", "credentialID", "publicKey", "counter", "createdAt", "updatedAt", "user"],
1167
1167
  AuthenticatorOrderByWithRelationInput: ["id", "userId", "credentialID", "publicKey", "counter", "createdAt", "updatedAt", "user"],
1168
1168
  AuthenticatorWhereUniqueInput: ["id", "credentialID", "AND", "OR", "NOT", "userId", "publicKey", "counter", "createdAt", "updatedAt", "user"],
@@ -1264,10 +1264,10 @@ const inputsInfo = {
1264
1264
  AlpacaAccountUpdateInput: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "createdAt", "updatedAt", "user", "trades", "orders", "positions", "alerts"],
1265
1265
  AlpacaAccountCreateManyInput: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "userId", "createdAt", "updatedAt"],
1266
1266
  AlpacaAccountUpdateManyMutationInput: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "createdAt", "updatedAt"],
1267
- PositionCreateInput: ["id", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1268
- PositionUpdateInput: ["id", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1269
- PositionCreateManyInput: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1270
- PositionUpdateManyMutationInput: ["id", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt"],
1267
+ PositionCreateInput: ["id", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1268
+ PositionUpdateInput: ["id", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "asset", "alpacaAccount"],
1269
+ PositionCreateManyInput: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1270
+ PositionUpdateManyMutationInput: ["id", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt"],
1271
1271
  AuthenticatorCreateInput: ["id", "credentialID", "publicKey", "counter", "createdAt", "updatedAt", "user"],
1272
1272
  AuthenticatorUpdateInput: ["id", "credentialID", "publicKey", "counter", "createdAt", "updatedAt", "user"],
1273
1273
  AuthenticatorCreateManyInput: ["id", "userId", "credentialID", "publicKey", "counter", "createdAt", "updatedAt"],
@@ -1402,10 +1402,11 @@ const inputsInfo = {
1402
1402
  UuidNullableFilter: ["equals", "in", "notIn", "lt", "lte", "gt", "gte", "mode", "not"],
1403
1403
  AssetNullableRelationFilter: ["is", "isNot"],
1404
1404
  AlpacaAccountNullableRelationFilter: ["is", "isNot"],
1405
- PositionCountOrderByAggregateInput: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1405
+ PositionSymbolAlpacaAccountIdCompoundUniqueInput: ["symbol", "alpacaAccountId"],
1406
+ PositionCountOrderByAggregateInput: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1406
1407
  PositionAvgOrderByAggregateInput: ["averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday"],
1407
- PositionMaxOrderByAggregateInput: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1408
- PositionMinOrderByAggregateInput: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1408
+ PositionMaxOrderByAggregateInput: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1409
+ PositionMinOrderByAggregateInput: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1409
1410
  PositionSumOrderByAggregateInput: ["averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday"],
1410
1411
  UuidNullableWithAggregatesFilter: ["equals", "in", "notIn", "lt", "lte", "gt", "gte", "mode", "not", "_count", "_min", "_max"],
1411
1412
  IntFilter: ["equals", "in", "notIn", "lt", "lte", "gt", "gte", "not"],
@@ -1791,7 +1792,7 @@ const inputsInfo = {
1791
1792
  OrderCreateWithoutAlpacaAccountInput: ["id", "clientOrderId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "stopLoss", "takeProfit", "action", "asset", "contract"],
1792
1793
  OrderCreateOrConnectWithoutAlpacaAccountInput: ["where", "create"],
1793
1794
  OrderCreateManyAlpacaAccountInputEnvelope: ["data", "skipDuplicates"],
1794
- PositionCreateWithoutAlpacaAccountInput: ["id", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "asset"],
1795
+ PositionCreateWithoutAlpacaAccountInput: ["id", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "asset"],
1795
1796
  PositionCreateOrConnectWithoutAlpacaAccountInput: ["where", "create"],
1796
1797
  PositionCreateManyAlpacaAccountInputEnvelope: ["data", "skipDuplicates"],
1797
1798
  AlertCreateWithoutAlpacaAccountInput: ["id", "message", "type", "isRead", "createdAt", "updatedAt"],
@@ -1811,7 +1812,7 @@ const inputsInfo = {
1811
1812
  PositionUpsertWithWhereUniqueWithoutAlpacaAccountInput: ["where", "update", "create"],
1812
1813
  PositionUpdateWithWhereUniqueWithoutAlpacaAccountInput: ["where", "data"],
1813
1814
  PositionUpdateManyWithWhereWithoutAlpacaAccountInput: ["where", "data"],
1814
- PositionScalarWhereInput: ["AND", "OR", "NOT", "id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1815
+ PositionScalarWhereInput: ["AND", "OR", "NOT", "id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
1815
1816
  AlertUpsertWithWhereUniqueWithoutAlpacaAccountInput: ["where", "update", "create"],
1816
1817
  AlertUpdateWithWhereUniqueWithoutAlpacaAccountInput: ["where", "data"],
1817
1818
  AlertUpdateManyWithWhereWithoutAlpacaAccountInput: ["where", "data"],
@@ -1849,7 +1850,7 @@ const inputsInfo = {
1849
1850
  OrderCreateWithoutAssetInput: ["id", "clientOrderId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "stopLoss", "takeProfit", "alpacaAccount", "action", "contract"],
1850
1851
  OrderCreateOrConnectWithoutAssetInput: ["where", "create"],
1851
1852
  OrderCreateManyAssetInputEnvelope: ["data", "skipDuplicates"],
1852
- PositionCreateWithoutAssetInput: ["id", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "alpacaAccount"],
1853
+ PositionCreateWithoutAssetInput: ["id", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "alpacaAccount"],
1853
1854
  PositionCreateOrConnectWithoutAssetInput: ["where", "create"],
1854
1855
  PositionCreateManyAssetInputEnvelope: ["data", "skipDuplicates"],
1855
1856
  NewsArticleAssetSentimentCreateWithoutAssetInput: ["id", "url", "relevancyScore", "sentimentScore", "sentimentLabel", "news"],
@@ -1995,22 +1996,22 @@ const inputsInfo = {
1995
1996
  AlpacaAccountUpdateWithoutUserInput: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "createdAt", "updatedAt", "trades", "orders", "positions", "alerts"],
1996
1997
  TradeCreateManyAlpacaAccountInput: ["id", "assetId", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status"],
1997
1998
  OrderCreateManyAlpacaAccountInput: ["id", "clientOrderId", "assetId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "actionId", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "contractId"],
1998
- PositionCreateManyAlpacaAccountInput: ["id", "assetId", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt"],
1999
+ PositionCreateManyAlpacaAccountInput: ["id", "assetId", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt"],
1999
2000
  AlertCreateManyAlpacaAccountInput: ["id", "message", "type", "isRead", "createdAt", "updatedAt"],
2000
2001
  TradeUpdateWithoutAlpacaAccountInput: ["id", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "asset", "actions"],
2001
2002
  OrderUpdateWithoutAlpacaAccountInput: ["id", "clientOrderId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "stopLoss", "takeProfit", "action", "asset", "contract"],
2002
- PositionUpdateWithoutAlpacaAccountInput: ["id", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "asset"],
2003
+ PositionUpdateWithoutAlpacaAccountInput: ["id", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "asset"],
2003
2004
  AlertUpdateWithoutAlpacaAccountInput: ["id", "message", "type", "isRead", "createdAt", "updatedAt"],
2004
2005
  UserCreateManyCustomerInput: ["id", "name", "email", "emailVerified", "image", "createdAt", "updatedAt", "role", "bio", "jobTitle", "currentAccount", "plan", "openaiAPIKey", "openaiModel"],
2005
2006
  UserUpdateWithoutCustomerInput: ["id", "name", "email", "emailVerified", "image", "createdAt", "updatedAt", "role", "bio", "jobTitle", "currentAccount", "plan", "openaiAPIKey", "openaiModel", "accounts", "sessions", "authenticators", "alpacaAccounts"],
2006
2007
  TradeCreateManyAssetInput: ["id", "alpacaAccountId", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status"],
2007
2008
  OrderCreateManyAssetInput: ["id", "clientOrderId", "alpacaAccountId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "actionId", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "contractId"],
2008
- PositionCreateManyAssetInput: ["id", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
2009
+ PositionCreateManyAssetInput: ["id", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "alpacaAccountId", "closed", "createdAt", "updatedAt"],
2009
2010
  NewsArticleAssetSentimentCreateManyAssetInput: ["id", "newsArticleId", "url", "relevancyScore", "sentimentScore", "sentimentLabel"],
2010
2011
  ContractCreateManyAssetInput: ["id", "alpacaId", "symbol", "name", "status", "tradable", "expirationDate", "rootSymbol", "underlyingSymbol", "underlyingAssetId", "type", "style", "strikePrice", "multiplier", "size", "openInterest", "openInterestDate", "closePrice", "closePriceDate", "ppind", "orderId", "createdAt", "updatedAt"],
2011
2012
  TradeUpdateWithoutAssetInput: ["id", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "alpacaAccount", "actions"],
2012
2013
  OrderUpdateWithoutAssetInput: ["id", "clientOrderId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "stopLoss", "takeProfit", "alpacaAccount", "action", "contract"],
2013
- PositionUpdateWithoutAssetInput: ["id", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "alpacaAccount"],
2014
+ PositionUpdateWithoutAssetInput: ["id", "symbol", "averageEntryPrice", "qty", "qtyAvailable", "marketValue", "costBasis", "unrealizedPL", "unrealizedPLPC", "unrealisedIntradayPL", "unrealisedIntradayPLPC", "currentPrice", "lastTradePrice", "changeToday", "assetMarginable", "closed", "createdAt", "updatedAt", "alpacaAccount"],
2014
2015
  NewsArticleAssetSentimentUpdateWithoutAssetInput: ["id", "url", "relevancyScore", "sentimentScore", "sentimentLabel", "news"],
2015
2016
  ContractUpdateWithoutAssetInput: ["id", "alpacaId", "symbol", "name", "status", "tradable", "expirationDate", "rootSymbol", "underlyingSymbol", "underlyingAssetId", "type", "style", "strikePrice", "multiplier", "size", "openInterest", "openInterestDate", "closePrice", "closePriceDate", "ppind", "orderId", "createdAt", "updatedAt", "deliverables", "order"],
2016
2017
  DeliverableCreateManyContractInput: ["id", "type", "symbol", "assetId", "amount", "allocationPercentage", "settlementType", "settlementMethod", "delayedSettlement", "createdAt", "updatedAt"],
@@ -1 +1 @@
1
- {"version":3,"file":"enhance.d.ts","sourceRoot":"","sources":["../../../src/generated/typegraphql-prisma/enhance.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,aAAa,MAAM,uCAAuC,CAAC;AACvE,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAC;AAEzD,OAAO,KAAK,iBAAiB,MAAM,uCAAuC,CAAC;AAC3E,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,MAAM,MAAM,yBAAyB,GAAG,CAAC,UAAU,EAAE,eAAe,EAAE,KAAK,eAAe,EAAE,CAAC;AAE7F,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;CAuBrB,CAAC;AA8tBF,KAAK,kBAAkB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAExD,KAAK,wBAAwB,CAC3B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