@roxyapi/sdk 1.2.30 → 1.2.31

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/src/types.gen.ts CHANGED
@@ -15560,7 +15560,7 @@ export type PostVedicAstrologyTransitResponses = {
15560
15560
  */
15561
15561
  sign: string;
15562
15562
  /**
15563
- * House number (1-12) in the natal chart based on Placidus cusps.
15563
+ * Bhava (house) number 1-12, counted whole-sign from the Lagna (house 1 is the Lagna rashi).
15564
15564
  */
15565
15565
  house: number;
15566
15566
  }>;
@@ -15581,7 +15581,7 @@ export type PostVedicAstrologyTransitResponses = {
15581
15581
  */
15582
15582
  sign: string;
15583
15583
  /**
15584
- * Which natal house this planet is currently transiting through. Key for Gochar predictions.
15584
+ * Which natal house (whole-sign bhava from the Lagna) this planet is currently transiting through. Key for Gochar predictions.
15585
15585
  */
15586
15586
  natalHouse: number;
15587
15587
  /**
@@ -20812,17 +20812,49 @@ export type GetNumerologyMeaningsByNumberData = {
20812
20812
 
20813
20813
  export type GetNumerologyMeaningsByNumberErrors = {
20814
20814
  /**
20815
- * Invalid number (must be 1-9, 11, 22, or 33)
20815
+ * Validation error. `issues[]` lists every failed field.
20816
20816
  */
20817
20817
  400: {
20818
20818
  /**
20819
- * Human-readable error message. May change wording — do not parse programmatically.
20819
+ * First issue summary.
20820
20820
  */
20821
20821
  error: string;
20822
+ code: 'validation_error';
20822
20823
  /**
20823
- * Machine-readable error code. Stable identifier for programmatic error handling.
20824
+ * Every validation failure. Use this to rebuild a valid request.
20824
20825
  */
20825
- code: string;
20826
+ issues: Array<{
20827
+ /**
20828
+ * Dot-separated field path, or "(root)" for top-level.
20829
+ */
20830
+ path: string;
20831
+ message: string;
20832
+ /**
20833
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
20834
+ */
20835
+ code?: string;
20836
+ /**
20837
+ * Expected type for invalid_type.
20838
+ */
20839
+ expected?: string;
20840
+ /**
20841
+ * Minimum bound for too_small issues.
20842
+ */
20843
+ minimum?: number | string;
20844
+ /**
20845
+ * Maximum bound for too_big issues.
20846
+ */
20847
+ maximum?: number | string;
20848
+ inclusive?: boolean;
20849
+ /**
20850
+ * Format name for string issues (regex, email, url, uuid).
20851
+ */
20852
+ format?: string;
20853
+ /**
20854
+ * Regex pattern when format is regex.
20855
+ */
20856
+ pattern?: string;
20857
+ }>;
20826
20858
  };
20827
20859
  /**
20828
20860
  * Invalid or missing API key
@@ -22761,6 +22793,2850 @@ export type PostTarotSpreadsCustomResponses = {
22761
22793
 
22762
22794
  export type PostTarotSpreadsCustomResponse = PostTarotSpreadsCustomResponses[keyof PostTarotSpreadsCustomResponses];
22763
22795
 
22796
+ export type PostHumanDesignBodygraphData = {
22797
+ body?: {
22798
+ /**
22799
+ * Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
22800
+ */
22801
+ date: string;
22802
+ /**
22803
+ * Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
22804
+ */
22805
+ time: string;
22806
+ /**
22807
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
22808
+ */
22809
+ timezone: number | string;
22810
+ /**
22811
+ * Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
22812
+ */
22813
+ latitude?: number;
22814
+ /**
22815
+ * Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
22816
+ */
22817
+ longitude?: number;
22818
+ };
22819
+ path?: never;
22820
+ query?: {
22821
+ /**
22822
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
22823
+ */
22824
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
22825
+ };
22826
+ url: '/human-design/bodygraph';
22827
+ };
22828
+
22829
+ export type PostHumanDesignBodygraphErrors = {
22830
+ /**
22831
+ * Validation error. `issues[]` lists every failed field.
22832
+ */
22833
+ 400: {
22834
+ /**
22835
+ * First issue summary.
22836
+ */
22837
+ error: string;
22838
+ code: 'validation_error';
22839
+ /**
22840
+ * Every validation failure. Use this to rebuild a valid request.
22841
+ */
22842
+ issues: Array<{
22843
+ /**
22844
+ * Dot-separated field path, or "(root)" for top-level.
22845
+ */
22846
+ path: string;
22847
+ message: string;
22848
+ /**
22849
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
22850
+ */
22851
+ code?: string;
22852
+ /**
22853
+ * Expected type for invalid_type.
22854
+ */
22855
+ expected?: string;
22856
+ /**
22857
+ * Minimum bound for too_small issues.
22858
+ */
22859
+ minimum?: number | string;
22860
+ /**
22861
+ * Maximum bound for too_big issues.
22862
+ */
22863
+ maximum?: number | string;
22864
+ inclusive?: boolean;
22865
+ /**
22866
+ * Format name for string issues (regex, email, url, uuid).
22867
+ */
22868
+ format?: string;
22869
+ /**
22870
+ * Regex pattern when format is regex.
22871
+ */
22872
+ pattern?: string;
22873
+ }>;
22874
+ };
22875
+ /**
22876
+ * Invalid or missing API key
22877
+ */
22878
+ 401: {
22879
+ /**
22880
+ * Human-readable error message. May change wording.
22881
+ */
22882
+ error: string;
22883
+ /**
22884
+ * Machine-readable error code. Stable identifier.
22885
+ */
22886
+ code: string;
22887
+ };
22888
+ /**
22889
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
22890
+ */
22891
+ 405: {
22892
+ error: string;
22893
+ code: 'method_not_allowed';
22894
+ /**
22895
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
22896
+ */
22897
+ allow: Array<string>;
22898
+ /**
22899
+ * Link to the product page for this domain.
22900
+ */
22901
+ docs?: string;
22902
+ };
22903
+ /**
22904
+ * Monthly rate limit exceeded
22905
+ */
22906
+ 429: {
22907
+ /**
22908
+ * Human-readable error message. May change wording.
22909
+ */
22910
+ error: string;
22911
+ /**
22912
+ * Machine-readable error code. Stable identifier.
22913
+ */
22914
+ code: string;
22915
+ };
22916
+ /**
22917
+ * Internal server error
22918
+ */
22919
+ 500: {
22920
+ /**
22921
+ * Human-readable error message. May change wording.
22922
+ */
22923
+ error: string;
22924
+ /**
22925
+ * Machine-readable error code. Stable identifier.
22926
+ */
22927
+ code: string;
22928
+ };
22929
+ };
22930
+
22931
+ export type PostHumanDesignBodygraphError = PostHumanDesignBodygraphErrors[keyof PostHumanDesignBodygraphErrors];
22932
+
22933
+ export type PostHumanDesignBodygraphResponses = {
22934
+ /**
22935
+ * Complete bodygraph with type, authority, profile, centers, channels, and gates
22936
+ */
22937
+ 200: {
22938
+ /**
22939
+ * Human Design energy type. One of Manifestor, Generator, Manifesting Generator, Projector, Reflector.
22940
+ */
22941
+ type: string;
22942
+ /**
22943
+ * The aura strategy for engaging life correctly for this type.
22944
+ */
22945
+ strategy: string;
22946
+ /**
22947
+ * Inner authority for decision making. One of Emotional, Sacral, Splenic, Ego, Self-Projected, Mental, Lunar.
22948
+ */
22949
+ authority: string;
22950
+ /**
22951
+ * The signature feeling of living in alignment with the type.
22952
+ */
22953
+ signature: string;
22954
+ /**
22955
+ * The not-self theme, the recurring feeling that signals being out of alignment.
22956
+ */
22957
+ notSelf: string;
22958
+ /**
22959
+ * Profile in conscious/unconscious form from the Personality Sun line over the Design Sun line.
22960
+ */
22961
+ profile: string;
22962
+ /**
22963
+ * Definition type from the number of connected components among defined centers. One of None, Single, Split, Triple Split, Quadruple Split.
22964
+ */
22965
+ definition: string;
22966
+ /**
22967
+ * The incarnation cross built from the four cardinal gates and the profile angle.
22968
+ */
22969
+ incarnationCross: {
22970
+ /**
22971
+ * The four cardinal gates of the cross: Personality Sun, Personality Earth, Design Sun, Design Earth.
22972
+ */
22973
+ gates: Array<number>;
22974
+ /**
22975
+ * Cross angle. One of Right Angle, Juxtaposition, Left Angle.
22976
+ */
22977
+ angle: string;
22978
+ /**
22979
+ * Short code for the angle. One of RAX, JXT, LAX.
22980
+ */
22981
+ angleCode: string;
22982
+ /**
22983
+ * Composed name of the incarnation cross from the angle and the four gates.
22984
+ */
22985
+ name: string;
22986
+ };
22987
+ /**
22988
+ * All nine centers with their defined state and active gates.
22989
+ */
22990
+ centers: Array<{
22991
+ /**
22992
+ * Center identifier. One of head, ajna, throat, g, heart, sacral, solar-plexus, spleen, root.
22993
+ */
22994
+ id: string;
22995
+ /**
22996
+ * Display name of the center.
22997
+ */
22998
+ name: string;
22999
+ /**
23000
+ * Whether the center is defined. A defined center is a consistent source of energy or awareness; an undefined center is open and conditioned by others.
23001
+ */
23002
+ defined: boolean;
23003
+ /**
23004
+ * Whether this is a motor center (energy source). The four motors are Heart, Sacral, Solar Plexus, and Root.
23005
+ */
23006
+ motor: boolean;
23007
+ /**
23008
+ * Whether this is an awareness center. The three awareness centers are Ajna, Solar Plexus, and Spleen.
23009
+ */
23010
+ awareness: boolean;
23011
+ /**
23012
+ * Theme text describing the center in its current defined or undefined state.
23013
+ */
23014
+ theme: string;
23015
+ /**
23016
+ * Active gate numbers that sit in this center.
23017
+ */
23018
+ gates: Array<number>;
23019
+ }>;
23020
+ /**
23021
+ * The defined channels where both gates are activated.
23022
+ */
23023
+ channels: Array<{
23024
+ /**
23025
+ * First gate of the channel.
23026
+ */
23027
+ gateA: number;
23028
+ /**
23029
+ * Second gate of the channel.
23030
+ */
23031
+ gateB: number;
23032
+ /**
23033
+ * Name of the defined channel.
23034
+ */
23035
+ name: string;
23036
+ /**
23037
+ * Circuit family of the channel. One of Individual, Collective, Tribal.
23038
+ */
23039
+ circuit: string;
23040
+ /**
23041
+ * The two centers this channel connects and defines.
23042
+ */
23043
+ centers: Array<string>;
23044
+ }>;
23045
+ /**
23046
+ * All 26 activations, 13 Personality and 13 Design.
23047
+ */
23048
+ gates: Array<{
23049
+ /**
23050
+ * Activating body. One of Sun, Earth, Moon, North Node, South Node, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto.
23051
+ */
23052
+ planet: string;
23053
+ /**
23054
+ * Chart side. personality is the conscious birth-moment activation, design is the unconscious activation 88 degrees of solar arc before birth.
23055
+ */
23056
+ side: string;
23057
+ /**
23058
+ * Human Design gate number from 1 to 64 that this activation falls in.
23059
+ */
23060
+ gate: number;
23061
+ /**
23062
+ * Line number from 1 to 6 within the gate, setting the line keynote and the profile.
23063
+ */
23064
+ line: number;
23065
+ /**
23066
+ * Human Design keynote name of the gate, describing its bodygraph function.
23067
+ */
23068
+ gateName: string;
23069
+ /**
23070
+ * Cross-reference to the I-Ching hexagram that shares this gate number.
23071
+ */
23072
+ ichingHexagram: {
23073
+ /**
23074
+ * I-Ching hexagram number, identical to the gate number it corresponds to.
23075
+ */
23076
+ number: number;
23077
+ /**
23078
+ * English name of the corresponding I-Ching hexagram.
23079
+ */
23080
+ english: string;
23081
+ };
23082
+ }>;
23083
+ };
23084
+ };
23085
+
23086
+ export type PostHumanDesignBodygraphResponse = PostHumanDesignBodygraphResponses[keyof PostHumanDesignBodygraphResponses];
23087
+
23088
+ export type PostHumanDesignConnectionData = {
23089
+ body?: {
23090
+ /**
23091
+ * Birth moment of the first person in the connection.
23092
+ */
23093
+ personA: {
23094
+ /**
23095
+ * Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
23096
+ */
23097
+ date: string;
23098
+ /**
23099
+ * Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
23100
+ */
23101
+ time: string;
23102
+ /**
23103
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
23104
+ */
23105
+ timezone: number | string;
23106
+ /**
23107
+ * Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
23108
+ */
23109
+ latitude?: number;
23110
+ /**
23111
+ * Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
23112
+ */
23113
+ longitude?: number;
23114
+ };
23115
+ /**
23116
+ * Birth moment of the second person in the connection.
23117
+ */
23118
+ personB: {
23119
+ /**
23120
+ * Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
23121
+ */
23122
+ date: string;
23123
+ /**
23124
+ * Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
23125
+ */
23126
+ time: string;
23127
+ /**
23128
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
23129
+ */
23130
+ timezone: number | string;
23131
+ /**
23132
+ * Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
23133
+ */
23134
+ latitude?: number;
23135
+ /**
23136
+ * Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
23137
+ */
23138
+ longitude?: number;
23139
+ };
23140
+ };
23141
+ path?: never;
23142
+ query?: {
23143
+ /**
23144
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
23145
+ */
23146
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
23147
+ };
23148
+ url: '/human-design/connection';
23149
+ };
23150
+
23151
+ export type PostHumanDesignConnectionErrors = {
23152
+ /**
23153
+ * Validation error. `issues[]` lists every failed field.
23154
+ */
23155
+ 400: {
23156
+ /**
23157
+ * First issue summary.
23158
+ */
23159
+ error: string;
23160
+ code: 'validation_error';
23161
+ /**
23162
+ * Every validation failure. Use this to rebuild a valid request.
23163
+ */
23164
+ issues: Array<{
23165
+ /**
23166
+ * Dot-separated field path, or "(root)" for top-level.
23167
+ */
23168
+ path: string;
23169
+ message: string;
23170
+ /**
23171
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
23172
+ */
23173
+ code?: string;
23174
+ /**
23175
+ * Expected type for invalid_type.
23176
+ */
23177
+ expected?: string;
23178
+ /**
23179
+ * Minimum bound for too_small issues.
23180
+ */
23181
+ minimum?: number | string;
23182
+ /**
23183
+ * Maximum bound for too_big issues.
23184
+ */
23185
+ maximum?: number | string;
23186
+ inclusive?: boolean;
23187
+ /**
23188
+ * Format name for string issues (regex, email, url, uuid).
23189
+ */
23190
+ format?: string;
23191
+ /**
23192
+ * Regex pattern when format is regex.
23193
+ */
23194
+ pattern?: string;
23195
+ }>;
23196
+ };
23197
+ /**
23198
+ * Invalid or missing API key
23199
+ */
23200
+ 401: {
23201
+ /**
23202
+ * Human-readable error message. May change wording.
23203
+ */
23204
+ error: string;
23205
+ /**
23206
+ * Machine-readable error code. Stable identifier.
23207
+ */
23208
+ code: string;
23209
+ };
23210
+ /**
23211
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
23212
+ */
23213
+ 405: {
23214
+ error: string;
23215
+ code: 'method_not_allowed';
23216
+ /**
23217
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
23218
+ */
23219
+ allow: Array<string>;
23220
+ /**
23221
+ * Link to the product page for this domain.
23222
+ */
23223
+ docs?: string;
23224
+ };
23225
+ /**
23226
+ * Monthly rate limit exceeded
23227
+ */
23228
+ 429: {
23229
+ /**
23230
+ * Human-readable error message. May change wording.
23231
+ */
23232
+ error: string;
23233
+ /**
23234
+ * Machine-readable error code. Stable identifier.
23235
+ */
23236
+ code: string;
23237
+ };
23238
+ /**
23239
+ * Internal server error
23240
+ */
23241
+ 500: {
23242
+ /**
23243
+ * Human-readable error message. May change wording.
23244
+ */
23245
+ error: string;
23246
+ /**
23247
+ * Machine-readable error code. Stable identifier.
23248
+ */
23249
+ code: string;
23250
+ };
23251
+ };
23252
+
23253
+ export type PostHumanDesignConnectionError = PostHumanDesignConnectionErrors[keyof PostHumanDesignConnectionErrors];
23254
+
23255
+ export type PostHumanDesignConnectionResponses = {
23256
+ /**
23257
+ * Connection chart with per-channel dynamics, combined centers, definition, and a dynamic count
23258
+ */
23259
+ 200: {
23260
+ /**
23261
+ * Total number of connected channels between the two people. Equals the length of channels and the sum of the summary counts.
23262
+ */
23263
+ totalChannels: number;
23264
+ /**
23265
+ * Every connected channel between the two people with its dynamic. A channel is connected when the two people together hold both of its gates.
23266
+ */
23267
+ channels: Array<{
23268
+ /**
23269
+ * First gate of the channel.
23270
+ */
23271
+ gateA: number;
23272
+ /**
23273
+ * Second gate of the channel.
23274
+ */
23275
+ gateB: number;
23276
+ /**
23277
+ * Name of the channel whose connection dynamic is reported.
23278
+ */
23279
+ name: string;
23280
+ /**
23281
+ * Circuit family of the channel. One of Individual, Collective, Tribal.
23282
+ */
23283
+ circuit: string;
23284
+ /**
23285
+ * The two centers this channel connects in the bodygraph.
23286
+ */
23287
+ centers: Array<string>;
23288
+ /**
23289
+ * Connection dynamic for this channel. Electromagnetic means each person holds one of the two gates and the channel completes only together, the classic point of attraction. Dominance means one person holds both gates and the other holds neither, a one-way conditioning. Compromise means one person holds both gates and the other holds a single hanging gate. Companionship means both people independently hold both gates, a shared and familiar frequency.
23290
+ */
23291
+ dynamic: string;
23292
+ /**
23293
+ * Which of the channel two gates person A holds, from one to both.
23294
+ */
23295
+ personAGates: Array<number>;
23296
+ /**
23297
+ * Which of the channel two gates person B holds, from one to both.
23298
+ */
23299
+ personBGates: Array<number>;
23300
+ }>;
23301
+ /**
23302
+ * All nine centers with their defined state in the combined connection bodygraph and which person defines each.
23303
+ */
23304
+ centers: Array<{
23305
+ /**
23306
+ * Center identifier. One of head, ajna, throat, g, heart, sacral, solar-plexus, spleen, root.
23307
+ */
23308
+ id: string;
23309
+ /**
23310
+ * Display name of the center.
23311
+ */
23312
+ name: string;
23313
+ /**
23314
+ * Whether the center is defined in the combined connection bodygraph, where a channel counts as defined when the two people together hold both of its gates.
23315
+ */
23316
+ defined: boolean;
23317
+ /**
23318
+ * Who defines this center in their own chart. A, B, both, or empty when the center is open in both individual charts.
23319
+ */
23320
+ definedBy: Array<string>;
23321
+ }>;
23322
+ /**
23323
+ * Definition of the combined connection bodygraph from connected components among its defined centers. One of None, Single, Split, Triple Split, Quadruple Split.
23324
+ */
23325
+ combinedDefinition: string;
23326
+ /**
23327
+ * Count of each connection dynamic across all connected channels.
23328
+ */
23329
+ summary: {
23330
+ /**
23331
+ * Count of electromagnetic channels, the points of mutual attraction.
23332
+ */
23333
+ electromagnetic: number;
23334
+ /**
23335
+ * Count of dominance channels, where one person conditions the other one way.
23336
+ */
23337
+ dominance: number;
23338
+ /**
23339
+ * Count of compromise channels, a full channel meeting a single hanging gate.
23340
+ */
23341
+ compromise: number;
23342
+ /**
23343
+ * Count of companionship channels, where both people share the whole channel.
23344
+ */
23345
+ companionship: number;
23346
+ };
23347
+ };
23348
+ };
23349
+
23350
+ export type PostHumanDesignConnectionResponse = PostHumanDesignConnectionResponses[keyof PostHumanDesignConnectionResponses];
23351
+
23352
+ export type PostHumanDesignTransitData = {
23353
+ body?: {
23354
+ /**
23355
+ * Birth moment whose natal bodygraph the transit is overlaid on.
23356
+ */
23357
+ birthData: {
23358
+ /**
23359
+ * Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
23360
+ */
23361
+ date: string;
23362
+ /**
23363
+ * Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
23364
+ */
23365
+ time: string;
23366
+ /**
23367
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
23368
+ */
23369
+ timezone: number | string;
23370
+ /**
23371
+ * Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
23372
+ */
23373
+ latitude?: number;
23374
+ /**
23375
+ * Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
23376
+ */
23377
+ longitude?: number;
23378
+ };
23379
+ /**
23380
+ * Transit date in YYYY-MM-DD UTC. Optional. Defaults to today in UTC when omitted, giving the just-now transit.
23381
+ */
23382
+ date?: string;
23383
+ /**
23384
+ * Transit time in HH:MM:SS UTC. Optional. Defaults to the current UTC time when omitted. Precision matters: the Moon moves through a gate in roughly half a day.
23385
+ */
23386
+ time?: string;
23387
+ };
23388
+ path?: never;
23389
+ query?: {
23390
+ /**
23391
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
23392
+ */
23393
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
23394
+ };
23395
+ url: '/human-design/transit';
23396
+ };
23397
+
23398
+ export type PostHumanDesignTransitErrors = {
23399
+ /**
23400
+ * Validation error. `issues[]` lists every failed field.
23401
+ */
23402
+ 400: {
23403
+ /**
23404
+ * First issue summary.
23405
+ */
23406
+ error: string;
23407
+ code: 'validation_error';
23408
+ /**
23409
+ * Every validation failure. Use this to rebuild a valid request.
23410
+ */
23411
+ issues: Array<{
23412
+ /**
23413
+ * Dot-separated field path, or "(root)" for top-level.
23414
+ */
23415
+ path: string;
23416
+ message: string;
23417
+ /**
23418
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
23419
+ */
23420
+ code?: string;
23421
+ /**
23422
+ * Expected type for invalid_type.
23423
+ */
23424
+ expected?: string;
23425
+ /**
23426
+ * Minimum bound for too_small issues.
23427
+ */
23428
+ minimum?: number | string;
23429
+ /**
23430
+ * Maximum bound for too_big issues.
23431
+ */
23432
+ maximum?: number | string;
23433
+ inclusive?: boolean;
23434
+ /**
23435
+ * Format name for string issues (regex, email, url, uuid).
23436
+ */
23437
+ format?: string;
23438
+ /**
23439
+ * Regex pattern when format is regex.
23440
+ */
23441
+ pattern?: string;
23442
+ }>;
23443
+ };
23444
+ /**
23445
+ * Invalid or missing API key
23446
+ */
23447
+ 401: {
23448
+ /**
23449
+ * Human-readable error message. May change wording.
23450
+ */
23451
+ error: string;
23452
+ /**
23453
+ * Machine-readable error code. Stable identifier.
23454
+ */
23455
+ code: string;
23456
+ };
23457
+ /**
23458
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
23459
+ */
23460
+ 405: {
23461
+ error: string;
23462
+ code: 'method_not_allowed';
23463
+ /**
23464
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
23465
+ */
23466
+ allow: Array<string>;
23467
+ /**
23468
+ * Link to the product page for this domain.
23469
+ */
23470
+ docs?: string;
23471
+ };
23472
+ /**
23473
+ * Monthly rate limit exceeded
23474
+ */
23475
+ 429: {
23476
+ /**
23477
+ * Human-readable error message. May change wording.
23478
+ */
23479
+ error: string;
23480
+ /**
23481
+ * Machine-readable error code. Stable identifier.
23482
+ */
23483
+ code: string;
23484
+ };
23485
+ /**
23486
+ * Internal server error
23487
+ */
23488
+ 500: {
23489
+ /**
23490
+ * Human-readable error message. May change wording.
23491
+ */
23492
+ error: string;
23493
+ /**
23494
+ * Machine-readable error code. Stable identifier.
23495
+ */
23496
+ code: string;
23497
+ };
23498
+ };
23499
+
23500
+ export type PostHumanDesignTransitError = PostHumanDesignTransitErrors[keyof PostHumanDesignTransitErrors];
23501
+
23502
+ export type PostHumanDesignTransitResponses = {
23503
+ /**
23504
+ * Transit overlay with transiting activations, completed channels, temporary centers, and a summary
23505
+ */
23506
+ 200: {
23507
+ /**
23508
+ * Date the transit overlay was computed for, in YYYY-MM-DD UTC.
23509
+ */
23510
+ date: string;
23511
+ /**
23512
+ * Time the transit overlay was computed for, in HH:MM:SS UTC.
23513
+ */
23514
+ time: string;
23515
+ /**
23516
+ * UTC offset of the transit moment. Always 0, since the transit is computed in UTC.
23517
+ */
23518
+ timezone: number;
23519
+ /**
23520
+ * The 13 transiting bodies at this moment with the gate and line each currently activates. A transit is a single instant, so there is no Design side, only current positions.
23521
+ */
23522
+ activations: Array<{
23523
+ /**
23524
+ * Transiting body whose current position lands on this gate. One of Sun, Earth, Moon, North Node, South Node, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto.
23525
+ */
23526
+ body: string;
23527
+ /**
23528
+ * Human Design gate number from 1 to 64 this transiting body currently sits in.
23529
+ */
23530
+ gate: number;
23531
+ /**
23532
+ * Line number from 1 to 6 within the gate, setting the line keynote of the transit.
23533
+ */
23534
+ line: number;
23535
+ /**
23536
+ * Human Design keynote name of the gate the transiting body activates.
23537
+ */
23538
+ gateName: string;
23539
+ /**
23540
+ * Cross-reference to the I-Ching hexagram that shares this gate number.
23541
+ */
23542
+ ichingHexagram: {
23543
+ /**
23544
+ * I-Ching hexagram number, identical to the gate number it corresponds to.
23545
+ */
23546
+ number: number;
23547
+ /**
23548
+ * English name of the corresponding I-Ching hexagram.
23549
+ */
23550
+ english: string;
23551
+ };
23552
+ }>;
23553
+ /**
23554
+ * Channels the transit temporarily completes that the natal chart did not already define, each labelled personal or educational with the side that supplied each gate.
23555
+ */
23556
+ completedChannels: Array<{
23557
+ /**
23558
+ * First gate of the completed channel.
23559
+ */
23560
+ gateA: number;
23561
+ /**
23562
+ * Second gate of the completed channel.
23563
+ */
23564
+ gateB: number;
23565
+ /**
23566
+ * Name of the channel the transit temporarily completes.
23567
+ */
23568
+ name: string;
23569
+ /**
23570
+ * Circuit family of the channel. One of Individual, Collective, Tribal.
23571
+ */
23572
+ circuit: string;
23573
+ /**
23574
+ * The two centers this channel connects and temporarily defines.
23575
+ */
23576
+ centers: Array<string>;
23577
+ /**
23578
+ * How the transit completes the channel. personal means the natal chart already holds one gate and the transit supplies the other, the classic electromagnetic completion. educational means both gates are open in the natal chart and the transit supplies both at once.
23579
+ */
23580
+ kind: string;
23581
+ /**
23582
+ * Gate or gates of this channel the natal chart already holds. Empty for an educational channel.
23583
+ */
23584
+ natalGates: Array<number>;
23585
+ /**
23586
+ * Gate or gates of this channel supplied by the transit. One gate for a personal channel, both gates for an educational channel.
23587
+ */
23588
+ transitGates: Array<number>;
23589
+ }>;
23590
+ /**
23591
+ * Centers that are open in the natal chart and temporarily defined by a transit-completed channel.
23592
+ */
23593
+ temporaryCenters: Array<{
23594
+ /**
23595
+ * Center identifier. One of head, ajna, throat, g, heart, sacral, solar-plexus, spleen, root.
23596
+ */
23597
+ id: string;
23598
+ /**
23599
+ * Display name of the center.
23600
+ */
23601
+ name: string;
23602
+ /**
23603
+ * Always true. The center is open in the natal chart and temporarily defined by a transit-completed channel for the duration of the transit.
23604
+ */
23605
+ temporarilyDefined: boolean;
23606
+ }>;
23607
+ /**
23608
+ * Short factual summary of the overlay with channel and center counts only.
23609
+ */
23610
+ summary: string;
23611
+ };
23612
+ };
23613
+
23614
+ export type PostHumanDesignTransitResponse = PostHumanDesignTransitResponses[keyof PostHumanDesignTransitResponses];
23615
+
23616
+ export type PostHumanDesignTypeData = {
23617
+ body?: {
23618
+ /**
23619
+ * Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
23620
+ */
23621
+ date: string;
23622
+ /**
23623
+ * Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
23624
+ */
23625
+ time: string;
23626
+ /**
23627
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
23628
+ */
23629
+ timezone: number | string;
23630
+ /**
23631
+ * Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
23632
+ */
23633
+ latitude?: number;
23634
+ /**
23635
+ * Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
23636
+ */
23637
+ longitude?: number;
23638
+ };
23639
+ path?: never;
23640
+ query?: {
23641
+ /**
23642
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
23643
+ */
23644
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
23645
+ };
23646
+ url: '/human-design/type';
23647
+ };
23648
+
23649
+ export type PostHumanDesignTypeErrors = {
23650
+ /**
23651
+ * Validation error. `issues[]` lists every failed field.
23652
+ */
23653
+ 400: {
23654
+ /**
23655
+ * First issue summary.
23656
+ */
23657
+ error: string;
23658
+ code: 'validation_error';
23659
+ /**
23660
+ * Every validation failure. Use this to rebuild a valid request.
23661
+ */
23662
+ issues: Array<{
23663
+ /**
23664
+ * Dot-separated field path, or "(root)" for top-level.
23665
+ */
23666
+ path: string;
23667
+ message: string;
23668
+ /**
23669
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
23670
+ */
23671
+ code?: string;
23672
+ /**
23673
+ * Expected type for invalid_type.
23674
+ */
23675
+ expected?: string;
23676
+ /**
23677
+ * Minimum bound for too_small issues.
23678
+ */
23679
+ minimum?: number | string;
23680
+ /**
23681
+ * Maximum bound for too_big issues.
23682
+ */
23683
+ maximum?: number | string;
23684
+ inclusive?: boolean;
23685
+ /**
23686
+ * Format name for string issues (regex, email, url, uuid).
23687
+ */
23688
+ format?: string;
23689
+ /**
23690
+ * Regex pattern when format is regex.
23691
+ */
23692
+ pattern?: string;
23693
+ }>;
23694
+ };
23695
+ /**
23696
+ * Invalid or missing API key
23697
+ */
23698
+ 401: {
23699
+ /**
23700
+ * Human-readable error message. May change wording.
23701
+ */
23702
+ error: string;
23703
+ /**
23704
+ * Machine-readable error code. Stable identifier.
23705
+ */
23706
+ code: string;
23707
+ };
23708
+ /**
23709
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
23710
+ */
23711
+ 405: {
23712
+ error: string;
23713
+ code: 'method_not_allowed';
23714
+ /**
23715
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
23716
+ */
23717
+ allow: Array<string>;
23718
+ /**
23719
+ * Link to the product page for this domain.
23720
+ */
23721
+ docs?: string;
23722
+ };
23723
+ /**
23724
+ * Monthly rate limit exceeded
23725
+ */
23726
+ 429: {
23727
+ /**
23728
+ * Human-readable error message. May change wording.
23729
+ */
23730
+ error: string;
23731
+ /**
23732
+ * Machine-readable error code. Stable identifier.
23733
+ */
23734
+ code: string;
23735
+ };
23736
+ /**
23737
+ * Internal server error
23738
+ */
23739
+ 500: {
23740
+ /**
23741
+ * Human-readable error message. May change wording.
23742
+ */
23743
+ error: string;
23744
+ /**
23745
+ * Machine-readable error code. Stable identifier.
23746
+ */
23747
+ code: string;
23748
+ };
23749
+ };
23750
+
23751
+ export type PostHumanDesignTypeError = PostHumanDesignTypeErrors[keyof PostHumanDesignTypeErrors];
23752
+
23753
+ export type PostHumanDesignTypeResponses = {
23754
+ /**
23755
+ * Type, strategy, authority, signature, not-self theme, and profile
23756
+ */
23757
+ 200: {
23758
+ /**
23759
+ * Human Design energy type. One of Manifestor, Generator, Manifesting Generator, Projector, Reflector.
23760
+ */
23761
+ type: string;
23762
+ /**
23763
+ * The aura strategy for engaging life correctly for this type.
23764
+ */
23765
+ strategy: string;
23766
+ /**
23767
+ * Inner authority for decision making. One of Emotional, Sacral, Splenic, Ego, Self-Projected, Mental, Lunar.
23768
+ */
23769
+ authority: string;
23770
+ /**
23771
+ * The signature feeling of living in alignment.
23772
+ */
23773
+ signature: string;
23774
+ /**
23775
+ * The not-self theme that signals being out of alignment.
23776
+ */
23777
+ notSelf: string;
23778
+ /**
23779
+ * Profile from the Personality Sun line over the Design Sun line.
23780
+ */
23781
+ profile: string;
23782
+ };
23783
+ };
23784
+
23785
+ export type PostHumanDesignTypeResponse = PostHumanDesignTypeResponses[keyof PostHumanDesignTypeResponses];
23786
+
23787
+ export type PostHumanDesignGatesData = {
23788
+ body?: {
23789
+ /**
23790
+ * Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
23791
+ */
23792
+ date: string;
23793
+ /**
23794
+ * Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
23795
+ */
23796
+ time: string;
23797
+ /**
23798
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
23799
+ */
23800
+ timezone: number | string;
23801
+ /**
23802
+ * Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
23803
+ */
23804
+ latitude?: number;
23805
+ /**
23806
+ * Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
23807
+ */
23808
+ longitude?: number;
23809
+ };
23810
+ path?: never;
23811
+ query?: {
23812
+ /**
23813
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
23814
+ */
23815
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
23816
+ };
23817
+ url: '/human-design/gates';
23818
+ };
23819
+
23820
+ export type PostHumanDesignGatesErrors = {
23821
+ /**
23822
+ * Validation error. `issues[]` lists every failed field.
23823
+ */
23824
+ 400: {
23825
+ /**
23826
+ * First issue summary.
23827
+ */
23828
+ error: string;
23829
+ code: 'validation_error';
23830
+ /**
23831
+ * Every validation failure. Use this to rebuild a valid request.
23832
+ */
23833
+ issues: Array<{
23834
+ /**
23835
+ * Dot-separated field path, or "(root)" for top-level.
23836
+ */
23837
+ path: string;
23838
+ message: string;
23839
+ /**
23840
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
23841
+ */
23842
+ code?: string;
23843
+ /**
23844
+ * Expected type for invalid_type.
23845
+ */
23846
+ expected?: string;
23847
+ /**
23848
+ * Minimum bound for too_small issues.
23849
+ */
23850
+ minimum?: number | string;
23851
+ /**
23852
+ * Maximum bound for too_big issues.
23853
+ */
23854
+ maximum?: number | string;
23855
+ inclusive?: boolean;
23856
+ /**
23857
+ * Format name for string issues (regex, email, url, uuid).
23858
+ */
23859
+ format?: string;
23860
+ /**
23861
+ * Regex pattern when format is regex.
23862
+ */
23863
+ pattern?: string;
23864
+ }>;
23865
+ };
23866
+ /**
23867
+ * Invalid or missing API key
23868
+ */
23869
+ 401: {
23870
+ /**
23871
+ * Human-readable error message. May change wording.
23872
+ */
23873
+ error: string;
23874
+ /**
23875
+ * Machine-readable error code. Stable identifier.
23876
+ */
23877
+ code: string;
23878
+ };
23879
+ /**
23880
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
23881
+ */
23882
+ 405: {
23883
+ error: string;
23884
+ code: 'method_not_allowed';
23885
+ /**
23886
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
23887
+ */
23888
+ allow: Array<string>;
23889
+ /**
23890
+ * Link to the product page for this domain.
23891
+ */
23892
+ docs?: string;
23893
+ };
23894
+ /**
23895
+ * Monthly rate limit exceeded
23896
+ */
23897
+ 429: {
23898
+ /**
23899
+ * Human-readable error message. May change wording.
23900
+ */
23901
+ error: string;
23902
+ /**
23903
+ * Machine-readable error code. Stable identifier.
23904
+ */
23905
+ code: string;
23906
+ };
23907
+ /**
23908
+ * Internal server error
23909
+ */
23910
+ 500: {
23911
+ /**
23912
+ * Human-readable error message. May change wording.
23913
+ */
23914
+ error: string;
23915
+ /**
23916
+ * Machine-readable error code. Stable identifier.
23917
+ */
23918
+ code: string;
23919
+ };
23920
+ };
23921
+
23922
+ export type PostHumanDesignGatesError = PostHumanDesignGatesErrors[keyof PostHumanDesignGatesErrors];
23923
+
23924
+ export type PostHumanDesignGatesResponses = {
23925
+ /**
23926
+ * Personality and Design activation lists, 13 each
23927
+ */
23928
+ 200: {
23929
+ /**
23930
+ * The 13 conscious Personality activations computed at the exact birth moment, in black on a standard chart.
23931
+ */
23932
+ personality: Array<{
23933
+ /**
23934
+ * Activating body. One of Sun, Earth, Moon, North Node, South Node, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto.
23935
+ */
23936
+ planet: string;
23937
+ /**
23938
+ * Chart side. personality is the conscious birth-moment activation, design is the unconscious activation 88 degrees of solar arc before birth.
23939
+ */
23940
+ side: string;
23941
+ /**
23942
+ * Human Design gate number from 1 to 64 that this activation falls in.
23943
+ */
23944
+ gate: number;
23945
+ /**
23946
+ * Line number from 1 to 6 within the gate, setting the line keynote and the profile.
23947
+ */
23948
+ line: number;
23949
+ /**
23950
+ * Human Design keynote name of the gate, describing its bodygraph function.
23951
+ */
23952
+ gateName: string;
23953
+ /**
23954
+ * Cross-reference to the I-Ching hexagram that shares this gate number.
23955
+ */
23956
+ ichingHexagram: {
23957
+ /**
23958
+ * I-Ching hexagram number, identical to the gate number it corresponds to.
23959
+ */
23960
+ number: number;
23961
+ /**
23962
+ * English name of the corresponding I-Ching hexagram.
23963
+ */
23964
+ english: string;
23965
+ };
23966
+ }>;
23967
+ /**
23968
+ * The 13 unconscious Design activations computed 88 degrees of solar arc before birth, in red on a standard chart.
23969
+ */
23970
+ design: Array<{
23971
+ /**
23972
+ * Activating body. One of Sun, Earth, Moon, North Node, South Node, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto.
23973
+ */
23974
+ planet: string;
23975
+ /**
23976
+ * Chart side. personality is the conscious birth-moment activation, design is the unconscious activation 88 degrees of solar arc before birth.
23977
+ */
23978
+ side: string;
23979
+ /**
23980
+ * Human Design gate number from 1 to 64 that this activation falls in.
23981
+ */
23982
+ gate: number;
23983
+ /**
23984
+ * Line number from 1 to 6 within the gate, setting the line keynote and the profile.
23985
+ */
23986
+ line: number;
23987
+ /**
23988
+ * Human Design keynote name of the gate, describing its bodygraph function.
23989
+ */
23990
+ gateName: string;
23991
+ /**
23992
+ * Cross-reference to the I-Ching hexagram that shares this gate number.
23993
+ */
23994
+ ichingHexagram: {
23995
+ /**
23996
+ * I-Ching hexagram number, identical to the gate number it corresponds to.
23997
+ */
23998
+ number: number;
23999
+ /**
24000
+ * English name of the corresponding I-Ching hexagram.
24001
+ */
24002
+ english: string;
24003
+ };
24004
+ }>;
24005
+ };
24006
+ };
24007
+
24008
+ export type PostHumanDesignGatesResponse = PostHumanDesignGatesResponses[keyof PostHumanDesignGatesResponses];
24009
+
24010
+ export type GetHumanDesignGatesByNumberData = {
24011
+ body?: never;
24012
+ path?: {
24013
+ /**
24014
+ * Gate number from 1 to 64.
24015
+ */
24016
+ number?: number;
24017
+ };
24018
+ query?: {
24019
+ /**
24020
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
24021
+ */
24022
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
24023
+ };
24024
+ url: '/human-design/gates/{number}';
24025
+ };
24026
+
24027
+ export type GetHumanDesignGatesByNumberErrors = {
24028
+ /**
24029
+ * Validation error. `issues[]` lists every failed field.
24030
+ */
24031
+ 400: {
24032
+ /**
24033
+ * First issue summary.
24034
+ */
24035
+ error: string;
24036
+ code: 'validation_error';
24037
+ /**
24038
+ * Every validation failure. Use this to rebuild a valid request.
24039
+ */
24040
+ issues: Array<{
24041
+ /**
24042
+ * Dot-separated field path, or "(root)" for top-level.
24043
+ */
24044
+ path: string;
24045
+ message: string;
24046
+ /**
24047
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
24048
+ */
24049
+ code?: string;
24050
+ /**
24051
+ * Expected type for invalid_type.
24052
+ */
24053
+ expected?: string;
24054
+ /**
24055
+ * Minimum bound for too_small issues.
24056
+ */
24057
+ minimum?: number | string;
24058
+ /**
24059
+ * Maximum bound for too_big issues.
24060
+ */
24061
+ maximum?: number | string;
24062
+ inclusive?: boolean;
24063
+ /**
24064
+ * Format name for string issues (regex, email, url, uuid).
24065
+ */
24066
+ format?: string;
24067
+ /**
24068
+ * Regex pattern when format is regex.
24069
+ */
24070
+ pattern?: string;
24071
+ }>;
24072
+ };
24073
+ /**
24074
+ * Invalid or missing API key
24075
+ */
24076
+ 401: {
24077
+ /**
24078
+ * Human-readable error message. May change wording.
24079
+ */
24080
+ error: string;
24081
+ /**
24082
+ * Machine-readable error code. Stable identifier.
24083
+ */
24084
+ code: string;
24085
+ };
24086
+ /**
24087
+ * Gate number is outside the range 1 to 64
24088
+ */
24089
+ 404: {
24090
+ /**
24091
+ * Human-readable error message. May change wording — do not parse programmatically.
24092
+ */
24093
+ error: string;
24094
+ /**
24095
+ * Machine-readable error code. Stable identifier for programmatic error handling.
24096
+ */
24097
+ code: string;
24098
+ };
24099
+ /**
24100
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
24101
+ */
24102
+ 405: {
24103
+ error: string;
24104
+ code: 'method_not_allowed';
24105
+ /**
24106
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
24107
+ */
24108
+ allow: Array<string>;
24109
+ /**
24110
+ * Link to the product page for this domain.
24111
+ */
24112
+ docs?: string;
24113
+ };
24114
+ /**
24115
+ * Monthly rate limit exceeded
24116
+ */
24117
+ 429: {
24118
+ /**
24119
+ * Human-readable error message. May change wording.
24120
+ */
24121
+ error: string;
24122
+ /**
24123
+ * Machine-readable error code. Stable identifier.
24124
+ */
24125
+ code: string;
24126
+ };
24127
+ /**
24128
+ * Internal server error
24129
+ */
24130
+ 500: {
24131
+ /**
24132
+ * Human-readable error message. May change wording.
24133
+ */
24134
+ error: string;
24135
+ /**
24136
+ * Machine-readable error code. Stable identifier.
24137
+ */
24138
+ code: string;
24139
+ };
24140
+ };
24141
+
24142
+ export type GetHumanDesignGatesByNumberError = GetHumanDesignGatesByNumberErrors[keyof GetHumanDesignGatesByNumberErrors];
24143
+
24144
+ export type GetHumanDesignGatesByNumberResponses = {
24145
+ /**
24146
+ * Gate reference data with center, hexagram, and channel partners
24147
+ */
24148
+ 200: {
24149
+ /**
24150
+ * Gate number from 1 to 64.
24151
+ */
24152
+ number: number;
24153
+ /**
24154
+ * Human Design keynote name of the gate.
24155
+ */
24156
+ name: string;
24157
+ /**
24158
+ * Center the gate sits in.
24159
+ */
24160
+ center: string;
24161
+ /**
24162
+ * Display name of the center.
24163
+ */
24164
+ centerName: string;
24165
+ /**
24166
+ * The I-Ching hexagram that shares this gate number.
24167
+ */
24168
+ ichingHexagram: {
24169
+ /**
24170
+ * I-Ching hexagram number.
24171
+ */
24172
+ number: number;
24173
+ /**
24174
+ * Hexagram name.
24175
+ */
24176
+ english: string;
24177
+ };
24178
+ /**
24179
+ * Gates that form a channel with this gate, with the channel name for each.
24180
+ */
24181
+ channelPartners: Array<{
24182
+ /**
24183
+ * Partner gate number.
24184
+ */
24185
+ gate: number;
24186
+ /**
24187
+ * Name of the shared channel.
24188
+ */
24189
+ channel: string;
24190
+ }>;
24191
+ };
24192
+ };
24193
+
24194
+ export type GetHumanDesignGatesByNumberResponse = GetHumanDesignGatesByNumberResponses[keyof GetHumanDesignGatesByNumberResponses];
24195
+
24196
+ export type PostHumanDesignChannelsData = {
24197
+ body?: {
24198
+ /**
24199
+ * Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
24200
+ */
24201
+ date: string;
24202
+ /**
24203
+ * Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
24204
+ */
24205
+ time: string;
24206
+ /**
24207
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
24208
+ */
24209
+ timezone: number | string;
24210
+ /**
24211
+ * Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
24212
+ */
24213
+ latitude?: number;
24214
+ /**
24215
+ * Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
24216
+ */
24217
+ longitude?: number;
24218
+ };
24219
+ path?: never;
24220
+ query?: {
24221
+ /**
24222
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
24223
+ */
24224
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
24225
+ };
24226
+ url: '/human-design/channels';
24227
+ };
24228
+
24229
+ export type PostHumanDesignChannelsErrors = {
24230
+ /**
24231
+ * Validation error. `issues[]` lists every failed field.
24232
+ */
24233
+ 400: {
24234
+ /**
24235
+ * First issue summary.
24236
+ */
24237
+ error: string;
24238
+ code: 'validation_error';
24239
+ /**
24240
+ * Every validation failure. Use this to rebuild a valid request.
24241
+ */
24242
+ issues: Array<{
24243
+ /**
24244
+ * Dot-separated field path, or "(root)" for top-level.
24245
+ */
24246
+ path: string;
24247
+ message: string;
24248
+ /**
24249
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
24250
+ */
24251
+ code?: string;
24252
+ /**
24253
+ * Expected type for invalid_type.
24254
+ */
24255
+ expected?: string;
24256
+ /**
24257
+ * Minimum bound for too_small issues.
24258
+ */
24259
+ minimum?: number | string;
24260
+ /**
24261
+ * Maximum bound for too_big issues.
24262
+ */
24263
+ maximum?: number | string;
24264
+ inclusive?: boolean;
24265
+ /**
24266
+ * Format name for string issues (regex, email, url, uuid).
24267
+ */
24268
+ format?: string;
24269
+ /**
24270
+ * Regex pattern when format is regex.
24271
+ */
24272
+ pattern?: string;
24273
+ }>;
24274
+ };
24275
+ /**
24276
+ * Invalid or missing API key
24277
+ */
24278
+ 401: {
24279
+ /**
24280
+ * Human-readable error message. May change wording.
24281
+ */
24282
+ error: string;
24283
+ /**
24284
+ * Machine-readable error code. Stable identifier.
24285
+ */
24286
+ code: string;
24287
+ };
24288
+ /**
24289
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
24290
+ */
24291
+ 405: {
24292
+ error: string;
24293
+ code: 'method_not_allowed';
24294
+ /**
24295
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
24296
+ */
24297
+ allow: Array<string>;
24298
+ /**
24299
+ * Link to the product page for this domain.
24300
+ */
24301
+ docs?: string;
24302
+ };
24303
+ /**
24304
+ * Monthly rate limit exceeded
24305
+ */
24306
+ 429: {
24307
+ /**
24308
+ * Human-readable error message. May change wording.
24309
+ */
24310
+ error: string;
24311
+ /**
24312
+ * Machine-readable error code. Stable identifier.
24313
+ */
24314
+ code: string;
24315
+ };
24316
+ /**
24317
+ * Internal server error
24318
+ */
24319
+ 500: {
24320
+ /**
24321
+ * Human-readable error message. May change wording.
24322
+ */
24323
+ error: string;
24324
+ /**
24325
+ * Machine-readable error code. Stable identifier.
24326
+ */
24327
+ code: string;
24328
+ };
24329
+ };
24330
+
24331
+ export type PostHumanDesignChannelsError = PostHumanDesignChannelsErrors[keyof PostHumanDesignChannelsErrors];
24332
+
24333
+ export type PostHumanDesignChannelsResponses = {
24334
+ /**
24335
+ * Defined channels with circuits and the centers they define
24336
+ */
24337
+ 200: {
24338
+ /**
24339
+ * The defined channels, where both gates are activated.
24340
+ */
24341
+ channels: Array<{
24342
+ /**
24343
+ * First gate of the channel.
24344
+ */
24345
+ gateA: number;
24346
+ /**
24347
+ * Second gate of the channel.
24348
+ */
24349
+ gateB: number;
24350
+ /**
24351
+ * Name of the defined channel.
24352
+ */
24353
+ name: string;
24354
+ /**
24355
+ * Circuit family of the channel. One of Individual, Collective, Tribal.
24356
+ */
24357
+ circuit: string;
24358
+ /**
24359
+ * The two centers this channel connects and defines.
24360
+ */
24361
+ centers: Array<string>;
24362
+ }>;
24363
+ /**
24364
+ * Number of defined channels in the bodygraph.
24365
+ */
24366
+ total: number;
24367
+ /**
24368
+ * The centers defined by these channels.
24369
+ */
24370
+ definedCenters: Array<string>;
24371
+ };
24372
+ };
24373
+
24374
+ export type PostHumanDesignChannelsResponse = PostHumanDesignChannelsResponses[keyof PostHumanDesignChannelsResponses];
24375
+
24376
+ export type PostHumanDesignCentersData = {
24377
+ body?: {
24378
+ /**
24379
+ * Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
24380
+ */
24381
+ date: string;
24382
+ /**
24383
+ * Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
24384
+ */
24385
+ time: string;
24386
+ /**
24387
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
24388
+ */
24389
+ timezone: number | string;
24390
+ /**
24391
+ * Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
24392
+ */
24393
+ latitude?: number;
24394
+ /**
24395
+ * Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
24396
+ */
24397
+ longitude?: number;
24398
+ };
24399
+ path?: never;
24400
+ query?: {
24401
+ /**
24402
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
24403
+ */
24404
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
24405
+ };
24406
+ url: '/human-design/centers';
24407
+ };
24408
+
24409
+ export type PostHumanDesignCentersErrors = {
24410
+ /**
24411
+ * Validation error. `issues[]` lists every failed field.
24412
+ */
24413
+ 400: {
24414
+ /**
24415
+ * First issue summary.
24416
+ */
24417
+ error: string;
24418
+ code: 'validation_error';
24419
+ /**
24420
+ * Every validation failure. Use this to rebuild a valid request.
24421
+ */
24422
+ issues: Array<{
24423
+ /**
24424
+ * Dot-separated field path, or "(root)" for top-level.
24425
+ */
24426
+ path: string;
24427
+ message: string;
24428
+ /**
24429
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
24430
+ */
24431
+ code?: string;
24432
+ /**
24433
+ * Expected type for invalid_type.
24434
+ */
24435
+ expected?: string;
24436
+ /**
24437
+ * Minimum bound for too_small issues.
24438
+ */
24439
+ minimum?: number | string;
24440
+ /**
24441
+ * Maximum bound for too_big issues.
24442
+ */
24443
+ maximum?: number | string;
24444
+ inclusive?: boolean;
24445
+ /**
24446
+ * Format name for string issues (regex, email, url, uuid).
24447
+ */
24448
+ format?: string;
24449
+ /**
24450
+ * Regex pattern when format is regex.
24451
+ */
24452
+ pattern?: string;
24453
+ }>;
24454
+ };
24455
+ /**
24456
+ * Invalid or missing API key
24457
+ */
24458
+ 401: {
24459
+ /**
24460
+ * Human-readable error message. May change wording.
24461
+ */
24462
+ error: string;
24463
+ /**
24464
+ * Machine-readable error code. Stable identifier.
24465
+ */
24466
+ code: string;
24467
+ };
24468
+ /**
24469
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
24470
+ */
24471
+ 405: {
24472
+ error: string;
24473
+ code: 'method_not_allowed';
24474
+ /**
24475
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
24476
+ */
24477
+ allow: Array<string>;
24478
+ /**
24479
+ * Link to the product page for this domain.
24480
+ */
24481
+ docs?: string;
24482
+ };
24483
+ /**
24484
+ * Monthly rate limit exceeded
24485
+ */
24486
+ 429: {
24487
+ /**
24488
+ * Human-readable error message. May change wording.
24489
+ */
24490
+ error: string;
24491
+ /**
24492
+ * Machine-readable error code. Stable identifier.
24493
+ */
24494
+ code: string;
24495
+ };
24496
+ /**
24497
+ * Internal server error
24498
+ */
24499
+ 500: {
24500
+ /**
24501
+ * Human-readable error message. May change wording.
24502
+ */
24503
+ error: string;
24504
+ /**
24505
+ * Machine-readable error code. Stable identifier.
24506
+ */
24507
+ code: string;
24508
+ };
24509
+ };
24510
+
24511
+ export type PostHumanDesignCentersError = PostHumanDesignCentersErrors[keyof PostHumanDesignCentersErrors];
24512
+
24513
+ export type PostHumanDesignCentersResponses = {
24514
+ /**
24515
+ * All nine centers with defined state, flags, theme, and active gates
24516
+ */
24517
+ 200: {
24518
+ /**
24519
+ * All nine centers with their defined state and active gates.
24520
+ */
24521
+ centers: Array<{
24522
+ /**
24523
+ * Center identifier. One of head, ajna, throat, g, heart, sacral, solar-plexus, spleen, root.
24524
+ */
24525
+ id: string;
24526
+ /**
24527
+ * Display name of the center.
24528
+ */
24529
+ name: string;
24530
+ /**
24531
+ * Whether the center is defined. A defined center is a consistent source of energy or awareness; an undefined center is open and conditioned by others.
24532
+ */
24533
+ defined: boolean;
24534
+ /**
24535
+ * Whether this is a motor center (energy source). The four motors are Heart, Sacral, Solar Plexus, and Root.
24536
+ */
24537
+ motor: boolean;
24538
+ /**
24539
+ * Whether this is an awareness center. The three awareness centers are Ajna, Solar Plexus, and Spleen.
24540
+ */
24541
+ awareness: boolean;
24542
+ /**
24543
+ * Theme text describing the center in its current defined or undefined state.
24544
+ */
24545
+ theme: string;
24546
+ /**
24547
+ * Active gate numbers that sit in this center.
24548
+ */
24549
+ gates: Array<number>;
24550
+ }>;
24551
+ /**
24552
+ * How many of the nine centers are defined.
24553
+ */
24554
+ definedCount: number;
24555
+ };
24556
+ };
24557
+
24558
+ export type PostHumanDesignCentersResponse = PostHumanDesignCentersResponses[keyof PostHumanDesignCentersResponses];
24559
+
24560
+ export type GetHumanDesignCentersByIdData = {
24561
+ body?: never;
24562
+ path: {
24563
+ /**
24564
+ * Center id. One of head, ajna, throat, g, heart, sacral, solar-plexus, spleen, root.
24565
+ */
24566
+ id: 'head' | 'ajna' | 'throat' | 'g' | 'heart' | 'sacral' | 'solar-plexus' | 'spleen' | 'root';
24567
+ };
24568
+ query?: {
24569
+ /**
24570
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
24571
+ */
24572
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
24573
+ };
24574
+ url: '/human-design/centers/{id}';
24575
+ };
24576
+
24577
+ export type GetHumanDesignCentersByIdErrors = {
24578
+ /**
24579
+ * Validation error. `issues[]` lists every failed field.
24580
+ */
24581
+ 400: {
24582
+ /**
24583
+ * First issue summary.
24584
+ */
24585
+ error: string;
24586
+ code: 'validation_error';
24587
+ /**
24588
+ * Every validation failure. Use this to rebuild a valid request.
24589
+ */
24590
+ issues: Array<{
24591
+ /**
24592
+ * Dot-separated field path, or "(root)" for top-level.
24593
+ */
24594
+ path: string;
24595
+ message: string;
24596
+ /**
24597
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
24598
+ */
24599
+ code?: string;
24600
+ /**
24601
+ * Expected type for invalid_type.
24602
+ */
24603
+ expected?: string;
24604
+ /**
24605
+ * Minimum bound for too_small issues.
24606
+ */
24607
+ minimum?: number | string;
24608
+ /**
24609
+ * Maximum bound for too_big issues.
24610
+ */
24611
+ maximum?: number | string;
24612
+ inclusive?: boolean;
24613
+ /**
24614
+ * Format name for string issues (regex, email, url, uuid).
24615
+ */
24616
+ format?: string;
24617
+ /**
24618
+ * Regex pattern when format is regex.
24619
+ */
24620
+ pattern?: string;
24621
+ }>;
24622
+ };
24623
+ /**
24624
+ * Invalid or missing API key
24625
+ */
24626
+ 401: {
24627
+ /**
24628
+ * Human-readable error message. May change wording.
24629
+ */
24630
+ error: string;
24631
+ /**
24632
+ * Machine-readable error code. Stable identifier.
24633
+ */
24634
+ code: string;
24635
+ };
24636
+ /**
24637
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
24638
+ */
24639
+ 405: {
24640
+ error: string;
24641
+ code: 'method_not_allowed';
24642
+ /**
24643
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
24644
+ */
24645
+ allow: Array<string>;
24646
+ /**
24647
+ * Link to the product page for this domain.
24648
+ */
24649
+ docs?: string;
24650
+ };
24651
+ /**
24652
+ * Monthly rate limit exceeded
24653
+ */
24654
+ 429: {
24655
+ /**
24656
+ * Human-readable error message. May change wording.
24657
+ */
24658
+ error: string;
24659
+ /**
24660
+ * Machine-readable error code. Stable identifier.
24661
+ */
24662
+ code: string;
24663
+ };
24664
+ /**
24665
+ * Internal server error
24666
+ */
24667
+ 500: {
24668
+ /**
24669
+ * Human-readable error message. May change wording.
24670
+ */
24671
+ error: string;
24672
+ /**
24673
+ * Machine-readable error code. Stable identifier.
24674
+ */
24675
+ code: string;
24676
+ };
24677
+ };
24678
+
24679
+ export type GetHumanDesignCentersByIdError = GetHumanDesignCentersByIdErrors[keyof GetHumanDesignCentersByIdErrors];
24680
+
24681
+ export type GetHumanDesignCentersByIdResponses = {
24682
+ /**
24683
+ * Center reference data with defined and undefined meanings
24684
+ */
24685
+ 200: {
24686
+ /**
24687
+ * Center identifier.
24688
+ */
24689
+ id: string;
24690
+ /**
24691
+ * Display name of the center.
24692
+ */
24693
+ name: string;
24694
+ /**
24695
+ * Whether this is a motor center.
24696
+ */
24697
+ motor: boolean;
24698
+ /**
24699
+ * Whether this is an awareness center.
24700
+ */
24701
+ awareness: boolean;
24702
+ /**
24703
+ * What this center means when defined: a consistent, reliable energy or awareness.
24704
+ */
24705
+ definedMeaning: string;
24706
+ /**
24707
+ * What this center means when undefined and open: a place of conditioning and learning.
24708
+ */
24709
+ undefinedMeaning: string;
24710
+ };
24711
+ };
24712
+
24713
+ export type GetHumanDesignCentersByIdResponse = GetHumanDesignCentersByIdResponses[keyof GetHumanDesignCentersByIdResponses];
24714
+
24715
+ export type PostHumanDesignProfileData = {
24716
+ body?: {
24717
+ /**
24718
+ * Birth date in YYYY-MM-DD format. The anchor for both the Personality activations at birth and the Design activations 88 degrees of solar arc earlier.
24719
+ */
24720
+ date: string;
24721
+ /**
24722
+ * Birth time in 24-hour HH:MM:SS format. Precision matters: the profile lines and gate boundaries shift with the exact minute of birth.
24723
+ */
24724
+ time: string;
24725
+ /**
24726
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
24727
+ */
24728
+ timezone: number | string;
24729
+ /**
24730
+ * Birth latitude in decimal degrees. Optional and does not affect the bodygraph, which depends only on ecliptic longitudes. Defaults to 0.
24731
+ */
24732
+ latitude?: number;
24733
+ /**
24734
+ * Birth longitude in decimal degrees. Optional and does not affect the bodygraph. Defaults to 0.
24735
+ */
24736
+ longitude?: number;
24737
+ };
24738
+ path?: never;
24739
+ query?: {
24740
+ /**
24741
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
24742
+ */
24743
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
24744
+ };
24745
+ url: '/human-design/profile';
24746
+ };
24747
+
24748
+ export type PostHumanDesignProfileErrors = {
24749
+ /**
24750
+ * Validation error. `issues[]` lists every failed field.
24751
+ */
24752
+ 400: {
24753
+ /**
24754
+ * First issue summary.
24755
+ */
24756
+ error: string;
24757
+ code: 'validation_error';
24758
+ /**
24759
+ * Every validation failure. Use this to rebuild a valid request.
24760
+ */
24761
+ issues: Array<{
24762
+ /**
24763
+ * Dot-separated field path, or "(root)" for top-level.
24764
+ */
24765
+ path: string;
24766
+ message: string;
24767
+ /**
24768
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
24769
+ */
24770
+ code?: string;
24771
+ /**
24772
+ * Expected type for invalid_type.
24773
+ */
24774
+ expected?: string;
24775
+ /**
24776
+ * Minimum bound for too_small issues.
24777
+ */
24778
+ minimum?: number | string;
24779
+ /**
24780
+ * Maximum bound for too_big issues.
24781
+ */
24782
+ maximum?: number | string;
24783
+ inclusive?: boolean;
24784
+ /**
24785
+ * Format name for string issues (regex, email, url, uuid).
24786
+ */
24787
+ format?: string;
24788
+ /**
24789
+ * Regex pattern when format is regex.
24790
+ */
24791
+ pattern?: string;
24792
+ }>;
24793
+ };
24794
+ /**
24795
+ * Invalid or missing API key
24796
+ */
24797
+ 401: {
24798
+ /**
24799
+ * Human-readable error message. May change wording.
24800
+ */
24801
+ error: string;
24802
+ /**
24803
+ * Machine-readable error code. Stable identifier.
24804
+ */
24805
+ code: string;
24806
+ };
24807
+ /**
24808
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
24809
+ */
24810
+ 405: {
24811
+ error: string;
24812
+ code: 'method_not_allowed';
24813
+ /**
24814
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
24815
+ */
24816
+ allow: Array<string>;
24817
+ /**
24818
+ * Link to the product page for this domain.
24819
+ */
24820
+ docs?: string;
24821
+ };
24822
+ /**
24823
+ * Monthly rate limit exceeded
24824
+ */
24825
+ 429: {
24826
+ /**
24827
+ * Human-readable error message. May change wording.
24828
+ */
24829
+ error: string;
24830
+ /**
24831
+ * Machine-readable error code. Stable identifier.
24832
+ */
24833
+ code: string;
24834
+ };
24835
+ /**
24836
+ * Internal server error
24837
+ */
24838
+ 500: {
24839
+ /**
24840
+ * Human-readable error message. May change wording.
24841
+ */
24842
+ error: string;
24843
+ /**
24844
+ * Machine-readable error code. Stable identifier.
24845
+ */
24846
+ code: string;
24847
+ };
24848
+ };
24849
+
24850
+ export type PostHumanDesignProfileError = PostHumanDesignProfileErrors[keyof PostHumanDesignProfileErrors];
24851
+
24852
+ export type PostHumanDesignProfileResponses = {
24853
+ /**
24854
+ * Profile string, the two line numbers, and line keynotes
24855
+ */
24856
+ 200: {
24857
+ /**
24858
+ * Profile in conscious/unconscious form, the Personality Sun line over the Design Sun line.
24859
+ */
24860
+ profile: string;
24861
+ /**
24862
+ * Line number from 1 to 6 of the conscious Personality Sun.
24863
+ */
24864
+ personalityLine: number;
24865
+ /**
24866
+ * Line number from 1 to 6 of the unconscious Design Sun.
24867
+ */
24868
+ designLine: number;
24869
+ /**
24870
+ * Keynote of the Personality line, the conscious half of the profile.
24871
+ */
24872
+ personalityKeynote: string;
24873
+ /**
24874
+ * Keynote of the Design line, the unconscious half of the profile.
24875
+ */
24876
+ designKeynote: string;
24877
+ };
24878
+ };
24879
+
24880
+ export type PostHumanDesignProfileResponse = PostHumanDesignProfileResponses[keyof PostHumanDesignProfileResponses];
24881
+
24882
+ export type PostForecastTimelineData = {
24883
+ body?: {
24884
+ /**
24885
+ * The single birth subject this forecast is built for. One object only, never an array.
24886
+ */
24887
+ birthData: {
24888
+ /**
24889
+ * Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
24890
+ */
24891
+ date: string;
24892
+ /**
24893
+ * Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
24894
+ */
24895
+ time: string;
24896
+ /**
24897
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
24898
+ */
24899
+ timezone: number | string;
24900
+ /**
24901
+ * Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
24902
+ */
24903
+ latitude?: number;
24904
+ /**
24905
+ * Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
24906
+ */
24907
+ longitude?: number;
24908
+ };
24909
+ /**
24910
+ * First day of the forecast window in YYYY-MM-DD format. Defaults to today in UTC.
24911
+ */
24912
+ startDate?: string;
24913
+ /**
24914
+ * Last day of the forecast window in YYYY-MM-DD format. Defaults to startDate plus 30 days. The window is clamped to a maximum of 90 days from startDate.
24915
+ */
24916
+ endDate?: string;
24917
+ /**
24918
+ * Which forecast domains to include. Defaults to all three. Pass a subset to scope the timeline to one or two engines.
24919
+ */
24920
+ domains?: Array<'western' | 'vedic' | 'biorhythm'>;
24921
+ /**
24922
+ * Drop events scoring below this significance threshold from 0 to 100. Defaults to 0, keeping all events.
24923
+ */
24924
+ minSignificance?: number;
24925
+ };
24926
+ path?: never;
24927
+ query?: {
24928
+ /**
24929
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
24930
+ */
24931
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
24932
+ };
24933
+ url: '/forecast/timeline';
24934
+ };
24935
+
24936
+ export type PostForecastTimelineErrors = {
24937
+ /**
24938
+ * Validation error. `issues[]` lists every failed field.
24939
+ */
24940
+ 400: {
24941
+ /**
24942
+ * First issue summary.
24943
+ */
24944
+ error: string;
24945
+ code: 'validation_error';
24946
+ /**
24947
+ * Every validation failure. Use this to rebuild a valid request.
24948
+ */
24949
+ issues: Array<{
24950
+ /**
24951
+ * Dot-separated field path, or "(root)" for top-level.
24952
+ */
24953
+ path: string;
24954
+ message: string;
24955
+ /**
24956
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
24957
+ */
24958
+ code?: string;
24959
+ /**
24960
+ * Expected type for invalid_type.
24961
+ */
24962
+ expected?: string;
24963
+ /**
24964
+ * Minimum bound for too_small issues.
24965
+ */
24966
+ minimum?: number | string;
24967
+ /**
24968
+ * Maximum bound for too_big issues.
24969
+ */
24970
+ maximum?: number | string;
24971
+ inclusive?: boolean;
24972
+ /**
24973
+ * Format name for string issues (regex, email, url, uuid).
24974
+ */
24975
+ format?: string;
24976
+ /**
24977
+ * Regex pattern when format is regex.
24978
+ */
24979
+ pattern?: string;
24980
+ }>;
24981
+ };
24982
+ /**
24983
+ * Invalid or missing API key
24984
+ */
24985
+ 401: {
24986
+ /**
24987
+ * Human-readable error message. May change wording.
24988
+ */
24989
+ error: string;
24990
+ /**
24991
+ * Machine-readable error code. Stable identifier.
24992
+ */
24993
+ code: string;
24994
+ };
24995
+ /**
24996
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
24997
+ */
24998
+ 405: {
24999
+ error: string;
25000
+ code: 'method_not_allowed';
25001
+ /**
25002
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
25003
+ */
25004
+ allow: Array<string>;
25005
+ /**
25006
+ * Link to the product page for this domain.
25007
+ */
25008
+ docs?: string;
25009
+ };
25010
+ /**
25011
+ * Monthly rate limit exceeded
25012
+ */
25013
+ 429: {
25014
+ /**
25015
+ * Human-readable error message. May change wording.
25016
+ */
25017
+ error: string;
25018
+ /**
25019
+ * Machine-readable error code. Stable identifier.
25020
+ */
25021
+ code: string;
25022
+ };
25023
+ /**
25024
+ * Internal server error
25025
+ */
25026
+ 500: {
25027
+ /**
25028
+ * Human-readable error message. May change wording.
25029
+ */
25030
+ error: string;
25031
+ /**
25032
+ * Machine-readable error code. Stable identifier.
25033
+ */
25034
+ code: string;
25035
+ };
25036
+ };
25037
+
25038
+ export type PostForecastTimelineError = PostForecastTimelineErrors[keyof PostForecastTimelineErrors];
25039
+
25040
+ export type PostForecastTimelineResponses = {
25041
+ /**
25042
+ * Merged forecast timeline with time-ordered events across the requested domains
25043
+ */
25044
+ 200: {
25045
+ /**
25046
+ * Echo of the birth subject this forecast was built for.
25047
+ */
25048
+ birthData: {
25049
+ /**
25050
+ * Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
25051
+ */
25052
+ date: string;
25053
+ /**
25054
+ * Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
25055
+ */
25056
+ time: string;
25057
+ /**
25058
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
25059
+ */
25060
+ timezone: number | string;
25061
+ /**
25062
+ * Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
25063
+ */
25064
+ latitude?: number;
25065
+ /**
25066
+ * Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
25067
+ */
25068
+ longitude?: number;
25069
+ };
25070
+ /**
25071
+ * First day of the resolved forecast window.
25072
+ */
25073
+ startDate: string;
25074
+ /**
25075
+ * Last day of the resolved forecast window after the horizon clamp.
25076
+ */
25077
+ endDate: string;
25078
+ /**
25079
+ * Number of events in the timeline after deduplication, filtering, and the event cap.
25080
+ */
25081
+ count: number;
25082
+ /**
25083
+ * The merged, time-ordered forecast events across the requested domains.
25084
+ */
25085
+ events: Array<{
25086
+ /**
25087
+ * Calendar date of the event in YYYY-MM-DD (UTC).
25088
+ */
25089
+ date: string;
25090
+ /**
25091
+ * Exact instant of the event as an ISO-8601 UTC datetime. Astronomical events are refined to this instant by search, not reported at a daily sample point.
25092
+ */
25093
+ datetime: string;
25094
+ /**
25095
+ * Forecast domain. western covers transit aspects, sign ingresses, and retrograde stations. vedic covers Vimshottari mahadasha and antardasha boundaries. biorhythm covers critical days. A stable machine value, never localized, so consumers can branch on it under any language.
25096
+ */
25097
+ domain: 'western' | 'vedic' | 'biorhythm';
25098
+ /**
25099
+ * Event kind. transit-aspect, sign-ingress, and retrograde-station are western, dasha-change is vedic Vimshottari, critical-day is biorhythm. A stable machine value, never localized, so consumers can branch on it under any language.
25100
+ */
25101
+ type: 'transit-aspect' | 'sign-ingress' | 'retrograde-station' | 'dasha-change' | 'critical-day';
25102
+ /**
25103
+ * Primary subject of the event. A transiting planet for western events, a mahadasha or antardasha label for dasha changes, or the critical cycle for biorhythm days.
25104
+ */
25105
+ body: string;
25106
+ /**
25107
+ * For a transit-aspect, the natal body the transit aspects. For a sign-ingress, the zodiac sign entered. Absent for other event types.
25108
+ */
25109
+ target?: string;
25110
+ /**
25111
+ * For a transit-aspect, the angular relationship. One of conjunction, sextile, square, trine, opposition. Absent for other event types.
25112
+ */
25113
+ aspect?: string;
25114
+ /**
25115
+ * For a transit-aspect, the separation in degrees from the exact aspect at the reported instant. Tighter orb means a more exact and significant aspect.
25116
+ */
25117
+ orb?: number;
25118
+ /**
25119
+ * For a retrograde-station, whether the planet turns retrograde or direct. A stable machine value, never localized. Absent for other event types.
25120
+ */
25121
+ station?: 'retrograde' | 'direct';
25122
+ /**
25123
+ * Plain-language summary of the event, suitable for direct display. The only localized field: when lang is set this sentence, and the body, target, and aspect names within it, render in the requested language while the structured fields stay English.
25124
+ */
25125
+ description: string;
25126
+ /**
25127
+ * Importance score from 0 to 100. Outer-planet exact transit aspects and mahadasha changes score highest; fast Moon events and biorhythm critical days score lower.
25128
+ */
25129
+ significance: number;
25130
+ }>;
25131
+ };
25132
+ };
25133
+
25134
+ export type PostForecastTimelineResponse = PostForecastTimelineResponses[keyof PostForecastTimelineResponses];
25135
+
25136
+ export type PostForecastTransitsData = {
25137
+ body?: {
25138
+ /**
25139
+ * The single birth subject this transit forecast is built for. One object only, never an array.
25140
+ */
25141
+ birthData: {
25142
+ /**
25143
+ * Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
25144
+ */
25145
+ date: string;
25146
+ /**
25147
+ * Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
25148
+ */
25149
+ time: string;
25150
+ /**
25151
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
25152
+ */
25153
+ timezone: number | string;
25154
+ /**
25155
+ * Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
25156
+ */
25157
+ latitude?: number;
25158
+ /**
25159
+ * Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
25160
+ */
25161
+ longitude?: number;
25162
+ };
25163
+ /**
25164
+ * First day of the transit window in YYYY-MM-DD format. Defaults to today in UTC.
25165
+ */
25166
+ startDate?: string;
25167
+ /**
25168
+ * Last day of the transit window in YYYY-MM-DD format. Defaults to startDate plus 30 days. Clamped to a maximum of 90 days from startDate.
25169
+ */
25170
+ endDate?: string;
25171
+ /**
25172
+ * Drop transit events scoring below this significance threshold from 0 to 100. Defaults to 0.
25173
+ */
25174
+ minSignificance?: number;
25175
+ };
25176
+ path?: never;
25177
+ query?: {
25178
+ /**
25179
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
25180
+ */
25181
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
25182
+ };
25183
+ url: '/forecast/transits';
25184
+ };
25185
+
25186
+ export type PostForecastTransitsErrors = {
25187
+ /**
25188
+ * Validation error. `issues[]` lists every failed field.
25189
+ */
25190
+ 400: {
25191
+ /**
25192
+ * First issue summary.
25193
+ */
25194
+ error: string;
25195
+ code: 'validation_error';
25196
+ /**
25197
+ * Every validation failure. Use this to rebuild a valid request.
25198
+ */
25199
+ issues: Array<{
25200
+ /**
25201
+ * Dot-separated field path, or "(root)" for top-level.
25202
+ */
25203
+ path: string;
25204
+ message: string;
25205
+ /**
25206
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
25207
+ */
25208
+ code?: string;
25209
+ /**
25210
+ * Expected type for invalid_type.
25211
+ */
25212
+ expected?: string;
25213
+ /**
25214
+ * Minimum bound for too_small issues.
25215
+ */
25216
+ minimum?: number | string;
25217
+ /**
25218
+ * Maximum bound for too_big issues.
25219
+ */
25220
+ maximum?: number | string;
25221
+ inclusive?: boolean;
25222
+ /**
25223
+ * Format name for string issues (regex, email, url, uuid).
25224
+ */
25225
+ format?: string;
25226
+ /**
25227
+ * Regex pattern when format is regex.
25228
+ */
25229
+ pattern?: string;
25230
+ }>;
25231
+ };
25232
+ /**
25233
+ * Invalid or missing API key
25234
+ */
25235
+ 401: {
25236
+ /**
25237
+ * Human-readable error message. May change wording.
25238
+ */
25239
+ error: string;
25240
+ /**
25241
+ * Machine-readable error code. Stable identifier.
25242
+ */
25243
+ code: string;
25244
+ };
25245
+ /**
25246
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
25247
+ */
25248
+ 405: {
25249
+ error: string;
25250
+ code: 'method_not_allowed';
25251
+ /**
25252
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
25253
+ */
25254
+ allow: Array<string>;
25255
+ /**
25256
+ * Link to the product page for this domain.
25257
+ */
25258
+ docs?: string;
25259
+ };
25260
+ /**
25261
+ * Monthly rate limit exceeded
25262
+ */
25263
+ 429: {
25264
+ /**
25265
+ * Human-readable error message. May change wording.
25266
+ */
25267
+ error: string;
25268
+ /**
25269
+ * Machine-readable error code. Stable identifier.
25270
+ */
25271
+ code: string;
25272
+ };
25273
+ /**
25274
+ * Internal server error
25275
+ */
25276
+ 500: {
25277
+ /**
25278
+ * Human-readable error message. May change wording.
25279
+ */
25280
+ error: string;
25281
+ /**
25282
+ * Machine-readable error code. Stable identifier.
25283
+ */
25284
+ code: string;
25285
+ };
25286
+ };
25287
+
25288
+ export type PostForecastTransitsError = PostForecastTransitsErrors[keyof PostForecastTransitsErrors];
25289
+
25290
+ export type PostForecastTransitsResponses = {
25291
+ /**
25292
+ * Time-ordered western transit events: aspects, ingresses, and stations
25293
+ */
25294
+ 200: {
25295
+ /**
25296
+ * Echo of the birth subject this forecast was built for.
25297
+ */
25298
+ birthData: {
25299
+ /**
25300
+ * Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
25301
+ */
25302
+ date: string;
25303
+ /**
25304
+ * Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
25305
+ */
25306
+ time: string;
25307
+ /**
25308
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
25309
+ */
25310
+ timezone: number | string;
25311
+ /**
25312
+ * Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
25313
+ */
25314
+ latitude?: number;
25315
+ /**
25316
+ * Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
25317
+ */
25318
+ longitude?: number;
25319
+ };
25320
+ /**
25321
+ * First day of the resolved forecast window.
25322
+ */
25323
+ startDate: string;
25324
+ /**
25325
+ * Last day of the resolved forecast window after the horizon clamp.
25326
+ */
25327
+ endDate: string;
25328
+ /**
25329
+ * Number of events in the timeline after deduplication, filtering, and the event cap.
25330
+ */
25331
+ count: number;
25332
+ /**
25333
+ * The merged, time-ordered forecast events across the requested domains.
25334
+ */
25335
+ events: Array<{
25336
+ /**
25337
+ * Calendar date of the event in YYYY-MM-DD (UTC).
25338
+ */
25339
+ date: string;
25340
+ /**
25341
+ * Exact instant of the event as an ISO-8601 UTC datetime. Astronomical events are refined to this instant by search, not reported at a daily sample point.
25342
+ */
25343
+ datetime: string;
25344
+ /**
25345
+ * Forecast domain. western covers transit aspects, sign ingresses, and retrograde stations. vedic covers Vimshottari mahadasha and antardasha boundaries. biorhythm covers critical days. A stable machine value, never localized, so consumers can branch on it under any language.
25346
+ */
25347
+ domain: 'western' | 'vedic' | 'biorhythm';
25348
+ /**
25349
+ * Event kind. transit-aspect, sign-ingress, and retrograde-station are western, dasha-change is vedic Vimshottari, critical-day is biorhythm. A stable machine value, never localized, so consumers can branch on it under any language.
25350
+ */
25351
+ type: 'transit-aspect' | 'sign-ingress' | 'retrograde-station' | 'dasha-change' | 'critical-day';
25352
+ /**
25353
+ * Primary subject of the event. A transiting planet for western events, a mahadasha or antardasha label for dasha changes, or the critical cycle for biorhythm days.
25354
+ */
25355
+ body: string;
25356
+ /**
25357
+ * For a transit-aspect, the natal body the transit aspects. For a sign-ingress, the zodiac sign entered. Absent for other event types.
25358
+ */
25359
+ target?: string;
25360
+ /**
25361
+ * For a transit-aspect, the angular relationship. One of conjunction, sextile, square, trine, opposition. Absent for other event types.
25362
+ */
25363
+ aspect?: string;
25364
+ /**
25365
+ * For a transit-aspect, the separation in degrees from the exact aspect at the reported instant. Tighter orb means a more exact and significant aspect.
25366
+ */
25367
+ orb?: number;
25368
+ /**
25369
+ * For a retrograde-station, whether the planet turns retrograde or direct. A stable machine value, never localized. Absent for other event types.
25370
+ */
25371
+ station?: 'retrograde' | 'direct';
25372
+ /**
25373
+ * Plain-language summary of the event, suitable for direct display. The only localized field: when lang is set this sentence, and the body, target, and aspect names within it, render in the requested language while the structured fields stay English.
25374
+ */
25375
+ description: string;
25376
+ /**
25377
+ * Importance score from 0 to 100. Outer-planet exact transit aspects and mahadasha changes score highest; fast Moon events and biorhythm critical days score lower.
25378
+ */
25379
+ significance: number;
25380
+ }>;
25381
+ };
25382
+ };
25383
+
25384
+ export type PostForecastTransitsResponse = PostForecastTransitsResponses[keyof PostForecastTransitsResponses];
25385
+
25386
+ export type PostForecastSignificantDatesData = {
25387
+ body?: {
25388
+ /**
25389
+ * The single birth subject this forecast is built for. One object only, never an array.
25390
+ */
25391
+ birthData: {
25392
+ /**
25393
+ * Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
25394
+ */
25395
+ date: string;
25396
+ /**
25397
+ * Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
25398
+ */
25399
+ time: string;
25400
+ /**
25401
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
25402
+ */
25403
+ timezone: number | string;
25404
+ /**
25405
+ * Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
25406
+ */
25407
+ latitude?: number;
25408
+ /**
25409
+ * Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
25410
+ */
25411
+ longitude?: number;
25412
+ };
25413
+ /**
25414
+ * First day of the window in YYYY-MM-DD format. Defaults to today in UTC.
25415
+ */
25416
+ startDate?: string;
25417
+ /**
25418
+ * Last day of the window in YYYY-MM-DD format. Defaults to startDate plus 30 days. Clamped to a maximum of 90 days from startDate.
25419
+ */
25420
+ endDate?: string;
25421
+ /**
25422
+ * Which forecast domains to consider before filtering by significance. Defaults to all three.
25423
+ */
25424
+ domains?: Array<'western' | 'vedic' | 'biorhythm'>;
25425
+ /**
25426
+ * Significance floor from 0 to 100 for what counts as a significant date. Defaults to 70.
25427
+ */
25428
+ minSignificance?: number;
25429
+ };
25430
+ path?: never;
25431
+ query?: {
25432
+ /**
25433
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
25434
+ */
25435
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
25436
+ };
25437
+ url: '/forecast/significant-dates';
25438
+ };
25439
+
25440
+ export type PostForecastSignificantDatesErrors = {
25441
+ /**
25442
+ * Validation error. `issues[]` lists every failed field.
25443
+ */
25444
+ 400: {
25445
+ /**
25446
+ * First issue summary.
25447
+ */
25448
+ error: string;
25449
+ code: 'validation_error';
25450
+ /**
25451
+ * Every validation failure. Use this to rebuild a valid request.
25452
+ */
25453
+ issues: Array<{
25454
+ /**
25455
+ * Dot-separated field path, or "(root)" for top-level.
25456
+ */
25457
+ path: string;
25458
+ message: string;
25459
+ /**
25460
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
25461
+ */
25462
+ code?: string;
25463
+ /**
25464
+ * Expected type for invalid_type.
25465
+ */
25466
+ expected?: string;
25467
+ /**
25468
+ * Minimum bound for too_small issues.
25469
+ */
25470
+ minimum?: number | string;
25471
+ /**
25472
+ * Maximum bound for too_big issues.
25473
+ */
25474
+ maximum?: number | string;
25475
+ inclusive?: boolean;
25476
+ /**
25477
+ * Format name for string issues (regex, email, url, uuid).
25478
+ */
25479
+ format?: string;
25480
+ /**
25481
+ * Regex pattern when format is regex.
25482
+ */
25483
+ pattern?: string;
25484
+ }>;
25485
+ };
25486
+ /**
25487
+ * Invalid or missing API key
25488
+ */
25489
+ 401: {
25490
+ /**
25491
+ * Human-readable error message. May change wording.
25492
+ */
25493
+ error: string;
25494
+ /**
25495
+ * Machine-readable error code. Stable identifier.
25496
+ */
25497
+ code: string;
25498
+ };
25499
+ /**
25500
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
25501
+ */
25502
+ 405: {
25503
+ error: string;
25504
+ code: 'method_not_allowed';
25505
+ /**
25506
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
25507
+ */
25508
+ allow: Array<string>;
25509
+ /**
25510
+ * Link to the product page for this domain.
25511
+ */
25512
+ docs?: string;
25513
+ };
25514
+ /**
25515
+ * Monthly rate limit exceeded
25516
+ */
25517
+ 429: {
25518
+ /**
25519
+ * Human-readable error message. May change wording.
25520
+ */
25521
+ error: string;
25522
+ /**
25523
+ * Machine-readable error code. Stable identifier.
25524
+ */
25525
+ code: string;
25526
+ };
25527
+ /**
25528
+ * Internal server error
25529
+ */
25530
+ 500: {
25531
+ /**
25532
+ * Human-readable error message. May change wording.
25533
+ */
25534
+ error: string;
25535
+ /**
25536
+ * Machine-readable error code. Stable identifier.
25537
+ */
25538
+ code: string;
25539
+ };
25540
+ };
25541
+
25542
+ export type PostForecastSignificantDatesError = PostForecastSignificantDatesErrors[keyof PostForecastSignificantDatesErrors];
25543
+
25544
+ export type PostForecastSignificantDatesResponses = {
25545
+ /**
25546
+ * High-significance forecast events across the requested domains
25547
+ */
25548
+ 200: {
25549
+ /**
25550
+ * Echo of the birth subject this forecast was built for.
25551
+ */
25552
+ birthData: {
25553
+ /**
25554
+ * Birth date in YYYY-MM-DD format. Anchors the natal chart and the Vimshottari dasha sequence.
25555
+ */
25556
+ date: string;
25557
+ /**
25558
+ * Birth time in 24-hour HH:MM:SS format. Precision matters for the natal positions the transit aspects are measured against.
25559
+ */
25560
+ time: string;
25561
+ /**
25562
+ * Decimal hours (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. "America/New_York", "UTC"). IANA is resolved to the DST-correct offset for the request date. Invalid timezones return 400 with a validation error.
25563
+ */
25564
+ timezone: number | string;
25565
+ /**
25566
+ * Birth latitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
25567
+ */
25568
+ latitude?: number;
25569
+ /**
25570
+ * Birth longitude in decimal degrees. Optional and does not affect the timeline. Defaults to 0.
25571
+ */
25572
+ longitude?: number;
25573
+ };
25574
+ /**
25575
+ * First day of the resolved forecast window.
25576
+ */
25577
+ startDate: string;
25578
+ /**
25579
+ * Last day of the resolved forecast window after the horizon clamp.
25580
+ */
25581
+ endDate: string;
25582
+ /**
25583
+ * Number of events in the timeline after deduplication, filtering, and the event cap.
25584
+ */
25585
+ count: number;
25586
+ /**
25587
+ * The merged, time-ordered forecast events across the requested domains.
25588
+ */
25589
+ events: Array<{
25590
+ /**
25591
+ * Calendar date of the event in YYYY-MM-DD (UTC).
25592
+ */
25593
+ date: string;
25594
+ /**
25595
+ * Exact instant of the event as an ISO-8601 UTC datetime. Astronomical events are refined to this instant by search, not reported at a daily sample point.
25596
+ */
25597
+ datetime: string;
25598
+ /**
25599
+ * Forecast domain. western covers transit aspects, sign ingresses, and retrograde stations. vedic covers Vimshottari mahadasha and antardasha boundaries. biorhythm covers critical days. A stable machine value, never localized, so consumers can branch on it under any language.
25600
+ */
25601
+ domain: 'western' | 'vedic' | 'biorhythm';
25602
+ /**
25603
+ * Event kind. transit-aspect, sign-ingress, and retrograde-station are western, dasha-change is vedic Vimshottari, critical-day is biorhythm. A stable machine value, never localized, so consumers can branch on it under any language.
25604
+ */
25605
+ type: 'transit-aspect' | 'sign-ingress' | 'retrograde-station' | 'dasha-change' | 'critical-day';
25606
+ /**
25607
+ * Primary subject of the event. A transiting planet for western events, a mahadasha or antardasha label for dasha changes, or the critical cycle for biorhythm days.
25608
+ */
25609
+ body: string;
25610
+ /**
25611
+ * For a transit-aspect, the natal body the transit aspects. For a sign-ingress, the zodiac sign entered. Absent for other event types.
25612
+ */
25613
+ target?: string;
25614
+ /**
25615
+ * For a transit-aspect, the angular relationship. One of conjunction, sextile, square, trine, opposition. Absent for other event types.
25616
+ */
25617
+ aspect?: string;
25618
+ /**
25619
+ * For a transit-aspect, the separation in degrees from the exact aspect at the reported instant. Tighter orb means a more exact and significant aspect.
25620
+ */
25621
+ orb?: number;
25622
+ /**
25623
+ * For a retrograde-station, whether the planet turns retrograde or direct. A stable machine value, never localized. Absent for other event types.
25624
+ */
25625
+ station?: 'retrograde' | 'direct';
25626
+ /**
25627
+ * Plain-language summary of the event, suitable for direct display. The only localized field: when lang is set this sentence, and the body, target, and aspect names within it, render in the requested language while the structured fields stay English.
25628
+ */
25629
+ description: string;
25630
+ /**
25631
+ * Importance score from 0 to 100. Outer-planet exact transit aspects and mahadasha changes score highest; fast Moon events and biorhythm critical days score lower.
25632
+ */
25633
+ significance: number;
25634
+ }>;
25635
+ };
25636
+ };
25637
+
25638
+ export type PostForecastSignificantDatesResponse = PostForecastSignificantDatesResponses[keyof PostForecastSignificantDatesResponses];
25639
+
22764
25640
  export type PostBiorhythmReadingData = {
22765
25641
  body?: {
22766
25642
  /**