lifeastroapi 0.5.0 → 0.7.0

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/index.cjs CHANGED
@@ -420,11 +420,11 @@ var Ashtakavarga = class {
420
420
  }
421
421
  /** Bhinnashtakavarga (BAV) for one planet. */
422
422
  bhinna(input, opts) {
423
- return this._c.request(buildPath("/v1/ashtakavarga/bhinna/{planet}", input, ["planet"]), qBirthPrefixed(input), opts);
423
+ return this._c.request(buildPath("/v1/ashtakavarga/bhinna/{planet}", input, ["planet"]), applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
424
424
  }
425
425
  /** Get Kaksha (sub-division) level Ashtakavarga analysis — divides each sign into 8 equal 3°45′ segments, each ruled by a graha. */
426
426
  kaksha(input, opts) {
427
- return this._c.request("/v1/ashtakavarga/kaksha", qNatalTransit(input), opts);
427
+ return this._c.request("/v1/ashtakavarga/kaksha", applyExtras(qNatalTransit(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
428
428
  }
429
429
  /** Get the Sarvashtakavarga table — the combined 12-sign benefic-point grid from all 9 grahas. */
430
430
  sarva(input, opts) {
@@ -432,7 +432,7 @@ var Ashtakavarga = class {
432
432
  }
433
433
  /** Score current (or a given date's) planetary transits against a natal chart using Ashtakavarga benefic points. */
434
434
  transitScore(input, opts) {
435
- return this._c.request("/v1/ashtakavarga/transit-score", qNatalTransit(input), opts);
435
+ return this._c.request("/v1/ashtakavarga/transit-score", applyExtras(qNatalTransit(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
436
436
  }
437
437
  };
438
438
 
@@ -443,23 +443,23 @@ var Calendar = class {
443
443
  }
444
444
  /** Find the Adhik Maas (intercalary/leap month) in a given year — the extra lunar month inserted to sync the Hindu lunar calendar with the solar year. */
445
445
  adhikMaas(input, opts) {
446
- return this._c.request("/v1/calendar/adhik-maas", applyExtras(qNone(input), input, [["year", "year"], ["tz", "tz"]]), opts);
446
+ return this._c.request("/v1/calendar/adhik-maas", applyExtras(qNone(input), input, [["year", "year"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
447
447
  }
448
448
  /** Get the Hindu calendar details for a Gregorian month — maps each day to its Hindu month (Chaitra/Vaishakha/…), paksha (Shukla/Krishna), tithi, and Vikram Samvat year. */
449
449
  month(input, opts) {
450
- return this._c.request("/v1/calendar/month", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"]]), opts);
450
+ return this._c.request("/v1/calendar/month", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
451
451
  }
452
452
  /** Get the current Hindu Ritu (season) for a date — one of 6 seasons: Vasanta (spring), Grishma (summer), Varsha (monsoon), Sharad (autumn), Hemanta (pre-winter), Shishira (winter). */
453
453
  ritu(input, opts) {
454
- return this._c.request("/v1/calendar/ritu", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"]]), opts);
454
+ return this._c.request("/v1/calendar/ritu", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
455
455
  }
456
456
  /** Get the Samvatsara (Jupiter year) name for a given year — the 60-year Jupiter cycle used in Hindu astrology (Prabhava, Vibhava, Shukla, … Akshaya). */
457
457
  samvatsara(input, opts) {
458
- return this._c.request("/v1/calendar/samvatsara", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"]]), opts);
458
+ return this._c.request("/v1/calendar/samvatsara", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
459
459
  }
460
460
  /** Equinoxes and solstices of a year — exact moment (UTC + local), the ayana that begins (tropical Dakshinayana at the June solstice, tropical Uttarayana at the December solstice; the panchang's Uttarayana is Makara Sankranti), and with lat/lon the sunrise, sunset and day length at that place. */
461
461
  solstices(input, opts) {
462
- return this._c.request("/v1/calendar/solstices", applyExtras(qNone(input), input, [["year", "year"], ["tz", "tz"], ["lat", "lat"], ["lon", "lon"], ["alt", "alt"]]), opts);
462
+ return this._c.request("/v1/calendar/solstices", applyExtras(qNone(input), input, [["year", "year"], ["tz", "tz"], ["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["lang", "lang"], ["lang", "locale"]]), opts);
463
463
  }
464
464
  };
465
465
 
@@ -470,27 +470,27 @@ var Chart = class {
470
470
  }
471
471
  /** Ascendant (Lagna): sign, degree, nakshatra, pada and lord. */
472
472
  ascendant(input, opts) {
473
- return this._c.request("/v1/chart/ascendant", qBirth(input), opts);
473
+ return this._c.request("/v1/chart/ascendant", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
474
474
  }
475
475
  /** Sarvashtakavarga (SAV) grid; grand total is always 337. */
476
476
  ashtakvarga(input, opts) {
477
- return this._c.request("/v1/chart/ashtakvarga", qBirth(input), opts);
477
+ return this._c.request("/v1/chart/ashtakvarga", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
478
478
  }
479
479
  /** One planet's Bhinnashtakavarga row: its benefic points (bindus) in each of the 12 signs. `planet` is Sun, Moon, Mars, Mercury, Jupiter, Venus or Saturn. */
480
480
  ashtakvargaPlanet(input, opts) {
481
- return this._c.request(buildPath("/v1/chart/ashtakvarga/{planet}", input, ["planet"]), qBirth(input), opts);
481
+ return this._c.request(buildPath("/v1/chart/ashtakvarga/{planet}", input, ["planet"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
482
482
  }
483
483
  /** Vedic graha drishti (planetary aspects) table. */
484
484
  aspects(input, opts) {
485
- return this._c.request("/v1/chart/aspects", qBirth(input), opts);
485
+ return this._c.request("/v1/chart/aspects", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
486
486
  }
487
487
  /** Full birth-chart snapshot: avakhada, ascendant, all planets, sun/moon sign and birth panchang. */
488
488
  astroDetails(input, opts) {
489
- return this._c.request("/v1/chart/astro-details", qBirth(input), opts);
489
+ return this._c.request("/v1/chart/astro-details", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
490
490
  }
491
491
  /** Avakhada Chakra: varna, vashya, yoni, gana, nadi and lucky factors. */
492
492
  avakhada(input, opts) {
493
- return this._c.request("/v1/chart/avakhada", qBirth(input), opts);
493
+ return this._c.request("/v1/chart/avakhada", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
494
494
  }
495
495
  /** Compute Bhava Bala — the six-component strength of each of the 12 houses: Bhavadhipati Bala (lord strength), Bhava Digbala, Bhava Drishti Bala, and more. */
496
496
  bhavabala(input, opts) {
@@ -498,15 +498,15 @@ var Chart = class {
498
498
  }
499
499
  /** Check which planets are combust (too close to the Sun) in a birth chart — returns each planet's angular distance from Sun, whether it is combust by classical limits, and combust severity. */
500
500
  combustion(input, opts) {
501
- return this._c.request("/v1/chart/combustion", qBirth(input), opts);
501
+ return this._c.request("/v1/chart/combustion", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
502
502
  }
503
503
  /** Every planet's dignity (exalted/debilitated/own/friend/enemy/neutral). */
504
504
  dignity(input, opts) {
505
- return this._c.request("/v1/chart/dignity", qBirth(input), opts);
505
+ return this._c.request("/v1/chart/dignity", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
506
506
  }
507
507
  /** Any divisional (varga) chart, e.g. D1, D9, D10, D60. */
508
508
  divisional(input, opts) {
509
- return this._c.request(buildPath("/v1/chart/divisional/{varga}", input, ["varga"]), qBirth(input), opts);
509
+ return this._c.request(buildPath("/v1/chart/divisional/{varga}", input, ["varga"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
510
510
  }
511
511
  /** Doshas in a birth chart as data (20 credits): kaalsarp, mangal (from lagna, Moon and Venus with cancellation), pitra, combust, debilitation (with neecha bhanga), retrograde, gandanta, grahan, papakartari, mrityu bhaga, guru chandal, visha kanya, ganda moola. Same item fields as chart.yogas. all=true also lists absent ids. Ids only, no text: planets sun..ketu, sign_index 0-based (Aries=0), house 1-based whole-sign from the lagna, nakshatra index 0-based (Ashwini=0). */
512
512
  doshas(input, opts) {
@@ -514,47 +514,47 @@ var Chart = class {
514
514
  }
515
515
  /** Ghatak Chakra (inauspicious indicators) for the chart. */
516
516
  ghatak(input, opts) {
517
- return this._c.request("/v1/chart/ghatak", qBirth(input), opts);
517
+ return this._c.request("/v1/chart/ghatak", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
518
518
  }
519
519
  /** Identify Graha Yuddha (planetary war) in a birth chart — occurs when two visible planets are within 1° of each other. */
520
520
  grahaYuddha(input, opts) {
521
- return this._c.request("/v1/chart/graha-yuddha", qBirth(input), opts);
521
+ return this._c.request("/v1/chart/graha-yuddha", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
522
522
  }
523
523
  /** List all planets occupying each of the 12 houses in a birth chart — a house-indexed view of the chart (vs planet-indexed from chart_planets). */
524
524
  houseOccupants(input, opts) {
525
- return this._c.request("/v1/chart/house-occupants", qBirth(input), opts);
525
+ return this._c.request("/v1/chart/house-occupants", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
526
526
  }
527
527
  /** 12 house cusps / occupants for the chosen house system. */
528
528
  houses(input, opts) {
529
- return this._c.request("/v1/chart/houses", qBirth(input), opts);
529
+ return this._c.request("/v1/chart/houses", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
530
530
  }
531
531
  /** Get KP (Krishnamurti Paddhati) house significators for a given cusp — lists planets that significate the house through occupancy, lordship, and sub-lord chain. */
532
532
  kpHouseSignificator(input, opts) {
533
- return this._c.request("/v1/chart/kp-house-significator", applyExtras(qBirth(input), input, [["cusp", "cusp"]]), opts);
533
+ return this._c.request("/v1/chart/kp-house-significator", applyExtras(qBirth(input), input, [["cusp", "cusp"], ["lang", "lang"], ["lang", "locale"]]), opts);
534
534
  }
535
535
  /** Get the KP sublord of a planet — the sub-lord of the nakshatra sub-division the planet occupies (KP star lord → sub lord → sub-sub lord chain). */
536
536
  kpSublord(input, opts) {
537
- return this._c.request("/v1/chart/kp-sublord", applyExtras(qBirth(input), input, [["planet", "planet"]]), opts);
537
+ return this._c.request("/v1/chart/kp-sublord", applyExtras(qBirth(input), input, [["planet", "planet"], ["lang", "lang"], ["lang", "locale"]]), opts);
538
538
  }
539
539
  /** Whole birth chart as data in one call (50 credits): lagna; planets with sign, degree, house, nakshatra, pada, retrograde, combust, dignity, neecha bhanga, vargottama, houses ruled, shadbala, avastha and varga placements; houses with sign, lord, SAV bindus, bhava bala, occupants and aspecting planets; Jaimini chara karakas; avakhada. vargas: comma list (default D9, max 16, D1 rejected). include: shadbala, bhavabala, ashtakvarga, aspects, avastha, karakas, avakhada, yogas or all (default all but yogas). gender narrows Mahabhagya. Ids only, no text: planets sun..ketu, sign_index 0-based (Aries=0), house 1-based whole-sign from the lagna, nakshatra index 0-based (Ashwini=0). Anything not computable is in skipped. */
540
540
  kundliFacts(input, opts) {
541
- return this._c.request("/v1/chart/kundli-facts", applyExtras(qBirth(input), input, [["vargas", "vargas"], ["include", "include"], ["gender", "gender"]]), opts);
541
+ return this._c.request("/v1/chart/kundli-facts", applyExtras(qBirth(input), input, [["vargas", "vargas"], ["include", "include"], ["gender", "gender"], ["lang", "lang"], ["lang", "locale"]]), opts);
542
542
  }
543
543
  /** Birth (Janma) nakshatra and pada. */
544
544
  nakshatra(input, opts) {
545
- return this._c.request("/v1/chart/nakshatra", qBirth(input), opts);
545
+ return this._c.request("/v1/chart/nakshatra", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
546
546
  }
547
547
  /** Navamsa (D9) divisional chart — convenience alias for divisional('D9'). */
548
548
  navamsa(input, opts) {
549
- return this._c.request("/v1/chart/divisional/D9", qBirth(input), opts);
549
+ return this._c.request("/v1/chart/divisional/D9", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
550
550
  }
551
551
  /** Detail for a single planet (sun|moon|mars|mercury|jupiter|venus|saturn|rahu|ketu). */
552
552
  planet(input, opts) {
553
- return this._c.request(buildPath("/v1/chart/planet/{name}", input, ["name"]), qBirth(input), opts);
553
+ return this._c.request(buildPath("/v1/chart/planet/{name}", input, ["name"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
554
554
  }
555
555
  /** All 9 grahas with sign, degree, nakshatra, house, retrograde, dignity, combustion and speed. */
556
556
  planets(input, opts) {
557
- return this._c.request("/v1/chart/planets", qBirth(input), opts);
557
+ return this._c.request("/v1/chart/planets", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
558
558
  }
559
559
  /** Birth-time sensitivity (20 credits): for D1 and each varga (default D9,D10,D24) the lagna sign at birth and how many minutes before/after it stays the same, with the neighbouring signs; the same for the Moon's nakshatra and pada; planet sign changes inside the window. window: half-width in minutes (default 120, max 180). Use it to tell users how much a birth-time error matters. Every instant comes as *_local (RFC 3339 with offset) and *_jd (Julian Day, UT); fields that cannot be computed are listed in skipped. */
560
560
  sensitivity(input, opts) {
@@ -562,11 +562,11 @@ var Chart = class {
562
562
  }
563
563
  /** Shadbala (six-fold strength) for all 7 planets with components. */
564
564
  shadbala(input, opts) {
565
- return this._c.request("/v1/chart/shadbala", qBirth(input), opts);
565
+ return this._c.request("/v1/chart/shadbala", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
566
566
  }
567
567
  /** One shadbala component (sthana|dig|kala|chesta|naisargika|drik) for all planets. */
568
568
  shadbalaComponent(input, opts) {
569
- return this._c.request(buildPath("/v1/chart/shadbala/{component}", input, ["component"]), qBirth(input), opts);
569
+ return this._c.request(buildPath("/v1/chart/shadbala/{component}", input, ["component"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
570
570
  }
571
571
  /** Yogas present in a birth chart as data (20 credits), from the same detectors as narrative.yogas: id, kind, category, present, planets, houses, strength, cancelled + cancel_reasons, variant, axes, sub_ids, source, details. Includes neecha_bhanga.<planet> and raja_yoga.kendra_trikona. all=true also lists every absent catalogue id with present:false. Ids only, no text: planets sun..ketu, sign_index 0-based (Aries=0), house 1-based whole-sign from the lagna, nakshatra index 0-based (Ashwini=0). */
572
572
  yogas(input, opts) {
@@ -581,59 +581,59 @@ var Dasha = class {
581
581
  }
582
582
  /** Full Char Dasha (Jaimini sign-based dasha) schedule — every mahadasha sign period with start/end dates. */
583
583
  char(input, opts) {
584
- return this._c.request("/v1/dasha/char", qBirth(input), opts);
584
+ return this._c.request("/v1/dasha/char", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
585
585
  }
586
586
  /** Sub-periods inside a Char Dasha mahadasha+antardasha sign pair. */
587
587
  charAntar(input, opts) {
588
- return this._c.request(buildPath("/v1/dasha/char/{md}/{ad}", input, ["md", "ad"]), qBirth(input), opts);
588
+ return this._c.request(buildPath("/v1/dasha/char/{md}/{ad}", input, ["md", "ad"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
589
589
  }
590
590
  /** Currently running Char Dasha (Jaimini) period stack — active mahadasha and antardasha signs with date windows. */
591
591
  charCurrent(input, opts) {
592
- return this._c.request("/v1/dasha/char/current", qBirth(input), opts);
592
+ return this._c.request("/v1/dasha/char/current", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
593
593
  }
594
594
  /** Antardashas inside one Char Dasha mahadasha sign (md = sign name, e.g. 'leo'). */
595
595
  charMaha(input, opts) {
596
- return this._c.request(buildPath("/v1/dasha/char/{md}", input, ["md"]), qBirth(input), opts);
596
+ return this._c.request(buildPath("/v1/dasha/char/{md}", input, ["md"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
597
597
  }
598
598
  /** Char Dasha mahadasha-level periods only — one row per sign period. */
599
599
  charMajor(input, opts) {
600
- return this._c.request("/v1/dasha/char/major", qBirth(input), opts);
600
+ return this._c.request("/v1/dasha/char/major", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
601
601
  }
602
602
  /** Full Vimshottari dasha tree (depth 1-5). */
603
603
  vimshottari(input, opts) {
604
- return this._c.request("/v1/dasha/vimshottari", applyExtras(qBirth(input), input, [["depth", "depth"]]), opts);
604
+ return this._c.request("/v1/dasha/vimshottari", applyExtras(qBirth(input), input, [["depth", "depth"], ["lang", "lang"], ["lang", "locale"]]), opts);
605
605
  }
606
606
  /** Pratyantardashas within a Maha+Antar pair. */
607
607
  vimshottariAntar(input, opts) {
608
- return this._c.request(buildPath("/v1/dasha/vimshottari/{md}/{ad}", input, ["md", "ad"]), qBirth(input), opts);
608
+ return this._c.request(buildPath("/v1/dasha/vimshottari/{md}/{ad}", input, ["md", "ad"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
609
609
  }
610
610
  /** Currently running 5-level Vimshottari dasha stack (optionally at a custom moment). */
611
611
  vimshottariCurrent(input, opts) {
612
- return this._c.request("/v1/dasha/vimshottari/current", applyExtras(qBirth(input), input, [["at", "at"]]), opts);
612
+ return this._c.request("/v1/dasha/vimshottari/current", applyExtras(qBirth(input), input, [["at", "at"], ["lang", "lang"], ["lang", "locale"]]), opts);
613
613
  }
614
614
  /** Antardashas within one Mahadasha lord. */
615
615
  vimshottariMaha(input, opts) {
616
- return this._c.request(buildPath("/v1/dasha/vimshottari/{md}", input, ["md"]), qBirth(input), opts);
616
+ return this._c.request(buildPath("/v1/dasha/vimshottari/{md}", input, ["md"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
617
617
  }
618
618
  /** Sookshma periods within a 3-level Vimshottari combination. */
619
619
  vimshottariPratyantar(input, opts) {
620
- return this._c.request(buildPath("/v1/dasha/vimshottari/{md}/{ad}/{pd}", input, ["md", "ad", "pd"]), qBirth(input), opts);
620
+ return this._c.request(buildPath("/v1/dasha/vimshottari/{md}/{ad}/{pd}", input, ["md", "ad", "pd"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
621
621
  }
622
622
  /** Prana periods within a 4-level Vimshottari combination. */
623
623
  vimshottariSookshma(input, opts) {
624
- return this._c.request(buildPath("/v1/dasha/vimshottari/{md}/{ad}/{pd}/{sd}", input, ["md", "ad", "pd", "sd"]), qBirth(input), opts);
624
+ return this._c.request(buildPath("/v1/dasha/vimshottari/{md}/{ad}/{pd}/{sd}", input, ["md", "ad", "pd", "sd"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
625
625
  }
626
626
  /** Full Yogini dasha tree (36-year cycle, 8 lords). */
627
627
  yogini(input, opts) {
628
- return this._c.request("/v1/dasha/yogini", applyExtras(qBirth(input), input, [["depth", "depth"]]), opts);
628
+ return this._c.request("/v1/dasha/yogini", applyExtras(qBirth(input), input, [["depth", "depth"], ["lang", "lang"], ["lang", "locale"]]), opts);
629
629
  }
630
630
  /** Yogini dasha sub-periods for a named Yogini lord. */
631
631
  yoginiByName(input, opts) {
632
- return this._c.request(buildPath("/v1/dasha/yogini/{name}", input, ["name"]), qBirth(input), opts);
632
+ return this._c.request(buildPath("/v1/dasha/yogini/{name}", input, ["name"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
633
633
  }
634
634
  /** Currently running Yogini dasha. */
635
635
  yoginiCurrent(input, opts) {
636
- return this._c.request("/v1/dasha/yogini/current", applyExtras(qBirth(input), input, [["at", "at"]]), opts);
636
+ return this._c.request("/v1/dasha/yogini/current", applyExtras(qBirth(input), input, [["at", "at"], ["lang", "lang"], ["lang", "locale"]]), opts);
637
637
  }
638
638
  };
639
639
 
@@ -644,15 +644,15 @@ var Eclipses = class {
644
644
  }
645
645
  /** All eclipses (solar + lunar) in a date range. With lat/lon (and tz) each event carries a `local` block: contact times sparsha…moksha in local time, visibility at that place, and the sutak kaal (12 h before a solar, 9 h before a lunar eclipse, until moksha). */
646
646
  all(input, opts) {
647
- return this._c.request("/v1/eclipses/all", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"]]), opts);
647
+ return this._c.request("/v1/eclipses/all", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
648
648
  }
649
649
  /** Lunar eclipses in a date range. With lat/lon (and tz) each event carries a `local` block: contact times sparsha…moksha in local time, visibility at that place, and the sutak kaal (12 h before a solar, 9 h before a lunar eclipse, until moksha). */
650
650
  lunar(input, opts) {
651
- return this._c.request("/v1/eclipses/lunar", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"]]), opts);
651
+ return this._c.request("/v1/eclipses/lunar", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
652
652
  }
653
653
  /** Solar eclipses in a date range. With lat/lon (and tz) each event carries a `local` block: contact times sparsha…moksha in local time, visibility at that place, and the sutak kaal (12 h before a solar, 9 h before a lunar eclipse, until moksha). */
654
654
  solar(input, opts) {
655
- return this._c.request("/v1/eclipses/solar", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"]]), opts);
655
+ return this._c.request("/v1/eclipses/solar", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
656
656
  }
657
657
  };
658
658
 
@@ -663,15 +663,15 @@ var Festivals = class {
663
663
  }
664
664
  /** Full Hindu festival calendar for a month at a location: every Ekadashi (smarta + Vaishnava/Gauna with parana window), Pradosh, Sankashti/Vinayaka Chaturthi, Purnima/Amavasya, Chandra Darshana, Sankrantis, major and regional festivals, jayantis, national days and eclipses. Location-aware (defaults to New Delhi / Asia/Kolkata); verified entry for entry against printed panchang calendars of 14 cities. */
665
665
  month(input, opts) {
666
- return this._c.request("/v1/festivals/month", applyExtras(qNone(input), input, [["year", "year"], ["month", "month"], ["lat", "lat"], ["lon", "lon"], ["tz", "tz"], ["locale", "locale"], ["monthSystem", "month_system"], ["ayanamsa", "ayanamsa"]]), opts);
666
+ return this._c.request("/v1/festivals/month", applyExtras(qNone(input), input, [["year", "year"], ["month", "month"], ["lat", "lat"], ["lon", "lon"], ["tz", "tz"], ["locale", "locale"], ["monthSystem", "month_system"], ["ayanamsa", "ayanamsa"], ["lang", "lang"], ["lang", "locale"]]), opts);
667
667
  }
668
668
  /** All festivals, vrats and observances on one civil date at a location (same engine and fields as festivals.month): Ekadashi smarta/Vaishnava, Pradosh, Purnima, Amavasya, Sankranti, jayantis, eclipses, each with the windows a panchang prints (moonrise, pradosh kaal, parana). Defaults to New Delhi / Asia/Kolkata. */
669
669
  onDate(input, opts) {
670
- return this._c.request("/v1/festivals/on-date", applyExtras(qNone(input), input, [["date", "date"], ["lat", "lat"], ["lon", "lon"], ["tz", "tz"], ["locale", "locale"], ["monthSystem", "month_system"], ["ayanamsa", "ayanamsa"]]), opts);
670
+ return this._c.request("/v1/festivals/on-date", applyExtras(qNone(input), input, [["date", "date"], ["lat", "lat"], ["lon", "lon"], ["tz", "tz"], ["locale", "locale"], ["monthSystem", "month_system"], ["ayanamsa", "ayanamsa"], ["lang", "lang"], ["lang", "locale"]]), opts);
671
671
  }
672
672
  /** Year-wise Vrat & Upavas dates of one family at a location — type: ekadashi | parana | pradosh | sankashti | vinayaka | purnima | amavasya | chandra_darshana | masik_shivaratri | durgashtami | kalashtami | skanda_shashthi | karthigai | shraddha | janmashtami | sankranti | satyanarayana | bhanu_saptami | eclipse (comma-separated for several). Same occurrence objects as festivals.month. */
673
673
  vrat(input, opts) {
674
- return this._c.request("/v1/festivals/vrat", applyExtras(qNone(input), input, [["year", "year"], ["type", "type"], ["lat", "lat"], ["lon", "lon"], ["tz", "tz"], ["locale", "locale"], ["monthSystem", "month_system"], ["ayanamsa", "ayanamsa"]]), opts);
674
+ return this._c.request("/v1/festivals/vrat", applyExtras(qNone(input), input, [["year", "year"], ["type", "type"], ["lat", "lat"], ["lon", "lon"], ["tz", "tz"], ["locale", "locale"], ["monthSystem", "month_system"], ["ayanamsa", "ayanamsa"], ["lang", "lang"], ["lang", "locale"]]), opts);
675
675
  }
676
676
  };
677
677
 
@@ -724,15 +724,15 @@ var Lalkitab = class {
724
724
  }
725
725
  /** Lal Kitab chart — planets mapped into Lal Kitab's fixed Aries-based houses. */
726
726
  chart(input, opts) {
727
- return this._c.request("/v1/lalkitab/chart", qBirth(input), opts);
727
+ return this._c.request("/v1/lalkitab/chart", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
728
728
  }
729
729
  /** Full 35-year Lal Kitab dasha schedule — planet-ruled periods with start/end dates. */
730
730
  dasha(input, opts) {
731
- return this._c.request("/v1/lalkitab/dasha", qBirth(input), opts);
731
+ return this._c.request("/v1/lalkitab/dasha", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
732
732
  }
733
733
  /** Currently active Lal Kitab dasha planet and period window. */
734
734
  dashaCurrent(input, opts) {
735
- return this._c.request("/v1/lalkitab/dasha/current", qBirth(input), opts);
735
+ return this._c.request("/v1/lalkitab/dasha/current", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
736
736
  }
737
737
  };
738
738
 
@@ -778,11 +778,11 @@ var Milan = class {
778
778
  }
779
779
  /** Full 36-point Ashtakoota breakdown across all 8 kootas. */
780
780
  ashtakoota(input, opts) {
781
- return this._c.request("/v1/milan/ashtakoota", qBoyGirl(input), opts);
781
+ return this._c.request("/v1/milan/ashtakoota", applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
782
782
  }
783
783
  /** One koota (varna|vashya|tara|yoni|graha_maitri|gana|bhakoot|nadi). */
784
784
  ashtakootaKoota(input, opts) {
785
- return this._c.request(buildPath("/v1/milan/ashtakoota/{koota}", input, ["koota"]), qBoyGirl(input), opts);
785
+ return this._c.request(buildPath("/v1/milan/ashtakoota/{koota}", input, ["koota"]), applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
786
786
  }
787
787
  /** Just the Ashtakoota (Guna Milan) total score and verdict. */
788
788
  ashtakootaTotal(input, opts) {
@@ -790,31 +790,31 @@ var Milan = class {
790
790
  }
791
791
  /** Current Vimshottari Maha Dasha of both partners and whether they overlap (20 credits); date/time/tz set the check moment (default now). timeline=true adds both partners' MD/AD periods on one aligned timeline from from for years (default 10, max 30), each span with md, ad and the running AD's start/end. marriageWindows=true (implies timeline) tags each span favourable, neutral or avoid with reason ids (rule D-MarriageWindows1). Each partner's Moon uses the ayanamsa of their own birth moment, so dates match dasha.vimshottari. */
792
792
  dashaSync(input, opts) {
793
- return this._c.request("/v1/milan/dasha-sync", applyExtras(qBoyGirl(input), input, [["timeline", "timeline"], ["years", "years"], ["from", "from"], ["marriageWindows", "marriage_windows"], ["date", "date"], ["time", "time"], ["tz", "tz"]]), opts);
793
+ return this._c.request("/v1/milan/dasha-sync", applyExtras(qBoyGirl(input), input, [["timeline", "timeline"], ["years", "years"], ["from", "from"], ["marriageWindows", "marriage_windows"], ["date", "date"], ["time", "time"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
794
794
  }
795
795
  /** Check Dhan Yog (wealth yoga) for a single person's chart — assesses 2nd/11th house lord strength and Jupiter placement for prosperity. */
796
796
  dhanYog(input, opts) {
797
- return this._c.request("/v1/milan/dhan-yog", qBirthPrefixed(input), opts);
797
+ return this._c.request("/v1/milan/dhan-yog", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
798
798
  }
799
799
  /** Assess longevity for a single person's chart — classical analysis of lagna, 8th house, and Moon sign longevity indicators. */
800
800
  longevity(input, opts) {
801
- return this._c.request("/v1/milan/longevity", qBirthPrefixed(input), opts);
801
+ return this._c.request("/v1/milan/longevity", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
802
802
  }
803
803
  /** Check Mahendra Koota — the 4th additional compatibility factor beyond Ashtakoota. */
804
804
  mahendra(input, opts) {
805
- return this._c.request("/v1/milan/mahendra", qBoyGirl(input), opts);
805
+ return this._c.request("/v1/milan/mahendra", applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
806
806
  }
807
807
  /** Mangal Dosha (Manglik) detection for one chart. */
808
808
  mangalDosha(input, opts) {
809
- return this._c.request("/v1/milan/mangal-dosha", qBirthPrefixed(input), opts);
809
+ return this._c.request("/v1/milan/mangal-dosha", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
810
810
  }
811
811
  /** Nadi dosha detection plus exceptions. */
812
812
  nadiDosha(input, opts) {
813
- return this._c.request("/v1/milan/nadi-dosha", qBoyGirl(input), opts);
813
+ return this._c.request("/v1/milan/nadi-dosha", applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
814
814
  }
815
815
  /** Check Navamsa compatibility — compares the D9 (Navamsa) chart placements of both partners for deeper marriage harmony beyond the D1 chart. */
816
816
  navamsaCompat(input, opts) {
817
- return this._c.request("/v1/milan/navamsa-compat", qBoyGirl(input), opts);
817
+ return this._c.request("/v1/milan/navamsa-compat", applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
818
818
  }
819
819
  /** Couple chart overlay as data (20 credits): each partner's grahas in the other's whole-sign houses (with conjunct grahas), same-sign and same-nakshatra pairs, Moon sign relation (e.g. "2/12"), and each lagna lord's placement in the other's chart (sign, house, dignity, combust, retro). Each partner's chart uses the ayanamsa of their own birth moment. Ids only, no text: planets sun..ketu, sign_index 0-based (Aries=0), house 1-based whole-sign from the lagna, nakshatra index 0-based (Ashwini=0). */
820
820
  overlay(input, opts) {
@@ -822,23 +822,23 @@ var Milan = class {
822
822
  }
823
823
  /** Check Santan Yog for a single person's chart — assesses 5th house lord and Jupiter placement to indicate prospects for children. */
824
824
  santanYog(input, opts) {
825
- return this._c.request("/v1/milan/santan-yog", qBirthPrefixed(input), opts);
825
+ return this._c.request("/v1/milan/santan-yog", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
826
826
  }
827
827
  /** Check Shani Dosha for a single person's chart — Saturn in 1st, 4th, 7th, 10th, or 12th house from lagna. */
828
828
  shaniDosha(input, opts) {
829
- return this._c.request("/v1/milan/shani-dosha", qBirthPrefixed(input), opts);
829
+ return this._c.request("/v1/milan/shani-dosha", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
830
830
  }
831
831
  /** Check Stree Dirgha — the distance from bride's nakshatra to groom's must be more than 9 nakshatras for a beneficial match (indicates the groom will lead a longer, more prosperous life than the bride expected). */
832
832
  streeDirgha(input, opts) {
833
- return this._c.request("/v1/milan/stree-dirgha", qBoyGirl(input), opts);
833
+ return this._c.request("/v1/milan/stree-dirgha", applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
834
834
  }
835
835
  /** Couple matching data in one call (60 credits), numbers identical to the separate routes: ashtakoota (every koota), navamsa_compat, mangal_dosha of both plus pair status, seventh_house facts of both (7th sign, occupants, 7th lord, Venus, Jupiter, D9 7th, D7 5th), and sade_sati windows of both for 10 years from from. include=kundli_facts adds both full charts. Ids only, no text: planets sun..ketu, sign_index 0-based (Aries=0), house 1-based whole-sign from the lagna, nakshatra index 0-based (Ashwini=0). */
836
836
  summary(input, opts) {
837
- return this._c.request("/v1/milan/summary", applyExtras(qBoyGirl(input), input, [["from", "from"], ["tz", "tz"], ["include", "include"]]), opts);
837
+ return this._c.request("/v1/milan/summary", applyExtras(qBoyGirl(input), input, [["from", "from"], ["tz", "tz"], ["include", "include"], ["lang", "lang"], ["lang", "locale"]]), opts);
838
838
  }
839
839
  /** Vivah Phal (marriage-outcome) assessment for one chart. */
840
840
  vivahPhal(input, opts) {
841
- return this._c.request("/v1/milan/vivah-phal", qBirthPrefixed(input), opts);
841
+ return this._c.request("/v1/milan/vivah-phal", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
842
842
  }
843
843
  };
844
844
 
@@ -847,49 +847,49 @@ var Muhurta = class {
847
847
  constructor(_c) {
848
848
  this._c = _c;
849
849
  }
850
- /** Best-scoring general muhurta window in a date range. */
850
+ /** Best-scoring general muhurta window in a date range. Each `factors[]` item has a stable English `id` (e.g. `Tithi`, `RahuKaal`); `name` and `value` follow `lang`. */
851
851
  bestTime(input, opts) {
852
- return this._c.request("/v1/muhurta/best-time", qMuhurta(input), opts);
852
+ return this._c.request("/v1/muhurta/best-time", applyExtras(qMuhurta(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
853
853
  }
854
854
  /** Compute Chandra Bala — the Moon's strength relative to a person's natal Moon sign on a given date. */
855
855
  chandraBala(input, opts) {
856
856
  return this._c.request("/v1/muhurta/chandra-bala", applyExtras(qBirth(input), input, [["birthMoonSign", "birth_moon_sign"]]), opts);
857
857
  }
858
- /** Find auspicious Griha Pravesh (housewarming) muhurta windows in a date range — checks tithi, nakshatra, vara, Sun position, and lagna for the ceremony. */
858
+ /** Find auspicious Griha Pravesh (housewarming) muhurta windows in a date range — checks tithi, nakshatra, vara, Sun position, and lagna for the ceremony. Each `factors[]` item has a stable English `id` (e.g. `Tithi`, `RahuKaal`); `name` and `value` follow `lang`. */
859
859
  grahaPravesh(input, opts) {
860
- return this._c.request("/v1/muhurta/graha-pravesh", qMoment(input), opts);
860
+ return this._c.request("/v1/muhurta/graha-pravesh", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
861
861
  }
862
- /** Naamkaran (naming ceremony) muhurta windows. */
862
+ /** Naamkaran (naming ceremony) muhurta windows. Each `factors[]` item has a stable English `id` (e.g. `Tithi`, `RahuKaal`); `name` and `value` follow `lang`. */
863
863
  naamkaran(input, opts) {
864
- return this._c.request("/v1/muhurta/naamkaran", applyExtras(qMoment(input), input, [["birthDate", "birth_date"]]), opts);
864
+ return this._c.request("/v1/muhurta/naamkaran", applyExtras(qMoment(input), input, [["birthDate", "birth_date"], ["lang", "lang"], ["lang", "locale"]]), opts);
865
865
  }
866
866
  /** Find Panchaka-free (Panchaka Rahita) windows in a date range — Panchaka occurs when Moon is in Aquarius or Pisces and creates obstacles for travel, construction, funerals, and certain ceremonies. */
867
867
  panchakaRahita(input, opts) {
868
- return this._c.request("/v1/muhurta/panchaka-rahita", qMoment(input), opts);
868
+ return this._c.request("/v1/muhurta/panchaka-rahita", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
869
869
  }
870
870
  /** Find Sarvartha Siddhi Yoga windows — one of the most auspicious panchang yogas formed by specific vara+nakshatra combinations. */
871
871
  sarvarthaSiddhi(input, opts) {
872
- return this._c.request("/v1/muhurta/sarvartha-siddhi", qMoment(input), opts);
872
+ return this._c.request("/v1/muhurta/sarvartha-siddhi", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
873
873
  }
874
874
  /** Find Shubha Yoga (auspicious panchang yoga) windows in a date range — checks for Amrit Siddhi, Sarvartha Siddhi, Ravi Yoga, and other classical panchang yogas in combination. */
875
875
  shubhaYoga(input, opts) {
876
- return this._c.request("/v1/muhurta/shubha-yoga", qMoment(input), opts);
876
+ return this._c.request("/v1/muhurta/shubha-yoga", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
877
877
  }
878
878
  /** Compute Tara Bala score for a given date relative to a person's birth nakshatra — rates the day's Moon nakshatra as Janma/Sampat/Vipat/Kshema/Pratyak/Sadhana/Vadha/Mitra/Param-Mitra. */
879
879
  taraBala(input, opts) {
880
880
  return this._c.request("/v1/muhurta/tara-bala", applyExtras(qBirth(input), input, [["birthNak", "birth_nak"]]), opts);
881
881
  }
882
- /** Auspicious wedding (vivah) muhurta windows in a date range. */
882
+ /** Auspicious wedding (vivah) muhurta windows in a date range. Each `factors[]` item has a stable English `id` (e.g. `Tithi`, `RahuKaal`); `name` and `value` follow `lang`. */
883
883
  vivah(input, opts) {
884
- return this._c.request("/v1/muhurta/vivah", qMoment(input), opts);
884
+ return this._c.request("/v1/muhurta/vivah", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
885
885
  }
886
- /** Find auspicious Vyapar (business/trade) muhurta windows — suitable for starting a business, signing contracts, launching a product, or opening a shop. */
886
+ /** Find auspicious Vyapar (business/trade) muhurta windows — suitable for starting a business, signing contracts, launching a product, or opening a shop. Each `factors[]` item has a stable English `id` (e.g. `Tithi`, `RahuKaal`); `name` and `value` follow `lang`. */
887
887
  vyapar(input, opts) {
888
- return this._c.request("/v1/muhurta/vyapar", qMoment(input), opts);
888
+ return this._c.request("/v1/muhurta/vyapar", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
889
889
  }
890
- /** Find auspicious Yatra (travel/journey) muhurta windows — avoids Disha Shool (directional inauspiciousness), Rahu Kaal, Nak Shool, and favours Pushya/Hasta/Ashwini/Anuradha nakshatras for journeys. */
890
+ /** Find auspicious Yatra (travel/journey) muhurta windows — avoids Disha Shool (directional inauspiciousness), Rahu Kaal, Nak Shool, and favours Pushya/Hasta/Ashwini/Anuradha nakshatras for journeys. Each `factors[]` item has a stable English `id` (e.g. `Tithi`, `RahuKaal`); `name` and `value` follow `lang`. */
891
891
  yatra(input, opts) {
892
- return this._c.request("/v1/muhurta/yatra", qMoment(input), opts);
892
+ return this._c.request("/v1/muhurta/yatra", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
893
893
  }
894
894
  };
895
895
 
@@ -936,7 +936,7 @@ var Narrative = class {
936
936
  }
937
937
  /** Get a daily horoscope in Tamil astrology style — uses the Tamil rashi system and traditional Tamil Panchangam for the day's reading. The input is the birth chart; pass `onDate` (YYYY-MM-DD) to read a day other than today. */
938
938
  horoscopeDailyTamil(input, opts) {
939
- return this._c.request("/v1/vedic/narrative/horoscope/daily-tamil", applyExtras(qBirth(input), input, [["onDate", "transit_date"]]), opts);
939
+ return this._c.request("/v1/vedic/narrative/horoscope/daily-tamil", applyExtras(qBirth(input), input, [["onDate", "transit_date"], ["lang", "lang"], ["lang", "locale"]]), opts);
940
940
  }
941
941
  /** Get a personalised weekly horoscope narrative computed from the birth chart's rising sign (lagna) — personalised 7-day outlook with major transit themes. The input is the birth chart; pass `onDate` (YYYY-MM-DD) to read a day other than today. */
942
942
  horoscopeWeeklyByLagna(input, opts) {
@@ -1044,7 +1044,7 @@ var Narrative = class {
1044
1044
  }
1045
1045
  /** Personalised yearly Bhavishyafal (annual horoscope) for a target year. */
1046
1046
  yearlyBhavishyafal(input, opts) {
1047
- return this._c.request("/v1/vedic/narrative/yearly-bhavishyafal", applyExtras(qNone(input), input, [["date", "birth.date"], ["time", "birth.time"], ["tz", "birth.tz"], ["lat", "lat"], ["lon", "lon"], ["year", "year"]]), opts);
1047
+ return this._c.request("/v1/vedic/narrative/yearly-bhavishyafal", applyExtras(qNone(input), input, [["date", "birth.date"], ["time", "birth.time"], ["tz", "birth.tz"], ["lat", "lat"], ["lon", "lon"], ["year", "year"], ["lang", "lang"], ["lang", "locale"]]), opts);
1048
1048
  }
1049
1049
  /** Narrative interpretation of a specific yoga in the chart. */
1050
1050
  yoga(input, opts) {
@@ -1110,15 +1110,15 @@ var Panchang = class {
1110
1110
  }
1111
1111
  /** Full advanced panchang: everything in basic plus all muhurta windows, Choghadiya, Hindu month, samvat and more. */
1112
1112
  advanced(input, opts) {
1113
- return this._c.request("/v1/panchang/advanced", qMoment(input), opts);
1113
+ return this._c.request("/v1/panchang/advanced", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1114
1114
  }
1115
1115
  /** Amrit Kalam auspicious window. */
1116
1116
  amritKalam(input, opts) {
1117
- return this._c.request("/v1/panchang/amrit-kalam", qMoment(input), opts);
1117
+ return this._c.request("/v1/panchang/amrit-kalam", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1118
1118
  }
1119
1119
  /** Composite basic panchang in one call: tithi, nakshatra, yoga, karana, vara, sun/moon rise & set. */
1120
1120
  basic(input, opts) {
1121
- return this._c.request("/v1/panchang/basic", qMoment(input), opts);
1121
+ return this._c.request("/v1/panchang/basic", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1122
1122
  }
1123
1123
  /** Brahma Muhurat window before sunrise. */
1124
1124
  brahmaMuhurat(input, opts) {
@@ -1126,7 +1126,7 @@ var Panchang = class {
1126
1126
  }
1127
1127
  /** Choghadiya periods (day + night). */
1128
1128
  choghadiya(input, opts) {
1129
- return this._c.request("/v1/panchang/choghadiya", qMoment(input), opts);
1129
+ return this._c.request("/v1/panchang/choghadiya", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1130
1130
  }
1131
1131
  /** Durmuhurta inauspicious periods for the day. */
1132
1132
  durmuhurta(input, opts) {
@@ -1138,27 +1138,27 @@ var Panchang = class {
1138
1138
  }
1139
1139
  /** Hindu lunar month, paksha, samvat and adhik/kshaya detection. */
1140
1140
  hinduMonth(input, opts) {
1141
- return this._c.request("/v1/panchang/hindu-month", qMoment(input), opts);
1141
+ return this._c.request("/v1/panchang/hindu-month", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1142
1142
  }
1143
1143
  /** Planetary hours (horas) for the day, or the hora at a given time. */
1144
1144
  hora(input, opts) {
1145
- return this._c.request("/v1/panchang/hora", qMoment(input), opts);
1145
+ return this._c.request("/v1/panchang/hora", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1146
1146
  }
1147
1147
  /** Get the Dinman (day length) and Ratriman (night length) for a date — the exact duration of daytime from sunrise to sunset and nighttime from sunset to next sunrise, in ghatis (1 ghati = 24 minutes). */
1148
1148
  horaDinman(input, opts) {
1149
- return this._c.request("/v1/panchang/hora-dinman", qMoment(input), opts);
1149
+ return this._c.request("/v1/panchang/hora-dinman", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1150
1150
  }
1151
1151
  /** Current karana (half-tithi). */
1152
1152
  karana(input, opts) {
1153
- return this._c.request("/v1/panchang/karana", qMoment(input), opts);
1153
+ return this._c.request("/v1/panchang/karana", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1154
1154
  }
1155
1155
  /** Lagna (rising sign) table for the day with start/end times for each sign. */
1156
1156
  lagnaTable(input, opts) {
1157
- return this._c.request("/v1/panchang/lagna-table", qMoment(input), opts);
1157
+ return this._c.request("/v1/panchang/lagna-table", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1158
1158
  }
1159
1159
  /** Full-month panchang calendar (one entry per day). tz accepts an IANA name ("Asia/Kolkata"), a fixed offset ("+05:30") or decimal hours ("5.5"). Pass include: "sheet" for a complete printable Hindu calendar page: per-day tithi/nakshatra/moon-sign end-times ("27:07+" notation), kshaya days, moonrise/moonset, Hindu month, Vikram/Shaka samvat, moon phase and every festival of the day, plus the page header. */
1160
1160
  monthly(input, opts) {
1161
- return this._c.request("/v1/panchang/monthly", applyExtras(qNone(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"], ["year", "year"], ["month", "month"], ["include", "include"], ["locale", "locale"], ["monthSystem", "month_system"], ["ayanamsa", "ayanamsa"]]), opts);
1161
+ return this._c.request("/v1/panchang/monthly", applyExtras(qNone(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"], ["year", "year"], ["month", "month"], ["include", "include"], ["locale", "locale"], ["monthSystem", "month_system"], ["ayanamsa", "ayanamsa"], ["lang", "lang"], ["lang", "locale"]]), opts);
1162
1162
  }
1163
1163
  /** Moonrise and moonset times. */
1164
1164
  moonriseMoonset(input, opts) {
@@ -1166,15 +1166,15 @@ var Panchang = class {
1166
1166
  }
1167
1167
  /** Moon's nakshatra with pada, lord and start/end at the moment. */
1168
1168
  nakshatra(input, opts) {
1169
- return this._c.request("/v1/panchang/nakshatra", qMoment(input), opts);
1169
+ return this._c.request("/v1/panchang/nakshatra", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1170
1170
  }
1171
1171
  /** Personalised daily Tara Bala prediction relative to a birth nakshatra (index 0-26). */
1172
1172
  nakshatraPrediction(input, opts) {
1173
- return this._c.request("/v1/panchang/nakshatra-prediction", applyExtras(qMoment(input), input, [["birthNak", "birth_nak"]]), opts);
1173
+ return this._c.request("/v1/panchang/nakshatra-prediction", applyExtras(qMoment(input), input, [["birthNak", "birth_nak"], ["lang", "lang"], ["lang", "locale"]]), opts);
1174
1174
  }
1175
- /** Panchaka classification at the moment. */
1175
+ /** Panchaka classification at the moment. `avoidance` is the id list (comma-separated); `avoidance_text` is the same list as reader text in `lang`. */
1176
1176
  panchaka(input, opts) {
1177
- return this._c.request("/v1/panchang/panchaka", qMoment(input), opts);
1177
+ return this._c.request("/v1/panchang/panchaka", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1178
1178
  }
1179
1179
  /** Pradosh Kaal twilight window after sunset. */
1180
1180
  pradoshKaal(input, opts) {
@@ -1186,15 +1186,15 @@ var Panchang = class {
1186
1186
  }
1187
1187
  /** Get solar Sankranti (Sun's sign ingress) dates for a year — the exact moment the Sun enters each of the 12 sidereal signs, including Makar Sankranti (Capricorn), Mesh Sankranti (Aries/New Year), and all others. */
1188
1188
  sankranti(input, opts) {
1189
- return this._c.request("/v1/panchang/sankranti", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"]]), opts);
1189
+ return this._c.request("/v1/panchang/sankranti", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
1190
1190
  }
1191
1191
  /** Siddha Yoga vara+nakshatra auspicious combination check. */
1192
1192
  siddhaYoga(input, opts) {
1193
- return this._c.request("/v1/panchang/siddha-yoga", qMoment(input), opts);
1193
+ return this._c.request("/v1/panchang/siddha-yoga", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1194
1194
  }
1195
1195
  /** Quick 5-element panchang strip (tithi, nakshatra, yoga, karana, vara) plus sunrise/sunset. */
1196
1196
  summary(input, opts) {
1197
- return this._c.request("/v1/panchang/summary", qMoment(input), opts);
1197
+ return this._c.request("/v1/panchang/summary", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1198
1198
  }
1199
1199
  /** Sunrise and sunset times plus day length. */
1200
1200
  sunriseSunset(input, opts) {
@@ -1202,15 +1202,15 @@ var Panchang = class {
1202
1202
  }
1203
1203
  /** Current tithi (lunar day) with paksha, lord and transition timing. */
1204
1204
  tithi(input, opts) {
1205
- return this._c.request("/v1/panchang/tithi", qMoment(input), opts);
1205
+ return this._c.request("/v1/panchang/tithi", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1206
1206
  }
1207
1207
  /** Hindu weekday (vara) and its ruling planet. */
1208
1208
  vara(input, opts) {
1209
- return this._c.request("/v1/panchang/vara", qMoment(input), opts);
1209
+ return this._c.request("/v1/panchang/vara", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1210
1210
  }
1211
1211
  /** Varjyam forbidden window based on the Moon's nakshatra. */
1212
1212
  varjyam(input, opts) {
1213
- return this._c.request("/v1/panchang/varjyam", qMoment(input), opts);
1213
+ return this._c.request("/v1/panchang/varjyam", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1214
1214
  }
1215
1215
  /** Yamaganda inauspicious window. */
1216
1216
  yamaganda(input, opts) {
@@ -1218,7 +1218,7 @@ var Panchang = class {
1218
1218
  }
1219
1219
  /** Current panchang yoga (one of 27). */
1220
1220
  yoga(input, opts) {
1221
- return this._c.request("/v1/panchang/yoga", qMoment(input), opts);
1221
+ return this._c.request("/v1/panchang/yoga", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1222
1222
  }
1223
1223
  };
1224
1224
 
@@ -1229,19 +1229,19 @@ var PlanetMoments = class {
1229
1229
  }
1230
1230
  /** Find the combustion window for a planet — the date range when the planet is too close to the Sun (within classical combust limits) and loses strength. */
1231
1231
  combustionWindow(input, opts) {
1232
- return this._c.request("/v1/planet-moments/combustion-window", applyExtras(qNone(input), input, [["planet", "planet"], ["date", "date"], ["time", "time"], ["tz", "tz"], ["maxDays", "max_days"]]), opts);
1232
+ return this._c.request("/v1/planet-moments/combustion-window", applyExtras(qNone(input), input, [["planet", "planet"], ["date", "date"], ["time", "time"], ["tz", "tz"], ["maxDays", "max_days"], ["lang", "lang"], ["lang", "locale"]]), opts);
1233
1233
  }
1234
1234
  /** A planet's sign ingresses (sankranti) in a date range. */
1235
1235
  ingress(input, opts) {
1236
- return this._c.request("/v1/planet-moments/ingress", applyExtras(qNone(input), input, [["planet", "planet"], ["date", "date"], ["time", "time"], ["tz", "tz"], ["maxDays", "max_days"]]), opts);
1236
+ return this._c.request("/v1/planet-moments/ingress", applyExtras(qNone(input), input, [["planet", "planet"], ["date", "date"], ["time", "time"], ["tz", "tz"], ["maxDays", "max_days"], ["lang", "lang"], ["lang", "locale"]]), opts);
1237
1237
  }
1238
1238
  /** A planet's retrograde windows (station retro -> station direct) in a date range. */
1239
1239
  retrogradeWindow(input, opts) {
1240
- return this._c.request("/v1/planet-moments/retrograde-window", applyExtras(qNone(input), input, [["planet", "planet"], ["date", "date"], ["time", "time"], ["tz", "tz"], ["maxDays", "max_days"]]), opts);
1240
+ return this._c.request("/v1/planet-moments/retrograde-window", applyExtras(qNone(input), input, [["planet", "planet"], ["date", "date"], ["time", "time"], ["tz", "tz"], ["maxDays", "max_days"], ["lang", "lang"], ["lang", "locale"]]), opts);
1241
1241
  }
1242
1242
  /** Get the current speed and motion state of a planet — degrees per day, whether it is direct/retrograde/stationary, and its speed relative to mean motion. */
1243
1243
  speed(input, opts) {
1244
- return this._c.request("/v1/planet-moments/speed", applyExtras(qNone(input), input, [["planet", "planet"], ["date", "date"], ["time", "time"], ["tz", "tz"]]), opts);
1244
+ return this._c.request("/v1/planet-moments/speed", applyExtras(qNone(input), input, [["planet", "planet"], ["date", "date"], ["time", "time"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
1245
1245
  }
1246
1246
  };
1247
1247
 
@@ -1252,23 +1252,23 @@ var Prashna = class {
1252
1252
  }
1253
1253
  /** Cast a Prashna (horary) chart and compute the classical yes/no answer. */
1254
1254
  answer(input, opts) {
1255
- return this._c.request("/v1/prashna/answer", applyExtras(qMoment(input), input, [["house", "house"]]), opts);
1255
+ return this._c.request("/v1/prashna/answer", applyExtras(qMoment(input), input, [["house", "house"], ["lang", "lang"], ["lang", "locale"]]), opts);
1256
1256
  }
1257
1257
  /** Compute the Arudha Lagna of a Prashna chart — the perceived image/manifestation of the question's subject. */
1258
1258
  arudha(input, opts) {
1259
- return this._c.request("/v1/prashna/arudha", qMoment(input), opts);
1259
+ return this._c.request("/v1/prashna/arudha", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1260
1260
  }
1261
1261
  /** Cast the full Prashna (horary) chart for the moment a question is asked — returns lagna, all planet placements, houses, and panchang at the moment of the question. */
1262
1262
  chart(input, opts) {
1263
- return this._c.request("/v1/prashna/chart", qMoment(input), opts);
1263
+ return this._c.request("/v1/prashna/chart", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1264
1264
  }
1265
1265
  /** Get the lagna lord analysis for a Prashna chart — where the lagna lord is placed, its strength, and what it indicates about the querent's situation and chances of success. */
1266
1266
  lagnaLord(input, opts) {
1267
- return this._c.request("/v1/prashna/lagna-lord", qMoment(input), opts);
1267
+ return this._c.request("/v1/prashna/lagna-lord", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1268
1268
  }
1269
1269
  /** Get the KP significators for a Prashna chart — lists planets significating the houses relevant to the question (e.g. */
1270
1270
  significators(input, opts) {
1271
- return this._c.request("/v1/prashna/significators", applyExtras(qMoment(input), input, [["house", "house"]]), opts);
1271
+ return this._c.request("/v1/prashna/significators", applyExtras(qMoment(input), input, [["house", "house"], ["lang", "lang"], ["lang", "locale"]]), opts);
1272
1272
  }
1273
1273
  };
1274
1274
 
@@ -1283,7 +1283,7 @@ var Remedies = class {
1283
1283
  }
1284
1284
  /** Full details of a daan (charity/donation) remedy by id — what to donate, to whom, and when. */
1285
1285
  daan(input, opts) {
1286
- return this._c.request(buildPath("/v1/vedic/remedies/daan/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"]]), opts);
1286
+ return this._c.request(buildPath("/v1/vedic/remedies/daan/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"], ["lang", "lang"], ["lang", "locale"]]), opts);
1287
1287
  }
1288
1288
  /** Remedies for one graha by reason (10 credits): a filter over the remedy catalogue (same rows and languages as remedies.vedic). reason: debilitated, combust, dusthana, weak_shadbala, dasha or dosha:<id> (graha is optional with dosha:<id>). Each item adds kind (mantra, daan, vrat, pooja, pilgrimage, yantra, rudraksha), weekday (0 = Sunday, or null) and matched_by. Free kinds by default; include adds pooja, pilgrimage, yantra, rudraksha; category limits to one catalogue category. */
1289
1289
  forGraha(input = {}, opts) {
@@ -1291,11 +1291,11 @@ var Remedies = class {
1291
1291
  }
1292
1292
  /** Lal Kitab remedies for a specific planet-in-house placement (e.g. saturn in house 8). */
1293
1293
  lalkitabForPlacement(input, opts) {
1294
- return this._c.request(buildPath("/v1/vedic/remedies/lal-kitab/{planet}/{house}", input, ["planet", "house"]), applyExtras(qNone(input), input, [["locale", "locale"]]), opts);
1294
+ return this._c.request(buildPath("/v1/vedic/remedies/lal-kitab/{planet}/{house}", input, ["planet", "house"]), applyExtras(qNone(input), input, [["locale", "locale"], ["lang", "lang"], ["lang", "locale"]]), opts);
1295
1295
  }
1296
1296
  /** List Lal Kitab remedies (upay), optionally filtered by planet. */
1297
1297
  lalkitabList(input = {}, opts) {
1298
- return this._c.request("/v1/vedic/remedies/lal-kitab", applyExtras(qNone(input), input, [["planet", "planet"], ["locale", "locale"]]), opts);
1298
+ return this._c.request("/v1/vedic/remedies/lal-kitab", applyExtras(qNone(input), input, [["planet", "planet"], ["locale", "locale"], ["lang", "lang"], ["lang", "locale"]]), opts);
1299
1299
  }
1300
1300
  /** Full details of a mantra remedy by id. */
1301
1301
  mantra(input, opts) {
@@ -1307,7 +1307,7 @@ var Remedies = class {
1307
1307
  }
1308
1308
  /** Full details of a rudraksha remedy by id — mukhi count, ruling planet, wearing procedure. */
1309
1309
  rudraksha(input, opts) {
1310
- return this._c.request(buildPath("/v1/vedic/remedies/rudraksha/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"]]), opts);
1310
+ return this._c.request(buildPath("/v1/vedic/remedies/rudraksha/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"], ["lang", "lang"], ["lang", "locale"]]), opts);
1311
1311
  }
1312
1312
  /** Get Vedic astrological remedies for a birth chart — personalised remedies based on weak planets, doshas, and challenging dashas. */
1313
1313
  vedic(input, opts) {
@@ -1319,7 +1319,7 @@ var Remedies = class {
1319
1319
  }
1320
1320
  /** Full details of a yantra remedy by id — purpose, installation procedure, direction, day, and mantra. */
1321
1321
  yantra(input, opts) {
1322
- return this._c.request(buildPath("/v1/vedic/remedies/yantra/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"]]), opts);
1322
+ return this._c.request(buildPath("/v1/vedic/remedies/yantra/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"], ["lang", "lang"], ["lang", "locale"]]), opts);
1323
1323
  }
1324
1324
  };
1325
1325
 
@@ -1412,15 +1412,15 @@ var Transit = class {
1412
1412
  }
1413
1413
  /** Score current planetary transits against a natal chart using Ashtakavarga — shows which houses transiting planets are moving through and how many benefic points those signs have in the natal chart. */
1414
1414
  ashtakavarga(input, opts) {
1415
- return this._c.request("/v1/transit/ashtakavarga", qNatalTransit(input), opts);
1415
+ return this._c.request("/v1/transit/ashtakavarga", applyExtras(qNatalTransit(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1416
1416
  }
1417
1417
  /** List the pairs of planets occupying the same sidereal sign at a moment (planetary conjunctions by sign). Takes a date, not a birth chart; defaults to today. */
1418
1418
  doubleTransit(input = {}, opts) {
1419
- return this._c.request("/v1/transit/double-transit", qInstant(input), opts);
1419
+ return this._c.request("/v1/transit/double-transit", applyExtras(qInstant(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1420
1420
  }
1421
1421
  /** Current sidereal positions of all 9 grahas (defaults to now). */
1422
1422
  positions(input = {}, opts) {
1423
- return this._c.request("/v1/transit/positions", qInstant(input), opts);
1423
+ return this._c.request("/v1/transit/positions", applyExtras(qInstant(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1424
1424
  }
1425
1425
  /** Saturn Sade Sati status (rising/peak/setting) relative to the birth Moon. */
1426
1426
  sadeSati(input, opts) {
@@ -1440,11 +1440,11 @@ var Transit = class {
1440
1440
  }
1441
1441
  /** Compute Tara Bala for today's transiting Moon relative to a natal chart — rates the day as Janma/Sampat/Vipat/Kshema/Pratyak/Sadhana/Vadha/Mitra/Param-Mitra tara. */
1442
1442
  tarabala(input, opts) {
1443
- return this._c.request("/v1/transit/tarabala", qNatalTransit(input), opts);
1443
+ return this._c.request("/v1/transit/tarabala", applyExtras(qNatalTransit(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1444
1444
  }
1445
1445
  /** Check Vedha (transit obstruction) for a natal chart — certain house transits are blocked (vedha'd) by another planet transiting a specific opposing house simultaneously. */
1446
1446
  vedha(input, opts) {
1447
- return this._c.request("/v1/transit/vedha", qNatalTransit(input), opts);
1447
+ return this._c.request("/v1/transit/vedha", applyExtras(qNatalTransit(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1448
1448
  }
1449
1449
  /** Every stay of one planet (sun..ketu) in a sidereal sign that overlaps [from, from + years] (20 credits), with exact ingress times, retro_reentry and retrograde_at_start. With birth (date, time, tz) each window has house_from_moon; with birth lat/lon also house_from_lagna. years: default 25 / max 60 for jupiter, saturn, rahu, ketu; 5 / 20 for sun, mercury, venus, mars; 1 / 2 for moon. Every instant comes as *_local (RFC 3339 with offset) and *_jd (Julian Day, UT); fields that cannot be computed are listed in skipped. */
1450
1450
  windows(input, opts) {
@@ -1459,19 +1459,19 @@ var Varshaphal = class {
1459
1459
  }
1460
1460
  /** Varshaphal (annual solar-return) chart for a year. */
1461
1461
  chart(input, opts) {
1462
- return this._c.request("/v1/varshaphal/chart", applyExtras(qBirth(input), input, [["year", "year"]]), opts);
1462
+ return this._c.request("/v1/varshaphal/chart", applyExtras(qBirth(input), input, [["year", "year"], ["lang", "lang"], ["lang", "locale"]]), opts);
1463
1463
  }
1464
1464
  /** Tajika Harsha Bala for the annual chart. */
1465
1465
  harshaBala(input, opts) {
1466
- return this._c.request("/v1/varshaphal/harsha-bala", applyExtras(qBirth(input), input, [["year", "year"]]), opts);
1466
+ return this._c.request("/v1/varshaphal/harsha-bala", applyExtras(qBirth(input), input, [["year", "year"], ["lang", "lang"], ["lang", "locale"]]), opts);
1467
1467
  }
1468
1468
  /** Get the Varsha Lord (Varshesha, year ruler) for an annual chart, chosen by the Tajika Panchadhikari rule from the five office-bearers (Munthesh, Janmesh, Varsha Lagnesh, Trirashipati, Dina/Ratripati); the response also lists the candidates and the hora lord of the return. */
1469
1469
  lord(input, opts) {
1470
- return this._c.request("/v1/varshaphal/lord", applyExtras(qBirth(input), input, [["year", "year"]]), opts);
1470
+ return this._c.request("/v1/varshaphal/lord", applyExtras(qBirth(input), input, [["year", "year"], ["lang", "lang"], ["lang", "locale"]]), opts);
1471
1471
  }
1472
1472
  /** Varshaphal Mudda Dasha periods for the solar-return year. */
1473
1473
  muddaDasha(input, opts) {
1474
- return this._c.request("/v1/varshaphal/mudda-dasha", applyExtras(qBirth(input), input, [["year", "year"]]), opts);
1474
+ return this._c.request("/v1/varshaphal/mudda-dasha", applyExtras(qBirth(input), input, [["year", "year"], ["lang", "lang"], ["lang", "locale"]]), opts);
1475
1475
  }
1476
1476
  /** Get Muntha placement for a Varshaphal year — Muntha moves one sign per year from birth lagna and its house position in the annual chart is a key indicator of the year's themes. */
1477
1477
  muntha(input, opts) {
@@ -1483,7 +1483,7 @@ var Varshaphal = class {
1483
1483
  }
1484
1484
  /** Get Tajika Yogas in the Varshaphal annual chart — Ikkaval, Induvara, Ithasala, Ishrafa, Nakta, Yamaya, Manau, Khallasara, Duphali-Kuttha, and other Tajika aspect-based yogas that indicate the tone of the solar-return year. */
1485
1485
  yoga(input, opts) {
1486
- return this._c.request("/v1/varshaphal/yoga", applyExtras(qBirth(input), input, [["year", "year"]]), opts);
1486
+ return this._c.request("/v1/varshaphal/yoga", applyExtras(qBirth(input), input, [["year", "year"], ["lang", "lang"], ["lang", "locale"]]), opts);
1487
1487
  }
1488
1488
  };
1489
1489