@roxyapi/sdk 1.2.15 → 1.2.17

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/factory.cjs CHANGED
@@ -2821,7 +2821,7 @@ var Roxy = class _Roxy extends HeyApiClient {
2821
2821
  };
2822
2822
 
2823
2823
  // src/version.ts
2824
- var VERSION = "1.2.15";
2824
+ var VERSION = "1.2.17";
2825
2825
 
2826
2826
  // src/factory.ts
2827
2827
  function createRoxy(auth) {
package/dist/factory.js CHANGED
@@ -1986,7 +1986,7 @@ var Roxy = class _Roxy extends HeyApiClient {
1986
1986
  };
1987
1987
 
1988
1988
  // src/version.ts
1989
- var VERSION = "1.2.15";
1989
+ var VERSION = "1.2.17";
1990
1990
 
1991
1991
  // src/factory.ts
1992
1992
  function createRoxy(auth) {
@@ -234,27 +234,27 @@ export type NatalChartResponse = {
234
234
  };
235
235
  export type NatalChartRequest = {
236
236
  /**
237
- * Birth date in YYYY-MM-DD format. This is the exact calendar date when the person was born, used to calculate planetary positions for that specific day. Format must be YYYY-MM-DD (e.g., 1990-07-15 for July 15, 1990).
237
+ * Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day.
238
238
  */
239
239
  date: string;
240
240
  /**
241
- * Birth time in 24-hour HH:MM:SS format. This precise time determines the Ascendant (rising sign) and house cusps. Even small time differences (minutes) can change house placements. Use 12:00:00 if birth time is unknown (solar chart). Format: HH:MM:SS (e.g., 14:30:00 for 2:30 PM).
241
+ * Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown.
242
242
  */
243
243
  time: string;
244
244
  /**
245
- * Birth location latitude in decimal degrees (-90 to 90). Positive values are North, negative are South. This affects house cusps and local horizon calculations. Example: 40.7128 for New York City. Use geocoding APIs or location services to convert addresses to coordinates.
245
+ * Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South.
246
246
  */
247
247
  latitude: number;
248
248
  /**
249
- * Birth location longitude in decimal degrees (-180 to 180). Positive values are East, negative are West. This affects house cusps and local time. Example: -74.006 for New York City. Use geocoding APIs to convert addresses to coordinates.
249
+ * Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West.
250
250
  */
251
251
  longitude: number;
252
252
  /**
253
- * Timezone offset from UTC in decimal hours (NOT minutes format). Negative for Western Hemisphere (west of UTC), positive for Eastern Hemisphere (east of UTC). Examples: New York EST = -5, Los Angeles PST = -8, London GMT = 0, Paris CET = 1, India IST = 5.5 (NOT 5:30), Tokyo JST = 9. IMPORTANT: Use decimal format for half-hour zones (India = 5.5, not 5:30). This converts LOCAL birth time to UTC for astronomical calculations (e.g., 14:30 with timezone 5.5 09:00 UTC). Calculations are timezone-independent - server timezone does NOT affect results.
253
+ * Timezone: decimal hours from UTC (e.g. -5 for EST, 5.5 for IST) OR IANA name (e.g. "America/New_York", "Asia/Kolkata"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly.
254
254
  */
255
- timezone: number;
255
+ timezone: number | string;
256
256
  /**
257
- * House system for dividing the chart into 12 houses. Placidus (default) is most popular in Western astrology and time-sensitive. Whole Sign assigns one sign per house (simpler, ancient). Equal houses divide chart into 30° segments from Ascendant. Koch emphasizes houses in high latitudes. Choose based on astrological tradition or user preference.
257
+ * House system for dividing the chart into 12 houses. Placidus (default) is most popular in Western astrology and time-sensitive. Whole Sign assigns one sign per house (simpler, ancient). Equal houses divide chart into 30° segments from Ascendant. Koch emphasizes houses in high latitudes.
258
258
  */
259
259
  houseSystem?: 'placidus' | 'whole-sign' | 'equal' | 'koch';
260
260
  };
@@ -476,7 +476,7 @@ export type AspectsRequest = {
476
476
  /**
477
477
  * Timezone offset from UTC in decimal hours (NOT minutes format). Examples: New York EST = -5, India IST = 5.5 (NOT 5:30), Tokyo JST = 9. IMPORTANT: Use decimal format (5.5, not 5:30).
478
478
  */
479
- timezone: number;
479
+ timezone: number | string;
480
480
  /**
481
481
  * Optional: specific planets to calculate aspects for (defaults to all 10)
482
482
  */
@@ -626,9 +626,9 @@ export type TransitsRequest = {
626
626
  */
627
627
  time?: string;
628
628
  /**
629
- * Timezone offset from UTC in hours (defaults to 0 = UTC)
629
+ * Transit timezone: decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the transit date. Defaults to 0 (UTC).
630
630
  */
631
- timezone?: number;
631
+ timezone?: number | string;
632
632
  /**
633
633
  * Optional natal chart data to compare transits against
634
634
  */
@@ -637,7 +637,10 @@ export type TransitsRequest = {
637
637
  time: string;
638
638
  latitude: number;
639
639
  longitude: number;
640
- timezone: number;
640
+ /**
641
+ * Natal timezone: decimal hours OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the natal date.
642
+ */
643
+ timezone: number | string;
641
644
  };
642
645
  };
643
646
  export type BirthChartResponse = {
@@ -737,9 +740,9 @@ export type BirthChartRequest = {
737
740
  */
738
741
  longitude: number;
739
742
  /**
740
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
743
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
741
744
  */
742
- timezone?: number;
745
+ timezone?: number | string;
743
746
  };
744
747
  export type NavamsaResponse = {
745
748
  /**
@@ -815,9 +818,9 @@ export type NavamsaRequest = {
815
818
  */
816
819
  longitude: number;
817
820
  /**
818
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
821
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
819
822
  */
820
- timezone?: number;
823
+ timezone?: number | string;
821
824
  };
822
825
  export type DivisionalChartResponse = {
823
826
  /**
@@ -914,9 +917,9 @@ export type DivisionalChartRequest = {
914
917
  */
915
918
  longitude: number;
916
919
  /**
917
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
920
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
918
921
  */
919
- timezone?: number;
922
+ timezone?: number | string;
920
923
  /**
921
924
  * Divisional chart number. Each division reveals a specific life area. Supported: 2 (Hora, wealth), 3 (Drekkana, siblings), 4 (Chaturthamsa, property), 7 (Saptamsa, children), 9 (Navamsa, marriage), 10 (Dasamsa, career), 12 (Dwadasamsa, parents), 16 (Shodasamsa, vehicles), 20 (Vimsamsa, spirituality), 24 (Chaturvimsamsa, education), 27 (Bhamsa, strength), 30 (Trimsamsa, misfortunes), 40 (Khavedamsa, merit), 45 (Akshavedamsa, character), 60 (Shashtiamsa, past life karma).
922
925
  */
@@ -1012,9 +1015,9 @@ export type CompatibilityRequest = {
1012
1015
  */
1013
1016
  longitude: number;
1014
1017
  /**
1015
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
1018
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
1016
1019
  */
1017
- timezone?: number;
1020
+ timezone?: number | string;
1018
1021
  };
1019
1022
  /**
1020
1023
  * Birth data of the second person (typically the girl/bride in traditional Ashtakoot matching). Moon nakshatra compared against person 1 across all 8 kootas.
@@ -1037,9 +1040,9 @@ export type CompatibilityRequest = {
1037
1040
  */
1038
1041
  longitude: number;
1039
1042
  /**
1040
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
1043
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
1041
1044
  */
1042
- timezone?: number;
1045
+ timezone?: number | string;
1043
1046
  };
1044
1047
  };
1045
1048
  export type PlanetaryPositionsResponse = {
@@ -1142,9 +1145,9 @@ export type PlanetaryPositionsRequest = {
1142
1145
  */
1143
1146
  longitude: number;
1144
1147
  /**
1145
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
1148
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
1146
1149
  */
1147
- timezone?: number;
1150
+ timezone?: number | string;
1148
1151
  };
1149
1152
  export type ManglikResponse = {
1150
1153
  /**
@@ -1207,9 +1210,9 @@ export type ManglikRequest = {
1207
1210
  */
1208
1211
  longitude: number;
1209
1212
  /**
1210
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
1213
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
1211
1214
  */
1212
- timezone?: number;
1215
+ timezone?: number | string;
1213
1216
  };
1214
1217
  export type KalsarpaResponse = {
1215
1218
  /**
@@ -1280,9 +1283,9 @@ export type KalsarpaRequest = {
1280
1283
  */
1281
1284
  longitude: number;
1282
1285
  /**
1283
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
1286
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
1284
1287
  */
1285
- timezone?: number;
1288
+ timezone?: number | string;
1286
1289
  };
1287
1290
  export type SadhesatiResponse = {
1288
1291
  /**
@@ -1339,9 +1342,9 @@ export type SadhesatiRequest = {
1339
1342
  */
1340
1343
  longitude: number;
1341
1344
  /**
1342
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
1345
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
1343
1346
  */
1344
- timezone?: number;
1347
+ timezone?: number | string;
1345
1348
  };
1346
1349
  export type KpAyanamsaResponse = {
1347
1350
  /**
@@ -1445,7 +1448,7 @@ export type KpPlanetsRequest = {
1445
1448
  /**
1446
1449
  * Timezone offset from UTC in hours. Defaults to 5.5 (IST) for Vedic astrology.
1447
1450
  */
1448
- timezone?: number;
1451
+ timezone?: number | string;
1449
1452
  /**
1450
1453
  * Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula (most common for KP). "kp-old" uses the Krishnamurti original table. "lahiri" uses Lahiri/Chitrapaksha ayanamsa matching most traditional Vedic software. "custom" allows providing your own value via ayanamsaValue. Defaults to "kp-newcomb".
1451
1454
  */
@@ -1535,7 +1538,7 @@ export type KpCuspsRequest = {
1535
1538
  /**
1536
1539
  * Timezone offset from UTC in hours. Defaults to 5.5 (IST) for Vedic astrology.
1537
1540
  */
1538
- timezone?: number;
1541
+ timezone?: number | string;
1539
1542
  /**
1540
1543
  * Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula (most common for KP). "kp-old" uses the Krishnamurti original table. "lahiri" uses Lahiri/Chitrapaksha ayanamsa matching most traditional Vedic software. "custom" allows providing your own value via ayanamsaValue. Defaults to "kp-newcomb".
1541
1544
  */
@@ -1867,7 +1870,7 @@ export type KpChartRequest = {
1867
1870
  /**
1868
1871
  * Timezone offset from UTC in hours. Defaults to 5.5 (IST) for Vedic astrology.
1869
1872
  */
1870
- timezone?: number;
1873
+ timezone?: number | string;
1871
1874
  /**
1872
1875
  * Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula (most common for KP). "kp-old" uses the Krishnamurti original table. "lahiri" uses Lahiri/Chitrapaksha ayanamsa matching most traditional Vedic software. "custom" allows providing your own value via ayanamsaValue. Defaults to "kp-newcomb".
1873
1876
  */
@@ -2210,9 +2213,9 @@ export type KpSublordChangesRequest = {
2210
2213
  */
2211
2214
  endDate: string;
2212
2215
  /**
2213
- * Timezone offset from UTC in hours. Output times are converted to this timezone. Defaults to 0 (UTC).
2216
+ * Decimal hours from UTC OR IANA name (e.g. "Asia/Kolkata"). IANA resolved to the DST-correct offset for startDate. Output times are converted to this timezone. Defaults to 0 (UTC).
2214
2217
  */
2215
- timezone?: number;
2218
+ timezone?: number | string;
2216
2219
  /**
2217
2220
  * Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. Defaults to "kp-newcomb".
2218
2221
  */
@@ -2287,9 +2290,9 @@ export type KpRasiChangesRequest = {
2287
2290
  */
2288
2291
  endDate: string;
2289
2292
  /**
2290
- * Timezone offset from UTC in hours. Output times are converted to this timezone. Defaults to 0 (UTC).
2293
+ * Decimal hours from UTC OR IANA name (e.g. "Asia/Kolkata"). IANA resolved to the DST-correct offset for startDate. Output times are converted to this timezone. Defaults to 0 (UTC).
2291
2294
  */
2292
- timezone?: number;
2295
+ timezone?: number | string;
2293
2296
  /**
2294
2297
  * Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. Defaults to "kp-newcomb".
2295
2298
  */
@@ -2411,9 +2414,9 @@ export type KpPlanetsIntervalRequest = {
2411
2414
  */
2412
2415
  longitude: number;
2413
2416
  /**
2414
- * Timezone offset from UTC in decimal hours. When non-zero, all datetimes are treated as local time in this timezone (Z suffix is ignored). Output times are also converted to this timezone. Defaults to 0 (UTC).
2417
+ * Decimal hours from UTC OR IANA name (e.g. "Asia/Kolkata"). IANA resolved to the DST-correct offset for the startDatetime date. When non-zero, all datetimes are treated as local time in this timezone (Z suffix is ignored). Defaults to 0 (UTC).
2415
2418
  */
2416
- timezone?: number;
2419
+ timezone?: number | string;
2417
2420
  /**
2418
2421
  * Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. Defaults to "kp-newcomb".
2419
2422
  */
@@ -2674,9 +2677,9 @@ export type UpagrahaRequest = {
2674
2677
  */
2675
2678
  longitude: number;
2676
2679
  /**
2677
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
2680
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
2678
2681
  */
2679
- timezone?: number;
2682
+ timezone?: number | string;
2680
2683
  };
2681
2684
  /**
2682
2685
  * Complete Ashtakavarga analysis for a birth chart
@@ -2786,9 +2789,9 @@ export type AshtakavargaRequest = {
2786
2789
  */
2787
2790
  longitude: number;
2788
2791
  /**
2789
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
2792
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
2790
2793
  */
2791
- timezone?: number;
2794
+ timezone?: number | string;
2792
2795
  };
2793
2796
  /**
2794
2797
  * Complete Shadbala (six-fold planetary strength) analysis for a birth chart per Brihat Parashara Hora Shastra (BPHS).
@@ -2874,9 +2877,9 @@ export type ShadbalaRequest = {
2874
2877
  */
2875
2878
  longitude: number;
2876
2879
  /**
2877
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
2880
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
2878
2881
  */
2879
- timezone?: number;
2882
+ timezone?: number | string;
2880
2883
  };
2881
2884
  export type BasicCard = {
2882
2885
  /**
@@ -4160,9 +4163,9 @@ export type PostAstrologyPlanetsData = {
4160
4163
  */
4161
4164
  longitude: number;
4162
4165
  /**
4163
- * Timezone offset from UTC in decimal hours (NOT minutes format). Negative for west of UTC, positive for east of UTC. Examples: New York EST = -5, India IST = 5.5 (NOT 5:30), Tokyo JST = 9, Nepal NPT = 5.75. IMPORTANT: Use decimal format (5.5, not 5:30).
4166
+ * Decimal hours from UTC (e.g. -5 for EST, 5.5 for IST, 9 for JST, 5.75 for NPT) OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the chart date.
4164
4167
  */
4165
- timezone: number;
4168
+ timezone: number | string;
4166
4169
  };
4167
4170
  path?: never;
4168
4171
  query?: {
@@ -4370,9 +4373,9 @@ export type GetAstrologyMoonPhaseCurrentData = {
4370
4373
  */
4371
4374
  time?: string;
4372
4375
  /**
4373
- * Timezone offset from UTC in decimal hours. Defaults to 0 (UTC). Examples: New York = -5, India = 5.5, Tokyo = 9.
4376
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata"). IANA resolved to the DST-correct offset for the given date. Defaults to 0 (UTC).
4374
4377
  */
4375
- timezone?: number;
4378
+ timezone?: number | string | unknown;
4376
4379
  };
4377
4380
  url: '/astrology/moon-phase/current';
4378
4381
  };
@@ -4860,9 +4863,9 @@ export type PostAstrologySynastryData = {
4860
4863
  */
4861
4864
  longitude: number;
4862
4865
  /**
4863
- * Timezone offset from UTC in decimal hours. Examples: New York = -5, London = 0, India = 5.5, Tokyo = 9.
4866
+ * Timezone: decimal hours from UTC (e.g. -5 for EST, 5.5 for IST) OR IANA name (e.g. "America/New_York", "Asia/Kolkata"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly.
4864
4867
  */
4865
- timezone: number;
4868
+ timezone: number | string;
4866
4869
  /**
4867
4870
  * Optional display name for this person. Included in the response for easy identification.
4868
4871
  */
@@ -4886,9 +4889,9 @@ export type PostAstrologySynastryData = {
4886
4889
  */
4887
4890
  longitude: number;
4888
4891
  /**
4889
- * Timezone offset from UTC in decimal hours. Examples: New York = -5, London = 0, India = 5.5, Tokyo = 9.
4892
+ * Timezone: decimal hours from UTC (e.g. -5 for EST, 5.5 for IST) OR IANA name (e.g. "America/New_York", "Asia/Kolkata"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly.
4890
4893
  */
4891
- timezone: number;
4894
+ timezone: number | string;
4892
4895
  /**
4893
4896
  * Optional display name for this person. Included in the response for easy identification.
4894
4897
  */
@@ -5212,9 +5215,9 @@ export type PostAstrologyHousesData = {
5212
5215
  */
5213
5216
  longitude: number;
5214
5217
  /**
5215
- * Timezone offset from UTC in decimal hours (NOT minutes format). Negative for west of UTC, positive for east. Examples: New York EST = -5, India IST = 5.5 (NOT 5:30), Tokyo JST = 9. IMPORTANT: Use decimal format (5.5, not 5:30).
5218
+ * Decimal hours from UTC (e.g. -5 for EST, 5.5 for IST, 9 for JST) OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the chart date.
5216
5219
  */
5217
- timezone: number;
5220
+ timezone: number | string;
5218
5221
  /**
5219
5222
  * House system for dividing ecliptic into 12 houses. Placidus (most popular) uses time, Whole Sign (ancient) uses signs, Equal divides from Ascendant. Use "all" to compare all 4 systems side-by-side for educational purposes.
5220
5223
  */
@@ -5601,9 +5604,9 @@ export type PostAstrologyTransitAspectsData = {
5601
5604
  */
5602
5605
  longitude: number;
5603
5606
  /**
5604
- * Timezone offset from UTC in decimal hours. Examples: New York = -5, London = 0, India = 5.5, Tokyo = 9.
5607
+ * Timezone: decimal hours from UTC (e.g. -5 for EST, 5.5 for IST) OR IANA name (e.g. "America/New_York", "Asia/Kolkata"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly.
5605
5608
  */
5606
- timezone: number;
5609
+ timezone: number | string;
5607
5610
  };
5608
5611
  /**
5609
5612
  * Transit date in YYYY-MM-DD format. Defaults to current date if omitted. Use future dates for predictive transit analysis.
@@ -5969,9 +5972,9 @@ export type PostAstrologySolarReturnData = {
5969
5972
  */
5970
5973
  longitude: number;
5971
5974
  /**
5972
- * Timezone offset from UTC in decimal hours. Output datetime is adjusted to this timezone.
5975
+ * Decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the birthDate. Output datetime is adjusted to this timezone.
5973
5976
  */
5974
- timezone: number;
5977
+ timezone: number | string;
5975
5978
  /**
5976
5979
  * House system for the solar return chart. Placidus (default) is most common in Western astrology. Whole Sign, Equal, and Koch also supported.
5977
5980
  */
@@ -6311,9 +6314,9 @@ export type PostAstrologyLunarReturnData = {
6311
6314
  */
6312
6315
  longitude: number;
6313
6316
  /**
6314
- * Timezone offset from UTC in decimal hours. Output datetime is adjusted to this timezone.
6317
+ * Decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the birthDate. Output datetime is adjusted to this timezone.
6315
6318
  */
6316
- timezone: number;
6319
+ timezone: number | string;
6317
6320
  /**
6318
6321
  * House system for the lunar return chart. Placidus (default), Whole Sign, Equal, or Koch.
6319
6322
  */
@@ -6649,9 +6652,9 @@ export type PostAstrologyCompositeChartData = {
6649
6652
  */
6650
6653
  longitude: number;
6651
6654
  /**
6652
- * Timezone offset from UTC in decimal hours. Examples: New York = -5, London = 0, India = 5.5, Tokyo = 9.
6655
+ * Timezone: decimal hours from UTC (e.g. -5 for EST, 5.5 for IST) OR IANA name (e.g. "America/New_York", "Asia/Kolkata"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly.
6653
6656
  */
6654
- timezone: number;
6657
+ timezone: number | string;
6655
6658
  };
6656
6659
  /**
6657
6660
  * Second person birth details (date, time, location, timezone).
@@ -6674,9 +6677,9 @@ export type PostAstrologyCompositeChartData = {
6674
6677
  */
6675
6678
  longitude: number;
6676
6679
  /**
6677
- * Timezone offset from UTC in decimal hours. Examples: New York = -5, London = 0, India = 5.5, Tokyo = 9.
6680
+ * Timezone: decimal hours from UTC (e.g. -5 for EST, 5.5 for IST) OR IANA name (e.g. "America/New_York", "Asia/Kolkata"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly.
6678
6681
  */
6679
- timezone: number;
6682
+ timezone: number | string;
6680
6683
  };
6681
6684
  /**
6682
6685
  * House system for the composite chart. Placidus (default), Whole Sign, Equal, or Koch.
@@ -7038,9 +7041,9 @@ export type PostAstrologyCompatibilityScoreData = {
7038
7041
  */
7039
7042
  longitude: number;
7040
7043
  /**
7041
- * Timezone offset from UTC in decimal hours. Examples: New York = -5, London = 0, India = 5.5, Tokyo = 9.
7044
+ * Timezone: decimal hours from UTC (e.g. -5 for EST, 5.5 for IST) OR IANA name (e.g. "America/New_York", "Asia/Kolkata"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly.
7042
7045
  */
7043
- timezone: number;
7046
+ timezone: number | string;
7044
7047
  };
7045
7048
  /**
7046
7049
  * Second person birth details. Compared against person1 to evaluate inter-chart aspects and compatibility.
@@ -7063,9 +7066,9 @@ export type PostAstrologyCompatibilityScoreData = {
7063
7066
  */
7064
7067
  longitude: number;
7065
7068
  /**
7066
- * Timezone offset from UTC in decimal hours. Examples: New York = -5, London = 0, India = 5.5, Tokyo = 9.
7069
+ * Timezone: decimal hours from UTC (e.g. -5 for EST, 5.5 for IST) OR IANA name (e.g. "America/New_York", "Asia/Kolkata"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly.
7067
7070
  */
7068
- timezone: number;
7071
+ timezone: number | string;
7069
7072
  };
7070
7073
  };
7071
7074
  path?: never;
@@ -8125,9 +8128,9 @@ export type PostAstrologyPlanetaryReturnsData = {
8125
8128
  */
8126
8129
  longitude: number;
8127
8130
  /**
8128
- * Timezone offset from UTC in decimal hours. Output datetime is adjusted to this timezone.
8131
+ * Decimal hours from UTC OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the birthDate. Output datetime is adjusted to this timezone.
8129
8132
  */
8130
- timezone: number;
8133
+ timezone: number | string;
8131
8134
  /**
8132
8135
  * House system for the return chart. Placidus (default), Whole Sign, Equal, or Koch.
8133
8136
  */
@@ -9224,9 +9227,9 @@ export type PostVedicAstrologyDashaCurrentData = {
9224
9227
  */
9225
9228
  longitude: number;
9226
9229
  /**
9227
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
9230
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
9228
9231
  */
9229
- timezone?: number;
9232
+ timezone?: number | string;
9230
9233
  };
9231
9234
  path?: never;
9232
9235
  query?: {
@@ -9528,9 +9531,9 @@ export type PostVedicAstrologyDashaMajorData = {
9528
9531
  */
9529
9532
  longitude: number;
9530
9533
  /**
9531
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
9534
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
9532
9535
  */
9533
- timezone?: number;
9536
+ timezone?: number | string;
9534
9537
  };
9535
9538
  path?: never;
9536
9539
  query?: {
@@ -9732,9 +9735,9 @@ export type PostVedicAstrologyDashaSubByMahadashaData = {
9732
9735
  */
9733
9736
  longitude: number;
9734
9737
  /**
9735
- * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST) for Vedic astrology. Examples: India IST = 5.5, Nepal NPT = 5.75, New York EST = -5. Use decimal format (5.5, not 5:30).
9738
+ * Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "Asia/Kolkata", "America/New_York"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST).
9736
9739
  */
9737
- timezone?: number;
9740
+ timezone?: number | string;
9738
9741
  };
9739
9742
  path: {
9740
9743
  /**
@@ -9939,7 +9942,7 @@ export type PostVedicAstrologyPanchangBasicData = {
9939
9942
  /**
9940
9943
  * Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST).
9941
9944
  */
9942
- timezone?: number;
9945
+ timezone?: number | string;
9943
9946
  };
9944
9947
  path?: never;
9945
9948
  query?: {
@@ -10189,7 +10192,7 @@ export type PostVedicAstrologyPanchangDetailedData = {
10189
10192
  /**
10190
10193
  * Timezone offset from UTC in decimal hours. Used for sunrise/sunset/moonrise/moonset search accuracy and output time formatting. Essential for correct results outside IST. Defaults to 5.5 (IST).
10191
10194
  */
10192
- timezone?: number;
10195
+ timezone?: number | string;
10193
10196
  };
10194
10197
  path?: never;
10195
10198
  query?: {
@@ -10860,7 +10863,7 @@ export type PostVedicAstrologyPanchangChoghadiyaData = {
10860
10863
  /**
10861
10864
  * Timezone offset from UTC in decimal hours. Used for accurate sunrise/sunset calculation and output time formatting. Essential for correct Choghadiya periods outside IST. Defaults to 5.5 (IST).
10862
10865
  */
10863
- timezone?: number;
10866
+ timezone?: number | string;
10864
10867
  };
10865
10868
  path?: never;
10866
10869
  query?: never;
@@ -11044,7 +11047,7 @@ export type PostVedicAstrologyPanchangHoraData = {
11044
11047
  /**
11045
11048
  * Timezone offset from UTC in decimal hours. Used for accurate sunrise/sunset calculation and output time formatting. Essential for correct Hora periods outside IST. Defaults to 5.5 (IST).
11046
11049
  */
11047
- timezone?: number;
11050
+ timezone?: number | string;
11048
11051
  };
11049
11052
  path?: never;
11050
11053
  query?: never;
@@ -12324,9 +12327,9 @@ export type PostVedicAstrologyKpRulingPlanetsData = {
12324
12327
  */
12325
12328
  longitude: number;
12326
12329
  /**
12327
- * Timezone offset from UTC in hours. Defaults to 5.5 (IST).
12330
+ * Timezone: decimal hours from UTC OR IANA name (e.g. "Asia/Kolkata"). IANA resolved to the DST-correct offset based on birthDate or datetime. Defaults to 5.5 (IST).
12328
12331
  */
12329
- timezone?: number;
12332
+ timezone?: number | string;
12330
12333
  /**
12331
12334
  * ISO 8601 datetime for ruling planets. Defaults to current time. Always interpreted as local time when a non-zero timezone is provided (Z suffix is ignored).
12332
12335
  */
@@ -12482,7 +12485,7 @@ export type PostVedicAstrologyKpRulingPlanetsIntervalData = {
12482
12485
  /**
12483
12486
  * Timezone offset from UTC in decimal hours. When non-zero, all datetimes are treated as local time in this timezone (Z suffix is ignored). Output times are also converted to this timezone. Defaults to 5.5 (IST).
12484
12487
  */
12485
- timezone?: number;
12488
+ timezone?: number | string;
12486
12489
  /**
12487
12490
  * Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. Defaults to "kp-newcomb".
12488
12491
  */
@@ -12971,7 +12974,7 @@ export type PostVedicAstrologyAspectsData = {
12971
12974
  /**
12972
12975
  * Timezone offset from UTC in hours. Defaults to 5.5 (IST).
12973
12976
  */
12974
- timezone?: number;
12977
+ timezone?: number | string;
12975
12978
  /**
12976
12979
  * Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa - standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
12977
12980
  */
@@ -13193,7 +13196,7 @@ export type PostVedicAstrologyAspectsMonthlyData = {
13193
13196
  /**
13194
13197
  * Timezone offset from UTC in hours. Output times are converted to this timezone. Defaults to 0 (UTC).
13195
13198
  */
13196
- timezone?: number;
13199
+ timezone?: number | string;
13197
13200
  /**
13198
13201
  * Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa - standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
13199
13202
  */
@@ -13379,7 +13382,7 @@ export type PostVedicAstrologyAspectsLunarData = {
13379
13382
  /**
13380
13383
  * Timezone offset from UTC in hours. Output times are converted to this timezone. Defaults to 0 (UTC).
13381
13384
  */
13382
- timezone?: number;
13385
+ timezone?: number | string;
13383
13386
  /**
13384
13387
  * Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa - standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
13385
13388
  */
@@ -13577,7 +13580,7 @@ export type PostVedicAstrologyTransitData = {
13577
13580
  /**
13578
13581
  * Timezone offset from UTC in hours. Defaults to 5.5 (IST).
13579
13582
  */
13580
- timezone?: number;
13583
+ timezone?: number | string;
13581
13584
  /**
13582
13585
  * Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa - standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
13583
13586
  */
@@ -13798,7 +13801,7 @@ export type PostVedicAstrologyTransitMonthlyData = {
13798
13801
  /**
13799
13802
  * Timezone offset from UTC in hours. Output times are converted to this timezone. Defaults to 0 (UTC).
13800
13803
  */
13801
- timezone?: number;
13804
+ timezone?: number | string;
13802
13805
  /**
13803
13806
  * Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa - standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
13804
13807
  */
@@ -13997,7 +14000,7 @@ export type PostVedicAstrologyParallelsData = {
13997
14000
  /**
13998
14001
  * Timezone offset from UTC in hours. Defaults to 5.5 (IST).
13999
14002
  */
14000
- timezone?: number;
14003
+ timezone?: number | string;
14001
14004
  /**
14002
14005
  * Orb in degrees for parallel/contraparallel detection. Defaults to 1.5°.
14003
14006
  */
@@ -14180,7 +14183,7 @@ export type PostVedicAstrologyParallelsMonthlyData = {
14180
14183
  /**
14181
14184
  * Timezone offset from UTC in hours. Output times are converted to this timezone. Defaults to 0 (UTC).
14182
14185
  */
14183
- timezone?: number;
14186
+ timezone?: number | string;
14184
14187
  };
14185
14188
  path?: never;
14186
14189
  query?: never;
@@ -14354,7 +14357,7 @@ export type PostVedicAstrologyEclipticCrossingsData = {
14354
14357
  /**
14355
14358
  * Timezone offset from UTC in hours. Output times are converted to this timezone. Defaults to 0 (UTC).
14356
14359
  */
14357
- timezone?: number;
14360
+ timezone?: number | string;
14358
14361
  /**
14359
14362
  * Coordinate system for longitude output. "sidereal" (Nirayana) uses Lahiri ayanamsa - standard for Vedic astrology. "tropical" (Sayana) uses raw ecliptic longitude matching Western astrology. Defaults to "sidereal".
14360
14363
  */