@roxyapi/sdk 1.2.63 → 1.2.64
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 +17 -1
- package/dist/factory.js +17 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +7 -1
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +887 -125
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/docs/llms-full.txt +14 -0
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/sdk.gen.ts +18 -1
- package/src/types.gen.ts +892 -125
- package/src/version.ts +1 -1
package/src/types.gen.ts
CHANGED
|
@@ -321,6 +321,10 @@ export type NatalChartResponse = {
|
|
|
321
321
|
* Absolute ecliptic longitude of the Part of Fortune (0-360).
|
|
322
322
|
*/
|
|
323
323
|
longitude: number;
|
|
324
|
+
/**
|
|
325
|
+
* House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
|
|
326
|
+
*/
|
|
327
|
+
house: number;
|
|
324
328
|
/**
|
|
325
329
|
* Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
|
|
326
330
|
*/
|
|
@@ -346,6 +350,10 @@ export type NatalChartResponse = {
|
|
|
346
350
|
* Absolute ecliptic longitude of the Vertex (0-360).
|
|
347
351
|
*/
|
|
348
352
|
longitude: number;
|
|
353
|
+
/**
|
|
354
|
+
* House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
|
|
355
|
+
*/
|
|
356
|
+
house: number;
|
|
349
357
|
/**
|
|
350
358
|
* Vertex sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
|
|
351
359
|
*/
|
|
@@ -1082,11 +1090,11 @@ export type AstrocartographyResponse = {
|
|
|
1082
1090
|
*/
|
|
1083
1091
|
mc: {
|
|
1084
1092
|
/**
|
|
1085
|
-
* Constant geographic longitude of this vertical meridian line in decimal degrees. The body culminates (MC)
|
|
1093
|
+
* Constant geographic longitude of this vertical meridian line in decimal degrees. The body culminates (MC) along it, so plot it as a straight north to south line.
|
|
1086
1094
|
*/
|
|
1087
1095
|
longitude: number;
|
|
1088
1096
|
/**
|
|
1089
|
-
* Plain language meaning of this
|
|
1097
|
+
* Plain language meaning of this Midheaven planetary line for relocation, suitable for chart reports and AI agents.
|
|
1090
1098
|
*/
|
|
1091
1099
|
interpretation: string;
|
|
1092
1100
|
};
|
|
@@ -1095,11 +1103,11 @@ export type AstrocartographyResponse = {
|
|
|
1095
1103
|
*/
|
|
1096
1104
|
ic: {
|
|
1097
1105
|
/**
|
|
1098
|
-
* Constant geographic longitude of this vertical meridian line in decimal degrees. The body
|
|
1106
|
+
* Constant geographic longitude of this vertical meridian line in decimal degrees. The body anti-culminates (IC) along it, so plot it as a straight north to south line.
|
|
1099
1107
|
*/
|
|
1100
1108
|
longitude: number;
|
|
1101
1109
|
/**
|
|
1102
|
-
* Plain language meaning of this
|
|
1110
|
+
* Plain language meaning of this Imum Coeli planetary line for relocation, suitable for chart reports and AI agents.
|
|
1103
1111
|
*/
|
|
1104
1112
|
interpretation: string;
|
|
1105
1113
|
};
|
|
@@ -1108,7 +1116,7 @@ export type AstrocartographyResponse = {
|
|
|
1108
1116
|
*/
|
|
1109
1117
|
ascendant: {
|
|
1110
1118
|
/**
|
|
1111
|
-
* Sampled geographic points tracing this rising
|
|
1119
|
+
* Sampled geographic points tracing this rising line from 70 South to 70 North. Join them in latitude order to draw the curved planetary line on a world map.
|
|
1112
1120
|
*/
|
|
1113
1121
|
points: Array<{
|
|
1114
1122
|
/**
|
|
@@ -1116,7 +1124,7 @@ export type AstrocartographyResponse = {
|
|
|
1116
1124
|
*/
|
|
1117
1125
|
latitude: number;
|
|
1118
1126
|
/**
|
|
1119
|
-
* Geographic longitude in decimal degrees where the body sits exactly on the horizon at this latitude.
|
|
1127
|
+
* Geographic longitude in decimal degrees where the body sits exactly on the eastern (rising) horizon at this latitude.
|
|
1120
1128
|
*/
|
|
1121
1129
|
longitude: number;
|
|
1122
1130
|
}>;
|
|
@@ -1125,7 +1133,7 @@ export type AstrocartographyResponse = {
|
|
|
1125
1133
|
*/
|
|
1126
1134
|
circumpolarBeyond: number | null;
|
|
1127
1135
|
/**
|
|
1128
|
-
* Plain language meaning of this rising
|
|
1136
|
+
* Plain language meaning of this rising (Ascendant) planetary line for relocation, suitable for chart reports and AI agents.
|
|
1129
1137
|
*/
|
|
1130
1138
|
interpretation: string;
|
|
1131
1139
|
};
|
|
@@ -1134,7 +1142,7 @@ export type AstrocartographyResponse = {
|
|
|
1134
1142
|
*/
|
|
1135
1143
|
descendant: {
|
|
1136
1144
|
/**
|
|
1137
|
-
* Sampled geographic points tracing this
|
|
1145
|
+
* Sampled geographic points tracing this setting line from 70 South to 70 North. Join them in latitude order to draw the curved planetary line on a world map.
|
|
1138
1146
|
*/
|
|
1139
1147
|
points: Array<{
|
|
1140
1148
|
/**
|
|
@@ -1142,7 +1150,7 @@ export type AstrocartographyResponse = {
|
|
|
1142
1150
|
*/
|
|
1143
1151
|
latitude: number;
|
|
1144
1152
|
/**
|
|
1145
|
-
* Geographic longitude in decimal degrees where the body sits exactly on the horizon at this latitude.
|
|
1153
|
+
* Geographic longitude in decimal degrees where the body sits exactly on the western (setting) horizon at this latitude.
|
|
1146
1154
|
*/
|
|
1147
1155
|
longitude: number;
|
|
1148
1156
|
}>;
|
|
@@ -1151,7 +1159,7 @@ export type AstrocartographyResponse = {
|
|
|
1151
1159
|
*/
|
|
1152
1160
|
circumpolarBeyond: number | null;
|
|
1153
1161
|
/**
|
|
1154
|
-
* Plain language meaning of this
|
|
1162
|
+
* Plain language meaning of this setting (Descendant) planetary line for relocation, suitable for chart reports and AI agents.
|
|
1155
1163
|
*/
|
|
1156
1164
|
interpretation: string;
|
|
1157
1165
|
};
|
|
@@ -1292,6 +1300,10 @@ export type RelocationChartResponse = {
|
|
|
1292
1300
|
* Absolute ecliptic longitude of the Vertex (0-360).
|
|
1293
1301
|
*/
|
|
1294
1302
|
longitude: number;
|
|
1303
|
+
/**
|
|
1304
|
+
* House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
|
|
1305
|
+
*/
|
|
1306
|
+
house: number;
|
|
1295
1307
|
/**
|
|
1296
1308
|
* Vertex sign name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it.
|
|
1297
1309
|
*/
|
|
@@ -11248,6 +11260,10 @@ export type PostAstrologySolarReturnResponses = {
|
|
|
11248
11260
|
* Absolute ecliptic longitude of the Part of Fortune (0-360).
|
|
11249
11261
|
*/
|
|
11250
11262
|
longitude: number;
|
|
11263
|
+
/**
|
|
11264
|
+
* House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
|
|
11265
|
+
*/
|
|
11266
|
+
house: number;
|
|
11251
11267
|
/**
|
|
11252
11268
|
* Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
|
|
11253
11269
|
*/
|
|
@@ -11269,6 +11285,10 @@ export type PostAstrologySolarReturnResponses = {
|
|
|
11269
11285
|
* Absolute ecliptic longitude of the Vertex (0-360).
|
|
11270
11286
|
*/
|
|
11271
11287
|
longitude: number;
|
|
11288
|
+
/**
|
|
11289
|
+
* House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
|
|
11290
|
+
*/
|
|
11291
|
+
house: number;
|
|
11272
11292
|
};
|
|
11273
11293
|
};
|
|
11274
11294
|
/**
|
|
@@ -11629,6 +11649,10 @@ export type PostAstrologyLunarReturnResponses = {
|
|
|
11629
11649
|
* Absolute ecliptic longitude of the Part of Fortune (0-360).
|
|
11630
11650
|
*/
|
|
11631
11651
|
longitude: number;
|
|
11652
|
+
/**
|
|
11653
|
+
* House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
|
|
11654
|
+
*/
|
|
11655
|
+
house: number;
|
|
11632
11656
|
/**
|
|
11633
11657
|
* Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
|
|
11634
11658
|
*/
|
|
@@ -11650,6 +11674,10 @@ export type PostAstrologyLunarReturnResponses = {
|
|
|
11650
11674
|
* Absolute ecliptic longitude of the Vertex (0-360).
|
|
11651
11675
|
*/
|
|
11652
11676
|
longitude: number;
|
|
11677
|
+
/**
|
|
11678
|
+
* House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
|
|
11679
|
+
*/
|
|
11680
|
+
house: number;
|
|
11653
11681
|
};
|
|
11654
11682
|
};
|
|
11655
11683
|
/**
|
|
@@ -13559,6 +13587,10 @@ export type PostAstrologyPlanetaryReturnsResponses = {
|
|
|
13559
13587
|
* Absolute ecliptic longitude of the Part of Fortune (0-360).
|
|
13560
13588
|
*/
|
|
13561
13589
|
longitude: number;
|
|
13590
|
+
/**
|
|
13591
|
+
* House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
|
|
13592
|
+
*/
|
|
13593
|
+
house: number;
|
|
13562
13594
|
/**
|
|
13563
13595
|
* Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
|
|
13564
13596
|
*/
|
|
@@ -13580,6 +13612,10 @@ export type PostAstrologyPlanetaryReturnsResponses = {
|
|
|
13580
13612
|
* Absolute ecliptic longitude of the Vertex (0-360).
|
|
13581
13613
|
*/
|
|
13582
13614
|
longitude: number;
|
|
13615
|
+
/**
|
|
13616
|
+
* House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
|
|
13617
|
+
*/
|
|
13618
|
+
house: number;
|
|
13583
13619
|
};
|
|
13584
13620
|
};
|
|
13585
13621
|
/**
|
|
@@ -18545,28 +18581,36 @@ export type PostVedicAstrologyDashaSubByMahadashaByAntardashaByPratyantardashaBy
|
|
|
18545
18581
|
|
|
18546
18582
|
export type PostVedicAstrologyDashaSubByMahadashaByAntardashaByPratyantardashaBySookshmaResponse = PostVedicAstrologyDashaSubByMahadashaByAntardashaByPratyantardashaBySookshmaResponses[keyof PostVedicAstrologyDashaSubByMahadashaByAntardashaByPratyantardashaBySookshmaResponses];
|
|
18547
18583
|
|
|
18548
|
-
export type
|
|
18584
|
+
export type PostVedicAstrologyDailyData = {
|
|
18549
18585
|
body?: {
|
|
18550
18586
|
/**
|
|
18551
|
-
*
|
|
18587
|
+
* Birth date in YYYY-MM-DD format. Fixes the Janma Rashi and Janma Nakshatra every part of this reading is counted from, and the natal Ashtakavarga the bindu gate reads.
|
|
18552
18588
|
*/
|
|
18553
|
-
|
|
18589
|
+
birthDate: string;
|
|
18554
18590
|
/**
|
|
18555
|
-
*
|
|
18591
|
+
* Birth time in HH:MM:SS format (24-hour). The Moon moves about half a degree an hour, so an error here moves the Janma Rashi and Janma Nakshatra and therefore every gochara house count, the tarabala and the chandrabala in this response.
|
|
18556
18592
|
*/
|
|
18557
|
-
|
|
18593
|
+
birthTime: string;
|
|
18558
18594
|
/**
|
|
18559
|
-
*
|
|
18595
|
+
* Birth location latitude in decimal degrees. Sets the natal house cusps behind the Ashtakavarga scorecard and the KP significators, and the sunrise that opens the panchanga day.
|
|
18560
18596
|
*/
|
|
18561
18597
|
latitude: number;
|
|
18562
18598
|
/**
|
|
18563
|
-
*
|
|
18599
|
+
* Birth location longitude in decimal degrees. Affects local sidereal time for the natal cusps and the sunrise the reading is composed at.
|
|
18564
18600
|
*/
|
|
18565
18601
|
longitude: number;
|
|
18566
18602
|
/**
|
|
18567
|
-
* Timezone
|
|
18603
|
+
* Timezone: IANA name (e.g. "Asia/Kolkata", "America/New_York") OR decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). IANA strings are resolved to the DST-correct offset for the date being read. Interprets the birth time and the civil date below. Defaults to 5.5.
|
|
18568
18604
|
*/
|
|
18569
18605
|
timezone?: number | string;
|
|
18606
|
+
/**
|
|
18607
|
+
* Civil date to read, in YYYY-MM-DD format. Defaults to today (UTC). The panchanga day it names runs from sunrise at the birth coordinates to the next sunrise, not from midnight, so a reading for this date covers the night that follows it.
|
|
18608
|
+
*/
|
|
18609
|
+
date?: string;
|
|
18610
|
+
/**
|
|
18611
|
+
* Lunar node type for Rahu and Ketu. "mean" uses the smooth mean node, which is the traditional Vedic default and what printed panchangs use. "true" uses the osculating node, which swings up to 1.5 degrees either side of mean and can therefore move a node into a different rashi and change its gochara house. Defaults to "mean".
|
|
18612
|
+
*/
|
|
18613
|
+
nodeType?: 'mean' | 'true';
|
|
18570
18614
|
};
|
|
18571
18615
|
path?: never;
|
|
18572
18616
|
query?: {
|
|
@@ -18574,11 +18618,15 @@ export type PostVedicAstrologyPanchangBasicData = {
|
|
|
18574
18618
|
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
|
|
18575
18619
|
*/
|
|
18576
18620
|
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
|
|
18621
|
+
/**
|
|
18622
|
+
* 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".
|
|
18623
|
+
*/
|
|
18624
|
+
focus?: 'general' | 'finance';
|
|
18577
18625
|
};
|
|
18578
|
-
url: '/vedic-astrology/
|
|
18626
|
+
url: '/vedic-astrology/daily';
|
|
18579
18627
|
};
|
|
18580
18628
|
|
|
18581
|
-
export type
|
|
18629
|
+
export type PostVedicAstrologyDailyErrors = {
|
|
18582
18630
|
/**
|
|
18583
18631
|
* Validation error. `issues[]` lists every failed field.
|
|
18584
18632
|
*/
|
|
@@ -18680,165 +18728,876 @@ export type PostVedicAstrologyPanchangBasicErrors = {
|
|
|
18680
18728
|
};
|
|
18681
18729
|
};
|
|
18682
18730
|
|
|
18683
|
-
export type
|
|
18731
|
+
export type PostVedicAstrologyDailyError = PostVedicAstrologyDailyErrors[keyof PostVedicAstrologyDailyErrors];
|
|
18684
18732
|
|
|
18685
|
-
export type
|
|
18733
|
+
export type PostVedicAstrologyDailyResponses = {
|
|
18686
18734
|
/**
|
|
18687
|
-
*
|
|
18735
|
+
* Daily reading composed successfully
|
|
18688
18736
|
*/
|
|
18689
18737
|
200: {
|
|
18690
18738
|
/**
|
|
18691
|
-
*
|
|
18739
|
+
* Every sidereal frame behind this reading, so a cached or forwarded payload is self describing and no number sits under a label it did not come from. TWO ayanamsas are in play by design: positions are Lahiri, and the Placidus cusps plus the KP significators are KP-Newcomb, which is the frame KP owns and the split a practitioner actually works in. The two differ by about 0.09 degrees, which is under a third of a KP sub-lord span and enough to move a placement near a boundary, so the reading declares which produced what rather than leaving a caller to guess. THREE entries for two ayanamsas, because Lahiri is read at two instants: the birth moment and the sunrise of the day being read, roughly half a degree apart on a chart forty years old, six times the gap between the two ayanamsas themselves. There is no ayanamsa request field on this route and there will not be one, since a single selector cannot honour two frames and accepting it would promise something the composition cannot deliver.
|
|
18692
18740
|
*/
|
|
18693
|
-
|
|
18741
|
+
frames: {
|
|
18694
18742
|
/**
|
|
18695
|
-
*
|
|
18743
|
+
* Lahiri at the birth instant. Produces the natal Moon this whole reading is counted from, the Vimshottari balance, and the natal graha rows of the Ashtakavarga scorecard the bindu gate reads.
|
|
18696
18744
|
*/
|
|
18697
|
-
|
|
18745
|
+
natal: {
|
|
18746
|
+
/**
|
|
18747
|
+
* Sidereal frame this part of the reading was cast in. Always "lahiri" here: it is not a caller choice, because the composition runs two frames at once and a single request field could only ever name one of them.
|
|
18748
|
+
*/
|
|
18749
|
+
ayanamsa: string;
|
|
18750
|
+
/**
|
|
18751
|
+
* Degrees actually subtracted from every tropical longitude this frame produced. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
|
|
18752
|
+
*/
|
|
18753
|
+
ayanamsaDegrees: number;
|
|
18754
|
+
/**
|
|
18755
|
+
* ISO instant the ayanamsa was read at. Part of the value, not metadata: an ayanamsa moves about 50.3 arcseconds a year, so the same frame read at a birth in 1984 and at a transit in 2026 differs by more than half a degree.
|
|
18756
|
+
*/
|
|
18757
|
+
at: string;
|
|
18758
|
+
/**
|
|
18759
|
+
* Response sections this frame is a determinant of, as paths into this payload. One of subject, grahas, panchanga, tara, chandrabala, dasha, areas.finance. A section appears under EVERY frame that feeds it, which is why grahas is listed three times: the transiting longitudes and the natal Moon they are counted from are both Lahiri read at different instants, while the Ashtakavarga Lagna row behind binduCount and kaksha is KP-Newcomb. Exactly two sections belong to one frame alone, subject to the natal frame and panchanga to the transit frame.
|
|
18760
|
+
*/
|
|
18761
|
+
governs: Array<'subject' | 'grahas' | 'panchanga' | 'tara' | 'chandrabala' | 'dasha' | 'areas.finance'>;
|
|
18762
|
+
};
|
|
18698
18763
|
/**
|
|
18699
|
-
*
|
|
18764
|
+
* Lahiri at sunrise on the day being read. Produces every transiting longitude and every panchanga limb. Inside one day precession moves it 0.14 arcseconds, so this one value speaks for every limb resolved between the two sunrises.
|
|
18700
18765
|
*/
|
|
18701
|
-
|
|
18766
|
+
transit: {
|
|
18767
|
+
/**
|
|
18768
|
+
* Sidereal frame this part of the reading was cast in. Always "lahiri" here: it is not a caller choice, because the composition runs two frames at once and a single request field could only ever name one of them.
|
|
18769
|
+
*/
|
|
18770
|
+
ayanamsa: string;
|
|
18771
|
+
/**
|
|
18772
|
+
* Degrees actually subtracted from every tropical longitude this frame produced. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
|
|
18773
|
+
*/
|
|
18774
|
+
ayanamsaDegrees: number;
|
|
18775
|
+
/**
|
|
18776
|
+
* ISO instant the ayanamsa was read at. Part of the value, not metadata: an ayanamsa moves about 50.3 arcseconds a year, so the same frame read at a birth in 1984 and at a transit in 2026 differs by more than half a degree.
|
|
18777
|
+
*/
|
|
18778
|
+
at: string;
|
|
18779
|
+
/**
|
|
18780
|
+
* Response sections this frame is a determinant of, as paths into this payload. One of subject, grahas, panchanga, tara, chandrabala, dasha, areas.finance. A section appears under EVERY frame that feeds it, which is why grahas is listed three times: the transiting longitudes and the natal Moon they are counted from are both Lahiri read at different instants, while the Ashtakavarga Lagna row behind binduCount and kaksha is KP-Newcomb. Exactly two sections belong to one frame alone, subject to the natal frame and panchanga to the transit frame.
|
|
18781
|
+
*/
|
|
18782
|
+
governs: Array<'subject' | 'grahas' | 'panchanga' | 'tara' | 'chandrabala' | 'dasha' | 'areas.finance'>;
|
|
18783
|
+
};
|
|
18702
18784
|
/**
|
|
18703
|
-
*
|
|
18785
|
+
* KP-Newcomb, read at UTC midnight of the birth date. Produces the Placidus cusps behind the Ashtakavarga Lagna row and the KP significators behind the finance area, exactly as every KP route on this API computes them.
|
|
18704
18786
|
*/
|
|
18705
|
-
|
|
18787
|
+
kp: {
|
|
18788
|
+
/**
|
|
18789
|
+
* Sidereal frame this part of the reading was cast in. Always "kp-newcomb" here: it is not a caller choice, because the composition runs two frames at once and a single request field could only ever name one of them.
|
|
18790
|
+
*/
|
|
18791
|
+
ayanamsa: string;
|
|
18792
|
+
/**
|
|
18793
|
+
* Degrees actually subtracted from every tropical longitude this frame produced. Subtract it back to recover the tropical positions, or compare it against your reference software to confirm you are in the same frame before chasing a placement difference.
|
|
18794
|
+
*/
|
|
18795
|
+
ayanamsaDegrees: number;
|
|
18796
|
+
/**
|
|
18797
|
+
* ISO instant the ayanamsa was read at. Part of the value, not metadata: an ayanamsa moves about 50.3 arcseconds a year, so the same frame read at a birth in 1984 and at a transit in 2026 differs by more than half a degree.
|
|
18798
|
+
*/
|
|
18799
|
+
at: string;
|
|
18800
|
+
/**
|
|
18801
|
+
* Response sections this frame is a determinant of, as paths into this payload. One of subject, grahas, panchanga, tara, chandrabala, dasha, areas.finance. A section appears under EVERY frame that feeds it, which is why grahas is listed three times: the transiting longitudes and the natal Moon they are counted from are both Lahiri read at different instants, while the Ashtakavarga Lagna row behind binduCount and kaksha is KP-Newcomb. Exactly two sections belong to one frame alone, subject to the natal frame and panchanga to the transit frame.
|
|
18802
|
+
*/
|
|
18803
|
+
governs: Array<'subject' | 'grahas' | 'panchanga' | 'tara' | 'chandrabala' | 'dasha' | 'areas.finance'>;
|
|
18804
|
+
};
|
|
18805
|
+
};
|
|
18806
|
+
/**
|
|
18807
|
+
* Civil date this reading covers, echoing the request field or the UTC date it defaulted to.
|
|
18808
|
+
*/
|
|
18809
|
+
date: string;
|
|
18810
|
+
/**
|
|
18811
|
+
* ISO instant the panchanga day begins, which is SUNRISE at the birth coordinates and not midnight. Every limb below is resolved at this instant. Where the Sun does not rise, local noon is used instead and the substitution is named in degraded rather than applied silently.
|
|
18812
|
+
*/
|
|
18813
|
+
dayStart: string;
|
|
18814
|
+
/**
|
|
18815
|
+
* ISO instant the panchanga day ends, which is the next sunrise.
|
|
18816
|
+
*/
|
|
18817
|
+
dayEnd: string;
|
|
18818
|
+
/**
|
|
18819
|
+
* The two natal reference points this whole reading is counted from, plus the longitude they come from.
|
|
18820
|
+
*/
|
|
18821
|
+
subject: {
|
|
18706
18822
|
/**
|
|
18707
|
-
*
|
|
18823
|
+
* Natal Moon rashi, the reference point every gochara house count in this response is taken from. Always English.
|
|
18708
18824
|
*/
|
|
18709
|
-
|
|
18825
|
+
janmaRashi: string;
|
|
18710
18826
|
/**
|
|
18711
|
-
*
|
|
18827
|
+
* Natal Moon nakshatra, the reference point the tarabala is counted from. Canonical Sanskrit.
|
|
18712
18828
|
*/
|
|
18713
|
-
|
|
18829
|
+
janmaNakshatra: string;
|
|
18714
18830
|
/**
|
|
18715
|
-
*
|
|
18831
|
+
* Janma Nakshatra number 1 to 27, counted from Ashwini.
|
|
18716
18832
|
*/
|
|
18717
|
-
|
|
18833
|
+
janmaNakshatraNumber: number;
|
|
18718
18834
|
/**
|
|
18719
|
-
*
|
|
18835
|
+
* Sidereal longitude of the natal Moon in degrees. The single value both reference points are derived from, so any disagreement with a reference chart can be traced to its source rather than to a verdict.
|
|
18720
18836
|
*/
|
|
18721
|
-
|
|
18837
|
+
moonLongitude: number;
|
|
18722
18838
|
};
|
|
18723
18839
|
/**
|
|
18724
|
-
*
|
|
18840
|
+
* The four panchanga limbs, each resolved at sunrise and each carrying the instant it gives way, so a client can label the whole day rather than asserting one value for it.
|
|
18725
18841
|
*/
|
|
18726
|
-
|
|
18842
|
+
panchanga: {
|
|
18727
18843
|
/**
|
|
18728
|
-
*
|
|
18844
|
+
* Weekday of the panchanga day. The Hindu vara runs sunrise to sunrise, so it can differ from the civil weekday of the same date before dawn. Always English.
|
|
18729
18845
|
*/
|
|
18730
|
-
|
|
18846
|
+
vara: string;
|
|
18731
18847
|
/**
|
|
18732
|
-
*
|
|
18848
|
+
* The same weekday under its Sanskrit name.
|
|
18733
18849
|
*/
|
|
18734
|
-
|
|
18850
|
+
varaSanskrit: string;
|
|
18735
18851
|
/**
|
|
18736
|
-
*
|
|
18852
|
+
* Lunar fortnight at sunrise: Shukla for the waxing half, Krishna for the waning half.
|
|
18737
18853
|
*/
|
|
18738
|
-
|
|
18854
|
+
paksha: string;
|
|
18739
18855
|
/**
|
|
18740
|
-
*
|
|
18856
|
+
* Tithi (lunar day) running at sunrise, with the instant it ends. The tithi is the 12-degree step of the Moon away from the Sun, so its length varies through the month.
|
|
18741
18857
|
*/
|
|
18742
|
-
|
|
18858
|
+
tithi: {
|
|
18859
|
+
/**
|
|
18860
|
+
* tithi number in its own cycle, resolved at sunrise.
|
|
18861
|
+
*/
|
|
18862
|
+
number: number;
|
|
18863
|
+
/**
|
|
18864
|
+
* Name of the tithi running at sunrise. Canonical Sanskrit, so it stays safe to compare against in code.
|
|
18865
|
+
*/
|
|
18866
|
+
name: string;
|
|
18867
|
+
/**
|
|
18868
|
+
* ISO instant this tithi ends. Read from the same transition search POST /panchang/detailed publishes, never recomputed here, so the two endpoints cannot disagree about when the event happens.
|
|
18869
|
+
*/
|
|
18870
|
+
validTo: string;
|
|
18871
|
+
/**
|
|
18872
|
+
* The tithi that follows, so the rest of the day can be labelled without a second request.
|
|
18873
|
+
*/
|
|
18874
|
+
next: string;
|
|
18875
|
+
/**
|
|
18876
|
+
* How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
|
|
18877
|
+
*/
|
|
18878
|
+
timescale: 'hours' | 'days' | 'months' | 'years';
|
|
18879
|
+
};
|
|
18743
18880
|
/**
|
|
18744
|
-
*
|
|
18881
|
+
* Nakshatra the Moon occupies at sunrise, with the instant it ends. This is the sky-wide limb; for what it means to THIS native, read the tara array.
|
|
18745
18882
|
*/
|
|
18746
|
-
|
|
18883
|
+
nakshatra: {
|
|
18884
|
+
/**
|
|
18885
|
+
* nakshatra number in its own cycle, resolved at sunrise.
|
|
18886
|
+
*/
|
|
18887
|
+
number: number;
|
|
18888
|
+
/**
|
|
18889
|
+
* Name of the nakshatra running at sunrise. Canonical Sanskrit, so it stays safe to compare against in code.
|
|
18890
|
+
*/
|
|
18891
|
+
name: string;
|
|
18892
|
+
/**
|
|
18893
|
+
* ISO instant this nakshatra ends. Read from the same transition search POST /panchang/detailed publishes, never recomputed here, so the two endpoints cannot disagree about when the event happens.
|
|
18894
|
+
*/
|
|
18895
|
+
validTo: string;
|
|
18896
|
+
/**
|
|
18897
|
+
* The nakshatra that follows, so the rest of the day can be labelled without a second request.
|
|
18898
|
+
*/
|
|
18899
|
+
next: string;
|
|
18900
|
+
/**
|
|
18901
|
+
* How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
|
|
18902
|
+
*/
|
|
18903
|
+
timescale: 'hours' | 'days' | 'months' | 'years';
|
|
18904
|
+
};
|
|
18747
18905
|
/**
|
|
18748
|
-
*
|
|
18906
|
+
* Nitya yoga running at sunrise, with the instant it ends. The 27 yogas step through the combined longitude of the Sun and the Moon.
|
|
18749
18907
|
*/
|
|
18750
|
-
|
|
18908
|
+
yoga: {
|
|
18909
|
+
/**
|
|
18910
|
+
* yoga number in its own cycle, resolved at sunrise.
|
|
18911
|
+
*/
|
|
18912
|
+
number: number;
|
|
18913
|
+
/**
|
|
18914
|
+
* Name of the yoga running at sunrise. Canonical Sanskrit, so it stays safe to compare against in code.
|
|
18915
|
+
*/
|
|
18916
|
+
name: string;
|
|
18917
|
+
/**
|
|
18918
|
+
* ISO instant this yoga ends. Read from the same transition search POST /panchang/detailed publishes, never recomputed here, so the two endpoints cannot disagree about when the event happens.
|
|
18919
|
+
*/
|
|
18920
|
+
validTo: string;
|
|
18921
|
+
/**
|
|
18922
|
+
* The yoga that follows, so the rest of the day can be labelled without a second request.
|
|
18923
|
+
*/
|
|
18924
|
+
next: string;
|
|
18925
|
+
/**
|
|
18926
|
+
* How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
|
|
18927
|
+
*/
|
|
18928
|
+
timescale: 'hours' | 'days' | 'months' | 'years';
|
|
18929
|
+
};
|
|
18751
18930
|
/**
|
|
18752
|
-
*
|
|
18931
|
+
* Karana running at sunrise, with the instant it ends. A karana is half a tithi, which is why it is the fastest of the four limbs.
|
|
18753
18932
|
*/
|
|
18754
|
-
|
|
18933
|
+
karana: {
|
|
18934
|
+
/**
|
|
18935
|
+
* karana number in its own cycle, resolved at sunrise.
|
|
18936
|
+
*/
|
|
18937
|
+
number: number;
|
|
18938
|
+
/**
|
|
18939
|
+
* Name of the karana running at sunrise. Canonical Sanskrit, so it stays safe to compare against in code.
|
|
18940
|
+
*/
|
|
18941
|
+
name: string;
|
|
18942
|
+
/**
|
|
18943
|
+
* ISO instant this karana ends. Read from the same transition search POST /panchang/detailed publishes, never recomputed here, so the two endpoints cannot disagree about when the event happens.
|
|
18944
|
+
*/
|
|
18945
|
+
validTo: string;
|
|
18946
|
+
/**
|
|
18947
|
+
* The karana that follows, so the rest of the day can be labelled without a second request.
|
|
18948
|
+
*/
|
|
18949
|
+
next: string;
|
|
18950
|
+
/**
|
|
18951
|
+
* How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
|
|
18952
|
+
*/
|
|
18953
|
+
timescale: 'hours' | 'days' | 'months' | 'years';
|
|
18954
|
+
};
|
|
18755
18955
|
};
|
|
18756
18956
|
/**
|
|
18757
|
-
*
|
|
18957
|
+
* All nine transiting grahas, each with its four gate results and the ONE state they produced. The gates run in the order the sources give them: house from the natal Moon, then vedha, then the bindu gate, then the nullifiers of Phaladeepika XXVI.30 to XXVI.32. Obstruction is terminal, so a blocked transit is never rescued by the gates that follow it.
|
|
18758
18958
|
*/
|
|
18759
|
-
|
|
18959
|
+
grahas: Array<{
|
|
18760
18960
|
/**
|
|
18761
|
-
*
|
|
18961
|
+
* Graha name, Sun through Ketu. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
|
|
18762
18962
|
*/
|
|
18763
|
-
|
|
18963
|
+
graha: string;
|
|
18764
18964
|
/**
|
|
18765
|
-
*
|
|
18965
|
+
* Rashi this graha is transiting on the day being read. Always English.
|
|
18766
18966
|
*/
|
|
18767
|
-
|
|
18967
|
+
sign: string;
|
|
18768
18968
|
/**
|
|
18769
|
-
*
|
|
18969
|
+
* Sidereal longitude of the transiting graha in degrees, 0 to 360, Lahiri frame.
|
|
18770
18970
|
*/
|
|
18771
|
-
|
|
18772
|
-
};
|
|
18773
|
-
/**
|
|
18774
|
-
* Karana (half-tithi) information. Fourth panchang element, changes twice per tithi.
|
|
18775
|
-
*/
|
|
18776
|
-
karana: {
|
|
18971
|
+
longitude: number;
|
|
18777
18972
|
/**
|
|
18778
|
-
*
|
|
18973
|
+
* House this graha transits counted whole-sign and inclusively from the natal Moon rashi (Janma Rashi), so the Moon rashi itself is 1. This is the reference classical Gochara is reckoned in: Phaladeepika XXVI.1 opens the transit chapter by saying that of all the Lagnas only the Moon Lagna matters for transit results. A reading counted from the Lagna instead answers a different question and every verdict below would be wrong.
|
|
18779
18974
|
*/
|
|
18780
|
-
|
|
18975
|
+
houseFromMoon: number;
|
|
18781
18976
|
/**
|
|
18782
|
-
*
|
|
18977
|
+
* How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
|
|
18783
18978
|
*/
|
|
18784
|
-
|
|
18979
|
+
timescale: 'hours' | 'days' | 'months' | 'years';
|
|
18785
18980
|
/**
|
|
18786
|
-
*
|
|
18981
|
+
* Gate 1. Whether houseFromMoon is on this graha classical favourable list (Phaladeepika XXVI.2). The baseline verdict, before vedha, bindus or the nullifiers have had their say.
|
|
18787
18982
|
*/
|
|
18788
|
-
|
|
18983
|
+
favourable: boolean;
|
|
18789
18984
|
/**
|
|
18790
|
-
*
|
|
18985
|
+
* Gate 1 evidence: the whole favourable list for this graha, so the baseline verdict can be checked in place without a second request or a table lookup.
|
|
18791
18986
|
*/
|
|
18792
|
-
|
|
18793
|
-
|
|
18794
|
-
|
|
18795
|
-
|
|
18796
|
-
|
|
18797
|
-
|
|
18798
|
-
|
|
18799
|
-
|
|
18800
|
-
|
|
18801
|
-
|
|
18802
|
-
|
|
18803
|
-
|
|
18804
|
-
|
|
18805
|
-
|
|
18806
|
-
|
|
18807
|
-
|
|
18808
|
-
|
|
18809
|
-
|
|
18810
|
-
|
|
18811
|
-
|
|
18812
|
-
|
|
18813
|
-
|
|
18814
|
-
|
|
18815
|
-
|
|
18816
|
-
|
|
18817
|
-
|
|
18818
|
-
|
|
18819
|
-
|
|
18820
|
-
|
|
18821
|
-
|
|
18822
|
-
|
|
18823
|
-
|
|
18824
|
-
|
|
18825
|
-
|
|
18826
|
-
|
|
18827
|
-
|
|
18828
|
-
|
|
18829
|
-
|
|
18830
|
-
|
|
18831
|
-
|
|
18832
|
-
|
|
18833
|
-
|
|
18834
|
-
|
|
18835
|
-
|
|
18836
|
-
|
|
18837
|
-
|
|
18838
|
-
|
|
18839
|
-
|
|
18840
|
-
|
|
18841
|
-
|
|
18987
|
+
favourableHouses: Array<number>;
|
|
18988
|
+
/**
|
|
18989
|
+
* Gate 2. The house whose occupation by another graha cancels this transit (Phaladeepika XXVI.3-8). Null when the transit is not favourable to begin with, since there is nothing for an obstruction to cancel.
|
|
18990
|
+
*/
|
|
18991
|
+
vedhaHouse: number | null;
|
|
18992
|
+
/**
|
|
18993
|
+
* Gate 2. Grahas actually standing in vedhaHouse, with the mutual exemptions already applied. Empty when nothing obstructs. A non-empty list makes the state "obstructed", which is a THIRD outcome rather than a smaller number: the texts cancel the promised good outright rather than discounting it.
|
|
18994
|
+
*/
|
|
18995
|
+
obstructedBy: Array<string>;
|
|
18996
|
+
/**
|
|
18997
|
+
* Gate 2. Grahas that cannot obstruct this one however they transit, from the two mutual exemptions the texts name: the Sun and Saturn do not obstruct each other, and neither do the Moon and Mercury.
|
|
18998
|
+
*/
|
|
18999
|
+
vedhaExempt: Array<string>;
|
|
19000
|
+
/**
|
|
19001
|
+
* Gate 3. Bindus this graha holds in the whole sign it is transiting, 0 to 8, or null for Rahu and Ketu, which have no Bhinnashtakavarga and therefore SKIP this gate entirely rather than scoring zero. The gate reads the number two ways: a favourable house carrying fewer than 4 bindus under delivers, and an unfavourable house carrying a strict majority of the eight contributors, 5 or more, is turned good by Phaladeepika XXVI.41. Exactly 4 fires neither rule, which is the literal reading of both phrasings rather than a rounding choice. WHOSE READING THE NUMBER IS, stated because generalising it is ours: B.V. Raman prints 4 once and prints it about the MOON, then generalises the PRINCIPLE to every graha in the next sentence without repeating any number, and Phaladeepika XXVI.41 is general across grahas and also states no number. Applying 4 to all nine bodies is RoxyAPI reading the general rule through the one worked example the author gave it, and it is not a universally stated classical threshold.
|
|
19002
|
+
*/
|
|
19003
|
+
binduCount: number | null;
|
|
19004
|
+
/**
|
|
19005
|
+
* Gochara Kaksha: the ashtakavarga-qualified reading of this transit. The sign says where a graha is, this says whether the exact stretch it currently occupies is one its own Bhinnashtakavarga supports, which is the classical way of refining a transit verdict from sign-level to under four degrees.
|
|
19006
|
+
*/
|
|
19007
|
+
kaksha: {
|
|
19008
|
+
/**
|
|
19009
|
+
* Kaksha number 1-8 within the current sign. Each sign divides into eight kakshas of 3 degrees 45 minutes, crossed in order, so this is how far through the sign the graha has travelled.
|
|
19010
|
+
*/
|
|
19011
|
+
number: number;
|
|
19012
|
+
/**
|
|
19013
|
+
* Graha ruling this kaksha. The eight lords run Saturn, Jupiter, Mars, Sun, Venus, Mercury, Moon, Lagna from the start of every sign, ordered by how long each takes to cross a sign.
|
|
19014
|
+
*/
|
|
19015
|
+
lord: string;
|
|
19016
|
+
/**
|
|
19017
|
+
* Degree within the sign where this kaksha begins (0, 3.75, 7.5 and so on).
|
|
19018
|
+
*/
|
|
19019
|
+
startDegree: number;
|
|
19020
|
+
/**
|
|
19021
|
+
* Degree within the sign where this kaksha ends.
|
|
19022
|
+
*/
|
|
19023
|
+
endDegree: number;
|
|
19024
|
+
/**
|
|
19025
|
+
* Whether this kaksha lord gave the transiting graha a bindu in the sign being transited, which is the Gochara Kaksha verdict: true reads as a favourable stretch of the transit, false as an unfavourable one. Null means the question does not apply rather than that the answer is no, because Rahu and Ketu have no Bhinnashtakavarga to read. Never render null as unfavourable.
|
|
19026
|
+
*/
|
|
19027
|
+
bindu: boolean | null;
|
|
19028
|
+
/**
|
|
19029
|
+
* Bindus the transiting graha holds in this whole sign, 0-8, or null for Rahu and Ketu. Context for the verdict, since the same kaksha reads differently in a sign worth 7 than in one worth 1.
|
|
19030
|
+
*/
|
|
19031
|
+
binduCount: number | null;
|
|
19032
|
+
};
|
|
19033
|
+
/**
|
|
19034
|
+
* Gate 4. Dignity of the graha in the sign it is transiting, or null for Rahu and Ketu which have none. Feeds the Phaladeepika XXVI.31 shield ("exalted" or "own" does no harm in an untoward bhava) and the XXVI.32 weakness ("debilitated" or "enemy" voids a good transit). One of exalted, own, debilitated, enemy, neutral.
|
|
19035
|
+
*/
|
|
19036
|
+
dignity: 'exalted' | 'own' | 'debilitated' | 'enemy' | 'neutral' | null;
|
|
19037
|
+
/**
|
|
19038
|
+
* Gate 4. Whether the graha is combust at the transit moment, or null for the Sun and the two nodes where the question does not arise at all. Combustion voids a good transit under Phaladeepika XXVI.32 and aggravates a bad one.
|
|
19039
|
+
*/
|
|
19040
|
+
combust: boolean | null;
|
|
19041
|
+
/**
|
|
19042
|
+
* Gate 4. Transiting natural benefics casting graha drishti on this graha. Under Phaladeepika XXVI.30 a benefic sight on a BAD result is what voids it. Read as drishti from the other TRANSITING grahas, which is a school choice this endpoint makes and states: the sloka sits between the vedha rules and the rules about the transiting graha own condition.
|
|
19043
|
+
*/
|
|
19044
|
+
aspectedByBenefic: Array<string>;
|
|
19045
|
+
/**
|
|
19046
|
+
* Gate 4. Transiting natural malefics casting graha drishti on this graha. A malefic sight on a GOOD result voids it under Phaladeepika XXVI.30. Rahu and Ketu never appear here: they cast no drishti in this package, which is its own documented school choice, although they can be aspected.
|
|
19047
|
+
*/
|
|
19048
|
+
aspectedByMalefic: Array<string>;
|
|
19049
|
+
/**
|
|
19050
|
+
* Gate 4. Transiting natural enemies of this graha casting graha drishti on it. Phaladeepika XXVI.30 voids the result either way for an enemy sight, whichever direction the baseline verdict pointed.
|
|
19051
|
+
*/
|
|
19052
|
+
aspectedByEnemy: Array<string>;
|
|
19053
|
+
/**
|
|
19054
|
+
* The single outcome the four gates produced for this graha, and the only field the score counts. "favourable" is the house list holding with nothing cancelling it, "underdelivered" is a favourable house below the bindu delivery floor, "obstructed" is vedha, "void" is an aspect, a dignity shield or a weakness emptying the result of effect, "aggravated" is the one compounding rule in the chapter, and "unfavourable" is a house that was never on the list. Canonical English machine values: every one is a classical outcome word rather than an invented label, which is why none carries a translated sibling.
|
|
19055
|
+
*/
|
|
19056
|
+
state: 'favourable' | 'underdelivered' | 'obstructed' | 'void' | 'aggravated' | 'unfavourable';
|
|
19057
|
+
/**
|
|
19058
|
+
* The rule that decided the state, named so a verdict can be checked against its sloka without leaving the payload.
|
|
19059
|
+
*/
|
|
19060
|
+
stateSource: string;
|
|
19061
|
+
}>;
|
|
19062
|
+
/**
|
|
19063
|
+
* Tarabala for THIS native, as an array of windows rather than one value, because the Moon can change nakshatra inside a panchanga day and the reference panchangs print two windows when it does. Three windows happen and are returned when they do. One entry means the tara held all day.
|
|
19064
|
+
*/
|
|
19065
|
+
tara: Array<{
|
|
19066
|
+
/**
|
|
19067
|
+
* ISO instant this tarabala window opens.
|
|
19068
|
+
*/
|
|
19069
|
+
validFrom: string;
|
|
19070
|
+
/**
|
|
19071
|
+
* ISO instant this tarabala window closes, which is when the Moon changes nakshatra.
|
|
19072
|
+
*/
|
|
19073
|
+
validTo: string;
|
|
19074
|
+
/**
|
|
19075
|
+
* How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
|
|
19076
|
+
*/
|
|
19077
|
+
timescale: 'hours' | 'days' | 'months' | 'years';
|
|
19078
|
+
/**
|
|
19079
|
+
* Nakshatra the Moon occupies during this window. Canonical Sanskrit.
|
|
19080
|
+
*/
|
|
19081
|
+
moonNakshatra: string;
|
|
19082
|
+
/**
|
|
19083
|
+
* Tara number 1 to 9, counted inclusively from the Janma Nakshatra to the Moon nakshatra and folded by 9.
|
|
19084
|
+
*/
|
|
19085
|
+
number: number;
|
|
19086
|
+
/**
|
|
19087
|
+
* Name of the tara this native gets during this window, from the 9-tara cycle Janma through Parama Mitra. A Sanskrit proper noun and a canonical machine value, which is why the favourability is a separate field rather than something a caller has to infer from the word.
|
|
19088
|
+
*/
|
|
19089
|
+
name: 'Janma' | 'Sampat' | 'Vipat' | 'Kshema' | 'Pratyari' | 'Sadhaka' | 'Vadha' | 'Mitra' | 'Parama Mitra';
|
|
19090
|
+
/**
|
|
19091
|
+
* Where this tara falls in the three-way classical reading. Taras 2, 4, 6, 8 and 9 are favourable, 3, 5 and 7 are not, and the 1st (Janma) is neither.
|
|
19092
|
+
*/
|
|
19093
|
+
quality: 'favourable' | 'unfavourable' | 'neutral';
|
|
19094
|
+
}>;
|
|
19095
|
+
/**
|
|
19096
|
+
* Chandrabala for THIS native, windowed for the same reason as the tarabala: the Moon can change rashi inside the panchanga day. Ashtama Chandra is a separate flag on each window.
|
|
19097
|
+
*/
|
|
19098
|
+
chandrabala: Array<{
|
|
19099
|
+
/**
|
|
19100
|
+
* ISO instant this chandrabala window opens.
|
|
19101
|
+
*/
|
|
19102
|
+
validFrom: string;
|
|
19103
|
+
/**
|
|
19104
|
+
* ISO instant this chandrabala window closes, which is when the Moon changes rashi.
|
|
19105
|
+
*/
|
|
19106
|
+
validTo: string;
|
|
19107
|
+
/**
|
|
19108
|
+
* How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
|
|
19109
|
+
*/
|
|
19110
|
+
timescale: 'hours' | 'days' | 'months' | 'years';
|
|
19111
|
+
/**
|
|
19112
|
+
* Rashi the Moon occupies during this window. Always English.
|
|
19113
|
+
*/
|
|
19114
|
+
moonSign: string;
|
|
19115
|
+
/**
|
|
19116
|
+
* House the Moon rashi makes from the Janma Rashi, counted whole-sign and inclusively, so the Janma Rashi itself is 1. This is the number chandrabala is read off.
|
|
19117
|
+
*/
|
|
19118
|
+
houseFromMoon: number;
|
|
19119
|
+
/**
|
|
19120
|
+
* Whether the Moon stands in one of the rashis that give this native chandrabala during this window.
|
|
19121
|
+
*/
|
|
19122
|
+
favourable: boolean;
|
|
19123
|
+
/**
|
|
19124
|
+
* The Moon in the 8th from the Janma Rashi. Its OWN flag, printed beside chandrabala rather than folded into it, exactly as the reference panchangs print it. Folding it in would let a caller read one boolean and miss the warning the source deliberately separates.
|
|
19125
|
+
*/
|
|
19126
|
+
ashtamaChandra: boolean;
|
|
19127
|
+
}>;
|
|
19128
|
+
/**
|
|
19129
|
+
* The running Vimshottari chain at sunrise, outermost first, three levels deep. This is the frame the day is read inside, and it is also what the finance area reads the significators off. Empty for a chart whose cycle cannot be resolved.
|
|
19130
|
+
*/
|
|
19131
|
+
dasha: Array<{
|
|
19132
|
+
/**
|
|
19133
|
+
* Which Vimshottari level this period is. Only mahadasha, antardasha, pratyantardasha are carried: the sookshma and prana lords turn over in hours and minutes, so embedding them would advertise a day-long cache lifetime over a value that is already stale. Use POST /dasha/current for those two.
|
|
19134
|
+
*/
|
|
19135
|
+
level: 'mahadasha' | 'antardasha' | 'pratyantardasha';
|
|
19136
|
+
/**
|
|
19137
|
+
* Graha ruling this period. Always English.
|
|
19138
|
+
*/
|
|
19139
|
+
lord: string;
|
|
19140
|
+
/**
|
|
19141
|
+
* ISO instant this period begins.
|
|
19142
|
+
*/
|
|
19143
|
+
startDate: string;
|
|
19144
|
+
/**
|
|
19145
|
+
* ISO instant this period ends.
|
|
19146
|
+
*/
|
|
19147
|
+
endDate: string;
|
|
19148
|
+
/**
|
|
19149
|
+
* How long this component holds one verdict. Present on every component because this reading joins two genres classical literature keeps in separate books: a gochara verdict lasts as long as the graha stays in a rashi, which is years for Saturn, while a tarabala changes overnight. Without it a Saturn verdict that reads identically for nine hundred days would sit under one date field beside a limb that turns over at dawn.
|
|
19150
|
+
*/
|
|
19151
|
+
timescale: 'hours' | 'days' | 'months' | 'years';
|
|
19152
|
+
}>;
|
|
19153
|
+
/**
|
|
19154
|
+
* Life areas carried as a TYPED closed set rather than an open map, so every generated SDK knows which keys exist. Finance ships alone in this version, because an area is a named classical house group with a citation and not a life category invented for a dropdown. Widening it later adds a key and breaks nothing.
|
|
19155
|
+
*/
|
|
19156
|
+
areas: {
|
|
19157
|
+
/**
|
|
19158
|
+
* The finance area: the positive house group 2, 5, 11 netted against the negative group 6, 8, 12, read off the lords of the running dasha, bhukti and antara, because that is the KP rule for when a matter fructifies, plus the natal basis the day is read against. ALWAYS AN OBJECT. Above latitude 66.56 the six netted members are null, because the Placidus cusps behind the significators have no solution there, while natal is still populated because it is a property of the birth chart and needs no cusps; the reading also still carries its gochara, panchanga and dasha and names the omission in degraded. The two house groups are Krishnamurti Paddhati practice, but the NET is a KP practitioner convention rather than a classical operation: the KP sources that carry these groups use them as a promise test and an avoidance test, never as arithmetic. The groups also vary by author, and the 6th house is the live disagreement, since some KP authors place it on the POSITIVE side as service income and salary, the exact opposite of the assignment used here. This is a six house net and it is NOT the focus=finance lens, which re-reads all twelve bhavas in money vocabulary and moves no number. The two are orthogonal and both ship.
|
|
19159
|
+
*/
|
|
19160
|
+
finance: {
|
|
19161
|
+
/**
|
|
19162
|
+
* Share of the running lords six-house connections that land on the positive group, 0 to 100, rounded. A COUNT, so positive and negative below reproduce it in one division: round(positive / (positive + negative) * 100). Zero when the running lords reach none of the six houses, which is an ABSENCE of connection rather than a negative verdict. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score. The two house groups are Krishnamurti Paddhati practice, but the NET is a KP practitioner convention rather than a classical operation: the KP sources that carry these groups use them as a promise test and an avoidance test, never as arithmetic. The groups also vary by author, and the 6th house is the live disagreement, since some KP authors place it on the POSITIVE side as service income and salary, the exact opposite of the assignment used here. This is a six house net and it is NOT the focus=finance lens, which re-reads all twelve bhavas in money vocabulary and moves no number. The two are orthogonal and both ship.
|
|
19163
|
+
*/
|
|
19164
|
+
score: number | null;
|
|
19165
|
+
/**
|
|
19166
|
+
* The band the finance score falls in, on the same ladder as the top-level verdict so the two can never disagree about what a word means: "very-strong" at 75 and above, "strong" at 50 and above, "moderate" at 25 and above, "weak" below 25. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
|
|
19167
|
+
*/
|
|
19168
|
+
band: 'very-strong' | 'strong' | 'moderate' | 'weak' | null;
|
|
19169
|
+
/**
|
|
19170
|
+
* How many connections land on the positive house group 2, 5, 11, which KP reads as accumulated wealth, speculation and gains. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
|
|
19171
|
+
*/
|
|
19172
|
+
positive: number | null;
|
|
19173
|
+
/**
|
|
19174
|
+
* How many connections land on the negative house group 6, 8, 12, which KP reads as debt, sudden loss and expenditure. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
|
|
19175
|
+
*/
|
|
19176
|
+
negative: number | null;
|
|
19177
|
+
/**
|
|
19178
|
+
* Every positive-group connection, strongest KP level first. These are the specific lord-to-house links the score is made of, so the number can be audited rather than trusted. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
|
|
19179
|
+
*/
|
|
19180
|
+
drivers: Array<{
|
|
19181
|
+
/**
|
|
19182
|
+
* The running dasha lord making this connection. A lord holding two of the three levels is listed once per house rather than twice, so nothing here is a hidden weight.
|
|
19183
|
+
*/
|
|
19184
|
+
graha: string;
|
|
19185
|
+
/**
|
|
19186
|
+
* The finance house this lord reaches. One of the positive group 2, 5, 11 or the negative group 6, 8, 12.
|
|
19187
|
+
*/
|
|
19188
|
+
house: number;
|
|
19189
|
+
/**
|
|
19190
|
+
* Strongest KP significator level at which this lord reaches this house, 1 to 4. Level 1 is a planet in the constellation of the occupant, 2 the occupant, 3 a planet in the constellation of the house owner, 4 the house owner. Strongest level per house wins, which is step 1 of the published grading rule the dasha routes already use.
|
|
19191
|
+
*/
|
|
19192
|
+
level: number;
|
|
19193
|
+
/**
|
|
19194
|
+
* The KP letter for that level, on the standard A to D significator grading. A is the strongest connection.
|
|
19195
|
+
*/
|
|
19196
|
+
grade: 'A' | 'B' | 'C' | 'D';
|
|
19197
|
+
/**
|
|
19198
|
+
* Which of the running levels this graha rules. Carries the fact that one lord holds more than one level without letting it count twice.
|
|
19199
|
+
*/
|
|
19200
|
+
dashaLevels: Array<'mahadasha' | 'antardasha' | 'pratyantardasha'>;
|
|
19201
|
+
}> | null;
|
|
19202
|
+
/**
|
|
19203
|
+
* Every negative-group connection, strongest KP level first. Null above latitude 66.56, where the Placidus cusps the KP significators are read from have no solution: the question does not apply there rather than the answer being no, so never render it as zero or as a weak verdict. The natal block beside it is unaffected and still ships, and degraded names areas.finance.score.
|
|
19204
|
+
*/
|
|
19205
|
+
cautions: Array<{
|
|
19206
|
+
/**
|
|
19207
|
+
* The running dasha lord making this connection. A lord holding two of the three levels is listed once per house rather than twice, so nothing here is a hidden weight.
|
|
19208
|
+
*/
|
|
19209
|
+
graha: string;
|
|
19210
|
+
/**
|
|
19211
|
+
* The finance house this lord reaches. One of the positive group 2, 5, 11 or the negative group 6, 8, 12.
|
|
19212
|
+
*/
|
|
19213
|
+
house: number;
|
|
19214
|
+
/**
|
|
19215
|
+
* Strongest KP significator level at which this lord reaches this house, 1 to 4. Level 1 is a planet in the constellation of the occupant, 2 the occupant, 3 a planet in the constellation of the house owner, 4 the house owner. Strongest level per house wins, which is step 1 of the published grading rule the dasha routes already use.
|
|
19216
|
+
*/
|
|
19217
|
+
level: number;
|
|
19218
|
+
/**
|
|
19219
|
+
* The KP letter for that level, on the standard A to D significator grading. A is the strongest connection.
|
|
19220
|
+
*/
|
|
19221
|
+
grade: 'A' | 'B' | 'C' | 'D';
|
|
19222
|
+
/**
|
|
19223
|
+
* Which of the running levels this graha rules. Carries the fact that one lord holds more than one level without letting it count twice.
|
|
19224
|
+
*/
|
|
19225
|
+
dashaLevels: Array<'mahadasha' | 'antardasha' | 'pratyantardasha'>;
|
|
19226
|
+
}> | null;
|
|
19227
|
+
/**
|
|
19228
|
+
* The natal basis of this area: whether the chart is wealthy AT ALL, as the four classical wealth and poverty verdicts dhana, daridra, lakshmi, dhanamalika, each with the evidence that decided it. A PROPERTY OF THE BIRTH CHART AND NOT OF THE DAY, so it is the same block on every date this native is ever read for, which is exactly why it is CONTEXT rather than a term: it deliberately does not enter score, verdict, tally or evaluated, above or here. Folding a constant into a per-day number would shift every day by the identical amount, carrying no information into the only comparison those numbers support, and it would break the published closed form that makes the top-level score reproducible by hand from grahas alone. Read it as the standing question the day is being read against. The verdicts are the same ones POST /yoga/detect and POST /birth-chart return for this chart, computed in the Lahiri natal frame rather than in the KP-Newcomb frame the significators above use. PRESENT AT EVERY LATITUDE, including above the polar circle: these verdicts need only whole-sign houses from the Lagna, so nothing about them depends on the cusps the KP members above lose there.
|
|
19229
|
+
*/
|
|
19230
|
+
natal: Array<{
|
|
19231
|
+
/**
|
|
19232
|
+
* Glossary id of the verdict, one of dhana, daridra, lakshmi, dhanamalika. Use it with GET /yoga/{id} for the full glossary entry, which carries the description and the classical result in every supported language. Canonical English, so it stays safe to switch on in code.
|
|
19233
|
+
*/
|
|
19234
|
+
id: string;
|
|
19235
|
+
/**
|
|
19236
|
+
* Classical Sanskrit name of the combination. Canonical whatever the lang parameter says, exactly as the yoga endpoints return it.
|
|
19237
|
+
*/
|
|
19238
|
+
name: string;
|
|
19239
|
+
/**
|
|
19240
|
+
* Which way a present verdict points, carried because three of the four are wealth combinations and Daridra is a poverty one, so present alone does not tell a client whether to read it as support or as pressure. Canonical English machine value.
|
|
19241
|
+
*/
|
|
19242
|
+
quality: 'Positive' | 'Negative' | 'Both';
|
|
19243
|
+
/**
|
|
19244
|
+
* Whether the combination is on this chart. False means every rule in the family was evaluated and none held, which is a real answer rather than a missing one, and the evidence beside it names the full denominator.
|
|
19245
|
+
*/
|
|
19246
|
+
present: boolean;
|
|
19247
|
+
/**
|
|
19248
|
+
* Why the verdict reads the way it does: every rule that matched, named by its own glossary id and its verse, with the exact condition it matched on, then the scope of the family. This is what makes the verdict checkable against a text rather than a label to be trusted, and it is also where the two excluded rules are declared: daridra-8 and daridra-9 rest on a single authority and are barred from deciding a verdict, though both still ship through GET /yoga/{id}. English in every language, like the per-graha stateSource, because it is provenance rather than display copy.
|
|
19249
|
+
*/
|
|
19250
|
+
evidence: string;
|
|
19251
|
+
}>;
|
|
19252
|
+
};
|
|
19253
|
+
};
|
|
19254
|
+
/**
|
|
19255
|
+
* How much of the transiting sky supports this native today: supportive grahas divided by grahas evaluated, as a percentage, rounded. HAND REPRODUCIBLE FROM THIS RESPONSE ALONE, with no weights to publish and none to defend. STEP 1, count the grahas whose state is one of favourable; the tally array has that count already. STEP 2, divide by evaluated and round. Worked example: 2 supportive out of 9 evaluated scores round(2 / 9 * 100) = 22. The other states (underdelivered, obstructed, void, aggravated, unfavourable) count for nothing, because each of them is the tradition saying the promised good was reduced, cancelled or emptied. WHY IT IS A COUNT AND NOT A SUM: the tradition does not add these limbs up. Phaladeepika XXVI.41 makes a high bindu count an OVERRIDE that turns even the 6th, 8th and 12th good, and XXVI.30 to XXVI.32 make aspect, dignity and combustion NULLIFIERS, so a weighted sum would be a different mathematical object and could not carry those citations. The GATES are classical, the COUNTING is the RoxyAPI convention, and this sentence is where we say which is which. HOW TO READ THE NUMBER: it runs low by construction and that is the correct answer rather than a defect. Nine bodies casting drishti means almost every transiting graha is aspected by something, and the sloka voids the result when it is, so most days land in the bottom half and a high score is rare and therefore meaningful. Read it as a rare-high scale, not as a mark out of 100: 22 is an ordinary day, not a failing one. And it measures SUPPORT, never OUTCOME. It says how much of the sky backs this native today, never whether the day is good for a particular matter, which depends on the matter being judged.
|
|
19256
|
+
*/
|
|
19257
|
+
score: number;
|
|
19258
|
+
/**
|
|
19259
|
+
* The band the score falls in: "very-strong" at 75 and above, "strong" at 50 and above, "moderate" at 25 and above, "weak" below 25. The four WORDS are the shipped KP significator band words, reused so nothing new has to be translated. The EDGES are the RoxyAPI convention and are quartiles, because no authority bands a day and quartiles are the least arbitrary division of a percentage into four named steps. Read it with the same expectation the score carries: the gates cancel far more often than they deliver, so the lower bands are the common case.
|
|
19260
|
+
*/
|
|
19261
|
+
verdict: 'very-strong' | 'strong' | 'moderate' | 'weak';
|
|
19262
|
+
/**
|
|
19263
|
+
* The full per-state count, always all six states including the zeros. This is the WHOLE input to the score, which is what makes the number reproducible by hand, and it is also what lets a caller who reads the states differently compute their own figure from this response instead of asking for a second one.
|
|
19264
|
+
*/
|
|
19265
|
+
tally: Array<{
|
|
19266
|
+
/**
|
|
19267
|
+
* One of the six outcomes a transiting graha can reach.
|
|
19268
|
+
*/
|
|
19269
|
+
state: 'favourable' | 'underdelivered' | 'obstructed' | 'void' | 'aggravated' | 'unfavourable';
|
|
19270
|
+
/**
|
|
19271
|
+
* How many of the evaluated grahas reached that state.
|
|
19272
|
+
*/
|
|
19273
|
+
count: number;
|
|
19274
|
+
}>;
|
|
19275
|
+
/**
|
|
19276
|
+
* How many grahas were put through the gates, which is the denominator of the score. Rahu and Ketu are included: they skip the bindu gate because they have no Bhinnashtakavarga, and a skipped gate is not a failed one, so they still reach a state through the other three.
|
|
19277
|
+
*/
|
|
19278
|
+
evaluated: number;
|
|
19279
|
+
/**
|
|
19280
|
+
* Components this request could not supply, named rather than silently defaulted. Empty on an ordinary reading. A polar chart degrades through here instead of failing, so the caller still gets the gochara, the panchanga, the dasha and the natal basis of the finance area, and is told exactly what is missing.
|
|
19281
|
+
*/
|
|
19282
|
+
degraded: Array<{
|
|
19283
|
+
/**
|
|
19284
|
+
* Which part of the reading this location or date could not supply. "areas.finance.score" names the KP net by the member it is read through: the finance area itself always ships and its natal block is always populated, and it is the six netted members that are null.
|
|
19285
|
+
*/
|
|
19286
|
+
component: 'dayStart' | 'dayEnd' | 'areas.finance.score';
|
|
19287
|
+
/**
|
|
19288
|
+
* Why it could not: "sun-does-not-rise" for a day with no sunrise at these coordinates, "polar-latitude" above 66.56 degrees where the Placidus cusps have no solution.
|
|
19289
|
+
*/
|
|
19290
|
+
reason: 'sun-does-not-rise' | 'polar-latitude';
|
|
19291
|
+
}>;
|
|
19292
|
+
/**
|
|
19293
|
+
* 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.
|
|
19294
|
+
*/
|
|
19295
|
+
houseThemes: {
|
|
19296
|
+
[key: string]: Array<string>;
|
|
19297
|
+
};
|
|
19298
|
+
/**
|
|
19299
|
+
* Which signification vocabulary produced the houseThemes keywords in this response, echoing the focus query parameter. Always present, and "general" when the parameter was omitted. Read it to label a rendered house legend, or to tell two cached responses apart when only one asked for the finance lens.
|
|
19300
|
+
*/
|
|
19301
|
+
focus: 'general' | 'finance';
|
|
19302
|
+
};
|
|
19303
|
+
};
|
|
19304
|
+
|
|
19305
|
+
export type PostVedicAstrologyDailyResponse = PostVedicAstrologyDailyResponses[keyof PostVedicAstrologyDailyResponses];
|
|
19306
|
+
|
|
19307
|
+
export type PostVedicAstrologyPanchangBasicData = {
|
|
19308
|
+
body?: {
|
|
19309
|
+
/**
|
|
19310
|
+
* Date in YYYY-MM-DD format. Panchang elements (Tithi, Nakshatra, Yoga, Karana) are calculated for this date.
|
|
19311
|
+
*/
|
|
19312
|
+
date: string;
|
|
19313
|
+
/**
|
|
19314
|
+
* Time in HH:MM:SS format (24-hour). Determines the exact Moon and Sun positions for tithi and nakshatra calculation.
|
|
19315
|
+
*/
|
|
19316
|
+
time: string;
|
|
19317
|
+
/**
|
|
19318
|
+
* Observer latitude in decimal degrees. Determines sunrise/sunset times which define the Vara (weekday) and muhurta boundaries.
|
|
19319
|
+
*/
|
|
19320
|
+
latitude: number;
|
|
19321
|
+
/**
|
|
19322
|
+
* Observer longitude in decimal degrees. Affects local time calculations for sunrise/sunset-dependent panchang elements.
|
|
19323
|
+
*/
|
|
19324
|
+
longitude: number;
|
|
19325
|
+
/**
|
|
19326
|
+
* Timezone offset from UTC in decimal hours. Defaults to 5.5 (IST).
|
|
19327
|
+
*/
|
|
19328
|
+
timezone?: number | string;
|
|
19329
|
+
};
|
|
19330
|
+
path?: never;
|
|
19331
|
+
query?: {
|
|
19332
|
+
/**
|
|
19333
|
+
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
|
|
19334
|
+
*/
|
|
19335
|
+
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
|
|
19336
|
+
};
|
|
19337
|
+
url: '/vedic-astrology/panchang/basic';
|
|
19338
|
+
};
|
|
19339
|
+
|
|
19340
|
+
export type PostVedicAstrologyPanchangBasicErrors = {
|
|
19341
|
+
/**
|
|
19342
|
+
* Validation error. `issues[]` lists every failed field.
|
|
19343
|
+
*/
|
|
19344
|
+
400: {
|
|
19345
|
+
/**
|
|
19346
|
+
* First issue summary.
|
|
19347
|
+
*/
|
|
19348
|
+
error: string;
|
|
19349
|
+
code: 'validation_error';
|
|
19350
|
+
/**
|
|
19351
|
+
* Every validation failure. Use this to rebuild a valid request.
|
|
19352
|
+
*/
|
|
19353
|
+
issues: Array<{
|
|
19354
|
+
/**
|
|
19355
|
+
* Dot-separated field path, or "(root)" for top-level.
|
|
19356
|
+
*/
|
|
19357
|
+
path: string;
|
|
19358
|
+
message: string;
|
|
19359
|
+
/**
|
|
19360
|
+
* Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
|
|
19361
|
+
*/
|
|
19362
|
+
code?: string;
|
|
19363
|
+
/**
|
|
19364
|
+
* Expected type for invalid_type.
|
|
19365
|
+
*/
|
|
19366
|
+
expected?: string;
|
|
19367
|
+
/**
|
|
19368
|
+
* Minimum bound for too_small issues.
|
|
19369
|
+
*/
|
|
19370
|
+
minimum?: number | string;
|
|
19371
|
+
/**
|
|
19372
|
+
* Maximum bound for too_big issues.
|
|
19373
|
+
*/
|
|
19374
|
+
maximum?: number | string;
|
|
19375
|
+
inclusive?: boolean;
|
|
19376
|
+
/**
|
|
19377
|
+
* Format name for string issues (regex, email, url, uuid).
|
|
19378
|
+
*/
|
|
19379
|
+
format?: string;
|
|
19380
|
+
/**
|
|
19381
|
+
* Regex pattern when format is regex.
|
|
19382
|
+
*/
|
|
19383
|
+
pattern?: string;
|
|
19384
|
+
}>;
|
|
19385
|
+
};
|
|
19386
|
+
/**
|
|
19387
|
+
* Invalid or missing API key
|
|
19388
|
+
*/
|
|
19389
|
+
401: {
|
|
19390
|
+
/**
|
|
19391
|
+
* Human-readable error message. May change wording.
|
|
19392
|
+
*/
|
|
19393
|
+
error: string;
|
|
19394
|
+
/**
|
|
19395
|
+
* Machine-readable error code. Stable identifier.
|
|
19396
|
+
*/
|
|
19397
|
+
code: string;
|
|
19398
|
+
};
|
|
19399
|
+
/**
|
|
19400
|
+
* Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
|
|
19401
|
+
*/
|
|
19402
|
+
405: {
|
|
19403
|
+
error: string;
|
|
19404
|
+
code: 'method_not_allowed';
|
|
19405
|
+
/**
|
|
19406
|
+
* Allowed HTTP methods for this path. Mirrors the Allow response header.
|
|
19407
|
+
*/
|
|
19408
|
+
allow: Array<string>;
|
|
19409
|
+
/**
|
|
19410
|
+
* Link to the product page for this domain.
|
|
19411
|
+
*/
|
|
19412
|
+
docs?: string;
|
|
19413
|
+
};
|
|
19414
|
+
/**
|
|
19415
|
+
* Monthly rate limit exceeded
|
|
19416
|
+
*/
|
|
19417
|
+
429: {
|
|
19418
|
+
/**
|
|
19419
|
+
* Human-readable error message. May change wording.
|
|
19420
|
+
*/
|
|
19421
|
+
error: string;
|
|
19422
|
+
/**
|
|
19423
|
+
* Machine-readable error code. Stable identifier.
|
|
19424
|
+
*/
|
|
19425
|
+
code: string;
|
|
19426
|
+
};
|
|
19427
|
+
/**
|
|
19428
|
+
* Internal server error
|
|
19429
|
+
*/
|
|
19430
|
+
500: {
|
|
19431
|
+
/**
|
|
19432
|
+
* Human-readable error message. May change wording.
|
|
19433
|
+
*/
|
|
19434
|
+
error: string;
|
|
19435
|
+
/**
|
|
19436
|
+
* Machine-readable error code. Stable identifier.
|
|
19437
|
+
*/
|
|
19438
|
+
code: string;
|
|
19439
|
+
};
|
|
19440
|
+
};
|
|
19441
|
+
|
|
19442
|
+
export type PostVedicAstrologyPanchangBasicError = PostVedicAstrologyPanchangBasicErrors[keyof PostVedicAstrologyPanchangBasicErrors];
|
|
19443
|
+
|
|
19444
|
+
export type PostVedicAstrologyPanchangBasicResponses = {
|
|
19445
|
+
/**
|
|
19446
|
+
* Basic panchang with all five limbs (Tithi, Nakshatra, Yoga, Karana, Vara) including lunar phase, paksha, ruling planets, deities, and interpretive characteristics.
|
|
19447
|
+
*/
|
|
19448
|
+
200: {
|
|
19449
|
+
/**
|
|
19450
|
+
* Lunar day (tithi) information with interpretations. Central panchang element for determining auspicious timings.
|
|
19451
|
+
*/
|
|
19452
|
+
tithi: {
|
|
19453
|
+
/**
|
|
19454
|
+
* Tithi number (1-30). 1-15 are Shukla Paksha (waxing), 16-30 are Krishna Paksha (waning). Purnima is 15, Amavasya is 30.
|
|
19455
|
+
*/
|
|
19456
|
+
number: number;
|
|
19457
|
+
/**
|
|
19458
|
+
* Sanskrit name of the tithi (lunar day). One of 30 tithis in the lunar month cycle.
|
|
19459
|
+
*/
|
|
19460
|
+
name: string;
|
|
19461
|
+
/**
|
|
19462
|
+
* Lunar fortnight: Shukla (waxing, bright half) or Krishna (waning, dark half).
|
|
19463
|
+
*/
|
|
19464
|
+
paksha: 'Shukla' | 'Krishna';
|
|
19465
|
+
/**
|
|
19466
|
+
* Percentage of the current tithi elapsed (0-100). Useful for determining tithi strength and transition proximity.
|
|
19467
|
+
*/
|
|
19468
|
+
percent: number;
|
|
19469
|
+
/**
|
|
19470
|
+
* Presiding deity of this tithi from Vedic tradition.
|
|
19471
|
+
*/
|
|
19472
|
+
deity?: string;
|
|
19473
|
+
/**
|
|
19474
|
+
* Planetary ruler of this tithi. Influences the day energy and activities.
|
|
19475
|
+
*/
|
|
19476
|
+
rulingPlanet?: string;
|
|
19477
|
+
/**
|
|
19478
|
+
* Elemental quality of this tithi (Fire, Earth, Air, Water, Ether).
|
|
19479
|
+
*/
|
|
19480
|
+
element?: string;
|
|
19481
|
+
};
|
|
19482
|
+
/**
|
|
19483
|
+
* Nakshatra (lunar mansion) information with interpretations
|
|
19484
|
+
*/
|
|
19485
|
+
nakshatra: {
|
|
19486
|
+
/**
|
|
19487
|
+
* Nakshatra index (1-27) in the zodiac sequence starting from Ashwini. Each nakshatra spans 13 degrees 20 minutes.
|
|
19488
|
+
*/
|
|
19489
|
+
number: number;
|
|
19490
|
+
/**
|
|
19491
|
+
* Sanskrit name of the nakshatra (lunar mansion). One of 27 nakshatras spanning the zodiac belt.
|
|
19492
|
+
*/
|
|
19493
|
+
name: string;
|
|
19494
|
+
/**
|
|
19495
|
+
* Planetary ruler of this nakshatra. Determines Vimshottari dasha lord and influences nakshatra characteristics.
|
|
19496
|
+
*/
|
|
19497
|
+
lord: string;
|
|
19498
|
+
/**
|
|
19499
|
+
* Pada (quarter, 1-4) of the nakshatra. Each nakshatra has 4 padas spanning 3 degrees 20 minutes each. Determines the navamsha sign and fine-tunes nakshatra predictions.
|
|
19500
|
+
*/
|
|
19501
|
+
pada: number;
|
|
19502
|
+
/**
|
|
19503
|
+
* Presiding deity of this nakshatra from Vedic mythology. Influences spiritual qualities and karmic themes.
|
|
19504
|
+
*/
|
|
19505
|
+
deity?: string;
|
|
19506
|
+
/**
|
|
19507
|
+
* Traditional symbol representing this nakshatra. Reflects core energy and life themes.
|
|
19508
|
+
*/
|
|
19509
|
+
symbol?: string;
|
|
19510
|
+
/**
|
|
19511
|
+
* Personality traits and behavioral tendencies when the Moon occupies this nakshatra. Useful for daily panchang readings.
|
|
19512
|
+
*/
|
|
19513
|
+
characteristics?: string;
|
|
19514
|
+
};
|
|
19515
|
+
/**
|
|
19516
|
+
* Nitya Yoga information. Yoga is the third panchang element, derived from combined Sun-Moon longitude.
|
|
19517
|
+
*/
|
|
19518
|
+
yoga: {
|
|
19519
|
+
/**
|
|
19520
|
+
* Nitya Yoga index (1-27). Calculated from the sum of Sun and Moon sidereal longitudes divided by 13 degrees 20 minutes.
|
|
19521
|
+
*/
|
|
19522
|
+
number: number;
|
|
19523
|
+
/**
|
|
19524
|
+
* Sanskrit name of the Nitya Yoga. One of 27 yogas formed by combined Sun-Moon motion, each with distinct auspiciousness.
|
|
19525
|
+
*/
|
|
19526
|
+
name: string;
|
|
19527
|
+
/**
|
|
19528
|
+
* Characteristics and auspiciousness of this yoga for activity planning.
|
|
19529
|
+
*/
|
|
19530
|
+
characteristics?: string;
|
|
19531
|
+
};
|
|
19532
|
+
/**
|
|
19533
|
+
* Karana (half-tithi) information. Fourth panchang element, changes twice per tithi.
|
|
19534
|
+
*/
|
|
19535
|
+
karana: {
|
|
19536
|
+
/**
|
|
19537
|
+
* Karana index. There are 11 karanas total (4 fixed + 7 movable) cycling through 60 half-tithis per lunar month.
|
|
19538
|
+
*/
|
|
19539
|
+
number: number;
|
|
19540
|
+
/**
|
|
19541
|
+
* Sanskrit name of the karana. 7 movable karanas (Bava through Naga) repeat 8 times, plus 4 fixed karanas.
|
|
19542
|
+
*/
|
|
19543
|
+
name: string;
|
|
19544
|
+
/**
|
|
19545
|
+
* Karana type: Movable (repeating, generally auspicious) or Fixed (occur once per month).
|
|
19546
|
+
*/
|
|
19547
|
+
type?: string;
|
|
19548
|
+
/**
|
|
19549
|
+
* Activity suitability and characteristics of this karana for muhurta selection.
|
|
19550
|
+
*/
|
|
19551
|
+
characteristics?: string;
|
|
19552
|
+
};
|
|
19553
|
+
/**
|
|
19554
|
+
* Sidereal longitude of the Sun in degrees (0-360). Used for tithi and yoga calculations.
|
|
19555
|
+
*/
|
|
19556
|
+
sunLongitude: number;
|
|
19557
|
+
/**
|
|
19558
|
+
* Sidereal longitude of the Moon in degrees (0-360). Moon moves ~13 degrees per day through the nakshatras.
|
|
19559
|
+
*/
|
|
19560
|
+
moonLongitude: number;
|
|
19561
|
+
};
|
|
19562
|
+
};
|
|
19563
|
+
|
|
19564
|
+
export type PostVedicAstrologyPanchangBasicResponse = PostVedicAstrologyPanchangBasicResponses[keyof PostVedicAstrologyPanchangBasicResponses];
|
|
19565
|
+
|
|
19566
|
+
export type PostVedicAstrologyPanchangDetailedData = {
|
|
19567
|
+
body?: {
|
|
19568
|
+
/**
|
|
19569
|
+
* Date in YYYY-MM-DD format. A single-digit month or day is accepted and zero-padded (2026-3-5 becomes 2026-03-05). Impossible calendar dates are rejected.
|
|
19570
|
+
*/
|
|
19571
|
+
date: string;
|
|
19572
|
+
/**
|
|
19573
|
+
* Observer latitude in decimal degrees. Determines sunrise and sunset times which define day/night boundaries for muhurta calculations.
|
|
19574
|
+
*/
|
|
19575
|
+
latitude: number;
|
|
19576
|
+
/**
|
|
19577
|
+
* Observer longitude in decimal degrees. Affects local time calculations for sunrise, sunset, and muhurta period boundaries.
|
|
19578
|
+
*/
|
|
19579
|
+
longitude: number;
|
|
19580
|
+
/**
|
|
19581
|
+
* Timezone offset from UTC in decimal hours, for example -5 for New York or 9 for Tokyo. Send the offset that matches the coordinates: sunrise, sunset and every muhurta boundary are found by searching forward from local midnight, so the default anchors the search to an Indian day. Omitting it for a location outside IST returns a correctly ordered set of periods for the wrong window, shifted by the difference between 5.5 and the real offset. Defaults to 5.5 (IST).
|
|
19582
|
+
*/
|
|
19583
|
+
timezone?: number | string;
|
|
19584
|
+
};
|
|
19585
|
+
path?: never;
|
|
19586
|
+
query?: {
|
|
19587
|
+
/**
|
|
19588
|
+
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
|
|
19589
|
+
*/
|
|
19590
|
+
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
|
|
19591
|
+
};
|
|
19592
|
+
url: '/vedic-astrology/panchang/detailed';
|
|
19593
|
+
};
|
|
19594
|
+
|
|
19595
|
+
export type PostVedicAstrologyPanchangDetailedErrors = {
|
|
19596
|
+
/**
|
|
19597
|
+
* Validation error. `issues[]` lists every failed field.
|
|
19598
|
+
*/
|
|
19599
|
+
400: {
|
|
19600
|
+
/**
|
|
18842
19601
|
* First issue summary.
|
|
18843
19602
|
*/
|
|
18844
19603
|
error: string;
|
|
@@ -27087,6 +27846,10 @@ export type PostForecastSolarReturnResponses = {
|
|
|
27087
27846
|
* Absolute ecliptic longitude of the Part of Fortune (0-360).
|
|
27088
27847
|
*/
|
|
27089
27848
|
longitude: number;
|
|
27849
|
+
/**
|
|
27850
|
+
* House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
|
|
27851
|
+
*/
|
|
27852
|
+
house: number;
|
|
27090
27853
|
/**
|
|
27091
27854
|
* Chart sect used for the calculation. Day (diurnal) when the Sun is above the horizon, night (nocturnal) when below. Day charts use Ascendant plus Moon minus Sun, night charts use Ascendant plus Sun minus Moon.
|
|
27092
27855
|
*/
|
|
@@ -27108,6 +27871,10 @@ export type PostForecastSolarReturnResponses = {
|
|
|
27108
27871
|
* Absolute ecliptic longitude of the Vertex (0-360).
|
|
27109
27872
|
*/
|
|
27110
27873
|
longitude: number;
|
|
27874
|
+
/**
|
|
27875
|
+
* House containing this point, resolved against the same cusps as `planets[].house` and using the requested house system. Read this field rather than inferring a house from the sign: the two disagree whenever a house spans more than one sign, which is most of the time outside Whole Sign.
|
|
27876
|
+
*/
|
|
27877
|
+
house: number;
|
|
27111
27878
|
};
|
|
27112
27879
|
};
|
|
27113
27880
|
};
|