@roxyapi/sdk 1.2.30 → 1.2.32

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/AGENTS.md CHANGED
@@ -45,6 +45,8 @@ Type `roxy.` to see all available namespaces. Type `roxy.{domain}.` to see every
45
45
  | `roxy.vedicAstrology` | 43 | Production-grade Vedic (Jyotish) and KP astrology API + remote MCP for AI agents and developers |
46
46
  | `roxy.numerology` | 16 | Production-ready Pythagorean numerology API + hosted MCP for AI agents and developers |
47
47
  | `roxy.tarot` | 10 | Production-ready tarot card reading API + hosted MCP for AI agents and developers |
48
+ | `roxy.humanDesign` | 12 | Generate the full Human Design bodygraph from a birth moment: type, strategy, inner authority, profile, definition, i... |
49
+ | `roxy.forecast` | 5 | Merge upcoming transit aspects, sign ingresses, retrograde stations, Vimshottari dasha changes, and biorhythm critica... |
48
50
  | `roxy.biorhythm` | 6 | The most complete biorhythm API + remote MCP for AI agents and developers |
49
51
  | `roxy.iching` | 9 | I-Ching oracle API + hosted MCP for AI agents and developers |
50
52
  | `roxy.crystals` | 12 | Production-ready crystal healing API + hosted MCP for AI agents and developers |
package/README.md CHANGED
@@ -89,6 +89,8 @@ const { latitude, longitude, timezone } = data.cities[0];
89
89
  | `roxy.vedicAstrology` | 43 | Production-grade Vedic (Jyotish) and KP astrology API + remote MCP for AI agents and developers |
90
90
  | `roxy.numerology` | 16 | Production-ready Pythagorean numerology API + hosted MCP for AI agents and developers |
91
91
  | `roxy.tarot` | 10 | Production-ready tarot card reading API + hosted MCP for AI agents and developers |
92
+ | `roxy.humanDesign` | 12 | Generate the full Human Design bodygraph from a birth moment: type, strategy, inner authority, profile, definition, i... |
93
+ | `roxy.forecast` | 5 | Merge upcoming transit aspects, sign ingresses, retrograde stations, Vimshottari dasha changes, and biorhythm critica... |
92
94
  | `roxy.biorhythm` | 6 | The most complete biorhythm API + remote MCP for AI agents and developers |
93
95
  | `roxy.iching` | 9 | I-Ching oracle API + hosted MCP for AI agents and developers |
94
96
  | `roxy.crystals` | 12 | Production-ready crystal healing API + hosted MCP for AI agents and developers |
package/dist/factory.cjs CHANGED
@@ -25,6 +25,8 @@ __export(factory_exports, {
25
25
  Biorhythm: () => Biorhythm,
26
26
  Crystals: () => Crystals,
27
27
  Dreams: () => Dreams,
28
+ Forecast: () => Forecast,
29
+ HumanDesign: () => HumanDesign,
28
30
  Iching: () => Iching,
29
31
  Languages: () => Languages,
30
32
  Location: () => Location,
@@ -2263,6 +2265,274 @@ var Tarot = class extends HeyApiClient {
2263
2265
  });
2264
2266
  }
2265
2267
  };
2268
+ var HumanDesign = class extends HeyApiClient {
2269
+ /**
2270
+ * Generate full Human Design bodygraph - Type, authority, profile, centers, channels, gates
2271
+ *
2272
+ * Generate a complete Human Design bodygraph from a birth date, time, and timezone. Returns the energy type, strategy, inner authority, signature, not-self theme, profile, definition, incarnation cross, all nine centers with defined state and active gates, the defined channels, and all 26 planetary activations across the Personality and Design sides. The single endpoint for a full chart in one call, built for Human Design apps, readings, and coaching tools.
2273
+ */
2274
+ generateBodygraph(options) {
2275
+ return (options?.client ?? this.client).post({
2276
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2277
+ url: "/human-design/bodygraph",
2278
+ ...options,
2279
+ headers: {
2280
+ "Content-Type": "application/json",
2281
+ ...options?.headers
2282
+ }
2283
+ });
2284
+ }
2285
+ /**
2286
+ * Calculate Human Design connection chart - Two-person composite bodygraph compatibility
2287
+ *
2288
+ * Calculate a Human Design connection chart by overlaying two bodygraphs. For each of the 36 channels the dynamic between the two people is classified as electromagnetic, dominance, compromise, or companionship, the four mechanics of how two designs meet. Also returns the nine centers as defined or open in the combined bodygraph with which person defines each, the combined definition, and a count of each dynamic. Built for relationship, dating, and coaching tools.
2289
+ */
2290
+ calculateConnection(options) {
2291
+ return (options?.client ?? this.client).post({
2292
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2293
+ url: "/human-design/connection",
2294
+ ...options,
2295
+ headers: {
2296
+ "Content-Type": "application/json",
2297
+ ...options?.headers
2298
+ }
2299
+ });
2300
+ }
2301
+ /**
2302
+ * Calculate Human Design Penta - Small-group BG5 operating system for three to five people
2303
+ *
2304
+ * Calculate the Human Design Penta (BG5, Base Group 5) for a small group of three to five people. The Penta is a trans-auric form built from a fixed set of six channels running only between the Sacral, the G Center, and the Throat. It reports which of the twelve Penta gates are filled and by whom, which of the six channels are defined Strengths, the upper leadership channels versus the lower generative channels, the 2/14 material core, and the functional gaps where no member supplies a role. Built for team, family, and group analysis tools. Below three people no Penta forms and above five a second Penta emerges, so the group size must be three to five.
2305
+ */
2306
+ calculatePenta(options) {
2307
+ return (options?.client ?? this.client).post({
2308
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2309
+ url: "/human-design/penta",
2310
+ ...options,
2311
+ headers: {
2312
+ "Content-Type": "application/json",
2313
+ ...options?.headers
2314
+ }
2315
+ });
2316
+ }
2317
+ /**
2318
+ * Generate Human Design transit overlay - Current planetary activations on a natal bodygraph
2319
+ *
2320
+ * Overlay the current or any given planetary positions on a natal Human Design bodygraph to see which channels the transit temporarily completes. Returns the 13 transiting body activations with gate and line, the channels the transit completes beyond the natal definition split into personal channels where the transit supplies the partner gate of a natal gate and educational channels where the transit supplies both gates, the natally open centers those channels temporarily define, and a short factual summary. A transit is a single moment, so there is no Design side. When date and time are omitted the overlay is computed for now in UTC. Built for daily Human Design apps, transit widgets, and notification tools.
2321
+ */
2322
+ generateTransit(options) {
2323
+ return (options?.client ?? this.client).post({
2324
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2325
+ url: "/human-design/transit",
2326
+ ...options,
2327
+ headers: {
2328
+ "Content-Type": "application/json",
2329
+ ...options?.headers
2330
+ }
2331
+ });
2332
+ }
2333
+ /**
2334
+ * Calculate Human Design type, authority and profile
2335
+ *
2336
+ * Calculate the core Human Design identity from a birth moment: the energy type, the aura strategy, the inner authority, the signature and not-self themes, and the profile. The fast lookup for type-and-authority features without the full bodygraph payload. Verified against NASA JPL Horizons positions.
2337
+ */
2338
+ calculateType(options) {
2339
+ return (options?.client ?? this.client).post({
2340
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2341
+ url: "/human-design/type",
2342
+ ...options,
2343
+ headers: {
2344
+ "Content-Type": "application/json",
2345
+ ...options?.headers
2346
+ }
2347
+ });
2348
+ }
2349
+ /**
2350
+ * Calculate the 26 Human Design gate activations
2351
+ *
2352
+ * Calculate the 26 gate activations for a birth moment, split into the 13 conscious Personality activations at birth and the 13 unconscious Design activations 88 degrees of solar arc earlier. Each activation reports the planet, gate, line, gate keynote, and the matching I-Ching hexagram. Built for activation columns and detailed chart views.
2353
+ */
2354
+ calculateGates(options) {
2355
+ return (options?.client ?? this.client).post({
2356
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2357
+ url: "/human-design/gates",
2358
+ ...options,
2359
+ headers: {
2360
+ "Content-Type": "application/json",
2361
+ ...options?.headers
2362
+ }
2363
+ });
2364
+ }
2365
+ /**
2366
+ * Look up a Human Design gate by number
2367
+ *
2368
+ * Look up the static reference data for a Human Design gate by its number from 1 to 64: the gate keynote name, the center it sits in, the matching I-Ching hexagram, and the gates that form a channel with it. A pure reference endpoint with no birth data required.
2369
+ */
2370
+ getGate(options) {
2371
+ return (options?.client ?? this.client).get({
2372
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2373
+ url: "/human-design/gates/{number}",
2374
+ ...options
2375
+ });
2376
+ }
2377
+ /**
2378
+ * Calculate the defined Human Design channels
2379
+ *
2380
+ * Calculate the defined channels for a birth moment. A channel is defined when both of its gates are activated, and it wires together the two centers it connects. Returns each defined channel with its gates, name, circuit family, and connected centers, plus the full set of centers those channels define. Built for bodygraph rendering and definition analysis.
2381
+ */
2382
+ calculateChannels(options) {
2383
+ return (options?.client ?? this.client).post({
2384
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2385
+ url: "/human-design/channels",
2386
+ ...options,
2387
+ headers: {
2388
+ "Content-Type": "application/json",
2389
+ ...options?.headers
2390
+ }
2391
+ });
2392
+ }
2393
+ /**
2394
+ * Calculate the nine Human Design centers
2395
+ *
2396
+ * Calculate the state of all nine Human Design centers for a birth moment: whether each is defined or open, whether it is a motor or an awareness center, its theme, and the active gates it holds. The data layer behind a rendered bodygraph where defined centers are colored and open centers are white.
2397
+ */
2398
+ calculateCenters(options) {
2399
+ return (options?.client ?? this.client).post({
2400
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2401
+ url: "/human-design/centers",
2402
+ ...options,
2403
+ headers: {
2404
+ "Content-Type": "application/json",
2405
+ ...options?.headers
2406
+ }
2407
+ });
2408
+ }
2409
+ /**
2410
+ * Look up a Human Design center by id
2411
+ *
2412
+ * Look up the static reference data for one of the nine Human Design centers by its id: the display name, whether it is a motor or awareness center, and what it means both defined and undefined. A pure reference endpoint with no birth data required.
2413
+ */
2414
+ getCenter(options) {
2415
+ return (options.client ?? this.client).get({
2416
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2417
+ url: "/human-design/centers/{id}",
2418
+ ...options
2419
+ });
2420
+ }
2421
+ /**
2422
+ * Calculate the Human Design profile and line keynotes
2423
+ *
2424
+ * Calculate the Human Design profile for a birth moment: the conscious Personality Sun line over the unconscious Design Sun line, with the keynote for each. The profile is the geometry of the life role, for example 5/1 the Heretic Investigator. Verified against NASA JPL Horizons positions.
2425
+ */
2426
+ calculateProfile(options) {
2427
+ return (options?.client ?? this.client).post({
2428
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2429
+ url: "/human-design/profile",
2430
+ ...options,
2431
+ headers: {
2432
+ "Content-Type": "application/json",
2433
+ ...options?.headers
2434
+ }
2435
+ });
2436
+ }
2437
+ /**
2438
+ * Calculate Human Design Variables - The four arrows and Color, Tone, Base substructure
2439
+ *
2440
+ * Calculate the four Human Design Variable arrows for a birth moment: Determination and Environment on the design side, Perspective and Motivation on the personality side. Each arrow returns its Color, Tone, and Base numbers from the hexagram-line substructure, the left or right direction set by the Tone, and the sourced Color and direction labels. This is the advanced Rave Variables and Primary Health System layer beneath Type, Strategy, Authority, and Profile. Color, Tone, and Base shift with tiny differences in birth time, so each arrow carries a confidence flag that turns false near a Color or Tone boundary, and a precise birth time is essential. Built for Human Design apps offering PHS, diet, environment, and Rave Psychology readings.
2441
+ */
2442
+ calculateVariables(options) {
2443
+ return (options?.client ?? this.client).post({
2444
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2445
+ url: "/human-design/variables",
2446
+ ...options,
2447
+ headers: {
2448
+ "Content-Type": "application/json",
2449
+ ...options?.headers
2450
+ }
2451
+ });
2452
+ }
2453
+ };
2454
+ var Forecast = class extends HeyApiClient {
2455
+ /**
2456
+ * Cross-domain forecast timeline - Transits, ingresses, stations, dasha changes, critical days
2457
+ *
2458
+ * Build one time-ordered forecast for a single birth subject by merging upcoming events across three domains: western transit-to-natal aspects, sign ingresses, and retrograde stations; vedic Vimshottari mahadasha and antardasha boundaries; and biorhythm critical days. The window is clamped to 90 days and events are capped and scored by significance. Built for what-is-coming dashboards, daily and weekly forecast feeds, and timing tools.
2459
+ */
2460
+ generateTimeline(options) {
2461
+ return (options?.client ?? this.client).post({
2462
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2463
+ url: "/forecast/timeline",
2464
+ ...options,
2465
+ headers: {
2466
+ "Content-Type": "application/json",
2467
+ ...options?.headers
2468
+ }
2469
+ });
2470
+ }
2471
+ /**
2472
+ * Western transit forecast - Transit aspects, sign ingresses, retrograde stations
2473
+ *
2474
+ * Forecast the western astrology events for a single birth chart over a window up to 90 days: every transit-to-natal major aspect refined to its exact instant, every transiting planet sign ingress, and every retrograde or direct station. Returns a time-ordered, significance-scored timeline. Built for astrology forecast feeds, transit alerts, and timing tools.
2475
+ */
2476
+ forecastTransits(options) {
2477
+ return (options?.client ?? this.client).post({
2478
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2479
+ url: "/forecast/transits",
2480
+ ...options,
2481
+ headers: {
2482
+ "Content-Type": "application/json",
2483
+ ...options?.headers
2484
+ }
2485
+ });
2486
+ }
2487
+ /**
2488
+ * Significant dates - High-significance cross-domain forecast highlights
2489
+ *
2490
+ * Return only the high-significance dates from the merged cross-domain forecast for a single birth subject: the rare outer-planet exact transit aspects, slow-planet sign ingresses, retrograde stations, and Vimshottari mahadasha and antardasha changes that mark genuine turning points. Defaults to a significance floor of 70 so the response is a short list of the most meaningful upcoming dates. Built for what-is-coming highlights, timing alerts, and at-a-glance forecast strips.
2491
+ */
2492
+ findSignificantDates(options) {
2493
+ return (options?.client ?? this.client).post({
2494
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2495
+ url: "/forecast/significant-dates",
2496
+ ...options,
2497
+ headers: {
2498
+ "Content-Type": "application/json",
2499
+ ...options?.headers
2500
+ }
2501
+ });
2502
+ }
2503
+ /**
2504
+ * Forecast digest - Pre-summarized next 24h, 7d, 30d, and 90d rollups
2505
+ *
2506
+ * Roll the cross-domain forecast for a single birth subject into four pre-summarized windows: the next 24 hours, 7 days, 30 days, and 90 days from the start date. Each window returns its event count, a per-domain count breakdown, a per-type count breakdown, and the top highest-significance events. Built for a glanceable what-is-coming strip so a caller can render the upcoming highlights without scanning the full event list.
2507
+ */
2508
+ generateDigest(options) {
2509
+ return (options?.client ?? this.client).post({
2510
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2511
+ url: "/forecast/digest",
2512
+ ...options,
2513
+ headers: {
2514
+ "Content-Type": "application/json",
2515
+ ...options?.headers
2516
+ }
2517
+ });
2518
+ }
2519
+ /**
2520
+ * Solar return chart - Annual birthday forecast chart for a single subject
2521
+ *
2522
+ * Cast the solar return chart for one subject and year: the chart erected for the exact moment the transiting Sun returns to its natal ecliptic longitude, the foundational technique for annual astrological forecasting. Returns the full tropical chart with planetary positions, house cusps, aspects, Ascendant, and Midheaven. Location-sensitive: pass the birthplace to anchor the chart to natal geography, or the current city for a relocated solar return where the houses and Ascendant shift to where you are on your birthday. Built for year-ahead forecast tools, birthday charts, and annual horoscope features.
2523
+ */
2524
+ generateSolarReturn(options) {
2525
+ return (options?.client ?? this.client).post({
2526
+ security: [{ name: "X-API-Key", type: "apiKey" }],
2527
+ url: "/forecast/solar-return",
2528
+ ...options,
2529
+ headers: {
2530
+ "Content-Type": "application/json",
2531
+ ...options?.headers
2532
+ }
2533
+ });
2534
+ }
2535
+ };
2266
2536
  var Biorhythm = class extends HeyApiClient {
2267
2537
  /**
2268
2538
  * Get biorhythm reading - Complete cycle analysis for any date
@@ -2837,6 +3107,14 @@ var Roxy = class _Roxy extends HeyApiClient {
2837
3107
  get tarot() {
2838
3108
  return this._tarot ??= new Tarot({ client: this.client });
2839
3109
  }
3110
+ _humanDesign;
3111
+ get humanDesign() {
3112
+ return this._humanDesign ??= new HumanDesign({ client: this.client });
3113
+ }
3114
+ _forecast;
3115
+ get forecast() {
3116
+ return this._forecast ??= new Forecast({ client: this.client });
3117
+ }
2840
3118
  _biorhythm;
2841
3119
  get biorhythm() {
2842
3120
  return this._biorhythm ??= new Biorhythm({ client: this.client });
@@ -2872,7 +3150,7 @@ var Roxy = class _Roxy extends HeyApiClient {
2872
3150
  };
2873
3151
 
2874
3152
  // src/version.ts
2875
- var VERSION = "1.2.30";
3153
+ var VERSION = "1.2.32";
2876
3154
 
2877
3155
  // src/factory.ts
2878
3156
  function createRoxy(auth) {
@@ -2894,6 +3172,8 @@ function createRoxy(auth) {
2894
3172
  Biorhythm,
2895
3173
  Crystals,
2896
3174
  Dreams,
3175
+ Forecast,
3176
+ HumanDesign,
2897
3177
  Iching,
2898
3178
  Languages,
2899
3179
  Location,
package/dist/factory.js CHANGED
@@ -1427,6 +1427,274 @@ var Tarot = class extends HeyApiClient {
1427
1427
  });
1428
1428
  }
1429
1429
  };
1430
+ var HumanDesign = class extends HeyApiClient {
1431
+ /**
1432
+ * Generate full Human Design bodygraph - Type, authority, profile, centers, channels, gates
1433
+ *
1434
+ * Generate a complete Human Design bodygraph from a birth date, time, and timezone. Returns the energy type, strategy, inner authority, signature, not-self theme, profile, definition, incarnation cross, all nine centers with defined state and active gates, the defined channels, and all 26 planetary activations across the Personality and Design sides. The single endpoint for a full chart in one call, built for Human Design apps, readings, and coaching tools.
1435
+ */
1436
+ generateBodygraph(options) {
1437
+ return (options?.client ?? this.client).post({
1438
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1439
+ url: "/human-design/bodygraph",
1440
+ ...options,
1441
+ headers: {
1442
+ "Content-Type": "application/json",
1443
+ ...options?.headers
1444
+ }
1445
+ });
1446
+ }
1447
+ /**
1448
+ * Calculate Human Design connection chart - Two-person composite bodygraph compatibility
1449
+ *
1450
+ * Calculate a Human Design connection chart by overlaying two bodygraphs. For each of the 36 channels the dynamic between the two people is classified as electromagnetic, dominance, compromise, or companionship, the four mechanics of how two designs meet. Also returns the nine centers as defined or open in the combined bodygraph with which person defines each, the combined definition, and a count of each dynamic. Built for relationship, dating, and coaching tools.
1451
+ */
1452
+ calculateConnection(options) {
1453
+ return (options?.client ?? this.client).post({
1454
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1455
+ url: "/human-design/connection",
1456
+ ...options,
1457
+ headers: {
1458
+ "Content-Type": "application/json",
1459
+ ...options?.headers
1460
+ }
1461
+ });
1462
+ }
1463
+ /**
1464
+ * Calculate Human Design Penta - Small-group BG5 operating system for three to five people
1465
+ *
1466
+ * Calculate the Human Design Penta (BG5, Base Group 5) for a small group of three to five people. The Penta is a trans-auric form built from a fixed set of six channels running only between the Sacral, the G Center, and the Throat. It reports which of the twelve Penta gates are filled and by whom, which of the six channels are defined Strengths, the upper leadership channels versus the lower generative channels, the 2/14 material core, and the functional gaps where no member supplies a role. Built for team, family, and group analysis tools. Below three people no Penta forms and above five a second Penta emerges, so the group size must be three to five.
1467
+ */
1468
+ calculatePenta(options) {
1469
+ return (options?.client ?? this.client).post({
1470
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1471
+ url: "/human-design/penta",
1472
+ ...options,
1473
+ headers: {
1474
+ "Content-Type": "application/json",
1475
+ ...options?.headers
1476
+ }
1477
+ });
1478
+ }
1479
+ /**
1480
+ * Generate Human Design transit overlay - Current planetary activations on a natal bodygraph
1481
+ *
1482
+ * Overlay the current or any given planetary positions on a natal Human Design bodygraph to see which channels the transit temporarily completes. Returns the 13 transiting body activations with gate and line, the channels the transit completes beyond the natal definition split into personal channels where the transit supplies the partner gate of a natal gate and educational channels where the transit supplies both gates, the natally open centers those channels temporarily define, and a short factual summary. A transit is a single moment, so there is no Design side. When date and time are omitted the overlay is computed for now in UTC. Built for daily Human Design apps, transit widgets, and notification tools.
1483
+ */
1484
+ generateTransit(options) {
1485
+ return (options?.client ?? this.client).post({
1486
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1487
+ url: "/human-design/transit",
1488
+ ...options,
1489
+ headers: {
1490
+ "Content-Type": "application/json",
1491
+ ...options?.headers
1492
+ }
1493
+ });
1494
+ }
1495
+ /**
1496
+ * Calculate Human Design type, authority and profile
1497
+ *
1498
+ * Calculate the core Human Design identity from a birth moment: the energy type, the aura strategy, the inner authority, the signature and not-self themes, and the profile. The fast lookup for type-and-authority features without the full bodygraph payload. Verified against NASA JPL Horizons positions.
1499
+ */
1500
+ calculateType(options) {
1501
+ return (options?.client ?? this.client).post({
1502
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1503
+ url: "/human-design/type",
1504
+ ...options,
1505
+ headers: {
1506
+ "Content-Type": "application/json",
1507
+ ...options?.headers
1508
+ }
1509
+ });
1510
+ }
1511
+ /**
1512
+ * Calculate the 26 Human Design gate activations
1513
+ *
1514
+ * Calculate the 26 gate activations for a birth moment, split into the 13 conscious Personality activations at birth and the 13 unconscious Design activations 88 degrees of solar arc earlier. Each activation reports the planet, gate, line, gate keynote, and the matching I-Ching hexagram. Built for activation columns and detailed chart views.
1515
+ */
1516
+ calculateGates(options) {
1517
+ return (options?.client ?? this.client).post({
1518
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1519
+ url: "/human-design/gates",
1520
+ ...options,
1521
+ headers: {
1522
+ "Content-Type": "application/json",
1523
+ ...options?.headers
1524
+ }
1525
+ });
1526
+ }
1527
+ /**
1528
+ * Look up a Human Design gate by number
1529
+ *
1530
+ * Look up the static reference data for a Human Design gate by its number from 1 to 64: the gate keynote name, the center it sits in, the matching I-Ching hexagram, and the gates that form a channel with it. A pure reference endpoint with no birth data required.
1531
+ */
1532
+ getGate(options) {
1533
+ return (options?.client ?? this.client).get({
1534
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1535
+ url: "/human-design/gates/{number}",
1536
+ ...options
1537
+ });
1538
+ }
1539
+ /**
1540
+ * Calculate the defined Human Design channels
1541
+ *
1542
+ * Calculate the defined channels for a birth moment. A channel is defined when both of its gates are activated, and it wires together the two centers it connects. Returns each defined channel with its gates, name, circuit family, and connected centers, plus the full set of centers those channels define. Built for bodygraph rendering and definition analysis.
1543
+ */
1544
+ calculateChannels(options) {
1545
+ return (options?.client ?? this.client).post({
1546
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1547
+ url: "/human-design/channels",
1548
+ ...options,
1549
+ headers: {
1550
+ "Content-Type": "application/json",
1551
+ ...options?.headers
1552
+ }
1553
+ });
1554
+ }
1555
+ /**
1556
+ * Calculate the nine Human Design centers
1557
+ *
1558
+ * Calculate the state of all nine Human Design centers for a birth moment: whether each is defined or open, whether it is a motor or an awareness center, its theme, and the active gates it holds. The data layer behind a rendered bodygraph where defined centers are colored and open centers are white.
1559
+ */
1560
+ calculateCenters(options) {
1561
+ return (options?.client ?? this.client).post({
1562
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1563
+ url: "/human-design/centers",
1564
+ ...options,
1565
+ headers: {
1566
+ "Content-Type": "application/json",
1567
+ ...options?.headers
1568
+ }
1569
+ });
1570
+ }
1571
+ /**
1572
+ * Look up a Human Design center by id
1573
+ *
1574
+ * Look up the static reference data for one of the nine Human Design centers by its id: the display name, whether it is a motor or awareness center, and what it means both defined and undefined. A pure reference endpoint with no birth data required.
1575
+ */
1576
+ getCenter(options) {
1577
+ return (options.client ?? this.client).get({
1578
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1579
+ url: "/human-design/centers/{id}",
1580
+ ...options
1581
+ });
1582
+ }
1583
+ /**
1584
+ * Calculate the Human Design profile and line keynotes
1585
+ *
1586
+ * Calculate the Human Design profile for a birth moment: the conscious Personality Sun line over the unconscious Design Sun line, with the keynote for each. The profile is the geometry of the life role, for example 5/1 the Heretic Investigator. Verified against NASA JPL Horizons positions.
1587
+ */
1588
+ calculateProfile(options) {
1589
+ return (options?.client ?? this.client).post({
1590
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1591
+ url: "/human-design/profile",
1592
+ ...options,
1593
+ headers: {
1594
+ "Content-Type": "application/json",
1595
+ ...options?.headers
1596
+ }
1597
+ });
1598
+ }
1599
+ /**
1600
+ * Calculate Human Design Variables - The four arrows and Color, Tone, Base substructure
1601
+ *
1602
+ * Calculate the four Human Design Variable arrows for a birth moment: Determination and Environment on the design side, Perspective and Motivation on the personality side. Each arrow returns its Color, Tone, and Base numbers from the hexagram-line substructure, the left or right direction set by the Tone, and the sourced Color and direction labels. This is the advanced Rave Variables and Primary Health System layer beneath Type, Strategy, Authority, and Profile. Color, Tone, and Base shift with tiny differences in birth time, so each arrow carries a confidence flag that turns false near a Color or Tone boundary, and a precise birth time is essential. Built for Human Design apps offering PHS, diet, environment, and Rave Psychology readings.
1603
+ */
1604
+ calculateVariables(options) {
1605
+ return (options?.client ?? this.client).post({
1606
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1607
+ url: "/human-design/variables",
1608
+ ...options,
1609
+ headers: {
1610
+ "Content-Type": "application/json",
1611
+ ...options?.headers
1612
+ }
1613
+ });
1614
+ }
1615
+ };
1616
+ var Forecast = class extends HeyApiClient {
1617
+ /**
1618
+ * Cross-domain forecast timeline - Transits, ingresses, stations, dasha changes, critical days
1619
+ *
1620
+ * Build one time-ordered forecast for a single birth subject by merging upcoming events across three domains: western transit-to-natal aspects, sign ingresses, and retrograde stations; vedic Vimshottari mahadasha and antardasha boundaries; and biorhythm critical days. The window is clamped to 90 days and events are capped and scored by significance. Built for what-is-coming dashboards, daily and weekly forecast feeds, and timing tools.
1621
+ */
1622
+ generateTimeline(options) {
1623
+ return (options?.client ?? this.client).post({
1624
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1625
+ url: "/forecast/timeline",
1626
+ ...options,
1627
+ headers: {
1628
+ "Content-Type": "application/json",
1629
+ ...options?.headers
1630
+ }
1631
+ });
1632
+ }
1633
+ /**
1634
+ * Western transit forecast - Transit aspects, sign ingresses, retrograde stations
1635
+ *
1636
+ * Forecast the western astrology events for a single birth chart over a window up to 90 days: every transit-to-natal major aspect refined to its exact instant, every transiting planet sign ingress, and every retrograde or direct station. Returns a time-ordered, significance-scored timeline. Built for astrology forecast feeds, transit alerts, and timing tools.
1637
+ */
1638
+ forecastTransits(options) {
1639
+ return (options?.client ?? this.client).post({
1640
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1641
+ url: "/forecast/transits",
1642
+ ...options,
1643
+ headers: {
1644
+ "Content-Type": "application/json",
1645
+ ...options?.headers
1646
+ }
1647
+ });
1648
+ }
1649
+ /**
1650
+ * Significant dates - High-significance cross-domain forecast highlights
1651
+ *
1652
+ * Return only the high-significance dates from the merged cross-domain forecast for a single birth subject: the rare outer-planet exact transit aspects, slow-planet sign ingresses, retrograde stations, and Vimshottari mahadasha and antardasha changes that mark genuine turning points. Defaults to a significance floor of 70 so the response is a short list of the most meaningful upcoming dates. Built for what-is-coming highlights, timing alerts, and at-a-glance forecast strips.
1653
+ */
1654
+ findSignificantDates(options) {
1655
+ return (options?.client ?? this.client).post({
1656
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1657
+ url: "/forecast/significant-dates",
1658
+ ...options,
1659
+ headers: {
1660
+ "Content-Type": "application/json",
1661
+ ...options?.headers
1662
+ }
1663
+ });
1664
+ }
1665
+ /**
1666
+ * Forecast digest - Pre-summarized next 24h, 7d, 30d, and 90d rollups
1667
+ *
1668
+ * Roll the cross-domain forecast for a single birth subject into four pre-summarized windows: the next 24 hours, 7 days, 30 days, and 90 days from the start date. Each window returns its event count, a per-domain count breakdown, a per-type count breakdown, and the top highest-significance events. Built for a glanceable what-is-coming strip so a caller can render the upcoming highlights without scanning the full event list.
1669
+ */
1670
+ generateDigest(options) {
1671
+ return (options?.client ?? this.client).post({
1672
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1673
+ url: "/forecast/digest",
1674
+ ...options,
1675
+ headers: {
1676
+ "Content-Type": "application/json",
1677
+ ...options?.headers
1678
+ }
1679
+ });
1680
+ }
1681
+ /**
1682
+ * Solar return chart - Annual birthday forecast chart for a single subject
1683
+ *
1684
+ * Cast the solar return chart for one subject and year: the chart erected for the exact moment the transiting Sun returns to its natal ecliptic longitude, the foundational technique for annual astrological forecasting. Returns the full tropical chart with planetary positions, house cusps, aspects, Ascendant, and Midheaven. Location-sensitive: pass the birthplace to anchor the chart to natal geography, or the current city for a relocated solar return where the houses and Ascendant shift to where you are on your birthday. Built for year-ahead forecast tools, birthday charts, and annual horoscope features.
1685
+ */
1686
+ generateSolarReturn(options) {
1687
+ return (options?.client ?? this.client).post({
1688
+ security: [{ name: "X-API-Key", type: "apiKey" }],
1689
+ url: "/forecast/solar-return",
1690
+ ...options,
1691
+ headers: {
1692
+ "Content-Type": "application/json",
1693
+ ...options?.headers
1694
+ }
1695
+ });
1696
+ }
1697
+ };
1430
1698
  var Biorhythm = class extends HeyApiClient {
1431
1699
  /**
1432
1700
  * Get biorhythm reading - Complete cycle analysis for any date
@@ -2001,6 +2269,14 @@ var Roxy = class _Roxy extends HeyApiClient {
2001
2269
  get tarot() {
2002
2270
  return this._tarot ??= new Tarot({ client: this.client });
2003
2271
  }
2272
+ _humanDesign;
2273
+ get humanDesign() {
2274
+ return this._humanDesign ??= new HumanDesign({ client: this.client });
2275
+ }
2276
+ _forecast;
2277
+ get forecast() {
2278
+ return this._forecast ??= new Forecast({ client: this.client });
2279
+ }
2004
2280
  _biorhythm;
2005
2281
  get biorhythm() {
2006
2282
  return this._biorhythm ??= new Biorhythm({ client: this.client });
@@ -2036,7 +2312,7 @@ var Roxy = class _Roxy extends HeyApiClient {
2036
2312
  };
2037
2313
 
2038
2314
  // src/version.ts
2039
- var VERSION = "1.2.30";
2315
+ var VERSION = "1.2.32";
2040
2316
 
2041
2317
  // src/factory.ts
2042
2318
  function createRoxy(auth) {
@@ -2057,6 +2333,8 @@ export {
2057
2333
  Biorhythm,
2058
2334
  Crystals,
2059
2335
  Dreams,
2336
+ Forecast,
2337
+ HumanDesign,
2060
2338
  Iching,
2061
2339
  Languages,
2062
2340
  Location,