@adaptic/backend-legacy 0.0.946 → 0.0.947
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ABTest.cjs +5 -0
- package/Account.cjs +5 -0
- package/AccountDecisionRecord.cjs +5 -0
- package/AccountLinkingRequest.cjs +5 -0
- package/Action.cjs +5 -0
- package/Alert.cjs +5 -0
- package/Allocation.cjs +5 -0
- package/AlpacaAccount.cjs +5 -0
- package/AnalyticsConfiguration.cjs +5 -0
- package/AnalyticsSnapshot.cjs +5 -0
- package/Asset.cjs +5 -0
- package/AuditLog.cjs +5 -0
- package/Authenticator.cjs +5 -0
- package/Configuration.cjs +5 -0
- package/ConflictEvent.cjs +5 -0
- package/ConnectionHealthSnapshot.cjs +5 -0
- package/Customer.cjs +5 -0
- package/DeadLetterMessage.cjs +5 -0
- package/DecisionMemorySummary.cjs +5 -0
- package/EconomicEvent.cjs +5 -0
- package/EquityBar.cjs +5 -0
- package/Event.cjs +5 -0
- package/EventSnapshot.cjs +5 -0
- package/FeatureImportanceAnalysis.cjs +5 -0
- package/InstitutionalFlowSignal.cjs +5 -0
- package/InstitutionalHolding.cjs +5 -0
- package/InstitutionalSentimentAlerts.cjs +5 -0
- package/InstitutionalSentimentErrors.cjs +5 -0
- package/InstitutionalSentimentHistory.cjs +5 -0
- package/InstitutionalSentimentMetrics.cjs +5 -0
- package/InviteToken.cjs +5 -0
- package/LinkedProvider.cjs +5 -0
- package/LlmConfiguration.cjs +5 -0
- package/MLModelVersion.cjs +5 -0
- package/MLTrainingData.cjs +5 -0
- package/MarketSentiment.cjs +5 -0
- package/ModelArtifact.cjs +5 -0
- package/ModelVersion.cjs +5 -0
- package/ModelVersionArtifact.cjs +5 -0
- package/NewsArticle.cjs +5 -0
- package/NewsArticleAssetSentiment.cjs +5 -0
- package/OptionsContract.cjs +5 -0
- package/OptionsGreeksHistory.cjs +5 -0
- package/OptionsPosition.cjs +5 -0
- package/OptionsPositionEvent.cjs +5 -0
- package/OptionsTradeExecution.cjs +5 -0
- package/PolicyOverlay.cjs +5 -0
- package/PortfolioGreeksHistory.cjs +5 -0
- package/ScheduledOptionOrder.cjs +5 -0
- package/Session.cjs +5 -0
- package/SignalGeneratorMetrics.cjs +5 -0
- package/SignalLineage.cjs +5 -0
- package/SignalOutcome.cjs +5 -0
- package/SignalPriorityQueue.cjs +5 -0
- package/SyncEvent.cjs +5 -0
- package/SystemAlert.cjs +5 -0
- package/Trade.cjs +5 -0
- package/TradeAuditEvent.cjs +5 -0
- package/TradeExecutionHistory.cjs +5 -0
- package/TradeOutcome.cjs +5 -0
- package/TradingPolicy.cjs +5 -0
- package/User.cjs +5 -0
- package/VerificationToken.cjs +5 -0
- package/WaitlistEntry.cjs +5 -0
- package/esm/ABTest.d.ts.map +1 -1
- package/esm/ABTest.js.map +1 -1
- package/esm/ABTest.mjs +5 -0
- package/esm/Account.d.ts.map +1 -1
- package/esm/Account.js.map +1 -1
- package/esm/Account.mjs +5 -0
- package/esm/AccountDecisionRecord.d.ts.map +1 -1
- package/esm/AccountDecisionRecord.js.map +1 -1
- package/esm/AccountDecisionRecord.mjs +5 -0
- package/esm/AccountLinkingRequest.d.ts.map +1 -1
- package/esm/AccountLinkingRequest.js.map +1 -1
- package/esm/AccountLinkingRequest.mjs +5 -0
- package/esm/Action.d.ts.map +1 -1
- package/esm/Action.js.map +1 -1
- package/esm/Action.mjs +5 -0
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +5 -0
- package/esm/Allocation.d.ts.map +1 -1
- package/esm/Allocation.js.map +1 -1
- package/esm/Allocation.mjs +5 -0
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +5 -0
- package/esm/AnalyticsConfiguration.d.ts.map +1 -1
- package/esm/AnalyticsConfiguration.js.map +1 -1
- package/esm/AnalyticsConfiguration.mjs +5 -0
- package/esm/AnalyticsSnapshot.d.ts.map +1 -1
- package/esm/AnalyticsSnapshot.js.map +1 -1
- package/esm/AnalyticsSnapshot.mjs +5 -0
- package/esm/Asset.d.ts.map +1 -1
- package/esm/Asset.js.map +1 -1
- package/esm/Asset.mjs +5 -0
- package/esm/AuditLog.d.ts.map +1 -1
- package/esm/AuditLog.js.map +1 -1
- package/esm/AuditLog.mjs +5 -0
- package/esm/Authenticator.d.ts.map +1 -1
- package/esm/Authenticator.js.map +1 -1
- package/esm/Authenticator.mjs +5 -0
- package/esm/Configuration.d.ts.map +1 -1
- package/esm/Configuration.js.map +1 -1
- package/esm/Configuration.mjs +5 -0
- package/esm/ConflictEvent.d.ts.map +1 -1
- package/esm/ConflictEvent.js.map +1 -1
- package/esm/ConflictEvent.mjs +5 -0
- package/esm/ConnectionHealthSnapshot.d.ts.map +1 -1
- package/esm/ConnectionHealthSnapshot.js.map +1 -1
- package/esm/ConnectionHealthSnapshot.mjs +5 -0
- package/esm/Customer.d.ts.map +1 -1
- package/esm/Customer.js.map +1 -1
- package/esm/Customer.mjs +5 -0
- package/esm/DeadLetterMessage.d.ts.map +1 -1
- package/esm/DeadLetterMessage.js.map +1 -1
- package/esm/DeadLetterMessage.mjs +5 -0
- package/esm/DecisionMemorySummary.d.ts.map +1 -1
- package/esm/DecisionMemorySummary.js.map +1 -1
- package/esm/DecisionMemorySummary.mjs +5 -0
- package/esm/EconomicEvent.d.ts.map +1 -1
- package/esm/EconomicEvent.js.map +1 -1
- package/esm/EconomicEvent.mjs +5 -0
- package/esm/EquityBar.d.ts.map +1 -1
- package/esm/EquityBar.js.map +1 -1
- package/esm/EquityBar.mjs +5 -0
- package/esm/Event.d.ts.map +1 -1
- package/esm/Event.js.map +1 -1
- package/esm/Event.mjs +5 -0
- package/esm/EventSnapshot.d.ts.map +1 -1
- package/esm/EventSnapshot.js.map +1 -1
- package/esm/EventSnapshot.mjs +5 -0
- package/esm/FeatureImportanceAnalysis.d.ts.map +1 -1
- package/esm/FeatureImportanceAnalysis.js.map +1 -1
- package/esm/FeatureImportanceAnalysis.mjs +5 -0
- package/esm/InstitutionalFlowSignal.d.ts.map +1 -1
- package/esm/InstitutionalFlowSignal.js.map +1 -1
- package/esm/InstitutionalFlowSignal.mjs +5 -0
- package/esm/InstitutionalHolding.d.ts.map +1 -1
- package/esm/InstitutionalHolding.js.map +1 -1
- package/esm/InstitutionalHolding.mjs +5 -0
- package/esm/InstitutionalSentimentAlerts.d.ts.map +1 -1
- package/esm/InstitutionalSentimentAlerts.js.map +1 -1
- package/esm/InstitutionalSentimentAlerts.mjs +5 -0
- package/esm/InstitutionalSentimentErrors.d.ts.map +1 -1
- package/esm/InstitutionalSentimentErrors.js.map +1 -1
- package/esm/InstitutionalSentimentErrors.mjs +5 -0
- package/esm/InstitutionalSentimentHistory.d.ts.map +1 -1
- package/esm/InstitutionalSentimentHistory.js.map +1 -1
- package/esm/InstitutionalSentimentHistory.mjs +5 -0
- package/esm/InstitutionalSentimentMetrics.d.ts.map +1 -1
- package/esm/InstitutionalSentimentMetrics.js.map +1 -1
- package/esm/InstitutionalSentimentMetrics.mjs +5 -0
- package/esm/InviteToken.d.ts.map +1 -1
- package/esm/InviteToken.js.map +1 -1
- package/esm/InviteToken.mjs +5 -0
- package/esm/LinkedProvider.d.ts.map +1 -1
- package/esm/LinkedProvider.js.map +1 -1
- package/esm/LinkedProvider.mjs +5 -0
- package/esm/LlmConfiguration.d.ts.map +1 -1
- package/esm/LlmConfiguration.js.map +1 -1
- package/esm/LlmConfiguration.mjs +5 -0
- package/esm/MLModelVersion.d.ts.map +1 -1
- package/esm/MLModelVersion.js.map +1 -1
- package/esm/MLModelVersion.mjs +5 -0
- package/esm/MLTrainingData.d.ts.map +1 -1
- package/esm/MLTrainingData.js.map +1 -1
- package/esm/MLTrainingData.mjs +5 -0
- package/esm/MarketSentiment.d.ts.map +1 -1
- package/esm/MarketSentiment.js.map +1 -1
- package/esm/MarketSentiment.mjs +5 -0
- package/esm/ModelArtifact.d.ts.map +1 -1
- package/esm/ModelArtifact.js.map +1 -1
- package/esm/ModelArtifact.mjs +5 -0
- package/esm/ModelVersion.d.ts.map +1 -1
- package/esm/ModelVersion.js.map +1 -1
- package/esm/ModelVersion.mjs +5 -0
- package/esm/ModelVersionArtifact.d.ts.map +1 -1
- package/esm/ModelVersionArtifact.js.map +1 -1
- package/esm/ModelVersionArtifact.mjs +5 -0
- package/esm/NewsArticle.d.ts.map +1 -1
- package/esm/NewsArticle.js.map +1 -1
- package/esm/NewsArticle.mjs +5 -0
- package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/esm/NewsArticleAssetSentiment.js.map +1 -1
- package/esm/NewsArticleAssetSentiment.mjs +5 -0
- package/esm/OptionsContract.d.ts.map +1 -1
- package/esm/OptionsContract.js.map +1 -1
- package/esm/OptionsContract.mjs +5 -0
- package/esm/OptionsGreeksHistory.d.ts.map +1 -1
- package/esm/OptionsGreeksHistory.js.map +1 -1
- package/esm/OptionsGreeksHistory.mjs +5 -0
- package/esm/OptionsPosition.d.ts.map +1 -1
- package/esm/OptionsPosition.js.map +1 -1
- package/esm/OptionsPosition.mjs +5 -0
- package/esm/OptionsPositionEvent.d.ts.map +1 -1
- package/esm/OptionsPositionEvent.js.map +1 -1
- package/esm/OptionsPositionEvent.mjs +5 -0
- package/esm/OptionsTradeExecution.d.ts.map +1 -1
- package/esm/OptionsTradeExecution.js.map +1 -1
- package/esm/OptionsTradeExecution.mjs +5 -0
- package/esm/PolicyOverlay.d.ts.map +1 -1
- package/esm/PolicyOverlay.js.map +1 -1
- package/esm/PolicyOverlay.mjs +5 -0
- package/esm/PortfolioGreeksHistory.d.ts.map +1 -1
- package/esm/PortfolioGreeksHistory.js.map +1 -1
- package/esm/PortfolioGreeksHistory.mjs +5 -0
- package/esm/ScheduledOptionOrder.d.ts.map +1 -1
- package/esm/ScheduledOptionOrder.js.map +1 -1
- package/esm/ScheduledOptionOrder.mjs +5 -0
- package/esm/Session.d.ts.map +1 -1
- package/esm/Session.js.map +1 -1
- package/esm/Session.mjs +5 -0
- package/esm/SignalGeneratorMetrics.d.ts.map +1 -1
- package/esm/SignalGeneratorMetrics.js.map +1 -1
- package/esm/SignalGeneratorMetrics.mjs +5 -0
- package/esm/SignalLineage.d.ts.map +1 -1
- package/esm/SignalLineage.js.map +1 -1
- package/esm/SignalLineage.mjs +5 -0
- package/esm/SignalOutcome.d.ts.map +1 -1
- package/esm/SignalOutcome.js.map +1 -1
- package/esm/SignalOutcome.mjs +5 -0
- package/esm/SignalPriorityQueue.d.ts.map +1 -1
- package/esm/SignalPriorityQueue.js.map +1 -1
- package/esm/SignalPriorityQueue.mjs +5 -0
- package/esm/SyncEvent.d.ts.map +1 -1
- package/esm/SyncEvent.js.map +1 -1
- package/esm/SyncEvent.mjs +5 -0
- package/esm/SystemAlert.d.ts.map +1 -1
- package/esm/SystemAlert.js.map +1 -1
- package/esm/SystemAlert.mjs +5 -0
- package/esm/Trade.d.ts.map +1 -1
- package/esm/Trade.js.map +1 -1
- package/esm/Trade.mjs +5 -0
- package/esm/TradeAuditEvent.d.ts.map +1 -1
- package/esm/TradeAuditEvent.js.map +1 -1
- package/esm/TradeAuditEvent.mjs +5 -0
- package/esm/TradeExecutionHistory.d.ts.map +1 -1
- package/esm/TradeExecutionHistory.js.map +1 -1
- package/esm/TradeExecutionHistory.mjs +5 -0
- package/esm/TradeOutcome.d.ts.map +1 -1
- package/esm/TradeOutcome.js.map +1 -1
- package/esm/TradeOutcome.mjs +5 -0
- package/esm/TradingPolicy.d.ts.map +1 -1
- package/esm/TradingPolicy.js.map +1 -1
- package/esm/TradingPolicy.mjs +5 -0
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +5 -0
- package/esm/VerificationToken.d.ts.map +1 -1
- package/esm/VerificationToken.js.map +1 -1
- package/esm/VerificationToken.mjs +5 -0
- package/esm/WaitlistEntry.d.ts.map +1 -1
- package/esm/WaitlistEntry.js.map +1 -1
- package/esm/WaitlistEntry.mjs +5 -0
- package/package.json +1 -1
package/PolicyOverlay.cjs
CHANGED
|
@@ -3835,6 +3835,11 @@ exports.PolicyOverlay = {
|
|
|
3835
3835
|
},
|
|
3836
3836
|
};
|
|
3837
3837
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
3838
|
+
// Validate that we have at least one filter criteria
|
|
3839
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
3840
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
3841
|
+
throw new Error(`findManyPolicyOverlay requires at least one filter criterion. Received empty where clause.`);
|
|
3842
|
+
}
|
|
3838
3843
|
const response = await client.query({
|
|
3839
3844
|
query: FIND_MANY_POLICYOVERLAY,
|
|
3840
3845
|
variables: filteredVariables,
|
|
@@ -1149,6 +1149,11 @@ exports.PortfolioGreeksHistory = {
|
|
|
1149
1149
|
},
|
|
1150
1150
|
};
|
|
1151
1151
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1152
|
+
// Validate that we have at least one filter criteria
|
|
1153
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
1154
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
1155
|
+
throw new Error(`findManyPortfolioGreeksHistory requires at least one filter criterion. Received empty where clause.`);
|
|
1156
|
+
}
|
|
1152
1157
|
const response = await client.query({
|
|
1153
1158
|
query: FIND_MANY_PORTFOLIOGREEKSHISTORY,
|
|
1154
1159
|
variables: filteredVariables,
|
package/ScheduledOptionOrder.cjs
CHANGED
|
@@ -891,6 +891,11 @@ exports.ScheduledOptionOrder = {
|
|
|
891
891
|
},
|
|
892
892
|
};
|
|
893
893
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
894
|
+
// Validate that we have at least one filter criteria
|
|
895
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
896
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
897
|
+
throw new Error(`findManyScheduledOptionOrder requires at least one filter criterion. Received empty where clause.`);
|
|
898
|
+
}
|
|
894
899
|
const response = await client.query({
|
|
895
900
|
query: FIND_MANY_SCHEDULEDOPTIONORDER,
|
|
896
901
|
variables: filteredVariables,
|
package/Session.cjs
CHANGED
|
@@ -6574,6 +6574,11 @@ exports.Session = {
|
|
|
6574
6574
|
},
|
|
6575
6575
|
};
|
|
6576
6576
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
6577
|
+
// Validate that we have at least one filter criteria
|
|
6578
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
6579
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
6580
|
+
throw new Error(`findManySession requires at least one filter criterion. Received empty where clause.`);
|
|
6581
|
+
}
|
|
6577
6582
|
const response = await client.query({
|
|
6578
6583
|
query: FIND_MANY_SESSION,
|
|
6579
6584
|
variables: filteredVariables,
|
|
@@ -1106,6 +1106,11 @@ exports.SignalGeneratorMetrics = {
|
|
|
1106
1106
|
},
|
|
1107
1107
|
};
|
|
1108
1108
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1109
|
+
// Validate that we have at least one filter criteria
|
|
1110
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
1111
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
1112
|
+
throw new Error(`findManySignalGeneratorMetrics requires at least one filter criterion. Received empty where clause.`);
|
|
1113
|
+
}
|
|
1109
1114
|
const response = await client.query({
|
|
1110
1115
|
query: FIND_MANY_SIGNALGENERATORMETRICS,
|
|
1111
1116
|
variables: filteredVariables,
|
package/SignalLineage.cjs
CHANGED
|
@@ -1165,6 +1165,11 @@ exports.SignalLineage = {
|
|
|
1165
1165
|
},
|
|
1166
1166
|
};
|
|
1167
1167
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1168
|
+
// Validate that we have at least one filter criteria
|
|
1169
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
1170
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
1171
|
+
throw new Error(`findManySignalLineage requires at least one filter criterion. Received empty where clause.`);
|
|
1172
|
+
}
|
|
1168
1173
|
const response = await client.query({
|
|
1169
1174
|
query: FIND_MANY_SIGNALLINEAGE,
|
|
1170
1175
|
variables: filteredVariables,
|
package/SignalOutcome.cjs
CHANGED
|
@@ -1056,6 +1056,11 @@ exports.SignalOutcome = {
|
|
|
1056
1056
|
},
|
|
1057
1057
|
};
|
|
1058
1058
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1059
|
+
// Validate that we have at least one filter criteria
|
|
1060
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
1061
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
1062
|
+
throw new Error(`findManySignalOutcome requires at least one filter criterion. Received empty where clause.`);
|
|
1063
|
+
}
|
|
1059
1064
|
const response = await client.query({
|
|
1060
1065
|
query: FIND_MANY_SIGNALOUTCOME,
|
|
1061
1066
|
variables: filteredVariables,
|
package/SignalPriorityQueue.cjs
CHANGED
|
@@ -1114,6 +1114,11 @@ exports.SignalPriorityQueue = {
|
|
|
1114
1114
|
},
|
|
1115
1115
|
};
|
|
1116
1116
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1117
|
+
// Validate that we have at least one filter criteria
|
|
1118
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
1119
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
1120
|
+
throw new Error(`findManySignalPriorityQueue requires at least one filter criterion. Received empty where clause.`);
|
|
1121
|
+
}
|
|
1117
1122
|
const response = await client.query({
|
|
1118
1123
|
query: FIND_MANY_SIGNALPRIORITYQUEUE,
|
|
1119
1124
|
variables: filteredVariables,
|
package/SyncEvent.cjs
CHANGED
|
@@ -991,6 +991,11 @@ exports.SyncEvent = {
|
|
|
991
991
|
},
|
|
992
992
|
};
|
|
993
993
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
994
|
+
// Validate that we have at least one filter criteria
|
|
995
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
996
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
997
|
+
throw new Error(`findManySyncEvent requires at least one filter criterion. Received empty where clause.`);
|
|
998
|
+
}
|
|
994
999
|
const response = await client.query({
|
|
995
1000
|
query: FIND_MANY_SYNCEVENT,
|
|
996
1001
|
variables: filteredVariables,
|
package/SystemAlert.cjs
CHANGED
|
@@ -1154,6 +1154,11 @@ exports.SystemAlert = {
|
|
|
1154
1154
|
},
|
|
1155
1155
|
};
|
|
1156
1156
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1157
|
+
// Validate that we have at least one filter criteria
|
|
1158
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
1159
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
1160
|
+
throw new Error(`findManySystemAlert requires at least one filter criterion. Received empty where clause.`);
|
|
1161
|
+
}
|
|
1157
1162
|
const response = await client.query({
|
|
1158
1163
|
query: FIND_MANY_SYSTEMALERT,
|
|
1159
1164
|
variables: filteredVariables,
|
package/Trade.cjs
CHANGED
|
@@ -1549,6 +1549,11 @@ exports.Trade = {
|
|
|
1549
1549
|
},
|
|
1550
1550
|
};
|
|
1551
1551
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1552
|
+
// Validate that we have at least one filter criteria
|
|
1553
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
1554
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
1555
|
+
throw new Error(`findManyTrade requires at least one filter criterion. Received empty where clause.`);
|
|
1556
|
+
}
|
|
1552
1557
|
const response = await client.query({
|
|
1553
1558
|
query: FIND_MANY_TRADE,
|
|
1554
1559
|
variables: filteredVariables,
|
package/TradeAuditEvent.cjs
CHANGED
|
@@ -1202,6 +1202,11 @@ exports.TradeAuditEvent = {
|
|
|
1202
1202
|
},
|
|
1203
1203
|
};
|
|
1204
1204
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1205
|
+
// Validate that we have at least one filter criteria
|
|
1206
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
1207
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
1208
|
+
throw new Error(`findManyTradeAuditEvent requires at least one filter criterion. Received empty where clause.`);
|
|
1209
|
+
}
|
|
1205
1210
|
const response = await client.query({
|
|
1206
1211
|
query: FIND_MANY_TRADEAUDITEVENT,
|
|
1207
1212
|
variables: filteredVariables,
|
|
@@ -931,6 +931,11 @@ exports.TradeExecutionHistory = {
|
|
|
931
931
|
},
|
|
932
932
|
};
|
|
933
933
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
934
|
+
// Validate that we have at least one filter criteria
|
|
935
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
936
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
937
|
+
throw new Error(`findManyTradeExecutionHistory requires at least one filter criterion. Received empty where clause.`);
|
|
938
|
+
}
|
|
934
939
|
const response = await client.query({
|
|
935
940
|
query: FIND_MANY_TRADEEXECUTIONHISTORY,
|
|
936
941
|
variables: filteredVariables,
|
package/TradeOutcome.cjs
CHANGED
|
@@ -1170,6 +1170,11 @@ exports.TradeOutcome = {
|
|
|
1170
1170
|
},
|
|
1171
1171
|
};
|
|
1172
1172
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
1173
|
+
// Validate that we have at least one filter criteria
|
|
1174
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
1175
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
1176
|
+
throw new Error(`findManyTradeOutcome requires at least one filter criterion. Received empty where clause.`);
|
|
1177
|
+
}
|
|
1173
1178
|
const response = await client.query({
|
|
1174
1179
|
query: FIND_MANY_TRADEOUTCOME,
|
|
1175
1180
|
variables: filteredVariables,
|
package/TradingPolicy.cjs
CHANGED
|
@@ -6551,6 +6551,11 @@ exports.TradingPolicy = {
|
|
|
6551
6551
|
},
|
|
6552
6552
|
};
|
|
6553
6553
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
6554
|
+
// Validate that we have at least one filter criteria
|
|
6555
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
6556
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
6557
|
+
throw new Error(`findManyTradingPolicy requires at least one filter criterion. Received empty where clause.`);
|
|
6558
|
+
}
|
|
6554
6559
|
const response = await client.query({
|
|
6555
6560
|
query: FIND_MANY_TRADINGPOLICY,
|
|
6556
6561
|
variables: filteredVariables,
|
package/User.cjs
CHANGED
|
@@ -5959,6 +5959,11 @@ exports.User = {
|
|
|
5959
5959
|
},
|
|
5960
5960
|
};
|
|
5961
5961
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
5962
|
+
// Validate that we have at least one filter criteria
|
|
5963
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
5964
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
5965
|
+
throw new Error(`findManyUser requires at least one filter criterion. Received empty where clause.`);
|
|
5966
|
+
}
|
|
5962
5967
|
const response = await client.query({
|
|
5963
5968
|
query: FIND_MANY_USER,
|
|
5964
5969
|
variables: filteredVariables,
|
package/VerificationToken.cjs
CHANGED
|
@@ -901,6 +901,11 @@ exports.VerificationToken = {
|
|
|
901
901
|
},
|
|
902
902
|
};
|
|
903
903
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
904
|
+
// Validate that we have at least one filter criteria
|
|
905
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
906
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
907
|
+
throw new Error(`findManyVerificationToken requires at least one filter criterion. Received empty where clause.`);
|
|
908
|
+
}
|
|
904
909
|
const response = await client.query({
|
|
905
910
|
query: FIND_MANY_VERIFICATIONTOKEN,
|
|
906
911
|
variables: filteredVariables,
|
package/WaitlistEntry.cjs
CHANGED
|
@@ -6406,6 +6406,11 @@ exports.WaitlistEntry = {
|
|
|
6406
6406
|
},
|
|
6407
6407
|
};
|
|
6408
6408
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
|
6409
|
+
// Validate that we have at least one filter criteria
|
|
6410
|
+
// GraphQL requires a non-empty where clause for findMany
|
|
6411
|
+
if (!filteredVariables || !filteredVariables.where || Object.keys(filteredVariables.where).length === 0) {
|
|
6412
|
+
throw new Error(`findManyWaitlistEntry requires at least one filter criterion. Received empty where clause.`);
|
|
6413
|
+
}
|
|
6409
6414
|
const response = await client.query({
|
|
6410
6415
|
query: FIND_MANY_WAITLISTENTRY,
|
|
6411
6416
|
variables: filteredVariables,
|
package/esm/ABTest.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ABTest.d.ts","sourceRoot":"","sources":["../../src/ABTest.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAA4B,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AAsL7G,eAAO,MAAM,MAAM;IAEjB;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,UAAU,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC;IA4jD9G;;;;;;;OAOG;sBACqB,UAAU,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,YAAY;QAAE,c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