@roxyapi/sdk 1.2.53 → 1.2.55

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.53";
1
+ export declare const VERSION = "1.2.55";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -67,7 +67,11 @@ const { data } = await roxy.astrology.getPlanetaryPositions({
67
67
 
68
68
  // Get current moon phase - Lunar phase calculator with zodiac sign
69
69
  const { data } = await roxy.astrology.getCurrentMoonPhase({
70
- query: { date: '2025-12-18', time: '12:00:00', timezone: 0 },
70
+ query: {
71
+ date: '2025-12-18',
72
+ time: '12:00:00',
73
+ timezone: 'America/New_York',
74
+ },
71
75
  });
72
76
 
73
77
  // Get upcoming moon phases - Next new moon, full moon, quarters
@@ -223,13 +227,22 @@ const { data } = await roxy.astrology.calculateCompatibility({
223
227
  });
224
228
 
225
229
  // Daily horoscope by zodiac sign - Transit-based forecast with house activations
226
- const { data } = await roxy.astrology.getDailyHoroscope({ path: { sign: 'aries' }, query: { date: '2026-04-03' } });
230
+ const { data } = await roxy.astrology.getDailyHoroscope({
231
+ path: { sign: 'aries' },
232
+ query: { date: '2026-04-03', timezone: 'America/New_York' },
233
+ });
227
234
 
228
235
  // Weekly horoscope by zodiac sign - 7-day transit forecast
229
- const { data } = await roxy.astrology.getWeeklyHoroscope({ path: { sign: 'aries' } });
236
+ const { data } = await roxy.astrology.getWeeklyHoroscope({
237
+ path: { sign: 'aries' },
238
+ query: { date: '2026-04-03', timezone: 'America/New_York' },
239
+ });
230
240
 
231
241
  // Monthly horoscope by zodiac sign - 30-day transit forecast with key dates
232
- const { data } = await roxy.astrology.getMonthlyHoroscope({ path: { sign: 'aries' } });
242
+ const { data } = await roxy.astrology.getMonthlyHoroscope({
243
+ path: { sign: 'aries' },
244
+ query: { date: '2026-04-03', timezone: 'America/New_York' },
245
+ });
233
246
 
234
247
  // Planetary Return Chart - Saturn return, Jupiter return, and inner planet cycles
235
248
  const { data } = await roxy.astrology.generatePlanetaryReturn({
@@ -385,6 +398,7 @@ const { data } = await roxy.vedicAstrology.generateBirthChart({
385
398
  latitude: 28.6139,
386
399
  longitude: 77.209,
387
400
  timezone: 5.5,
401
+ avasthaInfo: true,
388
402
  },
389
403
  });
390
404
 
@@ -457,6 +471,7 @@ const { data } = await roxy.vedicAstrology.getCurrentDasha({
457
471
  longitude: 77.209,
458
472
  timezone: 5.5,
459
473
  ayanamsa: 'lahiri',
474
+ ayanamsaValue: 24,
460
475
  significators: false,
461
476
  nodeType: 'mean',
462
477
  },
@@ -472,6 +487,7 @@ const { data } = await roxy.vedicAstrology.getMajorDashas({
472
487
  longitude: 77.209,
473
488
  timezone: 5.5,
474
489
  ayanamsa: 'lahiri',
490
+ ayanamsaValue: 24,
475
491
  significators: false,
476
492
  nodeType: 'mean',
477
493
  },
@@ -488,6 +504,7 @@ const { data } = await roxy.vedicAstrology.getSubDashas({
488
504
  longitude: 77.209,
489
505
  timezone: 5.5,
490
506
  ayanamsa: 'lahiri',
507
+ ayanamsaValue: 24,
491
508
  significators: false,
492
509
  nodeType: 'mean',
493
510
  },
@@ -504,6 +521,7 @@ const { data } = await roxy.vedicAstrology.getPratyantardashas({
504
521
  longitude: 77.209,
505
522
  timezone: 5.5,
506
523
  ayanamsa: 'lahiri',
524
+ ayanamsaValue: 24,
507
525
  significators: false,
508
526
  nodeType: 'mean',
509
527
  },
@@ -524,6 +542,7 @@ const { data } = await roxy.vedicAstrology.getSookshmaDashas({
524
542
  longitude: 77.209,
525
543
  timezone: 5.5,
526
544
  ayanamsa: 'lahiri',
545
+ ayanamsaValue: 24,
527
546
  significators: false,
528
547
  nodeType: 'mean',
529
548
  },
@@ -545,6 +564,7 @@ const { data } = await roxy.vedicAstrology.getPranaDashas({
545
564
  longitude: 77.209,
546
565
  timezone: 5.5,
547
566
  ayanamsa: 'lahiri',
567
+ ayanamsaValue: 24,
548
568
  significators: false,
549
569
  nodeType: 'mean',
550
570
  },
@@ -625,7 +645,7 @@ const { data } = await roxy.vedicAstrology.checkSadhesati({
625
645
  });
626
646
 
627
647
  // List all planetary yogas - 300+ Vedic Yoga Glossary
628
- const { data } = await roxy.vedicAstrology.listYogas();
648
+ const { data } = await roxy.vedicAstrology.listYogas({ query: { family: 'akriti' } });
629
649
 
630
650
  // Get yoga details by ID - Vedic Yoga Glossary Entry
631
651
  const { data } = await roxy.vedicAstrology.getYoga({ path: { id: 'gajakesari' } });
@@ -642,7 +662,13 @@ const { data } = await roxy.vedicAstrology.detectYogas({
642
662
  });
643
663
 
644
664
  // Get KP-Newcomb ayanamsa - Dynamic daily calculation
645
- const { data } = await roxy.vedicAstrology.getKpAyanamsa({ query: { date: '2025-12-26' } });
665
+ const { data } = await roxy.vedicAstrology.getKpAyanamsa({
666
+ query: {
667
+ date: '2025-12-26',
668
+ time: '09:00:00',
669
+ timezone: 'Asia/Kolkata',
670
+ },
671
+ });
646
672
 
647
673
  // Get KP planetary positions with sub-lords
648
674
  const { data } = await roxy.vedicAstrology.getKpPlanets({
@@ -660,6 +686,7 @@ const { data } = await roxy.vedicAstrology.getKpPlanets({
660
686
 
661
687
  // Get KP Placidus house cusps with sub-lords
662
688
  const { data } = await roxy.vedicAstrology.getKpCusps({
689
+ query: { focus: 'general' },
663
690
  body: {
664
691
  date: '1990-07-04',
665
692
  time: '10:12:00',
@@ -688,6 +715,7 @@ const { data } = await roxy.vedicAstrology.generateKpChart({
688
715
 
689
716
  // Get KP ruling planets with optional significators
690
717
  const { data } = await roxy.vedicAstrology.getKpRulingPlanets({
718
+ query: { focus: 'general' },
691
719
  body: {
692
720
  latitude: 28.6139,
693
721
  longitude: 77.209,
@@ -701,6 +729,7 @@ const { data } = await roxy.vedicAstrology.getKpRulingPlanets({
701
729
 
702
730
  // Get KP ruling planets with significators at intervals
703
731
  const { data } = await roxy.vedicAstrology.getKpRulingInterval({
732
+ query: { focus: 'general' },
704
733
  body: {
705
734
  startDatetime: '2026-02-03T00:00:00Z',
706
735
  endDatetime: '2026-02-03T01:00:00Z',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/sdk",
3
- "version": "1.2.53",
3
+ "version": "1.2.55",
4
4
  "description": "TypeScript SDK for Roxy — the multi-domain spiritual intelligence API",
5
5
  "type": "module",
6
6
  "exports": {
package/src/sdk.gen.ts CHANGED
@@ -345,7 +345,7 @@ export class Astrology extends HeyApiClient {
345
345
  /**
346
346
  * Daily horoscope by zodiac sign - Transit-based forecast with house activations
347
347
  *
348
- * Get the daily horoscope for any zodiac sign. Forecast is generated from real-time planetary transits using whole-sign house positions, so every sign receives unique content. Returns love, career, health, finance, overview with active transits, Moon sign, Moon phase, energy rating, lucky number, lucky color, and compatible signs. Supports date parameter for editorial scheduling. Daily horoscope API, zodiac forecast, sun sign horoscope, astrology prediction.
348
+ * Get the daily horoscope for any zodiac sign. Forecast is generated from real-time planetary transits using whole-sign house positions, so every sign receives unique content. Returns love, career, health, finance, overview with active transits, Moon sign, Moon phase, energy rating, lucky number, lucky color, and compatible signs. Content is fixed for a given date and rolls over at midnight, by default UTC. Pass date for editorial scheduling, or timezone to roll over on a local clock. Daily horoscope API, zodiac forecast, sun sign horoscope, astrology prediction.
349
349
  */
350
350
  public getDailyHoroscope<ThrowOnError extends boolean = false>(options: Options<GetAstrologyHoroscopeBySignDailyData, ThrowOnError>) {
351
351
  return (options.client ?? this.client).get<GetAstrologyHoroscopeBySignDailyResponses, GetAstrologyHoroscopeBySignDailyErrors, ThrowOnError>({
@@ -358,7 +358,7 @@ export class Astrology extends HeyApiClient {
358
358
  /**
359
359
  * Weekly horoscope by zodiac sign - 7-day transit forecast
360
360
  *
361
- * Get weekly horoscope for any zodiac sign. Forecast covers a full 7-day period based on planetary transits with house-based content unique to each sign, with love, career, health, finance guidance plus lucky days, lucky numbers, and compatible signs. Weekly horoscope API, zodiac weekly forecast, astrology weekly prediction.
361
+ * Get weekly horoscope for any zodiac sign. Forecast covers a full Monday to Sunday period based on planetary transits with house-based content unique to each sign, with love, career, health, finance guidance plus lucky days, lucky numbers, and compatible signs. Pass any date inside a week to retrieve that week, or timezone to roll over on a local clock. Weekly horoscope API, zodiac weekly forecast, astrology weekly prediction.
362
362
  */
363
363
  public getWeeklyHoroscope<ThrowOnError extends boolean = false>(options: Options<GetAstrologyHoroscopeBySignWeeklyData, ThrowOnError>) {
364
364
  return (options.client ?? this.client).get<GetAstrologyHoroscopeBySignWeeklyResponses, GetAstrologyHoroscopeBySignWeeklyErrors, ThrowOnError>({
@@ -371,7 +371,7 @@ export class Astrology extends HeyApiClient {
371
371
  /**
372
372
  * Monthly horoscope by zodiac sign - 30-day transit forecast with key dates
373
373
  *
374
- * Get monthly horoscope for any zodiac sign with sign-specific week-by-week breakdown and real lunar phase key dates. Based on planetary transits with house activations unique to each sign, covering love, career, health, and finance for the entire month. Key dates include actual New Moon, Full Moon, and retrograde dates from ephemeris calculations. Monthly horoscope API, zodiac monthly forecast, astrology monthly prediction.
374
+ * Get monthly horoscope for any zodiac sign with sign-specific week-by-week breakdown and real lunar phase key dates. Based on planetary transits with house activations unique to each sign, covering love, career, health, and finance for the entire month. Key dates include actual New Moon, Full Moon, and retrograde dates from ephemeris calculations. Pass any date inside a month to retrieve that month, or timezone to roll over on a local clock. Monthly horoscope API, zodiac monthly forecast, astrology monthly prediction.
375
375
  */
376
376
  public getMonthlyHoroscope<ThrowOnError extends boolean = false>(options: Options<GetAstrologyHoroscopeBySignMonthlyData, ThrowOnError>) {
377
377
  return (options.client ?? this.client).get<GetAstrologyHoroscopeBySignMonthlyResponses, GetAstrologyHoroscopeBySignMonthlyErrors, ThrowOnError>({
@@ -939,7 +939,7 @@ export class VedicAstrology extends HeyApiClient {
939
939
  /**
940
940
  * Get KP-Newcomb ayanamsa - Dynamic daily calculation
941
941
  *
942
- * Get the KP-Newcomb (Krishnamurti) ayanamsa for any date, computed continuously from Newcomb precession theory rather than looked up in a preset table, so it tracks the date you ask for instead of the calendar year. This is the precession offset subtracted from a tropical longitude to obtain the sidereal one, and it is what makes a KP chart reproduce the reference software your practitioners already use. Returns the same value every KP endpoint applies internally. KP Newcomb ayanamsa API, dynamic ayanamsa calculator, Krishnamurti ayanamsa today, current KP ayanamsa
942
+ * Get the KP-Newcomb (Krishnamurti) ayanamsa for any instant, computed continuously from Newcomb precession theory rather than looked up in a preset table, so it tracks the exact moment you ask for instead of the calendar year. Supply date alone for midnight UTC, or add time and timezone to pin a birth moment exactly. This is the precession offset subtracted from a tropical longitude to obtain the sidereal one, and it is what makes a KP chart reproduce the reference software your practitioners already use. Returns the same value every KP endpoint applies internally. KP Newcomb ayanamsa API, dynamic ayanamsa calculator, Krishnamurti ayanamsa today, current KP ayanamsa
943
943
  */
944
944
  public getKpAyanamsa<ThrowOnError extends boolean = false>(options?: Options<GetVedicAstrologyKpAyanamsaData, ThrowOnError>) {
945
945
  return (options?.client ?? this.client).get<GetVedicAstrologyKpAyanamsaResponses, GetVedicAstrologyKpAyanamsaErrors, ThrowOnError>({