@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
@@ -85,7 +85,7 @@ exports.InstitutionalSentimentHistory = {
85
85
  (0, client_1.getApolloModules)(),
86
86
  globalClient
87
87
  ? Promise.resolve(globalClient)
88
- : client_1.client
88
+ : (0, client_1.getApolloClient)()
89
89
  ]);
90
90
  const { gql, ApolloError } = modules;
91
91
  const CREATE_ONE_INSTITUTIONALSENTIMENTHISTORY = gql `
@@ -234,7 +234,7 @@ exports.InstitutionalSentimentHistory = {
234
234
  (0, client_1.getApolloModules)(),
235
235
  globalClient
236
236
  ? Promise.resolve(globalClient)
237
- : client_1.client
237
+ : (0, client_1.getApolloClient)()
238
238
  ]);
239
239
  const { gql, ApolloError } = modules;
240
240
  const CREATE_MANY_INSTITUTIONALSENTIMENTHISTORY = gql `
@@ -381,7 +381,7 @@ exports.InstitutionalSentimentHistory = {
381
381
  (0, client_1.getApolloModules)(),
382
382
  globalClient
383
383
  ? Promise.resolve(globalClient)
384
- : client_1.client
384
+ : (0, client_1.getApolloClient)()
385
385
  ]);
386
386
  const { gql, ApolloError } = modules;
387
387
  const UPDATE_ONE_INSTITUTIONALSENTIMENTHISTORY = gql `
@@ -631,7 +631,7 @@ exports.InstitutionalSentimentHistory = {
631
631
  (0, client_1.getApolloModules)(),
632
632
  globalClient
633
633
  ? Promise.resolve(globalClient)
634
- : client_1.client
634
+ : (0, client_1.getApolloClient)()
635
635
  ]);
636
636
  const { gql, ApolloError } = modules;
637
637
  const UPSERT_ONE_INSTITUTIONALSENTIMENTHISTORY = gql `
@@ -921,7 +921,7 @@ exports.InstitutionalSentimentHistory = {
921
921
  (0, client_1.getApolloModules)(),
922
922
  globalClient
923
923
  ? Promise.resolve(globalClient)
924
- : client_1.client
924
+ : (0, client_1.getApolloClient)()
925
925
  ]);
926
926
  const { gql, ApolloError } = modules;
927
927
  const UPDATE_MANY_INSTITUTIONALSENTIMENTHISTORY = gql `
@@ -1168,7 +1168,7 @@ exports.InstitutionalSentimentHistory = {
1168
1168
  (0, client_1.getApolloModules)(),
1169
1169
  globalClient
1170
1170
  ? Promise.resolve(globalClient)
1171
- : client_1.client
1171
+ : (0, client_1.getApolloClient)()
1172
1172
  ]);
1173
1173
  const { gql, ApolloError } = modules;
1174
1174
  const DELETE_ONE_INSTITUTIONALSENTIMENTHISTORY = gql `
@@ -1279,7 +1279,7 @@ exports.InstitutionalSentimentHistory = {
1279
1279
  (0, client_1.getApolloModules)(),
1280
1280
  globalClient
1281
1281
  ? Promise.resolve(globalClient)
1282
- : client_1.client
1282
+ : (0, client_1.getApolloClient)()
1283
1283
  ]);
1284
1284
  const { gql, ApolloError } = modules;
1285
1285
  const GET_INSTITUTIONALSENTIMENTHISTORY = gql `
@@ -1362,7 +1362,7 @@ exports.InstitutionalSentimentHistory = {
1362
1362
  (0, client_1.getApolloModules)(),
1363
1363
  globalClient
1364
1364
  ? Promise.resolve(globalClient)
1365
- : client_1.client
1365
+ : (0, client_1.getApolloClient)()
1366
1366
  ]);
1367
1367
  const { gql, ApolloError } = modules;
1368
1368
  const GET_ALL_INSTITUTIONALSENTIMENTHISTORY = gql `
@@ -1437,7 +1437,7 @@ exports.InstitutionalSentimentHistory = {
1437
1437
  (0, client_1.getApolloModules)(),
1438
1438
  globalClient
1439
1439
  ? Promise.resolve(globalClient)
1440
- : client_1.client
1440
+ : (0, client_1.getApolloClient)()
1441
1441
  ]);
1442
1442
  const { gql, ApolloError } = modules;
1443
1443
  const FIND_MANY_INSTITUTIONALSENTIMENTHISTORY = gql `
@@ -1457,6 +1457,11 @@ exports.InstitutionalSentimentHistory = {
1457
1457
  },
1458
1458
  };
1459
1459
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1460
+ // Validate that we have at least one filter criteria
1461
+ // GraphQL requires a non-empty where clause for findMany
1462
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1463
+ throw new Error(`findManyInstitutionalSentimentHistory requires at least one filter criterion. Received empty where clause.`);
1464
+ }
1460
1465
  const response = await client.query({
1461
1466
  query: FIND_MANY_INSTITUTIONALSENTIMENTHISTORY,
1462
1467
  variables: filteredVariables,
@@ -47,7 +47,7 @@ exports.InstitutionalSentimentMetrics = {
47
47
  (0, client_1.getApolloModules)(),
48
48
  globalClient
49
49
  ? Promise.resolve(globalClient)
50
- : client_1.client
50
+ : (0, client_1.getApolloClient)()
51
51
  ]);
52
52
  const { gql, ApolloError } = modules;
53
53
  const CREATE_ONE_INSTITUTIONALSENTIMENTMETRICS = gql `
@@ -159,7 +159,7 @@ exports.InstitutionalSentimentMetrics = {
159
159
  (0, client_1.getApolloModules)(),
160
160
  globalClient
161
161
  ? Promise.resolve(globalClient)
162
- : client_1.client
162
+ : (0, client_1.getApolloClient)()
163
163
  ]);
164
164
  const { gql, ApolloError } = modules;
165
165
  const CREATE_MANY_INSTITUTIONALSENTIMENTMETRICS = gql `
@@ -269,7 +269,7 @@ exports.InstitutionalSentimentMetrics = {
269
269
  (0, client_1.getApolloModules)(),
270
270
  globalClient
271
271
  ? Promise.resolve(globalClient)
272
- : client_1.client
272
+ : (0, client_1.getApolloClient)()
273
273
  ]);
274
274
  const { gql, ApolloError } = modules;
275
275
  const UPDATE_ONE_INSTITUTIONALSENTIMENTMETRICS = gql `
@@ -405,7 +405,7 @@ exports.InstitutionalSentimentMetrics = {
405
405
  (0, client_1.getApolloModules)(),
406
406
  globalClient
407
407
  ? Promise.resolve(globalClient)
408
- : client_1.client
408
+ : (0, client_1.getApolloClient)()
409
409
  ]);
410
410
  const { gql, ApolloError } = modules;
411
411
  const UPSERT_ONE_INSTITUTIONALSENTIMENTMETRICS = gql `
@@ -544,7 +544,7 @@ exports.InstitutionalSentimentMetrics = {
544
544
  (0, client_1.getApolloModules)(),
545
545
  globalClient
546
546
  ? Promise.resolve(globalClient)
547
- : client_1.client
547
+ : (0, client_1.getApolloClient)()
548
548
  ]);
549
549
  const { gql, ApolloError } = modules;
550
550
  const UPDATE_MANY_INSTITUTIONALSENTIMENTMETRICS = gql `
@@ -677,7 +677,7 @@ exports.InstitutionalSentimentMetrics = {
677
677
  (0, client_1.getApolloModules)(),
678
678
  globalClient
679
679
  ? Promise.resolve(globalClient)
680
- : client_1.client
680
+ : (0, client_1.getApolloClient)()
681
681
  ]);
682
682
  const { gql, ApolloError } = modules;
683
683
  const DELETE_ONE_INSTITUTIONALSENTIMENTMETRICS = gql `
@@ -788,7 +788,7 @@ exports.InstitutionalSentimentMetrics = {
788
788
  (0, client_1.getApolloModules)(),
789
789
  globalClient
790
790
  ? Promise.resolve(globalClient)
791
- : client_1.client
791
+ : (0, client_1.getApolloClient)()
792
792
  ]);
793
793
  const { gql, ApolloError } = modules;
794
794
  const GET_INSTITUTIONALSENTIMENTMETRICS = gql `
@@ -868,7 +868,7 @@ exports.InstitutionalSentimentMetrics = {
868
868
  (0, client_1.getApolloModules)(),
869
869
  globalClient
870
870
  ? Promise.resolve(globalClient)
871
- : client_1.client
871
+ : (0, client_1.getApolloClient)()
872
872
  ]);
873
873
  const { gql, ApolloError } = modules;
874
874
  const GET_ALL_INSTITUTIONALSENTIMENTMETRICS = gql `
@@ -943,7 +943,7 @@ exports.InstitutionalSentimentMetrics = {
943
943
  (0, client_1.getApolloModules)(),
944
944
  globalClient
945
945
  ? Promise.resolve(globalClient)
946
- : client_1.client
946
+ : (0, client_1.getApolloClient)()
947
947
  ]);
948
948
  const { gql, ApolloError } = modules;
949
949
  const FIND_MANY_INSTITUTIONALSENTIMENTMETRICS = gql `
@@ -960,6 +960,11 @@ exports.InstitutionalSentimentMetrics = {
960
960
  },
961
961
  };
962
962
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
963
+ // Validate that we have at least one filter criteria
964
+ // GraphQL requires a non-empty where clause for findMany
965
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
966
+ throw new Error(`findManyInstitutionalSentimentMetrics requires at least one filter criterion. Received empty where clause.`);
967
+ }
963
968
  const response = await client.query({
964
969
  query: FIND_MANY_INSTITUTIONALSENTIMENTMETRICS,
965
970
  variables: filteredVariables,
package/InviteToken.cjs CHANGED
@@ -46,7 +46,7 @@ exports.InviteToken = {
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_INVITETOKEN = gql `
@@ -457,7 +457,7 @@ exports.InviteToken = {
457
457
  (0, client_1.getApolloModules)(),
458
458
  globalClient
459
459
  ? Promise.resolve(globalClient)
460
- : client_1.client
460
+ : (0, client_1.getApolloClient)()
461
461
  ]);
462
462
  const { gql, ApolloError } = modules;
463
463
  const CREATE_MANY_INVITETOKEN = gql `
@@ -566,7 +566,7 @@ exports.InviteToken = {
566
566
  (0, client_1.getApolloModules)(),
567
567
  globalClient
568
568
  ? Promise.resolve(globalClient)
569
- : client_1.client
569
+ : (0, client_1.getApolloClient)()
570
570
  ]);
571
571
  const { gql, ApolloError } = modules;
572
572
  const UPDATE_ONE_INVITETOKEN = gql `
@@ -1875,7 +1875,7 @@ exports.InviteToken = {
1875
1875
  (0, client_1.getApolloModules)(),
1876
1876
  globalClient
1877
1877
  ? Promise.resolve(globalClient)
1878
- : client_1.client
1878
+ : (0, client_1.getApolloClient)()
1879
1879
  ]);
1880
1880
  const { gql, ApolloError } = modules;
1881
1881
  const UPSERT_ONE_INVITETOKEN = gql `
@@ -3490,7 +3490,7 @@ exports.InviteToken = {
3490
3490
  (0, client_1.getApolloModules)(),
3491
3491
  globalClient
3492
3492
  ? Promise.resolve(globalClient)
3493
- : client_1.client
3493
+ : (0, client_1.getApolloClient)()
3494
3494
  ]);
3495
3495
  const { gql, ApolloError } = modules;
3496
3496
  const UPDATE_MANY_INVITETOKEN = gql `
@@ -4796,7 +4796,7 @@ exports.InviteToken = {
4796
4796
  (0, client_1.getApolloModules)(),
4797
4797
  globalClient
4798
4798
  ? Promise.resolve(globalClient)
4799
- : client_1.client
4799
+ : (0, client_1.getApolloClient)()
4800
4800
  ]);
4801
4801
  const { gql, ApolloError } = modules;
4802
4802
  const DELETE_ONE_INVITETOKEN = gql `
@@ -4907,7 +4907,7 @@ exports.InviteToken = {
4907
4907
  (0, client_1.getApolloModules)(),
4908
4908
  globalClient
4909
4909
  ? Promise.resolve(globalClient)
4910
- : client_1.client
4910
+ : (0, client_1.getApolloClient)()
4911
4911
  ]);
4912
4912
  const { gql, ApolloError } = modules;
4913
4913
  const GET_INVITETOKEN = gql `
@@ -4991,7 +4991,7 @@ exports.InviteToken = {
4991
4991
  (0, client_1.getApolloModules)(),
4992
4992
  globalClient
4993
4993
  ? Promise.resolve(globalClient)
4994
- : client_1.client
4994
+ : (0, client_1.getApolloClient)()
4995
4995
  ]);
4996
4996
  const { gql, ApolloError } = modules;
4997
4997
  const GET_ALL_INVITETOKEN = gql `
@@ -5066,7 +5066,7 @@ exports.InviteToken = {
5066
5066
  (0, client_1.getApolloModules)(),
5067
5067
  globalClient
5068
5068
  ? Promise.resolve(globalClient)
5069
- : client_1.client
5069
+ : (0, client_1.getApolloClient)()
5070
5070
  ]);
5071
5071
  const { gql, ApolloError } = modules;
5072
5072
  const FIND_MANY_INVITETOKEN = gql `
@@ -5086,6 +5086,11 @@ exports.InviteToken = {
5086
5086
  },
5087
5087
  };
5088
5088
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
5089
+ // Validate that we have at least one filter criteria
5090
+ // GraphQL requires a non-empty where clause for findMany
5091
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
5092
+ throw new Error(`findManyInviteToken requires at least one filter criterion. Received empty where clause.`);
5093
+ }
5089
5094
  const response = await client.query({
5090
5095
  query: FIND_MANY_INVITETOKEN,
5091
5096
  variables: filteredVariables,
@@ -48,7 +48,7 @@ exports.LinkedProvider = {
48
48
  (0, client_1.getApolloModules)(),
49
49
  globalClient
50
50
  ? Promise.resolve(globalClient)
51
- : client_1.client
51
+ : (0, client_1.getApolloClient)()
52
52
  ]);
53
53
  const { gql, ApolloError } = modules;
54
54
  const CREATE_ONE_LINKEDPROVIDER = gql `
@@ -590,7 +590,7 @@ exports.LinkedProvider = {
590
590
  (0, client_1.getApolloModules)(),
591
591
  globalClient
592
592
  ? Promise.resolve(globalClient)
593
- : client_1.client
593
+ : (0, client_1.getApolloClient)()
594
594
  ]);
595
595
  const { gql, ApolloError } = modules;
596
596
  const CREATE_MANY_LINKEDPROVIDER = gql `
@@ -701,7 +701,7 @@ exports.LinkedProvider = {
701
701
  (0, client_1.getApolloModules)(),
702
702
  globalClient
703
703
  ? Promise.resolve(globalClient)
704
- : client_1.client
704
+ : (0, client_1.getApolloClient)()
705
705
  ]);
706
706
  const { gql, ApolloError } = modules;
707
707
  const UPDATE_ONE_LINKEDPROVIDER = gql `
@@ -2393,7 +2393,7 @@ exports.LinkedProvider = {
2393
2393
  (0, client_1.getApolloModules)(),
2394
2394
  globalClient
2395
2395
  ? Promise.resolve(globalClient)
2396
- : client_1.client
2396
+ : (0, client_1.getApolloClient)()
2397
2397
  ]);
2398
2398
  const { gql, ApolloError } = modules;
2399
2399
  const UPSERT_ONE_LINKEDPROVIDER = gql `
@@ -4527,7 +4527,7 @@ exports.LinkedProvider = {
4527
4527
  (0, client_1.getApolloModules)(),
4528
4528
  globalClient
4529
4529
  ? Promise.resolve(globalClient)
4530
- : client_1.client
4530
+ : (0, client_1.getApolloClient)()
4531
4531
  ]);
4532
4532
  const { gql, ApolloError } = modules;
4533
4533
  const UPDATE_MANY_LINKEDPROVIDER = gql `
@@ -6216,7 +6216,7 @@ exports.LinkedProvider = {
6216
6216
  (0, client_1.getApolloModules)(),
6217
6217
  globalClient
6218
6218
  ? Promise.resolve(globalClient)
6219
- : client_1.client
6219
+ : (0, client_1.getApolloClient)()
6220
6220
  ]);
6221
6221
  const { gql, ApolloError } = modules;
6222
6222
  const DELETE_ONE_LINKEDPROVIDER = gql `
@@ -6327,7 +6327,7 @@ exports.LinkedProvider = {
6327
6327
  (0, client_1.getApolloModules)(),
6328
6328
  globalClient
6329
6329
  ? Promise.resolve(globalClient)
6330
- : client_1.client
6330
+ : (0, client_1.getApolloClient)()
6331
6331
  ]);
6332
6332
  const { gql, ApolloError } = modules;
6333
6333
  const GET_LINKEDPROVIDER = gql `
@@ -6416,7 +6416,7 @@ exports.LinkedProvider = {
6416
6416
  (0, client_1.getApolloModules)(),
6417
6417
  globalClient
6418
6418
  ? Promise.resolve(globalClient)
6419
- : client_1.client
6419
+ : (0, client_1.getApolloClient)()
6420
6420
  ]);
6421
6421
  const { gql, ApolloError } = modules;
6422
6422
  const GET_ALL_LINKEDPROVIDER = gql `
@@ -6491,7 +6491,7 @@ exports.LinkedProvider = {
6491
6491
  (0, client_1.getApolloModules)(),
6492
6492
  globalClient
6493
6493
  ? Promise.resolve(globalClient)
6494
- : client_1.client
6494
+ : (0, client_1.getApolloClient)()
6495
6495
  ]);
6496
6496
  const { gql, ApolloError } = modules;
6497
6497
  const FIND_MANY_LINKEDPROVIDER = gql `
@@ -6517,6 +6517,11 @@ exports.LinkedProvider = {
6517
6517
  },
6518
6518
  };
6519
6519
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
6520
+ // Validate that we have at least one filter criteria
6521
+ // GraphQL requires a non-empty where clause for findMany
6522
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
6523
+ throw new Error(`findManyLinkedProvider requires at least one filter criterion. Received empty where clause.`);
6524
+ }
6520
6525
  const response = await client.query({
6521
6526
  query: FIND_MANY_LINKEDPROVIDER,
6522
6527
  variables: filteredVariables,
@@ -49,7 +49,7 @@ exports.LlmConfiguration = {
49
49
  (0, client_1.getApolloModules)(),
50
50
  globalClient
51
51
  ? Promise.resolve(globalClient)
52
- : client_1.client
52
+ : (0, client_1.getApolloClient)()
53
53
  ]);
54
54
  const { gql, ApolloError } = modules;
55
55
  const CREATE_ONE_LLMCONFIGURATION = gql `
@@ -599,7 +599,7 @@ exports.LlmConfiguration = {
599
599
  (0, client_1.getApolloModules)(),
600
600
  globalClient
601
601
  ? Promise.resolve(globalClient)
602
- : client_1.client
602
+ : (0, client_1.getApolloClient)()
603
603
  ]);
604
604
  const { gql, ApolloError } = modules;
605
605
  const CREATE_MANY_LLMCONFIGURATION = gql `
@@ -717,7 +717,7 @@ exports.LlmConfiguration = {
717
717
  (0, client_1.getApolloModules)(),
718
718
  globalClient
719
719
  ? Promise.resolve(globalClient)
720
- : client_1.client
720
+ : (0, client_1.getApolloClient)()
721
721
  ]);
722
722
  const { gql, ApolloError } = modules;
723
723
  const UPDATE_ONE_LLMCONFIGURATION = gql `
@@ -2409,7 +2409,7 @@ exports.LlmConfiguration = {
2409
2409
  (0, client_1.getApolloModules)(),
2410
2410
  globalClient
2411
2411
  ? Promise.resolve(globalClient)
2412
- : client_1.client
2412
+ : (0, client_1.getApolloClient)()
2413
2413
  ]);
2414
2414
  const { gql, ApolloError } = modules;
2415
2415
  const UPSERT_ONE_LLMCONFIGURATION = gql `
@@ -4540,7 +4540,7 @@ exports.LlmConfiguration = {
4540
4540
  (0, client_1.getApolloModules)(),
4541
4541
  globalClient
4542
4542
  ? Promise.resolve(globalClient)
4543
- : client_1.client
4543
+ : (0, client_1.getApolloClient)()
4544
4544
  ]);
4545
4545
  const { gql, ApolloError } = modules;
4546
4546
  const UPDATE_MANY_LLMCONFIGURATION = gql `
@@ -6229,7 +6229,7 @@ exports.LlmConfiguration = {
6229
6229
  (0, client_1.getApolloModules)(),
6230
6230
  globalClient
6231
6231
  ? Promise.resolve(globalClient)
6232
- : client_1.client
6232
+ : (0, client_1.getApolloClient)()
6233
6233
  ]);
6234
6234
  const { gql, ApolloError } = modules;
6235
6235
  const DELETE_ONE_LLMCONFIGURATION = gql `
@@ -6340,7 +6340,7 @@ exports.LlmConfiguration = {
6340
6340
  (0, client_1.getApolloModules)(),
6341
6341
  globalClient
6342
6342
  ? Promise.resolve(globalClient)
6343
- : client_1.client
6343
+ : (0, client_1.getApolloClient)()
6344
6344
  ]);
6345
6345
  const { gql, ApolloError } = modules;
6346
6346
  const GET_LLMCONFIGURATION = gql `
@@ -6421,7 +6421,7 @@ exports.LlmConfiguration = {
6421
6421
  (0, client_1.getApolloModules)(),
6422
6422
  globalClient
6423
6423
  ? Promise.resolve(globalClient)
6424
- : client_1.client
6424
+ : (0, client_1.getApolloClient)()
6425
6425
  ]);
6426
6426
  const { gql, ApolloError } = modules;
6427
6427
  const GET_ALL_LLMCONFIGURATION = gql `
@@ -6496,7 +6496,7 @@ exports.LlmConfiguration = {
6496
6496
  (0, client_1.getApolloModules)(),
6497
6497
  globalClient
6498
6498
  ? Promise.resolve(globalClient)
6499
- : client_1.client
6499
+ : (0, client_1.getApolloClient)()
6500
6500
  ]);
6501
6501
  const { gql, ApolloError } = modules;
6502
6502
  const FIND_MANY_LLMCONFIGURATION = gql `
@@ -6516,6 +6516,11 @@ exports.LlmConfiguration = {
6516
6516
  },
6517
6517
  };
6518
6518
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
6519
+ // Validate that we have at least one filter criteria
6520
+ // GraphQL requires a non-empty where clause for findMany
6521
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
6522
+ throw new Error(`findManyLlmConfiguration requires at least one filter criterion. Received empty where clause.`);
6523
+ }
6519
6524
  const response = await client.query({
6520
6525
  query: FIND_MANY_LLMCONFIGURATION,
6521
6526
  variables: filteredVariables,
@@ -51,7 +51,7 @@ exports.MLModelVersion = {
51
51
  (0, client_1.getApolloModules)(),
52
52
  globalClient
53
53
  ? Promise.resolve(globalClient)
54
- : client_1.client
54
+ : (0, client_1.getApolloClient)()
55
55
  ]);
56
56
  const { gql, ApolloError } = modules;
57
57
  const CREATE_ONE_MLMODELVERSION = gql `
@@ -168,7 +168,7 @@ exports.MLModelVersion = {
168
168
  (0, client_1.getApolloModules)(),
169
169
  globalClient
170
170
  ? Promise.resolve(globalClient)
171
- : client_1.client
171
+ : (0, client_1.getApolloClient)()
172
172
  ]);
173
173
  const { gql, ApolloError } = modules;
174
174
  const CREATE_MANY_MLMODELVERSION = gql `
@@ -283,7 +283,7 @@ exports.MLModelVersion = {
283
283
  (0, client_1.getApolloModules)(),
284
284
  globalClient
285
285
  ? Promise.resolve(globalClient)
286
- : client_1.client
286
+ : (0, client_1.getApolloClient)()
287
287
  ]);
288
288
  const { gql, ApolloError } = modules;
289
289
  const UPDATE_ONE_MLMODELVERSION = gql `
@@ -429,7 +429,7 @@ exports.MLModelVersion = {
429
429
  (0, client_1.getApolloModules)(),
430
430
  globalClient
431
431
  ? Promise.resolve(globalClient)
432
- : client_1.client
432
+ : (0, client_1.getApolloClient)()
433
433
  ]);
434
434
  const { gql, ApolloError } = modules;
435
435
  const UPSERT_ONE_MLMODELVERSION = gql `
@@ -580,7 +580,7 @@ exports.MLModelVersion = {
580
580
  (0, client_1.getApolloModules)(),
581
581
  globalClient
582
582
  ? Promise.resolve(globalClient)
583
- : client_1.client
583
+ : (0, client_1.getApolloClient)()
584
584
  ]);
585
585
  const { gql, ApolloError } = modules;
586
586
  const UPDATE_MANY_MLMODELVERSION = gql `
@@ -723,7 +723,7 @@ exports.MLModelVersion = {
723
723
  (0, client_1.getApolloModules)(),
724
724
  globalClient
725
725
  ? Promise.resolve(globalClient)
726
- : client_1.client
726
+ : (0, client_1.getApolloClient)()
727
727
  ]);
728
728
  const { gql, ApolloError } = modules;
729
729
  const DELETE_ONE_MLMODELVERSION = gql `
@@ -834,7 +834,7 @@ exports.MLModelVersion = {
834
834
  (0, client_1.getApolloModules)(),
835
835
  globalClient
836
836
  ? Promise.resolve(globalClient)
837
- : client_1.client
837
+ : (0, client_1.getApolloClient)()
838
838
  ]);
839
839
  const { gql, ApolloError } = modules;
840
840
  const GET_MLMODELVERSION = gql `
@@ -914,7 +914,7 @@ exports.MLModelVersion = {
914
914
  (0, client_1.getApolloModules)(),
915
915
  globalClient
916
916
  ? Promise.resolve(globalClient)
917
- : client_1.client
917
+ : (0, client_1.getApolloClient)()
918
918
  ]);
919
919
  const { gql, ApolloError } = modules;
920
920
  const GET_ALL_MLMODELVERSION = gql `
@@ -989,7 +989,7 @@ exports.MLModelVersion = {
989
989
  (0, client_1.getApolloModules)(),
990
990
  globalClient
991
991
  ? Promise.resolve(globalClient)
992
- : client_1.client
992
+ : (0, client_1.getApolloClient)()
993
993
  ]);
994
994
  const { gql, ApolloError } = modules;
995
995
  const FIND_MANY_MLMODELVERSION = gql `
@@ -1006,6 +1006,11 @@ exports.MLModelVersion = {
1006
1006
  },
1007
1007
  };
1008
1008
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1009
+ // Validate that we have at least one filter criteria
1010
+ // GraphQL requires a non-empty where clause for findMany
1011
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1012
+ throw new Error(`findManyMLModelVersion requires at least one filter criterion. Received empty where clause.`);
1013
+ }
1009
1014
  const response = await client.query({
1010
1015
  query: FIND_MANY_MLMODELVERSION,
1011
1016
  variables: filteredVariables,
@@ -89,7 +89,7 @@ exports.MLTrainingData = {
89
89
  (0, client_1.getApolloModules)(),
90
90
  globalClient
91
91
  ? Promise.resolve(globalClient)
92
- : client_1.client
92
+ : (0, client_1.getApolloClient)()
93
93
  ]);
94
94
  const { gql, ApolloError } = modules;
95
95
  const CREATE_ONE_MLTRAININGDATA = gql `
@@ -242,7 +242,7 @@ exports.MLTrainingData = {
242
242
  (0, client_1.getApolloModules)(),
243
243
  globalClient
244
244
  ? Promise.resolve(globalClient)
245
- : client_1.client
245
+ : (0, client_1.getApolloClient)()
246
246
  ]);
247
247
  const { gql, ApolloError } = modules;
248
248
  const CREATE_MANY_MLTRAININGDATA = gql `
@@ -393,7 +393,7 @@ exports.MLTrainingData = {
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 UPDATE_ONE_MLTRAININGDATA = gql `
@@ -651,7 +651,7 @@ exports.MLTrainingData = {
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 UPSERT_ONE_MLTRAININGDATA = gql `
@@ -956,7 +956,7 @@ exports.MLTrainingData = {
956
956
  (0, client_1.getApolloModules)(),
957
957
  globalClient
958
958
  ? Promise.resolve(globalClient)
959
- : client_1.client
959
+ : (0, client_1.getApolloClient)()
960
960
  ]);
961
961
  const { gql, ApolloError } = modules;
962
962
  const UPDATE_MANY_MLTRAININGDATA = gql `
@@ -1211,7 +1211,7 @@ exports.MLTrainingData = {
1211
1211
  (0, client_1.getApolloModules)(),
1212
1212
  globalClient
1213
1213
  ? Promise.resolve(globalClient)
1214
- : client_1.client
1214
+ : (0, client_1.getApolloClient)()
1215
1215
  ]);
1216
1216
  const { gql, ApolloError } = modules;
1217
1217
  const DELETE_ONE_MLTRAININGDATA = gql `
@@ -1322,7 +1322,7 @@ exports.MLTrainingData = {
1322
1322
  (0, client_1.getApolloModules)(),
1323
1323
  globalClient
1324
1324
  ? Promise.resolve(globalClient)
1325
- : client_1.client
1325
+ : (0, client_1.getApolloClient)()
1326
1326
  ]);
1327
1327
  const { gql, ApolloError } = modules;
1328
1328
  const GET_MLTRAININGDATA = gql `
@@ -1408,7 +1408,7 @@ exports.MLTrainingData = {
1408
1408
  (0, client_1.getApolloModules)(),
1409
1409
  globalClient
1410
1410
  ? Promise.resolve(globalClient)
1411
- : client_1.client
1411
+ : (0, client_1.getApolloClient)()
1412
1412
  ]);
1413
1413
  const { gql, ApolloError } = modules;
1414
1414
  const GET_ALL_MLTRAININGDATA = gql `
@@ -1483,7 +1483,7 @@ exports.MLTrainingData = {
1483
1483
  (0, client_1.getApolloModules)(),
1484
1484
  globalClient
1485
1485
  ? Promise.resolve(globalClient)
1486
- : client_1.client
1486
+ : (0, client_1.getApolloClient)()
1487
1487
  ]);
1488
1488
  const { gql, ApolloError } = modules;
1489
1489
  const FIND_MANY_MLTRAININGDATA = gql `
@@ -1506,6 +1506,11 @@ exports.MLTrainingData = {
1506
1506
  },
1507
1507
  };
1508
1508
  const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
1509
+ // Validate that we have at least one filter criteria
1510
+ // GraphQL requires a non-empty where clause for findMany
1511
+ if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
1512
+ throw new Error(`findManyMLTrainingData requires at least one filter criterion. Received empty where clause.`);
1513
+ }
1509
1514
  const response = await client.query({
1510
1515
  query: FIND_MANY_MLTRAININGDATA,
1511
1516
  variables: filteredVariables,