@roxyapi/sdk 1.2.53 → 1.2.54

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/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.2.53";
1
+ export declare const VERSION = "1.2.54";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -223,13 +223,22 @@ const { data } = await roxy.astrology.calculateCompatibility({
223
223
  });
224
224
 
225
225
  // Daily horoscope by zodiac sign - Transit-based forecast with house activations
226
- const { data } = await roxy.astrology.getDailyHoroscope({ path: { sign: 'aries' }, query: { date: '2026-04-03' } });
226
+ const { data } = await roxy.astrology.getDailyHoroscope({
227
+ path: { sign: 'aries' },
228
+ query: { date: '2026-04-03', timezone: 'America/New_York' },
229
+ });
227
230
 
228
231
  // Weekly horoscope by zodiac sign - 7-day transit forecast
229
- const { data } = await roxy.astrology.getWeeklyHoroscope({ path: { sign: 'aries' } });
232
+ const { data } = await roxy.astrology.getWeeklyHoroscope({
233
+ path: { sign: 'aries' },
234
+ query: { date: '2026-04-03', timezone: 'America/New_York' },
235
+ });
230
236
 
231
237
  // Monthly horoscope by zodiac sign - 30-day transit forecast with key dates
232
- const { data } = await roxy.astrology.getMonthlyHoroscope({ path: { sign: 'aries' } });
238
+ const { data } = await roxy.astrology.getMonthlyHoroscope({
239
+ path: { sign: 'aries' },
240
+ query: { date: '2026-04-03', timezone: 'America/New_York' },
241
+ });
233
242
 
234
243
  // Planetary Return Chart - Saturn return, Jupiter return, and inner planet cycles
235
244
  const { data } = await roxy.astrology.generatePlanetaryReturn({
@@ -457,6 +466,7 @@ const { data } = await roxy.vedicAstrology.getCurrentDasha({
457
466
  longitude: 77.209,
458
467
  timezone: 5.5,
459
468
  ayanamsa: 'lahiri',
469
+ ayanamsaValue: 24,
460
470
  significators: false,
461
471
  nodeType: 'mean',
462
472
  },
@@ -472,6 +482,7 @@ const { data } = await roxy.vedicAstrology.getMajorDashas({
472
482
  longitude: 77.209,
473
483
  timezone: 5.5,
474
484
  ayanamsa: 'lahiri',
485
+ ayanamsaValue: 24,
475
486
  significators: false,
476
487
  nodeType: 'mean',
477
488
  },
@@ -488,6 +499,7 @@ const { data } = await roxy.vedicAstrology.getSubDashas({
488
499
  longitude: 77.209,
489
500
  timezone: 5.5,
490
501
  ayanamsa: 'lahiri',
502
+ ayanamsaValue: 24,
491
503
  significators: false,
492
504
  nodeType: 'mean',
493
505
  },
@@ -504,6 +516,7 @@ const { data } = await roxy.vedicAstrology.getPratyantardashas({
504
516
  longitude: 77.209,
505
517
  timezone: 5.5,
506
518
  ayanamsa: 'lahiri',
519
+ ayanamsaValue: 24,
507
520
  significators: false,
508
521
  nodeType: 'mean',
509
522
  },
@@ -524,6 +537,7 @@ const { data } = await roxy.vedicAstrology.getSookshmaDashas({
524
537
  longitude: 77.209,
525
538
  timezone: 5.5,
526
539
  ayanamsa: 'lahiri',
540
+ ayanamsaValue: 24,
527
541
  significators: false,
528
542
  nodeType: 'mean',
529
543
  },
@@ -545,6 +559,7 @@ const { data } = await roxy.vedicAstrology.getPranaDashas({
545
559
  longitude: 77.209,
546
560
  timezone: 5.5,
547
561
  ayanamsa: 'lahiri',
562
+ ayanamsaValue: 24,
548
563
  significators: false,
549
564
  nodeType: 'mean',
550
565
  },
@@ -642,7 +657,9 @@ const { data } = await roxy.vedicAstrology.detectYogas({
642
657
  });
643
658
 
644
659
  // Get KP-Newcomb ayanamsa - Dynamic daily calculation
645
- const { data } = await roxy.vedicAstrology.getKpAyanamsa({ query: { date: '2025-12-26' } });
660
+ const { data } = await roxy.vedicAstrology.getKpAyanamsa({
661
+ query: { date: '2025-12-26', time: '09:00:00', timezone: 5.5 },
662
+ });
646
663
 
647
664
  // Get KP planetary positions with sub-lords
648
665
  const { data } = await roxy.vedicAstrology.getKpPlanets({
@@ -660,6 +677,7 @@ const { data } = await roxy.vedicAstrology.getKpPlanets({
660
677
 
661
678
  // Get KP Placidus house cusps with sub-lords
662
679
  const { data } = await roxy.vedicAstrology.getKpCusps({
680
+ query: { focus: 'general' },
663
681
  body: {
664
682
  date: '1990-07-04',
665
683
  time: '10:12:00',
@@ -688,6 +706,7 @@ const { data } = await roxy.vedicAstrology.generateKpChart({
688
706
 
689
707
  // Get KP ruling planets with optional significators
690
708
  const { data } = await roxy.vedicAstrology.getKpRulingPlanets({
709
+ query: { focus: 'general' },
691
710
  body: {
692
711
  latitude: 28.6139,
693
712
  longitude: 77.209,
@@ -701,6 +720,7 @@ const { data } = await roxy.vedicAstrology.getKpRulingPlanets({
701
720
 
702
721
  // Get KP ruling planets with significators at intervals
703
722
  const { data } = await roxy.vedicAstrology.getKpRulingInterval({
723
+ query: { focus: 'general' },
704
724
  body: {
705
725
  startDatetime: '2026-02-03T00:00:00Z',
706
726
  endDatetime: '2026-02-03T01:00:00Z',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/sdk",
3
- "version": "1.2.53",
3
+ "version": "1.2.54",
4
4
  "description": "TypeScript SDK for Roxy — the multi-domain spiritual intelligence API",
5
5
  "type": "module",
6
6
  "exports": {
package/src/sdk.gen.ts CHANGED
@@ -345,7 +345,7 @@ export class Astrology extends HeyApiClient {
345
345
  /**
346
346
  * Daily horoscope by zodiac sign - Transit-based forecast with house activations
347
347
  *
348
- * Get the daily horoscope for any zodiac sign. Forecast is generated from real-time planetary transits using whole-sign house positions, so every sign receives unique content. Returns love, career, health, finance, overview with active transits, Moon sign, Moon phase, energy rating, lucky number, lucky color, and compatible signs. Supports date parameter for editorial scheduling. Daily horoscope API, zodiac forecast, sun sign horoscope, astrology prediction.
348
+ * Get the daily horoscope for any zodiac sign. Forecast is generated from real-time planetary transits using whole-sign house positions, so every sign receives unique content. Returns love, career, health, finance, overview with active transits, Moon sign, Moon phase, energy rating, lucky number, lucky color, and compatible signs. Content is fixed for a given date and rolls over at midnight, by default UTC. Pass date for editorial scheduling, or timezone to roll over on a local clock. Daily horoscope API, zodiac forecast, sun sign horoscope, astrology prediction.
349
349
  */
350
350
  public getDailyHoroscope<ThrowOnError extends boolean = false>(options: Options<GetAstrologyHoroscopeBySignDailyData, ThrowOnError>) {
351
351
  return (options.client ?? this.client).get<GetAstrologyHoroscopeBySignDailyResponses, GetAstrologyHoroscopeBySignDailyErrors, ThrowOnError>({
@@ -358,7 +358,7 @@ export class Astrology extends HeyApiClient {
358
358
  /**
359
359
  * Weekly horoscope by zodiac sign - 7-day transit forecast
360
360
  *
361
- * Get weekly horoscope for any zodiac sign. Forecast covers a full 7-day period based on planetary transits with house-based content unique to each sign, with love, career, health, finance guidance plus lucky days, lucky numbers, and compatible signs. Weekly horoscope API, zodiac weekly forecast, astrology weekly prediction.
361
+ * Get weekly horoscope for any zodiac sign. Forecast covers a full Monday to Sunday period based on planetary transits with house-based content unique to each sign, with love, career, health, finance guidance plus lucky days, lucky numbers, and compatible signs. Pass any date inside a week to retrieve that week, or timezone to roll over on a local clock. Weekly horoscope API, zodiac weekly forecast, astrology weekly prediction.
362
362
  */
363
363
  public getWeeklyHoroscope<ThrowOnError extends boolean = false>(options: Options<GetAstrologyHoroscopeBySignWeeklyData, ThrowOnError>) {
364
364
  return (options.client ?? this.client).get<GetAstrologyHoroscopeBySignWeeklyResponses, GetAstrologyHoroscopeBySignWeeklyErrors, ThrowOnError>({
@@ -371,7 +371,7 @@ export class Astrology extends HeyApiClient {
371
371
  /**
372
372
  * Monthly horoscope by zodiac sign - 30-day transit forecast with key dates
373
373
  *
374
- * Get monthly horoscope for any zodiac sign with sign-specific week-by-week breakdown and real lunar phase key dates. Based on planetary transits with house activations unique to each sign, covering love, career, health, and finance for the entire month. Key dates include actual New Moon, Full Moon, and retrograde dates from ephemeris calculations. Monthly horoscope API, zodiac monthly forecast, astrology monthly prediction.
374
+ * Get monthly horoscope for any zodiac sign with sign-specific week-by-week breakdown and real lunar phase key dates. Based on planetary transits with house activations unique to each sign, covering love, career, health, and finance for the entire month. Key dates include actual New Moon, Full Moon, and retrograde dates from ephemeris calculations. Pass any date inside a month to retrieve that month, or timezone to roll over on a local clock. Monthly horoscope API, zodiac monthly forecast, astrology monthly prediction.
375
375
  */
376
376
  public getMonthlyHoroscope<ThrowOnError extends boolean = false>(options: Options<GetAstrologyHoroscopeBySignMonthlyData, ThrowOnError>) {
377
377
  return (options.client ?? this.client).get<GetAstrologyHoroscopeBySignMonthlyResponses, GetAstrologyHoroscopeBySignMonthlyErrors, ThrowOnError>({
@@ -939,7 +939,7 @@ export class VedicAstrology extends HeyApiClient {
939
939
  /**
940
940
  * Get KP-Newcomb ayanamsa - Dynamic daily calculation
941
941
  *
942
- * Get the KP-Newcomb (Krishnamurti) ayanamsa for any date, computed continuously from Newcomb precession theory rather than looked up in a preset table, so it tracks the date you ask for instead of the calendar year. This is the precession offset subtracted from a tropical longitude to obtain the sidereal one, and it is what makes a KP chart reproduce the reference software your practitioners already use. Returns the same value every KP endpoint applies internally. KP Newcomb ayanamsa API, dynamic ayanamsa calculator, Krishnamurti ayanamsa today, current KP ayanamsa
942
+ * Get the KP-Newcomb (Krishnamurti) ayanamsa for any instant, computed continuously from Newcomb precession theory rather than looked up in a preset table, so it tracks the exact moment you ask for instead of the calendar year. Supply date alone for midnight UTC, or add time and timezone to pin a birth moment exactly. This is the precession offset subtracted from a tropical longitude to obtain the sidereal one, and it is what makes a KP chart reproduce the reference software your practitioners already use. Returns the same value every KP endpoint applies internally. KP Newcomb ayanamsa API, dynamic ayanamsa calculator, Krishnamurti ayanamsa today, current KP ayanamsa
943
943
  */
944
944
  public getKpAyanamsa<ThrowOnError extends boolean = false>(options?: Options<GetVedicAstrologyKpAyanamsaData, ThrowOnError>) {
945
945
  return (options?.client ?? this.client).get<GetVedicAstrologyKpAyanamsaResponses, GetVedicAstrologyKpAyanamsaErrors, ThrowOnError>({
package/src/types.gen.ts CHANGED
@@ -3839,6 +3839,10 @@ export type KpAyanamsaResponse = {
3839
3839
  * Date for which ayanamsa was calculated
3840
3840
  */
3841
3841
  date: string;
3842
+ /**
3843
+ * The exact UTC instant the value was computed for, after applying the time and timezone. Echoed so a client reconciling to the arcsecond can confirm the moment rather than infer it from the date alone. Equals midnight UTC of the date when no time was supplied.
3844
+ */
3845
+ instant: string;
3842
3846
  /**
3843
3847
  * KP-Newcomb ayanamsa value in degrees
3844
3848
  */
@@ -4008,6 +4012,12 @@ export type KpCuspsResponse = {
4008
4012
  */
4009
4013
  kpNumber: number;
4010
4014
  }>;
4015
+ /**
4016
+ * Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
4017
+ */
4018
+ houseThemes: {
4019
+ [key: string]: Array<string>;
4020
+ };
4011
4021
  };
4012
4022
 
4013
4023
  export type KpCuspsRequest = {
@@ -4463,6 +4473,12 @@ export type KpRulingPlanetsResponse = {
4463
4473
  */
4464
4474
  signifies: Array<number>;
4465
4475
  }>;
4476
+ /**
4477
+ * Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
4478
+ */
4479
+ houseThemes?: {
4480
+ [key: string]: Array<string>;
4481
+ };
4466
4482
  };
4467
4483
 
4468
4484
  export type KpRulingPlanetsIntervalResponse = {
@@ -4653,6 +4669,12 @@ export type KpRulingPlanetsIntervalResponse = {
4653
4669
  L4: Array<number>;
4654
4670
  };
4655
4671
  }>;
4672
+ /**
4673
+ * Significations of each of the twelve bhavas (houses), keyed by house number 1 to 12, as short keywords. Bhava 1 is the Lagna (self, body, vitality), 2 wealth and speech, 4 home and mother, 7 marriage and partnership, 10 career and status, 11 gains. Use it to label the house numbers returned elsewhere in the response: a Vimshottari dasha period signifying houses 2, 7 and 8, or a KP significator carrying houses 11 and 6, becomes readable text without a separate lookup call. Returned once per response rather than repeated per period, and localized by the lang query parameter alongside every other interpretation field.
4674
+ */
4675
+ houseThemes: {
4676
+ [key: string]: Array<string>;
4677
+ };
4656
4678
  };
4657
4679
 
4658
4680
  export type KpSublordChangesResponse = {
@@ -7161,9 +7183,9 @@ export type GetAstrologyMoonPhaseCurrentData = {
7161
7183
  */
7162
7184
  time?: string;
7163
7185
  /**
7164
- * IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours (e.g. -5 for EST, 1 for CET). IANA resolved to the DST-correct offset for the given date. Defaults to 0 (UTC).
7186
+ * IANA name (e.g. "America/New_York", "Europe/London"), decimal hours (e.g. -5 for EST, 1 for CET), or a fixed UTC offset (e.g. "-05:00"). IANA resolved to the DST-correct offset for the given date. Defaults to 0 (UTC).
7165
7187
  */
7166
- timezone?: number | string | unknown;
7188
+ timezone?: string;
7167
7189
  };
7168
7190
  url: '/astrology/moon-phase/current';
7169
7191
  };
@@ -10678,9 +10700,13 @@ export type GetAstrologyHoroscopeBySignDailyData = {
10678
10700
  */
10679
10701
  lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
10680
10702
  /**
10681
- * Forecast date in YYYY-MM-DD format. Defaults to today. Supports future and past dates for editorial scheduling.
10703
+ * Forecast date in YYYY-MM-DD format. Past and future dates are both supported, for editorial scheduling and backfill. Defaults to the current period in the timezone parameter.
10682
10704
  */
10683
10705
  date?: string;
10706
+ /**
10707
+ * Selects which period counts as current when date is omitted. Defaults to UTC, so the forecast rolls over at 00:00 UTC on each day. Pass the timezone of the end user to roll over on their local clock instead. Ignored when date is set. Accepts an IANA name (e.g. "America/New_York"), decimal hours (e.g. 5.5 for IST), or a fixed UTC offset (e.g. "-05:00").
10708
+ */
10709
+ timezone?: string;
10684
10710
  };
10685
10711
  url: '/astrology/horoscope/{sign}/daily';
10686
10712
  };
@@ -10872,6 +10898,14 @@ export type GetAstrologyHoroscopeBySignWeeklyData = {
10872
10898
  * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
10873
10899
  */
10874
10900
  lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
10901
+ /**
10902
+ * Any date inside the target week, in YYYY-MM-DD format. The forecast covers the Monday to Sunday week containing it. Defaults to the current period in the timezone parameter.
10903
+ */
10904
+ date?: string;
10905
+ /**
10906
+ * Selects which period counts as current when date is omitted. Defaults to UTC, so the forecast rolls over at 00:00 UTC on each Monday. Pass the timezone of the end user to roll over on their local clock instead. Ignored when date is set. Accepts an IANA name (e.g. "America/New_York"), decimal hours (e.g. 5.5 for IST), or a fixed UTC offset (e.g. "-05:00").
10907
+ */
10908
+ timezone?: string;
10875
10909
  };
10876
10910
  url: '/astrology/horoscope/{sign}/weekly';
10877
10911
  };
@@ -11047,6 +11081,14 @@ export type GetAstrologyHoroscopeBySignMonthlyData = {
11047
11081
  * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
11048
11082
  */
11049
11083
  lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
11084
+ /**
11085
+ * Any date inside the target month, in YYYY-MM-DD format. The forecast covers the whole calendar month containing it. Defaults to the current period in the timezone parameter.
11086
+ */
11087
+ date?: string;
11088
+ /**
11089
+ * Selects which period counts as current when date is omitted. Defaults to UTC, so the forecast rolls over at 00:00 UTC on the 1st. Pass the timezone of the end user to roll over on their local clock instead. Ignored when date is set. Accepts an IANA name (e.g. "America/New_York"), decimal hours (e.g. 5.5 for IST), or a fixed UTC offset (e.g. "-05:00").
11090
+ */
11091
+ timezone?: string;
11050
11092
  };
11051
11093
  url: '/astrology/horoscope/{sign}/monthly';
11052
11094
  };
@@ -13781,9 +13823,13 @@ export type PostVedicAstrologyDashaCurrentData = {
13781
13823
  */
13782
13824
  timezone?: number | string;
13783
13825
  /**
13784
- * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
13826
+ * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
13785
13827
  */
13786
- ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri';
13828
+ ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
13829
+ /**
13830
+ * Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
13831
+ */
13832
+ ayanamsaValue?: number;
13787
13833
  /**
13788
13834
  * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
13789
13835
  */
@@ -13943,9 +13989,9 @@ export type PostVedicAstrologyDashaCurrentResponses = {
13943
13989
  */
13944
13990
  ayanamsa: number;
13945
13991
  /**
13946
- * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old". Echoed so a client can confirm which frame produced these dates without re-deriving it.
13992
+ * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
13947
13993
  */
13948
- ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri';
13994
+ ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
13949
13995
  /**
13950
13996
  * Mahadasha (major planetary period) in the 120-year Vimshottari dasha cycle. Start and end dates are determined by Moon nakshatra at birth.
13951
13997
  */
@@ -14592,9 +14638,13 @@ export type PostVedicAstrologyDashaMajorData = {
14592
14638
  */
14593
14639
  timezone?: number | string;
14594
14640
  /**
14595
- * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
14641
+ * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
14596
14642
  */
14597
- ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri';
14643
+ ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
14644
+ /**
14645
+ * Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
14646
+ */
14647
+ ayanamsaValue?: number;
14598
14648
  /**
14599
14649
  * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
14600
14650
  */
@@ -14754,9 +14804,9 @@ export type PostVedicAstrologyDashaMajorResponses = {
14754
14804
  */
14755
14805
  ayanamsa: number;
14756
14806
  /**
14757
- * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old". Echoed so a client can confirm which frame produced these dates without re-deriving it.
14807
+ * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
14758
14808
  */
14759
- ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri';
14809
+ ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
14760
14810
  /**
14761
14811
  * Remaining balance of the first Mahadasha at birth. Based on Moon degree within the birth nakshatra. partial dasha already elapsed before birth.
14762
14812
  */
@@ -14902,9 +14952,13 @@ export type PostVedicAstrologyDashaSubByMahadashaData = {
14902
14952
  */
14903
14953
  timezone?: number | string;
14904
14954
  /**
14905
- * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
14955
+ * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
14906
14956
  */
14907
- ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri';
14957
+ ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
14958
+ /**
14959
+ * Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
14960
+ */
14961
+ ayanamsaValue?: number;
14908
14962
  /**
14909
14963
  * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
14910
14964
  */
@@ -15061,9 +15115,9 @@ export type PostVedicAstrologyDashaSubByMahadashaResponses = {
15061
15115
  */
15062
15116
  ayanamsa: number;
15063
15117
  /**
15064
- * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old". Echoed so a client can confirm which frame produced these dates without re-deriving it.
15118
+ * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
15065
15119
  */
15066
- ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri';
15120
+ ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
15067
15121
  /**
15068
15122
  * Full details of the parent Mahadasha including start/end dates and duration.
15069
15123
  */
@@ -15280,9 +15334,13 @@ export type PostVedicAstrologyDashaSubByMahadashaByAntardashaData = {
15280
15334
  */
15281
15335
  timezone?: number | string;
15282
15336
  /**
15283
- * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
15337
+ * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
15284
15338
  */
15285
- ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri';
15339
+ ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
15340
+ /**
15341
+ * Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
15342
+ */
15343
+ ayanamsaValue?: number;
15286
15344
  /**
15287
15345
  * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
15288
15346
  */
@@ -15447,9 +15505,9 @@ export type PostVedicAstrologyDashaSubByMahadashaByAntardashaResponses = {
15447
15505
  */
15448
15506
  ayanamsa: number;
15449
15507
  /**
15450
- * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old". Echoed so a client can confirm which frame produced these dates without re-deriving it.
15508
+ * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
15451
15509
  */
15452
- ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri';
15510
+ ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
15453
15511
  /**
15454
15512
  * Full details of the parent Antardasha including start/end dates and duration.
15455
15513
  */
@@ -15674,9 +15732,13 @@ export type PostVedicAstrologyDashaSubByMahadashaByAntardashaByPratyantardashaDa
15674
15732
  */
15675
15733
  timezone?: number | string;
15676
15734
  /**
15677
- * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
15735
+ * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
15678
15736
  */
15679
- ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri';
15737
+ ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
15738
+ /**
15739
+ * Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
15740
+ */
15741
+ ayanamsaValue?: number;
15680
15742
  /**
15681
15743
  * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
15682
15744
  */
@@ -15849,9 +15911,9 @@ export type PostVedicAstrologyDashaSubByMahadashaByAntardashaByPratyantardashaRe
15849
15911
  */
15850
15912
  ayanamsa: number;
15851
15913
  /**
15852
- * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old". Echoed so a client can confirm which frame produced these dates without re-deriving it.
15914
+ * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
15853
15915
  */
15854
- ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri';
15916
+ ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
15855
15917
  /**
15856
15918
  * Full details of the parent Pratyantardasha including start/end dates and duration.
15857
15919
  */
@@ -16084,9 +16146,13 @@ export type PostVedicAstrologyDashaSubByMahadashaByAntardashaByPratyantardashaBy
16084
16146
  */
16085
16147
  timezone?: number | string;
16086
16148
  /**
16087
- * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
16149
+ * Ayanamsa system used to place the birth Moon in its nakshatra, which sets every dasha start and end date. "lahiri" uses Lahiri/Chitrapaksha, the traditional Vedic standard, and is the default. "kp-newcomb" uses the KP-Newcomb dynamic formula, matching Krishnamurti Paddhati software. "kp-old" uses the Krishnamurti original table from KP Reader-1. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. Switching frames shifts every dasha boundary by weeks, so pick the one your reference software uses.
16088
16150
  */
16089
- ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri';
16151
+ ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
16152
+ /**
16153
+ * Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.
16154
+ */
16155
+ ayanamsaValue?: number;
16090
16156
  /**
16091
16157
  * Set true to attach the KP significators of each period lord: its star lord, sub lord, occupied house, the houses it signifies at levels L1 to L4, and a strength grade. Off by default, so responses stay exactly as they are for clients that only need dates. Requires the birth latitude and longitude, since significators are read off a Placidus house chart, and uses the same ayanamsa frame selected above.
16092
16158
  */
@@ -16267,9 +16333,9 @@ export type PostVedicAstrologyDashaSubByMahadashaByAntardashaByPratyantardashaBy
16267
16333
  */
16268
16334
  ayanamsa: number;
16269
16335
  /**
16270
- * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old". Echoed so a client can confirm which frame produced these dates without re-deriving it.
16336
+ * Ayanamsa system used, echoing the request field. One of "lahiri", "kp-newcomb", "kp-old" or "custom". Echoed so a client can confirm which frame produced these dates without re-deriving it. When it reads "custom" the ayanamsa field above carries the exact value you supplied.
16271
16337
  */
16272
- ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri';
16338
+ ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'custom';
16273
16339
  /**
16274
16340
  * Full details of the parent Sookshma dasha including start/end dates and duration.
16275
16341
  */
@@ -18574,6 +18640,14 @@ export type GetVedicAstrologyKpAyanamsaData = {
18574
18640
  * Date for ayanamsa calculation in YYYY-MM-DD format. Defaults to today if not provided. Ayanamsa changes by ~0.01 degrees per month due to the precession of Earth.
18575
18641
  */
18576
18642
  date?: string;
18643
+ /**
18644
+ * Time of day in 24-hour HH:MM:SS format, interpreted in the timezone below. Omit for midnight UTC. The ayanamsa moves about 0.14 arcseconds across a day, so supplying the time matters only when reconciling a chart against reference software to the arcsecond.
18645
+ */
18646
+ time?: string;
18647
+ /**
18648
+ * IANA name (e.g. "Asia/Kolkata", "America/New_York"), decimal hours (e.g. 5.5 for IST, -5 for EST), or a fixed UTC offset (e.g. "+05:30"). IANA resolved to the DST-correct offset for the given date. Applies to the time field above. Defaults to 0 (UTC).
18649
+ */
18650
+ timezone?: string;
18577
18651
  };
18578
18652
  url: '/vedic-astrology/kp/ayanamsa';
18579
18653
  };
@@ -18814,7 +18888,16 @@ export type PostVedicAstrologyKpPlanetsResponse = PostVedicAstrologyKpPlanetsRes
18814
18888
  export type PostVedicAstrologyKpCuspsData = {
18815
18889
  body?: KpCuspsRequest;
18816
18890
  path?: never;
18817
- query?: never;
18891
+ query?: {
18892
+ /**
18893
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
18894
+ */
18895
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
18896
+ /**
18897
+ * Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
18898
+ */
18899
+ focus?: 'general' | 'finance';
18900
+ };
18818
18901
  url: '/vedic-astrology/kp/cusps';
18819
18902
  };
18820
18903
 
@@ -19092,7 +19175,16 @@ export type PostVedicAstrologyKpRulingPlanetsData = {
19092
19175
  nodeType?: 'mean' | 'true';
19093
19176
  };
19094
19177
  path?: never;
19095
- query?: never;
19178
+ query?: {
19179
+ /**
19180
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
19181
+ */
19182
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
19183
+ /**
19184
+ * Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
19185
+ */
19186
+ focus?: 'general' | 'finance';
19187
+ };
19096
19188
  url: '/vedic-astrology/kp/ruling-planets';
19097
19189
  };
19098
19190
 
@@ -19245,7 +19337,16 @@ export type PostVedicAstrologyKpRulingPlanetsIntervalData = {
19245
19337
  nodeType?: 'mean' | 'true';
19246
19338
  };
19247
19339
  path?: never;
19248
- query?: never;
19340
+ query?: {
19341
+ /**
19342
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
19343
+ */
19344
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
19345
+ /**
19346
+ * Which signification vocabulary the houseThemes map returns. "general" gives the classical bhava significations (self, wealth, siblings, home, and so on). "finance" gives the money reading of the same twelve bhavas, so house 2 returns income and savings, 5 speculation and risk appetite, 8 sudden money and leverage, 11 gains and profits, and 12 expenses and capital outflow. Use "finance" for wealth, income, business and market timing questions in Krishnamurti Paddhati, where the significator house groups 2, 6, 10, 11 for earned income and 5, 8, 11 for speculation are read against a running dasha. Defaults to "general".
19347
+ */
19348
+ focus?: 'general' | 'finance';
19349
+ };
19249
19350
  url: '/vedic-astrology/kp/ruling-planets-interval';
19250
19351
  };
19251
19352
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.2.53';
1
+ export const VERSION = '1.2.54';