@roxyapi/sdk 1.2.81 → 1.2.83
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 +544 -14
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/docs/llms-full.txt +18 -0
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/sdk.gen.ts +18 -1
- package/src/types.gen.ts +551 -14
- package/src/version.ts +1 -1
package/src/types.gen.ts
CHANGED
|
@@ -4760,6 +4760,10 @@ export type KpChartResponse = {
|
|
|
4760
4760
|
* Zodiac sign the planet occupies.
|
|
4761
4761
|
*/
|
|
4762
4762
|
sign: string;
|
|
4763
|
+
/**
|
|
4764
|
+
* Rashi lord (sign ruler). First level of the KP significator hierarchy. Its house ownership determines L4 significations.
|
|
4765
|
+
*/
|
|
4766
|
+
signLord: string;
|
|
4763
4767
|
/**
|
|
4764
4768
|
* House number (1-12) based on Placidus cusps.
|
|
4765
4769
|
*/
|
|
@@ -4813,6 +4817,10 @@ export type KpChartResponse = {
|
|
|
4813
4817
|
* Zodiac sign Rahu occupies.
|
|
4814
4818
|
*/
|
|
4815
4819
|
sign: string;
|
|
4820
|
+
/**
|
|
4821
|
+
* Rashi lord of the sign Rahu occupies. Rahu has no sign of its own and acts as agent of this lord.
|
|
4822
|
+
*/
|
|
4823
|
+
signLord: string;
|
|
4816
4824
|
/**
|
|
4817
4825
|
* Occupied house number (1-12) based on Placidus cusps.
|
|
4818
4826
|
*/
|
|
@@ -4850,6 +4858,10 @@ export type KpChartResponse = {
|
|
|
4850
4858
|
* Zodiac sign Ketu occupies.
|
|
4851
4859
|
*/
|
|
4852
4860
|
sign: string;
|
|
4861
|
+
/**
|
|
4862
|
+
* Rashi lord of the sign Ketu occupies. Ketu has no sign of its own and acts as agent of this lord.
|
|
4863
|
+
*/
|
|
4864
|
+
signLord: string;
|
|
4853
4865
|
/**
|
|
4854
4866
|
* Occupied house number (1-12) based on Placidus cusps.
|
|
4855
4867
|
*/
|
|
@@ -5835,6 +5847,414 @@ export type KpHoraryRequest = {
|
|
|
5835
5847
|
nodeType?: 'mean' | 'true';
|
|
5836
5848
|
};
|
|
5837
5849
|
|
|
5850
|
+
export type KpDailyFinanceResponse = {
|
|
5851
|
+
/**
|
|
5852
|
+
* The civil date read.
|
|
5853
|
+
*/
|
|
5854
|
+
date: string;
|
|
5855
|
+
/**
|
|
5856
|
+
* The reading moment, local datetime in the request timezone. The ruling planets and the dasha lords are read here.
|
|
5857
|
+
*/
|
|
5858
|
+
readingAt: string;
|
|
5859
|
+
/**
|
|
5860
|
+
* Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
|
|
5861
|
+
*/
|
|
5862
|
+
ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'raman';
|
|
5863
|
+
/**
|
|
5864
|
+
* Degrees subtracted from the tropical longitudes, resolved at the birth date. One frame for the whole reading: cusps, significators, Vimshottari balance, ruling planets and Moon windows alike.
|
|
5865
|
+
*/
|
|
5866
|
+
ayanamsaDegrees: number;
|
|
5867
|
+
houses: {
|
|
5868
|
+
/**
|
|
5869
|
+
* The gain houses this reading used, the request override or the convention.
|
|
5870
|
+
*/
|
|
5871
|
+
gain: Array<number>;
|
|
5872
|
+
/**
|
|
5873
|
+
* The loss houses this reading used, the request override or the convention.
|
|
5874
|
+
*/
|
|
5875
|
+
loss: Array<number>;
|
|
5876
|
+
};
|
|
5877
|
+
significators: {
|
|
5878
|
+
/**
|
|
5879
|
+
* Every planet that signifies at least one gain house at any tier. The set every row is judged against.
|
|
5880
|
+
*/
|
|
5881
|
+
gain: Array<string>;
|
|
5882
|
+
/**
|
|
5883
|
+
* Every planet that signifies at least one loss house at any tier. A planet in both sets reads "mixed" everywhere.
|
|
5884
|
+
*/
|
|
5885
|
+
loss: Array<string>;
|
|
5886
|
+
/**
|
|
5887
|
+
* The per-house evidence the two sets are built from, so any row can be traced to the tier that put its planet in a set.
|
|
5888
|
+
*/
|
|
5889
|
+
byHouse: Array<{
|
|
5890
|
+
/**
|
|
5891
|
+
* The house, 1 to 12.
|
|
5892
|
+
*/
|
|
5893
|
+
house: number;
|
|
5894
|
+
/**
|
|
5895
|
+
* Which set this house feeds. Canonical English machine value.
|
|
5896
|
+
*/
|
|
5897
|
+
group: 'gain' | 'loss';
|
|
5898
|
+
/**
|
|
5899
|
+
* The four tier significators of the house, strongest tier first: planets in the star of an occupant, occupants, planets in the star of the sign lord, the sign lord. A planet appears once per tier it reaches the house at, exactly as the KP chart route lists them.
|
|
5900
|
+
*/
|
|
5901
|
+
significators: Array<string>;
|
|
5902
|
+
}>;
|
|
5903
|
+
};
|
|
5904
|
+
layers: {
|
|
5905
|
+
/**
|
|
5906
|
+
* Structural promise: each cusp of the two groups judged by its sub lord, the loss cusps inverted, the mean over the rows.
|
|
5907
|
+
*/
|
|
5908
|
+
cusps: {
|
|
5909
|
+
/**
|
|
5910
|
+
* Which layer this is. Canonical English machine value, the same as its key.
|
|
5911
|
+
*/
|
|
5912
|
+
layer: 'cusps';
|
|
5913
|
+
/**
|
|
5914
|
+
* Percent of the final score this layer carries. The four weights are cusps 30, dasha 40, rulingPlanets 15, moonWindows 15.
|
|
5915
|
+
*/
|
|
5916
|
+
weight: number;
|
|
5917
|
+
/**
|
|
5918
|
+
* The layer on its own, 0 to 100, one decimal: the mean of its rows, or for the dasha layer the level-weighted sum. The final score is the weight-sum of the four layer scores.
|
|
5919
|
+
*/
|
|
5920
|
+
score: number;
|
|
5921
|
+
rows: Array<{
|
|
5922
|
+
/**
|
|
5923
|
+
* Whether the planet signifies at least one gain house at any of the four tiers.
|
|
5924
|
+
*/
|
|
5925
|
+
inGain: boolean;
|
|
5926
|
+
/**
|
|
5927
|
+
* Whether the planet signifies at least one loss house at any of the four tiers.
|
|
5928
|
+
*/
|
|
5929
|
+
inLoss: boolean;
|
|
5930
|
+
/**
|
|
5931
|
+
* The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
|
|
5932
|
+
*/
|
|
5933
|
+
verdict: 'favourable' | 'mixed' | 'unfavourable' | 'neutral';
|
|
5934
|
+
/**
|
|
5935
|
+
* The cusp judged, 1 to 12.
|
|
5936
|
+
*/
|
|
5937
|
+
house: number;
|
|
5938
|
+
/**
|
|
5939
|
+
* Sidereal longitude of the cusp in the requested ayanamsa, degrees.
|
|
5940
|
+
*/
|
|
5941
|
+
longitude: number;
|
|
5942
|
+
/**
|
|
5943
|
+
* Lord of the sign the cusp falls in.
|
|
5944
|
+
*/
|
|
5945
|
+
signLord: string;
|
|
5946
|
+
/**
|
|
5947
|
+
* Lord of the nakshatra the cusp falls in.
|
|
5948
|
+
*/
|
|
5949
|
+
starLord: string;
|
|
5950
|
+
/**
|
|
5951
|
+
* The KP sub lord of the cusp, the one lord that decides whether the house delivers. It is the planet the row classifies.
|
|
5952
|
+
*/
|
|
5953
|
+
subLord: string;
|
|
5954
|
+
/**
|
|
5955
|
+
* True on a loss house, where the verdict score is inverted: a loss cusp whose sub lord signifies only loss scores 100, because a denied loss is good news for the native.
|
|
5956
|
+
*/
|
|
5957
|
+
inverted: boolean;
|
|
5958
|
+
/**
|
|
5959
|
+
* The verdict score, 100 / 50 / 0 / 50, after the inversion on a loss house.
|
|
5960
|
+
*/
|
|
5961
|
+
score: number;
|
|
5962
|
+
}>;
|
|
5963
|
+
};
|
|
5964
|
+
/**
|
|
5965
|
+
* Timing: the four running Vimshottari lords at the reading moment, in the same sidereal frame as the chart, each judged and penalised if retrograde, then weighed by level.
|
|
5966
|
+
*/
|
|
5967
|
+
dasha: {
|
|
5968
|
+
/**
|
|
5969
|
+
* Which layer this is. Canonical English machine value, the same as its key.
|
|
5970
|
+
*/
|
|
5971
|
+
layer: 'dasha';
|
|
5972
|
+
/**
|
|
5973
|
+
* Percent of the final score this layer carries. The four weights are cusps 30, dasha 40, rulingPlanets 15, moonWindows 15.
|
|
5974
|
+
*/
|
|
5975
|
+
weight: number;
|
|
5976
|
+
/**
|
|
5977
|
+
* The layer on its own, 0 to 100, one decimal: the mean of its rows, or for the dasha layer the level-weighted sum. The final score is the weight-sum of the four layer scores.
|
|
5978
|
+
*/
|
|
5979
|
+
score: number;
|
|
5980
|
+
rows: Array<{
|
|
5981
|
+
/**
|
|
5982
|
+
* Whether the planet signifies at least one gain house at any of the four tiers.
|
|
5983
|
+
*/
|
|
5984
|
+
inGain: boolean;
|
|
5985
|
+
/**
|
|
5986
|
+
* Whether the planet signifies at least one loss house at any of the four tiers.
|
|
5987
|
+
*/
|
|
5988
|
+
inLoss: boolean;
|
|
5989
|
+
/**
|
|
5990
|
+
* The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
|
|
5991
|
+
*/
|
|
5992
|
+
verdict: 'favourable' | 'mixed' | 'unfavourable' | 'neutral';
|
|
5993
|
+
/**
|
|
5994
|
+
* Which Vimshottari level this lord runs, outermost first.
|
|
5995
|
+
*/
|
|
5996
|
+
level: 'mahadasha' | 'antardasha' | 'pratyantardasha' | 'sookshmaDasha';
|
|
5997
|
+
/**
|
|
5998
|
+
* The running lord at this level.
|
|
5999
|
+
*/
|
|
6000
|
+
lord: string;
|
|
6001
|
+
/**
|
|
6002
|
+
* ISO instant the period began.
|
|
6003
|
+
*/
|
|
6004
|
+
startDate: string;
|
|
6005
|
+
/**
|
|
6006
|
+
* ISO instant the period ends.
|
|
6007
|
+
*/
|
|
6008
|
+
endDate: string;
|
|
6009
|
+
/**
|
|
6010
|
+
* Whether the lord is retrograde in transit at the reading moment. Rahu and Ketu always are. Costs 10 points, floored at 0.
|
|
6011
|
+
*/
|
|
6012
|
+
retrograde: boolean;
|
|
6013
|
+
/**
|
|
6014
|
+
* The verdict score after the retrograde penalty.
|
|
6015
|
+
*/
|
|
6016
|
+
score: number;
|
|
6017
|
+
/**
|
|
6018
|
+
* Percent of the dasha layer this level carries, the finer levels weighed more: mahadasha 10, antardasha 20, pratyantardasha 30, sookshmaDasha 40.
|
|
6019
|
+
*/
|
|
6020
|
+
weight: number;
|
|
6021
|
+
}>;
|
|
6022
|
+
};
|
|
6023
|
+
/**
|
|
6024
|
+
* The pulse of the moment: the KP ruling planets at the reading moment, each once, judged and penalised if retrograde, the mean over the rows.
|
|
6025
|
+
*/
|
|
6026
|
+
rulingPlanets: {
|
|
6027
|
+
/**
|
|
6028
|
+
* Which layer this is. Canonical English machine value, the same as its key.
|
|
6029
|
+
*/
|
|
6030
|
+
layer: 'rulingPlanets';
|
|
6031
|
+
/**
|
|
6032
|
+
* Percent of the final score this layer carries. The four weights are cusps 30, dasha 40, rulingPlanets 15, moonWindows 15.
|
|
6033
|
+
*/
|
|
6034
|
+
weight: number;
|
|
6035
|
+
/**
|
|
6036
|
+
* The layer on its own, 0 to 100, one decimal: the mean of its rows, or for the dasha layer the level-weighted sum. The final score is the weight-sum of the four layer scores.
|
|
6037
|
+
*/
|
|
6038
|
+
score: number;
|
|
6039
|
+
rows: Array<{
|
|
6040
|
+
/**
|
|
6041
|
+
* Whether the planet signifies at least one gain house at any of the four tiers.
|
|
6042
|
+
*/
|
|
6043
|
+
inGain: boolean;
|
|
6044
|
+
/**
|
|
6045
|
+
* Whether the planet signifies at least one loss house at any of the four tiers.
|
|
6046
|
+
*/
|
|
6047
|
+
inLoss: boolean;
|
|
6048
|
+
/**
|
|
6049
|
+
* The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
|
|
6050
|
+
*/
|
|
6051
|
+
verdict: 'favourable' | 'mixed' | 'unfavourable' | 'neutral';
|
|
6052
|
+
/**
|
|
6053
|
+
* One ruling planet of the reading moment, listed once: the day lord, the sign and star lords of the Moon, and the sign and star lords of the ascendant.
|
|
6054
|
+
*/
|
|
6055
|
+
planet: string;
|
|
6056
|
+
/**
|
|
6057
|
+
* Whether the planet is retrograde in transit at the reading moment. Costs 10 points, floored at 0.
|
|
6058
|
+
*/
|
|
6059
|
+
retrograde: boolean;
|
|
6060
|
+
/**
|
|
6061
|
+
* The verdict score after the penalty.
|
|
6062
|
+
*/
|
|
6063
|
+
score: number;
|
|
6064
|
+
}>;
|
|
6065
|
+
};
|
|
6066
|
+
/**
|
|
6067
|
+
* The hour hand: every stretch of the civil day over which the Moon holds one sub lord, each judged, the mean over the windows. Window boundaries are found by bisection and printed to the second.
|
|
6068
|
+
*/
|
|
6069
|
+
moonWindows: {
|
|
6070
|
+
/**
|
|
6071
|
+
* Which layer this is. Canonical English machine value, the same as its key.
|
|
6072
|
+
*/
|
|
6073
|
+
layer: 'moonWindows';
|
|
6074
|
+
/**
|
|
6075
|
+
* Percent of the final score this layer carries. The four weights are cusps 30, dasha 40, rulingPlanets 15, moonWindows 15.
|
|
6076
|
+
*/
|
|
6077
|
+
weight: number;
|
|
6078
|
+
/**
|
|
6079
|
+
* The layer on its own, 0 to 100, one decimal: the mean of its rows, or for the dasha layer the level-weighted sum. The final score is the weight-sum of the four layer scores.
|
|
6080
|
+
*/
|
|
6081
|
+
score: number;
|
|
6082
|
+
rows: Array<{
|
|
6083
|
+
/**
|
|
6084
|
+
* Whether the planet signifies at least one gain house at any of the four tiers.
|
|
6085
|
+
*/
|
|
6086
|
+
inGain: boolean;
|
|
6087
|
+
/**
|
|
6088
|
+
* Whether the planet signifies at least one loss house at any of the four tiers.
|
|
6089
|
+
*/
|
|
6090
|
+
inLoss: boolean;
|
|
6091
|
+
/**
|
|
6092
|
+
* The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
|
|
6093
|
+
*/
|
|
6094
|
+
verdict: 'favourable' | 'mixed' | 'unfavourable' | 'neutral';
|
|
6095
|
+
/**
|
|
6096
|
+
* Local datetime the window opens, in the request timezone.
|
|
6097
|
+
*/
|
|
6098
|
+
from: string;
|
|
6099
|
+
/**
|
|
6100
|
+
* Local datetime the window closes. The last window of the day closes at the next midnight.
|
|
6101
|
+
*/
|
|
6102
|
+
to: string;
|
|
6103
|
+
/**
|
|
6104
|
+
* The KP sub lord the Moon holds through this window, the planet the row classifies.
|
|
6105
|
+
*/
|
|
6106
|
+
subLord: string;
|
|
6107
|
+
/**
|
|
6108
|
+
* The verdict score of the window.
|
|
6109
|
+
*/
|
|
6110
|
+
score: number;
|
|
6111
|
+
}>;
|
|
6112
|
+
};
|
|
6113
|
+
};
|
|
6114
|
+
/**
|
|
6115
|
+
* The weight-sum of the four layer scores, 0 to 100, one decimal: cusps 30, dasha 40, rulingPlanets 15, moonWindows 15, each divided by 100. Recomputable from the layers printed above. The house groups, the classification, the inversion on the loss cusps, the retrograde penalty, the level weights and the layer weights are a KP practitioner convention adopted as the published convention of this route: no classical KP text weighs these four layers against each other, and every table behind the number is printed so the result can be checked line by line rather than trusted. The score measures what the method outputs for the day, never the probability of a gain or a loss.
|
|
6116
|
+
*/
|
|
6117
|
+
score: number;
|
|
6118
|
+
/**
|
|
6119
|
+
* The score as one of five bands, each entered at its edge: "strong" from 70, "favourable" from 55, "mixed" from 45, "caution" from 30, "unfavourable" below 30. "mixed" is the ordinary day. Canonical English machine values.
|
|
6120
|
+
*/
|
|
6121
|
+
band: 'strong' | 'favourable' | 'mixed' | 'caution' | 'unfavourable';
|
|
6122
|
+
/**
|
|
6123
|
+
* The favourable Moon window of the day, the longest when several qualify, or null when the day has none. The one stretch the method backs outright.
|
|
6124
|
+
*/
|
|
6125
|
+
bestWindow: {
|
|
6126
|
+
/**
|
|
6127
|
+
* Whether the planet signifies at least one gain house at any of the four tiers.
|
|
6128
|
+
*/
|
|
6129
|
+
inGain: boolean;
|
|
6130
|
+
/**
|
|
6131
|
+
* Whether the planet signifies at least one loss house at any of the four tiers.
|
|
6132
|
+
*/
|
|
6133
|
+
inLoss: boolean;
|
|
6134
|
+
/**
|
|
6135
|
+
* The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
|
|
6136
|
+
*/
|
|
6137
|
+
verdict: 'favourable' | 'mixed' | 'unfavourable' | 'neutral';
|
|
6138
|
+
/**
|
|
6139
|
+
* Local datetime the window opens, in the request timezone.
|
|
6140
|
+
*/
|
|
6141
|
+
from: string;
|
|
6142
|
+
/**
|
|
6143
|
+
* Local datetime the window closes. The last window of the day closes at the next midnight.
|
|
6144
|
+
*/
|
|
6145
|
+
to: string;
|
|
6146
|
+
/**
|
|
6147
|
+
* The KP sub lord the Moon holds through this window, the planet the row classifies.
|
|
6148
|
+
*/
|
|
6149
|
+
subLord: string;
|
|
6150
|
+
/**
|
|
6151
|
+
* The verdict score of the window.
|
|
6152
|
+
*/
|
|
6153
|
+
score: number;
|
|
6154
|
+
} | null;
|
|
6155
|
+
/**
|
|
6156
|
+
* Every unfavourable Moon window of the day, in clock order.
|
|
6157
|
+
*/
|
|
6158
|
+
worstWindows: Array<{
|
|
6159
|
+
/**
|
|
6160
|
+
* Whether the planet signifies at least one gain house at any of the four tiers.
|
|
6161
|
+
*/
|
|
6162
|
+
inGain: boolean;
|
|
6163
|
+
/**
|
|
6164
|
+
* Whether the planet signifies at least one loss house at any of the four tiers.
|
|
6165
|
+
*/
|
|
6166
|
+
inLoss: boolean;
|
|
6167
|
+
/**
|
|
6168
|
+
* The one classification every layer uses: "favourable" when the planet signifies a gain house and no loss house (100), "mixed" when it signifies both (50), "unfavourable" when it signifies a loss house and no gain house (0), "neutral" when it signifies neither (50). Canonical English machine value.
|
|
6169
|
+
*/
|
|
6170
|
+
verdict: 'favourable' | 'mixed' | 'unfavourable' | 'neutral';
|
|
6171
|
+
/**
|
|
6172
|
+
* Local datetime the window opens, in the request timezone.
|
|
6173
|
+
*/
|
|
6174
|
+
from: string;
|
|
6175
|
+
/**
|
|
6176
|
+
* Local datetime the window closes. The last window of the day closes at the next midnight.
|
|
6177
|
+
*/
|
|
6178
|
+
to: string;
|
|
6179
|
+
/**
|
|
6180
|
+
* The KP sub lord the Moon holds through this window, the planet the row classifies.
|
|
6181
|
+
*/
|
|
6182
|
+
subLord: string;
|
|
6183
|
+
/**
|
|
6184
|
+
* The verdict score of the window.
|
|
6185
|
+
*/
|
|
6186
|
+
score: number;
|
|
6187
|
+
}>;
|
|
6188
|
+
};
|
|
6189
|
+
|
|
6190
|
+
export type KpDailyFinanceRequest = {
|
|
6191
|
+
/**
|
|
6192
|
+
* Birth date, YYYY-MM-DD. Fixes the Placidus cusps, the four tier significators and the Vimshottari balance every layer reads.
|
|
6193
|
+
*/
|
|
6194
|
+
birthDate: string;
|
|
6195
|
+
/**
|
|
6196
|
+
* Birth time, HH:MM:SS, 24 hour, local to the birth place. The cusp sub lords move about one sub every four minutes of clock time, so this is the input the whole reading is most sensitive to.
|
|
6197
|
+
*/
|
|
6198
|
+
birthTime: string;
|
|
6199
|
+
/**
|
|
6200
|
+
* Birth latitude in decimal degrees. Sets the Placidus cusps; also the place the ruling planets and the Moon windows are read at.
|
|
6201
|
+
*/
|
|
6202
|
+
latitude: number;
|
|
6203
|
+
/**
|
|
6204
|
+
* Birth longitude in decimal degrees, east positive.
|
|
6205
|
+
*/
|
|
6206
|
+
longitude: number;
|
|
6207
|
+
/**
|
|
6208
|
+
* Timezone as an IANA name (Asia/Kolkata) or decimal hours from UTC. Applies to the birth time, to the reading date and time, and to every local timestamp in the response. IANA names resolve to the offset in force on the date being read.
|
|
6209
|
+
*/
|
|
6210
|
+
timezone?: number | string;
|
|
6211
|
+
/**
|
|
6212
|
+
* Civil date to read, YYYY-MM-DD in the request timezone. Defaults to today (UTC). The Moon windows cover this date from midnight to midnight.
|
|
6213
|
+
*/
|
|
6214
|
+
date?: string;
|
|
6215
|
+
/**
|
|
6216
|
+
* Reading moment on that date, HH:MM:SS local. The ruling planets and the running sookshma lord are read at this instant. Defaults to 12:00:00; pass a market open or any hour for an intraday read.
|
|
6217
|
+
*/
|
|
6218
|
+
time?: string;
|
|
6219
|
+
/**
|
|
6220
|
+
* Ayanamsa system for sidereal conversion. "kp-newcomb" uses the KP-Newcomb dynamic formula, the most common choice for KP astrology. "kp-old" uses the Krishnamurti original table from KP Reader-1 with constant precession rate. "lahiri" uses Lahiri/Chitrapaksha ayanamsa, matching most traditional Vedic software. "raman" uses the B.V. Raman ayanamsa from Hindu Predictive Astrology, a recognised traditional school that sits about 1.45 degrees below Lahiri. Defaults to "kp-newcomb".
|
|
6221
|
+
*/
|
|
6222
|
+
ayanamsa?: 'kp-newcomb' | 'kp-old' | 'lahiri' | 'raman';
|
|
6223
|
+
/**
|
|
6224
|
+
* Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the Rahu and Ketu positions. Mean is the traditional Vedic default and what printed panchangs use; the choice can move a KP sub-lord in narrow boundary cases, where a span can be as small as 0.5 degrees. Defaults to "mean".
|
|
6225
|
+
*/
|
|
6226
|
+
nodeType?: 'mean' | 'true';
|
|
6227
|
+
/**
|
|
6228
|
+
* Houses whose significators count as gain, 1 to 12. Defaults to the convention, 2 and 11. Override it to run your own school: the two lists may not share a house.
|
|
6229
|
+
*/
|
|
6230
|
+
gainHouses?: Array<number>;
|
|
6231
|
+
/**
|
|
6232
|
+
* Houses whose significators count as loss, 1 to 12. Defaults to the convention, 6 and 8 and 12. Override it to run your own school: the two lists may not share a house.
|
|
6233
|
+
*/
|
|
6234
|
+
lossHouses?: Array<number>;
|
|
6235
|
+
/**
|
|
6236
|
+
* Layer weights in percent, all four required, summing to 100. Defaults to the convention, cusps 30, dasha 40, rulingPlanets 15, moonWindows 15. Seventy percent of the default sits on the cusps and the outer dasha levels, which hold for months, so a chart reads inside a narrow band all month and the bands separate charts more than days. Move weight onto rulingPlanets and moonWindows for a reading that turns with the day.
|
|
6237
|
+
*/
|
|
6238
|
+
weights?: {
|
|
6239
|
+
/**
|
|
6240
|
+
* Percent of the final score the cusps layer carries.
|
|
6241
|
+
*/
|
|
6242
|
+
cusps: number;
|
|
6243
|
+
/**
|
|
6244
|
+
* Percent of the final score the dasha layer carries.
|
|
6245
|
+
*/
|
|
6246
|
+
dasha: number;
|
|
6247
|
+
/**
|
|
6248
|
+
* Percent of the final score the rulingPlanets layer carries.
|
|
6249
|
+
*/
|
|
6250
|
+
rulingPlanets: number;
|
|
6251
|
+
/**
|
|
6252
|
+
* Percent of the final score the moonWindows layer carries.
|
|
6253
|
+
*/
|
|
6254
|
+
moonWindows: number;
|
|
6255
|
+
};
|
|
6256
|
+
};
|
|
6257
|
+
|
|
5838
6258
|
export type RashiListResponse = Array<{
|
|
5839
6259
|
/**
|
|
5840
6260
|
* Unique slug identifier for the rashi. Used in URL paths and cross-references.
|
|
@@ -24187,6 +24607,126 @@ export type PostVedicAstrologyKpHoraryResponses = {
|
|
|
24187
24607
|
|
|
24188
24608
|
export type PostVedicAstrologyKpHoraryResponse = PostVedicAstrologyKpHoraryResponses[keyof PostVedicAstrologyKpHoraryResponses];
|
|
24189
24609
|
|
|
24610
|
+
export type PostVedicAstrologyKpDailyFinanceData = {
|
|
24611
|
+
body?: KpDailyFinanceRequest;
|
|
24612
|
+
path?: never;
|
|
24613
|
+
query?: never;
|
|
24614
|
+
url: '/vedic-astrology/kp/daily-finance';
|
|
24615
|
+
};
|
|
24616
|
+
|
|
24617
|
+
export type PostVedicAstrologyKpDailyFinanceErrors = {
|
|
24618
|
+
/**
|
|
24619
|
+
* Validation error. `issues[]` lists every failed field.
|
|
24620
|
+
*/
|
|
24621
|
+
400: {
|
|
24622
|
+
/**
|
|
24623
|
+
* First issue summary.
|
|
24624
|
+
*/
|
|
24625
|
+
error: string;
|
|
24626
|
+
code: 'validation_error';
|
|
24627
|
+
/**
|
|
24628
|
+
* Every validation failure. Use this to rebuild a valid request.
|
|
24629
|
+
*/
|
|
24630
|
+
issues: Array<{
|
|
24631
|
+
/**
|
|
24632
|
+
* Dot-separated field path, or "(root)" for top-level.
|
|
24633
|
+
*/
|
|
24634
|
+
path: string;
|
|
24635
|
+
message: string;
|
|
24636
|
+
/**
|
|
24637
|
+
* Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
|
|
24638
|
+
*/
|
|
24639
|
+
code?: string;
|
|
24640
|
+
/**
|
|
24641
|
+
* Expected type for invalid_type.
|
|
24642
|
+
*/
|
|
24643
|
+
expected?: string;
|
|
24644
|
+
/**
|
|
24645
|
+
* Minimum bound for too_small issues.
|
|
24646
|
+
*/
|
|
24647
|
+
minimum?: number | string;
|
|
24648
|
+
/**
|
|
24649
|
+
* Maximum bound for too_big issues.
|
|
24650
|
+
*/
|
|
24651
|
+
maximum?: number | string;
|
|
24652
|
+
inclusive?: boolean;
|
|
24653
|
+
/**
|
|
24654
|
+
* Format name for string issues (regex, email, url, uuid).
|
|
24655
|
+
*/
|
|
24656
|
+
format?: string;
|
|
24657
|
+
/**
|
|
24658
|
+
* Regex pattern when format is regex.
|
|
24659
|
+
*/
|
|
24660
|
+
pattern?: string;
|
|
24661
|
+
}>;
|
|
24662
|
+
};
|
|
24663
|
+
/**
|
|
24664
|
+
* Invalid or missing API key
|
|
24665
|
+
*/
|
|
24666
|
+
401: {
|
|
24667
|
+
/**
|
|
24668
|
+
* Human-readable error message. May change wording.
|
|
24669
|
+
*/
|
|
24670
|
+
error: string;
|
|
24671
|
+
/**
|
|
24672
|
+
* Machine-readable error code. Stable identifier.
|
|
24673
|
+
*/
|
|
24674
|
+
code: string;
|
|
24675
|
+
};
|
|
24676
|
+
/**
|
|
24677
|
+
* Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
|
|
24678
|
+
*/
|
|
24679
|
+
405: {
|
|
24680
|
+
error: string;
|
|
24681
|
+
code: 'method_not_allowed';
|
|
24682
|
+
/**
|
|
24683
|
+
* Allowed HTTP methods for this path. Mirrors the Allow response header.
|
|
24684
|
+
*/
|
|
24685
|
+
allow: Array<string>;
|
|
24686
|
+
/**
|
|
24687
|
+
* Link to the product page for this domain.
|
|
24688
|
+
*/
|
|
24689
|
+
docs?: string;
|
|
24690
|
+
};
|
|
24691
|
+
/**
|
|
24692
|
+
* Monthly rate limit exceeded
|
|
24693
|
+
*/
|
|
24694
|
+
429: {
|
|
24695
|
+
/**
|
|
24696
|
+
* Human-readable error message. May change wording.
|
|
24697
|
+
*/
|
|
24698
|
+
error: string;
|
|
24699
|
+
/**
|
|
24700
|
+
* Machine-readable error code. Stable identifier.
|
|
24701
|
+
*/
|
|
24702
|
+
code: string;
|
|
24703
|
+
};
|
|
24704
|
+
/**
|
|
24705
|
+
* Internal server error
|
|
24706
|
+
*/
|
|
24707
|
+
500: {
|
|
24708
|
+
/**
|
|
24709
|
+
* Human-readable error message. May change wording.
|
|
24710
|
+
*/
|
|
24711
|
+
error: string;
|
|
24712
|
+
/**
|
|
24713
|
+
* Machine-readable error code. Stable identifier.
|
|
24714
|
+
*/
|
|
24715
|
+
code: string;
|
|
24716
|
+
};
|
|
24717
|
+
};
|
|
24718
|
+
|
|
24719
|
+
export type PostVedicAstrologyKpDailyFinanceError = PostVedicAstrologyKpDailyFinanceErrors[keyof PostVedicAstrologyKpDailyFinanceErrors];
|
|
24720
|
+
|
|
24721
|
+
export type PostVedicAstrologyKpDailyFinanceResponses = {
|
|
24722
|
+
/**
|
|
24723
|
+
* The four layers, the weighted score, the band and the day windows.
|
|
24724
|
+
*/
|
|
24725
|
+
200: KpDailyFinanceResponse;
|
|
24726
|
+
};
|
|
24727
|
+
|
|
24728
|
+
export type PostVedicAstrologyKpDailyFinanceResponse = PostVedicAstrologyKpDailyFinanceResponses[keyof PostVedicAstrologyKpDailyFinanceResponses];
|
|
24729
|
+
|
|
24190
24730
|
export type PostVedicAstrologyAspectsData = {
|
|
24191
24731
|
body?: {
|
|
24192
24732
|
/**
|
|
@@ -52397,9 +52937,9 @@ export type PostKabbalahGematriaData = {
|
|
|
52397
52937
|
*/
|
|
52398
52938
|
textHebrew?: string;
|
|
52399
52939
|
/**
|
|
52400
|
-
* How a Latin name is written in Hebrew before it is scored.
|
|
52940
|
+
* How a Latin name is written in Hebrew before it is scored. Two members. letter-map-mathers is the 1887 Hermetic letter map, with e read as its author practised it: a point inside a word and alef at the start of one. It writes no c, f, w or x, so a name carrying one of them outside a two letter group returns 400 naming the letter. letter-map-modern follows the modern Israeli transcription rules for the sound each Latin letter carries in English and French spelling, covers every Latin letter, drops the geresh and does not double vav or yod, so send textHebrew for the ktiv male form. Every form states the readings it used in rule. Phonetic Ashkenazi and Sephardi schemes are not offered because no two references agree on a rule for that direction.
|
|
52401
52941
|
*/
|
|
52402
|
-
transliteration?: 'letter-map-mathers';
|
|
52942
|
+
transliteration?: 'letter-map-mathers' | 'letter-map-modern';
|
|
52403
52943
|
/**
|
|
52404
52944
|
* Which ciphers to return, by identifier. Omit for every computed cipher. Valid values are mispar-hechrachi, mispar-gadol, otiyot-be-milui, mispar-katan, mispar-kidmi, mispar-prati, mispar-ha-merubah-ha-klali, mispar-meshulash, mispar-musafi, kolel.
|
|
52405
52945
|
*/
|
|
@@ -52563,7 +53103,7 @@ export type PostKabbalahGematriaResponses = {
|
|
|
52563
53103
|
*/
|
|
52564
53104
|
romanization: string;
|
|
52565
53105
|
/**
|
|
52566
|
-
* Why this spelling came out of the map, so a caller can tell the parses apart.
|
|
53106
|
+
* Why this spelling came out of the map: the parse rule first, then one sentence for every reading the scheme applied that the letters alone would not show, so a caller can tell the parses apart.
|
|
52567
53107
|
*/
|
|
52568
53108
|
rule: string;
|
|
52569
53109
|
/**
|
|
@@ -52604,7 +53144,7 @@ export type PostKabbalahGematriaResponses = {
|
|
|
52604
53144
|
*/
|
|
52605
53145
|
letterId: string;
|
|
52606
53146
|
/**
|
|
52607
|
-
* Display name of the letter.
|
|
53147
|
+
* Display name of the letter, in the requested language. Branch on letterId, never on this.
|
|
52608
53148
|
*/
|
|
52609
53149
|
name: string;
|
|
52610
53150
|
/**
|
|
@@ -53014,9 +53554,9 @@ export type PostKabbalahNameProfileData = {
|
|
|
53014
53554
|
*/
|
|
53015
53555
|
nameHebrew?: string;
|
|
53016
53556
|
/**
|
|
53017
|
-
* How a Latin name is written in Hebrew before it is scored.
|
|
53557
|
+
* How a Latin name is written in Hebrew before it is scored. Two members. letter-map-mathers is the 1887 Hermetic letter map, with e read as its author practised it: a point inside a word and alef at the start of one. It writes no c, f, w or x, so a name carrying one of them outside a two letter group returns 400 naming the letter. letter-map-modern follows the modern Israeli transcription rules for the sound each Latin letter carries in English and French spelling, covers every Latin letter, drops the geresh and does not double vav or yod, so send textHebrew for the ktiv male form. Every form states the readings it used in rule. Phonetic Ashkenazi and Sephardi schemes are not offered because no two references agree on a rule for that direction.
|
|
53018
53558
|
*/
|
|
53019
|
-
transliteration?: 'letter-map-mathers';
|
|
53559
|
+
transliteration?: 'letter-map-mathers' | 'letter-map-modern';
|
|
53020
53560
|
/**
|
|
53021
53561
|
* Which method the name mispar gadol means, because the sources use it for two. Use finals-500-900 to score the five word final letters as 500 to 900, or milui to score each letter as the value of its own spelled out name.
|
|
53022
53562
|
*/
|
|
@@ -53164,7 +53704,7 @@ export type PostKabbalahNameProfileResponses = {
|
|
|
53164
53704
|
*/
|
|
53165
53705
|
romanization: string;
|
|
53166
53706
|
/**
|
|
53167
|
-
* Why this spelling came out of the map, so a caller can tell the parses apart.
|
|
53707
|
+
* Why this spelling came out of the map: the parse rule first, then one sentence for every reading the scheme applied that the letters alone would not show, so a caller can tell the parses apart.
|
|
53168
53708
|
*/
|
|
53169
53709
|
rule: string;
|
|
53170
53710
|
/**
|
|
@@ -53205,7 +53745,7 @@ export type PostKabbalahNameProfileResponses = {
|
|
|
53205
53745
|
*/
|
|
53206
53746
|
letterId: string;
|
|
53207
53747
|
/**
|
|
53208
|
-
* Display name of the letter.
|
|
53748
|
+
* Display name of the letter, in the requested language. Branch on letterId, never on this.
|
|
53209
53749
|
*/
|
|
53210
53750
|
name: string;
|
|
53211
53751
|
/**
|
|
@@ -55068,9 +55608,9 @@ export type PostKabbalahCompatibilityData = {
|
|
|
55068
55608
|
*/
|
|
55069
55609
|
secondNameHebrew?: string;
|
|
55070
55610
|
/**
|
|
55071
|
-
* How a Latin name is written in Hebrew before it is scored.
|
|
55611
|
+
* How a Latin name is written in Hebrew before it is scored. Two members. letter-map-mathers is the 1887 Hermetic letter map, with e read as its author practised it: a point inside a word and alef at the start of one. It writes no c, f, w or x, so a name carrying one of them outside a two letter group returns 400 naming the letter. letter-map-modern follows the modern Israeli transcription rules for the sound each Latin letter carries in English and French spelling, covers every Latin letter, drops the geresh and does not double vav or yod, so send textHebrew for the ktiv male form. Every form states the readings it used in rule. Phonetic Ashkenazi and Sephardi schemes are not offered because no two references agree on a rule for that direction.
|
|
55072
55612
|
*/
|
|
55073
|
-
transliteration?: 'letter-map-mathers';
|
|
55613
|
+
transliteration?: 'letter-map-mathers' | 'letter-map-modern';
|
|
55074
55614
|
/**
|
|
55075
55615
|
* Which method the name mispar gadol means, because the sources use it for two. Use finals-500-900 to score the five word final letters as 500 to 900, or milui to score each letter as the value of its own spelled out name.
|
|
55076
55616
|
*/
|
|
@@ -55313,12 +55853,9 @@ export type PostKabbalahCompatibilityResponses = {
|
|
|
55313
55853
|
* The composed reading, in the requested language. It states that the score is ours.
|
|
55314
55854
|
*/
|
|
55315
55855
|
reading: string;
|
|
55316
|
-
/**
|
|
55317
|
-
* The conventions this answer was computed under.
|
|
55318
|
-
*/
|
|
55319
55856
|
conventions: {
|
|
55320
55857
|
/**
|
|
55321
|
-
* The Latin to Hebrew scheme applied. Absent when
|
|
55858
|
+
* The Latin to Hebrew scheme applied. Absent when the caller sent Hebrew directly.
|
|
55322
55859
|
*/
|
|
55323
55860
|
transliteration?: string;
|
|
55324
55861
|
/**
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.2.
|
|
1
|
+
export const VERSION = '1.2.83';
|