Skip to content

Commit 066cf7b

Browse files
release: v0.1.33
1 parent 3c7fc9e commit 066cf7b

8 files changed

Lines changed: 3276 additions & 728 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@
8484
"/tests"
8585
]
8686
},
87-
"version": "0.1.32"
87+
"version": "0.1.33"
8888
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "roxyapi-sdk-php-tooling",
33
"private": true,
4-
"version": "0.1.32",
4+
"version": "0.1.33",
55
"description": "Codegen tooling for the roxyapi/sdk Composer package. Not published.",
66
"type": "module",
77
"scripts": {

specs/openapi.json

Lines changed: 2903 additions & 691 deletions
Large diffs are not rendered by default.
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/**
6+
* AUTO-GENERATED by scripts/generate.mjs from the live OpenAPI spec.
7+
* Do not edit this file by hand. Regenerate with: node scripts/generate.mjs
8+
*/
9+
10+
namespace RoxyAPI\Sdk\Generated\Requests;
11+
12+
use Saloon\Enums\Method;
13+
use Saloon\Http\Request;
14+
use Saloon\Contracts\Body\HasBody;
15+
use Saloon\Traits\Body\HasJsonBody;
16+
17+
/**
18+
* Get the Bhav Chalit (Chalit Kundli) cusp-based house chart - Bhav Chalit API
19+
*
20+
* Calculate the Bhav Chalit chart, also written Bhava Chalit or Chalit Kundli, placing every
21+
* graha by unequal Sripati bhava cusps instead of by whole sign. The Rashi (D1) chart treats a
22+
* whole sign as a house, so a graha a degree from a sign boundary is shown in a house it does
23+
* not actually occupy; the Chalit chart resolves that by measuring from the bhava sandhis,
24+
* which is why practitioners check it before reading house results, house lordship strength or
25+
* transit effects. Returns the twelve bhava boundaries with their madhyas and spans, every
26+
* graha in both frames, and a moved flag on the placements that differ. Bhav Chalit API,
27+
* Chalit Kundli calculator, bhava chalit chart, Sripati house cusps, cusp based house chart
28+
* Vedic astrology.
29+
*
30+
* POST /vedic-astrology/bhav-chalit
31+
*/
32+
class CalculateBhavChalitRequest extends Request implements HasBody
33+
{
34+
use HasJsonBody;
35+
36+
protected Method $method = Method::POST;
37+
38+
public function __construct(
39+
public readonly string $date,
40+
public readonly float $latitude,
41+
public readonly float $longitude,
42+
public readonly string $time,
43+
public readonly mixed $timezone = null,
44+
public readonly ?string $focus = null,
45+
public readonly ?string $lang = null,
46+
) {
47+
}
48+
49+
public function resolveEndpoint(): string
50+
{
51+
return "/vedic-astrology/bhav-chalit";
52+
}
53+
54+
/**
55+
* @return array<string, mixed>
56+
*/
57+
protected function defaultBody(): array
58+
{
59+
$body = [];
60+
$body['date'] = $this->date;
61+
$body['latitude'] = $this->latitude;
62+
$body['longitude'] = $this->longitude;
63+
$body['time'] = $this->time;
64+
if ($this->timezone !== null) {
65+
$body['timezone'] = $this->timezone;
66+
}
67+
68+
return $body;
69+
}
70+
71+
/**
72+
* @return array<string, mixed>
73+
*/
74+
protected function defaultQuery(): array
75+
{
76+
$query = [];
77+
if ($this->focus !== null) {
78+
$query['focus'] = $this->focus;
79+
}
80+
if ($this->lang !== null) {
81+
$query['lang'] = $this->lang;
82+
}
83+
84+
return $query;
85+
}
86+
}
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/**
6+
* AUTO-GENERATED by scripts/generate.mjs from the live OpenAPI spec.
7+
* Do not edit this file by hand. Regenerate with: node scripts/generate.mjs
8+
*/
9+
10+
namespace RoxyAPI\Sdk\Generated\Requests;
11+
12+
use Saloon\Enums\Method;
13+
use Saloon\Http\Request;
14+
use Saloon\Contracts\Body\HasBody;
15+
use Saloon\Traits\Body\HasJsonBody;
16+
17+
/**
18+
* Get Bhava Bala (house strength) for all twelve houses - Bhava Bala Calculator API
19+
*
20+
* Calculate Bhava Bala (house strength) for all twelve bhavas per Brihat Parashara Hora
21+
* Shastra (BPHS) and BV Raman Graha and Bhava Balas. Returns the three classical components
22+
* (Bhavadhipati Bala from the house lord Shadbala, Bhava Digbala from the rashi class and
23+
* direction, Bhava Drishti Bala from aspects on the bhava madhya) plus totals in virupas and
24+
* rupas and a strength ranking. Bhavas are built on unequal Sripati mid-cusps, so a house near
25+
* a sign boundary is measured where it actually falls. Shadbala measures which graha is
26+
* strong, Bhava Bala measures which life area is strong, and reading both together is how a
27+
* practitioner separates a strong planet in a weak house from a weak planet in a strong one.
28+
* Bhava Bala calculator API, house strength Vedic astrology, bhava bala virupas, Bhavadhipati
29+
* Bala, Bhava Digbala, Sripati bhava madhya.
30+
*
31+
* POST /vedic-astrology/bhava-bala
32+
*/
33+
class CalculateBhavaBalaRequest extends Request implements HasBody
34+
{
35+
use HasJsonBody;
36+
37+
protected Method $method = Method::POST;
38+
39+
public function __construct(
40+
public readonly string $date,
41+
public readonly float $latitude,
42+
public readonly float $longitude,
43+
public readonly string $time,
44+
public readonly mixed $timezone = null,
45+
public readonly ?string $focus = null,
46+
public readonly ?string $lang = null,
47+
) {
48+
}
49+
50+
public function resolveEndpoint(): string
51+
{
52+
return "/vedic-astrology/bhava-bala";
53+
}
54+
55+
/**
56+
* @return array<string, mixed>
57+
*/
58+
protected function defaultBody(): array
59+
{
60+
$body = [];
61+
$body['date'] = $this->date;
62+
$body['latitude'] = $this->latitude;
63+
$body['longitude'] = $this->longitude;
64+
$body['time'] = $this->time;
65+
if ($this->timezone !== null) {
66+
$body['timezone'] = $this->timezone;
67+
}
68+
69+
return $body;
70+
}
71+
72+
/**
73+
* @return array<string, mixed>
74+
*/
75+
protected function defaultQuery(): array
76+
{
77+
$query = [];
78+
if ($this->focus !== null) {
79+
$query['focus'] = $this->focus;
80+
}
81+
if ($this->lang !== null) {
82+
$query['lang'] = $this->lang;
83+
}
84+
85+
return $query;
86+
}
87+
}

src/Generated/Resources/TarotResource.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ class TarotResource extends BaseResource
4141
* POST /tarot/spreads/career
4242
*
4343
* @param string|null $question
44+
* Optional querent question to focus the career spread. It is echoed back on the reading and
45+
* gives the five career positions their context. Omit for general work and vocation guidance.
4446
* @param string|null $seed
47+
* Optional seed for reproducible results. The same seed always draws the same five cards into
48+
* the same career positions, which is what lets a reading be shared or re-rendered. Omit for a
49+
* random draw.
4550
* @param string|null $lang
4651
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en.
4752
* Languages without translations yet return English.
@@ -79,7 +84,12 @@ public function castCareerSpread(
7984
* POST /tarot/spreads/celtic-cross
8085
*
8186
* @param string|null $question
87+
* Optional querent question to focus the Celtic Cross. It is echoed back on the reading and
88+
* gives the ten positions their context. Omit for a general reading of the situation.
8289
* @param string|null $seed
90+
* Optional seed for reproducible results. The same seed always draws the same ten cards into
91+
* the same Celtic Cross positions, which is what lets a reading be shared or re-rendered. Omit
92+
* for a random draw.
8393
* @param string|null $lang
8494
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en.
8595
* Languages without translations yet return English.
@@ -170,7 +180,12 @@ public function castCustomSpread(
170180
* POST /tarot/spreads/love
171181
*
172182
* @param string|null $question
183+
* Optional querent question to focus the love spread. It is echoed back on the reading and
184+
* gives the five relationship positions their context. Omit for general relationship guidance.
173185
* @param string|null $seed
186+
* Optional seed for reproducible results. The same seed always draws the same five cards into
187+
* the same love positions, which is what lets a reading be shared or re-rendered. Omit for a
188+
* random draw.
174189
* @param string|null $lang
175190
* Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en.
176191
* Languages without translations yet return English.

0 commit comments

Comments
 (0)