@astroway/sdk 1.4.0 → 1.5.1
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/README.md +12 -1
- package/dist/namespaces.generated.d.ts +134 -4
- package/dist/namespaces.generated.d.ts.map +1 -1
- package/dist/namespaces.generated.js +82 -3
- package/dist/namespaces.generated.js.map +1 -1
- package/dist/types.generated.d.ts +2368 -503
- package/dist/types.generated.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,9 +38,16 @@ const chart = await aw.chart.compute({
|
|
|
38
38
|
houseSystem: 'P',
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
const SIGNS = ['Aries', 'Taurus', 'Gemini', 'Cancer', 'Leo', 'Virgo',
|
|
42
|
+
'Libra', 'Scorpio', 'Sagittarius', 'Capricorn', 'Aquarius', 'Pisces'];
|
|
43
|
+
|
|
44
|
+
const asc = chart.houses.ascendant; // 212.0929
|
|
45
|
+
console.log(`ASC: ${SIGNS[Math.floor(asc / 30)]} ${(asc % 30).toFixed(2)}°`); // ASC: Scorpio 2.09°
|
|
46
|
+
console.log(`Sun: ${chart.planets[0].longitude.toFixed(2)}°`); // Sun: 111.77°
|
|
42
47
|
```
|
|
43
48
|
|
|
49
|
+
`/chart` returns positions, not labels: `houses.ascendant` and every `planets[].longitude` are ecliptic longitudes in degrees, so a sign name is `Math.floor(longitude / 30)` into the list above and the degree within it is `longitude % 30`.
|
|
50
|
+
|
|
44
51
|
The SDK exposes **94 typed namespaces / 623 methods** auto-generated from the OpenAPI spec — `aw.synastry.aspectGrid({...})`, `aw.bazi.dayMaster({...})`, `aw.vedic.dashasVimshottariMaha({...})`, etc. Path autocomplete and body/response types come straight from your IDE; the `{ ok, data, error }` envelope is unwrapped for you.
|
|
45
52
|
|
|
46
53
|
Need a raw response or an endpoint not yet covered by namespaces? `aw.client` is the underlying [`openapi-fetch`](https://openapi-ts.dev/openapi-fetch/) instance — `aw.client.POST('/chart', { body })` returns the full envelope with the same typing.
|
|
@@ -149,6 +156,10 @@ try {
|
|
|
149
156
|
|
|
150
157
|
Full hierarchy: `ApiError` → `APIConnectionError` (→ `APITimeoutError`), `BadRequestError` (400), `AuthenticationError` (401), `PermissionDeniedError` (403), `NotFoundError` (404), `UnprocessableEntityError` (422), `RateLimitError` (429), `InternalServerError` (5xx).
|
|
151
158
|
|
|
159
|
+
### The 400 you are most likely to hit first
|
|
160
|
+
|
|
161
|
+
Chart bodies take `latitude`, `longitude` and `timezoneOffset`. The short spellings `lat`, `lon`, `lng`, `long`, `tz` and `timezone` are refused with a `BadRequestError` whose `e.code` is `INVALID_FIELD`, and `e.body.error.details` names every offending field at once as `{ path, expected, message }`. They are not accepted and not deprecated: they were never in the spec, and before the API started refusing them they were silently ignored, which charted 0°N 0°E at UTC under a `200`. Details: <https://api.astroway.info/en/errors/#invalid_field>.
|
|
162
|
+
|
|
152
163
|
---
|
|
153
164
|
|
|
154
165
|
## Configuration
|
|
@@ -25,6 +25,20 @@ type PostData<P extends keyof paths> = paths[P] extends {
|
|
|
25
25
|
} ? (T extends {
|
|
26
26
|
data?: infer D;
|
|
27
27
|
} ? D : T) : unknown;
|
|
28
|
+
/** Same, for a GET lookup. These take no body and no query parameters. */
|
|
29
|
+
type GetData<P extends keyof paths> = paths[P] extends {
|
|
30
|
+
get: {
|
|
31
|
+
responses: {
|
|
32
|
+
200: {
|
|
33
|
+
content: {
|
|
34
|
+
'application/json': infer T;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
} ? (T extends {
|
|
40
|
+
data?: infer D;
|
|
41
|
+
} ? D : T) : unknown;
|
|
28
42
|
/** Per-call options passed through to openapi-fetch. */
|
|
29
43
|
export interface CallOptions {
|
|
30
44
|
/** Extra headers merged into the request. */
|
|
@@ -46,10 +60,16 @@ export interface CallOptions {
|
|
|
46
60
|
}
|
|
47
61
|
export interface AstrowayNamespaces {
|
|
48
62
|
acg: {
|
|
63
|
+
/** Best places for a life category (POST /acg/best-places) */
|
|
64
|
+
bestPlaces(body: PostBody<'/acg/best-places'>, options?: CallOptions): ResultPromise<PostData<'/acg/best-places'>>;
|
|
49
65
|
/** A*C*G by Life Category (POST /acg/by-category) */
|
|
50
66
|
byCategory(body: PostBody<'/acg/by-category'>, options?: CallOptions): ResultPromise<PostData<'/acg/by-category'>>;
|
|
67
|
+
/** A*C*G Life Categories (GET /acg/categories) */
|
|
68
|
+
categoriesGet(options?: CallOptions): ResultPromise<GetData<'/acg/categories'>>;
|
|
51
69
|
/** Astrocartography (A*C*G) (POST /acg) */
|
|
52
70
|
compute(body: PostBody<'/acg'>, options?: CallOptions): ResultPromise<PostData<'/acg'>>;
|
|
71
|
+
/** Countries available for ranking (GET /acg/countries) */
|
|
72
|
+
countriesGet(options?: CallOptions): ResultPromise<GetData<'/acg/countries'>>;
|
|
53
73
|
/** A*C*G Line Report (POST /acg/line-report) */
|
|
54
74
|
lineReport(body: PostBody<'/acg/line-report'>, options?: CallOptions): ResultPromise<PostData<'/acg/line-report'>>;
|
|
55
75
|
};
|
|
@@ -252,10 +272,20 @@ export interface AstrowayNamespaces {
|
|
|
252
272
|
esoteric: {
|
|
253
273
|
/** Decode Angel Number (POST /esoteric/angel-numbers/decode) */
|
|
254
274
|
angelNumbersDecode(body: PostBody<'/esoteric/angel-numbers/decode'>, options?: CallOptions): ResultPromise<PostData<'/esoteric/angel-numbers/decode'>>;
|
|
275
|
+
/** Angel Numbers — Catalogue (GET /esoteric/angel-numbers) */
|
|
276
|
+
angelNumbersGet(options?: CallOptions): ResultPromise<GetData<'/esoteric/angel-numbers'>>;
|
|
277
|
+
/** Daily Angel Number (GET /esoteric/angel-numbers/today) */
|
|
278
|
+
angelNumbersTodayGet(options?: CallOptions): ResultPromise<GetData<'/esoteric/angel-numbers/today'>>;
|
|
279
|
+
/** Crystals — Full Directory (GET /esoteric/crystals) */
|
|
280
|
+
crystalsGet(options?: CallOptions): ResultPromise<GetData<'/esoteric/crystals'>>;
|
|
255
281
|
/** Crystal Recommendations (POST /esoteric/crystals/recommend) */
|
|
256
282
|
crystalsRecommend(body: PostBody<'/esoteric/crystals/recommend'>, options?: CallOptions): ResultPromise<PostData<'/esoteric/crystals/recommend'>>;
|
|
257
283
|
/** Decode Dream Text (POST /esoteric/dreams/decode) */
|
|
258
284
|
dreamsDecode(body: PostBody<'/esoteric/dreams/decode'>, options?: CallOptions): ResultPromise<PostData<'/esoteric/dreams/decode'>>;
|
|
285
|
+
/** Dream Symbol Dictionary (GET /esoteric/dreams) */
|
|
286
|
+
dreamsGet(options?: CallOptions): ResultPromise<GetData<'/esoteric/dreams'>>;
|
|
287
|
+
/** Recurring Dream Themes (GET /esoteric/dreams/recurring-themes) */
|
|
288
|
+
dreamsRecurringThemesGet(options?: CallOptions): ResultPromise<GetData<'/esoteric/dreams/recurring-themes'>>;
|
|
259
289
|
};
|
|
260
290
|
essentialDignities: {
|
|
261
291
|
/** Essential Dignities (POST /essential-dignities) */
|
|
@@ -312,6 +342,8 @@ export interface AstrowayNamespaces {
|
|
|
312
342
|
compute(body: PostBody<'/firdaria'>, options?: CallOptions): ResultPromise<PostData<'/firdaria'>>;
|
|
313
343
|
};
|
|
314
344
|
fixedStars: {
|
|
345
|
+
/** Fixed star catalogue (GET /fixed-stars/catalog) */
|
|
346
|
+
catalogGet(options?: CallOptions): ResultPromise<GetData<'/fixed-stars/catalog'>>;
|
|
315
347
|
/** Fixed Stars (POST /fixed-stars) */
|
|
316
348
|
compute(body: PostBody<'/fixed-stars'>, options?: CallOptions): ResultPromise<PostData<'/fixed-stars'>>;
|
|
317
349
|
};
|
|
@@ -549,10 +581,6 @@ export interface AstrowayNamespaces {
|
|
|
549
581
|
/** Transits Interpretation (POST /interpret/transits) */
|
|
550
582
|
transits(body: PostBody<'/interpret/transits'>, options?: CallOptions): ResultPromise<PostData<'/interpret/transits'>>;
|
|
551
583
|
};
|
|
552
|
-
keys: {
|
|
553
|
-
/** Create API Key (POST /keys) */
|
|
554
|
-
compute(body: PostBody<'/keys'>, options?: CallOptions): ResultPromise<PostData<'/keys'>>;
|
|
555
|
-
};
|
|
556
584
|
localSpace: {
|
|
557
585
|
/** Local Space Chart (POST /local-space) */
|
|
558
586
|
compute(body: PostBody<'/local-space'>, options?: CallOptions): ResultPromise<PostData<'/local-space'>>;
|
|
@@ -592,6 +620,8 @@ export interface AstrowayNamespaces {
|
|
|
592
620
|
mcp: {
|
|
593
621
|
/** MCP Agent Debate (POST /mcp/agent-debate) */
|
|
594
622
|
agentDebate(body: PostBody<'/mcp/agent-debate'>, options?: CallOptions): ResultPromise<PostData<'/mcp/agent-debate'>>;
|
|
623
|
+
/** MCP Agent Pool Status (GET /mcp/agent-pool-status) */
|
|
624
|
+
agentPoolStatusGet(options?: CallOptions): ResultPromise<GetData<'/mcp/agent-pool-status'>>;
|
|
595
625
|
/** MCP Multi-Agent Coordinate (POST /mcp/multi-agent-coordinate) */
|
|
596
626
|
multiAgentCoordinate(body: PostBody<'/mcp/multi-agent-coordinate'>, options?: CallOptions): ResultPromise<PostData<'/mcp/multi-agent-coordinate'>>;
|
|
597
627
|
/** MCP Multi-Chart Context (POST /mcp/multi-chart-context) */
|
|
@@ -602,6 +632,8 @@ export interface AstrowayNamespaces {
|
|
|
602
632
|
streaming(body: PostBody<'/mcp/streaming'>, options?: CallOptions): ResultPromise<PostData<'/mcp/streaming'>>;
|
|
603
633
|
/** MCP Tool-Call Stream (POST /mcp/tool-call-stream) */
|
|
604
634
|
toolCallStream(body: PostBody<'/mcp/tool-call-stream'>, options?: CallOptions): ResultPromise<PostData<'/mcp/tool-call-stream'>>;
|
|
635
|
+
/** MCP Tools List (GET /mcp/tools-list) */
|
|
636
|
+
toolsListGet(options?: CallOptions): ResultPromise<GetData<'/mcp/tools-list'>>;
|
|
605
637
|
};
|
|
606
638
|
midpointTrees: {
|
|
607
639
|
/** Midpoint Trees (Uranian) (POST /midpoint-trees) */
|
|
@@ -659,6 +691,10 @@ export interface AstrowayNamespaces {
|
|
|
659
691
|
/** Moon Void-of-Course (POST /moon-voc) */
|
|
660
692
|
compute(body: PostBody<'/moon-voc'>, options?: CallOptions): ResultPromise<PostData<'/moon-voc'>>;
|
|
661
693
|
};
|
|
694
|
+
muhurta: {
|
|
695
|
+
/** Muhurat — activity catalogue (GET /muhurta/types) */
|
|
696
|
+
typesGet(options?: CallOptions): ResultPromise<GetData<'/muhurta/types'>>;
|
|
697
|
+
};
|
|
662
698
|
nakshatras: {
|
|
663
699
|
/** Nakshatras (POST /nakshatras) */
|
|
664
700
|
compute(body: PostBody<'/nakshatras'>, options?: CallOptions): ResultPromise<PostData<'/nakshatras'>>;
|
|
@@ -784,6 +820,8 @@ export interface AstrowayNamespaces {
|
|
|
784
820
|
parans: {
|
|
785
821
|
/** Parans (POST /parans) */
|
|
786
822
|
compute(body: PostBody<'/parans'>, options?: CallOptions): ResultPromise<PostData<'/parans'>>;
|
|
823
|
+
/** Star-planet parans (Brady) (POST /parans/star) */
|
|
824
|
+
star(body: PostBody<'/parans/star'>, options?: CallOptions): ResultPromise<PostData<'/parans/star'>>;
|
|
787
825
|
};
|
|
788
826
|
pet: {
|
|
789
827
|
/** Best Names by Sign (POST /pet/best-names) */
|
|
@@ -861,6 +899,36 @@ export interface AstrowayNamespaces {
|
|
|
861
899
|
/** Trutine of Hermes (POST /rectification/trutine) */
|
|
862
900
|
trutine(body: PostBody<'/rectification/trutine'>, options?: CallOptions): ResultPromise<PostData<'/rectification/trutine'>>;
|
|
863
901
|
};
|
|
902
|
+
reference: {
|
|
903
|
+
/** Aspects (GET /reference/aspects) */
|
|
904
|
+
aspectsGet(options?: CallOptions): ResultPromise<GetData<'/reference/aspects'>>;
|
|
905
|
+
/** Asteroids & Centaurs (GET /reference/asteroids) */
|
|
906
|
+
asteroidsGet(options?: CallOptions): ResultPromise<GetData<'/reference/asteroids'>>;
|
|
907
|
+
/** Decans (GET /reference/decans) */
|
|
908
|
+
decansGet(options?: CallOptions): ResultPromise<GetData<'/reference/decans'>>;
|
|
909
|
+
/** Essential Dignities (GET /reference/dignities) */
|
|
910
|
+
dignitiesGet(options?: CallOptions): ResultPromise<GetData<'/reference/dignities'>>;
|
|
911
|
+
/** Elements (GET /reference/elements) */
|
|
912
|
+
elementsGet(options?: CallOptions): ResultPromise<GetData<'/reference/elements'>>;
|
|
913
|
+
/** Glyphs (GET /reference/glyphs) */
|
|
914
|
+
glyphsGet(options?: CallOptions): ResultPromise<GetData<'/reference/glyphs'>>;
|
|
915
|
+
/** Houses (GET /reference/houses) */
|
|
916
|
+
housesGet(options?: CallOptions): ResultPromise<GetData<'/reference/houses'>>;
|
|
917
|
+
/** Hellenistic Lots (GET /reference/lots) */
|
|
918
|
+
lotsGet(options?: CallOptions): ResultPromise<GetData<'/reference/lots'>>;
|
|
919
|
+
/** Modalities (GET /reference/modalities) */
|
|
920
|
+
modalitiesGet(options?: CallOptions): ResultPromise<GetData<'/reference/modalities'>>;
|
|
921
|
+
/** Nakshatras (GET /reference/nakshatras) */
|
|
922
|
+
nakshatrasGet(options?: CallOptions): ResultPromise<GetData<'/reference/nakshatras'>>;
|
|
923
|
+
/** Planets (GET /reference/planets) */
|
|
924
|
+
planetsGet(options?: CallOptions): ResultPromise<GetData<'/reference/planets'>>;
|
|
925
|
+
/** Polarities (GET /reference/polarities) */
|
|
926
|
+
polaritiesGet(options?: CallOptions): ResultPromise<GetData<'/reference/polarities'>>;
|
|
927
|
+
/** Zodiac Signs (GET /reference/signs) */
|
|
928
|
+
signsGet(options?: CallOptions): ResultPromise<GetData<'/reference/signs'>>;
|
|
929
|
+
/** Zodiac Systems (GET /reference/zodiac-systems) */
|
|
930
|
+
zodiacSystemsGet(options?: CallOptions): ResultPromise<GetData<'/reference/zodiac-systems'>>;
|
|
931
|
+
};
|
|
864
932
|
relocation: {
|
|
865
933
|
/** Relocation Chart (POST /relocation) */
|
|
866
934
|
compute(body: PostBody<'/relocation'>, options?: CallOptions): ResultPromise<PostData<'/relocation'>>;
|
|
@@ -914,6 +982,8 @@ export interface AstrowayNamespaces {
|
|
|
914
982
|
child(body: PostBody<'/reports/child'>, options?: CallOptions): ResultPromise<PostData<'/reports/child'>>;
|
|
915
983
|
/** Generate Report — Unified Dispatcher (V2) (POST /reports/generate) */
|
|
916
984
|
generate(body: PostBody<'/reports/generate'>, options?: CallOptions): ResultPromise<PostData<'/reports/generate'>>;
|
|
985
|
+
/** List Recent Report Exports (GET /reports/history) */
|
|
986
|
+
historyGet(options?: CallOptions): ResultPromise<GetData<'/reports/history'>>;
|
|
917
987
|
/** Generate Human Design Report (PDF or HTML) (POST /reports/human-design) */
|
|
918
988
|
humanDesign(body: PostBody<'/reports/human-design'>, options?: CallOptions): ResultPromise<PostData<'/reports/human-design'>>;
|
|
919
989
|
/** Generate Lal Kitab Report (PDF or HTML) (POST /reports/lal-kitab) */
|
|
@@ -1008,6 +1078,8 @@ export interface AstrowayNamespaces {
|
|
|
1008
1078
|
houseOverlay(body: PostBody<'/synastry/house-overlay'>, options?: CallOptions): ResultPromise<PostData<'/synastry/house-overlay'>>;
|
|
1009
1079
|
};
|
|
1010
1080
|
tarot: {
|
|
1081
|
+
/** Lenormand — All Cards (GET /tarot/lenormand/cards) */
|
|
1082
|
+
lenormandCardsGet(options?: CallOptions): ResultPromise<GetData<'/tarot/lenormand/cards'>>;
|
|
1011
1083
|
/** Lenormand — Daily Cards (POST /tarot/lenormand/daily) */
|
|
1012
1084
|
lenormandDaily(body: PostBody<'/tarot/lenormand/daily'>, options?: CallOptions): ResultPromise<PostData<'/tarot/lenormand/daily'>>;
|
|
1013
1085
|
/** Lenormand — 9-Card Square (POST /tarot/lenormand/draw/9-card-square) */
|
|
@@ -1022,8 +1094,12 @@ export interface AstrowayNamespaces {
|
|
|
1022
1094
|
lenormandDrawRelationship(body: PostBody<'/tarot/lenormand/draw/relationship'>, options?: CallOptions): ResultPromise<PostData<'/tarot/lenormand/draw/relationship'>>;
|
|
1023
1095
|
/** Lenormand — Three-Card (POST /tarot/lenormand/draw/three-card) */
|
|
1024
1096
|
lenormandDrawThreeCard(body: PostBody<'/tarot/lenormand/draw/three-card'>, options?: CallOptions): ResultPromise<PostData<'/tarot/lenormand/draw/three-card'>>;
|
|
1097
|
+
/** Lenormand — 36 Houses (GET /tarot/lenormand/houses) */
|
|
1098
|
+
lenormandHousesGet(options?: CallOptions): ResultPromise<GetData<'/tarot/lenormand/houses'>>;
|
|
1025
1099
|
/** Marseille — Birth Card (POST /tarot/marseille/birth-card) */
|
|
1026
1100
|
marseilleBirthCard(body: PostBody<'/tarot/marseille/birth-card'>, options?: CallOptions): ResultPromise<PostData<'/tarot/marseille/birth-card'>>;
|
|
1101
|
+
/** Marseille — All Cards (GET /tarot/marseille/cards) */
|
|
1102
|
+
marseilleCardsGet(options?: CallOptions): ResultPromise<GetData<'/tarot/marseille/cards'>>;
|
|
1027
1103
|
/** Marseille — Clarifier (POST /tarot/marseille/clarify) */
|
|
1028
1104
|
marseilleClarify(body: PostBody<'/tarot/marseille/clarify'>, options?: CallOptions): ResultPromise<PostData<'/tarot/marseille/clarify'>>;
|
|
1029
1105
|
/** Marseille — Daily Card (POST /tarot/marseille/daily) */
|
|
@@ -1050,6 +1126,10 @@ export interface AstrowayNamespaces {
|
|
|
1050
1126
|
marseilleDrawThreeCard(body: PostBody<'/tarot/marseille/draw/three-card'>, options?: CallOptions): ResultPromise<PostData<'/tarot/marseille/draw/three-card'>>;
|
|
1051
1127
|
/** Marseille — Interpret (POST /tarot/marseille/interpret) */
|
|
1052
1128
|
marseilleInterpret(body: PostBody<'/tarot/marseille/interpret'>, options?: CallOptions): ResultPromise<PostData<'/tarot/marseille/interpret'>>;
|
|
1129
|
+
/** Marseille — 22 Majors (GET /tarot/marseille/majors) */
|
|
1130
|
+
marseilleMajorsGet(options?: CallOptions): ResultPromise<GetData<'/tarot/marseille/majors'>>;
|
|
1131
|
+
/** Marseille — All Spreads (GET /tarot/marseille/spreads) */
|
|
1132
|
+
marseilleSpreadsGet(options?: CallOptions): ResultPromise<GetData<'/tarot/marseille/spreads'>>;
|
|
1053
1133
|
/** Marseille — Timing (POST /tarot/marseille/timing) */
|
|
1054
1134
|
marseilleTiming(body: PostBody<'/tarot/marseille/timing'>, options?: CallOptions): ResultPromise<PostData<'/tarot/marseille/timing'>>;
|
|
1055
1135
|
/** Marseille — Year Card (POST /tarot/marseille/year-card) */
|
|
@@ -1058,8 +1138,12 @@ export interface AstrowayNamespaces {
|
|
|
1058
1138
|
riderWaiteAdvice(body: PostBody<'/tarot/rider-waite/advice'>, options?: CallOptions): ResultPromise<PostData<'/tarot/rider-waite/advice'>>;
|
|
1059
1139
|
/** RWS — Birth Card (POST /tarot/rider-waite/birth-card) */
|
|
1060
1140
|
riderWaiteBirthCard(body: PostBody<'/tarot/rider-waite/birth-card'>, options?: CallOptions): ResultPromise<PostData<'/tarot/rider-waite/birth-card'>>;
|
|
1141
|
+
/** RWS — All Cards (GET /tarot/rider-waite/cards) */
|
|
1142
|
+
riderWaiteCardsGet(options?: CallOptions): ResultPromise<GetData<'/tarot/rider-waite/cards'>>;
|
|
1061
1143
|
/** RWS — Clarifier Card (POST /tarot/rider-waite/clarify) */
|
|
1062
1144
|
riderWaiteClarify(body: PostBody<'/tarot/rider-waite/clarify'>, options?: CallOptions): ResultPromise<PostData<'/tarot/rider-waite/clarify'>>;
|
|
1145
|
+
/** RWS — 16 Court Cards (GET /tarot/rider-waite/courts) */
|
|
1146
|
+
riderWaiteCourtsGet(options?: CallOptions): ResultPromise<GetData<'/tarot/rider-waite/courts'>>;
|
|
1063
1147
|
/** RWS — Court Card Cross-Sum (POST /tarot/rider-waite/cross-sum) */
|
|
1064
1148
|
riderWaiteCrossSum(body: PostBody<'/tarot/rider-waite/cross-sum'>, options?: CallOptions): ResultPromise<PostData<'/tarot/rider-waite/cross-sum'>>;
|
|
1065
1149
|
/** RWS — Daily Card (POST /tarot/rider-waite/daily) */
|
|
@@ -1090,6 +1174,10 @@ export interface AstrowayNamespaces {
|
|
|
1090
1174
|
riderWaiteDrawYearAhead(body: PostBody<'/tarot/rider-waite/draw/year-ahead'>, options?: CallOptions): ResultPromise<PostData<'/tarot/rider-waite/draw/year-ahead'>>;
|
|
1091
1175
|
/** RWS — Interpret a Hand (POST /tarot/rider-waite/interpret) */
|
|
1092
1176
|
riderWaiteInterpret(body: PostBody<'/tarot/rider-waite/interpret'>, options?: CallOptions): ResultPromise<PostData<'/tarot/rider-waite/interpret'>>;
|
|
1177
|
+
/** RWS — 22 Majors (GET /tarot/rider-waite/majors) */
|
|
1178
|
+
riderWaiteMajorsGet(options?: CallOptions): ResultPromise<GetData<'/tarot/rider-waite/majors'>>;
|
|
1179
|
+
/** RWS — 40 Minors (GET /tarot/rider-waite/minors) */
|
|
1180
|
+
riderWaiteMinorsGet(options?: CallOptions): ResultPromise<GetData<'/tarot/rider-waite/minors'>>;
|
|
1093
1181
|
/** RWS — Missing Info Card (POST /tarot/rider-waite/missing-info) */
|
|
1094
1182
|
riderWaiteMissingInfo(body: PostBody<'/tarot/rider-waite/missing-info'>, options?: CallOptions): ResultPromise<PostData<'/tarot/rider-waite/missing-info'>>;
|
|
1095
1183
|
/** RWS — Outcome Card (POST /tarot/rider-waite/outcome) */
|
|
@@ -1098,6 +1186,8 @@ export interface AstrowayNamespaces {
|
|
|
1098
1186
|
riderWaiteShadowCard(body: PostBody<'/tarot/rider-waite/shadow-card'>, options?: CallOptions): ResultPromise<PostData<'/tarot/rider-waite/shadow-card'>>;
|
|
1099
1187
|
/** RWS — Soul + Personality (POST /tarot/rider-waite/soul-personality-card) */
|
|
1100
1188
|
riderWaiteSoulPersonalityCard(body: PostBody<'/tarot/rider-waite/soul-personality-card'>, options?: CallOptions): ResultPromise<PostData<'/tarot/rider-waite/soul-personality-card'>>;
|
|
1189
|
+
/** RWS — All Spreads (GET /tarot/rider-waite/spreads) */
|
|
1190
|
+
riderWaiteSpreadsGet(options?: CallOptions): ResultPromise<GetData<'/tarot/rider-waite/spreads'>>;
|
|
1101
1191
|
/** RWS — Timing Card (POST /tarot/rider-waite/timing) */
|
|
1102
1192
|
riderWaiteTiming(body: PostBody<'/tarot/rider-waite/timing'>, options?: CallOptions): ResultPromise<PostData<'/tarot/rider-waite/timing'>>;
|
|
1103
1193
|
/** RWS — Year Card (POST /tarot/rider-waite/year-card) */
|
|
@@ -1120,8 +1210,12 @@ export interface AstrowayNamespaces {
|
|
|
1120
1210
|
astro(body: PostBody<'/translate/astro'>, options?: CallOptions): ResultPromise<PostData<'/translate/astro'>>;
|
|
1121
1211
|
/** Translate batch (POST /translate/batch) */
|
|
1122
1212
|
batch(body: PostBody<'/translate/batch'>, options?: CallOptions): ResultPromise<PostData<'/translate/batch'>>;
|
|
1213
|
+
/** Supported languages (GET /translate/languages) */
|
|
1214
|
+
languagesGet(options?: CallOptions): ResultPromise<GetData<'/translate/languages'>>;
|
|
1123
1215
|
};
|
|
1124
1216
|
vedic: {
|
|
1217
|
+
/** Bhava Bala — house strength (POST /vedic/bhavabala) */
|
|
1218
|
+
bhavabala(body: PostBody<'/vedic/bhavabala'>, options?: CallOptions): ResultPromise<PostData<'/vedic/bhavabala'>>;
|
|
1125
1219
|
/** Compatibility — Ashtakoot Guna Milan (8-fold 36-point) (POST /vedic/compatibility/ashtakoot) */
|
|
1126
1220
|
compatibilityAshtakoot(body: PostBody<'/vedic/compatibility/ashtakoot'>, options?: CallOptions): ResultPromise<PostData<'/vedic/compatibility/ashtakoot'>>;
|
|
1127
1221
|
/** Compatibility — Bhrigu-match (7H placement) (POST /vedic/compatibility/bhrigu-match) */
|
|
@@ -1272,6 +1366,10 @@ export interface AstrowayNamespaces {
|
|
|
1272
1366
|
doshasParasharaPitru(body: PostBody<'/vedic/doshas/parashara/pitru'>, options?: CallOptions): ResultPromise<PostData<'/vedic/doshas/parashara/pitru'>>;
|
|
1273
1367
|
/** Doshas — Shrapit (curse) (POST /vedic/doshas/parashara/shrapit) */
|
|
1274
1368
|
doshasParasharaShrapit(body: PostBody<'/vedic/doshas/parashara/shrapit'>, options?: CallOptions): ResultPromise<PostData<'/vedic/doshas/parashara/shrapit'>>;
|
|
1369
|
+
/** Gemstone (ratna) recommendation (POST /vedic/gemstones) */
|
|
1370
|
+
gemstones(body: PostBody<'/vedic/gemstones'>, options?: CallOptions): ResultPromise<PostData<'/vedic/gemstones'>>;
|
|
1371
|
+
/** Navaratna reference table (GET /vedic/gemstones/navaratna) */
|
|
1372
|
+
gemstonesNavaratnaGet(options?: CallOptions): ResultPromise<GetData<'/vedic/gemstones/navaratna'>>;
|
|
1275
1373
|
/** Jaimini — Argala / Virodhargala scan (POST /vedic/jaimini/argala-analysis) */
|
|
1276
1374
|
jaiminiArgalaAnalysis(body: PostBody<'/vedic/jaimini/argala-analysis'>, options?: CallOptions): ResultPromise<PostData<'/vedic/jaimini/argala-analysis'>>;
|
|
1277
1375
|
/** Jaimini — Aspects (Rasi + Graha drishti) (POST /vedic/jaimini/aspects) */
|
|
@@ -1466,6 +1564,8 @@ export interface AstrowayNamespaces {
|
|
|
1466
1564
|
dashaChange(body: PostBody<'/webhooks/dasha-change'>, options?: CallOptions): ResultPromise<PostData<'/webhooks/dasha-change'>>;
|
|
1467
1565
|
/** Register Eclipse-Alert Webhook (POST /webhooks/eclipse-alert) */
|
|
1468
1566
|
eclipseAlert(body: PostBody<'/webhooks/eclipse-alert'>, options?: CallOptions): ResultPromise<PostData<'/webhooks/eclipse-alert'>>;
|
|
1567
|
+
/** List Webhook Subscriptions (GET /webhooks) */
|
|
1568
|
+
get(options?: CallOptions): ResultPromise<GetData<'/webhooks'>>;
|
|
1469
1569
|
/** Register Mahadasha-End Webhook (POST /webhooks/mahadasha-end) */
|
|
1470
1570
|
mahadashaEnd(body: PostBody<'/webhooks/mahadasha-end'>, options?: CallOptions): ResultPromise<PostData<'/webhooks/mahadasha-end'>>;
|
|
1471
1571
|
/** Register Planetary-Hour-Tick Webhook (POST /webhooks/planetary-hour-tick) */
|
|
@@ -1486,6 +1586,8 @@ export interface AstrowayNamespaces {
|
|
|
1486
1586
|
voidOfCourseStart(body: PostBody<'/webhooks/void-of-course-start'>, options?: CallOptions): ResultPromise<PostData<'/webhooks/void-of-course-start'>>;
|
|
1487
1587
|
};
|
|
1488
1588
|
wellness: {
|
|
1589
|
+
/** Biorhythm (JSON) (POST /wellness/biorhythm) */
|
|
1590
|
+
biorhythm(body: PostBody<'/wellness/biorhythm'>, options?: CallOptions): ResultPromise<PostData<'/wellness/biorhythm'>>;
|
|
1489
1591
|
/** Healing Crystals by Sign (POST /wellness/crystals) */
|
|
1490
1592
|
crystals(body: PostBody<'/wellness/crystals'>, options?: CallOptions): ResultPromise<PostData<'/wellness/crystals'>>;
|
|
1491
1593
|
/** Wellness Cycle Milestones (POST /wellness/cycle) */
|
|
@@ -1506,6 +1608,8 @@ export interface AstrowayNamespaces {
|
|
|
1506
1608
|
yoga(body: PostBody<'/wellness/yoga'>, options?: CallOptions): ResultPromise<PostData<'/wellness/yoga'>>;
|
|
1507
1609
|
};
|
|
1508
1610
|
whitelabel: {
|
|
1611
|
+
/** Get White-label Config (GET /whitelabel/config) */
|
|
1612
|
+
configGet(options?: CallOptions): ResultPromise<GetData<'/whitelabel/config'>>;
|
|
1509
1613
|
/** Verify Custom Domain DNS (POST /whitelabel/domain/verify) */
|
|
1510
1614
|
domainVerify(body: PostBody<'/whitelabel/domain/verify'>, options?: CallOptions): ResultPromise<PostData<'/whitelabel/domain/verify'>>;
|
|
1511
1615
|
/** Upload White-label Logo (POST /whitelabel/logo) */
|
|
@@ -1545,6 +1649,32 @@ export interface AstrowayNamespaces {
|
|
|
1545
1649
|
/** 12 Palaces (POST /ziwei/twelve-palaces) */
|
|
1546
1650
|
twelvePalaces(body: PostBody<'/ziwei/twelve-palaces'>, options?: CallOptions): ResultPromise<PostData<'/ziwei/twelve-palaces'>>;
|
|
1547
1651
|
};
|
|
1652
|
+
zodiac: {
|
|
1653
|
+
/** Aquarius — Fixed Air (GET /zodiac/aquarius) */
|
|
1654
|
+
aquariusGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/aquarius'>>;
|
|
1655
|
+
/** Aries — Cardinal Fire (GET /zodiac/aries) */
|
|
1656
|
+
ariesGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/aries'>>;
|
|
1657
|
+
/** Cancer — Cardinal Water (GET /zodiac/cancer) */
|
|
1658
|
+
cancerGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/cancer'>>;
|
|
1659
|
+
/** Capricorn — Cardinal Earth (GET /zodiac/capricorn) */
|
|
1660
|
+
capricornGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/capricorn'>>;
|
|
1661
|
+
/** Gemini — Mutable Air (GET /zodiac/gemini) */
|
|
1662
|
+
geminiGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/gemini'>>;
|
|
1663
|
+
/** Leo — Fixed Fire (GET /zodiac/leo) */
|
|
1664
|
+
leoGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/leo'>>;
|
|
1665
|
+
/** Libra — Cardinal Air (GET /zodiac/libra) */
|
|
1666
|
+
libraGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/libra'>>;
|
|
1667
|
+
/** Pisces — Mutable Water (GET /zodiac/pisces) */
|
|
1668
|
+
piscesGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/pisces'>>;
|
|
1669
|
+
/** Sagittarius — Mutable Fire (GET /zodiac/sagittarius) */
|
|
1670
|
+
sagittariusGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/sagittarius'>>;
|
|
1671
|
+
/** Scorpio — Fixed Water (GET /zodiac/scorpio) */
|
|
1672
|
+
scorpioGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/scorpio'>>;
|
|
1673
|
+
/** Taurus — Fixed Earth (GET /zodiac/taurus) */
|
|
1674
|
+
taurusGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/taurus'>>;
|
|
1675
|
+
/** Virgo — Mutable Earth (GET /zodiac/virgo) */
|
|
1676
|
+
virgoGet(options?: CallOptions): ResultPromise<GetData<'/zodiac/virgo'>>;
|
|
1677
|
+
};
|
|
1548
1678
|
}
|
|
1549
1679
|
export declare function buildNamespaces(client: AstrowayClient): AstrowayNamespaces;
|
|
1550
1680
|
export {};
|