@adaptic/backend-legacy 0.0.916 → 0.0.918
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 +0 -46
- package/Account.cjs +0 -250
- package/AccountLinkingRequest.cjs +0 -250
- package/Alert.cjs +0 -2
- package/Allocation.cjs +0 -213
- package/AlpacaAccount.cjs +0 -162
- package/Asset.cjs +0 -26
- package/Authenticator.cjs +0 -257
- package/Configuration.cjs +0 -4
- package/ConflictEvent.cjs +0 -7
- package/Customer.cjs +0 -148
- package/DecisionMemorySummary.cjs +0 -8
- package/EquityBar.cjs +0 -3
- package/FeatureImportanceAnalysis.cjs +0 -68
- package/InstitutionalFlowSignal.cjs +0 -18
- package/InstitutionalHolding.cjs +0 -14
- package/InviteToken.cjs +0 -167
- package/LinkedProvider.cjs +0 -254
- package/LlmConfiguration.cjs +0 -256
- package/ModelArtifact.cjs +0 -88
- package/ModelVersion.cjs +0 -88
- package/ModelVersionArtifact.cjs +0 -88
- package/NewsArticle.cjs +0 -95
- package/NewsArticleAssetSentiment.cjs +0 -104
- package/OptionsContract.cjs +0 -70
- package/OptionsGreeksHistory.cjs +0 -134
- package/OptionsPosition.cjs +0 -112
- package/OptionsTradeExecution.cjs +0 -116
- package/PolicyOverlay.cjs +0 -158
- package/PortfolioGreeksHistory.cjs +0 -12
- package/Session.cjs +0 -133
- package/TradingPolicy.cjs +0 -173
- package/User.cjs +0 -167
- package/WaitlistEntry.cjs +0 -241
- package/client.cjs +19 -6
- package/esm/ABTest.d.ts.map +1 -1
- package/esm/ABTest.js.map +1 -1
- package/esm/ABTest.mjs +0 -46
- package/esm/Account.d.ts.map +1 -1
- package/esm/Account.js.map +1 -1
- package/esm/Account.mjs +0 -250
- package/esm/AccountLinkingRequest.d.ts.map +1 -1
- package/esm/AccountLinkingRequest.js.map +1 -1
- package/esm/AccountLinkingRequest.mjs +0 -250
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +0 -2
- package/esm/Allocation.d.ts.map +1 -1
- package/esm/Allocation.js.map +1 -1
- package/esm/Allocation.mjs +0 -213
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +0 -162
- package/esm/Asset.d.ts.map +1 -1
- package/esm/Asset.js.map +1 -1
- package/esm/Asset.mjs +0 -26
- package/esm/Authenticator.d.ts.map +1 -1
- package/esm/Authenticator.js.map +1 -1
- package/esm/Authenticator.mjs +0 -257
- package/esm/Configuration.d.ts.map +1 -1
- package/esm/Configuration.js.map +1 -1
- package/esm/Configuration.mjs +0 -4
- package/esm/ConflictEvent.d.ts.map +1 -1
- package/esm/ConflictEvent.js.map +1 -1
- package/esm/ConflictEvent.mjs +0 -7
- package/esm/Customer.d.ts.map +1 -1
- package/esm/Customer.js.map +1 -1
- package/esm/Customer.mjs +0 -148
- package/esm/DecisionMemorySummary.d.ts.map +1 -1
- package/esm/DecisionMemorySummary.js.map +1 -1
- package/esm/DecisionMemorySummary.mjs +0 -8
- package/esm/EquityBar.d.ts.map +1 -1
- package/esm/EquityBar.js.map +1 -1
- package/esm/EquityBar.mjs +0 -3
- package/esm/FeatureImportanceAnalysis.d.ts.map +1 -1
- package/esm/FeatureImportanceAnalysis.js.map +1 -1
- package/esm/FeatureImportanceAnalysis.mjs +0 -68
- package/esm/InstitutionalFlowSignal.d.ts.map +1 -1
- package/esm/InstitutionalFlowSignal.js.map +1 -1
- package/esm/InstitutionalFlowSignal.mjs +0 -18
- package/esm/InstitutionalHolding.d.ts.map +1 -1
- package/esm/InstitutionalHolding.js.map +1 -1
- package/esm/InstitutionalHolding.mjs +0 -14
- package/esm/InviteToken.d.ts.map +1 -1
- package/esm/InviteToken.js.map +1 -1
- package/esm/InviteToken.mjs +0 -167
- package/esm/LinkedProvider.d.ts.map +1 -1
- package/esm/LinkedProvider.js.map +1 -1
- package/esm/LinkedProvider.mjs +0 -254
- package/esm/LlmConfiguration.d.ts.map +1 -1
- package/esm/LlmConfiguration.js.map +1 -1
- package/esm/LlmConfiguration.mjs +0 -256
- package/esm/ModelArtifact.d.ts.map +1 -1
- package/esm/ModelArtifact.js.map +1 -1
- package/esm/ModelArtifact.mjs +0 -88
- package/esm/ModelVersion.d.ts.map +1 -1
- package/esm/ModelVersion.js.map +1 -1
- package/esm/ModelVersion.mjs +0 -88
- package/esm/ModelVersionArtifact.d.ts.map +1 -1
- package/esm/ModelVersionArtifact.js.map +1 -1
- package/esm/ModelVersionArtifact.mjs +0 -88
- package/esm/NewsArticle.d.ts.map +1 -1
- package/esm/NewsArticle.js.map +1 -1
- package/esm/NewsArticle.mjs +0 -95
- package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/esm/NewsArticleAssetSentiment.js.map +1 -1
- package/esm/NewsArticleAssetSentiment.mjs +0 -104
- package/esm/OptionsContract.d.ts.map +1 -1
- package/esm/OptionsContract.js.map +1 -1
- package/esm/OptionsContract.mjs +0 -70
- package/esm/OptionsGreeksHistory.d.ts.map +1 -1
- package/esm/OptionsGreeksHistory.js.map +1 -1
- package/esm/OptionsGreeksHistory.mjs +0 -134
- package/esm/OptionsPosition.d.ts.map +1 -1
- package/esm/OptionsPosition.js.map +1 -1
- package/esm/OptionsPosition.mjs +0 -112
- package/esm/OptionsTradeExecution.d.ts.map +1 -1
- package/esm/OptionsTradeExecution.js.map +1 -1
- package/esm/OptionsTradeExecution.mjs +0 -116
- package/esm/PolicyOverlay.d.ts.map +1 -1
- package/esm/PolicyOverlay.js.map +1 -1
- package/esm/PolicyOverlay.mjs +0 -158
- package/esm/PortfolioGreeksHistory.d.ts.map +1 -1
- package/esm/PortfolioGreeksHistory.js.map +1 -1
- package/esm/PortfolioGreeksHistory.mjs +0 -12
- package/esm/Session.d.ts.map +1 -1
- package/esm/Session.js.map +1 -1
- package/esm/Session.mjs +0 -133
- package/esm/TradingPolicy.d.ts.map +1 -1
- package/esm/TradingPolicy.js.map +1 -1
- package/esm/TradingPolicy.mjs +0 -173
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +0 -167
- package/esm/WaitlistEntry.d.ts.map +1 -1
- package/esm/WaitlistEntry.js.map +1 -1
- package/esm/WaitlistEntry.mjs +0 -241
- package/esm/client.d.ts.map +1 -1
- package/esm/client.js.map +1 -1
- package/esm/client.mjs +19 -6
- package/esm/generated/selectionSets/ABTest.d.ts +1 -1
- package/esm/generated/selectionSets/ABTest.d.ts.map +1 -1
- package/esm/generated/selectionSets/ABTest.js.map +1 -1
- package/esm/generated/selectionSets/ABTest.mjs +0 -46
- package/esm/generated/selectionSets/Account.d.ts +1 -1
- package/esm/generated/selectionSets/Account.d.ts.map +1 -1
- package/esm/generated/selectionSets/Account.js.map +1 -1
- package/esm/generated/selectionSets/Account.mjs +0 -250
- package/esm/generated/selectionSets/AccountLinkingRequest.d.ts +1 -1
- package/esm/generated/selectionSets/AccountLinkingRequest.d.ts.map +1 -1
- package/esm/generated/selectionSets/AccountLinkingRequest.js.map +1 -1
- package/esm/generated/selectionSets/AccountLinkingRequest.mjs +0 -250
- package/esm/generated/selectionSets/Alert.d.ts +1 -1
- package/esm/generated/selectionSets/Alert.d.ts.map +1 -1
- package/esm/generated/selectionSets/Alert.js.map +1 -1
- package/esm/generated/selectionSets/Alert.mjs +0 -2
- package/esm/generated/selectionSets/Allocation.d.ts +1 -1
- package/esm/generated/selectionSets/Allocation.d.ts.map +1 -1
- package/esm/generated/selectionSets/Allocation.js.map +1 -1
- package/esm/generated/selectionSets/Allocation.mjs +0 -213
- package/esm/generated/selectionSets/AlpacaAccount.d.ts +1 -1
- package/esm/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
- package/esm/generated/selectionSets/AlpacaAccount.js.map +1 -1
- package/esm/generated/selectionSets/AlpacaAccount.mjs +0 -162
- package/esm/generated/selectionSets/Asset.d.ts +1 -1
- package/esm/generated/selectionSets/Asset.d.ts.map +1 -1
- package/esm/generated/selectionSets/Asset.js.map +1 -1
- package/esm/generated/selectionSets/Asset.mjs +0 -26
- package/esm/generated/selectionSets/Authenticator.d.ts +1 -1
- package/esm/generated/selectionSets/Authenticator.d.ts.map +1 -1
- package/esm/generated/selectionSets/Authenticator.js.map +1 -1
- package/esm/generated/selectionSets/Authenticator.mjs +0 -257
- package/esm/generated/selectionSets/Configuration.d.ts +1 -1
- package/esm/generated/selectionSets/Configuration.d.ts.map +1 -1
- package/esm/generated/selectionSets/Configuration.js.map +1 -1
- package/esm/generated/selectionSets/Configuration.mjs +0 -4
- package/esm/generated/selectionSets/ConflictEvent.d.ts +1 -1
- package/esm/generated/selectionSets/ConflictEvent.d.ts.map +1 -1
- package/esm/generated/selectionSets/ConflictEvent.js.map +1 -1
- package/esm/generated/selectionSets/ConflictEvent.mjs +0 -7
- package/esm/generated/selectionSets/Customer.d.ts +1 -1
- package/esm/generated/selectionSets/Customer.d.ts.map +1 -1
- package/esm/generated/selectionSets/Customer.js.map +1 -1
- package/esm/generated/selectionSets/Customer.mjs +0 -148
- package/esm/generated/selectionSets/DecisionMemorySummary.d.ts +1 -1
- package/esm/generated/selectionSets/DecisionMemorySummary.d.ts.map +1 -1
- package/esm/generated/selectionSets/DecisionMemorySummary.js.map +1 -1
- package/esm/generated/selectionSets/DecisionMemorySummary.mjs +0 -8
- package/esm/generated/selectionSets/EquityBar.d.ts +1 -1
- package/esm/generated/selectionSets/EquityBar.d.ts.map +1 -1
- package/esm/generated/selectionSets/EquityBar.js.map +1 -1
- package/esm/generated/selectionSets/EquityBar.mjs +0 -3
- package/esm/generated/selectionSets/FeatureImportanceAnalysis.d.ts +1 -1
- package/esm/generated/selectionSets/FeatureImportanceAnalysis.d.ts.map +1 -1
- package/esm/generated/selectionSets/FeatureImportanceAnalysis.js.map +1 -1
- package/esm/generated/selectionSets/FeatureImportanceAnalysis.mjs +0 -68
- package/esm/generated/selectionSets/InstitutionalFlowSignal.d.ts +1 -1
- package/esm/generated/selectionSets/InstitutionalFlowSignal.d.ts.map +1 -1
- package/esm/generated/selectionSets/InstitutionalFlowSignal.js.map +1 -1
- package/esm/generated/selectionSets/InstitutionalFlowSignal.mjs +0 -18
- package/esm/generated/selectionSets/InstitutionalHolding.d.ts +1 -1
- package/esm/generated/selectionSets/InstitutionalHolding.d.ts.map +1 -1
- package/esm/generated/selectionSets/InstitutionalHolding.js.map +1 -1
- package/esm/generated/selectionSets/InstitutionalHolding.mjs +0 -14
- package/esm/generated/selectionSets/InviteToken.d.ts +1 -1
- package/esm/generated/selectionSets/InviteToken.d.ts.map +1 -1
- package/esm/generated/selectionSets/InviteToken.js.map +1 -1
- package/esm/generated/selectionSets/InviteToken.mjs +0 -167
- package/esm/generated/selectionSets/LinkedProvider.d.ts +1 -1
- package/esm/generated/selectionSets/LinkedProvider.d.ts.map +1 -1
- package/esm/generated/selectionSets/LinkedProvider.js.map +1 -1
- package/esm/generated/selectionSets/LinkedProvider.mjs +0 -254
- package/esm/generated/selectionSets/LlmConfiguration.d.ts +1 -1
- package/esm/generated/selectionSets/LlmConfiguration.d.ts.map +1 -1
- package/esm/generated/selectionSets/LlmConfiguration.js.map +1 -1
- package/esm/generated/selectionSets/LlmConfiguration.mjs +0 -256
- package/esm/generated/selectionSets/ModelArtifact.d.ts +1 -1
- package/esm/generated/selectionSets/ModelArtifact.d.ts.map +1 -1
- package/esm/generated/selectionSets/ModelArtifact.js.map +1 -1
- package/esm/generated/selectionSets/ModelArtifact.mjs +0 -88
- package/esm/generated/selectionSets/ModelVersion.d.ts +1 -1
- package/esm/generated/selectionSets/ModelVersion.d.ts.map +1 -1
- package/esm/generated/selectionSets/ModelVersion.js.map +1 -1
- package/esm/generated/selectionSets/ModelVersion.mjs +0 -88
- package/esm/generated/selectionSets/ModelVersionArtifact.d.ts +1 -1
- package/esm/generated/selectionSets/ModelVersionArtifact.d.ts.map +1 -1
- package/esm/generated/selectionSets/ModelVersionArtifact.js.map +1 -1
- package/esm/generated/selectionSets/ModelVersionArtifact.mjs +0 -88
- package/esm/generated/selectionSets/NewsArticle.d.ts +1 -1
- package/esm/generated/selectionSets/NewsArticle.d.ts.map +1 -1
- package/esm/generated/selectionSets/NewsArticle.js.map +1 -1
- package/esm/generated/selectionSets/NewsArticle.mjs +0 -95
- package/esm/generated/selectionSets/NewsArticleAssetSentiment.d.ts +1 -1
- package/esm/generated/selectionSets/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/esm/generated/selectionSets/NewsArticleAssetSentiment.js.map +1 -1
- package/esm/generated/selectionSets/NewsArticleAssetSentiment.mjs +0 -104
- package/esm/generated/selectionSets/OptionsContract.d.ts +1 -1
- package/esm/generated/selectionSets/OptionsContract.d.ts.map +1 -1
- package/esm/generated/selectionSets/OptionsContract.js.map +1 -1
- package/esm/generated/selectionSets/OptionsContract.mjs +0 -70
- package/esm/generated/selectionSets/OptionsGreeksHistory.d.ts +1 -1
- package/esm/generated/selectionSets/OptionsGreeksHistory.d.ts.map +1 -1
- package/esm/generated/selectionSets/OptionsGreeksHistory.js.map +1 -1
- package/esm/generated/selectionSets/OptionsGreeksHistory.mjs +0 -134
- package/esm/generated/selectionSets/OptionsPosition.d.ts +1 -1
- package/esm/generated/selectionSets/OptionsPosition.d.ts.map +1 -1
- package/esm/generated/selectionSets/OptionsPosition.js.map +1 -1
- package/esm/generated/selectionSets/OptionsPosition.mjs +0 -112
- package/esm/generated/selectionSets/OptionsTradeExecution.d.ts +1 -1
- package/esm/generated/selectionSets/OptionsTradeExecution.d.ts.map +1 -1
- package/esm/generated/selectionSets/OptionsTradeExecution.js.map +1 -1
- package/esm/generated/selectionSets/OptionsTradeExecution.mjs +0 -116
- package/esm/generated/selectionSets/PolicyOverlay.d.ts +1 -1
- package/esm/generated/selectionSets/PolicyOverlay.d.ts.map +1 -1
- package/esm/generated/selectionSets/PolicyOverlay.js.map +1 -1
- package/esm/generated/selectionSets/PolicyOverlay.mjs +0 -158
- package/esm/generated/selectionSets/PortfolioGreeksHistory.d.ts +1 -1
- package/esm/generated/selectionSets/PortfolioGreeksHistory.d.ts.map +1 -1
- package/esm/generated/selectionSets/PortfolioGreeksHistory.js.map +1 -1
- package/esm/generated/selectionSets/PortfolioGreeksHistory.mjs +0 -12
- package/esm/generated/selectionSets/Session.d.ts +1 -1
- package/esm/generated/selectionSets/Session.d.ts.map +1 -1
- package/esm/generated/selectionSets/Session.js.map +1 -1
- package/esm/generated/selectionSets/Session.mjs +0 -133
- package/esm/generated/selectionSets/TradingPolicy.d.ts +1 -1
- package/esm/generated/selectionSets/TradingPolicy.d.ts.map +1 -1
- package/esm/generated/selectionSets/TradingPolicy.js.map +1 -1
- package/esm/generated/selectionSets/TradingPolicy.mjs +0 -173
- package/esm/generated/selectionSets/User.d.ts +1 -1
- package/esm/generated/selectionSets/User.d.ts.map +1 -1
- package/esm/generated/selectionSets/User.js.map +1 -1
- package/esm/generated/selectionSets/User.mjs +0 -167
- package/esm/generated/selectionSets/WaitlistEntry.d.ts +1 -1
- package/esm/generated/selectionSets/WaitlistEntry.d.ts.map +1 -1
- package/esm/generated/selectionSets/WaitlistEntry.js.map +1 -1
- package/esm/generated/selectionSets/WaitlistEntry.mjs +0 -241
- package/esm/generated/typeStrings/ConflictEvent.d.ts +1 -1
- package/esm/generated/typeStrings/ConflictEvent.d.ts.map +1 -1
- package/esm/generated/typeStrings/ConflictEvent.mjs +6 -6
- package/esm/generated/typeStrings/LlmConfiguration.d.ts +1 -1
- package/esm/generated/typeStrings/LlmConfiguration.d.ts.map +1 -1
- package/esm/generated/typeStrings/LlmConfiguration.js.map +1 -1
- package/esm/generated/typeStrings/LlmConfiguration.mjs +1 -6
- package/esm/generated/typeStrings/PolicyOverlay.d.ts +1 -1
- package/esm/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
- package/esm/generated/typeStrings/PolicyOverlay.js.map +1 -1
- package/esm/generated/typeStrings/PolicyOverlay.mjs +3 -0
- package/esm/generated/typeStrings/PortfolioGreeksHistory.d.ts +1 -1
- package/esm/generated/typeStrings/PortfolioGreeksHistory.d.ts.map +1 -1
- package/esm/generated/typeStrings/PortfolioGreeksHistory.mjs +11 -11
- package/esm/generated/typeStrings/TradingPolicy.d.ts +1 -1
- package/esm/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
- package/esm/generated/typeStrings/TradingPolicy.js.map +1 -1
- package/esm/generated/typeStrings/TradingPolicy.mjs +2 -0
- package/esm/generated/typeStrings/index.d.ts +5 -5
- package/esm/generated/typegraphql-prisma/models/Account.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/Account.mjs +1 -1
- package/esm/generated/typegraphql-prisma/models/AccountLinkingRequest.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/AccountLinkingRequest.mjs +1 -1
- package/esm/generated/typegraphql-prisma/models/Alert.d.ts +2 -2
- package/esm/generated/typegraphql-prisma/models/Alert.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/Alert.mjs +4 -4
- package/esm/generated/typegraphql-prisma/models/Allocation.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/Allocation.mjs +1 -1
- package/esm/generated/typegraphql-prisma/models/AlpacaAccount.d.ts +2 -2
- package/esm/generated/typegraphql-prisma/models/AlpacaAccount.mjs +2 -2
- package/esm/generated/typegraphql-prisma/models/Asset.d.ts +2 -2
- package/esm/generated/typegraphql-prisma/models/Asset.mjs +2 -2
- package/esm/generated/typegraphql-prisma/models/Authenticator.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/Authenticator.mjs +1 -1
- package/esm/generated/typegraphql-prisma/models/Configuration.d.ts +4 -4
- package/esm/generated/typegraphql-prisma/models/Configuration.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/Configuration.mjs +8 -8
- package/esm/generated/typegraphql-prisma/models/ConflictEvent.d.ts +7 -7
- package/esm/generated/typegraphql-prisma/models/ConflictEvent.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/ConflictEvent.mjs +14 -14
- package/esm/generated/typegraphql-prisma/models/DecisionMemorySummary.d.ts +24 -0
- package/esm/generated/typegraphql-prisma/models/DecisionMemorySummary.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/models/DecisionMemorySummary.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/DecisionMemorySummary.mjs +40 -8
- package/esm/generated/typegraphql-prisma/models/EquityBar.d.ts +9 -0
- package/esm/generated/typegraphql-prisma/models/EquityBar.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/models/EquityBar.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/EquityBar.mjs +15 -3
- package/esm/generated/typegraphql-prisma/models/InstitutionalFlowSignal.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/InstitutionalFlowSignal.mjs +1 -1
- package/esm/generated/typegraphql-prisma/models/InstitutionalHolding.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/InstitutionalHolding.mjs +1 -1
- package/esm/generated/typegraphql-prisma/models/InviteToken.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/InviteToken.mjs +1 -1
- package/esm/generated/typegraphql-prisma/models/LinkedProvider.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/LinkedProvider.mjs +1 -1
- package/esm/generated/typegraphql-prisma/models/LlmConfiguration.d.ts +22 -3
- package/esm/generated/typegraphql-prisma/models/LlmConfiguration.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/models/LlmConfiguration.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/LlmConfiguration.mjs +35 -10
- package/esm/generated/typegraphql-prisma/models/ModelVersion.d.ts +3 -3
- package/esm/generated/typegraphql-prisma/models/ModelVersion.mjs +3 -3
- package/esm/generated/typegraphql-prisma/models/NewsArticle.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/NewsArticle.mjs +1 -1
- package/esm/generated/typegraphql-prisma/models/NewsArticleAssetSentiment.d.ts +2 -2
- package/esm/generated/typegraphql-prisma/models/NewsArticleAssetSentiment.mjs +2 -2
- package/esm/generated/typegraphql-prisma/models/OptionsContract.d.ts +3 -3
- package/esm/generated/typegraphql-prisma/models/OptionsContract.mjs +3 -3
- package/esm/generated/typegraphql-prisma/models/OptionsGreeksHistory.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/OptionsGreeksHistory.mjs +1 -1
- package/esm/generated/typegraphql-prisma/models/OptionsPosition.d.ts +2 -2
- package/esm/generated/typegraphql-prisma/models/OptionsPosition.mjs +2 -2
- package/esm/generated/typegraphql-prisma/models/OptionsTradeExecution.d.ts +2 -2
- package/esm/generated/typegraphql-prisma/models/OptionsTradeExecution.mjs +2 -2
- package/esm/generated/typegraphql-prisma/models/PolicyOverlay.d.ts +3 -0
- package/esm/generated/typegraphql-prisma/models/PolicyOverlay.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/models/PolicyOverlay.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/PolicyOverlay.mjs +3 -0
- package/esm/generated/typegraphql-prisma/models/PortfolioGreeksHistory.d.ts +12 -12
- package/esm/generated/typegraphql-prisma/models/PortfolioGreeksHistory.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/PortfolioGreeksHistory.mjs +24 -24
- package/esm/generated/typegraphql-prisma/models/Session.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/Session.mjs +1 -1
- package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts +6 -0
- package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/TradingPolicy.mjs +6 -0
- package/esm/generated/typegraphql-prisma/models/User.d.ts +5 -5
- package/esm/generated/typegraphql-prisma/models/User.mjs +5 -5
- package/esm/generated/typegraphql-prisma/models/WaitlistEntry.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/WaitlistEntry.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Account/AccountRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Account/AccountRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/AccountLinkingRequest/AccountLinkingRequestRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/AccountLinkingRequest/AccountLinkingRequestRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Allocation/AllocationRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Allocation/AllocationRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/AlpacaAccountRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/AlpacaAccountRelationsResolver.mjs +2 -2
- package/esm/generated/typegraphql-prisma/resolvers/relations/Asset/AssetRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Asset/AssetRelationsResolver.mjs +2 -2
- package/esm/generated/typegraphql-prisma/resolvers/relations/Authenticator/AuthenticatorRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Authenticator/AuthenticatorRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/InstitutionalFlowSignal/InstitutionalFlowSignalRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/InstitutionalFlowSignal/InstitutionalFlowSignalRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/InstitutionalHolding/InstitutionalHoldingRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/InstitutionalHolding/InstitutionalHoldingRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/InviteToken/InviteTokenRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/InviteToken/InviteTokenRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/LinkedProvider/LinkedProviderRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/LinkedProvider/LinkedProviderRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/LlmConfiguration/LlmConfigurationRelationsResolver.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/LlmConfiguration/LlmConfigurationRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/LlmConfiguration/LlmConfigurationRelationsResolver.mjs +2 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/ModelVersion/ModelVersionRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/ModelVersion/ModelVersionRelationsResolver.mjs +3 -3
- package/esm/generated/typegraphql-prisma/resolvers/relations/NewsArticle/NewsArticleRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/NewsArticle/NewsArticleRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/NewsArticleAssetSentiment/NewsArticleAssetSentimentRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/NewsArticleAssetSentiment/NewsArticleAssetSentimentRelationsResolver.mjs +2 -2
- package/esm/generated/typegraphql-prisma/resolvers/relations/OptionsContract/OptionsContractRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/OptionsContract/OptionsContractRelationsResolver.mjs +3 -3
- package/esm/generated/typegraphql-prisma/resolvers/relations/OptionsGreeksHistory/OptionsGreeksHistoryRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/OptionsGreeksHistory/OptionsGreeksHistoryRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/OptionsPosition/OptionsPositionRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/OptionsPosition/OptionsPositionRelationsResolver.mjs +2 -2
- package/esm/generated/typegraphql-prisma/resolvers/relations/OptionsTradeExecution/OptionsTradeExecutionRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/OptionsTradeExecution/OptionsTradeExecutionRelationsResolver.mjs +2 -2
- package/esm/generated/typegraphql-prisma/resolvers/relations/PolicyOverlay/PolicyOverlayRelationsResolver.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/PolicyOverlay/PolicyOverlayRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/PolicyOverlay/PolicyOverlayRelationsResolver.mjs +2 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Session/SessionRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Session/SessionRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/TradingPolicy/TradingPolicyRelationsResolver.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/TradingPolicy/TradingPolicyRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/TradingPolicy/TradingPolicyRelationsResolver.mjs +4 -2
- package/esm/generated/typegraphql-prisma/resolvers/relations/User/UserRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/User/UserRelationsResolver.mjs +5 -5
- package/esm/generated/typegraphql-prisma/resolvers/relations/WaitlistEntry/WaitlistEntryRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/WaitlistEntry/WaitlistEntryRelationsResolver.mjs +1 -1
- package/esm/prismaClient.d.ts +15 -0
- package/esm/prismaClient.d.ts.map +1 -1
- package/esm/prismaClient.js.map +1 -1
- package/esm/prismaClient.mjs +146 -1
- package/generated/typeStrings/ConflictEvent.cjs +6 -6
- package/generated/typeStrings/ConflictEvent.d.ts +1 -1
- package/generated/typeStrings/ConflictEvent.d.ts.map +1 -1
- package/generated/typeStrings/LlmConfiguration.cjs +1 -6
- package/generated/typeStrings/LlmConfiguration.d.ts +1 -1
- package/generated/typeStrings/LlmConfiguration.d.ts.map +1 -1
- package/generated/typeStrings/LlmConfiguration.js.map +1 -1
- package/generated/typeStrings/PolicyOverlay.cjs +3 -0
- package/generated/typeStrings/PolicyOverlay.d.ts +1 -1
- package/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
- package/generated/typeStrings/PolicyOverlay.js.map +1 -1
- package/generated/typeStrings/PortfolioGreeksHistory.cjs +11 -11
- package/generated/typeStrings/PortfolioGreeksHistory.d.ts +1 -1
- package/generated/typeStrings/PortfolioGreeksHistory.d.ts.map +1 -1
- package/generated/typeStrings/TradingPolicy.cjs +2 -0
- package/generated/typeStrings/TradingPolicy.d.ts +1 -1
- package/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
- package/generated/typeStrings/TradingPolicy.js.map +1 -1
- package/generated/typeStrings/index.d.ts +5 -5
- package/generated/typegraphql-prisma/models/Account.d.ts +1 -1
- package/generated/typegraphql-prisma/models/AccountLinkingRequest.d.ts +1 -1
- package/generated/typegraphql-prisma/models/Alert.cjs +2 -2
- package/generated/typegraphql-prisma/models/Alert.d.ts +2 -2
- package/generated/typegraphql-prisma/models/Alert.js.map +1 -1
- package/generated/typegraphql-prisma/models/Allocation.d.ts +1 -1
- package/generated/typegraphql-prisma/models/AlpacaAccount.d.ts +2 -2
- package/generated/typegraphql-prisma/models/Asset.d.ts +2 -2
- package/generated/typegraphql-prisma/models/Authenticator.d.ts +1 -1
- package/generated/typegraphql-prisma/models/Configuration.cjs +4 -4
- package/generated/typegraphql-prisma/models/Configuration.d.ts +4 -4
- package/generated/typegraphql-prisma/models/Configuration.js.map +1 -1
- package/generated/typegraphql-prisma/models/ConflictEvent.cjs +7 -7
- package/generated/typegraphql-prisma/models/ConflictEvent.d.ts +7 -7
- package/generated/typegraphql-prisma/models/ConflictEvent.js.map +1 -1
- package/generated/typegraphql-prisma/models/DecisionMemorySummary.cjs +16 -8
- package/generated/typegraphql-prisma/models/DecisionMemorySummary.d.ts +24 -0
- package/generated/typegraphql-prisma/models/DecisionMemorySummary.d.ts.map +1 -1
- package/generated/typegraphql-prisma/models/DecisionMemorySummary.js.map +1 -1
- package/generated/typegraphql-prisma/models/EquityBar.cjs +6 -3
- package/generated/typegraphql-prisma/models/EquityBar.d.ts +9 -0
- package/generated/typegraphql-prisma/models/EquityBar.d.ts.map +1 -1
- package/generated/typegraphql-prisma/models/EquityBar.js.map +1 -1
- package/generated/typegraphql-prisma/models/InstitutionalFlowSignal.d.ts +1 -1
- package/generated/typegraphql-prisma/models/InstitutionalHolding.d.ts +1 -1
- package/generated/typegraphql-prisma/models/InviteToken.d.ts +1 -1
- package/generated/typegraphql-prisma/models/LinkedProvider.d.ts +1 -1
- package/generated/typegraphql-prisma/models/LlmConfiguration.cjs +13 -7
- package/generated/typegraphql-prisma/models/LlmConfiguration.d.ts +22 -3
- package/generated/typegraphql-prisma/models/LlmConfiguration.d.ts.map +1 -1
- package/generated/typegraphql-prisma/models/LlmConfiguration.js.map +1 -1
- package/generated/typegraphql-prisma/models/ModelVersion.d.ts +3 -3
- package/generated/typegraphql-prisma/models/NewsArticle.d.ts +1 -1
- package/generated/typegraphql-prisma/models/NewsArticleAssetSentiment.d.ts +2 -2
- package/generated/typegraphql-prisma/models/OptionsContract.d.ts +3 -3
- package/generated/typegraphql-prisma/models/OptionsGreeksHistory.d.ts +1 -1
- package/generated/typegraphql-prisma/models/OptionsPosition.d.ts +2 -2
- package/generated/typegraphql-prisma/models/OptionsTradeExecution.d.ts +2 -2
- package/generated/typegraphql-prisma/models/PolicyOverlay.d.ts +3 -0
- package/generated/typegraphql-prisma/models/PolicyOverlay.d.ts.map +1 -1
- package/generated/typegraphql-prisma/models/PolicyOverlay.js.map +1 -1
- package/generated/typegraphql-prisma/models/PortfolioGreeksHistory.cjs +12 -12
- package/generated/typegraphql-prisma/models/PortfolioGreeksHistory.d.ts +12 -12
- package/generated/typegraphql-prisma/models/PortfolioGreeksHistory.js.map +1 -1
- package/generated/typegraphql-prisma/models/Session.d.ts +1 -1
- package/generated/typegraphql-prisma/models/TradingPolicy.d.ts +6 -0
- package/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
- package/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
- package/generated/typegraphql-prisma/models/User.d.ts +5 -5
- package/generated/typegraphql-prisma/models/WaitlistEntry.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Account/AccountRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Account/AccountRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/AccountLinkingRequest/AccountLinkingRequestRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/AccountLinkingRequest/AccountLinkingRequestRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Allocation/AllocationRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Allocation/AllocationRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/AlpacaAccountRelationsResolver.cjs +2 -2
- package/generated/typegraphql-prisma/resolvers/relations/AlpacaAccount/AlpacaAccountRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Asset/AssetRelationsResolver.cjs +2 -2
- package/generated/typegraphql-prisma/resolvers/relations/Asset/AssetRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Authenticator/AuthenticatorRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Authenticator/AuthenticatorRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/InstitutionalFlowSignal/InstitutionalFlowSignalRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/InstitutionalFlowSignal/InstitutionalFlowSignalRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/InstitutionalHolding/InstitutionalHoldingRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/InstitutionalHolding/InstitutionalHoldingRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/InviteToken/InviteTokenRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/InviteToken/InviteTokenRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/LinkedProvider/LinkedProviderRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/LinkedProvider/LinkedProviderRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/LlmConfiguration/LlmConfigurationRelationsResolver.cjs +2 -1
- package/generated/typegraphql-prisma/resolvers/relations/LlmConfiguration/LlmConfigurationRelationsResolver.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/LlmConfiguration/LlmConfigurationRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/ModelVersion/ModelVersionRelationsResolver.cjs +3 -3
- package/generated/typegraphql-prisma/resolvers/relations/ModelVersion/ModelVersionRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/NewsArticle/NewsArticleRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/NewsArticle/NewsArticleRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/NewsArticleAssetSentiment/NewsArticleAssetSentimentRelationsResolver.cjs +2 -2
- package/generated/typegraphql-prisma/resolvers/relations/NewsArticleAssetSentiment/NewsArticleAssetSentimentRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/OptionsContract/OptionsContractRelationsResolver.cjs +3 -3
- package/generated/typegraphql-prisma/resolvers/relations/OptionsContract/OptionsContractRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/OptionsGreeksHistory/OptionsGreeksHistoryRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/OptionsGreeksHistory/OptionsGreeksHistoryRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/OptionsPosition/OptionsPositionRelationsResolver.cjs +2 -2
- package/generated/typegraphql-prisma/resolvers/relations/OptionsPosition/OptionsPositionRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/OptionsTradeExecution/OptionsTradeExecutionRelationsResolver.cjs +2 -2
- package/generated/typegraphql-prisma/resolvers/relations/OptionsTradeExecution/OptionsTradeExecutionRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/PolicyOverlay/PolicyOverlayRelationsResolver.cjs +2 -1
- package/generated/typegraphql-prisma/resolvers/relations/PolicyOverlay/PolicyOverlayRelationsResolver.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/PolicyOverlay/PolicyOverlayRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Session/SessionRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Session/SessionRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/TradingPolicy/TradingPolicyRelationsResolver.cjs +4 -2
- package/generated/typegraphql-prisma/resolvers/relations/TradingPolicy/TradingPolicyRelationsResolver.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/TradingPolicy/TradingPolicyRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/User/UserRelationsResolver.cjs +5 -5
- package/generated/typegraphql-prisma/resolvers/relations/User/UserRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/WaitlistEntry/WaitlistEntryRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/WaitlistEntry/WaitlistEntryRelationsResolver.js.map +1 -1
- package/package.json +1 -1
- package/prismaClient.cjs +150 -1
- package/prismaClient.d.ts +15 -0
- package/server.cjs +90 -57
|
@@ -5,19 +5,19 @@ export const ConflictEventTypeString = `
|
|
|
5
5
|
export type ConflictEvent = {
|
|
6
6
|
// Timestamp when conflict occurred
|
|
7
7
|
timestamp: Date;
|
|
8
|
-
// Type of entity with conflict
|
|
8
|
+
// Type of entity with conflict.
|
|
9
9
|
entityType: string;
|
|
10
|
-
// Server version of the entity
|
|
10
|
+
// Server version of the entity.
|
|
11
11
|
serverVersion: any;
|
|
12
|
-
// Client version of the entity
|
|
12
|
+
// Client version of the entity.
|
|
13
13
|
clientVersion: any;
|
|
14
|
-
// Resolution strategy used
|
|
14
|
+
// Resolution strategy used.
|
|
15
15
|
strategy: ConflictResolutionStrategy;
|
|
16
16
|
// Whether conflict was resolved
|
|
17
17
|
resolved: boolean;
|
|
18
|
-
// Resolved version of the entity (optional)
|
|
18
|
+
// Resolved version of the entity (optional).
|
|
19
19
|
resolution?: any;
|
|
20
|
-
// Time taken to resolve in milliseconds (optional)
|
|
20
|
+
// Time taken to resolve in milliseconds (optional).
|
|
21
21
|
resolutionTime?: number;
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const LlmConfigurationTypeString = "\n// Your response should adhere to the following type definition for the \"LlmConfiguration\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type LlmConfiguration = {\n user: {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n // URL to the user's profile image.\n image?: string;\n // The role assigned to the user, determining permissions.\n role: UserRole;\n // A short biography or description of the user.\n bio?: string;\n // The user's job title or position.\n jobTitle?: string;\n // The type of Alpaca account the user currently holds.\n currentAccount: AlpacaAccountType;\n // Relation to the Customer model.\n customer?: {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n };\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n }[];\n // OpenAI API key for the user.\n openaiAPIKey?: string;\n // OpenAI API Language model selected by the user\n openaiModel?: OpenaiModel;\n // List of linked authentication providers.\n linkedProviders: {\n // The authentication provider type.\n provider: AuthProvider;\n // Email associated with this provider (optional).\n email?: string;\n }[];\n // List of account linking requests.\n accountLinkingRequests: {\n // Current status of the linking request.\n status: AccountLinkingStatus;\n // Provider being linked.\n provider: AuthProvider;\n // Email to verify for the linking request.\n email: string;\n }[];\n };\n // Default provider used for all tiers unless overridden\n defaultProvider: LlmProvider;\n // Per-tier provider overrides (null = inherit from defaultProvider)\n miniProvider?: LlmProvider;\n normalProvider?: LlmProvider;\n advancedProvider?: LlmProvider;\n // Per-tier model overrides (null = use provider's default for that tier)\nThese are model ID strings like \"gpt-5.4-mini\", \"claude-sonnet-4-6\", etc.\n miniModel?: string;\n normalModel?: string;\n advancedModel?: string;\n
|
|
1
|
+
export declare const LlmConfigurationTypeString = "\n// Your response should adhere to the following type definition for the \"LlmConfiguration\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type LlmConfiguration = {\n // Relation to the User model.\n user: {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n // URL to the user's profile image.\n image?: string;\n // The role assigned to the user, determining permissions.\n role: UserRole;\n // A short biography or description of the user.\n bio?: string;\n // The user's job title or position.\n jobTitle?: string;\n // The type of Alpaca account the user currently holds.\n currentAccount: AlpacaAccountType;\n // Relation to the Customer model.\n customer?: {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n };\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n }[];\n // OpenAI API key for the user.\n openaiAPIKey?: string;\n // OpenAI API Language model selected by the user\n openaiModel?: OpenaiModel;\n // List of linked authentication providers.\n linkedProviders: {\n // The authentication provider type.\n provider: AuthProvider;\n // Email associated with this provider (optional).\n email?: string;\n }[];\n // List of account linking requests.\n accountLinkingRequests: {\n // Current status of the linking request.\n status: AccountLinkingStatus;\n // Provider being linked.\n provider: AuthProvider;\n // Email to verify for the linking request.\n email: string;\n }[];\n };\n // Default provider used for all tiers unless overridden\n defaultProvider: LlmProvider;\n // Per-tier provider overrides (null = inherit from defaultProvider)\n miniProvider?: LlmProvider;\n normalProvider?: LlmProvider;\n advancedProvider?: LlmProvider;\n // Per-tier model overrides (null = use provider's default for that tier)\nThese are model ID strings like \"gpt-5.4-mini\", \"claude-sonnet-4-6\", etc.\n miniModel?: string;\n normalModel?: string;\n advancedModel?: string;\n};\n\nenum UserRole {\n OWNER\n\n ADMIN\n\n SUPERADMIN\n\n USER\n}\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum SubscriptionPlan {\n FREE\n\n PRO\n\n INSTITUTION\n}\n\nenum OpenaiModel {\n GPT_5\n\n GPT_5_MINI\n\n GPT_5_NANO\n\n GPT_4_1\n\n GPT_4_1_MINI\n\n GPT_4_1_NANO\n}\n\nenum AuthProvider {\n CREDENTIALS\n\n GOOGLE\n\n GITHUB\n}\n\nenum AccountLinkingStatus {\n PENDING\n\n EMAIL_SENT\n\n VERIFIED\n\n APPROVED\n\n REJECTED\n\n EXPIRED\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\n";
|
|
2
2
|
//# sourceMappingURL=LlmConfiguration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LlmConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/LlmConfiguration.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"LlmConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/LlmConfiguration.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,wgGAiJtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LlmConfiguration.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/LlmConfiguration.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG
|
|
1
|
+
{"version":3,"file":"LlmConfiguration.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/LlmConfiguration.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiJzC,CAAC"}
|
|
@@ -3,6 +3,7 @@ export const LlmConfigurationTypeString = `
|
|
|
3
3
|
// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).
|
|
4
4
|
|
|
5
5
|
export type LlmConfiguration = {
|
|
6
|
+
// Relation to the User model.
|
|
6
7
|
user: {
|
|
7
8
|
// The user's full name.
|
|
8
9
|
name?: string;
|
|
@@ -64,12 +65,6 @@ These are model ID strings like "gpt-5.4-mini", "claude-sonnet-4-6", etc.
|
|
|
64
65
|
miniModel?: string;
|
|
65
66
|
normalModel?: string;
|
|
66
67
|
advancedModel?: string;
|
|
67
|
-
anthropicApiKey?: string;
|
|
68
|
-
deepseekApiKey?: string;
|
|
69
|
-
kimiApiKey?: string;
|
|
70
|
-
qwenApiKey?: string;
|
|
71
|
-
xaiApiKey?: string;
|
|
72
|
-
geminiApiKey?: string;
|
|
73
68
|
};
|
|
74
69
|
|
|
75
70
|
enum UserRole {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PolicyOverlayTypeString = "\n// Your response should adhere to the following type definition for the \"PolicyOverlay\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type PolicyOverlay = {\n tradingPolicy: {\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n overlays: PolicyOverlay[];\n };\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\n";
|
|
1
|
+
export declare const PolicyOverlayTypeString = "\n// Your response should adhere to the following type definition for the \"PolicyOverlay\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type PolicyOverlay = {\n // Relation to TradingPolicy.\n tradingPolicy: {\n // Relation to AlpacaAccount.\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n // List of policy overlays.\n overlays: PolicyOverlay[];\n };\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\n";
|
|
2
2
|
//# sourceMappingURL=PolicyOverlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PolicyOverlay.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/PolicyOverlay.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"PolicyOverlay.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/PolicyOverlay.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,+rGA8JnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PolicyOverlay.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/PolicyOverlay.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG
|
|
1
|
+
{"version":3,"file":"PolicyOverlay.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/PolicyOverlay.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8JtC,CAAC"}
|
|
@@ -3,7 +3,9 @@ export const PolicyOverlayTypeString = `
|
|
|
3
3
|
// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).
|
|
4
4
|
|
|
5
5
|
export type PolicyOverlay = {
|
|
6
|
+
// Relation to TradingPolicy.
|
|
6
7
|
tradingPolicy: {
|
|
8
|
+
// Relation to AlpacaAccount.
|
|
7
9
|
alpacaAccount: {
|
|
8
10
|
// The type of Alpaca account (PAPER or LIVE).
|
|
9
11
|
type: AlpacaAccountType;
|
|
@@ -58,6 +60,7 @@ export type PolicyOverlay = {
|
|
|
58
60
|
advancedModelProvider?: LlmProvider;
|
|
59
61
|
modelPrefs?: any;
|
|
60
62
|
auditNotificationPrefs?: any;
|
|
63
|
+
// List of policy overlays.
|
|
61
64
|
overlays: PolicyOverlay[];
|
|
62
65
|
};
|
|
63
66
|
overlayType: OverlayType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PortfolioGreeksHistoryTypeString = "\n// Your response should adhere to the following type definition for the \"PortfolioGreeksHistory\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type PortfolioGreeksHistory = {\n // Timestamp of the Greeks snapshot\n timestamp: Date;\n // Option contract symbol (if contract-specific)\n symbol?: string;\n // Underlying asset symbol\n underlying: string;\n // Individual Greeks for contract or position\n delta: number;\n gamma: number;\n theta: number;\n vega: number;\n rho: number;\n // Total portfolio delta exposure
|
|
1
|
+
export declare const PortfolioGreeksHistoryTypeString = "\n// Your response should adhere to the following type definition for the \"PortfolioGreeksHistory\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type PortfolioGreeksHistory = {\n // Timestamp of the Greeks snapshot\n timestamp: Date;\n // Option contract symbol (if contract-specific)\n symbol?: string;\n // Underlying asset symbol\n underlying: string;\n // Individual Greeks for contract or position\n delta: number;\n gamma: number;\n theta: number;\n vega: number;\n rho: number;\n // Total portfolio delta exposure.\n totalDelta?: number;\n // Total portfolio gamma exposure.\n totalGamma?: number;\n // Total portfolio theta exposure.\n totalTheta?: number;\n // Total portfolio vega exposure.\n totalVega?: number;\n // Total portfolio rho exposure.\n totalRho?: number;\n // Number of positions in portfolio.\n positionCount?: number;\n // List of underlying symbols in portfolio.\n underlyingSymbols?: any;\n // List of expiration dates in portfolio.\n expirationDates?: any;\n // Whether recorded during market hours.\n marketHours?: boolean;\n // VIX level at timestamp.\n vix?: number;\n // SPY price at timestamp.\n spyPrice?: number;\n // Data source identifier\n source?: string;\n};\n\n";
|
|
2
2
|
//# sourceMappingURL=PortfolioGreeksHistory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PortfolioGreeksHistory.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/PortfolioGreeksHistory.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,
|
|
1
|
+
{"version":3,"file":"PortfolioGreeksHistory.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/PortfolioGreeksHistory.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,o0CA2C5C,CAAC"}
|
|
@@ -15,27 +15,27 @@ export type PortfolioGreeksHistory = {
|
|
|
15
15
|
theta: number;
|
|
16
16
|
vega: number;
|
|
17
17
|
rho: number;
|
|
18
|
-
// Total portfolio delta exposure
|
|
18
|
+
// Total portfolio delta exposure.
|
|
19
19
|
totalDelta?: number;
|
|
20
|
-
// Total portfolio gamma exposure
|
|
20
|
+
// Total portfolio gamma exposure.
|
|
21
21
|
totalGamma?: number;
|
|
22
|
-
// Total portfolio theta exposure
|
|
22
|
+
// Total portfolio theta exposure.
|
|
23
23
|
totalTheta?: number;
|
|
24
|
-
// Total portfolio vega exposure
|
|
24
|
+
// Total portfolio vega exposure.
|
|
25
25
|
totalVega?: number;
|
|
26
|
-
// Total portfolio rho exposure
|
|
26
|
+
// Total portfolio rho exposure.
|
|
27
27
|
totalRho?: number;
|
|
28
|
-
// Number of positions in portfolio
|
|
28
|
+
// Number of positions in portfolio.
|
|
29
29
|
positionCount?: number;
|
|
30
|
-
// List of underlying symbols in portfolio
|
|
30
|
+
// List of underlying symbols in portfolio.
|
|
31
31
|
underlyingSymbols?: any;
|
|
32
|
-
// List of expiration dates in portfolio
|
|
32
|
+
// List of expiration dates in portfolio.
|
|
33
33
|
expirationDates?: any;
|
|
34
|
-
// Whether recorded during market hours
|
|
34
|
+
// Whether recorded during market hours.
|
|
35
35
|
marketHours?: boolean;
|
|
36
|
-
// VIX level at timestamp
|
|
36
|
+
// VIX level at timestamp.
|
|
37
37
|
vix?: number;
|
|
38
|
-
// SPY price at timestamp
|
|
38
|
+
// SPY price at timestamp.
|
|
39
39
|
spyPrice?: number;
|
|
40
40
|
// Data source identifier
|
|
41
41
|
source?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const TradingPolicyTypeString = "\n// Your response should adhere to the following type definition for the \"TradingPolicy\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type TradingPolicy = {\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n overlays: {\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n }[];\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\n";
|
|
1
|
+
export declare const TradingPolicyTypeString = "\n// Your response should adhere to the following type definition for the \"TradingPolicy\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type TradingPolicy = {\n // Relation to AlpacaAccount.\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n // List of policy overlays.\n overlays: {\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n }[];\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\n";
|
|
2
2
|
//# sourceMappingURL=TradingPolicy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TradingPolicy.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TradingPolicy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"TradingPolicy.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TradingPolicy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,iiGA4JnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TradingPolicy.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TradingPolicy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG
|
|
1
|
+
{"version":3,"file":"TradingPolicy.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TradingPolicy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4JtC,CAAC"}
|
|
@@ -3,6 +3,7 @@ export const TradingPolicyTypeString = `
|
|
|
3
3
|
// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).
|
|
4
4
|
|
|
5
5
|
export type TradingPolicy = {
|
|
6
|
+
// Relation to AlpacaAccount.
|
|
6
7
|
alpacaAccount: {
|
|
7
8
|
// The type of Alpaca account (PAPER or LIVE).
|
|
8
9
|
type: AlpacaAccountType;
|
|
@@ -57,6 +58,7 @@ export type TradingPolicy = {
|
|
|
57
58
|
advancedModelProvider?: LlmProvider;
|
|
58
59
|
modelPrefs?: any;
|
|
59
60
|
auditNotificationPrefs?: any;
|
|
61
|
+
// List of policy overlays.
|
|
60
62
|
overlays: {
|
|
61
63
|
overlayType: OverlayType;
|
|
62
64
|
source: string;
|
|
@@ -3,7 +3,7 @@ export declare const typeStrings: {
|
|
|
3
3
|
readonly marketSentiment: "\n// Your response should adhere to the following type definition for the \"MarketSentiment\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type MarketSentiment = {\n // The current level of market sentiment.\n sentiment: MarketSentimentLevel;\n // A one-sentence description of the market sentiment, including specific references to stock market index values, recent changes, trends, and technical indicators, as well as quotes from major news sources.\n description: string;\n // A detailed, multi-paragraph description of the market sentiment, including extensive analyses, references, quotes from major news sources, and links to articles.\n longDescription: string;\n};\n\nenum MarketSentimentLevel {\n VERY_BEARISH\n\n SOMEWHAT_BEARISH\n\n BEARISH\n\n NEUTRAL\n\n SOMEWHAT_BULLISH\n\n BULLISH\n\n VERY_BULLISH\n}\n\n";
|
|
4
4
|
readonly session: "\n// Your response should adhere to the following type definition for the \"Session\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Session = {\n // Expiration date and time of the session.\n expires: Date;\n // Relation to the User model.\n user: {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n };\n};\n\n";
|
|
5
5
|
readonly user: "\n// Your response should adhere to the following type definition for the \"User\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type User = {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n // URL to the user's profile image.\n image?: string;\n // The role assigned to the user, determining permissions.\n role: UserRole;\n // A short biography or description of the user.\n bio?: string;\n // The user's job title or position.\n jobTitle?: string;\n // The type of Alpaca account the user currently holds.\n currentAccount: AlpacaAccountType;\n // Relation to the Customer model.\n customer?: {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n };\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n }[];\n // OpenAI API key for the user.\n openaiAPIKey?: string;\n // OpenAI API Language model selected by the user\n openaiModel?: OpenaiModel;\n // List of linked authentication providers.\n linkedProviders: {\n // The authentication provider type.\n provider: AuthProvider;\n // Email associated with this provider (optional).\n email?: string;\n }[];\n // List of account linking requests.\n accountLinkingRequests: {\n // Current status of the linking request.\n status: AccountLinkingStatus;\n // Provider being linked.\n provider: AuthProvider;\n // Email to verify for the linking request.\n email: string;\n }[];\n};\n\nenum UserRole {\n OWNER\n\n ADMIN\n\n SUPERADMIN\n\n USER\n}\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum SubscriptionPlan {\n FREE\n\n PRO\n\n INSTITUTION\n}\n\nenum OpenaiModel {\n GPT_5\n\n GPT_5_MINI\n\n GPT_5_NANO\n\n GPT_4_1\n\n GPT_4_1_MINI\n\n GPT_4_1_NANO\n}\n\nenum AuthProvider {\n CREDENTIALS\n\n GOOGLE\n\n GITHUB\n}\n\nenum AccountLinkingStatus {\n PENDING\n\n EMAIL_SENT\n\n VERIFIED\n\n APPROVED\n\n REJECTED\n\n EXPIRED\n}\n\n";
|
|
6
|
-
readonly llmConfiguration: "\n// Your response should adhere to the following type definition for the \"LlmConfiguration\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type LlmConfiguration = {\n user: {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n // URL to the user's profile image.\n image?: string;\n // The role assigned to the user, determining permissions.\n role: UserRole;\n // A short biography or description of the user.\n bio?: string;\n // The user's job title or position.\n jobTitle?: string;\n // The type of Alpaca account the user currently holds.\n currentAccount: AlpacaAccountType;\n // Relation to the Customer model.\n customer?: {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n };\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n }[];\n // OpenAI API key for the user.\n openaiAPIKey?: string;\n // OpenAI API Language model selected by the user\n openaiModel?: OpenaiModel;\n // List of linked authentication providers.\n linkedProviders: {\n // The authentication provider type.\n provider: AuthProvider;\n // Email associated with this provider (optional).\n email?: string;\n }[];\n // List of account linking requests.\n accountLinkingRequests: {\n // Current status of the linking request.\n status: AccountLinkingStatus;\n // Provider being linked.\n provider: AuthProvider;\n // Email to verify for the linking request.\n email: string;\n }[];\n };\n // Default provider used for all tiers unless overridden\n defaultProvider: LlmProvider;\n // Per-tier provider overrides (null = inherit from defaultProvider)\n miniProvider?: LlmProvider;\n normalProvider?: LlmProvider;\n advancedProvider?: LlmProvider;\n // Per-tier model overrides (null = use provider's default for that tier)\nThese are model ID strings like \"gpt-5.4-mini\", \"claude-sonnet-4-6\", etc.\n miniModel?: string;\n normalModel?: string;\n advancedModel?: string;\n
|
|
6
|
+
readonly llmConfiguration: "\n// Your response should adhere to the following type definition for the \"LlmConfiguration\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type LlmConfiguration = {\n // Relation to the User model.\n user: {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n // URL to the user's profile image.\n image?: string;\n // The role assigned to the user, determining permissions.\n role: UserRole;\n // A short biography or description of the user.\n bio?: string;\n // The user's job title or position.\n jobTitle?: string;\n // The type of Alpaca account the user currently holds.\n currentAccount: AlpacaAccountType;\n // Relation to the Customer model.\n customer?: {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n };\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n }[];\n // OpenAI API key for the user.\n openaiAPIKey?: string;\n // OpenAI API Language model selected by the user\n openaiModel?: OpenaiModel;\n // List of linked authentication providers.\n linkedProviders: {\n // The authentication provider type.\n provider: AuthProvider;\n // Email associated with this provider (optional).\n email?: string;\n }[];\n // List of account linking requests.\n accountLinkingRequests: {\n // Current status of the linking request.\n status: AccountLinkingStatus;\n // Provider being linked.\n provider: AuthProvider;\n // Email to verify for the linking request.\n email: string;\n }[];\n };\n // Default provider used for all tiers unless overridden\n defaultProvider: LlmProvider;\n // Per-tier provider overrides (null = inherit from defaultProvider)\n miniProvider?: LlmProvider;\n normalProvider?: LlmProvider;\n advancedProvider?: LlmProvider;\n // Per-tier model overrides (null = use provider's default for that tier)\nThese are model ID strings like \"gpt-5.4-mini\", \"claude-sonnet-4-6\", etc.\n miniModel?: string;\n normalModel?: string;\n advancedModel?: string;\n};\n\nenum UserRole {\n OWNER\n\n ADMIN\n\n SUPERADMIN\n\n USER\n}\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum SubscriptionPlan {\n FREE\n\n PRO\n\n INSTITUTION\n}\n\nenum OpenaiModel {\n GPT_5\n\n GPT_5_MINI\n\n GPT_5_NANO\n\n GPT_4_1\n\n GPT_4_1_MINI\n\n GPT_4_1_NANO\n}\n\nenum AuthProvider {\n CREDENTIALS\n\n GOOGLE\n\n GITHUB\n}\n\nenum AccountLinkingStatus {\n PENDING\n\n EMAIL_SENT\n\n VERIFIED\n\n APPROVED\n\n REJECTED\n\n EXPIRED\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\n";
|
|
7
7
|
readonly linkedProvider: "\n// Your response should adhere to the following type definition for the \"LinkedProvider\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type LinkedProvider = {\n // The authentication provider type.\n provider: AuthProvider;\n // Email associated with this provider (optional).\n email?: string;\n // Token expiration date and time (optional).\n expiresAt?: Date;\n};\n\nenum AuthProvider {\n CREDENTIALS\n\n GOOGLE\n\n GITHUB\n}\n\n";
|
|
8
8
|
readonly accountLinkingRequest: "\n// Your response should adhere to the following type definition for the \"AccountLinkingRequest\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type AccountLinkingRequest = {\n // Email to verify for the linking request.\n email: string;\n // Provider being linked.\n provider: AuthProvider;\n // Current status of the linking request.\n status: AccountLinkingStatus;\n // User agent for security tracking (optional).\n userAgent?: string;\n // IP address for rate limiting (optional).\n ipAddress?: string;\n // When this request expires.\n expiresAt: Date;\n // When email was verified (optional).\n verifiedAt?: Date;\n // When user gave consent (optional).\n approvedAt?: Date;\n // When user rejected (optional).\n rejectedAt?: Date;\n};\n\nenum AuthProvider {\n CREDENTIALS\n\n GOOGLE\n\n GITHUB\n}\n\nenum AccountLinkingStatus {\n PENDING\n\n EMAIL_SENT\n\n VERIFIED\n\n APPROVED\n\n REJECTED\n\n EXPIRED\n}\n\n";
|
|
9
9
|
readonly alpacaAccount: "\n// Your response should adhere to the following type definition for the \"AlpacaAccount\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\n";
|
|
@@ -39,11 +39,11 @@ export declare const typeStrings: {
|
|
|
39
39
|
readonly optionsContract: "\n// Your response should adhere to the following type definition for the \"OptionsContract\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type OptionsContract = {\n // Underlying asset symbol\n symbol: string;\n // Contract symbol (OCC format)\n contractSymbol: string;\n // Option type (CALL or PUT)\n optionType: OptionType;\n // Strike price of the option\n strikePrice: number;\n // Expiration date of the option\n expirationDate: Date;\n // Days to expiration\n daysToExpiration?: number;\n // Last traded price\n lastPrice?: number;\n // Bid price\n bidPrice?: number;\n // Ask price\n askPrice?: number;\n // Mid price (average of bid and ask)\n midPrice?: number;\n // Bid size\n bidSize?: number;\n // Ask size\n askSize?: number;\n // Trading volume for the contract\n volume?: number;\n // Open interest\n openInterest?: number;\n // Implied volatility\n impliedVolatility?: number;\n // Delta Greek\n delta?: number;\n // Gamma Greek\n gamma?: number;\n // Theta Greek\n theta?: number;\n // Vega Greek\n vega?: number;\n // Rho Greek\n rho?: number;\n // Whether the option is in the money\n inTheMoney?: boolean;\n // Intrinsic value of the option\n intrinsicValue?: number;\n // Extrinsic (time) value of the option\n extrinsicValue?: number;\n // Theoretical price from pricing model\n theoreticalPrice?: number;\n // Underlying asset price at time of data capture\n underlyingPrice?: number;\n // Additional metadata as JSON\n metadata?: any;\n // Timestamp when the contract data was captured\n dataTimestamp: Date;\n};\n\nenum OptionType {\n CALL\n\n PUT\n}\n\n";
|
|
40
40
|
readonly optionsPosition: "\n// Your response should adhere to the following type definition for the \"OptionsPosition\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type OptionsPosition = {\n // Relation to OptionsContract.\n contract: {\n // Contract symbol (OCC format)\n contractSymbol: string;\n // Underlying asset symbol\n symbol: string;\n // Option type (CALL or PUT)\n optionType: OptionType;\n // Strike price of the option\n strikePrice: number;\n // Expiration date of the option\n expirationDate: Date;\n };\n // Position status\n status: OptionPositionStatus;\n // Execution side for opening the position\n openingSide: OptionExecutionSide;\n // Number of contracts in the position\n quantity: number;\n // Average entry price per contract\n entryPrice: number;\n // Total entry cost (quantity * entryPrice * 100)\n entryCost: number;\n // Timestamp when position was opened\n entryTime: Date;\n // Exit price per contract (null if still open)\n exitPrice?: number;\n // Total exit value (quantity * exitPrice * 100)\n exitValue?: number;\n // Timestamp when position was closed (null if still open)\n exitTime?: Date;\n // Current market price (for open positions)\n currentPrice?: number;\n // Current position value\n currentValue?: number;\n // Unrealized P&L (for open positions)\n unrealizedPnL?: number;\n // Unrealized P&L percentage\n unrealizedPnLPercent?: number;\n // Realized P&L (for closed positions)\n realizedPnL?: number;\n // Realized P&L percentage\n realizedPnLPercent?: number;\n // Total fees and commissions paid\n totalFees: number;\n // Current Greeks for the position (snapshot)\n currentDelta?: number;\n currentGamma?: number;\n currentTheta?: number;\n currentVega?: number;\n currentRho?: number;\n // Current implied volatility\n currentImpliedVolatility?: number;\n // Days held (calculated)\n daysHeld?: number;\n // Exit reason or notes\n exitReason?: string;\n // Strategy type (e.g., \"covered_call\", \"protective_put\", \"vertical_spread\")\n strategyType?: string;\n // Additional metadata as JSON\n metadata?: any;\n};\n\nenum OptionType {\n CALL\n\n PUT\n}\n\nenum OptionPositionStatus {\n OPEN\n\n CLOSED\n\n EXPIRED\n\n ASSIGNED\n}\n\nenum OptionExecutionSide {\n BUY_TO_OPEN\n\n SELL_TO_CLOSE\n\n SELL_TO_OPEN\n\n BUY_TO_CLOSE\n}\n\n";
|
|
41
41
|
readonly optionsGreeksHistory: "\n// Your response should adhere to the following type definition for the \"OptionsGreeksHistory\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type OptionsGreeksHistory = {\n // Timestamp of the Greeks snapshot\n timestamp: Date;\n // Underlying asset price at this timestamp\n underlyingPrice: number;\n // Option price at this timestamp\n optionPrice: number;\n // Bid price\n bidPrice?: number;\n // Ask price\n askPrice?: number;\n // Implied volatility\n impliedVolatility: number;\n // Delta Greek\n delta: number;\n // Gamma Greek\n gamma: number;\n // Theta Greek\n theta: number;\n // Vega Greek\n vega: number;\n // Rho Greek\n rho: number;\n // Trading volume\n volume?: number;\n // Open interest\n openInterest?: number;\n // Days to expiration at this timestamp\n daysToExpiration: number;\n // Intrinsic value\n intrinsicValue: number;\n // Extrinsic value\n extrinsicValue: number;\n // Additional metadata as JSON\n metadata?: any;\n};\n\n";
|
|
42
|
-
readonly portfolioGreeksHistory: "\n// Your response should adhere to the following type definition for the \"PortfolioGreeksHistory\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type PortfolioGreeksHistory = {\n // Timestamp of the Greeks snapshot\n timestamp: Date;\n // Option contract symbol (if contract-specific)\n symbol?: string;\n // Underlying asset symbol\n underlying: string;\n // Individual Greeks for contract or position\n delta: number;\n gamma: number;\n theta: number;\n vega: number;\n rho: number;\n // Total portfolio delta exposure
|
|
42
|
+
readonly portfolioGreeksHistory: "\n// Your response should adhere to the following type definition for the \"PortfolioGreeksHistory\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type PortfolioGreeksHistory = {\n // Timestamp of the Greeks snapshot\n timestamp: Date;\n // Option contract symbol (if contract-specific)\n symbol?: string;\n // Underlying asset symbol\n underlying: string;\n // Individual Greeks for contract or position\n delta: number;\n gamma: number;\n theta: number;\n vega: number;\n rho: number;\n // Total portfolio delta exposure.\n totalDelta?: number;\n // Total portfolio gamma exposure.\n totalGamma?: number;\n // Total portfolio theta exposure.\n totalTheta?: number;\n // Total portfolio vega exposure.\n totalVega?: number;\n // Total portfolio rho exposure.\n totalRho?: number;\n // Number of positions in portfolio.\n positionCount?: number;\n // List of underlying symbols in portfolio.\n underlyingSymbols?: any;\n // List of expiration dates in portfolio.\n expirationDates?: any;\n // Whether recorded during market hours.\n marketHours?: boolean;\n // VIX level at timestamp.\n vix?: number;\n // SPY price at timestamp.\n spyPrice?: number;\n // Data source identifier\n source?: string;\n};\n\n";
|
|
43
43
|
readonly optionsTradeExecution: "\n// Your response should adhere to the following type definition for the \"OptionsTradeExecution\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type OptionsTradeExecution = {\n // Execution side (BUY_TO_OPEN, SELL_TO_CLOSE, etc.)\n executionSide: OptionExecutionSide;\n // Number of contracts executed\n quantity: number;\n // Execution price per contract\n executionPrice: number;\n // Total execution value (quantity * executionPrice * 100)\n executionValue: number;\n // Fees and commissions for this execution\n fees: number;\n // Timestamp of the execution\n executionTime: Date;\n // Underlying price at execution time\n underlyingPriceAtExecution?: number;\n // Greeks at execution time\n deltaAtExecution?: number;\n gammaAtExecution?: number;\n thetaAtExecution?: number;\n vegaAtExecution?: number;\n rhoAtExecution?: number;\n // Implied volatility at execution\n impliedVolatilityAtExecution?: number;\n // Order type (MARKET, LIMIT, STOP, etc.)\n orderType?: string;\n // Limit price if limit order\n limitPrice?: number;\n // Stop price if stop order\n stopPrice?: number;\n // Time in force (DAY, GTC, etc.)\n timeInForce?: string;\n // Execution venue\n venue?: string;\n // Slippage amount (difference from expected price)\n slippage?: number;\n // Execution notes or comments\n notes?: string;\n // Additional metadata as JSON\n metadata?: any;\n};\n\nenum OptionExecutionSide {\n BUY_TO_OPEN\n\n SELL_TO_CLOSE\n\n SELL_TO_OPEN\n\n BUY_TO_CLOSE\n}\n\n";
|
|
44
44
|
readonly deadLetterMessage: "\n// Your response should adhere to the following type definition for the \"DeadLetterMessage\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type DeadLetterMessage = {\n // Timestamp when the failure occurred\n timestamp: Date;\n // Ticker symbol of the trade\n ticker: string;\n // Trade action (buy, sell, buy_to_open, etc.)\n action: string;\n // Number of contracts/shares\n quantity: number;\n // Strike price for options (optional)\n strikePrice?: number;\n // Expiration date for options (optional)\n expirationDate?: string;\n // Option type (call, put) (optional)\n optionType?: string;\n // Trading strategy (optional)\n strategy?: string;\n // Order type (market, limit, stop, etc.) (optional)\n orderType?: string;\n // Limit price (optional)\n limitPrice?: number;\n // Error message describing the failure\n errorMessage: string;\n // Error code (optional)\n errorCode?: string;\n // Error stack trace (optional)\n errorStack?: string;\n // Number of retry attempts\n retryCount: number;\n // Maximum retry attempts allowed\n maxRetries: number;\n // Timestamp of last retry attempt (optional)\n lastRetryAt?: Date;\n // Timestamp for next retry attempt (optional)\n nextRetryAt?: Date;\n // Current backoff delay in milliseconds\n backoffMs: number;\n // Current status of the message\n status: DeadLetterStatus;\n // Timestamp when resolved (optional)\n resolvedAt?: Date;\n // How it was resolved (auto-retry, manual, user ID) (optional)\n resolvedBy?: string;\n // Description of resolution (optional)\n resolution?: string;\n // Original trade attempt data as JSON\n tradeContext: any;\n // Account state at time of failure (optional)\n accountState?: any;\n // Market conditions at time of failure (optional)\n marketContext?: any;\n // Detailed validation failures (optional)\n validationErrors?: any;\n // Failure category for analytics (optional)\n failureCategory?: string;\n // Severity level of the failure\n severity: DeadLetterSeverity;\n // Tags for flexible categorization (optional)\n tags?: any;\n // User who created the entry (optional)\n createdBy?: string;\n // Admin notes for manual interventions (optional)\n notes?: string;\n};\n\nenum DeadLetterStatus {\n PENDING\n\n RETRYING\n\n FAILED\n\n RESOLVED\n\n ARCHIVED\n}\n\nenum DeadLetterSeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\n";
|
|
45
45
|
readonly syncEvent: "\n// Your response should adhere to the following type definition for the \"SyncEvent\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type SyncEvent = {\n // Timestamp of the sync event\n timestamp: Date;\n // Type of sync event (SYNC_STARTED, SYNC_COMPLETED, SYNC_FAILED, etc.)\n type: string;\n // Direction of sync\n direction: SyncDirection;\n // Type of entity being synced\n entityType: string;\n // Duration in milliseconds (optional)\n duration?: number;\n // Whether the sync was successful\n success: boolean;\n // Error message if sync failed (optional)\n error?: string;\n // Additional context metadata (optional)\n metadata?: any;\n};\n\nenum SyncDirection {\n ENGINE_TO_BACKEND\n\n BACKEND_TO_ENGINE\n\n BIDIRECTIONAL\n}\n\n";
|
|
46
|
-
readonly conflictEvent: "\n// Your response should adhere to the following type definition for the \"ConflictEvent\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type ConflictEvent = {\n // Timestamp when conflict occurred\n timestamp: Date;\n // Type of entity with conflict
|
|
46
|
+
readonly conflictEvent: "\n// Your response should adhere to the following type definition for the \"ConflictEvent\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type ConflictEvent = {\n // Timestamp when conflict occurred\n timestamp: Date;\n // Type of entity with conflict.\n entityType: string;\n // Server version of the entity.\n serverVersion: any;\n // Client version of the entity.\n clientVersion: any;\n // Resolution strategy used.\n strategy: ConflictResolutionStrategy;\n // Whether conflict was resolved\n resolved: boolean;\n // Resolved version of the entity (optional).\n resolution?: any;\n // Time taken to resolve in milliseconds (optional).\n resolutionTime?: number;\n};\n\nenum ConflictResolutionStrategy {\n SERVER_WINS\n\n CLIENT_WINS\n\n MERGE\n\n MANUAL\n\n TIMESTAMP_BASED\n}\n\n";
|
|
47
47
|
readonly signalLineage: "\n// Your response should adhere to the following type definition for the \"SignalLineage\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type SignalLineage = {\n // Timestamp of the lineage record\n timestamp: Date;\n // Symbol for the signal\n symbol: string;\n // Type of signal\n signalType: string;\n // Source of the signal generator\n generatorSource: string;\n // Version of the signal generator (optional)\n generatorVersion?: string;\n // Array of DataSource objects\n inputSources: any;\n // Array of IndicatorContribution objects\n technicalIndicators: any;\n // LLMAnalysisResult object (optional)\n llmAnalysis?: any;\n // Array of PreAnalysisValidation objects\n preAnalysisValidations: any;\n // FilterResult object (optional)\n filterResult?: any;\n // CoordinationDecision object\n coordinationDecision: any;\n // ExecutionOutcome object (optional)\n executionOutcome?: any;\n // Original SignalMonitoringSignal object\n originalSignal: any;\n // Modified signal (optional)\n finalSignal?: any;\n // Array of lifecycle events\n lifecycleEvents: any;\n // Performance attribution data (optional)\n performanceAttribution?: any;\n // Unix timestamp in milliseconds of last update\n lastUpdated: any;\n // Storage location path (optional)\n storageLocation?: string;\n // Number of days to retain\n retentionDays: number;\n // Array of compliance tags (optional)\n complianceTags?: any;\n // Array of custom tags (optional)\n customTags?: any;\n // Current execution status\n executionStatus?: SignalExecutionStatus;\n // Decision type made for signal\n decisionType: SignalDecisionType;\n // Profit/loss percentage (optional)\n pnlPercentage?: number;\n // Average input data quality score (0-1)\n dataQuality: number;\n};\n\nenum SignalExecutionStatus {\n PENDING\n\n EXECUTED\n\n PARTIAL\n\n FAILED\n\n CANCELLED\n}\n\nenum SignalDecisionType {\n ACCEPT\n\n REJECT\n\n DEFER\n\n MODIFY\n}\n\n";
|
|
48
48
|
readonly tradeAuditEvent: "\n// Your response should adhere to the following type definition for the \"TradeAuditEvent\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type TradeAuditEvent = {\n // Timestamp of the audit event\n timestamp: Date;\n // Type of audit event\n eventType: string;\n // Symbol being traded\n symbol: string;\n // Cryptographic signature for integrity (AuditRecordSignature object)\n signatureJson: any;\n // Chain of custody information (ChainOfCustody object)\n custodyJson: any;\n // Whether the record is immutable\n immutable: boolean;\n // Whether the record is encrypted\n encrypted: boolean;\n // Array of compliance tags\n complianceTags: any;\n // Array of custom tags (optional)\n customTags?: any;\n // Complete event data\n eventData: any;\n // Event category for filtering\n eventCategory?: EventCategory;\n // Severity level\n severity?: EventSeverity;\n // For compliance checks - whether passed (optional)\n passed?: boolean;\n // Auto-deletion/archival date (optional)\n retentionDate?: Date;\n};\n\nenum EventCategory {\n TRADE\n\n SIGNAL\n\n ALERT\n\n RISK_BREACH\n\n SYSTEM\n\n COMPLIANCE\n\n EXECUTION\n\n SYNC\n}\n\nenum EventSeverity {\n INFO\n\n WARN\n\n ERROR\n\n CRITICAL\n}\n\n";
|
|
49
49
|
readonly signalGeneratorMetrics: "\n// Your response should adhere to the following type definition for the \"SignalGeneratorMetrics\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type SignalGeneratorMetrics = {\n // Timestamp of the metrics snapshot\n timestamp: Date;\n // Signal generator source\n generatorSource: SignalGeneratorSource;\n // Symbol-specific metrics (null for global metrics)\n symbol?: string;\n // Total number of signals generated\n totalSignals: number;\n // Number of successful signals\n successfulSignals: number;\n // Number of failed signals\n failedSignals: number;\n // Win rate percentage (0-1)\n winRate: number;\n // Sharpe ratio\n sharpeRatio: number;\n // Profit factor\n profitFactor: number;\n // Average return percentage\n averageReturn: number;\n // Maximum drawdown percentage\n maxDrawdown: number;\n // Average time to profit in minutes\n averageTimeToProfit: number;\n // Calibration accuracy (0-1)\n calibrationAccuracy: number;\n // Performance trend (-1 to 1)\n performanceTrend: number;\n // Lookback period in days\n lookbackPeriodDays: number;\n // Health score (0-100)\n healthScore: number;\n // Health status\n healthStatus: string;\n // Array of health issue strings (optional)\n healthIssues?: any;\n};\n\nenum SignalGeneratorSource {\n ENHANCED\n\n PRODUCTION\n\n LLM\n\n HYBRID\n\n EVENT_DRIVEN\n\n ML_PREDICTION\n\n OPTIONS_SCREENER\n\n TECHNICAL_ANALYSIS\n\n FUNDAMENTAL\n\n SENTIMENT\n\n CUSTOM\n}\n\n";
|
|
@@ -55,8 +55,8 @@ export declare const typeStrings: {
|
|
|
55
55
|
readonly waitlistEntry: "\n// Your response should adhere to the following type definition for the \"WaitlistEntry\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type WaitlistEntry = {\n // The email address of the person on the waitlist.\n email: string;\n // The full name of the person on the waitlist.\n fullName: string;\n // The company name of the person on the waitlist.\n companyName: string;\n // The company website URL (optional).\n companyWebsite?: string;\n // The job role/title of the person on the waitlist.\n jobRole: string;\n // Whether the person has confirmed they are a professional investor.\n professionalInvestorConfirmed: boolean;\n // The current status of the waitlist entry.\n status: WaitlistStatus;\n // The position in the waitlist queue.\n queuePosition: number;\n};\n\nenum WaitlistStatus {\n PENDING\n\n APPROVED\n\n REJECTED\n}\n\n";
|
|
56
56
|
readonly inviteToken: "\n// Your response should adhere to the following type definition for the \"InviteToken\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type InviteToken = {\n // The unique token string used for invitation.\n token: string;\n // The email address the token was generated for.\n email: string;\n // Whether the token has been used.\n used: boolean;\n};\n\n";
|
|
57
57
|
readonly auditLog: "\n// Your response should adhere to the following type definition for the \"AuditLog\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type AuditLog = {\n // The type of mutation operation performed.\n operationType: AuditOperationType;\n // The name of the Prisma model that was mutated.\n modelName: string;\n // JSON snapshot of the fields that were changed. For creates: all fields. For updates: changed fields with before/after values. For deletes: all fields at time of deletion.\n changedFields: any;\n // The GraphQL operation name that triggered the mutation, if available.\n operationName?: string;\n};\n\nenum AuditOperationType {\n CREATE\n\n UPDATE\n\n DELETE\n}\n\n";
|
|
58
|
-
readonly tradingPolicy: "\n// Your response should adhere to the following type definition for the \"TradingPolicy\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type TradingPolicy = {\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n overlays: {\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n }[];\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\n";
|
|
59
|
-
readonly policyOverlay: "\n// Your response should adhere to the following type definition for the \"PolicyOverlay\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type PolicyOverlay = {\n tradingPolicy: {\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n overlays: PolicyOverlay[];\n };\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\n";
|
|
58
|
+
readonly tradingPolicy: "\n// Your response should adhere to the following type definition for the \"TradingPolicy\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type TradingPolicy = {\n // Relation to AlpacaAccount.\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n // List of policy overlays.\n overlays: {\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n }[];\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\n";
|
|
59
|
+
readonly policyOverlay: "\n// Your response should adhere to the following type definition for the \"PolicyOverlay\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type PolicyOverlay = {\n // Relation to TradingPolicy.\n tradingPolicy: {\n // Relation to AlpacaAccount.\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n // List of policy overlays.\n overlays: PolicyOverlay[];\n };\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\n";
|
|
60
60
|
readonly accountDecisionRecord: "\n// Your response should adhere to the following type definition for the \"AccountDecisionRecord\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type AccountDecisionRecord = {\n symbol: string;\n assetClass: string;\n signalAction: string;\n signalConfidence: number;\n decision: DecisionOutcome;\n decisionRationale?: string;\n decisionConfidence?: number;\n actionIntents?: any;\n validationResults?: any;\n executionResults?: any;\n effectivePolicySnapshot: any;\n positionsSnapshot?: any;\n openOrdersSnapshot?: any;\n exposureSnapshot?: any;\n overlaysSnapshot?: any;\n modelProvider: string;\n modelTier: string;\n routingReason?: string;\n tokenUsage?: any;\n sessionDurationMs?: number;\n gatingDurationMs?: number;\n validationDurationMs?: number;\n executionDurationMs?: number;\n status: DecisionRecordStatus;\n};\n\nenum DecisionOutcome {\n DO_NOTHING\n\n OPEN_POSITION\n\n ADD_TO_POSITION\n\n REDUCE_POSITION\n\n CLOSE_POSITION\n\n REVERSE_POSITION\n\n MODIFY_ORDERS\n\n CANCEL_ORDERS\n\n REBALANCE\n\n MUTATE_POLICY\n\n ESCALATE_FOR_APPROVAL\n\n SKIP_INELIGIBLE\n}\n\nenum DecisionRecordStatus {\n PENDING\n\n EXECUTING\n\n COMPLETED\n\n FAILED\n\n CANCELLED\n\n ESCALATED\n}\n\n";
|
|
61
61
|
readonly decisionMemorySummary: "\n// Your response should adhere to the following type definition for the \"DecisionMemorySummary\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type DecisionMemorySummary = {\n symbol?: string;\n sector?: string;\n assetClass?: string;\n summary: string;\n keyFactors?: any;\n outcome: DecisionMemoryOutcome;\n outcomeDetails?: any;\n relevanceScore: number;\n expiresAt?: Date;\n};\n\nenum DecisionMemoryOutcome {\n PENDING\n\n PROFITABLE\n\n UNPROFITABLE\n\n STOPPED_OUT\n\n CANCELLED\n}\n\n";
|
|
62
62
|
readonly equityBar: "\n// Your response should adhere to the following type definition for the \"EquityBar\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type EquityBar = {\n symbol: string;\n timeStamp: any;\n timespan: EquityBarTimespan;\n open: number;\n high: number;\n low: number;\n close: number;\n vol: number;\n vwap?: number;\n trades?: number;\n source: string;\n};\n\nenum EquityBarTimespan {\n second\n\n minute\n\n hour\n\n day\n}\n\n";
|
|
@@ -57,7 +57,7 @@ export declare class AccountLinkingRequest {
|
|
|
57
57
|
*/
|
|
58
58
|
rejectedAt?: Date | null;
|
|
59
59
|
/**
|
|
60
|
-
* Relation to the User model. TYPESTRING.SKIP=true GQL.
|
|
60
|
+
* Relation to the User model. TYPESTRING.SKIP=true GQL.INCLUDE=['id']
|
|
61
61
|
*/
|
|
62
62
|
user?: User;
|
|
63
63
|
}
|
|
@@ -68,7 +68,7 @@ let AccountLinkingRequest = class AccountLinkingRequest {
|
|
|
68
68
|
*/
|
|
69
69
|
rejectedAt;
|
|
70
70
|
/**
|
|
71
|
-
* Relation to the User model. TYPESTRING.SKIP=true GQL.
|
|
71
|
+
* Relation to the User model. TYPESTRING.SKIP=true GQL.INCLUDE=['id']
|
|
72
72
|
*/
|
|
73
73
|
user;
|
|
74
74
|
};
|
|
@@ -46,11 +46,11 @@ export declare class Alert {
|
|
|
46
46
|
*/
|
|
47
47
|
resolvedAt?: Date | null;
|
|
48
48
|
/**
|
|
49
|
-
* Timestamp until which the alert is suppressed. TYPESTRING.SKIP=true
|
|
49
|
+
* Timestamp until which the alert is suppressed. TYPESTRING.SKIP=true GQL.SKIP=true
|
|
50
50
|
*/
|
|
51
51
|
suppressedUntil?: Date | null;
|
|
52
52
|
/**
|
|
53
|
-
* Number of retry attempts for alert-related operations.
|
|
53
|
+
* Number of retry attempts for alert-related operations. GQL.SKIP=true
|
|
54
54
|
*/
|
|
55
55
|
retryCount: number;
|
|
56
56
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/models/Alert.ts"],"names":[],"mappings":"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
|
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/models/Alert.ts"],"names":[],"mappings":"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"}
|
|
@@ -59,11 +59,11 @@ let Alert = class Alert {
|
|
|
59
59
|
*/
|
|
60
60
|
resolvedAt;
|
|
61
61
|
/**
|
|
62
|
-
* Timestamp until which the alert is suppressed. TYPESTRING.SKIP=true
|
|
62
|
+
* Timestamp until which the alert is suppressed. TYPESTRING.SKIP=true GQL.SKIP=true
|
|
63
63
|
*/
|
|
64
64
|
suppressedUntil;
|
|
65
65
|
/**
|
|
66
|
-
* Number of retry attempts for alert-related operations.
|
|
66
|
+
* Number of retry attempts for alert-related operations. GQL.SKIP=true
|
|
67
67
|
*/
|
|
68
68
|
retryCount;
|
|
69
69
|
/**
|
|
@@ -163,14 +163,14 @@ __decorate([
|
|
|
163
163
|
__decorate([
|
|
164
164
|
TypeGraphQL.Field(_type => Date, {
|
|
165
165
|
nullable: true,
|
|
166
|
-
description: "Timestamp until which the alert is suppressed. TYPESTRING.SKIP=true"
|
|
166
|
+
description: "Timestamp until which the alert is suppressed. TYPESTRING.SKIP=true GQL.SKIP=true"
|
|
167
167
|
}),
|
|
168
168
|
__metadata("design:type", Object)
|
|
169
169
|
], Alert.prototype, "suppressedUntil", void 0);
|
|
170
170
|
__decorate([
|
|
171
171
|
TypeGraphQL.Field(_type => TypeGraphQL.Int, {
|
|
172
172
|
nullable: false,
|
|
173
|
-
description: "Number of retry attempts for alert-related operations."
|
|
173
|
+
description: "Number of retry attempts for alert-related operations. GQL.SKIP=true"
|
|
174
174
|
}),
|
|
175
175
|
__metadata("design:type", Number)
|
|
176
176
|
], Alert.prototype, "retryCount", void 0);
|
|
@@ -41,7 +41,7 @@ export declare class Allocation {
|
|
|
41
41
|
*/
|
|
42
42
|
alpacaAccountId: string;
|
|
43
43
|
/**
|
|
44
|
-
* Relation to the AlpacaAccount model. TYPESTRING.SKIP=true GQL.
|
|
44
|
+
* Relation to the AlpacaAccount model. TYPESTRING.SKIP=true GQL.SKIP=true
|
|
45
45
|
*/
|
|
46
46
|
alpacaAccount?: AlpacaAccount;
|
|
47
47
|
/**
|
|
@@ -50,7 +50,7 @@ let Allocation = class Allocation {
|
|
|
50
50
|
*/
|
|
51
51
|
alpacaAccountId;
|
|
52
52
|
/**
|
|
53
|
-
* Relation to the AlpacaAccount model. TYPESTRING.SKIP=true GQL.
|
|
53
|
+
* Relation to the AlpacaAccount model. TYPESTRING.SKIP=true GQL.SKIP=true
|
|
54
54
|
*/
|
|
55
55
|
alpacaAccount;
|
|
56
56
|
/**
|
|
@@ -54,7 +54,7 @@ export declare class AlpacaAccount {
|
|
|
54
54
|
*/
|
|
55
55
|
allocation?: Allocation | null;
|
|
56
56
|
/**
|
|
57
|
-
* Trading policy governing autonomous decision-making for this account. TYPESTRING.SKIP=true
|
|
57
|
+
* Trading policy governing autonomous decision-making for this account. TYPESTRING.SKIP=true GQL.SKIP=true
|
|
58
58
|
*/
|
|
59
59
|
tradingPolicy?: TradingPolicy | null;
|
|
60
60
|
/**
|
|
@@ -110,7 +110,7 @@ export declare class AlpacaAccount {
|
|
|
110
110
|
*/
|
|
111
111
|
minimumPriceChangePercent100: number;
|
|
112
112
|
/**
|
|
113
|
-
* Relation to the User model who owns this Alpaca account. TYPESTRING.SKIP=true
|
|
113
|
+
* Relation to the User model who owns this Alpaca account. TYPESTRING.SKIP=true GQL.EXCLUDE=['alpacaAccounts','customer','accounts','sessions','authenticators','linkedProviders','accountLinkingRequests','reviewedWaitlistEntries','llmConfiguration']
|
|
114
114
|
*/
|
|
115
115
|
user?: User;
|
|
116
116
|
/**
|
|
@@ -61,7 +61,7 @@ let AlpacaAccount = class AlpacaAccount {
|
|
|
61
61
|
*/
|
|
62
62
|
allocation;
|
|
63
63
|
/**
|
|
64
|
-
* Trading policy governing autonomous decision-making for this account. TYPESTRING.SKIP=true
|
|
64
|
+
* Trading policy governing autonomous decision-making for this account. TYPESTRING.SKIP=true GQL.SKIP=true
|
|
65
65
|
*/
|
|
66
66
|
tradingPolicy;
|
|
67
67
|
/**
|
|
@@ -117,7 +117,7 @@ let AlpacaAccount = class AlpacaAccount {
|
|
|
117
117
|
*/
|
|
118
118
|
minimumPriceChangePercent100;
|
|
119
119
|
/**
|
|
120
|
-
* Relation to the User model who owns this Alpaca account. TYPESTRING.SKIP=true
|
|
120
|
+
* Relation to the User model who owns this Alpaca account. TYPESTRING.SKIP=true GQL.EXCLUDE=['alpacaAccounts','customer','accounts','sessions','authenticators','linkedProviders','accountLinkingRequests','reviewedWaitlistEntries','llmConfiguration']
|
|
121
121
|
*/
|
|
122
122
|
user;
|
|
123
123
|
/**
|
|
@@ -240,11 +240,11 @@ export declare class Asset {
|
|
|
240
240
|
*/
|
|
241
241
|
newsMentions?: NewsArticleAssetSentiment[];
|
|
242
242
|
/**
|
|
243
|
-
* List of institutional holdings for this asset. TYPESTRING.SKIP=true GQL.
|
|
243
|
+
* List of institutional holdings for this asset. TYPESTRING.SKIP=true GQL.SKIP=true
|
|
244
244
|
*/
|
|
245
245
|
institutionalHoldings?: InstitutionalHolding[];
|
|
246
246
|
/**
|
|
247
|
-
* List of institutional flow signals for this asset. TYPESTRING.SKIP=true GQL.
|
|
247
|
+
* List of institutional flow signals for this asset. TYPESTRING.SKIP=true GQL.SKIP=true
|
|
248
248
|
*/
|
|
249
249
|
institutionalFlowSignals?: InstitutionalFlowSignal[];
|
|
250
250
|
_count?: AssetCount | null;
|
|
@@ -248,11 +248,11 @@ let Asset = class Asset {
|
|
|
248
248
|
*/
|
|
249
249
|
newsMentions;
|
|
250
250
|
/**
|
|
251
|
-
* List of institutional holdings for this asset. TYPESTRING.SKIP=true GQL.
|
|
251
|
+
* List of institutional holdings for this asset. TYPESTRING.SKIP=true GQL.SKIP=true
|
|
252
252
|
*/
|
|
253
253
|
institutionalHoldings;
|
|
254
254
|
/**
|
|
255
|
-
* List of institutional flow signals for this asset. TYPESTRING.SKIP=true GQL.
|
|
255
|
+
* List of institutional flow signals for this asset. TYPESTRING.SKIP=true GQL.SKIP=true
|
|
256
256
|
*/
|
|
257
257
|
institutionalFlowSignals;
|
|
258
258
|
_count;
|