fmp-node-types 0.2.4-beta.0 → 0.2.4-beta.2

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 CHANGED
@@ -34,8 +34,8 @@ declare const EarningsCalendarSchema: z.ZodObject<{
34
34
  declare const EarningsConfirmedSchema: z.ZodObject<{
35
35
  symbol: z.ZodString;
36
36
  exchange: z.ZodString;
37
- time: z.ZodString;
38
- when: z.ZodString;
37
+ time: z.ZodNullable<z.ZodString>;
38
+ when: z.ZodNullable<z.ZodString>;
39
39
  date: z.ZodString;
40
40
  publicationDate: z.ZodString;
41
41
  title: z.ZodString;
@@ -43,18 +43,18 @@ declare const EarningsConfirmedSchema: z.ZodObject<{
43
43
  }, "strip", z.ZodTypeAny, {
44
44
  symbol: string;
45
45
  date: string;
46
- time: string;
46
+ time: string | null;
47
47
  exchange: string;
48
- when: string;
48
+ when: string | null;
49
49
  publicationDate: string;
50
50
  title: string;
51
51
  url: string;
52
52
  }, {
53
53
  symbol: string;
54
54
  date: string;
55
- time: string;
55
+ time: string | null;
56
56
  exchange: string;
57
- when: string;
57
+ when: string | null;
58
58
  publicationDate: string;
59
59
  title: string;
60
60
  url: string;
@@ -97,7 +97,7 @@ declare const EconomicsCalendarSchema: z.ZodObject<{
97
97
  actual: z.ZodNullable<z.ZodNumber>;
98
98
  change: z.ZodNullable<z.ZodNumber>;
99
99
  impact: z.ZodString;
100
- changePercentage: z.ZodNumber;
100
+ changePercentage: z.ZodNullable<z.ZodNumber>;
101
101
  unit: z.ZodNullable<z.ZodString>;
102
102
  }, "strip", z.ZodTypeAny, {
103
103
  date: string;
@@ -109,7 +109,7 @@ declare const EconomicsCalendarSchema: z.ZodObject<{
109
109
  actual: number | null;
110
110
  change: number | null;
111
111
  impact: string;
112
- changePercentage: number;
112
+ changePercentage: number | null;
113
113
  unit: string | null;
114
114
  }, {
115
115
  date: string;
@@ -121,7 +121,7 @@ declare const EconomicsCalendarSchema: z.ZodObject<{
121
121
  actual: number | null;
122
122
  change: number | null;
123
123
  impact: string;
124
- changePercentage: number;
124
+ changePercentage: number | null;
125
125
  unit: string | null;
126
126
  }>;
127
127
  declare const IPOCalendarSchema: z.ZodObject<{
@@ -133,6 +133,7 @@ declare const IPOCalendarSchema: z.ZodObject<{
133
133
  shares: z.ZodNullable<z.ZodNumber>;
134
134
  priceRange: z.ZodNullable<z.ZodString>;
135
135
  marketCap: z.ZodNullable<z.ZodNumber>;
136
+ dealSize: z.ZodNullable<z.ZodNumber>;
136
137
  }, "strip", z.ZodTypeAny, {
137
138
  symbol: string;
138
139
  date: string;
@@ -142,6 +143,7 @@ declare const IPOCalendarSchema: z.ZodObject<{
142
143
  shares: number | null;
143
144
  priceRange: string | null;
144
145
  marketCap: number | null;
146
+ dealSize: number | null;
145
147
  }, {
146
148
  symbol: string;
147
149
  date: string;
@@ -151,6 +153,7 @@ declare const IPOCalendarSchema: z.ZodObject<{
151
153
  shares: number | null;
152
154
  priceRange: string | null;
153
155
  marketCap: number | null;
156
+ dealSize: number | null;
154
157
  }>;
155
158
  declare const SplitsCalendarSchema: z.ZodObject<{
156
159
  date: z.ZodString;
@@ -3132,6 +3135,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3132
3135
  name: z.ZodString;
3133
3136
  openingHour: z.ZodString;
3134
3137
  closingHour: z.ZodString;
3138
+ openingAdditional: z.ZodOptional<z.ZodString>;
3139
+ closingAdditional: z.ZodOptional<z.ZodString>;
3135
3140
  timezone: z.ZodString;
3136
3141
  isMarketOpen: z.ZodBoolean;
3137
3142
  }, "strip", z.ZodTypeAny, {
@@ -3141,6 +3146,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3141
3146
  closingHour: string;
3142
3147
  timezone: string;
3143
3148
  isMarketOpen: boolean;
3149
+ openingAdditional?: string | undefined;
3150
+ closingAdditional?: string | undefined;
3144
3151
  }, {
3145
3152
  exchange: string;
3146
3153
  name: string;
@@ -3148,6 +3155,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3148
3155
  closingHour: string;
3149
3156
  timezone: string;
3150
3157
  isMarketOpen: boolean;
3158
+ openingAdditional?: string | undefined;
3159
+ closingAdditional?: string | undefined;
3151
3160
  }>;
3152
3161
  type ExchangeMarketHours = z.infer<typeof ExchangeMarketHoursSchema>;
3153
3162
  declare const MarketPerformanceSchema: z.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -34,8 +34,8 @@ declare const EarningsCalendarSchema: z.ZodObject<{
34
34
  declare const EarningsConfirmedSchema: z.ZodObject<{
35
35
  symbol: z.ZodString;
36
36
  exchange: z.ZodString;
37
- time: z.ZodString;
38
- when: z.ZodString;
37
+ time: z.ZodNullable<z.ZodString>;
38
+ when: z.ZodNullable<z.ZodString>;
39
39
  date: z.ZodString;
40
40
  publicationDate: z.ZodString;
41
41
  title: z.ZodString;
@@ -43,18 +43,18 @@ declare const EarningsConfirmedSchema: z.ZodObject<{
43
43
  }, "strip", z.ZodTypeAny, {
44
44
  symbol: string;
45
45
  date: string;
46
- time: string;
46
+ time: string | null;
47
47
  exchange: string;
48
- when: string;
48
+ when: string | null;
49
49
  publicationDate: string;
50
50
  title: string;
51
51
  url: string;
52
52
  }, {
53
53
  symbol: string;
54
54
  date: string;
55
- time: string;
55
+ time: string | null;
56
56
  exchange: string;
57
- when: string;
57
+ when: string | null;
58
58
  publicationDate: string;
59
59
  title: string;
60
60
  url: string;
@@ -97,7 +97,7 @@ declare const EconomicsCalendarSchema: z.ZodObject<{
97
97
  actual: z.ZodNullable<z.ZodNumber>;
98
98
  change: z.ZodNullable<z.ZodNumber>;
99
99
  impact: z.ZodString;
100
- changePercentage: z.ZodNumber;
100
+ changePercentage: z.ZodNullable<z.ZodNumber>;
101
101
  unit: z.ZodNullable<z.ZodString>;
102
102
  }, "strip", z.ZodTypeAny, {
103
103
  date: string;
@@ -109,7 +109,7 @@ declare const EconomicsCalendarSchema: z.ZodObject<{
109
109
  actual: number | null;
110
110
  change: number | null;
111
111
  impact: string;
112
- changePercentage: number;
112
+ changePercentage: number | null;
113
113
  unit: string | null;
114
114
  }, {
115
115
  date: string;
@@ -121,7 +121,7 @@ declare const EconomicsCalendarSchema: z.ZodObject<{
121
121
  actual: number | null;
122
122
  change: number | null;
123
123
  impact: string;
124
- changePercentage: number;
124
+ changePercentage: number | null;
125
125
  unit: string | null;
126
126
  }>;
127
127
  declare const IPOCalendarSchema: z.ZodObject<{
@@ -133,6 +133,7 @@ declare const IPOCalendarSchema: z.ZodObject<{
133
133
  shares: z.ZodNullable<z.ZodNumber>;
134
134
  priceRange: z.ZodNullable<z.ZodString>;
135
135
  marketCap: z.ZodNullable<z.ZodNumber>;
136
+ dealSize: z.ZodNullable<z.ZodNumber>;
136
137
  }, "strip", z.ZodTypeAny, {
137
138
  symbol: string;
138
139
  date: string;
@@ -142,6 +143,7 @@ declare const IPOCalendarSchema: z.ZodObject<{
142
143
  shares: number | null;
143
144
  priceRange: string | null;
144
145
  marketCap: number | null;
146
+ dealSize: number | null;
145
147
  }, {
146
148
  symbol: string;
147
149
  date: string;
@@ -151,6 +153,7 @@ declare const IPOCalendarSchema: z.ZodObject<{
151
153
  shares: number | null;
152
154
  priceRange: string | null;
153
155
  marketCap: number | null;
156
+ dealSize: number | null;
154
157
  }>;
155
158
  declare const SplitsCalendarSchema: z.ZodObject<{
156
159
  date: z.ZodString;
@@ -3132,6 +3135,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3132
3135
  name: z.ZodString;
3133
3136
  openingHour: z.ZodString;
3134
3137
  closingHour: z.ZodString;
3138
+ openingAdditional: z.ZodOptional<z.ZodString>;
3139
+ closingAdditional: z.ZodOptional<z.ZodString>;
3135
3140
  timezone: z.ZodString;
3136
3141
  isMarketOpen: z.ZodBoolean;
3137
3142
  }, "strip", z.ZodTypeAny, {
@@ -3141,6 +3146,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3141
3146
  closingHour: string;
3142
3147
  timezone: string;
3143
3148
  isMarketOpen: boolean;
3149
+ openingAdditional?: string | undefined;
3150
+ closingAdditional?: string | undefined;
3144
3151
  }, {
3145
3152
  exchange: string;
3146
3153
  name: string;
@@ -3148,6 +3155,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3148
3155
  closingHour: string;
3149
3156
  timezone: string;
3150
3157
  isMarketOpen: boolean;
3158
+ openingAdditional?: string | undefined;
3159
+ closingAdditional?: string | undefined;
3151
3160
  }>;
3152
3161
  type ExchangeMarketHours = z.infer<typeof ExchangeMarketHoursSchema>;
3153
3162
  declare const MarketPerformanceSchema: z.ZodObject<{
package/dist/index.js CHANGED
@@ -17,8 +17,9 @@ var EarningsCalendarSchema = zod.z.object({
17
17
  var EarningsConfirmedSchema = zod.z.object({
18
18
  symbol: zod.z.string(),
19
19
  exchange: zod.z.string(),
20
- time: zod.z.string(),
21
- when: zod.z.string(),
20
+ // Usually null until the company confirms a time (95% of recent rows; `when` 19%).
21
+ time: zod.z.string().nullable(),
22
+ when: zod.z.string().nullable(),
22
23
  date: zod.z.string(),
23
24
  publicationDate: zod.z.string(),
24
25
  title: zod.z.string(),
@@ -44,7 +45,8 @@ var EconomicsCalendarSchema = zod.z.object({
44
45
  actual: zod.z.number().nullable(),
45
46
  change: zod.z.number().nullable(),
46
47
  impact: zod.z.string(),
47
- changePercentage: zod.z.number(),
48
+ // null on some events (175 of 4,337 recent rows; verified live 2026-11-08).
49
+ changePercentage: zod.z.number().nullable(),
48
50
  unit: zod.z.string().nullable()
49
51
  });
50
52
  var IPOCalendarSchema = zod.z.object({
@@ -55,7 +57,9 @@ var IPOCalendarSchema = zod.z.object({
55
57
  actions: zod.z.string(),
56
58
  shares: zod.z.number().nullable(),
57
59
  priceRange: zod.z.string().nullable(),
58
- marketCap: zod.z.number().nullable()
60
+ marketCap: zod.z.number().nullable(),
61
+ // Offering size in USD; null until priced (verified live 2026-11-07).
62
+ dealSize: zod.z.number().nullable()
59
63
  });
60
64
  var SplitsCalendarSchema = zod.z.object({
61
65
  date: zod.z.string(),
@@ -1130,6 +1134,10 @@ var ExchangeMarketHoursSchema = zod.z.object({
1130
1134
  name: zod.z.string(),
1131
1135
  openingHour: zod.z.string(),
1132
1136
  closingHour: zod.z.string(),
1137
+ // Afternoon session after a midday break (e.g. HKSE "01:00 PM +08:00"); absent
1138
+ // for exchanges without one — 7 of 81 had it (verified live 2026-11-08).
1139
+ openingAdditional: zod.z.string().optional(),
1140
+ closingAdditional: zod.z.string().optional(),
1133
1141
  timezone: zod.z.string(),
1134
1142
  isMarketOpen: zod.z.boolean()
1135
1143
  });