adaptic-backend 1.0.336 → 1.0.338

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 (339) hide show
  1. package/Account.cjs +108 -0
  2. package/Alert.cjs +84 -0
  3. package/Allocation.cjs +90 -0
  4. package/AlpacaAccount.cjs +78 -0
  5. package/Authenticator.cjs +108 -0
  6. package/Customer.cjs +108 -0
  7. package/Session.cjs +102 -0
  8. package/User.cjs +90 -0
  9. package/esm/Account.d.ts.map +1 -1
  10. package/esm/Account.js.map +1 -1
  11. package/esm/Account.mjs +108 -0
  12. package/esm/Alert.d.ts.map +1 -1
  13. package/esm/Alert.js.map +1 -1
  14. package/esm/Alert.mjs +84 -0
  15. package/esm/Allocation.d.ts.map +1 -1
  16. package/esm/Allocation.js.map +1 -1
  17. package/esm/Allocation.mjs +90 -0
  18. package/esm/AlpacaAccount.d.ts.map +1 -1
  19. package/esm/AlpacaAccount.js.map +1 -1
  20. package/esm/AlpacaAccount.mjs +78 -0
  21. package/esm/Authenticator.d.ts.map +1 -1
  22. package/esm/Authenticator.js.map +1 -1
  23. package/esm/Authenticator.mjs +108 -0
  24. package/esm/Customer.d.ts.map +1 -1
  25. package/esm/Customer.js.map +1 -1
  26. package/esm/Customer.mjs +108 -0
  27. package/esm/Session.d.ts.map +1 -1
  28. package/esm/Session.js.map +1 -1
  29. package/esm/Session.mjs +102 -0
  30. package/esm/User.d.ts.map +1 -1
  31. package/esm/User.js.map +1 -1
  32. package/esm/User.mjs +90 -0
  33. package/esm/generated/selectionSets/Account.d.ts +1 -1
  34. package/esm/generated/selectionSets/Account.d.ts.map +1 -1
  35. package/esm/generated/selectionSets/Account.js.map +1 -1
  36. package/esm/generated/selectionSets/Account.mjs +6 -0
  37. package/esm/generated/selectionSets/Allocation.d.ts +1 -1
  38. package/esm/generated/selectionSets/Allocation.d.ts.map +1 -1
  39. package/esm/generated/selectionSets/Allocation.js.map +1 -1
  40. package/esm/generated/selectionSets/Allocation.mjs +6 -0
  41. package/esm/generated/selectionSets/AlpacaAccount.d.ts +1 -1
  42. package/esm/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
  43. package/esm/generated/selectionSets/AlpacaAccount.js.map +1 -1
  44. package/esm/generated/selectionSets/AlpacaAccount.mjs +6 -0
  45. package/esm/generated/selectionSets/Authenticator.d.ts +1 -1
  46. package/esm/generated/selectionSets/Authenticator.d.ts.map +1 -1
  47. package/esm/generated/selectionSets/Authenticator.js.map +1 -1
  48. package/esm/generated/selectionSets/Authenticator.mjs +6 -0
  49. package/esm/generated/selectionSets/Customer.d.ts +1 -1
  50. package/esm/generated/selectionSets/Customer.d.ts.map +1 -1
  51. package/esm/generated/selectionSets/Customer.js.map +1 -1
  52. package/esm/generated/selectionSets/Customer.mjs +6 -0
  53. package/esm/generated/selectionSets/User.d.ts +1 -1
  54. package/esm/generated/selectionSets/User.d.ts.map +1 -1
  55. package/esm/generated/selectionSets/User.js.map +1 -1
  56. package/esm/generated/selectionSets/User.mjs +6 -0
  57. package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
  58. package/esm/generated/typegraphql-prisma/enhance.mjs +30 -30
  59. package/esm/generated/typegraphql-prisma/enums/AlpacaAccountScalarFieldEnum.d.ts +6 -0
  60. package/esm/generated/typegraphql-prisma/enums/AlpacaAccountScalarFieldEnum.d.ts.map +1 -1
  61. package/esm/generated/typegraphql-prisma/enums/AlpacaAccountScalarFieldEnum.js.map +1 -1
  62. package/esm/generated/typegraphql-prisma/enums/AlpacaAccountScalarFieldEnum.mjs +6 -0
  63. package/esm/generated/typegraphql-prisma/models/AlpacaAccount.d.ts +24 -0
  64. package/esm/generated/typegraphql-prisma/models/AlpacaAccount.d.ts.map +1 -1
  65. package/esm/generated/typegraphql-prisma/models/AlpacaAccount.js.map +1 -1
  66. package/esm/generated/typegraphql-prisma/models/AlpacaAccount.mjs +66 -0
  67. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountArgs.d.ts +1 -1
  68. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountArgs.d.ts.map +1 -1
  69. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountArgs.js.map +1 -1
  70. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountOrThrowArgs.d.ts +1 -1
  71. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountOrThrowArgs.d.ts.map +1 -1
  72. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountOrThrowArgs.js.map +1 -1
  73. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindManyAlpacaAccountArgs.d.ts +1 -1
  74. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindManyAlpacaAccountArgs.d.ts.map +1 -1
  75. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindManyAlpacaAccountArgs.js.map +1 -1
  76. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/GroupByAlpacaAccountArgs.d.ts +1 -1
  77. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/GroupByAlpacaAccountArgs.d.ts.map +1 -1
  78. package/esm/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/GroupByAlpacaAccountArgs.js.map +1 -1
  79. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountAvgOrderByAggregateInput.d.ts +6 -0
  80. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountAvgOrderByAggregateInput.d.ts.map +1 -1
  81. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountAvgOrderByAggregateInput.js.map +1 -1
  82. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountAvgOrderByAggregateInput.mjs +42 -0
  83. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCountOrderByAggregateInput.d.ts +6 -0
  84. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCountOrderByAggregateInput.d.ts.map +1 -1
  85. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCountOrderByAggregateInput.js.map +1 -1
  86. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCountOrderByAggregateInput.mjs +42 -0
  87. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateInput.d.ts +6 -0
  88. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateInput.d.ts.map +1 -1
  89. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateInput.js.map +1 -1
  90. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateInput.mjs +42 -0
  91. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyInput.d.ts +6 -0
  92. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyInput.d.ts.map +1 -1
  93. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyInput.js.map +1 -1
  94. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyInput.mjs +42 -0
  95. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyUserInput.d.ts +6 -0
  96. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyUserInput.d.ts.map +1 -1
  97. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyUserInput.js.map +1 -1
  98. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyUserInput.mjs +42 -0
  99. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAlertsInput.d.ts +6 -0
  100. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAlertsInput.d.ts.map +1 -1
  101. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAlertsInput.js.map +1 -1
  102. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAlertsInput.mjs +42 -0
  103. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAllocationInput.d.ts +6 -0
  104. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAllocationInput.d.ts.map +1 -1
  105. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAllocationInput.js.map +1 -1
  106. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAllocationInput.mjs +42 -0
  107. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutUserInput.d.ts +6 -0
  108. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutUserInput.d.ts.map +1 -1
  109. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutUserInput.js.map +1 -1
  110. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutUserInput.mjs +42 -0
  111. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMaxOrderByAggregateInput.d.ts +6 -0
  112. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMaxOrderByAggregateInput.d.ts.map +1 -1
  113. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMaxOrderByAggregateInput.js.map +1 -1
  114. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMaxOrderByAggregateInput.mjs +42 -0
  115. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMinOrderByAggregateInput.d.ts +6 -0
  116. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMinOrderByAggregateInput.d.ts.map +1 -1
  117. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMinOrderByAggregateInput.js.map +1 -1
  118. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMinOrderByAggregateInput.mjs +42 -0
  119. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithAggregationInput.d.ts +6 -0
  120. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithAggregationInput.d.ts.map +1 -1
  121. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithAggregationInput.js.map +1 -1
  122. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithAggregationInput.mjs +42 -0
  123. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithRelationInput.d.ts +6 -0
  124. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithRelationInput.d.ts.map +1 -1
  125. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithRelationInput.js.map +1 -1
  126. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithRelationInput.mjs +42 -0
  127. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereInput.d.ts +6 -0
  128. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereInput.d.ts.map +1 -1
  129. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereInput.js.map +1 -1
  130. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereInput.mjs +42 -0
  131. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereWithAggregatesInput.d.ts +6 -0
  132. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereWithAggregatesInput.d.ts.map +1 -1
  133. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereWithAggregatesInput.js.map +1 -1
  134. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereWithAggregatesInput.mjs +42 -0
  135. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountSumOrderByAggregateInput.d.ts +6 -0
  136. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountSumOrderByAggregateInput.d.ts.map +1 -1
  137. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountSumOrderByAggregateInput.js.map +1 -1
  138. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountSumOrderByAggregateInput.mjs +42 -0
  139. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateInput.d.ts +6 -0
  140. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateInput.d.ts.map +1 -1
  141. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateInput.js.map +1 -1
  142. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateInput.mjs +42 -0
  143. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateManyMutationInput.d.ts +6 -0
  144. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateManyMutationInput.d.ts.map +1 -1
  145. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateManyMutationInput.js.map +1 -1
  146. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateManyMutationInput.mjs +42 -0
  147. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAlertsInput.d.ts +6 -0
  148. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAlertsInput.d.ts.map +1 -1
  149. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAlertsInput.js.map +1 -1
  150. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAlertsInput.mjs +42 -0
  151. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAllocationInput.d.ts +6 -0
  152. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAllocationInput.d.ts.map +1 -1
  153. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAllocationInput.js.map +1 -1
  154. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAllocationInput.mjs +42 -0
  155. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutUserInput.d.ts +6 -0
  156. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutUserInput.d.ts.map +1 -1
  157. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutUserInput.js.map +1 -1
  158. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutUserInput.mjs +42 -0
  159. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereInput.d.ts +6 -0
  160. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereInput.d.ts.map +1 -1
  161. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereInput.js.map +1 -1
  162. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereInput.mjs +42 -0
  163. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereUniqueInput.d.ts +6 -0
  164. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereUniqueInput.d.ts.map +1 -1
  165. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereUniqueInput.js.map +1 -1
  166. package/esm/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereUniqueInput.mjs +42 -0
  167. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountAvgAggregate.d.ts +6 -0
  168. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountAvgAggregate.d.ts.map +1 -1
  169. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountAvgAggregate.js.map +1 -1
  170. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountAvgAggregate.mjs +42 -0
  171. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountCountAggregate.d.ts +6 -0
  172. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountCountAggregate.d.ts.map +1 -1
  173. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountCountAggregate.js.map +1 -1
  174. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountCountAggregate.mjs +42 -0
  175. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountGroupBy.d.ts +6 -0
  176. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountGroupBy.d.ts.map +1 -1
  177. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountGroupBy.js.map +1 -1
  178. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountGroupBy.mjs +42 -0
  179. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMaxAggregate.d.ts +6 -0
  180. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMaxAggregate.d.ts.map +1 -1
  181. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMaxAggregate.js.map +1 -1
  182. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMaxAggregate.mjs +42 -0
  183. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMinAggregate.d.ts +6 -0
  184. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMinAggregate.d.ts.map +1 -1
  185. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMinAggregate.js.map +1 -1
  186. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMinAggregate.mjs +42 -0
  187. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountSumAggregate.d.ts +6 -0
  188. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountSumAggregate.d.ts.map +1 -1
  189. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountSumAggregate.js.map +1 -1
  190. package/esm/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountSumAggregate.mjs +42 -0
  191. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAlpacaAccount.d.ts +6 -0
  192. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAlpacaAccount.d.ts.map +1 -1
  193. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAlpacaAccount.js.map +1 -1
  194. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAlpacaAccount.mjs +42 -0
  195. package/esm/generated/typegraphql-prisma/resolvers/relations/User/args/UserAlpacaAccountsArgs.d.ts +1 -1
  196. package/esm/generated/typegraphql-prisma/resolvers/relations/User/args/UserAlpacaAccountsArgs.d.ts.map +1 -1
  197. package/esm/generated/typegraphql-prisma/resolvers/relations/User/args/UserAlpacaAccountsArgs.js.map +1 -1
  198. package/generated/typegraphql-prisma/enhance.cjs +30 -30
  199. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  200. package/generated/typegraphql-prisma/enums/AlpacaAccountScalarFieldEnum.cjs +6 -0
  201. package/generated/typegraphql-prisma/enums/AlpacaAccountScalarFieldEnum.d.ts +6 -0
  202. package/generated/typegraphql-prisma/enums/AlpacaAccountScalarFieldEnum.d.ts.map +1 -1
  203. package/generated/typegraphql-prisma/enums/AlpacaAccountScalarFieldEnum.js.map +1 -1
  204. package/generated/typegraphql-prisma/models/AlpacaAccount.cjs +42 -0
  205. package/generated/typegraphql-prisma/models/AlpacaAccount.d.ts +24 -0
  206. package/generated/typegraphql-prisma/models/AlpacaAccount.d.ts.map +1 -1
  207. package/generated/typegraphql-prisma/models/AlpacaAccount.js.map +1 -1
  208. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountArgs.d.ts +1 -1
  209. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountArgs.d.ts.map +1 -1
  210. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountArgs.js.map +1 -1
  211. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountOrThrowArgs.d.ts +1 -1
  212. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountOrThrowArgs.d.ts.map +1 -1
  213. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindFirstAlpacaAccountOrThrowArgs.js.map +1 -1
  214. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindManyAlpacaAccountArgs.d.ts +1 -1
  215. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindManyAlpacaAccountArgs.d.ts.map +1 -1
  216. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/FindManyAlpacaAccountArgs.js.map +1 -1
  217. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/GroupByAlpacaAccountArgs.d.ts +1 -1
  218. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/GroupByAlpacaAccountArgs.d.ts.map +1 -1
  219. package/generated/typegraphql-prisma/resolvers/crud/AlpacaAccount/args/GroupByAlpacaAccountArgs.js.map +1 -1
  220. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountAvgOrderByAggregateInput.cjs +36 -0
  221. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountAvgOrderByAggregateInput.d.ts +6 -0
  222. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountAvgOrderByAggregateInput.d.ts.map +1 -1
  223. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountAvgOrderByAggregateInput.js.map +1 -1
  224. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCountOrderByAggregateInput.cjs +36 -0
  225. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCountOrderByAggregateInput.d.ts +6 -0
  226. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCountOrderByAggregateInput.d.ts.map +1 -1
  227. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCountOrderByAggregateInput.js.map +1 -1
  228. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateInput.cjs +36 -0
  229. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateInput.d.ts +6 -0
  230. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateInput.d.ts.map +1 -1
  231. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateInput.js.map +1 -1
  232. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyInput.cjs +36 -0
  233. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyInput.d.ts +6 -0
  234. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyInput.d.ts.map +1 -1
  235. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyInput.js.map +1 -1
  236. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyUserInput.cjs +36 -0
  237. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyUserInput.d.ts +6 -0
  238. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyUserInput.d.ts.map +1 -1
  239. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateManyUserInput.js.map +1 -1
  240. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAlertsInput.cjs +36 -0
  241. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAlertsInput.d.ts +6 -0
  242. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAlertsInput.d.ts.map +1 -1
  243. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAlertsInput.js.map +1 -1
  244. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAllocationInput.cjs +36 -0
  245. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAllocationInput.d.ts +6 -0
  246. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAllocationInput.d.ts.map +1 -1
  247. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutAllocationInput.js.map +1 -1
  248. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutUserInput.cjs +36 -0
  249. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutUserInput.d.ts +6 -0
  250. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutUserInput.d.ts.map +1 -1
  251. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountCreateWithoutUserInput.js.map +1 -1
  252. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMaxOrderByAggregateInput.cjs +36 -0
  253. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMaxOrderByAggregateInput.d.ts +6 -0
  254. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMaxOrderByAggregateInput.d.ts.map +1 -1
  255. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMaxOrderByAggregateInput.js.map +1 -1
  256. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMinOrderByAggregateInput.cjs +36 -0
  257. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMinOrderByAggregateInput.d.ts +6 -0
  258. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMinOrderByAggregateInput.d.ts.map +1 -1
  259. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountMinOrderByAggregateInput.js.map +1 -1
  260. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithAggregationInput.cjs +36 -0
  261. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithAggregationInput.d.ts +6 -0
  262. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithAggregationInput.d.ts.map +1 -1
  263. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithAggregationInput.js.map +1 -1
  264. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithRelationInput.cjs +36 -0
  265. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithRelationInput.d.ts +6 -0
  266. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithRelationInput.d.ts.map +1 -1
  267. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountOrderByWithRelationInput.js.map +1 -1
  268. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereInput.cjs +36 -0
  269. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereInput.d.ts +6 -0
  270. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereInput.d.ts.map +1 -1
  271. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereInput.js.map +1 -1
  272. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereWithAggregatesInput.cjs +36 -0
  273. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereWithAggregatesInput.d.ts +6 -0
  274. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereWithAggregatesInput.d.ts.map +1 -1
  275. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountScalarWhereWithAggregatesInput.js.map +1 -1
  276. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountSumOrderByAggregateInput.cjs +36 -0
  277. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountSumOrderByAggregateInput.d.ts +6 -0
  278. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountSumOrderByAggregateInput.d.ts.map +1 -1
  279. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountSumOrderByAggregateInput.js.map +1 -1
  280. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateInput.cjs +36 -0
  281. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateInput.d.ts +6 -0
  282. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateInput.d.ts.map +1 -1
  283. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateInput.js.map +1 -1
  284. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateManyMutationInput.cjs +36 -0
  285. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateManyMutationInput.d.ts +6 -0
  286. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateManyMutationInput.d.ts.map +1 -1
  287. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateManyMutationInput.js.map +1 -1
  288. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAlertsInput.cjs +36 -0
  289. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAlertsInput.d.ts +6 -0
  290. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAlertsInput.d.ts.map +1 -1
  291. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAlertsInput.js.map +1 -1
  292. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAllocationInput.cjs +36 -0
  293. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAllocationInput.d.ts +6 -0
  294. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAllocationInput.d.ts.map +1 -1
  295. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutAllocationInput.js.map +1 -1
  296. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutUserInput.cjs +36 -0
  297. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutUserInput.d.ts +6 -0
  298. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutUserInput.d.ts.map +1 -1
  299. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountUpdateWithoutUserInput.js.map +1 -1
  300. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereInput.cjs +36 -0
  301. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereInput.d.ts +6 -0
  302. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereInput.d.ts.map +1 -1
  303. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereInput.js.map +1 -1
  304. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereUniqueInput.cjs +36 -0
  305. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereUniqueInput.d.ts +6 -0
  306. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereUniqueInput.d.ts.map +1 -1
  307. package/generated/typegraphql-prisma/resolvers/inputs/AlpacaAccountWhereUniqueInput.js.map +1 -1
  308. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountAvgAggregate.cjs +36 -0
  309. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountAvgAggregate.d.ts +6 -0
  310. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountAvgAggregate.d.ts.map +1 -1
  311. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountAvgAggregate.js.map +1 -1
  312. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountCountAggregate.cjs +36 -0
  313. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountCountAggregate.d.ts +6 -0
  314. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountCountAggregate.d.ts.map +1 -1
  315. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountCountAggregate.js.map +1 -1
  316. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountGroupBy.cjs +36 -0
  317. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountGroupBy.d.ts +6 -0
  318. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountGroupBy.d.ts.map +1 -1
  319. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountGroupBy.js.map +1 -1
  320. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMaxAggregate.cjs +36 -0
  321. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMaxAggregate.d.ts +6 -0
  322. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMaxAggregate.d.ts.map +1 -1
  323. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMaxAggregate.js.map +1 -1
  324. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMinAggregate.cjs +36 -0
  325. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMinAggregate.d.ts +6 -0
  326. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMinAggregate.d.ts.map +1 -1
  327. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountMinAggregate.js.map +1 -1
  328. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountSumAggregate.cjs +36 -0
  329. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountSumAggregate.d.ts +6 -0
  330. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountSumAggregate.d.ts.map +1 -1
  331. package/generated/typegraphql-prisma/resolvers/outputs/AlpacaAccountSumAggregate.js.map +1 -1
  332. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAlpacaAccount.cjs +36 -0
  333. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAlpacaAccount.d.ts +6 -0
  334. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAlpacaAccount.d.ts.map +1 -1
  335. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAlpacaAccount.js.map +1 -1
  336. package/generated/typegraphql-prisma/resolvers/relations/User/args/UserAlpacaAccountsArgs.d.ts +1 -1
  337. package/generated/typegraphql-prisma/resolvers/relations/User/args/UserAlpacaAccountsArgs.d.ts.map +1 -1
  338. package/generated/typegraphql-prisma/resolvers/relations/User/args/UserAlpacaAccountsArgs.js.map +1 -1
  339. package/package.json +1 -1
package/Account.cjs CHANGED
@@ -95,6 +95,12 @@ id
95
95
  portfolioTrailPercent
96
96
  portfolioProfitThresholdPercent
97
97
  reducedPortfolioTrailPercent
98
+ defaultTrailingStopPercentage100
99
+ firstTrailReductionThreshold100
100
+ secondTrailReductionThreshold100
101
+ firstReducedTrailPercentage100
102
+ secondReducedTrailPercentage100
103
+ minimumPriceChangePercent100
98
104
  userId
99
105
  createdAt
100
106
  updatedAt
@@ -276,6 +282,12 @@ exports.Account = {
276
282
  portfolioTrailPercent: item.portfolioTrailPercent !== undefined ? item.portfolioTrailPercent : undefined,
277
283
  portfolioProfitThresholdPercent: item.portfolioProfitThresholdPercent !== undefined ? item.portfolioProfitThresholdPercent : undefined,
278
284
  reducedPortfolioTrailPercent: item.reducedPortfolioTrailPercent !== undefined ? item.reducedPortfolioTrailPercent : undefined,
285
+ defaultTrailingStopPercentage100: item.defaultTrailingStopPercentage100 !== undefined ? item.defaultTrailingStopPercentage100 : undefined,
286
+ firstTrailReductionThreshold100: item.firstTrailReductionThreshold100 !== undefined ? item.firstTrailReductionThreshold100 : undefined,
287
+ secondTrailReductionThreshold100: item.secondTrailReductionThreshold100 !== undefined ? item.secondTrailReductionThreshold100 : undefined,
288
+ firstReducedTrailPercentage100: item.firstReducedTrailPercentage100 !== undefined ? item.firstReducedTrailPercentage100 : undefined,
289
+ secondReducedTrailPercentage100: item.secondReducedTrailPercentage100 !== undefined ? item.secondReducedTrailPercentage100 : undefined,
290
+ minimumPriceChangePercent100: item.minimumPriceChangePercent100 !== undefined ? item.minimumPriceChangePercent100 : undefined,
279
291
  allocation: item.allocation ?
280
292
  typeof item.allocation === 'object' && Object.keys(item.allocation).length === 1 && Object.keys(item.allocation)[0] === 'id'
281
293
  ? { connect: {
@@ -706,6 +718,24 @@ exports.Account = {
706
718
  reducedPortfolioTrailPercent: item.reducedPortfolioTrailPercent !== undefined ? {
707
719
  set: item.reducedPortfolioTrailPercent
708
720
  } : undefined,
721
+ defaultTrailingStopPercentage100: item.defaultTrailingStopPercentage100 !== undefined ? {
722
+ set: item.defaultTrailingStopPercentage100
723
+ } : undefined,
724
+ firstTrailReductionThreshold100: item.firstTrailReductionThreshold100 !== undefined ? {
725
+ set: item.firstTrailReductionThreshold100
726
+ } : undefined,
727
+ secondTrailReductionThreshold100: item.secondTrailReductionThreshold100 !== undefined ? {
728
+ set: item.secondTrailReductionThreshold100
729
+ } : undefined,
730
+ firstReducedTrailPercentage100: item.firstReducedTrailPercentage100 !== undefined ? {
731
+ set: item.firstReducedTrailPercentage100
732
+ } : undefined,
733
+ secondReducedTrailPercentage100: item.secondReducedTrailPercentage100 !== undefined ? {
734
+ set: item.secondReducedTrailPercentage100
735
+ } : undefined,
736
+ minimumPriceChangePercent100: item.minimumPriceChangePercent100 !== undefined ? {
737
+ set: item.minimumPriceChangePercent100
738
+ } : undefined,
709
739
  allocation: item.allocation ?
710
740
  typeof item.allocation === 'object' && Object.keys(item.allocation).length === 1 && (Object.keys(item.allocation)[0] === 'id' || Object.keys(item.allocation)[0] === 'symbol')
711
741
  ? {
@@ -795,6 +825,12 @@ exports.Account = {
795
825
  portfolioTrailPercent: item.portfolioTrailPercent !== undefined ? item.portfolioTrailPercent : undefined,
796
826
  portfolioProfitThresholdPercent: item.portfolioProfitThresholdPercent !== undefined ? item.portfolioProfitThresholdPercent : undefined,
797
827
  reducedPortfolioTrailPercent: item.reducedPortfolioTrailPercent !== undefined ? item.reducedPortfolioTrailPercent : undefined,
828
+ defaultTrailingStopPercentage100: item.defaultTrailingStopPercentage100 !== undefined ? item.defaultTrailingStopPercentage100 : undefined,
829
+ firstTrailReductionThreshold100: item.firstTrailReductionThreshold100 !== undefined ? item.firstTrailReductionThreshold100 : undefined,
830
+ secondTrailReductionThreshold100: item.secondTrailReductionThreshold100 !== undefined ? item.secondTrailReductionThreshold100 : undefined,
831
+ firstReducedTrailPercentage100: item.firstReducedTrailPercentage100 !== undefined ? item.firstReducedTrailPercentage100 : undefined,
832
+ secondReducedTrailPercentage100: item.secondReducedTrailPercentage100 !== undefined ? item.secondReducedTrailPercentage100 : undefined,
833
+ minimumPriceChangePercent100: item.minimumPriceChangePercent100 !== undefined ? item.minimumPriceChangePercent100 : undefined,
798
834
  allocation: item.allocation ?
799
835
  typeof item.allocation === 'object' && Object.keys(item.allocation).length === 1 && Object.keys(item.allocation)[0] === 'id'
800
836
  ? { connect: {
@@ -952,6 +988,12 @@ exports.Account = {
952
988
  portfolioTrailPercent: item.portfolioTrailPercent !== undefined ? item.portfolioTrailPercent : undefined,
953
989
  portfolioProfitThresholdPercent: item.portfolioProfitThresholdPercent !== undefined ? item.portfolioProfitThresholdPercent : undefined,
954
990
  reducedPortfolioTrailPercent: item.reducedPortfolioTrailPercent !== undefined ? item.reducedPortfolioTrailPercent : undefined,
991
+ defaultTrailingStopPercentage100: item.defaultTrailingStopPercentage100 !== undefined ? item.defaultTrailingStopPercentage100 : undefined,
992
+ firstTrailReductionThreshold100: item.firstTrailReductionThreshold100 !== undefined ? item.firstTrailReductionThreshold100 : undefined,
993
+ secondTrailReductionThreshold100: item.secondTrailReductionThreshold100 !== undefined ? item.secondTrailReductionThreshold100 : undefined,
994
+ firstReducedTrailPercentage100: item.firstReducedTrailPercentage100 !== undefined ? item.firstReducedTrailPercentage100 : undefined,
995
+ secondReducedTrailPercentage100: item.secondReducedTrailPercentage100 !== undefined ? item.secondReducedTrailPercentage100 : undefined,
996
+ minimumPriceChangePercent100: item.minimumPriceChangePercent100 !== undefined ? item.minimumPriceChangePercent100 : undefined,
955
997
  allocation: item.allocation ?
956
998
  typeof item.allocation === 'object' && Object.keys(item.allocation).length === 1 && Object.keys(item.allocation)[0] === 'id'
957
999
  ? { connect: {
@@ -1185,6 +1227,12 @@ exports.Account = {
1185
1227
  portfolioTrailPercent: item.portfolioTrailPercent !== undefined ? item.portfolioTrailPercent : undefined,
1186
1228
  portfolioProfitThresholdPercent: item.portfolioProfitThresholdPercent !== undefined ? item.portfolioProfitThresholdPercent : undefined,
1187
1229
  reducedPortfolioTrailPercent: item.reducedPortfolioTrailPercent !== undefined ? item.reducedPortfolioTrailPercent : undefined,
1230
+ defaultTrailingStopPercentage100: item.defaultTrailingStopPercentage100 !== undefined ? item.defaultTrailingStopPercentage100 : undefined,
1231
+ firstTrailReductionThreshold100: item.firstTrailReductionThreshold100 !== undefined ? item.firstTrailReductionThreshold100 : undefined,
1232
+ secondTrailReductionThreshold100: item.secondTrailReductionThreshold100 !== undefined ? item.secondTrailReductionThreshold100 : undefined,
1233
+ firstReducedTrailPercentage100: item.firstReducedTrailPercentage100 !== undefined ? item.firstReducedTrailPercentage100 : undefined,
1234
+ secondReducedTrailPercentage100: item.secondReducedTrailPercentage100 !== undefined ? item.secondReducedTrailPercentage100 : undefined,
1235
+ minimumPriceChangePercent100: item.minimumPriceChangePercent100 !== undefined ? item.minimumPriceChangePercent100 : undefined,
1188
1236
  allocation: item.allocation ?
1189
1237
  typeof item.allocation === 'object' && Object.keys(item.allocation).length === 1 && Object.keys(item.allocation)[0] === 'id'
1190
1238
  ? { connect: {
@@ -1506,6 +1554,24 @@ exports.Account = {
1506
1554
  reducedPortfolioTrailPercent: item.reducedPortfolioTrailPercent !== undefined ? {
1507
1555
  set: item.reducedPortfolioTrailPercent
1508
1556
  } : undefined,
1557
+ defaultTrailingStopPercentage100: item.defaultTrailingStopPercentage100 !== undefined ? {
1558
+ set: item.defaultTrailingStopPercentage100
1559
+ } : undefined,
1560
+ firstTrailReductionThreshold100: item.firstTrailReductionThreshold100 !== undefined ? {
1561
+ set: item.firstTrailReductionThreshold100
1562
+ } : undefined,
1563
+ secondTrailReductionThreshold100: item.secondTrailReductionThreshold100 !== undefined ? {
1564
+ set: item.secondTrailReductionThreshold100
1565
+ } : undefined,
1566
+ firstReducedTrailPercentage100: item.firstReducedTrailPercentage100 !== undefined ? {
1567
+ set: item.firstReducedTrailPercentage100
1568
+ } : undefined,
1569
+ secondReducedTrailPercentage100: item.secondReducedTrailPercentage100 !== undefined ? {
1570
+ set: item.secondReducedTrailPercentage100
1571
+ } : undefined,
1572
+ minimumPriceChangePercent100: item.minimumPriceChangePercent100 !== undefined ? {
1573
+ set: item.minimumPriceChangePercent100
1574
+ } : undefined,
1509
1575
  allocation: item.allocation ?
1510
1576
  typeof item.allocation === 'object' && Object.keys(item.allocation).length === 1 && (Object.keys(item.allocation)[0] === 'id' || Object.keys(item.allocation)[0] === 'symbol')
1511
1577
  ? {
@@ -1595,6 +1661,12 @@ exports.Account = {
1595
1661
  portfolioTrailPercent: item.portfolioTrailPercent !== undefined ? item.portfolioTrailPercent : undefined,
1596
1662
  portfolioProfitThresholdPercent: item.portfolioProfitThresholdPercent !== undefined ? item.portfolioProfitThresholdPercent : undefined,
1597
1663
  reducedPortfolioTrailPercent: item.reducedPortfolioTrailPercent !== undefined ? item.reducedPortfolioTrailPercent : undefined,
1664
+ defaultTrailingStopPercentage100: item.defaultTrailingStopPercentage100 !== undefined ? item.defaultTrailingStopPercentage100 : undefined,
1665
+ firstTrailReductionThreshold100: item.firstTrailReductionThreshold100 !== undefined ? item.firstTrailReductionThreshold100 : undefined,
1666
+ secondTrailReductionThreshold100: item.secondTrailReductionThreshold100 !== undefined ? item.secondTrailReductionThreshold100 : undefined,
1667
+ firstReducedTrailPercentage100: item.firstReducedTrailPercentage100 !== undefined ? item.firstReducedTrailPercentage100 : undefined,
1668
+ secondReducedTrailPercentage100: item.secondReducedTrailPercentage100 !== undefined ? item.secondReducedTrailPercentage100 : undefined,
1669
+ minimumPriceChangePercent100: item.minimumPriceChangePercent100 !== undefined ? item.minimumPriceChangePercent100 : undefined,
1598
1670
  allocation: item.allocation ?
1599
1671
  typeof item.allocation === 'object' && Object.keys(item.allocation).length === 1 && Object.keys(item.allocation)[0] === 'id'
1600
1672
  ? { connect: {
@@ -1752,6 +1824,12 @@ exports.Account = {
1752
1824
  portfolioTrailPercent: item.portfolioTrailPercent !== undefined ? item.portfolioTrailPercent : undefined,
1753
1825
  portfolioProfitThresholdPercent: item.portfolioProfitThresholdPercent !== undefined ? item.portfolioProfitThresholdPercent : undefined,
1754
1826
  reducedPortfolioTrailPercent: item.reducedPortfolioTrailPercent !== undefined ? item.reducedPortfolioTrailPercent : undefined,
1827
+ defaultTrailingStopPercentage100: item.defaultTrailingStopPercentage100 !== undefined ? item.defaultTrailingStopPercentage100 : undefined,
1828
+ firstTrailReductionThreshold100: item.firstTrailReductionThreshold100 !== undefined ? item.firstTrailReductionThreshold100 : undefined,
1829
+ secondTrailReductionThreshold100: item.secondTrailReductionThreshold100 !== undefined ? item.secondTrailReductionThreshold100 : undefined,
1830
+ firstReducedTrailPercentage100: item.firstReducedTrailPercentage100 !== undefined ? item.firstReducedTrailPercentage100 : undefined,
1831
+ secondReducedTrailPercentage100: item.secondReducedTrailPercentage100 !== undefined ? item.secondReducedTrailPercentage100 : undefined,
1832
+ minimumPriceChangePercent100: item.minimumPriceChangePercent100 !== undefined ? item.minimumPriceChangePercent100 : undefined,
1755
1833
  allocation: item.allocation ?
1756
1834
  typeof item.allocation === 'object' && Object.keys(item.allocation).length === 1 && Object.keys(item.allocation)[0] === 'id'
1757
1835
  ? { connect: {
@@ -2130,6 +2208,24 @@ exports.Account = {
2130
2208
  reducedPortfolioTrailPercent: item.reducedPortfolioTrailPercent !== undefined ? {
2131
2209
  set: item.reducedPortfolioTrailPercent
2132
2210
  } : undefined,
2211
+ defaultTrailingStopPercentage100: item.defaultTrailingStopPercentage100 !== undefined ? {
2212
+ set: item.defaultTrailingStopPercentage100
2213
+ } : undefined,
2214
+ firstTrailReductionThreshold100: item.firstTrailReductionThreshold100 !== undefined ? {
2215
+ set: item.firstTrailReductionThreshold100
2216
+ } : undefined,
2217
+ secondTrailReductionThreshold100: item.secondTrailReductionThreshold100 !== undefined ? {
2218
+ set: item.secondTrailReductionThreshold100
2219
+ } : undefined,
2220
+ firstReducedTrailPercentage100: item.firstReducedTrailPercentage100 !== undefined ? {
2221
+ set: item.firstReducedTrailPercentage100
2222
+ } : undefined,
2223
+ secondReducedTrailPercentage100: item.secondReducedTrailPercentage100 !== undefined ? {
2224
+ set: item.secondReducedTrailPercentage100
2225
+ } : undefined,
2226
+ minimumPriceChangePercent100: item.minimumPriceChangePercent100 !== undefined ? {
2227
+ set: item.minimumPriceChangePercent100
2228
+ } : undefined,
2133
2229
  allocation: item.allocation ?
2134
2230
  typeof item.allocation === 'object' && Object.keys(item.allocation).length === 1 && (Object.keys(item.allocation)[0] === 'id' || Object.keys(item.allocation)[0] === 'symbol')
2135
2231
  ? {
@@ -2219,6 +2315,12 @@ exports.Account = {
2219
2315
  portfolioTrailPercent: item.portfolioTrailPercent !== undefined ? item.portfolioTrailPercent : undefined,
2220
2316
  portfolioProfitThresholdPercent: item.portfolioProfitThresholdPercent !== undefined ? item.portfolioProfitThresholdPercent : undefined,
2221
2317
  reducedPortfolioTrailPercent: item.reducedPortfolioTrailPercent !== undefined ? item.reducedPortfolioTrailPercent : undefined,
2318
+ defaultTrailingStopPercentage100: item.defaultTrailingStopPercentage100 !== undefined ? item.defaultTrailingStopPercentage100 : undefined,
2319
+ firstTrailReductionThreshold100: item.firstTrailReductionThreshold100 !== undefined ? item.firstTrailReductionThreshold100 : undefined,
2320
+ secondTrailReductionThreshold100: item.secondTrailReductionThreshold100 !== undefined ? item.secondTrailReductionThreshold100 : undefined,
2321
+ firstReducedTrailPercentage100: item.firstReducedTrailPercentage100 !== undefined ? item.firstReducedTrailPercentage100 : undefined,
2322
+ secondReducedTrailPercentage100: item.secondReducedTrailPercentage100 !== undefined ? item.secondReducedTrailPercentage100 : undefined,
2323
+ minimumPriceChangePercent100: item.minimumPriceChangePercent100 !== undefined ? item.minimumPriceChangePercent100 : undefined,
2222
2324
  allocation: item.allocation ?
2223
2325
  typeof item.allocation === 'object' && Object.keys(item.allocation).length === 1 && Object.keys(item.allocation)[0] === 'id'
2224
2326
  ? { connect: {
@@ -2376,6 +2478,12 @@ exports.Account = {
2376
2478
  portfolioTrailPercent: item.portfolioTrailPercent !== undefined ? item.portfolioTrailPercent : undefined,
2377
2479
  portfolioProfitThresholdPercent: item.portfolioProfitThresholdPercent !== undefined ? item.portfolioProfitThresholdPercent : undefined,
2378
2480
  reducedPortfolioTrailPercent: item.reducedPortfolioTrailPercent !== undefined ? item.reducedPortfolioTrailPercent : undefined,
2481
+ defaultTrailingStopPercentage100: item.defaultTrailingStopPercentage100 !== undefined ? item.defaultTrailingStopPercentage100 : undefined,
2482
+ firstTrailReductionThreshold100: item.firstTrailReductionThreshold100 !== undefined ? item.firstTrailReductionThreshold100 : undefined,
2483
+ secondTrailReductionThreshold100: item.secondTrailReductionThreshold100 !== undefined ? item.secondTrailReductionThreshold100 : undefined,
2484
+ firstReducedTrailPercentage100: item.firstReducedTrailPercentage100 !== undefined ? item.firstReducedTrailPercentage100 : undefined,
2485
+ secondReducedTrailPercentage100: item.secondReducedTrailPercentage100 !== undefined ? item.secondReducedTrailPercentage100 : undefined,
2486
+ minimumPriceChangePercent100: item.minimumPriceChangePercent100 !== undefined ? item.minimumPriceChangePercent100 : undefined,
2379
2487
  allocation: item.allocation ?
2380
2488
  typeof item.allocation === 'object' && Object.keys(item.allocation).length === 1 && Object.keys(item.allocation)[0] === 'id'
2381
2489
  ? { connect: {
package/Alert.cjs CHANGED
@@ -76,6 +76,12 @@ exports.Alert = {
76
76
  portfolioTrailPercent: props.alpacaAccount.portfolioTrailPercent !== undefined ? props.alpacaAccount.portfolioTrailPercent : undefined,
77
77
  portfolioProfitThresholdPercent: props.alpacaAccount.portfolioProfitThresholdPercent !== undefined ? props.alpacaAccount.portfolioProfitThresholdPercent : undefined,
78
78
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? props.alpacaAccount.reducedPortfolioTrailPercent : undefined,
79
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? props.alpacaAccount.defaultTrailingStopPercentage100 : undefined,
80
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? props.alpacaAccount.firstTrailReductionThreshold100 : undefined,
81
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? props.alpacaAccount.secondTrailReductionThreshold100 : undefined,
82
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? props.alpacaAccount.firstReducedTrailPercentage100 : undefined,
83
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? props.alpacaAccount.secondReducedTrailPercentage100 : undefined,
84
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? props.alpacaAccount.minimumPriceChangePercent100 : undefined,
79
85
  allocation: props.alpacaAccount.allocation ?
80
86
  typeof props.alpacaAccount.allocation === 'object' && Object.keys(props.alpacaAccount.allocation).length === 1 && Object.keys(props.alpacaAccount.allocation)[0] === 'id'
81
87
  ? { connect: {
@@ -404,6 +410,24 @@ exports.Alert = {
404
410
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? {
405
411
  set: props.alpacaAccount.reducedPortfolioTrailPercent
406
412
  } : undefined,
413
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? {
414
+ set: props.alpacaAccount.defaultTrailingStopPercentage100
415
+ } : undefined,
416
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? {
417
+ set: props.alpacaAccount.firstTrailReductionThreshold100
418
+ } : undefined,
419
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? {
420
+ set: props.alpacaAccount.secondTrailReductionThreshold100
421
+ } : undefined,
422
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? {
423
+ set: props.alpacaAccount.firstReducedTrailPercentage100
424
+ } : undefined,
425
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? {
426
+ set: props.alpacaAccount.secondReducedTrailPercentage100
427
+ } : undefined,
428
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? {
429
+ set: props.alpacaAccount.minimumPriceChangePercent100
430
+ } : undefined,
407
431
  allocation: props.alpacaAccount.allocation ?
408
432
  typeof props.alpacaAccount.allocation === 'object' && Object.keys(props.alpacaAccount.allocation).length === 1 && (Object.keys(props.alpacaAccount.allocation)[0] === 'id' || Object.keys(props.alpacaAccount.allocation)[0] === 'symbol')
409
433
  ? {
@@ -822,6 +846,12 @@ exports.Alert = {
822
846
  portfolioTrailPercent: props.alpacaAccount.portfolioTrailPercent !== undefined ? props.alpacaAccount.portfolioTrailPercent : undefined,
823
847
  portfolioProfitThresholdPercent: props.alpacaAccount.portfolioProfitThresholdPercent !== undefined ? props.alpacaAccount.portfolioProfitThresholdPercent : undefined,
824
848
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? props.alpacaAccount.reducedPortfolioTrailPercent : undefined,
849
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? props.alpacaAccount.defaultTrailingStopPercentage100 : undefined,
850
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? props.alpacaAccount.firstTrailReductionThreshold100 : undefined,
851
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? props.alpacaAccount.secondTrailReductionThreshold100 : undefined,
852
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? props.alpacaAccount.firstReducedTrailPercentage100 : undefined,
853
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? props.alpacaAccount.secondReducedTrailPercentage100 : undefined,
854
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? props.alpacaAccount.minimumPriceChangePercent100 : undefined,
825
855
  allocation: props.alpacaAccount.allocation ?
826
856
  typeof props.alpacaAccount.allocation === 'object' && Object.keys(props.alpacaAccount.allocation).length === 1 && Object.keys(props.alpacaAccount.allocation)[0] === 'id'
827
857
  ? { connect: {
@@ -1055,6 +1085,12 @@ exports.Alert = {
1055
1085
  portfolioTrailPercent: props.alpacaAccount.portfolioTrailPercent !== undefined ? props.alpacaAccount.portfolioTrailPercent : undefined,
1056
1086
  portfolioProfitThresholdPercent: props.alpacaAccount.portfolioProfitThresholdPercent !== undefined ? props.alpacaAccount.portfolioProfitThresholdPercent : undefined,
1057
1087
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? props.alpacaAccount.reducedPortfolioTrailPercent : undefined,
1088
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? props.alpacaAccount.defaultTrailingStopPercentage100 : undefined,
1089
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? props.alpacaAccount.firstTrailReductionThreshold100 : undefined,
1090
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? props.alpacaAccount.secondTrailReductionThreshold100 : undefined,
1091
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? props.alpacaAccount.firstReducedTrailPercentage100 : undefined,
1092
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? props.alpacaAccount.secondReducedTrailPercentage100 : undefined,
1093
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? props.alpacaAccount.minimumPriceChangePercent100 : undefined,
1058
1094
  allocation: props.alpacaAccount.allocation ?
1059
1095
  typeof props.alpacaAccount.allocation === 'object' && Object.keys(props.alpacaAccount.allocation).length === 1 && Object.keys(props.alpacaAccount.allocation)[0] === 'id'
1060
1096
  ? { connect: {
@@ -1284,6 +1320,24 @@ exports.Alert = {
1284
1320
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? {
1285
1321
  set: props.alpacaAccount.reducedPortfolioTrailPercent
1286
1322
  } : undefined,
1323
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? {
1324
+ set: props.alpacaAccount.defaultTrailingStopPercentage100
1325
+ } : undefined,
1326
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? {
1327
+ set: props.alpacaAccount.firstTrailReductionThreshold100
1328
+ } : undefined,
1329
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? {
1330
+ set: props.alpacaAccount.secondTrailReductionThreshold100
1331
+ } : undefined,
1332
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? {
1333
+ set: props.alpacaAccount.firstReducedTrailPercentage100
1334
+ } : undefined,
1335
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? {
1336
+ set: props.alpacaAccount.secondReducedTrailPercentage100
1337
+ } : undefined,
1338
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? {
1339
+ set: props.alpacaAccount.minimumPriceChangePercent100
1340
+ } : undefined,
1287
1341
  allocation: props.alpacaAccount.allocation ?
1288
1342
  typeof props.alpacaAccount.allocation === 'object' && Object.keys(props.alpacaAccount.allocation).length === 1 && (Object.keys(props.alpacaAccount.allocation)[0] === 'id' || Object.keys(props.alpacaAccount.allocation)[0] === 'symbol')
1289
1343
  ? {
@@ -1702,6 +1756,12 @@ exports.Alert = {
1702
1756
  portfolioTrailPercent: props.alpacaAccount.portfolioTrailPercent !== undefined ? props.alpacaAccount.portfolioTrailPercent : undefined,
1703
1757
  portfolioProfitThresholdPercent: props.alpacaAccount.portfolioProfitThresholdPercent !== undefined ? props.alpacaAccount.portfolioProfitThresholdPercent : undefined,
1704
1758
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? props.alpacaAccount.reducedPortfolioTrailPercent : undefined,
1759
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? props.alpacaAccount.defaultTrailingStopPercentage100 : undefined,
1760
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? props.alpacaAccount.firstTrailReductionThreshold100 : undefined,
1761
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? props.alpacaAccount.secondTrailReductionThreshold100 : undefined,
1762
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? props.alpacaAccount.firstReducedTrailPercentage100 : undefined,
1763
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? props.alpacaAccount.secondReducedTrailPercentage100 : undefined,
1764
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? props.alpacaAccount.minimumPriceChangePercent100 : undefined,
1705
1765
  allocation: props.alpacaAccount.allocation ?
1706
1766
  typeof props.alpacaAccount.allocation === 'object' && Object.keys(props.alpacaAccount.allocation).length === 1 && Object.keys(props.alpacaAccount.allocation)[0] === 'id'
1707
1767
  ? { connect: {
@@ -1985,6 +2045,24 @@ exports.Alert = {
1985
2045
  reducedPortfolioTrailPercent: prop.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? {
1986
2046
  set: prop.alpacaAccount.reducedPortfolioTrailPercent
1987
2047
  } : undefined,
2048
+ defaultTrailingStopPercentage100: prop.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? {
2049
+ set: prop.alpacaAccount.defaultTrailingStopPercentage100
2050
+ } : undefined,
2051
+ firstTrailReductionThreshold100: prop.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? {
2052
+ set: prop.alpacaAccount.firstTrailReductionThreshold100
2053
+ } : undefined,
2054
+ secondTrailReductionThreshold100: prop.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? {
2055
+ set: prop.alpacaAccount.secondTrailReductionThreshold100
2056
+ } : undefined,
2057
+ firstReducedTrailPercentage100: prop.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? {
2058
+ set: prop.alpacaAccount.firstReducedTrailPercentage100
2059
+ } : undefined,
2060
+ secondReducedTrailPercentage100: prop.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? {
2061
+ set: prop.alpacaAccount.secondReducedTrailPercentage100
2062
+ } : undefined,
2063
+ minimumPriceChangePercent100: prop.alpacaAccount.minimumPriceChangePercent100 !== undefined ? {
2064
+ set: prop.alpacaAccount.minimumPriceChangePercent100
2065
+ } : undefined,
1988
2066
  allocation: prop.alpacaAccount.allocation ?
1989
2067
  typeof prop.alpacaAccount.allocation === 'object' && Object.keys(prop.alpacaAccount.allocation).length === 1 && (Object.keys(prop.alpacaAccount.allocation)[0] === 'id' || Object.keys(prop.alpacaAccount.allocation)[0] === 'symbol')
1990
2068
  ? {
@@ -2403,6 +2481,12 @@ exports.Alert = {
2403
2481
  portfolioTrailPercent: prop.alpacaAccount.portfolioTrailPercent !== undefined ? prop.alpacaAccount.portfolioTrailPercent : undefined,
2404
2482
  portfolioProfitThresholdPercent: prop.alpacaAccount.portfolioProfitThresholdPercent !== undefined ? prop.alpacaAccount.portfolioProfitThresholdPercent : undefined,
2405
2483
  reducedPortfolioTrailPercent: prop.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? prop.alpacaAccount.reducedPortfolioTrailPercent : undefined,
2484
+ defaultTrailingStopPercentage100: prop.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? prop.alpacaAccount.defaultTrailingStopPercentage100 : undefined,
2485
+ firstTrailReductionThreshold100: prop.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? prop.alpacaAccount.firstTrailReductionThreshold100 : undefined,
2486
+ secondTrailReductionThreshold100: prop.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? prop.alpacaAccount.secondTrailReductionThreshold100 : undefined,
2487
+ firstReducedTrailPercentage100: prop.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? prop.alpacaAccount.firstReducedTrailPercentage100 : undefined,
2488
+ secondReducedTrailPercentage100: prop.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? prop.alpacaAccount.secondReducedTrailPercentage100 : undefined,
2489
+ minimumPriceChangePercent100: prop.alpacaAccount.minimumPriceChangePercent100 !== undefined ? prop.alpacaAccount.minimumPriceChangePercent100 : undefined,
2406
2490
  allocation: prop.alpacaAccount.allocation ?
2407
2491
  typeof prop.alpacaAccount.allocation === 'object' && Object.keys(prop.alpacaAccount.allocation).length === 1 && Object.keys(prop.alpacaAccount.allocation)[0] === 'id'
2408
2492
  ? { connect: {
package/Allocation.cjs CHANGED
@@ -31,6 +31,12 @@ const selectionSet = `
31
31
  portfolioTrailPercent
32
32
  portfolioProfitThresholdPercent
33
33
  reducedPortfolioTrailPercent
34
+ defaultTrailingStopPercentage100
35
+ firstTrailReductionThreshold100
36
+ secondTrailReductionThreshold100
37
+ firstReducedTrailPercentage100
38
+ secondReducedTrailPercentage100
39
+ minimumPriceChangePercent100
34
40
  user {
35
41
  id
36
42
  name
@@ -124,6 +130,12 @@ exports.Allocation = {
124
130
  portfolioTrailPercent: props.alpacaAccount.portfolioTrailPercent !== undefined ? props.alpacaAccount.portfolioTrailPercent : undefined,
125
131
  portfolioProfitThresholdPercent: props.alpacaAccount.portfolioProfitThresholdPercent !== undefined ? props.alpacaAccount.portfolioProfitThresholdPercent : undefined,
126
132
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? props.alpacaAccount.reducedPortfolioTrailPercent : undefined,
133
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? props.alpacaAccount.defaultTrailingStopPercentage100 : undefined,
134
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? props.alpacaAccount.firstTrailReductionThreshold100 : undefined,
135
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? props.alpacaAccount.secondTrailReductionThreshold100 : undefined,
136
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? props.alpacaAccount.firstReducedTrailPercentage100 : undefined,
137
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? props.alpacaAccount.secondReducedTrailPercentage100 : undefined,
138
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? props.alpacaAccount.minimumPriceChangePercent100 : undefined,
127
139
  user: props.alpacaAccount.user ?
128
140
  typeof props.alpacaAccount.user === 'object' && Object.keys(props.alpacaAccount.user).length === 1 && Object.keys(props.alpacaAccount.user)[0] === 'id'
129
141
  ? { connect: {
@@ -452,6 +464,24 @@ exports.Allocation = {
452
464
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? {
453
465
  set: props.alpacaAccount.reducedPortfolioTrailPercent
454
466
  } : undefined,
467
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? {
468
+ set: props.alpacaAccount.defaultTrailingStopPercentage100
469
+ } : undefined,
470
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? {
471
+ set: props.alpacaAccount.firstTrailReductionThreshold100
472
+ } : undefined,
473
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? {
474
+ set: props.alpacaAccount.secondTrailReductionThreshold100
475
+ } : undefined,
476
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? {
477
+ set: props.alpacaAccount.firstReducedTrailPercentage100
478
+ } : undefined,
479
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? {
480
+ set: props.alpacaAccount.secondReducedTrailPercentage100
481
+ } : undefined,
482
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? {
483
+ set: props.alpacaAccount.minimumPriceChangePercent100
484
+ } : undefined,
455
485
  user: props.alpacaAccount.user ?
456
486
  typeof props.alpacaAccount.user === 'object' && Object.keys(props.alpacaAccount.user).length === 1 && (Object.keys(props.alpacaAccount.user)[0] === 'id' || Object.keys(props.alpacaAccount.user)[0] === 'symbol')
457
487
  ? {
@@ -867,6 +897,12 @@ exports.Allocation = {
867
897
  portfolioTrailPercent: props.alpacaAccount.portfolioTrailPercent !== undefined ? props.alpacaAccount.portfolioTrailPercent : undefined,
868
898
  portfolioProfitThresholdPercent: props.alpacaAccount.portfolioProfitThresholdPercent !== undefined ? props.alpacaAccount.portfolioProfitThresholdPercent : undefined,
869
899
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? props.alpacaAccount.reducedPortfolioTrailPercent : undefined,
900
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? props.alpacaAccount.defaultTrailingStopPercentage100 : undefined,
901
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? props.alpacaAccount.firstTrailReductionThreshold100 : undefined,
902
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? props.alpacaAccount.secondTrailReductionThreshold100 : undefined,
903
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? props.alpacaAccount.firstReducedTrailPercentage100 : undefined,
904
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? props.alpacaAccount.secondReducedTrailPercentage100 : undefined,
905
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? props.alpacaAccount.minimumPriceChangePercent100 : undefined,
870
906
  user: props.alpacaAccount.user ?
871
907
  typeof props.alpacaAccount.user === 'object' && Object.keys(props.alpacaAccount.user).length === 1 && Object.keys(props.alpacaAccount.user)[0] === 'id'
872
908
  ? { connect: {
@@ -1100,6 +1136,12 @@ exports.Allocation = {
1100
1136
  portfolioTrailPercent: props.alpacaAccount.portfolioTrailPercent !== undefined ? props.alpacaAccount.portfolioTrailPercent : undefined,
1101
1137
  portfolioProfitThresholdPercent: props.alpacaAccount.portfolioProfitThresholdPercent !== undefined ? props.alpacaAccount.portfolioProfitThresholdPercent : undefined,
1102
1138
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? props.alpacaAccount.reducedPortfolioTrailPercent : undefined,
1139
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? props.alpacaAccount.defaultTrailingStopPercentage100 : undefined,
1140
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? props.alpacaAccount.firstTrailReductionThreshold100 : undefined,
1141
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? props.alpacaAccount.secondTrailReductionThreshold100 : undefined,
1142
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? props.alpacaAccount.firstReducedTrailPercentage100 : undefined,
1143
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? props.alpacaAccount.secondReducedTrailPercentage100 : undefined,
1144
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? props.alpacaAccount.minimumPriceChangePercent100 : undefined,
1103
1145
  user: props.alpacaAccount.user ?
1104
1146
  typeof props.alpacaAccount.user === 'object' && Object.keys(props.alpacaAccount.user).length === 1 && Object.keys(props.alpacaAccount.user)[0] === 'id'
1105
1147
  ? { connect: {
@@ -1331,6 +1373,24 @@ exports.Allocation = {
1331
1373
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? {
1332
1374
  set: props.alpacaAccount.reducedPortfolioTrailPercent
1333
1375
  } : undefined,
1376
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? {
1377
+ set: props.alpacaAccount.defaultTrailingStopPercentage100
1378
+ } : undefined,
1379
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? {
1380
+ set: props.alpacaAccount.firstTrailReductionThreshold100
1381
+ } : undefined,
1382
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? {
1383
+ set: props.alpacaAccount.secondTrailReductionThreshold100
1384
+ } : undefined,
1385
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? {
1386
+ set: props.alpacaAccount.firstReducedTrailPercentage100
1387
+ } : undefined,
1388
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? {
1389
+ set: props.alpacaAccount.secondReducedTrailPercentage100
1390
+ } : undefined,
1391
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? {
1392
+ set: props.alpacaAccount.minimumPriceChangePercent100
1393
+ } : undefined,
1334
1394
  user: props.alpacaAccount.user ?
1335
1395
  typeof props.alpacaAccount.user === 'object' && Object.keys(props.alpacaAccount.user).length === 1 && (Object.keys(props.alpacaAccount.user)[0] === 'id' || Object.keys(props.alpacaAccount.user)[0] === 'symbol')
1336
1396
  ? {
@@ -1746,6 +1806,12 @@ exports.Allocation = {
1746
1806
  portfolioTrailPercent: props.alpacaAccount.portfolioTrailPercent !== undefined ? props.alpacaAccount.portfolioTrailPercent : undefined,
1747
1807
  portfolioProfitThresholdPercent: props.alpacaAccount.portfolioProfitThresholdPercent !== undefined ? props.alpacaAccount.portfolioProfitThresholdPercent : undefined,
1748
1808
  reducedPortfolioTrailPercent: props.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? props.alpacaAccount.reducedPortfolioTrailPercent : undefined,
1809
+ defaultTrailingStopPercentage100: props.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? props.alpacaAccount.defaultTrailingStopPercentage100 : undefined,
1810
+ firstTrailReductionThreshold100: props.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? props.alpacaAccount.firstTrailReductionThreshold100 : undefined,
1811
+ secondTrailReductionThreshold100: props.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? props.alpacaAccount.secondTrailReductionThreshold100 : undefined,
1812
+ firstReducedTrailPercentage100: props.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? props.alpacaAccount.firstReducedTrailPercentage100 : undefined,
1813
+ secondReducedTrailPercentage100: props.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? props.alpacaAccount.secondReducedTrailPercentage100 : undefined,
1814
+ minimumPriceChangePercent100: props.alpacaAccount.minimumPriceChangePercent100 !== undefined ? props.alpacaAccount.minimumPriceChangePercent100 : undefined,
1749
1815
  user: props.alpacaAccount.user ?
1750
1816
  typeof props.alpacaAccount.user === 'object' && Object.keys(props.alpacaAccount.user).length === 1 && Object.keys(props.alpacaAccount.user)[0] === 'id'
1751
1817
  ? { connect: {
@@ -2029,6 +2095,24 @@ exports.Allocation = {
2029
2095
  reducedPortfolioTrailPercent: prop.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? {
2030
2096
  set: prop.alpacaAccount.reducedPortfolioTrailPercent
2031
2097
  } : undefined,
2098
+ defaultTrailingStopPercentage100: prop.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? {
2099
+ set: prop.alpacaAccount.defaultTrailingStopPercentage100
2100
+ } : undefined,
2101
+ firstTrailReductionThreshold100: prop.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? {
2102
+ set: prop.alpacaAccount.firstTrailReductionThreshold100
2103
+ } : undefined,
2104
+ secondTrailReductionThreshold100: prop.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? {
2105
+ set: prop.alpacaAccount.secondTrailReductionThreshold100
2106
+ } : undefined,
2107
+ firstReducedTrailPercentage100: prop.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? {
2108
+ set: prop.alpacaAccount.firstReducedTrailPercentage100
2109
+ } : undefined,
2110
+ secondReducedTrailPercentage100: prop.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? {
2111
+ set: prop.alpacaAccount.secondReducedTrailPercentage100
2112
+ } : undefined,
2113
+ minimumPriceChangePercent100: prop.alpacaAccount.minimumPriceChangePercent100 !== undefined ? {
2114
+ set: prop.alpacaAccount.minimumPriceChangePercent100
2115
+ } : undefined,
2032
2116
  user: prop.alpacaAccount.user ?
2033
2117
  typeof prop.alpacaAccount.user === 'object' && Object.keys(prop.alpacaAccount.user).length === 1 && (Object.keys(prop.alpacaAccount.user)[0] === 'id' || Object.keys(prop.alpacaAccount.user)[0] === 'symbol')
2034
2118
  ? {
@@ -2444,6 +2528,12 @@ exports.Allocation = {
2444
2528
  portfolioTrailPercent: prop.alpacaAccount.portfolioTrailPercent !== undefined ? prop.alpacaAccount.portfolioTrailPercent : undefined,
2445
2529
  portfolioProfitThresholdPercent: prop.alpacaAccount.portfolioProfitThresholdPercent !== undefined ? prop.alpacaAccount.portfolioProfitThresholdPercent : undefined,
2446
2530
  reducedPortfolioTrailPercent: prop.alpacaAccount.reducedPortfolioTrailPercent !== undefined ? prop.alpacaAccount.reducedPortfolioTrailPercent : undefined,
2531
+ defaultTrailingStopPercentage100: prop.alpacaAccount.defaultTrailingStopPercentage100 !== undefined ? prop.alpacaAccount.defaultTrailingStopPercentage100 : undefined,
2532
+ firstTrailReductionThreshold100: prop.alpacaAccount.firstTrailReductionThreshold100 !== undefined ? prop.alpacaAccount.firstTrailReductionThreshold100 : undefined,
2533
+ secondTrailReductionThreshold100: prop.alpacaAccount.secondTrailReductionThreshold100 !== undefined ? prop.alpacaAccount.secondTrailReductionThreshold100 : undefined,
2534
+ firstReducedTrailPercentage100: prop.alpacaAccount.firstReducedTrailPercentage100 !== undefined ? prop.alpacaAccount.firstReducedTrailPercentage100 : undefined,
2535
+ secondReducedTrailPercentage100: prop.alpacaAccount.secondReducedTrailPercentage100 !== undefined ? prop.alpacaAccount.secondReducedTrailPercentage100 : undefined,
2536
+ minimumPriceChangePercent100: prop.alpacaAccount.minimumPriceChangePercent100 !== undefined ? prop.alpacaAccount.minimumPriceChangePercent100 : undefined,
2447
2537
  user: prop.alpacaAccount.user ?
2448
2538
  typeof prop.alpacaAccount.user === 'object' && Object.keys(prop.alpacaAccount.user).length === 1 && Object.keys(prop.alpacaAccount.user)[0] === 'id'
2449
2539
  ? { connect: {