Skip to content

Commit cd27468

Browse files
release: v0.1.43
1 parent ff4610f commit cd27468

7 files changed

Lines changed: 1250 additions & 121 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.42"
87+
"version": "0.1.43"
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.42",
4+
"version": "0.1.43",
55
"description": "Codegen tooling for the roxyapi/sdk Composer package. Not published.",
66
"type": "module",
77
"scripts": {

specs/openapi.json

Lines changed: 920 additions & 57 deletions
Large diffs are not rendered by default.
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
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+
* Monthly Aspects - Tropical aspect calendar for an entire month
19+
*
20+
* Get every planetary aspect that perfects during a given month, across the 13 non-lunar
21+
* Western bodies: the Sun and Mercury through Pluto, both lunar nodes, Chiron and Black Moon
22+
* Lilith. Detects nine aspects, five major (conjunction, sextile, square, trine, opposition)
23+
* and four minor (semi-sextile, semi-square, sesquiquadrate, quincunx), each with its own
24+
* traditional orb, and returns the exact date and time of closest approach in your timezone
25+
* along with the nature of the aspect. Calculated on tropical longitudes. The Moon is excluded
26+
* because it forms hundreds of aspects a month and belongs in a daily view rather than a
27+
* monthly one. Omit year and month to get the month in progress, so a published calendar stays
28+
* current without a redeploy. Essential for monthly forecast copy, transit calendars,
29+
* electional timing, and newsletter automation. Monthly aspect calendar API, exact aspect
30+
* times, planetary aspect ephemeris, transit timing. Verified against NASA JPL Horizons.
31+
*
32+
* POST /astrology/aspects/monthly
33+
*/
34+
class GetMonthlyTropicalAspectsRequest extends Request implements HasBody
35+
{
36+
use HasJsonBody;
37+
38+
protected Method $method = Method::POST;
39+
40+
public function __construct(
41+
public readonly ?int $month = null,
42+
public readonly ?string $nodeType = null,
43+
public readonly mixed $timezone = null,
44+
public readonly ?int $year = null,
45+
public readonly ?string $lang = null,
46+
) {
47+
}
48+
49+
public function resolveEndpoint(): string
50+
{
51+
return "/astrology/aspects/monthly";
52+
}
53+
54+
/**
55+
* @return array<string, mixed>
56+
*/
57+
protected function defaultBody(): array
58+
{
59+
$body = [];
60+
if ($this->month !== null) {
61+
$body['month'] = $this->month;
62+
}
63+
if ($this->nodeType !== null) {
64+
$body['nodeType'] = $this->nodeType;
65+
}
66+
if ($this->timezone !== null) {
67+
$body['timezone'] = $this->timezone;
68+
}
69+
if ($this->year !== null) {
70+
$body['year'] = $this->year;
71+
}
72+
73+
return $body;
74+
}
75+
76+
/**
77+
* @return array<string, mixed>
78+
*/
79+
protected function defaultQuery(): array
80+
{
81+
$query = [];
82+
if ($this->lang !== null) {
83+
$query['lang'] = $this->lang;
84+
}
85+
86+
return $query;
87+
}
88+
}
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+
* Monthly Transits - Tropical sign ingresses for an entire month
19+
*
20+
* Get every tropical sign change for a given month, for all 14 Western bodies: the Sun through
21+
* Pluto, both lunar nodes, Chiron and Black Moon Lilith. Returns the starting sign of each
22+
* body on the first of the month and then each ingress with its exact date and time in your
23+
* timezone. Omit year and month to get the month in progress, so a published transit calendar
24+
* stays current without a redeploy. Essential for transit calendars, monthly forecast copy,
25+
* retrograde and ingress tracking, and newsletter automation. Monthly transit API, planetary
26+
* ingress calendar, sign change dates, tropical transit table. Verified against NASA JPL
27+
* Horizons, with the four cardinal ingresses cross-checked against published equinox and
28+
* solstice times.
29+
*
30+
* POST /astrology/transits/monthly
31+
*/
32+
class GetMonthlyTropicalTransitsRequest extends Request implements HasBody
33+
{
34+
use HasJsonBody;
35+
36+
protected Method $method = Method::POST;
37+
38+
public function __construct(
39+
public readonly ?int $month = null,
40+
public readonly ?string $nodeType = null,
41+
public readonly mixed $timezone = null,
42+
public readonly ?int $year = null,
43+
public readonly ?string $lang = null,
44+
) {
45+
}
46+
47+
public function resolveEndpoint(): string
48+
{
49+
return "/astrology/transits/monthly";
50+
}
51+
52+
/**
53+
* @return array<string, mixed>
54+
*/
55+
protected function defaultBody(): array
56+
{
57+
$body = [];
58+
if ($this->month !== null) {
59+
$body['month'] = $this->month;
60+
}
61+
if ($this->nodeType !== null) {
62+
$body['nodeType'] = $this->nodeType;
63+
}
64+
if ($this->timezone !== null) {
65+
$body['timezone'] = $this->timezone;
66+
}
67+
if ($this->year !== null) {
68+
$body['year'] = $this->year;
69+
}
70+
71+
return $body;
72+
}
73+
74+
/**
75+
* @return array<string, mixed>
76+
*/
77+
protected function defaultQuery(): array
78+
{
79+
$query = [];
80+
if ($this->lang !== null) {
81+
$query['lang'] = $this->lang;
82+
}
83+
84+
return $query;
85+
}
86+
}

0 commit comments

Comments
 (0)