@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/Session.cjs CHANGED
@@ -44,7 +44,7 @@ exports.Session = {
44
44
  (0, client_1.getApolloModules)(),
45
45
  globalClient
46
46
  ? Promise.resolve(globalClient)
47
- : client_1.client
47
+ : (0, client_1.getApolloClient)()
48
48
  ]);
49
49
  const { gql, ApolloError } = modules;
50
50
  const CREATE_ONE_SESSION = gql `
@@ -592,7 +592,7 @@ exports.Session = {
592
592
  (0, client_1.getApolloModules)(),
593
593
  globalClient
594
594
  ? Promise.resolve(globalClient)
595
- : client_1.client
595
+ : (0, client_1.getApolloClient)()
596
596
  ]);
597
597
  const { gql, ApolloError } = modules;
598
598
  const CREATE_MANY_SESSION = gql `
@@ -698,7 +698,7 @@ exports.Session = {
698
698
  (0, client_1.getApolloModules)(),
699
699
  globalClient
700
700
  ? Promise.resolve(globalClient)
701
- : client_1.client
701
+ : (0, client_1.getApolloClient)()
702
702
  ]);
703
703
  const { gql, ApolloError } = modules;
704
704
  const UPDATE_ONE_SESSION = gql `
@@ -2415,7 +2415,7 @@ exports.Session = {
2415
2415
  (0, client_1.getApolloModules)(),
2416
2416
  globalClient
2417
2417
  ? Promise.resolve(globalClient)
2418
- : client_1.client
2418
+ : (0, client_1.getApolloClient)()
2419
2419
  ]);
2420
2420
  const { gql, ApolloError } = modules;
2421
2421
  const UPSERT_ONE_SESSION = gql `
@@ -4571,7 +4571,7 @@ exports.Session = {
4571
4571
  (0, client_1.getApolloModules)(),
4572
4572
  globalClient
4573
4573
  ? Promise.resolve(globalClient)
4574
- : client_1.client
4574
+ : (0, client_1.getApolloClient)()
4575
4575
  ]);
4576
4576
  const { gql, ApolloError } = modules;
4577
4577
  const UPDATE_MANY_SESSION = gql `
@@ -6285,7 +6285,7 @@ exports.Session = {
6285
6285
  (0, client_1.getApolloModules)(),
6286
6286
  globalClient
6287
6287
  ? Promise.resolve(globalClient)
6288
- : client_1.client
6288
+ : (0, client_1.getApolloClient)()
6289
6289
  ]);
6290
6290
  const { gql, ApolloError } = modules;
6291
6291
  const DELETE_ONE_SESSION = gql `
@@ -6396,7 +6396,7 @@ exports.Session = {
6396
6396
  (0, client_1.getApolloModules)(),
6397
6397
  globalClient
6398
6398
  ? Promise.resolve(globalClient)
6399
- : client_1.client
6399
+ : (0, client_1.getApolloClient)()
6400
6400
  ]);
6401
6401
  const { gql, ApolloError } = modules;
6402
6402
  const GET_SESSION = gql `
@@ -6479,7 +6479,7 @@ exports.Session = {
6479
6479
  (0, client_1.getApolloModules)(),
6480
6480
  globalClient
6481
6481
  ? Promise.resolve(globalClient)
6482
- : client_1.client
6482
+ : (0, client_1.getApolloClient)()
6483
6483
  ]);
6484
6484
  const { gql, ApolloError } = modules;
6485
6485
  const GET_ALL_SESSION = gql `
@@ -6554,7 +6554,7 @@ exports.Session = {
6554
6554
  (0, client_1.getApolloModules)(),
6555
6555
  globalClient
6556
6556
  ? Promise.resolve(globalClient)
6557
- : client_1.client
6557
+ : (0, client_1.getApolloClient)()
6558
6558
  ]);
6559
6559
  const { gql, ApolloError } = modules;
6560
6560
  const FIND_MANY_SESSION = gql `
@@ -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,
@@ -58,7 +58,7 @@ exports.SignalGeneratorMetrics = {
58
58
  (0, client_1.getApolloModules)(),
59
59
  globalClient
60
60
  ? Promise.resolve(globalClient)
61
- : client_1.client
61
+ : (0, client_1.getApolloClient)()
62
62
  ]);
63
63
  const { gql, ApolloError } = modules;
64
64
  const CREATE_ONE_SIGNALGENERATORMETRICS = gql `
@@ -181,7 +181,7 @@ exports.SignalGeneratorMetrics = {
181
181
  (0, client_1.getApolloModules)(),
182
182
  globalClient
183
183
  ? Promise.resolve(globalClient)
184
- : client_1.client
184
+ : (0, client_1.getApolloClient)()
185
185
  ]);
186
186
  const { gql, ApolloError } = modules;
187
187
  const CREATE_MANY_SIGNALGENERATORMETRICS = gql `
@@ -302,7 +302,7 @@ exports.SignalGeneratorMetrics = {
302
302
  (0, client_1.getApolloModules)(),
303
303
  globalClient
304
304
  ? Promise.resolve(globalClient)
305
- : client_1.client
305
+ : (0, client_1.getApolloClient)()
306
306
  ]);
307
307
  const { gql, ApolloError } = modules;
308
308
  const UPDATE_ONE_SIGNALGENERATORMETRICS = gql `
@@ -469,7 +469,7 @@ exports.SignalGeneratorMetrics = {
469
469
  (0, client_1.getApolloModules)(),
470
470
  globalClient
471
471
  ? Promise.resolve(globalClient)
472
- : client_1.client
472
+ : (0, client_1.getApolloClient)()
473
473
  ]);
474
474
  const { gql, ApolloError } = modules;
475
475
  const UPSERT_ONE_SIGNALGENERATORMETRICS = gql `
@@ -653,7 +653,7 @@ exports.SignalGeneratorMetrics = {
653
653
  (0, client_1.getApolloModules)(),
654
654
  globalClient
655
655
  ? Promise.resolve(globalClient)
656
- : client_1.client
656
+ : (0, client_1.getApolloClient)()
657
657
  ]);
658
658
  const { gql, ApolloError } = modules;
659
659
  const UPDATE_MANY_SIGNALGENERATORMETRICS = gql `
@@ -817,7 +817,7 @@ exports.SignalGeneratorMetrics = {
817
817
  (0, client_1.getApolloModules)(),
818
818
  globalClient
819
819
  ? Promise.resolve(globalClient)
820
- : client_1.client
820
+ : (0, client_1.getApolloClient)()
821
821
  ]);
822
822
  const { gql, ApolloError } = modules;
823
823
  const DELETE_ONE_SIGNALGENERATORMETRICS = gql `
@@ -928,7 +928,7 @@ exports.SignalGeneratorMetrics = {
928
928
  (0, client_1.getApolloModules)(),
929
929
  globalClient
930
930
  ? Promise.resolve(globalClient)
931
- : client_1.client
931
+ : (0, client_1.getApolloClient)()
932
932
  ]);
933
933
  const { gql, ApolloError } = modules;
934
934
  const GET_SIGNALGENERATORMETRICS = gql `
@@ -1011,7 +1011,7 @@ exports.SignalGeneratorMetrics = {
1011
1011
  (0, client_1.getApolloModules)(),
1012
1012
  globalClient
1013
1013
  ? Promise.resolve(globalClient)
1014
- : client_1.client
1014
+ : (0, client_1.getApolloClient)()
1015
1015
  ]);
1016
1016
  const { gql, ApolloError } = modules;
1017
1017
  const GET_ALL_SIGNALGENERATORMETRICS = gql `
@@ -1086,7 +1086,7 @@ exports.SignalGeneratorMetrics = {
1086
1086
  (0, client_1.getApolloModules)(),
1087
1087
  globalClient
1088
1088
  ? Promise.resolve(globalClient)
1089
- : client_1.client
1089
+ : (0, client_1.getApolloClient)()
1090
1090
  ]);
1091
1091
  const { gql, ApolloError } = modules;
1092
1092
  const FIND_MANY_SIGNALGENERATORMETRICS = gql `
@@ -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
@@ -67,7 +67,7 @@ exports.SignalLineage = {
67
67
  (0, client_1.getApolloModules)(),
68
68
  globalClient
69
69
  ? Promise.resolve(globalClient)
70
- : client_1.client
70
+ : (0, client_1.getApolloClient)()
71
71
  ]);
72
72
  const { gql, ApolloError } = modules;
73
73
  const CREATE_ONE_SIGNALLINEAGE = gql `
@@ -199,7 +199,7 @@ exports.SignalLineage = {
199
199
  (0, client_1.getApolloModules)(),
200
200
  globalClient
201
201
  ? Promise.resolve(globalClient)
202
- : client_1.client
202
+ : (0, client_1.getApolloClient)()
203
203
  ]);
204
204
  const { gql, ApolloError } = modules;
205
205
  const CREATE_MANY_SIGNALLINEAGE = gql `
@@ -329,7 +329,7 @@ exports.SignalLineage = {
329
329
  (0, client_1.getApolloModules)(),
330
330
  globalClient
331
331
  ? Promise.resolve(globalClient)
332
- : client_1.client
332
+ : (0, client_1.getApolloClient)()
333
333
  ]);
334
334
  const { gql, ApolloError } = modules;
335
335
  const UPDATE_ONE_SIGNALLINEAGE = gql `
@@ -499,7 +499,7 @@ exports.SignalLineage = {
499
499
  (0, client_1.getApolloModules)(),
500
500
  globalClient
501
501
  ? Promise.resolve(globalClient)
502
- : client_1.client
502
+ : (0, client_1.getApolloClient)()
503
503
  ]);
504
504
  const { gql, ApolloError } = modules;
505
505
  const UPSERT_ONE_SIGNALLINEAGE = gql `
@@ -699,7 +699,7 @@ exports.SignalLineage = {
699
699
  (0, client_1.getApolloModules)(),
700
700
  globalClient
701
701
  ? Promise.resolve(globalClient)
702
- : client_1.client
702
+ : (0, client_1.getApolloClient)()
703
703
  ]);
704
704
  const { gql, ApolloError } = modules;
705
705
  const UPDATE_MANY_SIGNALLINEAGE = gql `
@@ -866,7 +866,7 @@ exports.SignalLineage = {
866
866
  (0, client_1.getApolloModules)(),
867
867
  globalClient
868
868
  ? Promise.resolve(globalClient)
869
- : client_1.client
869
+ : (0, client_1.getApolloClient)()
870
870
  ]);
871
871
  const { gql, ApolloError } = modules;
872
872
  const DELETE_ONE_SIGNALLINEAGE = gql `
@@ -977,7 +977,7 @@ exports.SignalLineage = {
977
977
  (0, client_1.getApolloModules)(),
978
978
  globalClient
979
979
  ? Promise.resolve(globalClient)
980
- : client_1.client
980
+ : (0, client_1.getApolloClient)()
981
981
  ]);
982
982
  const { gql, ApolloError } = modules;
983
983
  const GET_SIGNALLINEAGE = gql `
@@ -1064,7 +1064,7 @@ exports.SignalLineage = {
1064
1064
  (0, client_1.getApolloModules)(),
1065
1065
  globalClient
1066
1066
  ? Promise.resolve(globalClient)
1067
- : client_1.client
1067
+ : (0, client_1.getApolloClient)()
1068
1068
  ]);
1069
1069
  const { gql, ApolloError } = modules;
1070
1070
  const GET_ALL_SIGNALLINEAGE = gql `
@@ -1139,7 +1139,7 @@ exports.SignalLineage = {
1139
1139
  (0, client_1.getApolloModules)(),
1140
1140
  globalClient
1141
1141
  ? Promise.resolve(globalClient)
1142
- : client_1.client
1142
+ : (0, client_1.getApolloClient)()
1143
1143
  ]);
1144
1144
  const { gql, ApolloError } = modules;
1145
1145
  const FIND_MANY_SIGNALLINEAGE = gql `
@@ -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
@@ -53,7 +53,7 @@ exports.SignalOutcome = {
53
53
  (0, client_1.getApolloModules)(),
54
54
  globalClient
55
55
  ? Promise.resolve(globalClient)
56
- : client_1.client
56
+ : (0, client_1.getApolloClient)()
57
57
  ]);
58
58
  const { gql, ApolloError } = modules;
59
59
  const CREATE_ONE_SIGNALOUTCOME = gql `
@@ -172,7 +172,7 @@ exports.SignalOutcome = {
172
172
  (0, client_1.getApolloModules)(),
173
173
  globalClient
174
174
  ? Promise.resolve(globalClient)
175
- : client_1.client
175
+ : (0, client_1.getApolloClient)()
176
176
  ]);
177
177
  const { gql, ApolloError } = modules;
178
178
  const CREATE_MANY_SIGNALOUTCOME = gql `
@@ -289,7 +289,7 @@ exports.SignalOutcome = {
289
289
  (0, client_1.getApolloModules)(),
290
290
  globalClient
291
291
  ? Promise.resolve(globalClient)
292
- : client_1.client
292
+ : (0, client_1.getApolloClient)()
293
293
  ]);
294
294
  const { gql, ApolloError } = modules;
295
295
  const UPDATE_ONE_SIGNALOUTCOME = gql `
@@ -441,7 +441,7 @@ exports.SignalOutcome = {
441
441
  (0, client_1.getApolloModules)(),
442
442
  globalClient
443
443
  ? Promise.resolve(globalClient)
444
- : client_1.client
444
+ : (0, client_1.getApolloClient)()
445
445
  ]);
446
446
  const { gql, ApolloError } = modules;
447
447
  const UPSERT_ONE_SIGNALOUTCOME = gql `
@@ -612,7 +612,7 @@ exports.SignalOutcome = {
612
612
  (0, client_1.getApolloModules)(),
613
613
  globalClient
614
614
  ? Promise.resolve(globalClient)
615
- : client_1.client
615
+ : (0, client_1.getApolloClient)()
616
616
  ]);
617
617
  const { gql, ApolloError } = modules;
618
618
  const UPDATE_MANY_SIGNALOUTCOME = gql `
@@ -761,7 +761,7 @@ exports.SignalOutcome = {
761
761
  (0, client_1.getApolloModules)(),
762
762
  globalClient
763
763
  ? Promise.resolve(globalClient)
764
- : client_1.client
764
+ : (0, client_1.getApolloClient)()
765
765
  ]);
766
766
  const { gql, ApolloError } = modules;
767
767
  const DELETE_ONE_SIGNALOUTCOME = gql `
@@ -872,7 +872,7 @@ exports.SignalOutcome = {
872
872
  (0, client_1.getApolloModules)(),
873
873
  globalClient
874
874
  ? Promise.resolve(globalClient)
875
- : client_1.client
875
+ : (0, client_1.getApolloClient)()
876
876
  ]);
877
877
  const { gql, ApolloError } = modules;
878
878
  const GET_SIGNALOUTCOME = gql `
@@ -958,7 +958,7 @@ exports.SignalOutcome = {
958
958
  (0, client_1.getApolloModules)(),
959
959
  globalClient
960
960
  ? Promise.resolve(globalClient)
961
- : client_1.client
961
+ : (0, client_1.getApolloClient)()
962
962
  ]);
963
963
  const { gql, ApolloError } = modules;
964
964
  const GET_ALL_SIGNALOUTCOME = gql `
@@ -1033,7 +1033,7 @@ exports.SignalOutcome = {
1033
1033
  (0, client_1.getApolloModules)(),
1034
1034
  globalClient
1035
1035
  ? Promise.resolve(globalClient)
1036
- : client_1.client
1036
+ : (0, client_1.getApolloClient)()
1037
1037
  ]);
1038
1038
  const { gql, ApolloError } = modules;
1039
1039
  const FIND_MANY_SIGNALOUTCOME = gql `
@@ -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,
@@ -58,7 +58,7 @@ exports.SignalPriorityQueue = {
58
58
  (0, client_1.getApolloModules)(),
59
59
  globalClient
60
60
  ? Promise.resolve(globalClient)
61
- : client_1.client
61
+ : (0, client_1.getApolloClient)()
62
62
  ]);
63
63
  const { gql, ApolloError } = modules;
64
64
  const CREATE_ONE_SIGNALPRIORITYQUEUE = gql `
@@ -181,7 +181,7 @@ exports.SignalPriorityQueue = {
181
181
  (0, client_1.getApolloModules)(),
182
182
  globalClient
183
183
  ? Promise.resolve(globalClient)
184
- : client_1.client
184
+ : (0, client_1.getApolloClient)()
185
185
  ]);
186
186
  const { gql, ApolloError } = modules;
187
187
  const CREATE_MANY_SIGNALPRIORITYQUEUE = gql `
@@ -302,7 +302,7 @@ exports.SignalPriorityQueue = {
302
302
  (0, client_1.getApolloModules)(),
303
303
  globalClient
304
304
  ? Promise.resolve(globalClient)
305
- : client_1.client
305
+ : (0, client_1.getApolloClient)()
306
306
  ]);
307
307
  const { gql, ApolloError } = modules;
308
308
  const UPDATE_ONE_SIGNALPRIORITYQUEUE = gql `
@@ -467,7 +467,7 @@ exports.SignalPriorityQueue = {
467
467
  (0, client_1.getApolloModules)(),
468
468
  globalClient
469
469
  ? Promise.resolve(globalClient)
470
- : client_1.client
470
+ : (0, client_1.getApolloClient)()
471
471
  ]);
472
472
  const { gql, ApolloError } = modules;
473
473
  const UPSERT_ONE_SIGNALPRIORITYQUEUE = gql `
@@ -653,7 +653,7 @@ exports.SignalPriorityQueue = {
653
653
  (0, client_1.getApolloModules)(),
654
654
  globalClient
655
655
  ? Promise.resolve(globalClient)
656
- : client_1.client
656
+ : (0, client_1.getApolloClient)()
657
657
  ]);
658
658
  const { gql, ApolloError } = modules;
659
659
  const UPDATE_MANY_SIGNALPRIORITYQUEUE = gql `
@@ -815,7 +815,7 @@ exports.SignalPriorityQueue = {
815
815
  (0, client_1.getApolloModules)(),
816
816
  globalClient
817
817
  ? Promise.resolve(globalClient)
818
- : client_1.client
818
+ : (0, client_1.getApolloClient)()
819
819
  ]);
820
820
  const { gql, ApolloError } = modules;
821
821
  const DELETE_ONE_SIGNALPRIORITYQUEUE = gql `
@@ -926,7 +926,7 @@ exports.SignalPriorityQueue = {
926
926
  (0, client_1.getApolloModules)(),
927
927
  globalClient
928
928
  ? Promise.resolve(globalClient)
929
- : client_1.client
929
+ : (0, client_1.getApolloClient)()
930
930
  ]);
931
931
  const { gql, ApolloError } = modules;
932
932
  const GET_SIGNALPRIORITYQUEUE = gql `
@@ -1013,7 +1013,7 @@ exports.SignalPriorityQueue = {
1013
1013
  (0, client_1.getApolloModules)(),
1014
1014
  globalClient
1015
1015
  ? Promise.resolve(globalClient)
1016
- : client_1.client
1016
+ : (0, client_1.getApolloClient)()
1017
1017
  ]);
1018
1018
  const { gql, ApolloError } = modules;
1019
1019
  const GET_ALL_SIGNALPRIORITYQUEUE = gql `
@@ -1088,7 +1088,7 @@ exports.SignalPriorityQueue = {
1088
1088
  (0, client_1.getApolloModules)(),
1089
1089
  globalClient
1090
1090
  ? Promise.resolve(globalClient)
1091
- : client_1.client
1091
+ : (0, client_1.getApolloClient)()
1092
1092
  ]);
1093
1093
  const { gql, ApolloError } = modules;
1094
1094
  const FIND_MANY_SIGNALPRIORITYQUEUE = gql `
@@ -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
@@ -48,7 +48,7 @@ exports.SyncEvent = {
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_SYNCEVENT = gql `
@@ -162,7 +162,7 @@ exports.SyncEvent = {
162
162
  (0, client_1.getApolloModules)(),
163
163
  globalClient
164
164
  ? Promise.resolve(globalClient)
165
- : client_1.client
165
+ : (0, client_1.getApolloClient)()
166
166
  ]);
167
167
  const { gql, ApolloError } = modules;
168
168
  const CREATE_MANY_SYNCEVENT = gql `
@@ -274,7 +274,7 @@ exports.SyncEvent = {
274
274
  (0, client_1.getApolloModules)(),
275
275
  globalClient
276
276
  ? Promise.resolve(globalClient)
277
- : client_1.client
277
+ : (0, client_1.getApolloClient)()
278
278
  ]);
279
279
  const { gql, ApolloError } = modules;
280
280
  const UPDATE_ONE_SYNCEVENT = gql `
@@ -411,7 +411,7 @@ exports.SyncEvent = {
411
411
  (0, client_1.getApolloModules)(),
412
412
  globalClient
413
413
  ? Promise.resolve(globalClient)
414
- : client_1.client
414
+ : (0, client_1.getApolloClient)()
415
415
  ]);
416
416
  const { gql, ApolloError } = modules;
417
417
  const UPSERT_ONE_SYNCEVENT = gql `
@@ -562,7 +562,7 @@ exports.SyncEvent = {
562
562
  (0, client_1.getApolloModules)(),
563
563
  globalClient
564
564
  ? Promise.resolve(globalClient)
565
- : client_1.client
565
+ : (0, client_1.getApolloClient)()
566
566
  ]);
567
567
  const { gql, ApolloError } = modules;
568
568
  const UPDATE_MANY_SYNCEVENT = gql `
@@ -696,7 +696,7 @@ exports.SyncEvent = {
696
696
  (0, client_1.getApolloModules)(),
697
697
  globalClient
698
698
  ? Promise.resolve(globalClient)
699
- : client_1.client
699
+ : (0, client_1.getApolloClient)()
700
700
  ]);
701
701
  const { gql, ApolloError } = modules;
702
702
  const DELETE_ONE_SYNCEVENT = gql `
@@ -807,7 +807,7 @@ exports.SyncEvent = {
807
807
  (0, client_1.getApolloModules)(),
808
808
  globalClient
809
809
  ? Promise.resolve(globalClient)
810
- : client_1.client
810
+ : (0, client_1.getApolloClient)()
811
811
  ]);
812
812
  const { gql, ApolloError } = modules;
813
813
  const GET_SYNCEVENT = gql `
@@ -893,7 +893,7 @@ exports.SyncEvent = {
893
893
  (0, client_1.getApolloModules)(),
894
894
  globalClient
895
895
  ? Promise.resolve(globalClient)
896
- : client_1.client
896
+ : (0, client_1.getApolloClient)()
897
897
  ]);
898
898
  const { gql, ApolloError } = modules;
899
899
  const GET_ALL_SYNCEVENT = gql `
@@ -968,7 +968,7 @@ exports.SyncEvent = {
968
968
  (0, client_1.getApolloModules)(),
969
969
  globalClient
970
970
  ? Promise.resolve(globalClient)
971
- : client_1.client
971
+ : (0, client_1.getApolloClient)()
972
972
  ]);
973
973
  const { gql, ApolloError } = modules;
974
974
  const FIND_MANY_SYNCEVENT = gql `
@@ -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
@@ -61,7 +61,7 @@ exports.SystemAlert = {
61
61
  (0, client_1.getApolloModules)(),
62
62
  globalClient
63
63
  ? Promise.resolve(globalClient)
64
- : client_1.client
64
+ : (0, client_1.getApolloClient)()
65
65
  ]);
66
66
  const { gql, ApolloError } = modules;
67
67
  const CREATE_ONE_SYSTEMALERT = gql `
@@ -186,7 +186,7 @@ exports.SystemAlert = {
186
186
  (0, client_1.getApolloModules)(),
187
187
  globalClient
188
188
  ? Promise.resolve(globalClient)
189
- : client_1.client
189
+ : (0, client_1.getApolloClient)()
190
190
  ]);
191
191
  const { gql, ApolloError } = modules;
192
192
  const CREATE_MANY_SYSTEMALERT = gql `
@@ -309,7 +309,7 @@ exports.SystemAlert = {
309
309
  (0, client_1.getApolloModules)(),
310
310
  globalClient
311
311
  ? Promise.resolve(globalClient)
312
- : client_1.client
312
+ : (0, client_1.getApolloClient)()
313
313
  ]);
314
314
  const { gql, ApolloError } = modules;
315
315
  const UPDATE_ONE_SYSTEMALERT = gql `
@@ -481,7 +481,7 @@ exports.SystemAlert = {
481
481
  (0, client_1.getApolloModules)(),
482
482
  globalClient
483
483
  ? Promise.resolve(globalClient)
484
- : client_1.client
484
+ : (0, client_1.getApolloClient)()
485
485
  ]);
486
486
  const { gql, ApolloError } = modules;
487
487
  const UPSERT_ONE_SYSTEMALERT = gql `
@@ -678,7 +678,7 @@ exports.SystemAlert = {
678
678
  (0, client_1.getApolloModules)(),
679
679
  globalClient
680
680
  ? Promise.resolve(globalClient)
681
- : client_1.client
681
+ : (0, client_1.getApolloClient)()
682
682
  ]);
683
683
  const { gql, ApolloError } = modules;
684
684
  const UPDATE_MANY_SYSTEMALERT = gql `
@@ -847,7 +847,7 @@ exports.SystemAlert = {
847
847
  (0, client_1.getApolloModules)(),
848
848
  globalClient
849
849
  ? Promise.resolve(globalClient)
850
- : client_1.client
850
+ : (0, client_1.getApolloClient)()
851
851
  ]);
852
852
  const { gql, ApolloError } = modules;
853
853
  const DELETE_ONE_SYSTEMALERT = gql `
@@ -958,7 +958,7 @@ exports.SystemAlert = {
958
958
  (0, client_1.getApolloModules)(),
959
959
  globalClient
960
960
  ? Promise.resolve(globalClient)
961
- : client_1.client
961
+ : (0, client_1.getApolloClient)()
962
962
  ]);
963
963
  const { gql, ApolloError } = modules;
964
964
  const GET_SYSTEMALERT = gql `
@@ -1050,7 +1050,7 @@ exports.SystemAlert = {
1050
1050
  (0, client_1.getApolloModules)(),
1051
1051
  globalClient
1052
1052
  ? Promise.resolve(globalClient)
1053
- : client_1.client
1053
+ : (0, client_1.getApolloClient)()
1054
1054
  ]);
1055
1055
  const { gql, ApolloError } = modules;
1056
1056
  const GET_ALL_SYSTEMALERT = gql `
@@ -1125,7 +1125,7 @@ exports.SystemAlert = {
1125
1125
  (0, client_1.getApolloModules)(),
1126
1126
  globalClient
1127
1127
  ? Promise.resolve(globalClient)
1128
- : client_1.client
1128
+ : (0, client_1.getApolloClient)()
1129
1129
  ]);
1130
1130
  const { gql, ApolloError } = modules;
1131
1131
  const FIND_MANY_SYSTEMALERT = gql `
@@ -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,