fmp-node-types 0.2.3-beta.0 → 0.2.3
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -31
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -31
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -202,31 +202,7 @@ var TreasuryRateSchema = z.object({
|
|
|
202
202
|
year20: z.number(),
|
|
203
203
|
year30: z.number()
|
|
204
204
|
});
|
|
205
|
-
var EconomicIndicatorNameSchema = z.union([
|
|
206
|
-
z.literal("GDP"),
|
|
207
|
-
z.literal("realGDP"),
|
|
208
|
-
z.literal("nominalPotentialGDP"),
|
|
209
|
-
z.literal("realGDPPerCapita"),
|
|
210
|
-
z.literal("federalFunds"),
|
|
211
|
-
z.literal("CPI"),
|
|
212
|
-
z.literal("inflationRate"),
|
|
213
|
-
z.literal("inflation"),
|
|
214
|
-
z.literal("retailSales"),
|
|
215
|
-
z.literal("consumerSentiment"),
|
|
216
|
-
z.literal("durableGoods"),
|
|
217
|
-
z.literal("unemploymentRate"),
|
|
218
|
-
z.literal("totalNonfarmPayroll"),
|
|
219
|
-
z.literal("initialClaims"),
|
|
220
|
-
z.literal("industrialProductionTotalIndex"),
|
|
221
|
-
z.literal("newPrivatelyOwnedHousingUnitsStartedTotalUnits"),
|
|
222
|
-
z.literal("totalVehicleSales"),
|
|
223
|
-
z.literal("retailMoneyFunds"),
|
|
224
|
-
z.literal("smoothedUSRecessionProbabilities"),
|
|
225
|
-
z.literal("3MonthOr90DayRatesAndYieldsCertificatesOfDeposit"),
|
|
226
|
-
z.literal("commercialBankInterestRateOnCreditCardPlansAllAccounts"),
|
|
227
|
-
z.literal("30YearFixedRateMortgageAverage"),
|
|
228
|
-
z.literal("15YearFixedRateMortgageAverage")
|
|
229
|
-
]);
|
|
205
|
+
var EconomicIndicatorNameSchema = z.union([z.literal("GDP"), z.literal("realGDP"), z.literal("nominalPotentialGDP"), z.literal("realGDPPerCapita"), z.literal("federalFunds"), z.literal("CPI"), z.literal("inflationRate"), z.literal("inflation"), z.literal("retailSales"), z.literal("consumerSentiment"), z.literal("durableGoods"), z.literal("unemploymentRate"), z.literal("totalNonfarmPayroll"), z.literal("initialClaims"), z.literal("industrialProductionTotalIndex"), z.literal("newPrivatelyOwnedHousingUnitsStartedTotalUnits"), z.literal("totalVehicleSales"), z.literal("retailMoneyFunds"), z.literal("smoothedUSRecessionProbabilities"), z.literal("3MonthOr90DayRatesAndYieldsCertificatesOfDeposit"), z.literal("commercialBankInterestRateOnCreditCardPlansAllAccounts"), z.literal("30YearFixedRateMortgageAverage"), z.literal("15YearFixedRateMortgageAverage")]);
|
|
230
206
|
var ETFHoldingDatesSchema = z.object({
|
|
231
207
|
date: z.string()
|
|
232
208
|
});
|
|
@@ -284,12 +260,10 @@ var ETFProfileSchema = z.object({
|
|
|
284
260
|
holdingsCount: z.number(),
|
|
285
261
|
updatedAt: z.string(),
|
|
286
262
|
isActivelyTrading: z.boolean(),
|
|
287
|
-
sectorsList: z.array(
|
|
288
|
-
z.
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
})
|
|
292
|
-
)
|
|
263
|
+
sectorsList: z.array(z.object({
|
|
264
|
+
exposure: z.number(),
|
|
265
|
+
industry: z.string()
|
|
266
|
+
}))
|
|
293
267
|
});
|
|
294
268
|
var ETFWeightingSchema = z.object({
|
|
295
269
|
symbol: z.string(),
|