Skip to content

Commit de30766

Browse files
release: v1.2.1
1 parent 4a27762 commit de30766

5 files changed

Lines changed: 185 additions & 13 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@roxyapi/sdk",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "TypeScript SDK for Roxy — the multi-domain spiritual intelligence API",
55
"type": "module",
66
"exports": {

specs/openapi.json

Lines changed: 145 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
{
4242
"name": "Vedic Astrology",
43-
"description": "Production-grade Vedic (Jyotish) and KP astrology API for AI agents and developers. NASA JPL-validated planetary positions with sub-arcminute accuracy. Birth charts with 15 divisional charts (D1-D60), Ashtakoot Gun Milan compatibility, Vimshottari Dasha predictions, dosha detection with remedies, 300+ planetary yogas, complete Panchang, and KP horary with 249-level sub-lord analysis. 40+ endpoints optimized for matrimonial apps, horoscope platforms, spiritual wellness services, and AI-powered astrology chatbots."
43+
"description": "Production-grade Vedic (Jyotish) and KP astrology API for AI agents and developers. VSOP87 calculations verified against NASA JPL Horizons with sub-arcminute accuracy. Birth charts with 15 divisional charts (D1-D60), Ashtakoot Gun Milan compatibility, Vimshottari Dasha predictions, dosha detection with remedies, 300+ planetary yogas, complete Panchang, and KP horary with 249-level sub-lord analysis. 40+ endpoints optimized for matrimonial apps, horoscope platforms, spiritual wellness services, and AI-powered astrology chatbots."
4444
},
4545
{
4646
"name": "Tarot",
@@ -8200,7 +8200,7 @@
82008200
"Western Astrology"
82018201
],
82028202
"summary": "Generate natal chart - Birth chart calculator API with houses and aspects",
8203-
"description": "Calculate complete Western astrology natal chart (birth chart) with tropical zodiac. Returns all 10 planetary positions (Sun through Pluto), 12 house cusps with customizable house systems (Placidus, Whole Sign, Equal, Koch), major and minor aspects, Ascendant, Midheaven, dominant elements and modalities. Perfect for astrology apps, birth chart generators, horoscope websites, and astrological consultation tools. NASA JPL-validated astronomical accuracy.",
8203+
"description": "Calculate complete Western astrology natal chart (birth chart) with tropical zodiac. Returns all 10 planetary positions (Sun through Pluto), 12 house cusps with customizable house systems (Placidus, Whole Sign, Equal, Koch), major and minor aspects, Ascendant, Midheaven, dominant elements and modalities. Perfect for astrology apps, birth chart generators, horoscope websites, and astrological consultation tools. Verified against NASA JPL Horizons.",
82048204
"security": [
82058205
{
82068206
"apiKey": []
@@ -8356,7 +8356,7 @@
83568356
"Western Astrology"
83578357
],
83588358
"summary": "Get planetary positions - Ephemeris calculator for all planets",
8359-
"description": "Calculate accurate tropical zodiac positions for all 10 planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto) for any date, time, and location. Returns longitude, latitude, zodiac sign, degree within sign, daily motion speed, and retrograde status. Perfect for transit tracking, ephemeris tables, astrology apps, and planetary position widgets. NASA JPL-validated accuracy.",
8359+
"description": "Calculate accurate tropical zodiac positions for all 10 planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto) for any date, time, and location. Returns longitude, latitude, zodiac sign, degree within sign, daily motion speed, and retrograde status. Perfect for transit tracking, ephemeris tables, astrology apps, and planetary position widgets. Verified against NASA JPL Horizons.",
83608360
"security": [
83618361
{
83628362
"apiKey": []
@@ -10314,6 +10314,30 @@
1031410314
"apiKey": []
1031510315
}
1031610316
],
10317+
"parameters": [
10318+
{
10319+
"schema": {
10320+
"type": "string",
10321+
"enum": [
10322+
"en",
10323+
"tr",
10324+
"de",
10325+
"es",
10326+
"hi",
10327+
"pt",
10328+
"fr",
10329+
"ru"
10330+
],
10331+
"default": "en",
10332+
"example": "en",
10333+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English."
10334+
},
10335+
"required": false,
10336+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.",
10337+
"name": "lang",
10338+
"in": "query"
10339+
}
10340+
],
1031710341
"requestBody": {
1031810342
"content": {
1031910343
"application/json": {
@@ -11199,6 +11223,30 @@
1119911223
"apiKey": []
1120011224
}
1120111225
],
11226+
"parameters": [
11227+
{
11228+
"schema": {
11229+
"type": "string",
11230+
"enum": [
11231+
"en",
11232+
"tr",
11233+
"de",
11234+
"es",
11235+
"hi",
11236+
"pt",
11237+
"fr",
11238+
"ru"
11239+
],
11240+
"default": "en",
11241+
"example": "en",
11242+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English."
11243+
},
11244+
"required": false,
11245+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.",
11246+
"name": "lang",
11247+
"in": "query"
11248+
}
11249+
],
1120211250
"requestBody": {
1120311251
"content": {
1120411252
"application/json": {
@@ -11817,6 +11865,30 @@
1181711865
"apiKey": []
1181811866
}
1181911867
],
11868+
"parameters": [
11869+
{
11870+
"schema": {
11871+
"type": "string",
11872+
"enum": [
11873+
"en",
11874+
"tr",
11875+
"de",
11876+
"es",
11877+
"hi",
11878+
"pt",
11879+
"fr",
11880+
"ru"
11881+
],
11882+
"default": "en",
11883+
"example": "en",
11884+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English."
11885+
},
11886+
"required": false,
11887+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.",
11888+
"name": "lang",
11889+
"in": "query"
11890+
}
11891+
],
1182011892
"requestBody": {
1182111893
"content": {
1182211894
"application/json": {
@@ -14552,6 +14624,30 @@
1455214624
"apiKey": []
1455314625
}
1455414626
],
14627+
"parameters": [
14628+
{
14629+
"schema": {
14630+
"type": "string",
14631+
"enum": [
14632+
"en",
14633+
"tr",
14634+
"de",
14635+
"es",
14636+
"hi",
14637+
"pt",
14638+
"fr",
14639+
"ru"
14640+
],
14641+
"default": "en",
14642+
"example": "en",
14643+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English."
14644+
},
14645+
"required": false,
14646+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.",
14647+
"name": "lang",
14648+
"in": "query"
14649+
}
14650+
],
1455514651
"requestBody": {
1455614652
"content": {
1455714653
"application/json": {
@@ -34213,6 +34309,30 @@
3421334309
"apiKey": []
3421434310
}
3421534311
],
34312+
"parameters": [
34313+
{
34314+
"schema": {
34315+
"type": "string",
34316+
"enum": [
34317+
"en",
34318+
"tr",
34319+
"de",
34320+
"es",
34321+
"hi",
34322+
"pt",
34323+
"fr",
34324+
"ru"
34325+
],
34326+
"default": "en",
34327+
"example": "en",
34328+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English."
34329+
},
34330+
"required": false,
34331+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.",
34332+
"name": "lang",
34333+
"in": "query"
34334+
}
34335+
],
3421634336
"responses": {
3421734337
"200": {
3421834338
"description": "List of all 8 trigrams with basic information.",
@@ -34365,6 +34485,28 @@
3436534485
"description": "Trigram number (1-8) or English name (Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake).",
3436634486
"name": "identifier",
3436734487
"in": "path"
34488+
},
34489+
{
34490+
"schema": {
34491+
"type": "string",
34492+
"enum": [
34493+
"en",
34494+
"tr",
34495+
"de",
34496+
"es",
34497+
"hi",
34498+
"pt",
34499+
"fr",
34500+
"ru"
34501+
],
34502+
"default": "en",
34503+
"example": "en",
34504+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English."
34505+
},
34506+
"required": false,
34507+
"description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.",
34508+
"name": "lang",
34509+
"in": "query"
3436834510
}
3436934511
],
3437034512
"responses": {

src/sdk.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export class Astrology extends HeyApiClient {
156156
/**
157157
* Generate natal chart - Birth chart calculator API with houses and aspects
158158
*
159-
* Calculate complete Western astrology natal chart (birth chart) with tropical zodiac. Returns all 10 planetary positions (Sun through Pluto), 12 house cusps with customizable house systems (Placidus, Whole Sign, Equal, Koch), major and minor aspects, Ascendant, Midheaven, dominant elements and modalities. Perfect for astrology apps, birth chart generators, horoscope websites, and astrological consultation tools. NASA JPL-validated astronomical accuracy.
159+
* Calculate complete Western astrology natal chart (birth chart) with tropical zodiac. Returns all 10 planetary positions (Sun through Pluto), 12 house cusps with customizable house systems (Placidus, Whole Sign, Equal, Koch), major and minor aspects, Ascendant, Midheaven, dominant elements and modalities. Perfect for astrology apps, birth chart generators, horoscope websites, and astrological consultation tools. Verified against NASA JPL Horizons.
160160
*/
161161
public generateNatalChart<ThrowOnError extends boolean = false>(options?: Options<PostAstrologyNatalChartData, ThrowOnError>) {
162162
return (options?.client ?? this.client).post<PostAstrologyNatalChartResponses, PostAstrologyNatalChartErrors, ThrowOnError>({
@@ -173,7 +173,7 @@ export class Astrology extends HeyApiClient {
173173
/**
174174
* Get planetary positions - Ephemeris calculator for all planets
175175
*
176-
* Calculate accurate tropical zodiac positions for all 10 planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto) for any date, time, and location. Returns longitude, latitude, zodiac sign, degree within sign, daily motion speed, and retrograde status. Perfect for transit tracking, ephemeris tables, astrology apps, and planetary position widgets. NASA JPL-validated accuracy.
176+
* Calculate accurate tropical zodiac positions for all 10 planets (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto) for any date, time, and location. Returns longitude, latitude, zodiac sign, degree within sign, daily motion speed, and retrograde status. Perfect for transit tracking, ephemeris tables, astrology apps, and planetary position widgets. Verified against NASA JPL Horizons.
177177
*/
178178
public getPlanetaryPositions<ThrowOnError extends boolean = false>(options?: Options<PostAstrologyPlanetsData, ThrowOnError>) {
179179
return (options?.client ?? this.client).post<PostAstrologyPlanetsResponses, PostAstrologyPlanetsErrors, ThrowOnError>({

src/types.gen.ts

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5578,7 +5578,12 @@ export type PostAstrologyAspectsResponse = PostAstrologyAspectsResponses[keyof P
55785578
export type PostAstrologyTransitsData = {
55795579
body?: TransitsRequest;
55805580
path?: never;
5581-
query?: never;
5581+
query?: {
5582+
/**
5583+
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
5584+
*/
5585+
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
5586+
};
55825587
url: '/astrology/transits';
55835588
};
55845589

@@ -6006,7 +6011,12 @@ export type PostAstrologySolarReturnData = {
60066011
houseSystem?: 'placidus' | 'whole-sign' | 'equal' | 'koch';
60076012
};
60086013
path?: never;
6009-
query?: never;
6014+
query?: {
6015+
/**
6016+
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
6017+
*/
6018+
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
6019+
};
60106020
url: '/astrology/solar-return';
60116021
};
60126022

@@ -6301,7 +6311,12 @@ export type PostAstrologyLunarReturnData = {
63016311
houseSystem?: 'placidus' | 'whole-sign' | 'equal' | 'koch';
63026312
};
63036313
path?: never;
6304-
query?: never;
6314+
query?: {
6315+
/**
6316+
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
6317+
*/
6318+
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
6319+
};
63056320
url: '/astrology/lunar-return';
63066321
};
63076322

@@ -7676,7 +7691,12 @@ export type PostAstrologyPlanetaryReturnsData = {
76767691
houseSystem?: 'placidus' | 'whole-sign' | 'equal' | 'koch';
76777692
};
76787693
path?: never;
7679-
query?: never;
7694+
query?: {
7695+
/**
7696+
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
7697+
*/
7698+
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
7699+
};
76807700
url: '/astrology/planetary-returns';
76817701
};
76827702

@@ -18111,7 +18131,12 @@ export type GetIchingCastResponse = GetIchingCastResponses[keyof GetIchingCastRe
1811118131
export type GetIchingTrigramsData = {
1811218132
body?: never;
1811318133
path?: never;
18114-
query?: never;
18134+
query?: {
18135+
/**
18136+
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
18137+
*/
18138+
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
18139+
};
1811518140
url: '/iching/trigrams';
1811618141
};
1811718142

@@ -18198,7 +18223,12 @@ export type GetIchingTrigramsByIdentifierData = {
1819818223
*/
1819918224
identifier: string;
1820018225
};
18201-
query?: never;
18226+
query?: {
18227+
/**
18228+
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
18229+
*/
18230+
lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
18231+
};
1820218232
url: '/iching/trigrams/{identifier}';
1820318233
};
1820418234

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '1.2.0';
1+
export const VERSION = '1.2.1';

0 commit comments

Comments
 (0)