@roxyapi/sdk 1.2.48 → 1.2.50

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.48";
1
+ export declare const VERSION = "1.2.50";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -10,7 +10,7 @@ const roxy = createRoxy(process.env.ROXY_API_KEY!);
10
10
  ```
11
11
 
12
12
  <!-- 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, numerology, tarot, humanDesign, forecast, 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. English-only: dreams, location, usage, languages. Languages without translations yet fall back to English.
14
14
  <!-- END:LANGS -->
15
15
 
16
16
  ```typescript
@@ -446,7 +446,7 @@ const { data } = await roxy.vedicAstrology.getMonthlyEphemeris({
446
446
  body: { year: 2026, month: 2, coordinateSystem: 'sidereal' },
447
447
  });
448
448
 
449
- // Get current Mahadasha, Antardasha, Pratyantardasha - Dasha Calculator API
449
+ // Get current Mahadasha, Antardasha, Pratyantardasha, Sookshma - Dasha Calculator API
450
450
  const { data } = await roxy.vedicAstrology.getCurrentDasha({
451
451
  body: {
452
452
  date: '1990-07-04',
@@ -454,6 +454,7 @@ const { data } = await roxy.vedicAstrology.getCurrentDasha({
454
454
  latitude: 28.6139,
455
455
  longitude: 77.209,
456
456
  timezone: 5.5,
457
+ ayanamsa: 'lahiri',
457
458
  },
458
459
  });
459
460
 
@@ -465,6 +466,7 @@ const { data } = await roxy.vedicAstrology.getMajorDashas({
465
466
  latitude: 28.6139,
466
467
  longitude: 77.209,
467
468
  timezone: 5.5,
469
+ ayanamsa: 'lahiri',
468
470
  },
469
471
  });
470
472
 
@@ -477,6 +479,37 @@ const { data } = await roxy.vedicAstrology.getSubDashas({
477
479
  latitude: 28.6139,
478
480
  longitude: 77.209,
479
481
  timezone: 5.5,
482
+ ayanamsa: 'lahiri',
483
+ },
484
+ });
485
+
486
+ // Get all Pratyantardashas (antara periods) for a Mahadasha and Antardasha
487
+ const { data } = await roxy.vedicAstrology.getPratyantardashas({
488
+ path: { mahadasha: 'Saturn', antardasha: 'Venus' },
489
+ body: {
490
+ date: '1990-07-04',
491
+ time: '10:12:00',
492
+ latitude: 28.6139,
493
+ longitude: 77.209,
494
+ timezone: 5.5,
495
+ ayanamsa: 'lahiri',
496
+ },
497
+ });
498
+
499
+ // Get all Sookshma dashas for a Mahadasha, Antardasha and Pratyantardasha
500
+ const { data } = await roxy.vedicAstrology.getSookshmaDashas({
501
+ path: {
502
+ mahadasha: 'Saturn',
503
+ antardasha: 'Venus',
504
+ pratyantardasha: 'Rahu',
505
+ },
506
+ body: {
507
+ date: '1990-07-04',
508
+ time: '10:12:00',
509
+ latitude: 28.6139,
510
+ longitude: 77.209,
511
+ timezone: 5.5,
512
+ ayanamsa: 'lahiri',
480
513
  },
481
514
  });
482
515
 
@@ -804,6 +837,249 @@ const { data } = await roxy.vedicAstrology.calculateShadbala({
804
837
 
805
838
  ---
806
839
 
840
+ ## Forecast — `roxy.forecast`
841
+
842
+ Merge upcoming transit aspects, sign ingresses, retrograde stations, new and full moons, biorhythm critical days, and...
843
+
844
+ ```typescript
845
+ // Cross-domain forecast timeline - Transits, ingresses, stations, dasha changes, critical days
846
+ const { data } = await roxy.forecast.generateTimeline({
847
+ body: {
848
+ birthData: {
849
+ date: '1990-07-15',
850
+ time: '13:30:00',
851
+ timezone: 'America/New_York',
852
+ latitude: 0,
853
+ longitude: 0,
854
+ },
855
+ startDate: '2026-06-01',
856
+ endDate: '2026-08-30',
857
+ domains: ['western', 'vedic', 'biorhythm'],
858
+ minSignificance: 0,
859
+ domainWeights: { vedic: 1.5, biorhythm: 0.5 },
860
+ },
861
+ });
862
+
863
+ // Western astrology forecast - aspects, ingresses, stations, eclipses, moon phases
864
+ const { data } = await roxy.forecast.forecastTransits({
865
+ body: {
866
+ birthData: {
867
+ date: '1990-07-15',
868
+ time: '13:30:00',
869
+ timezone: 'America/New_York',
870
+ latitude: 0,
871
+ longitude: 0,
872
+ },
873
+ startDate: '2026-06-01',
874
+ endDate: '2026-08-30',
875
+ minSignificance: 0,
876
+ },
877
+ });
878
+
879
+ // Significant dates - High-significance cross-domain forecast highlights
880
+ const { data } = await roxy.forecast.findSignificantDates({
881
+ body: {
882
+ birthData: {
883
+ date: '1990-07-15',
884
+ time: '13:30:00',
885
+ timezone: 'America/New_York',
886
+ latitude: 0,
887
+ longitude: 0,
888
+ },
889
+ startDate: '2026-06-01',
890
+ endDate: '2026-08-30',
891
+ domains: ['western', 'vedic', 'biorhythm'],
892
+ minSignificance: 70,
893
+ domainWeights: { vedic: 1.5, biorhythm: 0.5 },
894
+ },
895
+ });
896
+
897
+ // Forecast digest - Pre-summarized next 24h, 7d, 30d, and 90d rollups
898
+ const { data } = await roxy.forecast.generateDigest({
899
+ body: {
900
+ birthData: {
901
+ date: '1990-07-15',
902
+ time: '13:30:00',
903
+ timezone: 'America/New_York',
904
+ latitude: 0,
905
+ longitude: 0,
906
+ },
907
+ startDate: '2026-06-01',
908
+ domains: ['western', 'vedic', 'biorhythm'],
909
+ minSignificance: 0,
910
+ domainWeights: { vedic: 1.5, biorhythm: 0.5 },
911
+ top: 3,
912
+ },
913
+ });
914
+
915
+ // Solar return chart - Annual birthday forecast chart for a single subject
916
+ const { data } = await roxy.forecast.forecastSolarReturn({
917
+ body: {
918
+ date: '1990-07-15',
919
+ time: '14:30:00',
920
+ year: 2026,
921
+ latitude: 40.7128,
922
+ longitude: -74.006,
923
+ timezone: 'America/New_York',
924
+ houseSystem: 'placidus',
925
+ },
926
+ });
927
+ ```
928
+
929
+ ---
930
+
931
+ ## Human Design — `roxy.humanDesign`
932
+
933
+ Generate the full Human Design bodygraph from a birth moment: type, strategy, inner authority, profile, definition, i...
934
+
935
+ ```typescript
936
+ // Generate full Human Design bodygraph - Type, authority, profile, centers, channels, gates
937
+ const { data } = await roxy.humanDesign.generateBodygraph({
938
+ body: {
939
+ date: '1990-07-15',
940
+ time: '13:00:00',
941
+ timezone: 'America/New_York',
942
+ latitude: 0,
943
+ longitude: 0,
944
+ nodeType: 'true',
945
+ },
946
+ });
947
+
948
+ // Calculate Human Design connection chart - Two-person composite bodygraph compatibility
949
+ const { data } = await roxy.humanDesign.calculateConnection({
950
+ body: {
951
+ personA: {
952
+ date: '1990-07-15',
953
+ time: '13:00:00',
954
+ timezone: 'America/New_York',
955
+ latitude: 0,
956
+ longitude: 0,
957
+ nodeType: 'true',
958
+ },
959
+ personB: {
960
+ date: '1990-07-15',
961
+ time: '13:00:00',
962
+ timezone: 'America/New_York',
963
+ latitude: 0,
964
+ longitude: 0,
965
+ nodeType: 'true',
966
+ },
967
+ },
968
+ });
969
+
970
+ // Calculate Human Design Penta - Small-group BG5 operating system for three to five people
971
+ const { data } = await roxy.humanDesign.calculatePenta({
972
+ body: {
973
+ members: [
974
+ {
975
+ date: '1990-07-15',
976
+ time: '13:00:00',
977
+ timezone: 'America/New_York',
978
+ latitude: 0,
979
+ longitude: 0,
980
+ nodeType: 'true',
981
+ },
982
+ ],
983
+ },
984
+ });
985
+
986
+ // Generate Human Design transit overlay - Current planetary activations on a natal bodygraph
987
+ const { data } = await roxy.humanDesign.generateTransit({
988
+ body: {
989
+ birthData: {
990
+ date: '1990-07-15',
991
+ time: '13:00:00',
992
+ timezone: 'America/New_York',
993
+ latitude: 0,
994
+ longitude: 0,
995
+ nodeType: 'true',
996
+ },
997
+ date: '2026-05-23',
998
+ time: '12:00:00',
999
+ },
1000
+ });
1001
+
1002
+ // Calculate Human Design type, authority and profile
1003
+ const { data } = await roxy.humanDesign.calculateType({
1004
+ body: {
1005
+ date: '1990-07-15',
1006
+ time: '13:00:00',
1007
+ timezone: 'America/New_York',
1008
+ latitude: 0,
1009
+ longitude: 0,
1010
+ nodeType: 'true',
1011
+ },
1012
+ });
1013
+
1014
+ // Calculate the 26 Human Design gate activations
1015
+ const { data } = await roxy.humanDesign.calculateGates({
1016
+ body: {
1017
+ date: '1990-07-15',
1018
+ time: '13:00:00',
1019
+ timezone: 'America/New_York',
1020
+ latitude: 0,
1021
+ longitude: 0,
1022
+ nodeType: 'true',
1023
+ },
1024
+ });
1025
+
1026
+ // Look up a Human Design gate by number
1027
+ const { data } = await roxy.humanDesign.getGate({ path: { number: 34 } });
1028
+
1029
+ // Calculate the defined Human Design channels
1030
+ const { data } = await roxy.humanDesign.calculateChannels({
1031
+ body: {
1032
+ date: '1990-07-15',
1033
+ time: '13:00:00',
1034
+ timezone: 'America/New_York',
1035
+ latitude: 0,
1036
+ longitude: 0,
1037
+ nodeType: 'true',
1038
+ },
1039
+ });
1040
+
1041
+ // Calculate the nine Human Design centers
1042
+ const { data } = await roxy.humanDesign.calculateCenters({
1043
+ body: {
1044
+ date: '1990-07-15',
1045
+ time: '13:00:00',
1046
+ timezone: 'America/New_York',
1047
+ latitude: 0,
1048
+ longitude: 0,
1049
+ nodeType: 'true',
1050
+ },
1051
+ });
1052
+
1053
+ // Look up a Human Design center by id
1054
+ const { data } = await roxy.humanDesign.getCenter({ path: { id: 'sacral' } });
1055
+
1056
+ // Calculate the Human Design profile and line keynotes
1057
+ const { data } = await roxy.humanDesign.calculateProfile({
1058
+ body: {
1059
+ date: '1990-07-15',
1060
+ time: '13:00:00',
1061
+ timezone: 'America/New_York',
1062
+ latitude: 0,
1063
+ longitude: 0,
1064
+ nodeType: 'true',
1065
+ },
1066
+ });
1067
+
1068
+ // Calculate Human Design Variables - The four arrows and Color, Tone, Base substructure
1069
+ const { data } = await roxy.humanDesign.calculateVariables({
1070
+ body: {
1071
+ date: '1990-07-15',
1072
+ time: '13:00:00',
1073
+ timezone: 'America/New_York',
1074
+ latitude: 0,
1075
+ longitude: 0,
1076
+ nodeType: 'true',
1077
+ },
1078
+ });
1079
+ ```
1080
+
1081
+ ---
1082
+
807
1083
  ## Numerology — `roxy.numerology`
808
1084
 
809
1085
  Numerology API to calculate life path, expression, soul urge, personality, and maturity numbers, with Pinnacle and Ch...
@@ -1019,238 +1295,6 @@ const { data } = await roxy.tarot.castCustomSpread({
1019
1295
 
1020
1296
  ---
1021
1297
 
1022
- ## Human Design — `roxy.humanDesign`
1023
-
1024
- Generate the full Human Design bodygraph from a birth moment: type, strategy, inner authority, profile, definition, i...
1025
-
1026
- ```typescript
1027
- // Generate full Human Design bodygraph - Type, authority, profile, centers, channels, gates
1028
- const { data } = await roxy.humanDesign.generateBodygraph({
1029
- body: {
1030
- date: '1990-07-15',
1031
- time: '13:00:00',
1032
- timezone: 'America/New_York',
1033
- latitude: 0,
1034
- longitude: 0,
1035
- },
1036
- });
1037
-
1038
- // Calculate Human Design connection chart - Two-person composite bodygraph compatibility
1039
- const { data } = await roxy.humanDesign.calculateConnection({
1040
- body: {
1041
- personA: {
1042
- date: '1990-07-15',
1043
- time: '13:00:00',
1044
- timezone: 'America/New_York',
1045
- latitude: 0,
1046
- longitude: 0,
1047
- },
1048
- personB: {
1049
- date: '1990-07-15',
1050
- time: '13:00:00',
1051
- timezone: 'America/New_York',
1052
- latitude: 0,
1053
- longitude: 0,
1054
- },
1055
- },
1056
- });
1057
-
1058
- // Calculate Human Design Penta - Small-group BG5 operating system for three to five people
1059
- const { data } = await roxy.humanDesign.calculatePenta({
1060
- body: {
1061
- members: [
1062
- {
1063
- date: '1990-07-15',
1064
- time: '13:00:00',
1065
- timezone: 'America/New_York',
1066
- latitude: 0,
1067
- longitude: 0,
1068
- },
1069
- ],
1070
- },
1071
- });
1072
-
1073
- // Generate Human Design transit overlay - Current planetary activations on a natal bodygraph
1074
- const { data } = await roxy.humanDesign.generateTransit({
1075
- body: {
1076
- birthData: {
1077
- date: '1990-07-15',
1078
- time: '13:00:00',
1079
- timezone: 'America/New_York',
1080
- latitude: 0,
1081
- longitude: 0,
1082
- },
1083
- date: '2026-05-23',
1084
- time: '12:00:00',
1085
- },
1086
- });
1087
-
1088
- // Calculate Human Design type, authority and profile
1089
- const { data } = await roxy.humanDesign.calculateType({
1090
- body: {
1091
- date: '1990-07-15',
1092
- time: '13:00:00',
1093
- timezone: 'America/New_York',
1094
- latitude: 0,
1095
- longitude: 0,
1096
- },
1097
- });
1098
-
1099
- // Calculate the 26 Human Design gate activations
1100
- const { data } = await roxy.humanDesign.calculateGates({
1101
- body: {
1102
- date: '1990-07-15',
1103
- time: '13:00:00',
1104
- timezone: 'America/New_York',
1105
- latitude: 0,
1106
- longitude: 0,
1107
- },
1108
- });
1109
-
1110
- // Look up a Human Design gate by number
1111
- const { data } = await roxy.humanDesign.getGate({ path: { number: 34 } });
1112
-
1113
- // Calculate the defined Human Design channels
1114
- const { data } = await roxy.humanDesign.calculateChannels({
1115
- body: {
1116
- date: '1990-07-15',
1117
- time: '13:00:00',
1118
- timezone: 'America/New_York',
1119
- latitude: 0,
1120
- longitude: 0,
1121
- },
1122
- });
1123
-
1124
- // Calculate the nine Human Design centers
1125
- const { data } = await roxy.humanDesign.calculateCenters({
1126
- body: {
1127
- date: '1990-07-15',
1128
- time: '13:00:00',
1129
- timezone: 'America/New_York',
1130
- latitude: 0,
1131
- longitude: 0,
1132
- },
1133
- });
1134
-
1135
- // Look up a Human Design center by id
1136
- const { data } = await roxy.humanDesign.getCenter({ path: { id: 'sacral' } });
1137
-
1138
- // Calculate the Human Design profile and line keynotes
1139
- const { data } = await roxy.humanDesign.calculateProfile({
1140
- body: {
1141
- date: '1990-07-15',
1142
- time: '13:00:00',
1143
- timezone: 'America/New_York',
1144
- latitude: 0,
1145
- longitude: 0,
1146
- },
1147
- });
1148
-
1149
- // Calculate Human Design Variables - The four arrows and Color, Tone, Base substructure
1150
- const { data } = await roxy.humanDesign.calculateVariables({
1151
- body: {
1152
- date: '1990-07-15',
1153
- time: '13:00:00',
1154
- timezone: 'America/New_York',
1155
- latitude: 0,
1156
- longitude: 0,
1157
- },
1158
- });
1159
- ```
1160
-
1161
- ---
1162
-
1163
- ## Forecast — `roxy.forecast`
1164
-
1165
- Merge upcoming transit aspects, sign ingresses, retrograde stations, new and full moons, biorhythm critical days, and...
1166
-
1167
- ```typescript
1168
- // Cross-domain forecast timeline - Transits, ingresses, stations, dasha changes, critical days
1169
- const { data } = await roxy.forecast.generateTimeline({
1170
- body: {
1171
- birthData: {
1172
- date: '1990-07-15',
1173
- time: '13:30:00',
1174
- timezone: 'America/New_York',
1175
- latitude: 0,
1176
- longitude: 0,
1177
- },
1178
- startDate: '2026-06-01',
1179
- endDate: '2026-08-30',
1180
- domains: ['western', 'vedic', 'biorhythm'],
1181
- minSignificance: 0,
1182
- domainWeights: { vedic: 1.5, biorhythm: 0.5 },
1183
- },
1184
- });
1185
-
1186
- // Western astrology forecast - aspects, ingresses, stations, eclipses, moon phases
1187
- const { data } = await roxy.forecast.forecastTransits({
1188
- body: {
1189
- birthData: {
1190
- date: '1990-07-15',
1191
- time: '13:30:00',
1192
- timezone: 'America/New_York',
1193
- latitude: 0,
1194
- longitude: 0,
1195
- },
1196
- startDate: '2026-06-01',
1197
- endDate: '2026-08-30',
1198
- minSignificance: 0,
1199
- },
1200
- });
1201
-
1202
- // Significant dates - High-significance cross-domain forecast highlights
1203
- const { data } = await roxy.forecast.findSignificantDates({
1204
- body: {
1205
- birthData: {
1206
- date: '1990-07-15',
1207
- time: '13:30:00',
1208
- timezone: 'America/New_York',
1209
- latitude: 0,
1210
- longitude: 0,
1211
- },
1212
- startDate: '2026-06-01',
1213
- endDate: '2026-08-30',
1214
- domains: ['western', 'vedic', 'biorhythm'],
1215
- minSignificance: 70,
1216
- domainWeights: { vedic: 1.5, biorhythm: 0.5 },
1217
- },
1218
- });
1219
-
1220
- // Forecast digest - Pre-summarized next 24h, 7d, 30d, and 90d rollups
1221
- const { data } = await roxy.forecast.generateDigest({
1222
- body: {
1223
- birthData: {
1224
- date: '1990-07-15',
1225
- time: '13:30:00',
1226
- timezone: 'America/New_York',
1227
- latitude: 0,
1228
- longitude: 0,
1229
- },
1230
- startDate: '2026-06-01',
1231
- domains: ['western', 'vedic', 'biorhythm'],
1232
- minSignificance: 0,
1233
- domainWeights: { vedic: 1.5, biorhythm: 0.5 },
1234
- top: 3,
1235
- },
1236
- });
1237
-
1238
- // Solar return chart - Annual birthday forecast chart for a single subject
1239
- const { data } = await roxy.forecast.forecastSolarReturn({
1240
- body: {
1241
- date: '1990-07-15',
1242
- time: '14:30:00',
1243
- year: 2026,
1244
- latitude: 40.7128,
1245
- longitude: -74.006,
1246
- timezone: 'America/New_York',
1247
- houseSystem: 'placidus',
1248
- },
1249
- });
1250
- ```
1251
-
1252
- ---
1253
-
1254
1298
  ## Biorhythm — `roxy.biorhythm`
1255
1299
 
1256
1300
  The most complete biorhythm API: 10 cycle types across 3 primary (physical, emotional, intellectual), 4 secondary (in...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/sdk",
3
- "version": "1.2.48",
3
+ "version": "1.2.50",
4
4
  "description": "TypeScript SDK for Roxy — the multi-domain spiritual intelligence API",
5
5
  "type": "module",
6
6
  "exports": {
@@ -73,7 +73,7 @@
73
73
  "@types/node": "^26.1.1",
74
74
  "lefthook": "^2.1.10",
75
75
  "tsup": "^8.5.1",
76
- "typescript": "^6.0.2",
76
+ "typescript": "^6.0.3",
77
77
  "vitest": "^4.1.10"
78
78
  }
79
79
  }