@roxyapi/sdk 1.2.7 → 1.2.8

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
@@ -20858,6 +20858,966 @@ export type GetCrystalsByIdResponses = {
20858
20858
 
20859
20859
  export type GetCrystalsByIdResponse = GetCrystalsByIdResponses[keyof GetCrystalsByIdResponses];
20860
20860
 
20861
+ export type PostBiorhythmReadingData = {
20862
+ body?: {
20863
+ /**
20864
+ * Birth date of the person in YYYY-MM-DD format. This is the anchor for all biorhythm cycle calculations.
20865
+ */
20866
+ birthDate: string;
20867
+ /**
20868
+ * Date to calculate the reading for in YYYY-MM-DD format. Defaults to today (UTC) if omitted.
20869
+ */
20870
+ targetDate?: string;
20871
+ };
20872
+ path?: never;
20873
+ query?: {
20874
+ /**
20875
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
20876
+ */
20877
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
20878
+ };
20879
+ url: '/biorhythm/reading';
20880
+ };
20881
+
20882
+ export type PostBiorhythmReadingErrors = {
20883
+ /**
20884
+ * Validation error (missing or invalid parameters)
20885
+ */
20886
+ 400: {
20887
+ /**
20888
+ * Human-readable error message. May change wording.
20889
+ */
20890
+ error: string;
20891
+ /**
20892
+ * Machine-readable error code. Stable identifier.
20893
+ */
20894
+ code: string;
20895
+ };
20896
+ /**
20897
+ * Invalid or missing API key
20898
+ */
20899
+ 401: {
20900
+ /**
20901
+ * Human-readable error message. May change wording.
20902
+ */
20903
+ error: string;
20904
+ /**
20905
+ * Machine-readable error code. Stable identifier.
20906
+ */
20907
+ code: string;
20908
+ };
20909
+ /**
20910
+ * Monthly rate limit exceeded
20911
+ */
20912
+ 429: {
20913
+ /**
20914
+ * Human-readable error message. May change wording.
20915
+ */
20916
+ error: string;
20917
+ /**
20918
+ * Machine-readable error code. Stable identifier.
20919
+ */
20920
+ code: string;
20921
+ };
20922
+ /**
20923
+ * Internal server error
20924
+ */
20925
+ 500: {
20926
+ /**
20927
+ * Human-readable error message. May change wording.
20928
+ */
20929
+ error: string;
20930
+ /**
20931
+ * Machine-readable error code. Stable identifier.
20932
+ */
20933
+ code: string;
20934
+ };
20935
+ };
20936
+
20937
+ export type PostBiorhythmReadingError = PostBiorhythmReadingErrors[keyof PostBiorhythmReadingErrors];
20938
+
20939
+ export type PostBiorhythmReadingResponses = {
20940
+ /**
20941
+ * Complete biorhythm reading with all 10 cycles, energy rating, interpretation, and critical alerts
20942
+ */
20943
+ 200: {
20944
+ /**
20945
+ * Birth date used for this calculation (YYYY-MM-DD).
20946
+ */
20947
+ birthDate: string;
20948
+ /**
20949
+ * Date this reading is for (YYYY-MM-DD).
20950
+ */
20951
+ targetDate: string;
20952
+ /**
20953
+ * Total days alive from birth date to target date. This is the basis for all cycle calculations.
20954
+ */
20955
+ daysSinceBirth: number;
20956
+ /**
20957
+ * All 10 biorhythm cycle readings. Keys: physical, emotional, intellectual, intuitive, aesthetic, awareness, spiritual, passion, mastery, wisdom.
20958
+ */
20959
+ cycles: {
20960
+ [key: string]: {
20961
+ /**
20962
+ * Percentage position in the cycle from -100 (trough) to 100 (peak). 0 represents a critical zero crossing.
20963
+ */
20964
+ value: number;
20965
+ /**
20966
+ * Raw sine wave value before percentage conversion, ranging from -1.0 to 1.0.
20967
+ */
20968
+ rawValue: number;
20969
+ /**
20970
+ * Current phase of the cycle. One of: peak, high, rising, critical_ascending, critical_descending, falling, low, trough.
20971
+ */
20972
+ phase: string;
20973
+ /**
20974
+ * Human-readable phase name for display in UIs, dashboards, and reports.
20975
+ */
20976
+ phaseLabel: string;
20977
+ /**
20978
+ * Current day position within the cycle (1-based). Ranges from 1 to the cycle period length.
20979
+ */
20980
+ dayInCycle: number;
20981
+ /**
20982
+ * Number of days until the next peak (100%) in this cycle.
20983
+ */
20984
+ daysUntilPeak: number;
20985
+ /**
20986
+ * Number of days until the next trough (-100%) in this cycle.
20987
+ */
20988
+ daysUntilTrough: number;
20989
+ /**
20990
+ * Number of days until the next zero crossing in this cycle.
20991
+ */
20992
+ daysUntilCritical: number;
20993
+ /**
20994
+ * Short-term direction of the cycle. One of: rising, falling, peaking, bottoming.
20995
+ */
20996
+ trend: string;
20997
+ /**
20998
+ * Editorial 2-3 sentence reading specific to this cycle at its current phase position.
20999
+ */
21000
+ interpretation: string;
21001
+ };
21002
+ };
21003
+ /**
21004
+ * Overall energy score from 1 (deep recovery) to 10 (peak performance), derived from the three primary cycle positions.
21005
+ */
21006
+ energyRating: number;
21007
+ /**
21008
+ * Summary phase label. One of: high_energy, mixed, recovery, critical.
21009
+ */
21010
+ overallPhase: string;
21011
+ /**
21012
+ * Editorial 3-5 sentence reading combining all cycle states into a coherent daily assessment.
21013
+ */
21014
+ interpretation: string;
21015
+ /**
21016
+ * Actionable 1-2 sentence guidance for the day based on the combined cycle analysis.
21017
+ */
21018
+ advice: string;
21019
+ /**
21020
+ * Critical day alerts. Present only when one or more primary cycles are at or near zero crossing.
21021
+ */
21022
+ criticalAlerts: Array<{
21023
+ /**
21024
+ * Which cycle is at or near zero crossing.
21025
+ */
21026
+ cycle: string;
21027
+ /**
21028
+ * Alert type. zero_crossing when a cycle crosses zero, approaching_critical when within 1 day of zero.
21029
+ */
21030
+ type: string;
21031
+ /**
21032
+ * Whether the cycle is rising through zero (ascending) or falling through zero (descending).
21033
+ */
21034
+ direction: string;
21035
+ /**
21036
+ * Specific advisory text for this critical alert.
21037
+ */
21038
+ advisory: string;
21039
+ }>;
21040
+ };
21041
+ };
21042
+
21043
+ export type PostBiorhythmReadingResponse = PostBiorhythmReadingResponses[keyof PostBiorhythmReadingResponses];
21044
+
21045
+ export type PostBiorhythmForecastData = {
21046
+ body?: {
21047
+ /**
21048
+ * Birth date of the person in YYYY-MM-DD format.
21049
+ */
21050
+ birthDate: string;
21051
+ /**
21052
+ * Start date of the forecast range in YYYY-MM-DD format. Defaults to today (UTC).
21053
+ */
21054
+ startDate?: string;
21055
+ /**
21056
+ * End date of the forecast range in YYYY-MM-DD format. Defaults to startDate + 30 days. Maximum range: 90 days.
21057
+ */
21058
+ endDate?: string;
21059
+ };
21060
+ path?: never;
21061
+ query?: {
21062
+ /**
21063
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
21064
+ */
21065
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
21066
+ };
21067
+ url: '/biorhythm/forecast';
21068
+ };
21069
+
21070
+ export type PostBiorhythmForecastErrors = {
21071
+ /**
21072
+ * Validation error (missing or invalid parameters)
21073
+ */
21074
+ 400: {
21075
+ /**
21076
+ * Human-readable error message. May change wording.
21077
+ */
21078
+ error: string;
21079
+ /**
21080
+ * Machine-readable error code. Stable identifier.
21081
+ */
21082
+ code: string;
21083
+ };
21084
+ /**
21085
+ * Invalid or missing API key
21086
+ */
21087
+ 401: {
21088
+ /**
21089
+ * Human-readable error message. May change wording.
21090
+ */
21091
+ error: string;
21092
+ /**
21093
+ * Machine-readable error code. Stable identifier.
21094
+ */
21095
+ code: string;
21096
+ };
21097
+ /**
21098
+ * Monthly rate limit exceeded
21099
+ */
21100
+ 429: {
21101
+ /**
21102
+ * Human-readable error message. May change wording.
21103
+ */
21104
+ error: string;
21105
+ /**
21106
+ * Machine-readable error code. Stable identifier.
21107
+ */
21108
+ code: string;
21109
+ };
21110
+ /**
21111
+ * Internal server error
21112
+ */
21113
+ 500: {
21114
+ /**
21115
+ * Human-readable error message. May change wording.
21116
+ */
21117
+ error: string;
21118
+ /**
21119
+ * Machine-readable error code. Stable identifier.
21120
+ */
21121
+ code: string;
21122
+ };
21123
+ };
21124
+
21125
+ export type PostBiorhythmForecastError = PostBiorhythmForecastErrors[keyof PostBiorhythmForecastErrors];
21126
+
21127
+ export type PostBiorhythmForecastResponses = {
21128
+ /**
21129
+ * Biorhythm forecast with daily readings, summary, and best/worst day identification
21130
+ */
21131
+ 200: {
21132
+ /**
21133
+ * Birth date used for this calculation.
21134
+ */
21135
+ birthDate: string;
21136
+ /**
21137
+ * First day of the forecast range.
21138
+ */
21139
+ startDate: string;
21140
+ /**
21141
+ * Last day of the forecast range.
21142
+ */
21143
+ endDate: string;
21144
+ /**
21145
+ * Number of days in the forecast range.
21146
+ */
21147
+ totalDays: number;
21148
+ summary: {
21149
+ /**
21150
+ * Date with the highest average primary cycle values in the range. Best day for demanding activities.
21151
+ */
21152
+ bestDay: string;
21153
+ /**
21154
+ * Date with the lowest average primary cycle values in the range. Best scheduled as a rest day.
21155
+ */
21156
+ worstDay: string;
21157
+ /**
21158
+ * Total number of days where at least one primary cycle crosses zero in the range.
21159
+ */
21160
+ criticalDayCount: number;
21161
+ /**
21162
+ * Average energy rating (1-10) across the entire forecast period.
21163
+ */
21164
+ averageEnergy: number;
21165
+ /**
21166
+ * Overview guidance for the entire forecast period based on average energy and cycle patterns.
21167
+ */
21168
+ periodAdvice: string;
21169
+ };
21170
+ /**
21171
+ * Array of daily readings, one per day in the forecast range.
21172
+ */
21173
+ days: Array<{
21174
+ /**
21175
+ * Date of this daily reading (YYYY-MM-DD).
21176
+ */
21177
+ date: string;
21178
+ /**
21179
+ * Days from birth date to this date.
21180
+ */
21181
+ daysSinceBirth: number;
21182
+ /**
21183
+ * Physical cycle value (-100 to 100).
21184
+ */
21185
+ physical: number;
21186
+ /**
21187
+ * Emotional cycle value (-100 to 100).
21188
+ */
21189
+ emotional: number;
21190
+ /**
21191
+ * Intellectual cycle value (-100 to 100).
21192
+ */
21193
+ intellectual: number;
21194
+ /**
21195
+ * Intuitive cycle value (-100 to 100).
21196
+ */
21197
+ intuitive: number;
21198
+ /**
21199
+ * Energy rating for this day (1-10).
21200
+ */
21201
+ energyRating: number;
21202
+ /**
21203
+ * True if any primary cycle crosses zero on this day.
21204
+ */
21205
+ isCritical: boolean;
21206
+ /**
21207
+ * Which primary cycles are critical on this day. Empty array if none.
21208
+ */
21209
+ criticalCycles: Array<string>;
21210
+ }>;
21211
+ };
21212
+ };
21213
+
21214
+ export type PostBiorhythmForecastResponse = PostBiorhythmForecastResponses[keyof PostBiorhythmForecastResponses];
21215
+
21216
+ export type PostBiorhythmCriticalDaysData = {
21217
+ body?: {
21218
+ /**
21219
+ * Birth date of the person in YYYY-MM-DD format.
21220
+ */
21221
+ birthDate: string;
21222
+ /**
21223
+ * Start date of the search range in YYYY-MM-DD format. Defaults to today (UTC).
21224
+ */
21225
+ startDate?: string;
21226
+ /**
21227
+ * End date of the search range in YYYY-MM-DD format. Defaults to startDate + 90 days. Maximum range: 180 days.
21228
+ */
21229
+ endDate?: string;
21230
+ };
21231
+ path?: never;
21232
+ query?: {
21233
+ /**
21234
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
21235
+ */
21236
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
21237
+ };
21238
+ url: '/biorhythm/critical-days';
21239
+ };
21240
+
21241
+ export type PostBiorhythmCriticalDaysErrors = {
21242
+ /**
21243
+ * Validation error (missing or invalid parameters)
21244
+ */
21245
+ 400: {
21246
+ /**
21247
+ * Human-readable error message. May change wording.
21248
+ */
21249
+ error: string;
21250
+ /**
21251
+ * Machine-readable error code. Stable identifier.
21252
+ */
21253
+ code: string;
21254
+ };
21255
+ /**
21256
+ * Invalid or missing API key
21257
+ */
21258
+ 401: {
21259
+ /**
21260
+ * Human-readable error message. May change wording.
21261
+ */
21262
+ error: string;
21263
+ /**
21264
+ * Machine-readable error code. Stable identifier.
21265
+ */
21266
+ code: string;
21267
+ };
21268
+ /**
21269
+ * Monthly rate limit exceeded
21270
+ */
21271
+ 429: {
21272
+ /**
21273
+ * Human-readable error message. May change wording.
21274
+ */
21275
+ error: string;
21276
+ /**
21277
+ * Machine-readable error code. Stable identifier.
21278
+ */
21279
+ code: string;
21280
+ };
21281
+ /**
21282
+ * Internal server error
21283
+ */
21284
+ 500: {
21285
+ /**
21286
+ * Human-readable error message. May change wording.
21287
+ */
21288
+ error: string;
21289
+ /**
21290
+ * Machine-readable error code. Stable identifier.
21291
+ */
21292
+ code: string;
21293
+ };
21294
+ };
21295
+
21296
+ export type PostBiorhythmCriticalDaysError = PostBiorhythmCriticalDaysErrors[keyof PostBiorhythmCriticalDaysErrors];
21297
+
21298
+ export type PostBiorhythmCriticalDaysResponses = {
21299
+ /**
21300
+ * Critical days with zero crossing details, severity levels, and advisory text
21301
+ */
21302
+ 200: {
21303
+ /**
21304
+ * Birth date used for this calculation.
21305
+ */
21306
+ birthDate: string;
21307
+ /**
21308
+ * Start of the search range.
21309
+ */
21310
+ startDate: string;
21311
+ /**
21312
+ * End of the search range.
21313
+ */
21314
+ endDate: string;
21315
+ /**
21316
+ * Total count of critical day events in the range. A double critical day counts as two events.
21317
+ */
21318
+ totalCriticalDays: number;
21319
+ /**
21320
+ * All critical day events in the range, sorted by date.
21321
+ */
21322
+ criticalDays: Array<{
21323
+ /**
21324
+ * Date of the zero crossing (YYYY-MM-DD).
21325
+ */
21326
+ date: string;
21327
+ /**
21328
+ * Which primary cycle crosses zero on this date.
21329
+ */
21330
+ cycle: string;
21331
+ /**
21332
+ * Cycle period in days.
21333
+ */
21334
+ period: number;
21335
+ /**
21336
+ * Whether the cycle is rising through zero (ascending) or falling through zero (descending).
21337
+ */
21338
+ direction: string;
21339
+ /**
21340
+ * How many primary cycles are critical on this date. single, double, or triple.
21341
+ */
21342
+ severity: string;
21343
+ /**
21344
+ * Advisory text explaining the significance of this critical day and recommended precautions.
21345
+ */
21346
+ advisory: string;
21347
+ }>;
21348
+ /**
21349
+ * Dates where 2 or more primary cycles cross zero simultaneously. These are particularly significant days requiring extra caution.
21350
+ */
21351
+ doubleCriticalDays: Array<string>;
21352
+ /**
21353
+ * Date where all 3 primary cycles cross zero simultaneously. Extremely rare event. Null if none found in range.
21354
+ */
21355
+ tripleCriticalDay: string;
21356
+ };
21357
+ };
21358
+
21359
+ export type PostBiorhythmCriticalDaysResponse = PostBiorhythmCriticalDaysResponses[keyof PostBiorhythmCriticalDaysResponses];
21360
+
21361
+ export type PostBiorhythmCompatibilityData = {
21362
+ body?: {
21363
+ person1: {
21364
+ /**
21365
+ * Birth date of person 1 in YYYY-MM-DD format.
21366
+ */
21367
+ birthDate: string;
21368
+ };
21369
+ person2: {
21370
+ /**
21371
+ * Birth date of person 2 in YYYY-MM-DD format.
21372
+ */
21373
+ birthDate: string;
21374
+ };
21375
+ /**
21376
+ * Date to evaluate compatibility on in YYYY-MM-DD format. Defaults to today (UTC). Compatibility varies by day since biorhythm cycles are continuous.
21377
+ */
21378
+ targetDate?: string;
21379
+ };
21380
+ path?: never;
21381
+ query?: {
21382
+ /**
21383
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
21384
+ */
21385
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
21386
+ };
21387
+ url: '/biorhythm/compatibility';
21388
+ };
21389
+
21390
+ export type PostBiorhythmCompatibilityErrors = {
21391
+ /**
21392
+ * Validation error (missing or invalid parameters)
21393
+ */
21394
+ 400: {
21395
+ /**
21396
+ * Human-readable error message. May change wording.
21397
+ */
21398
+ error: string;
21399
+ /**
21400
+ * Machine-readable error code. Stable identifier.
21401
+ */
21402
+ code: string;
21403
+ };
21404
+ /**
21405
+ * Invalid or missing API key
21406
+ */
21407
+ 401: {
21408
+ /**
21409
+ * Human-readable error message. May change wording.
21410
+ */
21411
+ error: string;
21412
+ /**
21413
+ * Machine-readable error code. Stable identifier.
21414
+ */
21415
+ code: string;
21416
+ };
21417
+ /**
21418
+ * Monthly rate limit exceeded
21419
+ */
21420
+ 429: {
21421
+ /**
21422
+ * Human-readable error message. May change wording.
21423
+ */
21424
+ error: string;
21425
+ /**
21426
+ * Machine-readable error code. Stable identifier.
21427
+ */
21428
+ code: string;
21429
+ };
21430
+ /**
21431
+ * Internal server error
21432
+ */
21433
+ 500: {
21434
+ /**
21435
+ * Human-readable error message. May change wording.
21436
+ */
21437
+ error: string;
21438
+ /**
21439
+ * Machine-readable error code. Stable identifier.
21440
+ */
21441
+ code: string;
21442
+ };
21443
+ };
21444
+
21445
+ export type PostBiorhythmCompatibilityError = PostBiorhythmCompatibilityErrors[keyof PostBiorhythmCompatibilityErrors];
21446
+
21447
+ export type PostBiorhythmCompatibilityResponses = {
21448
+ /**
21449
+ * Biorhythm compatibility analysis with per-cycle alignment, overall score, and relationship guidance
21450
+ */
21451
+ 200: {
21452
+ person1: {
21453
+ /**
21454
+ * Birth date of person 1.
21455
+ */
21456
+ birthDate: string;
21457
+ };
21458
+ person2: {
21459
+ /**
21460
+ * Birth date of person 2.
21461
+ */
21462
+ birthDate: string;
21463
+ };
21464
+ /**
21465
+ * Date this compatibility was calculated for.
21466
+ */
21467
+ targetDate: string;
21468
+ /**
21469
+ * Overall compatibility score from 0 (fully opposed) to 100 (perfectly synchronized).
21470
+ */
21471
+ overallScore: number;
21472
+ /**
21473
+ * Compatibility rating label. One of: Highly Aligned, Well Aligned, Moderately Aligned, Misaligned, Opposed.
21474
+ */
21475
+ rating: string;
21476
+ /**
21477
+ * Per-cycle compatibility analysis for physical, emotional, and intellectual cycles.
21478
+ */
21479
+ cycles: {
21480
+ [key: string]: {
21481
+ /**
21482
+ * Person 1 cycle value on the target date (-100 to 100).
21483
+ */
21484
+ person1Value: number;
21485
+ /**
21486
+ * Person 2 cycle value on the target date (-100 to 100).
21487
+ */
21488
+ person2Value: number;
21489
+ /**
21490
+ * Absolute difference between the two values (0-200). Lower values indicate better alignment.
21491
+ */
21492
+ difference: number;
21493
+ /**
21494
+ * Alignment score from 0 (perfectly opposed) to 100 (perfectly in sync).
21495
+ */
21496
+ alignment: number;
21497
+ /**
21498
+ * Alignment phase. One of: in_sync, complementary, neutral, opposing.
21499
+ */
21500
+ phase: string;
21501
+ /**
21502
+ * Human-readable description of how this cycle alignment affects the relationship.
21503
+ */
21504
+ description: string;
21505
+ };
21506
+ };
21507
+ /**
21508
+ * Relationship strengths based on the compatibility profile.
21509
+ */
21510
+ strengths: Array<string>;
21511
+ /**
21512
+ * Potential relationship challenges to be aware of.
21513
+ */
21514
+ challenges: Array<string>;
21515
+ /**
21516
+ * Practical relationship guidance based on the combined cycle analysis.
21517
+ */
21518
+ advice: string;
21519
+ dailySync: {
21520
+ /**
21521
+ * Absolute difference in physical cycle values (0-200). Lower = more aligned.
21522
+ */
21523
+ physicalDiff: number;
21524
+ /**
21525
+ * Absolute difference in emotional cycle values (0-200). Lower = more aligned.
21526
+ */
21527
+ emotionalDiff: number;
21528
+ /**
21529
+ * Absolute difference in intellectual cycle values (0-200). Lower = more aligned.
21530
+ */
21531
+ intellectualDiff: number;
21532
+ };
21533
+ };
21534
+ };
21535
+
21536
+ export type PostBiorhythmCompatibilityResponse = PostBiorhythmCompatibilityResponses[keyof PostBiorhythmCompatibilityResponses];
21537
+
21538
+ export type PostBiorhythmPhasesData = {
21539
+ body?: {
21540
+ /**
21541
+ * Birth date of the person in YYYY-MM-DD format.
21542
+ */
21543
+ birthDate: string;
21544
+ /**
21545
+ * Date to get phase information for in YYYY-MM-DD format. Defaults to today (UTC).
21546
+ */
21547
+ targetDate?: string;
21548
+ };
21549
+ path?: never;
21550
+ query?: {
21551
+ /**
21552
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
21553
+ */
21554
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
21555
+ };
21556
+ url: '/biorhythm/phases';
21557
+ };
21558
+
21559
+ export type PostBiorhythmPhasesErrors = {
21560
+ /**
21561
+ * Validation error (missing or invalid parameters)
21562
+ */
21563
+ 400: {
21564
+ /**
21565
+ * Human-readable error message. May change wording.
21566
+ */
21567
+ error: string;
21568
+ /**
21569
+ * Machine-readable error code. Stable identifier.
21570
+ */
21571
+ code: string;
21572
+ };
21573
+ /**
21574
+ * Invalid or missing API key
21575
+ */
21576
+ 401: {
21577
+ /**
21578
+ * Human-readable error message. May change wording.
21579
+ */
21580
+ error: string;
21581
+ /**
21582
+ * Machine-readable error code. Stable identifier.
21583
+ */
21584
+ code: string;
21585
+ };
21586
+ /**
21587
+ * Monthly rate limit exceeded
21588
+ */
21589
+ 429: {
21590
+ /**
21591
+ * Human-readable error message. May change wording.
21592
+ */
21593
+ error: string;
21594
+ /**
21595
+ * Machine-readable error code. Stable identifier.
21596
+ */
21597
+ code: string;
21598
+ };
21599
+ /**
21600
+ * Internal server error
21601
+ */
21602
+ 500: {
21603
+ /**
21604
+ * Human-readable error message. May change wording.
21605
+ */
21606
+ error: string;
21607
+ /**
21608
+ * Machine-readable error code. Stable identifier.
21609
+ */
21610
+ code: string;
21611
+ };
21612
+ };
21613
+
21614
+ export type PostBiorhythmPhasesError = PostBiorhythmPhasesErrors[keyof PostBiorhythmPhasesErrors];
21615
+
21616
+ export type PostBiorhythmPhasesResponses = {
21617
+ /**
21618
+ * Phase information for all 10 cycles with summary
21619
+ */
21620
+ 200: {
21621
+ /**
21622
+ * Birth date used for this calculation.
21623
+ */
21624
+ birthDate: string;
21625
+ /**
21626
+ * Date this phase info is for.
21627
+ */
21628
+ targetDate: string;
21629
+ /**
21630
+ * Total days alive from birth date to target date.
21631
+ */
21632
+ daysSinceBirth: number;
21633
+ /**
21634
+ * Phase information for all 10 cycles keyed by cycle ID.
21635
+ */
21636
+ phases: {
21637
+ [key: string]: {
21638
+ /**
21639
+ * Cycle value from -100 to 100.
21640
+ */
21641
+ value: number;
21642
+ /**
21643
+ * Current phase identifier.
21644
+ */
21645
+ phase: string;
21646
+ /**
21647
+ * Human-readable phase label.
21648
+ */
21649
+ phaseLabel: string;
21650
+ /**
21651
+ * Current day position within the cycle.
21652
+ */
21653
+ dayInCycle: number;
21654
+ /**
21655
+ * Cycle period in days. 0 for composite cycles (passion, mastery, wisdom).
21656
+ */
21657
+ totalDays: number;
21658
+ /**
21659
+ * Days until next zero crossing.
21660
+ */
21661
+ daysUntilCritical: number;
21662
+ /**
21663
+ * Short-term direction: rising, falling, peaking, or bottoming.
21664
+ */
21665
+ trend: string;
21666
+ };
21667
+ };
21668
+ /**
21669
+ * Quick overview string summarizing the current state of all cycles.
21670
+ */
21671
+ summary: string;
21672
+ };
21673
+ };
21674
+
21675
+ export type PostBiorhythmPhasesResponse = PostBiorhythmPhasesResponses[keyof PostBiorhythmPhasesResponses];
21676
+
21677
+ export type PostBiorhythmDailyData = {
21678
+ body?: {
21679
+ /**
21680
+ * Optional seed for reproducible readings. Same seed + same date = same reading every time. Pass any unique identifier (userId, email hash, session token). Omit for anonymous daily readings.
21681
+ */
21682
+ seed?: string;
21683
+ /**
21684
+ * Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
21685
+ */
21686
+ date?: string;
21687
+ };
21688
+ path?: never;
21689
+ query?: {
21690
+ /**
21691
+ * Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.
21692
+ */
21693
+ lang?: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
21694
+ };
21695
+ url: '/biorhythm/daily';
21696
+ };
21697
+
21698
+ export type PostBiorhythmDailyErrors = {
21699
+ /**
21700
+ * Validation error (missing or invalid parameters)
21701
+ */
21702
+ 400: {
21703
+ /**
21704
+ * Human-readable error message. May change wording.
21705
+ */
21706
+ error: string;
21707
+ /**
21708
+ * Machine-readable error code. Stable identifier.
21709
+ */
21710
+ code: string;
21711
+ };
21712
+ /**
21713
+ * Invalid or missing API key
21714
+ */
21715
+ 401: {
21716
+ /**
21717
+ * Human-readable error message. May change wording.
21718
+ */
21719
+ error: string;
21720
+ /**
21721
+ * Machine-readable error code. Stable identifier.
21722
+ */
21723
+ code: string;
21724
+ };
21725
+ /**
21726
+ * Monthly rate limit exceeded
21727
+ */
21728
+ 429: {
21729
+ /**
21730
+ * Human-readable error message. May change wording.
21731
+ */
21732
+ error: string;
21733
+ /**
21734
+ * Machine-readable error code. Stable identifier.
21735
+ */
21736
+ code: string;
21737
+ };
21738
+ /**
21739
+ * Internal server error
21740
+ */
21741
+ 500: {
21742
+ /**
21743
+ * Human-readable error message. May change wording.
21744
+ */
21745
+ error: string;
21746
+ /**
21747
+ * Machine-readable error code. Stable identifier.
21748
+ */
21749
+ code: string;
21750
+ };
21751
+ };
21752
+
21753
+ export type PostBiorhythmDailyError = PostBiorhythmDailyErrors[keyof PostBiorhythmDailyErrors];
21754
+
21755
+ export type PostBiorhythmDailyResponses = {
21756
+ /**
21757
+ * Daily biorhythm reading with spotlight cycle and actionable guidance
21758
+ */
21759
+ 200: {
21760
+ /**
21761
+ * Date this daily reading is for (YYYY-MM-DD, UTC).
21762
+ */
21763
+ date: string;
21764
+ /**
21765
+ * Computed seed used for this reading. Same seed always produces the same reading.
21766
+ */
21767
+ seed: string;
21768
+ /**
21769
+ * Overall energy score from 1 to 10.
21770
+ */
21771
+ energyRating: number;
21772
+ /**
21773
+ * Summary phase. One of: high_energy, mixed, recovery, critical.
21774
+ */
21775
+ overallPhase: string;
21776
+ spotlight: {
21777
+ /**
21778
+ * Which primary cycle is featured as the daily spotlight.
21779
+ */
21780
+ cycle: string;
21781
+ /**
21782
+ * Current value of the spotlight cycle (-100 to 100).
21783
+ */
21784
+ value: number;
21785
+ /**
21786
+ * Current phase of the spotlight cycle.
21787
+ */
21788
+ phase: string;
21789
+ /**
21790
+ * Personalized message about the spotlight cycle and what it means for today.
21791
+ */
21792
+ message: string;
21793
+ };
21794
+ quickRead: {
21795
+ /**
21796
+ * Physical cycle value (-100 to 100).
21797
+ */
21798
+ physical: number;
21799
+ /**
21800
+ * Emotional cycle value (-100 to 100).
21801
+ */
21802
+ emotional: number;
21803
+ /**
21804
+ * Intellectual cycle value (-100 to 100).
21805
+ */
21806
+ intellectual: number;
21807
+ };
21808
+ /**
21809
+ * Concise daily biorhythm message combining energy rating and spotlight cycle.
21810
+ */
21811
+ dailyMessage: string;
21812
+ /**
21813
+ * Actionable 1-2 sentence guidance for the day.
21814
+ */
21815
+ advice: string;
21816
+ };
21817
+ };
21818
+
21819
+ export type PostBiorhythmDailyResponse = PostBiorhythmDailyResponses[keyof PostBiorhythmDailyResponses];
21820
+
20861
21821
  export type GetLocationSearchData = {
20862
21822
  body?: never;
20863
21823
  path?: never;