@roxyapi/ui 0.17.1 → 0.18.0
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/AGENTS.md +3 -2
- package/README.md +3 -3
- package/components-catalog.json +126 -110
- package/dist/cdn/components/ashtakavarga-grid.js +1 -1
- package/dist/cdn/components/ashtakavarga-grid.js.map +2 -2
- package/dist/cdn/components/bodygraph.js +1 -1
- package/dist/cdn/components/bodygraph.js.map +2 -2
- package/dist/cdn/components/dasha-timeline.js +4 -4
- package/dist/cdn/components/dasha-timeline.js.map +4 -4
- package/dist/cdn/components/divisional-chart.js +1 -1
- package/dist/cdn/components/divisional-chart.js.map +2 -2
- package/dist/cdn/components/endpoint-form.js +1 -1
- package/dist/cdn/components/endpoint-form.js.map +1 -1
- package/dist/cdn/components/kp-chart.js +1 -1
- package/dist/cdn/components/kp-chart.js.map +2 -2
- package/dist/cdn/components/natal-chart.js +1 -1
- package/dist/cdn/components/natal-chart.js.map +2 -2
- package/dist/cdn/components/relocation-wheel.js +1 -1
- package/dist/cdn/components/relocation-wheel.js.map +2 -2
- package/dist/cdn/components/tarot-card.js +1 -1
- package/dist/cdn/components/tarot-card.js.map +2 -2
- package/dist/cdn/components/transits-table.js +1 -1
- package/dist/cdn/components/transits-table.js.map +2 -2
- package/dist/cdn/components/vedic-kundli.js +1 -1
- package/dist/cdn/components/vedic-kundli.js.map +2 -2
- package/dist/cdn/roxy-ui.js +74 -74
- package/dist/cdn/roxy-ui.js.map +3 -3
- package/dist/cdn/widgets.js +1 -1
- package/dist/components/ashtakavarga-grid.js +1 -1
- package/dist/components/ashtakavarga-grid.js.map +2 -2
- package/dist/components/bodygraph.js +1 -1
- package/dist/components/bodygraph.js.map +2 -2
- package/dist/components/dasha-timeline.d.ts +43 -8
- package/dist/components/dasha-timeline.d.ts.map +1 -1
- package/dist/components/dasha-timeline.js +1 -1
- package/dist/components/dasha-timeline.js.map +4 -4
- package/dist/components/divisional-chart.js +1 -1
- package/dist/components/divisional-chart.js.map +2 -2
- package/dist/components/endpoint-form.js +1 -1
- package/dist/components/endpoint-form.js.map +1 -1
- package/dist/components/kp-chart.js +1 -1
- package/dist/components/kp-chart.js.map +2 -2
- package/dist/components/natal-chart.js +1 -1
- package/dist/components/natal-chart.js.map +2 -2
- package/dist/components/relocation-wheel.js +1 -1
- package/dist/components/relocation-wheel.js.map +2 -2
- package/dist/components/tarot-card.js +1 -1
- package/dist/components/tarot-card.js.map +2 -2
- package/dist/components/transits-table.js +1 -1
- package/dist/components/transits-table.js.map +2 -2
- package/dist/components/vedic-kundli.js +1 -1
- package/dist/components/vedic-kundli.js.map +2 -2
- package/dist/generated/endpoint-bindings.d.ts.map +1 -1
- package/dist/index.cjs +42 -42
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +50 -50
- package/dist/index.js.map +3 -3
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.json +45 -45
- package/dist/schemas/post--vedic-astrology-dasha-current.json +1 -1
- package/dist/schemas/post--vedic-astrology-dasha-major.json +1 -1
- package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha-pratyantardasha.json +1 -0
- package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha-antardasha.json +1 -0
- package/dist/schemas/post--vedic-astrology-dasha-sub-mahadasha.json +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types.gen.d.ts +642 -2
- package/dist/types/types.gen.d.ts.map +1 -1
- package/dist/utils/tablist.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/dasha-timeline.ts +250 -50
- package/src/generated/endpoint-bindings.ts +16 -0
- package/src/manifest.ts +4 -2
- package/src/types/index.ts +1 -1
- package/src/types/types.gen.ts +652 -2
- package/src/utils/tablist.ts +7 -1
- package/src/version.ts +1 -1
package/src/types/types.gen.ts
CHANGED
|
@@ -13389,6 +13389,10 @@ export type GetCurrentDashaData = {
|
|
|
13389
13389
|
* Timezone: IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC (e.g. -5 for EST, 1 for CET). 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.
|
|
13390
13390
|
*/
|
|
13391
13391
|
timezone?: number | string;
|
|
13392
|
+
/**
|
|
13393
|
+
* 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.
|
|
13394
|
+
*/
|
|
13395
|
+
ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri';
|
|
13392
13396
|
};
|
|
13393
13397
|
path?: never;
|
|
13394
13398
|
query?: {
|
|
@@ -13506,7 +13510,7 @@ export type GetCurrentDashaError = GetCurrentDashaErrors[keyof GetCurrentDashaEr
|
|
|
13506
13510
|
|
|
13507
13511
|
export type GetCurrentDashaResponses = {
|
|
13508
13512
|
/**
|
|
13509
|
-
* Currently active Mahadasha, Antardasha, and
|
|
13513
|
+
* Currently active Mahadasha, Antardasha, Pratyantardasha, and Sookshma dasha with start/end dates, remaining balance, Moon nakshatra, and Vedic interpretations for each period.
|
|
13510
13514
|
*/
|
|
13511
13515
|
200: {
|
|
13512
13516
|
/**
|
|
@@ -13521,6 +13525,18 @@ export type GetCurrentDashaResponses = {
|
|
|
13521
13525
|
* Vimshottari dasha lord of the birth nakshatra. This planet rules the first Mahadasha in the native life cycle.
|
|
13522
13526
|
*/
|
|
13523
13527
|
nakshatraLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
13528
|
+
/**
|
|
13529
|
+
* Sidereal (nirayana) longitude of the birth Moon in degrees, 0 to 360, measured in the ayanamsa frame reported below. This single value determines the birth nakshatra and therefore every dasha start and end date in this response. Compare it against a reference chart to reconcile any date difference at its source.
|
|
13530
|
+
*/
|
|
13531
|
+
moonLongitude: number;
|
|
13532
|
+
/**
|
|
13533
|
+
* Ayanamsa actually applied, in degrees. The precession offset subtracted from the tropical (sayana) longitude to get the sidereal (nirayana) one. Lahiri sits near 23 deg 43 min for a 1990 birth, KP-Newcomb near 23 deg 38 min.
|
|
13534
|
+
*/
|
|
13535
|
+
ayanamsa: number;
|
|
13536
|
+
/**
|
|
13537
|
+
* 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.
|
|
13538
|
+
*/
|
|
13539
|
+
ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri';
|
|
13524
13540
|
/**
|
|
13525
13541
|
* Mahadasha (major planetary period) in the 120-year Vimshottari dasha cycle. Start and end dates are determined by Moon nakshatra at birth.
|
|
13526
13542
|
*/
|
|
@@ -13541,6 +13557,10 @@ export type GetCurrentDashaResponses = {
|
|
|
13541
13557
|
* Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
|
|
13542
13558
|
*/
|
|
13543
13559
|
durationYears: number;
|
|
13560
|
+
/**
|
|
13561
|
+
* Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
|
|
13562
|
+
*/
|
|
13563
|
+
nominalStartDate?: string;
|
|
13544
13564
|
/**
|
|
13545
13565
|
* Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
|
|
13546
13566
|
*/
|
|
@@ -13566,6 +13586,10 @@ export type GetCurrentDashaResponses = {
|
|
|
13566
13586
|
* Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
|
|
13567
13587
|
*/
|
|
13568
13588
|
durationYears: number;
|
|
13589
|
+
/**
|
|
13590
|
+
* Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
|
|
13591
|
+
*/
|
|
13592
|
+
nominalStartDate?: string;
|
|
13569
13593
|
/**
|
|
13570
13594
|
* Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
|
|
13571
13595
|
*/
|
|
@@ -13595,6 +13619,47 @@ export type GetCurrentDashaResponses = {
|
|
|
13595
13619
|
* Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
|
|
13596
13620
|
*/
|
|
13597
13621
|
durationYears: number;
|
|
13622
|
+
/**
|
|
13623
|
+
* Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
|
|
13624
|
+
*/
|
|
13625
|
+
nominalStartDate?: string;
|
|
13626
|
+
/**
|
|
13627
|
+
* Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
|
|
13628
|
+
*/
|
|
13629
|
+
interpretation?: string;
|
|
13630
|
+
/**
|
|
13631
|
+
* Parent Mahadasha lord under which this Antardasha sub-period runs.
|
|
13632
|
+
*/
|
|
13633
|
+
mahadashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
13634
|
+
/**
|
|
13635
|
+
* Parent Antardasha lord under which this Pratyantardasha runs.
|
|
13636
|
+
*/
|
|
13637
|
+
antardashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
13638
|
+
};
|
|
13639
|
+
/**
|
|
13640
|
+
* Sookshma dasha (sookshma antardasha), the fourth level of the Vimshottari dasha hierarchy. Each Pratyantardasha divides into 9 Sookshma periods running roughly 3 to 30 days each, the finest level exposed by this API and the one used for day-level event timing and muhurta style selection.
|
|
13641
|
+
*/
|
|
13642
|
+
sookshmaDasha: {
|
|
13643
|
+
/**
|
|
13644
|
+
* Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
|
|
13645
|
+
*/
|
|
13646
|
+
planet: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
13647
|
+
/**
|
|
13648
|
+
* Start datetime of this dasha period. Adjusted to the requested timezone offset.
|
|
13649
|
+
*/
|
|
13650
|
+
startDate: string;
|
|
13651
|
+
/**
|
|
13652
|
+
* End datetime of this dasha period. Adjusted to the requested timezone offset.
|
|
13653
|
+
*/
|
|
13654
|
+
endDate: string;
|
|
13655
|
+
/**
|
|
13656
|
+
* Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
|
|
13657
|
+
*/
|
|
13658
|
+
durationYears: number;
|
|
13659
|
+
/**
|
|
13660
|
+
* Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
|
|
13661
|
+
*/
|
|
13662
|
+
nominalStartDate?: string;
|
|
13598
13663
|
/**
|
|
13599
13664
|
* Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
|
|
13600
13665
|
*/
|
|
@@ -13607,6 +13672,10 @@ export type GetCurrentDashaResponses = {
|
|
|
13607
13672
|
* Parent Antardasha lord under which this Pratyantardasha runs.
|
|
13608
13673
|
*/
|
|
13609
13674
|
antardashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
13675
|
+
/**
|
|
13676
|
+
* Parent Pratyantardasha lord under which this Sookshma dasha runs.
|
|
13677
|
+
*/
|
|
13678
|
+
pratyantardashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
13610
13679
|
};
|
|
13611
13680
|
/**
|
|
13612
13681
|
* Time remaining in the currently running Mahadasha (major period).
|
|
@@ -13671,6 +13740,27 @@ export type GetCurrentDashaResponses = {
|
|
|
13671
13740
|
*/
|
|
13672
13741
|
totalDays: number;
|
|
13673
13742
|
};
|
|
13743
|
+
/**
|
|
13744
|
+
* Time remaining in the currently running Sookshma dasha (fourth level). Sookshma periods last days rather than months, so this value turns over quickly.
|
|
13745
|
+
*/
|
|
13746
|
+
remainingInSookshma: {
|
|
13747
|
+
/**
|
|
13748
|
+
* Full years remaining in this Vimshottari dasha period.
|
|
13749
|
+
*/
|
|
13750
|
+
years: number;
|
|
13751
|
+
/**
|
|
13752
|
+
* Additional months remaining beyond full years.
|
|
13753
|
+
*/
|
|
13754
|
+
months: number;
|
|
13755
|
+
/**
|
|
13756
|
+
* Additional days remaining beyond full months.
|
|
13757
|
+
*/
|
|
13758
|
+
days: number;
|
|
13759
|
+
/**
|
|
13760
|
+
* Total remaining days in this dasha period. Useful for progress calculations.
|
|
13761
|
+
*/
|
|
13762
|
+
totalDays: number;
|
|
13763
|
+
};
|
|
13674
13764
|
};
|
|
13675
13765
|
};
|
|
13676
13766
|
|
|
@@ -13698,6 +13788,10 @@ export type GetMajorDashasData = {
|
|
|
13698
13788
|
* Timezone: IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC (e.g. -5 for EST, 1 for CET). 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.
|
|
13699
13789
|
*/
|
|
13700
13790
|
timezone?: number | string;
|
|
13791
|
+
/**
|
|
13792
|
+
* 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.
|
|
13793
|
+
*/
|
|
13794
|
+
ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri';
|
|
13701
13795
|
};
|
|
13702
13796
|
path?: never;
|
|
13703
13797
|
query?: {
|
|
@@ -13830,6 +13924,18 @@ export type GetMajorDashasResponses = {
|
|
|
13830
13924
|
* Dasha lord of the birth nakshatra, rules the first Mahadasha.
|
|
13831
13925
|
*/
|
|
13832
13926
|
nakshatraLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
13927
|
+
/**
|
|
13928
|
+
* Sidereal (nirayana) longitude of the birth Moon in degrees, 0 to 360, measured in the ayanamsa frame reported below. This single value determines the birth nakshatra and therefore every dasha start and end date in this response. Compare it against a reference chart to reconcile any date difference at its source.
|
|
13929
|
+
*/
|
|
13930
|
+
moonLongitude: number;
|
|
13931
|
+
/**
|
|
13932
|
+
* Ayanamsa actually applied, in degrees. The precession offset subtracted from the tropical (sayana) longitude to get the sidereal (nirayana) one. Lahiri sits near 23 deg 43 min for a 1990 birth, KP-Newcomb near 23 deg 38 min.
|
|
13933
|
+
*/
|
|
13934
|
+
ayanamsa: number;
|
|
13935
|
+
/**
|
|
13936
|
+
* 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.
|
|
13937
|
+
*/
|
|
13938
|
+
ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri';
|
|
13833
13939
|
/**
|
|
13834
13940
|
* Remaining balance of the first Mahadasha at birth. Based on Moon degree within the birth nakshatra. partial dasha already elapsed before birth.
|
|
13835
13941
|
*/
|
|
@@ -13871,6 +13977,10 @@ export type GetMajorDashasResponses = {
|
|
|
13871
13977
|
* Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
|
|
13872
13978
|
*/
|
|
13873
13979
|
durationYears: number;
|
|
13980
|
+
/**
|
|
13981
|
+
* Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
|
|
13982
|
+
*/
|
|
13983
|
+
nominalStartDate?: string;
|
|
13874
13984
|
/**
|
|
13875
13985
|
* Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
|
|
13876
13986
|
*/
|
|
@@ -13907,6 +14017,10 @@ export type GetSubDashasData = {
|
|
|
13907
14017
|
* Timezone: IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC (e.g. -5 for EST, 1 for CET). 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.
|
|
13908
14018
|
*/
|
|
13909
14019
|
timezone?: number | string;
|
|
14020
|
+
/**
|
|
14021
|
+
* 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.
|
|
14022
|
+
*/
|
|
14023
|
+
ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri';
|
|
13910
14024
|
};
|
|
13911
14025
|
path: {
|
|
13912
14026
|
/**
|
|
@@ -14036,6 +14150,18 @@ export type GetSubDashasResponses = {
|
|
|
14036
14150
|
* Ruling planet of the requested Mahadasha period.
|
|
14037
14151
|
*/
|
|
14038
14152
|
mahadashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14153
|
+
/**
|
|
14154
|
+
* Sidereal (nirayana) longitude of the birth Moon in degrees, 0 to 360, measured in the ayanamsa frame reported below. This single value determines the birth nakshatra and therefore every dasha start and end date in this response. Compare it against a reference chart to reconcile any date difference at its source.
|
|
14155
|
+
*/
|
|
14156
|
+
moonLongitude: number;
|
|
14157
|
+
/**
|
|
14158
|
+
* Ayanamsa actually applied, in degrees. The precession offset subtracted from the tropical (sayana) longitude to get the sidereal (nirayana) one. Lahiri sits near 23 deg 43 min for a 1990 birth, KP-Newcomb near 23 deg 38 min.
|
|
14159
|
+
*/
|
|
14160
|
+
ayanamsa: number;
|
|
14161
|
+
/**
|
|
14162
|
+
* 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.
|
|
14163
|
+
*/
|
|
14164
|
+
ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri';
|
|
14039
14165
|
/**
|
|
14040
14166
|
* Full details of the parent Mahadasha including start/end dates and duration.
|
|
14041
14167
|
*/
|
|
@@ -14056,13 +14182,17 @@ export type GetSubDashasResponses = {
|
|
|
14056
14182
|
* Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
|
|
14057
14183
|
*/
|
|
14058
14184
|
durationYears: number;
|
|
14185
|
+
/**
|
|
14186
|
+
* Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
|
|
14187
|
+
*/
|
|
14188
|
+
nominalStartDate?: string;
|
|
14059
14189
|
/**
|
|
14060
14190
|
* Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
|
|
14061
14191
|
*/
|
|
14062
14192
|
interpretation?: string;
|
|
14063
14193
|
};
|
|
14064
14194
|
/**
|
|
14065
|
-
*
|
|
14195
|
+
* Antardasha (bhukti) sub-periods within this Mahadasha, proportional to each planet Vimshottari years, sorted chronologically. Nine for any Mahadasha the native lived through in full. FEWER than nine for the first Mahadasha in the chart, because the Vimshottari cycle was already running at birth: the Antardashas that ended before the birth date are not part of the chart, and the one in force at birth starts on the birth date.
|
|
14066
14196
|
*/
|
|
14067
14197
|
antardashas: Array<{
|
|
14068
14198
|
/**
|
|
@@ -14081,6 +14211,10 @@ export type GetSubDashasResponses = {
|
|
|
14081
14211
|
* Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
|
|
14082
14212
|
*/
|
|
14083
14213
|
durationYears: number;
|
|
14214
|
+
/**
|
|
14215
|
+
* Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
|
|
14216
|
+
*/
|
|
14217
|
+
nominalStartDate?: string;
|
|
14084
14218
|
/**
|
|
14085
14219
|
* Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
|
|
14086
14220
|
*/
|
|
@@ -14095,6 +14229,522 @@ export type GetSubDashasResponses = {
|
|
|
14095
14229
|
|
|
14096
14230
|
export type GetSubDashasResponse = GetSubDashasResponses[keyof GetSubDashasResponses];
|
|
14097
14231
|
|
|
14232
|
+
export type GetPratyantardashasData = {
|
|
14233
|
+
body?: {
|
|
14234
|
+
/**
|
|
14235
|
+
* Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
|
|
14236
|
+
*/
|
|
14237
|
+
date: string;
|
|
14238
|
+
/**
|
|
14239
|
+
* Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
|
|
14240
|
+
*/
|
|
14241
|
+
time: string;
|
|
14242
|
+
/**
|
|
14243
|
+
* Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
|
|
14244
|
+
*/
|
|
14245
|
+
latitude: number;
|
|
14246
|
+
/**
|
|
14247
|
+
* Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
|
|
14248
|
+
*/
|
|
14249
|
+
longitude: number;
|
|
14250
|
+
/**
|
|
14251
|
+
* Timezone: IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC (e.g. -5 for EST, 1 for CET). 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.
|
|
14252
|
+
*/
|
|
14253
|
+
timezone?: number | string;
|
|
14254
|
+
/**
|
|
14255
|
+
* 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.
|
|
14256
|
+
*/
|
|
14257
|
+
ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri';
|
|
14258
|
+
};
|
|
14259
|
+
path: {
|
|
14260
|
+
/**
|
|
14261
|
+
* Mahadasha planet name, case-insensitive (e.g. saturn, Saturn, SATURN all work). Valid: Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury.
|
|
14262
|
+
*/
|
|
14263
|
+
mahadasha: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14264
|
+
/**
|
|
14265
|
+
* Antardasha (bhukti) planet name inside that Mahadasha, case-insensitive. Every Mahadasha contains all 9 lords, so a repeat such as saturn/saturn is valid.
|
|
14266
|
+
*/
|
|
14267
|
+
antardasha: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14268
|
+
};
|
|
14269
|
+
query?: {
|
|
14270
|
+
/**
|
|
14271
|
+
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
|
|
14272
|
+
*/
|
|
14273
|
+
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
|
|
14274
|
+
};
|
|
14275
|
+
url: '/vedic-astrology/dasha/sub/{mahadasha}/{antardasha}';
|
|
14276
|
+
};
|
|
14277
|
+
|
|
14278
|
+
export type GetPratyantardashasErrors = {
|
|
14279
|
+
/**
|
|
14280
|
+
* Validation error. `issues[]` lists every failed field.
|
|
14281
|
+
*/
|
|
14282
|
+
400: {
|
|
14283
|
+
/**
|
|
14284
|
+
* First issue summary.
|
|
14285
|
+
*/
|
|
14286
|
+
error: string;
|
|
14287
|
+
code: 'validation_error';
|
|
14288
|
+
/**
|
|
14289
|
+
* Every validation failure. Use this to rebuild a valid request.
|
|
14290
|
+
*/
|
|
14291
|
+
issues: Array<{
|
|
14292
|
+
/**
|
|
14293
|
+
* Dot-separated field path, or "(root)" for top-level.
|
|
14294
|
+
*/
|
|
14295
|
+
path: string;
|
|
14296
|
+
message: string;
|
|
14297
|
+
/**
|
|
14298
|
+
* Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
|
|
14299
|
+
*/
|
|
14300
|
+
code?: string;
|
|
14301
|
+
/**
|
|
14302
|
+
* Expected type for invalid_type.
|
|
14303
|
+
*/
|
|
14304
|
+
expected?: string;
|
|
14305
|
+
/**
|
|
14306
|
+
* Minimum bound for too_small issues.
|
|
14307
|
+
*/
|
|
14308
|
+
minimum?: number | string;
|
|
14309
|
+
/**
|
|
14310
|
+
* Maximum bound for too_big issues.
|
|
14311
|
+
*/
|
|
14312
|
+
maximum?: number | string;
|
|
14313
|
+
inclusive?: boolean;
|
|
14314
|
+
/**
|
|
14315
|
+
* Format name for string issues (regex, email, url, uuid).
|
|
14316
|
+
*/
|
|
14317
|
+
format?: string;
|
|
14318
|
+
/**
|
|
14319
|
+
* Regex pattern when format is regex.
|
|
14320
|
+
*/
|
|
14321
|
+
pattern?: string;
|
|
14322
|
+
}>;
|
|
14323
|
+
};
|
|
14324
|
+
/**
|
|
14325
|
+
* Invalid or missing API key
|
|
14326
|
+
*/
|
|
14327
|
+
401: {
|
|
14328
|
+
/**
|
|
14329
|
+
* Human-readable error message. May change wording.
|
|
14330
|
+
*/
|
|
14331
|
+
error: string;
|
|
14332
|
+
/**
|
|
14333
|
+
* Machine-readable error code. Stable identifier.
|
|
14334
|
+
*/
|
|
14335
|
+
code: string;
|
|
14336
|
+
};
|
|
14337
|
+
/**
|
|
14338
|
+
* Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
|
|
14339
|
+
*/
|
|
14340
|
+
405: {
|
|
14341
|
+
error: string;
|
|
14342
|
+
code: 'method_not_allowed';
|
|
14343
|
+
/**
|
|
14344
|
+
* Allowed HTTP methods for this path. Mirrors the Allow response header.
|
|
14345
|
+
*/
|
|
14346
|
+
allow: Array<string>;
|
|
14347
|
+
/**
|
|
14348
|
+
* Link to the product page for this domain.
|
|
14349
|
+
*/
|
|
14350
|
+
docs?: string;
|
|
14351
|
+
};
|
|
14352
|
+
/**
|
|
14353
|
+
* Monthly rate limit exceeded
|
|
14354
|
+
*/
|
|
14355
|
+
429: {
|
|
14356
|
+
/**
|
|
14357
|
+
* Human-readable error message. May change wording.
|
|
14358
|
+
*/
|
|
14359
|
+
error: string;
|
|
14360
|
+
/**
|
|
14361
|
+
* Machine-readable error code. Stable identifier.
|
|
14362
|
+
*/
|
|
14363
|
+
code: string;
|
|
14364
|
+
};
|
|
14365
|
+
/**
|
|
14366
|
+
* Internal server error
|
|
14367
|
+
*/
|
|
14368
|
+
500: {
|
|
14369
|
+
/**
|
|
14370
|
+
* Human-readable error message. May change wording.
|
|
14371
|
+
*/
|
|
14372
|
+
error: string;
|
|
14373
|
+
/**
|
|
14374
|
+
* Machine-readable error code. Stable identifier.
|
|
14375
|
+
*/
|
|
14376
|
+
code: string;
|
|
14377
|
+
};
|
|
14378
|
+
};
|
|
14379
|
+
|
|
14380
|
+
export type GetPratyantardashasError = GetPratyantardashasErrors[keyof GetPratyantardashasErrors];
|
|
14381
|
+
|
|
14382
|
+
export type GetPratyantardashasResponses = {
|
|
14383
|
+
/**
|
|
14384
|
+
* All 9 Pratyantardasha periods within the specified Mahadasha and Antardasha, with start/end dates and the parent Antardasha period details.
|
|
14385
|
+
*/
|
|
14386
|
+
200: {
|
|
14387
|
+
/**
|
|
14388
|
+
* Ruling planet of the requested Mahadasha period.
|
|
14389
|
+
*/
|
|
14390
|
+
mahadashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14391
|
+
/**
|
|
14392
|
+
* Ruling planet of the requested Antardasha sub-period.
|
|
14393
|
+
*/
|
|
14394
|
+
antardashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14395
|
+
/**
|
|
14396
|
+
* Sidereal (nirayana) longitude of the birth Moon in degrees, 0 to 360, measured in the ayanamsa frame reported below. This single value determines the birth nakshatra and therefore every dasha start and end date in this response. Compare it against a reference chart to reconcile any date difference at its source.
|
|
14397
|
+
*/
|
|
14398
|
+
moonLongitude: number;
|
|
14399
|
+
/**
|
|
14400
|
+
* Ayanamsa actually applied, in degrees. The precession offset subtracted from the tropical (sayana) longitude to get the sidereal (nirayana) one. Lahiri sits near 23 deg 43 min for a 1990 birth, KP-Newcomb near 23 deg 38 min.
|
|
14401
|
+
*/
|
|
14402
|
+
ayanamsa: number;
|
|
14403
|
+
/**
|
|
14404
|
+
* 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.
|
|
14405
|
+
*/
|
|
14406
|
+
ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri';
|
|
14407
|
+
/**
|
|
14408
|
+
* Full details of the parent Antardasha including start/end dates and duration.
|
|
14409
|
+
*/
|
|
14410
|
+
antardashaPeriod: {
|
|
14411
|
+
/**
|
|
14412
|
+
* Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
|
|
14413
|
+
*/
|
|
14414
|
+
planet: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14415
|
+
/**
|
|
14416
|
+
* Start datetime of this dasha period. Adjusted to the requested timezone offset.
|
|
14417
|
+
*/
|
|
14418
|
+
startDate: string;
|
|
14419
|
+
/**
|
|
14420
|
+
* End datetime of this dasha period. Adjusted to the requested timezone offset.
|
|
14421
|
+
*/
|
|
14422
|
+
endDate: string;
|
|
14423
|
+
/**
|
|
14424
|
+
* Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
|
|
14425
|
+
*/
|
|
14426
|
+
durationYears: number;
|
|
14427
|
+
/**
|
|
14428
|
+
* Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
|
|
14429
|
+
*/
|
|
14430
|
+
nominalStartDate?: string;
|
|
14431
|
+
/**
|
|
14432
|
+
* Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
|
|
14433
|
+
*/
|
|
14434
|
+
interpretation?: string;
|
|
14435
|
+
/**
|
|
14436
|
+
* Parent Mahadasha lord under which this Antardasha sub-period runs.
|
|
14437
|
+
*/
|
|
14438
|
+
mahadashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14439
|
+
};
|
|
14440
|
+
/**
|
|
14441
|
+
* Pratyantardasha (antara) periods within this Antardasha, proportional to each planet Vimshottari years, sorted chronologically and starting with the Antardasha lord. Fewer than nine only when the parent Antardasha is the one that was already running at birth, in which case the periods that ended before the birth date are omitted.
|
|
14442
|
+
*/
|
|
14443
|
+
pratyantardashas: Array<{
|
|
14444
|
+
/**
|
|
14445
|
+
* Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
|
|
14446
|
+
*/
|
|
14447
|
+
planet: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14448
|
+
/**
|
|
14449
|
+
* Start datetime of this dasha period. Adjusted to the requested timezone offset.
|
|
14450
|
+
*/
|
|
14451
|
+
startDate: string;
|
|
14452
|
+
/**
|
|
14453
|
+
* End datetime of this dasha period. Adjusted to the requested timezone offset.
|
|
14454
|
+
*/
|
|
14455
|
+
endDate: string;
|
|
14456
|
+
/**
|
|
14457
|
+
* Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
|
|
14458
|
+
*/
|
|
14459
|
+
durationYears: number;
|
|
14460
|
+
/**
|
|
14461
|
+
* Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
|
|
14462
|
+
*/
|
|
14463
|
+
nominalStartDate?: string;
|
|
14464
|
+
/**
|
|
14465
|
+
* Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
|
|
14466
|
+
*/
|
|
14467
|
+
interpretation?: string;
|
|
14468
|
+
/**
|
|
14469
|
+
* Parent Mahadasha lord under which this Antardasha sub-period runs.
|
|
14470
|
+
*/
|
|
14471
|
+
mahadashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14472
|
+
/**
|
|
14473
|
+
* Parent Antardasha lord under which this Pratyantardasha runs.
|
|
14474
|
+
*/
|
|
14475
|
+
antardashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14476
|
+
}>;
|
|
14477
|
+
};
|
|
14478
|
+
};
|
|
14479
|
+
|
|
14480
|
+
export type GetPratyantardashasResponse = GetPratyantardashasResponses[keyof GetPratyantardashasResponses];
|
|
14481
|
+
|
|
14482
|
+
export type GetSookshmaDashasData = {
|
|
14483
|
+
body?: {
|
|
14484
|
+
/**
|
|
14485
|
+
* Birth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
|
|
14486
|
+
*/
|
|
14487
|
+
date: string;
|
|
14488
|
+
/**
|
|
14489
|
+
* Birth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
|
|
14490
|
+
*/
|
|
14491
|
+
time: string;
|
|
14492
|
+
/**
|
|
14493
|
+
* Birth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
|
|
14494
|
+
*/
|
|
14495
|
+
latitude: number;
|
|
14496
|
+
/**
|
|
14497
|
+
* Birth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
|
|
14498
|
+
*/
|
|
14499
|
+
longitude: number;
|
|
14500
|
+
/**
|
|
14501
|
+
* Timezone: IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC (e.g. -5 for EST, 1 for CET). 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.
|
|
14502
|
+
*/
|
|
14503
|
+
timezone?: number | string;
|
|
14504
|
+
/**
|
|
14505
|
+
* 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.
|
|
14506
|
+
*/
|
|
14507
|
+
ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri';
|
|
14508
|
+
};
|
|
14509
|
+
path: {
|
|
14510
|
+
/**
|
|
14511
|
+
* Mahadasha planet name, case-insensitive. Valid: Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter, Saturn, Mercury.
|
|
14512
|
+
*/
|
|
14513
|
+
mahadasha: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14514
|
+
/**
|
|
14515
|
+
* Antardasha (bhukti) planet name inside that Mahadasha, case-insensitive.
|
|
14516
|
+
*/
|
|
14517
|
+
antardasha: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14518
|
+
/**
|
|
14519
|
+
* Pratyantardasha (antara) planet name inside that Antardasha, case-insensitive.
|
|
14520
|
+
*/
|
|
14521
|
+
pratyantardasha: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14522
|
+
};
|
|
14523
|
+
query?: {
|
|
14524
|
+
/**
|
|
14525
|
+
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
|
|
14526
|
+
*/
|
|
14527
|
+
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
|
|
14528
|
+
};
|
|
14529
|
+
url: '/vedic-astrology/dasha/sub/{mahadasha}/{antardasha}/{pratyantardasha}';
|
|
14530
|
+
};
|
|
14531
|
+
|
|
14532
|
+
export type GetSookshmaDashasErrors = {
|
|
14533
|
+
/**
|
|
14534
|
+
* Validation error. `issues[]` lists every failed field.
|
|
14535
|
+
*/
|
|
14536
|
+
400: {
|
|
14537
|
+
/**
|
|
14538
|
+
* First issue summary.
|
|
14539
|
+
*/
|
|
14540
|
+
error: string;
|
|
14541
|
+
code: 'validation_error';
|
|
14542
|
+
/**
|
|
14543
|
+
* Every validation failure. Use this to rebuild a valid request.
|
|
14544
|
+
*/
|
|
14545
|
+
issues: Array<{
|
|
14546
|
+
/**
|
|
14547
|
+
* Dot-separated field path, or "(root)" for top-level.
|
|
14548
|
+
*/
|
|
14549
|
+
path: string;
|
|
14550
|
+
message: string;
|
|
14551
|
+
/**
|
|
14552
|
+
* Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
|
|
14553
|
+
*/
|
|
14554
|
+
code?: string;
|
|
14555
|
+
/**
|
|
14556
|
+
* Expected type for invalid_type.
|
|
14557
|
+
*/
|
|
14558
|
+
expected?: string;
|
|
14559
|
+
/**
|
|
14560
|
+
* Minimum bound for too_small issues.
|
|
14561
|
+
*/
|
|
14562
|
+
minimum?: number | string;
|
|
14563
|
+
/**
|
|
14564
|
+
* Maximum bound for too_big issues.
|
|
14565
|
+
*/
|
|
14566
|
+
maximum?: number | string;
|
|
14567
|
+
inclusive?: boolean;
|
|
14568
|
+
/**
|
|
14569
|
+
* Format name for string issues (regex, email, url, uuid).
|
|
14570
|
+
*/
|
|
14571
|
+
format?: string;
|
|
14572
|
+
/**
|
|
14573
|
+
* Regex pattern when format is regex.
|
|
14574
|
+
*/
|
|
14575
|
+
pattern?: string;
|
|
14576
|
+
}>;
|
|
14577
|
+
};
|
|
14578
|
+
/**
|
|
14579
|
+
* Invalid or missing API key
|
|
14580
|
+
*/
|
|
14581
|
+
401: {
|
|
14582
|
+
/**
|
|
14583
|
+
* Human-readable error message. May change wording.
|
|
14584
|
+
*/
|
|
14585
|
+
error: string;
|
|
14586
|
+
/**
|
|
14587
|
+
* Machine-readable error code. Stable identifier.
|
|
14588
|
+
*/
|
|
14589
|
+
code: string;
|
|
14590
|
+
};
|
|
14591
|
+
/**
|
|
14592
|
+
* Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
|
|
14593
|
+
*/
|
|
14594
|
+
405: {
|
|
14595
|
+
error: string;
|
|
14596
|
+
code: 'method_not_allowed';
|
|
14597
|
+
/**
|
|
14598
|
+
* Allowed HTTP methods for this path. Mirrors the Allow response header.
|
|
14599
|
+
*/
|
|
14600
|
+
allow: Array<string>;
|
|
14601
|
+
/**
|
|
14602
|
+
* Link to the product page for this domain.
|
|
14603
|
+
*/
|
|
14604
|
+
docs?: string;
|
|
14605
|
+
};
|
|
14606
|
+
/**
|
|
14607
|
+
* Monthly rate limit exceeded
|
|
14608
|
+
*/
|
|
14609
|
+
429: {
|
|
14610
|
+
/**
|
|
14611
|
+
* Human-readable error message. May change wording.
|
|
14612
|
+
*/
|
|
14613
|
+
error: string;
|
|
14614
|
+
/**
|
|
14615
|
+
* Machine-readable error code. Stable identifier.
|
|
14616
|
+
*/
|
|
14617
|
+
code: string;
|
|
14618
|
+
};
|
|
14619
|
+
/**
|
|
14620
|
+
* Internal server error
|
|
14621
|
+
*/
|
|
14622
|
+
500: {
|
|
14623
|
+
/**
|
|
14624
|
+
* Human-readable error message. May change wording.
|
|
14625
|
+
*/
|
|
14626
|
+
error: string;
|
|
14627
|
+
/**
|
|
14628
|
+
* Machine-readable error code. Stable identifier.
|
|
14629
|
+
*/
|
|
14630
|
+
code: string;
|
|
14631
|
+
};
|
|
14632
|
+
};
|
|
14633
|
+
|
|
14634
|
+
export type GetSookshmaDashasError = GetSookshmaDashasErrors[keyof GetSookshmaDashasErrors];
|
|
14635
|
+
|
|
14636
|
+
export type GetSookshmaDashasResponses = {
|
|
14637
|
+
/**
|
|
14638
|
+
* All 9 Sookshma dasha periods within the specified Mahadasha, Antardasha, and Pratyantardasha, with start/end dates and the parent Pratyantardasha period details.
|
|
14639
|
+
*/
|
|
14640
|
+
200: {
|
|
14641
|
+
/**
|
|
14642
|
+
* Ruling planet of the requested Mahadasha period.
|
|
14643
|
+
*/
|
|
14644
|
+
mahadashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14645
|
+
/**
|
|
14646
|
+
* Ruling planet of the requested Antardasha sub-period.
|
|
14647
|
+
*/
|
|
14648
|
+
antardashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14649
|
+
/**
|
|
14650
|
+
* Ruling planet of the requested Pratyantardasha sub-sub-period.
|
|
14651
|
+
*/
|
|
14652
|
+
pratyantardashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14653
|
+
/**
|
|
14654
|
+
* Sidereal (nirayana) longitude of the birth Moon in degrees, 0 to 360, measured in the ayanamsa frame reported below. This single value determines the birth nakshatra and therefore every dasha start and end date in this response. Compare it against a reference chart to reconcile any date difference at its source.
|
|
14655
|
+
*/
|
|
14656
|
+
moonLongitude: number;
|
|
14657
|
+
/**
|
|
14658
|
+
* Ayanamsa actually applied, in degrees. The precession offset subtracted from the tropical (sayana) longitude to get the sidereal (nirayana) one. Lahiri sits near 23 deg 43 min for a 1990 birth, KP-Newcomb near 23 deg 38 min.
|
|
14659
|
+
*/
|
|
14660
|
+
ayanamsa: number;
|
|
14661
|
+
/**
|
|
14662
|
+
* 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.
|
|
14663
|
+
*/
|
|
14664
|
+
ayanamsaType: 'kp-newcomb' | 'kp-old' | 'lahiri';
|
|
14665
|
+
/**
|
|
14666
|
+
* Full details of the parent Pratyantardasha including start/end dates and duration.
|
|
14667
|
+
*/
|
|
14668
|
+
pratyantardashaPeriod: {
|
|
14669
|
+
/**
|
|
14670
|
+
* Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
|
|
14671
|
+
*/
|
|
14672
|
+
planet: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14673
|
+
/**
|
|
14674
|
+
* Start datetime of this dasha period. Adjusted to the requested timezone offset.
|
|
14675
|
+
*/
|
|
14676
|
+
startDate: string;
|
|
14677
|
+
/**
|
|
14678
|
+
* End datetime of this dasha period. Adjusted to the requested timezone offset.
|
|
14679
|
+
*/
|
|
14680
|
+
endDate: string;
|
|
14681
|
+
/**
|
|
14682
|
+
* Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
|
|
14683
|
+
*/
|
|
14684
|
+
durationYears: number;
|
|
14685
|
+
/**
|
|
14686
|
+
* Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
|
|
14687
|
+
*/
|
|
14688
|
+
nominalStartDate?: string;
|
|
14689
|
+
/**
|
|
14690
|
+
* Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
|
|
14691
|
+
*/
|
|
14692
|
+
interpretation?: string;
|
|
14693
|
+
/**
|
|
14694
|
+
* Parent Mahadasha lord under which this Antardasha sub-period runs.
|
|
14695
|
+
*/
|
|
14696
|
+
mahadashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14697
|
+
/**
|
|
14698
|
+
* Parent Antardasha lord under which this Pratyantardasha runs.
|
|
14699
|
+
*/
|
|
14700
|
+
antardashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14701
|
+
};
|
|
14702
|
+
/**
|
|
14703
|
+
* Sookshma dasha periods within this Pratyantardasha, proportional to each planet Vimshottari years, sorted chronologically and starting with the Pratyantardasha lord. Fewer than nine only when the parent Pratyantardasha is the one that was already running at birth, in which case the periods that ended before the birth date are omitted.
|
|
14704
|
+
*/
|
|
14705
|
+
sookshmaDashas: Array<{
|
|
14706
|
+
/**
|
|
14707
|
+
* Ruling graha of this Vimshottari dasha period. One of 9 planets in the Ketu-Venus-Sun-Moon-Mars-Rahu-Jupiter-Saturn-Mercury sequence.
|
|
14708
|
+
*/
|
|
14709
|
+
planet: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14710
|
+
/**
|
|
14711
|
+
* Start datetime of this dasha period. Adjusted to the requested timezone offset.
|
|
14712
|
+
*/
|
|
14713
|
+
startDate: string;
|
|
14714
|
+
/**
|
|
14715
|
+
* End datetime of this dasha period. Adjusted to the requested timezone offset.
|
|
14716
|
+
*/
|
|
14717
|
+
endDate: string;
|
|
14718
|
+
/**
|
|
14719
|
+
* Duration of this dasha period in years. Mahadasha durations range from 6 years (Sun) to 20 years (Venus).
|
|
14720
|
+
*/
|
|
14721
|
+
durationYears: number;
|
|
14722
|
+
/**
|
|
14723
|
+
* Theoretical start of this period, present ONLY when the birth date truncated it. The Vimshottari cycle is already running when a native is born, so the period in force at birth began earlier: startDate is clipped to the birth moment while this field keeps the real start. Its presence is also why the first period of a chart can contain fewer than 9 sub-periods, the earlier ones having finished before birth. Absent on every period that runs its full length.
|
|
14724
|
+
*/
|
|
14725
|
+
nominalStartDate?: string;
|
|
14726
|
+
/**
|
|
14727
|
+
* Vedic interpretation of the planetary period describing themes, karmic lessons, and life areas affected by this graha.
|
|
14728
|
+
*/
|
|
14729
|
+
interpretation?: string;
|
|
14730
|
+
/**
|
|
14731
|
+
* Parent Mahadasha lord under which this Antardasha sub-period runs.
|
|
14732
|
+
*/
|
|
14733
|
+
mahadashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14734
|
+
/**
|
|
14735
|
+
* Parent Antardasha lord under which this Pratyantardasha runs.
|
|
14736
|
+
*/
|
|
14737
|
+
antardashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14738
|
+
/**
|
|
14739
|
+
* Parent Pratyantardasha lord under which this Sookshma dasha runs.
|
|
14740
|
+
*/
|
|
14741
|
+
pratyantardashaLord: 'Ketu' | 'Venus' | 'Sun' | 'Moon' | 'Mars' | 'Rahu' | 'Jupiter' | 'Saturn' | 'Mercury';
|
|
14742
|
+
}>;
|
|
14743
|
+
};
|
|
14744
|
+
};
|
|
14745
|
+
|
|
14746
|
+
export type GetSookshmaDashasResponse = GetSookshmaDashasResponses[keyof GetSookshmaDashasResponses];
|
|
14747
|
+
|
|
14098
14748
|
export type GetBasicPanchangData = {
|
|
14099
14749
|
body?: {
|
|
14100
14750
|
/**
|