@roxyapi/sdk 1.2.91 → 1.2.93
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 -1
- package/dist/factory.cjs +3 -3
- package/dist/factory.js +3 -3
- package/dist/sdk.gen.d.ts +2 -2
- package/dist/types.gen.d.ts +42 -42
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/sdk.gen.ts +2 -2
- package/src/types.gen.ts +42 -42
- package/src/version.ts +1 -1
package/AGENTS.md
CHANGED
|
@@ -63,7 +63,7 @@ Type `roxy.` to see all available namespaces. Type `roxy.{domain}.` to see every
|
|
|
63
63
|
| `roxy.languages` | List the response languages accepted by the `lang` query parameter on every i18n-aware endpoint |
|
|
64
64
|
<!-- END:DOMAINS -->
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
The table above covers every endpoint across 18+ product domains plus usage and languages, and auto-syncs from `specs/openapi.json` at release time.
|
|
67
67
|
|
|
68
68
|
## Quality guidelines for agents
|
|
69
69
|
|
|
@@ -73,6 +73,7 @@ Five rules to follow when writing any call with this SDK. Get these right and th
|
|
|
73
73
|
- **Always `await`. Always destructure `{ data, error, response }`.** All methods are async. `data` is the typed success response (undefined on error). `error` is the typed API error (`{ error: string, code: string }`, undefined on success). `response` is the raw `fetch` Response. Switch on `error.code`, not on `error.error`. The pair is a discriminated union, so `data` is typed as possibly undefined until `error` is checked: write `if (error) throw error;` before reading `data` in a `strict` project, or pass `throwOnError: true` in the call options to have failures throw and `data` typed as always present.
|
|
74
74
|
- **Method names match the OpenAPI `operationId` verbatim.** When in doubt, autocomplete `roxy.{domain}.` in your editor or `grep 'public ' node_modules/@roxyapi/sdk/dist/factory.d.ts`. Never invent a method from the URL path or a guess.
|
|
75
75
|
- **Response field names come from the response schema of the spec.** Field access is typed dot syntax (`data.cities[0].timezone`). TypeScript will catch any invented field at compile time via the generated types - if `tsc` complains, the field does not exist.
|
|
76
|
+
- **Look up any operation or field beyond this guide.** Query the combined OpenAPI spec at `https://roxyapi.com/api/v2/openapi.json` with the jq recipe in `https://roxyapi.com/AGENTS.md`, or search the keyless Docs MCP server at `https://roxyapi.com/mcp/docs` (one tool, `search_docs`).
|
|
76
77
|
- **Do not hand-roll requests.** No raw `fetch`, no axios. The SDK injects auth, the base URL and typed responses; it does not retry, so wrap calls you want retried. Use `createRoxy(key)` for the common case, or `new Roxy({ client })` with `createClient` from `@roxyapi/sdk/client` when you need a custom fetch or interceptors.
|
|
77
78
|
|
|
78
79
|
## Critical patterns
|
package/dist/factory.cjs
CHANGED
|
@@ -2656,7 +2656,7 @@ var ChineseAstrology = class extends HeyApiClient {
|
|
|
2656
2656
|
/**
|
|
2657
2657
|
* Calculate Day Master strength - BaZi favorable element API
|
|
2658
2658
|
*
|
|
2659
|
-
* Assess how well the Day Master is supported by the rest of a BaZi chart, and which of the five elements help it. Uses the classical three-factor method: whether the birth month season backs the Day Master element, whether any branch stores a root for it, and whether the other stems help or spend it. Returns the verdict, an auditable score with each factor contribution, the seasonal state, the root count, the element headcount, and the favorable and unfavorable element lists that follow from the verdict. Built for chart readers, remedy features, and agents that need the usable half of a Four Pillars reading.
|
|
2659
|
+
* Assess how well the Day Master is supported by the rest of a BaZi chart, and which of the five elements help it. Uses the classical three-factor method: whether the birth month season backs the Day Master element, whether any branch stores a root for it, and whether the other stems and the branches outside the month help or spend it. Returns the verdict, an auditable score with each factor contribution, the seasonal state, the root count, the element headcount, and the favorable and unfavorable element lists that follow from the verdict. Built for chart readers, remedy features, and agents that need the usable half of a Four Pillars reading.
|
|
2660
2660
|
*/
|
|
2661
2661
|
calculateDayMasterStrength(options) {
|
|
2662
2662
|
return (options?.client ?? this.client).post({
|
|
@@ -3508,7 +3508,7 @@ var Numerology = class extends HeyApiClient {
|
|
|
3508
3508
|
/**
|
|
3509
3509
|
* Detect Karmic Debt numbers - Past life challenges (13, 14, 16, 19)
|
|
3510
3510
|
*
|
|
3511
|
-
* Check for Karmic Debt numbers (13, 14, 16, 19) in Life Path, Expression, Soul Urge
|
|
3511
|
+
* Check for Karmic Debt numbers (13, 14, 16, 19) in the five core numbers that carry it, Life Path, Birth Day, Expression, Soul Urge and Personality, using Pythagorean numerology. Karmic debt indicates challenges carried from past lives that must be resolved in this lifetime. These numbers appear during reduction and represent specific lessons and tests. Returns comprehensive analysis including debt descriptions, challenges to overcome, and resolution guidance. Perfect for spiritual growth apps, karmic astrology platforms, past life exploration services, and personal transformation tools. Get detailed meanings for all four karmic debt numbers with practical resolution strategies.
|
|
3512
3512
|
*/
|
|
3513
3513
|
checkKarmicDebt(options) {
|
|
3514
3514
|
return (options?.client ?? this.client).post({
|
|
@@ -4743,7 +4743,7 @@ var Roxy = class _Roxy extends HeyApiClient {
|
|
|
4743
4743
|
};
|
|
4744
4744
|
|
|
4745
4745
|
// src/version.ts
|
|
4746
|
-
var VERSION = "1.2.
|
|
4746
|
+
var VERSION = "1.2.93";
|
|
4747
4747
|
|
|
4748
4748
|
// src/factory.ts
|
|
4749
4749
|
function createRoxy(auth) {
|
package/dist/factory.js
CHANGED
|
@@ -1829,7 +1829,7 @@ var ChineseAstrology = class extends HeyApiClient {
|
|
|
1829
1829
|
/**
|
|
1830
1830
|
* Calculate Day Master strength - BaZi favorable element API
|
|
1831
1831
|
*
|
|
1832
|
-
* Assess how well the Day Master is supported by the rest of a BaZi chart, and which of the five elements help it. Uses the classical three-factor method: whether the birth month season backs the Day Master element, whether any branch stores a root for it, and whether the other stems help or spend it. Returns the verdict, an auditable score with each factor contribution, the seasonal state, the root count, the element headcount, and the favorable and unfavorable element lists that follow from the verdict. Built for chart readers, remedy features, and agents that need the usable half of a Four Pillars reading.
|
|
1832
|
+
* Assess how well the Day Master is supported by the rest of a BaZi chart, and which of the five elements help it. Uses the classical three-factor method: whether the birth month season backs the Day Master element, whether any branch stores a root for it, and whether the other stems and the branches outside the month help or spend it. Returns the verdict, an auditable score with each factor contribution, the seasonal state, the root count, the element headcount, and the favorable and unfavorable element lists that follow from the verdict. Built for chart readers, remedy features, and agents that need the usable half of a Four Pillars reading.
|
|
1833
1833
|
*/
|
|
1834
1834
|
calculateDayMasterStrength(options) {
|
|
1835
1835
|
return (options?.client ?? this.client).post({
|
|
@@ -2681,7 +2681,7 @@ var Numerology = class extends HeyApiClient {
|
|
|
2681
2681
|
/**
|
|
2682
2682
|
* Detect Karmic Debt numbers - Past life challenges (13, 14, 16, 19)
|
|
2683
2683
|
*
|
|
2684
|
-
* Check for Karmic Debt numbers (13, 14, 16, 19) in Life Path, Expression, Soul Urge
|
|
2684
|
+
* Check for Karmic Debt numbers (13, 14, 16, 19) in the five core numbers that carry it, Life Path, Birth Day, Expression, Soul Urge and Personality, using Pythagorean numerology. Karmic debt indicates challenges carried from past lives that must be resolved in this lifetime. These numbers appear during reduction and represent specific lessons and tests. Returns comprehensive analysis including debt descriptions, challenges to overcome, and resolution guidance. Perfect for spiritual growth apps, karmic astrology platforms, past life exploration services, and personal transformation tools. Get detailed meanings for all four karmic debt numbers with practical resolution strategies.
|
|
2685
2685
|
*/
|
|
2686
2686
|
checkKarmicDebt(options) {
|
|
2687
2687
|
return (options?.client ?? this.client).post({
|
|
@@ -3916,7 +3916,7 @@ var Roxy = class _Roxy extends HeyApiClient {
|
|
|
3916
3916
|
};
|
|
3917
3917
|
|
|
3918
3918
|
// src/version.ts
|
|
3919
|
-
var VERSION = "1.2.
|
|
3919
|
+
var VERSION = "1.2.93";
|
|
3920
3920
|
|
|
3921
3921
|
// src/factory.ts
|
|
3922
3922
|
function createRoxy(auth) {
|
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -747,7 +747,7 @@ export declare class ChineseAstrology extends HeyApiClient {
|
|
|
747
747
|
/**
|
|
748
748
|
* Calculate Day Master strength - BaZi favorable element API
|
|
749
749
|
*
|
|
750
|
-
* Assess how well the Day Master is supported by the rest of a BaZi chart, and which of the five elements help it. Uses the classical three-factor method: whether the birth month season backs the Day Master element, whether any branch stores a root for it, and whether the other stems help or spend it. Returns the verdict, an auditable score with each factor contribution, the seasonal state, the root count, the element headcount, and the favorable and unfavorable element lists that follow from the verdict. Built for chart readers, remedy features, and agents that need the usable half of a Four Pillars reading.
|
|
750
|
+
* Assess how well the Day Master is supported by the rest of a BaZi chart, and which of the five elements help it. Uses the classical three-factor method: whether the birth month season backs the Day Master element, whether any branch stores a root for it, and whether the other stems and the branches outside the month help or spend it. Returns the verdict, an auditable score with each factor contribution, the seasonal state, the root count, the element headcount, and the favorable and unfavorable element lists that follow from the verdict. Built for chart readers, remedy features, and agents that need the usable half of a Four Pillars reading.
|
|
751
751
|
*/
|
|
752
752
|
calculateDayMasterStrength<ThrowOnError extends boolean = false>(options?: Options<PostChineseAstrologyBaziDayMasterData, ThrowOnError>): RequestResult<PostChineseAstrologyBaziDayMasterResponses, PostChineseAstrologyBaziDayMasterErrors, ThrowOnError>;
|
|
753
753
|
/**
|
|
@@ -1121,7 +1121,7 @@ export declare class Numerology extends HeyApiClient {
|
|
|
1121
1121
|
/**
|
|
1122
1122
|
* Detect Karmic Debt numbers - Past life challenges (13, 14, 16, 19)
|
|
1123
1123
|
*
|
|
1124
|
-
* Check for Karmic Debt numbers (13, 14, 16, 19) in Life Path, Expression, Soul Urge
|
|
1124
|
+
* Check for Karmic Debt numbers (13, 14, 16, 19) in the five core numbers that carry it, Life Path, Birth Day, Expression, Soul Urge and Personality, using Pythagorean numerology. Karmic debt indicates challenges carried from past lives that must be resolved in this lifetime. These numbers appear during reduction and represent specific lessons and tests. Returns comprehensive analysis including debt descriptions, challenges to overcome, and resolution guidance. Perfect for spiritual growth apps, karmic astrology platforms, past life exploration services, and personal transformation tools. Get detailed meanings for all four karmic debt numbers with practical resolution strategies.
|
|
1125
1125
|
*/
|
|
1126
1126
|
checkKarmicDebt<ThrowOnError extends boolean = false>(options?: Options<PostNumerologyKarmicDebtData, ThrowOnError>): RequestResult<PostNumerologyKarmicDebtResponses, PostNumerologyKarmicDebtErrors, ThrowOnError>;
|
|
1127
1127
|
/**
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -509,7 +509,7 @@ export type HousesResponse = {
|
|
|
509
509
|
degree: number;
|
|
510
510
|
}>;
|
|
511
511
|
/**
|
|
512
|
-
* Side-by-side house cusp comparison keyed by house system id: placidus, whole-sign, equal, koch. Only included when houseSystem is set to "all". Useful for educational tools and system comparison.
|
|
512
|
+
* Side-by-side house cusp comparison keyed by house system id: placidus, whole-sign, equal, koch. Only included when houseSystem is set to "all". A system that cannot be computed at the latitude (Placidus and Koch beyond 66 degrees 33 minutes north or south) is omitted, so every key present carries its own cusps, and the top level houses array is the first system present in that order. Useful for educational tools and system comparison.
|
|
513
513
|
*/
|
|
514
514
|
comparison?: {
|
|
515
515
|
[key: string]: {
|
|
@@ -1002,7 +1002,7 @@ export type TransitsRequest = {
|
|
|
1002
1002
|
*/
|
|
1003
1003
|
natalChart?: {
|
|
1004
1004
|
/**
|
|
1005
|
-
* 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.
|
|
1005
|
+
* 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. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
|
|
1006
1006
|
*/
|
|
1007
1007
|
date: string;
|
|
1008
1008
|
/**
|
|
@@ -7915,7 +7915,7 @@ export type AyurvedaDinacharyaRequest = {
|
|
|
7915
7915
|
*/
|
|
7916
7916
|
longitude: number;
|
|
7917
7917
|
/**
|
|
7918
|
-
* Timezone as an IANA name such as "Europe/London", or as decimal hours from UTC such as 5.5. An IANA name is resolved to the offset in force on the requested date. It decides which local day is meant and, on the clock-hour grid, where the blocks fall. Defaults to 0.
|
|
7918
|
+
* Timezone as an IANA name such as "Europe/London", or as decimal hours from UTC such as 5.5. An IANA name is resolved to the offset in force on the requested date, and on the clock-hour grid at the local hour each block opens, so on a daylight-saving change every block keeps its printed hour and one that falls in the skipped hour moves forward past it. It decides which local day is meant and, on the clock-hour grid, where the blocks fall. Defaults to 0.
|
|
7919
7919
|
*/
|
|
7920
7920
|
timezone?: number | string;
|
|
7921
7921
|
/**
|
|
@@ -7925,7 +7925,7 @@ export type AyurvedaDinacharyaRequest = {
|
|
|
7925
7925
|
};
|
|
7926
7926
|
export type AyurvedaRitucharyaRequest = {
|
|
7927
7927
|
/**
|
|
7928
|
-
* The date to resolve, in YYYY-MM-DD format. The season is read at midday UTC on this date, because a season boundary is an instant and a calendar day has to be reduced to one; on a day that carries a boundary, the half the midday falls in is the answer.
|
|
7928
|
+
* The date to resolve, in YYYY-MM-DD format. The season is read at midday UTC on this date, because a season boundary is an instant and a calendar day has to be reduced to one; on a day that carries a boundary, the half the midday falls in is the answer. Within about two months of either end of the supported span, a date whose season opens or closes outside that span answers 400.
|
|
7929
7929
|
*/
|
|
7930
7930
|
date: string;
|
|
7931
7931
|
/**
|
|
@@ -9563,7 +9563,7 @@ export type PostAstrologyPlanetsResponse = PostAstrologyPlanetsResponses[keyof P
|
|
|
9563
9563
|
export type PostAstrologyPlanetsMonthlyData = {
|
|
9564
9564
|
body?: {
|
|
9565
9565
|
/**
|
|
9566
|
-
* Year for the monthly ephemeris (
|
|
9566
|
+
* Year for the monthly ephemeris (1551 to 2649). Defaults to the current year (UTC).
|
|
9567
9567
|
*/
|
|
9568
9568
|
year?: number;
|
|
9569
9569
|
/**
|
|
@@ -10136,7 +10136,7 @@ export type GetAstrologyMoonPhaseCalendarByYearByMonthData = {
|
|
|
10136
10136
|
body?: never;
|
|
10137
10137
|
path: {
|
|
10138
10138
|
/**
|
|
10139
|
-
* Calendar year
|
|
10139
|
+
* Calendar year, 1551 to 2649.
|
|
10140
10140
|
*/
|
|
10141
10141
|
year: number;
|
|
10142
10142
|
/**
|
|
@@ -11118,7 +11118,7 @@ export type PostAstrologyAspectsResponse = PostAstrologyAspectsResponses[keyof P
|
|
|
11118
11118
|
export type PostAstrologyAspectsMonthlyData = {
|
|
11119
11119
|
body?: {
|
|
11120
11120
|
/**
|
|
11121
|
-
* Year for the aspect calendar (
|
|
11121
|
+
* Year for the aspect calendar (1551 to 2649). Defaults to the current year (UTC).
|
|
11122
11122
|
*/
|
|
11123
11123
|
year?: number;
|
|
11124
11124
|
/**
|
|
@@ -11641,7 +11641,7 @@ export type PostAstrologyTransitsResponse = PostAstrologyTransitsResponses[keyof
|
|
|
11641
11641
|
export type PostAstrologyTransitsMonthlyData = {
|
|
11642
11642
|
body?: {
|
|
11643
11643
|
/**
|
|
11644
|
-
* Year for the monthly transit table (
|
|
11644
|
+
* Year for the monthly transit table (1551 to 2649). Defaults to the current year (UTC).
|
|
11645
11645
|
*/
|
|
11646
11646
|
year?: number;
|
|
11647
11647
|
/**
|
|
@@ -12395,7 +12395,7 @@ export type PostAstrologyTransitAspectsResponse = PostAstrologyTransitAspectsRes
|
|
|
12395
12395
|
export type PostAstrologyParallelsMonthlyData = {
|
|
12396
12396
|
body?: {
|
|
12397
12397
|
/**
|
|
12398
|
-
* Year for the declination calendar (
|
|
12398
|
+
* Year for the declination calendar (1551 to 2649). Defaults to the current year (UTC).
|
|
12399
12399
|
*/
|
|
12400
12400
|
year?: number;
|
|
12401
12401
|
/**
|
|
@@ -12622,7 +12622,7 @@ export type PostAstrologyParallelsMonthlyResponse = PostAstrologyParallelsMonthl
|
|
|
12622
12622
|
export type PostAstrologyEclipticCrossingsData = {
|
|
12623
12623
|
body?: {
|
|
12624
12624
|
/**
|
|
12625
|
-
* Year to scan for node passages (
|
|
12625
|
+
* Year to scan for node passages (1551 to 2649).
|
|
12626
12626
|
*/
|
|
12627
12627
|
year: number;
|
|
12628
12628
|
/**
|
|
@@ -13044,7 +13044,7 @@ export type PostAstrologySolarReturnResponses = {
|
|
|
13044
13044
|
timezone: number;
|
|
13045
13045
|
};
|
|
13046
13046
|
/**
|
|
13047
|
-
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith.
|
|
13047
|
+
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
|
|
13048
13048
|
*/
|
|
13049
13049
|
planets: Array<{
|
|
13050
13050
|
/**
|
|
@@ -13448,7 +13448,7 @@ export type PostAstrologyLunarReturnResponses = {
|
|
|
13448
13448
|
timezone: number;
|
|
13449
13449
|
};
|
|
13450
13450
|
/**
|
|
13451
|
-
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith.
|
|
13451
|
+
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
|
|
13452
13452
|
*/
|
|
13453
13453
|
planets: Array<{
|
|
13454
13454
|
/**
|
|
@@ -15776,7 +15776,7 @@ export type PostAstrologyPlanetaryReturnsData = {
|
|
|
15776
15776
|
*/
|
|
15777
15777
|
planet: 'Mercury' | 'Venus' | 'Mars' | 'Jupiter' | 'Saturn';
|
|
15778
15778
|
/**
|
|
15779
|
-
* Approximate date near the expected planetary return (YYYY-MM-DD).
|
|
15779
|
+
* Approximate date near the expected planetary return (YYYY-MM-DD). The return nearest this date is returned, so a date off by months still lands on a genuine return; during a retrograde loop the planet crosses its natal degree up to three times and the crossing nearest the date is the one returned.
|
|
15780
15780
|
*/
|
|
15781
15781
|
approximateDate: string;
|
|
15782
15782
|
/**
|
|
@@ -15995,7 +15995,7 @@ export type PostAstrologyPlanetaryReturnsResponses = {
|
|
|
15995
15995
|
timezone: number;
|
|
15996
15996
|
};
|
|
15997
15997
|
/**
|
|
15998
|
-
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith.
|
|
15998
|
+
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
|
|
15999
15999
|
*/
|
|
16000
16000
|
planets: Array<{
|
|
16001
16001
|
/**
|
|
@@ -18643,7 +18643,7 @@ export type PostVedicAstrologyPlanetaryPositionsResponse = PostVedicAstrologyPla
|
|
|
18643
18643
|
export type PostVedicAstrologyPlanetaryPositionsMonthlyData = {
|
|
18644
18644
|
body?: {
|
|
18645
18645
|
/**
|
|
18646
|
-
* Year for monthly ephemeris (
|
|
18646
|
+
* Year for monthly ephemeris (1551 to 2649). Defaults to the current year (UTC).
|
|
18647
18647
|
*/
|
|
18648
18648
|
year?: number;
|
|
18649
18649
|
/**
|
|
@@ -22760,7 +22760,7 @@ export type PostVedicAstrologyPanchangBasicResponse = PostVedicAstrologyPanchang
|
|
|
22760
22760
|
export type PostVedicAstrologyPanchangDetailedData = {
|
|
22761
22761
|
body?: {
|
|
22762
22762
|
/**
|
|
22763
|
-
* 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.
|
|
22763
|
+
* 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. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
|
|
22764
22764
|
*/
|
|
22765
22765
|
date: string;
|
|
22766
22766
|
/**
|
|
@@ -23455,7 +23455,7 @@ export type PostVedicAstrologyPanchangDetailedResponse = PostVedicAstrologyPanch
|
|
|
23455
23455
|
export type PostVedicAstrologyPanchangChoghadiyaData = {
|
|
23456
23456
|
body?: {
|
|
23457
23457
|
/**
|
|
23458
|
-
* 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.
|
|
23458
|
+
* 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. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
|
|
23459
23459
|
*/
|
|
23460
23460
|
date: string;
|
|
23461
23461
|
/**
|
|
@@ -23662,7 +23662,7 @@ export type PostVedicAstrologyPanchangChoghadiyaResponse = PostVedicAstrologyPan
|
|
|
23662
23662
|
export type PostVedicAstrologyPanchangHoraData = {
|
|
23663
23663
|
body?: {
|
|
23664
23664
|
/**
|
|
23665
|
-
* 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.
|
|
23665
|
+
* 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. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
|
|
23666
23666
|
*/
|
|
23667
23667
|
date: string;
|
|
23668
23668
|
/**
|
|
@@ -26587,7 +26587,7 @@ export type PostVedicAstrologyAspectsResponse = PostVedicAstrologyAspectsRespons
|
|
|
26587
26587
|
export type PostVedicAstrologyAspectsMonthlyData = {
|
|
26588
26588
|
body?: {
|
|
26589
26589
|
/**
|
|
26590
|
-
* Year for monthly analysis (
|
|
26590
|
+
* Year for monthly analysis (1551 to 2649). Defaults to the current year (UTC).
|
|
26591
26591
|
*/
|
|
26592
26592
|
year?: number;
|
|
26593
26593
|
/**
|
|
@@ -26810,7 +26810,7 @@ export type PostVedicAstrologyAspectsMonthlyResponse = PostVedicAstrologyAspects
|
|
|
26810
26810
|
export type PostVedicAstrologyAspectsLunarData = {
|
|
26811
26811
|
body?: {
|
|
26812
26812
|
/**
|
|
26813
|
-
* Year for monthly analysis (
|
|
26813
|
+
* Year for monthly analysis (1551 to 2649). Defaults to the current year (UTC).
|
|
26814
26814
|
*/
|
|
26815
26815
|
year?: number;
|
|
26816
26816
|
/**
|
|
@@ -27357,7 +27357,7 @@ export type PostVedicAstrologyTransitResponse = PostVedicAstrologyTransitRespons
|
|
|
27357
27357
|
export type PostVedicAstrologyTransitMonthlyData = {
|
|
27358
27358
|
body?: {
|
|
27359
27359
|
/**
|
|
27360
|
-
* Year for monthly transit analysis (
|
|
27360
|
+
* Year for monthly transit analysis (1551 to 2649). Defaults to the current year (UTC).
|
|
27361
27361
|
*/
|
|
27362
27362
|
year?: number;
|
|
27363
27363
|
/**
|
|
@@ -27605,11 +27605,11 @@ export type PostVedicAstrologyParallelsData = {
|
|
|
27605
27605
|
*/
|
|
27606
27606
|
time: string;
|
|
27607
27607
|
/**
|
|
27608
|
-
*
|
|
27608
|
+
* Birth latitude in decimal degrees, part of the birth record. Declinations are geocentric, as every published ephemeris prints them, so it does not move them.
|
|
27609
27609
|
*/
|
|
27610
27610
|
latitude: number;
|
|
27611
27611
|
/**
|
|
27612
|
-
*
|
|
27612
|
+
* Birth longitude in decimal degrees, part of the birth record. Declinations are geocentric, so it does not move them; the instant comes from date, time and timezone.
|
|
27613
27613
|
*/
|
|
27614
27614
|
longitude: number;
|
|
27615
27615
|
/**
|
|
@@ -27808,7 +27808,7 @@ export type PostVedicAstrologyParallelsResponse = PostVedicAstrologyParallelsRes
|
|
|
27808
27808
|
export type PostVedicAstrologyParallelsMonthlyData = {
|
|
27809
27809
|
body?: {
|
|
27810
27810
|
/**
|
|
27811
|
-
* Year for monthly parallel analysis (
|
|
27811
|
+
* Year for monthly parallel analysis (1551 to 2649). Defaults to the current year (UTC).
|
|
27812
27812
|
*/
|
|
27813
27813
|
year?: number;
|
|
27814
27814
|
/**
|
|
@@ -28019,7 +28019,7 @@ export type PostVedicAstrologyParallelsMonthlyResponse = PostVedicAstrologyParal
|
|
|
28019
28019
|
export type PostVedicAstrologyEclipticCrossingsData = {
|
|
28020
28020
|
body?: {
|
|
28021
28021
|
/**
|
|
28022
|
-
* Year to scan for ecliptic crossings (
|
|
28022
|
+
* Year to scan for ecliptic crossings (1551 to 2649).
|
|
28023
28023
|
*/
|
|
28024
28024
|
year: number;
|
|
28025
28025
|
/**
|
|
@@ -31714,7 +31714,7 @@ export type PostForecastSolarReturnResponses = {
|
|
|
31714
31714
|
timezone: number;
|
|
31715
31715
|
};
|
|
31716
31716
|
/**
|
|
31717
|
-
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith.
|
|
31717
|
+
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
|
|
31718
31718
|
*/
|
|
31719
31719
|
planets: Array<{
|
|
31720
31720
|
/**
|
|
@@ -35030,7 +35030,7 @@ export type PostChineseAstrologyBaziChartData = {
|
|
|
35030
35030
|
*/
|
|
35031
35031
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
35032
35032
|
/**
|
|
35033
|
-
* Which clock the
|
|
35033
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
35034
35034
|
*/
|
|
35035
35035
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
35036
35036
|
};
|
|
@@ -35183,7 +35183,7 @@ export type PostChineseAstrologyBaziChartResponses = {
|
|
|
35183
35183
|
*/
|
|
35184
35184
|
time: string;
|
|
35185
35185
|
/**
|
|
35186
|
-
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force
|
|
35186
|
+
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
|
|
35187
35187
|
*/
|
|
35188
35188
|
timezone: number;
|
|
35189
35189
|
/**
|
|
@@ -35568,7 +35568,7 @@ export type PostChineseAstrologyBaziLuckPillarsData = {
|
|
|
35568
35568
|
*/
|
|
35569
35569
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
35570
35570
|
/**
|
|
35571
|
-
* Which clock the
|
|
35571
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
35572
35572
|
*/
|
|
35573
35573
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
35574
35574
|
/**
|
|
@@ -35737,7 +35737,7 @@ export type PostChineseAstrologyBaziLuckPillarsResponses = {
|
|
|
35737
35737
|
*/
|
|
35738
35738
|
time: string;
|
|
35739
35739
|
/**
|
|
35740
|
-
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force
|
|
35740
|
+
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
|
|
35741
35741
|
*/
|
|
35742
35742
|
timezone: number;
|
|
35743
35743
|
/**
|
|
@@ -36018,7 +36018,7 @@ export type PostChineseAstrologyBaziDayMasterData = {
|
|
|
36018
36018
|
*/
|
|
36019
36019
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
36020
36020
|
/**
|
|
36021
|
-
* Which clock the
|
|
36021
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
36022
36022
|
*/
|
|
36023
36023
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
36024
36024
|
};
|
|
@@ -36171,7 +36171,7 @@ export type PostChineseAstrologyBaziDayMasterResponses = {
|
|
|
36171
36171
|
*/
|
|
36172
36172
|
time: string;
|
|
36173
36173
|
/**
|
|
36174
|
-
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force
|
|
36174
|
+
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
|
|
36175
36175
|
*/
|
|
36176
36176
|
timezone: number;
|
|
36177
36177
|
/**
|
|
@@ -36262,7 +36262,7 @@ export type PostChineseAstrologyBaziDayMasterResponses = {
|
|
|
36262
36262
|
*/
|
|
36263
36263
|
factors: Array<{
|
|
36264
36264
|
/**
|
|
36265
|
-
* Which classical factor this is. month-command is de ling, whether the birth month season backs the Day Master element. rooting is de di, whether any branch stores a stem of that element. party is de shi, whether the other three stems help or spend it. Always English, whatever the lang parameter says.
|
|
36265
|
+
* Which classical factor this is. month-command is de ling, whether the birth month season backs the Day Master element. rooting is de di, whether any branch stores a stem of that element. party is de shi, whether the other three stems, and the principal stems of the three branches outside the month, help or spend it. Always English, whatever the lang parameter says.
|
|
36266
36266
|
*/
|
|
36267
36267
|
id: string;
|
|
36268
36268
|
/**
|
|
@@ -36361,7 +36361,7 @@ export type PostChineseAstrologyBaziCompatibilityData = {
|
|
|
36361
36361
|
*/
|
|
36362
36362
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
36363
36363
|
/**
|
|
36364
|
-
* Which clock the
|
|
36364
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
36365
36365
|
*/
|
|
36366
36366
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
36367
36367
|
};
|
|
@@ -36398,7 +36398,7 @@ export type PostChineseAstrologyBaziCompatibilityData = {
|
|
|
36398
36398
|
*/
|
|
36399
36399
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
36400
36400
|
/**
|
|
36401
|
-
* Which clock the
|
|
36401
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
36402
36402
|
*/
|
|
36403
36403
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
36404
36404
|
};
|
|
@@ -37166,7 +37166,7 @@ export type PostChineseAstrologyBaziAnnualForecastData = {
|
|
|
37166
37166
|
*/
|
|
37167
37167
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
37168
37168
|
/**
|
|
37169
|
-
* Which clock the
|
|
37169
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
37170
37170
|
*/
|
|
37171
37171
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
37172
37172
|
/**
|
|
@@ -37323,7 +37323,7 @@ export type PostChineseAstrologyBaziAnnualForecastResponses = {
|
|
|
37323
37323
|
*/
|
|
37324
37324
|
time: string;
|
|
37325
37325
|
/**
|
|
37326
|
-
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force
|
|
37326
|
+
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
|
|
37327
37327
|
*/
|
|
37328
37328
|
timezone: number;
|
|
37329
37329
|
/**
|
|
@@ -39162,7 +39162,7 @@ export type PostChineseAstrologyCalendarLunarDateData = {
|
|
|
39162
39162
|
*/
|
|
39163
39163
|
body?: {
|
|
39164
39164
|
/**
|
|
39165
|
-
* Gregorian date to convert to the lunisolar calendar. Send this OR the lunar fields, never both.
|
|
39165
|
+
* Gregorian date to convert to the lunisolar calendar. Send this OR the lunar fields, never both. Converts from the first day of lunar year 1551 to the last day of lunar year 2648, a little inside the supported date span, because numbering a lunar month needs the winter solstice on each side of it and placing a leap month needs the year before; a date outside that answers 400 date_out_of_range.
|
|
39166
39166
|
*/
|
|
39167
39167
|
date?: string;
|
|
39168
39168
|
/**
|
|
@@ -43684,7 +43684,7 @@ export type GetFengShuiPeriodsData = {
|
|
|
43684
43684
|
*/
|
|
43685
43685
|
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru' | 'zh-Hans' | 'zh-Hant';
|
|
43686
43686
|
/**
|
|
43687
|
-
* Date to resolve the current period for, in YYYY-MM-DD format. Defaults to today in UTC. Useful for asking which period a building was completed in.
|
|
43687
|
+
* Date to resolve the current period for, in YYYY-MM-DD format. Defaults to today in UTC. Useful for asking which period a building was completed in. A date landing exactly on the Li Chun day a period opens is placed in the outgoing period.
|
|
43688
43688
|
*/
|
|
43689
43689
|
date?: string;
|
|
43690
43690
|
};
|
|
@@ -43834,7 +43834,7 @@ export type GetFengShuiPeriodsResponses = {
|
|
|
43834
43834
|
*/
|
|
43835
43835
|
date: string;
|
|
43836
43836
|
/**
|
|
43837
|
-
* The period in force on that date. Resolved at Li Chun, so a date in January belongs to the previous solar year and can fall in the previous period.
|
|
43837
|
+
* The period in force on that date. Resolved at Li Chun, so a date in January belongs to the previous solar year and can fall in the previous period. A date is read at the start of its day in the Chinese calendar frame (UTC+8) and Li Chun falls part-way through its own day, so the date a period opens on still reads as the previous period, the same reading the Kua route gives a birth date.
|
|
43838
43838
|
*/
|
|
43839
43839
|
currentPeriod: number;
|
|
43840
43840
|
/**
|
|
@@ -52979,7 +52979,7 @@ export type PostNumerologyKarmicDebtData = {
|
|
|
52979
52979
|
*/
|
|
52980
52980
|
month?: number;
|
|
52981
52981
|
/**
|
|
52982
|
-
* Birth day (checks Life Path)
|
|
52982
|
+
* Birth day (checks Birth Day on its own, and Life Path with year and month)
|
|
52983
52983
|
*/
|
|
52984
52984
|
day?: number;
|
|
52985
52985
|
/**
|
|
@@ -70063,7 +70063,7 @@ export type GetDreamsSymbolsByIdData = {
|
|
|
70063
70063
|
body?: never;
|
|
70064
70064
|
path: {
|
|
70065
70065
|
/**
|
|
70066
|
-
* Unique symbol identifier in kebab-case (e.g., "snake", "
|
|
70066
|
+
* Unique symbol identifier in kebab-case (e.g., "snake", "chase-dreams", "losing-teeth").
|
|
70067
70067
|
*/
|
|
70068
70068
|
id: string;
|
|
70069
70069
|
};
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.2.
|
|
1
|
+
export declare const VERSION = "1.2.93";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roxyapi/sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.93",
|
|
4
4
|
"description": "TypeScript SDK for RoxyAPI: astrology, Vedic astrology, forecasts, human design, Chinese zodiac, feng shui, numerology, tarot and 18+ domains behind one key, verified against NASA JPL Horizons",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
package/src/sdk.gen.ts
CHANGED
|
@@ -1966,7 +1966,7 @@ export class ChineseAstrology extends HeyApiClient {
|
|
|
1966
1966
|
/**
|
|
1967
1967
|
* Calculate Day Master strength - BaZi favorable element API
|
|
1968
1968
|
*
|
|
1969
|
-
* Assess how well the Day Master is supported by the rest of a BaZi chart, and which of the five elements help it. Uses the classical three-factor method: whether the birth month season backs the Day Master element, whether any branch stores a root for it, and whether the other stems help or spend it. Returns the verdict, an auditable score with each factor contribution, the seasonal state, the root count, the element headcount, and the favorable and unfavorable element lists that follow from the verdict. Built for chart readers, remedy features, and agents that need the usable half of a Four Pillars reading.
|
|
1969
|
+
* Assess how well the Day Master is supported by the rest of a BaZi chart, and which of the five elements help it. Uses the classical three-factor method: whether the birth month season backs the Day Master element, whether any branch stores a root for it, and whether the other stems and the branches outside the month help or spend it. Returns the verdict, an auditable score with each factor contribution, the seasonal state, the root count, the element headcount, and the favorable and unfavorable element lists that follow from the verdict. Built for chart readers, remedy features, and agents that need the usable half of a Four Pillars reading.
|
|
1970
1970
|
*/
|
|
1971
1971
|
public calculateDayMasterStrength<ThrowOnError extends boolean = false>(options?: Options<PostChineseAstrologyBaziDayMasterData, ThrowOnError>): RequestResult<PostChineseAstrologyBaziDayMasterResponses, PostChineseAstrologyBaziDayMasterErrors, ThrowOnError> {
|
|
1972
1972
|
return (options?.client ?? this.client).post<PostChineseAstrologyBaziDayMasterResponses, PostChineseAstrologyBaziDayMasterErrors, ThrowOnError>({
|
|
@@ -2879,7 +2879,7 @@ export class Numerology extends HeyApiClient {
|
|
|
2879
2879
|
/**
|
|
2880
2880
|
* Detect Karmic Debt numbers - Past life challenges (13, 14, 16, 19)
|
|
2881
2881
|
*
|
|
2882
|
-
* Check for Karmic Debt numbers (13, 14, 16, 19) in Life Path, Expression, Soul Urge
|
|
2882
|
+
* Check for Karmic Debt numbers (13, 14, 16, 19) in the five core numbers that carry it, Life Path, Birth Day, Expression, Soul Urge and Personality, using Pythagorean numerology. Karmic debt indicates challenges carried from past lives that must be resolved in this lifetime. These numbers appear during reduction and represent specific lessons and tests. Returns comprehensive analysis including debt descriptions, challenges to overcome, and resolution guidance. Perfect for spiritual growth apps, karmic astrology platforms, past life exploration services, and personal transformation tools. Get detailed meanings for all four karmic debt numbers with practical resolution strategies.
|
|
2883
2883
|
*/
|
|
2884
2884
|
public checkKarmicDebt<ThrowOnError extends boolean = false>(options?: Options<PostNumerologyKarmicDebtData, ThrowOnError>): RequestResult<PostNumerologyKarmicDebtResponses, PostNumerologyKarmicDebtErrors, ThrowOnError> {
|
|
2885
2885
|
return (options?.client ?? this.client).post<PostNumerologyKarmicDebtResponses, PostNumerologyKarmicDebtErrors, ThrowOnError>({
|
package/src/types.gen.ts
CHANGED
|
@@ -514,7 +514,7 @@ export type HousesResponse = {
|
|
|
514
514
|
degree: number;
|
|
515
515
|
}>;
|
|
516
516
|
/**
|
|
517
|
-
* Side-by-side house cusp comparison keyed by house system id: placidus, whole-sign, equal, koch. Only included when houseSystem is set to "all". Useful for educational tools and system comparison.
|
|
517
|
+
* Side-by-side house cusp comparison keyed by house system id: placidus, whole-sign, equal, koch. Only included when houseSystem is set to "all". A system that cannot be computed at the latitude (Placidus and Koch beyond 66 degrees 33 minutes north or south) is omitted, so every key present carries its own cusps, and the top level houses array is the first system present in that order. Useful for educational tools and system comparison.
|
|
518
518
|
*/
|
|
519
519
|
comparison?: {
|
|
520
520
|
[key: string]: {
|
|
@@ -1013,7 +1013,7 @@ export type TransitsRequest = {
|
|
|
1013
1013
|
*/
|
|
1014
1014
|
natalChart?: {
|
|
1015
1015
|
/**
|
|
1016
|
-
* 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.
|
|
1016
|
+
* 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. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
|
|
1017
1017
|
*/
|
|
1018
1018
|
date: string;
|
|
1019
1019
|
/**
|
|
@@ -8011,7 +8011,7 @@ export type AyurvedaDinacharyaRequest = {
|
|
|
8011
8011
|
*/
|
|
8012
8012
|
longitude: number;
|
|
8013
8013
|
/**
|
|
8014
|
-
* Timezone as an IANA name such as "Europe/London", or as decimal hours from UTC such as 5.5. An IANA name is resolved to the offset in force on the requested date. It decides which local day is meant and, on the clock-hour grid, where the blocks fall. Defaults to 0.
|
|
8014
|
+
* Timezone as an IANA name such as "Europe/London", or as decimal hours from UTC such as 5.5. An IANA name is resolved to the offset in force on the requested date, and on the clock-hour grid at the local hour each block opens, so on a daylight-saving change every block keeps its printed hour and one that falls in the skipped hour moves forward past it. It decides which local day is meant and, on the clock-hour grid, where the blocks fall. Defaults to 0.
|
|
8015
8015
|
*/
|
|
8016
8016
|
timezone?: number | string;
|
|
8017
8017
|
/**
|
|
@@ -8022,7 +8022,7 @@ export type AyurvedaDinacharyaRequest = {
|
|
|
8022
8022
|
|
|
8023
8023
|
export type AyurvedaRitucharyaRequest = {
|
|
8024
8024
|
/**
|
|
8025
|
-
* The date to resolve, in YYYY-MM-DD format. The season is read at midday UTC on this date, because a season boundary is an instant and a calendar day has to be reduced to one; on a day that carries a boundary, the half the midday falls in is the answer.
|
|
8025
|
+
* The date to resolve, in YYYY-MM-DD format. The season is read at midday UTC on this date, because a season boundary is an instant and a calendar day has to be reduced to one; on a day that carries a boundary, the half the midday falls in is the answer. Within about two months of either end of the supported span, a date whose season opens or closes outside that span answers 400.
|
|
8026
8026
|
*/
|
|
8027
8027
|
date: string;
|
|
8028
8028
|
/**
|
|
@@ -9704,7 +9704,7 @@ export type PostAstrologyPlanetsResponse = PostAstrologyPlanetsResponses[keyof P
|
|
|
9704
9704
|
export type PostAstrologyPlanetsMonthlyData = {
|
|
9705
9705
|
body?: {
|
|
9706
9706
|
/**
|
|
9707
|
-
* Year for the monthly ephemeris (
|
|
9707
|
+
* Year for the monthly ephemeris (1551 to 2649). Defaults to the current year (UTC).
|
|
9708
9708
|
*/
|
|
9709
9709
|
year?: number;
|
|
9710
9710
|
/**
|
|
@@ -10292,7 +10292,7 @@ export type GetAstrologyMoonPhaseCalendarByYearByMonthData = {
|
|
|
10292
10292
|
body?: never;
|
|
10293
10293
|
path: {
|
|
10294
10294
|
/**
|
|
10295
|
-
* Calendar year
|
|
10295
|
+
* Calendar year, 1551 to 2649.
|
|
10296
10296
|
*/
|
|
10297
10297
|
year: number;
|
|
10298
10298
|
/**
|
|
@@ -11294,7 +11294,7 @@ export type PostAstrologyAspectsResponse = PostAstrologyAspectsResponses[keyof P
|
|
|
11294
11294
|
export type PostAstrologyAspectsMonthlyData = {
|
|
11295
11295
|
body?: {
|
|
11296
11296
|
/**
|
|
11297
|
-
* Year for the aspect calendar (
|
|
11297
|
+
* Year for the aspect calendar (1551 to 2649). Defaults to the current year (UTC).
|
|
11298
11298
|
*/
|
|
11299
11299
|
year?: number;
|
|
11300
11300
|
/**
|
|
@@ -11832,7 +11832,7 @@ export type PostAstrologyTransitsResponse = PostAstrologyTransitsResponses[keyof
|
|
|
11832
11832
|
export type PostAstrologyTransitsMonthlyData = {
|
|
11833
11833
|
body?: {
|
|
11834
11834
|
/**
|
|
11835
|
-
* Year for the monthly transit table (
|
|
11835
|
+
* Year for the monthly transit table (1551 to 2649). Defaults to the current year (UTC).
|
|
11836
11836
|
*/
|
|
11837
11837
|
year?: number;
|
|
11838
11838
|
/**
|
|
@@ -12596,7 +12596,7 @@ export type PostAstrologyTransitAspectsResponse = PostAstrologyTransitAspectsRes
|
|
|
12596
12596
|
export type PostAstrologyParallelsMonthlyData = {
|
|
12597
12597
|
body?: {
|
|
12598
12598
|
/**
|
|
12599
|
-
* Year for the declination calendar (
|
|
12599
|
+
* Year for the declination calendar (1551 to 2649). Defaults to the current year (UTC).
|
|
12600
12600
|
*/
|
|
12601
12601
|
year?: number;
|
|
12602
12602
|
/**
|
|
@@ -12828,7 +12828,7 @@ export type PostAstrologyParallelsMonthlyResponse = PostAstrologyParallelsMonthl
|
|
|
12828
12828
|
export type PostAstrologyEclipticCrossingsData = {
|
|
12829
12829
|
body?: {
|
|
12830
12830
|
/**
|
|
12831
|
-
* Year to scan for node passages (
|
|
12831
|
+
* Year to scan for node passages (1551 to 2649).
|
|
12832
12832
|
*/
|
|
12833
12833
|
year: number;
|
|
12834
12834
|
/**
|
|
@@ -13258,7 +13258,7 @@ export type PostAstrologySolarReturnResponses = {
|
|
|
13258
13258
|
timezone: number;
|
|
13259
13259
|
};
|
|
13260
13260
|
/**
|
|
13261
|
-
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith.
|
|
13261
|
+
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
|
|
13262
13262
|
*/
|
|
13263
13263
|
planets: Array<{
|
|
13264
13264
|
/**
|
|
@@ -13667,7 +13667,7 @@ export type PostAstrologyLunarReturnResponses = {
|
|
|
13667
13667
|
timezone: number;
|
|
13668
13668
|
};
|
|
13669
13669
|
/**
|
|
13670
|
-
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith.
|
|
13670
|
+
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
|
|
13671
13671
|
*/
|
|
13672
13672
|
planets: Array<{
|
|
13673
13673
|
/**
|
|
@@ -16027,7 +16027,7 @@ export type PostAstrologyPlanetaryReturnsData = {
|
|
|
16027
16027
|
*/
|
|
16028
16028
|
planet: 'Mercury' | 'Venus' | 'Mars' | 'Jupiter' | 'Saturn';
|
|
16029
16029
|
/**
|
|
16030
|
-
* Approximate date near the expected planetary return (YYYY-MM-DD).
|
|
16030
|
+
* Approximate date near the expected planetary return (YYYY-MM-DD). The return nearest this date is returned, so a date off by months still lands on a genuine return; during a retrograde loop the planet crosses its natal degree up to three times and the crossing nearest the date is the one returned.
|
|
16031
16031
|
*/
|
|
16032
16032
|
approximateDate: string;
|
|
16033
16033
|
/**
|
|
@@ -16249,7 +16249,7 @@ export type PostAstrologyPlanetaryReturnsResponses = {
|
|
|
16249
16249
|
timezone: number;
|
|
16250
16250
|
};
|
|
16251
16251
|
/**
|
|
16252
|
-
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith.
|
|
16252
|
+
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
|
|
16253
16253
|
*/
|
|
16254
16254
|
planets: Array<{
|
|
16255
16255
|
/**
|
|
@@ -18984,7 +18984,7 @@ export type PostVedicAstrologyPlanetaryPositionsResponse = PostVedicAstrologyPla
|
|
|
18984
18984
|
export type PostVedicAstrologyPlanetaryPositionsMonthlyData = {
|
|
18985
18985
|
body?: {
|
|
18986
18986
|
/**
|
|
18987
|
-
* Year for monthly ephemeris (
|
|
18987
|
+
* Year for monthly ephemeris (1551 to 2649). Defaults to the current year (UTC).
|
|
18988
18988
|
*/
|
|
18989
18989
|
year?: number;
|
|
18990
18990
|
/**
|
|
@@ -23146,7 +23146,7 @@ export type PostVedicAstrologyPanchangBasicResponse = PostVedicAstrologyPanchang
|
|
|
23146
23146
|
export type PostVedicAstrologyPanchangDetailedData = {
|
|
23147
23147
|
body?: {
|
|
23148
23148
|
/**
|
|
23149
|
-
* 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.
|
|
23149
|
+
* 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. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
|
|
23150
23150
|
*/
|
|
23151
23151
|
date: string;
|
|
23152
23152
|
/**
|
|
@@ -23846,7 +23846,7 @@ export type PostVedicAstrologyPanchangDetailedResponse = PostVedicAstrologyPanch
|
|
|
23846
23846
|
export type PostVedicAstrologyPanchangChoghadiyaData = {
|
|
23847
23847
|
body?: {
|
|
23848
23848
|
/**
|
|
23849
|
-
* 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.
|
|
23849
|
+
* 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. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
|
|
23850
23850
|
*/
|
|
23851
23851
|
date: string;
|
|
23852
23852
|
/**
|
|
@@ -24058,7 +24058,7 @@ export type PostVedicAstrologyPanchangChoghadiyaResponse = PostVedicAstrologyPan
|
|
|
24058
24058
|
export type PostVedicAstrologyPanchangHoraData = {
|
|
24059
24059
|
body?: {
|
|
24060
24060
|
/**
|
|
24061
|
-
* 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.
|
|
24061
|
+
* 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. Calculations that read planetary positions support 1550-01-02 to 2650-01-22; outside that span they answer 400 with code date_out_of_range, and a calculation that reads a window around the date (a sunrise search, a run of days) may answer the same 400 for a date within a few days of either end.
|
|
24062
24062
|
*/
|
|
24063
24063
|
date: string;
|
|
24064
24064
|
/**
|
|
@@ -27078,7 +27078,7 @@ export type PostVedicAstrologyAspectsResponse = PostVedicAstrologyAspectsRespons
|
|
|
27078
27078
|
export type PostVedicAstrologyAspectsMonthlyData = {
|
|
27079
27079
|
body?: {
|
|
27080
27080
|
/**
|
|
27081
|
-
* Year for monthly analysis (
|
|
27081
|
+
* Year for monthly analysis (1551 to 2649). Defaults to the current year (UTC).
|
|
27082
27082
|
*/
|
|
27083
27083
|
year?: number;
|
|
27084
27084
|
/**
|
|
@@ -27306,7 +27306,7 @@ export type PostVedicAstrologyAspectsMonthlyResponse = PostVedicAstrologyAspects
|
|
|
27306
27306
|
export type PostVedicAstrologyAspectsLunarData = {
|
|
27307
27307
|
body?: {
|
|
27308
27308
|
/**
|
|
27309
|
-
* Year for monthly analysis (
|
|
27309
|
+
* Year for monthly analysis (1551 to 2649). Defaults to the current year (UTC).
|
|
27310
27310
|
*/
|
|
27311
27311
|
year?: number;
|
|
27312
27312
|
/**
|
|
@@ -27863,7 +27863,7 @@ export type PostVedicAstrologyTransitResponse = PostVedicAstrologyTransitRespons
|
|
|
27863
27863
|
export type PostVedicAstrologyTransitMonthlyData = {
|
|
27864
27864
|
body?: {
|
|
27865
27865
|
/**
|
|
27866
|
-
* Year for monthly transit analysis (
|
|
27866
|
+
* Year for monthly transit analysis (1551 to 2649). Defaults to the current year (UTC).
|
|
27867
27867
|
*/
|
|
27868
27868
|
year?: number;
|
|
27869
27869
|
/**
|
|
@@ -28116,11 +28116,11 @@ export type PostVedicAstrologyParallelsData = {
|
|
|
28116
28116
|
*/
|
|
28117
28117
|
time: string;
|
|
28118
28118
|
/**
|
|
28119
|
-
*
|
|
28119
|
+
* Birth latitude in decimal degrees, part of the birth record. Declinations are geocentric, as every published ephemeris prints them, so it does not move them.
|
|
28120
28120
|
*/
|
|
28121
28121
|
latitude: number;
|
|
28122
28122
|
/**
|
|
28123
|
-
*
|
|
28123
|
+
* Birth longitude in decimal degrees, part of the birth record. Declinations are geocentric, so it does not move them; the instant comes from date, time and timezone.
|
|
28124
28124
|
*/
|
|
28125
28125
|
longitude: number;
|
|
28126
28126
|
/**
|
|
@@ -28324,7 +28324,7 @@ export type PostVedicAstrologyParallelsResponse = PostVedicAstrologyParallelsRes
|
|
|
28324
28324
|
export type PostVedicAstrologyParallelsMonthlyData = {
|
|
28325
28325
|
body?: {
|
|
28326
28326
|
/**
|
|
28327
|
-
* Year for monthly parallel analysis (
|
|
28327
|
+
* Year for monthly parallel analysis (1551 to 2649). Defaults to the current year (UTC).
|
|
28328
28328
|
*/
|
|
28329
28329
|
year?: number;
|
|
28330
28330
|
/**
|
|
@@ -28540,7 +28540,7 @@ export type PostVedicAstrologyParallelsMonthlyResponse = PostVedicAstrologyParal
|
|
|
28540
28540
|
export type PostVedicAstrologyEclipticCrossingsData = {
|
|
28541
28541
|
body?: {
|
|
28542
28542
|
/**
|
|
28543
|
-
* Year to scan for ecliptic crossings (
|
|
28543
|
+
* Year to scan for ecliptic crossings (1551 to 2649).
|
|
28544
28544
|
*/
|
|
28545
28545
|
year: number;
|
|
28546
28546
|
/**
|
|
@@ -32333,7 +32333,7 @@ export type PostForecastSolarReturnResponses = {
|
|
|
32333
32333
|
timezone: number;
|
|
32334
32334
|
};
|
|
32335
32335
|
/**
|
|
32336
|
-
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith.
|
|
32336
|
+
* All 14 celestial bodies in the tropical zodiac with house placements: the 10 classical planets (Sun through Pluto), the lunar nodes (North Node, South Node, in the requested `nodeType` convention), Chiron, and Black Moon Lilith. Chiron is included for charts from 1600 to 2500 and omitted outside that range.
|
|
32337
32337
|
*/
|
|
32338
32338
|
planets: Array<{
|
|
32339
32339
|
/**
|
|
@@ -35711,7 +35711,7 @@ export type PostChineseAstrologyBaziChartData = {
|
|
|
35711
35711
|
*/
|
|
35712
35712
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
35713
35713
|
/**
|
|
35714
|
-
* Which clock the
|
|
35714
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
35715
35715
|
*/
|
|
35716
35716
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
35717
35717
|
};
|
|
@@ -35867,7 +35867,7 @@ export type PostChineseAstrologyBaziChartResponses = {
|
|
|
35867
35867
|
*/
|
|
35868
35868
|
time: string;
|
|
35869
35869
|
/**
|
|
35870
|
-
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force
|
|
35870
|
+
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
|
|
35871
35871
|
*/
|
|
35872
35872
|
timezone: number;
|
|
35873
35873
|
/**
|
|
@@ -36254,7 +36254,7 @@ export type PostChineseAstrologyBaziLuckPillarsData = {
|
|
|
36254
36254
|
*/
|
|
36255
36255
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
36256
36256
|
/**
|
|
36257
|
-
* Which clock the
|
|
36257
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
36258
36258
|
*/
|
|
36259
36259
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
36260
36260
|
/**
|
|
@@ -36426,7 +36426,7 @@ export type PostChineseAstrologyBaziLuckPillarsResponses = {
|
|
|
36426
36426
|
*/
|
|
36427
36427
|
time: string;
|
|
36428
36428
|
/**
|
|
36429
|
-
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force
|
|
36429
|
+
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
|
|
36430
36430
|
*/
|
|
36431
36431
|
timezone: number;
|
|
36432
36432
|
/**
|
|
@@ -36709,7 +36709,7 @@ export type PostChineseAstrologyBaziDayMasterData = {
|
|
|
36709
36709
|
*/
|
|
36710
36710
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
36711
36711
|
/**
|
|
36712
|
-
* Which clock the
|
|
36712
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
36713
36713
|
*/
|
|
36714
36714
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
36715
36715
|
};
|
|
@@ -36865,7 +36865,7 @@ export type PostChineseAstrologyBaziDayMasterResponses = {
|
|
|
36865
36865
|
*/
|
|
36866
36866
|
time: string;
|
|
36867
36867
|
/**
|
|
36868
|
-
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force
|
|
36868
|
+
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
|
|
36869
36869
|
*/
|
|
36870
36870
|
timezone: number;
|
|
36871
36871
|
/**
|
|
@@ -36956,7 +36956,7 @@ export type PostChineseAstrologyBaziDayMasterResponses = {
|
|
|
36956
36956
|
*/
|
|
36957
36957
|
factors: Array<{
|
|
36958
36958
|
/**
|
|
36959
|
-
* Which classical factor this is. month-command is de ling, whether the birth month season backs the Day Master element. rooting is de di, whether any branch stores a stem of that element. party is de shi, whether the other three stems help or spend it. Always English, whatever the lang parameter says.
|
|
36959
|
+
* Which classical factor this is. month-command is de ling, whether the birth month season backs the Day Master element. rooting is de di, whether any branch stores a stem of that element. party is de shi, whether the other three stems, and the principal stems of the three branches outside the month, help or spend it. Always English, whatever the lang parameter says.
|
|
36960
36960
|
*/
|
|
36961
36961
|
id: string;
|
|
36962
36962
|
/**
|
|
@@ -37057,7 +37057,7 @@ export type PostChineseAstrologyBaziCompatibilityData = {
|
|
|
37057
37057
|
*/
|
|
37058
37058
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
37059
37059
|
/**
|
|
37060
|
-
* Which clock the
|
|
37060
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
37061
37061
|
*/
|
|
37062
37062
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
37063
37063
|
};
|
|
@@ -37094,7 +37094,7 @@ export type PostChineseAstrologyBaziCompatibilityData = {
|
|
|
37094
37094
|
*/
|
|
37095
37095
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
37096
37096
|
/**
|
|
37097
|
-
* Which clock the
|
|
37097
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
37098
37098
|
*/
|
|
37099
37099
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
37100
37100
|
};
|
|
@@ -37867,7 +37867,7 @@ export type PostChineseAstrologyBaziAnnualForecastData = {
|
|
|
37867
37867
|
*/
|
|
37868
37868
|
yearBoundary?: 'li-chun' | 'lunar-new-year';
|
|
37869
37869
|
/**
|
|
37870
|
-
* Which clock the
|
|
37870
|
+
* Which clock the day boundary and the hour branch are read from, so a correction that carries a birth across midnight moves the day pillar with the hour. "clock" is civil time exactly as a birth certificate records it, which is what most calculators use and the default here. "local-mean" shifts to the mean sun over the birth longitude, a correction of up to 59 minutes at the edge of a wide time zone. "solar" adds the equation of time on top of that, up to a further 16 minutes. Both non-civil options need "longitude" in the request and return 400 without it.
|
|
37871
37871
|
*/
|
|
37872
37872
|
hourClock?: 'clock' | 'local-mean' | 'solar';
|
|
37873
37873
|
/**
|
|
@@ -38027,7 +38027,7 @@ export type PostChineseAstrologyBaziAnnualForecastResponses = {
|
|
|
38027
38027
|
*/
|
|
38028
38028
|
time: string;
|
|
38029
38029
|
/**
|
|
38030
|
-
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force
|
|
38030
|
+
* Decimal UTC offset the chart was computed with, resolved from whatever the request sent. An IANA name is resolved to the offset in force at the birth, so this is the literal number applied and never the name. A local time that never happened (the skipped hour of a daylight-saving change) is moved forward past the gap, and date, time and timezone then echo the clock that was running, which the day and hour pillars are read from.
|
|
38031
38031
|
*/
|
|
38032
38032
|
timezone: number;
|
|
38033
38033
|
/**
|
|
@@ -39898,7 +39898,7 @@ export type PostChineseAstrologyCalendarLunarDateData = {
|
|
|
39898
39898
|
*/
|
|
39899
39899
|
body?: {
|
|
39900
39900
|
/**
|
|
39901
|
-
* Gregorian date to convert to the lunisolar calendar. Send this OR the lunar fields, never both.
|
|
39901
|
+
* Gregorian date to convert to the lunisolar calendar. Send this OR the lunar fields, never both. Converts from the first day of lunar year 1551 to the last day of lunar year 2648, a little inside the supported date span, because numbering a lunar month needs the winter solstice on each side of it and placing a leap month needs the year before; a date outside that answers 400 date_out_of_range.
|
|
39902
39902
|
*/
|
|
39903
39903
|
date?: string;
|
|
39904
39904
|
/**
|
|
@@ -44495,7 +44495,7 @@ export type GetFengShuiPeriodsData = {
|
|
|
44495
44495
|
*/
|
|
44496
44496
|
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru' | 'zh-Hans' | 'zh-Hant';
|
|
44497
44497
|
/**
|
|
44498
|
-
* Date to resolve the current period for, in YYYY-MM-DD format. Defaults to today in UTC. Useful for asking which period a building was completed in.
|
|
44498
|
+
* Date to resolve the current period for, in YYYY-MM-DD format. Defaults to today in UTC. Useful for asking which period a building was completed in. A date landing exactly on the Li Chun day a period opens is placed in the outgoing period.
|
|
44499
44499
|
*/
|
|
44500
44500
|
date?: string;
|
|
44501
44501
|
};
|
|
@@ -44648,7 +44648,7 @@ export type GetFengShuiPeriodsResponses = {
|
|
|
44648
44648
|
*/
|
|
44649
44649
|
date: string;
|
|
44650
44650
|
/**
|
|
44651
|
-
* The period in force on that date. Resolved at Li Chun, so a date in January belongs to the previous solar year and can fall in the previous period.
|
|
44651
|
+
* The period in force on that date. Resolved at Li Chun, so a date in January belongs to the previous solar year and can fall in the previous period. A date is read at the start of its day in the Chinese calendar frame (UTC+8) and Li Chun falls part-way through its own day, so the date a period opens on still reads as the previous period, the same reading the Kua route gives a birth date.
|
|
44652
44652
|
*/
|
|
44653
44653
|
currentPeriod: number;
|
|
44654
44654
|
/**
|
|
@@ -53975,7 +53975,7 @@ export type PostNumerologyKarmicDebtData = {
|
|
|
53975
53975
|
*/
|
|
53976
53976
|
month?: number;
|
|
53977
53977
|
/**
|
|
53978
|
-
* Birth day (checks Life Path)
|
|
53978
|
+
* Birth day (checks Birth Day on its own, and Life Path with year and month)
|
|
53979
53979
|
*/
|
|
53980
53980
|
day?: number;
|
|
53981
53981
|
/**
|
|
@@ -71419,7 +71419,7 @@ export type GetDreamsSymbolsByIdData = {
|
|
|
71419
71419
|
body?: never;
|
|
71420
71420
|
path: {
|
|
71421
71421
|
/**
|
|
71422
|
-
* Unique symbol identifier in kebab-case (e.g., "snake", "
|
|
71422
|
+
* Unique symbol identifier in kebab-case (e.g., "snake", "chase-dreams", "losing-teeth").
|
|
71423
71423
|
*/
|
|
71424
71424
|
id: string;
|
|
71425
71425
|
};
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.2.
|
|
1
|
+
export const VERSION = '1.2.93';
|