@roxyapi/sdk 1.2.42 → 1.2.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -2
- package/README.md +2 -2
- package/dist/factory.cjs +2 -2
- package/dist/factory.js +2 -2
- package/dist/sdk.gen.d.ts +1 -1
- package/dist/types.gen.d.ts +15 -15
- package/dist/version.d.ts +1 -1
- package/docs/llms-full.txt +2 -2
- package/package.json +1 -1
- package/src/sdk.gen.ts +1 -1
- package/src/types.gen.ts +15 -15
- package/src/version.ts +1 -1
package/AGENTS.md
CHANGED
|
@@ -49,10 +49,10 @@ Type `roxy.` to see all available namespaces. Type `roxy.{domain}.` to see every
|
|
|
49
49
|
| `roxy.forecast` | Merge upcoming transit aspects, sign ingresses, retrograde stations, new and full moons, biorhythm critical days, and... |
|
|
50
50
|
| `roxy.biorhythm` | The most complete biorhythm API: 10 cycle types across 3 primary (physical, emotional, intellectual), 4 secondary (in... |
|
|
51
51
|
| `roxy.iching` | I-Ching oracle API with all 64 hexagrams, 384 changing lines, 8 trigrams, and modern interpretations for love, career... |
|
|
52
|
-
| `roxy.crystals` | Crystal healing API
|
|
52
|
+
| `roxy.crystals` | Crystal healing API covering the most popular and widely-searched healing crystals and gemstones, from Amethyst and R... |
|
|
53
53
|
| `roxy.dreams` | Dream interpretation API with a 2,000+ symbol dream dictionary and psychological meanings covering animals, objects,... |
|
|
54
54
|
| `roxy.angelNumbers` | Angel numbers API with meanings for 111, 222, 333, 444, 555, 666, 777, 888, 999, 1111, and 75+ sequences covering eve... |
|
|
55
|
-
| `roxy.location` | City search and geocoding API with
|
|
55
|
+
| `roxy.location` | City search and geocoding API with 23,000+ cities across 240+ countries, returning latitude, longitude, IANA timezone... |
|
|
56
56
|
| `roxy.usage` | Monitor your API usage, check rate limits, and track request consumption |
|
|
57
57
|
| `roxy.languages` | List the response languages accepted by the `lang` query parameter on every i18n-aware endpoint |
|
|
58
58
|
<!-- END:DOMAINS -->
|
package/README.md
CHANGED
|
@@ -93,10 +93,10 @@ const { latitude, longitude, timezone } = data.cities[0];
|
|
|
93
93
|
| `roxy.forecast` | Merge upcoming transit aspects, sign ingresses, retrograde stations, new and full moons, biorhythm critical days, and... |
|
|
94
94
|
| `roxy.biorhythm` | The most complete biorhythm API: 10 cycle types across 3 primary (physical, emotional, intellectual), 4 secondary (in... |
|
|
95
95
|
| `roxy.iching` | I-Ching oracle API with all 64 hexagrams, 384 changing lines, 8 trigrams, and modern interpretations for love, career... |
|
|
96
|
-
| `roxy.crystals` | Crystal healing API
|
|
96
|
+
| `roxy.crystals` | Crystal healing API covering the most popular and widely-searched healing crystals and gemstones, from Amethyst and R... |
|
|
97
97
|
| `roxy.dreams` | Dream interpretation API with a 2,000+ symbol dream dictionary and psychological meanings covering animals, objects,... |
|
|
98
98
|
| `roxy.angelNumbers` | Angel numbers API with meanings for 111, 222, 333, 444, 555, 666, 777, 888, 999, 1111, and 75+ sequences covering eve... |
|
|
99
|
-
| `roxy.location` | City search and geocoding API with
|
|
99
|
+
| `roxy.location` | City search and geocoding API with 23,000+ cities across 240+ countries, returning latitude, longitude, IANA timezone... |
|
|
100
100
|
| `roxy.usage` | Monitor your API usage, check rate limits, and track request consumption |
|
|
101
101
|
| `roxy.languages` | List the response languages accepted by the `lang` query parameter on every i18n-aware endpoint |
|
|
102
102
|
<!-- END:DOMAINS -->
|
package/dist/factory.cjs
CHANGED
|
@@ -1622,7 +1622,7 @@ var VedicAstrology = class extends HeyApiClient {
|
|
|
1622
1622
|
/**
|
|
1623
1623
|
* Detect classical Vedic yogas in a birth chart
|
|
1624
1624
|
*
|
|
1625
|
-
* Chart-driven detection of 12 classical Vedic yogas: Gajakesari (parashara three-rule definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha yogas (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each yoga is returned with a present boolean and a classical-text evidence string naming the rule that triggered or failed (kendra position, dignity, malefic drishti, lordship, retrograde state). Unlike GET /yoga and GET /yoga/{id} which are dictionary lookups, this endpoint computes the kundli from birth data and runs the detection rules. Sources: BPHS ch. 75, Mantreswara Phaladeepika ch. 6, B.V. Raman Three Hundred Important Combinations.
|
|
1625
|
+
* Chart-driven detection of 12 classical Vedic yogas: Gajakesari (parashara three-rule definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha yogas (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each yoga is returned with an `id`, `name`, a `present` boolean, a `quality` (Positive, Negative, or Both, i.e. auspicious, inauspicious, or context-dependent), and a classical-text `evidence` string naming the rule that triggered or failed (kendra position, dignity, malefic drishti, lordship, retrograde state). There is no separate major/minor flag; `quality` is the auspiciousness axis. Unlike GET /yoga and GET /yoga/{id} which are dictionary lookups, this endpoint computes the kundli from birth data and runs the detection rules. Sources: BPHS ch. 75, Mantreswara Phaladeepika ch. 6, B.V. Raman Three Hundred Important Combinations.
|
|
1626
1626
|
*/
|
|
1627
1627
|
detectYogas(options) {
|
|
1628
1628
|
return (options?.client ?? this.client).post({
|
|
@@ -3353,7 +3353,7 @@ var Roxy = class _Roxy extends HeyApiClient {
|
|
|
3353
3353
|
};
|
|
3354
3354
|
|
|
3355
3355
|
// src/version.ts
|
|
3356
|
-
var VERSION = "1.2.
|
|
3356
|
+
var VERSION = "1.2.44";
|
|
3357
3357
|
|
|
3358
3358
|
// src/factory.ts
|
|
3359
3359
|
function createRoxy(auth) {
|
package/dist/factory.js
CHANGED
|
@@ -801,7 +801,7 @@ var VedicAstrology = class extends HeyApiClient {
|
|
|
801
801
|
/**
|
|
802
802
|
* Detect classical Vedic yogas in a birth chart
|
|
803
803
|
*
|
|
804
|
-
* Chart-driven detection of 12 classical Vedic yogas: Gajakesari (parashara three-rule definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha yogas (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each yoga is returned with a present boolean and a classical-text evidence string naming the rule that triggered or failed (kendra position, dignity, malefic drishti, lordship, retrograde state). Unlike GET /yoga and GET /yoga/{id} which are dictionary lookups, this endpoint computes the kundli from birth data and runs the detection rules. Sources: BPHS ch. 75, Mantreswara Phaladeepika ch. 6, B.V. Raman Three Hundred Important Combinations.
|
|
804
|
+
* Chart-driven detection of 12 classical Vedic yogas: Gajakesari (parashara three-rule definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha yogas (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each yoga is returned with an `id`, `name`, a `present` boolean, a `quality` (Positive, Negative, or Both, i.e. auspicious, inauspicious, or context-dependent), and a classical-text `evidence` string naming the rule that triggered or failed (kendra position, dignity, malefic drishti, lordship, retrograde state). There is no separate major/minor flag; `quality` is the auspiciousness axis. Unlike GET /yoga and GET /yoga/{id} which are dictionary lookups, this endpoint computes the kundli from birth data and runs the detection rules. Sources: BPHS ch. 75, Mantreswara Phaladeepika ch. 6, B.V. Raman Three Hundred Important Combinations.
|
|
805
805
|
*/
|
|
806
806
|
detectYogas(options) {
|
|
807
807
|
return (options?.client ?? this.client).post({
|
|
@@ -2532,7 +2532,7 @@ var Roxy = class _Roxy extends HeyApiClient {
|
|
|
2532
2532
|
};
|
|
2533
2533
|
|
|
2534
2534
|
// src/version.ts
|
|
2535
|
-
var VERSION = "1.2.
|
|
2535
|
+
var VERSION = "1.2.44";
|
|
2536
2536
|
|
|
2537
2537
|
// src/factory.ts
|
|
2538
2538
|
function createRoxy(auth) {
|
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -337,7 +337,7 @@ export declare class VedicAstrology extends HeyApiClient {
|
|
|
337
337
|
/**
|
|
338
338
|
* Detect classical Vedic yogas in a birth chart
|
|
339
339
|
*
|
|
340
|
-
* Chart-driven detection of 12 classical Vedic yogas: Gajakesari (parashara three-rule definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha yogas (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each yoga is returned with a present boolean and a classical-text evidence string naming the rule that triggered or failed (kendra position, dignity, malefic drishti, lordship, retrograde state). Unlike GET /yoga and GET /yoga/{id} which are dictionary lookups, this endpoint computes the kundli from birth data and runs the detection rules. Sources: BPHS ch. 75, Mantreswara Phaladeepika ch. 6, B.V. Raman Three Hundred Important Combinations.
|
|
340
|
+
* Chart-driven detection of 12 classical Vedic yogas: Gajakesari (parashara three-rule definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha yogas (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each yoga is returned with an `id`, `name`, a `present` boolean, a `quality` (Positive, Negative, or Both, i.e. auspicious, inauspicious, or context-dependent), and a classical-text `evidence` string naming the rule that triggered or failed (kendra position, dignity, malefic drishti, lordship, retrograde state). There is no separate major/minor flag; `quality` is the auspiciousness axis. Unlike GET /yoga and GET /yoga/{id} which are dictionary lookups, this endpoint computes the kundli from birth data and runs the detection rules. Sources: BPHS ch. 75, Mantreswara Phaladeepika ch. 6, B.V. Raman Three Hundred Important Combinations.
|
|
341
341
|
*/
|
|
342
342
|
detectYogas<ThrowOnError extends boolean = false>(options?: Options<PostVedicAstrologyYogaDetectData, ThrowOnError>): import("./client").RequestResult<PostVedicAstrologyYogaDetectResponses, PostVedicAstrologyYogaDetectErrors, ThrowOnError, "fields">;
|
|
343
343
|
/**
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -866,11 +866,11 @@ export type TransitsRequest = {
|
|
|
866
866
|
*/
|
|
867
867
|
natalChart?: {
|
|
868
868
|
/**
|
|
869
|
-
* Date in YYYY-MM-DD format.
|
|
869
|
+
* 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.
|
|
870
870
|
*/
|
|
871
871
|
date: string;
|
|
872
872
|
/**
|
|
873
|
-
* Time in 24-hour
|
|
873
|
+
* Time in 24-hour format. Seconds are optional and default to 00 (14:30 becomes 14:30:00); a single-digit hour is zero-padded. Out-of-range values are rejected.
|
|
874
874
|
*/
|
|
875
875
|
time: string;
|
|
876
876
|
latitude: number;
|
|
@@ -2749,7 +2749,7 @@ export type BirthChartResponse = {
|
|
|
2749
2749
|
};
|
|
2750
2750
|
};
|
|
2751
2751
|
/**
|
|
2752
|
-
* Twelve classical yogas detected against this chart: Gajakesari (three-rule parashara definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each entry carries an `id` (matches `GET /yoga/{id}` for full glossary lookup), a `present` boolean, and classical-text `evidence` for the rule that triggered or failed.
|
|
2752
|
+
* Twelve classical yogas detected against this chart: Gajakesari (three-rule parashara definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each entry carries an `id` (matches `GET /yoga/{id}` for full glossary lookup), a `present` boolean, a `quality` (Positive, Negative, or Both = auspicious, inauspicious, or context-dependent), and classical-text `evidence` for the rule that triggered or failed.
|
|
2753
2753
|
*/
|
|
2754
2754
|
yogas?: Array<{
|
|
2755
2755
|
/**
|
|
@@ -3586,7 +3586,7 @@ export type SadhesatiRequest = {
|
|
|
3586
3586
|
};
|
|
3587
3587
|
export type YogaDetectResponse = {
|
|
3588
3588
|
/**
|
|
3589
|
-
* Array of 12 detected yogas. Every entry carries a present boolean; filter on present === true for active yogas. Evidence text names the rule that triggered or failed.
|
|
3589
|
+
* Array of 12 detected yogas. Every entry carries a `present` boolean and a `quality` (Positive, Negative, or Both = auspicious, inauspicious, or context-dependent); filter on present === true for active yogas. Evidence text names the rule that triggered or failed.
|
|
3590
3590
|
*/
|
|
3591
3591
|
yogas: Array<{
|
|
3592
3592
|
/**
|
|
@@ -4703,11 +4703,11 @@ export type KpPlanetsIntervalResponse = {
|
|
|
4703
4703
|
};
|
|
4704
4704
|
export type KpPlanetsIntervalRequest = {
|
|
4705
4705
|
/**
|
|
4706
|
-
* Start datetime in ISO 8601
|
|
4706
|
+
* Start datetime in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
|
|
4707
4707
|
*/
|
|
4708
4708
|
startDatetime: string;
|
|
4709
4709
|
/**
|
|
4710
|
-
* End datetime in ISO 8601
|
|
4710
|
+
* End datetime in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Maximum 7 days from start. Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
|
|
4711
4711
|
*/
|
|
4712
4712
|
endDatetime: string;
|
|
4713
4713
|
/**
|
|
@@ -14042,7 +14042,7 @@ export type PostVedicAstrologyPanchangBasicResponse = PostVedicAstrologyPanchang
|
|
|
14042
14042
|
export type PostVedicAstrologyPanchangDetailedData = {
|
|
14043
14043
|
body?: {
|
|
14044
14044
|
/**
|
|
14045
|
-
* Date in YYYY-MM-DD format.
|
|
14045
|
+
* 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.
|
|
14046
14046
|
*/
|
|
14047
14047
|
date: string;
|
|
14048
14048
|
/**
|
|
@@ -14713,7 +14713,7 @@ export type PostVedicAstrologyPanchangDetailedResponse = PostVedicAstrologyPanch
|
|
|
14713
14713
|
export type PostVedicAstrologyPanchangChoghadiyaData = {
|
|
14714
14714
|
body?: {
|
|
14715
14715
|
/**
|
|
14716
|
-
* Date in YYYY-MM-DD format.
|
|
14716
|
+
* 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.
|
|
14717
14717
|
*/
|
|
14718
14718
|
date: string;
|
|
14719
14719
|
/**
|
|
@@ -14897,7 +14897,7 @@ export type PostVedicAstrologyPanchangChoghadiyaResponse = PostVedicAstrologyPan
|
|
|
14897
14897
|
export type PostVedicAstrologyPanchangHoraData = {
|
|
14898
14898
|
body?: {
|
|
14899
14899
|
/**
|
|
14900
|
-
* Date in YYYY-MM-DD format.
|
|
14900
|
+
* 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.
|
|
14901
14901
|
*/
|
|
14902
14902
|
date: string;
|
|
14903
14903
|
/**
|
|
@@ -16320,7 +16320,7 @@ export type PostVedicAstrologyKpRulingPlanetsData = {
|
|
|
16320
16320
|
*/
|
|
16321
16321
|
timezone?: number | string;
|
|
16322
16322
|
/**
|
|
16323
|
-
* ISO 8601 datetime for ruling planets. Defaults to current time.
|
|
16323
|
+
* ISO 8601 datetime (YYYY-MM-DDTHH:MM:SS) for ruling planets. Defaults to current time. Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
|
|
16324
16324
|
*/
|
|
16325
16325
|
datetime?: string;
|
|
16326
16326
|
/**
|
|
@@ -16452,11 +16452,11 @@ export type PostVedicAstrologyKpRulingPlanetsResponse = PostVedicAstrologyKpRuli
|
|
|
16452
16452
|
export type PostVedicAstrologyKpRulingPlanetsIntervalData = {
|
|
16453
16453
|
body?: {
|
|
16454
16454
|
/**
|
|
16455
|
-
* Start of the interval range in ISO 8601
|
|
16455
|
+
* Start of the interval range in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
|
|
16456
16456
|
*/
|
|
16457
16457
|
startDatetime: string;
|
|
16458
16458
|
/**
|
|
16459
|
-
* End of the interval range in ISO 8601
|
|
16459
|
+
* End of the interval range in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
|
|
16460
16460
|
*/
|
|
16461
16461
|
endDatetime: string;
|
|
16462
16462
|
/**
|
|
@@ -21156,7 +21156,7 @@ export type PostNumerologyPersonalDayData = {
|
|
|
21156
21156
|
*/
|
|
21157
21157
|
day: number;
|
|
21158
21158
|
/**
|
|
21159
|
-
* Target date in YYYY-MM-DD format
|
|
21159
|
+
* Target date in YYYY-MM-DD format. Defaults to today (UTC).
|
|
21160
21160
|
*/
|
|
21161
21161
|
targetDate?: string;
|
|
21162
21162
|
};
|
|
@@ -33097,7 +33097,7 @@ export type GetCrystalsPairingsByIdData = {
|
|
|
33097
33097
|
body?: never;
|
|
33098
33098
|
path: {
|
|
33099
33099
|
/**
|
|
33100
|
-
* URL-safe crystal identifier to find pairings for (e.g., "amethyst", "rose-quartz").
|
|
33100
|
+
* URL-safe crystal identifier to find pairings for, case-insensitive (e.g., "amethyst", "Amethyst", "rose-quartz" all resolve).
|
|
33101
33101
|
*/
|
|
33102
33102
|
id: string;
|
|
33103
33103
|
};
|
|
@@ -34026,7 +34026,7 @@ export type GetCrystalsByIdData = {
|
|
|
34026
34026
|
body?: never;
|
|
34027
34027
|
path: {
|
|
34028
34028
|
/**
|
|
34029
|
-
* URL-safe crystal identifier (e.g., "amethyst", "
|
|
34029
|
+
* URL-safe crystal identifier, case-insensitive (e.g., "amethyst", "Amethyst", "rose-quartz" all resolve). Must match an entry in the database.
|
|
34030
34030
|
*/
|
|
34031
34031
|
id: string;
|
|
34032
34032
|
};
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.2.
|
|
1
|
+
export declare const VERSION = "1.2.44";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/docs/llms-full.txt
CHANGED
|
@@ -1336,7 +1336,7 @@ const { data } = await roxy.iching.getTrigram({ path: { id: 'Heaven' } });
|
|
|
1336
1336
|
|
|
1337
1337
|
## Crystals and Healing Stones — `roxy.crystals`
|
|
1338
1338
|
|
|
1339
|
-
Crystal healing API
|
|
1339
|
+
Crystal healing API covering the most popular and widely-searched healing crystals and gemstones, from Amethyst and R...
|
|
1340
1340
|
|
|
1341
1341
|
```typescript
|
|
1342
1342
|
// Crystals by Zodiac Sign
|
|
@@ -1442,7 +1442,7 @@ const { data } = await roxy.angelNumbers.getDailyAngelNumber({ body: { seed: 'us
|
|
|
1442
1442
|
|
|
1443
1443
|
## Location and Timezone — `roxy.location`
|
|
1444
1444
|
|
|
1445
|
-
City search and geocoding API with
|
|
1445
|
+
City search and geocoding API with 23,000+ cities across 240+ countries, returning latitude, longitude, IANA timezone...
|
|
1446
1446
|
|
|
1447
1447
|
```typescript
|
|
1448
1448
|
// Search cities worldwide - Geocoding autocomplete with coordinates and timezone
|
package/package.json
CHANGED
package/src/sdk.gen.ts
CHANGED
|
@@ -871,7 +871,7 @@ export class VedicAstrology extends HeyApiClient {
|
|
|
871
871
|
/**
|
|
872
872
|
* Detect classical Vedic yogas in a birth chart
|
|
873
873
|
*
|
|
874
|
-
* Chart-driven detection of 12 classical Vedic yogas: Gajakesari (parashara three-rule definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha yogas (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each yoga is returned with a present boolean and a classical-text evidence string naming the rule that triggered or failed (kendra position, dignity, malefic drishti, lordship, retrograde state). Unlike GET /yoga and GET /yoga/{id} which are dictionary lookups, this endpoint computes the kundli from birth data and runs the detection rules. Sources: BPHS ch. 75, Mantreswara Phaladeepika ch. 6, B.V. Raman Three Hundred Important Combinations.
|
|
874
|
+
* Chart-driven detection of 12 classical Vedic yogas: Gajakesari (parashara three-rule definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha yogas (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each yoga is returned with an `id`, `name`, a `present` boolean, a `quality` (Positive, Negative, or Both, i.e. auspicious, inauspicious, or context-dependent), and a classical-text `evidence` string naming the rule that triggered or failed (kendra position, dignity, malefic drishti, lordship, retrograde state). There is no separate major/minor flag; `quality` is the auspiciousness axis. Unlike GET /yoga and GET /yoga/{id} which are dictionary lookups, this endpoint computes the kundli from birth data and runs the detection rules. Sources: BPHS ch. 75, Mantreswara Phaladeepika ch. 6, B.V. Raman Three Hundred Important Combinations.
|
|
875
875
|
*/
|
|
876
876
|
public detectYogas<ThrowOnError extends boolean = false>(options?: Options<PostVedicAstrologyYogaDetectData, ThrowOnError>) {
|
|
877
877
|
return (options?.client ?? this.client).post<PostVedicAstrologyYogaDetectResponses, PostVedicAstrologyYogaDetectErrors, ThrowOnError>({
|
package/src/types.gen.ts
CHANGED
|
@@ -877,11 +877,11 @@ export type TransitsRequest = {
|
|
|
877
877
|
*/
|
|
878
878
|
natalChart?: {
|
|
879
879
|
/**
|
|
880
|
-
* Date in YYYY-MM-DD format.
|
|
880
|
+
* 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.
|
|
881
881
|
*/
|
|
882
882
|
date: string;
|
|
883
883
|
/**
|
|
884
|
-
* Time in 24-hour
|
|
884
|
+
* Time in 24-hour format. Seconds are optional and default to 00 (14:30 becomes 14:30:00); a single-digit hour is zero-padded. Out-of-range values are rejected.
|
|
885
885
|
*/
|
|
886
886
|
time: string;
|
|
887
887
|
latitude: number;
|
|
@@ -2779,7 +2779,7 @@ export type BirthChartResponse = {
|
|
|
2779
2779
|
};
|
|
2780
2780
|
};
|
|
2781
2781
|
/**
|
|
2782
|
-
* Twelve classical yogas detected against this chart: Gajakesari (three-rule parashara definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each entry carries an `id` (matches `GET /yoga/{id}` for full glossary lookup), a `present` boolean, and classical-text `evidence` for the rule that triggered or failed.
|
|
2782
|
+
* Twelve classical yogas detected against this chart: Gajakesari (three-rule parashara definition), Sunapha, Anapha, Dhurdhura, Kemadruma, Chandra Mangala, Budha-Aditya, and the five Pancha Mahapurusha (Ruchaka, Bhadra, Hamsa, Malavya, Sasa). Each entry carries an `id` (matches `GET /yoga/{id}` for full glossary lookup), a `present` boolean, a `quality` (Positive, Negative, or Both = auspicious, inauspicious, or context-dependent), and classical-text `evidence` for the rule that triggered or failed.
|
|
2783
2783
|
*/
|
|
2784
2784
|
yogas?: Array<{
|
|
2785
2785
|
/**
|
|
@@ -3632,7 +3632,7 @@ export type SadhesatiRequest = {
|
|
|
3632
3632
|
|
|
3633
3633
|
export type YogaDetectResponse = {
|
|
3634
3634
|
/**
|
|
3635
|
-
* Array of 12 detected yogas. Every entry carries a present boolean; filter on present === true for active yogas. Evidence text names the rule that triggered or failed.
|
|
3635
|
+
* Array of 12 detected yogas. Every entry carries a `present` boolean and a `quality` (Positive, Negative, or Both = auspicious, inauspicious, or context-dependent); filter on present === true for active yogas. Evidence text names the rule that triggered or failed.
|
|
3636
3636
|
*/
|
|
3637
3637
|
yogas: Array<{
|
|
3638
3638
|
/**
|
|
@@ -4765,11 +4765,11 @@ export type KpPlanetsIntervalResponse = {
|
|
|
4765
4765
|
|
|
4766
4766
|
export type KpPlanetsIntervalRequest = {
|
|
4767
4767
|
/**
|
|
4768
|
-
* Start datetime in ISO 8601
|
|
4768
|
+
* Start datetime in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
|
|
4769
4769
|
*/
|
|
4770
4770
|
startDatetime: string;
|
|
4771
4771
|
/**
|
|
4772
|
-
* End datetime in ISO 8601
|
|
4772
|
+
* End datetime in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Maximum 7 days from start. Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
|
|
4773
4773
|
*/
|
|
4774
4774
|
endDatetime: string;
|
|
4775
4775
|
/**
|
|
@@ -14341,7 +14341,7 @@ export type PostVedicAstrologyPanchangBasicResponse = PostVedicAstrologyPanchang
|
|
|
14341
14341
|
export type PostVedicAstrologyPanchangDetailedData = {
|
|
14342
14342
|
body?: {
|
|
14343
14343
|
/**
|
|
14344
|
-
* Date in YYYY-MM-DD format.
|
|
14344
|
+
* 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.
|
|
14345
14345
|
*/
|
|
14346
14346
|
date: string;
|
|
14347
14347
|
/**
|
|
@@ -15017,7 +15017,7 @@ export type PostVedicAstrologyPanchangDetailedResponse = PostVedicAstrologyPanch
|
|
|
15017
15017
|
export type PostVedicAstrologyPanchangChoghadiyaData = {
|
|
15018
15018
|
body?: {
|
|
15019
15019
|
/**
|
|
15020
|
-
* Date in YYYY-MM-DD format.
|
|
15020
|
+
* 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.
|
|
15021
15021
|
*/
|
|
15022
15022
|
date: string;
|
|
15023
15023
|
/**
|
|
@@ -15206,7 +15206,7 @@ export type PostVedicAstrologyPanchangChoghadiyaResponse = PostVedicAstrologyPan
|
|
|
15206
15206
|
export type PostVedicAstrologyPanchangHoraData = {
|
|
15207
15207
|
body?: {
|
|
15208
15208
|
/**
|
|
15209
|
-
* Date in YYYY-MM-DD format.
|
|
15209
|
+
* 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.
|
|
15210
15210
|
*/
|
|
15211
15211
|
date: string;
|
|
15212
15212
|
/**
|
|
@@ -16684,7 +16684,7 @@ export type PostVedicAstrologyKpRulingPlanetsData = {
|
|
|
16684
16684
|
*/
|
|
16685
16685
|
timezone?: number | string;
|
|
16686
16686
|
/**
|
|
16687
|
-
* ISO 8601 datetime for ruling planets. Defaults to current time.
|
|
16687
|
+
* ISO 8601 datetime (YYYY-MM-DDTHH:MM:SS) for ruling planets. Defaults to current time. Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
|
|
16688
16688
|
*/
|
|
16689
16689
|
datetime?: string;
|
|
16690
16690
|
/**
|
|
@@ -16821,11 +16821,11 @@ export type PostVedicAstrologyKpRulingPlanetsResponse = PostVedicAstrologyKpRuli
|
|
|
16821
16821
|
export type PostVedicAstrologyKpRulingPlanetsIntervalData = {
|
|
16822
16822
|
body?: {
|
|
16823
16823
|
/**
|
|
16824
|
-
* Start of the interval range in ISO 8601
|
|
16824
|
+
* Start of the interval range in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
|
|
16825
16825
|
*/
|
|
16826
16826
|
startDatetime: string;
|
|
16827
16827
|
/**
|
|
16828
|
-
* End of the interval range in ISO 8601
|
|
16828
|
+
* End of the interval range in ISO 8601 (YYYY-MM-DDTHH:MM:SS). Interpreted as local time when a non-zero timezone is provided (a trailing Z is accepted but ignored); with timezone 0 it is UTC.
|
|
16829
16829
|
*/
|
|
16830
16830
|
endDatetime: string;
|
|
16831
16831
|
/**
|
|
@@ -21665,7 +21665,7 @@ export type PostNumerologyPersonalDayData = {
|
|
|
21665
21665
|
*/
|
|
21666
21666
|
day: number;
|
|
21667
21667
|
/**
|
|
21668
|
-
* Target date in YYYY-MM-DD format
|
|
21668
|
+
* Target date in YYYY-MM-DD format. Defaults to today (UTC).
|
|
21669
21669
|
*/
|
|
21670
21670
|
targetDate?: string;
|
|
21671
21671
|
};
|
|
@@ -33896,7 +33896,7 @@ export type GetCrystalsPairingsByIdData = {
|
|
|
33896
33896
|
body?: never;
|
|
33897
33897
|
path: {
|
|
33898
33898
|
/**
|
|
33899
|
-
* URL-safe crystal identifier to find pairings for (e.g., "amethyst", "rose-quartz").
|
|
33899
|
+
* URL-safe crystal identifier to find pairings for, case-insensitive (e.g., "amethyst", "Amethyst", "rose-quartz" all resolve).
|
|
33900
33900
|
*/
|
|
33901
33901
|
id: string;
|
|
33902
33902
|
};
|
|
@@ -34855,7 +34855,7 @@ export type GetCrystalsByIdData = {
|
|
|
34855
34855
|
body?: never;
|
|
34856
34856
|
path: {
|
|
34857
34857
|
/**
|
|
34858
|
-
* URL-safe crystal identifier (e.g., "amethyst", "
|
|
34858
|
+
* URL-safe crystal identifier, case-insensitive (e.g., "amethyst", "Amethyst", "rose-quartz" all resolve). Must match an entry in the database.
|
|
34859
34859
|
*/
|
|
34860
34860
|
id: string;
|
|
34861
34861
|
};
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.2.
|
|
1
|
+
export const VERSION = '1.2.44';
|