@astroway/sdk 1.0.0 → 1.1.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.
@@ -10405,6 +10405,26 @@ export interface paths {
10405
10405
  patch?: never;
10406
10406
  trace?: never;
10407
10407
  };
10408
+ "/auth/keys/me": {
10409
+ parameters: {
10410
+ query?: never;
10411
+ header?: never;
10412
+ path?: never;
10413
+ cookie?: never;
10414
+ };
10415
+ /**
10416
+ * API Key Introspection
10417
+ * @description Return metadata about the calling API key: plan, remaining credits, period end, bound domain, status. Useful for any SDK consumer that wants to surface plan and balance in its own UI.
10418
+ */
10419
+ get: operations["auth_keys_me_get"];
10420
+ put?: never;
10421
+ post?: never;
10422
+ delete?: never;
10423
+ options?: never;
10424
+ head?: never;
10425
+ patch?: never;
10426
+ trace?: never;
10427
+ };
10408
10428
  "/whitelabel/config": {
10409
10429
  parameters: {
10410
10430
  query?: never;
@@ -10729,6 +10749,26 @@ export interface paths {
10729
10749
  patch?: never;
10730
10750
  trace?: never;
10731
10751
  };
10752
+ "/reports/generate": {
10753
+ parameters: {
10754
+ query?: never;
10755
+ header?: never;
10756
+ path?: never;
10757
+ cookie?: never;
10758
+ };
10759
+ get?: never;
10760
+ put?: never;
10761
+ /**
10762
+ * Generate Report — Unified Dispatcher (V2)
10763
+ * @description Single endpoint over the 12 type-specific renderers — pass report_type ("natal" | "transit-yearly" | "synastry" | "business" | "career" | "love" | "money" | "child" | "lal-kitab" | "human-design" | "tarot" | "vedic-kundli") plus the renderer-specific inputs. SDK ergonomics: one method instead of 12. Required fields vary by type — chart for most, chart1+chart2 for synastry, seed for tarot (chart optional).
10764
+ */
10765
+ post: operations["reports_generate"];
10766
+ delete?: never;
10767
+ options?: never;
10768
+ head?: never;
10769
+ patch?: never;
10770
+ trace?: never;
10771
+ };
10732
10772
  "/reports/ai/natal-narrative": {
10733
10773
  parameters: {
10734
10774
  query?: never;
@@ -14317,11 +14357,8 @@ export interface components {
14317
14357
  Compatibility: {
14318
14358
  sign1: string;
14319
14359
  sign2: string;
14320
- /**
14321
- * @default uk
14322
- * @enum {string}
14323
- */
14324
- language: "uk" | "en";
14360
+ /** @enum {string} */
14361
+ language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
14325
14362
  /** @default false */
14326
14363
  disclaimer_inline: boolean;
14327
14364
  };
@@ -14356,6 +14393,14 @@ export interface components {
14356
14393
  plan: "free" | "indie" | "starter" | "pro" | "business" | "enterprise" | "hd_pack" | "esoteric_pack" | "vedic_pack" | "reports_pack";
14357
14394
  /** @enum {string} */
14358
14395
  mode?: "live" | "test";
14396
+ origin_restriction?: {
14397
+ /**
14398
+ * @default server-only
14399
+ * @enum {string}
14400
+ */
14401
+ type: "server-only" | "public" | "allowlist";
14402
+ allowed_origins?: string[];
14403
+ };
14359
14404
  };
14360
14405
  CyclicIndex: {
14361
14406
  startYear: number | null;
@@ -14552,11 +14597,8 @@ export interface components {
14552
14597
  };
14553
14598
  /** @description Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss). Defaults to lat/lon/tz=0 if omitted; pass real values for accurate computation. */
14554
14599
  InterpretElement: components["schemas"]["ChartInput"] & ({
14555
- /**
14556
- * @default uk
14557
- * @enum {string}
14558
- */
14559
- language: "uk" | "en";
14600
+ /** @enum {string} */
14601
+ language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
14560
14602
  /** @default false */
14561
14603
  disclaimer_inline: boolean;
14562
14604
  } & {
@@ -14564,11 +14606,8 @@ export interface components {
14564
14606
  });
14565
14607
  /** @description Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss). Defaults to lat/lon/tz=0 if omitted; pass real values for accurate computation. */
14566
14608
  InterpretNatal: components["schemas"]["ChartInput"] & ({
14567
- /**
14568
- * @default uk
14569
- * @enum {string}
14570
- */
14571
- language: "uk" | "en";
14609
+ /** @enum {string} */
14610
+ language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
14572
14611
  /** @default false */
14573
14612
  disclaimer_inline: boolean;
14574
14613
  } & {
@@ -14577,11 +14616,8 @@ export interface components {
14577
14616
  /** @description Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss). Defaults to lat/lon/tz=0 if omitted; pass real values for accurate computation. */
14578
14617
  InterpretPlacement: components["schemas"]["ChartInput"] & ({
14579
14618
  planet: string;
14580
- /**
14581
- * @default uk
14582
- * @enum {string}
14583
- */
14584
- language: "uk" | "en";
14619
+ /** @enum {string} */
14620
+ language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
14585
14621
  /** @default false */
14586
14622
  disclaimer_inline: boolean;
14587
14623
  } & {
@@ -14589,11 +14625,8 @@ export interface components {
14589
14625
  });
14590
14626
  /** @description Pair of natal charts for relationship calculations: synastry, composite, davison. */
14591
14627
  InterpretSynastry: components["schemas"]["TwoChart"] & {
14592
- /**
14593
- * @default uk
14594
- * @enum {string}
14595
- */
14596
- language: "uk" | "en";
14628
+ /** @enum {string} */
14629
+ language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
14597
14630
  /** @default false */
14598
14631
  disclaimer_inline: boolean;
14599
14632
  };
@@ -14602,11 +14635,8 @@ export interface components {
14602
14635
  transitDate: string;
14603
14636
  transitTime?: string;
14604
14637
  transitTzOffset?: number | null;
14605
- /**
14606
- * @default uk
14607
- * @enum {string}
14608
- */
14609
- language: "uk" | "en";
14638
+ /** @enum {string} */
14639
+ language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
14610
14640
  /** @default false */
14611
14641
  disclaimer_inline: boolean;
14612
14642
  } & {
@@ -14714,11 +14744,90 @@ export interface components {
14714
14744
  } & {
14715
14745
  [key: string]: unknown;
14716
14746
  });
14747
+ BrandingObject: {
14748
+ companyName?: string;
14749
+ /** Format: uri */
14750
+ companyUrl?: string;
14751
+ /** Format: email */
14752
+ companyEmail?: string;
14753
+ companyMobile?: string;
14754
+ companyBio?: string;
14755
+ /** Format: uri */
14756
+ logoUrl?: string;
14757
+ /** Format: uri */
14758
+ frontImage?: string;
14759
+ textPrimaryColor?: string;
14760
+ textSecondaryColor?: string;
14761
+ backgroundColor?: string;
14762
+ themeColor?: string;
14763
+ headingColor?: string;
14764
+ footerText?: string;
14765
+ /** @enum {string} */
14766
+ fontPairing?: "serif-sans" | "sans-serif" | "serif-only" | "sans-only" | "system";
14767
+ reportName?: string;
14768
+ };
14769
+ GenerateReport: {
14770
+ /** @enum {string} */
14771
+ report_type: "natal" | "transit-yearly" | "synastry" | "business" | "career" | "love" | "money" | "child" | "lal-kitab" | "human-design" | "tarot" | "vedic-kundli";
14772
+ chart?: components["schemas"]["ChartInput"];
14773
+ chart1?: components["schemas"]["ChartInput"];
14774
+ chart2?: components["schemas"]["ChartInput"];
14775
+ year?: number;
14776
+ spread?: string;
14777
+ seed?: number | null;
14778
+ name?: string;
14779
+ allowReversed?: boolean;
14780
+ /** @enum {string} */
14781
+ language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "hi" | "fr" | "ko" | "it" | "ja" | "id" | "tr" | "nl" | "ro" | "cs" | "vi" | "ar" | "el" | "hu";
14782
+ whitelabel?: boolean | {
14783
+ companyName?: string;
14784
+ /** Format: uri */
14785
+ companyUrl?: string;
14786
+ /** Format: email */
14787
+ companyEmail?: string;
14788
+ companyMobile?: string;
14789
+ companyBio?: string;
14790
+ /** Format: uri */
14791
+ logoUrl?: string;
14792
+ /** Format: uri */
14793
+ frontImage?: string;
14794
+ textPrimaryColor?: string;
14795
+ textSecondaryColor?: string;
14796
+ backgroundColor?: string;
14797
+ themeColor?: string;
14798
+ headingColor?: string;
14799
+ footerText?: string;
14800
+ /** @enum {string} */
14801
+ fontPairing?: "serif-sans" | "sans-serif" | "serif-only" | "sans-only" | "system";
14802
+ reportName?: string;
14803
+ };
14804
+ };
14717
14805
  NatalReport: {
14718
14806
  chart: components["schemas"]["ChartInput"];
14719
14807
  /** @enum {string} */
14720
14808
  language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "hi" | "fr" | "ko" | "it" | "ja" | "id" | "tr" | "nl" | "ro" | "cs" | "vi" | "ar" | "el" | "hu";
14721
- whitelabel?: boolean;
14809
+ whitelabel?: boolean | {
14810
+ companyName?: string;
14811
+ /** Format: uri */
14812
+ companyUrl?: string;
14813
+ /** Format: email */
14814
+ companyEmail?: string;
14815
+ companyMobile?: string;
14816
+ companyBio?: string;
14817
+ /** Format: uri */
14818
+ logoUrl?: string;
14819
+ /** Format: uri */
14820
+ frontImage?: string;
14821
+ textPrimaryColor?: string;
14822
+ textSecondaryColor?: string;
14823
+ backgroundColor?: string;
14824
+ themeColor?: string;
14825
+ headingColor?: string;
14826
+ footerText?: string;
14827
+ /** @enum {string} */
14828
+ fontPairing?: "serif-sans" | "sans-serif" | "serif-only" | "sans-only" | "system";
14829
+ reportName?: string;
14830
+ };
14722
14831
  };
14723
14832
  Natal: {
14724
14833
  chart: components["schemas"]["ChartInput"];
@@ -14919,11 +15028,8 @@ export interface components {
14919
15028
  /** @enum {string} */
14920
15029
  sign: "aries" | "taurus" | "gemini" | "cancer" | "leo" | "virgo" | "libra" | "scorpio" | "sagittarius" | "capricorn" | "aquarius" | "pisces";
14921
15030
  date?: string;
14922
- /**
14923
- * @default uk
14924
- * @enum {string}
14925
- */
14926
- language: "uk" | "en";
15031
+ /** @enum {string} */
15032
+ language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
14927
15033
  /** @default false */
14928
15034
  disclaimer_inline: boolean;
14929
15035
  };
@@ -15009,7 +15115,28 @@ export interface components {
15009
15115
  chart2: components["schemas"]["ChartInput"];
15010
15116
  /** @enum {string} */
15011
15117
  language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "hi" | "fr" | "ko" | "it" | "ja" | "id" | "tr" | "nl" | "ro" | "cs" | "vi" | "ar" | "el" | "hu";
15012
- whitelabel?: boolean;
15118
+ whitelabel?: boolean | {
15119
+ companyName?: string;
15120
+ /** Format: uri */
15121
+ companyUrl?: string;
15122
+ /** Format: email */
15123
+ companyEmail?: string;
15124
+ companyMobile?: string;
15125
+ companyBio?: string;
15126
+ /** Format: uri */
15127
+ logoUrl?: string;
15128
+ /** Format: uri */
15129
+ frontImage?: string;
15130
+ textPrimaryColor?: string;
15131
+ textSecondaryColor?: string;
15132
+ backgroundColor?: string;
15133
+ themeColor?: string;
15134
+ headingColor?: string;
15135
+ footerText?: string;
15136
+ /** @enum {string} */
15137
+ fontPairing?: "serif-sans" | "sans-serif" | "serif-only" | "sans-only" | "system";
15138
+ reportName?: string;
15139
+ };
15013
15140
  };
15014
15141
  Synastry: {
15015
15142
  chart1: components["schemas"]["ChartInput"];
@@ -15037,7 +15164,28 @@ export interface components {
15037
15164
  allowReversed?: boolean;
15038
15165
  /** @enum {string} */
15039
15166
  language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "hi" | "fr" | "ko" | "it" | "ja" | "id" | "tr" | "nl" | "ro" | "cs" | "vi" | "ar" | "el" | "hu";
15040
- whitelabel?: boolean;
15167
+ whitelabel?: boolean | {
15168
+ companyName?: string;
15169
+ /** Format: uri */
15170
+ companyUrl?: string;
15171
+ /** Format: email */
15172
+ companyEmail?: string;
15173
+ companyMobile?: string;
15174
+ companyBio?: string;
15175
+ /** Format: uri */
15176
+ logoUrl?: string;
15177
+ /** Format: uri */
15178
+ frontImage?: string;
15179
+ textPrimaryColor?: string;
15180
+ textSecondaryColor?: string;
15181
+ backgroundColor?: string;
15182
+ themeColor?: string;
15183
+ headingColor?: string;
15184
+ footerText?: string;
15185
+ /** @enum {string} */
15186
+ fontPairing?: "serif-sans" | "sans-serif" | "serif-only" | "sans-only" | "system";
15187
+ reportName?: string;
15188
+ };
15041
15189
  };
15042
15190
  ThreeChart: {
15043
15191
  chart1: components["schemas"]["ChartInput"];
@@ -15117,7 +15265,28 @@ export interface components {
15117
15265
  year?: number;
15118
15266
  /** @enum {string} */
15119
15267
  language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "hi" | "fr" | "ko" | "it" | "ja" | "id" | "tr" | "nl" | "ro" | "cs" | "vi" | "ar" | "el" | "hu";
15120
- whitelabel?: boolean;
15268
+ whitelabel?: boolean | {
15269
+ companyName?: string;
15270
+ /** Format: uri */
15271
+ companyUrl?: string;
15272
+ /** Format: email */
15273
+ companyEmail?: string;
15274
+ companyMobile?: string;
15275
+ companyBio?: string;
15276
+ /** Format: uri */
15277
+ logoUrl?: string;
15278
+ /** Format: uri */
15279
+ frontImage?: string;
15280
+ textPrimaryColor?: string;
15281
+ textSecondaryColor?: string;
15282
+ backgroundColor?: string;
15283
+ themeColor?: string;
15284
+ headingColor?: string;
15285
+ footerText?: string;
15286
+ /** @enum {string} */
15287
+ fontPairing?: "serif-sans" | "sans-serif" | "serif-only" | "sans-only" | "system";
15288
+ reportName?: string;
15289
+ };
15121
15290
  };
15122
15291
  /** @description Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss). Defaults to lat/lon/tz=0 if omitted; pass real values for accurate computation. */
15123
15292
  Transits: components["schemas"]["ChartInput"] & ({
@@ -15159,7 +15328,28 @@ export interface components {
15159
15328
  chart: components["schemas"]["ChartInput"];
15160
15329
  /** @enum {string} */
15161
15330
  language?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "hi" | "fr" | "ko" | "it" | "ja" | "id" | "tr" | "nl" | "ro" | "cs" | "vi" | "ar" | "el" | "hu";
15162
- whitelabel?: boolean;
15331
+ whitelabel?: boolean | {
15332
+ companyName?: string;
15333
+ /** Format: uri */
15334
+ companyUrl?: string;
15335
+ /** Format: email */
15336
+ companyEmail?: string;
15337
+ companyMobile?: string;
15338
+ companyBio?: string;
15339
+ /** Format: uri */
15340
+ logoUrl?: string;
15341
+ /** Format: uri */
15342
+ frontImage?: string;
15343
+ textPrimaryColor?: string;
15344
+ textSecondaryColor?: string;
15345
+ backgroundColor?: string;
15346
+ themeColor?: string;
15347
+ headingColor?: string;
15348
+ footerText?: string;
15349
+ /** @enum {string} */
15350
+ fontPairing?: "serif-sans" | "sans-serif" | "serif-only" | "sans-only" | "system";
15351
+ reportName?: string;
15352
+ };
15163
15353
  };
15164
15354
  /** @description Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss). Defaults to lat/lon/tz=0 if omitted; pass real values for accurate computation. */
15165
15355
  Vedic: components["schemas"]["ChartInput"] & ({
@@ -47586,8 +47776,20 @@ export interface operations {
47586
47776
  };
47587
47777
  horoscope_daily: {
47588
47778
  parameters: {
47589
- query?: never;
47590
- header?: never;
47779
+ query?: {
47780
+ /**
47781
+ * @description Alternative to Accept-Language for clients without header control.
47782
+ * @example hi
47783
+ */
47784
+ lang?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
47785
+ };
47786
+ header?: {
47787
+ /**
47788
+ * @description Target language for response text fields. RFC 7231 q-weighted. Falls back to ?lang= query param, then body.language, then source uk. Unknown codes silently fall through to uk.
47789
+ * @example de
47790
+ */
47791
+ "Accept-Language"?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
47792
+ };
47591
47793
  path?: never;
47592
47794
  cookie?: never;
47593
47795
  };
@@ -47689,8 +47891,20 @@ export interface operations {
47689
47891
  };
47690
47892
  horoscope_weekly: {
47691
47893
  parameters: {
47692
- query?: never;
47693
- header?: never;
47894
+ query?: {
47895
+ /**
47896
+ * @description Alternative to Accept-Language for clients without header control.
47897
+ * @example hi
47898
+ */
47899
+ lang?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
47900
+ };
47901
+ header?: {
47902
+ /**
47903
+ * @description Target language for response text fields. RFC 7231 q-weighted. Falls back to ?lang= query param, then body.language, then source uk. Unknown codes silently fall through to uk.
47904
+ * @example de
47905
+ */
47906
+ "Accept-Language"?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
47907
+ };
47694
47908
  path?: never;
47695
47909
  cookie?: never;
47696
47910
  };
@@ -47800,8 +48014,20 @@ export interface operations {
47800
48014
  };
47801
48015
  horoscope_monthly: {
47802
48016
  parameters: {
47803
- query?: never;
47804
- header?: never;
48017
+ query?: {
48018
+ /**
48019
+ * @description Alternative to Accept-Language for clients without header control.
48020
+ * @example hi
48021
+ */
48022
+ lang?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48023
+ };
48024
+ header?: {
48025
+ /**
48026
+ * @description Target language for response text fields. RFC 7231 q-weighted. Falls back to ?lang= query param, then body.language, then source uk. Unknown codes silently fall through to uk.
48027
+ * @example de
48028
+ */
48029
+ "Accept-Language"?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48030
+ };
47805
48031
  path?: never;
47806
48032
  cookie?: never;
47807
48033
  };
@@ -47892,8 +48118,20 @@ export interface operations {
47892
48118
  };
47893
48119
  horoscope_yearly: {
47894
48120
  parameters: {
47895
- query?: never;
47896
- header?: never;
48121
+ query?: {
48122
+ /**
48123
+ * @description Alternative to Accept-Language for clients without header control.
48124
+ * @example hi
48125
+ */
48126
+ lang?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48127
+ };
48128
+ header?: {
48129
+ /**
48130
+ * @description Target language for response text fields. RFC 7231 q-weighted. Falls back to ?lang= query param, then body.language, then source uk. Unknown codes silently fall through to uk.
48131
+ * @example de
48132
+ */
48133
+ "Accept-Language"?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48134
+ };
47897
48135
  path?: never;
47898
48136
  cookie?: never;
47899
48137
  };
@@ -47999,8 +48237,20 @@ export interface operations {
47999
48237
  };
48000
48238
  horoscope_compatibility: {
48001
48239
  parameters: {
48002
- query?: never;
48003
- header?: never;
48240
+ query?: {
48241
+ /**
48242
+ * @description Alternative to Accept-Language for clients without header control.
48243
+ * @example hi
48244
+ */
48245
+ lang?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48246
+ };
48247
+ header?: {
48248
+ /**
48249
+ * @description Target language for response text fields. RFC 7231 q-weighted. Falls back to ?lang= query param, then body.language, then source uk. Unknown codes silently fall through to uk.
48250
+ * @example de
48251
+ */
48252
+ "Accept-Language"?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48253
+ };
48004
48254
  path?: never;
48005
48255
  cookie?: never;
48006
48256
  };
@@ -48110,8 +48360,20 @@ export interface operations {
48110
48360
  };
48111
48361
  interpret_natal: {
48112
48362
  parameters: {
48113
- query?: never;
48114
- header?: never;
48363
+ query?: {
48364
+ /**
48365
+ * @description Alternative to Accept-Language for clients without header control.
48366
+ * @example hi
48367
+ */
48368
+ lang?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48369
+ };
48370
+ header?: {
48371
+ /**
48372
+ * @description Target language for response text fields. RFC 7231 q-weighted. Falls back to ?lang= query param, then body.language, then source uk. Unknown codes silently fall through to uk.
48373
+ * @example de
48374
+ */
48375
+ "Accept-Language"?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48376
+ };
48115
48377
  path?: never;
48116
48378
  cookie?: never;
48117
48379
  };
@@ -48212,8 +48474,20 @@ export interface operations {
48212
48474
  };
48213
48475
  interpret_synastry: {
48214
48476
  parameters: {
48215
- query?: never;
48216
- header?: never;
48477
+ query?: {
48478
+ /**
48479
+ * @description Alternative to Accept-Language for clients without header control.
48480
+ * @example hi
48481
+ */
48482
+ lang?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48483
+ };
48484
+ header?: {
48485
+ /**
48486
+ * @description Target language for response text fields. RFC 7231 q-weighted. Falls back to ?lang= query param, then body.language, then source uk. Unknown codes silently fall through to uk.
48487
+ * @example de
48488
+ */
48489
+ "Accept-Language"?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48490
+ };
48217
48491
  path?: never;
48218
48492
  cookie?: never;
48219
48493
  };
@@ -48316,8 +48590,20 @@ export interface operations {
48316
48590
  };
48317
48591
  interpret_transits: {
48318
48592
  parameters: {
48319
- query?: never;
48320
- header?: never;
48593
+ query?: {
48594
+ /**
48595
+ * @description Alternative to Accept-Language for clients without header control.
48596
+ * @example hi
48597
+ */
48598
+ lang?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48599
+ };
48600
+ header?: {
48601
+ /**
48602
+ * @description Target language for response text fields. RFC 7231 q-weighted. Falls back to ?lang= query param, then body.language, then source uk. Unknown codes silently fall through to uk.
48603
+ * @example de
48604
+ */
48605
+ "Accept-Language"?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48606
+ };
48321
48607
  path?: never;
48322
48608
  cookie?: never;
48323
48609
  };
@@ -48407,8 +48693,20 @@ export interface operations {
48407
48693
  };
48408
48694
  interpret_element: {
48409
48695
  parameters: {
48410
- query?: never;
48411
- header?: never;
48696
+ query?: {
48697
+ /**
48698
+ * @description Alternative to Accept-Language for clients without header control.
48699
+ * @example hi
48700
+ */
48701
+ lang?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48702
+ };
48703
+ header?: {
48704
+ /**
48705
+ * @description Target language for response text fields. RFC 7231 q-weighted. Falls back to ?lang= query param, then body.language, then source uk. Unknown codes silently fall through to uk.
48706
+ * @example de
48707
+ */
48708
+ "Accept-Language"?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48709
+ };
48412
48710
  path?: never;
48413
48711
  cookie?: never;
48414
48712
  };
@@ -48507,8 +48805,20 @@ export interface operations {
48507
48805
  };
48508
48806
  interpret_placement: {
48509
48807
  parameters: {
48510
- query?: never;
48511
- header?: never;
48808
+ query?: {
48809
+ /**
48810
+ * @description Alternative to Accept-Language for clients without header control.
48811
+ * @example hi
48812
+ */
48813
+ lang?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48814
+ };
48815
+ header?: {
48816
+ /**
48817
+ * @description Target language for response text fields. RFC 7231 q-weighted. Falls back to ?lang= query param, then body.language, then source uk. Unknown codes silently fall through to uk.
48818
+ * @example de
48819
+ */
48820
+ "Accept-Language"?: "uk" | "en" | "de" | "ru" | "pl" | "es" | "pt" | "fr" | "it" | "nl" | "cs" | "ro" | "hu" | "el" | "tr" | "ar" | "hi" | "ja" | "ko" | "vi" | "id";
48821
+ };
48512
48822
  path?: never;
48513
48823
  cookie?: never;
48514
48824
  };
@@ -62624,6 +62934,100 @@ export interface operations {
62624
62934
  };
62625
62935
  };
62626
62936
  };
62937
+ auth_keys_me_get: {
62938
+ parameters: {
62939
+ query?: never;
62940
+ header?: never;
62941
+ path?: never;
62942
+ cookie?: never;
62943
+ };
62944
+ requestBody?: never;
62945
+ responses: {
62946
+ /** @description Successful calculation */
62947
+ 200: {
62948
+ headers: {
62949
+ [name: string]: unknown;
62950
+ };
62951
+ content: {
62952
+ /**
62953
+ * @example {
62954
+ * "ok": true,
62955
+ * "data": {
62956
+ * "key_prefix": "aw_live_a3f...",
62957
+ * "plan": "indie",
62958
+ * "credits_remaining": 18432,
62959
+ * "credits_total_this_period": 50000,
62960
+ * "period_end": "2026-06-01T00:00:00.000Z",
62961
+ * "status": "active",
62962
+ * "domain": "example.com",
62963
+ * "domain_bound_at": "2026-05-14T18:22:00.000Z",
62964
+ * "created_at": "2026-05-12T08:00:00.000Z",
62965
+ * "referrer_source": "wp_plugin"
62966
+ * }
62967
+ * }
62968
+ */
62969
+ "application/json": {
62970
+ /** @example true */
62971
+ ok?: boolean;
62972
+ data?: {
62973
+ key_prefix?: string;
62974
+ plan?: string;
62975
+ credits_remaining?: number;
62976
+ credits_total_this_period?: number;
62977
+ period_end?: string;
62978
+ status?: string;
62979
+ domain?: string;
62980
+ domain_bound_at?: string;
62981
+ created_at?: string;
62982
+ referrer_source?: string;
62983
+ };
62984
+ };
62985
+ };
62986
+ };
62987
+ /** @description Validation error */
62988
+ 400: {
62989
+ headers: {
62990
+ [name: string]: unknown;
62991
+ };
62992
+ content: {
62993
+ /**
62994
+ * @example {
62995
+ * "ok": false,
62996
+ * "error": {
62997
+ * "code": "INVALID_INPUT",
62998
+ * "message": "Validation failed: date: Date must be YYYY-MM-DD",
62999
+ * "details": [
63000
+ * {
63001
+ * "path": "date",
63002
+ * "message": "Date must be YYYY-MM-DD"
63003
+ * }
63004
+ * ]
63005
+ * }
63006
+ * }
63007
+ */
63008
+ "application/json": unknown;
63009
+ };
63010
+ };
63011
+ /** @description Missing or invalid API key */
63012
+ 401: {
63013
+ headers: {
63014
+ [name: string]: unknown;
63015
+ };
63016
+ content: {
63017
+ /**
63018
+ * @example {
63019
+ * "ok": false,
63020
+ * "error": {
63021
+ * "code": "INVALID_API_KEY",
63022
+ * "message": "Invalid API key"
63023
+ * }
63024
+ * }
63025
+ */
63026
+ "application/json": unknown;
63027
+ };
63028
+ };
63029
+ };
63030
+ };
62627
63031
  whitelabel_config_get: {
62628
63032
  parameters: {
62629
63033
  query?: never;
@@ -64312,6 +64716,114 @@ export interface operations {
64312
64716
  };
64313
64717
  };
64314
64718
  };
64719
+ reports_generate: {
64720
+ parameters: {
64721
+ query?: never;
64722
+ header?: never;
64723
+ path?: never;
64724
+ cookie?: never;
64725
+ };
64726
+ requestBody: {
64727
+ content: {
64728
+ /**
64729
+ * @example {
64730
+ * "report_type": "natal",
64731
+ * "chart": {
64732
+ * "date": "1990-05-15",
64733
+ * "time": "14:30:00",
64734
+ * "timezoneOffset": 3,
64735
+ * "latitude": 50.45,
64736
+ * "longitude": 30.52
64737
+ * },
64738
+ * "language": "uk",
64739
+ * "whitelabel": {
64740
+ * "companyName": "Acme",
64741
+ * "themeColor": "#ff5500",
64742
+ * "reportName": "My Cosmic Map"
64743
+ * }
64744
+ * }
64745
+ */
64746
+ "application/json": components["schemas"]["GenerateReport"];
64747
+ };
64748
+ };
64749
+ responses: {
64750
+ /** @description Successful calculation */
64751
+ 200: {
64752
+ headers: {
64753
+ [name: string]: unknown;
64754
+ };
64755
+ content: {
64756
+ /**
64757
+ * @example {
64758
+ * "ok": true,
64759
+ * "data": {
64760
+ * "url": "https://api.astroway.info/reports/abc.pdf",
64761
+ * "storage_key": "reports/abc.pdf",
64762
+ * "byte_length": 145000,
64763
+ * "page_count": 1,
64764
+ * "duration_ms": 4100,
64765
+ * "expires_at": "2026-05-16T07:00:00Z"
64766
+ * }
64767
+ * }
64768
+ */
64769
+ "application/json": {
64770
+ /** @example true */
64771
+ ok?: boolean;
64772
+ data?: {
64773
+ url?: string;
64774
+ storage_key?: string;
64775
+ byte_length?: number;
64776
+ page_count?: number;
64777
+ duration_ms?: number;
64778
+ expires_at?: string;
64779
+ };
64780
+ };
64781
+ };
64782
+ };
64783
+ /** @description Validation error */
64784
+ 400: {
64785
+ headers: {
64786
+ [name: string]: unknown;
64787
+ };
64788
+ content: {
64789
+ /**
64790
+ * @example {
64791
+ * "ok": false,
64792
+ * "error": {
64793
+ * "code": "INVALID_INPUT",
64794
+ * "message": "Validation failed: date: Date must be YYYY-MM-DD",
64795
+ * "details": [
64796
+ * {
64797
+ * "path": "date",
64798
+ * "message": "Date must be YYYY-MM-DD"
64799
+ * }
64800
+ * ]
64801
+ * }
64802
+ * }
64803
+ */
64804
+ "application/json": unknown;
64805
+ };
64806
+ };
64807
+ /** @description Missing or invalid API key */
64808
+ 401: {
64809
+ headers: {
64810
+ [name: string]: unknown;
64811
+ };
64812
+ content: {
64813
+ /**
64814
+ * @example {
64815
+ * "ok": false,
64816
+ * "error": {
64817
+ * "code": "INVALID_API_KEY",
64818
+ * "message": "Invalid API key"
64819
+ * }
64820
+ * }
64821
+ */
64822
+ "application/json": unknown;
64823
+ };
64824
+ };
64825
+ };
64826
+ };
64315
64827
  "reports_ai_natal-narrative": {
64316
64828
  parameters: {
64317
64829
  query?: never;