@adaptic/backend-legacy 0.0.914 → 0.0.916

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/ABTest.cjs +130 -1
  2. package/AccountDecisionRecord.cjs +1 -1
  3. package/AccountLinkingRequest.cjs +1 -1
  4. package/AlpacaAccount.cjs +1 -1
  5. package/AnalyticsConfiguration.cjs +1 -1
  6. package/AnalyticsSnapshot.cjs +1 -1
  7. package/Asset.cjs +10 -0
  8. package/AuditLog.cjs +1 -1
  9. package/ConflictEvent.cjs +1 -1
  10. package/ConnectionHealthSnapshot.cjs +1 -1
  11. package/DeadLetterMessage.cjs +1 -1
  12. package/DecisionMemorySummary.cjs +1 -1
  13. package/EconomicEvent.cjs +1 -1
  14. package/EquityBar.cjs +18 -7
  15. package/EventSnapshot.cjs +1 -1
  16. package/FeatureImportanceAnalysis.cjs +72 -1
  17. package/InstitutionalFlowSignal.cjs +17 -1
  18. package/InstitutionalHolding.cjs +7 -1
  19. package/InstitutionalSentimentAlerts.cjs +1 -1
  20. package/InstitutionalSentimentErrors.cjs +1 -1
  21. package/InstitutionalSentimentHistory.cjs +1 -1
  22. package/InstitutionalSentimentMetrics.cjs +1 -1
  23. package/InviteToken.cjs +1 -1
  24. package/LinkedProvider.cjs +1 -1
  25. package/LlmConfiguration.cjs +1 -1
  26. package/MLTrainingData.cjs +1 -1
  27. package/MarketSentiment.cjs +1 -1
  28. package/ModelArtifact.cjs +26 -1
  29. package/ModelVersion.cjs +139 -1
  30. package/ModelVersionArtifact.cjs +66 -1
  31. package/NewsArticle.cjs +23 -1
  32. package/NewsArticleAssetSentiment.cjs +17 -1
  33. package/OptionsContract.cjs +1 -1
  34. package/OptionsGreeksHistory.cjs +1 -1
  35. package/OptionsPosition.cjs +1 -1
  36. package/OptionsTradeExecution.cjs +1 -1
  37. package/PolicyOverlay.cjs +1 -1
  38. package/PortfolioGreeksHistory.cjs +1 -1
  39. package/ScheduledOptionOrder.cjs +1 -1
  40. package/SignalGeneratorMetrics.cjs +1 -1
  41. package/SignalLineage.cjs +4 -1
  42. package/SignalOutcome.cjs +1 -1
  43. package/SignalPriorityQueue.cjs +1 -1
  44. package/SyncEvent.cjs +1 -1
  45. package/SystemAlert.cjs +1 -1
  46. package/TradeAuditEvent.cjs +1 -1
  47. package/TradeExecutionHistory.cjs +1 -1
  48. package/TradingPolicy.cjs +1 -1
  49. package/VerificationToken.cjs +1 -1
  50. package/WaitlistEntry.cjs +1 -1
  51. package/esm/ABTest.d.ts.map +1 -1
  52. package/esm/ABTest.js.map +1 -1
  53. package/esm/ABTest.mjs +130 -1
  54. package/esm/AccountDecisionRecord.mjs +1 -1
  55. package/esm/AccountLinkingRequest.mjs +1 -1
  56. package/esm/AlpacaAccount.mjs +1 -1
  57. package/esm/AnalyticsConfiguration.mjs +1 -1
  58. package/esm/AnalyticsSnapshot.mjs +1 -1
  59. package/esm/Asset.d.ts.map +1 -1
  60. package/esm/Asset.js.map +1 -1
  61. package/esm/Asset.mjs +10 -0
  62. package/esm/AuditLog.mjs +1 -1
  63. package/esm/ConflictEvent.mjs +1 -1
  64. package/esm/ConnectionHealthSnapshot.mjs +1 -1
  65. package/esm/DeadLetterMessage.mjs +1 -1
  66. package/esm/DecisionMemorySummary.mjs +1 -1
  67. package/esm/EconomicEvent.mjs +1 -1
  68. package/esm/EquityBar.d.ts.map +1 -1
  69. package/esm/EquityBar.js.map +1 -1
  70. package/esm/EquityBar.mjs +18 -7
  71. package/esm/EventSnapshot.mjs +1 -1
  72. package/esm/FeatureImportanceAnalysis.d.ts.map +1 -1
  73. package/esm/FeatureImportanceAnalysis.js.map +1 -1
  74. package/esm/FeatureImportanceAnalysis.mjs +72 -1
  75. package/esm/InstitutionalFlowSignal.d.ts.map +1 -1
  76. package/esm/InstitutionalFlowSignal.js.map +1 -1
  77. package/esm/InstitutionalFlowSignal.mjs +17 -1
  78. package/esm/InstitutionalHolding.d.ts.map +1 -1
  79. package/esm/InstitutionalHolding.js.map +1 -1
  80. package/esm/InstitutionalHolding.mjs +7 -1
  81. package/esm/InstitutionalSentimentAlerts.mjs +1 -1
  82. package/esm/InstitutionalSentimentErrors.mjs +1 -1
  83. package/esm/InstitutionalSentimentHistory.mjs +1 -1
  84. package/esm/InstitutionalSentimentMetrics.mjs +1 -1
  85. package/esm/InviteToken.mjs +1 -1
  86. package/esm/LinkedProvider.mjs +1 -1
  87. package/esm/LlmConfiguration.mjs +1 -1
  88. package/esm/MLTrainingData.mjs +1 -1
  89. package/esm/MarketSentiment.mjs +1 -1
  90. package/esm/ModelArtifact.d.ts.map +1 -1
  91. package/esm/ModelArtifact.js.map +1 -1
  92. package/esm/ModelArtifact.mjs +26 -1
  93. package/esm/ModelVersion.d.ts.map +1 -1
  94. package/esm/ModelVersion.js.map +1 -1
  95. package/esm/ModelVersion.mjs +139 -1
  96. package/esm/ModelVersionArtifact.d.ts.map +1 -1
  97. package/esm/ModelVersionArtifact.js.map +1 -1
  98. package/esm/ModelVersionArtifact.mjs +66 -1
  99. package/esm/NewsArticle.d.ts.map +1 -1
  100. package/esm/NewsArticle.js.map +1 -1
  101. package/esm/NewsArticle.mjs +23 -1
  102. package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
  103. package/esm/NewsArticleAssetSentiment.js.map +1 -1
  104. package/esm/NewsArticleAssetSentiment.mjs +17 -1
  105. package/esm/OptionsContract.mjs +1 -1
  106. package/esm/OptionsGreeksHistory.mjs +1 -1
  107. package/esm/OptionsPosition.mjs +1 -1
  108. package/esm/OptionsTradeExecution.mjs +1 -1
  109. package/esm/PolicyOverlay.mjs +1 -1
  110. package/esm/PortfolioGreeksHistory.mjs +1 -1
  111. package/esm/ScheduledOptionOrder.mjs +1 -1
  112. package/esm/SignalGeneratorMetrics.mjs +1 -1
  113. package/esm/SignalLineage.d.ts.map +1 -1
  114. package/esm/SignalLineage.js.map +1 -1
  115. package/esm/SignalLineage.mjs +4 -1
  116. package/esm/SignalOutcome.mjs +1 -1
  117. package/esm/SignalPriorityQueue.mjs +1 -1
  118. package/esm/SyncEvent.mjs +1 -1
  119. package/esm/SystemAlert.mjs +1 -1
  120. package/esm/TradeAuditEvent.mjs +1 -1
  121. package/esm/TradeExecutionHistory.mjs +1 -1
  122. package/esm/TradingPolicy.mjs +1 -1
  123. package/esm/VerificationToken.mjs +1 -1
  124. package/esm/WaitlistEntry.mjs +1 -1
  125. package/package.json +1 -1
@@ -136,6 +136,8 @@ export const InstitutionalHolding = {
136
136
  institutionName: props.institutionName !== undefined ? props.institutionName : undefined,
137
137
  filingDate: props.filingDate !== undefined ? props.filingDate : undefined,
138
138
  reportDate: props.reportDate !== undefined ? props.reportDate : undefined,
139
+ sharesHeld: props.sharesHeld !== undefined ? props.sharesHeld : undefined,
140
+ changeShares: props.changeShares !== undefined ? props.changeShares : undefined,
139
141
  metadata: props.metadata !== undefined ? props.metadata : undefined,
140
142
  asset: props.asset ?
141
143
  typeof props.asset === 'object' && Object.keys(props.asset).length === 1 && Object.keys(props.asset)[0] === 'id'
@@ -394,6 +396,8 @@ export const InstitutionalHolding = {
394
396
  institutionName: prop.institutionName !== undefined ? prop.institutionName : undefined,
395
397
  filingDate: prop.filingDate !== undefined ? prop.filingDate : undefined,
396
398
  reportDate: prop.reportDate !== undefined ? prop.reportDate : undefined,
399
+ sharesHeld: prop.sharesHeld !== undefined ? prop.sharesHeld : undefined,
400
+ changeShares: prop.changeShares !== undefined ? prop.changeShares : undefined,
397
401
  metadata: prop.metadata !== undefined ? prop.metadata : undefined,
398
402
  })),
399
403
  };
@@ -1181,6 +1185,8 @@ export const InstitutionalHolding = {
1181
1185
  institutionName: props.institutionName !== undefined ? props.institutionName : undefined,
1182
1186
  filingDate: props.filingDate !== undefined ? props.filingDate : undefined,
1183
1187
  reportDate: props.reportDate !== undefined ? props.reportDate : undefined,
1188
+ sharesHeld: props.sharesHeld !== undefined ? props.sharesHeld : undefined,
1189
+ changeShares: props.changeShares !== undefined ? props.changeShares : undefined,
1184
1190
  metadata: props.metadata !== undefined ? props.metadata : undefined,
1185
1191
  asset: props.asset ?
1186
1192
  typeof props.asset === 'object' && Object.keys(props.asset).length === 1 && Object.keys(props.asset)[0] === 'id'
@@ -2949,7 +2955,7 @@ export const InstitutionalHolding = {
2949
2955
  });
2950
2956
  if (response.errors && response.errors.length > 0)
2951
2957
  throw new Error(response.errors[0].message);
2952
- if (response && response.data && response.data.institutionalholdings) {
2958
+ if (response && response.data && response.data.institutionalHoldings) {
2953
2959
  return response.data.institutionalHoldings;
2954
2960
  }
2955
2961
  else {
@@ -1002,7 +1002,7 @@ export const InstitutionalSentimentAlerts = {
1002
1002
  });
1003
1003
  if (response.errors && response.errors.length > 0)
1004
1004
  throw new Error(response.errors[0].message);
1005
- if (response && response.data && response.data.institutionalsentimentalerts) {
1005
+ if (response && response.data && response.data.institutionalSentimentAlerts) {
1006
1006
  return response.data.institutionalSentimentAlerts;
1007
1007
  }
1008
1008
  else {
@@ -928,7 +928,7 @@ export const InstitutionalSentimentErrors = {
928
928
  });
929
929
  if (response.errors && response.errors.length > 0)
930
930
  throw new Error(response.errors[0].message);
931
- if (response && response.data && response.data.institutionalsentimenterrors) {
931
+ if (response && response.data && response.data.institutionalSentimentErrors) {
932
932
  return response.data.institutionalSentimentErrors;
933
933
  }
934
934
  else {
@@ -1457,7 +1457,7 @@ export const InstitutionalSentimentHistory = {
1457
1457
  });
1458
1458
  if (response.errors && response.errors.length > 0)
1459
1459
  throw new Error(response.errors[0].message);
1460
- if (response && response.data && response.data.institutionalsentimenthistories) {
1460
+ if (response && response.data && response.data.institutionalSentimentHistories) {
1461
1461
  return response.data.institutionalSentimentHistories;
1462
1462
  }
1463
1463
  else {
@@ -954,7 +954,7 @@ export const InstitutionalSentimentMetrics = {
954
954
  });
955
955
  if (response.errors && response.errors.length > 0)
956
956
  throw new Error(response.errors[0].message);
957
- if (response && response.data && response.data.institutionalsentimentmetrics) {
957
+ if (response && response.data && response.data.institutionalSentimentMetrics) {
958
958
  return response.data.institutionalSentimentMetrics;
959
959
  }
960
960
  else {
@@ -5261,7 +5261,7 @@ export const InviteToken = {
5261
5261
  });
5262
5262
  if (response.errors && response.errors.length > 0)
5263
5263
  throw new Error(response.errors[0].message);
5264
- if (response && response.data && response.data.invitetokens) {
5264
+ if (response && response.data && response.data.inviteTokens) {
5265
5265
  return response.data.inviteTokens;
5266
5266
  }
5267
5267
  else {
@@ -6855,7 +6855,7 @@ export const LinkedProvider = {
6855
6855
  });
6856
6856
  if (response.errors && response.errors.length > 0)
6857
6857
  throw new Error(response.errors[0].message);
6858
- if (response && response.data && response.data.linkedproviders) {
6858
+ if (response && response.data && response.data.linkedProviders) {
6859
6859
  return response.data.linkedProviders;
6860
6860
  }
6861
6861
  else {
@@ -6840,7 +6840,7 @@ export const LlmConfiguration = {
6840
6840
  });
6841
6841
  if (response.errors && response.errors.length > 0)
6842
6842
  throw new Error(response.errors[0].message);
6843
- if (response && response.data && response.data.llmconfigurations) {
6843
+ if (response && response.data && response.data.llmConfigurations) {
6844
6844
  return response.data.llmConfigurations;
6845
6845
  }
6846
6846
  else {
@@ -1524,7 +1524,7 @@ export const MLTrainingData = {
1524
1524
  });
1525
1525
  if (response.errors && response.errors.length > 0)
1526
1526
  throw new Error(response.errors[0].message);
1527
- if (response && response.data && response.data.mltrainingdata) {
1527
+ if (response && response.data && response.data.mLTrainingData) {
1528
1528
  return response.data.mLTrainingData;
1529
1529
  }
1530
1530
  else {
@@ -909,7 +909,7 @@ export const MarketSentiment = {
909
909
  });
910
910
  if (response.errors && response.errors.length > 0)
911
911
  throw new Error(response.errors[0].message);
912
- if (response && response.data && response.data.marketsentiments) {
912
+ if (response && response.data && response.data.marketSentiments) {
913
913
  return response.data.marketSentiments;
914
914
  }
915
915
  else {
@@ -1 +1 @@
1
- {"version":3,"file":"ModelArtifact.d.ts","sourceRoot":"","sources":["../../src/ModelArtifact.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,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