@adaptic/backend-legacy 0.0.946 → 0.0.948

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 (269) hide show
  1. package/ABTest.cjs +14 -9
  2. package/Account.cjs +14 -9
  3. package/AccountDecisionRecord.cjs +14 -9
  4. package/AccountLinkingRequest.cjs +14 -9
  5. package/Action.cjs +14 -9
  6. package/Alert.cjs +14 -9
  7. package/Allocation.cjs +14 -9
  8. package/AlpacaAccount.cjs +14 -9
  9. package/AnalyticsConfiguration.cjs +14 -9
  10. package/AnalyticsSnapshot.cjs +14 -9
  11. package/Asset.cjs +14 -9
  12. package/AuditLog.cjs +14 -9
  13. package/Authenticator.cjs +14 -9
  14. package/Configuration.cjs +14 -9
  15. package/ConflictEvent.cjs +14 -9
  16. package/ConnectionHealthSnapshot.cjs +14 -9
  17. package/Customer.cjs +14 -9
  18. package/DeadLetterMessage.cjs +14 -9
  19. package/DecisionMemorySummary.cjs +14 -9
  20. package/EconomicEvent.cjs +14 -9
  21. package/EquityBar.cjs +14 -9
  22. package/Event.cjs +14 -9
  23. package/EventSnapshot.cjs +14 -9
  24. package/FeatureImportanceAnalysis.cjs +14 -9
  25. package/InstitutionalFlowSignal.cjs +14 -9
  26. package/InstitutionalHolding.cjs +14 -9
  27. package/InstitutionalSentimentAlerts.cjs +14 -9
  28. package/InstitutionalSentimentErrors.cjs +14 -9
  29. package/InstitutionalSentimentHistory.cjs +14 -9
  30. package/InstitutionalSentimentMetrics.cjs +14 -9
  31. package/InviteToken.cjs +14 -9
  32. package/LinkedProvider.cjs +14 -9
  33. package/LlmConfiguration.cjs +14 -9
  34. package/MLModelVersion.cjs +14 -9
  35. package/MLTrainingData.cjs +14 -9
  36. package/MarketSentiment.cjs +14 -9
  37. package/ModelArtifact.cjs +14 -9
  38. package/ModelVersion.cjs +14 -9
  39. package/ModelVersionArtifact.cjs +14 -9
  40. package/NewsArticle.cjs +14 -9
  41. package/NewsArticleAssetSentiment.cjs +14 -9
  42. package/OptionsContract.cjs +14 -9
  43. package/OptionsGreeksHistory.cjs +14 -9
  44. package/OptionsPosition.cjs +14 -9
  45. package/OptionsPositionEvent.cjs +14 -9
  46. package/OptionsTradeExecution.cjs +14 -9
  47. package/PolicyOverlay.cjs +14 -9
  48. package/PortfolioGreeksHistory.cjs +14 -9
  49. package/ScheduledOptionOrder.cjs +14 -9
  50. package/Session.cjs +14 -9
  51. package/SignalGeneratorMetrics.cjs +14 -9
  52. package/SignalLineage.cjs +14 -9
  53. package/SignalOutcome.cjs +14 -9
  54. package/SignalPriorityQueue.cjs +14 -9
  55. package/SyncEvent.cjs +14 -9
  56. package/SystemAlert.cjs +14 -9
  57. package/Trade.cjs +14 -9
  58. package/TradeAuditEvent.cjs +14 -9
  59. package/TradeExecutionHistory.cjs +14 -9
  60. package/TradeOutcome.cjs +14 -9
  61. package/TradingPolicy.cjs +14 -9
  62. package/User.cjs +14 -9
  63. package/VerificationToken.cjs +14 -9
  64. package/WaitlistEntry.cjs +14 -9
  65. package/client.cjs +28 -4
  66. package/client.d.ts +17 -4
  67. package/esm/ABTest.d.ts.map +1 -1
  68. package/esm/ABTest.js.map +1 -1
  69. package/esm/ABTest.mjs +15 -10
  70. package/esm/Account.d.ts.map +1 -1
  71. package/esm/Account.js.map +1 -1
  72. package/esm/Account.mjs +15 -10
  73. package/esm/AccountDecisionRecord.d.ts.map +1 -1
  74. package/esm/AccountDecisionRecord.js.map +1 -1
  75. package/esm/AccountDecisionRecord.mjs +15 -10
  76. package/esm/AccountLinkingRequest.d.ts.map +1 -1
  77. package/esm/AccountLinkingRequest.js.map +1 -1
  78. package/esm/AccountLinkingRequest.mjs +15 -10
  79. package/esm/Action.d.ts.map +1 -1
  80. package/esm/Action.js.map +1 -1
  81. package/esm/Action.mjs +15 -10
  82. package/esm/Alert.d.ts.map +1 -1
  83. package/esm/Alert.js.map +1 -1
  84. package/esm/Alert.mjs +15 -10
  85. package/esm/Allocation.d.ts.map +1 -1
  86. package/esm/Allocation.js.map +1 -1
  87. package/esm/Allocation.mjs +15 -10
  88. package/esm/AlpacaAccount.d.ts.map +1 -1
  89. package/esm/AlpacaAccount.js.map +1 -1
  90. package/esm/AlpacaAccount.mjs +15 -10
  91. package/esm/AnalyticsConfiguration.d.ts.map +1 -1
  92. package/esm/AnalyticsConfiguration.js.map +1 -1
  93. package/esm/AnalyticsConfiguration.mjs +15 -10
  94. package/esm/AnalyticsSnapshot.d.ts.map +1 -1
  95. package/esm/AnalyticsSnapshot.js.map +1 -1
  96. package/esm/AnalyticsSnapshot.mjs +15 -10
  97. package/esm/Asset.d.ts.map +1 -1
  98. package/esm/Asset.js.map +1 -1
  99. package/esm/Asset.mjs +15 -10
  100. package/esm/AuditLog.d.ts.map +1 -1
  101. package/esm/AuditLog.js.map +1 -1
  102. package/esm/AuditLog.mjs +15 -10
  103. package/esm/Authenticator.d.ts.map +1 -1
  104. package/esm/Authenticator.js.map +1 -1
  105. package/esm/Authenticator.mjs +15 -10
  106. package/esm/Configuration.d.ts.map +1 -1
  107. package/esm/Configuration.js.map +1 -1
  108. package/esm/Configuration.mjs +15 -10
  109. package/esm/ConflictEvent.d.ts.map +1 -1
  110. package/esm/ConflictEvent.js.map +1 -1
  111. package/esm/ConflictEvent.mjs +15 -10
  112. package/esm/ConnectionHealthSnapshot.d.ts.map +1 -1
  113. package/esm/ConnectionHealthSnapshot.js.map +1 -1
  114. package/esm/ConnectionHealthSnapshot.mjs +15 -10
  115. package/esm/Customer.d.ts.map +1 -1
  116. package/esm/Customer.js.map +1 -1
  117. package/esm/Customer.mjs +15 -10
  118. package/esm/DeadLetterMessage.d.ts.map +1 -1
  119. package/esm/DeadLetterMessage.js.map +1 -1
  120. package/esm/DeadLetterMessage.mjs +15 -10
  121. package/esm/DecisionMemorySummary.d.ts.map +1 -1
  122. package/esm/DecisionMemorySummary.js.map +1 -1
  123. package/esm/DecisionMemorySummary.mjs +15 -10
  124. package/esm/EconomicEvent.d.ts.map +1 -1
  125. package/esm/EconomicEvent.js.map +1 -1
  126. package/esm/EconomicEvent.mjs +15 -10
  127. package/esm/EquityBar.d.ts.map +1 -1
  128. package/esm/EquityBar.js.map +1 -1
  129. package/esm/EquityBar.mjs +15 -10
  130. package/esm/Event.d.ts.map +1 -1
  131. package/esm/Event.js.map +1 -1
  132. package/esm/Event.mjs +15 -10
  133. package/esm/EventSnapshot.d.ts.map +1 -1
  134. package/esm/EventSnapshot.js.map +1 -1
  135. package/esm/EventSnapshot.mjs +15 -10
  136. package/esm/FeatureImportanceAnalysis.d.ts.map +1 -1
  137. package/esm/FeatureImportanceAnalysis.js.map +1 -1
  138. package/esm/FeatureImportanceAnalysis.mjs +15 -10
  139. package/esm/InstitutionalFlowSignal.d.ts.map +1 -1
  140. package/esm/InstitutionalFlowSignal.js.map +1 -1
  141. package/esm/InstitutionalFlowSignal.mjs +15 -10
  142. package/esm/InstitutionalHolding.d.ts.map +1 -1
  143. package/esm/InstitutionalHolding.js.map +1 -1
  144. package/esm/InstitutionalHolding.mjs +15 -10
  145. package/esm/InstitutionalSentimentAlerts.d.ts.map +1 -1
  146. package/esm/InstitutionalSentimentAlerts.js.map +1 -1
  147. package/esm/InstitutionalSentimentAlerts.mjs +15 -10
  148. package/esm/InstitutionalSentimentErrors.d.ts.map +1 -1
  149. package/esm/InstitutionalSentimentErrors.js.map +1 -1
  150. package/esm/InstitutionalSentimentErrors.mjs +15 -10
  151. package/esm/InstitutionalSentimentHistory.d.ts.map +1 -1
  152. package/esm/InstitutionalSentimentHistory.js.map +1 -1
  153. package/esm/InstitutionalSentimentHistory.mjs +15 -10
  154. package/esm/InstitutionalSentimentMetrics.d.ts.map +1 -1
  155. package/esm/InstitutionalSentimentMetrics.js.map +1 -1
  156. package/esm/InstitutionalSentimentMetrics.mjs +15 -10
  157. package/esm/InviteToken.d.ts.map +1 -1
  158. package/esm/InviteToken.js.map +1 -1
  159. package/esm/InviteToken.mjs +15 -10
  160. package/esm/LinkedProvider.d.ts.map +1 -1
  161. package/esm/LinkedProvider.js.map +1 -1
  162. package/esm/LinkedProvider.mjs +15 -10
  163. package/esm/LlmConfiguration.d.ts.map +1 -1
  164. package/esm/LlmConfiguration.js.map +1 -1
  165. package/esm/LlmConfiguration.mjs +15 -10
  166. package/esm/MLModelVersion.d.ts.map +1 -1
  167. package/esm/MLModelVersion.js.map +1 -1
  168. package/esm/MLModelVersion.mjs +15 -10
  169. package/esm/MLTrainingData.d.ts.map +1 -1
  170. package/esm/MLTrainingData.js.map +1 -1
  171. package/esm/MLTrainingData.mjs +15 -10
  172. package/esm/MarketSentiment.d.ts.map +1 -1
  173. package/esm/MarketSentiment.js.map +1 -1
  174. package/esm/MarketSentiment.mjs +15 -10
  175. package/esm/ModelArtifact.d.ts.map +1 -1
  176. package/esm/ModelArtifact.js.map +1 -1
  177. package/esm/ModelArtifact.mjs +15 -10
  178. package/esm/ModelVersion.d.ts.map +1 -1
  179. package/esm/ModelVersion.js.map +1 -1
  180. package/esm/ModelVersion.mjs +15 -10
  181. package/esm/ModelVersionArtifact.d.ts.map +1 -1
  182. package/esm/ModelVersionArtifact.js.map +1 -1
  183. package/esm/ModelVersionArtifact.mjs +15 -10
  184. package/esm/NewsArticle.d.ts.map +1 -1
  185. package/esm/NewsArticle.js.map +1 -1
  186. package/esm/NewsArticle.mjs +15 -10
  187. package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
  188. package/esm/NewsArticleAssetSentiment.js.map +1 -1
  189. package/esm/NewsArticleAssetSentiment.mjs +15 -10
  190. package/esm/OptionsContract.d.ts.map +1 -1
  191. package/esm/OptionsContract.js.map +1 -1
  192. package/esm/OptionsContract.mjs +15 -10
  193. package/esm/OptionsGreeksHistory.d.ts.map +1 -1
  194. package/esm/OptionsGreeksHistory.js.map +1 -1
  195. package/esm/OptionsGreeksHistory.mjs +15 -10
  196. package/esm/OptionsPosition.d.ts.map +1 -1
  197. package/esm/OptionsPosition.js.map +1 -1
  198. package/esm/OptionsPosition.mjs +15 -10
  199. package/esm/OptionsPositionEvent.d.ts.map +1 -1
  200. package/esm/OptionsPositionEvent.js.map +1 -1
  201. package/esm/OptionsPositionEvent.mjs +15 -10
  202. package/esm/OptionsTradeExecution.d.ts.map +1 -1
  203. package/esm/OptionsTradeExecution.js.map +1 -1
  204. package/esm/OptionsTradeExecution.mjs +15 -10
  205. package/esm/PolicyOverlay.d.ts.map +1 -1
  206. package/esm/PolicyOverlay.js.map +1 -1
  207. package/esm/PolicyOverlay.mjs +15 -10
  208. package/esm/PortfolioGreeksHistory.d.ts.map +1 -1
  209. package/esm/PortfolioGreeksHistory.js.map +1 -1
  210. package/esm/PortfolioGreeksHistory.mjs +15 -10
  211. package/esm/ScheduledOptionOrder.d.ts.map +1 -1
  212. package/esm/ScheduledOptionOrder.js.map +1 -1
  213. package/esm/ScheduledOptionOrder.mjs +15 -10
  214. package/esm/Session.d.ts.map +1 -1
  215. package/esm/Session.js.map +1 -1
  216. package/esm/Session.mjs +15 -10
  217. package/esm/SignalGeneratorMetrics.d.ts.map +1 -1
  218. package/esm/SignalGeneratorMetrics.js.map +1 -1
  219. package/esm/SignalGeneratorMetrics.mjs +15 -10
  220. package/esm/SignalLineage.d.ts.map +1 -1
  221. package/esm/SignalLineage.js.map +1 -1
  222. package/esm/SignalLineage.mjs +15 -10
  223. package/esm/SignalOutcome.d.ts.map +1 -1
  224. package/esm/SignalOutcome.js.map +1 -1
  225. package/esm/SignalOutcome.mjs +15 -10
  226. package/esm/SignalPriorityQueue.d.ts.map +1 -1
  227. package/esm/SignalPriorityQueue.js.map +1 -1
  228. package/esm/SignalPriorityQueue.mjs +15 -10
  229. package/esm/SyncEvent.d.ts.map +1 -1
  230. package/esm/SyncEvent.js.map +1 -1
  231. package/esm/SyncEvent.mjs +15 -10
  232. package/esm/SystemAlert.d.ts.map +1 -1
  233. package/esm/SystemAlert.js.map +1 -1
  234. package/esm/SystemAlert.mjs +15 -10
  235. package/esm/Trade.d.ts.map +1 -1
  236. package/esm/Trade.js.map +1 -1
  237. package/esm/Trade.mjs +15 -10
  238. package/esm/TradeAuditEvent.d.ts.map +1 -1
  239. package/esm/TradeAuditEvent.js.map +1 -1
  240. package/esm/TradeAuditEvent.mjs +15 -10
  241. package/esm/TradeExecutionHistory.d.ts.map +1 -1
  242. package/esm/TradeExecutionHistory.js.map +1 -1
  243. package/esm/TradeExecutionHistory.mjs +15 -10
  244. package/esm/TradeOutcome.d.ts.map +1 -1
  245. package/esm/TradeOutcome.js.map +1 -1
  246. package/esm/TradeOutcome.mjs +15 -10
  247. package/esm/TradingPolicy.d.ts.map +1 -1
  248. package/esm/TradingPolicy.js.map +1 -1
  249. package/esm/TradingPolicy.mjs +15 -10
  250. package/esm/User.d.ts.map +1 -1
  251. package/esm/User.js.map +1 -1
  252. package/esm/User.mjs +15 -10
  253. package/esm/VerificationToken.d.ts.map +1 -1
  254. package/esm/VerificationToken.js.map +1 -1
  255. package/esm/VerificationToken.mjs +15 -10
  256. package/esm/WaitlistEntry.d.ts.map +1 -1
  257. package/esm/WaitlistEntry.js.map +1 -1
  258. package/esm/WaitlistEntry.mjs +15 -10
  259. package/esm/client.d.ts +17 -4
  260. package/esm/client.d.ts.map +1 -1
  261. package/esm/client.js.map +1 -1
  262. package/esm/client.mjs +27 -4
  263. package/esm/index.d.ts +1 -1
  264. package/esm/index.d.ts.map +1 -1
  265. package/esm/index.js.map +1 -1
  266. package/esm/index.mjs +1 -1
  267. package/index.cjs +2 -1
  268. package/index.d.ts +1 -1
  269. package/package.json +1 -1
package/Event.cjs CHANGED
@@ -63,7 +63,7 @@ exports.Event = {
63
63
  (0, client_1.getApolloModules)(),
64
64
  globalClient
65
65
  ? Promise.resolve(globalClient)
66
- : client_1.client
66
+ : (0, client_1.getApolloClient)()
67
67
  ]);
68
68
  const { gql, ApolloError } = modules;
69
69
  const CREATE_ONE_EVENT = gql `
@@ -190,7 +190,7 @@ exports.Event = {
190
190
  (0, client_1.getApolloModules)(),
191
191
  globalClient
192
192
  ? Promise.resolve(globalClient)
193
- : client_1.client
193
+ : (0, client_1.getApolloClient)()
194
194
  ]);
195
195
  const { gql, ApolloError } = modules;
196
196
  const CREATE_MANY_EVENT = gql `
@@ -315,7 +315,7 @@ exports.Event = {
315
315
  (0, client_1.getApolloModules)(),
316
316
  globalClient
317
317
  ? Promise.resolve(globalClient)
318
- : client_1.client
318
+ : (0, client_1.getApolloClient)()
319
319
  ]);
320
320
  const { gql, ApolloError } = modules;
321
321
  const UPDATE_ONE_EVENT = gql `
@@ -491,7 +491,7 @@ exports.Event = {
491
491
  (0, client_1.getApolloModules)(),
492
492
  globalClient
493
493
  ? Promise.resolve(globalClient)
494
- : client_1.client
494
+ : (0, client_1.getApolloClient)()
495
495
  ]);
496
496
  const { gql, ApolloError } = modules;
497
497
  const UPSERT_ONE_EVENT = gql `
@@ -707,7 +707,7 @@ exports.Event = {
707
707
  (0, client_1.getApolloModules)(),
708
708
  globalClient
709
709
  ? Promise.resolve(globalClient)
710
- : client_1.client
710
+ : (0, client_1.getApolloClient)()
711
711
  ]);
712
712
  const { gql, ApolloError } = modules;
713
713
  const UPDATE_MANY_EVENT = gql `
@@ -880,7 +880,7 @@ exports.Event = {
880
880
  (0, client_1.getApolloModules)(),
881
881
  globalClient
882
882
  ? Promise.resolve(globalClient)
883
- : client_1.client
883
+ : (0, client_1.getApolloClient)()
884
884
  ]);
885
885
  const { gql, ApolloError } = modules;
886
886
  const DELETE_ONE_EVENT = gql `
@@ -991,7 +991,7 @@ exports.Event = {
991
991
  (0, client_1.getApolloModules)(),
992
992
  globalClient
993
993
  ? Promise.resolve(globalClient)
994
- : client_1.client
994
+ : (0, client_1.getApolloClient)()
995
995
  ]);
996
996
  const { gql, ApolloError } = modules;
997
997
  const GET_EVENT = gql `
@@ -1096,7 +1096,7 @@ exports.Event = {
1096
1096
  (0, client_1.getApolloModules)(),
1097
1097
  globalClient
1098
1098
  ? Promise.resolve(globalClient)
1099
- : client_1.client
1099
+ : (0, client_1.getApolloClient)()
1100
1100
  ]);
1101
1101
  const { gql, ApolloError } = modules;
1102
1102
  const GET_ALL_EVENT = gql `
@@ -1171,7 +1171,7 @@ exports.Event = {
1171
1171
  (0, client_1.getApolloModules)(),
1172
1172
  globalClient
1173
1173
  ? Promise.resolve(globalClient)
1174
- : client_1.client
1174
+ : (0, client_1.getApolloClient)()
1175
1175
  ]);
1176
1176
  const { gql, ApolloError } = modules;
1177
1177
  const FIND_MANY_EVENT = gql `
@@ -1215,6 +1215,11 @@ exports.Event = {
1215
1215
  },
1216
1216
  };
1217
1217
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1218
+ // Validate that we have at least one filter criteria
1219
+ // GraphQL requires a non-empty where clause for findMany
1220
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1221
+ throw new Error(`findManyEvent requires at least one filter criterion. Received empty where clause.`);
1222
+ }
1218
1223
  const response = await client.query({
1219
1224
  query: FIND_MANY_EVENT,
1220
1225
  variables: filteredVariables,
package/EventSnapshot.cjs CHANGED
@@ -46,7 +46,7 @@ exports.EventSnapshot = {
46
46
  (0, client_1.getApolloModules)(),
47
47
  globalClient
48
48
  ? Promise.resolve(globalClient)
49
- : client_1.client
49
+ : (0, client_1.getApolloClient)()
50
50
  ]);
51
51
  const { gql, ApolloError } = modules;
52
52
  const CREATE_ONE_EVENTSNAPSHOT = gql `
@@ -156,7 +156,7 @@ exports.EventSnapshot = {
156
156
  (0, client_1.getApolloModules)(),
157
157
  globalClient
158
158
  ? Promise.resolve(globalClient)
159
- : client_1.client
159
+ : (0, client_1.getApolloClient)()
160
160
  ]);
161
161
  const { gql, ApolloError } = modules;
162
162
  const CREATE_MANY_EVENTSNAPSHOT = gql `
@@ -264,7 +264,7 @@ exports.EventSnapshot = {
264
264
  (0, client_1.getApolloModules)(),
265
265
  globalClient
266
266
  ? Promise.resolve(globalClient)
267
- : client_1.client
267
+ : (0, client_1.getApolloClient)()
268
268
  ]);
269
269
  const { gql, ApolloError } = modules;
270
270
  const UPDATE_ONE_EVENTSNAPSHOT = gql `
@@ -395,7 +395,7 @@ exports.EventSnapshot = {
395
395
  (0, client_1.getApolloModules)(),
396
396
  globalClient
397
397
  ? Promise.resolve(globalClient)
398
- : client_1.client
398
+ : (0, client_1.getApolloClient)()
399
399
  ]);
400
400
  const { gql, ApolloError } = modules;
401
401
  const UPSERT_ONE_EVENTSNAPSHOT = gql `
@@ -527,7 +527,7 @@ exports.EventSnapshot = {
527
527
  (0, client_1.getApolloModules)(),
528
528
  globalClient
529
529
  ? Promise.resolve(globalClient)
530
- : client_1.client
530
+ : (0, client_1.getApolloClient)()
531
531
  ]);
532
532
  const { gql, ApolloError } = modules;
533
533
  const UPDATE_MANY_EVENTSNAPSHOT = gql `
@@ -655,7 +655,7 @@ exports.EventSnapshot = {
655
655
  (0, client_1.getApolloModules)(),
656
656
  globalClient
657
657
  ? Promise.resolve(globalClient)
658
- : client_1.client
658
+ : (0, client_1.getApolloClient)()
659
659
  ]);
660
660
  const { gql, ApolloError } = modules;
661
661
  const DELETE_ONE_EVENTSNAPSHOT = gql `
@@ -766,7 +766,7 @@ exports.EventSnapshot = {
766
766
  (0, client_1.getApolloModules)(),
767
767
  globalClient
768
768
  ? Promise.resolve(globalClient)
769
- : client_1.client
769
+ : (0, client_1.getApolloClient)()
770
770
  ]);
771
771
  const { gql, ApolloError } = modules;
772
772
  const GET_EVENTSNAPSHOT = gql `
@@ -849,7 +849,7 @@ exports.EventSnapshot = {
849
849
  (0, client_1.getApolloModules)(),
850
850
  globalClient
851
851
  ? Promise.resolve(globalClient)
852
- : client_1.client
852
+ : (0, client_1.getApolloClient)()
853
853
  ]);
854
854
  const { gql, ApolloError } = modules;
855
855
  const GET_ALL_EVENTSNAPSHOT = gql `
@@ -924,7 +924,7 @@ exports.EventSnapshot = {
924
924
  (0, client_1.getApolloModules)(),
925
925
  globalClient
926
926
  ? Promise.resolve(globalClient)
927
- : client_1.client
927
+ : (0, client_1.getApolloClient)()
928
928
  ]);
929
929
  const { gql, ApolloError } = modules;
930
930
  const FIND_MANY_EVENTSNAPSHOT = gql `
@@ -944,6 +944,11 @@ exports.EventSnapshot = {
944
944
  },
945
945
  };
946
946
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
947
+ // Validate that we have at least one filter criteria
948
+ // GraphQL requires a non-empty where clause for findMany
949
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
950
+ throw new Error(`findManyEventSnapshot requires at least one filter criterion. Received empty where clause.`);
951
+ }
947
952
  const response = await client.query({
948
953
  query: FIND_MANY_EVENTSNAPSHOT,
949
954
  variables: filteredVariables,
@@ -126,7 +126,7 @@ exports.FeatureImportanceAnalysis = {
126
126
  (0, client_1.getApolloModules)(),
127
127
  globalClient
128
128
  ? Promise.resolve(globalClient)
129
- : client_1.client
129
+ : (0, client_1.getApolloClient)()
130
130
  ]);
131
131
  const { gql, ApolloError } = modules;
132
132
  const CREATE_ONE_FEATUREIMPORTANCEANALYSIS = gql `
@@ -1043,7 +1043,7 @@ exports.FeatureImportanceAnalysis = {
1043
1043
  (0, client_1.getApolloModules)(),
1044
1044
  globalClient
1045
1045
  ? Promise.resolve(globalClient)
1046
- : client_1.client
1046
+ : (0, client_1.getApolloClient)()
1047
1047
  ]);
1048
1048
  const { gql, ApolloError } = modules;
1049
1049
  const CREATE_MANY_FEATUREIMPORTANCEANALYSIS = gql `
@@ -1161,7 +1161,7 @@ exports.FeatureImportanceAnalysis = {
1161
1161
  (0, client_1.getApolloModules)(),
1162
1162
  globalClient
1163
1163
  ? Promise.resolve(globalClient)
1164
- : client_1.client
1164
+ : (0, client_1.getApolloClient)()
1165
1165
  ]);
1166
1166
  const { gql, ApolloError } = modules;
1167
1167
  const UPDATE_ONE_FEATUREIMPORTANCEANALYSIS = gql `
@@ -4517,7 +4517,7 @@ exports.FeatureImportanceAnalysis = {
4517
4517
  (0, client_1.getApolloModules)(),
4518
4518
  globalClient
4519
4519
  ? Promise.resolve(globalClient)
4520
- : client_1.client
4520
+ : (0, client_1.getApolloClient)()
4521
4521
  ]);
4522
4522
  const { gql, ApolloError } = modules;
4523
4523
  const UPSERT_ONE_FEATUREIMPORTANCEANALYSIS = gql `
@@ -8681,7 +8681,7 @@ exports.FeatureImportanceAnalysis = {
8681
8681
  (0, client_1.getApolloModules)(),
8682
8682
  globalClient
8683
8683
  ? Promise.resolve(globalClient)
8684
- : client_1.client
8684
+ : (0, client_1.getApolloClient)()
8685
8685
  ]);
8686
8686
  const { gql, ApolloError } = modules;
8687
8687
  const UPDATE_MANY_FEATUREIMPORTANCEANALYSIS = gql `
@@ -12034,7 +12034,7 @@ exports.FeatureImportanceAnalysis = {
12034
12034
  (0, client_1.getApolloModules)(),
12035
12035
  globalClient
12036
12036
  ? Promise.resolve(globalClient)
12037
- : client_1.client
12037
+ : (0, client_1.getApolloClient)()
12038
12038
  ]);
12039
12039
  const { gql, ApolloError } = modules;
12040
12040
  const DELETE_ONE_FEATUREIMPORTANCEANALYSIS = gql `
@@ -12145,7 +12145,7 @@ exports.FeatureImportanceAnalysis = {
12145
12145
  (0, client_1.getApolloModules)(),
12146
12146
  globalClient
12147
12147
  ? Promise.resolve(globalClient)
12148
- : client_1.client
12148
+ : (0, client_1.getApolloClient)()
12149
12149
  ]);
12150
12150
  const { gql, ApolloError } = modules;
12151
12151
  const GET_FEATUREIMPORTANCEANALYSIS = gql `
@@ -12228,7 +12228,7 @@ exports.FeatureImportanceAnalysis = {
12228
12228
  (0, client_1.getApolloModules)(),
12229
12229
  globalClient
12230
12230
  ? Promise.resolve(globalClient)
12231
- : client_1.client
12231
+ : (0, client_1.getApolloClient)()
12232
12232
  ]);
12233
12233
  const { gql, ApolloError } = modules;
12234
12234
  const GET_ALL_FEATUREIMPORTANCEANALYSIS = gql `
@@ -12303,7 +12303,7 @@ exports.FeatureImportanceAnalysis = {
12303
12303
  (0, client_1.getApolloModules)(),
12304
12304
  globalClient
12305
12305
  ? Promise.resolve(globalClient)
12306
- : client_1.client
12306
+ : (0, client_1.getApolloClient)()
12307
12307
  ]);
12308
12308
  const { gql, ApolloError } = modules;
12309
12309
  const FIND_MANY_FEATUREIMPORTANCEANALYSIS = gql `
@@ -12323,6 +12323,11 @@ exports.FeatureImportanceAnalysis = {
12323
12323
  },
12324
12324
  };
12325
12325
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
12326
+ // Validate that we have at least one filter criteria
12327
+ // GraphQL requires a non-empty where clause for findMany
12328
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
12329
+ throw new Error(`findManyFeatureImportanceAnalysis requires at least one filter criterion. Received empty where clause.`);
12330
+ }
12326
12331
  const response = await client.query({
12327
12332
  query: FIND_MANY_FEATUREIMPORTANCEANALYSIS,
12328
12333
  variables: filteredVariables,
@@ -107,7 +107,7 @@ exports.InstitutionalFlowSignal = {
107
107
  (0, client_1.getApolloModules)(),
108
108
  globalClient
109
109
  ? Promise.resolve(globalClient)
110
- : client_1.client
110
+ : (0, client_1.getApolloClient)()
111
111
  ]);
112
112
  const { gql, ApolloError } = modules;
113
113
  const CREATE_ONE_INSTITUTIONALFLOWSIGNAL = gql `
@@ -375,7 +375,7 @@ exports.InstitutionalFlowSignal = {
375
375
  (0, client_1.getApolloModules)(),
376
376
  globalClient
377
377
  ? Promise.resolve(globalClient)
378
- : client_1.client
378
+ : (0, client_1.getApolloClient)()
379
379
  ]);
380
380
  const { gql, ApolloError } = modules;
381
381
  const CREATE_MANY_INSTITUTIONALFLOWSIGNAL = gql `
@@ -485,7 +485,7 @@ exports.InstitutionalFlowSignal = {
485
485
  (0, client_1.getApolloModules)(),
486
486
  globalClient
487
487
  ? Promise.resolve(globalClient)
488
- : client_1.client
488
+ : (0, client_1.getApolloClient)()
489
489
  ]);
490
490
  const { gql, ApolloError } = modules;
491
491
  const UPDATE_ONE_INSTITUTIONALFLOWSIGNAL = gql `
@@ -1163,7 +1163,7 @@ exports.InstitutionalFlowSignal = {
1163
1163
  (0, client_1.getApolloModules)(),
1164
1164
  globalClient
1165
1165
  ? Promise.resolve(globalClient)
1166
- : client_1.client
1166
+ : (0, client_1.getApolloClient)()
1167
1167
  ]);
1168
1168
  const { gql, ApolloError } = modules;
1169
1169
  const UPSERT_ONE_INSTITUTIONALFLOWSIGNAL = gql `
@@ -2003,7 +2003,7 @@ exports.InstitutionalFlowSignal = {
2003
2003
  (0, client_1.getApolloModules)(),
2004
2004
  globalClient
2005
2005
  ? Promise.resolve(globalClient)
2006
- : client_1.client
2006
+ : (0, client_1.getApolloClient)()
2007
2007
  ]);
2008
2008
  const { gql, ApolloError } = modules;
2009
2009
  const UPDATE_MANY_INSTITUTIONALFLOWSIGNAL = gql `
@@ -2678,7 +2678,7 @@ exports.InstitutionalFlowSignal = {
2678
2678
  (0, client_1.getApolloModules)(),
2679
2679
  globalClient
2680
2680
  ? Promise.resolve(globalClient)
2681
- : client_1.client
2681
+ : (0, client_1.getApolloClient)()
2682
2682
  ]);
2683
2683
  const { gql, ApolloError } = modules;
2684
2684
  const DELETE_ONE_INSTITUTIONALFLOWSIGNAL = gql `
@@ -2789,7 +2789,7 @@ exports.InstitutionalFlowSignal = {
2789
2789
  (0, client_1.getApolloModules)(),
2790
2790
  globalClient
2791
2791
  ? Promise.resolve(globalClient)
2792
- : client_1.client
2792
+ : (0, client_1.getApolloClient)()
2793
2793
  ]);
2794
2794
  const { gql, ApolloError } = modules;
2795
2795
  const GET_INSTITUTIONALFLOWSIGNAL = gql `
@@ -2872,7 +2872,7 @@ exports.InstitutionalFlowSignal = {
2872
2872
  (0, client_1.getApolloModules)(),
2873
2873
  globalClient
2874
2874
  ? Promise.resolve(globalClient)
2875
- : client_1.client
2875
+ : (0, client_1.getApolloClient)()
2876
2876
  ]);
2877
2877
  const { gql, ApolloError } = modules;
2878
2878
  const GET_ALL_INSTITUTIONALFLOWSIGNAL = gql `
@@ -2947,7 +2947,7 @@ exports.InstitutionalFlowSignal = {
2947
2947
  (0, client_1.getApolloModules)(),
2948
2948
  globalClient
2949
2949
  ? Promise.resolve(globalClient)
2950
- : client_1.client
2950
+ : (0, client_1.getApolloClient)()
2951
2951
  ]);
2952
2952
  const { gql, ApolloError } = modules;
2953
2953
  const FIND_MANY_INSTITUTIONALFLOWSIGNAL = gql `
@@ -2967,6 +2967,11 @@ exports.InstitutionalFlowSignal = {
2967
2967
  },
2968
2968
  };
2969
2969
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
2970
+ // Validate that we have at least one filter criteria
2971
+ // GraphQL requires a non-empty where clause for findMany
2972
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
2973
+ throw new Error(`findManyInstitutionalFlowSignal requires at least one filter criterion. Received empty where clause.`);
2974
+ }
2970
2975
  const response = await client.query({
2971
2976
  query: FIND_MANY_INSTITUTIONALFLOWSIGNAL,
2972
2977
  variables: filteredVariables,
@@ -111,7 +111,7 @@ exports.InstitutionalHolding = {
111
111
  (0, client_1.getApolloModules)(),
112
112
  globalClient
113
113
  ? Promise.resolve(globalClient)
114
- : client_1.client
114
+ : (0, client_1.getApolloClient)()
115
115
  ]);
116
116
  const { gql, ApolloError } = modules;
117
117
  const CREATE_ONE_INSTITUTIONALHOLDING = gql `
@@ -379,7 +379,7 @@ exports.InstitutionalHolding = {
379
379
  (0, client_1.getApolloModules)(),
380
380
  globalClient
381
381
  ? Promise.resolve(globalClient)
382
- : client_1.client
382
+ : (0, client_1.getApolloClient)()
383
383
  ]);
384
384
  const { gql, ApolloError } = modules;
385
385
  const CREATE_MANY_INSTITUTIONALHOLDING = gql `
@@ -492,7 +492,7 @@ exports.InstitutionalHolding = {
492
492
  (0, client_1.getApolloModules)(),
493
493
  globalClient
494
494
  ? Promise.resolve(globalClient)
495
- : client_1.client
495
+ : (0, client_1.getApolloClient)()
496
496
  ]);
497
497
  const { gql, ApolloError } = modules;
498
498
  const UPDATE_ONE_INSTITUTIONALHOLDING = gql `
@@ -1167,7 +1167,7 @@ exports.InstitutionalHolding = {
1167
1167
  (0, client_1.getApolloModules)(),
1168
1168
  globalClient
1169
1169
  ? Promise.resolve(globalClient)
1170
- : client_1.client
1170
+ : (0, client_1.getApolloClient)()
1171
1171
  ]);
1172
1172
  const { gql, ApolloError } = modules;
1173
1173
  const UPSERT_ONE_INSTITUTIONALHOLDING = gql `
@@ -2001,7 +2001,7 @@ exports.InstitutionalHolding = {
2001
2001
  (0, client_1.getApolloModules)(),
2002
2002
  globalClient
2003
2003
  ? Promise.resolve(globalClient)
2004
- : client_1.client
2004
+ : (0, client_1.getApolloClient)()
2005
2005
  ]);
2006
2006
  const { gql, ApolloError } = modules;
2007
2007
  const UPDATE_MANY_INSTITUTIONALHOLDING = gql `
@@ -2673,7 +2673,7 @@ exports.InstitutionalHolding = {
2673
2673
  (0, client_1.getApolloModules)(),
2674
2674
  globalClient
2675
2675
  ? Promise.resolve(globalClient)
2676
- : client_1.client
2676
+ : (0, client_1.getApolloClient)()
2677
2677
  ]);
2678
2678
  const { gql, ApolloError } = modules;
2679
2679
  const DELETE_ONE_INSTITUTIONALHOLDING = gql `
@@ -2784,7 +2784,7 @@ exports.InstitutionalHolding = {
2784
2784
  (0, client_1.getApolloModules)(),
2785
2785
  globalClient
2786
2786
  ? Promise.resolve(globalClient)
2787
- : client_1.client
2787
+ : (0, client_1.getApolloClient)()
2788
2788
  ]);
2789
2789
  const { gql, ApolloError } = modules;
2790
2790
  const GET_INSTITUTIONALHOLDING = gql `
@@ -2867,7 +2867,7 @@ exports.InstitutionalHolding = {
2867
2867
  (0, client_1.getApolloModules)(),
2868
2868
  globalClient
2869
2869
  ? Promise.resolve(globalClient)
2870
- : client_1.client
2870
+ : (0, client_1.getApolloClient)()
2871
2871
  ]);
2872
2872
  const { gql, ApolloError } = modules;
2873
2873
  const GET_ALL_INSTITUTIONALHOLDING = gql `
@@ -2942,7 +2942,7 @@ exports.InstitutionalHolding = {
2942
2942
  (0, client_1.getApolloModules)(),
2943
2943
  globalClient
2944
2944
  ? Promise.resolve(globalClient)
2945
- : client_1.client
2945
+ : (0, client_1.getApolloClient)()
2946
2946
  ]);
2947
2947
  const { gql, ApolloError } = modules;
2948
2948
  const FIND_MANY_INSTITUTIONALHOLDING = gql `
@@ -2962,6 +2962,11 @@ exports.InstitutionalHolding = {
2962
2962
  },
2963
2963
  };
2964
2964
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
2965
+ // Validate that we have at least one filter criteria
2966
+ // GraphQL requires a non-empty where clause for findMany
2967
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
2968
+ throw new Error(`findManyInstitutionalHolding requires at least one filter criterion. Received empty where clause.`);
2969
+ }
2965
2970
  const response = await client.query({
2966
2971
  query: FIND_MANY_INSTITUTIONALHOLDING,
2967
2972
  variables: filteredVariables,
@@ -50,7 +50,7 @@ exports.InstitutionalSentimentAlerts = {
50
50
  (0, client_1.getApolloModules)(),
51
51
  globalClient
52
52
  ? Promise.resolve(globalClient)
53
- : client_1.client
53
+ : (0, client_1.getApolloClient)()
54
54
  ]);
55
55
  const { gql, ApolloError } = modules;
56
56
  const CREATE_ONE_INSTITUTIONALSENTIMENTALERTS = gql `
@@ -164,7 +164,7 @@ exports.InstitutionalSentimentAlerts = {
164
164
  (0, client_1.getApolloModules)(),
165
165
  globalClient
166
166
  ? Promise.resolve(globalClient)
167
- : client_1.client
167
+ : (0, client_1.getApolloClient)()
168
168
  ]);
169
169
  const { gql, ApolloError } = modules;
170
170
  const CREATE_MANY_INSTITUTIONALSENTIMENTALERTS = gql `
@@ -276,7 +276,7 @@ exports.InstitutionalSentimentAlerts = {
276
276
  (0, client_1.getApolloModules)(),
277
277
  globalClient
278
278
  ? Promise.resolve(globalClient)
279
- : client_1.client
279
+ : (0, client_1.getApolloClient)()
280
280
  ]);
281
281
  const { gql, ApolloError } = modules;
282
282
  const UPDATE_ONE_INSTITUTIONALSENTIMENTALERTS = gql `
@@ -421,7 +421,7 @@ exports.InstitutionalSentimentAlerts = {
421
421
  (0, client_1.getApolloModules)(),
422
422
  globalClient
423
423
  ? Promise.resolve(globalClient)
424
- : client_1.client
424
+ : (0, client_1.getApolloClient)()
425
425
  ]);
426
426
  const { gql, ApolloError } = modules;
427
427
  const UPSERT_ONE_INSTITUTIONALSENTIMENTALERTS = gql `
@@ -571,7 +571,7 @@ exports.InstitutionalSentimentAlerts = {
571
571
  (0, client_1.getApolloModules)(),
572
572
  globalClient
573
573
  ? Promise.resolve(globalClient)
574
- : client_1.client
574
+ : (0, client_1.getApolloClient)()
575
575
  ]);
576
576
  const { gql, ApolloError } = modules;
577
577
  const UPDATE_MANY_INSTITUTIONALSENTIMENTALERTS = gql `
@@ -713,7 +713,7 @@ exports.InstitutionalSentimentAlerts = {
713
713
  (0, client_1.getApolloModules)(),
714
714
  globalClient
715
715
  ? Promise.resolve(globalClient)
716
- : client_1.client
716
+ : (0, client_1.getApolloClient)()
717
717
  ]);
718
718
  const { gql, ApolloError } = modules;
719
719
  const DELETE_ONE_INSTITUTIONALSENTIMENTALERTS = gql `
@@ -824,7 +824,7 @@ exports.InstitutionalSentimentAlerts = {
824
824
  (0, client_1.getApolloModules)(),
825
825
  globalClient
826
826
  ? Promise.resolve(globalClient)
827
- : client_1.client
827
+ : (0, client_1.getApolloClient)()
828
828
  ]);
829
829
  const { gql, ApolloError } = modules;
830
830
  const GET_INSTITUTIONALSENTIMENTALERTS = gql `
@@ -907,7 +907,7 @@ exports.InstitutionalSentimentAlerts = {
907
907
  (0, client_1.getApolloModules)(),
908
908
  globalClient
909
909
  ? Promise.resolve(globalClient)
910
- : client_1.client
910
+ : (0, client_1.getApolloClient)()
911
911
  ]);
912
912
  const { gql, ApolloError } = modules;
913
913
  const GET_ALL_INSTITUTIONALSENTIMENTALERTS = gql `
@@ -982,7 +982,7 @@ exports.InstitutionalSentimentAlerts = {
982
982
  (0, client_1.getApolloModules)(),
983
983
  globalClient
984
984
  ? Promise.resolve(globalClient)
985
- : client_1.client
985
+ : (0, client_1.getApolloClient)()
986
986
  ]);
987
987
  const { gql, ApolloError } = modules;
988
988
  const FIND_MANY_INSTITUTIONALSENTIMENTALERTS = gql `
@@ -1002,6 +1002,11 @@ exports.InstitutionalSentimentAlerts = {
1002
1002
  },
1003
1003
  };
1004
1004
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1005
+ // Validate that we have at least one filter criteria
1006
+ // GraphQL requires a non-empty where clause for findMany
1007
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1008
+ throw new Error(`findManyInstitutionalSentimentAlerts requires at least one filter criterion. Received empty where clause.`);
1009
+ }
1005
1010
  const response = await client.query({
1006
1011
  query: FIND_MANY_INSTITUTIONALSENTIMENTALERTS,
1007
1012
  variables: filteredVariables,
@@ -45,7 +45,7 @@ exports.InstitutionalSentimentErrors = {
45
45
  (0, client_1.getApolloModules)(),
46
46
  globalClient
47
47
  ? Promise.resolve(globalClient)
48
- : client_1.client
48
+ : (0, client_1.getApolloClient)()
49
49
  ]);
50
50
  const { gql, ApolloError } = modules;
51
51
  const CREATE_ONE_INSTITUTIONALSENTIMENTERRORS = gql `
@@ -155,7 +155,7 @@ exports.InstitutionalSentimentErrors = {
155
155
  (0, client_1.getApolloModules)(),
156
156
  globalClient
157
157
  ? Promise.resolve(globalClient)
158
- : client_1.client
158
+ : (0, client_1.getApolloClient)()
159
159
  ]);
160
160
  const { gql, ApolloError } = modules;
161
161
  const CREATE_MANY_INSTITUTIONALSENTIMENTERRORS = gql `
@@ -263,7 +263,7 @@ exports.InstitutionalSentimentErrors = {
263
263
  (0, client_1.getApolloModules)(),
264
264
  globalClient
265
265
  ? Promise.resolve(globalClient)
266
- : client_1.client
266
+ : (0, client_1.getApolloClient)()
267
267
  ]);
268
268
  const { gql, ApolloError } = modules;
269
269
  const UPDATE_ONE_INSTITUTIONALSENTIMENTERRORS = gql `
@@ -393,7 +393,7 @@ exports.InstitutionalSentimentErrors = {
393
393
  (0, client_1.getApolloModules)(),
394
394
  globalClient
395
395
  ? Promise.resolve(globalClient)
396
- : client_1.client
396
+ : (0, client_1.getApolloClient)()
397
397
  ]);
398
398
  const { gql, ApolloError } = modules;
399
399
  const UPSERT_ONE_INSTITUTIONALSENTIMENTERRORS = gql `
@@ -524,7 +524,7 @@ exports.InstitutionalSentimentErrors = {
524
524
  (0, client_1.getApolloModules)(),
525
525
  globalClient
526
526
  ? Promise.resolve(globalClient)
527
- : client_1.client
527
+ : (0, client_1.getApolloClient)()
528
528
  ]);
529
529
  const { gql, ApolloError } = modules;
530
530
  const UPDATE_MANY_INSTITUTIONALSENTIMENTERRORS = gql `
@@ -651,7 +651,7 @@ exports.InstitutionalSentimentErrors = {
651
651
  (0, client_1.getApolloModules)(),
652
652
  globalClient
653
653
  ? Promise.resolve(globalClient)
654
- : client_1.client
654
+ : (0, client_1.getApolloClient)()
655
655
  ]);
656
656
  const { gql, ApolloError } = modules;
657
657
  const DELETE_ONE_INSTITUTIONALSENTIMENTERRORS = gql `
@@ -762,7 +762,7 @@ exports.InstitutionalSentimentErrors = {
762
762
  (0, client_1.getApolloModules)(),
763
763
  globalClient
764
764
  ? Promise.resolve(globalClient)
765
- : client_1.client
765
+ : (0, client_1.getApolloClient)()
766
766
  ]);
767
767
  const { gql, ApolloError } = modules;
768
768
  const GET_INSTITUTIONALSENTIMENTERRORS = gql `
@@ -842,7 +842,7 @@ exports.InstitutionalSentimentErrors = {
842
842
  (0, client_1.getApolloModules)(),
843
843
  globalClient
844
844
  ? Promise.resolve(globalClient)
845
- : client_1.client
845
+ : (0, client_1.getApolloClient)()
846
846
  ]);
847
847
  const { gql, ApolloError } = modules;
848
848
  const GET_ALL_INSTITUTIONALSENTIMENTERRORS = gql `
@@ -917,7 +917,7 @@ exports.InstitutionalSentimentErrors = {
917
917
  (0, client_1.getApolloModules)(),
918
918
  globalClient
919
919
  ? Promise.resolve(globalClient)
920
- : client_1.client
920
+ : (0, client_1.getApolloClient)()
921
921
  ]);
922
922
  const { gql, ApolloError } = modules;
923
923
  const FIND_MANY_INSTITUTIONALSENTIMENTERRORS = gql `
@@ -934,6 +934,11 @@ exports.InstitutionalSentimentErrors = {
934
934
  },
935
935
  };
936
936
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
937
+ // Validate that we have at least one filter criteria
938
+ // GraphQL requires a non-empty where clause for findMany
939
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
940
+ throw new Error(`findManyInstitutionalSentimentErrors requires at least one filter criterion. Received empty where clause.`);
941
+ }
937
942
  const response = await client.query({
938
943
  query: FIND_MANY_INSTITUTIONALSENTIMENTERRORS,
939
944
  variables: filteredVariables,