@roxyapi/sdk 1.2.61 → 1.2.63

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/src/types.gen.ts CHANGED
@@ -74,6 +74,10 @@ export type NatalChartResponse = {
74
74
  * Whether the planet is in retrograde motion.
75
75
  */
76
76
  isRetrograde: boolean;
77
+ /**
78
+ * Essential dignity of this body in the sign it occupies: domicile (the sign it rules, its strongest placement), exaltation (honoured and amplified), detriment (opposite its rulership, where it struggles), fall (opposite its exaltation, where it is weakened), or peregrine (in none of its own dignity signs). Absent for the lunar nodes, Chiron and Black Moon Lilith, which rule no sign and therefore hold no dignity at all, so an absent field and peregrine are different answers. Derived by sign only, so triplicity, bounds and face are not considered. Always English, whatever the lang parameter says, so it stays safe to compare against in code. The four dignity signs behind it are published per body by GET /planet-meanings/{id}.
79
+ */
80
+ dignity?: 'domicile' | 'exaltation' | 'detriment' | 'fall' | 'peregrine';
77
81
  /**
78
82
  * Planet-in-sign-in-house interpretation. Narrative analysis of what this placement means in the natal chart.
79
83
  */
@@ -166,9 +170,22 @@ export type NatalChartResponse = {
166
170
  */
167
171
  strength: number;
168
172
  /**
169
- * Aspect nature: harmonious, challenging, or neutral.
173
+ * Aspect nature: harmonious, challenging, or neutral. Always English, whatever the lang parameter says, because it is an identifier to compare and style on. Read aspectInterpretation for the sentence a reader sees.
170
174
  */
171
175
  interpretation: string;
176
+ /**
177
+ * Narrative interpretation of this aspect for this chart. The reference description of the aspect TYPE is not repeated per row, use GET or POST /astrology/aspects for that card.
178
+ */
179
+ aspectInterpretation: {
180
+ /**
181
+ * One-sentence read of THIS pair: which two bodies, how tight the aspect is, whether it is applying or separating, and how it is classified. Translated in place, so it arrives in the requested language.
182
+ */
183
+ summary: string;
184
+ /**
185
+ * Themes this aspect activates between the two bodies. Translated in place, so they arrive in the requested language.
186
+ */
187
+ keywords: Array<string>;
188
+ };
172
189
  }>;
173
190
  /**
174
191
  * Detected multi-planet aspect configurations (Grand Trine, Kite, T-Square, Grand Cross, Yod, Mystic Rectangle, Stellium). Grand Cross suppresses contained T-Squares, Kite suppresses underlying Grand Trine.
@@ -580,7 +597,7 @@ export type AspectsResponse = {
580
597
  */
581
598
  strength: number;
582
599
  /**
583
- * Aspect nature: harmonious, challenging, or neutral.
600
+ * Aspect nature for this pair: harmonious, challenging, or neutral. Always English, whatever the lang parameter says, because it is an identifier to compare and style on. This is the field to branch on; meaning.nature is the reference card characterisation of the aspect type and is translated for display.
584
601
  */
585
602
  interpretation: string;
586
603
  /**
@@ -609,7 +626,7 @@ export type AspectsResponse = {
609
626
  */
610
627
  keywords: Array<string>;
611
628
  /**
612
- * Aspect nature classification.
629
+ * How this aspect type is characterised in its reference card, in the requested language, exactly like the name, description and keywords beside it. This is a property of the aspect TYPE, so branch on the aspect-level interpretation field instead, which is always English and is the classification applied to this particular pair.
613
630
  */
614
631
  nature: string;
615
632
  };
@@ -4244,7 +4261,7 @@ export type YogaDetail = {
4244
4261
 
4245
4262
  export type YogaDetectResponse = {
4246
4263
  /**
4247
- * Array of 44 detected yogas, always the full set so a caller can render absent verdicts too. Every entry carries a `present` boolean and a `quality` (Positive, Negative, or Both = auspicious, inauspicious, or context-dependent); filter on present === true for active yogas. Evidence text names the rule that triggered or failed, or the precedence norm that outranked it.
4264
+ * Array of 48 detected yogas, always the full set so a caller can render absent verdicts too. Every entry carries a `present` boolean and a `quality` (Positive, Negative, or Both = auspicious, inauspicious, or context-dependent); filter on present === true for active yogas. Evidence text names the rule that triggered or failed, or the precedence norm that outranked it.
4248
4265
  */
4249
4266
  yogas: Array<{
4250
4267
  /**
@@ -4298,7 +4315,7 @@ export type YogaDetectResponse = {
4298
4315
  ayanamsaDegrees: number;
4299
4316
  };
4300
4317
  /**
4301
- * Count of yogas where present === true in this chart. Range 0-44, though real charts sit in the low single digits: the Nabhasa families are mutually constrained by the precedence norms, and most shape yogas are rare.
4318
+ * Count of yogas where present === true in this chart. Range 0-48, though real charts sit in the low single digits: the Nabhasa families are mutually constrained by the precedence norms, and most shape yogas are rare.
4302
4319
  */
4303
4320
  total: number;
4304
4321
  /**
@@ -7440,6 +7457,148 @@ export type DreamSymbol = {
7440
7457
  meaning: string;
7441
7458
  };
7442
7459
 
7460
+ export type GetLanguagesFieldLabelsData = {
7461
+ body?: never;
7462
+ path?: never;
7463
+ query?: {
7464
+ /**
7465
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
7466
+ */
7467
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
7468
+ };
7469
+ url: '/languages/field-labels';
7470
+ };
7471
+
7472
+ export type GetLanguagesFieldLabelsErrors = {
7473
+ /**
7474
+ * Validation error. `issues[]` lists every failed field.
7475
+ */
7476
+ 400: {
7477
+ /**
7478
+ * First issue summary.
7479
+ */
7480
+ error: string;
7481
+ code: 'validation_error';
7482
+ /**
7483
+ * Every validation failure. Use this to rebuild a valid request.
7484
+ */
7485
+ issues: Array<{
7486
+ /**
7487
+ * Dot-separated field path, or "(root)" for top-level.
7488
+ */
7489
+ path: string;
7490
+ message: string;
7491
+ /**
7492
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
7493
+ */
7494
+ code?: string;
7495
+ /**
7496
+ * Expected type for invalid_type.
7497
+ */
7498
+ expected?: string;
7499
+ /**
7500
+ * Minimum bound for too_small issues.
7501
+ */
7502
+ minimum?: number | string;
7503
+ /**
7504
+ * Maximum bound for too_big issues.
7505
+ */
7506
+ maximum?: number | string;
7507
+ inclusive?: boolean;
7508
+ /**
7509
+ * Format name for string issues (regex, email, url, uuid).
7510
+ */
7511
+ format?: string;
7512
+ /**
7513
+ * Regex pattern when format is regex.
7514
+ */
7515
+ pattern?: string;
7516
+ }>;
7517
+ };
7518
+ /**
7519
+ * Invalid or missing API key
7520
+ */
7521
+ 401: {
7522
+ /**
7523
+ * Human-readable error message. May change wording.
7524
+ */
7525
+ error: string;
7526
+ /**
7527
+ * Machine-readable error code. Stable identifier.
7528
+ */
7529
+ code: string;
7530
+ };
7531
+ /**
7532
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
7533
+ */
7534
+ 405: {
7535
+ error: string;
7536
+ code: 'method_not_allowed';
7537
+ /**
7538
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
7539
+ */
7540
+ allow: Array<string>;
7541
+ /**
7542
+ * Link to the product page for this domain.
7543
+ */
7544
+ docs?: string;
7545
+ };
7546
+ /**
7547
+ * Monthly rate limit exceeded
7548
+ */
7549
+ 429: {
7550
+ /**
7551
+ * Human-readable error message. May change wording.
7552
+ */
7553
+ error: string;
7554
+ /**
7555
+ * Machine-readable error code. Stable identifier.
7556
+ */
7557
+ code: string;
7558
+ };
7559
+ /**
7560
+ * Internal server error
7561
+ */
7562
+ 500: {
7563
+ /**
7564
+ * Human-readable error message. May change wording.
7565
+ */
7566
+ error: string;
7567
+ /**
7568
+ * Machine-readable error code. Stable identifier.
7569
+ */
7570
+ code: string;
7571
+ };
7572
+ };
7573
+
7574
+ export type GetLanguagesFieldLabelsError = GetLanguagesFieldLabelsErrors[keyof GetLanguagesFieldLabelsErrors];
7575
+
7576
+ export type GetLanguagesFieldLabelsResponses = {
7577
+ /**
7578
+ * Form labels resolved for the requested language
7579
+ */
7580
+ 200: {
7581
+ /**
7582
+ * Language these labels resolved to. Echoes the `lang` query parameter, or `en` when it is omitted.
7583
+ */
7584
+ lang: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
7585
+ /**
7586
+ * Label per request field or parameter name. Keys are the wire names used in request bodies and query parameters, such as `birthDate`, `timezone` or `houseSystem`.
7587
+ */
7588
+ fields: {
7589
+ [key: string]: string;
7590
+ };
7591
+ /**
7592
+ * Label per selectable option, keyed `{fieldName}.{value}` so the same value can read differently under different fields. For example `nodeType.mean` and `houseSystem.whole-sign`. Split on the first dot: the field name is before it, and everything after it is the value you send back unchanged.
7593
+ */
7594
+ enums: {
7595
+ [key: string]: string;
7596
+ };
7597
+ };
7598
+ };
7599
+
7600
+ export type GetLanguagesFieldLabelsResponse = GetLanguagesFieldLabelsResponses[keyof GetLanguagesFieldLabelsResponses];
7601
+
7443
7602
  export type GetAstrologySignsData = {
7444
7603
  body?: never;
7445
7604
  path?: never;
@@ -9676,7 +9835,7 @@ export type PostAstrologySynastryResponses = {
9676
9835
  */
9677
9836
  keywords: Array<string>;
9678
9837
  /**
9679
- * Aspect nature classification.
9838
+ * How this aspect type is characterised in its reference card, in the requested language, exactly like the name, description and keywords beside it. Branch on the aspect-level interpretation field instead, which is always English.
9680
9839
  */
9681
9840
  nature: string;
9682
9841
  /**
@@ -10619,7 +10778,7 @@ export type PostAstrologyTransitAspectsResponses = {
10619
10778
  */
10620
10779
  strength: number;
10621
10780
  /**
10622
- * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies.
10781
+ * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
10623
10782
  */
10624
10783
  interpretation: 'harmonious' | 'challenging' | 'neutral';
10625
10784
  /**
@@ -10713,7 +10872,7 @@ export type PostAstrologyTransitAspectsResponses = {
10713
10872
  */
10714
10873
  strength: number;
10715
10874
  /**
10716
- * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies.
10875
+ * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
10717
10876
  */
10718
10877
  interpretation: 'harmonious' | 'challenging' | 'neutral';
10719
10878
  /**
@@ -11069,7 +11228,7 @@ export type PostAstrologySolarReturnResponses = {
11069
11228
  */
11070
11229
  strength: number;
11071
11230
  /**
11072
- * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies.
11231
+ * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
11073
11232
  */
11074
11233
  interpretation: 'harmonious' | 'challenging' | 'neutral';
11075
11234
  }>;
@@ -11450,7 +11609,7 @@ export type PostAstrologyLunarReturnResponses = {
11450
11609
  */
11451
11610
  strength: number;
11452
11611
  /**
11453
- * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies.
11612
+ * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
11454
11613
  */
11455
11614
  interpretation: 'harmonious' | 'challenging' | 'neutral';
11456
11615
  }>;
@@ -11908,7 +12067,7 @@ export type PostAstrologyCompositeChartResponses = {
11908
12067
  */
11909
12068
  strength: number;
11910
12069
  /**
11911
- * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies.
12070
+ * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
11912
12071
  */
11913
12072
  interpretation: 'harmonious' | 'challenging' | 'neutral';
11914
12073
  }>;
@@ -13380,7 +13539,7 @@ export type PostAstrologyPlanetaryReturnsResponses = {
13380
13539
  */
13381
13540
  strength: number;
13382
13541
  /**
13383
- * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies.
13542
+ * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
13384
13543
  */
13385
13544
  interpretation: 'harmonious' | 'challenging' | 'neutral';
13386
13545
  }>;
@@ -20488,7 +20647,7 @@ export type PostVedicAstrologyYogaDetectError = PostVedicAstrologyYogaDetectErro
20488
20647
 
20489
20648
  export type PostVedicAstrologyYogaDetectResponses = {
20490
20649
  /**
20491
- * List of 44 classical yogas with present/absent verdicts and classical-text evidence.
20650
+ * List of 48 classical yogas with present/absent verdicts and classical-text evidence.
20492
20651
  */
20493
20652
  200: YogaDetectResponse;
20494
20653
  };
@@ -26908,7 +27067,7 @@ export type PostForecastSolarReturnResponses = {
26908
27067
  */
26909
27068
  strength: number;
26910
27069
  /**
26911
- * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies.
27070
+ * Aspect nature. Harmonious (trine, sextile) flows easily. Challenging (square, opposition) creates tension and growth. Neutral (conjunction) blends energies. Always English, whatever the lang parameter says: it is an identifier consumers switch and style on. Use interpretationLocalized for anything a reader sees.
26912
27071
  */
26913
27072
  interpretation: 'harmonious' | 'challenging' | 'neutral';
26914
27073
  }>;
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.2.61';
1
+ export const VERSION = '1.2.63';