adaptic-backend 1.0.191 → 1.0.193

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 (200) hide show
  1. package/generated/typeStrings/Account.cjs +1 -0
  2. package/generated/typeStrings/Account.d.ts +1 -1
  3. package/generated/typeStrings/Account.d.ts.map +1 -1
  4. package/generated/typeStrings/Account.js.map +1 -1
  5. package/generated/typeStrings/Action.cjs +1 -63
  6. package/generated/typeStrings/Action.d.ts +1 -1
  7. package/generated/typeStrings/Action.d.ts.map +1 -1
  8. package/generated/typeStrings/Action.js.map +1 -1
  9. package/generated/typeStrings/Alert.cjs +1 -0
  10. package/generated/typeStrings/Alert.d.ts +1 -1
  11. package/generated/typeStrings/Alert.d.ts.map +1 -1
  12. package/generated/typeStrings/Alert.js.map +1 -1
  13. package/generated/typeStrings/AlpacaAccount.cjs +3 -58
  14. package/generated/typeStrings/AlpacaAccount.d.ts +1 -1
  15. package/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
  16. package/generated/typeStrings/AlpacaAccount.js.map +1 -1
  17. package/generated/typeStrings/Asset.cjs +1 -0
  18. package/generated/typeStrings/Asset.d.ts +1 -1
  19. package/generated/typeStrings/Asset.d.ts.map +1 -1
  20. package/generated/typeStrings/Asset.js.map +1 -1
  21. package/generated/typeStrings/Authenticator.cjs +1 -0
  22. package/generated/typeStrings/Authenticator.d.ts +1 -1
  23. package/generated/typeStrings/Authenticator.d.ts.map +1 -1
  24. package/generated/typeStrings/Authenticator.js.map +1 -1
  25. package/generated/typeStrings/Customer.cjs +2 -107
  26. package/generated/typeStrings/Customer.d.ts +1 -1
  27. package/generated/typeStrings/Customer.d.ts.map +1 -1
  28. package/generated/typeStrings/Customer.js.map +1 -1
  29. package/generated/typeStrings/EconomicEvent.cjs +1 -0
  30. package/generated/typeStrings/EconomicEvent.d.ts +1 -1
  31. package/generated/typeStrings/EconomicEvent.d.ts.map +1 -1
  32. package/generated/typeStrings/EconomicEvent.js.map +1 -1
  33. package/generated/typeStrings/MarketSentiment.cjs +1 -0
  34. package/generated/typeStrings/MarketSentiment.d.ts +1 -1
  35. package/generated/typeStrings/MarketSentiment.d.ts.map +1 -1
  36. package/generated/typeStrings/MarketSentiment.js.map +1 -1
  37. package/generated/typeStrings/NewsArticle.cjs +1 -0
  38. package/generated/typeStrings/NewsArticle.d.ts +1 -1
  39. package/generated/typeStrings/NewsArticle.d.ts.map +1 -1
  40. package/generated/typeStrings/NewsArticle.js.map +1 -1
  41. package/generated/typeStrings/NewsArticleAssetSentiment.cjs +1 -3
  42. package/generated/typeStrings/NewsArticleAssetSentiment.d.ts +1 -1
  43. package/generated/typeStrings/NewsArticleAssetSentiment.d.ts.map +1 -1
  44. package/generated/typeStrings/NewsArticleAssetSentiment.js.map +1 -1
  45. package/generated/typeStrings/Order.cjs +19 -21
  46. package/generated/typeStrings/Order.d.ts +1 -1
  47. package/generated/typeStrings/Order.d.ts.map +1 -1
  48. package/generated/typeStrings/Order.js.map +1 -1
  49. package/generated/typeStrings/Position.cjs +1 -3
  50. package/generated/typeStrings/Position.d.ts +1 -1
  51. package/generated/typeStrings/Position.d.ts.map +1 -1
  52. package/generated/typeStrings/Position.js.map +1 -1
  53. package/generated/typeStrings/ScheduledOptionOrder.cjs +1 -0
  54. package/generated/typeStrings/ScheduledOptionOrder.d.ts +1 -1
  55. package/generated/typeStrings/ScheduledOptionOrder.d.ts.map +1 -1
  56. package/generated/typeStrings/ScheduledOptionOrder.js.map +1 -1
  57. package/generated/typeStrings/Session.cjs +1 -121
  58. package/generated/typeStrings/Session.d.ts +1 -1
  59. package/generated/typeStrings/Session.d.ts.map +1 -1
  60. package/generated/typeStrings/Session.js.map +1 -1
  61. package/generated/typeStrings/StopLoss.cjs +0 -143
  62. package/generated/typeStrings/StopLoss.d.ts +1 -1
  63. package/generated/typeStrings/StopLoss.d.ts.map +1 -1
  64. package/generated/typeStrings/StopLoss.js.map +1 -1
  65. package/generated/typeStrings/TakeProfit.cjs +0 -143
  66. package/generated/typeStrings/TakeProfit.d.ts +1 -1
  67. package/generated/typeStrings/TakeProfit.d.ts.map +1 -1
  68. package/generated/typeStrings/TakeProfit.js.map +1 -1
  69. package/generated/typeStrings/Trade.cjs +2 -131
  70. package/generated/typeStrings/Trade.d.ts +1 -1
  71. package/generated/typeStrings/Trade.d.ts.map +1 -1
  72. package/generated/typeStrings/Trade.js.map +1 -1
  73. package/generated/typeStrings/User.cjs +3 -71
  74. package/generated/typeStrings/User.d.ts +1 -1
  75. package/generated/typeStrings/User.d.ts.map +1 -1
  76. package/generated/typeStrings/User.js.map +1 -1
  77. package/generated/typeStrings/VerificationToken.cjs +1 -0
  78. package/generated/typeStrings/VerificationToken.d.ts +1 -1
  79. package/generated/typeStrings/VerificationToken.d.ts.map +1 -1
  80. package/generated/typeStrings/VerificationToken.js.map +1 -1
  81. package/generated/typeStrings/index.d.ts +20 -20
  82. package/generated/typegraphql-prisma/models/Order.cjs +17 -17
  83. package/generated/typegraphql-prisma/models/Order.d.ts +20 -20
  84. package/generated/typegraphql-prisma/models/Order.js.map +1 -1
  85. package/generated/typegraphql-prisma/models/StopLoss.cjs +1 -1
  86. package/generated/typegraphql-prisma/models/StopLoss.d.ts +2 -2
  87. package/generated/typegraphql-prisma/models/StopLoss.js.map +1 -1
  88. package/generated/typegraphql-prisma/models/TakeProfit.cjs +1 -1
  89. package/generated/typegraphql-prisma/models/TakeProfit.d.ts +2 -2
  90. package/generated/typegraphql-prisma/models/TakeProfit.js.map +1 -1
  91. package/generated/typegraphql-prisma/models/Trade.d.ts +1 -1
  92. package/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.cjs +3 -3
  93. package/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.js.map +1 -1
  94. package/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.cjs +1 -1
  95. package/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.js.map +1 -1
  96. package/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.cjs +1 -1
  97. package/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.js.map +1 -1
  98. package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.cjs +1 -1
  99. package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.js.map +1 -1
  100. package/package.json +1 -1
  101. package/server/generated/typeStrings/Account.d.ts +1 -1
  102. package/server/generated/typeStrings/Account.d.ts.map +1 -1
  103. package/server/generated/typeStrings/Account.js.map +1 -1
  104. package/server/generated/typeStrings/Account.mjs +1 -0
  105. package/server/generated/typeStrings/Action.d.ts +1 -1
  106. package/server/generated/typeStrings/Action.d.ts.map +1 -1
  107. package/server/generated/typeStrings/Action.js.map +1 -1
  108. package/server/generated/typeStrings/Action.mjs +1 -63
  109. package/server/generated/typeStrings/Alert.d.ts +1 -1
  110. package/server/generated/typeStrings/Alert.d.ts.map +1 -1
  111. package/server/generated/typeStrings/Alert.js.map +1 -1
  112. package/server/generated/typeStrings/Alert.mjs +1 -0
  113. package/server/generated/typeStrings/AlpacaAccount.d.ts +1 -1
  114. package/server/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
  115. package/server/generated/typeStrings/AlpacaAccount.js.map +1 -1
  116. package/server/generated/typeStrings/AlpacaAccount.mjs +3 -58
  117. package/server/generated/typeStrings/Asset.d.ts +1 -1
  118. package/server/generated/typeStrings/Asset.d.ts.map +1 -1
  119. package/server/generated/typeStrings/Asset.js.map +1 -1
  120. package/server/generated/typeStrings/Asset.mjs +1 -0
  121. package/server/generated/typeStrings/Authenticator.d.ts +1 -1
  122. package/server/generated/typeStrings/Authenticator.d.ts.map +1 -1
  123. package/server/generated/typeStrings/Authenticator.js.map +1 -1
  124. package/server/generated/typeStrings/Authenticator.mjs +1 -0
  125. package/server/generated/typeStrings/Customer.d.ts +1 -1
  126. package/server/generated/typeStrings/Customer.d.ts.map +1 -1
  127. package/server/generated/typeStrings/Customer.js.map +1 -1
  128. package/server/generated/typeStrings/Customer.mjs +2 -107
  129. package/server/generated/typeStrings/EconomicEvent.d.ts +1 -1
  130. package/server/generated/typeStrings/EconomicEvent.d.ts.map +1 -1
  131. package/server/generated/typeStrings/EconomicEvent.js.map +1 -1
  132. package/server/generated/typeStrings/EconomicEvent.mjs +1 -0
  133. package/server/generated/typeStrings/MarketSentiment.d.ts +1 -1
  134. package/server/generated/typeStrings/MarketSentiment.d.ts.map +1 -1
  135. package/server/generated/typeStrings/MarketSentiment.js.map +1 -1
  136. package/server/generated/typeStrings/MarketSentiment.mjs +1 -0
  137. package/server/generated/typeStrings/NewsArticle.d.ts +1 -1
  138. package/server/generated/typeStrings/NewsArticle.d.ts.map +1 -1
  139. package/server/generated/typeStrings/NewsArticle.js.map +1 -1
  140. package/server/generated/typeStrings/NewsArticle.mjs +1 -0
  141. package/server/generated/typeStrings/NewsArticleAssetSentiment.d.ts +1 -1
  142. package/server/generated/typeStrings/NewsArticleAssetSentiment.d.ts.map +1 -1
  143. package/server/generated/typeStrings/NewsArticleAssetSentiment.js.map +1 -1
  144. package/server/generated/typeStrings/NewsArticleAssetSentiment.mjs +1 -3
  145. package/server/generated/typeStrings/Order.d.ts +1 -1
  146. package/server/generated/typeStrings/Order.d.ts.map +1 -1
  147. package/server/generated/typeStrings/Order.js.map +1 -1
  148. package/server/generated/typeStrings/Order.mjs +19 -21
  149. package/server/generated/typeStrings/Position.d.ts +1 -1
  150. package/server/generated/typeStrings/Position.d.ts.map +1 -1
  151. package/server/generated/typeStrings/Position.js.map +1 -1
  152. package/server/generated/typeStrings/Position.mjs +1 -3
  153. package/server/generated/typeStrings/ScheduledOptionOrder.d.ts +1 -1
  154. package/server/generated/typeStrings/ScheduledOptionOrder.d.ts.map +1 -1
  155. package/server/generated/typeStrings/ScheduledOptionOrder.js.map +1 -1
  156. package/server/generated/typeStrings/ScheduledOptionOrder.mjs +1 -0
  157. package/server/generated/typeStrings/Session.d.ts +1 -1
  158. package/server/generated/typeStrings/Session.d.ts.map +1 -1
  159. package/server/generated/typeStrings/Session.js.map +1 -1
  160. package/server/generated/typeStrings/Session.mjs +1 -121
  161. package/server/generated/typeStrings/StopLoss.d.ts +1 -1
  162. package/server/generated/typeStrings/StopLoss.d.ts.map +1 -1
  163. package/server/generated/typeStrings/StopLoss.js.map +1 -1
  164. package/server/generated/typeStrings/StopLoss.mjs +0 -143
  165. package/server/generated/typeStrings/TakeProfit.d.ts +1 -1
  166. package/server/generated/typeStrings/TakeProfit.d.ts.map +1 -1
  167. package/server/generated/typeStrings/TakeProfit.js.map +1 -1
  168. package/server/generated/typeStrings/TakeProfit.mjs +0 -143
  169. package/server/generated/typeStrings/Trade.d.ts +1 -1
  170. package/server/generated/typeStrings/Trade.d.ts.map +1 -1
  171. package/server/generated/typeStrings/Trade.js.map +1 -1
  172. package/server/generated/typeStrings/Trade.mjs +2 -131
  173. package/server/generated/typeStrings/User.d.ts +1 -1
  174. package/server/generated/typeStrings/User.d.ts.map +1 -1
  175. package/server/generated/typeStrings/User.js.map +1 -1
  176. package/server/generated/typeStrings/User.mjs +3 -71
  177. package/server/generated/typeStrings/VerificationToken.d.ts +1 -1
  178. package/server/generated/typeStrings/VerificationToken.d.ts.map +1 -1
  179. package/server/generated/typeStrings/VerificationToken.js.map +1 -1
  180. package/server/generated/typeStrings/VerificationToken.mjs +1 -0
  181. package/server/generated/typeStrings/index.d.ts +20 -20
  182. package/server/generated/typegraphql-prisma/models/Order.d.ts +20 -20
  183. package/server/generated/typegraphql-prisma/models/Order.js.map +1 -1
  184. package/server/generated/typegraphql-prisma/models/Order.mjs +37 -37
  185. package/server/generated/typegraphql-prisma/models/StopLoss.d.ts +2 -2
  186. package/server/generated/typegraphql-prisma/models/StopLoss.js.map +1 -1
  187. package/server/generated/typegraphql-prisma/models/StopLoss.mjs +3 -3
  188. package/server/generated/typegraphql-prisma/models/TakeProfit.d.ts +2 -2
  189. package/server/generated/typegraphql-prisma/models/TakeProfit.js.map +1 -1
  190. package/server/generated/typegraphql-prisma/models/TakeProfit.mjs +3 -3
  191. package/server/generated/typegraphql-prisma/models/Trade.d.ts +1 -1
  192. package/server/generated/typegraphql-prisma/models/Trade.mjs +1 -1
  193. package/server/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.js.map +1 -1
  194. package/server/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.mjs +3 -3
  195. package/server/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.js.map +1 -1
  196. package/server/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.mjs +1 -1
  197. package/server/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.js.map +1 -1
  198. package/server/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.mjs +1 -1
  199. package/server/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.js.map +1 -1
  200. package/server/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.mjs +1 -1
@@ -75,7 +75,7 @@ __decorate([
75
75
  __decorate([
76
76
  TypeGraphQL.Field(_type => String, {
77
77
  nullable: false,
78
- description: "Reference to the order associated with this take profit."
78
+ description: "Reference to the order associated with this take profit. TYPESTRING.SKIP=true"
79
79
  }),
80
80
  __metadata("design:type", String)
81
81
  ], TakeProfit.prototype, "orderId", void 0);
@@ -21,11 +21,11 @@ export declare class TakeProfit {
21
21
  */
22
22
  updatedAt: Date;
23
23
  /**
24
- * Reference to the order associated with this take profit.
24
+ * Reference to the order associated with this take profit. TYPESTRING.SKIP=true
25
25
  */
26
26
  orderId: string;
27
27
  /**
28
- * An order that is associated with this take profit. GQL.SKIP=true
28
+ * An order that is associated with this take profit. TYPESTRING.SKIP=true GQL.SKIP=true
29
29
  */
30
30
  Order?: Order;
31
31
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TakeProfit.js","sourceRoot":"","sources":["../../../../src/generated/typegraphql-prisma/models/TakeProfit.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAOrC,IAAM,UAAU,GAAhB,MAAM,UAAU;CA2DtB,CAAA;AA3DY,gCAAU;AAQrB;IAJC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,mEAAmE;KACjF,CAAC;;sCACU;AASZ;IAJC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,mNAAmN;KACjO,CAAC;;8CACyB;AAS3B;IAJC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,wJAAwJ;KACtK,CAAC;;6CACwB;AAS1B;IAJC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE;QAChC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,wEAAwE;KACtF,CAAC;8BACU,IAAI;6CAAC;AASjB;IAJC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE;QAChC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6EAA6E;KAC3F,CAAC;8BACU,IAAI;6CAAC;AASjB;IAJC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,0DAA0D;KACxE,CAAC;;2CACe;qBArDN,UAAU;IADtB,WAAW,CAAC,UAAU,CAAC,YAAY,EAAE,EAAE,CAAC;GAC5B,UAAU,CA2DtB"}
1
+ {"version":3,"file":"TakeProfit.js","sourceRoot":"","sources":["../../../../src/generated/typegraphql-pr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ions associated with this trade. TYPESTRING.INCLUDE=[\"id\",\"sequence\",\"type\",\"note\",\"status\",\"fee\",\"order\"] GQL.EXCLUDE=['trade']
79
+ * List of actions associated with this trade. TYPESTRING.INCLUDE=[\"id\",\"sequence\",\"type\",\"note\",\"status\"] GQL.EXCLUDE=['trade']
80
80
  */
81
81
  actions?: Action[];
82
82
  _count?: TradeCount | null;
@@ -106,7 +106,7 @@ exports.OrderRelationsResolver = OrderRelationsResolver;
106
106
  __decorate([
107
107
  TypeGraphQL.FieldResolver(_type => StopLoss_1.StopLoss, {
108
108
  nullable: true,
109
- description: "Stop loss object required for bracket orders."
109
+ description: "Stop loss object. Required for 'BRACKET' and 'OTO' order classes when setting a stop-loss order. For 'BUY' bracket orders, 'stopLoss.stopPrice' must be less than 'takeProfit.limitPrice'."
110
110
  }),
111
111
  __param(0, TypeGraphQL.Root()),
112
112
  __param(1, TypeGraphQL.Ctx()),
@@ -119,7 +119,7 @@ __decorate([
119
119
  __decorate([
120
120
  TypeGraphQL.FieldResolver(_type => TakeProfit_1.TakeProfit, {
121
121
  nullable: true,
122
- description: "Take profit object required for bracket orders. For take_profit, must be base_price + 0.01."
122
+ description: "Take profit object. Required for 'BRACKET' and 'OTO' order classes when setting a take-profit order. For 'BUY' bracket orders, 'takeProfit.limitPrice' must be greater than 'stopLoss.stopPrice'."
123
123
  }),
124
124
  __param(0, TypeGraphQL.Root()),
125
125
  __param(1, TypeGraphQL.Ctx()),
@@ -132,7 +132,7 @@ __decorate([
132
132
  __decorate([
133
133
  TypeGraphQL.FieldResolver(_type => AlpacaAccount_1.AlpacaAccount, {
134
134
  nullable: false,
135
- description: "The Alpaca account this order is associated with. TYPESTRING.SKIP=true GQL.EXCLUDE=['trades', 'orders', 'positions', 'user']"
135
+ description: "The Alpaca account this order is associated with. TYPESTRING.SKIP=true GQL.EXCLUDE=['trades', 'orders', 'positions', 'user']"
136
136
  }),
137
137
  __param(0, TypeGraphQL.Root()),
138
138
  __param(1, TypeGraphQL.Ctx()),
@@ -1 +1 @@
1
- {"version":3,"file":"OrderRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,mDAAgD;AAChD,iEAA8D;AAC9D,iDAA8C;AAC9C,iDAA8C;AAC9C,uDAAoD;AACpD,2DAAwD;AACxD,4DAAyD;AACzD,gEAA6D;AAC7D,oEAAiE;AACjE,8CAAkI;AAG3H,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAK3B,AAAN,KAAK,CAAC,QAAQ,CAAqB,KAAY,EAAqB,GAAQ,EAAsB,IAAwB,EAAsB,IAAuB;QACrK,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;YACvD,KAAK,EAAE;gBACL,EAAE,EAAE,KAAK,CAAC,EAAE;aACb;SACF,CAAC,CAAC,QAAQ,CAAC;YACV,GAAG,IAAI;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;IAMK,AAAN,KAAK,CAAC,UAAU,CAAqB,KAAY,EAAqB,GAAQ,EAAsB,IAAwB,EAAsB,IAAyB;QACzK,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;YACvD,KAAK,EAAE;gBACL,EAAE,EAAE,KAAK,CAAC,EAAE;aACb;SACF,CAAC,CAAC,UAAU,CAAC;YACZ,GAAG,IAAI;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,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AW,CAAC,IAAI,EAAE,CAAA;IAAgB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAA4B,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAArG,aAAK,kBAAuG,iCAAe;;oDAUlK;AAMK;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,sIAAsI;KACpJ,CAAC;IACW,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAgB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAAvD,aAAK;;mDAS3C;iCA7EU,sBAAsB;IADlC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,aAAK,CAAC;GACtB,sBAAsB,CA8ElC"}
1
+ {"version":3,"file":"OrderRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,mDAAgD;AAChD,iEAA8D;AAC9D,iDAA8C;AAC9C,iDAA8C;AAC9C,uDAAoD;AACpD,2DAAwD;AACxD,4DAAyD;AACzD,gEAA6D;AAC7D,oEAAiE;AACjE,8CAAkI;AAG3H,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAK3B,AAAN,KAAK,CAAC,QAAQ,CAAqB,KAAY,EAAqB,GAAQ,EAAsB,IAAwB,EAAsB,IAAuB;QACrK,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;YACvD,KAAK,EAAE;gBACL,EAA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57
57
  TypeGraphQL.FieldResolver(_type => Order_1.Order, {
58
58
  nullable: false,
59
- description: "An order that is associated with this stop loss. GQL.SKIP=true"
59
+ description: "An order that is associated with this stop loss. TYPESTRING.SKIP=true GQL.SKIP=true"
60
60
  }),
61
61
  __param(0, TypeGraphQL.Root()),
62
62
  __param(1, TypeGraphQL.Ctx()),
@@ -1 +1 @@
1
- {"version":3,"file":"StopLossRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,iDAA8C;AAC9C,uDAAoD;AACpD,8CAAkI;AAG3H,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAK9B,AAAN,KAAK,CAAC,KAAK,CAAqB,QAAkB,EAAqB,GAAQ,EAAsB,IAAwB;QAC3H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAC1D,KAAK,EAAE;gBACL,EAAE,EAAE,QAAQ,CAAC,EAAE;aAChB;SACF,CAAC,CAAC,KAAK,CAAC;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAfY,8DAAyB;AAK9B;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,gEAAgE;KAC9E,CAAC;IACW,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAsB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAA1D,mBAAQ;;sDASjD;oCAdU,yBAAyB;IADrC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,mBAAQ,CAAC;GACzB,yBAAyB,CAerC"}
1
+ {"version":3,"file":"StopLossRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,iDAA8C;AAC9C,uDAAoD;AACpD,8CAAkI;AAG3H,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAK9B,AAAN,KAAK,CAAC,KAAK,CAAqB,QAAkB,EAAqB,GAAQ,EAAsB,IAAwB;QAC3H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAC1D,KAAK,EAAE;gBACL,EAAE,EAAE,QAAQ,CAAC,EAAE;aAChB;SACF,CAAC,CAAC,KAAK,CAAC;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAfY,8DAAyB;AAK9B;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,qFAAqF;KACnG,CAAC;IACW,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAsB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAA1D,mBAAQ;;sDASjD;oCAdU,yBAAyB;IADrC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,mBAAQ,CAAC;GACzB,yBAAyB,CAerC"}
@@ -56,7 +56,7 @@ exports.TakeProfitRelationsResolver = TakeProfitRelationsResolver;
56
56
  __decorate([
57
57
  TypeGraphQL.FieldResolver(_type => Order_1.Order, {
58
58
  nullable: false,
59
- description: "An order that is associated with this take profit. GQL.SKIP=true"
59
+ description: "An order that is associated with this take profit. TYPESTRING.SKIP=true GQL.SKIP=true"
60
60
  }),
61
61
  __param(0, TypeGraphQL.Root()),
62
62
  __param(1, TypeGraphQL.Ctx()),
@@ -1 +1 @@
1
- {"version":3,"file":"TakeProfitRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,iDAA8C;AAC9C,2DAAwD;AACxD,8CAAkI;AAG3H,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAKhC,AAAN,KAAK,CAAC,KAAK,CAAqB,UAAsB,EAAqB,GAAQ,EAAsB,IAAwB;QAC/H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC;YAC5D,KAAK,EAAE;gBACL,EAAE,EAAE,UAAU,CAAC,EAAE;aAClB;SACF,CAAC,CAAC,KAAK,CAAC;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAfY,kEAA2B;AAKhC;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,kEAAkE;KAChF,CAAC;IACW,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAA0B,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAA5D,uBAAU;;wDASrD;sCAdU,2BAA2B;IADvC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,uBAAU,CAAC;GAC3B,2BAA2B,CAevC"}
1
+ {"version":3,"file":"TakeProfitRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,iDAA8C;AAC9C,2DAAwD;AACxD,8CAAkI;AAG3H,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAKhC,AAAN,KAAK,CAAC,KAAK,CAAqB,UAAsB,EAAqB,GAAQ,EAAsB,IAAwB;QAC/H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC;YAC5D,KAAK,EAAE;gBACL,EAAE,EAAE,UAAU,CAAC,EAAE;aAClB;SACF,CAAC,CAAC,KAAK,CAAC;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAfY,kEAA2B;AAKhC;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,uFAAuF;KACrG,CAAC;IACW,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAA0B,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAA5D,uBAAU;;wDASrD;sCAdU,2BAA2B;IADvC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,uBAAU,CAAC;GAC3B,2BAA2B,CAevC"}
@@ -104,7 +104,7 @@ __decorate([
104
104
  __decorate([
105
105
  TypeGraphQL.FieldResolver(_type => [Action_1.Action], {
106
106
  nullable: false,
107
- description: "List of actions associated with this trade. TYPESTRING.INCLUDE=[\"id\",\"sequence\",\"type\",\"note\",\"status\",\"fee\",\"order\"] GQL.EXCLUDE=['trade']"
107
+ description: "List of actions associated with this trade. TYPESTRING.INCLUDE=[\"id\",\"sequence\",\"type\",\"note\",\"status\"] GQL.EXCLUDE=['trade']"
108
108
  }),
109
109
  __param(0, TypeGraphQL.Root()),
110
110
  __param(1, TypeGraphQL.Ctx()),
@@ -1 +1 @@
1
- {"version":3,"file":"TradeRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,mDAAgD;AAChD,iEAA8D;AAC9D,iDAA8C;AAC9C,iDAA8C;AAC9C,8DAA2D;AAC3D,8CAAkI;AAG3H,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAK3B,AAAN,KAAK,CAAC,aAAa,CAAqB,KAAY,EAAqB,GAAQ,EAAsB,IAAwB;QAC7H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;YACvD,KAAK,EAAE;gBACL,EAAE,EAAE,KAAK,CAAC,EAAE;aACb;SACF,CAAC,CAAC,aAAa,CAAC;YACf,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;IAMK,AAAN,KAAK,CAAC,KAAK,CAAqB,KAAY,EAAqB,GAAQ,EAAsB,IAAwB;Q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AA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAgB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAAvD,aAAK;;mDAS3C;AAMK;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,eAAM,CAAC,EAAE;QAC5C,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,2JAA2J;KACzK,CAAC;IACa,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAgB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAA4B,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAArG,aAAK,kBAAuG,mCAAgB;;qDAUpK;iCA7CU,sBAAsB;IADlC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,aAAK,CAAC;GACtB,sBAAsB,CA8ClC"}
1
+ {"version":3,"file":"TradeRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,mDAAgD;AAChD,iEAA8D;AAC9D,iDAA8C;AAC9C,iDAA8C;AAC9C,8DAA2D;AAC3D,8CAAkI;AAG3H,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAK3B,AAAN,KAAK,CAAC,aAAa,CAAqB,KAAY,EAAqB,GAAQ,EAAsB,IAAwB;QAC7H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;YACvD,KAAK,EAAE;gBACL,EAAE,EAAE,KAAK,CAAC,EAAE;aACb;SACF,CAAC,CAAC,aAA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EAAE,CAAA;;qCAAvD,aAAK;;2DASnD;AAMK;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,wHAAwH;KACtI,CAAC;IACW,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAgB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAAvD,aAAK;;mDAS3C;AAMK;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,eAAM,CAAC,EAAE;QAC5C,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,yIAAyI;KACvJ,CAAC;IACa,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAgB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAA4B,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAArG,aAAK,kBAAuG,mCAAgB;;qDAUpK;iCA7CU,sBAAsB;IADlC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,aAAK,CAAC;GACtB,sBAAsB,CA8ClC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adaptic-backend",
3
- "version": "1.0.191",
3
+ "version": "1.0.193",
4
4
  "description": "Backend executable CRUD functions with dynamic variables construction, and type definitions for the Adaptic AI platform.",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",
@@ -1,2 +1,2 @@
1
- export declare const AccountTypeString = "\nYour response should adhere to the following type definition for the \"Account\" 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 Account = {\n // Type of the account (e.g., OAuth provider).\n type: string;\n // Provider of the account (e.g., Google, GitHub).\n provider: string;\n // Expiration time of the access token.\n expires_at?: number;\n // Type of the token (e.g., Bearer).\n token_type?: string;\n // Scope of access granted by the token.\n scope?: string;\n // State of the session associated with the account.\n session_state?: string;\n};\n";
1
+ export declare const AccountTypeString = "\nYour response should adhere to the following type definition for the \"Account\" 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 Account = {\n // Type of the account (e.g., OAuth provider).\n type: string;\n // Provider of the account (e.g., Google, GitHub).\n provider: string;\n // Expiration time of the access token.\n expires_at?: number;\n // Type of the token (e.g., Bearer).\n token_type?: string;\n // Scope of access granted by the token.\n scope?: string;\n // State of the session associated with the account.\n session_state?: string;\n};\n\n";
2
2
  //# sourceMappingURL=Account.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,oqBAmB7B,CAAC"}
1
+ {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,sqBAoB7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Account.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;CAmBhC,CAAC"}
1
+ {"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Account.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;CAoBhC,CAAC"}
@@ -17,5 +17,6 @@ export type Account = {
17
17
  // State of the session associated with the account.
18
18
  session_state?: string;
19
19
  };
20
+
20
21
  `;
21
22
  //# sourceMappingURL=Account.js.map
@@ -1,2 +1,2 @@
1
- export declare const ActionTypeString = "\nYour response should adhere to the following type definition for the \"Action\" 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 Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // 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 order associated with this action.\n order?: {\n // Quantity of the asset to be ordered.\n qty?: number;\n // Notional value of the order. Optional, used if qty is not provided. But importantly, either qty or notional must be 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 // Order class for advanced order types (simple, bracket, oco, oso).\n orderClass: OrderClass;\n // Time in force for the order (day, gtc, opg, cls, ioc, fok).\n timeInForce: TimeInForce;\n // Must be a positive number and required for LIMIT or STOP_LIMIT orders. It must be \u2265 basePrice + 0.01, and should always be greater than stopPrice.\n limitPrice?: number;\n // Must be a positive number and required for STOP or STOP_LIMIT orders. It must be \u2264 basePrice - 0.01, and should always be less than limitPrice.\n stopPrice?: number;\n // Stop loss object required for bracket orders.\n stopLoss?: {\n // Must be a positive number. Price must be at a threshold to limit losses when the asset\u2019s market price moves unfavourably beyond a specified point. It must be \u2264 basePrice - 0.01, and should always be less than limitPrice.\n stopPrice?: number;\n // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be \u2265 basePrice + 0.01, and should always be greater than stopPrice.\n limitPrice?: number;\n };\n // Take profit object required for bracket orders. For take_profit, must be \u2265 base_price + 0.01.\n takeProfit?: {\n // Must be a positive number and \u2265 base_price + 0.01, and is always greater than stopPrice. Price must be at a threshold to lock in profits when the asset\u2019s market price moves favourably beyond a specified point.\n limitPrice?: number;\n // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be \u2264 basePrice - 0.01, and should always be less than limitPrice.\n stopPrice?: number;\n };\n // Must be a positive number and required for TRAILING_STOP orders.\n trailPrice?: number;\n // Must be a positive number representing the percentage and required for TRAILING_STOP orders.\n trailPercent?: number;\n // Whether the order is eligible for extended hours.\n extendedHours?: boolean;\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 // Total quantity of the order that was filled.\n filledQty?: number;\n // Average price at which the order was filled.\n filledAvgPrice?: number;\n // Cancel requested at timestamp when the request to cancel an order was made.\n cancelRequestedAt?: Date;\n // CanceledAt timestamp when the order was canceled.\n canceledAt?: Date;\n // The asset this order is for.\n asset: {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n };\n // Fee associated with the order.\n fee?: number;\n // Strike price for option orders.\n strikePrice?: number;\n // Expiration date for option orders.\n expirationDate?: Date;\n // If the asset.type is OPTION, then provide type of contract (CALL or PUT).\n optionType?: OptionType;\n };\n};\nexport enum ActionType {\n BUY = \"BUY\",\n BUY_OPTION = \"BUY_OPTION\",\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 CANCELED = \"CANCELED\"\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\nexport enum OrderClass {\n SIMPLE = \"SIMPLE\",\n BRACKET = \"BRACKET\",\n OCO = \"OCO\",\n OSO = \"OSO\",\n OTO = \"OTO\"\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 STAGED = \"STAGED\",\n NEW = \"NEW\",\n PARTIALLY_FILLED = \"PARTIALLY_FILLED\",\n FILLED = \"FILLED\",\n DONE_FOR_DAY = \"DONE_FOR_DAY\",\n CANCELED = \"CANCELED\",\n EXPIRED = \"EXPIRED\",\n HELD = \"HELD\",\n REPLACED = \"REPLACED\",\n PENDING_CANCEL = \"PENDING_CANCEL\",\n PENDING_REPLACE = \"PENDING_REPLACE\",\n ACCEPTED = \"ACCEPTED\",\n PENDING_NEW = \"PENDING_NEW\",\n ACCEPTED_FOR_BIDDING = \"ACCEPTED_FOR_BIDDING\",\n STOPPED = \"STOPPED\",\n REJECTED = \"REJECTED\",\n SUSPENDED = \"SUSPENDED\",\n CALCULATED = \"CALCULATED\"\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 enum OptionType {\n CALL = \"CALL\",\n PUT = \"PUT\"\n}\n\n";
1
+ export declare const ActionTypeString = "\nYour response should adhere to the following type definition for the \"Action\" 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 Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // 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 order associated with this action.\n order?: {\n qty?: number;\n notional?: number;\n side: OrderSide;\n type: OrderType;\n orderClass: OrderClass;\n timeInForce: TimeInForce;\n limitPrice?: number;\n stopPrice?: number;\n stopLoss?: {\n // Must be a positive number. Price must be at a threshold to limit losses when the asset\u2019s market price moves unfavourably beyond a specified point. It must be \u2264 basePrice - 0.01, and should always be less than limitPrice.\n stopPrice?: number;\n // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be \u2265 basePrice + 0.01, and should always be greater than stopPrice.\n limitPrice?: number;\n };\n takeProfit?: {\n // Must be a positive number and \u2265 base_price + 0.01, and is always greater than stopPrice. Price must be at a threshold to lock in profits when the asset\u2019s market price moves favourably beyond a specified point.\n limitPrice?: number;\n // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be \u2264 basePrice - 0.01, and should always be less than limitPrice.\n stopPrice?: number;\n };\n trailPrice?: number;\n trailPercent?: number;\n extendedHours?: boolean;\n status: OrderStatus;\n submittedAt?: Date;\n strikePrice?: number;\n expirationDate?: Date;\n optionType?: OptionType;\n };\n};\n\nexport enum ActionType {\n BUY = \"BUY\",\n BUY_OPTION = \"BUY_OPTION\",\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 CANCELED = \"CANCELED\"\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\nexport enum OrderClass {\n SIMPLE = \"SIMPLE\",\n BRACKET = \"BRACKET\",\n OCO = \"OCO\",\n OSO = \"OSO\",\n OTO = \"OTO\"\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 STAGED = \"STAGED\",\n NEW = \"NEW\",\n PARTIALLY_FILLED = \"PARTIALLY_FILLED\",\n FILLED = \"FILLED\",\n DONE_FOR_DAY = \"DONE_FOR_DAY\",\n CANCELED = \"CANCELED\",\n EXPIRED = \"EXPIRED\",\n HELD = \"HELD\",\n REPLACED = \"REPLACED\",\n PENDING_CANCEL = \"PENDING_CANCEL\",\n PENDING_REPLACE = \"PENDING_REPLACE\",\n ACCEPTED = \"ACCEPTED\",\n PENDING_NEW = \"PENDING_NEW\",\n ACCEPTED_FOR_BIDDING = \"ACCEPTED_FOR_BIDDING\",\n STOPPED = \"STOPPED\",\n REJECTED = \"REJECTED\",\n SUSPENDED = \"SUSPENDED\",\n CALCULATED = \"CALCULATED\"\n}\n\nexport enum OptionType {\n CALL = \"CALL\",\n PUT = \"PUT\"\n}\n\n";
2
2
  //# sourceMappingURL=Action.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,6pMAyL5B,CAAC"}
1
+ {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,siHA2H5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyL/B,CAAC"}
1
+ {"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2H/B,CAAC"}
@@ -16,75 +16,37 @@ export type Action = {
16
16
  fee?: number;
17
17
  // The order associated with this action.
18
18
  order?: {
19
- // Quantity of the asset to be ordered.
20
19
  qty?: number;
21
- // Notional value of the order. Optional, used if qty is not provided. But importantly, either qty or notional must be provided.
22
20
  notional?: number;
23
- // Side of the order (BUY or SELL).
24
21
  side: OrderSide;
25
- // Type of order (market, limit, stop, stop_limit, trailing_stop).
26
22
  type: OrderType;
27
- // Order class for advanced order types (simple, bracket, oco, oso).
28
23
  orderClass: OrderClass;
29
- // Time in force for the order (day, gtc, opg, cls, ioc, fok).
30
24
  timeInForce: TimeInForce;
31
- // Must be a positive number and required for LIMIT or STOP_LIMIT orders. It must be ≥ basePrice + 0.01, and should always be greater than stopPrice.
32
25
  limitPrice?: number;
33
- // Must be a positive number and required for STOP or STOP_LIMIT orders. It must be ≤ basePrice - 0.01, and should always be less than limitPrice.
34
26
  stopPrice?: number;
35
- // Stop loss object required for bracket orders.
36
27
  stopLoss?: {
37
28
  // Must be a positive number. Price must be at a threshold to limit losses when the asset’s market price moves unfavourably beyond a specified point. It must be ≤ basePrice - 0.01, and should always be less than limitPrice.
38
29
  stopPrice?: number;
39
30
  // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be ≥ basePrice + 0.01, and should always be greater than stopPrice.
40
31
  limitPrice?: number;
41
32
  };
42
- // Take profit object required for bracket orders. For take_profit, must be ≥ base_price + 0.01.
43
33
  takeProfit?: {
44
34
  // Must be a positive number and ≥ base_price + 0.01, and is always greater than stopPrice. Price must be at a threshold to lock in profits when the asset’s market price moves favourably beyond a specified point.
45
35
  limitPrice?: number;
46
36
  // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be ≤ basePrice - 0.01, and should always be less than limitPrice.
47
37
  stopPrice?: number;
48
38
  };
49
- // Must be a positive number and required for TRAILING_STOP orders.
50
39
  trailPrice?: number;
51
- // Must be a positive number representing the percentage and required for TRAILING_STOP orders.
52
40
  trailPercent?: number;
53
- // Whether the order is eligible for extended hours.
54
41
  extendedHours?: boolean;
55
- // Current status of the order.
56
42
  status: OrderStatus;
57
- // Timestamp when the order was submitted.
58
43
  submittedAt?: Date;
59
- // Timestamp when the order was filled.
60
- filledAt?: Date;
61
- // Total quantity of the order that was filled.
62
- filledQty?: number;
63
- // Average price at which the order was filled.
64
- filledAvgPrice?: number;
65
- // Cancel requested at timestamp when the request to cancel an order was made.
66
- cancelRequestedAt?: Date;
67
- // CanceledAt timestamp when the order was canceled.
68
- canceledAt?: Date;
69
- // The asset this order is for.
70
- asset: {
71
- // Ticker symbol of the asset
72
- symbol: string;
73
- // Full name of the asset
74
- name: string;
75
- // Type of the asset, defined by AssetType enum.
76
- type: AssetType;
77
- };
78
- // Fee associated with the order.
79
- fee?: number;
80
- // Strike price for option orders.
81
44
  strikePrice?: number;
82
- // Expiration date for option orders.
83
45
  expirationDate?: Date;
84
- // If the asset.type is OPTION, then provide type of contract (CALL or PUT).
85
46
  optionType?: OptionType;
86
47
  };
87
48
  };
49
+
88
50
  export enum ActionType {
89
51
  BUY = "BUY",
90
52
  BUY_OPTION = "BUY_OPTION",
@@ -154,30 +116,6 @@ export enum OrderStatus {
154
116
  CALCULATED = "CALCULATED"
155
117
  }
156
118
 
157
- export enum AssetType {
158
- STOCK = "STOCK",
159
- ETF = "ETF",
160
- MUTUAL_FUND = "MUTUAL_FUND",
161
- CRYPTOCURRENCY = "CRYPTOCURRENCY",
162
- INDEX = "INDEX",
163
- COMMODITY = "COMMODITY",
164
- CURRENCY = "CURRENCY",
165
- OPTION = "OPTION",
166
- FUTURE = "FUTURE",
167
- BOND = "BOND",
168
- WARRANT = "WARRANT",
169
- ADR = "ADR",
170
- GDR = "GDR",
171
- UNIT = "UNIT",
172
- RIGHT = "RIGHT",
173
- REIT = "REIT",
174
- STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
175
- SWAP = "SWAP",
176
- SPOT = "SPOT",
177
- FORWARD = "FORWARD",
178
- OTHER = "OTHER"
179
- }
180
-
181
119
  export enum OptionType {
182
120
  CALL = "CALL",
183
121
  PUT = "PUT"
@@ -1,2 +1,2 @@
1
- export declare const AlertTypeString = "\nYour response should adhere to the following type definition for the \"Alert\" 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 Alert = {\n // Message content of the alert.\n message: string;\n // Type of the alert, defined by AlertType enum.\n type: AlertType;\n // Indicates whether the alert has been read by the user.\n isRead: boolean;\n};\nexport enum AlertType {\n SUCCESS = \"SUCCESS\",\n WARNING = \"WARNING\",\n ERROR = \"ERROR\",\n INFO = \"INFO\"\n}\n\n";
1
+ export declare const AlertTypeString = "\nYour response should adhere to the following type definition for the \"Alert\" 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 Alert = {\n // Message content of the alert.\n message: string;\n // Type of the alert, defined by AlertType enum.\n type: AlertType;\n // Indicates whether the alert has been read by the user.\n isRead: boolean;\n};\n\nexport enum AlertType {\n SUCCESS = \"SUCCESS\",\n WARNING = \"WARNING\",\n ERROR = \"ERROR\",\n INFO = \"INFO\"\n}\n\n";
2
2
  //# sourceMappingURL=Alert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,ykBAoB3B,CAAC"}
1
+ {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,2kBAqB3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;CAoB9B,CAAC"}
1
+ {"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;CAqB9B,CAAC"}
@@ -11,6 +11,7 @@ export type Alert = {
11
11
  // Indicates whether the alert has been read by the user.
12
12
  isRead: boolean;
13
13
  };
14
+
14
15
  export enum AlertType {
15
16
  SUCCESS = "SUCCESS",
16
17
  WARNING = "WARNING",
@@ -1,2 +1,2 @@
1
- export declare const AlpacaAccountTypeString = "\nYour response should adhere to the following type definition for the \"AlpacaAccount\" 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 AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // List of positions held in this Alpaca account.\n positions: {\n // Relation to the Asset model.\n asset: {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n };\n // The average price at which the asset was acquired.\n averageEntryPrice: number;\n // Total quantity of the asset held.\n qty: number;\n // Quantity of the asset available for trading.\n qtyAvailable: number;\n // Current market value of the position.\n marketValue: number;\n // Total cost basis of the position.\n costBasis: number;\n // Unrealized profit or loss of the position.\n unrealizedPL: number;\n // Unrealized profit or loss as a percentage.\n unrealizedPLPC: number;\n // Unrealized intraday profit or loss.\n unrealisedIntradayPL: number;\n // Unrealized intraday profit or loss as a percentage.\n unrealisedIntradayPLPC: number;\n // Current price of the asset.\n currentPrice: number;\n // Last traded price of the asset.\n lastTradePrice: number;\n // Price change of the asset for the day.\n changeToday: number;\n // Indicates if the asset is marginable.\n assetMarginable: boolean;\n }[];\n};\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\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\n";
1
+ export declare const AlpacaAccountTypeString = "\nYour response should adhere to the following type definition for the \"AlpacaAccount\" 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 AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // List of positions held in this Alpaca account.\n positions: {\n id: string;\n qty: number;\n asset: Asset;\n }[];\n};\n\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\n}\n\n";
2
2
  //# sourceMappingURL=AlpacaAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,g6EAgFnC,CAAC"}
1
+ {"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,2tBAyBnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFtC,CAAC"}
1
+ {"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;CAyBtC,CAAC"}
@@ -12,71 +12,16 @@ export type AlpacaAccount = {
12
12
  marketOpen: boolean;
13
13
  // List of positions held in this Alpaca account.
14
14
  positions: {
15
- // Relation to the Asset model.
16
- asset: {
17
- // Ticker symbol of the asset
18
- symbol: string;
19
- // Full name of the asset
20
- name: string;
21
- // Type of the asset, defined by AssetType enum.
22
- type: AssetType;
23
- };
24
- // The average price at which the asset was acquired.
25
- averageEntryPrice: number;
26
- // Total quantity of the asset held.
15
+ id: string;
27
16
  qty: number;
28
- // Quantity of the asset available for trading.
29
- qtyAvailable: number;
30
- // Current market value of the position.
31
- marketValue: number;
32
- // Total cost basis of the position.
33
- costBasis: number;
34
- // Unrealized profit or loss of the position.
35
- unrealizedPL: number;
36
- // Unrealized profit or loss as a percentage.
37
- unrealizedPLPC: number;
38
- // Unrealized intraday profit or loss.
39
- unrealisedIntradayPL: number;
40
- // Unrealized intraday profit or loss as a percentage.
41
- unrealisedIntradayPLPC: number;
42
- // Current price of the asset.
43
- currentPrice: number;
44
- // Last traded price of the asset.
45
- lastTradePrice: number;
46
- // Price change of the asset for the day.
47
- changeToday: number;
48
- // Indicates if the asset is marginable.
49
- assetMarginable: boolean;
17
+ asset: Asset;
50
18
  }[];
51
19
  };
20
+
52
21
  export enum AlpacaAccountType {
53
22
  PAPER = "PAPER",
54
23
  LIVE = "LIVE"
55
24
  }
56
25
 
57
- export enum AssetType {
58
- STOCK = "STOCK",
59
- ETF = "ETF",
60
- MUTUAL_FUND = "MUTUAL_FUND",
61
- CRYPTOCURRENCY = "CRYPTOCURRENCY",
62
- INDEX = "INDEX",
63
- COMMODITY = "COMMODITY",
64
- CURRENCY = "CURRENCY",
65
- OPTION = "OPTION",
66
- FUTURE = "FUTURE",
67
- BOND = "BOND",
68
- WARRANT = "WARRANT",
69
- ADR = "ADR",
70
- GDR = "GDR",
71
- UNIT = "UNIT",
72
- RIGHT = "RIGHT",
73
- REIT = "REIT",
74
- STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
75
- SWAP = "SWAP",
76
- SPOT = "SPOT",
77
- FORWARD = "FORWARD",
78
- OTHER = "OTHER"
79
- }
80
-
81
26
  `;
82
27
  //# sourceMappingURL=AlpacaAccount.js.map
@@ -1,2 +1,2 @@
1
- export declare const AssetTypeString = "\nYour response should adhere to the following type definition for the \"Asset\" 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 Asset = {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n};\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\n";
1
+ export declare const AssetTypeString = "\nYour response should adhere to the following type definition for the \"Asset\" 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 Asset = {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n};\n\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\n";
2
2
  //# sourceMappingURL=Asset.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Asset.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,88BAqC3B,CAAC"}
1
+ {"version":3,"file":"Asset.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,g9BAsC3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Asset.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC9B,CAAC"}
1
+ {"version":3,"file":"Asset.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC9B,CAAC"}
@@ -11,6 +11,7 @@ export type Asset = {
11
11
  // Type of the asset, defined by AssetType enum.
12
12
  type: AssetType;
13
13
  };
14
+
14
15
  export enum AssetType {
15
16
  STOCK = "STOCK",
16
17
  ETF = "ETF",
@@ -1,2 +1,2 @@
1
- export declare const AuthenticatorTypeString = "\nYour response should adhere to the following type definition for the \"Authenticator\" 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 Authenticator = {\n\n};\n";
1
+ export declare const AuthenticatorTypeString = "\nYour response should adhere to the following type definition for the \"Authenticator\" 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 Authenticator = {\n\n};\n\n";
2
2
  //# sourceMappingURL=Authenticator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Authenticator.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Authenticator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,+QAQnC,CAAC"}
1
+ {"version":3,"file":"Authenticator.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Authenticator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,iRASnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Authenticator.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Authenticator.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;CAQtC,CAAC"}
1
+ {"version":3,"file":"Authenticator.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Authenticator.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;CAStC,CAAC"}
@@ -6,5 +6,6 @@ Importantly, DO NOT include any annotations in your response (i.e., remove the o
6
6
  export type Authenticator = {
7
7
 
8
8
  };
9
+
9
10
  `;
10
11
  //# sourceMappingURL=Authenticator.js.map
@@ -1,2 +1,2 @@
1
- export declare const CustomerTypeString = "\nYour response should adhere to the following type definition for the \"Customer\" 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 Customer = {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n // 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 // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // List of positions held in this Alpaca account.\n positions: {\n // Relation to the Asset model.\n asset: {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n };\n // The average price at which the asset was acquired.\n averageEntryPrice: number;\n // Total quantity of the asset held.\n qty: number;\n // Quantity of the asset available for trading.\n qtyAvailable: number;\n // Current market value of the position.\n marketValue: number;\n // Total cost basis of the position.\n costBasis: number;\n // Unrealized profit or loss of the position.\n unrealizedPL: number;\n // Unrealized profit or loss as a percentage.\n unrealizedPLPC: number;\n // Unrealized intraday profit or loss.\n unrealisedIntradayPL: number;\n // Unrealized intraday profit or loss as a percentage.\n unrealisedIntradayPLPC: number;\n // Current price of the asset.\n currentPrice: number;\n // Last traded price of the asset.\n lastTradePrice: number;\n // Price change of the asset for the day.\n changeToday: number;\n // Indicates if the asset is marginable.\n assetMarginable: boolean;\n }[];\n }[];\n // OpenAI API key for the user.\n openaiAPIKey?: string;\n // OpenAI API Language model selected by the user\n openaiModel?: OpenaiModel;\n }[];\n};\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\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 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 enum OpenaiModel {\n GPT_4O = \"GPT_4O\",\n GPT_4O_MINI = \"GPT_4O_MINI\",\n O1_PREVIEW = \"O1_PREVIEW\",\n O1_MINI = \"O1_MINI\"\n}\n\n";
1
+ export declare const CustomerTypeString = "\nYour response should adhere to the following type definition for the \"Customer\" 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 Customer = {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: {\n id: string;\n name?: string;\n email?: string;\n }[];\n};\n\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\n";
2
2
  //# sourceMappingURL=Customer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,w/HAmI9B,CAAC"}
1
+ {"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,osBA0B9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIjC,CAAC"}
1
+ {"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BjC,CAAC"}