fmp-node-types 0.2.3-beta.0 → 0.2.4-beta.0
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/dist/index.d.mts +36 -12
- package/dist/index.d.ts +36 -12
- package/dist/index.js +21 -34
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -34
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1444,6 +1444,8 @@ declare const FinancialRatiosSchema: z.ZodObject<{
|
|
|
1444
1444
|
priceToEarningsRatio: z.ZodNumber;
|
|
1445
1445
|
priceToEarningsGrowthRatio: z.ZodNumber;
|
|
1446
1446
|
forwardPriceToEarningsGrowthRatio: z.ZodNumber;
|
|
1447
|
+
priceToEarningsDilutedRatio: z.ZodNumber;
|
|
1448
|
+
priceToEarningsDilutedGrowthRatio: z.ZodNumber;
|
|
1447
1449
|
priceToBookRatio: z.ZodNumber;
|
|
1448
1450
|
priceToSalesRatio: z.ZodNumber;
|
|
1449
1451
|
priceToFreeCashFlowRatio: z.ZodNumber;
|
|
@@ -1509,6 +1511,8 @@ declare const FinancialRatiosSchema: z.ZodObject<{
|
|
|
1509
1511
|
priceToEarningsRatio: number;
|
|
1510
1512
|
priceToEarningsGrowthRatio: number;
|
|
1511
1513
|
forwardPriceToEarningsGrowthRatio: number;
|
|
1514
|
+
priceToEarningsDilutedRatio: number;
|
|
1515
|
+
priceToEarningsDilutedGrowthRatio: number;
|
|
1512
1516
|
priceToBookRatio: number;
|
|
1513
1517
|
priceToSalesRatio: number;
|
|
1514
1518
|
priceToFreeCashFlowRatio: number;
|
|
@@ -1574,6 +1578,8 @@ declare const FinancialRatiosSchema: z.ZodObject<{
|
|
|
1574
1578
|
priceToEarningsRatio: number;
|
|
1575
1579
|
priceToEarningsGrowthRatio: number;
|
|
1576
1580
|
forwardPriceToEarningsGrowthRatio: number;
|
|
1581
|
+
priceToEarningsDilutedRatio: number;
|
|
1582
|
+
priceToEarningsDilutedGrowthRatio: number;
|
|
1577
1583
|
priceToBookRatio: number;
|
|
1578
1584
|
priceToSalesRatio: number;
|
|
1579
1585
|
priceToFreeCashFlowRatio: number;
|
|
@@ -2429,6 +2435,8 @@ declare const FinancialRatiosTTMSchema: z.ZodObject<{
|
|
|
2429
2435
|
priceToEarningsRatioTTM: z.ZodNumber;
|
|
2430
2436
|
priceToEarningsGrowthRatioTTM: z.ZodNumber;
|
|
2431
2437
|
forwardPriceToEarningsGrowthRatioTTM: z.ZodNumber;
|
|
2438
|
+
priceToEarningsDilutedRatioTTM: z.ZodNumber;
|
|
2439
|
+
priceToEarningsDilutedGrowthRatioTTM: z.ZodNumber;
|
|
2432
2440
|
priceToBookRatioTTM: z.ZodNumber;
|
|
2433
2441
|
priceToSalesRatioTTM: z.ZodNumber;
|
|
2434
2442
|
priceToFreeCashFlowRatioTTM: z.ZodNumber;
|
|
@@ -2491,6 +2499,8 @@ declare const FinancialRatiosTTMSchema: z.ZodObject<{
|
|
|
2491
2499
|
priceToEarningsRatioTTM: number;
|
|
2492
2500
|
priceToEarningsGrowthRatioTTM: number;
|
|
2493
2501
|
forwardPriceToEarningsGrowthRatioTTM: number;
|
|
2502
|
+
priceToEarningsDilutedRatioTTM: number;
|
|
2503
|
+
priceToEarningsDilutedGrowthRatioTTM: number;
|
|
2494
2504
|
priceToBookRatioTTM: number;
|
|
2495
2505
|
priceToSalesRatioTTM: number;
|
|
2496
2506
|
priceToFreeCashFlowRatioTTM: number;
|
|
@@ -2552,6 +2562,8 @@ declare const FinancialRatiosTTMSchema: z.ZodObject<{
|
|
|
2552
2562
|
priceToEarningsRatioTTM: number;
|
|
2553
2563
|
priceToEarningsGrowthRatioTTM: number;
|
|
2554
2564
|
forwardPriceToEarningsGrowthRatioTTM: number;
|
|
2565
|
+
priceToEarningsDilutedRatioTTM: number;
|
|
2566
|
+
priceToEarningsDilutedGrowthRatioTTM: number;
|
|
2555
2567
|
priceToBookRatioTTM: number;
|
|
2556
2568
|
priceToSalesRatioTTM: number;
|
|
2557
2569
|
priceToFreeCashFlowRatioTTM: number;
|
|
@@ -3293,28 +3305,28 @@ declare const MutualFundHoldingSchema: z.ZodObject<{
|
|
|
3293
3305
|
type MutualFundHolding = z.infer<typeof MutualFundHoldingSchema>;
|
|
3294
3306
|
|
|
3295
3307
|
declare const NewsSchema: z.ZodObject<{
|
|
3296
|
-
symbol: z.ZodString
|
|
3308
|
+
symbol: z.ZodNullable<z.ZodString>;
|
|
3297
3309
|
publishedDate: z.ZodString;
|
|
3298
3310
|
publisher: z.ZodString;
|
|
3299
3311
|
title: z.ZodString;
|
|
3300
|
-
image: z.ZodString
|
|
3312
|
+
image: z.ZodNullable<z.ZodString>;
|
|
3301
3313
|
site: z.ZodString;
|
|
3302
3314
|
text: z.ZodString;
|
|
3303
3315
|
url: z.ZodString;
|
|
3304
3316
|
}, "strip", z.ZodTypeAny, {
|
|
3305
|
-
symbol: string;
|
|
3317
|
+
symbol: string | null;
|
|
3306
3318
|
title: string;
|
|
3307
3319
|
url: string;
|
|
3308
|
-
image: string;
|
|
3320
|
+
image: string | null;
|
|
3309
3321
|
publishedDate: string;
|
|
3310
3322
|
publisher: string;
|
|
3311
3323
|
site: string;
|
|
3312
3324
|
text: string;
|
|
3313
3325
|
}, {
|
|
3314
|
-
symbol: string;
|
|
3326
|
+
symbol: string | null;
|
|
3315
3327
|
title: string;
|
|
3316
3328
|
url: string;
|
|
3317
|
-
image: string;
|
|
3329
|
+
image: string | null;
|
|
3318
3330
|
publishedDate: string;
|
|
3319
3331
|
publisher: string;
|
|
3320
3332
|
site: string;
|
|
@@ -3920,6 +3932,7 @@ declare const ScreenerSchema: z.ZodObject<{
|
|
|
3920
3932
|
price: z.ZodNumber;
|
|
3921
3933
|
lastAnnualDividend: z.ZodNullable<z.ZodNumber>;
|
|
3922
3934
|
volume: z.ZodNumber;
|
|
3935
|
+
avgVolume: z.ZodNumber;
|
|
3923
3936
|
exchange: z.ZodString;
|
|
3924
3937
|
exchangeShortName: z.ZodString;
|
|
3925
3938
|
country: z.ZodString;
|
|
@@ -3940,6 +3953,7 @@ declare const ScreenerSchema: z.ZodObject<{
|
|
|
3940
3953
|
isEtf: boolean;
|
|
3941
3954
|
isActivelyTrading: boolean;
|
|
3942
3955
|
isFund: boolean;
|
|
3956
|
+
avgVolume: number;
|
|
3943
3957
|
exchangeShortName: string;
|
|
3944
3958
|
lastAnnualDividend: number | null;
|
|
3945
3959
|
}, {
|
|
@@ -3956,6 +3970,7 @@ declare const ScreenerSchema: z.ZodObject<{
|
|
|
3956
3970
|
isEtf: boolean;
|
|
3957
3971
|
isActivelyTrading: boolean;
|
|
3958
3972
|
isFund: boolean;
|
|
3973
|
+
avgVolume: number;
|
|
3959
3974
|
exchangeShortName: string;
|
|
3960
3975
|
lastAnnualDividend: number | null;
|
|
3961
3976
|
}>;
|
|
@@ -4210,17 +4225,17 @@ declare const DCFValuationSchema: z.ZodObject<{
|
|
|
4210
4225
|
symbol: z.ZodString;
|
|
4211
4226
|
date: z.ZodNullable<z.ZodString>;
|
|
4212
4227
|
dcf: z.ZodNullable<z.ZodNumber>;
|
|
4213
|
-
|
|
4228
|
+
"Stock Price": z.ZodNullable<z.ZodNumber>;
|
|
4214
4229
|
}, "strip", z.ZodTypeAny, {
|
|
4215
4230
|
symbol: string;
|
|
4216
4231
|
date: string | null;
|
|
4217
4232
|
dcf: number | null;
|
|
4218
|
-
|
|
4233
|
+
"Stock Price": number | null;
|
|
4219
4234
|
}, {
|
|
4220
4235
|
symbol: string;
|
|
4221
4236
|
date: string | null;
|
|
4222
4237
|
dcf: number | null;
|
|
4223
|
-
|
|
4238
|
+
"Stock Price": number | null;
|
|
4224
4239
|
}>;
|
|
4225
4240
|
declare const CompanyRatingSchema: z.ZodObject<{
|
|
4226
4241
|
symbol: z.ZodString;
|
|
@@ -4312,6 +4327,7 @@ type TechnicalIndicator = z.infer<typeof TechnicalIndicatorSchema>;
|
|
|
4312
4327
|
|
|
4313
4328
|
declare const SenateTradingResponseSchema: z.ZodObject<{
|
|
4314
4329
|
symbol: z.ZodString;
|
|
4330
|
+
senateID: z.ZodString;
|
|
4315
4331
|
disclosureDate: z.ZodString;
|
|
4316
4332
|
transactionDate: z.ZodString;
|
|
4317
4333
|
firstName: z.ZodString;
|
|
@@ -4333,6 +4349,7 @@ declare const SenateTradingResponseSchema: z.ZodObject<{
|
|
|
4333
4349
|
transactionDate: string;
|
|
4334
4350
|
owner: string;
|
|
4335
4351
|
office: string;
|
|
4352
|
+
senateID: string;
|
|
4336
4353
|
disclosureDate: string;
|
|
4337
4354
|
firstName: string;
|
|
4338
4355
|
lastName: string;
|
|
@@ -4349,6 +4366,7 @@ declare const SenateTradingResponseSchema: z.ZodObject<{
|
|
|
4349
4366
|
transactionDate: string;
|
|
4350
4367
|
owner: string;
|
|
4351
4368
|
office: string;
|
|
4369
|
+
senateID: string;
|
|
4352
4370
|
disclosureDate: string;
|
|
4353
4371
|
firstName: string;
|
|
4354
4372
|
lastName: string;
|
|
@@ -4361,6 +4379,7 @@ declare const SenateTradingResponseSchema: z.ZodObject<{
|
|
|
4361
4379
|
}>;
|
|
4362
4380
|
declare const HouseTradingResponseSchema: z.ZodObject<{
|
|
4363
4381
|
symbol: z.ZodString;
|
|
4382
|
+
senateID: z.ZodString;
|
|
4364
4383
|
disclosureDate: z.ZodString;
|
|
4365
4384
|
transactionDate: z.ZodString;
|
|
4366
4385
|
firstName: z.ZodString;
|
|
@@ -4382,6 +4401,7 @@ declare const HouseTradingResponseSchema: z.ZodObject<{
|
|
|
4382
4401
|
transactionDate: string;
|
|
4383
4402
|
owner: string;
|
|
4384
4403
|
office: string;
|
|
4404
|
+
senateID: string;
|
|
4385
4405
|
disclosureDate: string;
|
|
4386
4406
|
firstName: string;
|
|
4387
4407
|
lastName: string;
|
|
@@ -4398,6 +4418,7 @@ declare const HouseTradingResponseSchema: z.ZodObject<{
|
|
|
4398
4418
|
transactionDate: string;
|
|
4399
4419
|
owner: string;
|
|
4400
4420
|
office: string;
|
|
4421
|
+
senateID: string;
|
|
4401
4422
|
disclosureDate: string;
|
|
4402
4423
|
firstName: string;
|
|
4403
4424
|
lastName: string;
|
|
@@ -4410,6 +4431,7 @@ declare const HouseTradingResponseSchema: z.ZodObject<{
|
|
|
4410
4431
|
}>;
|
|
4411
4432
|
declare const SenateHouseTradingByNameResponseSchema: z.ZodObject<{
|
|
4412
4433
|
symbol: z.ZodString;
|
|
4434
|
+
senateID: z.ZodString;
|
|
4413
4435
|
disclosureDate: z.ZodString;
|
|
4414
4436
|
transactionDate: z.ZodString;
|
|
4415
4437
|
firstName: z.ZodString;
|
|
@@ -4431,6 +4453,7 @@ declare const SenateHouseTradingByNameResponseSchema: z.ZodObject<{
|
|
|
4431
4453
|
transactionDate: string;
|
|
4432
4454
|
owner: string;
|
|
4433
4455
|
office: string;
|
|
4456
|
+
senateID: string;
|
|
4434
4457
|
disclosureDate: string;
|
|
4435
4458
|
firstName: string;
|
|
4436
4459
|
lastName: string;
|
|
@@ -4447,6 +4470,7 @@ declare const SenateHouseTradingByNameResponseSchema: z.ZodObject<{
|
|
|
4447
4470
|
transactionDate: string;
|
|
4448
4471
|
owner: string;
|
|
4449
4472
|
office: string;
|
|
4473
|
+
senateID: string;
|
|
4450
4474
|
disclosureDate: string;
|
|
4451
4475
|
firstName: string;
|
|
4452
4476
|
lastName: string;
|
|
@@ -4705,18 +4729,18 @@ interface CompaniesPriceListResponse<T> {
|
|
|
4705
4729
|
declare const AftermarketTradeSchema: z.ZodObject<{
|
|
4706
4730
|
symbol: z.ZodString;
|
|
4707
4731
|
price: z.ZodNumber;
|
|
4708
|
-
tradeSize: z.ZodNumber
|
|
4732
|
+
tradeSize: z.ZodNullable<z.ZodNumber>;
|
|
4709
4733
|
timestamp: z.ZodNumber;
|
|
4710
4734
|
}, "strip", z.ZodTypeAny, {
|
|
4711
4735
|
symbol: string;
|
|
4712
4736
|
price: number;
|
|
4713
4737
|
timestamp: number;
|
|
4714
|
-
tradeSize: number;
|
|
4738
|
+
tradeSize: number | null;
|
|
4715
4739
|
}, {
|
|
4716
4740
|
symbol: string;
|
|
4717
4741
|
price: number;
|
|
4718
4742
|
timestamp: number;
|
|
4719
|
-
tradeSize: number;
|
|
4743
|
+
tradeSize: number | null;
|
|
4720
4744
|
}>;
|
|
4721
4745
|
type AftermarketTrade = z.infer<typeof AftermarketTradeSchema>;
|
|
4722
4746
|
declare const AftermarketQuoteSchema: z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1444,6 +1444,8 @@ declare const FinancialRatiosSchema: z.ZodObject<{
|
|
|
1444
1444
|
priceToEarningsRatio: z.ZodNumber;
|
|
1445
1445
|
priceToEarningsGrowthRatio: z.ZodNumber;
|
|
1446
1446
|
forwardPriceToEarningsGrowthRatio: z.ZodNumber;
|
|
1447
|
+
priceToEarningsDilutedRatio: z.ZodNumber;
|
|
1448
|
+
priceToEarningsDilutedGrowthRatio: z.ZodNumber;
|
|
1447
1449
|
priceToBookRatio: z.ZodNumber;
|
|
1448
1450
|
priceToSalesRatio: z.ZodNumber;
|
|
1449
1451
|
priceToFreeCashFlowRatio: z.ZodNumber;
|
|
@@ -1509,6 +1511,8 @@ declare const FinancialRatiosSchema: z.ZodObject<{
|
|
|
1509
1511
|
priceToEarningsRatio: number;
|
|
1510
1512
|
priceToEarningsGrowthRatio: number;
|
|
1511
1513
|
forwardPriceToEarningsGrowthRatio: number;
|
|
1514
|
+
priceToEarningsDilutedRatio: number;
|
|
1515
|
+
priceToEarningsDilutedGrowthRatio: number;
|
|
1512
1516
|
priceToBookRatio: number;
|
|
1513
1517
|
priceToSalesRatio: number;
|
|
1514
1518
|
priceToFreeCashFlowRatio: number;
|
|
@@ -1574,6 +1578,8 @@ declare const FinancialRatiosSchema: z.ZodObject<{
|
|
|
1574
1578
|
priceToEarningsRatio: number;
|
|
1575
1579
|
priceToEarningsGrowthRatio: number;
|
|
1576
1580
|
forwardPriceToEarningsGrowthRatio: number;
|
|
1581
|
+
priceToEarningsDilutedRatio: number;
|
|
1582
|
+
priceToEarningsDilutedGrowthRatio: number;
|
|
1577
1583
|
priceToBookRatio: number;
|
|
1578
1584
|
priceToSalesRatio: number;
|
|
1579
1585
|
priceToFreeCashFlowRatio: number;
|
|
@@ -2429,6 +2435,8 @@ declare const FinancialRatiosTTMSchema: z.ZodObject<{
|
|
|
2429
2435
|
priceToEarningsRatioTTM: z.ZodNumber;
|
|
2430
2436
|
priceToEarningsGrowthRatioTTM: z.ZodNumber;
|
|
2431
2437
|
forwardPriceToEarningsGrowthRatioTTM: z.ZodNumber;
|
|
2438
|
+
priceToEarningsDilutedRatioTTM: z.ZodNumber;
|
|
2439
|
+
priceToEarningsDilutedGrowthRatioTTM: z.ZodNumber;
|
|
2432
2440
|
priceToBookRatioTTM: z.ZodNumber;
|
|
2433
2441
|
priceToSalesRatioTTM: z.ZodNumber;
|
|
2434
2442
|
priceToFreeCashFlowRatioTTM: z.ZodNumber;
|
|
@@ -2491,6 +2499,8 @@ declare const FinancialRatiosTTMSchema: z.ZodObject<{
|
|
|
2491
2499
|
priceToEarningsRatioTTM: number;
|
|
2492
2500
|
priceToEarningsGrowthRatioTTM: number;
|
|
2493
2501
|
forwardPriceToEarningsGrowthRatioTTM: number;
|
|
2502
|
+
priceToEarningsDilutedRatioTTM: number;
|
|
2503
|
+
priceToEarningsDilutedGrowthRatioTTM: number;
|
|
2494
2504
|
priceToBookRatioTTM: number;
|
|
2495
2505
|
priceToSalesRatioTTM: number;
|
|
2496
2506
|
priceToFreeCashFlowRatioTTM: number;
|
|
@@ -2552,6 +2562,8 @@ declare const FinancialRatiosTTMSchema: z.ZodObject<{
|
|
|
2552
2562
|
priceToEarningsRatioTTM: number;
|
|
2553
2563
|
priceToEarningsGrowthRatioTTM: number;
|
|
2554
2564
|
forwardPriceToEarningsGrowthRatioTTM: number;
|
|
2565
|
+
priceToEarningsDilutedRatioTTM: number;
|
|
2566
|
+
priceToEarningsDilutedGrowthRatioTTM: number;
|
|
2555
2567
|
priceToBookRatioTTM: number;
|
|
2556
2568
|
priceToSalesRatioTTM: number;
|
|
2557
2569
|
priceToFreeCashFlowRatioTTM: number;
|
|
@@ -3293,28 +3305,28 @@ declare const MutualFundHoldingSchema: z.ZodObject<{
|
|
|
3293
3305
|
type MutualFundHolding = z.infer<typeof MutualFundHoldingSchema>;
|
|
3294
3306
|
|
|
3295
3307
|
declare const NewsSchema: z.ZodObject<{
|
|
3296
|
-
symbol: z.ZodString
|
|
3308
|
+
symbol: z.ZodNullable<z.ZodString>;
|
|
3297
3309
|
publishedDate: z.ZodString;
|
|
3298
3310
|
publisher: z.ZodString;
|
|
3299
3311
|
title: z.ZodString;
|
|
3300
|
-
image: z.ZodString
|
|
3312
|
+
image: z.ZodNullable<z.ZodString>;
|
|
3301
3313
|
site: z.ZodString;
|
|
3302
3314
|
text: z.ZodString;
|
|
3303
3315
|
url: z.ZodString;
|
|
3304
3316
|
}, "strip", z.ZodTypeAny, {
|
|
3305
|
-
symbol: string;
|
|
3317
|
+
symbol: string | null;
|
|
3306
3318
|
title: string;
|
|
3307
3319
|
url: string;
|
|
3308
|
-
image: string;
|
|
3320
|
+
image: string | null;
|
|
3309
3321
|
publishedDate: string;
|
|
3310
3322
|
publisher: string;
|
|
3311
3323
|
site: string;
|
|
3312
3324
|
text: string;
|
|
3313
3325
|
}, {
|
|
3314
|
-
symbol: string;
|
|
3326
|
+
symbol: string | null;
|
|
3315
3327
|
title: string;
|
|
3316
3328
|
url: string;
|
|
3317
|
-
image: string;
|
|
3329
|
+
image: string | null;
|
|
3318
3330
|
publishedDate: string;
|
|
3319
3331
|
publisher: string;
|
|
3320
3332
|
site: string;
|
|
@@ -3920,6 +3932,7 @@ declare const ScreenerSchema: z.ZodObject<{
|
|
|
3920
3932
|
price: z.ZodNumber;
|
|
3921
3933
|
lastAnnualDividend: z.ZodNullable<z.ZodNumber>;
|
|
3922
3934
|
volume: z.ZodNumber;
|
|
3935
|
+
avgVolume: z.ZodNumber;
|
|
3923
3936
|
exchange: z.ZodString;
|
|
3924
3937
|
exchangeShortName: z.ZodString;
|
|
3925
3938
|
country: z.ZodString;
|
|
@@ -3940,6 +3953,7 @@ declare const ScreenerSchema: z.ZodObject<{
|
|
|
3940
3953
|
isEtf: boolean;
|
|
3941
3954
|
isActivelyTrading: boolean;
|
|
3942
3955
|
isFund: boolean;
|
|
3956
|
+
avgVolume: number;
|
|
3943
3957
|
exchangeShortName: string;
|
|
3944
3958
|
lastAnnualDividend: number | null;
|
|
3945
3959
|
}, {
|
|
@@ -3956,6 +3970,7 @@ declare const ScreenerSchema: z.ZodObject<{
|
|
|
3956
3970
|
isEtf: boolean;
|
|
3957
3971
|
isActivelyTrading: boolean;
|
|
3958
3972
|
isFund: boolean;
|
|
3973
|
+
avgVolume: number;
|
|
3959
3974
|
exchangeShortName: string;
|
|
3960
3975
|
lastAnnualDividend: number | null;
|
|
3961
3976
|
}>;
|
|
@@ -4210,17 +4225,17 @@ declare const DCFValuationSchema: z.ZodObject<{
|
|
|
4210
4225
|
symbol: z.ZodString;
|
|
4211
4226
|
date: z.ZodNullable<z.ZodString>;
|
|
4212
4227
|
dcf: z.ZodNullable<z.ZodNumber>;
|
|
4213
|
-
|
|
4228
|
+
"Stock Price": z.ZodNullable<z.ZodNumber>;
|
|
4214
4229
|
}, "strip", z.ZodTypeAny, {
|
|
4215
4230
|
symbol: string;
|
|
4216
4231
|
date: string | null;
|
|
4217
4232
|
dcf: number | null;
|
|
4218
|
-
|
|
4233
|
+
"Stock Price": number | null;
|
|
4219
4234
|
}, {
|
|
4220
4235
|
symbol: string;
|
|
4221
4236
|
date: string | null;
|
|
4222
4237
|
dcf: number | null;
|
|
4223
|
-
|
|
4238
|
+
"Stock Price": number | null;
|
|
4224
4239
|
}>;
|
|
4225
4240
|
declare const CompanyRatingSchema: z.ZodObject<{
|
|
4226
4241
|
symbol: z.ZodString;
|
|
@@ -4312,6 +4327,7 @@ type TechnicalIndicator = z.infer<typeof TechnicalIndicatorSchema>;
|
|
|
4312
4327
|
|
|
4313
4328
|
declare const SenateTradingResponseSchema: z.ZodObject<{
|
|
4314
4329
|
symbol: z.ZodString;
|
|
4330
|
+
senateID: z.ZodString;
|
|
4315
4331
|
disclosureDate: z.ZodString;
|
|
4316
4332
|
transactionDate: z.ZodString;
|
|
4317
4333
|
firstName: z.ZodString;
|
|
@@ -4333,6 +4349,7 @@ declare const SenateTradingResponseSchema: z.ZodObject<{
|
|
|
4333
4349
|
transactionDate: string;
|
|
4334
4350
|
owner: string;
|
|
4335
4351
|
office: string;
|
|
4352
|
+
senateID: string;
|
|
4336
4353
|
disclosureDate: string;
|
|
4337
4354
|
firstName: string;
|
|
4338
4355
|
lastName: string;
|
|
@@ -4349,6 +4366,7 @@ declare const SenateTradingResponseSchema: z.ZodObject<{
|
|
|
4349
4366
|
transactionDate: string;
|
|
4350
4367
|
owner: string;
|
|
4351
4368
|
office: string;
|
|
4369
|
+
senateID: string;
|
|
4352
4370
|
disclosureDate: string;
|
|
4353
4371
|
firstName: string;
|
|
4354
4372
|
lastName: string;
|
|
@@ -4361,6 +4379,7 @@ declare const SenateTradingResponseSchema: z.ZodObject<{
|
|
|
4361
4379
|
}>;
|
|
4362
4380
|
declare const HouseTradingResponseSchema: z.ZodObject<{
|
|
4363
4381
|
symbol: z.ZodString;
|
|
4382
|
+
senateID: z.ZodString;
|
|
4364
4383
|
disclosureDate: z.ZodString;
|
|
4365
4384
|
transactionDate: z.ZodString;
|
|
4366
4385
|
firstName: z.ZodString;
|
|
@@ -4382,6 +4401,7 @@ declare const HouseTradingResponseSchema: z.ZodObject<{
|
|
|
4382
4401
|
transactionDate: string;
|
|
4383
4402
|
owner: string;
|
|
4384
4403
|
office: string;
|
|
4404
|
+
senateID: string;
|
|
4385
4405
|
disclosureDate: string;
|
|
4386
4406
|
firstName: string;
|
|
4387
4407
|
lastName: string;
|
|
@@ -4398,6 +4418,7 @@ declare const HouseTradingResponseSchema: z.ZodObject<{
|
|
|
4398
4418
|
transactionDate: string;
|
|
4399
4419
|
owner: string;
|
|
4400
4420
|
office: string;
|
|
4421
|
+
senateID: string;
|
|
4401
4422
|
disclosureDate: string;
|
|
4402
4423
|
firstName: string;
|
|
4403
4424
|
lastName: string;
|
|
@@ -4410,6 +4431,7 @@ declare const HouseTradingResponseSchema: z.ZodObject<{
|
|
|
4410
4431
|
}>;
|
|
4411
4432
|
declare const SenateHouseTradingByNameResponseSchema: z.ZodObject<{
|
|
4412
4433
|
symbol: z.ZodString;
|
|
4434
|
+
senateID: z.ZodString;
|
|
4413
4435
|
disclosureDate: z.ZodString;
|
|
4414
4436
|
transactionDate: z.ZodString;
|
|
4415
4437
|
firstName: z.ZodString;
|
|
@@ -4431,6 +4453,7 @@ declare const SenateHouseTradingByNameResponseSchema: z.ZodObject<{
|
|
|
4431
4453
|
transactionDate: string;
|
|
4432
4454
|
owner: string;
|
|
4433
4455
|
office: string;
|
|
4456
|
+
senateID: string;
|
|
4434
4457
|
disclosureDate: string;
|
|
4435
4458
|
firstName: string;
|
|
4436
4459
|
lastName: string;
|
|
@@ -4447,6 +4470,7 @@ declare const SenateHouseTradingByNameResponseSchema: z.ZodObject<{
|
|
|
4447
4470
|
transactionDate: string;
|
|
4448
4471
|
owner: string;
|
|
4449
4472
|
office: string;
|
|
4473
|
+
senateID: string;
|
|
4450
4474
|
disclosureDate: string;
|
|
4451
4475
|
firstName: string;
|
|
4452
4476
|
lastName: string;
|
|
@@ -4705,18 +4729,18 @@ interface CompaniesPriceListResponse<T> {
|
|
|
4705
4729
|
declare const AftermarketTradeSchema: z.ZodObject<{
|
|
4706
4730
|
symbol: z.ZodString;
|
|
4707
4731
|
price: z.ZodNumber;
|
|
4708
|
-
tradeSize: z.ZodNumber
|
|
4732
|
+
tradeSize: z.ZodNullable<z.ZodNumber>;
|
|
4709
4733
|
timestamp: z.ZodNumber;
|
|
4710
4734
|
}, "strip", z.ZodTypeAny, {
|
|
4711
4735
|
symbol: string;
|
|
4712
4736
|
price: number;
|
|
4713
4737
|
timestamp: number;
|
|
4714
|
-
tradeSize: number;
|
|
4738
|
+
tradeSize: number | null;
|
|
4715
4739
|
}, {
|
|
4716
4740
|
symbol: string;
|
|
4717
4741
|
price: number;
|
|
4718
4742
|
timestamp: number;
|
|
4719
|
-
tradeSize: number;
|
|
4743
|
+
tradeSize: number | null;
|
|
4720
4744
|
}>;
|
|
4721
4745
|
type AftermarketTrade = z.infer<typeof AftermarketTradeSchema>;
|
|
4722
4746
|
declare const AftermarketQuoteSchema: z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -204,31 +204,7 @@ var TreasuryRateSchema = zod.z.object({
|
|
|
204
204
|
year20: zod.z.number(),
|
|
205
205
|
year30: zod.z.number()
|
|
206
206
|
});
|
|
207
|
-
var EconomicIndicatorNameSchema = zod.z.union([
|
|
208
|
-
zod.z.literal("GDP"),
|
|
209
|
-
zod.z.literal("realGDP"),
|
|
210
|
-
zod.z.literal("nominalPotentialGDP"),
|
|
211
|
-
zod.z.literal("realGDPPerCapita"),
|
|
212
|
-
zod.z.literal("federalFunds"),
|
|
213
|
-
zod.z.literal("CPI"),
|
|
214
|
-
zod.z.literal("inflationRate"),
|
|
215
|
-
zod.z.literal("inflation"),
|
|
216
|
-
zod.z.literal("retailSales"),
|
|
217
|
-
zod.z.literal("consumerSentiment"),
|
|
218
|
-
zod.z.literal("durableGoods"),
|
|
219
|
-
zod.z.literal("unemploymentRate"),
|
|
220
|
-
zod.z.literal("totalNonfarmPayroll"),
|
|
221
|
-
zod.z.literal("initialClaims"),
|
|
222
|
-
zod.z.literal("industrialProductionTotalIndex"),
|
|
223
|
-
zod.z.literal("newPrivatelyOwnedHousingUnitsStartedTotalUnits"),
|
|
224
|
-
zod.z.literal("totalVehicleSales"),
|
|
225
|
-
zod.z.literal("retailMoneyFunds"),
|
|
226
|
-
zod.z.literal("smoothedUSRecessionProbabilities"),
|
|
227
|
-
zod.z.literal("3MonthOr90DayRatesAndYieldsCertificatesOfDeposit"),
|
|
228
|
-
zod.z.literal("commercialBankInterestRateOnCreditCardPlansAllAccounts"),
|
|
229
|
-
zod.z.literal("30YearFixedRateMortgageAverage"),
|
|
230
|
-
zod.z.literal("15YearFixedRateMortgageAverage")
|
|
231
|
-
]);
|
|
207
|
+
var EconomicIndicatorNameSchema = zod.z.union([zod.z.literal("GDP"), zod.z.literal("realGDP"), zod.z.literal("nominalPotentialGDP"), zod.z.literal("realGDPPerCapita"), zod.z.literal("federalFunds"), zod.z.literal("CPI"), zod.z.literal("inflationRate"), zod.z.literal("inflation"), zod.z.literal("retailSales"), zod.z.literal("consumerSentiment"), zod.z.literal("durableGoods"), zod.z.literal("unemploymentRate"), zod.z.literal("totalNonfarmPayroll"), zod.z.literal("initialClaims"), zod.z.literal("industrialProductionTotalIndex"), zod.z.literal("newPrivatelyOwnedHousingUnitsStartedTotalUnits"), zod.z.literal("totalVehicleSales"), zod.z.literal("retailMoneyFunds"), zod.z.literal("smoothedUSRecessionProbabilities"), zod.z.literal("3MonthOr90DayRatesAndYieldsCertificatesOfDeposit"), zod.z.literal("commercialBankInterestRateOnCreditCardPlansAllAccounts"), zod.z.literal("30YearFixedRateMortgageAverage"), zod.z.literal("15YearFixedRateMortgageAverage")]);
|
|
232
208
|
var ETFHoldingDatesSchema = zod.z.object({
|
|
233
209
|
date: zod.z.string()
|
|
234
210
|
});
|
|
@@ -286,12 +262,10 @@ var ETFProfileSchema = zod.z.object({
|
|
|
286
262
|
holdingsCount: zod.z.number(),
|
|
287
263
|
updatedAt: zod.z.string(),
|
|
288
264
|
isActivelyTrading: zod.z.boolean(),
|
|
289
|
-
sectorsList: zod.z.array(
|
|
290
|
-
zod.z.
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
})
|
|
294
|
-
)
|
|
265
|
+
sectorsList: zod.z.array(zod.z.object({
|
|
266
|
+
exposure: zod.z.number(),
|
|
267
|
+
industry: zod.z.string()
|
|
268
|
+
}))
|
|
295
269
|
});
|
|
296
270
|
var ETFWeightingSchema = zod.z.object({
|
|
297
271
|
symbol: zod.z.string(),
|
|
@@ -538,6 +512,8 @@ var FinancialRatiosSchema = zod.z.object({
|
|
|
538
512
|
priceToEarningsRatio: zod.z.number(),
|
|
539
513
|
priceToEarningsGrowthRatio: zod.z.number(),
|
|
540
514
|
forwardPriceToEarningsGrowthRatio: zod.z.number(),
|
|
515
|
+
priceToEarningsDilutedRatio: zod.z.number(),
|
|
516
|
+
priceToEarningsDilutedGrowthRatio: zod.z.number(),
|
|
541
517
|
priceToBookRatio: zod.z.number(),
|
|
542
518
|
priceToSalesRatio: zod.z.number(),
|
|
543
519
|
priceToFreeCashFlowRatio: zod.z.number(),
|
|
@@ -868,6 +844,8 @@ var FinancialRatiosTTMSchema = zod.z.object({
|
|
|
868
844
|
priceToEarningsRatioTTM: zod.z.number(),
|
|
869
845
|
priceToEarningsGrowthRatioTTM: zod.z.number(),
|
|
870
846
|
forwardPriceToEarningsGrowthRatioTTM: zod.z.number(),
|
|
847
|
+
priceToEarningsDilutedRatioTTM: zod.z.number(),
|
|
848
|
+
priceToEarningsDilutedGrowthRatioTTM: zod.z.number(),
|
|
871
849
|
priceToBookRatioTTM: zod.z.number(),
|
|
872
850
|
priceToSalesRatioTTM: zod.z.number(),
|
|
873
851
|
priceToFreeCashFlowRatioTTM: zod.z.number(),
|
|
@@ -1187,11 +1165,13 @@ var MutualFundHoldingSchema = zod.z.object({
|
|
|
1187
1165
|
weightPercent: zod.z.number()
|
|
1188
1166
|
});
|
|
1189
1167
|
var NewsSchema = zod.z.object({
|
|
1190
|
-
|
|
1168
|
+
// null on market-wide stories with no single ticker (verified live 2026-09-26).
|
|
1169
|
+
symbol: zod.z.string().nullable(),
|
|
1191
1170
|
publishedDate: zod.z.string(),
|
|
1192
1171
|
publisher: zod.z.string(),
|
|
1193
1172
|
title: zod.z.string(),
|
|
1194
|
-
image
|
|
1173
|
+
// null when the article has no image (verified live 2026-09-26).
|
|
1174
|
+
image: zod.z.string().nullable(),
|
|
1195
1175
|
site: zod.z.string(),
|
|
1196
1176
|
text: zod.z.string(),
|
|
1197
1177
|
url: zod.z.string()
|
|
@@ -1328,6 +1308,7 @@ var ScreenerSchema = zod.z.object({
|
|
|
1328
1308
|
price: zod.z.number(),
|
|
1329
1309
|
lastAnnualDividend: zod.z.number().nullable(),
|
|
1330
1310
|
volume: zod.z.number(),
|
|
1311
|
+
avgVolume: zod.z.number(),
|
|
1331
1312
|
exchange: zod.z.string(),
|
|
1332
1313
|
exchangeShortName: zod.z.string(),
|
|
1333
1314
|
country: zod.z.string(),
|
|
@@ -1457,6 +1438,8 @@ var TechnicalIndicatorSchema = zod.z.object({
|
|
|
1457
1438
|
});
|
|
1458
1439
|
var SenateTradingResponseSchema = zod.z.object({
|
|
1459
1440
|
symbol: zod.z.string(),
|
|
1441
|
+
// Congressional Bioguide ID (e.g. "P000197"); FMP uses this key for House members too.
|
|
1442
|
+
senateID: zod.z.string(),
|
|
1460
1443
|
disclosureDate: zod.z.string(),
|
|
1461
1444
|
transactionDate: zod.z.string(),
|
|
1462
1445
|
firstName: zod.z.string(),
|
|
@@ -1475,6 +1458,7 @@ var SenateTradingResponseSchema = zod.z.object({
|
|
|
1475
1458
|
});
|
|
1476
1459
|
var HouseTradingResponseSchema = zod.z.object({
|
|
1477
1460
|
symbol: zod.z.string(),
|
|
1461
|
+
senateID: zod.z.string(),
|
|
1478
1462
|
disclosureDate: zod.z.string(),
|
|
1479
1463
|
transactionDate: zod.z.string(),
|
|
1480
1464
|
firstName: zod.z.string(),
|
|
@@ -1492,6 +1476,7 @@ var HouseTradingResponseSchema = zod.z.object({
|
|
|
1492
1476
|
});
|
|
1493
1477
|
var SenateHouseTradingByNameResponseSchema = zod.z.object({
|
|
1494
1478
|
symbol: zod.z.string(),
|
|
1479
|
+
senateID: zod.z.string(),
|
|
1495
1480
|
disclosureDate: zod.z.string(),
|
|
1496
1481
|
transactionDate: zod.z.string(),
|
|
1497
1482
|
firstName: zod.z.string(),
|
|
@@ -1569,7 +1554,9 @@ var StockPriceChangeSchema = zod.z.object({
|
|
|
1569
1554
|
var AftermarketTradeSchema = zod.z.object({
|
|
1570
1555
|
symbol: zod.z.string(),
|
|
1571
1556
|
price: zod.z.number(),
|
|
1572
|
-
|
|
1557
|
+
// null when FMP reports no extended-hours trade size (seen after the
|
|
1558
|
+
// post-market session closes; verified live 2026-09-26).
|
|
1559
|
+
tradeSize: zod.z.number().nullable(),
|
|
1573
1560
|
timestamp: zod.z.number()
|
|
1574
1561
|
});
|
|
1575
1562
|
var AftermarketQuoteSchema = zod.z.object({
|