adaptic-backend 1.0.311 → 1.0.313

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 (291) hide show
  1. package/Action.cjs +28 -0
  2. package/Trade.cjs +30 -0
  3. package/esm/Action.d.ts.map +1 -1
  4. package/esm/Action.js.map +1 -1
  5. package/esm/Action.mjs +28 -0
  6. package/esm/Trade.d.ts.map +1 -1
  7. package/esm/Trade.js.map +1 -1
  8. package/esm/Trade.mjs +30 -0
  9. package/esm/generated/selectionSets/Action.d.ts +1 -1
  10. package/esm/generated/selectionSets/Action.d.ts.map +1 -1
  11. package/esm/generated/selectionSets/Action.js.map +1 -1
  12. package/esm/generated/selectionSets/Action.mjs +1 -0
  13. package/esm/generated/selectionSets/Trade.d.ts +1 -1
  14. package/esm/generated/selectionSets/Trade.d.ts.map +1 -1
  15. package/esm/generated/selectionSets/Trade.js.map +1 -1
  16. package/esm/generated/selectionSets/Trade.mjs +1 -0
  17. package/esm/generated/typeStrings/Action.d.ts +1 -1
  18. package/esm/generated/typeStrings/Action.d.ts.map +1 -1
  19. package/esm/generated/typeStrings/Action.js.map +1 -1
  20. package/esm/generated/typeStrings/Action.mjs +2 -0
  21. package/esm/generated/typeStrings/Trade.d.ts +1 -1
  22. package/esm/generated/typeStrings/Trade.d.ts.map +1 -1
  23. package/esm/generated/typeStrings/Trade.js.map +1 -1
  24. package/esm/generated/typeStrings/Trade.mjs +2 -0
  25. package/esm/generated/typeStrings/index.d.ts +2 -2
  26. package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
  27. package/esm/generated/typegraphql-prisma/enhance.mjs +22 -22
  28. package/esm/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.d.ts +2 -1
  29. package/esm/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.d.ts.map +1 -1
  30. package/esm/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.js.map +1 -1
  31. package/esm/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.mjs +1 -0
  32. package/esm/generated/typegraphql-prisma/enums/ActionStatus.d.ts +1 -0
  33. package/esm/generated/typegraphql-prisma/enums/ActionStatus.d.ts.map +1 -1
  34. package/esm/generated/typegraphql-prisma/enums/ActionStatus.js.map +1 -1
  35. package/esm/generated/typegraphql-prisma/enums/ActionStatus.mjs +1 -0
  36. package/esm/generated/typegraphql-prisma/models/Action.d.ts +5 -1
  37. package/esm/generated/typegraphql-prisma/models/Action.d.ts.map +1 -1
  38. package/esm/generated/typegraphql-prisma/models/Action.js.map +1 -1
  39. package/esm/generated/typegraphql-prisma/models/Action.mjs +11 -0
  40. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.d.ts +1 -1
  41. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.d.ts.map +1 -1
  42. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.js.map +1 -1
  43. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.d.ts +1 -1
  44. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.d.ts.map +1 -1
  45. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.js.map +1 -1
  46. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.d.ts +1 -1
  47. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.d.ts.map +1 -1
  48. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.js.map +1 -1
  49. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.d.ts +1 -1
  50. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.d.ts.map +1 -1
  51. package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.js.map +1 -1
  52. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.d.ts +1 -0
  53. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.d.ts.map +1 -1
  54. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.js.map +1 -1
  55. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.mjs +7 -0
  56. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.d.ts +2 -1
  57. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.d.ts.map +1 -1
  58. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.js.map +1 -1
  59. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.mjs +7 -0
  60. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.d.ts +2 -1
  61. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.d.ts.map +1 -1
  62. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.js.map +1 -1
  63. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.mjs +7 -0
  64. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.d.ts +2 -1
  65. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.d.ts.map +1 -1
  66. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.js.map +1 -1
  67. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.mjs +7 -0
  68. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.d.ts +2 -1
  69. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.d.ts.map +1 -1
  70. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.js.map +1 -1
  71. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.mjs +7 -0
  72. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.d.ts +1 -0
  73. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.d.ts.map +1 -1
  74. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.js.map +1 -1
  75. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.mjs +7 -0
  76. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.d.ts +1 -0
  77. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.d.ts.map +1 -1
  78. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.js.map +1 -1
  79. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.mjs +7 -0
  80. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.d.ts +2 -0
  81. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.d.ts.map +1 -1
  82. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.js.map +1 -1
  83. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.mjs +8 -0
  84. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.d.ts +2 -0
  85. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.d.ts.map +1 -1
  86. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.js.map +1 -1
  87. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.mjs +8 -0
  88. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts +2 -0
  89. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts.map +1 -1
  90. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.js.map +1 -1
  91. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.mjs +8 -0
  92. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts +2 -0
  93. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts.map +1 -1
  94. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.js.map +1 -1
  95. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.mjs +8 -0
  96. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.d.ts +2 -0
  97. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.d.ts.map +1 -1
  98. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.js.map +1 -1
  99. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.mjs +8 -0
  100. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.d.ts +2 -0
  101. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.d.ts.map +1 -1
  102. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.js.map +1 -1
  103. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.mjs +8 -0
  104. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.d.ts +2 -0
  105. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.d.ts.map +1 -1
  106. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.js.map +1 -1
  107. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.mjs +8 -0
  108. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts +2 -0
  109. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts.map +1 -1
  110. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.js.map +1 -1
  111. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.mjs +8 -0
  112. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts +2 -0
  113. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts.map +1 -1
  114. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.js.map +1 -1
  115. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.mjs +8 -0
  116. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFieldUpdateOperationsInput.d.ts +1 -1
  117. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFieldUpdateOperationsInput.d.ts.map +1 -1
  118. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFieldUpdateOperationsInput.js.map +1 -1
  119. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFilter.d.ts +3 -3
  120. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFilter.d.ts.map +1 -1
  121. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFilter.js.map +1 -1
  122. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusWithAggregatesFilter.d.ts +3 -3
  123. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusWithAggregatesFilter.d.ts.map +1 -1
  124. package/esm/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusWithAggregatesFilter.js.map +1 -1
  125. package/esm/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusFilter.d.ts +3 -3
  126. package/esm/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusFilter.d.ts.map +1 -1
  127. package/esm/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusFilter.js.map +1 -1
  128. package/esm/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusWithAggregatesFilter.d.ts +3 -3
  129. package/esm/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusWithAggregatesFilter.d.ts.map +1 -1
  130. package/esm/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusWithAggregatesFilter.js.map +1 -1
  131. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.d.ts +1 -0
  132. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.d.ts.map +1 -1
  133. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.js.map +1 -1
  134. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.mjs +7 -0
  135. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.d.ts +2 -1
  136. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.d.ts.map +1 -1
  137. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.js.map +1 -1
  138. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.mjs +7 -0
  139. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.d.ts +2 -1
  140. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.d.ts.map +1 -1
  141. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.js.map +1 -1
  142. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.mjs +7 -0
  143. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.d.ts +2 -1
  144. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.d.ts.map +1 -1
  145. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.js.map +1 -1
  146. package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.mjs +7 -0
  147. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.d.ts +2 -1
  148. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.d.ts.map +1 -1
  149. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.js.map +1 -1
  150. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.mjs +7 -0
  151. package/esm/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts +1 -1
  152. package/esm/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts.map +1 -1
  153. package/esm/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.js.map +1 -1
  154. package/generated/typeStrings/Action.cjs +2 -0
  155. package/generated/typeStrings/Action.d.ts +1 -1
  156. package/generated/typeStrings/Action.d.ts.map +1 -1
  157. package/generated/typeStrings/Action.js.map +1 -1
  158. package/generated/typeStrings/Trade.cjs +2 -0
  159. package/generated/typeStrings/Trade.d.ts +1 -1
  160. package/generated/typeStrings/Trade.d.ts.map +1 -1
  161. package/generated/typeStrings/Trade.js.map +1 -1
  162. package/generated/typeStrings/index.d.ts +2 -2
  163. package/generated/typegraphql-prisma/enhance.cjs +22 -22
  164. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  165. package/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.cjs +1 -0
  166. package/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.d.ts +2 -1
  167. package/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.d.ts.map +1 -1
  168. package/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.js.map +1 -1
  169. package/generated/typegraphql-prisma/enums/ActionStatus.cjs +1 -0
  170. package/generated/typegraphql-prisma/enums/ActionStatus.d.ts +1 -0
  171. package/generated/typegraphql-prisma/enums/ActionStatus.d.ts.map +1 -1
  172. package/generated/typegraphql-prisma/enums/ActionStatus.js.map +1 -1
  173. package/generated/typegraphql-prisma/models/Action.cjs +7 -0
  174. package/generated/typegraphql-prisma/models/Action.d.ts +5 -1
  175. package/generated/typegraphql-prisma/models/Action.d.ts.map +1 -1
  176. package/generated/typegraphql-prisma/models/Action.js.map +1 -1
  177. package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.d.ts +1 -1
  178. package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.d.ts.map +1 -1
  179. package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.js.map +1 -1
  180. package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.d.ts +1 -1
  181. package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.d.ts.map +1 -1
  182. package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.js.map +1 -1
  183. package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.d.ts +1 -1
  184. package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.d.ts.map +1 -1
  185. package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.js.map +1 -1
  186. package/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.d.ts +1 -1
  187. package/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.d.ts.map +1 -1
  188. package/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.js.map +1 -1
  189. package/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.cjs +6 -0
  190. package/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.d.ts +1 -0
  191. package/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.d.ts.map +1 -1
  192. package/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.js.map +1 -1
  193. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.cjs +6 -0
  194. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.d.ts +2 -1
  195. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.d.ts.map +1 -1
  196. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.js.map +1 -1
  197. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.cjs +6 -0
  198. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.d.ts +2 -1
  199. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.d.ts.map +1 -1
  200. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.js.map +1 -1
  201. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.cjs +6 -0
  202. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.d.ts +2 -1
  203. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.d.ts.map +1 -1
  204. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.js.map +1 -1
  205. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.cjs +6 -0
  206. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.d.ts +2 -1
  207. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.d.ts.map +1 -1
  208. package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.js.map +1 -1
  209. package/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.cjs +6 -0
  210. package/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.d.ts +1 -0
  211. package/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.d.ts.map +1 -1
  212. package/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.js.map +1 -1
  213. package/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.cjs +6 -0
  214. package/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.d.ts +1 -0
  215. package/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.d.ts.map +1 -1
  216. package/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.js.map +1 -1
  217. package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.cjs +7 -0
  218. package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.d.ts +2 -0
  219. package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.d.ts.map +1 -1
  220. package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.js.map +1 -1
  221. package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.cjs +7 -0
  222. package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.d.ts +2 -0
  223. package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.d.ts.map +1 -1
  224. package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.js.map +1 -1
  225. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.cjs +7 -0
  226. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts +2 -0
  227. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts.map +1 -1
  228. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.js.map +1 -1
  229. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.cjs +7 -0
  230. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts +2 -0
  231. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts.map +1 -1
  232. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.js.map +1 -1
  233. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.cjs +7 -0
  234. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.d.ts +2 -0
  235. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.d.ts.map +1 -1
  236. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.js.map +1 -1
  237. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.cjs +7 -0
  238. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.d.ts +2 -0
  239. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.d.ts.map +1 -1
  240. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.js.map +1 -1
  241. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.cjs +7 -0
  242. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.d.ts +2 -0
  243. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.d.ts.map +1 -1
  244. package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.js.map +1 -1
  245. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.cjs +7 -0
  246. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts +2 -0
  247. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts.map +1 -1
  248. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.js.map +1 -1
  249. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.cjs +7 -0
  250. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts +2 -0
  251. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts.map +1 -1
  252. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.js.map +1 -1
  253. package/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFieldUpdateOperationsInput.d.ts +1 -1
  254. package/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFieldUpdateOperationsInput.d.ts.map +1 -1
  255. package/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFieldUpdateOperationsInput.js.map +1 -1
  256. package/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFilter.d.ts +3 -3
  257. package/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFilter.d.ts.map +1 -1
  258. package/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusFilter.js.map +1 -1
  259. package/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusWithAggregatesFilter.d.ts +3 -3
  260. package/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusWithAggregatesFilter.d.ts.map +1 -1
  261. package/generated/typegraphql-prisma/resolvers/inputs/EnumActionStatusWithAggregatesFilter.js.map +1 -1
  262. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusFilter.d.ts +3 -3
  263. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusFilter.d.ts.map +1 -1
  264. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusFilter.js.map +1 -1
  265. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusWithAggregatesFilter.d.ts +3 -3
  266. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusWithAggregatesFilter.d.ts.map +1 -1
  267. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumActionStatusWithAggregatesFilter.js.map +1 -1
  268. package/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.cjs +6 -0
  269. package/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.d.ts +1 -0
  270. package/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.d.ts.map +1 -1
  271. package/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.js.map +1 -1
  272. package/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.cjs +6 -0
  273. package/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.d.ts +2 -1
  274. package/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.d.ts.map +1 -1
  275. package/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.js.map +1 -1
  276. package/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.cjs +6 -0
  277. package/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.d.ts +2 -1
  278. package/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.d.ts.map +1 -1
  279. package/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.js.map +1 -1
  280. package/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.cjs +6 -0
  281. package/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.d.ts +2 -1
  282. package/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.d.ts.map +1 -1
  283. package/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.js.map +1 -1
  284. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.cjs +6 -0
  285. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.d.ts +2 -1
  286. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.d.ts.map +1 -1
  287. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.js.map +1 -1
  288. package/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts +1 -1
  289. package/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts.map +1 -1
  290. package/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.js.map +1 -1
  291. package/package.json +1 -1
@@ -7,6 +7,6 @@ export declare class TradeActionsArgs {
7
7
  cursor?: ActionWhereUniqueInput | undefined;
8
8
  take?: number | undefined;
9
9
  skip?: number | undefined;
10
- distinct?: Array<"id" | "sequence" | "tradeId" | "type" | "primary" | "note" | "status" | "createdAt" | "updatedAt"> | undefined;
10
+ distinct?: Array<"id" | "sequence" | "tradeId" | "type" | "primary" | "note" | "status" | "createdAt" | "updatedAt" | "alpacaOrderId"> | undefined;
11
11
  }
12
12
  //# sourceMappingURL=TradeActionsArgs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TradeActionsArgs.d.ts","sourceRoot":"","sources":["../../../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAGhF,qBACa,gBAAgB;IAI3B,KAAK,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAKrC,OAAO,CAAC,EAAE,8BAA8B,EAAE,GAAG,SAAS,CAAC;IAKvD,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAK5C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAK1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAK1B,QAAQ,CAAC,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC,GAAG,SAAS,CAAC;CAClI"}
1
+ {"version":3,"file":"TradeActionsArgs.d.ts","sourceRoot":"","sources":["../../../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAGhF,qBACa,gBAAgB;IAI3B,KAAK,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAKrC,OAAO,CAAC,EAAE,8BAA8B,EAAE,GAAG,SAAS,CAAC;IAKvD,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAK5C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAK1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAK1B,QAAQ,CAAC,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,WAAW,GAAG,eAAe,CAAC,GAAG,SAAS,CAAC;CACpJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"TradeActionsArgs.js","sourceRoot":"","sources":["../../../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAGzE,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAI3B,KAAK,CAAgC;IAKrC,OAAO,CAAgD;IAKvD,MAAM,CAAsC;IAK5C,IAAI,CAAsB;IAK1B,IAAI,CAAsB;IAK1B,QAAQ,CAAyH;CAClI,CAAA;AA1BC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,gBAAgB,EAAE;QAC5C,QAAQ,EAAE,IAAI;KACf,CAAC;;+CACmC;AAKrC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,8BAA8B,CAAC,EAAE;QAC5D,QAAQ,EAAE,IAAI;KACf,CAAC;;iDACqD;AAKvD;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,sBAAsB,EAAE;QAClD,QAAQ,EAAE,IAAI;KACf,CAAC;;gDAC0C;AAK5C;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,IAAI;KACf,CAAC;;8CACwB;AAK1B;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,IAAI;KACf,CAAC;;8CACwB;AAK1B;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,qBAAqB,CAAC,EAAE;QACnD,QAAQ,EAAE,IAAI;KACf,CAAC;;kDAC+H;AA7BtH,gBAAgB;IAD5B,WAAW,CAAC,QAAQ,EAAE;GACV,gBAAgB,CA8B5B"}
1
+ {"version":3,"file":"TradeActionsArgs.js","sourceRoot":"","sources":["../../../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAGzE,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAI3B,KAAK,CAAgC;IAKrC,OAAO,CAAgD;IAKvD,MAAM,CAAsC;IAK5C,IAAI,CAAsB;IAK1B,IAAI,CAAsB;IAK1B,QAAQ,CAA2I;CACpJ,CAAA;AA1BC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,gBAAgB,EAAE;QAC5C,QAAQ,EAAE,IAAI;KACf,CAAC;;+CACmC;AAKrC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,8BAA8B,CAAC,EAAE;QAC5D,QAAQ,EAAE,IAAI;KACf,CAAC;;iDACqD;AAKvD;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,sBAAsB,EAAE;QAClD,QAAQ,EAAE,IAAI;KACf,CAAC;;gDAC0C;AAK5C;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,IAAI;KACf,CAAC;;8CACwB;AAK1B;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,IAAI;KACf,CAAC;;8CACwB;AAK1B;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,qBAAqB,CAAC,EAAE;QACnD,QAAQ,EAAE,IAAI;KACf,CAAC;;kDACiJ;AA7BxI,gBAAgB;IAD5B,WAAW,CAAC,QAAQ,EAAE;GACV,gBAAgB,CA8B5B"}
@@ -37,6 +37,8 @@ enum ActionType {
37
37
  enum ActionStatus {
38
38
  STAGED
39
39
 
40
+ PENDING
41
+
40
42
  EXECUTED
41
43
 
42
44
  COMPLETED
@@ -1,2 +1,2 @@
1
- export declare const ActionTypeString = "\n// Your response should adhere to the following type definition for the \"Action\" 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 Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Whether the action is the primary action for the trade.\n primary: boolean;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n};\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\n";
1
+ export declare const ActionTypeString = "\n// Your response should adhere to the following type definition for the \"Action\" 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 Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Whether the action is the primary action for the trade.\n primary: boolean;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n};\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n PENDING\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\n";
2
2
  //# sourceMappingURL=Action.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,yzBA2C5B,CAAC"}
1
+ {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,s0BA6C5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C/B,CAAC"}
1
+ {"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6C/B,CAAC"}
@@ -158,6 +158,8 @@ enum ActionType {
158
158
  enum ActionStatus {
159
159
  STAGED
160
160
 
161
+ PENDING
162
+
161
163
  EXECUTED
162
164
 
163
165
  COMPLETED
@@ -1,2 +1,2 @@
1
- export declare const TradeTypeString = "\n// Your response should adhere to the following type definition for the \"Trade\" 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 Trade = {\n // Quantity of the asset being traded.\n qty: number;\n // Price at which the asset was traded.\n price: number;\n // Total value of the trade (qty * price).\n total: number;\n // Signal that triggered the trade.\n signal: TradeSignal;\n // Strategy used to execute the trade.\n strategy: TradeStrategy;\n // summary of the trade decision (this should be a short description of the trade).\n summary: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Current status of the trade.\n status: TradeStatus;\n // The symbol of the asset associated with this trade.\n symbol: string;\n // List of actions associated with this trade.\n actions: {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n }[];\n};\n\nenum TradeSignal {\n GOLDEN_CROSS\n\n DEATH_CROSS\n\n MOVING_AVERAGE_CROSSOVER\n\n RSI_OVERBOUGHT\n\n RSI_OVERSOLD\n\n MACD_CROSSOVER\n\n BOLLINGER_BANDS_BREAKOUT\n\n TREND_REVERSAL\n\n PRICE_ACTION\n\n IMPLIED_VOLATILITY_SURGE\n\n BREAKOUT_ABOVE_RESISTANCE\n\n BREAKDOWN_BELOW_SUPPORT\n\n SUPPORT_LEVEL_HOLD\n\n RESISTANCE_LEVEL_HOLD\n\n FIBONACCI_RETRACEMENT\n\n STOCHASTIC_OVERSOLD\n\n STOCHASTIC_OVERBOUGHT\n\n PIVOT_POINT\n\n VOLUME_SURGE\n\n MEAN_REVERSION_LEVEL\n\n NEWS_SENTIMENT_CHANGE\n\n SENTIMENT_ANALYSIS_TRIGGER\n\n GAP_AND_GO_LONG\n\n GAP_AND_GO_SHORT\n\n GAP_FADE_LONG\n\n GAP_FADE_SHORT\n\n ORB_BREAKOUT\n\n ORB_BREAKDOWN\n\n VWAP_BOUNCE\n\n VWAP_REJECTION\n\n NO_EARLY_SIGNAL\n\n NO_SIGNAL\n}\n\nenum TradeStrategy {\n TECHNICAL_ANALYSIS\n\n TREND_FOLLOWING\n\n MEAN_REVERSION\n\n MOMENTUM_STRATEGY\n\n NEWS_BASED_STRATEGY\n\n SCALPING\n\n VOLATILITY_TRADING\n\n EVENT_DRIVEN\n\n BREAKOUT_STRATEGY\n\n ORDER_FLOW_TRADING\n\n NO_STRATEGY\n}\n\nenum TradeStatus {\n PENDING\n\n OPEN\n\n PARTIAL\n\n COMPLETED\n\n CANCELED\n}\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\n";
1
+ export declare const TradeTypeString = "\n// Your response should adhere to the following type definition for the \"Trade\" 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 Trade = {\n // Quantity of the asset being traded.\n qty: number;\n // Price at which the asset was traded.\n price: number;\n // Total value of the trade (qty * price).\n total: number;\n // Signal that triggered the trade.\n signal: TradeSignal;\n // Strategy used to execute the trade.\n strategy: TradeStrategy;\n // summary of the trade decision (this should be a short description of the trade).\n summary: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Current status of the trade.\n status: TradeStatus;\n // The symbol of the asset associated with this trade.\n symbol: string;\n // List of actions associated with this trade.\n actions: {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n }[];\n};\n\nenum TradeSignal {\n GOLDEN_CROSS\n\n DEATH_CROSS\n\n MOVING_AVERAGE_CROSSOVER\n\n RSI_OVERBOUGHT\n\n RSI_OVERSOLD\n\n MACD_CROSSOVER\n\n BOLLINGER_BANDS_BREAKOUT\n\n TREND_REVERSAL\n\n PRICE_ACTION\n\n IMPLIED_VOLATILITY_SURGE\n\n BREAKOUT_ABOVE_RESISTANCE\n\n BREAKDOWN_BELOW_SUPPORT\n\n SUPPORT_LEVEL_HOLD\n\n RESISTANCE_LEVEL_HOLD\n\n FIBONACCI_RETRACEMENT\n\n STOCHASTIC_OVERSOLD\n\n STOCHASTIC_OVERBOUGHT\n\n PIVOT_POINT\n\n VOLUME_SURGE\n\n MEAN_REVERSION_LEVEL\n\n NEWS_SENTIMENT_CHANGE\n\n SENTIMENT_ANALYSIS_TRIGGER\n\n GAP_AND_GO_LONG\n\n GAP_AND_GO_SHORT\n\n GAP_FADE_LONG\n\n GAP_FADE_SHORT\n\n ORB_BREAKOUT\n\n ORB_BREAKDOWN\n\n VWAP_BOUNCE\n\n VWAP_REJECTION\n\n NO_EARLY_SIGNAL\n\n NO_SIGNAL\n}\n\nenum TradeStrategy {\n TECHNICAL_ANALYSIS\n\n TREND_FOLLOWING\n\n MEAN_REVERSION\n\n MOMENTUM_STRATEGY\n\n NEWS_BASED_STRATEGY\n\n SCALPING\n\n VOLATILITY_TRADING\n\n EVENT_DRIVEN\n\n BREAKOUT_STRATEGY\n\n ORDER_FLOW_TRADING\n\n NO_STRATEGY\n}\n\nenum TradeStatus {\n PENDING\n\n OPEN\n\n PARTIAL\n\n COMPLETED\n\n CANCELED\n}\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n PENDING\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\n";
2
2
  //# sourceMappingURL=Trade.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Trade.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,o/EAoK3B,CAAC"}
1
+ {"version":3,"file":"Trade.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,igFAsK3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Trade.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoK9B,CAAC"}
1
+ {"version":3,"file":"Trade.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsK9B,CAAC"}
@@ -8,8 +8,8 @@ export declare const typeStrings: {
8
8
  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";
9
9
  readonly customer: "\n// Your response should adhere to the following type definition for the \"Customer\" 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 Customer = {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n }[];\n};\n\nenum SubscriptionPlan {\n FREE\n\n PRO\n\n INSTITUTION\n}\n\n";
10
10
  readonly asset: "\n// Your response should adhere to the following type definition for the \"Asset\" 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 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\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";
11
- readonly trade: "\n// Your response should adhere to the following type definition for the \"Trade\" 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 Trade = {\n // Quantity of the asset being traded.\n qty: number;\n // Price at which the asset was traded.\n price: number;\n // Total value of the trade (qty * price).\n total: number;\n // Signal that triggered the trade.\n signal: TradeSignal;\n // Strategy used to execute the trade.\n strategy: TradeStrategy;\n // summary of the trade decision (this should be a short description of the trade).\n summary: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Current status of the trade.\n status: TradeStatus;\n // The symbol of the asset associated with this trade.\n symbol: string;\n // List of actions associated with this trade.\n actions: {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n }[];\n};\n\nenum TradeSignal {\n GOLDEN_CROSS\n\n DEATH_CROSS\n\n MOVING_AVERAGE_CROSSOVER\n\n RSI_OVERBOUGHT\n\n RSI_OVERSOLD\n\n MACD_CROSSOVER\n\n BOLLINGER_BANDS_BREAKOUT\n\n TREND_REVERSAL\n\n PRICE_ACTION\n\n IMPLIED_VOLATILITY_SURGE\n\n BREAKOUT_ABOVE_RESISTANCE\n\n BREAKDOWN_BELOW_SUPPORT\n\n SUPPORT_LEVEL_HOLD\n\n RESISTANCE_LEVEL_HOLD\n\n FIBONACCI_RETRACEMENT\n\n STOCHASTIC_OVERSOLD\n\n STOCHASTIC_OVERBOUGHT\n\n PIVOT_POINT\n\n VOLUME_SURGE\n\n MEAN_REVERSION_LEVEL\n\n NEWS_SENTIMENT_CHANGE\n\n SENTIMENT_ANALYSIS_TRIGGER\n\n GAP_AND_GO_LONG\n\n GAP_AND_GO_SHORT\n\n GAP_FADE_LONG\n\n GAP_FADE_SHORT\n\n ORB_BREAKOUT\n\n ORB_BREAKDOWN\n\n VWAP_BOUNCE\n\n VWAP_REJECTION\n\n NO_EARLY_SIGNAL\n\n NO_SIGNAL\n}\n\nenum TradeStrategy {\n TECHNICAL_ANALYSIS\n\n TREND_FOLLOWING\n\n MEAN_REVERSION\n\n MOMENTUM_STRATEGY\n\n NEWS_BASED_STRATEGY\n\n SCALPING\n\n VOLATILITY_TRADING\n\n EVENT_DRIVEN\n\n BREAKOUT_STRATEGY\n\n ORDER_FLOW_TRADING\n\n NO_STRATEGY\n}\n\nenum TradeStatus {\n PENDING\n\n OPEN\n\n PARTIAL\n\n COMPLETED\n\n CANCELED\n}\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\n";
12
- readonly action: "\n// Your response should adhere to the following type definition for the \"Action\" 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 Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Whether the action is the primary action for the trade.\n primary: boolean;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n};\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\n";
11
+ readonly trade: "\n// Your response should adhere to the following type definition for the \"Trade\" 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 Trade = {\n // Quantity of the asset being traded.\n qty: number;\n // Price at which the asset was traded.\n price: number;\n // Total value of the trade (qty * price).\n total: number;\n // Signal that triggered the trade.\n signal: TradeSignal;\n // Strategy used to execute the trade.\n strategy: TradeStrategy;\n // summary of the trade decision (this should be a short description of the trade).\n summary: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Current status of the trade.\n status: TradeStatus;\n // The symbol of the asset associated with this trade.\n symbol: string;\n // List of actions associated with this trade.\n actions: {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n }[];\n};\n\nenum TradeSignal {\n GOLDEN_CROSS\n\n DEATH_CROSS\n\n MOVING_AVERAGE_CROSSOVER\n\n RSI_OVERBOUGHT\n\n RSI_OVERSOLD\n\n MACD_CROSSOVER\n\n BOLLINGER_BANDS_BREAKOUT\n\n TREND_REVERSAL\n\n PRICE_ACTION\n\n IMPLIED_VOLATILITY_SURGE\n\n BREAKOUT_ABOVE_RESISTANCE\n\n BREAKDOWN_BELOW_SUPPORT\n\n SUPPORT_LEVEL_HOLD\n\n RESISTANCE_LEVEL_HOLD\n\n FIBONACCI_RETRACEMENT\n\n STOCHASTIC_OVERSOLD\n\n STOCHASTIC_OVERBOUGHT\n\n PIVOT_POINT\n\n VOLUME_SURGE\n\n MEAN_REVERSION_LEVEL\n\n NEWS_SENTIMENT_CHANGE\n\n SENTIMENT_ANALYSIS_TRIGGER\n\n GAP_AND_GO_LONG\n\n GAP_AND_GO_SHORT\n\n GAP_FADE_LONG\n\n GAP_FADE_SHORT\n\n ORB_BREAKOUT\n\n ORB_BREAKDOWN\n\n VWAP_BOUNCE\n\n VWAP_REJECTION\n\n NO_EARLY_SIGNAL\n\n NO_SIGNAL\n}\n\nenum TradeStrategy {\n TECHNICAL_ANALYSIS\n\n TREND_FOLLOWING\n\n MEAN_REVERSION\n\n MOMENTUM_STRATEGY\n\n NEWS_BASED_STRATEGY\n\n SCALPING\n\n VOLATILITY_TRADING\n\n EVENT_DRIVEN\n\n BREAKOUT_STRATEGY\n\n ORDER_FLOW_TRADING\n\n NO_STRATEGY\n}\n\nenum TradeStatus {\n PENDING\n\n OPEN\n\n PARTIAL\n\n COMPLETED\n\n CANCELED\n}\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n PENDING\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\n";
12
+ readonly action: "\n// Your response should adhere to the following type definition for the \"Action\" 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 Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Whether the action is the primary action for the trade.\n primary: boolean;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n};\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n PENDING\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\n";
13
13
  readonly alert: "\n// Your response should adhere to the following type definition for the \"Alert\" 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 Alert = {\n // Message content of the alert.\n message: string;\n // Type of the alert, defined by AlertType enum.\n type: AlertType;\n // Indicates whether the alert has been read by the user.\n isRead: boolean;\n};\n\nenum AlertType {\n SUCCESS\n\n WARNING\n\n ERROR\n\n INFO\n}\n\n";
14
14
  readonly newsArticle: "\n// Your response should adhere to the following type definition for the \"NewsArticle\" 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 NewsArticle = {\n // Title of the news article.\n title: string;\n // Full content of the news article.\n content?: string;\n // Source of the news article (e.g., Bloomberg, Reuters).\n source: string;\n // Domain of the source website.\n sourceDomain?: string;\n // URL to the original news article, must be unique.\n url: string;\n // Sentiment analysis result of the article.\n sentiment: string;\n // List of authors who wrote the article.\n authors: string[];\n // Summary or abstract of the news article.\n summary?: string;\n // URL to the banner image of the article.\n bannerImage?: string;\n // Publication time of the article.\n timePublished: string;\n // Category or genre of the news article.\n category?: string;\n // Topics covered in the news article.\n topics: string[];\n // URL to the logo image of the news source.\n logo?: string;\n};\n\n";
15
15
  readonly newsArticleAssetSentiment: "\n// Your response should adhere to the following type definition for the \"NewsArticleAssetSentiment\" 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 NewsArticleAssetSentiment = {\n // URL of the news article, must be unique.\n url: 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 // Relevancy score indicating how relevant the news is to the asset.\n relevancyScore?: string;\n // Sentiment score derived from the news content.\n sentimentScore?: string;\n // Label indicating the overall sentiment (e.g., Positive, Negative, Neutral).\n sentimentLabel?: string;\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";
@@ -720,7 +720,7 @@ const modelsInfo = {
720
720
  Customer: ["id", "authUserId", "name", "plan", "stripeCustomerId", "stripeSubscriptionId", "stripePriceId", "stripeCurrentPeriodEnd", "createdAt", "updatedAt"],
721
721
  Asset: ["id", "symbol", "name", "type", "logoUrl", "description", "cik", "exchange", "currency", "country", "sector", "industry", "address", "officialSite", "fiscalYearEnd", "latestQuarter", "marketCapitalization", "ebitda", "peRatio", "pegRatio", "bookValue", "dividendPerShare", "dividendYield", "eps", "revenuePerShareTTM", "profitMargin", "operatingMarginTTM", "returnOnAssetsTTM", "returnOnEquityTTM", "revenueTTM", "grossProfitTTM", "dilutedEPSTTM", "quarterlyEarningsGrowthYOY", "quarterlyRevenueGrowthYOY", "analystTargetPrice", "analystRatingStrongBuy", "analystRatingBuy", "analystRatingHold", "analystRatingSell", "analystRatingStrongSell", "trailingPE", "forwardPE", "priceToSalesRatioTTM", "priceToBookRatio", "evToRevenue", "evToEbitda", "beta", "week52High", "week52Low", "day50MovingAverage", "day200MovingAverage", "sharesOutstanding", "dividendDate", "exDividendDate", "askPrice", "bidPrice", "createdAt", "updatedAt"],
722
722
  Trade: ["id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol"],
723
- Action: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt"],
723
+ Action: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
724
724
  Alert: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt"],
725
725
  NewsArticle: ["id", "title", "content", "source", "sourceDomain", "url", "sentiment", "authors", "summary", "bannerImage", "timePublished", "category", "topics", "logo", "createdAt", "updatedAt"],
726
726
  NewsArticleAssetSentiment: ["id", "assetId", "newsArticleId", "url", "relevancyScore", "sentimentScore", "sentimentLabel"],
@@ -758,7 +758,7 @@ const outputsInfo = {
758
758
  AggregateTrade: ["_count", "_avg", "_sum", "_min", "_max"],
759
759
  TradeGroupBy: ["id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol", "_count", "_avg", "_sum", "_min", "_max"],
760
760
  AggregateAction: ["_count", "_avg", "_sum", "_min", "_max"],
761
- ActionGroupBy: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "_count", "_avg", "_sum", "_min", "_max"],
761
+ ActionGroupBy: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "_count", "_avg", "_sum", "_min", "_max"],
762
762
  AggregateAlert: ["_count", "_min", "_max"],
763
763
  AlertGroupBy: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt", "_count", "_min", "_max"],
764
764
  AggregateNewsArticle: ["_count", "_min", "_max"],
@@ -819,11 +819,11 @@ const outputsInfo = {
819
819
  TradeSumAggregate: ["qty", "price", "total", "confidence"],
820
820
  TradeMinAggregate: ["id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol"],
821
821
  TradeMaxAggregate: ["id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol"],
822
- ActionCountAggregate: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "_all"],
822
+ ActionCountAggregate: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "_all"],
823
823
  ActionAvgAggregate: ["sequence"],
824
824
  ActionSumAggregate: ["sequence"],
825
- ActionMinAggregate: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt"],
826
- ActionMaxAggregate: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt"],
825
+ ActionMinAggregate: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
826
+ ActionMaxAggregate: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
827
827
  AlertCountAggregate: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt", "_all"],
828
828
  AlertMinAggregate: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt"],
829
829
  AlertMaxAggregate: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt"],
@@ -850,7 +850,7 @@ const outputsInfo = {
850
850
  CreateManyAndReturnCustomer: ["id", "authUserId", "name", "plan", "stripeCustomerId", "stripeSubscriptionId", "stripePriceId", "stripeCurrentPeriodEnd", "createdAt", "updatedAt"],
851
851
  CreateManyAndReturnAsset: ["id", "symbol", "name", "type", "logoUrl", "description", "cik", "exchange", "currency", "country", "sector", "industry", "address", "officialSite", "fiscalYearEnd", "latestQuarter", "marketCapitalization", "ebitda", "peRatio", "pegRatio", "bookValue", "dividendPerShare", "dividendYield", "eps", "revenuePerShareTTM", "profitMargin", "operatingMarginTTM", "returnOnAssetsTTM", "returnOnEquityTTM", "revenueTTM", "grossProfitTTM", "dilutedEPSTTM", "quarterlyEarningsGrowthYOY", "quarterlyRevenueGrowthYOY", "analystTargetPrice", "analystRatingStrongBuy", "analystRatingBuy", "analystRatingHold", "analystRatingSell", "analystRatingStrongSell", "trailingPE", "forwardPE", "priceToSalesRatioTTM", "priceToBookRatio", "evToRevenue", "evToEbitda", "beta", "week52High", "week52Low", "day50MovingAverage", "day200MovingAverage", "sharesOutstanding", "dividendDate", "exDividendDate", "askPrice", "bidPrice", "createdAt", "updatedAt"],
852
852
  CreateManyAndReturnTrade: ["id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol"],
853
- CreateManyAndReturnAction: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "trade"],
853
+ CreateManyAndReturnAction: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "trade"],
854
854
  CreateManyAndReturnAlert: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt", "alpacaAccount"],
855
855
  CreateManyAndReturnNewsArticle: ["id", "title", "content", "source", "sourceDomain", "url", "sentiment", "authors", "summary", "bannerImage", "timePublished", "category", "topics", "logo", "createdAt", "updatedAt"],
856
856
  CreateManyAndReturnNewsArticleAssetSentiment: ["id", "assetId", "newsArticleId", "url", "relevancyScore", "sentimentScore", "sentimentLabel", "news", "asset"],
@@ -917,11 +917,11 @@ const inputsInfo = {
917
917
  TradeWhereUniqueInput: ["id", "AND", "OR", "NOT", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol", "actions"],
918
918
  TradeOrderByWithAggregationInput: ["id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol", "_count", "_avg", "_max", "_min", "_sum"],
919
919
  TradeScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol"],
920
- ActionWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "trade"],
921
- ActionOrderByWithRelationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "trade"],
922
- ActionWhereUniqueInput: ["id", "AND", "OR", "NOT", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "trade"],
923
- ActionOrderByWithAggregationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "_count", "_avg", "_max", "_min", "_sum"],
924
- ActionScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt"],
920
+ ActionWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "trade"],
921
+ ActionOrderByWithRelationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "trade"],
922
+ ActionWhereUniqueInput: ["id", "AND", "OR", "NOT", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "trade"],
923
+ ActionOrderByWithAggregationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "_count", "_avg", "_max", "_min", "_sum"],
924
+ ActionScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
925
925
  AlertWhereInput: ["AND", "OR", "NOT", "id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt", "alpacaAccount"],
926
926
  AlertOrderByWithRelationInput: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt", "alpacaAccount"],
927
927
  AlertWhereUniqueInput: ["id", "AND", "OR", "NOT", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt", "alpacaAccount"],
@@ -987,10 +987,10 @@ const inputsInfo = {
987
987
  TradeUpdateInput: ["id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol", "actions"],
988
988
  TradeCreateManyInput: ["id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol"],
989
989
  TradeUpdateManyMutationInput: ["id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol"],
990
- ActionCreateInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt", "trade"],
991
- ActionUpdateInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt", "trade"],
992
- ActionCreateManyInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt"],
993
- ActionUpdateManyMutationInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt"],
990
+ ActionCreateInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "trade"],
991
+ ActionUpdateInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "trade"],
992
+ ActionCreateManyInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
993
+ ActionUpdateManyMutationInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
994
994
  AlertCreateInput: ["id", "message", "type", "isRead", "createdAt", "updatedAt", "alpacaAccount"],
995
995
  AlertUpdateInput: ["id", "message", "type", "isRead", "createdAt", "updatedAt", "alpacaAccount"],
996
996
  AlertCreateManyInput: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt"],
@@ -1119,10 +1119,10 @@ const inputsInfo = {
1119
1119
  EnumActionTypeFilter: ["equals", "in", "notIn", "not"],
1120
1120
  EnumActionStatusFilter: ["equals", "in", "notIn", "not"],
1121
1121
  TradeRelationFilter: ["is", "isNot"],
1122
- ActionCountOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt"],
1122
+ ActionCountOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
1123
1123
  ActionAvgOrderByAggregateInput: ["sequence"],
1124
- ActionMaxOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt"],
1125
- ActionMinOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt"],
1124
+ ActionMaxOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
1125
+ ActionMinOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
1126
1126
  ActionSumOrderByAggregateInput: ["sequence"],
1127
1127
  EnumActionTypeWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
1128
1128
  EnumActionStatusWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
@@ -1344,13 +1344,13 @@ const inputsInfo = {
1344
1344
  NewsArticleAssetSentimentUpdateWithWhereUniqueWithoutAssetInput: ["where", "data"],
1345
1345
  NewsArticleAssetSentimentUpdateManyWithWhereWithoutAssetInput: ["where", "data"],
1346
1346
  NewsArticleAssetSentimentScalarWhereInput: ["AND", "OR", "NOT", "id", "assetId", "newsArticleId", "url", "relevancyScore", "sentimentScore", "sentimentLabel"],
1347
- ActionCreateWithoutTradeInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt"],
1347
+ ActionCreateWithoutTradeInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
1348
1348
  ActionCreateOrConnectWithoutTradeInput: ["where", "create"],
1349
1349
  ActionCreateManyTradeInputEnvelope: ["data", "skipDuplicates"],
1350
1350
  ActionUpsertWithWhereUniqueWithoutTradeInput: ["where", "update", "create"],
1351
1351
  ActionUpdateWithWhereUniqueWithoutTradeInput: ["where", "data"],
1352
1352
  ActionUpdateManyWithWhereWithoutTradeInput: ["where", "data"],
1353
- ActionScalarWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt"],
1353
+ ActionScalarWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
1354
1354
  TradeCreateWithoutActionsInput: ["id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol"],
1355
1355
  TradeCreateOrConnectWithoutActionsInput: ["where", "create"],
1356
1356
  TradeUpsertWithoutActionsInput: ["update", "create", "where"],
@@ -1391,8 +1391,8 @@ const inputsInfo = {
1391
1391
  UserUpdateWithoutCustomerInput: ["id", "name", "email", "emailVerified", "image", "createdAt", "updatedAt", "role", "bio", "jobTitle", "currentAccount", "plan", "openaiAPIKey", "openaiModel", "accounts", "sessions", "authenticators", "alpacaAccounts"],
1392
1392
  NewsArticleAssetSentimentCreateManyAssetInput: ["id", "newsArticleId", "url", "relevancyScore", "sentimentScore", "sentimentLabel"],
1393
1393
  NewsArticleAssetSentimentUpdateWithoutAssetInput: ["id", "url", "relevancyScore", "sentimentScore", "sentimentLabel", "news"],
1394
- ActionCreateManyTradeInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt"],
1395
- ActionUpdateWithoutTradeInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt"],
1394
+ ActionCreateManyTradeInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
1395
+ ActionUpdateWithoutTradeInput: ["id", "sequence", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
1396
1396
  NewsArticleAssetSentimentCreateManyNewsInput: ["id", "assetId", "url", "relevancyScore", "sentimentScore", "sentimentLabel"],
1397
1397
  NewsArticleAssetSentimentUpdateWithoutNewsInput: ["id", "url", "relevancyScore", "sentimentScore", "sentimentLabel", "asset"]
1398
1398
  };