@adaptic/backend-legacy 0.0.946 → 0.0.947

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 (257) hide show
  1. package/ABTest.cjs +5 -0
  2. package/Account.cjs +5 -0
  3. package/AccountDecisionRecord.cjs +5 -0
  4. package/AccountLinkingRequest.cjs +5 -0
  5. package/Action.cjs +5 -0
  6. package/Alert.cjs +5 -0
  7. package/Allocation.cjs +5 -0
  8. package/AlpacaAccount.cjs +5 -0
  9. package/AnalyticsConfiguration.cjs +5 -0
  10. package/AnalyticsSnapshot.cjs +5 -0
  11. package/Asset.cjs +5 -0
  12. package/AuditLog.cjs +5 -0
  13. package/Authenticator.cjs +5 -0
  14. package/Configuration.cjs +5 -0
  15. package/ConflictEvent.cjs +5 -0
  16. package/ConnectionHealthSnapshot.cjs +5 -0
  17. package/Customer.cjs +5 -0
  18. package/DeadLetterMessage.cjs +5 -0
  19. package/DecisionMemorySummary.cjs +5 -0
  20. package/EconomicEvent.cjs +5 -0
  21. package/EquityBar.cjs +5 -0
  22. package/Event.cjs +5 -0
  23. package/EventSnapshot.cjs +5 -0
  24. package/FeatureImportanceAnalysis.cjs +5 -0
  25. package/InstitutionalFlowSignal.cjs +5 -0
  26. package/InstitutionalHolding.cjs +5 -0
  27. package/InstitutionalSentimentAlerts.cjs +5 -0
  28. package/InstitutionalSentimentErrors.cjs +5 -0
  29. package/InstitutionalSentimentHistory.cjs +5 -0
  30. package/InstitutionalSentimentMetrics.cjs +5 -0
  31. package/InviteToken.cjs +5 -0
  32. package/LinkedProvider.cjs +5 -0
  33. package/LlmConfiguration.cjs +5 -0
  34. package/MLModelVersion.cjs +5 -0
  35. package/MLTrainingData.cjs +5 -0
  36. package/MarketSentiment.cjs +5 -0
  37. package/ModelArtifact.cjs +5 -0
  38. package/ModelVersion.cjs +5 -0
  39. package/ModelVersionArtifact.cjs +5 -0
  40. package/NewsArticle.cjs +5 -0
  41. package/NewsArticleAssetSentiment.cjs +5 -0
  42. package/OptionsContract.cjs +5 -0
  43. package/OptionsGreeksHistory.cjs +5 -0
  44. package/OptionsPosition.cjs +5 -0
  45. package/OptionsPositionEvent.cjs +5 -0
  46. package/OptionsTradeExecution.cjs +5 -0
  47. package/PolicyOverlay.cjs +5 -0
  48. package/PortfolioGreeksHistory.cjs +5 -0
  49. package/ScheduledOptionOrder.cjs +5 -0
  50. package/Session.cjs +5 -0
  51. package/SignalGeneratorMetrics.cjs +5 -0
  52. package/SignalLineage.cjs +5 -0
  53. package/SignalOutcome.cjs +5 -0
  54. package/SignalPriorityQueue.cjs +5 -0
  55. package/SyncEvent.cjs +5 -0
  56. package/SystemAlert.cjs +5 -0
  57. package/Trade.cjs +5 -0
  58. package/TradeAuditEvent.cjs +5 -0
  59. package/TradeExecutionHistory.cjs +5 -0
  60. package/TradeOutcome.cjs +5 -0
  61. package/TradingPolicy.cjs +5 -0
  62. package/User.cjs +5 -0
  63. package/VerificationToken.cjs +5 -0
  64. package/WaitlistEntry.cjs +5 -0
  65. package/esm/ABTest.d.ts.map +1 -1
  66. package/esm/ABTest.js.map +1 -1
  67. package/esm/ABTest.mjs +5 -0
  68. package/esm/Account.d.ts.map +1 -1
  69. package/esm/Account.js.map +1 -1
  70. package/esm/Account.mjs +5 -0
  71. package/esm/AccountDecisionRecord.d.ts.map +1 -1
  72. package/esm/AccountDecisionRecord.js.map +1 -1
  73. package/esm/AccountDecisionRecord.mjs +5 -0
  74. package/esm/AccountLinkingRequest.d.ts.map +1 -1
  75. package/esm/AccountLinkingRequest.js.map +1 -1
  76. package/esm/AccountLinkingRequest.mjs +5 -0
  77. package/esm/Action.d.ts.map +1 -1
  78. package/esm/Action.js.map +1 -1
  79. package/esm/Action.mjs +5 -0
  80. package/esm/Alert.d.ts.map +1 -1
  81. package/esm/Alert.js.map +1 -1
  82. package/esm/Alert.mjs +5 -0
  83. package/esm/Allocation.d.ts.map +1 -1
  84. package/esm/Allocation.js.map +1 -1
  85. package/esm/Allocation.mjs +5 -0
  86. package/esm/AlpacaAccount.d.ts.map +1 -1
  87. package/esm/AlpacaAccount.js.map +1 -1
  88. package/esm/AlpacaAccount.mjs +5 -0
  89. package/esm/AnalyticsConfiguration.d.ts.map +1 -1
  90. package/esm/AnalyticsConfiguration.js.map +1 -1
  91. package/esm/AnalyticsConfiguration.mjs +5 -0
  92. package/esm/AnalyticsSnapshot.d.ts.map +1 -1
  93. package/esm/AnalyticsSnapshot.js.map +1 -1
  94. package/esm/AnalyticsSnapshot.mjs +5 -0
  95. package/esm/Asset.d.ts.map +1 -1
  96. package/esm/Asset.js.map +1 -1
  97. package/esm/Asset.mjs +5 -0
  98. package/esm/AuditLog.d.ts.map +1 -1
  99. package/esm/AuditLog.js.map +1 -1
  100. package/esm/AuditLog.mjs +5 -0
  101. package/esm/Authenticator.d.ts.map +1 -1
  102. package/esm/Authenticator.js.map +1 -1
  103. package/esm/Authenticator.mjs +5 -0
  104. package/esm/Configuration.d.ts.map +1 -1
  105. package/esm/Configuration.js.map +1 -1
  106. package/esm/Configuration.mjs +5 -0
  107. package/esm/ConflictEvent.d.ts.map +1 -1
  108. package/esm/ConflictEvent.js.map +1 -1
  109. package/esm/ConflictEvent.mjs +5 -0
  110. package/esm/ConnectionHealthSnapshot.d.ts.map +1 -1
  111. package/esm/ConnectionHealthSnapshot.js.map +1 -1
  112. package/esm/ConnectionHealthSnapshot.mjs +5 -0
  113. package/esm/Customer.d.ts.map +1 -1
  114. package/esm/Customer.js.map +1 -1
  115. package/esm/Customer.mjs +5 -0
  116. package/esm/DeadLetterMessage.d.ts.map +1 -1
  117. package/esm/DeadLetterMessage.js.map +1 -1
  118. package/esm/DeadLetterMessage.mjs +5 -0
  119. package/esm/DecisionMemorySummary.d.ts.map +1 -1
  120. package/esm/DecisionMemorySummary.js.map +1 -1
  121. package/esm/DecisionMemorySummary.mjs +5 -0
  122. package/esm/EconomicEvent.d.ts.map +1 -1
  123. package/esm/EconomicEvent.js.map +1 -1
  124. package/esm/EconomicEvent.mjs +5 -0
  125. package/esm/EquityBar.d.ts.map +1 -1
  126. package/esm/EquityBar.js.map +1 -1
  127. package/esm/EquityBar.mjs +5 -0
  128. package/esm/Event.d.ts.map +1 -1
  129. package/esm/Event.js.map +1 -1
  130. package/esm/Event.mjs +5 -0
  131. package/esm/EventSnapshot.d.ts.map +1 -1
  132. package/esm/EventSnapshot.js.map +1 -1
  133. package/esm/EventSnapshot.mjs +5 -0
  134. package/esm/FeatureImportanceAnalysis.d.ts.map +1 -1
  135. package/esm/FeatureImportanceAnalysis.js.map +1 -1
  136. package/esm/FeatureImportanceAnalysis.mjs +5 -0
  137. package/esm/InstitutionalFlowSignal.d.ts.map +1 -1
  138. package/esm/InstitutionalFlowSignal.js.map +1 -1
  139. package/esm/InstitutionalFlowSignal.mjs +5 -0
  140. package/esm/InstitutionalHolding.d.ts.map +1 -1
  141. package/esm/InstitutionalHolding.js.map +1 -1
  142. package/esm/InstitutionalHolding.mjs +5 -0
  143. package/esm/InstitutionalSentimentAlerts.d.ts.map +1 -1
  144. package/esm/InstitutionalSentimentAlerts.js.map +1 -1
  145. package/esm/InstitutionalSentimentAlerts.mjs +5 -0
  146. package/esm/InstitutionalSentimentErrors.d.ts.map +1 -1
  147. package/esm/InstitutionalSentimentErrors.js.map +1 -1
  148. package/esm/InstitutionalSentimentErrors.mjs +5 -0
  149. package/esm/InstitutionalSentimentHistory.d.ts.map +1 -1
  150. package/esm/InstitutionalSentimentHistory.js.map +1 -1
  151. package/esm/InstitutionalSentimentHistory.mjs +5 -0
  152. package/esm/InstitutionalSentimentMetrics.d.ts.map +1 -1
  153. package/esm/InstitutionalSentimentMetrics.js.map +1 -1
  154. package/esm/InstitutionalSentimentMetrics.mjs +5 -0
  155. package/esm/InviteToken.d.ts.map +1 -1
  156. package/esm/InviteToken.js.map +1 -1
  157. package/esm/InviteToken.mjs +5 -0
  158. package/esm/LinkedProvider.d.ts.map +1 -1
  159. package/esm/LinkedProvider.js.map +1 -1
  160. package/esm/LinkedProvider.mjs +5 -0
  161. package/esm/LlmConfiguration.d.ts.map +1 -1
  162. package/esm/LlmConfiguration.js.map +1 -1
  163. package/esm/LlmConfiguration.mjs +5 -0
  164. package/esm/MLModelVersion.d.ts.map +1 -1
  165. package/esm/MLModelVersion.js.map +1 -1
  166. package/esm/MLModelVersion.mjs +5 -0
  167. package/esm/MLTrainingData.d.ts.map +1 -1
  168. package/esm/MLTrainingData.js.map +1 -1
  169. package/esm/MLTrainingData.mjs +5 -0
  170. package/esm/MarketSentiment.d.ts.map +1 -1
  171. package/esm/MarketSentiment.js.map +1 -1
  172. package/esm/MarketSentiment.mjs +5 -0
  173. package/esm/ModelArtifact.d.ts.map +1 -1
  174. package/esm/ModelArtifact.js.map +1 -1
  175. package/esm/ModelArtifact.mjs +5 -0
  176. package/esm/ModelVersion.d.ts.map +1 -1
  177. package/esm/ModelVersion.js.map +1 -1
  178. package/esm/ModelVersion.mjs +5 -0
  179. package/esm/ModelVersionArtifact.d.ts.map +1 -1
  180. package/esm/ModelVersionArtifact.js.map +1 -1
  181. package/esm/ModelVersionArtifact.mjs +5 -0
  182. package/esm/NewsArticle.d.ts.map +1 -1
  183. package/esm/NewsArticle.js.map +1 -1
  184. package/esm/NewsArticle.mjs +5 -0
  185. package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
  186. package/esm/NewsArticleAssetSentiment.js.map +1 -1
  187. package/esm/NewsArticleAssetSentiment.mjs +5 -0
  188. package/esm/OptionsContract.d.ts.map +1 -1
  189. package/esm/OptionsContract.js.map +1 -1
  190. package/esm/OptionsContract.mjs +5 -0
  191. package/esm/OptionsGreeksHistory.d.ts.map +1 -1
  192. package/esm/OptionsGreeksHistory.js.map +1 -1
  193. package/esm/OptionsGreeksHistory.mjs +5 -0
  194. package/esm/OptionsPosition.d.ts.map +1 -1
  195. package/esm/OptionsPosition.js.map +1 -1
  196. package/esm/OptionsPosition.mjs +5 -0
  197. package/esm/OptionsPositionEvent.d.ts.map +1 -1
  198. package/esm/OptionsPositionEvent.js.map +1 -1
  199. package/esm/OptionsPositionEvent.mjs +5 -0
  200. package/esm/OptionsTradeExecution.d.ts.map +1 -1
  201. package/esm/OptionsTradeExecution.js.map +1 -1
  202. package/esm/OptionsTradeExecution.mjs +5 -0
  203. package/esm/PolicyOverlay.d.ts.map +1 -1
  204. package/esm/PolicyOverlay.js.map +1 -1
  205. package/esm/PolicyOverlay.mjs +5 -0
  206. package/esm/PortfolioGreeksHistory.d.ts.map +1 -1
  207. package/esm/PortfolioGreeksHistory.js.map +1 -1
  208. package/esm/PortfolioGreeksHistory.mjs +5 -0
  209. package/esm/ScheduledOptionOrder.d.ts.map +1 -1
  210. package/esm/ScheduledOptionOrder.js.map +1 -1
  211. package/esm/ScheduledOptionOrder.mjs +5 -0
  212. package/esm/Session.d.ts.map +1 -1
  213. package/esm/Session.js.map +1 -1
  214. package/esm/Session.mjs +5 -0
  215. package/esm/SignalGeneratorMetrics.d.ts.map +1 -1
  216. package/esm/SignalGeneratorMetrics.js.map +1 -1
  217. package/esm/SignalGeneratorMetrics.mjs +5 -0
  218. package/esm/SignalLineage.d.ts.map +1 -1
  219. package/esm/SignalLineage.js.map +1 -1
  220. package/esm/SignalLineage.mjs +5 -0
  221. package/esm/SignalOutcome.d.ts.map +1 -1
  222. package/esm/SignalOutcome.js.map +1 -1
  223. package/esm/SignalOutcome.mjs +5 -0
  224. package/esm/SignalPriorityQueue.d.ts.map +1 -1
  225. package/esm/SignalPriorityQueue.js.map +1 -1
  226. package/esm/SignalPriorityQueue.mjs +5 -0
  227. package/esm/SyncEvent.d.ts.map +1 -1
  228. package/esm/SyncEvent.js.map +1 -1
  229. package/esm/SyncEvent.mjs +5 -0
  230. package/esm/SystemAlert.d.ts.map +1 -1
  231. package/esm/SystemAlert.js.map +1 -1
  232. package/esm/SystemAlert.mjs +5 -0
  233. package/esm/Trade.d.ts.map +1 -1
  234. package/esm/Trade.js.map +1 -1
  235. package/esm/Trade.mjs +5 -0
  236. package/esm/TradeAuditEvent.d.ts.map +1 -1
  237. package/esm/TradeAuditEvent.js.map +1 -1
  238. package/esm/TradeAuditEvent.mjs +5 -0
  239. package/esm/TradeExecutionHistory.d.ts.map +1 -1
  240. package/esm/TradeExecutionHistory.js.map +1 -1
  241. package/esm/TradeExecutionHistory.mjs +5 -0
  242. package/esm/TradeOutcome.d.ts.map +1 -1
  243. package/esm/TradeOutcome.js.map +1 -1
  244. package/esm/TradeOutcome.mjs +5 -0
  245. package/esm/TradingPolicy.d.ts.map +1 -1
  246. package/esm/TradingPolicy.js.map +1 -1
  247. package/esm/TradingPolicy.mjs +5 -0
  248. package/esm/User.d.ts.map +1 -1
  249. package/esm/User.js.map +1 -1
  250. package/esm/User.mjs +5 -0
  251. package/esm/VerificationToken.d.ts.map +1 -1
  252. package/esm/VerificationToken.js.map +1 -1
  253. package/esm/VerificationToken.mjs +5 -0
  254. package/esm/WaitlistEntry.d.ts.map +1 -1
  255. package/esm/WaitlistEntry.js.map +1 -1
  256. package/esm/WaitlistEntry.mjs +5 -0
  257. package/package.json +1 -1
package/PolicyOverlay.cjs CHANGED
@@ -3835,6 +3835,11 @@ exports.PolicyOverlay = {
3835
3835
  },
3836
3836
  };
3837
3837
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
3838
+ // Validate that we have at least one filter criteria
3839
+ // GraphQL requires a non-empty where clause for findMany
3840
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
3841
+ throw new Error(`findManyPolicyOverlay requires at least one filter criterion. Received empty where clause.`);
3842
+ }
3838
3843
  const response = await client.query({
3839
3844
  query: FIND_MANY_POLICYOVERLAY,
3840
3845
  variables: filteredVariables,
@@ -1149,6 +1149,11 @@ exports.PortfolioGreeksHistory = {
1149
1149
  },
1150
1150
  };
1151
1151
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1152
+ // Validate that we have at least one filter criteria
1153
+ // GraphQL requires a non-empty where clause for findMany
1154
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1155
+ throw new Error(`findManyPortfolioGreeksHistory requires at least one filter criterion. Received empty where clause.`);
1156
+ }
1152
1157
  const response = await client.query({
1153
1158
  query: FIND_MANY_PORTFOLIOGREEKSHISTORY,
1154
1159
  variables: filteredVariables,
@@ -891,6 +891,11 @@ exports.ScheduledOptionOrder = {
891
891
  },
892
892
  };
893
893
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
894
+ // Validate that we have at least one filter criteria
895
+ // GraphQL requires a non-empty where clause for findMany
896
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
897
+ throw new Error(`findManyScheduledOptionOrder requires at least one filter criterion. Received empty where clause.`);
898
+ }
894
899
  const response = await client.query({
895
900
  query: FIND_MANY_SCHEDULEDOPTIONORDER,
896
901
  variables: filteredVariables,
package/Session.cjs CHANGED
@@ -6574,6 +6574,11 @@ exports.Session = {
6574
6574
  },
6575
6575
  };
6576
6576
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
6577
+ // Validate that we have at least one filter criteria
6578
+ // GraphQL requires a non-empty where clause for findMany
6579
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
6580
+ throw new Error(`findManySession requires at least one filter criterion. Received empty where clause.`);
6581
+ }
6577
6582
  const response = await client.query({
6578
6583
  query: FIND_MANY_SESSION,
6579
6584
  variables: filteredVariables,
@@ -1106,6 +1106,11 @@ exports.SignalGeneratorMetrics = {
1106
1106
  },
1107
1107
  };
1108
1108
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1109
+ // Validate that we have at least one filter criteria
1110
+ // GraphQL requires a non-empty where clause for findMany
1111
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1112
+ throw new Error(`findManySignalGeneratorMetrics requires at least one filter criterion. Received empty where clause.`);
1113
+ }
1109
1114
  const response = await client.query({
1110
1115
  query: FIND_MANY_SIGNALGENERATORMETRICS,
1111
1116
  variables: filteredVariables,
package/SignalLineage.cjs CHANGED
@@ -1165,6 +1165,11 @@ exports.SignalLineage = {
1165
1165
  },
1166
1166
  };
1167
1167
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1168
+ // Validate that we have at least one filter criteria
1169
+ // GraphQL requires a non-empty where clause for findMany
1170
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1171
+ throw new Error(`findManySignalLineage requires at least one filter criterion. Received empty where clause.`);
1172
+ }
1168
1173
  const response = await client.query({
1169
1174
  query: FIND_MANY_SIGNALLINEAGE,
1170
1175
  variables: filteredVariables,
package/SignalOutcome.cjs CHANGED
@@ -1056,6 +1056,11 @@ exports.SignalOutcome = {
1056
1056
  },
1057
1057
  };
1058
1058
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1059
+ // Validate that we have at least one filter criteria
1060
+ // GraphQL requires a non-empty where clause for findMany
1061
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1062
+ throw new Error(`findManySignalOutcome requires at least one filter criterion. Received empty where clause.`);
1063
+ }
1059
1064
  const response = await client.query({
1060
1065
  query: FIND_MANY_SIGNALOUTCOME,
1061
1066
  variables: filteredVariables,
@@ -1114,6 +1114,11 @@ exports.SignalPriorityQueue = {
1114
1114
  },
1115
1115
  };
1116
1116
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1117
+ // Validate that we have at least one filter criteria
1118
+ // GraphQL requires a non-empty where clause for findMany
1119
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1120
+ throw new Error(`findManySignalPriorityQueue requires at least one filter criterion. Received empty where clause.`);
1121
+ }
1117
1122
  const response = await client.query({
1118
1123
  query: FIND_MANY_SIGNALPRIORITYQUEUE,
1119
1124
  variables: filteredVariables,
package/SyncEvent.cjs CHANGED
@@ -991,6 +991,11 @@ exports.SyncEvent = {
991
991
  },
992
992
  };
993
993
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
994
+ // Validate that we have at least one filter criteria
995
+ // GraphQL requires a non-empty where clause for findMany
996
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
997
+ throw new Error(`findManySyncEvent requires at least one filter criterion. Received empty where clause.`);
998
+ }
994
999
  const response = await client.query({
995
1000
  query: FIND_MANY_SYNCEVENT,
996
1001
  variables: filteredVariables,
package/SystemAlert.cjs CHANGED
@@ -1154,6 +1154,11 @@ exports.SystemAlert = {
1154
1154
  },
1155
1155
  };
1156
1156
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1157
+ // Validate that we have at least one filter criteria
1158
+ // GraphQL requires a non-empty where clause for findMany
1159
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1160
+ throw new Error(`findManySystemAlert requires at least one filter criterion. Received empty where clause.`);
1161
+ }
1157
1162
  const response = await client.query({
1158
1163
  query: FIND_MANY_SYSTEMALERT,
1159
1164
  variables: filteredVariables,
package/Trade.cjs CHANGED
@@ -1549,6 +1549,11 @@ exports.Trade = {
1549
1549
  },
1550
1550
  };
1551
1551
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1552
+ // Validate that we have at least one filter criteria
1553
+ // GraphQL requires a non-empty where clause for findMany
1554
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1555
+ throw new Error(`findManyTrade requires at least one filter criterion. Received empty where clause.`);
1556
+ }
1552
1557
  const response = await client.query({
1553
1558
  query: FIND_MANY_TRADE,
1554
1559
  variables: filteredVariables,
@@ -1202,6 +1202,11 @@ exports.TradeAuditEvent = {
1202
1202
  },
1203
1203
  };
1204
1204
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1205
+ // Validate that we have at least one filter criteria
1206
+ // GraphQL requires a non-empty where clause for findMany
1207
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1208
+ throw new Error(`findManyTradeAuditEvent requires at least one filter criterion. Received empty where clause.`);
1209
+ }
1205
1210
  const response = await client.query({
1206
1211
  query: FIND_MANY_TRADEAUDITEVENT,
1207
1212
  variables: filteredVariables,
@@ -931,6 +931,11 @@ exports.TradeExecutionHistory = {
931
931
  },
932
932
  };
933
933
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
934
+ // Validate that we have at least one filter criteria
935
+ // GraphQL requires a non-empty where clause for findMany
936
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
937
+ throw new Error(`findManyTradeExecutionHistory requires at least one filter criterion. Received empty where clause.`);
938
+ }
934
939
  const response = await client.query({
935
940
  query: FIND_MANY_TRADEEXECUTIONHISTORY,
936
941
  variables: filteredVariables,
package/TradeOutcome.cjs CHANGED
@@ -1170,6 +1170,11 @@ exports.TradeOutcome = {
1170
1170
  },
1171
1171
  };
1172
1172
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1173
+ // Validate that we have at least one filter criteria
1174
+ // GraphQL requires a non-empty where clause for findMany
1175
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1176
+ throw new Error(`findManyTradeOutcome requires at least one filter criterion. Received empty where clause.`);
1177
+ }
1173
1178
  const response = await client.query({
1174
1179
  query: FIND_MANY_TRADEOUTCOME,
1175
1180
  variables: filteredVariables,
package/TradingPolicy.cjs CHANGED
@@ -6551,6 +6551,11 @@ exports.TradingPolicy = {
6551
6551
  },
6552
6552
  };
6553
6553
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
6554
+ // Validate that we have at least one filter criteria
6555
+ // GraphQL requires a non-empty where clause for findMany
6556
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
6557
+ throw new Error(`findManyTradingPolicy requires at least one filter criterion. Received empty where clause.`);
6558
+ }
6554
6559
  const response = await client.query({
6555
6560
  query: FIND_MANY_TRADINGPOLICY,
6556
6561
  variables: filteredVariables,
package/User.cjs CHANGED
@@ -5959,6 +5959,11 @@ exports.User = {
5959
5959
  },
5960
5960
  };
5961
5961
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
5962
+ // Validate that we have at least one filter criteria
5963
+ // GraphQL requires a non-empty where clause for findMany
5964
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
5965
+ throw new Error(`findManyUser requires at least one filter criterion. Received empty where clause.`);
5966
+ }
5962
5967
  const response = await client.query({
5963
5968
  query: FIND_MANY_USER,
5964
5969
  variables: filteredVariables,
@@ -901,6 +901,11 @@ exports.VerificationToken = {
901
901
  },
902
902
  };
903
903
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
904
+ // Validate that we have at least one filter criteria
905
+ // GraphQL requires a non-empty where clause for findMany
906
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
907
+ throw new Error(`findManyVerificationToken requires at least one filter criterion. Received empty where clause.`);
908
+ }
904
909
  const response = await client.query({
905
910
  query: FIND_MANY_VERIFICATIONTOKEN,
906
911
  variables: filteredVariables,
package/WaitlistEntry.cjs CHANGED
@@ -6406,6 +6406,11 @@ exports.WaitlistEntry = {
6406
6406
  },
6407
6407
  };
6408
6408
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
6409
+ // Validate that we have at least one filter criteria
6410
+ // GraphQL requires a non-empty where clause for findMany
6411
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
6412
+ throw new Error(`findManyWaitlistEntry requires at least one filter criterion. Received empty where clause.`);
6413
+ }
6409
6414
  const response = await client.query({
6410
6415
  query: FIND_MANY_WAITLISTENTRY,
6411
6416
  variables: filteredVariables,
@@ -1 +1 @@
1
- {"version":3,"file":"ABTest.d.ts","sourceRoot":"","sources":["../../src/ABTest.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAA4B,gBAAgB,E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