@roxyapi/sdk 1.2.70 → 1.2.71

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.70";
1
+ export declare const VERSION = "1.2.71";
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.70",
3
+ "version": "1.2.71",
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
@@ -36136,7 +36136,7 @@ export type GetChineseAstrologyCalendarDayByDateResponses = {
36136
36136
  */
36137
36137
  nameLocalized?: string;
36138
36138
  /**
36139
- * English display name of the officer.
36139
+ * English display name of the officer. Canonical, identical in every language, so it stays safe to compare against in code. The translation is in nameLocalized.
36140
36140
  */
36141
36141
  name: string;
36142
36142
  /**
@@ -36162,9 +36162,13 @@ export type GetChineseAstrologyCalendarDayByDateResponses = {
36162
36162
  */
36163
36163
  number: number;
36164
36164
  /**
36165
- * English display name of the mansion.
36165
+ * English display name of the mansion. Canonical, identical in every language. The translation is in nameLocalized. Note the mansion has no string id: number is the stable 1 to 28 key, because five of the 28 share a pinyin spelling.
36166
36166
  */
36167
36167
  name: string;
36168
+ /**
36169
+ * Display name of the mansion in the requested language. Absent when lang is en, and absent when a language has no entry for this mansion, so a caller falls back to name rather than rendering a blank.
36170
+ */
36171
+ nameLocalized?: string;
36168
36172
  /**
36169
36173
  * The mansion in Chinese. A data field, identical in every language.
36170
36174
  */
@@ -36182,9 +36186,13 @@ export type GetChineseAstrologyCalendarDayByDateResponses = {
36182
36186
  */
36183
36187
  planet: string;
36184
36188
  /**
36185
- * Animal emblem of the mansion, the third character of its full Chinese name.
36189
+ * Animal emblem of the mansion, the third character of its full Chinese name. English and canonical, identical in every language, matching how clashAnimal behaves on the same response. The translation is in animalLocalized.
36186
36190
  */
36187
36191
  animal: string;
36192
+ /**
36193
+ * Animal emblem in the requested language. Absent when lang is en, and absent when a language has no entry, so a caller falls back to animal.
36194
+ */
36195
+ animalLocalized?: string;
36188
36196
  };
36189
36197
  /**
36190
36198
  * The zodiac animal the day clashes with, which is the animal six branches away from the day branch. Anyone born in that animal year traditionally avoids the day for anything important.
@@ -36510,7 +36518,7 @@ export type GetChineseAstrologyCalendarMonthlyResponses = {
36510
36518
  */
36511
36519
  nameLocalized?: string;
36512
36520
  /**
36513
- * English display name of the officer.
36521
+ * English display name of the officer. Canonical, identical in every language, so it stays safe to compare against in code. The translation is in nameLocalized.
36514
36522
  */
36515
36523
  name: string;
36516
36524
  /**
@@ -36536,9 +36544,13 @@ export type GetChineseAstrologyCalendarMonthlyResponses = {
36536
36544
  */
36537
36545
  number: number;
36538
36546
  /**
36539
- * English display name of the mansion.
36547
+ * English display name of the mansion. Canonical, identical in every language. The translation is in nameLocalized. Note the mansion has no string id: number is the stable 1 to 28 key, because five of the 28 share a pinyin spelling.
36540
36548
  */
36541
36549
  name: string;
36550
+ /**
36551
+ * Display name of the mansion in the requested language. Absent when lang is en, and absent when a language has no entry for this mansion, so a caller falls back to name rather than rendering a blank.
36552
+ */
36553
+ nameLocalized?: string;
36542
36554
  /**
36543
36555
  * The mansion in Chinese. A data field, identical in every language.
36544
36556
  */
@@ -36556,9 +36568,13 @@ export type GetChineseAstrologyCalendarMonthlyResponses = {
36556
36568
  */
36557
36569
  planet: string;
36558
36570
  /**
36559
- * Animal emblem of the mansion, the third character of its full Chinese name.
36571
+ * Animal emblem of the mansion, the third character of its full Chinese name. English and canonical, identical in every language, matching how clashAnimal behaves on the same response. The translation is in animalLocalized.
36560
36572
  */
36561
36573
  animal: string;
36574
+ /**
36575
+ * Animal emblem in the requested language. Absent when lang is en, and absent when a language has no entry, so a caller falls back to animal.
36576
+ */
36577
+ animalLocalized?: string;
36562
36578
  };
36563
36579
  /**
36564
36580
  * The zodiac animal the day clashes with, which is the animal six branches away from the day branch. Anyone born in that animal year traditionally avoids the day for anything important.
@@ -36888,7 +36904,7 @@ export type PostChineseAstrologyCalendarAuspiciousDaysResponses = {
36888
36904
  */
36889
36905
  nameLocalized?: string;
36890
36906
  /**
36891
- * English display name of the officer.
36907
+ * English display name of the officer. Canonical, identical in every language, so it stays safe to compare against in code. The translation is in nameLocalized.
36892
36908
  */
36893
36909
  name: string;
36894
36910
  /**
@@ -36914,9 +36930,13 @@ export type PostChineseAstrologyCalendarAuspiciousDaysResponses = {
36914
36930
  */
36915
36931
  number: number;
36916
36932
  /**
36917
- * English display name of the mansion.
36933
+ * English display name of the mansion. Canonical, identical in every language. The translation is in nameLocalized. Note the mansion has no string id: number is the stable 1 to 28 key, because five of the 28 share a pinyin spelling.
36918
36934
  */
36919
36935
  name: string;
36936
+ /**
36937
+ * Display name of the mansion in the requested language. Absent when lang is en, and absent when a language has no entry for this mansion, so a caller falls back to name rather than rendering a blank.
36938
+ */
36939
+ nameLocalized?: string;
36920
36940
  /**
36921
36941
  * The mansion in Chinese. A data field, identical in every language.
36922
36942
  */
@@ -36934,9 +36954,13 @@ export type PostChineseAstrologyCalendarAuspiciousDaysResponses = {
36934
36954
  */
36935
36955
  planet: string;
36936
36956
  /**
36937
- * Animal emblem of the mansion, the third character of its full Chinese name.
36957
+ * Animal emblem of the mansion, the third character of its full Chinese name. English and canonical, identical in every language, matching how clashAnimal behaves on the same response. The translation is in animalLocalized.
36938
36958
  */
36939
36959
  animal: string;
36960
+ /**
36961
+ * Animal emblem in the requested language. Absent when lang is en, and absent when a language has no entry, so a caller falls back to animal.
36962
+ */
36963
+ animalLocalized?: string;
36940
36964
  };
36941
36965
  /**
36942
36966
  * The zodiac animal the day clashes with, which is the animal six branches away from the day branch. Anyone born in that animal year traditionally avoids the day for anything important.
@@ -38192,7 +38216,7 @@ export type PostFengShuiFlyingStarsNatalResponses = {
38192
38216
  */
38193
38217
  id: string;
38194
38218
  /**
38195
- * Display name of the structure. Always English, whatever the lang parameter says.
38219
+ * Display name of the structure, TRANSLATED IN PLACE under the lang parameter. Switch on structure.id, which is the stable machine value in every language. Unlike the star and formation names beside it, this field has no nameLocalized sibling.
38196
38220
  */
38197
38221
  name: string;
38198
38222
  /**
@@ -39005,7 +39029,11 @@ export type GetFengShuiAfflictionsByYearResponses = {
39005
39029
  */
39006
39030
  taiSui: {
39007
39031
  /**
39008
- * Display name of the affliction. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
39032
+ * Stable machine key for the affliction: taiSui, suiPo, sanSha or fiveYellow. Always English, identical in every language, and the field to branch on. Use this rather than name, which is display copy and does translate.
39033
+ */
39034
+ id: string;
39035
+ /**
39036
+ * Display name of the affliction, translated in place when lang is set (Tai Sui in English, 太岁 under zh-Hans). Display copy, never a comparison key: branch on id instead.
39009
39037
  */
39010
39038
  name: string;
39011
39039
  /**
@@ -39076,7 +39104,11 @@ export type GetFengShuiAfflictionsByYearResponses = {
39076
39104
  */
39077
39105
  suiPo: {
39078
39106
  /**
39079
- * Display name of the affliction. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
39107
+ * Stable machine key for the affliction: taiSui, suiPo, sanSha or fiveYellow. Always English, identical in every language, and the field to branch on. Use this rather than name, which is display copy and does translate.
39108
+ */
39109
+ id: string;
39110
+ /**
39111
+ * Display name of the affliction, translated in place when lang is set (Tai Sui in English, 太岁 under zh-Hans). Display copy, never a comparison key: branch on id instead.
39080
39112
  */
39081
39113
  name: string;
39082
39114
  /**
@@ -39139,7 +39171,11 @@ export type GetFengShuiAfflictionsByYearResponses = {
39139
39171
  */
39140
39172
  sanSha: {
39141
39173
  /**
39142
- * Display name of the affliction. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
39174
+ * Stable machine key for the affliction: taiSui, suiPo, sanSha or fiveYellow. Always English, identical in every language, and the field to branch on. Use this rather than name, which is display copy and does translate.
39175
+ */
39176
+ id: string;
39177
+ /**
39178
+ * Display name of the affliction, translated in place when lang is set (Tai Sui in English, 太岁 under zh-Hans). Display copy, never a comparison key: branch on id instead.
39143
39179
  */
39144
39180
  name: string;
39145
39181
  /**
@@ -39183,7 +39219,7 @@ export type GetFengShuiAfflictionsByYearResponses = {
39183
39219
  */
39184
39220
  id: string;
39185
39221
  /**
39186
- * Display name of the part. Always English, whatever the lang parameter says.
39222
+ * Display name of the part, translated in place when lang is set. Display copy, never a comparison key: branch on id instead.
39187
39223
  */
39188
39224
  name: string;
39189
39225
  /**
@@ -39243,7 +39279,11 @@ export type GetFengShuiAfflictionsByYearResponses = {
39243
39279
  */
39244
39280
  fiveYellow: {
39245
39281
  /**
39246
- * Display name of the affliction. Always English, whatever the lang parameter says, so it stays safe to compare against in code.
39282
+ * Stable machine key for the affliction: taiSui, suiPo, sanSha or fiveYellow. Always English, identical in every language, and the field to branch on. Use this rather than name, which is display copy and does translate.
39283
+ */
39284
+ id: string;
39285
+ /**
39286
+ * Display name of the affliction, translated in place when lang is set (Tai Sui in English, 太岁 under zh-Hans). Display copy, never a comparison key: branch on id instead.
39247
39287
  */
39248
39288
  name: string;
39249
39289
  /**
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.2.70';
1
+ export const VERSION = '1.2.71';