Skip to content

Commit 4f9117b

Browse files
release: v1.2.63
1 parent 7b62842 commit 4f9117b

7 files changed

Lines changed: 488 additions & 39 deletions

File tree

docs/llms-full.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const roxy = createRoxy(process.env.ROXY_API_KEY!);
1010
```
1111

1212
<!-- BEGIN:LANGS -->
13-
**Multi-language responses.** Interpretations are available in 8 languages: `en`, `tr`, `de`, `es`, `hi`, `pt`, `fr`, `ru`. Pass `query: { lang }` on any supported endpoint. Supported: astrology, vedicAstrology, forecast, humanDesign, numerology, tarot, biorhythm, iching, crystals, angelNumbers. English-only: dreams, location, usage, languages. Languages without translations yet fall back to English.
13+
**Multi-language responses.** Interpretations are available in 8 languages: `en`, `tr`, `de`, `es`, `hi`, `pt`, `fr`, `ru`. Pass `query: { lang }` on any supported endpoint. Supported: astrology, vedicAstrology, forecast, humanDesign, numerology, tarot, biorhythm, iching, crystals, angelNumbers, languages. English-only: dreams, location, usage. Languages without translations yet fall back to English.
1414
<!-- END:LANGS -->
1515

1616
```typescript
@@ -1724,6 +1724,9 @@ const { data } = await roxy.usage.getUsageStats();
17241724
List the response languages accepted by the `lang` query parameter on every i18n-aware endpoint
17251725

17261726
```typescript
1727+
// Get field labels for a language
1728+
const { data } = await roxy.languages.getFieldLabels();
1729+
17271730
// List supported response languages
17281731
const { data } = await roxy.languages.listLanguages();
17291732
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@roxyapi/sdk",
3-
"version": "1.2.62",
3+
"version": "1.2.63",
44
"description": "TypeScript SDK for Roxy — the multi-domain spiritual intelligence API",
55
"type": "module",
66
"exports": {

specs/openapi.json

Lines changed: 299 additions & 8 deletions
Large diffs are not rendered by default.

src/index.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/sdk.gen.ts

Lines changed: 37 additions & 24 deletions
Large diffs are not rendered by default.

src/types.gen.ts

Lines changed: 145 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4261,7 +4261,7 @@ export type YogaDetail = {
42614261

42624262
export type YogaDetectResponse = {
42634263
/**
4264-
* 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.
42654265
*/
42664266
yogas: Array<{
42674267
/**
@@ -4315,7 +4315,7 @@ export type YogaDetectResponse = {
43154315
ayanamsaDegrees: number;
43164316
};
43174317
/**
4318-
* 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.
43194319
*/
43204320
total: number;
43214321
/**
@@ -7457,6 +7457,148 @@ export type DreamSymbol = {
74577457
meaning: string;
74587458
};
74597459

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+
74607602
export type GetAstrologySignsData = {
74617603
body?: never;
74627604
path?: never;
@@ -20505,7 +20647,7 @@ export type PostVedicAstrologyYogaDetectError = PostVedicAstrologyYogaDetectErro
2050520647

2050620648
export type PostVedicAstrologyYogaDetectResponses = {
2050720649
/**
20508-
* 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.
2050920651
*/
2051020652
200: YogaDetectResponse;
2051120653
};

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '1.2.62';
1+
export const VERSION = '1.2.63';

0 commit comments

Comments
 (0)