fmp-node-types 0.2.4-beta.1 → 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<{
@@ -3135,6 +3135,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3135
3135
  name: z.ZodString;
3136
3136
  openingHour: z.ZodString;
3137
3137
  closingHour: z.ZodString;
3138
+ openingAdditional: z.ZodOptional<z.ZodString>;
3139
+ closingAdditional: z.ZodOptional<z.ZodString>;
3138
3140
  timezone: z.ZodString;
3139
3141
  isMarketOpen: z.ZodBoolean;
3140
3142
  }, "strip", z.ZodTypeAny, {
@@ -3144,6 +3146,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3144
3146
  closingHour: string;
3145
3147
  timezone: string;
3146
3148
  isMarketOpen: boolean;
3149
+ openingAdditional?: string | undefined;
3150
+ closingAdditional?: string | undefined;
3147
3151
  }, {
3148
3152
  exchange: string;
3149
3153
  name: string;
@@ -3151,6 +3155,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3151
3155
  closingHour: string;
3152
3156
  timezone: string;
3153
3157
  isMarketOpen: boolean;
3158
+ openingAdditional?: string | undefined;
3159
+ closingAdditional?: string | undefined;
3154
3160
  }>;
3155
3161
  type ExchangeMarketHours = z.infer<typeof ExchangeMarketHoursSchema>;
3156
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<{
@@ -3135,6 +3135,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3135
3135
  name: z.ZodString;
3136
3136
  openingHour: z.ZodString;
3137
3137
  closingHour: z.ZodString;
3138
+ openingAdditional: z.ZodOptional<z.ZodString>;
3139
+ closingAdditional: z.ZodOptional<z.ZodString>;
3138
3140
  timezone: z.ZodString;
3139
3141
  isMarketOpen: z.ZodBoolean;
3140
3142
  }, "strip", z.ZodTypeAny, {
@@ -3144,6 +3146,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3144
3146
  closingHour: string;
3145
3147
  timezone: string;
3146
3148
  isMarketOpen: boolean;
3149
+ openingAdditional?: string | undefined;
3150
+ closingAdditional?: string | undefined;
3147
3151
  }, {
3148
3152
  exchange: string;
3149
3153
  name: string;
@@ -3151,6 +3155,8 @@ declare const ExchangeMarketHoursSchema: z.ZodObject<{
3151
3155
  closingHour: string;
3152
3156
  timezone: string;
3153
3157
  isMarketOpen: boolean;
3158
+ openingAdditional?: string | undefined;
3159
+ closingAdditional?: string | undefined;
3154
3160
  }>;
3155
3161
  type ExchangeMarketHours = z.infer<typeof ExchangeMarketHoursSchema>;
3156
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({
@@ -1132,6 +1134,10 @@ var ExchangeMarketHoursSchema = zod.z.object({
1132
1134
  name: zod.z.string(),
1133
1135
  openingHour: zod.z.string(),
1134
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(),
1135
1141
  timezone: zod.z.string(),
1136
1142
  isMarketOpen: zod.z.boolean()
1137
1143
  });