@@ -654,6 +654,12 @@ public function detectYogas(
654654 * and house divisions. It changes every two hours roughly. Even minutes matter for accurate
655655 * nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and
656656 * house-based predictions will be incorrect.
657+ * @param bool|null $avasthaInfo
658+ * Set true to include a localized meaning and one-sentence classical interpretation beside
659+ * each graha avastha state, under avasthaInfo on that graha in meta. Defaults to false, so an
660+ * existing integration is byte-identical until it opts in. Saves a second call to GET
661+ * /avasthas and the client-side join that would otherwise be needed to turn Yuva or Swapna
662+ * into readable text.
657663 * @param mixed|null $timezone
658664 * Timezone: IANA name (e.g. "America/New_York", "Europe/London") OR decimal hours from UTC
659665 * (e.g. -5 for EST, 1 for CET). IANA strings are resolved to the DST-correct offset for the
@@ -678,12 +684,13 @@ public function generateBirthChart(
678684 float $ latitude ,
679685 float $ longitude ,
680686 string $ time ,
687+ ?bool $ avasthaInfo = null ,
681688 mixed $ timezone = null ,
682689 ?string $ focus = null ,
683690 ?string $ lang = null
684691 ): array
685692 {
686- $ request = new \RoxyAPI \Sdk \Generated \Requests \GenerateBirthChartRequest (date: $ date , latitude: $ latitude , longitude: $ longitude , time: $ time , timezone: $ timezone , focus: $ focus , lang: $ lang );
693+ $ request = new \RoxyAPI \Sdk \Generated \Requests \GenerateBirthChartRequest (date: $ date , latitude: $ latitude , longitude: $ longitude , time: $ time , avasthaInfo: $ avasthaInfo , timezone: $ timezone , focus: $ focus , lang: $ lang );
687694
688695 return $ this ->callRequest ($ request );
689696 }
@@ -2585,17 +2592,22 @@ public function listRashis(
25852592 *
25862593 * GET /vedic-astrology/yoga
25872594 *
2595+ * @param string|null $family
2596+ * Filter the catalog to one Nabhasa family: asraya (3), dala (2), akriti (20) or sankhya (7).
2597+ * Omit for the full catalog. `classical` is accepted but matches nothing here, because it is a
2598+ * detection-verdict value for single-combination yogas rather than a catalog grouping.
25882599 * @param string|null $lang
25892600 * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en.
25902601 * Languages without translations yet return English.
25912602 *
25922603 * @return array<string, mixed>
25932604 */
25942605 public function listYogas (
2606+ ?string $ family = null ,
25952607 ?string $ lang = null
25962608 ): array
25972609 {
2598- $ request = new \RoxyAPI \Sdk \Generated \Requests \ListYogasRequest (lang: $ lang );
2610+ $ request = new \RoxyAPI \Sdk \Generated \Requests \ListYogasRequest (family: $ family , lang: $ lang );
25992611
26002612 return $ this ->callRequest ($ request );
26012613 }
0 commit comments