@roxyapi/sdk 1.2.46 → 1.2.47

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/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.2.46";
1
+ export declare const VERSION = "1.2.47";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/sdk",
3
- "version": "1.2.46",
3
+ "version": "1.2.47",
4
4
  "description": "TypeScript SDK for Roxy — the multi-domain spiritual intelligence API",
5
5
  "type": "module",
6
6
  "exports": {
package/src/types.gen.ts CHANGED
@@ -5459,6 +5459,21 @@ export type DrawnCard = {
5459
5459
  imageUrl: string;
5460
5460
  };
5461
5461
 
5462
+ export type ChangingLine = {
5463
+ /**
5464
+ * Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
5465
+ */
5466
+ position: number;
5467
+ /**
5468
+ * The oracle statement for this line. It applies when this specific line comes up changing (old yin or old yang) in a casting, and it speaks in the concrete imagery of the tradition.
5469
+ */
5470
+ text: string;
5471
+ /**
5472
+ * What the line statement asks of the querent, read from its position in the hexagram (1 is the hidden beginning, 3 is the exposed threshold, 5 is the ruling line, 6 is past the peak) and from whether the line is yin or yang. This is the meaning behind the image, so a consuming agent does not have to invent one.
5473
+ */
5474
+ meaning?: string;
5475
+ };
5476
+
5462
5477
  export type BasicHexagram = {
5463
5478
  /**
5464
5479
  * Hexagram number in King Wen sequence (1-64).
@@ -5561,17 +5576,6 @@ export type Interpretation = {
5561
5576
  advice: string;
5562
5577
  };
5563
5578
 
5564
- export type ChangingLine = {
5565
- /**
5566
- * Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
5567
- */
5568
- position: number;
5569
- /**
5570
- * Changing line interpretation text. Applies only when this specific line is a changing line (old yin or old yang) in a casting.
5571
- */
5572
- text: string;
5573
- };
5574
-
5575
5579
  export type BasicTrigram = {
5576
5580
  /**
5577
5581
  * Trigram number (1-8)
@@ -5605,7 +5609,7 @@ export type BasicTrigram = {
5605
5609
 
5606
5610
  export type Trigram = {
5607
5611
  /**
5608
- * Trigram number (1-8) in the traditional I-Ching ordering.
5612
+ * Stable identifier for the trigram, 1 to 8. This is our lookup key, not a canonical sequence: the tradition has several orderings (King Wen, Fu Xi, Earlier and Later Heaven) and they disagree, so do not read ranking or precedence into it.
5609
5613
  */
5610
5614
  number: number;
5611
5615
  /**
@@ -32134,6 +32138,10 @@ export type PostIchingDailyCastResponses = {
32134
32138
  * Positions of changing lines (1-6, bottom to top). These lines transform yin to yang or vice versa.
32135
32139
  */
32136
32140
  changingLinePositions: Array<number>;
32141
+ /**
32142
+ * The oracle statement and meaning of each line that came up CHANGING, and only those. The changing lines are what the cast is actually about, so this saves a second call to read them and stops a consuming agent from having to invent them.
32143
+ */
32144
+ changingLines?: Array<ChangingLine>;
32137
32145
  /**
32138
32146
  * Hexagram after transformation (if changing lines present)
32139
32147
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.2.46';
1
+ export const VERSION = '1.2.47';