adaptic-backend 1.0.69 → 1.0.70

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 (626) hide show
  1. package/Account.cjs +90 -36
  2. package/Action.cjs +215 -71
  3. package/Alert.cjs +249 -81
  4. package/AlpacaAccount.cjs +215 -71
  5. package/Asset.cjs +215 -71
  6. package/Authenticator.cjs +90 -36
  7. package/Customer.cjs +90 -36
  8. package/NewsArticle.cjs +90 -36
  9. package/NewsArticleAssetSentiment.cjs +249 -81
  10. package/Order.cjs +205 -67
  11. package/Position.cjs +408 -126
  12. package/README.md +1 -0
  13. package/Session.cjs +90 -36
  14. package/Trade.cjs +567 -171
  15. package/User.cjs +249 -81
  16. package/generated/typeStrings/Account.cjs +51 -19
  17. package/generated/typeStrings/Account.d.ts +1 -1
  18. package/generated/typeStrings/Account.d.ts.map +1 -1
  19. package/generated/typeStrings/Account.js.map +1 -1
  20. package/generated/typeStrings/Action.cjs +51 -19
  21. package/generated/typeStrings/Action.d.ts +1 -1
  22. package/generated/typeStrings/Action.d.ts.map +1 -1
  23. package/generated/typeStrings/Action.js.map +1 -1
  24. package/generated/typeStrings/AlpacaAccount.cjs +51 -19
  25. package/generated/typeStrings/AlpacaAccount.d.ts +1 -1
  26. package/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
  27. package/generated/typeStrings/AlpacaAccount.js.map +1 -1
  28. package/generated/typeStrings/Asset.cjs +51 -19
  29. package/generated/typeStrings/Asset.d.ts +1 -1
  30. package/generated/typeStrings/Asset.d.ts.map +1 -1
  31. package/generated/typeStrings/Asset.js.map +1 -1
  32. package/generated/typeStrings/Authenticator.cjs +51 -19
  33. package/generated/typeStrings/Authenticator.d.ts +1 -1
  34. package/generated/typeStrings/Authenticator.d.ts.map +1 -1
  35. package/generated/typeStrings/Authenticator.js.map +1 -1
  36. package/generated/typeStrings/Customer.cjs +51 -19
  37. package/generated/typeStrings/Customer.d.ts +1 -1
  38. package/generated/typeStrings/Customer.d.ts.map +1 -1
  39. package/generated/typeStrings/Customer.js.map +1 -1
  40. package/generated/typeStrings/NewsArticle.cjs +51 -19
  41. package/generated/typeStrings/NewsArticle.d.ts +1 -1
  42. package/generated/typeStrings/NewsArticle.d.ts.map +1 -1
  43. package/generated/typeStrings/NewsArticle.js.map +1 -1
  44. package/generated/typeStrings/Order.cjs +52 -20
  45. package/generated/typeStrings/Order.d.ts +1 -1
  46. package/generated/typeStrings/Order.d.ts.map +1 -1
  47. package/generated/typeStrings/Order.js.map +1 -1
  48. package/generated/typeStrings/Session.cjs +51 -19
  49. package/generated/typeStrings/Session.d.ts +1 -1
  50. package/generated/typeStrings/Session.d.ts.map +1 -1
  51. package/generated/typeStrings/Session.js.map +1 -1
  52. package/generated/typeStrings/Trade.cjs +51 -19
  53. package/generated/typeStrings/Trade.d.ts +1 -1
  54. package/generated/typeStrings/Trade.d.ts.map +1 -1
  55. package/generated/typeStrings/Trade.js.map +1 -1
  56. package/generated/typeStrings/enums.cjs +16 -3
  57. package/generated/typeStrings/enums.d.ts +15 -4
  58. package/generated/typeStrings/enums.d.ts.map +1 -1
  59. package/generated/typeStrings/enums.js.map +1 -1
  60. package/generated/typeStrings/index.d.ts +10 -10
  61. package/generated/typegraphql-prisma/enhance.cjs +46 -36
  62. package/generated/typegraphql-prisma/enhance.d.ts.map +1 -1
  63. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  64. package/generated/typegraphql-prisma/enums/OrderScalarFieldEnum.cjs +15 -6
  65. package/generated/typegraphql-prisma/enums/OrderScalarFieldEnum.d.ts +15 -6
  66. package/generated/typegraphql-prisma/enums/OrderScalarFieldEnum.d.ts.map +1 -1
  67. package/generated/typegraphql-prisma/enums/OrderScalarFieldEnum.js.map +1 -1
  68. package/generated/typegraphql-prisma/enums/OrderStatus.cjs +4 -2
  69. package/generated/typegraphql-prisma/enums/OrderStatus.d.ts +5 -3
  70. package/generated/typegraphql-prisma/enums/OrderStatus.d.ts.map +1 -1
  71. package/generated/typegraphql-prisma/enums/OrderStatus.js.map +1 -1
  72. package/generated/typegraphql-prisma/enums/OrderType.cjs +1 -0
  73. package/generated/typegraphql-prisma/enums/OrderType.d.ts +2 -1
  74. package/generated/typegraphql-prisma/enums/OrderType.d.ts.map +1 -1
  75. package/generated/typegraphql-prisma/enums/OrderType.js.map +1 -1
  76. package/generated/typegraphql-prisma/enums/TimeInForce.cjs +42 -0
  77. package/generated/typegraphql-prisma/enums/TimeInForce.d.ts +10 -0
  78. package/generated/typegraphql-prisma/enums/TimeInForce.d.ts.map +1 -0
  79. package/generated/typegraphql-prisma/enums/TimeInForce.js.map +1 -0
  80. package/generated/typegraphql-prisma/enums/index.cjs +3 -1
  81. package/generated/typegraphql-prisma/enums/index.d.ts +1 -0
  82. package/generated/typegraphql-prisma/enums/index.d.ts.map +1 -1
  83. package/generated/typegraphql-prisma/enums/index.js.map +1 -1
  84. package/generated/typegraphql-prisma/models/Order.cjs +84 -19
  85. package/generated/typegraphql-prisma/models/Order.d.ts +52 -13
  86. package/generated/typegraphql-prisma/models/Order.d.ts.map +1 -1
  87. package/generated/typegraphql-prisma/models/Order.js.map +1 -1
  88. package/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderArgs.d.ts +1 -1
  89. package/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderArgs.d.ts.map +1 -1
  90. package/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderArgs.js.map +1 -1
  91. package/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderOrThrowArgs.d.ts +1 -1
  92. package/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderOrThrowArgs.d.ts.map +1 -1
  93. package/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderOrThrowArgs.js.map +1 -1
  94. package/generated/typegraphql-prisma/resolvers/crud/Order/args/FindManyOrderArgs.d.ts +1 -1
  95. package/generated/typegraphql-prisma/resolvers/crud/Order/args/FindManyOrderArgs.d.ts.map +1 -1
  96. package/generated/typegraphql-prisma/resolvers/crud/Order/args/FindManyOrderArgs.js.map +1 -1
  97. package/generated/typegraphql-prisma/resolvers/crud/Order/args/GroupByOrderArgs.d.ts +1 -1
  98. package/generated/typegraphql-prisma/resolvers/crud/Order/args/GroupByOrderArgs.d.ts.map +1 -1
  99. package/generated/typegraphql-prisma/resolvers/crud/Order/args/GroupByOrderArgs.js.map +1 -1
  100. package/generated/typegraphql-prisma/resolvers/inputs/BoolNullableFilter.cjs +56 -0
  101. package/generated/typegraphql-prisma/resolvers/inputs/BoolNullableFilter.d.ts +6 -0
  102. package/generated/typegraphql-prisma/resolvers/inputs/BoolNullableFilter.d.ts.map +1 -0
  103. package/generated/typegraphql-prisma/resolvers/inputs/BoolNullableFilter.js.map +1 -0
  104. package/generated/typegraphql-prisma/resolvers/inputs/BoolNullableWithAggregatesFilter.cjs +76 -0
  105. package/generated/typegraphql-prisma/resolvers/inputs/BoolNullableWithAggregatesFilter.d.ts +11 -0
  106. package/generated/typegraphql-prisma/resolvers/inputs/BoolNullableWithAggregatesFilter.d.ts.map +1 -0
  107. package/generated/typegraphql-prisma/resolvers/inputs/BoolNullableWithAggregatesFilter.js.map +1 -0
  108. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFieldUpdateOperationsInput.d.ts +1 -1
  109. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFieldUpdateOperationsInput.d.ts.map +1 -1
  110. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFieldUpdateOperationsInput.js.map +1 -1
  111. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFilter.d.ts +3 -3
  112. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFilter.d.ts.map +1 -1
  113. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFilter.js.map +1 -1
  114. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusWithAggregatesFilter.d.ts +3 -3
  115. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusWithAggregatesFilter.d.ts.map +1 -1
  116. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusWithAggregatesFilter.js.map +1 -1
  117. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFieldUpdateOperationsInput.d.ts +1 -1
  118. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFieldUpdateOperationsInput.d.ts.map +1 -1
  119. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFieldUpdateOperationsInput.js.map +1 -1
  120. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFilter.d.ts +3 -3
  121. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFilter.d.ts.map +1 -1
  122. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFilter.js.map +1 -1
  123. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeWithAggregatesFilter.d.ts +3 -3
  124. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeWithAggregatesFilter.d.ts.map +1 -1
  125. package/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeWithAggregatesFilter.js.map +1 -1
  126. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFieldUpdateOperationsInput.cjs +50 -0
  127. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFieldUpdateOperationsInput.d.ts +4 -0
  128. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFieldUpdateOperationsInput.d.ts.map +1 -0
  129. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFieldUpdateOperationsInput.js.map +1 -0
  130. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFilter.cjs +69 -0
  131. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFilter.d.ts +8 -0
  132. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFilter.d.ts.map +1 -0
  133. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFilter.js.map +1 -0
  134. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceWithAggregatesFilter.cjs +89 -0
  135. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceWithAggregatesFilter.d.ts +13 -0
  136. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceWithAggregatesFilter.d.ts.map +1 -0
  137. package/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceWithAggregatesFilter.js.map +1 -0
  138. package/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableFilter.cjs +55 -0
  139. package/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableFilter.d.ts +5 -0
  140. package/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableFilter.d.ts.map +1 -0
  141. package/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableFilter.js.map +1 -0
  142. package/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableWithAggregatesFilter.cjs +75 -0
  143. package/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableWithAggregatesFilter.d.ts +10 -0
  144. package/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableWithAggregatesFilter.d.ts.map +1 -0
  145. package/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableWithAggregatesFilter.js.map +1 -0
  146. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusFilter.d.ts +3 -3
  147. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusFilter.d.ts.map +1 -1
  148. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusFilter.js.map +1 -1
  149. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusWithAggregatesFilter.d.ts +3 -3
  150. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusWithAggregatesFilter.d.ts.map +1 -1
  151. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusWithAggregatesFilter.js.map +1 -1
  152. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeFilter.d.ts +3 -3
  153. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeFilter.d.ts.map +1 -1
  154. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeFilter.js.map +1 -1
  155. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeWithAggregatesFilter.d.ts +3 -3
  156. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeWithAggregatesFilter.d.ts.map +1 -1
  157. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeWithAggregatesFilter.js.map +1 -1
  158. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceFilter.cjs +68 -0
  159. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceFilter.d.ts +7 -0
  160. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceFilter.d.ts.map +1 -0
  161. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceFilter.js.map +1 -0
  162. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceWithAggregatesFilter.cjs +88 -0
  163. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceWithAggregatesFilter.d.ts +12 -0
  164. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceWithAggregatesFilter.d.ts.map +1 -0
  165. package/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceWithAggregatesFilter.js.map +1 -0
  166. package/generated/typegraphql-prisma/resolvers/inputs/NullableBoolFieldUpdateOperationsInput.cjs +49 -0
  167. package/generated/typegraphql-prisma/resolvers/inputs/NullableBoolFieldUpdateOperationsInput.d.ts +4 -0
  168. package/generated/typegraphql-prisma/resolvers/inputs/NullableBoolFieldUpdateOperationsInput.d.ts.map +1 -0
  169. package/generated/typegraphql-prisma/resolvers/inputs/NullableBoolFieldUpdateOperationsInput.js.map +1 -0
  170. package/generated/typegraphql-prisma/resolvers/inputs/OrderAvgOrderByAggregateInput.cjs +26 -2
  171. package/generated/typegraphql-prisma/resolvers/inputs/OrderAvgOrderByAggregateInput.d.ts +6 -2
  172. package/generated/typegraphql-prisma/resolvers/inputs/OrderAvgOrderByAggregateInput.d.ts.map +1 -1
  173. package/generated/typegraphql-prisma/resolvers/inputs/OrderAvgOrderByAggregateInput.js.map +1 -1
  174. package/generated/typegraphql-prisma/resolvers/inputs/OrderCountOrderByAggregateInput.cjs +60 -6
  175. package/generated/typegraphql-prisma/resolvers/inputs/OrderCountOrderByAggregateInput.d.ts +15 -6
  176. package/generated/typegraphql-prisma/resolvers/inputs/OrderCountOrderByAggregateInput.d.ts.map +1 -1
  177. package/generated/typegraphql-prisma/resolvers/inputs/OrderCountOrderByAggregateInput.js.map +1 -1
  178. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateInput.cjs +65 -10
  179. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateInput.d.ts +15 -6
  180. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateInput.d.ts.map +1 -1
  181. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateInput.js.map +1 -1
  182. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAlpacaAccountInput.cjs +66 -11
  183. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAlpacaAccountInput.d.ts +16 -7
  184. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAlpacaAccountInput.d.ts.map +1 -1
  185. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAlpacaAccountInput.js.map +1 -1
  186. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAssetInput.cjs +66 -11
  187. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAssetInput.d.ts +16 -7
  188. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAssetInput.d.ts.map +1 -1
  189. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAssetInput.js.map +1 -1
  190. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyInput.cjs +66 -11
  191. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyInput.d.ts +16 -7
  192. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyInput.d.ts.map +1 -1
  193. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyInput.js.map +1 -1
  194. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutActionInput.cjs +65 -10
  195. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutActionInput.d.ts +15 -6
  196. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutActionInput.d.ts.map +1 -1
  197. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutActionInput.js.map +1 -1
  198. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAlpacaAccountInput.cjs +65 -10
  199. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAlpacaAccountInput.d.ts +15 -6
  200. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  201. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAlpacaAccountInput.js.map +1 -1
  202. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAssetInput.cjs +65 -10
  203. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAssetInput.d.ts +15 -6
  204. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAssetInput.d.ts.map +1 -1
  205. package/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAssetInput.js.map +1 -1
  206. package/generated/typegraphql-prisma/resolvers/inputs/OrderMaxOrderByAggregateInput.cjs +60 -6
  207. package/generated/typegraphql-prisma/resolvers/inputs/OrderMaxOrderByAggregateInput.d.ts +15 -6
  208. package/generated/typegraphql-prisma/resolvers/inputs/OrderMaxOrderByAggregateInput.d.ts.map +1 -1
  209. package/generated/typegraphql-prisma/resolvers/inputs/OrderMaxOrderByAggregateInput.js.map +1 -1
  210. package/generated/typegraphql-prisma/resolvers/inputs/OrderMinOrderByAggregateInput.cjs +60 -6
  211. package/generated/typegraphql-prisma/resolvers/inputs/OrderMinOrderByAggregateInput.d.ts +15 -6
  212. package/generated/typegraphql-prisma/resolvers/inputs/OrderMinOrderByAggregateInput.d.ts.map +1 -1
  213. package/generated/typegraphql-prisma/resolvers/inputs/OrderMinOrderByAggregateInput.js.map +1 -1
  214. package/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithAggregationInput.cjs +61 -7
  215. package/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithAggregationInput.d.ts +15 -6
  216. package/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithAggregationInput.d.ts.map +1 -1
  217. package/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithAggregationInput.js.map +1 -1
  218. package/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithRelationInput.cjs +61 -7
  219. package/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithRelationInput.d.ts +15 -6
  220. package/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithRelationInput.d.ts.map +1 -1
  221. package/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithRelationInput.js.map +1 -1
  222. package/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereInput.cjs +68 -11
  223. package/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereInput.d.ts +19 -7
  224. package/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereInput.d.ts.map +1 -1
  225. package/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereInput.js.map +1 -1
  226. package/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereWithAggregatesInput.cjs +68 -11
  227. package/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereWithAggregatesInput.d.ts +19 -7
  228. package/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereWithAggregatesInput.d.ts.map +1 -1
  229. package/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereWithAggregatesInput.js.map +1 -1
  230. package/generated/typegraphql-prisma/resolvers/inputs/OrderSumOrderByAggregateInput.cjs +26 -2
  231. package/generated/typegraphql-prisma/resolvers/inputs/OrderSumOrderByAggregateInput.d.ts +6 -2
  232. package/generated/typegraphql-prisma/resolvers/inputs/OrderSumOrderByAggregateInput.d.ts.map +1 -1
  233. package/generated/typegraphql-prisma/resolvers/inputs/OrderSumOrderByAggregateInput.js.map +1 -1
  234. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateInput.cjs +65 -9
  235. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateInput.d.ts +17 -6
  236. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateInput.d.ts.map +1 -1
  237. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateInput.js.map +1 -1
  238. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateManyMutationInput.cjs +65 -9
  239. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateManyMutationInput.d.ts +17 -6
  240. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateManyMutationInput.d.ts.map +1 -1
  241. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateManyMutationInput.js.map +1 -1
  242. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutActionInput.cjs +65 -9
  243. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutActionInput.d.ts +17 -6
  244. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutActionInput.d.ts.map +1 -1
  245. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutActionInput.js.map +1 -1
  246. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAlpacaAccountInput.cjs +65 -9
  247. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAlpacaAccountInput.d.ts +17 -6
  248. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  249. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAlpacaAccountInput.js.map +1 -1
  250. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAssetInput.cjs +65 -9
  251. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAssetInput.d.ts +17 -6
  252. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAssetInput.d.ts.map +1 -1
  253. package/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAssetInput.js.map +1 -1
  254. package/generated/typegraphql-prisma/resolvers/inputs/OrderWhereInput.cjs +68 -11
  255. package/generated/typegraphql-prisma/resolvers/inputs/OrderWhereInput.d.ts +19 -7
  256. package/generated/typegraphql-prisma/resolvers/inputs/OrderWhereInput.d.ts.map +1 -1
  257. package/generated/typegraphql-prisma/resolvers/inputs/OrderWhereInput.js.map +1 -1
  258. package/generated/typegraphql-prisma/resolvers/inputs/OrderWhereUniqueInput.cjs +65 -9
  259. package/generated/typegraphql-prisma/resolvers/inputs/OrderWhereUniqueInput.d.ts +17 -6
  260. package/generated/typegraphql-prisma/resolvers/inputs/OrderWhereUniqueInput.d.ts.map +1 -1
  261. package/generated/typegraphql-prisma/resolvers/inputs/OrderWhereUniqueInput.js.map +1 -1
  262. package/generated/typegraphql-prisma/resolvers/inputs/index.cjs +30 -9
  263. package/generated/typegraphql-prisma/resolvers/inputs/index.d.ts +10 -0
  264. package/generated/typegraphql-prisma/resolvers/inputs/index.d.ts.map +1 -1
  265. package/generated/typegraphql-prisma/resolvers/inputs/index.js.map +1 -1
  266. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyOrderAndReturnOutputType.cjs +66 -11
  267. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyOrderAndReturnOutputType.d.ts +16 -7
  268. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyOrderAndReturnOutputType.d.ts.map +1 -1
  269. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyOrderAndReturnOutputType.js.map +1 -1
  270. package/generated/typegraphql-prisma/resolvers/outputs/OrderAvgAggregate.cjs +26 -2
  271. package/generated/typegraphql-prisma/resolvers/outputs/OrderAvgAggregate.d.ts +6 -2
  272. package/generated/typegraphql-prisma/resolvers/outputs/OrderAvgAggregate.d.ts.map +1 -1
  273. package/generated/typegraphql-prisma/resolvers/outputs/OrderAvgAggregate.js.map +1 -1
  274. package/generated/typegraphql-prisma/resolvers/outputs/OrderCountAggregate.cjs +60 -6
  275. package/generated/typegraphql-prisma/resolvers/outputs/OrderCountAggregate.d.ts +15 -6
  276. package/generated/typegraphql-prisma/resolvers/outputs/OrderCountAggregate.d.ts.map +1 -1
  277. package/generated/typegraphql-prisma/resolvers/outputs/OrderCountAggregate.js.map +1 -1
  278. package/generated/typegraphql-prisma/resolvers/outputs/OrderGroupBy.cjs +66 -11
  279. package/generated/typegraphql-prisma/resolvers/outputs/OrderGroupBy.d.ts +16 -7
  280. package/generated/typegraphql-prisma/resolvers/outputs/OrderGroupBy.d.ts.map +1 -1
  281. package/generated/typegraphql-prisma/resolvers/outputs/OrderGroupBy.js.map +1 -1
  282. package/generated/typegraphql-prisma/resolvers/outputs/OrderMaxAggregate.cjs +62 -7
  283. package/generated/typegraphql-prisma/resolvers/outputs/OrderMaxAggregate.d.ts +16 -7
  284. package/generated/typegraphql-prisma/resolvers/outputs/OrderMaxAggregate.d.ts.map +1 -1
  285. package/generated/typegraphql-prisma/resolvers/outputs/OrderMaxAggregate.js.map +1 -1
  286. package/generated/typegraphql-prisma/resolvers/outputs/OrderMinAggregate.cjs +62 -7
  287. package/generated/typegraphql-prisma/resolvers/outputs/OrderMinAggregate.d.ts +16 -7
  288. package/generated/typegraphql-prisma/resolvers/outputs/OrderMinAggregate.d.ts.map +1 -1
  289. package/generated/typegraphql-prisma/resolvers/outputs/OrderMinAggregate.js.map +1 -1
  290. package/generated/typegraphql-prisma/resolvers/outputs/OrderSumAggregate.cjs +26 -2
  291. package/generated/typegraphql-prisma/resolvers/outputs/OrderSumAggregate.d.ts +6 -2
  292. package/generated/typegraphql-prisma/resolvers/outputs/OrderSumAggregate.d.ts.map +1 -1
  293. package/generated/typegraphql-prisma/resolvers/outputs/OrderSumAggregate.js.map +1 -1
  294. package/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountOrdersArgs.d.ts +1 -1
  295. package/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountOrdersArgs.d.ts.map +1 -1
  296. package/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountOrdersArgs.js.map +1 -1
  297. package/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetOrdersArgs.d.ts +1 -1
  298. package/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetOrdersArgs.d.ts.map +1 -1
  299. package/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetOrdersArgs.js.map +1 -1
  300. package/package.json +1 -1
  301. package/server/Account.d.ts.map +1 -1
  302. package/server/Account.js.map +1 -1
  303. package/server/Account.mjs +90 -36
  304. package/server/Action.d.ts.map +1 -1
  305. package/server/Action.js.map +1 -1
  306. package/server/Action.mjs +215 -71
  307. package/server/Alert.d.ts.map +1 -1
  308. package/server/Alert.js.map +1 -1
  309. package/server/Alert.mjs +249 -81
  310. package/server/AlpacaAccount.d.ts.map +1 -1
  311. package/server/AlpacaAccount.js.map +1 -1
  312. package/server/AlpacaAccount.mjs +215 -71
  313. package/server/Asset.d.ts.map +1 -1
  314. package/server/Asset.js.map +1 -1
  315. package/server/Asset.mjs +215 -71
  316. package/server/Authenticator.d.ts.map +1 -1
  317. package/server/Authenticator.js.map +1 -1
  318. package/server/Authenticator.mjs +90 -36
  319. package/server/Customer.d.ts.map +1 -1
  320. package/server/Customer.js.map +1 -1
  321. package/server/Customer.mjs +90 -36
  322. package/server/NewsArticle.d.ts.map +1 -1
  323. package/server/NewsArticle.js.map +1 -1
  324. package/server/NewsArticle.mjs +90 -36
  325. package/server/NewsArticleAssetSentiment.d.ts.map +1 -1
  326. package/server/NewsArticleAssetSentiment.js.map +1 -1
  327. package/server/NewsArticleAssetSentiment.mjs +249 -81
  328. package/server/Order.d.ts.map +1 -1
  329. package/server/Order.js.map +1 -1
  330. package/server/Order.mjs +205 -67
  331. package/server/Position.d.ts.map +1 -1
  332. package/server/Position.js.map +1 -1
  333. package/server/Position.mjs +408 -126
  334. package/server/Session.d.ts.map +1 -1
  335. package/server/Session.js.map +1 -1
  336. package/server/Session.mjs +90 -36
  337. package/server/Trade.d.ts.map +1 -1
  338. package/server/Trade.js.map +1 -1
  339. package/server/Trade.mjs +567 -171
  340. package/server/User.d.ts.map +1 -1
  341. package/server/User.js.map +1 -1
  342. package/server/User.mjs +249 -81
  343. package/server/generated/typeStrings/Account.d.ts +1 -1
  344. package/server/generated/typeStrings/Account.d.ts.map +1 -1
  345. package/server/generated/typeStrings/Account.js.map +1 -1
  346. package/server/generated/typeStrings/Account.mjs +51 -19
  347. package/server/generated/typeStrings/Action.d.ts +1 -1
  348. package/server/generated/typeStrings/Action.d.ts.map +1 -1
  349. package/server/generated/typeStrings/Action.js.map +1 -1
  350. package/server/generated/typeStrings/Action.mjs +51 -19
  351. package/server/generated/typeStrings/AlpacaAccount.d.ts +1 -1
  352. package/server/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
  353. package/server/generated/typeStrings/AlpacaAccount.js.map +1 -1
  354. package/server/generated/typeStrings/AlpacaAccount.mjs +51 -19
  355. package/server/generated/typeStrings/Asset.d.ts +1 -1
  356. package/server/generated/typeStrings/Asset.d.ts.map +1 -1
  357. package/server/generated/typeStrings/Asset.js.map +1 -1
  358. package/server/generated/typeStrings/Asset.mjs +51 -19
  359. package/server/generated/typeStrings/Authenticator.d.ts +1 -1
  360. package/server/generated/typeStrings/Authenticator.d.ts.map +1 -1
  361. package/server/generated/typeStrings/Authenticator.js.map +1 -1
  362. package/server/generated/typeStrings/Authenticator.mjs +51 -19
  363. package/server/generated/typeStrings/Customer.d.ts +1 -1
  364. package/server/generated/typeStrings/Customer.d.ts.map +1 -1
  365. package/server/generated/typeStrings/Customer.js.map +1 -1
  366. package/server/generated/typeStrings/Customer.mjs +51 -19
  367. package/server/generated/typeStrings/NewsArticle.d.ts +1 -1
  368. package/server/generated/typeStrings/NewsArticle.d.ts.map +1 -1
  369. package/server/generated/typeStrings/NewsArticle.js.map +1 -1
  370. package/server/generated/typeStrings/NewsArticle.mjs +51 -19
  371. package/server/generated/typeStrings/Order.d.ts +1 -1
  372. package/server/generated/typeStrings/Order.d.ts.map +1 -1
  373. package/server/generated/typeStrings/Order.js.map +1 -1
  374. package/server/generated/typeStrings/Order.mjs +52 -20
  375. package/server/generated/typeStrings/Session.d.ts +1 -1
  376. package/server/generated/typeStrings/Session.d.ts.map +1 -1
  377. package/server/generated/typeStrings/Session.js.map +1 -1
  378. package/server/generated/typeStrings/Session.mjs +51 -19
  379. package/server/generated/typeStrings/Trade.d.ts +1 -1
  380. package/server/generated/typeStrings/Trade.d.ts.map +1 -1
  381. package/server/generated/typeStrings/Trade.js.map +1 -1
  382. package/server/generated/typeStrings/Trade.mjs +51 -19
  383. package/server/generated/typeStrings/enums.d.ts +15 -4
  384. package/server/generated/typeStrings/enums.d.ts.map +1 -1
  385. package/server/generated/typeStrings/enums.js.map +1 -1
  386. package/server/generated/typeStrings/enums.mjs +15 -2
  387. package/server/generated/typeStrings/index.d.ts +10 -10
  388. package/server/generated/typegraphql-prisma/enhance.d.ts.map +1 -1
  389. package/server/generated/typegraphql-prisma/enhance.js.map +1 -1
  390. package/server/generated/typegraphql-prisma/enhance.mjs +46 -36
  391. package/server/generated/typegraphql-prisma/enums/OrderScalarFieldEnum.d.ts +15 -6
  392. package/server/generated/typegraphql-prisma/enums/OrderScalarFieldEnum.d.ts.map +1 -1
  393. package/server/generated/typegraphql-prisma/enums/OrderScalarFieldEnum.js.map +1 -1
  394. package/server/generated/typegraphql-prisma/enums/OrderScalarFieldEnum.mjs +15 -6
  395. package/server/generated/typegraphql-prisma/enums/OrderStatus.d.ts +5 -3
  396. package/server/generated/typegraphql-prisma/enums/OrderStatus.d.ts.map +1 -1
  397. package/server/generated/typegraphql-prisma/enums/OrderStatus.js.map +1 -1
  398. package/server/generated/typegraphql-prisma/enums/OrderStatus.mjs +4 -2
  399. package/server/generated/typegraphql-prisma/enums/OrderType.d.ts +2 -1
  400. package/server/generated/typegraphql-prisma/enums/OrderType.d.ts.map +1 -1
  401. package/server/generated/typegraphql-prisma/enums/OrderType.js.map +1 -1
  402. package/server/generated/typegraphql-prisma/enums/OrderType.mjs +1 -0
  403. package/server/generated/typegraphql-prisma/enums/TimeInForce.d.ts +10 -0
  404. package/server/generated/typegraphql-prisma/enums/TimeInForce.d.ts.map +1 -0
  405. package/server/generated/typegraphql-prisma/enums/TimeInForce.js.map +1 -0
  406. package/server/generated/typegraphql-prisma/enums/TimeInForce.mjs +16 -0
  407. package/server/generated/typegraphql-prisma/enums/index.d.ts +1 -0
  408. package/server/generated/typegraphql-prisma/enums/index.d.ts.map +1 -1
  409. package/server/generated/typegraphql-prisma/enums/index.js.map +1 -1
  410. package/server/generated/typegraphql-prisma/enums/index.mjs +1 -0
  411. package/server/generated/typegraphql-prisma/models/Order.d.ts +52 -13
  412. package/server/generated/typegraphql-prisma/models/Order.d.ts.map +1 -1
  413. package/server/generated/typegraphql-prisma/models/Order.js.map +1 -1
  414. package/server/generated/typegraphql-prisma/models/Order.mjs +135 -31
  415. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderArgs.d.ts +1 -1
  416. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderArgs.d.ts.map +1 -1
  417. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderArgs.js.map +1 -1
  418. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderOrThrowArgs.d.ts +1 -1
  419. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderOrThrowArgs.d.ts.map +1 -1
  420. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/FindFirstOrderOrThrowArgs.js.map +1 -1
  421. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/FindManyOrderArgs.d.ts +1 -1
  422. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/FindManyOrderArgs.d.ts.map +1 -1
  423. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/FindManyOrderArgs.js.map +1 -1
  424. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/GroupByOrderArgs.d.ts +1 -1
  425. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/GroupByOrderArgs.d.ts.map +1 -1
  426. package/server/generated/typegraphql-prisma/resolvers/crud/Order/args/GroupByOrderArgs.js.map +1 -1
  427. package/server/generated/typegraphql-prisma/resolvers/inputs/BoolNullableFilter.d.ts +6 -0
  428. package/server/generated/typegraphql-prisma/resolvers/inputs/BoolNullableFilter.d.ts.map +1 -0
  429. package/server/generated/typegraphql-prisma/resolvers/inputs/BoolNullableFilter.js.map +1 -0
  430. package/server/generated/typegraphql-prisma/resolvers/inputs/BoolNullableFilter.mjs +32 -0
  431. package/server/generated/typegraphql-prisma/resolvers/inputs/BoolNullableWithAggregatesFilter.d.ts +11 -0
  432. package/server/generated/typegraphql-prisma/resolvers/inputs/BoolNullableWithAggregatesFilter.d.ts.map +1 -0
  433. package/server/generated/typegraphql-prisma/resolvers/inputs/BoolNullableWithAggregatesFilter.js.map +1 -0
  434. package/server/generated/typegraphql-prisma/resolvers/inputs/BoolNullableWithAggregatesFilter.mjs +55 -0
  435. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFieldUpdateOperationsInput.d.ts +1 -1
  436. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFieldUpdateOperationsInput.d.ts.map +1 -1
  437. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFieldUpdateOperationsInput.js.map +1 -1
  438. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFilter.d.ts +3 -3
  439. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFilter.d.ts.map +1 -1
  440. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusFilter.js.map +1 -1
  441. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusWithAggregatesFilter.d.ts +3 -3
  442. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusWithAggregatesFilter.d.ts.map +1 -1
  443. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderStatusWithAggregatesFilter.js.map +1 -1
  444. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFieldUpdateOperationsInput.d.ts +1 -1
  445. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFieldUpdateOperationsInput.d.ts.map +1 -1
  446. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFieldUpdateOperationsInput.js.map +1 -1
  447. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFilter.d.ts +3 -3
  448. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFilter.d.ts.map +1 -1
  449. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeFilter.js.map +1 -1
  450. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeWithAggregatesFilter.d.ts +3 -3
  451. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeWithAggregatesFilter.d.ts.map +1 -1
  452. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumOrderTypeWithAggregatesFilter.js.map +1 -1
  453. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFieldUpdateOperationsInput.d.ts +4 -0
  454. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFieldUpdateOperationsInput.d.ts.map +1 -0
  455. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFieldUpdateOperationsInput.js.map +1 -0
  456. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFieldUpdateOperationsInput.mjs +25 -0
  457. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFilter.d.ts +8 -0
  458. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFilter.d.ts.map +1 -0
  459. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFilter.js.map +1 -0
  460. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceFilter.mjs +47 -0
  461. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceWithAggregatesFilter.d.ts +13 -0
  462. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceWithAggregatesFilter.d.ts.map +1 -0
  463. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceWithAggregatesFilter.js.map +1 -0
  464. package/server/generated/typegraphql-prisma/resolvers/inputs/EnumTimeInForceWithAggregatesFilter.mjs +70 -0
  465. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableFilter.d.ts +5 -0
  466. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableFilter.d.ts.map +1 -0
  467. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableFilter.js.map +1 -0
  468. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableFilter.mjs +31 -0
  469. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableWithAggregatesFilter.d.ts +10 -0
  470. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableWithAggregatesFilter.d.ts.map +1 -0
  471. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableWithAggregatesFilter.js.map +1 -0
  472. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedBoolNullableWithAggregatesFilter.mjs +54 -0
  473. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusFilter.d.ts +3 -3
  474. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusFilter.d.ts.map +1 -1
  475. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusFilter.js.map +1 -1
  476. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusWithAggregatesFilter.d.ts +3 -3
  477. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusWithAggregatesFilter.d.ts.map +1 -1
  478. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderStatusWithAggregatesFilter.js.map +1 -1
  479. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeFilter.d.ts +3 -3
  480. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeFilter.d.ts.map +1 -1
  481. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeFilter.js.map +1 -1
  482. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeWithAggregatesFilter.d.ts +3 -3
  483. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeWithAggregatesFilter.d.ts.map +1 -1
  484. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumOrderTypeWithAggregatesFilter.js.map +1 -1
  485. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceFilter.d.ts +7 -0
  486. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceFilter.d.ts.map +1 -0
  487. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceFilter.js.map +1 -0
  488. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceFilter.mjs +46 -0
  489. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceWithAggregatesFilter.d.ts +12 -0
  490. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceWithAggregatesFilter.d.ts.map +1 -0
  491. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceWithAggregatesFilter.js.map +1 -0
  492. package/server/generated/typegraphql-prisma/resolvers/inputs/NestedEnumTimeInForceWithAggregatesFilter.mjs +69 -0
  493. package/server/generated/typegraphql-prisma/resolvers/inputs/NullableBoolFieldUpdateOperationsInput.d.ts +4 -0
  494. package/server/generated/typegraphql-prisma/resolvers/inputs/NullableBoolFieldUpdateOperationsInput.d.ts.map +1 -0
  495. package/server/generated/typegraphql-prisma/resolvers/inputs/NullableBoolFieldUpdateOperationsInput.js.map +1 -0
  496. package/server/generated/typegraphql-prisma/resolvers/inputs/NullableBoolFieldUpdateOperationsInput.mjs +24 -0
  497. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderAvgOrderByAggregateInput.d.ts +6 -2
  498. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderAvgOrderByAggregateInput.d.ts.map +1 -1
  499. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderAvgOrderByAggregateInput.js.map +1 -1
  500. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderAvgOrderByAggregateInput.mjs +32 -4
  501. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCountOrderByAggregateInput.d.ts +15 -6
  502. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCountOrderByAggregateInput.d.ts.map +1 -1
  503. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCountOrderByAggregateInput.js.map +1 -1
  504. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCountOrderByAggregateInput.mjs +75 -12
  505. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateInput.d.ts +15 -6
  506. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateInput.d.ts.map +1 -1
  507. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateInput.js.map +1 -1
  508. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateInput.mjs +79 -15
  509. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAlpacaAccountInput.d.ts +16 -7
  510. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAlpacaAccountInput.d.ts.map +1 -1
  511. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAlpacaAccountInput.js.map +1 -1
  512. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAlpacaAccountInput.mjs +81 -17
  513. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAssetInput.d.ts +16 -7
  514. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAssetInput.d.ts.map +1 -1
  515. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAssetInput.js.map +1 -1
  516. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyAssetInput.mjs +81 -17
  517. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyInput.d.ts +16 -7
  518. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyInput.d.ts.map +1 -1
  519. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyInput.js.map +1 -1
  520. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateManyInput.mjs +81 -17
  521. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutActionInput.d.ts +15 -6
  522. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutActionInput.d.ts.map +1 -1
  523. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutActionInput.js.map +1 -1
  524. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutActionInput.mjs +79 -15
  525. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAlpacaAccountInput.d.ts +15 -6
  526. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  527. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAlpacaAccountInput.js.map +1 -1
  528. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAlpacaAccountInput.mjs +79 -15
  529. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAssetInput.d.ts +15 -6
  530. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAssetInput.d.ts.map +1 -1
  531. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAssetInput.js.map +1 -1
  532. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderCreateWithoutAssetInput.mjs +79 -15
  533. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderMaxOrderByAggregateInput.d.ts +15 -6
  534. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderMaxOrderByAggregateInput.d.ts.map +1 -1
  535. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderMaxOrderByAggregateInput.js.map +1 -1
  536. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderMaxOrderByAggregateInput.mjs +75 -12
  537. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderMinOrderByAggregateInput.d.ts +15 -6
  538. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderMinOrderByAggregateInput.d.ts.map +1 -1
  539. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderMinOrderByAggregateInput.js.map +1 -1
  540. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderMinOrderByAggregateInput.mjs +75 -12
  541. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithAggregationInput.d.ts +15 -6
  542. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithAggregationInput.d.ts.map +1 -1
  543. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithAggregationInput.js.map +1 -1
  544. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithAggregationInput.mjs +76 -13
  545. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithRelationInput.d.ts +15 -6
  546. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithRelationInput.d.ts.map +1 -1
  547. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithRelationInput.js.map +1 -1
  548. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderOrderByWithRelationInput.mjs +76 -13
  549. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereInput.d.ts +19 -7
  550. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereInput.d.ts.map +1 -1
  551. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereInput.js.map +1 -1
  552. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereInput.mjs +83 -17
  553. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereWithAggregatesInput.d.ts +19 -7
  554. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereWithAggregatesInput.d.ts.map +1 -1
  555. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereWithAggregatesInput.js.map +1 -1
  556. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderScalarWhereWithAggregatesInput.mjs +83 -17
  557. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderSumOrderByAggregateInput.d.ts +6 -2
  558. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderSumOrderByAggregateInput.d.ts.map +1 -1
  559. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderSumOrderByAggregateInput.js.map +1 -1
  560. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderSumOrderByAggregateInput.mjs +32 -4
  561. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateInput.d.ts +17 -6
  562. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateInput.d.ts.map +1 -1
  563. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateInput.js.map +1 -1
  564. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateInput.mjs +79 -14
  565. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateManyMutationInput.d.ts +17 -6
  566. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateManyMutationInput.d.ts.map +1 -1
  567. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateManyMutationInput.js.map +1 -1
  568. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateManyMutationInput.mjs +79 -14
  569. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutActionInput.d.ts +17 -6
  570. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutActionInput.d.ts.map +1 -1
  571. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutActionInput.js.map +1 -1
  572. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutActionInput.mjs +79 -14
  573. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAlpacaAccountInput.d.ts +17 -6
  574. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  575. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAlpacaAccountInput.js.map +1 -1
  576. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAlpacaAccountInput.mjs +79 -14
  577. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAssetInput.d.ts +17 -6
  578. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAssetInput.d.ts.map +1 -1
  579. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAssetInput.js.map +1 -1
  580. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderUpdateWithoutAssetInput.mjs +79 -14
  581. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderWhereInput.d.ts +19 -7
  582. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderWhereInput.d.ts.map +1 -1
  583. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderWhereInput.js.map +1 -1
  584. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderWhereInput.mjs +83 -17
  585. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderWhereUniqueInput.d.ts +17 -6
  586. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderWhereUniqueInput.d.ts.map +1 -1
  587. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderWhereUniqueInput.js.map +1 -1
  588. package/server/generated/typegraphql-prisma/resolvers/inputs/OrderWhereUniqueInput.mjs +79 -14
  589. package/server/generated/typegraphql-prisma/resolvers/inputs/index.d.ts +10 -0
  590. package/server/generated/typegraphql-prisma/resolvers/inputs/index.d.ts.map +1 -1
  591. package/server/generated/typegraphql-prisma/resolvers/inputs/index.js.map +1 -1
  592. package/server/generated/typegraphql-prisma/resolvers/inputs/index.mjs +10 -0
  593. package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyOrderAndReturnOutputType.d.ts +16 -7
  594. package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyOrderAndReturnOutputType.d.ts.map +1 -1
  595. package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyOrderAndReturnOutputType.js.map +1 -1
  596. package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyOrderAndReturnOutputType.mjs +81 -17
  597. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderAvgAggregate.d.ts +6 -2
  598. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderAvgAggregate.d.ts.map +1 -1
  599. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderAvgAggregate.js.map +1 -1
  600. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderAvgAggregate.mjs +32 -4
  601. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderCountAggregate.d.ts +15 -6
  602. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderCountAggregate.d.ts.map +1 -1
  603. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderCountAggregate.js.map +1 -1
  604. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderCountAggregate.mjs +75 -12
  605. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderGroupBy.d.ts +16 -7
  606. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderGroupBy.d.ts.map +1 -1
  607. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderGroupBy.js.map +1 -1
  608. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderGroupBy.mjs +81 -17
  609. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderMaxAggregate.d.ts +16 -7
  610. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderMaxAggregate.d.ts.map +1 -1
  611. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderMaxAggregate.js.map +1 -1
  612. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderMaxAggregate.mjs +77 -13
  613. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderMinAggregate.d.ts +16 -7
  614. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderMinAggregate.d.ts.map +1 -1
  615. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderMinAggregate.js.map +1 -1
  616. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderMinAggregate.mjs +77 -13
  617. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderSumAggregate.d.ts +6 -2
  618. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderSumAggregate.d.ts.map +1 -1
  619. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderSumAggregate.js.map +1 -1
  620. package/server/generated/typegraphql-prisma/resolvers/outputs/OrderSumAggregate.mjs +32 -4
  621. package/server/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountOrdersArgs.d.ts +1 -1
  622. package/server/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountOrdersArgs.d.ts.map +1 -1
  623. package/server/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/args/AlpacaAccountOrdersArgs.js.map +1 -1
  624. package/server/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetOrdersArgs.d.ts +1 -1
  625. package/server/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetOrdersArgs.d.ts.map +1 -1
  626. package/server/generated/typegraphql-prisma/resolvers/relations/Asset/args/AssetOrdersArgs.js.map +1 -1
@@ -1,2 +1,2 @@
1
- export declare const OrderTypeString = "\nYour response should adhere to the following type definition for the \"Order\" type, and its nested object types (which include 'AlpacaAccount', 'Action', 'Asset' types), as well as any ENUMS used by it (which include 'OrderType', 'OrderSide', 'OrderStatus' enums).\n\nImportantly, DO NOT include any annotations in your response (i.e. remove the ones we have provided for your reference below).\n\nexport type Order = {\n // Reference to the Alpaca account used for the order.\n alpacaAccountId: string;\n // Reference to the asset being ordered.\n assetId: string;\n // Reference to the action associated with the order.\n actionId: string;\n // Type of order, defined by OrderType enum.\n type: OrderType;\n // Side of the order (BUY or SELL).\n side: OrderSide;\n // Quantity of the asset to be ordered.\n qty: number;\n // Price at which the asset is to be bought or sold.\n price: number;\n stopLoss?: number;\n // Current status of the order, defined by OrderStatus enum.\n status: OrderStatus;\n // Timestamp when the action was executed.\n executionTime?: Date;\n // The Alpaca account this order is associated with.\n alpacaAccount: AlpacaAccount;\n // The action this order is associated with.\n action: Action;\n // The asset this order is for.\n asset: Asset;\n // Fee associated with the order.\n fee?: number;\n}\n\nexport enum OrderType {\n MARKET = \"MARKET\",\n LIMIT = \"LIMIT\",\n STOP = \"STOP\",\n STOP_LIMIT = \"STOP_LIMIT\"\n}\n\nexport enum OrderSide {\n BUY = \"BUY\",\n SELL = \"SELL\"\n}\n\nexport enum OrderStatus {\n PENDING = \"PENDING\",\n FILLED = \"FILLED\",\n CANCELLED = \"CANCELLED\",\n REJECTED = \"REJECTED\"\n}\n\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\n}\n\nexport enum UserRole {\n OWNER = \"OWNER\",\n ADMIN = \"ADMIN\",\n USER = \"USER\"\n}\n\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\nexport type Customer = {\n // Reference to the authenticated user associated with the customer.\n authUserId: string;\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // Unique Stripe customer ID for billing.\n stripeCustomerId?: string;\n // Unique Stripe subscription ID.\n stripeSubscriptionId?: string;\n // Stripe price ID associated with the customer's subscription.\n stripePriceId?: string;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: User[];\n}\n\nexport type Account = {\n // Reference to the user who owns this account.\n userId: string;\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 // Unique identifier provided by the external provider.\n providerAccountId: string;\n // Refresh token for the external account, if applicable.\n refresh_token?: string;\n // Access token for the external account, if applicable.\n access_token?: 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 // ID token for authentication, if applicable.\n id_token?: string;\n // State of the session associated with the account.\n session_state?: string;\n // Relation to the User model.\n user: User;\n}\n\nexport type Session = {\n // Token associated with the session for authentication.\n sessionToken: string;\n // Reference to the user who owns this session.\n userId: string;\n // Expiration date and time of the session.\n expires: Date;\n // Relation to the User model.\n user: User;\n}\n\nexport type Authenticator = {\n // Reference to the user who owns this authenticator.\n userId: string;\n // Unique credential ID for the authenticator.\n credentialID: string;\n // Public key associated with the authenticator.\n publicKey: string;\n // Counter for the number of authentication attempts.\n counter: number;\n // Relation to the User model.\n user: User;\n}\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 // Timestamp when the user's email was verified.\n emailVerified?: Date;\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, if applicable.\n customer?: Customer;\n // Foreign key referencing the Customer.\n customerId?: number;\n // List of accounts associated with the user.\n accounts: Account[];\n // List of sessions associated with the user.\n sessions: Session[];\n // List of authenticators for the user.\n authenticators: Authenticator[];\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: AlpacaAccount[];\n}\n\nexport enum TradeStatus {\n PENDING = \"PENDING\",\n OPEN = \"OPEN\",\n PARTIAL = \"PARTIAL\",\n COMPLETED = \"COMPLETED\"\n}\n\nexport enum AssetType {\n STOCK = \"STOCK\",\n ETF = \"ETF\",\n MUTUAL_FUND = \"MUTUAL_FUND\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n INDEX = \"INDEX\",\n COMMODITY = \"COMMODITY\",\n CURRENCY = \"CURRENCY\",\n OPTION = \"OPTION\",\n FUTURE = \"FUTURE\",\n BOND = \"BOND\",\n WARRANT = \"WARRANT\",\n ADR = \"ADR\",\n GDR = \"GDR\",\n UNIT = \"UNIT\",\n RIGHT = \"RIGHT\",\n REIT = \"REIT\",\n STRUCTURED_PRODUCT = \"STRUCTURED_PRODUCT\",\n SWAP = \"SWAP\",\n SPOT = \"SPOT\",\n FORWARD = \"FORWARD\",\n OTHER = \"OTHER\"\n}\n\nexport type Asset = {\n // Ticker symbol of the asset, must be unique.\n symbol: string;\n // Full name of the asset, must be unique.\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n // URL to the asset's logo image.\n logoUrl?: string;\n // Description of the asset.\n description?: string;\n // Central Index Key for the asset.\n cik?: string;\n // Stock exchange where the asset is listed.\n exchange?: string;\n // Currency in which the asset is traded.\n currency?: string;\n // Country where the asset is based.\n country?: string;\n // Sector classification of the asset.\n sector?: string;\n // Industry classification of the asset.\n industry?: string;\n // Physical address associated with the asset.\n address?: string;\n // Official website of the asset.\n officialSite?: string;\n // Fiscal year-end date of the asset.\n fiscalYearEnd?: string;\n // Date of the latest financial quarter.\n latestQuarter?: string;\n // Market capitalization of the asset.\n marketCapitalization?: string;\n // Earnings Before Interest, Taxes, Depreciation, and Amortization.\n ebitda?: string;\n // Price-to-Earnings ratio.\n peRatio?: string;\n // Price/Earnings to Growth ratio.\n pegRatio?: string;\n // Book value per share.\n bookValue?: string;\n // Dividend per share.\n dividendPerShare?: string;\n // Dividend yield percentage.\n dividendYield?: string;\n // Earnings per share.\n eps?: string;\n // Revenue per share over the trailing twelve months.\n revenuePerShareTTM?: string;\n // Profit margin percentage.\n profitMargin?: string;\n // Operating margin over the trailing twelve months.\n operatingMarginTTM?: string;\n // Return on assets over the trailing twelve months.\n returnOnAssetsTTM?: string;\n // Return on equity over the trailing twelve months.\n returnOnEquityTTM?: string;\n // Total revenue over the trailing twelve months.\n revenueTTM?: string;\n // Gross profit over the trailing twelve months.\n grossProfitTTM?: string;\n // Diluted earnings per share over the trailing twelve months.\n dilutedEPSTTM?: string;\n // Year-over-year growth in quarterly earnings.\n quarterlyEarningsGrowthYOY?: string;\n // Year-over-year growth in quarterly revenue.\n quarterlyRevenueGrowthYOY?: string;\n // Analyst target price for the asset.\n analystTargetPrice?: string;\n // Percentage of analysts rating the asset as Strong Buy.\n analystRatingStrongBuy?: string;\n // Percentage of analysts rating the asset as Buy.\n analystRatingBuy?: string;\n // Percentage of analysts rating the asset as Hold.\n analystRatingHold?: string;\n // Percentage of analysts rating the asset as Sell.\n analystRatingSell?: string;\n // Percentage of analysts rating the asset as Strong Sell.\n analystRatingStrongSell?: string;\n // Trailing Price-to-Earnings ratio.\n trailingPE?: string;\n // Forward Price-to-Earnings ratio.\n forwardPE?: string;\n // Price-to-Sales ratio over the trailing twelve months.\n priceToSalesRatioTTM?: string;\n // Price-to-Book ratio.\n priceToBookRatio?: string;\n // Enterprise Value to Revenue ratio.\n evToRevenue?: string;\n // Enterprise Value to EBITDA ratio.\n evToEbitda?: string;\n // Beta coefficient measuring volatility.\n beta?: string;\n // 52-week high price of the asset.\n week52High?: string;\n // 52-week low price of the asset.\n week52Low?: string;\n // 50-day moving average price.\n day50MovingAverage?: string;\n // 200-day moving average price.\n day200MovingAverage?: string;\n // Total number of shares outstanding.\n sharesOutstanding?: string;\n // Date when the next dividend is paid.\n dividendDate?: string;\n // Date when the asset goes ex-dividend.\n exDividendDate?: string;\n // Last sell price of the asset.\n sellPrice?: string;\n // Last buy price of the asset.\n buyPrice?: string;\n // List of trades involving this asset.\n trades: Trade[];\n // List of orders involving this asset.\n orders: Order[];\n // List of positions involving this asset.\n positions: Position[];\n // List of news article sentiments related to this asset.\n newsMentions: NewsArticleAssetSentiment[];\n}\n\nexport enum OptionContractType {\n CALL = \"CALL\",\n PUT = \"PUT\"\n}\n\nexport enum ActionType {\n BUY = \"BUY\",\n GET_OPTION_CONTRACTS = \"GET_OPTION_CONTRACTS\",\n EXERCISE_OPTION = \"EXERCISE_OPTION\",\n SELL = \"SELL\",\n CANCEL = \"CANCEL\",\n ADJUST = \"ADJUST\",\n HEDGE = \"HEDGE\"\n}\n\nexport enum ActionStatus {\n STAGED = \"STAGED\",\n EXECUTED = \"EXECUTED\",\n COMPLETED = \"COMPLETED\"\n}\n\nexport type Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Reference to the trade this action is part of.\n tradeId: string;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Reference to the order ID associated with the action.\n orderId?: string;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n // Fees associated with the action.\n fee?: number;\n // The trade this action is part of.\n trade: Trade;\n // The order associated with this action.\n order?: Order;\n}\n\nexport type Trade = {\n // Reference to the Alpaca account used for the trade.\n alpacaAccountId: string;\n // Reference to the asset being traded.\n assetId: string;\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: string;\n // Strategy used to execute the trade.\n strategy: string;\n // Analysis supporting the trade decision.\n analysis: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Timestamp when the trade was executed.\n timestamp: Date;\n // Current status of the trade.\n status: TradeStatus;\n // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n // Relation to the Asset model.\n asset: Asset;\n // If the asset.type is OPTION, then provide type of contract (CALL or PUT).\n optionContractType?: OptionContractType;\n // List of actions associated with this trade.\n actions: Action[];\n}\n\nexport enum AlertType {\n SUCCESS = \"SUCCESS\",\n WARNING = \"WARNING\",\n ERROR = \"ERROR\",\n INFO = \"INFO\"\n}\n\nexport type Alert = {\n // Reference to the Alpaca account associated with the alert.\n alpacaAccountId: string;\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 // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n}\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // API key for authenticating requests to Alpaca.\n APIKey: string;\n // API secret for authenticating requests to Alpaca.\n APISecret: string;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // Relation to the User model who owns this Alpaca account.\n user: User;\n // Foreign key referencing the User.\n userId: string;\n // List of trades executed through this Alpaca account.\n trades: Trade[];\n // List of orders placed through this Alpaca account.\n orders: Order[];\n // List of positions held in this Alpaca account.\n positions: Position[];\n // List of alerts generated for this Alpaca account.\n alerts: Alert[];\n}\n\n";
1
+ export declare const OrderTypeString = "\nYour response should adhere to the following type definition for the \"Order\" type, and its nested object types (which include 'AlpacaAccount', 'Action', 'Asset' types), as well as any ENUMS used by it (which include 'OrderSide', 'OrderType', 'TimeInForce', 'OrderStatus' enums).\n\nImportantly, DO NOT include any annotations in your response (i.e. remove the ones we have provided for your reference below).\n\nexport type Order = {\n // Reference to the Alpaca account used for the order.\n alpacaAccountId: string;\n // Reference to the asset being ordered.\n assetId: string;\n // Symbol of the asset (ticker symbol).\n symbol: string;\n // Quantity of the asset to be ordered.\n qty?: number;\n // Notional value of the order. Optional, used if qty is not provided.\n notional?: number;\n // Side of the order (BUY or SELL).\n side: OrderSide;\n // Type of order (market, limit, stop, stop_limit, trailing_stop).\n type: OrderType;\n // Time in force for the order (day, gtc, opg, cls, ioc, fok).\n timeInForce: TimeInForce;\n // Limit price for limit or stop-limit orders.\n limitPrice?: number;\n // Stop price for stop or stop-limit orders.\n stopPrice?: number;\n // Trailing price for trailing stop orders.\n trailPrice?: number;\n // Trailing percent for trailing stop orders.\n trailPercent?: number;\n // Whether the order is eligible for extended hours.\n extendedHours?: boolean;\n // Client-supplied identifier for the order.\n clientOrderId?: string;\n // Current status of the order.\n status: OrderStatus;\n // Timestamp when the order was submitted.\n submittedAt?: Date;\n // Timestamp when the order was filled.\n filledAt?: Date;\n // Average price at which the order was filled.\n filledAvgPrice?: number;\n // Reference to the action associated with the order.\n actionId: string;\n // The Alpaca account this order is associated with.\n alpacaAccount: AlpacaAccount;\n // The action this order is associated with.\n action: Action;\n // The asset this order is for.\n asset: Asset;\n // Fee associated with the order.\n fee?: number;\n}\n\nexport enum OrderSide {\n BUY = \"BUY\",\n SELL = \"SELL\"\n}\n\nexport enum OrderType {\n MARKET = \"MARKET\",\n LIMIT = \"LIMIT\",\n STOP = \"STOP\",\n STOP_LIMIT = \"STOP_LIMIT\",\n TRAILING_STOP = \"TRAILING_STOP\"\n}\n\n// Time in force enum (day, gtc, opg, cls, etc.).\nexport enum TimeInForce {\n DAY = \"DAY\",\n GTC = \"GTC\",\n OPG = \"OPG\",\n CLS = \"CLS\",\n IOC = \"IOC\",\n FOK = \"FOK\"\n}\n\nexport enum OrderStatus {\n NEW = \"NEW\",\n PARTIALLY_FILLED = \"PARTIALLY_FILLED\",\n FILLED = \"FILLED\",\n CANCELED = \"CANCELED\",\n REJECTED = \"REJECTED\",\n EXPIRED = \"EXPIRED\"\n}\n\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\n}\n\nexport enum UserRole {\n OWNER = \"OWNER\",\n ADMIN = \"ADMIN\",\n USER = \"USER\"\n}\n\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\nexport type Customer = {\n // Reference to the authenticated user associated with the customer.\n authUserId: string;\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // Unique Stripe customer ID for billing.\n stripeCustomerId?: string;\n // Unique Stripe subscription ID.\n stripeSubscriptionId?: string;\n // Stripe price ID associated with the customer's subscription.\n stripePriceId?: string;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: User[];\n}\n\nexport type Account = {\n // Reference to the user who owns this account.\n userId: string;\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 // Unique identifier provided by the external provider.\n providerAccountId: string;\n // Refresh token for the external account, if applicable.\n refresh_token?: string;\n // Access token for the external account, if applicable.\n access_token?: 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 // ID token for authentication, if applicable.\n id_token?: string;\n // State of the session associated with the account.\n session_state?: string;\n // Relation to the User model.\n user: User;\n}\n\nexport type Session = {\n // Token associated with the session for authentication.\n sessionToken: string;\n // Reference to the user who owns this session.\n userId: string;\n // Expiration date and time of the session.\n expires: Date;\n // Relation to the User model.\n user: User;\n}\n\nexport type Authenticator = {\n // Reference to the user who owns this authenticator.\n userId: string;\n // Unique credential ID for the authenticator.\n credentialID: string;\n // Public key associated with the authenticator.\n publicKey: string;\n // Counter for the number of authentication attempts.\n counter: number;\n // Relation to the User model.\n user: User;\n}\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 // Timestamp when the user's email was verified.\n emailVerified?: Date;\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, if applicable.\n customer?: Customer;\n // Foreign key referencing the Customer.\n customerId?: number;\n // List of accounts associated with the user.\n accounts: Account[];\n // List of sessions associated with the user.\n sessions: Session[];\n // List of authenticators for the user.\n authenticators: Authenticator[];\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: AlpacaAccount[];\n}\n\nexport enum TradeStatus {\n PENDING = \"PENDING\",\n OPEN = \"OPEN\",\n PARTIAL = \"PARTIAL\",\n COMPLETED = \"COMPLETED\"\n}\n\nexport enum AssetType {\n STOCK = \"STOCK\",\n ETF = \"ETF\",\n MUTUAL_FUND = \"MUTUAL_FUND\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n INDEX = \"INDEX\",\n COMMODITY = \"COMMODITY\",\n CURRENCY = \"CURRENCY\",\n OPTION = \"OPTION\",\n FUTURE = \"FUTURE\",\n BOND = \"BOND\",\n WARRANT = \"WARRANT\",\n ADR = \"ADR\",\n GDR = \"GDR\",\n UNIT = \"UNIT\",\n RIGHT = \"RIGHT\",\n REIT = \"REIT\",\n STRUCTURED_PRODUCT = \"STRUCTURED_PRODUCT\",\n SWAP = \"SWAP\",\n SPOT = \"SPOT\",\n FORWARD = \"FORWARD\",\n OTHER = \"OTHER\"\n}\n\nexport type Asset = {\n // Ticker symbol of the asset, must be unique.\n symbol: string;\n // Full name of the asset, must be unique.\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n // URL to the asset's logo image.\n logoUrl?: string;\n // Description of the asset.\n description?: string;\n // Central Index Key for the asset.\n cik?: string;\n // Stock exchange where the asset is listed.\n exchange?: string;\n // Currency in which the asset is traded.\n currency?: string;\n // Country where the asset is based.\n country?: string;\n // Sector classification of the asset.\n sector?: string;\n // Industry classification of the asset.\n industry?: string;\n // Physical address associated with the asset.\n address?: string;\n // Official website of the asset.\n officialSite?: string;\n // Fiscal year-end date of the asset.\n fiscalYearEnd?: string;\n // Date of the latest financial quarter.\n latestQuarter?: string;\n // Market capitalization of the asset.\n marketCapitalization?: string;\n // Earnings Before Interest, Taxes, Depreciation, and Amortization.\n ebitda?: string;\n // Price-to-Earnings ratio.\n peRatio?: string;\n // Price/Earnings to Growth ratio.\n pegRatio?: string;\n // Book value per share.\n bookValue?: string;\n // Dividend per share.\n dividendPerShare?: string;\n // Dividend yield percentage.\n dividendYield?: string;\n // Earnings per share.\n eps?: string;\n // Revenue per share over the trailing twelve months.\n revenuePerShareTTM?: string;\n // Profit margin percentage.\n profitMargin?: string;\n // Operating margin over the trailing twelve months.\n operatingMarginTTM?: string;\n // Return on assets over the trailing twelve months.\n returnOnAssetsTTM?: string;\n // Return on equity over the trailing twelve months.\n returnOnEquityTTM?: string;\n // Total revenue over the trailing twelve months.\n revenueTTM?: string;\n // Gross profit over the trailing twelve months.\n grossProfitTTM?: string;\n // Diluted earnings per share over the trailing twelve months.\n dilutedEPSTTM?: string;\n // Year-over-year growth in quarterly earnings.\n quarterlyEarningsGrowthYOY?: string;\n // Year-over-year growth in quarterly revenue.\n quarterlyRevenueGrowthYOY?: string;\n // Analyst target price for the asset.\n analystTargetPrice?: string;\n // Percentage of analysts rating the asset as Strong Buy.\n analystRatingStrongBuy?: string;\n // Percentage of analysts rating the asset as Buy.\n analystRatingBuy?: string;\n // Percentage of analysts rating the asset as Hold.\n analystRatingHold?: string;\n // Percentage of analysts rating the asset as Sell.\n analystRatingSell?: string;\n // Percentage of analysts rating the asset as Strong Sell.\n analystRatingStrongSell?: string;\n // Trailing Price-to-Earnings ratio.\n trailingPE?: string;\n // Forward Price-to-Earnings ratio.\n forwardPE?: string;\n // Price-to-Sales ratio over the trailing twelve months.\n priceToSalesRatioTTM?: string;\n // Price-to-Book ratio.\n priceToBookRatio?: string;\n // Enterprise Value to Revenue ratio.\n evToRevenue?: string;\n // Enterprise Value to EBITDA ratio.\n evToEbitda?: string;\n // Beta coefficient measuring volatility.\n beta?: string;\n // 52-week high price of the asset.\n week52High?: string;\n // 52-week low price of the asset.\n week52Low?: string;\n // 50-day moving average price.\n day50MovingAverage?: string;\n // 200-day moving average price.\n day200MovingAverage?: string;\n // Total number of shares outstanding.\n sharesOutstanding?: string;\n // Date when the next dividend is paid.\n dividendDate?: string;\n // Date when the asset goes ex-dividend.\n exDividendDate?: string;\n // Last sell price of the asset.\n sellPrice?: string;\n // Last buy price of the asset.\n buyPrice?: string;\n // List of trades involving this asset.\n trades: Trade[];\n // List of orders involving this asset.\n orders: Order[];\n // List of positions involving this asset.\n positions: Position[];\n // List of news article sentiments related to this asset.\n newsMentions: NewsArticleAssetSentiment[];\n}\n\nexport enum OptionContractType {\n CALL = \"CALL\",\n PUT = \"PUT\"\n}\n\nexport enum ActionType {\n BUY = \"BUY\",\n GET_OPTION_CONTRACTS = \"GET_OPTION_CONTRACTS\",\n EXERCISE_OPTION = \"EXERCISE_OPTION\",\n SELL = \"SELL\",\n CANCEL = \"CANCEL\",\n ADJUST = \"ADJUST\",\n HEDGE = \"HEDGE\"\n}\n\nexport enum ActionStatus {\n STAGED = \"STAGED\",\n EXECUTED = \"EXECUTED\",\n COMPLETED = \"COMPLETED\"\n}\n\nexport type Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Reference to the trade this action is part of.\n tradeId: string;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Reference to the order ID associated with the action.\n orderId?: string;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n // Fees associated with the action.\n fee?: number;\n // The trade this action is part of.\n trade: Trade;\n // The order associated with this action.\n order?: Order;\n}\n\nexport type Trade = {\n // Reference to the Alpaca account used for the trade.\n alpacaAccountId: string;\n // Reference to the asset being traded.\n assetId: string;\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: string;\n // Strategy used to execute the trade.\n strategy: string;\n // Analysis supporting the trade decision.\n analysis: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Timestamp when the trade was executed.\n timestamp: Date;\n // Current status of the trade.\n status: TradeStatus;\n // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n // Relation to the Asset model.\n asset: Asset;\n // If the asset.type is OPTION, then provide type of contract (CALL or PUT).\n optionContractType?: OptionContractType;\n // List of actions associated with this trade.\n actions: Action[];\n}\n\nexport enum AlertType {\n SUCCESS = \"SUCCESS\",\n WARNING = \"WARNING\",\n ERROR = \"ERROR\",\n INFO = \"INFO\"\n}\n\nexport type Alert = {\n // Reference to the Alpaca account associated with the alert.\n alpacaAccountId: string;\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 // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n}\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // API key for authenticating requests to Alpaca.\n APIKey: string;\n // API secret for authenticating requests to Alpaca.\n APISecret: string;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // Relation to the User model who owns this Alpaca account.\n user: User;\n // Foreign key referencing the User.\n userId: string;\n // List of trades executed through this Alpaca account.\n trades: Trade[];\n // List of orders placed through this Alpaca account.\n orders: Order[];\n // List of positions held in this Alpaca account.\n positions: Position[];\n // List of alerts generated for this Alpaca account.\n alerts: Alert[];\n}\n\n";
2
2
  //# sourceMappingURL=Order.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Order.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,y9aA8b3B,CAAC"}
1
+ {"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Order.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,6+cA8d3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Order.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8b9B,CAAC"}
1
+ {"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Order.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8d9B,CAAC"}
@@ -138,23 +138,36 @@ export type Trade = {
138
138
  actions: Action[];
139
139
  }
140
140
 
141
+ export enum OrderSide {
142
+ BUY = "BUY",
143
+ SELL = "SELL"
144
+ }
145
+
141
146
  export enum OrderType {
142
147
  MARKET = "MARKET",
143
148
  LIMIT = "LIMIT",
144
149
  STOP = "STOP",
145
- STOP_LIMIT = "STOP_LIMIT"
150
+ STOP_LIMIT = "STOP_LIMIT",
151
+ TRAILING_STOP = "TRAILING_STOP"
146
152
  }
147
153
 
148
- export enum OrderSide {
149
- BUY = "BUY",
150
- SELL = "SELL"
154
+ // Time in force enum (day, gtc, opg, cls, etc.).
155
+ export enum TimeInForce {
156
+ DAY = "DAY",
157
+ GTC = "GTC",
158
+ OPG = "OPG",
159
+ CLS = "CLS",
160
+ IOC = "IOC",
161
+ FOK = "FOK"
151
162
  }
152
163
 
153
164
  export enum OrderStatus {
154
- PENDING = "PENDING",
165
+ NEW = "NEW",
166
+ PARTIALLY_FILLED = "PARTIALLY_FILLED",
155
167
  FILLED = "FILLED",
156
- CANCELLED = "CANCELLED",
157
- REJECTED = "REJECTED"
168
+ CANCELED = "CANCELED",
169
+ REJECTED = "REJECTED",
170
+ EXPIRED = "EXPIRED"
158
171
  }
159
172
 
160
173
  export type Order = {
@@ -162,21 +175,40 @@ export type Order = {
162
175
  alpacaAccountId: string;
163
176
  // Reference to the asset being ordered.
164
177
  assetId: string;
165
- // Reference to the action associated with the order.
166
- actionId: string;
167
- // Type of order, defined by OrderType enum.
168
- type: OrderType;
178
+ // Symbol of the asset (ticker symbol).
179
+ symbol: string;
180
+ // Quantity of the asset to be ordered.
181
+ qty?: number;
182
+ // Notional value of the order. Optional, used if qty is not provided.
183
+ notional?: number;
169
184
  // Side of the order (BUY or SELL).
170
185
  side: OrderSide;
171
- // Quantity of the asset to be ordered.
172
- qty: number;
173
- // Price at which the asset is to be bought or sold.
174
- price: number;
175
- stopLoss?: number;
176
- // Current status of the order, defined by OrderStatus enum.
186
+ // Type of order (market, limit, stop, stop_limit, trailing_stop).
187
+ type: OrderType;
188
+ // Time in force for the order (day, gtc, opg, cls, ioc, fok).
189
+ timeInForce: TimeInForce;
190
+ // Limit price for limit or stop-limit orders.
191
+ limitPrice?: number;
192
+ // Stop price for stop or stop-limit orders.
193
+ stopPrice?: number;
194
+ // Trailing price for trailing stop orders.
195
+ trailPrice?: number;
196
+ // Trailing percent for trailing stop orders.
197
+ trailPercent?: number;
198
+ // Whether the order is eligible for extended hours.
199
+ extendedHours?: boolean;
200
+ // Client-supplied identifier for the order.
201
+ clientOrderId?: string;
202
+ // Current status of the order.
177
203
  status: OrderStatus;
178
- // Timestamp when the action was executed.
179
- executionTime?: Date;
204
+ // Timestamp when the order was submitted.
205
+ submittedAt?: Date;
206
+ // Timestamp when the order was filled.
207
+ filledAt?: Date;
208
+ // Average price at which the order was filled.
209
+ filledAvgPrice?: number;
210
+ // Reference to the action associated with the order.
211
+ actionId: string;
180
212
  // The Alpaca account this order is associated with.
181
213
  alpacaAccount: AlpacaAccount;
182
214
  // The action this order is associated with.
@@ -1,2 +1,2 @@
1
- export declare const SessionTypeString = "\nYour response should adhere to the following type definition for the \"Session\" type, and its nested object types (which include 'User' type).\n\nImportantly, 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 // Token associated with the session for authentication.\n sessionToken: string;\n // Reference to the user who owns this session.\n userId: string;\n // Expiration date and time of the session.\n expires: Date;\n // Relation to the User model.\n user: User;\n}\n\nexport enum UserRole {\n OWNER = \"OWNER\",\n ADMIN = \"ADMIN\",\n USER = \"USER\"\n}\n\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\n}\n\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\nexport type Customer = {\n // Reference to the authenticated user associated with the customer.\n authUserId: string;\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // Unique Stripe customer ID for billing.\n stripeCustomerId?: string;\n // Unique Stripe subscription ID.\n stripeSubscriptionId?: string;\n // Stripe price ID associated with the customer's subscription.\n stripePriceId?: string;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: User[];\n}\n\nexport type Account = {\n // Reference to the user who owns this account.\n userId: string;\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 // Unique identifier provided by the external provider.\n providerAccountId: string;\n // Refresh token for the external account, if applicable.\n refresh_token?: string;\n // Access token for the external account, if applicable.\n access_token?: 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 // ID token for authentication, if applicable.\n id_token?: string;\n // State of the session associated with the account.\n session_state?: string;\n // Relation to the User model.\n user: User;\n}\n\nexport type Authenticator = {\n // Reference to the user who owns this authenticator.\n userId: string;\n // Unique credential ID for the authenticator.\n credentialID: string;\n // Public key associated with the authenticator.\n publicKey: string;\n // Counter for the number of authentication attempts.\n counter: number;\n // Relation to the User model.\n user: User;\n}\n\nexport enum TradeStatus {\n PENDING = \"PENDING\",\n OPEN = \"OPEN\",\n PARTIAL = \"PARTIAL\",\n COMPLETED = \"COMPLETED\"\n}\n\nexport enum OptionContractType {\n CALL = \"CALL\",\n PUT = \"PUT\"\n}\n\nexport type Trade = {\n // Reference to the Alpaca account used for the trade.\n alpacaAccountId: string;\n // Reference to the asset being traded.\n assetId: string;\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: string;\n // Strategy used to execute the trade.\n strategy: string;\n // Analysis supporting the trade decision.\n analysis: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Timestamp when the trade was executed.\n timestamp: Date;\n // Current status of the trade.\n status: TradeStatus;\n // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n // Relation to the Asset model.\n asset: Asset;\n // If the asset.type is OPTION, then provide type of contract (CALL or PUT).\n optionContractType?: OptionContractType;\n // List of actions associated with this trade.\n actions: Action[];\n}\n\nexport enum OrderType {\n MARKET = \"MARKET\",\n LIMIT = \"LIMIT\",\n STOP = \"STOP\",\n STOP_LIMIT = \"STOP_LIMIT\"\n}\n\nexport enum OrderSide {\n BUY = \"BUY\",\n SELL = \"SELL\"\n}\n\nexport enum OrderStatus {\n PENDING = \"PENDING\",\n FILLED = \"FILLED\",\n CANCELLED = \"CANCELLED\",\n REJECTED = \"REJECTED\"\n}\n\nexport type Order = {\n // Reference to the Alpaca account used for the order.\n alpacaAccountId: string;\n // Reference to the asset being ordered.\n assetId: string;\n // Reference to the action associated with the order.\n actionId: string;\n // Type of order, defined by OrderType enum.\n type: OrderType;\n // Side of the order (BUY or SELL).\n side: OrderSide;\n // Quantity of the asset to be ordered.\n qty: number;\n // Price at which the asset is to be bought or sold.\n price: number;\n stopLoss?: number;\n // Current status of the order, defined by OrderStatus enum.\n status: OrderStatus;\n // Timestamp when the action was executed.\n executionTime?: Date;\n // The Alpaca account this order is associated with.\n alpacaAccount: AlpacaAccount;\n // The action this order is associated with.\n action: Action;\n // The asset this order is for.\n asset: Asset;\n // Fee associated with the order.\n fee?: number;\n}\n\nexport type Position = {\n // Reference to the associated asset.\n assetId: string;\n // Relation to the Asset model.\n asset: Asset;\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 // Relation to the AlpacaAccount model, if applicable.\n alpacaAccount?: AlpacaAccount;\n // Foreign key referencing the AlpacaAccount.\n alpacaAccountId: string;\n}\n\nexport enum AlertType {\n SUCCESS = \"SUCCESS\",\n WARNING = \"WARNING\",\n ERROR = \"ERROR\",\n INFO = \"INFO\"\n}\n\nexport type Alert = {\n // Reference to the Alpaca account associated with the alert.\n alpacaAccountId: string;\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 // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n}\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // API key for authenticating requests to Alpaca.\n APIKey: string;\n // API secret for authenticating requests to Alpaca.\n APISecret: string;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // Relation to the User model who owns this Alpaca account.\n user: User;\n // Foreign key referencing the User.\n userId: string;\n // List of trades executed through this Alpaca account.\n trades: Trade[];\n // List of orders placed through this Alpaca account.\n orders: Order[];\n // List of positions held in this Alpaca account.\n positions: Position[];\n // List of alerts generated for this Alpaca account.\n alerts: Alert[];\n}\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 // Timestamp when the user's email was verified.\n emailVerified?: Date;\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, if applicable.\n customer?: Customer;\n // Foreign key referencing the Customer.\n customerId?: number;\n // List of accounts associated with the user.\n accounts: Account[];\n // List of sessions associated with the user.\n sessions: Session[];\n // List of authenticators for the user.\n authenticators: Authenticator[];\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: AlpacaAccount[];\n}\n\n";
1
+ export declare const SessionTypeString = "\nYour response should adhere to the following type definition for the \"Session\" type, and its nested object types (which include 'User' type).\n\nImportantly, 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 // Token associated with the session for authentication.\n sessionToken: string;\n // Reference to the user who owns this session.\n userId: string;\n // Expiration date and time of the session.\n expires: Date;\n // Relation to the User model.\n user: User;\n}\n\nexport enum UserRole {\n OWNER = \"OWNER\",\n ADMIN = \"ADMIN\",\n USER = \"USER\"\n}\n\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\n}\n\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\nexport type Customer = {\n // Reference to the authenticated user associated with the customer.\n authUserId: string;\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // Unique Stripe customer ID for billing.\n stripeCustomerId?: string;\n // Unique Stripe subscription ID.\n stripeSubscriptionId?: string;\n // Stripe price ID associated with the customer's subscription.\n stripePriceId?: string;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: User[];\n}\n\nexport type Account = {\n // Reference to the user who owns this account.\n userId: string;\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 // Unique identifier provided by the external provider.\n providerAccountId: string;\n // Refresh token for the external account, if applicable.\n refresh_token?: string;\n // Access token for the external account, if applicable.\n access_token?: 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 // ID token for authentication, if applicable.\n id_token?: string;\n // State of the session associated with the account.\n session_state?: string;\n // Relation to the User model.\n user: User;\n}\n\nexport type Authenticator = {\n // Reference to the user who owns this authenticator.\n userId: string;\n // Unique credential ID for the authenticator.\n credentialID: string;\n // Public key associated with the authenticator.\n publicKey: string;\n // Counter for the number of authentication attempts.\n counter: number;\n // Relation to the User model.\n user: User;\n}\n\nexport enum TradeStatus {\n PENDING = \"PENDING\",\n OPEN = \"OPEN\",\n PARTIAL = \"PARTIAL\",\n COMPLETED = \"COMPLETED\"\n}\n\nexport enum OptionContractType {\n CALL = \"CALL\",\n PUT = \"PUT\"\n}\n\nexport type Trade = {\n // Reference to the Alpaca account used for the trade.\n alpacaAccountId: string;\n // Reference to the asset being traded.\n assetId: string;\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: string;\n // Strategy used to execute the trade.\n strategy: string;\n // Analysis supporting the trade decision.\n analysis: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Timestamp when the trade was executed.\n timestamp: Date;\n // Current status of the trade.\n status: TradeStatus;\n // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n // Relation to the Asset model.\n asset: Asset;\n // If the asset.type is OPTION, then provide type of contract (CALL or PUT).\n optionContractType?: OptionContractType;\n // List of actions associated with this trade.\n actions: Action[];\n}\n\nexport enum OrderSide {\n BUY = \"BUY\",\n SELL = \"SELL\"\n}\n\nexport enum OrderType {\n MARKET = \"MARKET\",\n LIMIT = \"LIMIT\",\n STOP = \"STOP\",\n STOP_LIMIT = \"STOP_LIMIT\",\n TRAILING_STOP = \"TRAILING_STOP\"\n}\n\n// Time in force enum (day, gtc, opg, cls, etc.).\nexport enum TimeInForce {\n DAY = \"DAY\",\n GTC = \"GTC\",\n OPG = \"OPG\",\n CLS = \"CLS\",\n IOC = \"IOC\",\n FOK = \"FOK\"\n}\n\nexport enum OrderStatus {\n NEW = \"NEW\",\n PARTIALLY_FILLED = \"PARTIALLY_FILLED\",\n FILLED = \"FILLED\",\n CANCELED = \"CANCELED\",\n REJECTED = \"REJECTED\",\n EXPIRED = \"EXPIRED\"\n}\n\nexport type Order = {\n // Reference to the Alpaca account used for the order.\n alpacaAccountId: string;\n // Reference to the asset being ordered.\n assetId: string;\n // Symbol of the asset (ticker symbol).\n symbol: string;\n // Quantity of the asset to be ordered.\n qty?: number;\n // Notional value of the order. Optional, used if qty is not provided.\n notional?: number;\n // Side of the order (BUY or SELL).\n side: OrderSide;\n // Type of order (market, limit, stop, stop_limit, trailing_stop).\n type: OrderType;\n // Time in force for the order (day, gtc, opg, cls, ioc, fok).\n timeInForce: TimeInForce;\n // Limit price for limit or stop-limit orders.\n limitPrice?: number;\n // Stop price for stop or stop-limit orders.\n stopPrice?: number;\n // Trailing price for trailing stop orders.\n trailPrice?: number;\n // Trailing percent for trailing stop orders.\n trailPercent?: number;\n // Whether the order is eligible for extended hours.\n extendedHours?: boolean;\n // Client-supplied identifier for the order.\n clientOrderId?: string;\n // Current status of the order.\n status: OrderStatus;\n // Timestamp when the order was submitted.\n submittedAt?: Date;\n // Timestamp when the order was filled.\n filledAt?: Date;\n // Average price at which the order was filled.\n filledAvgPrice?: number;\n // Reference to the action associated with the order.\n actionId: string;\n // The Alpaca account this order is associated with.\n alpacaAccount: AlpacaAccount;\n // The action this order is associated with.\n action: Action;\n // The asset this order is for.\n asset: Asset;\n // Fee associated with the order.\n fee?: number;\n}\n\nexport type Position = {\n // Reference to the associated asset.\n assetId: string;\n // Relation to the Asset model.\n asset: Asset;\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 // Relation to the AlpacaAccount model, if applicable.\n alpacaAccount?: AlpacaAccount;\n // Foreign key referencing the AlpacaAccount.\n alpacaAccountId: string;\n}\n\nexport enum AlertType {\n SUCCESS = \"SUCCESS\",\n WARNING = \"WARNING\",\n ERROR = \"ERROR\",\n INFO = \"INFO\"\n}\n\nexport type Alert = {\n // Reference to the Alpaca account associated with the alert.\n alpacaAccountId: string;\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 // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n}\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // API key for authenticating requests to Alpaca.\n APIKey: string;\n // API secret for authenticating requests to Alpaca.\n APISecret: string;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // Relation to the User model who owns this Alpaca account.\n user: User;\n // Foreign key referencing the User.\n userId: string;\n // List of trades executed through this Alpaca account.\n trades: Trade[];\n // List of orders placed through this Alpaca account.\n orders: Order[];\n // List of positions held in this Alpaca account.\n positions: Position[];\n // List of alerts generated for this Alpaca account.\n alerts: Alert[];\n}\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 // Timestamp when the user's email was verified.\n emailVerified?: Date;\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, if applicable.\n customer?: Customer;\n // Foreign key referencing the Customer.\n customerId?: number;\n // List of accounts associated with the user.\n accounts: Account[];\n // List of sessions associated with the user.\n sessions: Session[];\n // List of authenticators for the user.\n authenticators: Authenticator[];\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: AlpacaAccount[];\n}\n\n";
2
2
  //# sourceMappingURL=Session.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Session.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Session.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,u7RA6S7B,CAAC"}
1
+ {"version":3,"file":"Session.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Session.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,47TA6U7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Session.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Session.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6ShC,CAAC"}
1
+ {"version":3,"file":"Session.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Session.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6UhC,CAAC"}
@@ -166,23 +166,36 @@ export type User = {
166
166
  alpacaAccounts: AlpacaAccount[];
167
167
  }
168
168
 
169
+ export enum OrderSide {
170
+ BUY = "BUY",
171
+ SELL = "SELL"
172
+ }
173
+
169
174
  export enum OrderType {
170
175
  MARKET = "MARKET",
171
176
  LIMIT = "LIMIT",
172
177
  STOP = "STOP",
173
- STOP_LIMIT = "STOP_LIMIT"
178
+ STOP_LIMIT = "STOP_LIMIT",
179
+ TRAILING_STOP = "TRAILING_STOP"
174
180
  }
175
181
 
176
- export enum OrderSide {
177
- BUY = "BUY",
178
- SELL = "SELL"
182
+ // Time in force enum (day, gtc, opg, cls, etc.).
183
+ export enum TimeInForce {
184
+ DAY = "DAY",
185
+ GTC = "GTC",
186
+ OPG = "OPG",
187
+ CLS = "CLS",
188
+ IOC = "IOC",
189
+ FOK = "FOK"
179
190
  }
180
191
 
181
192
  export enum OrderStatus {
182
- PENDING = "PENDING",
193
+ NEW = "NEW",
194
+ PARTIALLY_FILLED = "PARTIALLY_FILLED",
183
195
  FILLED = "FILLED",
184
- CANCELLED = "CANCELLED",
185
- REJECTED = "REJECTED"
196
+ CANCELED = "CANCELED",
197
+ REJECTED = "REJECTED",
198
+ EXPIRED = "EXPIRED"
186
199
  }
187
200
 
188
201
  export enum ActionType {
@@ -372,21 +385,40 @@ export type Order = {
372
385
  alpacaAccountId: string;
373
386
  // Reference to the asset being ordered.
374
387
  assetId: string;
375
- // Reference to the action associated with the order.
376
- actionId: string;
377
- // Type of order, defined by OrderType enum.
378
- type: OrderType;
388
+ // Symbol of the asset (ticker symbol).
389
+ symbol: string;
390
+ // Quantity of the asset to be ordered.
391
+ qty?: number;
392
+ // Notional value of the order. Optional, used if qty is not provided.
393
+ notional?: number;
379
394
  // Side of the order (BUY or SELL).
380
395
  side: OrderSide;
381
- // Quantity of the asset to be ordered.
382
- qty: number;
383
- // Price at which the asset is to be bought or sold.
384
- price: number;
385
- stopLoss?: number;
386
- // Current status of the order, defined by OrderStatus enum.
396
+ // Type of order (market, limit, stop, stop_limit, trailing_stop).
397
+ type: OrderType;
398
+ // Time in force for the order (day, gtc, opg, cls, ioc, fok).
399
+ timeInForce: TimeInForce;
400
+ // Limit price for limit or stop-limit orders.
401
+ limitPrice?: number;
402
+ // Stop price for stop or stop-limit orders.
403
+ stopPrice?: number;
404
+ // Trailing price for trailing stop orders.
405
+ trailPrice?: number;
406
+ // Trailing percent for trailing stop orders.
407
+ trailPercent?: number;
408
+ // Whether the order is eligible for extended hours.
409
+ extendedHours?: boolean;
410
+ // Client-supplied identifier for the order.
411
+ clientOrderId?: string;
412
+ // Current status of the order.
387
413
  status: OrderStatus;
388
- // Timestamp when the action was executed.
389
- executionTime?: Date;
414
+ // Timestamp when the order was submitted.
415
+ submittedAt?: Date;
416
+ // Timestamp when the order was filled.
417
+ filledAt?: Date;
418
+ // Average price at which the order was filled.
419
+ filledAvgPrice?: number;
420
+ // Reference to the action associated with the order.
421
+ actionId: string;
390
422
  // The Alpaca account this order is associated with.
391
423
  alpacaAccount: AlpacaAccount;
392
424
  // The action this order is associated with.
@@ -1,2 +1,2 @@
1
- export declare const TradeTypeString = "\nYour response should adhere to the following type definition for the \"Trade\" type, and its nested object types (which include 'AlpacaAccount', 'Asset', 'Action' types), as well as any ENUMS used by it (which include 'TradeStatus', 'OptionContractType' enums).\n\nImportantly, 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 // Reference to the Alpaca account used for the trade.\n alpacaAccountId: string;\n // Reference to the asset being traded.\n assetId: string;\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: string;\n // Strategy used to execute the trade.\n strategy: string;\n // Analysis supporting the trade decision.\n analysis: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Timestamp when the trade was executed.\n timestamp: Date;\n // Current status of the trade.\n status: TradeStatus;\n // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n // Relation to the Asset model.\n asset: Asset;\n // If the asset.type is OPTION, then provide type of contract (CALL or PUT).\n optionContractType?: OptionContractType;\n // List of actions associated with this trade.\n actions: Action[];\n}\n\nexport enum TradeStatus {\n PENDING = \"PENDING\",\n OPEN = \"OPEN\",\n PARTIAL = \"PARTIAL\",\n COMPLETED = \"COMPLETED\"\n}\n\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\n}\n\nexport enum UserRole {\n OWNER = \"OWNER\",\n ADMIN = \"ADMIN\",\n USER = \"USER\"\n}\n\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\nexport type Customer = {\n // Reference to the authenticated user associated with the customer.\n authUserId: string;\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // Unique Stripe customer ID for billing.\n stripeCustomerId?: string;\n // Unique Stripe subscription ID.\n stripeSubscriptionId?: string;\n // Stripe price ID associated with the customer's subscription.\n stripePriceId?: string;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: User[];\n}\n\nexport type Account = {\n // Reference to the user who owns this account.\n userId: string;\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 // Unique identifier provided by the external provider.\n providerAccountId: string;\n // Refresh token for the external account, if applicable.\n refresh_token?: string;\n // Access token for the external account, if applicable.\n access_token?: 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 // ID token for authentication, if applicable.\n id_token?: string;\n // State of the session associated with the account.\n session_state?: string;\n // Relation to the User model.\n user: User;\n}\n\nexport type Session = {\n // Token associated with the session for authentication.\n sessionToken: string;\n // Reference to the user who owns this session.\n userId: string;\n // Expiration date and time of the session.\n expires: Date;\n // Relation to the User model.\n user: User;\n}\n\nexport type Authenticator = {\n // Reference to the user who owns this authenticator.\n userId: string;\n // Unique credential ID for the authenticator.\n credentialID: string;\n // Public key associated with the authenticator.\n publicKey: string;\n // Counter for the number of authentication attempts.\n counter: number;\n // Relation to the User model.\n user: User;\n}\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 // Timestamp when the user's email was verified.\n emailVerified?: Date;\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, if applicable.\n customer?: Customer;\n // Foreign key referencing the Customer.\n customerId?: number;\n // List of accounts associated with the user.\n accounts: Account[];\n // List of sessions associated with the user.\n sessions: Session[];\n // List of authenticators for the user.\n authenticators: Authenticator[];\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: AlpacaAccount[];\n}\n\nexport enum OrderType {\n MARKET = \"MARKET\",\n LIMIT = \"LIMIT\",\n STOP = \"STOP\",\n STOP_LIMIT = \"STOP_LIMIT\"\n}\n\nexport enum OrderSide {\n BUY = \"BUY\",\n SELL = \"SELL\"\n}\n\nexport enum OrderStatus {\n PENDING = \"PENDING\",\n FILLED = \"FILLED\",\n CANCELLED = \"CANCELLED\",\n REJECTED = \"REJECTED\"\n}\n\nexport enum ActionType {\n BUY = \"BUY\",\n GET_OPTION_CONTRACTS = \"GET_OPTION_CONTRACTS\",\n EXERCISE_OPTION = \"EXERCISE_OPTION\",\n SELL = \"SELL\",\n CANCEL = \"CANCEL\",\n ADJUST = \"ADJUST\",\n HEDGE = \"HEDGE\"\n}\n\nexport enum ActionStatus {\n STAGED = \"STAGED\",\n EXECUTED = \"EXECUTED\",\n COMPLETED = \"COMPLETED\"\n}\n\nexport type Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Reference to the trade this action is part of.\n tradeId: string;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Reference to the order ID associated with the action.\n orderId?: string;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n // Fees associated with the action.\n fee?: number;\n // The trade this action is part of.\n trade: Trade;\n // The order associated with this action.\n order?: Order;\n}\n\nexport enum AssetType {\n STOCK = \"STOCK\",\n ETF = \"ETF\",\n MUTUAL_FUND = \"MUTUAL_FUND\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n INDEX = \"INDEX\",\n COMMODITY = \"COMMODITY\",\n CURRENCY = \"CURRENCY\",\n OPTION = \"OPTION\",\n FUTURE = \"FUTURE\",\n BOND = \"BOND\",\n WARRANT = \"WARRANT\",\n ADR = \"ADR\",\n GDR = \"GDR\",\n UNIT = \"UNIT\",\n RIGHT = \"RIGHT\",\n REIT = \"REIT\",\n STRUCTURED_PRODUCT = \"STRUCTURED_PRODUCT\",\n SWAP = \"SWAP\",\n SPOT = \"SPOT\",\n FORWARD = \"FORWARD\",\n OTHER = \"OTHER\"\n}\n\nexport type Asset = {\n // Ticker symbol of the asset, must be unique.\n symbol: string;\n // Full name of the asset, must be unique.\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n // URL to the asset's logo image.\n logoUrl?: string;\n // Description of the asset.\n description?: string;\n // Central Index Key for the asset.\n cik?: string;\n // Stock exchange where the asset is listed.\n exchange?: string;\n // Currency in which the asset is traded.\n currency?: string;\n // Country where the asset is based.\n country?: string;\n // Sector classification of the asset.\n sector?: string;\n // Industry classification of the asset.\n industry?: string;\n // Physical address associated with the asset.\n address?: string;\n // Official website of the asset.\n officialSite?: string;\n // Fiscal year-end date of the asset.\n fiscalYearEnd?: string;\n // Date of the latest financial quarter.\n latestQuarter?: string;\n // Market capitalization of the asset.\n marketCapitalization?: string;\n // Earnings Before Interest, Taxes, Depreciation, and Amortization.\n ebitda?: string;\n // Price-to-Earnings ratio.\n peRatio?: string;\n // Price/Earnings to Growth ratio.\n pegRatio?: string;\n // Book value per share.\n bookValue?: string;\n // Dividend per share.\n dividendPerShare?: string;\n // Dividend yield percentage.\n dividendYield?: string;\n // Earnings per share.\n eps?: string;\n // Revenue per share over the trailing twelve months.\n revenuePerShareTTM?: string;\n // Profit margin percentage.\n profitMargin?: string;\n // Operating margin over the trailing twelve months.\n operatingMarginTTM?: string;\n // Return on assets over the trailing twelve months.\n returnOnAssetsTTM?: string;\n // Return on equity over the trailing twelve months.\n returnOnEquityTTM?: string;\n // Total revenue over the trailing twelve months.\n revenueTTM?: string;\n // Gross profit over the trailing twelve months.\n grossProfitTTM?: string;\n // Diluted earnings per share over the trailing twelve months.\n dilutedEPSTTM?: string;\n // Year-over-year growth in quarterly earnings.\n quarterlyEarningsGrowthYOY?: string;\n // Year-over-year growth in quarterly revenue.\n quarterlyRevenueGrowthYOY?: string;\n // Analyst target price for the asset.\n analystTargetPrice?: string;\n // Percentage of analysts rating the asset as Strong Buy.\n analystRatingStrongBuy?: string;\n // Percentage of analysts rating the asset as Buy.\n analystRatingBuy?: string;\n // Percentage of analysts rating the asset as Hold.\n analystRatingHold?: string;\n // Percentage of analysts rating the asset as Sell.\n analystRatingSell?: string;\n // Percentage of analysts rating the asset as Strong Sell.\n analystRatingStrongSell?: string;\n // Trailing Price-to-Earnings ratio.\n trailingPE?: string;\n // Forward Price-to-Earnings ratio.\n forwardPE?: string;\n // Price-to-Sales ratio over the trailing twelve months.\n priceToSalesRatioTTM?: string;\n // Price-to-Book ratio.\n priceToBookRatio?: string;\n // Enterprise Value to Revenue ratio.\n evToRevenue?: string;\n // Enterprise Value to EBITDA ratio.\n evToEbitda?: string;\n // Beta coefficient measuring volatility.\n beta?: string;\n // 52-week high price of the asset.\n week52High?: string;\n // 52-week low price of the asset.\n week52Low?: string;\n // 50-day moving average price.\n day50MovingAverage?: string;\n // 200-day moving average price.\n day200MovingAverage?: string;\n // Total number of shares outstanding.\n sharesOutstanding?: string;\n // Date when the next dividend is paid.\n dividendDate?: string;\n // Date when the asset goes ex-dividend.\n exDividendDate?: string;\n // Last sell price of the asset.\n sellPrice?: string;\n // Last buy price of the asset.\n buyPrice?: string;\n // List of trades involving this asset.\n trades: Trade[];\n // List of orders involving this asset.\n orders: Order[];\n // List of positions involving this asset.\n positions: Position[];\n // List of news article sentiments related to this asset.\n newsMentions: NewsArticleAssetSentiment[];\n}\n\nexport type Order = {\n // Reference to the Alpaca account used for the order.\n alpacaAccountId: string;\n // Reference to the asset being ordered.\n assetId: string;\n // Reference to the action associated with the order.\n actionId: string;\n // Type of order, defined by OrderType enum.\n type: OrderType;\n // Side of the order (BUY or SELL).\n side: OrderSide;\n // Quantity of the asset to be ordered.\n qty: number;\n // Price at which the asset is to be bought or sold.\n price: number;\n stopLoss?: number;\n // Current status of the order, defined by OrderStatus enum.\n status: OrderStatus;\n // Timestamp when the action was executed.\n executionTime?: Date;\n // The Alpaca account this order is associated with.\n alpacaAccount: AlpacaAccount;\n // The action this order is associated with.\n action: Action;\n // The asset this order is for.\n asset: Asset;\n // Fee associated with the order.\n fee?: number;\n}\n\nexport enum AlertType {\n SUCCESS = \"SUCCESS\",\n WARNING = \"WARNING\",\n ERROR = \"ERROR\",\n INFO = \"INFO\"\n}\n\nexport type Alert = {\n // Reference to the Alpaca account associated with the alert.\n alpacaAccountId: string;\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 // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n}\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // API key for authenticating requests to Alpaca.\n APIKey: string;\n // API secret for authenticating requests to Alpaca.\n APISecret: string;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // Relation to the User model who owns this Alpaca account.\n user: User;\n // Foreign key referencing the User.\n userId: string;\n // List of trades executed through this Alpaca account.\n trades: Trade[];\n // List of orders placed through this Alpaca account.\n orders: Order[];\n // List of positions held in this Alpaca account.\n positions: Position[];\n // List of alerts generated for this Alpaca account.\n alerts: Alert[];\n}\n\nexport enum OptionContractType {\n CALL = \"CALL\",\n PUT = \"PUT\"\n}\n\n";
1
+ export declare const TradeTypeString = "\nYour response should adhere to the following type definition for the \"Trade\" type, and its nested object types (which include 'AlpacaAccount', 'Asset', 'Action' types), as well as any ENUMS used by it (which include 'TradeStatus', 'OptionContractType' enums).\n\nImportantly, 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 // Reference to the Alpaca account used for the trade.\n alpacaAccountId: string;\n // Reference to the asset being traded.\n assetId: string;\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: string;\n // Strategy used to execute the trade.\n strategy: string;\n // Analysis supporting the trade decision.\n analysis: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Timestamp when the trade was executed.\n timestamp: Date;\n // Current status of the trade.\n status: TradeStatus;\n // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n // Relation to the Asset model.\n asset: Asset;\n // If the asset.type is OPTION, then provide type of contract (CALL or PUT).\n optionContractType?: OptionContractType;\n // List of actions associated with this trade.\n actions: Action[];\n}\n\nexport enum TradeStatus {\n PENDING = \"PENDING\",\n OPEN = \"OPEN\",\n PARTIAL = \"PARTIAL\",\n COMPLETED = \"COMPLETED\"\n}\n\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\n}\n\nexport enum UserRole {\n OWNER = \"OWNER\",\n ADMIN = \"ADMIN\",\n USER = \"USER\"\n}\n\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\nexport type Customer = {\n // Reference to the authenticated user associated with the customer.\n authUserId: string;\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // Unique Stripe customer ID for billing.\n stripeCustomerId?: string;\n // Unique Stripe subscription ID.\n stripeSubscriptionId?: string;\n // Stripe price ID associated with the customer's subscription.\n stripePriceId?: string;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: User[];\n}\n\nexport type Account = {\n // Reference to the user who owns this account.\n userId: string;\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 // Unique identifier provided by the external provider.\n providerAccountId: string;\n // Refresh token for the external account, if applicable.\n refresh_token?: string;\n // Access token for the external account, if applicable.\n access_token?: 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 // ID token for authentication, if applicable.\n id_token?: string;\n // State of the session associated with the account.\n session_state?: string;\n // Relation to the User model.\n user: User;\n}\n\nexport type Session = {\n // Token associated with the session for authentication.\n sessionToken: string;\n // Reference to the user who owns this session.\n userId: string;\n // Expiration date and time of the session.\n expires: Date;\n // Relation to the User model.\n user: User;\n}\n\nexport type Authenticator = {\n // Reference to the user who owns this authenticator.\n userId: string;\n // Unique credential ID for the authenticator.\n credentialID: string;\n // Public key associated with the authenticator.\n publicKey: string;\n // Counter for the number of authentication attempts.\n counter: number;\n // Relation to the User model.\n user: User;\n}\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 // Timestamp when the user's email was verified.\n emailVerified?: Date;\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, if applicable.\n customer?: Customer;\n // Foreign key referencing the Customer.\n customerId?: number;\n // List of accounts associated with the user.\n accounts: Account[];\n // List of sessions associated with the user.\n sessions: Session[];\n // List of authenticators for the user.\n authenticators: Authenticator[];\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: AlpacaAccount[];\n}\n\nexport enum OrderSide {\n BUY = \"BUY\",\n SELL = \"SELL\"\n}\n\nexport enum OrderType {\n MARKET = \"MARKET\",\n LIMIT = \"LIMIT\",\n STOP = \"STOP\",\n STOP_LIMIT = \"STOP_LIMIT\",\n TRAILING_STOP = \"TRAILING_STOP\"\n}\n\n// Time in force enum (day, gtc, opg, cls, etc.).\nexport enum TimeInForce {\n DAY = \"DAY\",\n GTC = \"GTC\",\n OPG = \"OPG\",\n CLS = \"CLS\",\n IOC = \"IOC\",\n FOK = \"FOK\"\n}\n\nexport enum OrderStatus {\n NEW = \"NEW\",\n PARTIALLY_FILLED = \"PARTIALLY_FILLED\",\n FILLED = \"FILLED\",\n CANCELED = \"CANCELED\",\n REJECTED = \"REJECTED\",\n EXPIRED = \"EXPIRED\"\n}\n\nexport enum ActionType {\n BUY = \"BUY\",\n GET_OPTION_CONTRACTS = \"GET_OPTION_CONTRACTS\",\n EXERCISE_OPTION = \"EXERCISE_OPTION\",\n SELL = \"SELL\",\n CANCEL = \"CANCEL\",\n ADJUST = \"ADJUST\",\n HEDGE = \"HEDGE\"\n}\n\nexport enum ActionStatus {\n STAGED = \"STAGED\",\n EXECUTED = \"EXECUTED\",\n COMPLETED = \"COMPLETED\"\n}\n\nexport type Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Reference to the trade this action is part of.\n tradeId: string;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Reference to the order ID associated with the action.\n orderId?: string;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n // Fees associated with the action.\n fee?: number;\n // The trade this action is part of.\n trade: Trade;\n // The order associated with this action.\n order?: Order;\n}\n\nexport enum AssetType {\n STOCK = \"STOCK\",\n ETF = \"ETF\",\n MUTUAL_FUND = \"MUTUAL_FUND\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n INDEX = \"INDEX\",\n COMMODITY = \"COMMODITY\",\n CURRENCY = \"CURRENCY\",\n OPTION = \"OPTION\",\n FUTURE = \"FUTURE\",\n BOND = \"BOND\",\n WARRANT = \"WARRANT\",\n ADR = \"ADR\",\n GDR = \"GDR\",\n UNIT = \"UNIT\",\n RIGHT = \"RIGHT\",\n REIT = \"REIT\",\n STRUCTURED_PRODUCT = \"STRUCTURED_PRODUCT\",\n SWAP = \"SWAP\",\n SPOT = \"SPOT\",\n FORWARD = \"FORWARD\",\n OTHER = \"OTHER\"\n}\n\nexport type Asset = {\n // Ticker symbol of the asset, must be unique.\n symbol: string;\n // Full name of the asset, must be unique.\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n // URL to the asset's logo image.\n logoUrl?: string;\n // Description of the asset.\n description?: string;\n // Central Index Key for the asset.\n cik?: string;\n // Stock exchange where the asset is listed.\n exchange?: string;\n // Currency in which the asset is traded.\n currency?: string;\n // Country where the asset is based.\n country?: string;\n // Sector classification of the asset.\n sector?: string;\n // Industry classification of the asset.\n industry?: string;\n // Physical address associated with the asset.\n address?: string;\n // Official website of the asset.\n officialSite?: string;\n // Fiscal year-end date of the asset.\n fiscalYearEnd?: string;\n // Date of the latest financial quarter.\n latestQuarter?: string;\n // Market capitalization of the asset.\n marketCapitalization?: string;\n // Earnings Before Interest, Taxes, Depreciation, and Amortization.\n ebitda?: string;\n // Price-to-Earnings ratio.\n peRatio?: string;\n // Price/Earnings to Growth ratio.\n pegRatio?: string;\n // Book value per share.\n bookValue?: string;\n // Dividend per share.\n dividendPerShare?: string;\n // Dividend yield percentage.\n dividendYield?: string;\n // Earnings per share.\n eps?: string;\n // Revenue per share over the trailing twelve months.\n revenuePerShareTTM?: string;\n // Profit margin percentage.\n profitMargin?: string;\n // Operating margin over the trailing twelve months.\n operatingMarginTTM?: string;\n // Return on assets over the trailing twelve months.\n returnOnAssetsTTM?: string;\n // Return on equity over the trailing twelve months.\n returnOnEquityTTM?: string;\n // Total revenue over the trailing twelve months.\n revenueTTM?: string;\n // Gross profit over the trailing twelve months.\n grossProfitTTM?: string;\n // Diluted earnings per share over the trailing twelve months.\n dilutedEPSTTM?: string;\n // Year-over-year growth in quarterly earnings.\n quarterlyEarningsGrowthYOY?: string;\n // Year-over-year growth in quarterly revenue.\n quarterlyRevenueGrowthYOY?: string;\n // Analyst target price for the asset.\n analystTargetPrice?: string;\n // Percentage of analysts rating the asset as Strong Buy.\n analystRatingStrongBuy?: string;\n // Percentage of analysts rating the asset as Buy.\n analystRatingBuy?: string;\n // Percentage of analysts rating the asset as Hold.\n analystRatingHold?: string;\n // Percentage of analysts rating the asset as Sell.\n analystRatingSell?: string;\n // Percentage of analysts rating the asset as Strong Sell.\n analystRatingStrongSell?: string;\n // Trailing Price-to-Earnings ratio.\n trailingPE?: string;\n // Forward Price-to-Earnings ratio.\n forwardPE?: string;\n // Price-to-Sales ratio over the trailing twelve months.\n priceToSalesRatioTTM?: string;\n // Price-to-Book ratio.\n priceToBookRatio?: string;\n // Enterprise Value to Revenue ratio.\n evToRevenue?: string;\n // Enterprise Value to EBITDA ratio.\n evToEbitda?: string;\n // Beta coefficient measuring volatility.\n beta?: string;\n // 52-week high price of the asset.\n week52High?: string;\n // 52-week low price of the asset.\n week52Low?: string;\n // 50-day moving average price.\n day50MovingAverage?: string;\n // 200-day moving average price.\n day200MovingAverage?: string;\n // Total number of shares outstanding.\n sharesOutstanding?: string;\n // Date when the next dividend is paid.\n dividendDate?: string;\n // Date when the asset goes ex-dividend.\n exDividendDate?: string;\n // Last sell price of the asset.\n sellPrice?: string;\n // Last buy price of the asset.\n buyPrice?: string;\n // List of trades involving this asset.\n trades: Trade[];\n // List of orders involving this asset.\n orders: Order[];\n // List of positions involving this asset.\n positions: Position[];\n // List of news article sentiments related to this asset.\n newsMentions: NewsArticleAssetSentiment[];\n}\n\nexport type Order = {\n // Reference to the Alpaca account used for the order.\n alpacaAccountId: string;\n // Reference to the asset being ordered.\n assetId: string;\n // Symbol of the asset (ticker symbol).\n symbol: string;\n // Quantity of the asset to be ordered.\n qty?: number;\n // Notional value of the order. Optional, used if qty is not provided.\n notional?: number;\n // Side of the order (BUY or SELL).\n side: OrderSide;\n // Type of order (market, limit, stop, stop_limit, trailing_stop).\n type: OrderType;\n // Time in force for the order (day, gtc, opg, cls, ioc, fok).\n timeInForce: TimeInForce;\n // Limit price for limit or stop-limit orders.\n limitPrice?: number;\n // Stop price for stop or stop-limit orders.\n stopPrice?: number;\n // Trailing price for trailing stop orders.\n trailPrice?: number;\n // Trailing percent for trailing stop orders.\n trailPercent?: number;\n // Whether the order is eligible for extended hours.\n extendedHours?: boolean;\n // Client-supplied identifier for the order.\n clientOrderId?: string;\n // Current status of the order.\n status: OrderStatus;\n // Timestamp when the order was submitted.\n submittedAt?: Date;\n // Timestamp when the order was filled.\n filledAt?: Date;\n // Average price at which the order was filled.\n filledAvgPrice?: number;\n // Reference to the action associated with the order.\n actionId: string;\n // The Alpaca account this order is associated with.\n alpacaAccount: AlpacaAccount;\n // The action this order is associated with.\n action: Action;\n // The asset this order is for.\n asset: Asset;\n // Fee associated with the order.\n fee?: number;\n}\n\nexport enum AlertType {\n SUCCESS = \"SUCCESS\",\n WARNING = \"WARNING\",\n ERROR = \"ERROR\",\n INFO = \"INFO\"\n}\n\nexport type Alert = {\n // Reference to the Alpaca account associated with the alert.\n alpacaAccountId: string;\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 // Relation to the AlpacaAccount model.\n alpacaAccount: AlpacaAccount;\n}\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // API key for authenticating requests to Alpaca.\n APIKey: string;\n // API secret for authenticating requests to Alpaca.\n APISecret: string;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // Relation to the User model who owns this Alpaca account.\n user: User;\n // Foreign key referencing the User.\n userId: string;\n // List of trades executed through this Alpaca account.\n trades: Trade[];\n // List of orders placed through this Alpaca account.\n orders: Order[];\n // List of positions held in this Alpaca account.\n positions: Position[];\n // List of alerts generated for this Alpaca account.\n alerts: Alert[];\n}\n\nexport enum OptionContractType {\n CALL = \"CALL\",\n PUT = \"PUT\"\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,q9aA8b3B,CAAC"}
1
+ {"version":3,"file":"Trade.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,09cA8d3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Trade.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8b9B,CAAC"}
1
+ {"version":3,"file":"Trade.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8d9B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionPlan = exports.EventImportance = exports.AlertType = exports.OrderStatus = exports.OptionContractType = exports.OrderType = exports.TradeStatus = exports.ActionStatus = exports.OrderSide = exports.ActionType = exports.AlpacaAccountType = exports.AssetType = exports.UserRole = void 0;
3
+ exports.SubscriptionPlan = exports.EventImportance = exports.AlertType = exports.TimeInForce = exports.OrderStatus = exports.OptionContractType = exports.OrderType = exports.TradeStatus = exports.ActionStatus = exports.OrderSide = exports.ActionType = exports.AlpacaAccountType = exports.AssetType = exports.UserRole = void 0;
4
4
  var UserRole;
5
5
  (function (UserRole) {
6
6
  UserRole["OWNER"] = "OWNER";
@@ -70,6 +70,7 @@ var OrderType;
70
70
  OrderType["LIMIT"] = "LIMIT";
71
71
  OrderType["STOP"] = "STOP";
72
72
  OrderType["STOP_LIMIT"] = "STOP_LIMIT";
73
+ OrderType["TRAILING_STOP"] = "TRAILING_STOP";
73
74
  })(OrderType || (exports.OrderType = OrderType = {}));
74
75
  var OptionContractType;
75
76
  (function (OptionContractType) {
@@ -78,11 +79,23 @@ var OptionContractType;
78
79
  })(OptionContractType || (exports.OptionContractType = OptionContractType = {}));
79
80
  var OrderStatus;
80
81
  (function (OrderStatus) {
81
- OrderStatus["PENDING"] = "PENDING";
82
+ OrderStatus["NEW"] = "NEW";
83
+ OrderStatus["PARTIALLY_FILLED"] = "PARTIALLY_FILLED";
82
84
  OrderStatus["FILLED"] = "FILLED";
83
- OrderStatus["CANCELLED"] = "CANCELLED";
85
+ OrderStatus["CANCELED"] = "CANCELED";
84
86
  OrderStatus["REJECTED"] = "REJECTED";
87
+ OrderStatus["EXPIRED"] = "EXPIRED";
85
88
  })(OrderStatus || (exports.OrderStatus = OrderStatus = {}));
89
+ // Time in force enum (day, gtc, opg, cls, etc.).
90
+ var TimeInForce;
91
+ (function (TimeInForce) {
92
+ TimeInForce["DAY"] = "DAY";
93
+ TimeInForce["GTC"] = "GTC";
94
+ TimeInForce["OPG"] = "OPG";
95
+ TimeInForce["CLS"] = "CLS";
96
+ TimeInForce["IOC"] = "IOC";
97
+ TimeInForce["FOK"] = "FOK";
98
+ })(TimeInForce || (exports.TimeInForce = TimeInForce = {}));
86
99
  var AlertType;
87
100
  (function (AlertType) {
88
101
  AlertType["SUCCESS"] = "SUCCESS";
@@ -58,17 +58,28 @@ export declare enum OrderType {
58
58
  MARKET = "MARKET",
59
59
  LIMIT = "LIMIT",
60
60
  STOP = "STOP",
61
- STOP_LIMIT = "STOP_LIMIT"
61
+ STOP_LIMIT = "STOP_LIMIT",
62
+ TRAILING_STOP = "TRAILING_STOP"
62
63
  }
63
64
  export declare enum OptionContractType {
64
65
  CALL = "CALL",
65
66
  PUT = "PUT"
66
67
  }
67
68
  export declare enum OrderStatus {
68
- PENDING = "PENDING",
69
+ NEW = "NEW",
70
+ PARTIALLY_FILLED = "PARTIALLY_FILLED",
69
71
  FILLED = "FILLED",
70
- CANCELLED = "CANCELLED",
71
- REJECTED = "REJECTED"
72
+ CANCELED = "CANCELED",
73
+ REJECTED = "REJECTED",
74
+ EXPIRED = "EXPIRED"
75
+ }
76
+ export declare enum TimeInForce {
77
+ DAY = "DAY",
78
+ GTC = "GTC",
79
+ OPG = "OPG",
80
+ CLS = "CLS",
81
+ IOC = "IOC",
82
+ FOK = "FOK"
72
83
  }
73
84
  export declare enum AlertType {
74
85
  SUCCESS = "SUCCESS",
@@ -1 +1 @@
1
- {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,oBAAY,SAAS;IACnB,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,kBAAkB,uBAAuB;IACzC,IAAI,SAAS;IACb,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,oBAAY,UAAU;IACpB,GAAG,QAAQ;IACX,oBAAoB,yBAAyB;IAC7C,eAAe,oBAAoB;IACnC,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AAED,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,SAAS,cAAc;CACxB;AAED,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,SAAS,cAAc;CACxB;AAED,oBAAY,SAAS;IACnB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,UAAU,eAAe;CAC1B;AAED,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ;AAED,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,QAAQ,aAAa;CACtB;AAED,oBAAY,SAAS;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,oBAAY,gBAAgB;IAC1B,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,QAAQ,aAAa;CACtB"}
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,oBAAY,SAAS;IACnB,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,kBAAkB,uBAAuB;IACzC,IAAI,SAAS;IACb,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,oBAAY,UAAU;IACpB,GAAG,QAAQ;IACX,oBAAoB,yBAAyB;IAC7C,eAAe,oBAAoB;IACnC,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AAED,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,SAAS,cAAc;CACxB;AAED,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,SAAS,cAAc;CACxB;AAED,oBAAY,SAAS;IACnB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,aAAa,kBAAkB;CAChC;AAED,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ;AAED,oBAAY,WAAW;IACrB,GAAG,QAAQ;IACX,gBAAgB,qBAAqB;IACrC,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAGD,oBAAY,WAAW;IACrB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;CACZ;AAED,oBAAY,SAAS;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,oBAAY,gBAAgB;IAC1B,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,QAAQ,aAAa;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;AACf,CAAC,EAJW,QAAQ,wBAAR,QAAQ,QAInB;AAED,IAAY,SAsBX;AAtBD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACf,wBAAW,CAAA;IACX,wCAA2B,CAAA;IAC3B,8CAAiC,CAAA;IACjC,4BAAe,CAAA;IACf,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,wBAAW,CAAA;IACX,wBAAW,CAAA;IACX,0BAAa,CAAA;IACb,4BAAe,CAAA;IACf,0BAAa,CAAA;IACb,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,4BAAe,CAAA;AACjB,CAAC,EAtBW,SAAS,yBAAT,SAAS,QAsBpB;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,oCAAe,CAAA;IACf,kCAAa,CAAA;AACf,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,2DAA6C,CAAA;IAC7C,iDAAmC,CAAA;IACnC,2BAAa,CAAA;IACb,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;IACjB,6BAAe,CAAA;AACjB,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB;AAED,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;AACzB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,4BAAa,CAAA;IACb,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;AACzB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAED,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,4BAAe,CAAA;IACf,0BAAa,CAAA;IACb,sCAAyB,CAAA;AAC3B,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,iCAAW,CAAA;AACb,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,sCAAuB,CAAA;IACvB,oCAAqB,CAAA;AACvB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAED,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,gCAAmB,CAAA;IACnB,4BAAe,CAAA;IACf,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,8BAAW,CAAA;IACX,oCAAiB,CAAA;IACjB,gCAAa,CAAA;AACf,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,iCAAa,CAAA;IACb,+BAAW,CAAA;IACX,yCAAqB,CAAA;AACvB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;AACf,CAAC,EAJW,QAAQ,wBAAR,QAAQ,QAInB;AAED,IAAY,SAsBX;AAtBD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACf,wBAAW,CAAA;IACX,wCAA2B,CAAA;IAC3B,8CAAiC,CAAA;IACjC,4BAAe,CAAA;IACf,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,wBAAW,CAAA;IACX,wBAAW,CAAA;IACX,0BAAa,CAAA;IACb,4BAAe,CAAA;IACf,0BAAa,CAAA;IACb,sDAAyC,CAAA;IACzC,0BAAa,CAAA;IACb,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,4BAAe,CAAA;AACjB,CAAC,EAtBW,SAAS,yBAAT,SAAS,QAsBpB;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,oCAAe,CAAA;IACf,kCAAa,CAAA;AACf,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,2DAA6C,CAAA;IAC7C,iDAAmC,CAAA;IACnC,2BAAa,CAAA;IACb,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;IACjB,6BAAe,CAAA;AACjB,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB;AAED,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;AACzB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,4BAAa,CAAA;IACb,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;AACzB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAED,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,4BAAe,CAAA;IACf,0BAAa,CAAA;IACb,sCAAyB,CAAA;IACzB,4CAA+B,CAAA;AACjC,CAAC,EANW,SAAS,yBAAT,SAAS,QAMpB;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,iCAAW,CAAA;AACb,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAED,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,0BAAW,CAAA;IACX,oDAAqC,CAAA;IACrC,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;AACrB,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AAED,iDAAiD;AACjD,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,0BAAW,CAAA;IACX,0BAAW,CAAA;IACX,0BAAW,CAAA;IACX,0BAAW,CAAA;IACX,0BAAW,CAAA;IACX,0BAAW,CAAA;AACb,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AAED,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,gCAAmB,CAAA;IACnB,4BAAe,CAAA;IACf,0BAAa,CAAA;AACf,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,8BAAW,CAAA;IACX,oCAAiB,CAAA;IACjB,gCAAa,CAAA;AACf,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,iCAAa,CAAA;IACb,+BAAW,CAAA;IACX,yCAAqB,CAAA;AACvB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}