lifeastroapi 0.6.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.js CHANGED
@@ -383,11 +383,11 @@ var Ashtakavarga = class {
383
383
  }
384
384
  /** Bhinnashtakavarga (BAV) for one planet. */
385
385
  bhinna(input, opts) {
386
- return this._c.request(buildPath("/v1/ashtakavarga/bhinna/{planet}", input, ["planet"]), qBirthPrefixed(input), opts);
386
+ return this._c.request(buildPath("/v1/ashtakavarga/bhinna/{planet}", input, ["planet"]), applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
387
387
  }
388
388
  /** Get Kaksha (sub-division) level Ashtakavarga analysis — divides each sign into 8 equal 3°45′ segments, each ruled by a graha. */
389
389
  kaksha(input, opts) {
390
- return this._c.request("/v1/ashtakavarga/kaksha", qNatalTransit(input), opts);
390
+ return this._c.request("/v1/ashtakavarga/kaksha", applyExtras(qNatalTransit(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
391
391
  }
392
392
  /** Get the Sarvashtakavarga table — the combined 12-sign benefic-point grid from all 9 grahas. */
393
393
  sarva(input, opts) {
@@ -395,7 +395,7 @@ var Ashtakavarga = class {
395
395
  }
396
396
  /** Score current (or a given date's) planetary transits against a natal chart using Ashtakavarga benefic points. */
397
397
  transitScore(input, opts) {
398
- return this._c.request("/v1/ashtakavarga/transit-score", qNatalTransit(input), opts);
398
+ return this._c.request("/v1/ashtakavarga/transit-score", applyExtras(qNatalTransit(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
399
399
  }
400
400
  };
401
401
 
@@ -406,23 +406,23 @@ var Calendar = class {
406
406
  }
407
407
  /** 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. */
408
408
  adhikMaas(input, opts) {
409
- return this._c.request("/v1/calendar/adhik-maas", applyExtras(qNone(input), input, [["year", "year"], ["tz", "tz"]]), opts);
409
+ return this._c.request("/v1/calendar/adhik-maas", applyExtras(qNone(input), input, [["year", "year"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
410
410
  }
411
411
  /** 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. */
412
412
  month(input, opts) {
413
- return this._c.request("/v1/calendar/month", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"]]), opts);
413
+ return this._c.request("/v1/calendar/month", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
414
414
  }
415
415
  /** 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). */
416
416
  ritu(input, opts) {
417
- return this._c.request("/v1/calendar/ritu", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"]]), opts);
417
+ return this._c.request("/v1/calendar/ritu", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
418
418
  }
419
419
  /** Get the Samvatsara (Jupiter year) name for a given year — the 60-year Jupiter cycle used in Hindu astrology (Prabhava, Vibhava, Shukla, … Akshaya). */
420
420
  samvatsara(input, opts) {
421
- return this._c.request("/v1/calendar/samvatsara", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"]]), opts);
421
+ return this._c.request("/v1/calendar/samvatsara", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
422
422
  }
423
423
  /** 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. */
424
424
  solstices(input, opts) {
425
- return this._c.request("/v1/calendar/solstices", applyExtras(qNone(input), input, [["year", "year"], ["tz", "tz"], ["lat", "lat"], ["lon", "lon"], ["alt", "alt"]]), opts);
425
+ 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);
426
426
  }
427
427
  };
428
428
 
@@ -433,27 +433,27 @@ var Chart = class {
433
433
  }
434
434
  /** Ascendant (Lagna): sign, degree, nakshatra, pada and lord. */
435
435
  ascendant(input, opts) {
436
- return this._c.request("/v1/chart/ascendant", qBirth(input), opts);
436
+ return this._c.request("/v1/chart/ascendant", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
437
437
  }
438
438
  /** Sarvashtakavarga (SAV) grid; grand total is always 337. */
439
439
  ashtakvarga(input, opts) {
440
- return this._c.request("/v1/chart/ashtakvarga", qBirth(input), opts);
440
+ return this._c.request("/v1/chart/ashtakvarga", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
441
441
  }
442
442
  /** 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. */
443
443
  ashtakvargaPlanet(input, opts) {
444
- return this._c.request(buildPath("/v1/chart/ashtakvarga/{planet}", input, ["planet"]), qBirth(input), opts);
444
+ return this._c.request(buildPath("/v1/chart/ashtakvarga/{planet}", input, ["planet"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
445
445
  }
446
446
  /** Vedic graha drishti (planetary aspects) table. */
447
447
  aspects(input, opts) {
448
- return this._c.request("/v1/chart/aspects", qBirth(input), opts);
448
+ return this._c.request("/v1/chart/aspects", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
449
449
  }
450
450
  /** Full birth-chart snapshot: avakhada, ascendant, all planets, sun/moon sign and birth panchang. */
451
451
  astroDetails(input, opts) {
452
- return this._c.request("/v1/chart/astro-details", qBirth(input), opts);
452
+ return this._c.request("/v1/chart/astro-details", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
453
453
  }
454
454
  /** Avakhada Chakra: varna, vashya, yoni, gana, nadi and lucky factors. */
455
455
  avakhada(input, opts) {
456
- return this._c.request("/v1/chart/avakhada", qBirth(input), opts);
456
+ return this._c.request("/v1/chart/avakhada", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
457
457
  }
458
458
  /** Compute Bhava Bala — the six-component strength of each of the 12 houses: Bhavadhipati Bala (lord strength), Bhava Digbala, Bhava Drishti Bala, and more. */
459
459
  bhavabala(input, opts) {
@@ -461,15 +461,15 @@ var Chart = class {
461
461
  }
462
462
  /** 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. */
463
463
  combustion(input, opts) {
464
- return this._c.request("/v1/chart/combustion", qBirth(input), opts);
464
+ return this._c.request("/v1/chart/combustion", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
465
465
  }
466
466
  /** Every planet's dignity (exalted/debilitated/own/friend/enemy/neutral). */
467
467
  dignity(input, opts) {
468
- return this._c.request("/v1/chart/dignity", qBirth(input), opts);
468
+ return this._c.request("/v1/chart/dignity", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
469
469
  }
470
470
  /** Any divisional (varga) chart, e.g. D1, D9, D10, D60. */
471
471
  divisional(input, opts) {
472
- return this._c.request(buildPath("/v1/chart/divisional/{varga}", input, ["varga"]), qBirth(input), opts);
472
+ return this._c.request(buildPath("/v1/chart/divisional/{varga}", input, ["varga"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
473
473
  }
474
474
  /** 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). */
475
475
  doshas(input, opts) {
@@ -477,47 +477,47 @@ var Chart = class {
477
477
  }
478
478
  /** Ghatak Chakra (inauspicious indicators) for the chart. */
479
479
  ghatak(input, opts) {
480
- return this._c.request("/v1/chart/ghatak", qBirth(input), opts);
480
+ return this._c.request("/v1/chart/ghatak", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
481
481
  }
482
482
  /** Identify Graha Yuddha (planetary war) in a birth chart — occurs when two visible planets are within 1° of each other. */
483
483
  grahaYuddha(input, opts) {
484
- return this._c.request("/v1/chart/graha-yuddha", qBirth(input), opts);
484
+ return this._c.request("/v1/chart/graha-yuddha", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
485
485
  }
486
486
  /** 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). */
487
487
  houseOccupants(input, opts) {
488
- return this._c.request("/v1/chart/house-occupants", qBirth(input), opts);
488
+ return this._c.request("/v1/chart/house-occupants", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
489
489
  }
490
490
  /** 12 house cusps / occupants for the chosen house system. */
491
491
  houses(input, opts) {
492
- return this._c.request("/v1/chart/houses", qBirth(input), opts);
492
+ return this._c.request("/v1/chart/houses", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
493
493
  }
494
494
  /** Get KP (Krishnamurti Paddhati) house significators for a given cusp — lists planets that significate the house through occupancy, lordship, and sub-lord chain. */
495
495
  kpHouseSignificator(input, opts) {
496
- return this._c.request("/v1/chart/kp-house-significator", applyExtras(qBirth(input), input, [["cusp", "cusp"]]), opts);
496
+ return this._c.request("/v1/chart/kp-house-significator", applyExtras(qBirth(input), input, [["cusp", "cusp"], ["lang", "lang"], ["lang", "locale"]]), opts);
497
497
  }
498
498
  /** 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). */
499
499
  kpSublord(input, opts) {
500
- return this._c.request("/v1/chart/kp-sublord", applyExtras(qBirth(input), input, [["planet", "planet"]]), opts);
500
+ return this._c.request("/v1/chart/kp-sublord", applyExtras(qBirth(input), input, [["planet", "planet"], ["lang", "lang"], ["lang", "locale"]]), opts);
501
501
  }
502
502
  /** 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. */
503
503
  kundliFacts(input, opts) {
504
- return this._c.request("/v1/chart/kundli-facts", applyExtras(qBirth(input), input, [["vargas", "vargas"], ["include", "include"], ["gender", "gender"]]), opts);
504
+ return this._c.request("/v1/chart/kundli-facts", applyExtras(qBirth(input), input, [["vargas", "vargas"], ["include", "include"], ["gender", "gender"], ["lang", "lang"], ["lang", "locale"]]), opts);
505
505
  }
506
506
  /** Birth (Janma) nakshatra and pada. */
507
507
  nakshatra(input, opts) {
508
- return this._c.request("/v1/chart/nakshatra", qBirth(input), opts);
508
+ return this._c.request("/v1/chart/nakshatra", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
509
509
  }
510
510
  /** Navamsa (D9) divisional chart — convenience alias for divisional('D9'). */
511
511
  navamsa(input, opts) {
512
- return this._c.request("/v1/chart/divisional/D9", qBirth(input), opts);
512
+ return this._c.request("/v1/chart/divisional/D9", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
513
513
  }
514
514
  /** Detail for a single planet (sun|moon|mars|mercury|jupiter|venus|saturn|rahu|ketu). */
515
515
  planet(input, opts) {
516
- return this._c.request(buildPath("/v1/chart/planet/{name}", input, ["name"]), qBirth(input), opts);
516
+ return this._c.request(buildPath("/v1/chart/planet/{name}", input, ["name"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
517
517
  }
518
518
  /** All 9 grahas with sign, degree, nakshatra, house, retrograde, dignity, combustion and speed. */
519
519
  planets(input, opts) {
520
- return this._c.request("/v1/chart/planets", qBirth(input), opts);
520
+ return this._c.request("/v1/chart/planets", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
521
521
  }
522
522
  /** 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. */
523
523
  sensitivity(input, opts) {
@@ -525,11 +525,11 @@ var Chart = class {
525
525
  }
526
526
  /** Shadbala (six-fold strength) for all 7 planets with components. */
527
527
  shadbala(input, opts) {
528
- return this._c.request("/v1/chart/shadbala", qBirth(input), opts);
528
+ return this._c.request("/v1/chart/shadbala", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
529
529
  }
530
530
  /** One shadbala component (sthana|dig|kala|chesta|naisargika|drik) for all planets. */
531
531
  shadbalaComponent(input, opts) {
532
- return this._c.request(buildPath("/v1/chart/shadbala/{component}", input, ["component"]), qBirth(input), opts);
532
+ return this._c.request(buildPath("/v1/chart/shadbala/{component}", input, ["component"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
533
533
  }
534
534
  /** 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). */
535
535
  yogas(input, opts) {
@@ -544,59 +544,59 @@ var Dasha = class {
544
544
  }
545
545
  /** Full Char Dasha (Jaimini sign-based dasha) schedule — every mahadasha sign period with start/end dates. */
546
546
  char(input, opts) {
547
- return this._c.request("/v1/dasha/char", qBirth(input), opts);
547
+ return this._c.request("/v1/dasha/char", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
548
548
  }
549
549
  /** Sub-periods inside a Char Dasha mahadasha+antardasha sign pair. */
550
550
  charAntar(input, opts) {
551
- return this._c.request(buildPath("/v1/dasha/char/{md}/{ad}", input, ["md", "ad"]), qBirth(input), opts);
551
+ return this._c.request(buildPath("/v1/dasha/char/{md}/{ad}", input, ["md", "ad"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
552
552
  }
553
553
  /** Currently running Char Dasha (Jaimini) period stack — active mahadasha and antardasha signs with date windows. */
554
554
  charCurrent(input, opts) {
555
- return this._c.request("/v1/dasha/char/current", qBirth(input), opts);
555
+ return this._c.request("/v1/dasha/char/current", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
556
556
  }
557
557
  /** Antardashas inside one Char Dasha mahadasha sign (md = sign name, e.g. 'leo'). */
558
558
  charMaha(input, opts) {
559
- return this._c.request(buildPath("/v1/dasha/char/{md}", input, ["md"]), qBirth(input), opts);
559
+ return this._c.request(buildPath("/v1/dasha/char/{md}", input, ["md"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
560
560
  }
561
561
  /** Char Dasha mahadasha-level periods only — one row per sign period. */
562
562
  charMajor(input, opts) {
563
- return this._c.request("/v1/dasha/char/major", qBirth(input), opts);
563
+ return this._c.request("/v1/dasha/char/major", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
564
564
  }
565
565
  /** Full Vimshottari dasha tree (depth 1-5). */
566
566
  vimshottari(input, opts) {
567
- return this._c.request("/v1/dasha/vimshottari", applyExtras(qBirth(input), input, [["depth", "depth"]]), opts);
567
+ return this._c.request("/v1/dasha/vimshottari", applyExtras(qBirth(input), input, [["depth", "depth"], ["lang", "lang"], ["lang", "locale"]]), opts);
568
568
  }
569
569
  /** Pratyantardashas within a Maha+Antar pair. */
570
570
  vimshottariAntar(input, opts) {
571
- return this._c.request(buildPath("/v1/dasha/vimshottari/{md}/{ad}", input, ["md", "ad"]), qBirth(input), opts);
571
+ return this._c.request(buildPath("/v1/dasha/vimshottari/{md}/{ad}", input, ["md", "ad"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
572
572
  }
573
573
  /** Currently running 5-level Vimshottari dasha stack (optionally at a custom moment). */
574
574
  vimshottariCurrent(input, opts) {
575
- return this._c.request("/v1/dasha/vimshottari/current", applyExtras(qBirth(input), input, [["at", "at"]]), opts);
575
+ return this._c.request("/v1/dasha/vimshottari/current", applyExtras(qBirth(input), input, [["at", "at"], ["lang", "lang"], ["lang", "locale"]]), opts);
576
576
  }
577
577
  /** Antardashas within one Mahadasha lord. */
578
578
  vimshottariMaha(input, opts) {
579
- return this._c.request(buildPath("/v1/dasha/vimshottari/{md}", input, ["md"]), qBirth(input), opts);
579
+ return this._c.request(buildPath("/v1/dasha/vimshottari/{md}", input, ["md"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
580
580
  }
581
581
  /** Sookshma periods within a 3-level Vimshottari combination. */
582
582
  vimshottariPratyantar(input, opts) {
583
- return this._c.request(buildPath("/v1/dasha/vimshottari/{md}/{ad}/{pd}", input, ["md", "ad", "pd"]), qBirth(input), opts);
583
+ return this._c.request(buildPath("/v1/dasha/vimshottari/{md}/{ad}/{pd}", input, ["md", "ad", "pd"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
584
584
  }
585
585
  /** Prana periods within a 4-level Vimshottari combination. */
586
586
  vimshottariSookshma(input, opts) {
587
- return this._c.request(buildPath("/v1/dasha/vimshottari/{md}/{ad}/{pd}/{sd}", input, ["md", "ad", "pd", "sd"]), qBirth(input), opts);
587
+ 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);
588
588
  }
589
589
  /** Full Yogini dasha tree (36-year cycle, 8 lords). */
590
590
  yogini(input, opts) {
591
- return this._c.request("/v1/dasha/yogini", applyExtras(qBirth(input), input, [["depth", "depth"]]), opts);
591
+ return this._c.request("/v1/dasha/yogini", applyExtras(qBirth(input), input, [["depth", "depth"], ["lang", "lang"], ["lang", "locale"]]), opts);
592
592
  }
593
593
  /** Yogini dasha sub-periods for a named Yogini lord. */
594
594
  yoginiByName(input, opts) {
595
- return this._c.request(buildPath("/v1/dasha/yogini/{name}", input, ["name"]), qBirth(input), opts);
595
+ return this._c.request(buildPath("/v1/dasha/yogini/{name}", input, ["name"]), applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
596
596
  }
597
597
  /** Currently running Yogini dasha. */
598
598
  yoginiCurrent(input, opts) {
599
- return this._c.request("/v1/dasha/yogini/current", applyExtras(qBirth(input), input, [["at", "at"]]), opts);
599
+ return this._c.request("/v1/dasha/yogini/current", applyExtras(qBirth(input), input, [["at", "at"], ["lang", "lang"], ["lang", "locale"]]), opts);
600
600
  }
601
601
  };
602
602
 
@@ -607,15 +607,15 @@ var Eclipses = class {
607
607
  }
608
608
  /** 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). */
609
609
  all(input, opts) {
610
- return this._c.request("/v1/eclipses/all", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"]]), opts);
610
+ return this._c.request("/v1/eclipses/all", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
611
611
  }
612
612
  /** 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). */
613
613
  lunar(input, opts) {
614
- return this._c.request("/v1/eclipses/lunar", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"]]), opts);
614
+ return this._c.request("/v1/eclipses/lunar", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
615
615
  }
616
616
  /** 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). */
617
617
  solar(input, opts) {
618
- return this._c.request("/v1/eclipses/solar", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"]]), opts);
618
+ return this._c.request("/v1/eclipses/solar", applyExtras(qDateRange(input), input, [["lat", "lat"], ["lon", "lon"], ["alt", "alt"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
619
619
  }
620
620
  };
621
621
 
@@ -626,15 +626,15 @@ var Festivals = class {
626
626
  }
627
627
  /** 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. */
628
628
  month(input, opts) {
629
- 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);
629
+ 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);
630
630
  }
631
631
  /** 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. */
632
632
  onDate(input, opts) {
633
- 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);
633
+ 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);
634
634
  }
635
635
  /** 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. */
636
636
  vrat(input, opts) {
637
- 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);
637
+ 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);
638
638
  }
639
639
  };
640
640
 
@@ -687,15 +687,15 @@ var Lalkitab = class {
687
687
  }
688
688
  /** Lal Kitab chart — planets mapped into Lal Kitab's fixed Aries-based houses. */
689
689
  chart(input, opts) {
690
- return this._c.request("/v1/lalkitab/chart", qBirth(input), opts);
690
+ return this._c.request("/v1/lalkitab/chart", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
691
691
  }
692
692
  /** Full 35-year Lal Kitab dasha schedule — planet-ruled periods with start/end dates. */
693
693
  dasha(input, opts) {
694
- return this._c.request("/v1/lalkitab/dasha", qBirth(input), opts);
694
+ return this._c.request("/v1/lalkitab/dasha", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
695
695
  }
696
696
  /** Currently active Lal Kitab dasha planet and period window. */
697
697
  dashaCurrent(input, opts) {
698
- return this._c.request("/v1/lalkitab/dasha/current", qBirth(input), opts);
698
+ return this._c.request("/v1/lalkitab/dasha/current", applyExtras(qBirth(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
699
699
  }
700
700
  };
701
701
 
@@ -741,11 +741,11 @@ var Milan = class {
741
741
  }
742
742
  /** Full 36-point Ashtakoota breakdown across all 8 kootas. */
743
743
  ashtakoota(input, opts) {
744
- return this._c.request("/v1/milan/ashtakoota", qBoyGirl(input), opts);
744
+ return this._c.request("/v1/milan/ashtakoota", applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
745
745
  }
746
746
  /** One koota (varna|vashya|tara|yoni|graha_maitri|gana|bhakoot|nadi). */
747
747
  ashtakootaKoota(input, opts) {
748
- return this._c.request(buildPath("/v1/milan/ashtakoota/{koota}", input, ["koota"]), qBoyGirl(input), opts);
748
+ return this._c.request(buildPath("/v1/milan/ashtakoota/{koota}", input, ["koota"]), applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
749
749
  }
750
750
  /** Just the Ashtakoota (Guna Milan) total score and verdict. */
751
751
  ashtakootaTotal(input, opts) {
@@ -753,31 +753,31 @@ var Milan = class {
753
753
  }
754
754
  /** 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. */
755
755
  dashaSync(input, opts) {
756
- 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);
756
+ 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);
757
757
  }
758
758
  /** Check Dhan Yog (wealth yoga) for a single person's chart — assesses 2nd/11th house lord strength and Jupiter placement for prosperity. */
759
759
  dhanYog(input, opts) {
760
- return this._c.request("/v1/milan/dhan-yog", qBirthPrefixed(input), opts);
760
+ return this._c.request("/v1/milan/dhan-yog", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
761
761
  }
762
762
  /** Assess longevity for a single person's chart — classical analysis of lagna, 8th house, and Moon sign longevity indicators. */
763
763
  longevity(input, opts) {
764
- return this._c.request("/v1/milan/longevity", qBirthPrefixed(input), opts);
764
+ return this._c.request("/v1/milan/longevity", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
765
765
  }
766
766
  /** Check Mahendra Koota — the 4th additional compatibility factor beyond Ashtakoota. */
767
767
  mahendra(input, opts) {
768
- return this._c.request("/v1/milan/mahendra", qBoyGirl(input), opts);
768
+ return this._c.request("/v1/milan/mahendra", applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
769
769
  }
770
770
  /** Mangal Dosha (Manglik) detection for one chart. */
771
771
  mangalDosha(input, opts) {
772
- return this._c.request("/v1/milan/mangal-dosha", qBirthPrefixed(input), opts);
772
+ return this._c.request("/v1/milan/mangal-dosha", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
773
773
  }
774
774
  /** Nadi dosha detection plus exceptions. */
775
775
  nadiDosha(input, opts) {
776
- return this._c.request("/v1/milan/nadi-dosha", qBoyGirl(input), opts);
776
+ return this._c.request("/v1/milan/nadi-dosha", applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
777
777
  }
778
778
  /** Check Navamsa compatibility — compares the D9 (Navamsa) chart placements of both partners for deeper marriage harmony beyond the D1 chart. */
779
779
  navamsaCompat(input, opts) {
780
- return this._c.request("/v1/milan/navamsa-compat", qBoyGirl(input), opts);
780
+ return this._c.request("/v1/milan/navamsa-compat", applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
781
781
  }
782
782
  /** 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). */
783
783
  overlay(input, opts) {
@@ -785,23 +785,23 @@ var Milan = class {
785
785
  }
786
786
  /** Check Santan Yog for a single person's chart — assesses 5th house lord and Jupiter placement to indicate prospects for children. */
787
787
  santanYog(input, opts) {
788
- return this._c.request("/v1/milan/santan-yog", qBirthPrefixed(input), opts);
788
+ return this._c.request("/v1/milan/santan-yog", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
789
789
  }
790
790
  /** Check Shani Dosha for a single person's chart — Saturn in 1st, 4th, 7th, 10th, or 12th house from lagna. */
791
791
  shaniDosha(input, opts) {
792
- return this._c.request("/v1/milan/shani-dosha", qBirthPrefixed(input), opts);
792
+ return this._c.request("/v1/milan/shani-dosha", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
793
793
  }
794
794
  /** 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). */
795
795
  streeDirgha(input, opts) {
796
- return this._c.request("/v1/milan/stree-dirgha", qBoyGirl(input), opts);
796
+ return this._c.request("/v1/milan/stree-dirgha", applyExtras(qBoyGirl(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
797
797
  }
798
798
  /** 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). */
799
799
  summary(input, opts) {
800
- return this._c.request("/v1/milan/summary", applyExtras(qBoyGirl(input), input, [["from", "from"], ["tz", "tz"], ["include", "include"]]), opts);
800
+ return this._c.request("/v1/milan/summary", applyExtras(qBoyGirl(input), input, [["from", "from"], ["tz", "tz"], ["include", "include"], ["lang", "lang"], ["lang", "locale"]]), opts);
801
801
  }
802
802
  /** Vivah Phal (marriage-outcome) assessment for one chart. */
803
803
  vivahPhal(input, opts) {
804
- return this._c.request("/v1/milan/vivah-phal", qBirthPrefixed(input), opts);
804
+ return this._c.request("/v1/milan/vivah-phal", applyExtras(qBirthPrefixed(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
805
805
  }
806
806
  };
807
807
 
@@ -810,49 +810,49 @@ var Muhurta = class {
810
810
  constructor(_c) {
811
811
  this._c = _c;
812
812
  }
813
- /** Best-scoring general muhurta window in a date range. */
813
+ /** 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`. */
814
814
  bestTime(input, opts) {
815
- return this._c.request("/v1/muhurta/best-time", qMuhurta(input), opts);
815
+ return this._c.request("/v1/muhurta/best-time", applyExtras(qMuhurta(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
816
816
  }
817
817
  /** Compute Chandra Bala — the Moon's strength relative to a person's natal Moon sign on a given date. */
818
818
  chandraBala(input, opts) {
819
819
  return this._c.request("/v1/muhurta/chandra-bala", applyExtras(qBirth(input), input, [["birthMoonSign", "birth_moon_sign"]]), opts);
820
820
  }
821
- /** Find auspicious Griha Pravesh (housewarming) muhurta windows in a date range — checks tithi, nakshatra, vara, Sun position, and lagna for the ceremony. */
821
+ /** 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`. */
822
822
  grahaPravesh(input, opts) {
823
- return this._c.request("/v1/muhurta/graha-pravesh", qMoment(input), opts);
823
+ return this._c.request("/v1/muhurta/graha-pravesh", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
824
824
  }
825
- /** Naamkaran (naming ceremony) muhurta windows. */
825
+ /** Naamkaran (naming ceremony) muhurta windows. Each `factors[]` item has a stable English `id` (e.g. `Tithi`, `RahuKaal`); `name` and `value` follow `lang`. */
826
826
  naamkaran(input, opts) {
827
- return this._c.request("/v1/muhurta/naamkaran", applyExtras(qMoment(input), input, [["birthDate", "birth_date"]]), opts);
827
+ return this._c.request("/v1/muhurta/naamkaran", applyExtras(qMoment(input), input, [["birthDate", "birth_date"], ["lang", "lang"], ["lang", "locale"]]), opts);
828
828
  }
829
829
  /** 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. */
830
830
  panchakaRahita(input, opts) {
831
- return this._c.request("/v1/muhurta/panchaka-rahita", qMoment(input), opts);
831
+ return this._c.request("/v1/muhurta/panchaka-rahita", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
832
832
  }
833
833
  /** Find Sarvartha Siddhi Yoga windows — one of the most auspicious panchang yogas formed by specific vara+nakshatra combinations. */
834
834
  sarvarthaSiddhi(input, opts) {
835
- return this._c.request("/v1/muhurta/sarvartha-siddhi", qMoment(input), opts);
835
+ return this._c.request("/v1/muhurta/sarvartha-siddhi", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
836
836
  }
837
837
  /** 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. */
838
838
  shubhaYoga(input, opts) {
839
- return this._c.request("/v1/muhurta/shubha-yoga", qMoment(input), opts);
839
+ return this._c.request("/v1/muhurta/shubha-yoga", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
840
840
  }
841
841
  /** 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. */
842
842
  taraBala(input, opts) {
843
843
  return this._c.request("/v1/muhurta/tara-bala", applyExtras(qBirth(input), input, [["birthNak", "birth_nak"]]), opts);
844
844
  }
845
- /** Auspicious wedding (vivah) muhurta windows in a date range. */
845
+ /** 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`. */
846
846
  vivah(input, opts) {
847
- return this._c.request("/v1/muhurta/vivah", qMoment(input), opts);
847
+ return this._c.request("/v1/muhurta/vivah", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
848
848
  }
849
- /** Find auspicious Vyapar (business/trade) muhurta windows — suitable for starting a business, signing contracts, launching a product, or opening a shop. */
849
+ /** 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`. */
850
850
  vyapar(input, opts) {
851
- return this._c.request("/v1/muhurta/vyapar", qMoment(input), opts);
851
+ return this._c.request("/v1/muhurta/vyapar", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
852
852
  }
853
- /** 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. */
853
+ /** 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`. */
854
854
  yatra(input, opts) {
855
- return this._c.request("/v1/muhurta/yatra", qMoment(input), opts);
855
+ return this._c.request("/v1/muhurta/yatra", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
856
856
  }
857
857
  };
858
858
 
@@ -899,7 +899,7 @@ var Narrative = class {
899
899
  }
900
900
  /** 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. */
901
901
  horoscopeDailyTamil(input, opts) {
902
- return this._c.request("/v1/vedic/narrative/horoscope/daily-tamil", applyExtras(qBirth(input), input, [["onDate", "transit_date"]]), opts);
902
+ return this._c.request("/v1/vedic/narrative/horoscope/daily-tamil", applyExtras(qBirth(input), input, [["onDate", "transit_date"], ["lang", "lang"], ["lang", "locale"]]), opts);
903
903
  }
904
904
  /** 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. */
905
905
  horoscopeWeeklyByLagna(input, opts) {
@@ -1007,7 +1007,7 @@ var Narrative = class {
1007
1007
  }
1008
1008
  /** Personalised yearly Bhavishyafal (annual horoscope) for a target year. */
1009
1009
  yearlyBhavishyafal(input, opts) {
1010
- 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);
1010
+ 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);
1011
1011
  }
1012
1012
  /** Narrative interpretation of a specific yoga in the chart. */
1013
1013
  yoga(input, opts) {
@@ -1073,15 +1073,15 @@ var Panchang = class {
1073
1073
  }
1074
1074
  /** Full advanced panchang: everything in basic plus all muhurta windows, Choghadiya, Hindu month, samvat and more. */
1075
1075
  advanced(input, opts) {
1076
- return this._c.request("/v1/panchang/advanced", qMoment(input), opts);
1076
+ return this._c.request("/v1/panchang/advanced", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1077
1077
  }
1078
1078
  /** Amrit Kalam auspicious window. */
1079
1079
  amritKalam(input, opts) {
1080
- return this._c.request("/v1/panchang/amrit-kalam", qMoment(input), opts);
1080
+ return this._c.request("/v1/panchang/amrit-kalam", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1081
1081
  }
1082
1082
  /** Composite basic panchang in one call: tithi, nakshatra, yoga, karana, vara, sun/moon rise & set. */
1083
1083
  basic(input, opts) {
1084
- return this._c.request("/v1/panchang/basic", qMoment(input), opts);
1084
+ return this._c.request("/v1/panchang/basic", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1085
1085
  }
1086
1086
  /** Brahma Muhurat window before sunrise. */
1087
1087
  brahmaMuhurat(input, opts) {
@@ -1089,7 +1089,7 @@ var Panchang = class {
1089
1089
  }
1090
1090
  /** Choghadiya periods (day + night). */
1091
1091
  choghadiya(input, opts) {
1092
- return this._c.request("/v1/panchang/choghadiya", qMoment(input), opts);
1092
+ return this._c.request("/v1/panchang/choghadiya", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1093
1093
  }
1094
1094
  /** Durmuhurta inauspicious periods for the day. */
1095
1095
  durmuhurta(input, opts) {
@@ -1101,27 +1101,27 @@ var Panchang = class {
1101
1101
  }
1102
1102
  /** Hindu lunar month, paksha, samvat and adhik/kshaya detection. */
1103
1103
  hinduMonth(input, opts) {
1104
- return this._c.request("/v1/panchang/hindu-month", qMoment(input), opts);
1104
+ return this._c.request("/v1/panchang/hindu-month", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1105
1105
  }
1106
1106
  /** Planetary hours (horas) for the day, or the hora at a given time. */
1107
1107
  hora(input, opts) {
1108
- return this._c.request("/v1/panchang/hora", qMoment(input), opts);
1108
+ return this._c.request("/v1/panchang/hora", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1109
1109
  }
1110
1110
  /** 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). */
1111
1111
  horaDinman(input, opts) {
1112
- return this._c.request("/v1/panchang/hora-dinman", qMoment(input), opts);
1112
+ return this._c.request("/v1/panchang/hora-dinman", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1113
1113
  }
1114
1114
  /** Current karana (half-tithi). */
1115
1115
  karana(input, opts) {
1116
- return this._c.request("/v1/panchang/karana", qMoment(input), opts);
1116
+ return this._c.request("/v1/panchang/karana", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1117
1117
  }
1118
1118
  /** Lagna (rising sign) table for the day with start/end times for each sign. */
1119
1119
  lagnaTable(input, opts) {
1120
- return this._c.request("/v1/panchang/lagna-table", qMoment(input), opts);
1120
+ return this._c.request("/v1/panchang/lagna-table", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1121
1121
  }
1122
1122
  /** 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. */
1123
1123
  monthly(input, opts) {
1124
- 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);
1124
+ 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);
1125
1125
  }
1126
1126
  /** Moonrise and moonset times. */
1127
1127
  moonriseMoonset(input, opts) {
@@ -1129,15 +1129,15 @@ var Panchang = class {
1129
1129
  }
1130
1130
  /** Moon's nakshatra with pada, lord and start/end at the moment. */
1131
1131
  nakshatra(input, opts) {
1132
- return this._c.request("/v1/panchang/nakshatra", qMoment(input), opts);
1132
+ return this._c.request("/v1/panchang/nakshatra", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1133
1133
  }
1134
1134
  /** Personalised daily Tara Bala prediction relative to a birth nakshatra (index 0-26). */
1135
1135
  nakshatraPrediction(input, opts) {
1136
- return this._c.request("/v1/panchang/nakshatra-prediction", applyExtras(qMoment(input), input, [["birthNak", "birth_nak"]]), opts);
1136
+ return this._c.request("/v1/panchang/nakshatra-prediction", applyExtras(qMoment(input), input, [["birthNak", "birth_nak"], ["lang", "lang"], ["lang", "locale"]]), opts);
1137
1137
  }
1138
- /** Panchaka classification at the moment. */
1138
+ /** Panchaka classification at the moment. `avoidance` is the id list (comma-separated); `avoidance_text` is the same list as reader text in `lang`. */
1139
1139
  panchaka(input, opts) {
1140
- return this._c.request("/v1/panchang/panchaka", qMoment(input), opts);
1140
+ return this._c.request("/v1/panchang/panchaka", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1141
1141
  }
1142
1142
  /** Pradosh Kaal twilight window after sunset. */
1143
1143
  pradoshKaal(input, opts) {
@@ -1149,15 +1149,15 @@ var Panchang = class {
1149
1149
  }
1150
1150
  /** 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. */
1151
1151
  sankranti(input, opts) {
1152
- return this._c.request("/v1/panchang/sankranti", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"]]), opts);
1152
+ return this._c.request("/v1/panchang/sankranti", applyExtras(qNone(input), input, [["date", "date"], ["tz", "tz"], ["lang", "lang"], ["lang", "locale"]]), opts);
1153
1153
  }
1154
1154
  /** Siddha Yoga vara+nakshatra auspicious combination check. */
1155
1155
  siddhaYoga(input, opts) {
1156
- return this._c.request("/v1/panchang/siddha-yoga", qMoment(input), opts);
1156
+ return this._c.request("/v1/panchang/siddha-yoga", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1157
1157
  }
1158
1158
  /** Quick 5-element panchang strip (tithi, nakshatra, yoga, karana, vara) plus sunrise/sunset. */
1159
1159
  summary(input, opts) {
1160
- return this._c.request("/v1/panchang/summary", qMoment(input), opts);
1160
+ return this._c.request("/v1/panchang/summary", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1161
1161
  }
1162
1162
  /** Sunrise and sunset times plus day length. */
1163
1163
  sunriseSunset(input, opts) {
@@ -1165,15 +1165,15 @@ var Panchang = class {
1165
1165
  }
1166
1166
  /** Current tithi (lunar day) with paksha, lord and transition timing. */
1167
1167
  tithi(input, opts) {
1168
- return this._c.request("/v1/panchang/tithi", qMoment(input), opts);
1168
+ return this._c.request("/v1/panchang/tithi", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1169
1169
  }
1170
1170
  /** Hindu weekday (vara) and its ruling planet. */
1171
1171
  vara(input, opts) {
1172
- return this._c.request("/v1/panchang/vara", qMoment(input), opts);
1172
+ return this._c.request("/v1/panchang/vara", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1173
1173
  }
1174
1174
  /** Varjyam forbidden window based on the Moon's nakshatra. */
1175
1175
  varjyam(input, opts) {
1176
- return this._c.request("/v1/panchang/varjyam", qMoment(input), opts);
1176
+ return this._c.request("/v1/panchang/varjyam", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1177
1177
  }
1178
1178
  /** Yamaganda inauspicious window. */
1179
1179
  yamaganda(input, opts) {
@@ -1181,7 +1181,7 @@ var Panchang = class {
1181
1181
  }
1182
1182
  /** Current panchang yoga (one of 27). */
1183
1183
  yoga(input, opts) {
1184
- return this._c.request("/v1/panchang/yoga", qMoment(input), opts);
1184
+ return this._c.request("/v1/panchang/yoga", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1185
1185
  }
1186
1186
  };
1187
1187
 
@@ -1192,19 +1192,19 @@ var PlanetMoments = class {
1192
1192
  }
1193
1193
  /** 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. */
1194
1194
  combustionWindow(input, opts) {
1195
- 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);
1195
+ 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);
1196
1196
  }
1197
1197
  /** A planet's sign ingresses (sankranti) in a date range. */
1198
1198
  ingress(input, opts) {
1199
- return this._c.request("/v1/planet-moments/ingress", applyExtras(qNone(input), input, [["planet", "planet"], ["date", "date"], ["time", "time"], ["tz", "tz"], ["maxDays", "max_days"]]), opts);
1199
+ 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);
1200
1200
  }
1201
1201
  /** A planet's retrograde windows (station retro -> station direct) in a date range. */
1202
1202
  retrogradeWindow(input, opts) {
1203
- 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);
1203
+ 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);
1204
1204
  }
1205
1205
  /** 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. */
1206
1206
  speed(input, opts) {
1207
- return this._c.request("/v1/planet-moments/speed", applyExtras(qNone(input), input, [["planet", "planet"], ["date", "date"], ["time", "time"], ["tz", "tz"]]), opts);
1207
+ 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);
1208
1208
  }
1209
1209
  };
1210
1210
 
@@ -1215,23 +1215,23 @@ var Prashna = class {
1215
1215
  }
1216
1216
  /** Cast a Prashna (horary) chart and compute the classical yes/no answer. */
1217
1217
  answer(input, opts) {
1218
- return this._c.request("/v1/prashna/answer", applyExtras(qMoment(input), input, [["house", "house"]]), opts);
1218
+ return this._c.request("/v1/prashna/answer", applyExtras(qMoment(input), input, [["house", "house"], ["lang", "lang"], ["lang", "locale"]]), opts);
1219
1219
  }
1220
1220
  /** Compute the Arudha Lagna of a Prashna chart — the perceived image/manifestation of the question's subject. */
1221
1221
  arudha(input, opts) {
1222
- return this._c.request("/v1/prashna/arudha", qMoment(input), opts);
1222
+ return this._c.request("/v1/prashna/arudha", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1223
1223
  }
1224
1224
  /** 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. */
1225
1225
  chart(input, opts) {
1226
- return this._c.request("/v1/prashna/chart", qMoment(input), opts);
1226
+ return this._c.request("/v1/prashna/chart", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1227
1227
  }
1228
1228
  /** 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. */
1229
1229
  lagnaLord(input, opts) {
1230
- return this._c.request("/v1/prashna/lagna-lord", qMoment(input), opts);
1230
+ return this._c.request("/v1/prashna/lagna-lord", applyExtras(qMoment(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1231
1231
  }
1232
1232
  /** Get the KP significators for a Prashna chart — lists planets significating the houses relevant to the question (e.g. */
1233
1233
  significators(input, opts) {
1234
- return this._c.request("/v1/prashna/significators", applyExtras(qMoment(input), input, [["house", "house"]]), opts);
1234
+ return this._c.request("/v1/prashna/significators", applyExtras(qMoment(input), input, [["house", "house"], ["lang", "lang"], ["lang", "locale"]]), opts);
1235
1235
  }
1236
1236
  };
1237
1237
 
@@ -1246,7 +1246,7 @@ var Remedies = class {
1246
1246
  }
1247
1247
  /** Full details of a daan (charity/donation) remedy by id — what to donate, to whom, and when. */
1248
1248
  daan(input, opts) {
1249
- return this._c.request(buildPath("/v1/vedic/remedies/daan/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"]]), opts);
1249
+ return this._c.request(buildPath("/v1/vedic/remedies/daan/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"], ["lang", "lang"], ["lang", "locale"]]), opts);
1250
1250
  }
1251
1251
  /** 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. */
1252
1252
  forGraha(input = {}, opts) {
@@ -1254,11 +1254,11 @@ var Remedies = class {
1254
1254
  }
1255
1255
  /** Lal Kitab remedies for a specific planet-in-house placement (e.g. saturn in house 8). */
1256
1256
  lalkitabForPlacement(input, opts) {
1257
- return this._c.request(buildPath("/v1/vedic/remedies/lal-kitab/{planet}/{house}", input, ["planet", "house"]), applyExtras(qNone(input), input, [["locale", "locale"]]), opts);
1257
+ 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);
1258
1258
  }
1259
1259
  /** List Lal Kitab remedies (upay), optionally filtered by planet. */
1260
1260
  lalkitabList(input = {}, opts) {
1261
- return this._c.request("/v1/vedic/remedies/lal-kitab", applyExtras(qNone(input), input, [["planet", "planet"], ["locale", "locale"]]), opts);
1261
+ return this._c.request("/v1/vedic/remedies/lal-kitab", applyExtras(qNone(input), input, [["planet", "planet"], ["locale", "locale"], ["lang", "lang"], ["lang", "locale"]]), opts);
1262
1262
  }
1263
1263
  /** Full details of a mantra remedy by id. */
1264
1264
  mantra(input, opts) {
@@ -1270,7 +1270,7 @@ var Remedies = class {
1270
1270
  }
1271
1271
  /** Full details of a rudraksha remedy by id — mukhi count, ruling planet, wearing procedure. */
1272
1272
  rudraksha(input, opts) {
1273
- return this._c.request(buildPath("/v1/vedic/remedies/rudraksha/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"]]), opts);
1273
+ return this._c.request(buildPath("/v1/vedic/remedies/rudraksha/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"], ["lang", "lang"], ["lang", "locale"]]), opts);
1274
1274
  }
1275
1275
  /** Get Vedic astrological remedies for a birth chart — personalised remedies based on weak planets, doshas, and challenging dashas. */
1276
1276
  vedic(input, opts) {
@@ -1282,7 +1282,7 @@ var Remedies = class {
1282
1282
  }
1283
1283
  /** Full details of a yantra remedy by id — purpose, installation procedure, direction, day, and mantra. */
1284
1284
  yantra(input, opts) {
1285
- return this._c.request(buildPath("/v1/vedic/remedies/yantra/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"]]), opts);
1285
+ return this._c.request(buildPath("/v1/vedic/remedies/yantra/{id}", input, ["id"]), applyExtras(qNone(input), input, [["locale", "locale"], ["lang", "lang"], ["lang", "locale"]]), opts);
1286
1286
  }
1287
1287
  };
1288
1288
 
@@ -1375,15 +1375,15 @@ var Transit = class {
1375
1375
  }
1376
1376
  /** 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. */
1377
1377
  ashtakavarga(input, opts) {
1378
- return this._c.request("/v1/transit/ashtakavarga", qNatalTransit(input), opts);
1378
+ return this._c.request("/v1/transit/ashtakavarga", applyExtras(qNatalTransit(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1379
1379
  }
1380
1380
  /** 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. */
1381
1381
  doubleTransit(input = {}, opts) {
1382
- return this._c.request("/v1/transit/double-transit", qInstant(input), opts);
1382
+ return this._c.request("/v1/transit/double-transit", applyExtras(qInstant(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1383
1383
  }
1384
1384
  /** Current sidereal positions of all 9 grahas (defaults to now). */
1385
1385
  positions(input = {}, opts) {
1386
- return this._c.request("/v1/transit/positions", qInstant(input), opts);
1386
+ return this._c.request("/v1/transit/positions", applyExtras(qInstant(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1387
1387
  }
1388
1388
  /** Saturn Sade Sati status (rising/peak/setting) relative to the birth Moon. */
1389
1389
  sadeSati(input, opts) {
@@ -1403,11 +1403,11 @@ var Transit = class {
1403
1403
  }
1404
1404
  /** 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. */
1405
1405
  tarabala(input, opts) {
1406
- return this._c.request("/v1/transit/tarabala", qNatalTransit(input), opts);
1406
+ return this._c.request("/v1/transit/tarabala", applyExtras(qNatalTransit(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1407
1407
  }
1408
1408
  /** Check Vedha (transit obstruction) for a natal chart — certain house transits are blocked (vedha'd) by another planet transiting a specific opposing house simultaneously. */
1409
1409
  vedha(input, opts) {
1410
- return this._c.request("/v1/transit/vedha", qNatalTransit(input), opts);
1410
+ return this._c.request("/v1/transit/vedha", applyExtras(qNatalTransit(input), input, [["lang", "lang"], ["lang", "locale"]]), opts);
1411
1411
  }
1412
1412
  /** 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. */
1413
1413
  windows(input, opts) {
@@ -1422,19 +1422,19 @@ var Varshaphal = class {
1422
1422
  }
1423
1423
  /** Varshaphal (annual solar-return) chart for a year. */
1424
1424
  chart(input, opts) {
1425
- return this._c.request("/v1/varshaphal/chart", applyExtras(qBirth(input), input, [["year", "year"]]), opts);
1425
+ return this._c.request("/v1/varshaphal/chart", applyExtras(qBirth(input), input, [["year", "year"], ["lang", "lang"], ["lang", "locale"]]), opts);
1426
1426
  }
1427
1427
  /** Tajika Harsha Bala for the annual chart. */
1428
1428
  harshaBala(input, opts) {
1429
- return this._c.request("/v1/varshaphal/harsha-bala", applyExtras(qBirth(input), input, [["year", "year"]]), opts);
1429
+ return this._c.request("/v1/varshaphal/harsha-bala", applyExtras(qBirth(input), input, [["year", "year"], ["lang", "lang"], ["lang", "locale"]]), opts);
1430
1430
  }
1431
1431
  /** 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. */
1432
1432
  lord(input, opts) {
1433
- return this._c.request("/v1/varshaphal/lord", applyExtras(qBirth(input), input, [["year", "year"]]), opts);
1433
+ return this._c.request("/v1/varshaphal/lord", applyExtras(qBirth(input), input, [["year", "year"], ["lang", "lang"], ["lang", "locale"]]), opts);
1434
1434
  }
1435
1435
  /** Varshaphal Mudda Dasha periods for the solar-return year. */
1436
1436
  muddaDasha(input, opts) {
1437
- return this._c.request("/v1/varshaphal/mudda-dasha", applyExtras(qBirth(input), input, [["year", "year"]]), opts);
1437
+ return this._c.request("/v1/varshaphal/mudda-dasha", applyExtras(qBirth(input), input, [["year", "year"], ["lang", "lang"], ["lang", "locale"]]), opts);
1438
1438
  }
1439
1439
  /** 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. */
1440
1440
  muntha(input, opts) {
@@ -1446,7 +1446,7 @@ var Varshaphal = class {
1446
1446
  }
1447
1447
  /** 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. */
1448
1448
  yoga(input, opts) {
1449
- return this._c.request("/v1/varshaphal/yoga", applyExtras(qBirth(input), input, [["year", "year"]]), opts);
1449
+ return this._c.request("/v1/varshaphal/yoga", applyExtras(qBirth(input), input, [["year", "year"], ["lang", "lang"], ["lang", "locale"]]), opts);
1450
1450
  }
1451
1451
  };
1452
1452