@adaptic/backend-legacy 0.0.913 → 0.0.915

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 (205) hide show
  1. package/ABTest.cjs +781 -1
  2. package/Account.cjs +153 -0
  3. package/AccountDecisionRecord.cjs +16 -1
  4. package/AccountLinkingRequest.cjs +154 -1
  5. package/Action.cjs +45 -0
  6. package/Alert.cjs +177 -0
  7. package/Allocation.cjs +195 -0
  8. package/AlpacaAccount.cjs +142 -1
  9. package/AnalyticsConfiguration.cjs +1 -1
  10. package/AnalyticsSnapshot.cjs +1 -1
  11. package/Asset.cjs +25 -0
  12. package/AuditLog.cjs +1 -1
  13. package/Authenticator.cjs +162 -0
  14. package/Configuration.cjs +15 -0
  15. package/ConflictEvent.cjs +1 -1
  16. package/ConnectionHealthSnapshot.cjs +16 -1
  17. package/Customer.cjs +162 -0
  18. package/DeadLetterMessage.cjs +16 -1
  19. package/DecisionMemorySummary.cjs +1 -1
  20. package/EconomicEvent.cjs +1 -1
  21. package/EquityBar.cjs +4 -1
  22. package/EventSnapshot.cjs +1 -1
  23. package/FeatureImportanceAnalysis.cjs +447 -1
  24. package/InstitutionalFlowSignal.cjs +32 -1
  25. package/InstitutionalHolding.cjs +22 -1
  26. package/InstitutionalSentimentAlerts.cjs +16 -1
  27. package/InstitutionalSentimentErrors.cjs +1 -1
  28. package/InstitutionalSentimentHistory.cjs +1 -1
  29. package/InstitutionalSentimentMetrics.cjs +1 -1
  30. package/InviteToken.cjs +115 -1
  31. package/LinkedProvider.cjs +163 -1
  32. package/LlmConfiguration.cjs +163 -1
  33. package/MLTrainingData.cjs +1 -1
  34. package/MarketSentiment.cjs +1 -1
  35. package/ModelArtifact.cjs +182 -1
  36. package/ModelVersion.cjs +934 -1
  37. package/ModelVersionArtifact.cjs +441 -1
  38. package/NewsArticle.cjs +47 -1
  39. package/NewsArticleAssetSentiment.cjs +32 -1
  40. package/OptionsContract.cjs +40 -1
  41. package/OptionsGreeksHistory.cjs +58 -1
  42. package/OptionsPosition.cjs +82 -1
  43. package/OptionsTradeExecution.cjs +40 -1
  44. package/PolicyOverlay.cjs +106 -1
  45. package/PortfolioGreeksHistory.cjs +1 -1
  46. package/ScheduledOptionOrder.cjs +16 -1
  47. package/Session.cjs +162 -0
  48. package/SignalGeneratorMetrics.cjs +1 -1
  49. package/SignalLineage.cjs +4 -1
  50. package/SignalOutcome.cjs +1 -1
  51. package/SignalPriorityQueue.cjs +16 -1
  52. package/SyncEvent.cjs +16 -1
  53. package/SystemAlert.cjs +31 -1
  54. package/Trade.cjs +45 -0
  55. package/TradeAuditEvent.cjs +1 -1
  56. package/TradeExecutionHistory.cjs +1 -1
  57. package/TradingPolicy.cjs +178 -1
  58. package/User.cjs +141 -0
  59. package/VerificationToken.cjs +1 -1
  60. package/WaitlistEntry.cjs +154 -1
  61. package/esm/ABTest.d.ts.map +1 -1
  62. package/esm/ABTest.js.map +1 -1
  63. package/esm/ABTest.mjs +781 -1
  64. package/esm/Account.d.ts.map +1 -1
  65. package/esm/Account.js.map +1 -1
  66. package/esm/Account.mjs +153 -0
  67. package/esm/AccountDecisionRecord.d.ts.map +1 -1
  68. package/esm/AccountDecisionRecord.js.map +1 -1
  69. package/esm/AccountDecisionRecord.mjs +16 -1
  70. package/esm/AccountLinkingRequest.d.ts.map +1 -1
  71. package/esm/AccountLinkingRequest.js.map +1 -1
  72. package/esm/AccountLinkingRequest.mjs +154 -1
  73. package/esm/Action.d.ts.map +1 -1
  74. package/esm/Action.js.map +1 -1
  75. package/esm/Action.mjs +45 -0
  76. package/esm/Alert.d.ts.map +1 -1
  77. package/esm/Alert.js.map +1 -1
  78. package/esm/Alert.mjs +177 -0
  79. package/esm/Allocation.d.ts.map +1 -1
  80. package/esm/Allocation.js.map +1 -1
  81. package/esm/Allocation.mjs +195 -0
  82. package/esm/AlpacaAccount.d.ts.map +1 -1
  83. package/esm/AlpacaAccount.js.map +1 -1
  84. package/esm/AlpacaAccount.mjs +142 -1
  85. package/esm/AnalyticsConfiguration.mjs +1 -1
  86. package/esm/AnalyticsSnapshot.mjs +1 -1
  87. package/esm/Asset.d.ts.map +1 -1
  88. package/esm/Asset.js.map +1 -1
  89. package/esm/Asset.mjs +25 -0
  90. package/esm/AuditLog.mjs +1 -1
  91. package/esm/Authenticator.d.ts.map +1 -1
  92. package/esm/Authenticator.js.map +1 -1
  93. package/esm/Authenticator.mjs +162 -0
  94. package/esm/Configuration.d.ts.map +1 -1
  95. package/esm/Configuration.js.map +1 -1
  96. package/esm/Configuration.mjs +15 -0
  97. package/esm/ConflictEvent.mjs +1 -1
  98. package/esm/ConnectionHealthSnapshot.d.ts.map +1 -1
  99. package/esm/ConnectionHealthSnapshot.js.map +1 -1
  100. package/esm/ConnectionHealthSnapshot.mjs +16 -1
  101. package/esm/Customer.d.ts.map +1 -1
  102. package/esm/Customer.js.map +1 -1
  103. package/esm/Customer.mjs +162 -0
  104. package/esm/DeadLetterMessage.d.ts.map +1 -1
  105. package/esm/DeadLetterMessage.js.map +1 -1
  106. package/esm/DeadLetterMessage.mjs +16 -1
  107. package/esm/DecisionMemorySummary.mjs +1 -1
  108. package/esm/EconomicEvent.mjs +1 -1
  109. package/esm/EquityBar.d.ts.map +1 -1
  110. package/esm/EquityBar.js.map +1 -1
  111. package/esm/EquityBar.mjs +4 -1
  112. package/esm/EventSnapshot.mjs +1 -1
  113. package/esm/FeatureImportanceAnalysis.d.ts.map +1 -1
  114. package/esm/FeatureImportanceAnalysis.js.map +1 -1
  115. package/esm/FeatureImportanceAnalysis.mjs +447 -1
  116. package/esm/InstitutionalFlowSignal.d.ts.map +1 -1
  117. package/esm/InstitutionalFlowSignal.js.map +1 -1
  118. package/esm/InstitutionalFlowSignal.mjs +32 -1
  119. package/esm/InstitutionalHolding.d.ts.map +1 -1
  120. package/esm/InstitutionalHolding.js.map +1 -1
  121. package/esm/InstitutionalHolding.mjs +22 -1
  122. package/esm/InstitutionalSentimentAlerts.d.ts.map +1 -1
  123. package/esm/InstitutionalSentimentAlerts.js.map +1 -1
  124. package/esm/InstitutionalSentimentAlerts.mjs +16 -1
  125. package/esm/InstitutionalSentimentErrors.mjs +1 -1
  126. package/esm/InstitutionalSentimentHistory.mjs +1 -1
  127. package/esm/InstitutionalSentimentMetrics.mjs +1 -1
  128. package/esm/InviteToken.d.ts.map +1 -1
  129. package/esm/InviteToken.js.map +1 -1
  130. package/esm/InviteToken.mjs +115 -1
  131. package/esm/LinkedProvider.d.ts.map +1 -1
  132. package/esm/LinkedProvider.js.map +1 -1
  133. package/esm/LinkedProvider.mjs +163 -1
  134. package/esm/LlmConfiguration.d.ts.map +1 -1
  135. package/esm/LlmConfiguration.js.map +1 -1
  136. package/esm/LlmConfiguration.mjs +163 -1
  137. package/esm/MLTrainingData.mjs +1 -1
  138. package/esm/MarketSentiment.mjs +1 -1
  139. package/esm/ModelArtifact.d.ts.map +1 -1
  140. package/esm/ModelArtifact.js.map +1 -1
  141. package/esm/ModelArtifact.mjs +182 -1
  142. package/esm/ModelVersion.d.ts.map +1 -1
  143. package/esm/ModelVersion.js.map +1 -1
  144. package/esm/ModelVersion.mjs +934 -1
  145. package/esm/ModelVersionArtifact.d.ts.map +1 -1
  146. package/esm/ModelVersionArtifact.js.map +1 -1
  147. package/esm/ModelVersionArtifact.mjs +441 -1
  148. package/esm/NewsArticle.d.ts.map +1 -1
  149. package/esm/NewsArticle.js.map +1 -1
  150. package/esm/NewsArticle.mjs +47 -1
  151. package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
  152. package/esm/NewsArticleAssetSentiment.js.map +1 -1
  153. package/esm/NewsArticleAssetSentiment.mjs +32 -1
  154. package/esm/OptionsContract.d.ts.map +1 -1
  155. package/esm/OptionsContract.js.map +1 -1
  156. package/esm/OptionsContract.mjs +40 -1
  157. package/esm/OptionsGreeksHistory.d.ts.map +1 -1
  158. package/esm/OptionsGreeksHistory.js.map +1 -1
  159. package/esm/OptionsGreeksHistory.mjs +58 -1
  160. package/esm/OptionsPosition.d.ts.map +1 -1
  161. package/esm/OptionsPosition.js.map +1 -1
  162. package/esm/OptionsPosition.mjs +82 -1
  163. package/esm/OptionsTradeExecution.d.ts.map +1 -1
  164. package/esm/OptionsTradeExecution.js.map +1 -1
  165. package/esm/OptionsTradeExecution.mjs +40 -1
  166. package/esm/PolicyOverlay.d.ts.map +1 -1
  167. package/esm/PolicyOverlay.js.map +1 -1
  168. package/esm/PolicyOverlay.mjs +106 -1
  169. package/esm/PortfolioGreeksHistory.mjs +1 -1
  170. package/esm/ScheduledOptionOrder.d.ts.map +1 -1
  171. package/esm/ScheduledOptionOrder.js.map +1 -1
  172. package/esm/ScheduledOptionOrder.mjs +16 -1
  173. package/esm/Session.d.ts.map +1 -1
  174. package/esm/Session.js.map +1 -1
  175. package/esm/Session.mjs +162 -0
  176. package/esm/SignalGeneratorMetrics.mjs +1 -1
  177. package/esm/SignalLineage.d.ts.map +1 -1
  178. package/esm/SignalLineage.js.map +1 -1
  179. package/esm/SignalLineage.mjs +4 -1
  180. package/esm/SignalOutcome.mjs +1 -1
  181. package/esm/SignalPriorityQueue.d.ts.map +1 -1
  182. package/esm/SignalPriorityQueue.js.map +1 -1
  183. package/esm/SignalPriorityQueue.mjs +16 -1
  184. package/esm/SyncEvent.d.ts.map +1 -1
  185. package/esm/SyncEvent.js.map +1 -1
  186. package/esm/SyncEvent.mjs +16 -1
  187. package/esm/SystemAlert.d.ts.map +1 -1
  188. package/esm/SystemAlert.js.map +1 -1
  189. package/esm/SystemAlert.mjs +31 -1
  190. package/esm/Trade.d.ts.map +1 -1
  191. package/esm/Trade.js.map +1 -1
  192. package/esm/Trade.mjs +45 -0
  193. package/esm/TradeAuditEvent.mjs +1 -1
  194. package/esm/TradeExecutionHistory.mjs +1 -1
  195. package/esm/TradingPolicy.d.ts.map +1 -1
  196. package/esm/TradingPolicy.js.map +1 -1
  197. package/esm/TradingPolicy.mjs +178 -1
  198. package/esm/User.d.ts.map +1 -1
  199. package/esm/User.js.map +1 -1
  200. package/esm/User.mjs +141 -0
  201. package/esm/VerificationToken.mjs +1 -1
  202. package/esm/WaitlistEntry.d.ts.map +1 -1
  203. package/esm/WaitlistEntry.js.map +1 -1
  204. package/esm/WaitlistEntry.mjs +154 -1
  205. package/package.json +1 -1
@@ -399,6 +399,9 @@ export const LlmConfiguration = {
399
399
  userId: item.userId !== undefined ? {
400
400
  equals: item.userId
401
401
  } : undefined,
402
+ type: item.type !== undefined ? {
403
+ equals: item.type
404
+ } : undefined,
402
405
  },
403
406
  create: {
404
407
  type: item.type !== undefined ? item.type : undefined,
@@ -462,6 +465,9 @@ export const LlmConfiguration = {
462
465
  : { connectOrCreate: props.user.alpacaAccounts.map((item) => ({
463
466
  where: {
464
467
  id: item.id !== undefined ? item.id : undefined,
468
+ type: item.type !== undefined ? {
469
+ equals: item.type
470
+ } : undefined,
465
471
  userId: item.userId !== undefined ? {
466
472
  equals: item.userId
467
473
  } : undefined,
@@ -606,6 +612,12 @@ export const LlmConfiguration = {
606
612
  title: item.title !== undefined ? {
607
613
  equals: item.title
608
614
  } : undefined,
615
+ type: item.type !== undefined ? {
616
+ equals: item.type
617
+ } : undefined,
618
+ status: item.status !== undefined ? {
619
+ equals: item.status
620
+ } : undefined,
609
621
  },
610
622
  create: {
611
623
  title: item.title !== undefined ? item.title : undefined,
@@ -674,6 +686,9 @@ export const LlmConfiguration = {
674
686
  providerAccountId: item.providerAccountId !== undefined ? {
675
687
  equals: item.providerAccountId
676
688
  } : undefined,
689
+ status: item.status !== undefined ? {
690
+ equals: item.status
691
+ } : undefined,
677
692
  },
678
693
  create: {
679
694
  email: item.email !== undefined ? item.email : undefined,
@@ -700,6 +715,9 @@ export const LlmConfiguration = {
700
715
  where: {
701
716
  id: item.id !== undefined ? item.id : undefined,
702
717
  email: item.email !== undefined ? item.email : undefined,
718
+ status: item.status !== undefined ? {
719
+ equals: item.status
720
+ } : undefined,
703
721
  },
704
722
  create: {
705
723
  email: item.email !== undefined ? item.email : undefined,
@@ -1148,6 +1166,9 @@ export const LlmConfiguration = {
1148
1166
  userId: item.userId !== undefined ? {
1149
1167
  equals: item.userId
1150
1168
  } : undefined,
1169
+ type: item.type !== undefined ? {
1170
+ equals: item.type
1171
+ } : undefined,
1151
1172
  },
1152
1173
  update: {
1153
1174
  id: item.id !== undefined ? {
@@ -1268,6 +1289,9 @@ export const LlmConfiguration = {
1268
1289
  } : { upsert: props.user.alpacaAccounts.map((item) => ({
1269
1290
  where: {
1270
1291
  id: item.id !== undefined ? item.id : undefined,
1292
+ type: item.type !== undefined ? {
1293
+ equals: item.type
1294
+ } : undefined,
1271
1295
  userId: item.userId !== undefined ? {
1272
1296
  equals: item.userId
1273
1297
  } : undefined,
@@ -1655,6 +1679,12 @@ export const LlmConfiguration = {
1655
1679
  title: item.title !== undefined ? {
1656
1680
  equals: item.title
1657
1681
  } : undefined,
1682
+ type: item.type !== undefined ? {
1683
+ equals: item.type
1684
+ } : undefined,
1685
+ status: item.status !== undefined ? {
1686
+ equals: item.status
1687
+ } : undefined,
1658
1688
  },
1659
1689
  update: {
1660
1690
  id: item.id !== undefined ? {
@@ -1854,6 +1884,12 @@ export const LlmConfiguration = {
1854
1884
  title: item.title !== undefined ? {
1855
1885
  equals: item.title
1856
1886
  } : undefined,
1887
+ type: item.type !== undefined ? {
1888
+ equals: item.type
1889
+ } : undefined,
1890
+ status: item.status !== undefined ? {
1891
+ equals: item.status
1892
+ } : undefined,
1857
1893
  },
1858
1894
  create: {
1859
1895
  title: item.title !== undefined ? item.title : undefined,
@@ -1946,6 +1982,9 @@ export const LlmConfiguration = {
1946
1982
  providerAccountId: item.providerAccountId !== undefined ? {
1947
1983
  equals: item.providerAccountId
1948
1984
  } : undefined,
1985
+ status: item.status !== undefined ? {
1986
+ equals: item.status
1987
+ } : undefined,
1949
1988
  },
1950
1989
  update: {
1951
1990
  id: item.id !== undefined ? {
@@ -2009,6 +2048,9 @@ export const LlmConfiguration = {
2009
2048
  where: {
2010
2049
  id: item.id !== undefined ? item.id : undefined,
2011
2050
  email: item.email !== undefined ? item.email : undefined,
2051
+ status: item.status !== undefined ? {
2052
+ equals: item.status
2053
+ } : undefined,
2012
2054
  reviewedById: item.reviewedById !== undefined ? {
2013
2055
  equals: item.reviewedById
2014
2056
  } : undefined,
@@ -2187,6 +2229,9 @@ export const LlmConfiguration = {
2187
2229
  userId: item.userId !== undefined ? {
2188
2230
  equals: item.userId
2189
2231
  } : undefined,
2232
+ type: item.type !== undefined ? {
2233
+ equals: item.type
2234
+ } : undefined,
2190
2235
  },
2191
2236
  create: {
2192
2237
  type: item.type !== undefined ? item.type : undefined,
@@ -2250,6 +2295,9 @@ export const LlmConfiguration = {
2250
2295
  : { connectOrCreate: props.user.alpacaAccounts.map((item) => ({
2251
2296
  where: {
2252
2297
  id: item.id !== undefined ? item.id : undefined,
2298
+ type: item.type !== undefined ? {
2299
+ equals: item.type
2300
+ } : undefined,
2253
2301
  userId: item.userId !== undefined ? {
2254
2302
  equals: item.userId
2255
2303
  } : undefined,
@@ -2394,6 +2442,12 @@ export const LlmConfiguration = {
2394
2442
  title: item.title !== undefined ? {
2395
2443
  equals: item.title
2396
2444
  } : undefined,
2445
+ type: item.type !== undefined ? {
2446
+ equals: item.type
2447
+ } : undefined,
2448
+ status: item.status !== undefined ? {
2449
+ equals: item.status
2450
+ } : undefined,
2397
2451
  },
2398
2452
  create: {
2399
2453
  title: item.title !== undefined ? item.title : undefined,
@@ -2462,6 +2516,9 @@ export const LlmConfiguration = {
2462
2516
  providerAccountId: item.providerAccountId !== undefined ? {
2463
2517
  equals: item.providerAccountId
2464
2518
  } : undefined,
2519
+ status: item.status !== undefined ? {
2520
+ equals: item.status
2521
+ } : undefined,
2465
2522
  },
2466
2523
  create: {
2467
2524
  email: item.email !== undefined ? item.email : undefined,
@@ -2488,6 +2545,9 @@ export const LlmConfiguration = {
2488
2545
  where: {
2489
2546
  id: item.id !== undefined ? item.id : undefined,
2490
2547
  email: item.email !== undefined ? item.email : undefined,
2548
+ status: item.status !== undefined ? {
2549
+ equals: item.status
2550
+ } : undefined,
2491
2551
  },
2492
2552
  create: {
2493
2553
  email: item.email !== undefined ? item.email : undefined,
@@ -2723,6 +2783,9 @@ export const LlmConfiguration = {
2723
2783
  userId: item.userId !== undefined ? {
2724
2784
  equals: item.userId
2725
2785
  } : undefined,
2786
+ type: item.type !== undefined ? {
2787
+ equals: item.type
2788
+ } : undefined,
2726
2789
  },
2727
2790
  create: {
2728
2791
  type: item.type !== undefined ? item.type : undefined,
@@ -2786,6 +2849,9 @@ export const LlmConfiguration = {
2786
2849
  : { connectOrCreate: props.user.alpacaAccounts.map((item) => ({
2787
2850
  where: {
2788
2851
  id: item.id !== undefined ? item.id : undefined,
2852
+ type: item.type !== undefined ? {
2853
+ equals: item.type
2854
+ } : undefined,
2789
2855
  userId: item.userId !== undefined ? {
2790
2856
  equals: item.userId
2791
2857
  } : undefined,
@@ -2930,6 +2996,12 @@ export const LlmConfiguration = {
2930
2996
  title: item.title !== undefined ? {
2931
2997
  equals: item.title
2932
2998
  } : undefined,
2999
+ type: item.type !== undefined ? {
3000
+ equals: item.type
3001
+ } : undefined,
3002
+ status: item.status !== undefined ? {
3003
+ equals: item.status
3004
+ } : undefined,
2933
3005
  },
2934
3006
  create: {
2935
3007
  title: item.title !== undefined ? item.title : undefined,
@@ -2998,6 +3070,9 @@ export const LlmConfiguration = {
2998
3070
  providerAccountId: item.providerAccountId !== undefined ? {
2999
3071
  equals: item.providerAccountId
3000
3072
  } : undefined,
3073
+ status: item.status !== undefined ? {
3074
+ equals: item.status
3075
+ } : undefined,
3001
3076
  },
3002
3077
  create: {
3003
3078
  email: item.email !== undefined ? item.email : undefined,
@@ -3024,6 +3099,9 @@ export const LlmConfiguration = {
3024
3099
  where: {
3025
3100
  id: item.id !== undefined ? item.id : undefined,
3026
3101
  email: item.email !== undefined ? item.email : undefined,
3102
+ status: item.status !== undefined ? {
3103
+ equals: item.status
3104
+ } : undefined,
3027
3105
  },
3028
3106
  create: {
3029
3107
  email: item.email !== undefined ? item.email : undefined,
@@ -3242,6 +3320,9 @@ export const LlmConfiguration = {
3242
3320
  userId: item.userId !== undefined ? {
3243
3321
  equals: item.userId
3244
3322
  } : undefined,
3323
+ type: item.type !== undefined ? {
3324
+ equals: item.type
3325
+ } : undefined,
3245
3326
  },
3246
3327
  update: {
3247
3328
  id: item.id !== undefined ? {
@@ -3362,6 +3443,9 @@ export const LlmConfiguration = {
3362
3443
  } : { upsert: props.user.alpacaAccounts.map((item) => ({
3363
3444
  where: {
3364
3445
  id: item.id !== undefined ? item.id : undefined,
3446
+ type: item.type !== undefined ? {
3447
+ equals: item.type
3448
+ } : undefined,
3365
3449
  userId: item.userId !== undefined ? {
3366
3450
  equals: item.userId
3367
3451
  } : undefined,
@@ -3749,6 +3833,12 @@ export const LlmConfiguration = {
3749
3833
  title: item.title !== undefined ? {
3750
3834
  equals: item.title
3751
3835
  } : undefined,
3836
+ type: item.type !== undefined ? {
3837
+ equals: item.type
3838
+ } : undefined,
3839
+ status: item.status !== undefined ? {
3840
+ equals: item.status
3841
+ } : undefined,
3752
3842
  },
3753
3843
  update: {
3754
3844
  id: item.id !== undefined ? {
@@ -3948,6 +4038,12 @@ export const LlmConfiguration = {
3948
4038
  title: item.title !== undefined ? {
3949
4039
  equals: item.title
3950
4040
  } : undefined,
4041
+ type: item.type !== undefined ? {
4042
+ equals: item.type
4043
+ } : undefined,
4044
+ status: item.status !== undefined ? {
4045
+ equals: item.status
4046
+ } : undefined,
3951
4047
  },
3952
4048
  create: {
3953
4049
  title: item.title !== undefined ? item.title : undefined,
@@ -4040,6 +4136,9 @@ export const LlmConfiguration = {
4040
4136
  providerAccountId: item.providerAccountId !== undefined ? {
4041
4137
  equals: item.providerAccountId
4042
4138
  } : undefined,
4139
+ status: item.status !== undefined ? {
4140
+ equals: item.status
4141
+ } : undefined,
4043
4142
  },
4044
4143
  update: {
4045
4144
  id: item.id !== undefined ? {
@@ -4103,6 +4202,9 @@ export const LlmConfiguration = {
4103
4202
  where: {
4104
4203
  id: item.id !== undefined ? item.id : undefined,
4105
4204
  email: item.email !== undefined ? item.email : undefined,
4205
+ status: item.status !== undefined ? {
4206
+ equals: item.status
4207
+ } : undefined,
4106
4208
  reviewedById: item.reviewedById !== undefined ? {
4107
4209
  equals: item.reviewedById
4108
4210
  } : undefined,
@@ -4281,6 +4383,9 @@ export const LlmConfiguration = {
4281
4383
  userId: item.userId !== undefined ? {
4282
4384
  equals: item.userId
4283
4385
  } : undefined,
4386
+ type: item.type !== undefined ? {
4387
+ equals: item.type
4388
+ } : undefined,
4284
4389
  },
4285
4390
  create: {
4286
4391
  type: item.type !== undefined ? item.type : undefined,
@@ -4344,6 +4449,9 @@ export const LlmConfiguration = {
4344
4449
  : { connectOrCreate: props.user.alpacaAccounts.map((item) => ({
4345
4450
  where: {
4346
4451
  id: item.id !== undefined ? item.id : undefined,
4452
+ type: item.type !== undefined ? {
4453
+ equals: item.type
4454
+ } : undefined,
4347
4455
  userId: item.userId !== undefined ? {
4348
4456
  equals: item.userId
4349
4457
  } : undefined,
@@ -4488,6 +4596,12 @@ export const LlmConfiguration = {
4488
4596
  title: item.title !== undefined ? {
4489
4597
  equals: item.title
4490
4598
  } : undefined,
4599
+ type: item.type !== undefined ? {
4600
+ equals: item.type
4601
+ } : undefined,
4602
+ status: item.status !== undefined ? {
4603
+ equals: item.status
4604
+ } : undefined,
4491
4605
  },
4492
4606
  create: {
4493
4607
  title: item.title !== undefined ? item.title : undefined,
@@ -4556,6 +4670,9 @@ export const LlmConfiguration = {
4556
4670
  providerAccountId: item.providerAccountId !== undefined ? {
4557
4671
  equals: item.providerAccountId
4558
4672
  } : undefined,
4673
+ status: item.status !== undefined ? {
4674
+ equals: item.status
4675
+ } : undefined,
4559
4676
  },
4560
4677
  create: {
4561
4678
  email: item.email !== undefined ? item.email : undefined,
@@ -4582,6 +4699,9 @@ export const LlmConfiguration = {
4582
4699
  where: {
4583
4700
  id: item.id !== undefined ? item.id : undefined,
4584
4701
  email: item.email !== undefined ? item.email : undefined,
4702
+ status: item.status !== undefined ? {
4703
+ equals: item.status
4704
+ } : undefined,
4585
4705
  },
4586
4706
  create: {
4587
4707
  email: item.email !== undefined ? item.email : undefined,
@@ -4916,6 +5036,9 @@ export const LlmConfiguration = {
4916
5036
  userId: item.userId !== undefined ? {
4917
5037
  equals: item.userId
4918
5038
  } : undefined,
5039
+ type: item.type !== undefined ? {
5040
+ equals: item.type
5041
+ } : undefined,
4919
5042
  },
4920
5043
  update: {
4921
5044
  id: item.id !== undefined ? {
@@ -5036,6 +5159,9 @@ export const LlmConfiguration = {
5036
5159
  } : { upsert: prop.user.alpacaAccounts.map((item) => ({
5037
5160
  where: {
5038
5161
  id: item.id !== undefined ? item.id : undefined,
5162
+ type: item.type !== undefined ? {
5163
+ equals: item.type
5164
+ } : undefined,
5039
5165
  userId: item.userId !== undefined ? {
5040
5166
  equals: item.userId
5041
5167
  } : undefined,
@@ -5423,6 +5549,12 @@ export const LlmConfiguration = {
5423
5549
  title: item.title !== undefined ? {
5424
5550
  equals: item.title
5425
5551
  } : undefined,
5552
+ type: item.type !== undefined ? {
5553
+ equals: item.type
5554
+ } : undefined,
5555
+ status: item.status !== undefined ? {
5556
+ equals: item.status
5557
+ } : undefined,
5426
5558
  },
5427
5559
  update: {
5428
5560
  id: item.id !== undefined ? {
@@ -5622,6 +5754,12 @@ export const LlmConfiguration = {
5622
5754
  title: item.title !== undefined ? {
5623
5755
  equals: item.title
5624
5756
  } : undefined,
5757
+ type: item.type !== undefined ? {
5758
+ equals: item.type
5759
+ } : undefined,
5760
+ status: item.status !== undefined ? {
5761
+ equals: item.status
5762
+ } : undefined,
5625
5763
  },
5626
5764
  create: {
5627
5765
  title: item.title !== undefined ? item.title : undefined,
@@ -5714,6 +5852,9 @@ export const LlmConfiguration = {
5714
5852
  providerAccountId: item.providerAccountId !== undefined ? {
5715
5853
  equals: item.providerAccountId
5716
5854
  } : undefined,
5855
+ status: item.status !== undefined ? {
5856
+ equals: item.status
5857
+ } : undefined,
5717
5858
  },
5718
5859
  update: {
5719
5860
  id: item.id !== undefined ? {
@@ -5777,6 +5918,9 @@ export const LlmConfiguration = {
5777
5918
  where: {
5778
5919
  id: item.id !== undefined ? item.id : undefined,
5779
5920
  email: item.email !== undefined ? item.email : undefined,
5921
+ status: item.status !== undefined ? {
5922
+ equals: item.status
5923
+ } : undefined,
5780
5924
  reviewedById: item.reviewedById !== undefined ? {
5781
5925
  equals: item.reviewedById
5782
5926
  } : undefined,
@@ -5955,6 +6099,9 @@ export const LlmConfiguration = {
5955
6099
  userId: item.userId !== undefined ? {
5956
6100
  equals: item.userId
5957
6101
  } : undefined,
6102
+ type: item.type !== undefined ? {
6103
+ equals: item.type
6104
+ } : undefined,
5958
6105
  },
5959
6106
  create: {
5960
6107
  type: item.type !== undefined ? item.type : undefined,
@@ -6018,6 +6165,9 @@ export const LlmConfiguration = {
6018
6165
  : { connectOrCreate: prop.user.alpacaAccounts.map((item) => ({
6019
6166
  where: {
6020
6167
  id: item.id !== undefined ? item.id : undefined,
6168
+ type: item.type !== undefined ? {
6169
+ equals: item.type
6170
+ } : undefined,
6021
6171
  userId: item.userId !== undefined ? {
6022
6172
  equals: item.userId
6023
6173
  } : undefined,
@@ -6162,6 +6312,12 @@ export const LlmConfiguration = {
6162
6312
  title: item.title !== undefined ? {
6163
6313
  equals: item.title
6164
6314
  } : undefined,
6315
+ type: item.type !== undefined ? {
6316
+ equals: item.type
6317
+ } : undefined,
6318
+ status: item.status !== undefined ? {
6319
+ equals: item.status
6320
+ } : undefined,
6165
6321
  },
6166
6322
  create: {
6167
6323
  title: item.title !== undefined ? item.title : undefined,
@@ -6230,6 +6386,9 @@ export const LlmConfiguration = {
6230
6386
  providerAccountId: item.providerAccountId !== undefined ? {
6231
6387
  equals: item.providerAccountId
6232
6388
  } : undefined,
6389
+ status: item.status !== undefined ? {
6390
+ equals: item.status
6391
+ } : undefined,
6233
6392
  },
6234
6393
  create: {
6235
6394
  email: item.email !== undefined ? item.email : undefined,
@@ -6256,6 +6415,9 @@ export const LlmConfiguration = {
6256
6415
  where: {
6257
6416
  id: item.id !== undefined ? item.id : undefined,
6258
6417
  email: item.email !== undefined ? item.email : undefined,
6418
+ status: item.status !== undefined ? {
6419
+ equals: item.status
6420
+ } : undefined,
6259
6421
  },
6260
6422
  create: {
6261
6423
  email: item.email !== undefined ? item.email : undefined,
@@ -6678,7 +6840,7 @@ export const LlmConfiguration = {
6678
6840
  });
6679
6841
  if (response.errors && response.errors.length > 0)
6680
6842
  throw new Error(response.errors[0].message);
6681
- if (response && response.data && response.data.llmconfigurations) {
6843
+ if (response && response.data && response.data.llmConfigurations) {
6682
6844
  return response.data.llmConfigurations;
6683
6845
  }
6684
6846
  else {
@@ -1524,7 +1524,7 @@ export const MLTrainingData = {
1524
1524
  });
1525
1525
  if (response.errors && response.errors.length > 0)
1526
1526
  throw new Error(response.errors[0].message);
1527
- if (response && response.data && response.data.mltrainingdata) {
1527
+ if (response && response.data && response.data.mLTrainingData) {
1528
1528
  return response.data.mLTrainingData;
1529
1529
  }
1530
1530
  else {
@@ -909,7 +909,7 @@ export const MarketSentiment = {
909
909
  });
910
910
  if (response.errors && response.errors.length > 0)
911
911
  throw new Error(response.errors[0].message);
912
- if (response && response.data && response.data.marketsentiments) {
912
+ if (response && response.data && response.data.marketSentiments) {
913
913
  return response.data.marketSentiments;
914
914
  }
915
915
  else {
@@ -1 +1 @@
1
- {"version":3,"file":"ModelArtifact.d.ts","sourceRoot":"","sources":["../../src/ModelArtifact.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EAA4B,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AA4K7G,eAAO,MAAM,aAAa;IAExB;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,iBAAiB,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,iB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