@roxyapi/sdk 1.2.87 → 1.2.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.2.87";
1
+ export declare const VERSION = "1.2.89";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1510,15 +1510,7 @@ const { data } = await roxy.chineseAstrology.getDailyZodiacReading({
1510
1510
  const { data } = await roxy.chineseAstrology.listSolarTerms({ path: { year: 2026 } });
1511
1511
 
1512
1512
  // Convert lunar and Gregorian dates - Chinese lunisolar calendar API
1513
- const { data } = await roxy.chineseAstrology.calculateLunarDate({
1514
- body: {
1515
- date: '1990-06-15',
1516
- lunarYear: 1990,
1517
- lunarMonth: 5,
1518
- lunarDay: 23,
1519
- isLeapMonth: false,
1520
- },
1521
- });
1513
+ const { data } = await roxy.chineseAstrology.calculateLunarDate({ body: { date: '1990-06-15' } });
1522
1514
 
1523
1515
  // Get the almanac for a day - Tong Shu API with day officers and mansions
1524
1516
  const { data } = await roxy.chineseAstrology.getAlmanacDay({ path: { date: '1990-06-15' } });
@@ -1615,13 +1607,7 @@ const { data } = await roxy.mesoamericanAstrology.generateMayanChart({
1615
1607
  });
1616
1608
 
1617
1609
  // Convert a Maya Long Count - Long Count calendar converter API
1618
- const { data } = await roxy.mesoamericanAstrology.convertLongCount({
1619
- body: {
1620
- date: '2012-12-21',
1621
- longCount: '13.0.0.0.0',
1622
- correlation: 'gmt-584283',
1623
- },
1624
- });
1610
+ const { data } = await roxy.mesoamericanAstrology.convertLongCount({ body: { date: '2012-12-21' } });
1625
1611
 
1626
1612
  // Daily Mayan energy reading - Tzolkin day sign of the day API
1627
1613
  const { data } = await roxy.mesoamericanAstrology.getDailyMayanReading({ query: { date: '2026-09-02', correlation: 'gmt-584283' } });
@@ -1693,38 +1679,16 @@ Vastu Shastra API for directional home and plot analysis: entrance padas with th
1693
1679
  // Calculate entrance pada - Vastu main door direction API
1694
1680
  const { data } = await roxy.vastu.calculateEntrancePada({
1695
1681
  body: {
1696
- plot: {
1697
- width: 30,
1698
- depth: 40,
1699
- polygon: [
1700
- { x: 0, y: 0 },
1701
- { x: 30, y: 0 },
1702
- { x: 30, y: 40 },
1703
- { x: 0, y: 40 },
1704
- ],
1705
- unit: 'feet',
1706
- },
1682
+ plot: { width: 30, depth: 40, unit: 'feet' },
1707
1683
  facing: 'North',
1708
- facingDegrees: 15,
1709
1684
  doorPosition: 0.4,
1710
- grid: '81-pada',
1711
1685
  },
1712
1686
  });
1713
1687
 
1714
1688
  // Generate Vastu Purusha Mandala - 81 pada and 64 pada grid API
1715
1689
  const { data } = await roxy.vastu.generateMandala({
1716
1690
  body: {
1717
- plot: {
1718
- width: 30,
1719
- depth: 40,
1720
- polygon: [
1721
- { x: 0, y: 0 },
1722
- { x: 30, y: 0 },
1723
- { x: 30, y: 40 },
1724
- { x: 0, y: 40 },
1725
- ],
1726
- unit: 'feet',
1727
- },
1691
+ plot: { width: 30, depth: 40, unit: 'feet' },
1728
1692
  grid: '81-pada',
1729
1693
  },
1730
1694
  });
@@ -1732,25 +1696,13 @@ const { data } = await roxy.vastu.generateMandala({
1732
1696
  // Analyse a plot - Vastu land and site assessment API
1733
1697
  const { data } = await roxy.vastu.calculatePlotAnalysis({
1734
1698
  body: {
1735
- plot: {
1736
- width: 30,
1737
- depth: 40,
1738
- polygon: [
1739
- { x: 0, y: 0 },
1740
- { x: 30, y: 0 },
1741
- { x: 30, y: 40 },
1742
- { x: 0, y: 40 },
1743
- ],
1744
- unit: 'feet',
1745
- },
1699
+ plot: { width: 30, depth: 40, unit: 'feet' },
1746
1700
  facing: 'North',
1747
- facingDegrees: 15,
1748
1701
  slopeLowDirection: 'Northeast',
1749
1702
  road: 'North',
1750
1703
  extensions: ['Northeast'],
1751
1704
  cuts: ['Southwest'],
1752
1705
  water: 'Northeast',
1753
- slopeSchool: 'brihat-samhita',
1754
1706
  },
1755
1707
  });
1756
1708
 
@@ -1771,30 +1723,11 @@ const { data } = await roxy.vastu.calculateAyadi({
1771
1723
  // Check room placement - Vastu room direction compliance API
1772
1724
  const { data } = await roxy.vastu.calculateRoomCompliance({
1773
1725
  body: {
1774
- plot: {
1775
- width: 30,
1776
- depth: 40,
1777
- polygon: [
1778
- { x: 0, y: 0 },
1779
- { x: 30, y: 0 },
1780
- { x: 30, y: 40 },
1781
- { x: 0, y: 40 },
1782
- ],
1783
- unit: 'feet',
1784
- },
1726
+ plot: { width: 30, depth: 40, unit: 'feet' },
1785
1727
  facing: 'North',
1786
- facingDegrees: 15,
1787
1728
  rooms: [
1788
- {
1789
- type: 'kitchen',
1790
- direction: 'Southeast',
1791
- polygon: [
1792
- { x: 20, y: 2 },
1793
- { x: 28, y: 2 },
1794
- { x: 28, y: 12 },
1795
- { x: 20, y: 12 },
1796
- ],
1797
- },
1729
+ { type: 'kitchen', direction: 'Southeast' },
1730
+ { type: 'master-bedroom', direction: 'Southwest' },
1798
1731
  ],
1799
1732
  },
1800
1733
  });
@@ -1955,13 +1888,7 @@ Kabbalah API for gematria, the 72 names, the Tree of Life and the Hebrew birthda
1955
1888
  const { data } = await roxy.kabbalah.calculateGematria({
1956
1889
  body: {
1957
1890
  text: 'Sarah',
1958
- textHebrew: 'שלום',
1959
- transliteration: 'letter-map-mathers',
1960
1891
  ciphers: ['mispar-hechrachi', 'mispar-gadol'],
1961
- misparGadol: 'finals-500-900',
1962
- atbashOutput: 'both',
1963
- includeMatches: true,
1964
- latinCiphers: false,
1965
1892
  },
1966
1893
  });
1967
1894
 
@@ -1969,14 +1896,7 @@ const { data } = await roxy.kabbalah.calculateGematria({
1969
1896
  const { data } = await roxy.kabbalah.listGematriaCiphers();
1970
1897
 
1971
1898
  // Generate a name profile - Kabbalah name numerology API with the spelling shown
1972
- const { data } = await roxy.kabbalah.generateNameProfile({
1973
- body: {
1974
- name: 'Sarah',
1975
- nameHebrew: 'שרה',
1976
- transliteration: 'letter-map-mathers',
1977
- misparGadol: 'finals-500-900',
1978
- },
1979
- });
1899
+ const { data } = await roxy.kabbalah.generateNameProfile({ body: { name: 'Sarah' } });
1980
1900
 
1981
1901
  // Generate a birth profile - Hebrew birthday and birth angel API
1982
1902
  const { data } = await roxy.kabbalah.generateBirthProfile({
@@ -2025,16 +1945,7 @@ const { data } = await roxy.kabbalah.getHebrewLetter({
2025
1945
  });
2026
1946
 
2027
1947
  // Compare two names - gematria name compatibility API with every component published
2028
- const { data } = await roxy.kabbalah.calculateNameCompatibility({
2029
- body: {
2030
- firstName: 'Sarah',
2031
- firstNameHebrew: 'שרה',
2032
- secondName: 'David',
2033
- secondNameHebrew: 'דוד',
2034
- transliteration: 'letter-map-mathers',
2035
- misparGadol: 'finals-500-900',
2036
- },
2037
- });
1948
+ const { data } = await roxy.kabbalah.calculateNameCompatibility({ body: { firstName: 'Sarah', secondName: 'David' } });
2038
1949
 
2039
1950
  // Get the sephirah of the day - Omer count API with the sephirot pairing
2040
1951
  const { data } = await roxy.kabbalah.getDailySephirah({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/sdk",
3
- "version": "1.2.87",
3
+ "version": "1.2.89",
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
@@ -454,7 +454,7 @@ export class Astrology extends HeyApiClient {
454
454
  /**
455
455
  * Daily horoscope by zodiac sign - Transit-based editorial columns
456
456
  *
457
- * A publish-ready column for any zodiac sign, built from the dated transits over it and returned with those events for fact-checking. The reading names the aspects, sign ingresses, lunations and retrograde stations driving it and reads each into the whole-sign houses of that sign, so every sign gets different content rather than one blurb reused twelve times. Alongside the column come overview, love, career, health, finance and advice, the active transits, Moon sign and phase, an energy rating, lucky number and color, and compatible signs. No language model is involved, so a given sign and date always returns the same text and a piece scheduled months ahead is the piece that runs. Content rolls over at midnight, by default UTC. Pass date for editorial scheduling, or timezone to roll over on a local clock. Available in eight languages. Daily horoscope API, zodiac forecast, sun sign horoscope, astrology prediction.
457
+ * A publish-ready column for any zodiac sign, built from the dated transits over it and returned with those events for fact-checking. The reading names the aspects, sign ingresses, lunations and retrograde stations driving it and reads each into the whole-sign houses of that sign, so every sign gets different content rather than one blurb reused twelve times. Alongside the column come overview, love, career, health, finance and advice, the active transits, Moon sign and phase, an energy rating, lucky number and color, and compatible signs. No language model is involved, so a given sign and date always returns the same text and a piece scheduled months ahead is the piece that runs. Content rolls over at midnight, by default UTC. Pass date for editorial scheduling, or timezone to roll over on a local clock. Composed in 8 languages (en, de, es, fr, hi, pt, ru, tr); any other lang code returns English. Daily horoscope API, zodiac forecast, sun sign horoscope, astrology prediction.
458
458
  */
459
459
  public getDailyHoroscope<ThrowOnError extends boolean = false>(options: Options<GetAstrologyHoroscopeBySignDailyData, ThrowOnError>): RequestResult<GetAstrologyHoroscopeBySignDailyResponses, GetAstrologyHoroscopeBySignDailyErrors, ThrowOnError> {
460
460
  return (options.client ?? this.client).get<GetAstrologyHoroscopeBySignDailyResponses, GetAstrologyHoroscopeBySignDailyErrors, ThrowOnError>({
@@ -467,7 +467,7 @@ export class Astrology extends HeyApiClient {
467
467
  /**
468
468
  * Weekly horoscope by zodiac sign - Seven-day editorial column
469
469
  *
470
- * A Monday to Sunday column for any zodiac sign, naming the transits that perfect during the week and the days they fall on. Each event is read into the whole-sign houses of that sign, so content is unique per sign, and the dated events come back beside the prose so an editor can check a piece before it runs. Alongside the column come overview, love, career, health, finance and advice, plus lucky days, lucky numbers and compatible signs. No language model is involved, so the same sign and week always returns the same text. Pass any date inside a week to retrieve that week, or timezone to roll over on a local clock. Available in eight languages. Weekly horoscope API, zodiac weekly forecast, astrology weekly prediction.
470
+ * A Monday to Sunday column for any zodiac sign, naming the transits that perfect during the week and the days they fall on. Each event is read into the whole-sign houses of that sign, so content is unique per sign, and the dated events come back beside the prose so an editor can check a piece before it runs. Alongside the column come overview, love, career, health, finance and advice, plus lucky days, lucky numbers and compatible signs. No language model is involved, so the same sign and week always returns the same text. Pass any date inside a week to retrieve that week, or timezone to roll over on a local clock. Composed in 8 languages (en, de, es, fr, hi, pt, ru, tr); any other lang code returns English. Weekly horoscope API, zodiac weekly forecast, astrology weekly prediction.
471
471
  */
472
472
  public getWeeklyHoroscope<ThrowOnError extends boolean = false>(options: Options<GetAstrologyHoroscopeBySignWeeklyData, ThrowOnError>): RequestResult<GetAstrologyHoroscopeBySignWeeklyResponses, GetAstrologyHoroscopeBySignWeeklyErrors, ThrowOnError> {
473
473
  return (options.client ?? this.client).get<GetAstrologyHoroscopeBySignWeeklyResponses, GetAstrologyHoroscopeBySignWeeklyErrors, ThrowOnError>({
@@ -480,7 +480,7 @@ export class Astrology extends HeyApiClient {
480
480
  /**
481
481
  * Monthly horoscope by zodiac sign - Editorial column with key dates
482
482
  *
483
- * A month-long column for any zodiac sign, plus a week-by-week breakdown and dated key dates a calendar page renders directly. The column names the major aspects, slow-planet sign changes, lunations and stations of the month, and reads each into the whole-sign houses of that sign, and those events come back beside the prose with their exact instants, so a piece can be checked against NASA JPL Horizons or the US Naval Observatory before it runs. Key dates are the real New Moon, Full Moon and retrograde instants, never approximations. Alongside the column come overview, love, career, health, finance and advice. Pass any date inside a month to retrieve that month, or timezone to roll over on a local clock. Available in eight languages. Monthly horoscope API, zodiac monthly forecast, astrology monthly prediction.
483
+ * A month-long column for any zodiac sign, plus a week-by-week breakdown and dated key dates a calendar page renders directly. The column names the major aspects, slow-planet sign changes, lunations and stations of the month, and reads each into the whole-sign houses of that sign, and those events come back beside the prose with their exact instants, so a piece can be checked against NASA JPL Horizons or the US Naval Observatory before it runs. Key dates are the real New Moon, Full Moon and retrograde instants, never approximations. Alongside the column come overview, love, career, health, finance and advice. Pass any date inside a month to retrieve that month, or timezone to roll over on a local clock. Composed in 8 languages (en, de, es, fr, hi, pt, ru, tr); any other lang code returns English. Monthly horoscope API, zodiac monthly forecast, astrology monthly prediction.
484
484
  */
485
485
  public getMonthlyHoroscope<ThrowOnError extends boolean = false>(options: Options<GetAstrologyHoroscopeBySignMonthlyData, ThrowOnError>): RequestResult<GetAstrologyHoroscopeBySignMonthlyResponses, GetAstrologyHoroscopeBySignMonthlyErrors, ThrowOnError> {
486
486
  return (options.client ?? this.client).get<GetAstrologyHoroscopeBySignMonthlyResponses, GetAstrologyHoroscopeBySignMonthlyErrors, ThrowOnError>({
@@ -1414,7 +1414,7 @@ export class VedicAstrology extends HeyApiClient {
1414
1414
  /**
1415
1415
  * Ecliptic Crossings - When planets cross the ecliptic plane
1416
1416
  *
1417
- * Find all ecliptic plane crossings for visible planets during a given year. An ecliptic crossing occurs when a planetary celestial latitude passes through 0 degrees, crossing from one side of the ecliptic to the other. Ascending crossings (south to north) correspond to the ascending node, descending crossings (north to south) to the descending node. Moon crosses ~2 times per month, outer planets cross less frequently. Returns exact date, time, direction, sidereal longitude, and zodiac sign. Ecliptic crossing API, planetary node crossing, ascending descending node ephemeris.
1417
+ * Find all ecliptic plane crossings for visible planets during a given year. An ecliptic crossing occurs when a planetary celestial latitude passes through 0 degrees, crossing from one side of the ecliptic to the other. Ascending crossings (south to north) correspond to the ascending node, descending crossings (north to south) to the descending node. Moon crosses ~2 times per month, outer planets cross less frequently. Returns exact date, time, direction, longitude and zodiac sign in the requested coordinateSystem, sidereal by default. Ecliptic crossing API, planetary node crossing, ascending descending node ephemeris.
1418
1418
  */
1419
1419
  public getEclipticCrossings<ThrowOnError extends boolean = false>(options?: Options<PostVedicAstrologyEclipticCrossingsData, ThrowOnError>): RequestResult<PostVedicAstrologyEclipticCrossingsResponses, PostVedicAstrologyEclipticCrossingsErrors, ThrowOnError> {
1420
1420
  return (options?.client ?? this.client).post<PostVedicAstrologyEclipticCrossingsResponses, PostVedicAstrologyEclipticCrossingsErrors, ThrowOnError>({
@@ -3572,8 +3572,8 @@ export class Ayurveda extends HeyApiClient {
3572
3572
  *
3573
3573
  * Get one days Ayurveda reading for a place: sunrise, the brahma muhurta window, the six dosha periods cut from the actual day and night, and the season the date falls in with where each dosha stands in its yearly cycle. It composes the routine and the season routes for one location so a widget needs one call rather than two. The default conventions apply throughout and are echoed; call those two routes directly to choose a different season scheme, zodiac, hemisphere or dosha clock.
3574
3574
  */
3575
- public getDailyAyurvedaReading<ThrowOnError extends boolean = false>(options?: Options<GetAyurvedaDailyData, ThrowOnError>): RequestResult<GetAyurvedaDailyResponses, GetAyurvedaDailyErrors, ThrowOnError> {
3576
- return (options?.client ?? this.client).get<GetAyurvedaDailyResponses, GetAyurvedaDailyErrors, ThrowOnError>({
3575
+ public getDailyAyurvedaReading<ThrowOnError extends boolean = false>(options: Options<GetAyurvedaDailyData, ThrowOnError>): RequestResult<GetAyurvedaDailyResponses, GetAyurvedaDailyErrors, ThrowOnError> {
3576
+ return (options.client ?? this.client).get<GetAyurvedaDailyResponses, GetAyurvedaDailyErrors, ThrowOnError>({
3577
3577
  security: [{ name: 'X-API-Key', type: 'apiKey' }],
3578
3578
  url: '/ayurveda/daily',
3579
3579
  ...options