@adaptic/backend-legacy 0.0.913 → 0.0.914

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 (161) hide show
  1. package/ABTest.cjs +651 -0
  2. package/Account.cjs +153 -0
  3. package/AccountDecisionRecord.cjs +15 -0
  4. package/AccountLinkingRequest.cjs +153 -0
  5. package/Action.cjs +45 -0
  6. package/Alert.cjs +177 -0
  7. package/Allocation.cjs +195 -0
  8. package/AlpacaAccount.cjs +141 -0
  9. package/Asset.cjs +15 -0
  10. package/Authenticator.cjs +162 -0
  11. package/Configuration.cjs +15 -0
  12. package/ConnectionHealthSnapshot.cjs +15 -0
  13. package/Customer.cjs +162 -0
  14. package/DeadLetterMessage.cjs +15 -0
  15. package/FeatureImportanceAnalysis.cjs +375 -0
  16. package/InstitutionalFlowSignal.cjs +15 -0
  17. package/InstitutionalHolding.cjs +15 -0
  18. package/InstitutionalSentimentAlerts.cjs +15 -0
  19. package/InviteToken.cjs +114 -0
  20. package/LinkedProvider.cjs +162 -0
  21. package/LlmConfiguration.cjs +162 -0
  22. package/ModelArtifact.cjs +156 -0
  23. package/ModelVersion.cjs +795 -0
  24. package/ModelVersionArtifact.cjs +375 -0
  25. package/NewsArticle.cjs +24 -0
  26. package/NewsArticleAssetSentiment.cjs +15 -0
  27. package/OptionsContract.cjs +39 -0
  28. package/OptionsGreeksHistory.cjs +57 -0
  29. package/OptionsPosition.cjs +81 -0
  30. package/OptionsTradeExecution.cjs +39 -0
  31. package/PolicyOverlay.cjs +105 -0
  32. package/ScheduledOptionOrder.cjs +15 -0
  33. package/Session.cjs +162 -0
  34. package/SignalPriorityQueue.cjs +15 -0
  35. package/SyncEvent.cjs +15 -0
  36. package/SystemAlert.cjs +30 -0
  37. package/Trade.cjs +45 -0
  38. package/TradingPolicy.cjs +177 -0
  39. package/User.cjs +141 -0
  40. package/WaitlistEntry.cjs +153 -0
  41. package/esm/ABTest.d.ts.map +1 -1
  42. package/esm/ABTest.js.map +1 -1
  43. package/esm/ABTest.mjs +651 -0
  44. package/esm/Account.d.ts.map +1 -1
  45. package/esm/Account.js.map +1 -1
  46. package/esm/Account.mjs +153 -0
  47. package/esm/AccountDecisionRecord.d.ts.map +1 -1
  48. package/esm/AccountDecisionRecord.js.map +1 -1
  49. package/esm/AccountDecisionRecord.mjs +15 -0
  50. package/esm/AccountLinkingRequest.d.ts.map +1 -1
  51. package/esm/AccountLinkingRequest.js.map +1 -1
  52. package/esm/AccountLinkingRequest.mjs +153 -0
  53. package/esm/Action.d.ts.map +1 -1
  54. package/esm/Action.js.map +1 -1
  55. package/esm/Action.mjs +45 -0
  56. package/esm/Alert.d.ts.map +1 -1
  57. package/esm/Alert.js.map +1 -1
  58. package/esm/Alert.mjs +177 -0
  59. package/esm/Allocation.d.ts.map +1 -1
  60. package/esm/Allocation.js.map +1 -1
  61. package/esm/Allocation.mjs +195 -0
  62. package/esm/AlpacaAccount.d.ts.map +1 -1
  63. package/esm/AlpacaAccount.js.map +1 -1
  64. package/esm/AlpacaAccount.mjs +141 -0
  65. package/esm/Asset.d.ts.map +1 -1
  66. package/esm/Asset.js.map +1 -1
  67. package/esm/Asset.mjs +15 -0
  68. package/esm/Authenticator.d.ts.map +1 -1
  69. package/esm/Authenticator.js.map +1 -1
  70. package/esm/Authenticator.mjs +162 -0
  71. package/esm/Configuration.d.ts.map +1 -1
  72. package/esm/Configuration.js.map +1 -1
  73. package/esm/Configuration.mjs +15 -0
  74. package/esm/ConnectionHealthSnapshot.d.ts.map +1 -1
  75. package/esm/ConnectionHealthSnapshot.js.map +1 -1
  76. package/esm/ConnectionHealthSnapshot.mjs +15 -0
  77. package/esm/Customer.d.ts.map +1 -1
  78. package/esm/Customer.js.map +1 -1
  79. package/esm/Customer.mjs +162 -0
  80. package/esm/DeadLetterMessage.d.ts.map +1 -1
  81. package/esm/DeadLetterMessage.js.map +1 -1
  82. package/esm/DeadLetterMessage.mjs +15 -0
  83. package/esm/FeatureImportanceAnalysis.d.ts.map +1 -1
  84. package/esm/FeatureImportanceAnalysis.js.map +1 -1
  85. package/esm/FeatureImportanceAnalysis.mjs +375 -0
  86. package/esm/InstitutionalFlowSignal.d.ts.map +1 -1
  87. package/esm/InstitutionalFlowSignal.js.map +1 -1
  88. package/esm/InstitutionalFlowSignal.mjs +15 -0
  89. package/esm/InstitutionalHolding.d.ts.map +1 -1
  90. package/esm/InstitutionalHolding.js.map +1 -1
  91. package/esm/InstitutionalHolding.mjs +15 -0
  92. package/esm/InstitutionalSentimentAlerts.d.ts.map +1 -1
  93. package/esm/InstitutionalSentimentAlerts.js.map +1 -1
  94. package/esm/InstitutionalSentimentAlerts.mjs +15 -0
  95. package/esm/InviteToken.d.ts.map +1 -1
  96. package/esm/InviteToken.js.map +1 -1
  97. package/esm/InviteToken.mjs +114 -0
  98. package/esm/LinkedProvider.d.ts.map +1 -1
  99. package/esm/LinkedProvider.js.map +1 -1
  100. package/esm/LinkedProvider.mjs +162 -0
  101. package/esm/LlmConfiguration.d.ts.map +1 -1
  102. package/esm/LlmConfiguration.js.map +1 -1
  103. package/esm/LlmConfiguration.mjs +162 -0
  104. package/esm/ModelArtifact.d.ts.map +1 -1
  105. package/esm/ModelArtifact.js.map +1 -1
  106. package/esm/ModelArtifact.mjs +156 -0
  107. package/esm/ModelVersion.d.ts.map +1 -1
  108. package/esm/ModelVersion.js.map +1 -1
  109. package/esm/ModelVersion.mjs +795 -0
  110. package/esm/ModelVersionArtifact.d.ts.map +1 -1
  111. package/esm/ModelVersionArtifact.js.map +1 -1
  112. package/esm/ModelVersionArtifact.mjs +375 -0
  113. package/esm/NewsArticle.d.ts.map +1 -1
  114. package/esm/NewsArticle.js.map +1 -1
  115. package/esm/NewsArticle.mjs +24 -0
  116. package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
  117. package/esm/NewsArticleAssetSentiment.js.map +1 -1
  118. package/esm/NewsArticleAssetSentiment.mjs +15 -0
  119. package/esm/OptionsContract.d.ts.map +1 -1
  120. package/esm/OptionsContract.js.map +1 -1
  121. package/esm/OptionsContract.mjs +39 -0
  122. package/esm/OptionsGreeksHistory.d.ts.map +1 -1
  123. package/esm/OptionsGreeksHistory.js.map +1 -1
  124. package/esm/OptionsGreeksHistory.mjs +57 -0
  125. package/esm/OptionsPosition.d.ts.map +1 -1
  126. package/esm/OptionsPosition.js.map +1 -1
  127. package/esm/OptionsPosition.mjs +81 -0
  128. package/esm/OptionsTradeExecution.d.ts.map +1 -1
  129. package/esm/OptionsTradeExecution.js.map +1 -1
  130. package/esm/OptionsTradeExecution.mjs +39 -0
  131. package/esm/PolicyOverlay.d.ts.map +1 -1
  132. package/esm/PolicyOverlay.js.map +1 -1
  133. package/esm/PolicyOverlay.mjs +105 -0
  134. package/esm/ScheduledOptionOrder.d.ts.map +1 -1
  135. package/esm/ScheduledOptionOrder.js.map +1 -1
  136. package/esm/ScheduledOptionOrder.mjs +15 -0
  137. package/esm/Session.d.ts.map +1 -1
  138. package/esm/Session.js.map +1 -1
  139. package/esm/Session.mjs +162 -0
  140. package/esm/SignalPriorityQueue.d.ts.map +1 -1
  141. package/esm/SignalPriorityQueue.js.map +1 -1
  142. package/esm/SignalPriorityQueue.mjs +15 -0
  143. package/esm/SyncEvent.d.ts.map +1 -1
  144. package/esm/SyncEvent.js.map +1 -1
  145. package/esm/SyncEvent.mjs +15 -0
  146. package/esm/SystemAlert.d.ts.map +1 -1
  147. package/esm/SystemAlert.js.map +1 -1
  148. package/esm/SystemAlert.mjs +30 -0
  149. package/esm/Trade.d.ts.map +1 -1
  150. package/esm/Trade.js.map +1 -1
  151. package/esm/Trade.mjs +45 -0
  152. package/esm/TradingPolicy.d.ts.map +1 -1
  153. package/esm/TradingPolicy.js.map +1 -1
  154. package/esm/TradingPolicy.mjs +177 -0
  155. package/esm/User.d.ts.map +1 -1
  156. package/esm/User.js.map +1 -1
  157. package/esm/User.mjs +141 -0
  158. package/esm/WaitlistEntry.d.ts.map +1 -1
  159. package/esm/WaitlistEntry.js.map +1 -1
  160. package/esm/WaitlistEntry.mjs +153 -0
  161. package/package.json +1 -1
@@ -298,6 +298,9 @@ export const Allocation = {
298
298
  : { connectOrCreate: {
299
299
  where: {
300
300
  id: props.alpacaAccount.id !== undefined ? props.alpacaAccount.id : undefined,
301
+ type: props.alpacaAccount.type !== undefined ? {
302
+ equals: props.alpacaAccount.type
303
+ } : undefined,
301
304
  userId: props.alpacaAccount.userId !== undefined ? {
302
305
  equals: props.alpacaAccount.userId
303
306
  } : undefined,
@@ -413,6 +416,9 @@ export const Allocation = {
413
416
  tradingPolicyId: item.tradingPolicyId !== undefined ? {
414
417
  equals: item.tradingPolicyId
415
418
  } : undefined,
419
+ status: item.status !== undefined ? {
420
+ equals: item.status
421
+ } : undefined,
416
422
  correlationId: item.correlationId !== undefined ? {
417
423
  equals: item.correlationId
418
424
  } : undefined,
@@ -512,6 +518,9 @@ export const Allocation = {
512
518
  userId: item.userId !== undefined ? {
513
519
  equals: item.userId
514
520
  } : undefined,
521
+ type: item.type !== undefined ? {
522
+ equals: item.type
523
+ } : undefined,
515
524
  },
516
525
  create: {
517
526
  type: item.type !== undefined ? item.type : undefined,
@@ -614,6 +623,9 @@ export const Allocation = {
614
623
  providerAccountId: item.providerAccountId !== undefined ? {
615
624
  equals: item.providerAccountId
616
625
  } : undefined,
626
+ status: item.status !== undefined ? {
627
+ equals: item.status
628
+ } : undefined,
617
629
  },
618
630
  create: {
619
631
  email: item.email !== undefined ? item.email : undefined,
@@ -640,6 +652,9 @@ export const Allocation = {
640
652
  where: {
641
653
  id: item.id !== undefined ? item.id : undefined,
642
654
  email: item.email !== undefined ? item.email : undefined,
655
+ status: item.status !== undefined ? {
656
+ equals: item.status
657
+ } : undefined,
643
658
  },
644
659
  create: {
645
660
  email: item.email !== undefined ? item.email : undefined,
@@ -701,6 +716,12 @@ export const Allocation = {
701
716
  title: item.title !== undefined ? {
702
717
  equals: item.title
703
718
  } : undefined,
719
+ type: item.type !== undefined ? {
720
+ equals: item.type
721
+ } : undefined,
722
+ status: item.status !== undefined ? {
723
+ equals: item.status
724
+ } : undefined,
704
725
  },
705
726
  create: {
706
727
  title: item.title !== undefined ? item.title : undefined,
@@ -991,6 +1012,9 @@ export const Allocation = {
991
1012
  id: props.alpacaAccount.id !== undefined ? {
992
1013
  equals: props.alpacaAccount.id
993
1014
  } : undefined,
1015
+ type: props.alpacaAccount.type !== undefined ? {
1016
+ equals: props.alpacaAccount.type
1017
+ } : undefined,
994
1018
  userId: props.alpacaAccount.userId !== undefined ? {
995
1019
  equals: props.alpacaAccount.userId
996
1020
  } : undefined,
@@ -1263,6 +1287,9 @@ export const Allocation = {
1263
1287
  tradingPolicyId: item.tradingPolicyId !== undefined ? {
1264
1288
  equals: item.tradingPolicyId
1265
1289
  } : undefined,
1290
+ status: item.status !== undefined ? {
1291
+ equals: item.status
1292
+ } : undefined,
1266
1293
  correlationId: item.correlationId !== undefined ? {
1267
1294
  equals: item.correlationId
1268
1295
  } : undefined,
@@ -1396,6 +1423,9 @@ export const Allocation = {
1396
1423
  tradingPolicyId: item.tradingPolicyId !== undefined ? {
1397
1424
  equals: item.tradingPolicyId
1398
1425
  } : undefined,
1426
+ status: item.status !== undefined ? {
1427
+ equals: item.status
1428
+ } : undefined,
1399
1429
  correlationId: item.correlationId !== undefined ? {
1400
1430
  equals: item.correlationId
1401
1431
  } : undefined,
@@ -1557,6 +1587,9 @@ export const Allocation = {
1557
1587
  userId: item.userId !== undefined ? {
1558
1588
  equals: item.userId
1559
1589
  } : undefined,
1590
+ type: item.type !== undefined ? {
1591
+ equals: item.type
1592
+ } : undefined,
1560
1593
  },
1561
1594
  update: {
1562
1595
  id: item.id !== undefined ? {
@@ -1741,6 +1774,9 @@ export const Allocation = {
1741
1774
  providerAccountId: item.providerAccountId !== undefined ? {
1742
1775
  equals: item.providerAccountId
1743
1776
  } : undefined,
1777
+ status: item.status !== undefined ? {
1778
+ equals: item.status
1779
+ } : undefined,
1744
1780
  },
1745
1781
  update: {
1746
1782
  id: item.id !== undefined ? {
@@ -1804,6 +1840,9 @@ export const Allocation = {
1804
1840
  where: {
1805
1841
  id: item.id !== undefined ? item.id : undefined,
1806
1842
  email: item.email !== undefined ? item.email : undefined,
1843
+ status: item.status !== undefined ? {
1844
+ equals: item.status
1845
+ } : undefined,
1807
1846
  reviewedById: item.reviewedById !== undefined ? {
1808
1847
  equals: item.reviewedById
1809
1848
  } : undefined,
@@ -1992,6 +2031,9 @@ export const Allocation = {
1992
2031
  userId: item.userId !== undefined ? {
1993
2032
  equals: item.userId
1994
2033
  } : undefined,
2034
+ type: item.type !== undefined ? {
2035
+ equals: item.type
2036
+ } : undefined,
1995
2037
  },
1996
2038
  create: {
1997
2039
  type: item.type !== undefined ? item.type : undefined,
@@ -2094,6 +2136,9 @@ export const Allocation = {
2094
2136
  providerAccountId: item.providerAccountId !== undefined ? {
2095
2137
  equals: item.providerAccountId
2096
2138
  } : undefined,
2139
+ status: item.status !== undefined ? {
2140
+ equals: item.status
2141
+ } : undefined,
2097
2142
  },
2098
2143
  create: {
2099
2144
  email: item.email !== undefined ? item.email : undefined,
@@ -2120,6 +2165,9 @@ export const Allocation = {
2120
2165
  where: {
2121
2166
  id: item.id !== undefined ? item.id : undefined,
2122
2167
  email: item.email !== undefined ? item.email : undefined,
2168
+ status: item.status !== undefined ? {
2169
+ equals: item.status
2170
+ } : undefined,
2123
2171
  },
2124
2172
  create: {
2125
2173
  email: item.email !== undefined ? item.email : undefined,
@@ -2180,6 +2228,12 @@ export const Allocation = {
2180
2228
  title: item.title !== undefined ? {
2181
2229
  equals: item.title
2182
2230
  } : undefined,
2231
+ type: item.type !== undefined ? {
2232
+ equals: item.type
2233
+ } : undefined,
2234
+ status: item.status !== undefined ? {
2235
+ equals: item.status
2236
+ } : undefined,
2183
2237
  },
2184
2238
  update: {
2185
2239
  id: item.id !== undefined ? {
@@ -2350,6 +2404,9 @@ export const Allocation = {
2350
2404
  tradingPolicyId: item.tradingPolicyId !== undefined ? {
2351
2405
  equals: item.tradingPolicyId
2352
2406
  } : undefined,
2407
+ status: item.status !== undefined ? {
2408
+ equals: item.status
2409
+ } : undefined,
2353
2410
  correlationId: item.correlationId !== undefined ? {
2354
2411
  equals: item.correlationId
2355
2412
  } : undefined,
@@ -2449,6 +2506,9 @@ export const Allocation = {
2449
2506
  userId: item.userId !== undefined ? {
2450
2507
  equals: item.userId
2451
2508
  } : undefined,
2509
+ type: item.type !== undefined ? {
2510
+ equals: item.type
2511
+ } : undefined,
2452
2512
  },
2453
2513
  create: {
2454
2514
  type: item.type !== undefined ? item.type : undefined,
@@ -2551,6 +2611,9 @@ export const Allocation = {
2551
2611
  providerAccountId: item.providerAccountId !== undefined ? {
2552
2612
  equals: item.providerAccountId
2553
2613
  } : undefined,
2614
+ status: item.status !== undefined ? {
2615
+ equals: item.status
2616
+ } : undefined,
2554
2617
  },
2555
2618
  create: {
2556
2619
  email: item.email !== undefined ? item.email : undefined,
@@ -2577,6 +2640,9 @@ export const Allocation = {
2577
2640
  where: {
2578
2641
  id: item.id !== undefined ? item.id : undefined,
2579
2642
  email: item.email !== undefined ? item.email : undefined,
2643
+ status: item.status !== undefined ? {
2644
+ equals: item.status
2645
+ } : undefined,
2580
2646
  },
2581
2647
  create: {
2582
2648
  email: item.email !== undefined ? item.email : undefined,
@@ -2638,6 +2704,12 @@ export const Allocation = {
2638
2704
  title: item.title !== undefined ? {
2639
2705
  equals: item.title
2640
2706
  } : undefined,
2707
+ type: item.type !== undefined ? {
2708
+ equals: item.type
2709
+ } : undefined,
2710
+ status: item.status !== undefined ? {
2711
+ equals: item.status
2712
+ } : undefined,
2641
2713
  },
2642
2714
  create: {
2643
2715
  title: item.title !== undefined ? item.title : undefined,
@@ -2784,6 +2856,9 @@ export const Allocation = {
2784
2856
  : { connectOrCreate: {
2785
2857
  where: {
2786
2858
  id: props.alpacaAccount.id !== undefined ? props.alpacaAccount.id : undefined,
2859
+ type: props.alpacaAccount.type !== undefined ? {
2860
+ equals: props.alpacaAccount.type
2861
+ } : undefined,
2787
2862
  userId: props.alpacaAccount.userId !== undefined ? {
2788
2863
  equals: props.alpacaAccount.userId
2789
2864
  } : undefined,
@@ -2899,6 +2974,9 @@ export const Allocation = {
2899
2974
  tradingPolicyId: item.tradingPolicyId !== undefined ? {
2900
2975
  equals: item.tradingPolicyId
2901
2976
  } : undefined,
2977
+ status: item.status !== undefined ? {
2978
+ equals: item.status
2979
+ } : undefined,
2902
2980
  correlationId: item.correlationId !== undefined ? {
2903
2981
  equals: item.correlationId
2904
2982
  } : undefined,
@@ -2998,6 +3076,9 @@ export const Allocation = {
2998
3076
  userId: item.userId !== undefined ? {
2999
3077
  equals: item.userId
3000
3078
  } : undefined,
3079
+ type: item.type !== undefined ? {
3080
+ equals: item.type
3081
+ } : undefined,
3001
3082
  },
3002
3083
  create: {
3003
3084
  type: item.type !== undefined ? item.type : undefined,
@@ -3100,6 +3181,9 @@ export const Allocation = {
3100
3181
  providerAccountId: item.providerAccountId !== undefined ? {
3101
3182
  equals: item.providerAccountId
3102
3183
  } : undefined,
3184
+ status: item.status !== undefined ? {
3185
+ equals: item.status
3186
+ } : undefined,
3103
3187
  },
3104
3188
  create: {
3105
3189
  email: item.email !== undefined ? item.email : undefined,
@@ -3126,6 +3210,9 @@ export const Allocation = {
3126
3210
  where: {
3127
3211
  id: item.id !== undefined ? item.id : undefined,
3128
3212
  email: item.email !== undefined ? item.email : undefined,
3213
+ status: item.status !== undefined ? {
3214
+ equals: item.status
3215
+ } : undefined,
3129
3216
  },
3130
3217
  create: {
3131
3218
  email: item.email !== undefined ? item.email : undefined,
@@ -3187,6 +3274,12 @@ export const Allocation = {
3187
3274
  title: item.title !== undefined ? {
3188
3275
  equals: item.title
3189
3276
  } : undefined,
3277
+ type: item.type !== undefined ? {
3278
+ equals: item.type
3279
+ } : undefined,
3280
+ status: item.status !== undefined ? {
3281
+ equals: item.status
3282
+ } : undefined,
3190
3283
  },
3191
3284
  create: {
3192
3285
  title: item.title !== undefined ? item.title : undefined,
@@ -3244,6 +3337,9 @@ export const Allocation = {
3244
3337
  id: props.alpacaAccount.id !== undefined ? {
3245
3338
  equals: props.alpacaAccount.id
3246
3339
  } : undefined,
3340
+ type: props.alpacaAccount.type !== undefined ? {
3341
+ equals: props.alpacaAccount.type
3342
+ } : undefined,
3247
3343
  userId: props.alpacaAccount.userId !== undefined ? {
3248
3344
  equals: props.alpacaAccount.userId
3249
3345
  } : undefined,
@@ -3516,6 +3612,9 @@ export const Allocation = {
3516
3612
  tradingPolicyId: item.tradingPolicyId !== undefined ? {
3517
3613
  equals: item.tradingPolicyId
3518
3614
  } : undefined,
3615
+ status: item.status !== undefined ? {
3616
+ equals: item.status
3617
+ } : undefined,
3519
3618
  correlationId: item.correlationId !== undefined ? {
3520
3619
  equals: item.correlationId
3521
3620
  } : undefined,
@@ -3649,6 +3748,9 @@ export const Allocation = {
3649
3748
  tradingPolicyId: item.tradingPolicyId !== undefined ? {
3650
3749
  equals: item.tradingPolicyId
3651
3750
  } : undefined,
3751
+ status: item.status !== undefined ? {
3752
+ equals: item.status
3753
+ } : undefined,
3652
3754
  correlationId: item.correlationId !== undefined ? {
3653
3755
  equals: item.correlationId
3654
3756
  } : undefined,
@@ -3810,6 +3912,9 @@ export const Allocation = {
3810
3912
  userId: item.userId !== undefined ? {
3811
3913
  equals: item.userId
3812
3914
  } : undefined,
3915
+ type: item.type !== undefined ? {
3916
+ equals: item.type
3917
+ } : undefined,
3813
3918
  },
3814
3919
  update: {
3815
3920
  id: item.id !== undefined ? {
@@ -3994,6 +4099,9 @@ export const Allocation = {
3994
4099
  providerAccountId: item.providerAccountId !== undefined ? {
3995
4100
  equals: item.providerAccountId
3996
4101
  } : undefined,
4102
+ status: item.status !== undefined ? {
4103
+ equals: item.status
4104
+ } : undefined,
3997
4105
  },
3998
4106
  update: {
3999
4107
  id: item.id !== undefined ? {
@@ -4057,6 +4165,9 @@ export const Allocation = {
4057
4165
  where: {
4058
4166
  id: item.id !== undefined ? item.id : undefined,
4059
4167
  email: item.email !== undefined ? item.email : undefined,
4168
+ status: item.status !== undefined ? {
4169
+ equals: item.status
4170
+ } : undefined,
4060
4171
  reviewedById: item.reviewedById !== undefined ? {
4061
4172
  equals: item.reviewedById
4062
4173
  } : undefined,
@@ -4245,6 +4356,9 @@ export const Allocation = {
4245
4356
  userId: item.userId !== undefined ? {
4246
4357
  equals: item.userId
4247
4358
  } : undefined,
4359
+ type: item.type !== undefined ? {
4360
+ equals: item.type
4361
+ } : undefined,
4248
4362
  },
4249
4363
  create: {
4250
4364
  type: item.type !== undefined ? item.type : undefined,
@@ -4347,6 +4461,9 @@ export const Allocation = {
4347
4461
  providerAccountId: item.providerAccountId !== undefined ? {
4348
4462
  equals: item.providerAccountId
4349
4463
  } : undefined,
4464
+ status: item.status !== undefined ? {
4465
+ equals: item.status
4466
+ } : undefined,
4350
4467
  },
4351
4468
  create: {
4352
4469
  email: item.email !== undefined ? item.email : undefined,
@@ -4373,6 +4490,9 @@ export const Allocation = {
4373
4490
  where: {
4374
4491
  id: item.id !== undefined ? item.id : undefined,
4375
4492
  email: item.email !== undefined ? item.email : undefined,
4493
+ status: item.status !== undefined ? {
4494
+ equals: item.status
4495
+ } : undefined,
4376
4496
  },
4377
4497
  create: {
4378
4498
  email: item.email !== undefined ? item.email : undefined,
@@ -4433,6 +4553,12 @@ export const Allocation = {
4433
4553
  title: item.title !== undefined ? {
4434
4554
  equals: item.title
4435
4555
  } : undefined,
4556
+ type: item.type !== undefined ? {
4557
+ equals: item.type
4558
+ } : undefined,
4559
+ status: item.status !== undefined ? {
4560
+ equals: item.status
4561
+ } : undefined,
4436
4562
  },
4437
4563
  update: {
4438
4564
  id: item.id !== undefined ? {
@@ -4603,6 +4729,9 @@ export const Allocation = {
4603
4729
  tradingPolicyId: item.tradingPolicyId !== undefined ? {
4604
4730
  equals: item.tradingPolicyId
4605
4731
  } : undefined,
4732
+ status: item.status !== undefined ? {
4733
+ equals: item.status
4734
+ } : undefined,
4606
4735
  correlationId: item.correlationId !== undefined ? {
4607
4736
  equals: item.correlationId
4608
4737
  } : undefined,
@@ -4702,6 +4831,9 @@ export const Allocation = {
4702
4831
  userId: item.userId !== undefined ? {
4703
4832
  equals: item.userId
4704
4833
  } : undefined,
4834
+ type: item.type !== undefined ? {
4835
+ equals: item.type
4836
+ } : undefined,
4705
4837
  },
4706
4838
  create: {
4707
4839
  type: item.type !== undefined ? item.type : undefined,
@@ -4804,6 +4936,9 @@ export const Allocation = {
4804
4936
  providerAccountId: item.providerAccountId !== undefined ? {
4805
4937
  equals: item.providerAccountId
4806
4938
  } : undefined,
4939
+ status: item.status !== undefined ? {
4940
+ equals: item.status
4941
+ } : undefined,
4807
4942
  },
4808
4943
  create: {
4809
4944
  email: item.email !== undefined ? item.email : undefined,
@@ -4830,6 +4965,9 @@ export const Allocation = {
4830
4965
  where: {
4831
4966
  id: item.id !== undefined ? item.id : undefined,
4832
4967
  email: item.email !== undefined ? item.email : undefined,
4968
+ status: item.status !== undefined ? {
4969
+ equals: item.status
4970
+ } : undefined,
4833
4971
  },
4834
4972
  create: {
4835
4973
  email: item.email !== undefined ? item.email : undefined,
@@ -4891,6 +5029,12 @@ export const Allocation = {
4891
5029
  title: item.title !== undefined ? {
4892
5030
  equals: item.title
4893
5031
  } : undefined,
5032
+ type: item.type !== undefined ? {
5033
+ equals: item.type
5034
+ } : undefined,
5035
+ status: item.status !== undefined ? {
5036
+ equals: item.status
5037
+ } : undefined,
4894
5038
  },
4895
5039
  create: {
4896
5040
  title: item.title !== undefined ? item.title : undefined,
@@ -5064,6 +5208,9 @@ export const Allocation = {
5064
5208
  id: prop.alpacaAccount.id !== undefined ? {
5065
5209
  equals: prop.alpacaAccount.id
5066
5210
  } : undefined,
5211
+ type: prop.alpacaAccount.type !== undefined ? {
5212
+ equals: prop.alpacaAccount.type
5213
+ } : undefined,
5067
5214
  userId: prop.alpacaAccount.userId !== undefined ? {
5068
5215
  equals: prop.alpacaAccount.userId
5069
5216
  } : undefined,
@@ -5336,6 +5483,9 @@ export const Allocation = {
5336
5483
  tradingPolicyId: item.tradingPolicyId !== undefined ? {
5337
5484
  equals: item.tradingPolicyId
5338
5485
  } : undefined,
5486
+ status: item.status !== undefined ? {
5487
+ equals: item.status
5488
+ } : undefined,
5339
5489
  correlationId: item.correlationId !== undefined ? {
5340
5490
  equals: item.correlationId
5341
5491
  } : undefined,
@@ -5469,6 +5619,9 @@ export const Allocation = {
5469
5619
  tradingPolicyId: item.tradingPolicyId !== undefined ? {
5470
5620
  equals: item.tradingPolicyId
5471
5621
  } : undefined,
5622
+ status: item.status !== undefined ? {
5623
+ equals: item.status
5624
+ } : undefined,
5472
5625
  correlationId: item.correlationId !== undefined ? {
5473
5626
  equals: item.correlationId
5474
5627
  } : undefined,
@@ -5630,6 +5783,9 @@ export const Allocation = {
5630
5783
  userId: item.userId !== undefined ? {
5631
5784
  equals: item.userId
5632
5785
  } : undefined,
5786
+ type: item.type !== undefined ? {
5787
+ equals: item.type
5788
+ } : undefined,
5633
5789
  },
5634
5790
  update: {
5635
5791
  id: item.id !== undefined ? {
@@ -5814,6 +5970,9 @@ export const Allocation = {
5814
5970
  providerAccountId: item.providerAccountId !== undefined ? {
5815
5971
  equals: item.providerAccountId
5816
5972
  } : undefined,
5973
+ status: item.status !== undefined ? {
5974
+ equals: item.status
5975
+ } : undefined,
5817
5976
  },
5818
5977
  update: {
5819
5978
  id: item.id !== undefined ? {
@@ -5877,6 +6036,9 @@ export const Allocation = {
5877
6036
  where: {
5878
6037
  id: item.id !== undefined ? item.id : undefined,
5879
6038
  email: item.email !== undefined ? item.email : undefined,
6039
+ status: item.status !== undefined ? {
6040
+ equals: item.status
6041
+ } : undefined,
5880
6042
  reviewedById: item.reviewedById !== undefined ? {
5881
6043
  equals: item.reviewedById
5882
6044
  } : undefined,
@@ -6065,6 +6227,9 @@ export const Allocation = {
6065
6227
  userId: item.userId !== undefined ? {
6066
6228
  equals: item.userId
6067
6229
  } : undefined,
6230
+ type: item.type !== undefined ? {
6231
+ equals: item.type
6232
+ } : undefined,
6068
6233
  },
6069
6234
  create: {
6070
6235
  type: item.type !== undefined ? item.type : undefined,
@@ -6167,6 +6332,9 @@ export const Allocation = {
6167
6332
  providerAccountId: item.providerAccountId !== undefined ? {
6168
6333
  equals: item.providerAccountId
6169
6334
  } : undefined,
6335
+ status: item.status !== undefined ? {
6336
+ equals: item.status
6337
+ } : undefined,
6170
6338
  },
6171
6339
  create: {
6172
6340
  email: item.email !== undefined ? item.email : undefined,
@@ -6193,6 +6361,9 @@ export const Allocation = {
6193
6361
  where: {
6194
6362
  id: item.id !== undefined ? item.id : undefined,
6195
6363
  email: item.email !== undefined ? item.email : undefined,
6364
+ status: item.status !== undefined ? {
6365
+ equals: item.status
6366
+ } : undefined,
6196
6367
  },
6197
6368
  create: {
6198
6369
  email: item.email !== undefined ? item.email : undefined,
@@ -6253,6 +6424,12 @@ export const Allocation = {
6253
6424
  title: item.title !== undefined ? {
6254
6425
  equals: item.title
6255
6426
  } : undefined,
6427
+ type: item.type !== undefined ? {
6428
+ equals: item.type
6429
+ } : undefined,
6430
+ status: item.status !== undefined ? {
6431
+ equals: item.status
6432
+ } : undefined,
6256
6433
  },
6257
6434
  update: {
6258
6435
  id: item.id !== undefined ? {
@@ -6423,6 +6600,9 @@ export const Allocation = {
6423
6600
  tradingPolicyId: item.tradingPolicyId !== undefined ? {
6424
6601
  equals: item.tradingPolicyId
6425
6602
  } : undefined,
6603
+ status: item.status !== undefined ? {
6604
+ equals: item.status
6605
+ } : undefined,
6426
6606
  correlationId: item.correlationId !== undefined ? {
6427
6607
  equals: item.correlationId
6428
6608
  } : undefined,
@@ -6522,6 +6702,9 @@ export const Allocation = {
6522
6702
  userId: item.userId !== undefined ? {
6523
6703
  equals: item.userId
6524
6704
  } : undefined,
6705
+ type: item.type !== undefined ? {
6706
+ equals: item.type
6707
+ } : undefined,
6525
6708
  },
6526
6709
  create: {
6527
6710
  type: item.type !== undefined ? item.type : undefined,
@@ -6624,6 +6807,9 @@ export const Allocation = {
6624
6807
  providerAccountId: item.providerAccountId !== undefined ? {
6625
6808
  equals: item.providerAccountId
6626
6809
  } : undefined,
6810
+ status: item.status !== undefined ? {
6811
+ equals: item.status
6812
+ } : undefined,
6627
6813
  },
6628
6814
  create: {
6629
6815
  email: item.email !== undefined ? item.email : undefined,
@@ -6650,6 +6836,9 @@ export const Allocation = {
6650
6836
  where: {
6651
6837
  id: item.id !== undefined ? item.id : undefined,
6652
6838
  email: item.email !== undefined ? item.email : undefined,
6839
+ status: item.status !== undefined ? {
6840
+ equals: item.status
6841
+ } : undefined,
6653
6842
  },
6654
6843
  create: {
6655
6844
  email: item.email !== undefined ? item.email : undefined,
@@ -6711,6 +6900,12 @@ export const Allocation = {
6711
6900
  title: item.title !== undefined ? {
6712
6901
  equals: item.title
6713
6902
  } : undefined,
6903
+ type: item.type !== undefined ? {
6904
+ equals: item.type
6905
+ } : undefined,
6906
+ status: item.status !== undefined ? {
6907
+ equals: item.status
6908
+ } : undefined,
6714
6909
  },
6715
6910
  create: {
6716
6911
  title: item.title !== undefined ? item.title : undefined,
@@ -1 +1 @@
1
- {"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../src/AlpacaAccount.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EAA4B,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AA2P7G,eAAO,MAAM,aAAa;IAExB;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,iBAAiB,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,iBAAiB,CAAC;IA2jB5H;;;;;;OAMG;sBACqB,iBAAiB,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAuIvI;;;;;;OAMG;kBACiB,iBAAi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