@astroway/sdk 1.2.0 → 1.3.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/README.md +22 -0
- package/dist/namespaces.generated.d.ts +2 -2
- package/dist/namespaces.generated.d.ts.map +1 -1
- package/dist/types.generated.d.ts +624 -27
- package/dist/types.generated.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -655,7 +655,7 @@ export interface paths {
|
|
|
655
655
|
/**
|
|
656
656
|
* Vedic Divisional Chart (DEPRECATED — use /vedic/varga/{D}<*>)
|
|
657
657
|
* @deprecated
|
|
658
|
-
* @description DEPRECATED
|
|
658
|
+
* @description DEPRECATED — moved to dedicated per-varga endpoints `/vedic/varga/{D1..D60}` for OpenAPI/SDK ergonomics. This generic endpoint still works and stays live until its 2027-06-15 sunset (12-month, per the /v1 stability policy), then will be removed — migrate to `/vedic/varga/{D}`. Calculate a Vedic divisional (varga) chart using sidereal zodiac. Supported vargas: D1–D60 (e.g. D9 Navamsha).
|
|
659
659
|
*/
|
|
660
660
|
post: operations["vedic-divisional"];
|
|
661
661
|
delete?: never;
|
|
@@ -7234,8 +7234,9 @@ export interface paths {
|
|
|
7234
7234
|
get?: never;
|
|
7235
7235
|
put?: never;
|
|
7236
7236
|
/**
|
|
7237
|
-
* I Ching Hexagram
|
|
7238
|
-
* @
|
|
7237
|
+
* I Ching Hexagram (DEPRECATED — use /iching/throw-coins)
|
|
7238
|
+
* @deprecated
|
|
7239
|
+
* @description DEPRECATED — legacy un-namespaced random hexagram cast. Superseded by the /iching/* namespace: `/iching/throw-coins` (seeded + reproducible), `/iching/by-question`, `/iching/with-changing-lines`, `/iching/daily`, `/iching/lookup/{n}` — all on the Wilhelm-Baynes hexagram set. Still works until its 2027-06-16 sunset, then removed. Casts a single I Ching hexagram (input ignored).
|
|
7239
7240
|
*/
|
|
7240
7241
|
post: operations["iching"];
|
|
7241
7242
|
delete?: never;
|
|
@@ -7254,9 +7255,9 @@ export interface paths {
|
|
|
7254
7255
|
get?: never;
|
|
7255
7256
|
put?: never;
|
|
7256
7257
|
/**
|
|
7257
|
-
* Djamaspa (DEPRECATED — RED quality,
|
|
7258
|
+
* Djamaspa (DEPRECATED — RED quality, sunset 2027-06-15)
|
|
7258
7259
|
* @deprecated
|
|
7259
|
-
* @description DEPRECATED
|
|
7260
|
+
* @description DEPRECATED — RED quality (oral Zoroastrian tradition, scattered manuscripts, no canonical reference). Still works until its 2027-06-15 sunset (12-month, per the /v1 stability policy), then will be removed. Migrate to broader /reference endpoints or remove the dependency. Calculate Djamaspa planetary positions for date.
|
|
7260
7261
|
*/
|
|
7261
7262
|
post: operations["djamaspa"];
|
|
7262
7263
|
delete?: never;
|
|
@@ -10829,6 +10830,26 @@ export interface paths {
|
|
|
10829
10830
|
patch?: never;
|
|
10830
10831
|
trace?: never;
|
|
10831
10832
|
};
|
|
10833
|
+
"/reports/history": {
|
|
10834
|
+
parameters: {
|
|
10835
|
+
query?: never;
|
|
10836
|
+
header?: never;
|
|
10837
|
+
path?: never;
|
|
10838
|
+
cookie?: never;
|
|
10839
|
+
};
|
|
10840
|
+
/**
|
|
10841
|
+
* List Recent Report Exports
|
|
10842
|
+
* @description List the calling key's most recently generated PDF reports — type, byte size, page count, language, created/expiry timestamps and a `url`. Re-fetch a report link within its 24h validity window, or surface recent exports in a dashboard. PDFs are purged after 24h, so older items return `expired: true` with a now-dead URL. Free to call. Query `?limit=` (1–50, default 10).
|
|
10843
|
+
*/
|
|
10844
|
+
get: operations["reports_history_get"];
|
|
10845
|
+
put?: never;
|
|
10846
|
+
post?: never;
|
|
10847
|
+
delete?: never;
|
|
10848
|
+
options?: never;
|
|
10849
|
+
head?: never;
|
|
10850
|
+
patch?: never;
|
|
10851
|
+
trace?: never;
|
|
10852
|
+
};
|
|
10832
10853
|
"/reports/ai/natal-narrative": {
|
|
10833
10854
|
parameters: {
|
|
10834
10855
|
query?: never;
|
|
@@ -14313,6 +14334,480 @@ export interface paths {
|
|
|
14313
14334
|
patch?: never;
|
|
14314
14335
|
trace?: never;
|
|
14315
14336
|
};
|
|
14337
|
+
"/public/horoscope/daily": {
|
|
14338
|
+
parameters: {
|
|
14339
|
+
query?: never;
|
|
14340
|
+
header?: never;
|
|
14341
|
+
path?: never;
|
|
14342
|
+
cookie?: never;
|
|
14343
|
+
};
|
|
14344
|
+
/**
|
|
14345
|
+
* Daily Horoscope (public, no key)
|
|
14346
|
+
* @description Sun-sign daily horoscope. No authentication, IP-rate-limited (30/hr). Cached per (sign, date, language); every response carries the `_footer` watermark.
|
|
14347
|
+
*/
|
|
14348
|
+
get: {
|
|
14349
|
+
parameters: {
|
|
14350
|
+
query: {
|
|
14351
|
+
/** @description Zodiac sun sign. */
|
|
14352
|
+
sign: "aries" | "taurus" | "gemini" | "cancer" | "leo" | "virgo" | "libra" | "scorpio" | "sagittarius" | "capricorn" | "aquarius" | "pisces";
|
|
14353
|
+
/** @description Calendar date `YYYY-MM-DD` (UTC). Defaults to today. */
|
|
14354
|
+
date?: string;
|
|
14355
|
+
};
|
|
14356
|
+
header?: {
|
|
14357
|
+
/** @description BCP-47 language (e.g. `uk`, `en`, `de`) — sets the horoscope text language. `?lang=` also works. */
|
|
14358
|
+
"Accept-Language"?: string;
|
|
14359
|
+
};
|
|
14360
|
+
path?: never;
|
|
14361
|
+
cookie?: never;
|
|
14362
|
+
};
|
|
14363
|
+
requestBody?: never;
|
|
14364
|
+
responses: {
|
|
14365
|
+
/** @description OK */
|
|
14366
|
+
200: {
|
|
14367
|
+
headers: {
|
|
14368
|
+
[name: string]: unknown;
|
|
14369
|
+
};
|
|
14370
|
+
content: {
|
|
14371
|
+
/**
|
|
14372
|
+
* @example {
|
|
14373
|
+
* "ok": true,
|
|
14374
|
+
* "data": {
|
|
14375
|
+
* "sign": "aries",
|
|
14376
|
+
* "date": "2026-06-14",
|
|
14377
|
+
* "period": "daily",
|
|
14378
|
+
* "horoscope": "## …\n…",
|
|
14379
|
+
* "disclaimer": "For entertainment purposes only.",
|
|
14380
|
+
* "model": "groq/llama-3.3-70b",
|
|
14381
|
+
* "language": "en"
|
|
14382
|
+
* },
|
|
14383
|
+
* "_footer": "Powered by astroway.api — get your own key at https://api.astroway.info"
|
|
14384
|
+
* }
|
|
14385
|
+
*/
|
|
14386
|
+
"application/json": unknown;
|
|
14387
|
+
};
|
|
14388
|
+
};
|
|
14389
|
+
/** @description Invalid sign or date */
|
|
14390
|
+
400: {
|
|
14391
|
+
headers: {
|
|
14392
|
+
[name: string]: unknown;
|
|
14393
|
+
};
|
|
14394
|
+
content: {
|
|
14395
|
+
/**
|
|
14396
|
+
* @example {
|
|
14397
|
+
* "ok": false,
|
|
14398
|
+
* "error": {
|
|
14399
|
+
* "code": "INVALID_SIGN",
|
|
14400
|
+
* "message": "sign must be one of the 12 zodiac signs"
|
|
14401
|
+
* }
|
|
14402
|
+
* }
|
|
14403
|
+
*/
|
|
14404
|
+
"application/json": unknown;
|
|
14405
|
+
};
|
|
14406
|
+
};
|
|
14407
|
+
};
|
|
14408
|
+
};
|
|
14409
|
+
put?: never;
|
|
14410
|
+
post?: never;
|
|
14411
|
+
delete?: never;
|
|
14412
|
+
options?: never;
|
|
14413
|
+
head?: never;
|
|
14414
|
+
patch?: never;
|
|
14415
|
+
trace?: never;
|
|
14416
|
+
};
|
|
14417
|
+
"/public/horoscope/weekly": {
|
|
14418
|
+
parameters: {
|
|
14419
|
+
query?: never;
|
|
14420
|
+
header?: never;
|
|
14421
|
+
path?: never;
|
|
14422
|
+
cookie?: never;
|
|
14423
|
+
};
|
|
14424
|
+
/**
|
|
14425
|
+
* Weekly Horoscope (public, no key)
|
|
14426
|
+
* @description Sun-sign weekly horoscope. The cache key anchors to the week's Monday, so any day in the week returns the same reading (and a finite number of generations per week). `_footer` watermark.
|
|
14427
|
+
*/
|
|
14428
|
+
get: {
|
|
14429
|
+
parameters: {
|
|
14430
|
+
query: {
|
|
14431
|
+
/** @description Zodiac sun sign. */
|
|
14432
|
+
sign: "aries" | "taurus" | "gemini" | "cancer" | "leo" | "virgo" | "libra" | "scorpio" | "sagittarius" | "capricorn" | "aquarius" | "pisces";
|
|
14433
|
+
/** @description Calendar date `YYYY-MM-DD` (UTC). Defaults to today. */
|
|
14434
|
+
date?: string;
|
|
14435
|
+
};
|
|
14436
|
+
header?: {
|
|
14437
|
+
/** @description BCP-47 language (e.g. `uk`, `en`, `de`) — sets the horoscope text language. `?lang=` also works. */
|
|
14438
|
+
"Accept-Language"?: string;
|
|
14439
|
+
};
|
|
14440
|
+
path?: never;
|
|
14441
|
+
cookie?: never;
|
|
14442
|
+
};
|
|
14443
|
+
requestBody?: never;
|
|
14444
|
+
responses: {
|
|
14445
|
+
/** @description OK */
|
|
14446
|
+
200: {
|
|
14447
|
+
headers: {
|
|
14448
|
+
[name: string]: unknown;
|
|
14449
|
+
};
|
|
14450
|
+
content: {
|
|
14451
|
+
/**
|
|
14452
|
+
* @example {
|
|
14453
|
+
* "ok": true,
|
|
14454
|
+
* "data": {
|
|
14455
|
+
* "sign": "aries",
|
|
14456
|
+
* "date": "2026-06-08",
|
|
14457
|
+
* "period": "weekly",
|
|
14458
|
+
* "horoscope": "## …\n…",
|
|
14459
|
+
* "disclaimer": "For entertainment purposes only.",
|
|
14460
|
+
* "model": "groq/llama-3.3-70b",
|
|
14461
|
+
* "language": "en"
|
|
14462
|
+
* },
|
|
14463
|
+
* "_footer": "Powered by astroway.api — get your own key at https://api.astroway.info"
|
|
14464
|
+
* }
|
|
14465
|
+
*/
|
|
14466
|
+
"application/json": unknown;
|
|
14467
|
+
};
|
|
14468
|
+
};
|
|
14469
|
+
/** @description Invalid sign or date */
|
|
14470
|
+
400: {
|
|
14471
|
+
headers: {
|
|
14472
|
+
[name: string]: unknown;
|
|
14473
|
+
};
|
|
14474
|
+
content: {
|
|
14475
|
+
/**
|
|
14476
|
+
* @example {
|
|
14477
|
+
* "ok": false,
|
|
14478
|
+
* "error": {
|
|
14479
|
+
* "code": "INVALID_SIGN",
|
|
14480
|
+
* "message": "sign must be one of the 12 zodiac signs"
|
|
14481
|
+
* }
|
|
14482
|
+
* }
|
|
14483
|
+
*/
|
|
14484
|
+
"application/json": unknown;
|
|
14485
|
+
};
|
|
14486
|
+
};
|
|
14487
|
+
};
|
|
14488
|
+
};
|
|
14489
|
+
put?: never;
|
|
14490
|
+
post?: never;
|
|
14491
|
+
delete?: never;
|
|
14492
|
+
options?: never;
|
|
14493
|
+
head?: never;
|
|
14494
|
+
patch?: never;
|
|
14495
|
+
trace?: never;
|
|
14496
|
+
};
|
|
14497
|
+
"/public/horoscope/monthly": {
|
|
14498
|
+
parameters: {
|
|
14499
|
+
query?: never;
|
|
14500
|
+
header?: never;
|
|
14501
|
+
path?: never;
|
|
14502
|
+
cookie?: never;
|
|
14503
|
+
};
|
|
14504
|
+
/**
|
|
14505
|
+
* Monthly Horoscope (public, no key)
|
|
14506
|
+
* @description Sun-sign monthly horoscope. The cache key anchors to the 1st of the month. `_footer` watermark.
|
|
14507
|
+
*/
|
|
14508
|
+
get: {
|
|
14509
|
+
parameters: {
|
|
14510
|
+
query: {
|
|
14511
|
+
/** @description Zodiac sun sign. */
|
|
14512
|
+
sign: "aries" | "taurus" | "gemini" | "cancer" | "leo" | "virgo" | "libra" | "scorpio" | "sagittarius" | "capricorn" | "aquarius" | "pisces";
|
|
14513
|
+
/** @description Calendar date `YYYY-MM-DD` (UTC). Defaults to today. */
|
|
14514
|
+
date?: string;
|
|
14515
|
+
};
|
|
14516
|
+
header?: {
|
|
14517
|
+
/** @description BCP-47 language (e.g. `uk`, `en`, `de`) — sets the horoscope text language. `?lang=` also works. */
|
|
14518
|
+
"Accept-Language"?: string;
|
|
14519
|
+
};
|
|
14520
|
+
path?: never;
|
|
14521
|
+
cookie?: never;
|
|
14522
|
+
};
|
|
14523
|
+
requestBody?: never;
|
|
14524
|
+
responses: {
|
|
14525
|
+
/** @description OK */
|
|
14526
|
+
200: {
|
|
14527
|
+
headers: {
|
|
14528
|
+
[name: string]: unknown;
|
|
14529
|
+
};
|
|
14530
|
+
content: {
|
|
14531
|
+
/**
|
|
14532
|
+
* @example {
|
|
14533
|
+
* "ok": true,
|
|
14534
|
+
* "data": {
|
|
14535
|
+
* "sign": "aries",
|
|
14536
|
+
* "date": "2026-06-01",
|
|
14537
|
+
* "period": "monthly",
|
|
14538
|
+
* "horoscope": "## …\n…",
|
|
14539
|
+
* "disclaimer": "For entertainment purposes only.",
|
|
14540
|
+
* "model": "groq/llama-3.3-70b",
|
|
14541
|
+
* "language": "en"
|
|
14542
|
+
* },
|
|
14543
|
+
* "_footer": "Powered by astroway.api — get your own key at https://api.astroway.info"
|
|
14544
|
+
* }
|
|
14545
|
+
*/
|
|
14546
|
+
"application/json": unknown;
|
|
14547
|
+
};
|
|
14548
|
+
};
|
|
14549
|
+
/** @description Invalid sign or date */
|
|
14550
|
+
400: {
|
|
14551
|
+
headers: {
|
|
14552
|
+
[name: string]: unknown;
|
|
14553
|
+
};
|
|
14554
|
+
content: {
|
|
14555
|
+
/**
|
|
14556
|
+
* @example {
|
|
14557
|
+
* "ok": false,
|
|
14558
|
+
* "error": {
|
|
14559
|
+
* "code": "INVALID_SIGN",
|
|
14560
|
+
* "message": "sign must be one of the 12 zodiac signs"
|
|
14561
|
+
* }
|
|
14562
|
+
* }
|
|
14563
|
+
*/
|
|
14564
|
+
"application/json": unknown;
|
|
14565
|
+
};
|
|
14566
|
+
};
|
|
14567
|
+
};
|
|
14568
|
+
};
|
|
14569
|
+
put?: never;
|
|
14570
|
+
post?: never;
|
|
14571
|
+
delete?: never;
|
|
14572
|
+
options?: never;
|
|
14573
|
+
head?: never;
|
|
14574
|
+
patch?: never;
|
|
14575
|
+
trace?: never;
|
|
14576
|
+
};
|
|
14577
|
+
"/public/tarot/daily": {
|
|
14578
|
+
parameters: {
|
|
14579
|
+
query?: never;
|
|
14580
|
+
header?: never;
|
|
14581
|
+
path?: never;
|
|
14582
|
+
cookie?: never;
|
|
14583
|
+
};
|
|
14584
|
+
/**
|
|
14585
|
+
* Tarot Card of the Day (public, no key)
|
|
14586
|
+
* @description Deterministic Rider–Waite–Smith single card, seeded by date — the same date always yields the same card. No AI. `_footer` watermark.
|
|
14587
|
+
*/
|
|
14588
|
+
get: {
|
|
14589
|
+
parameters: {
|
|
14590
|
+
query?: {
|
|
14591
|
+
/** @description Calendar date `YYYY-MM-DD` (UTC). Defaults to today. */
|
|
14592
|
+
date?: string;
|
|
14593
|
+
};
|
|
14594
|
+
header?: never;
|
|
14595
|
+
path?: never;
|
|
14596
|
+
cookie?: never;
|
|
14597
|
+
};
|
|
14598
|
+
requestBody?: never;
|
|
14599
|
+
responses: {
|
|
14600
|
+
/** @description OK */
|
|
14601
|
+
200: {
|
|
14602
|
+
headers: {
|
|
14603
|
+
[name: string]: unknown;
|
|
14604
|
+
};
|
|
14605
|
+
content: {
|
|
14606
|
+
/**
|
|
14607
|
+
* @example {
|
|
14608
|
+
* "ok": true,
|
|
14609
|
+
* "data": {
|
|
14610
|
+
* "date": "2026-06-14",
|
|
14611
|
+
* "spread": "single-card",
|
|
14612
|
+
* "seed": 1734220800,
|
|
14613
|
+
* "drawn": [
|
|
14614
|
+
* {
|
|
14615
|
+
* "position": "The card",
|
|
14616
|
+
* "card": "The Star",
|
|
14617
|
+
* "reversed": false
|
|
14618
|
+
* }
|
|
14619
|
+
* ]
|
|
14620
|
+
* },
|
|
14621
|
+
* "_footer": "Powered by astroway.api — get your own key at https://api.astroway.info"
|
|
14622
|
+
* }
|
|
14623
|
+
*/
|
|
14624
|
+
"application/json": unknown;
|
|
14625
|
+
};
|
|
14626
|
+
};
|
|
14627
|
+
/** @description Invalid sign or date */
|
|
14628
|
+
400: {
|
|
14629
|
+
headers: {
|
|
14630
|
+
[name: string]: unknown;
|
|
14631
|
+
};
|
|
14632
|
+
content: {
|
|
14633
|
+
/**
|
|
14634
|
+
* @example {
|
|
14635
|
+
* "ok": false,
|
|
14636
|
+
* "error": {
|
|
14637
|
+
* "code": "INVALID_SIGN",
|
|
14638
|
+
* "message": "sign must be one of the 12 zodiac signs"
|
|
14639
|
+
* }
|
|
14640
|
+
* }
|
|
14641
|
+
*/
|
|
14642
|
+
"application/json": unknown;
|
|
14643
|
+
};
|
|
14644
|
+
};
|
|
14645
|
+
};
|
|
14646
|
+
};
|
|
14647
|
+
put?: never;
|
|
14648
|
+
post?: never;
|
|
14649
|
+
delete?: never;
|
|
14650
|
+
options?: never;
|
|
14651
|
+
head?: never;
|
|
14652
|
+
patch?: never;
|
|
14653
|
+
trace?: never;
|
|
14654
|
+
};
|
|
14655
|
+
"/public/moon-phase": {
|
|
14656
|
+
parameters: {
|
|
14657
|
+
query?: never;
|
|
14658
|
+
header?: never;
|
|
14659
|
+
path?: never;
|
|
14660
|
+
cookie?: never;
|
|
14661
|
+
};
|
|
14662
|
+
/**
|
|
14663
|
+
* Moon Phase (public, no key)
|
|
14664
|
+
* @description Geocentric moon phase for a date (computed at noon UTC) — deterministic, no AI, no birth data. `_footer` watermark.
|
|
14665
|
+
*/
|
|
14666
|
+
get: {
|
|
14667
|
+
parameters: {
|
|
14668
|
+
query?: {
|
|
14669
|
+
/** @description Calendar date `YYYY-MM-DD` (UTC). Defaults to today. */
|
|
14670
|
+
date?: string;
|
|
14671
|
+
};
|
|
14672
|
+
header?: never;
|
|
14673
|
+
path?: never;
|
|
14674
|
+
cookie?: never;
|
|
14675
|
+
};
|
|
14676
|
+
requestBody?: never;
|
|
14677
|
+
responses: {
|
|
14678
|
+
/** @description OK */
|
|
14679
|
+
200: {
|
|
14680
|
+
headers: {
|
|
14681
|
+
[name: string]: unknown;
|
|
14682
|
+
};
|
|
14683
|
+
content: {
|
|
14684
|
+
/**
|
|
14685
|
+
* @example {
|
|
14686
|
+
* "ok": true,
|
|
14687
|
+
* "data": {
|
|
14688
|
+
* "date": "2026-06-14",
|
|
14689
|
+
* "phase": 0.006,
|
|
14690
|
+
* "phaseName": "New Moon",
|
|
14691
|
+
* "majorPhase": "new_moon",
|
|
14692
|
+
* "illuminationPercent": 0.6,
|
|
14693
|
+
* "elongationDeg": 8.9,
|
|
14694
|
+
* "ageDays": 0.73,
|
|
14695
|
+
* "waxing": true,
|
|
14696
|
+
* "moonSign": "Gemini",
|
|
14697
|
+
* "sunSign": "Gemini"
|
|
14698
|
+
* },
|
|
14699
|
+
* "_footer": "Powered by astroway.api — get your own key at https://api.astroway.info"
|
|
14700
|
+
* }
|
|
14701
|
+
*/
|
|
14702
|
+
"application/json": unknown;
|
|
14703
|
+
};
|
|
14704
|
+
};
|
|
14705
|
+
/** @description Invalid sign or date */
|
|
14706
|
+
400: {
|
|
14707
|
+
headers: {
|
|
14708
|
+
[name: string]: unknown;
|
|
14709
|
+
};
|
|
14710
|
+
content: {
|
|
14711
|
+
/**
|
|
14712
|
+
* @example {
|
|
14713
|
+
* "ok": false,
|
|
14714
|
+
* "error": {
|
|
14715
|
+
* "code": "INVALID_SIGN",
|
|
14716
|
+
* "message": "sign must be one of the 12 zodiac signs"
|
|
14717
|
+
* }
|
|
14718
|
+
* }
|
|
14719
|
+
*/
|
|
14720
|
+
"application/json": unknown;
|
|
14721
|
+
};
|
|
14722
|
+
};
|
|
14723
|
+
};
|
|
14724
|
+
};
|
|
14725
|
+
put?: never;
|
|
14726
|
+
post?: never;
|
|
14727
|
+
delete?: never;
|
|
14728
|
+
options?: never;
|
|
14729
|
+
head?: never;
|
|
14730
|
+
patch?: never;
|
|
14731
|
+
trace?: never;
|
|
14732
|
+
};
|
|
14733
|
+
"/public/planet-of-day": {
|
|
14734
|
+
parameters: {
|
|
14735
|
+
query?: never;
|
|
14736
|
+
header?: never;
|
|
14737
|
+
path?: never;
|
|
14738
|
+
cookie?: never;
|
|
14739
|
+
};
|
|
14740
|
+
/**
|
|
14741
|
+
* Planet of the Day (public, no key)
|
|
14742
|
+
* @description Traditional (Chaldean) planetary ruler of the weekday — Sun=Sunday, Moon=Monday, …, Saturn=Saturday. Deterministic, no AI. `_footer` watermark.
|
|
14743
|
+
*/
|
|
14744
|
+
get: {
|
|
14745
|
+
parameters: {
|
|
14746
|
+
query?: {
|
|
14747
|
+
/** @description Calendar date `YYYY-MM-DD` (UTC). Defaults to today. */
|
|
14748
|
+
date?: string;
|
|
14749
|
+
};
|
|
14750
|
+
header?: never;
|
|
14751
|
+
path?: never;
|
|
14752
|
+
cookie?: never;
|
|
14753
|
+
};
|
|
14754
|
+
requestBody?: never;
|
|
14755
|
+
responses: {
|
|
14756
|
+
/** @description OK */
|
|
14757
|
+
200: {
|
|
14758
|
+
headers: {
|
|
14759
|
+
[name: string]: unknown;
|
|
14760
|
+
};
|
|
14761
|
+
content: {
|
|
14762
|
+
/**
|
|
14763
|
+
* @example {
|
|
14764
|
+
* "ok": true,
|
|
14765
|
+
* "data": {
|
|
14766
|
+
* "date": "2026-06-14",
|
|
14767
|
+
* "weekday": "Sunday",
|
|
14768
|
+
* "planet": "Sun",
|
|
14769
|
+
* "glyph": "☉",
|
|
14770
|
+
* "themes": [
|
|
14771
|
+
* "vitality",
|
|
14772
|
+
* "success",
|
|
14773
|
+
* "leadership",
|
|
14774
|
+
* "self-expression"
|
|
14775
|
+
* ]
|
|
14776
|
+
* },
|
|
14777
|
+
* "_footer": "Powered by astroway.api — get your own key at https://api.astroway.info"
|
|
14778
|
+
* }
|
|
14779
|
+
*/
|
|
14780
|
+
"application/json": unknown;
|
|
14781
|
+
};
|
|
14782
|
+
};
|
|
14783
|
+
/** @description Invalid sign or date */
|
|
14784
|
+
400: {
|
|
14785
|
+
headers: {
|
|
14786
|
+
[name: string]: unknown;
|
|
14787
|
+
};
|
|
14788
|
+
content: {
|
|
14789
|
+
/**
|
|
14790
|
+
* @example {
|
|
14791
|
+
* "ok": false,
|
|
14792
|
+
* "error": {
|
|
14793
|
+
* "code": "INVALID_SIGN",
|
|
14794
|
+
* "message": "sign must be one of the 12 zodiac signs"
|
|
14795
|
+
* }
|
|
14796
|
+
* }
|
|
14797
|
+
*/
|
|
14798
|
+
"application/json": unknown;
|
|
14799
|
+
};
|
|
14800
|
+
};
|
|
14801
|
+
};
|
|
14802
|
+
};
|
|
14803
|
+
put?: never;
|
|
14804
|
+
post?: never;
|
|
14805
|
+
delete?: never;
|
|
14806
|
+
options?: never;
|
|
14807
|
+
head?: never;
|
|
14808
|
+
patch?: never;
|
|
14809
|
+
trace?: never;
|
|
14810
|
+
};
|
|
14316
14811
|
}
|
|
14317
14812
|
export type webhooks = Record<string, never>;
|
|
14318
14813
|
export interface components {
|
|
@@ -14914,7 +15409,9 @@ export interface components {
|
|
|
14914
15409
|
textPrimaryColor?: string;
|
|
14915
15410
|
textSecondaryColor?: string;
|
|
14916
15411
|
backgroundColor?: string;
|
|
15412
|
+
/** @description Accent colour — used for section heading text and inline emphasis. */
|
|
14917
15413
|
themeColor?: string;
|
|
15414
|
+
/** @description Colour of the divider rule under each section heading (not the heading text — that is themeColor). */
|
|
14918
15415
|
headingColor?: string;
|
|
14919
15416
|
footerText?: string;
|
|
14920
15417
|
/** @enum {string} */
|
|
@@ -14949,7 +15446,9 @@ export interface components {
|
|
|
14949
15446
|
textPrimaryColor?: string;
|
|
14950
15447
|
textSecondaryColor?: string;
|
|
14951
15448
|
backgroundColor?: string;
|
|
15449
|
+
/** @description Accent colour — used for section heading text and inline emphasis. */
|
|
14952
15450
|
themeColor?: string;
|
|
15451
|
+
/** @description Colour of the divider rule under each section heading (not the heading text — that is themeColor). */
|
|
14953
15452
|
headingColor?: string;
|
|
14954
15453
|
footerText?: string;
|
|
14955
15454
|
/** @enum {string} */
|
|
@@ -14976,7 +15475,9 @@ export interface components {
|
|
|
14976
15475
|
textPrimaryColor?: string;
|
|
14977
15476
|
textSecondaryColor?: string;
|
|
14978
15477
|
backgroundColor?: string;
|
|
15478
|
+
/** @description Accent colour — used for section heading text and inline emphasis. */
|
|
14979
15479
|
themeColor?: string;
|
|
15480
|
+
/** @description Colour of the divider rule under each section heading (not the heading text — that is themeColor). */
|
|
14980
15481
|
headingColor?: string;
|
|
14981
15482
|
footerText?: string;
|
|
14982
15483
|
/** @enum {string} */
|
|
@@ -15290,7 +15791,9 @@ export interface components {
|
|
|
15290
15791
|
textPrimaryColor?: string;
|
|
15291
15792
|
textSecondaryColor?: string;
|
|
15292
15793
|
backgroundColor?: string;
|
|
15794
|
+
/** @description Accent colour — used for section heading text and inline emphasis. */
|
|
15293
15795
|
themeColor?: string;
|
|
15796
|
+
/** @description Colour of the divider rule under each section heading (not the heading text — that is themeColor). */
|
|
15294
15797
|
headingColor?: string;
|
|
15295
15798
|
footerText?: string;
|
|
15296
15799
|
/** @enum {string} */
|
|
@@ -15339,7 +15842,9 @@ export interface components {
|
|
|
15339
15842
|
textPrimaryColor?: string;
|
|
15340
15843
|
textSecondaryColor?: string;
|
|
15341
15844
|
backgroundColor?: string;
|
|
15845
|
+
/** @description Accent colour — used for section heading text and inline emphasis. */
|
|
15342
15846
|
themeColor?: string;
|
|
15847
|
+
/** @description Colour of the divider rule under each section heading (not the heading text — that is themeColor). */
|
|
15343
15848
|
headingColor?: string;
|
|
15344
15849
|
footerText?: string;
|
|
15345
15850
|
/** @enum {string} */
|
|
@@ -15440,7 +15945,9 @@ export interface components {
|
|
|
15440
15945
|
textPrimaryColor?: string;
|
|
15441
15946
|
textSecondaryColor?: string;
|
|
15442
15947
|
backgroundColor?: string;
|
|
15948
|
+
/** @description Accent colour — used for section heading text and inline emphasis. */
|
|
15443
15949
|
themeColor?: string;
|
|
15950
|
+
/** @description Colour of the divider rule under each section heading (not the heading text — that is themeColor). */
|
|
15444
15951
|
headingColor?: string;
|
|
15445
15952
|
footerText?: string;
|
|
15446
15953
|
/** @enum {string} */
|
|
@@ -15503,7 +16010,9 @@ export interface components {
|
|
|
15503
16010
|
textPrimaryColor?: string;
|
|
15504
16011
|
textSecondaryColor?: string;
|
|
15505
16012
|
backgroundColor?: string;
|
|
16013
|
+
/** @description Accent colour — used for section heading text and inline emphasis. */
|
|
15506
16014
|
themeColor?: string;
|
|
16015
|
+
/** @description Colour of the divider rule under each section heading (not the heading text — that is themeColor). */
|
|
15507
16016
|
headingColor?: string;
|
|
15508
16017
|
footerText?: string;
|
|
15509
16018
|
/** @enum {string} */
|
|
@@ -48085,20 +48594,7 @@ export interface operations {
|
|
|
48085
48594
|
path?: never;
|
|
48086
48595
|
cookie?: never;
|
|
48087
48596
|
};
|
|
48088
|
-
requestBody
|
|
48089
|
-
content: {
|
|
48090
|
-
/**
|
|
48091
|
-
* @example {
|
|
48092
|
-
* "date": "1990-05-15",
|
|
48093
|
-
* "time": "14:30:00",
|
|
48094
|
-
* "timezoneOffset": 3,
|
|
48095
|
-
* "latitude": 50.45,
|
|
48096
|
-
* "longitude": 30.52
|
|
48097
|
-
* }
|
|
48098
|
-
*/
|
|
48099
|
-
"application/json": Record<string, never>;
|
|
48100
|
-
};
|
|
48101
|
-
};
|
|
48597
|
+
requestBody?: never;
|
|
48102
48598
|
responses: {
|
|
48103
48599
|
/** @description Successful calculation */
|
|
48104
48600
|
200: {
|
|
@@ -48110,15 +48606,14 @@ export interface operations {
|
|
|
48110
48606
|
/** @example true */
|
|
48111
48607
|
ok?: boolean;
|
|
48112
48608
|
data?: {
|
|
48113
|
-
|
|
48114
|
-
|
|
48115
|
-
|
|
48116
|
-
|
|
48117
|
-
|
|
48118
|
-
judgment?: string;
|
|
48119
|
-
line?: number;
|
|
48120
|
-
lineText?: string;
|
|
48609
|
+
number?: number;
|
|
48610
|
+
name?: string;
|
|
48611
|
+
lines?: {
|
|
48612
|
+
value?: number;
|
|
48613
|
+
isChanging?: boolean;
|
|
48121
48614
|
}[];
|
|
48615
|
+
upper?: string;
|
|
48616
|
+
lower?: string;
|
|
48122
48617
|
};
|
|
48123
48618
|
};
|
|
48124
48619
|
};
|
|
@@ -65306,6 +65801,108 @@ export interface operations {
|
|
|
65306
65801
|
};
|
|
65307
65802
|
};
|
|
65308
65803
|
};
|
|
65804
|
+
reports_history_get: {
|
|
65805
|
+
parameters: {
|
|
65806
|
+
query?: never;
|
|
65807
|
+
header?: never;
|
|
65808
|
+
path?: never;
|
|
65809
|
+
cookie?: never;
|
|
65810
|
+
};
|
|
65811
|
+
requestBody?: never;
|
|
65812
|
+
responses: {
|
|
65813
|
+
/** @description Successful calculation */
|
|
65814
|
+
200: {
|
|
65815
|
+
headers: {
|
|
65816
|
+
[name: string]: unknown;
|
|
65817
|
+
};
|
|
65818
|
+
content: {
|
|
65819
|
+
/**
|
|
65820
|
+
* @example {
|
|
65821
|
+
* "ok": true,
|
|
65822
|
+
* "data": {
|
|
65823
|
+
* "items": [
|
|
65824
|
+
* {
|
|
65825
|
+
* "id": 42,
|
|
65826
|
+
* "report_type": "natal",
|
|
65827
|
+
* "storage_key": "reports/abc-natal.pdf",
|
|
65828
|
+
* "url": "https://api.astroway.info/reports/abc-natal.pdf",
|
|
65829
|
+
* "byte_length": 124350,
|
|
65830
|
+
* "page_count": 1,
|
|
65831
|
+
* "language": "uk",
|
|
65832
|
+
* "created_at": "2026-06-10T16:00:00Z",
|
|
65833
|
+
* "expires_at": "2026-06-11T16:00:00Z",
|
|
65834
|
+
* "expired": false
|
|
65835
|
+
* }
|
|
65836
|
+
* ],
|
|
65837
|
+
* "count": 1
|
|
65838
|
+
* }
|
|
65839
|
+
* }
|
|
65840
|
+
*/
|
|
65841
|
+
"application/json": {
|
|
65842
|
+
/** @example true */
|
|
65843
|
+
ok?: boolean;
|
|
65844
|
+
data?: {
|
|
65845
|
+
items?: {
|
|
65846
|
+
id?: number;
|
|
65847
|
+
report_type?: string;
|
|
65848
|
+
storage_key?: string;
|
|
65849
|
+
url?: string;
|
|
65850
|
+
byte_length?: number;
|
|
65851
|
+
page_count?: number;
|
|
65852
|
+
language?: string;
|
|
65853
|
+
created_at?: string;
|
|
65854
|
+
expires_at?: string;
|
|
65855
|
+
expired?: boolean;
|
|
65856
|
+
}[];
|
|
65857
|
+
count?: number;
|
|
65858
|
+
};
|
|
65859
|
+
};
|
|
65860
|
+
};
|
|
65861
|
+
};
|
|
65862
|
+
/** @description Validation error */
|
|
65863
|
+
400: {
|
|
65864
|
+
headers: {
|
|
65865
|
+
[name: string]: unknown;
|
|
65866
|
+
};
|
|
65867
|
+
content: {
|
|
65868
|
+
/**
|
|
65869
|
+
* @example {
|
|
65870
|
+
* "ok": false,
|
|
65871
|
+
* "error": {
|
|
65872
|
+
* "code": "INVALID_INPUT",
|
|
65873
|
+
* "message": "Validation failed: date: Date must be YYYY-MM-DD",
|
|
65874
|
+
* "details": [
|
|
65875
|
+
* {
|
|
65876
|
+
* "path": "date",
|
|
65877
|
+
* "message": "Date must be YYYY-MM-DD"
|
|
65878
|
+
* }
|
|
65879
|
+
* ]
|
|
65880
|
+
* }
|
|
65881
|
+
* }
|
|
65882
|
+
*/
|
|
65883
|
+
"application/json": unknown;
|
|
65884
|
+
};
|
|
65885
|
+
};
|
|
65886
|
+
/** @description Missing or invalid API key */
|
|
65887
|
+
401: {
|
|
65888
|
+
headers: {
|
|
65889
|
+
[name: string]: unknown;
|
|
65890
|
+
};
|
|
65891
|
+
content: {
|
|
65892
|
+
/**
|
|
65893
|
+
* @example {
|
|
65894
|
+
* "ok": false,
|
|
65895
|
+
* "error": {
|
|
65896
|
+
* "code": "INVALID_API_KEY",
|
|
65897
|
+
* "message": "Invalid API key"
|
|
65898
|
+
* }
|
|
65899
|
+
* }
|
|
65900
|
+
*/
|
|
65901
|
+
"application/json": unknown;
|
|
65902
|
+
};
|
|
65903
|
+
};
|
|
65904
|
+
};
|
|
65905
|
+
};
|
|
65309
65906
|
"reports_ai_natal-narrative": {
|
|
65310
65907
|
parameters: {
|
|
65311
65908
|
query?: never;
|