fmp-node-api 0.1.8 → 0.1.9

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.
@@ -776,31 +776,44 @@ interface EarningsSurprises {
776
776
  }
777
777
 
778
778
  interface InsiderTradingRSSResponse {
779
- title: string;
780
- fillingDate: string;
781
779
  symbol: string;
782
- link: string;
780
+ filingDate: string;
781
+ transactionDate: string;
783
782
  reportingCik: string;
784
- issuerCik: string;
783
+ companyCik: string;
784
+ transactionType: string;
785
+ securitiesOwned: number;
786
+ reportingName: string;
787
+ typeOfOwner: string;
788
+ acquisitionOrDisposition: string;
789
+ directOrIndirect: string;
790
+ formType: string;
791
+ securitiesTransacted: number;
792
+ price: number;
793
+ securityName: string;
794
+ url: string;
785
795
  }
786
796
  interface InsiderTradingSearchResponse {
787
797
  symbol: string;
788
798
  filingDate: string;
789
799
  transactionDate: string;
790
800
  reportingCik: string;
801
+ companyCik: string;
791
802
  transactionType: string;
792
803
  securitiesOwned: number;
793
- securitiesTransacted: number;
794
- companyCik: string;
795
804
  reportingName: string;
796
805
  typeOfOwner: string;
797
- link: string;
798
- securityName: string;
799
- price: number;
806
+ acquisitionOrDisposition: string;
807
+ directOrIndirect: string;
800
808
  formType: string;
801
- acquistionOrDisposition: string;
809
+ securitiesTransacted: number;
810
+ price: number;
811
+ securityName: string;
812
+ url: string;
802
813
  }
803
- type TransactionTypesResponse = string[];
814
+ type TransactionTypesResponse = {
815
+ transactionType: string;
816
+ }[];
804
817
  interface InsidersBySymbolResponse {
805
818
  typeOfOwner: string;
806
819
  transactionDate: string;
@@ -811,15 +824,15 @@ interface InsiderTradeStatisticsResponse {
811
824
  cik: string;
812
825
  year: number;
813
826
  quarter: number;
814
- purchases: number;
815
- sales: number;
816
- buySellRatio: number;
817
- totalBought: number;
818
- totalSold: number;
819
- averageBought: number;
820
- averageSold: number;
821
- pPurchases: number;
822
- sSales: number;
827
+ acquiredTransactions: number;
828
+ disposedTransactions: number;
829
+ acquiredDisposedRatio: number;
830
+ totalAcquired: number;
831
+ totalDisposed: number;
832
+ averageAcquired: number;
833
+ averageDisposed: number;
834
+ totalPurchases: number;
835
+ totalSales: number;
823
836
  }
824
837
  interface CikMapperResponse {
825
838
  reportingCik: string;
@@ -1001,6 +1014,27 @@ interface MutualFundHolding {
1001
1014
  weightPercent: number;
1002
1015
  }
1003
1016
 
1017
+ interface News {
1018
+ symbol: string;
1019
+ publishedDate: string;
1020
+ publisher: string;
1021
+ title: string;
1022
+ image: string;
1023
+ site: string;
1024
+ text: string;
1025
+ url: string;
1026
+ }
1027
+ interface Article {
1028
+ title: string;
1029
+ date: string;
1030
+ content: string;
1031
+ tickers: string;
1032
+ image: string;
1033
+ link: string;
1034
+ author: string;
1035
+ site: string;
1036
+ }
1037
+
1004
1038
  interface Quote {
1005
1039
  symbol: string;
1006
1040
  name: string;
@@ -1297,4 +1331,4 @@ interface CompaniesPriceListResponse<T> {
1297
1331
  companiesPriceList: T[];
1298
1332
  }
1299
1333
 
1300
- export { type APIResponse, type AvailableCountries, type AvailableExchanges, type AvailableIndexesList, type AvailableIndustries, type AvailableSectors, type BalanceSheet, type BalanceSheetGrowth, type BeneficialOwnershipResponse, type CashFlowStatement, type CashflowGrowth, type CikMapperBySymbolResponse, type CikMapperResponse, type CompaniesPriceListResponse, type CompanyNotes, type CompanyProfile, type CompanyTranscriptData, type CryptoList, type DateRangeParams, type DividendsCalendar, type ETFCountryWeighting, type ETFHolder, type ETFHolding, type ETFHoldingDates, type ETFList, type ETFProfile, type ETFStockExposure, type ETFWeighting, type EarningsCalendar, type EarningsCallTranscript, type EarningsConfirmed, type EarningsHistorical, type EarningsSurprises, type EconomicIndicator, type EconomicIndicatorName, type EconomicsCalendar, type EnterpriseValue, Exchange, type ExecutiveCompensation, type FMPConfig, type FailToDeliverResponse, type FinancialGrowth, type FinancialRatios, type ForexList, type Form13FResponse, type HistoricalEmployeeCount, type HistoricalPriceData, type HistoricalPriceResponse, type HistoricalSharesFloat, type HouseTradingResponse, type IPOCalendar, type IncomeGrowth, type IncomeStatement, type IndividualIndustryClassificationParams, type IndustryClassification, type IndustryClassificationCode, type IndustryClassificationCodesParams, type InsiderTradeStatisticsResponse, type InsiderTradingRSSResponse, type InsiderTradingSearchResponse, type InsidersBySymbolResponse, type InstitutionalHolderResponse, type KeyMetrics, type MarketCap, type MarketHoliday, type MarketHours, type MarketIndex, type MarketPerformance, type MarketSectorPerformance, type MutualFundHolding, type PaginationParams, Period, type PeriodParams, type QueryParams, type Quote, type RSSFeed8KItem, type RSSFeed8KParams, type RSSFeedAllItem, type RSSFeedItem, type RSSFeedParams, type RSSFeedV3Item, type RSSFeedV3Params, type SECFiling, type SECFilingsParams, type Screener, type ScreenerParams, type SenateHouseTradingByNameResponse, type SenateTradingResponse, type SharesFloat, type SplitsCalendar, type StockDividend, type StockDividendResponse, type StockList, type StockListResponse, type StockRealTimePrice, type StockRealTimePriceFull, type StockSplit, type StockSplitResponse, type SymbolParams, TransactionType, type TransactionTypesResponse, type TreasuryRate };
1334
+ export { type APIResponse, type Article, type AvailableCountries, type AvailableExchanges, type AvailableIndexesList, type AvailableIndustries, type AvailableSectors, type BalanceSheet, type BalanceSheetGrowth, type BeneficialOwnershipResponse, type CashFlowStatement, type CashflowGrowth, type CikMapperBySymbolResponse, type CikMapperResponse, type CompaniesPriceListResponse, type CompanyNotes, type CompanyProfile, type CompanyTranscriptData, type CryptoList, type DateRangeParams, type DividendsCalendar, type ETFCountryWeighting, type ETFHolder, type ETFHolding, type ETFHoldingDates, type ETFList, type ETFProfile, type ETFStockExposure, type ETFWeighting, type EarningsCalendar, type EarningsCallTranscript, type EarningsConfirmed, type EarningsHistorical, type EarningsSurprises, type EconomicIndicator, type EconomicIndicatorName, type EconomicsCalendar, type EnterpriseValue, Exchange, type ExecutiveCompensation, type FMPConfig, type FailToDeliverResponse, type FinancialGrowth, type FinancialRatios, type ForexList, type Form13FResponse, type HistoricalEmployeeCount, type HistoricalPriceData, type HistoricalPriceResponse, type HistoricalSharesFloat, type HouseTradingResponse, type IPOCalendar, type IncomeGrowth, type IncomeStatement, type IndividualIndustryClassificationParams, type IndustryClassification, type IndustryClassificationCode, type IndustryClassificationCodesParams, type InsiderTradeStatisticsResponse, type InsiderTradingRSSResponse, type InsiderTradingSearchResponse, type InsidersBySymbolResponse, type InstitutionalHolderResponse, type KeyMetrics, type MarketCap, type MarketHoliday, type MarketHours, type MarketIndex, type MarketPerformance, type MarketSectorPerformance, type MutualFundHolding, type News, type PaginationParams, Period, type PeriodParams, type QueryParams, type Quote, type RSSFeed8KItem, type RSSFeed8KParams, type RSSFeedAllItem, type RSSFeedItem, type RSSFeedParams, type RSSFeedV3Item, type RSSFeedV3Params, type SECFiling, type SECFilingsParams, type Screener, type ScreenerParams, type SenateHouseTradingByNameResponse, type SenateTradingResponse, type SharesFloat, type SplitsCalendar, type StockDividend, type StockDividendResponse, type StockList, type StockListResponse, type StockRealTimePrice, type StockRealTimePriceFull, type StockSplit, type StockSplitResponse, type SymbolParams, TransactionType, type TransactionTypesResponse, type TreasuryRate };
@@ -776,31 +776,44 @@ interface EarningsSurprises {
776
776
  }
777
777
 
778
778
  interface InsiderTradingRSSResponse {
779
- title: string;
780
- fillingDate: string;
781
779
  symbol: string;
782
- link: string;
780
+ filingDate: string;
781
+ transactionDate: string;
783
782
  reportingCik: string;
784
- issuerCik: string;
783
+ companyCik: string;
784
+ transactionType: string;
785
+ securitiesOwned: number;
786
+ reportingName: string;
787
+ typeOfOwner: string;
788
+ acquisitionOrDisposition: string;
789
+ directOrIndirect: string;
790
+ formType: string;
791
+ securitiesTransacted: number;
792
+ price: number;
793
+ securityName: string;
794
+ url: string;
785
795
  }
786
796
  interface InsiderTradingSearchResponse {
787
797
  symbol: string;
788
798
  filingDate: string;
789
799
  transactionDate: string;
790
800
  reportingCik: string;
801
+ companyCik: string;
791
802
  transactionType: string;
792
803
  securitiesOwned: number;
793
- securitiesTransacted: number;
794
- companyCik: string;
795
804
  reportingName: string;
796
805
  typeOfOwner: string;
797
- link: string;
798
- securityName: string;
799
- price: number;
806
+ acquisitionOrDisposition: string;
807
+ directOrIndirect: string;
800
808
  formType: string;
801
- acquistionOrDisposition: string;
809
+ securitiesTransacted: number;
810
+ price: number;
811
+ securityName: string;
812
+ url: string;
802
813
  }
803
- type TransactionTypesResponse = string[];
814
+ type TransactionTypesResponse = {
815
+ transactionType: string;
816
+ }[];
804
817
  interface InsidersBySymbolResponse {
805
818
  typeOfOwner: string;
806
819
  transactionDate: string;
@@ -811,15 +824,15 @@ interface InsiderTradeStatisticsResponse {
811
824
  cik: string;
812
825
  year: number;
813
826
  quarter: number;
814
- purchases: number;
815
- sales: number;
816
- buySellRatio: number;
817
- totalBought: number;
818
- totalSold: number;
819
- averageBought: number;
820
- averageSold: number;
821
- pPurchases: number;
822
- sSales: number;
827
+ acquiredTransactions: number;
828
+ disposedTransactions: number;
829
+ acquiredDisposedRatio: number;
830
+ totalAcquired: number;
831
+ totalDisposed: number;
832
+ averageAcquired: number;
833
+ averageDisposed: number;
834
+ totalPurchases: number;
835
+ totalSales: number;
823
836
  }
824
837
  interface CikMapperResponse {
825
838
  reportingCik: string;
@@ -1001,6 +1014,27 @@ interface MutualFundHolding {
1001
1014
  weightPercent: number;
1002
1015
  }
1003
1016
 
1017
+ interface News {
1018
+ symbol: string;
1019
+ publishedDate: string;
1020
+ publisher: string;
1021
+ title: string;
1022
+ image: string;
1023
+ site: string;
1024
+ text: string;
1025
+ url: string;
1026
+ }
1027
+ interface Article {
1028
+ title: string;
1029
+ date: string;
1030
+ content: string;
1031
+ tickers: string;
1032
+ image: string;
1033
+ link: string;
1034
+ author: string;
1035
+ site: string;
1036
+ }
1037
+
1004
1038
  interface Quote {
1005
1039
  symbol: string;
1006
1040
  name: string;
@@ -1297,4 +1331,4 @@ interface CompaniesPriceListResponse<T> {
1297
1331
  companiesPriceList: T[];
1298
1332
  }
1299
1333
 
1300
- export { type APIResponse, type AvailableCountries, type AvailableExchanges, type AvailableIndexesList, type AvailableIndustries, type AvailableSectors, type BalanceSheet, type BalanceSheetGrowth, type BeneficialOwnershipResponse, type CashFlowStatement, type CashflowGrowth, type CikMapperBySymbolResponse, type CikMapperResponse, type CompaniesPriceListResponse, type CompanyNotes, type CompanyProfile, type CompanyTranscriptData, type CryptoList, type DateRangeParams, type DividendsCalendar, type ETFCountryWeighting, type ETFHolder, type ETFHolding, type ETFHoldingDates, type ETFList, type ETFProfile, type ETFStockExposure, type ETFWeighting, type EarningsCalendar, type EarningsCallTranscript, type EarningsConfirmed, type EarningsHistorical, type EarningsSurprises, type EconomicIndicator, type EconomicIndicatorName, type EconomicsCalendar, type EnterpriseValue, Exchange, type ExecutiveCompensation, type FMPConfig, type FailToDeliverResponse, type FinancialGrowth, type FinancialRatios, type ForexList, type Form13FResponse, type HistoricalEmployeeCount, type HistoricalPriceData, type HistoricalPriceResponse, type HistoricalSharesFloat, type HouseTradingResponse, type IPOCalendar, type IncomeGrowth, type IncomeStatement, type IndividualIndustryClassificationParams, type IndustryClassification, type IndustryClassificationCode, type IndustryClassificationCodesParams, type InsiderTradeStatisticsResponse, type InsiderTradingRSSResponse, type InsiderTradingSearchResponse, type InsidersBySymbolResponse, type InstitutionalHolderResponse, type KeyMetrics, type MarketCap, type MarketHoliday, type MarketHours, type MarketIndex, type MarketPerformance, type MarketSectorPerformance, type MutualFundHolding, type PaginationParams, Period, type PeriodParams, type QueryParams, type Quote, type RSSFeed8KItem, type RSSFeed8KParams, type RSSFeedAllItem, type RSSFeedItem, type RSSFeedParams, type RSSFeedV3Item, type RSSFeedV3Params, type SECFiling, type SECFilingsParams, type Screener, type ScreenerParams, type SenateHouseTradingByNameResponse, type SenateTradingResponse, type SharesFloat, type SplitsCalendar, type StockDividend, type StockDividendResponse, type StockList, type StockListResponse, type StockRealTimePrice, type StockRealTimePriceFull, type StockSplit, type StockSplitResponse, type SymbolParams, TransactionType, type TransactionTypesResponse, type TreasuryRate };
1334
+ export { type APIResponse, type Article, type AvailableCountries, type AvailableExchanges, type AvailableIndexesList, type AvailableIndustries, type AvailableSectors, type BalanceSheet, type BalanceSheetGrowth, type BeneficialOwnershipResponse, type CashFlowStatement, type CashflowGrowth, type CikMapperBySymbolResponse, type CikMapperResponse, type CompaniesPriceListResponse, type CompanyNotes, type CompanyProfile, type CompanyTranscriptData, type CryptoList, type DateRangeParams, type DividendsCalendar, type ETFCountryWeighting, type ETFHolder, type ETFHolding, type ETFHoldingDates, type ETFList, type ETFProfile, type ETFStockExposure, type ETFWeighting, type EarningsCalendar, type EarningsCallTranscript, type EarningsConfirmed, type EarningsHistorical, type EarningsSurprises, type EconomicIndicator, type EconomicIndicatorName, type EconomicsCalendar, type EnterpriseValue, Exchange, type ExecutiveCompensation, type FMPConfig, type FailToDeliverResponse, type FinancialGrowth, type FinancialRatios, type ForexList, type Form13FResponse, type HistoricalEmployeeCount, type HistoricalPriceData, type HistoricalPriceResponse, type HistoricalSharesFloat, type HouseTradingResponse, type IPOCalendar, type IncomeGrowth, type IncomeStatement, type IndividualIndustryClassificationParams, type IndustryClassification, type IndustryClassificationCode, type IndustryClassificationCodesParams, type InsiderTradeStatisticsResponse, type InsiderTradingRSSResponse, type InsiderTradingSearchResponse, type InsidersBySymbolResponse, type InstitutionalHolderResponse, type KeyMetrics, type MarketCap, type MarketHoliday, type MarketHours, type MarketIndex, type MarketPerformance, type MarketSectorPerformance, type MutualFundHolding, type News, type PaginationParams, Period, type PeriodParams, type QueryParams, type Quote, type RSSFeed8KItem, type RSSFeed8KParams, type RSSFeedAllItem, type RSSFeedItem, type RSSFeedParams, type RSSFeedV3Item, type RSSFeedV3Params, type SECFiling, type SECFilingsParams, type Screener, type ScreenerParams, type SenateHouseTradingByNameResponse, type SenateTradingResponse, type SharesFloat, type SplitsCalendar, type StockDividend, type StockDividendResponse, type StockList, type StockListResponse, type StockRealTimePrice, type StockRealTimePriceFull, type StockSplit, type StockSplitResponse, type SymbolParams, TransactionType, type TransactionTypesResponse, type TreasuryRate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmp-node-api",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "A comprehensive Node.js wrapper for Financial Modeling Prep API",
5
5
  "disclaimer": "This package is not affiliated with, endorsed by, or sponsored by Financial Modeling Prep (FMP). This is an independent, community-developed wrapper.",
6
6
  "main": "./dist/index.js",
@@ -54,7 +54,7 @@
54
54
  "tsup": "^8.0.0",
55
55
  "tsx": "^4.7.0",
56
56
  "typescript": "^5.3.3",
57
- "fmp-node-types": "0.1.3"
57
+ "fmp-node-types": "0.1.4"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "tsup",