@trainheroic-unofficial/dto 3.2.0 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -370,176 +370,360 @@ declare const athleteSessionRemoveArgsSchema: z.ZodObject<{
370
370
  date: z.ZodString;
371
371
  }, z.core.$strip>;
372
372
  type AthleteSessionRemoveArgs = z.infer<typeof athleteSessionRemoveArgsSchema>;
373
- /** A flattened exercise within a presented workout: prescriptions, logged results, units. */
374
- type AthleteWorkoutExercise = {
375
- exerciseId: number | null;
376
- title: string;
377
- instruction: string | null;
378
- units: Array<string | null>;
379
- /** Per-set prescriptions, e.g. ["5 @ 225 lb", "3 @ 245 lb"] or ["AMRAP"]. */
380
- prescribed: string[];
381
- /**
382
- * Per-set values the athlete actually logged, same shape as `prescribed`. Empty when
383
- * nothing was recorded for this exercise. This — not any "completed" flag — is the
384
- * reliable signal that a set was performed (the API leaves completion flags at 0 even
385
- * when results were entered).
386
- */
387
- performed: string[];
388
- };
389
- /** A block (workout set) within a presented workout. */
390
- type AthleteWorkoutBlock = {
391
- order: number;
392
- title: string | null;
393
- instruction: string | null;
394
- isTest: boolean;
395
- exercises: AthleteWorkoutExercise[];
396
- };
397
- /** A scheduled/completed workout flattened for reading. */
398
- type AthleteWorkoutView = {
399
- id: number | null;
400
- date: string;
401
- title: string;
402
- program: string | null;
403
- team: string | null;
404
- instruction: string | null;
405
- /**
406
- * True when the athlete logged at least one set on this workout (any exercise has
407
- * `performed` values). Use this to tell a recorded session from a merely scheduled one;
408
- * the API's own completion flags are unreliable.
409
- */
410
- logged: boolean;
411
- /**
412
- * True when this is a personal session the athlete created (the API's `personal_cal` flag),
413
- * rather than a coach-scheduled workout. Only a personal session can be removed with
414
- * `athlete_session_remove`; its `id` is the `programWorkoutId` that tool takes.
415
- */
416
- personal: boolean;
417
- blocks: AthleteWorkoutBlock[];
418
- };
419
- /**
420
- * A compact per-workout header with no block/exercise detail. Produced by the summary
421
- * projection so an overview question ("what's on my schedule this week", "what have I been
422
- * training lately") returns one small row per session instead of the full prescribed/performed
423
- * sets — a dense multi-program week of `AthleteWorkoutView`s can run tens of KB and force a
424
- * follow-up drill-in.
425
- */
426
- type AthleteWorkoutSummary = {
427
- id: number | null;
428
- date: string;
429
- title: string;
430
- program: string | null;
431
- team: string | null;
432
- /** True when the athlete logged at least one set on this workout. */
433
- logged: boolean;
434
- /** True when this is a personal session the athlete created, not a coach-scheduled workout. */
435
- personal: boolean;
436
- /** Total prescribed exercises across all blocks. */
437
- exerciseCount: number;
438
- /**
439
- * How many of those exercises have at least one logged set. Read it against exerciseCount
440
- * (e.g. 1 of 12), not in isolation — a low number means the session was mostly unlogged, not
441
- * that only one exercise was prescribed.
442
- */
443
- performedCount: number;
444
- };
445
- /** One exercise inside a coach-viewed athlete session (from the calendar summary). */
446
- type CoachAthleteExercise = {
447
- exerciseId: number | null;
448
- title: string;
449
- /** The set summary the API returns, e.g. "5 x 2 @ 205 lb" or "3 x 5 @ 24 in". */
450
- summary: string | null;
451
- completed: boolean;
452
- };
453
- /** One session in a coach's view of a roster athlete's training month. */
454
- type CoachAthleteSession = {
455
- workoutId: number | null;
456
- savedWorkoutId: number | null;
457
- title: string;
458
- /** True when the athlete logged this session (the reliable did-they-train signal). */
459
- logged: boolean;
460
- completed: boolean;
461
- rpe: number | null;
462
- durationMin: number | null;
463
- notes: string | null;
464
- exercises: CoachAthleteExercise[];
465
- };
466
- /**
467
- * A coach's month view of a roster athlete's training, presented from
468
- * `/2.0/coach/athlete/calendar/summary`. Sessions are in calendar order within the month; the
469
- * API carries no per-session date, so the month comes from year/month.
470
- */
471
- type CoachAthleteTraining = {
472
- athleteId: number | null;
473
- athleteName: string | null;
474
- year: number;
475
- month: number;
476
- sessions: CoachAthleteSession[];
477
- };
478
- /**
479
- * One athlete's all-time training snapshot in a coach's roster-activity ranking. `lastLoggedDate`
480
- * is the real training-recency signal (null means the athlete has never logged a session),
481
- * distinct from `list_athletes`'s `daysSinceLastLogin`, which is app-login recency.
482
- */
483
- type RosterActivityRow = {
484
- athleteId: number;
485
- sessionsCount: number | null;
486
- firstLoggedDate: string | null;
487
- lastLoggedDate: string | null;
488
- totalReps: number | null;
489
- totalVolume: number | null;
490
- };
491
- /**
492
- * One athlete's logged volume over a date window, aggregated from the `training-summary-athlete`
493
- * analytics report (which returns one row per logged session). `volume` is in pounds.
494
- */
495
- type TeamVolumeAthlete = {
496
- athleteId: number;
497
- name: string | null;
498
- sessions: number;
499
- reps: number;
500
- volume: number;
501
- firstLoggedDate: string | null;
502
- lastLoggedDate: string | null;
503
- };
504
- /**
505
- * A coach's team-wide training volume over an inclusive `YYYY-MM-DD` window: per-athlete rows
506
- * (only athletes who logged in range appear) plus the rolled-up team totals. The windowed
507
- * counterpart to the all-time {@link RosterActivityRow} snapshot.
508
- */
509
- type TeamVolumeReport = {
510
- window: {
511
- start: string;
512
- end: string;
513
- };
514
- athletes: TeamVolumeAthlete[];
515
- totals: {
516
- athletes: number;
517
- sessions: number;
518
- reps: number;
519
- volume: number;
520
- };
521
- };
522
- /** One performed session in a presented exercise history. */
523
- type PresentedExerciseSession = {
524
- date: string;
525
- abr: string | null;
526
- estimated1RM: number | null;
527
- sets: Array<{
528
- setNumber: number;
529
- value: string | null;
530
- }>;
531
- };
532
- /** A presented per-exercise history: PRs plus the session time-series. */
533
- type PresentedExerciseHistory = {
534
- liftPRs: Array<{
535
- description: string | null;
536
- reps: number | null;
537
- weight: number | null;
538
- units: string | null;
539
- date: string | null;
540
- }>;
541
- sessions: PresentedExerciseSession[];
542
- };
373
+ /** Flattened exercise within a presented workout: prescriptions, logged results, units. */
374
+ declare const athleteWorkoutExerciseSchema: z.ZodObject<{
375
+ exerciseId: z.ZodNullable<z.ZodNumber>;
376
+ title: z.ZodString;
377
+ instruction: z.ZodNullable<z.ZodString>;
378
+ units: z.ZodArray<z.ZodNullable<z.ZodString>>;
379
+ prescribed: z.ZodArray<z.ZodString>;
380
+ performed: z.ZodArray<z.ZodString>;
381
+ }, z.core.$strip>;
382
+ type AthleteWorkoutExercise = z.infer<typeof athleteWorkoutExerciseSchema>;
383
+ declare const athleteWorkoutBlockSchema: z.ZodObject<{
384
+ order: z.ZodNumber;
385
+ title: z.ZodNullable<z.ZodString>;
386
+ instruction: z.ZodNullable<z.ZodString>;
387
+ isTest: z.ZodBoolean;
388
+ exercises: z.ZodArray<z.ZodObject<{
389
+ exerciseId: z.ZodNullable<z.ZodNumber>;
390
+ title: z.ZodString;
391
+ instruction: z.ZodNullable<z.ZodString>;
392
+ units: z.ZodArray<z.ZodNullable<z.ZodString>>;
393
+ prescribed: z.ZodArray<z.ZodString>;
394
+ performed: z.ZodArray<z.ZodString>;
395
+ }, z.core.$strip>>;
396
+ }, z.core.$strip>;
397
+ type AthleteWorkoutBlock = z.infer<typeof athleteWorkoutBlockSchema>;
398
+ declare const athleteWorkoutViewSchema: z.ZodObject<{
399
+ id: z.ZodNullable<z.ZodNumber>;
400
+ date: z.ZodString;
401
+ title: z.ZodString;
402
+ program: z.ZodNullable<z.ZodString>;
403
+ team: z.ZodNullable<z.ZodString>;
404
+ instruction: z.ZodNullable<z.ZodString>;
405
+ logged: z.ZodBoolean;
406
+ personal: z.ZodBoolean;
407
+ blocks: z.ZodArray<z.ZodObject<{
408
+ order: z.ZodNumber;
409
+ title: z.ZodNullable<z.ZodString>;
410
+ instruction: z.ZodNullable<z.ZodString>;
411
+ isTest: z.ZodBoolean;
412
+ exercises: z.ZodArray<z.ZodObject<{
413
+ exerciseId: z.ZodNullable<z.ZodNumber>;
414
+ title: z.ZodString;
415
+ instruction: z.ZodNullable<z.ZodString>;
416
+ units: z.ZodArray<z.ZodNullable<z.ZodString>>;
417
+ prescribed: z.ZodArray<z.ZodString>;
418
+ performed: z.ZodArray<z.ZodString>;
419
+ }, z.core.$strip>>;
420
+ }, z.core.$strip>>;
421
+ }, z.core.$strip>;
422
+ type AthleteWorkoutView = z.infer<typeof athleteWorkoutViewSchema>;
423
+ declare const athleteWorkoutSummarySchema: z.ZodObject<{
424
+ id: z.ZodNullable<z.ZodNumber>;
425
+ date: z.ZodString;
426
+ title: z.ZodString;
427
+ program: z.ZodNullable<z.ZodString>;
428
+ team: z.ZodNullable<z.ZodString>;
429
+ logged: z.ZodBoolean;
430
+ personal: z.ZodBoolean;
431
+ exerciseCount: z.ZodNumber;
432
+ performedCount: z.ZodNumber;
433
+ }, z.core.$strip>;
434
+ type AthleteWorkoutSummary = z.infer<typeof athleteWorkoutSummarySchema>;
435
+ /** Presented views first so a summary/detail row cannot be swallowed by the loose raw list. */
436
+ declare const athleteWorkoutsOutputSchema: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
437
+ id: z.ZodNullable<z.ZodNumber>;
438
+ date: z.ZodString;
439
+ title: z.ZodString;
440
+ program: z.ZodNullable<z.ZodString>;
441
+ team: z.ZodNullable<z.ZodString>;
442
+ logged: z.ZodBoolean;
443
+ personal: z.ZodBoolean;
444
+ exerciseCount: z.ZodNumber;
445
+ performedCount: z.ZodNumber;
446
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
447
+ id: z.ZodNullable<z.ZodNumber>;
448
+ date: z.ZodString;
449
+ title: z.ZodString;
450
+ program: z.ZodNullable<z.ZodString>;
451
+ team: z.ZodNullable<z.ZodString>;
452
+ instruction: z.ZodNullable<z.ZodString>;
453
+ logged: z.ZodBoolean;
454
+ personal: z.ZodBoolean;
455
+ blocks: z.ZodArray<z.ZodObject<{
456
+ order: z.ZodNumber;
457
+ title: z.ZodNullable<z.ZodString>;
458
+ instruction: z.ZodNullable<z.ZodString>;
459
+ isTest: z.ZodBoolean;
460
+ exercises: z.ZodArray<z.ZodObject<{
461
+ exerciseId: z.ZodNullable<z.ZodNumber>;
462
+ title: z.ZodString;
463
+ instruction: z.ZodNullable<z.ZodString>;
464
+ units: z.ZodArray<z.ZodNullable<z.ZodString>>;
465
+ prescribed: z.ZodArray<z.ZodString>;
466
+ performed: z.ZodArray<z.ZodString>;
467
+ }, z.core.$strip>>;
468
+ }, z.core.$strip>>;
469
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
470
+ id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
471
+ date: z.ZodOptional<z.ZodString>;
472
+ workout_title: z.ZodOptional<z.ZodString>;
473
+ program_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
474
+ program_title: z.ZodOptional<z.ZodString>;
475
+ team_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
476
+ team_title: z.ZodOptional<z.ZodString>;
477
+ summarizedSavedWorkout: z.ZodOptional<z.ZodUnknown>;
478
+ }, z.core.$loose>>]>;
479
+ declare const athleteProfileOutputSchema: z.ZodObject<{
480
+ summary: z.ZodObject<{
481
+ reps_sum: z.ZodOptional<z.ZodNumber>;
482
+ volume_sum: z.ZodOptional<z.ZodNumber>;
483
+ sessions_count: z.ZodOptional<z.ZodNumber>;
484
+ first_logged_date: z.ZodOptional<z.ZodString>;
485
+ last_logged_date: z.ZodOptional<z.ZodString>;
486
+ duration_hours: z.ZodOptional<z.ZodNumber>;
487
+ }, z.core.$loose>;
488
+ user: z.ZodObject<{
489
+ id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
490
+ email: z.ZodOptional<z.ZodString>;
491
+ name_first: z.ZodOptional<z.ZodString>;
492
+ name_last: z.ZodOptional<z.ZodString>;
493
+ username: z.ZodOptional<z.ZodString>;
494
+ gender: z.ZodOptional<z.ZodString>;
495
+ date_of_birth: z.ZodOptional<z.ZodString>;
496
+ use_metric: z.ZodOptional<z.ZodBoolean>;
497
+ }, z.core.$loose>;
498
+ }, z.core.$loose>;
499
+ declare const athleteExerciseCatalogOutputSchema: z.ZodArray<z.ZodObject<{
500
+ id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
501
+ title: z.ZodString;
502
+ isCircuit: z.ZodBoolean;
503
+ units: z.ZodArray<z.ZodNullable<z.ZodString>>;
504
+ }, z.core.$strip>>;
505
+ declare const coachAthleteExerciseSchema: z.ZodObject<{
506
+ exerciseId: z.ZodNullable<z.ZodNumber>;
507
+ title: z.ZodString;
508
+ summary: z.ZodNullable<z.ZodString>;
509
+ completed: z.ZodBoolean;
510
+ }, z.core.$strip>;
511
+ type CoachAthleteExercise = z.infer<typeof coachAthleteExerciseSchema>;
512
+ declare const coachAthleteSessionSchema: z.ZodObject<{
513
+ workoutId: z.ZodNullable<z.ZodNumber>;
514
+ savedWorkoutId: z.ZodNullable<z.ZodNumber>;
515
+ title: z.ZodString;
516
+ logged: z.ZodBoolean;
517
+ completed: z.ZodBoolean;
518
+ rpe: z.ZodNullable<z.ZodNumber>;
519
+ durationMin: z.ZodNullable<z.ZodNumber>;
520
+ notes: z.ZodNullable<z.ZodString>;
521
+ exercises: z.ZodArray<z.ZodObject<{
522
+ exerciseId: z.ZodNullable<z.ZodNumber>;
523
+ title: z.ZodString;
524
+ summary: z.ZodNullable<z.ZodString>;
525
+ completed: z.ZodBoolean;
526
+ }, z.core.$strip>>;
527
+ }, z.core.$strip>;
528
+ type CoachAthleteSession = z.infer<typeof coachAthleteSessionSchema>;
529
+ declare const coachAthleteTrainingSchema: z.ZodObject<{
530
+ athleteId: z.ZodNullable<z.ZodNumber>;
531
+ athleteName: z.ZodNullable<z.ZodString>;
532
+ year: z.ZodNumber;
533
+ month: z.ZodNumber;
534
+ sessions: z.ZodArray<z.ZodObject<{
535
+ workoutId: z.ZodNullable<z.ZodNumber>;
536
+ savedWorkoutId: z.ZodNullable<z.ZodNumber>;
537
+ title: z.ZodString;
538
+ logged: z.ZodBoolean;
539
+ completed: z.ZodBoolean;
540
+ rpe: z.ZodNullable<z.ZodNumber>;
541
+ durationMin: z.ZodNullable<z.ZodNumber>;
542
+ notes: z.ZodNullable<z.ZodString>;
543
+ exercises: z.ZodArray<z.ZodObject<{
544
+ exerciseId: z.ZodNullable<z.ZodNumber>;
545
+ title: z.ZodString;
546
+ summary: z.ZodNullable<z.ZodString>;
547
+ completed: z.ZodBoolean;
548
+ }, z.core.$strip>>;
549
+ }, z.core.$strip>>;
550
+ }, z.core.$strip>;
551
+ type CoachAthleteTraining = z.infer<typeof coachAthleteTrainingSchema>;
552
+ declare const coachAthleteTrainingOutputSchema: z.ZodObject<{
553
+ athleteId: z.ZodNullable<z.ZodNumber>;
554
+ athleteName: z.ZodNullable<z.ZodString>;
555
+ year: z.ZodNumber;
556
+ month: z.ZodNumber;
557
+ sessions: z.ZodArray<z.ZodObject<{
558
+ workoutId: z.ZodNullable<z.ZodNumber>;
559
+ savedWorkoutId: z.ZodNullable<z.ZodNumber>;
560
+ title: z.ZodString;
561
+ logged: z.ZodBoolean;
562
+ completed: z.ZodBoolean;
563
+ rpe: z.ZodNullable<z.ZodNumber>;
564
+ durationMin: z.ZodNullable<z.ZodNumber>;
565
+ notes: z.ZodNullable<z.ZodString>;
566
+ exercises: z.ZodArray<z.ZodObject<{
567
+ exerciseId: z.ZodNullable<z.ZodNumber>;
568
+ title: z.ZodString;
569
+ summary: z.ZodNullable<z.ZodString>;
570
+ completed: z.ZodBoolean;
571
+ }, z.core.$strip>>;
572
+ }, z.core.$strip>>;
573
+ }, z.core.$strip>;
574
+ declare const rosterActivityRowSchema: z.ZodObject<{
575
+ athleteId: z.ZodNumber;
576
+ sessionsCount: z.ZodNullable<z.ZodNumber>;
577
+ firstLoggedDate: z.ZodNullable<z.ZodString>;
578
+ lastLoggedDate: z.ZodNullable<z.ZodString>;
579
+ totalReps: z.ZodNullable<z.ZodNumber>;
580
+ totalVolume: z.ZodNullable<z.ZodNumber>;
581
+ }, z.core.$strip>;
582
+ type RosterActivityRow = z.infer<typeof rosterActivityRowSchema>;
583
+ declare const teamVolumeAthleteSchema: z.ZodObject<{
584
+ athleteId: z.ZodNumber;
585
+ name: z.ZodNullable<z.ZodString>;
586
+ sessions: z.ZodNumber;
587
+ reps: z.ZodNumber;
588
+ volume: z.ZodNumber;
589
+ firstLoggedDate: z.ZodNullable<z.ZodString>;
590
+ lastLoggedDate: z.ZodNullable<z.ZodString>;
591
+ }, z.core.$strip>;
592
+ type TeamVolumeAthlete = z.infer<typeof teamVolumeAthleteSchema>;
593
+ declare const teamVolumeReportSchema: z.ZodObject<{
594
+ window: z.ZodObject<{
595
+ start: z.ZodString;
596
+ end: z.ZodString;
597
+ }, z.core.$strip>;
598
+ athletes: z.ZodArray<z.ZodObject<{
599
+ athleteId: z.ZodNumber;
600
+ name: z.ZodNullable<z.ZodString>;
601
+ sessions: z.ZodNumber;
602
+ reps: z.ZodNumber;
603
+ volume: z.ZodNumber;
604
+ firstLoggedDate: z.ZodNullable<z.ZodString>;
605
+ lastLoggedDate: z.ZodNullable<z.ZodString>;
606
+ }, z.core.$strip>>;
607
+ totals: z.ZodObject<{
608
+ athletes: z.ZodNumber;
609
+ sessions: z.ZodNumber;
610
+ reps: z.ZodNumber;
611
+ volume: z.ZodNumber;
612
+ }, z.core.$strip>;
613
+ }, z.core.$strip>;
614
+ type TeamVolumeReport = z.infer<typeof teamVolumeReportSchema>;
615
+ declare const teamVolumeOutputSchema: z.ZodObject<{
616
+ window: z.ZodObject<{
617
+ start: z.ZodString;
618
+ end: z.ZodString;
619
+ }, z.core.$strip>;
620
+ athletes: z.ZodArray<z.ZodObject<{
621
+ athleteId: z.ZodNumber;
622
+ name: z.ZodNullable<z.ZodString>;
623
+ sessions: z.ZodNumber;
624
+ reps: z.ZodNumber;
625
+ volume: z.ZodNumber;
626
+ firstLoggedDate: z.ZodNullable<z.ZodString>;
627
+ lastLoggedDate: z.ZodNullable<z.ZodString>;
628
+ }, z.core.$strip>>;
629
+ totals: z.ZodObject<{
630
+ athletes: z.ZodNumber;
631
+ sessions: z.ZodNumber;
632
+ reps: z.ZodNumber;
633
+ volume: z.ZodNumber;
634
+ }, z.core.$strip>;
635
+ }, z.core.$strip>;
636
+ declare const rosterActivityOutputSchema: z.ZodArray<z.ZodObject<{
637
+ athleteId: z.ZodNumber;
638
+ sessionsCount: z.ZodNullable<z.ZodNumber>;
639
+ firstLoggedDate: z.ZodNullable<z.ZodString>;
640
+ lastLoggedDate: z.ZodNullable<z.ZodString>;
641
+ totalReps: z.ZodNullable<z.ZodNumber>;
642
+ totalVolume: z.ZodNullable<z.ZodNumber>;
643
+ }, z.core.$strip>>;
644
+ declare const presentedExerciseSessionSchema: z.ZodObject<{
645
+ date: z.ZodString;
646
+ abr: z.ZodNullable<z.ZodString>;
647
+ estimated1RM: z.ZodNullable<z.ZodNumber>;
648
+ sets: z.ZodArray<z.ZodObject<{
649
+ setNumber: z.ZodNumber;
650
+ value: z.ZodNullable<z.ZodString>;
651
+ }, z.core.$strip>>;
652
+ }, z.core.$strip>;
653
+ type PresentedExerciseSession = z.infer<typeof presentedExerciseSessionSchema>;
654
+ declare const presentedExerciseHistorySchema: z.ZodObject<{
655
+ liftPRs: z.ZodArray<z.ZodObject<{
656
+ description: z.ZodNullable<z.ZodString>;
657
+ reps: z.ZodNullable<z.ZodNumber>;
658
+ weight: z.ZodNullable<z.ZodNumber>;
659
+ units: z.ZodNullable<z.ZodString>;
660
+ date: z.ZodNullable<z.ZodString>;
661
+ }, z.core.$strip>>;
662
+ sessions: z.ZodArray<z.ZodObject<{
663
+ date: z.ZodString;
664
+ abr: z.ZodNullable<z.ZodString>;
665
+ estimated1RM: z.ZodNullable<z.ZodNumber>;
666
+ sets: z.ZodArray<z.ZodObject<{
667
+ setNumber: z.ZodNumber;
668
+ value: z.ZodNullable<z.ZodString>;
669
+ }, z.core.$strip>>;
670
+ }, z.core.$strip>>;
671
+ }, z.core.$strip>;
672
+ type PresentedExerciseHistory = z.infer<typeof presentedExerciseHistorySchema>;
673
+ /** Presented history first so the loose raw detail schema cannot swallow it. */
674
+ declare const exerciseHistoryOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
675
+ liftPRs: z.ZodArray<z.ZodObject<{
676
+ description: z.ZodNullable<z.ZodString>;
677
+ reps: z.ZodNullable<z.ZodNumber>;
678
+ weight: z.ZodNullable<z.ZodNumber>;
679
+ units: z.ZodNullable<z.ZodString>;
680
+ date: z.ZodNullable<z.ZodString>;
681
+ }, z.core.$strip>>;
682
+ sessions: z.ZodArray<z.ZodObject<{
683
+ date: z.ZodString;
684
+ abr: z.ZodNullable<z.ZodString>;
685
+ estimated1RM: z.ZodNullable<z.ZodNumber>;
686
+ sets: z.ZodArray<z.ZodObject<{
687
+ setNumber: z.ZodNumber;
688
+ value: z.ZodNullable<z.ZodString>;
689
+ }, z.core.$strip>>;
690
+ }, z.core.$strip>>;
691
+ }, z.core.$strip>, z.ZodObject<{
692
+ liftPRs: z.ZodOptional<z.ZodArray<z.ZodObject<{
693
+ weight: z.ZodOptional<z.ZodNumber>;
694
+ savedWorkoutSetExerciseId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
695
+ setNumber: z.ZodOptional<z.ZodNumber>;
696
+ dateCompleted: z.ZodOptional<z.ZodString>;
697
+ reps: z.ZodOptional<z.ZodNumber>;
698
+ units: z.ZodOptional<z.ZodString>;
699
+ isMetric: z.ZodOptional<z.ZodBoolean>;
700
+ description: z.ZodOptional<z.ZodString>;
701
+ }, z.core.$loose>>>;
702
+ singleParamPRs: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
703
+ history: z.ZodOptional<z.ZodArray<z.ZodObject<{
704
+ dateCompleted: z.ZodString;
705
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
706
+ isLift: z.ZodOptional<z.ZodBoolean>;
707
+ param1Type: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
708
+ param2Type: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
709
+ savedWorkoutSetExerciseId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
710
+ teamId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
711
+ programWorkoutId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
712
+ abr: z.ZodOptional<z.ZodString>;
713
+ bestEstimated1RM: z.ZodOptional<z.ZodNumber>;
714
+ repMaxes: z.ZodOptional<z.ZodArray<z.ZodObject<{
715
+ reps: z.ZodNumber;
716
+ weight: z.ZodNumber;
717
+ }, z.core.$loose>>>;
718
+ sets: z.ZodOptional<z.ZodArray<z.ZodObject<{
719
+ setNumber: z.ZodNumber;
720
+ formattedValue: z.ZodOptional<z.ZodString>;
721
+ rawValue1: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
722
+ rawValue2: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
723
+ savedWorkoutSetExerciseId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
724
+ }, z.core.$loose>>>;
725
+ }, z.core.$loose>>>;
726
+ }, z.core.$loose>]>;
543
727
  /**
544
728
  * One positional parameter of a set, carrying its unit label and raw value. TrainHeroic stores
545
729
  * each set as two generic slots (`param_1`/`param_2`); the unit tells you what the slot means
@@ -631,14 +815,46 @@ type ExerciseRow = {
631
815
  * (param 1, then param 2). Positional, not semantic: param 2 is not always the load
632
816
  * — some exercises reverse the slots — so the units are not labelled by role.
633
817
  */
634
- type ExerciseView = Omit<ExerciseRow, "param_1_type" | "param_2_type"> & {
635
- units: Array<string | null>;
636
- };
818
+ declare const exerciseViewSchema: z.ZodObject<{
819
+ id: z.ZodNumber;
820
+ title: z.ZodString;
821
+ can_edit: z.ZodNumber;
822
+ user_id: z.ZodNullable<z.ZodNumber>;
823
+ use_count: z.ZodNumber;
824
+ units: z.ZodArray<z.ZodNullable<z.ZodString>>;
825
+ }, z.core.$strip>;
826
+ type ExerciseView = z.infer<typeof exerciseViewSchema>;
827
+ /**
828
+ * Full library object from `exercise_get`: the stored row with param-type codes
829
+ * replaced by positional `units`. Extra API fields are preserved. Search/resolve
830
+ * use the strict `exerciseViewSchema` projection instead.
831
+ */
832
+ declare const exerciseGetOutputSchema: z.ZodObject<{
833
+ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
834
+ title: z.ZodString;
835
+ units: z.ZodArray<z.ZodNullable<z.ZodString>>;
836
+ }, z.core.$loose>;
837
+ type ExerciseGetOutput = z.infer<typeof exerciseGetOutputSchema>;
637
838
  /** The outcome of resolving a name: a single match (or null) plus ranked candidates. */
638
- type ResolveResult = {
639
- match: ExerciseView | null;
640
- candidates: ExerciseView[];
641
- };
839
+ declare const exerciseResolveOutputSchema: z.ZodObject<{
840
+ match: z.ZodNullable<z.ZodObject<{
841
+ id: z.ZodNumber;
842
+ title: z.ZodString;
843
+ can_edit: z.ZodNumber;
844
+ user_id: z.ZodNullable<z.ZodNumber>;
845
+ use_count: z.ZodNumber;
846
+ units: z.ZodArray<z.ZodNullable<z.ZodString>>;
847
+ }, z.core.$strip>>;
848
+ candidates: z.ZodArray<z.ZodObject<{
849
+ id: z.ZodNumber;
850
+ title: z.ZodString;
851
+ can_edit: z.ZodNumber;
852
+ user_id: z.ZodNullable<z.ZodNumber>;
853
+ use_count: z.ZodNumber;
854
+ units: z.ZodArray<z.ZodNullable<z.ZodString>>;
855
+ }, z.core.$strip>>;
856
+ }, z.core.$strip>;
857
+ type ResolveResult = z.infer<typeof exerciseResolveOutputSchema>;
642
858
  /** Body for creating a custom exercise; extra fields the API accepts are preserved. */
643
859
  declare const exerciseCreateSchema: z.ZodObject<{
644
860
  title: z.ZodString;
@@ -717,6 +933,285 @@ declare const teamPublishPatchSchema: z.ZodObject<{
717
933
  }, z.core.$strip>;
718
934
  type TeamPublishPatch = z.infer<typeof teamPublishPatchSchema>;
719
935
  //#endregion
936
+ //#region src/tool-output.d.ts
937
+ declare const truncationMarkerSchema: z.ZodObject<{
938
+ field: z.ZodOptional<z.ZodString>;
939
+ returned: z.ZodOptional<z.ZodNumber>;
940
+ total: z.ZodNumber;
941
+ omitted: z.ZodNumber;
942
+ hint: z.ZodString;
943
+ }, z.core.$loose>;
944
+ /** Dedicated budget-fallback envelope. Never the natural tool shape. */
945
+ declare const truncatedOutputSchema: z.ZodObject<{
946
+ preview: z.ZodOptional<z.ZodString>;
947
+ items: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
948
+ __truncated: z.ZodObject<{
949
+ field: z.ZodOptional<z.ZodString>;
950
+ returned: z.ZodOptional<z.ZodNumber>;
951
+ total: z.ZodNumber;
952
+ omitted: z.ZodNumber;
953
+ hint: z.ZodString;
954
+ }, z.core.$loose>;
955
+ }, z.core.$loose>;
956
+ /**
957
+ * Add the shared size-budget fallback to a tool's natural result shape.
958
+ * Truncation is a dedicated `{ items|preview, __truncated }` envelope, so it cannot
959
+ * validate as the natural object and drop the marker.
960
+ */
961
+ declare function toolOutputSchema<T extends z.ZodType>(schema: T): z.ZodUnion<readonly [z.ZodObject<{
962
+ preview: z.ZodOptional<z.ZodString>;
963
+ items: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
964
+ __truncated: z.ZodObject<{
965
+ field: z.ZodOptional<z.ZodString>;
966
+ returned: z.ZodOptional<z.ZodNumber>;
967
+ total: z.ZodNumber;
968
+ omitted: z.ZodNumber;
969
+ hint: z.ZodString;
970
+ }, z.core.$loose>;
971
+ }, z.core.$loose>, T]>;
972
+ declare const opaqueJsonOutputSchema: z.ZodJSONSchema;
973
+ /** Explicit passthrough for tools whose live API payload is not yet contracted. */
974
+ declare const opaqueOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
975
+ preview: z.ZodOptional<z.ZodString>;
976
+ items: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
977
+ __truncated: z.ZodObject<{
978
+ field: z.ZodOptional<z.ZodString>;
979
+ returned: z.ZodOptional<z.ZodNumber>;
980
+ total: z.ZodNumber;
981
+ omitted: z.ZodNumber;
982
+ hint: z.ZodString;
983
+ }, z.core.$loose>;
984
+ }, z.core.$loose>, z.ZodJSONSchema]>;
985
+ declare const logTargetsOutputSchema: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
986
+ date: z.ZodString;
987
+ workoutTitle: z.ZodString;
988
+ program: z.ZodNullable<z.ZodString>;
989
+ programId: z.ZodNullable<z.ZodNumber>;
990
+ team: z.ZodNullable<z.ZodString>;
991
+ teamId: z.ZodNullable<z.ZodNumber>;
992
+ savedWorkoutSetId: z.ZodNumber;
993
+ setTitle: z.ZodNullable<z.ZodString>;
994
+ exercises: z.ZodArray<z.ZodObject<{
995
+ savedWorkoutSetExerciseId: z.ZodNumber;
996
+ title: z.ZodString;
997
+ units: z.ZodArray<z.ZodNullable<z.ZodString>>;
998
+ prescribed: z.ZodArray<z.ZodString>;
999
+ performed: z.ZodArray<z.ZodString>;
1000
+ }, z.core.$strip>>;
1001
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
1002
+ id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1003
+ date: z.ZodOptional<z.ZodString>;
1004
+ workout_title: z.ZodOptional<z.ZodString>;
1005
+ program_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
1006
+ program_title: z.ZodOptional<z.ZodString>;
1007
+ team_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
1008
+ team_title: z.ZodOptional<z.ZodString>;
1009
+ summarizedSavedWorkout: z.ZodOptional<z.ZodUnknown>;
1010
+ }, z.core.$loose>>]>;
1011
+ declare const messageDraftOutputSchema: z.ZodObject<{
1012
+ draft: z.ZodLiteral<true>;
1013
+ note: z.ZodString;
1014
+ would_POST: z.ZodString;
1015
+ payload: z.ZodJSONSchema;
1016
+ }, z.core.$strip>;
1017
+ declare const feedbackOutputSchema: z.ZodObject<{
1018
+ status: z.ZodEnum<{
1019
+ logged: "logged";
1020
+ sent: "sent";
1021
+ }>;
1022
+ reference: z.ZodOptional<z.ZodString>;
1023
+ note: z.ZodString;
1024
+ }, z.core.$loose>;
1025
+ declare const removedSessionOutputSchema: z.ZodObject<{
1026
+ removed: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
1027
+ }, z.core.$loose>;
1028
+ declare const athleteSessionRemovedOutputSchema: z.ZodObject<{
1029
+ removed: z.ZodLiteral<true>;
1030
+ programWorkoutId: z.ZodNumber;
1031
+ date: z.ZodString;
1032
+ }, z.core.$strip>;
1033
+ declare const athleteInviteOutputSchema: z.ZodObject<{
1034
+ invited: z.ZodLiteral<true>;
1035
+ teamId: z.ZodNumber;
1036
+ result: z.ZodOptional<z.ZodJSONSchema>;
1037
+ }, z.core.$strip>;
1038
+ declare const setLogOutputSchema: z.ZodObject<{
1039
+ savedWorkoutSetId: z.ZodNumber;
1040
+ exercisesLogged: z.ZodNumber;
1041
+ setCompleted: z.ZodBoolean;
1042
+ }, z.core.$strip>;
1043
+ declare const setPrescriptionOutputSchema: z.ZodObject<{
1044
+ savedWorkoutSetId: z.ZodNumber;
1045
+ exercisesPrescribed: z.ZodNumber;
1046
+ }, z.core.$strip>;
1047
+ declare const exerciseSwapOutputSchema: z.ZodObject<{
1048
+ savedWorkoutSetExerciseId: z.ZodNumber;
1049
+ athleteId: z.ZodNullable<z.ZodNumber>;
1050
+ newExerciseId: z.ZodNumber;
1051
+ newExerciseTitle: z.ZodNullable<z.ZodString>;
1052
+ originalTeamExerciseId: z.ZodNullable<z.ZodNumber>;
1053
+ }, z.core.$strip>;
1054
+ declare const sessionLogOutputSchema: z.ZodObject<{
1055
+ date: z.ZodString;
1056
+ created: z.ZodBoolean;
1057
+ sets: z.ZodArray<z.ZodObject<{
1058
+ savedWorkoutSetId: z.ZodNumber;
1059
+ exercisesLogged: z.ZodNumber;
1060
+ }, z.core.$strip>>;
1061
+ scheduledAlternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
1062
+ exerciseId: z.ZodNumber;
1063
+ title: z.ZodString;
1064
+ program: z.ZodNullable<z.ZodString>;
1065
+ workoutTitle: z.ZodString;
1066
+ savedWorkoutSetId: z.ZodNumber;
1067
+ savedWorkoutSetExerciseId: z.ZodNumber;
1068
+ }, z.core.$strip>>>;
1069
+ }, z.core.$strip>;
1070
+ declare const personalWorkoutCreatedOutputSchema: z.ZodObject<{
1071
+ programWorkoutId: z.ZodNumber;
1072
+ workoutId: z.ZodNumber;
1073
+ savedWorkoutId: z.ZodNumber;
1074
+ groupId: z.ZodNumber;
1075
+ date: z.ZodString;
1076
+ }, z.core.$strip>;
1077
+ declare const workoutReadOutputSchema: z.ZodObject<{
1078
+ pwId: z.ZodNumber;
1079
+ date: z.ZodString;
1080
+ published: z.ZodOptional<z.ZodJSONSchema>;
1081
+ instruction: z.ZodString;
1082
+ blocks: z.ZodArray<z.ZodObject<{
1083
+ order: z.ZodNumber;
1084
+ title: z.ZodString;
1085
+ instruction: z.ZodString;
1086
+ leaderboard: z.ZodNullable<z.ZodString>;
1087
+ exercises: z.ZodArray<z.ZodObject<{
1088
+ order: z.ZodNumber;
1089
+ title: z.ZodString;
1090
+ reps: z.ZodArray<z.ZodString>;
1091
+ primaryUnit: z.ZodNullable<z.ZodString>;
1092
+ load: z.ZodArray<z.ZodString>;
1093
+ loadUnit: z.ZodNullable<z.ZodString>;
1094
+ instruction: z.ZodString;
1095
+ }, z.core.$strip>>;
1096
+ }, z.core.$strip>>;
1097
+ }, z.core.$strip>;
1098
+ declare const workoutBuildOutputSchema: z.ZodObject<{
1099
+ pwId: z.ZodNumber;
1100
+ workoutId: z.ZodNumber;
1101
+ programId: z.ZodNumber;
1102
+ published: z.ZodLiteral<false>;
1103
+ advisories: z.ZodObject<{
1104
+ notes: z.ZodArray<z.ZodString>;
1105
+ warnings: z.ZodArray<z.ZodString>;
1106
+ }, z.core.$strip>;
1107
+ readback: z.ZodNullable<z.ZodObject<{
1108
+ pwId: z.ZodNumber;
1109
+ date: z.ZodString;
1110
+ published: z.ZodOptional<z.ZodJSONSchema>;
1111
+ instruction: z.ZodString;
1112
+ blocks: z.ZodArray<z.ZodObject<{
1113
+ order: z.ZodNumber;
1114
+ title: z.ZodString;
1115
+ instruction: z.ZodString;
1116
+ leaderboard: z.ZodNullable<z.ZodString>;
1117
+ exercises: z.ZodArray<z.ZodObject<{
1118
+ order: z.ZodNumber;
1119
+ title: z.ZodString;
1120
+ reps: z.ZodArray<z.ZodString>;
1121
+ primaryUnit: z.ZodNullable<z.ZodString>;
1122
+ load: z.ZodArray<z.ZodString>;
1123
+ loadUnit: z.ZodNullable<z.ZodString>;
1124
+ instruction: z.ZodString;
1125
+ }, z.core.$strip>>;
1126
+ }, z.core.$strip>>;
1127
+ }, z.core.$strip>>;
1128
+ note: z.ZodString;
1129
+ }, z.core.$strip>;
1130
+ declare const workoutPublishOutputSchema: z.ZodObject<{
1131
+ published: z.ZodNumber;
1132
+ readback: z.ZodObject<{
1133
+ pwId: z.ZodNumber;
1134
+ date: z.ZodString;
1135
+ published: z.ZodOptional<z.ZodJSONSchema>;
1136
+ instruction: z.ZodString;
1137
+ blocks: z.ZodArray<z.ZodObject<{
1138
+ order: z.ZodNumber;
1139
+ title: z.ZodString;
1140
+ instruction: z.ZodString;
1141
+ leaderboard: z.ZodNullable<z.ZodString>;
1142
+ exercises: z.ZodArray<z.ZodObject<{
1143
+ order: z.ZodNumber;
1144
+ title: z.ZodString;
1145
+ reps: z.ZodArray<z.ZodString>;
1146
+ primaryUnit: z.ZodNullable<z.ZodString>;
1147
+ load: z.ZodArray<z.ZodString>;
1148
+ loadUnit: z.ZodNullable<z.ZodString>;
1149
+ instruction: z.ZodString;
1150
+ }, z.core.$strip>>;
1151
+ }, z.core.$strip>>;
1152
+ }, z.core.$strip>;
1153
+ note: z.ZodString;
1154
+ }, z.core.$strip>;
1155
+ declare const messageSentOutputSchema: z.ZodObject<{
1156
+ sent: z.ZodLiteral<true>;
1157
+ comment: z.ZodJSONSchema;
1158
+ }, z.core.$strip>;
1159
+ declare const messageDeletedOutputSchema: z.ZodObject<{
1160
+ deleted: z.ZodLiteral<true>;
1161
+ response: z.ZodOptional<z.ZodJSONSchema>;
1162
+ }, z.core.$strip>;
1163
+ declare const exerciseDeletedOutputSchema: z.ZodObject<{
1164
+ deleted: z.ZodNumber;
1165
+ }, z.core.$strip>;
1166
+ declare const exerciseForgottenOutputSchema: z.ZodObject<{
1167
+ forgotten: z.ZodNumber;
1168
+ }, z.core.$strip>;
1169
+ declare const exerciseCreatedOutputSchema: z.ZodObject<{
1170
+ id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1171
+ title: z.ZodString;
1172
+ param_1_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
1173
+ param_2_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodNull]>>;
1174
+ }, z.core.$loose>;
1175
+ declare const sessionTemplateCreatedOutputSchema: z.ZodObject<{
1176
+ id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1177
+ }, z.core.$loose>;
1178
+ declare const athleteMainLiftPrsOutputSchema: z.ZodObject<{
1179
+ athleteId: z.ZodNumber;
1180
+ athleteName: z.ZodNullable<z.ZodString>;
1181
+ prs: z.ZodArray<z.ZodObject<{
1182
+ family: z.ZodEnum<{
1183
+ bench: "bench";
1184
+ cleanjerk: "cleanjerk";
1185
+ deadlift: "deadlift";
1186
+ overhead: "overhead";
1187
+ snatch: "snatch";
1188
+ squat: "squat";
1189
+ }>;
1190
+ label: z.ZodString;
1191
+ exerciseId: z.ZodNullable<z.ZodNumber>;
1192
+ title: z.ZodNullable<z.ZodString>;
1193
+ weight: z.ZodNullable<z.ZodNumber>;
1194
+ reps: z.ZodNullable<z.ZodNumber>;
1195
+ units: z.ZodNullable<z.ZodString>;
1196
+ date: z.ZodNullable<z.ZodString>;
1197
+ }, z.core.$strip>>;
1198
+ }, z.core.$strip>;
1199
+ declare const programCreatedOutputSchema: z.ZodObject<{
1200
+ containerId: z.ZodNumber;
1201
+ programId: z.ZodNumber;
1202
+ title: z.ZodString;
1203
+ kind: z.ZodEnum<{
1204
+ calendar: "calendar";
1205
+ fixed: "fixed";
1206
+ }>;
1207
+ requestedName: z.ZodString;
1208
+ nameApplied: z.ZodBoolean;
1209
+ }, z.core.$strip>;
1210
+ declare const programDeletedOutputSchema: z.ZodObject<{
1211
+ programId: z.ZodNumber;
1212
+ containerId: z.ZodNullable<z.ZodNumber>;
1213
+ }, z.core.$strip>;
1214
+ //#endregion
720
1215
  //#region src/workout.d.ts
721
1216
  /** A single exercise prescription inside a block. */
722
1217
  declare const exerciseSpecSchema: z.ZodObject<{
@@ -841,4 +1336,4 @@ declare const sessionTemplateCreateSchema: z.ZodObject<{
841
1336
  }, z.core.$strip>;
842
1337
  type SessionTemplateCreate = z.infer<typeof sessionTemplateCreateSchema>;
843
1338
  //#endregion
844
- export { Advisory, AthletePrefs, AthletePrescribeSetArgs, AthleteProfileSummary, AthleteSessionRemoveArgs, AthleteUser, AthleteWorkingMax, AthleteWorkoutBlock, AthleteWorkoutExercise, AthleteWorkoutRangeArgs, AthleteWorkoutSummary, AthleteWorkoutView, BlockSpec, CoachAthleteExercise, CoachAthleteSession, CoachAthleteTraining, CoachLogSessionArgs, CoachLogSetArgs, CoachPrescribeSetArgs, CommentDraft, ExerciseCreate, ExerciseHistoryDetail, ExerciseHistoryListItem, ExerciseRow, ExerciseSpec, ExerciseStats, ExerciseView, ExportBlock, ExportExercise, ExportSet, ExportSetParam, ExportSetSide, Id, LeaderboardSpec, LogSessionArgs, LogSetArgs, PersonalRecord, PresentedExerciseHistory, PresentedExerciseSession, ProgramWorkout, ReadBlock, ReadExercise, ReadResult, ResolveResult, RosterActivityRow, SessionTemplateCreate, SwapAthleteExerciseArgs, TeamPublishPatch, TeamVolumeAthlete, TeamVolumeReport, UserSimple, WorkoutDate, WorkoutHistoryExport, WorkoutSpec, athletePrefsSchema, athletePrescribeSetArgsSchema, athleteProfileSummarySchema, athleteSessionRemoveArgsSchema, athleteUserSchema, athleteWorkingMaxListSchema, athleteWorkingMaxSchema, athleteWorkoutRangeArgsSchema, blockSpecSchema, coachLogSessionArgsSchema, coachLogSetArgsSchema, coachPrescribeSetArgsSchema, commentDraftSchema, dateString, exerciseCreateSchema, exerciseHistoryDetailSchema, exerciseHistoryListItemSchema, exerciseHistoryListSchema, exerciseLibraryResponseSchema, exerciseResponseSchema, exerciseSpecSchema, exerciseStatsSchema, historyEntrySchema, historySetSchema, idArgSchema, idSchema, leaderboardSpecSchema, liftPRSchema, logSessionArgsSchema, logSetArgsSchema, loggedSetSchema, loggedSetWithSlotSchema, parseWorkoutDate, personalRecordListSchema, personalRecordSchema, programCreateResponseSchema, programWorkoutListSchema, programWorkoutResponseSchema, programWorkoutSchema, programsEditResponseSchema, repMaxSchema, sessionCreateResponseSchema, sessionTemplateCreateSchema, swapAthleteExerciseArgsSchema, teamPublishPatchObject, teamPublishPatchSchema, userSimpleSchema, workoutSpecSchema };
1339
+ export { Advisory, AthletePrefs, AthletePrescribeSetArgs, AthleteProfileSummary, AthleteSessionRemoveArgs, AthleteUser, AthleteWorkingMax, AthleteWorkoutBlock, AthleteWorkoutExercise, AthleteWorkoutRangeArgs, AthleteWorkoutSummary, AthleteWorkoutView, BlockSpec, CoachAthleteExercise, CoachAthleteSession, CoachAthleteTraining, CoachLogSessionArgs, CoachLogSetArgs, CoachPrescribeSetArgs, CommentDraft, ExerciseCreate, ExerciseGetOutput, ExerciseHistoryDetail, ExerciseHistoryListItem, ExerciseRow, ExerciseSpec, ExerciseStats, ExerciseView, ExportBlock, ExportExercise, ExportSet, ExportSetParam, ExportSetSide, Id, LeaderboardSpec, LogSessionArgs, LogSetArgs, PersonalRecord, PresentedExerciseHistory, PresentedExerciseSession, ProgramWorkout, ReadBlock, ReadExercise, ReadResult, ResolveResult, RosterActivityRow, SessionTemplateCreate, SwapAthleteExerciseArgs, TeamPublishPatch, TeamVolumeAthlete, TeamVolumeReport, UserSimple, WorkoutDate, WorkoutHistoryExport, WorkoutSpec, athleteExerciseCatalogOutputSchema, athleteInviteOutputSchema, athleteMainLiftPrsOutputSchema, athletePrefsSchema, athletePrescribeSetArgsSchema, athleteProfileOutputSchema, athleteProfileSummarySchema, athleteSessionRemoveArgsSchema, athleteSessionRemovedOutputSchema, athleteUserSchema, athleteWorkingMaxListSchema, athleteWorkingMaxSchema, athleteWorkoutBlockSchema, athleteWorkoutExerciseSchema, athleteWorkoutRangeArgsSchema, athleteWorkoutSummarySchema, athleteWorkoutViewSchema, athleteWorkoutsOutputSchema, blockSpecSchema, coachAthleteExerciseSchema, coachAthleteSessionSchema, coachAthleteTrainingOutputSchema, coachAthleteTrainingSchema, coachLogSessionArgsSchema, coachLogSetArgsSchema, coachPrescribeSetArgsSchema, commentDraftSchema, dateString, exerciseCreateSchema, exerciseCreatedOutputSchema, exerciseDeletedOutputSchema, exerciseForgottenOutputSchema, exerciseGetOutputSchema, exerciseHistoryDetailSchema, exerciseHistoryListItemSchema, exerciseHistoryListSchema, exerciseHistoryOutputSchema, exerciseLibraryResponseSchema, exerciseResolveOutputSchema, exerciseResponseSchema, exerciseSpecSchema, exerciseStatsSchema, exerciseSwapOutputSchema, exerciseViewSchema, feedbackOutputSchema, historyEntrySchema, historySetSchema, idArgSchema, idSchema, leaderboardSpecSchema, liftPRSchema, logSessionArgsSchema, logSetArgsSchema, logTargetsOutputSchema, loggedSetSchema, loggedSetWithSlotSchema, messageDeletedOutputSchema, messageDraftOutputSchema, messageSentOutputSchema, opaqueJsonOutputSchema, opaqueOutputSchema, parseWorkoutDate, personalRecordListSchema, personalRecordSchema, personalWorkoutCreatedOutputSchema, presentedExerciseHistorySchema, presentedExerciseSessionSchema, programCreateResponseSchema, programCreatedOutputSchema, programDeletedOutputSchema, programWorkoutListSchema, programWorkoutResponseSchema, programWorkoutSchema, programsEditResponseSchema, removedSessionOutputSchema, repMaxSchema, rosterActivityOutputSchema, rosterActivityRowSchema, sessionCreateResponseSchema, sessionLogOutputSchema, sessionTemplateCreateSchema, sessionTemplateCreatedOutputSchema, setLogOutputSchema, setPrescriptionOutputSchema, swapAthleteExerciseArgsSchema, teamPublishPatchObject, teamPublishPatchSchema, teamVolumeAthleteSchema, teamVolumeOutputSchema, teamVolumeReportSchema, toolOutputSchema, truncatedOutputSchema, truncationMarkerSchema, userSimpleSchema, workoutBuildOutputSchema, workoutPublishOutputSchema, workoutReadOutputSchema, workoutSpecSchema };
package/dist/index.mjs CHANGED
@@ -264,8 +264,171 @@ const athleteSessionRemoveArgsSchema = z.object({
264
264
  programWorkoutId: idArgSchema,
265
265
  date: dateString
266
266
  });
267
+ const presentedNullNumber = z.number().nullable();
268
+ const presentedNullString = z.string().nullable();
269
+ /** Flattened exercise within a presented workout: prescriptions, logged results, units. */
270
+ const athleteWorkoutExerciseSchema = z.object({
271
+ exerciseId: presentedNullNumber,
272
+ title: z.string(),
273
+ instruction: presentedNullString,
274
+ units: z.array(presentedNullString),
275
+ prescribed: z.array(z.string()),
276
+ performed: z.array(z.string())
277
+ });
278
+ const athleteWorkoutBlockSchema = z.object({
279
+ order: z.number(),
280
+ title: presentedNullString,
281
+ instruction: presentedNullString,
282
+ isTest: z.boolean(),
283
+ exercises: z.array(athleteWorkoutExerciseSchema)
284
+ });
285
+ const athleteWorkoutViewSchema = z.object({
286
+ id: presentedNullNumber,
287
+ date: z.string(),
288
+ title: z.string(),
289
+ program: presentedNullString,
290
+ team: presentedNullString,
291
+ instruction: presentedNullString,
292
+ logged: z.boolean(),
293
+ personal: z.boolean(),
294
+ blocks: z.array(athleteWorkoutBlockSchema)
295
+ });
296
+ const athleteWorkoutSummarySchema = z.object({
297
+ id: presentedNullNumber,
298
+ date: z.string(),
299
+ title: z.string(),
300
+ program: presentedNullString,
301
+ team: presentedNullString,
302
+ logged: z.boolean(),
303
+ personal: z.boolean(),
304
+ exerciseCount: z.number().int().nonnegative(),
305
+ performedCount: z.number().int().nonnegative()
306
+ });
307
+ /** Presented views first so a summary/detail row cannot be swallowed by the loose raw list. */
308
+ const athleteWorkoutsOutputSchema = z.union([
309
+ z.array(athleteWorkoutSummarySchema),
310
+ z.array(athleteWorkoutViewSchema),
311
+ programWorkoutListSchema
312
+ ]);
313
+ const athleteProfileOutputSchema = z.looseObject({
314
+ summary: athleteProfileSummarySchema,
315
+ user: athleteUserSchema
316
+ });
317
+ const athleteExerciseCatalogOutputSchema = z.array(z.object({
318
+ id: z.union([z.number(), z.string()]),
319
+ title: z.string(),
320
+ isCircuit: z.boolean(),
321
+ units: z.array(presentedNullString)
322
+ }));
323
+ const coachAthleteExerciseSchema = z.object({
324
+ exerciseId: presentedNullNumber,
325
+ title: z.string(),
326
+ summary: presentedNullString,
327
+ completed: z.boolean()
328
+ });
329
+ const coachAthleteSessionSchema = z.object({
330
+ workoutId: presentedNullNumber,
331
+ savedWorkoutId: presentedNullNumber,
332
+ title: z.string(),
333
+ logged: z.boolean(),
334
+ completed: z.boolean(),
335
+ rpe: presentedNullNumber,
336
+ durationMin: presentedNullNumber,
337
+ notes: presentedNullString,
338
+ exercises: z.array(coachAthleteExerciseSchema)
339
+ });
340
+ const coachAthleteTrainingSchema = z.object({
341
+ athleteId: presentedNullNumber,
342
+ athleteName: presentedNullString,
343
+ year: z.number().int(),
344
+ month: z.number().int(),
345
+ sessions: z.array(coachAthleteSessionSchema)
346
+ });
347
+ const coachAthleteTrainingOutputSchema = coachAthleteTrainingSchema;
348
+ const rosterActivityRowSchema = z.object({
349
+ athleteId: z.number(),
350
+ sessionsCount: presentedNullNumber,
351
+ firstLoggedDate: presentedNullString,
352
+ lastLoggedDate: presentedNullString,
353
+ totalReps: presentedNullNumber,
354
+ totalVolume: presentedNullNumber
355
+ });
356
+ const teamVolumeAthleteSchema = z.object({
357
+ athleteId: z.number(),
358
+ name: presentedNullString,
359
+ sessions: z.number(),
360
+ reps: z.number(),
361
+ volume: z.number(),
362
+ firstLoggedDate: presentedNullString,
363
+ lastLoggedDate: presentedNullString
364
+ });
365
+ const teamVolumeReportSchema = z.object({
366
+ window: z.object({
367
+ start: z.string(),
368
+ end: z.string()
369
+ }),
370
+ athletes: z.array(teamVolumeAthleteSchema),
371
+ totals: z.object({
372
+ athletes: z.number(),
373
+ sessions: z.number(),
374
+ reps: z.number(),
375
+ volume: z.number()
376
+ })
377
+ });
378
+ const teamVolumeOutputSchema = teamVolumeReportSchema;
379
+ const rosterActivityOutputSchema = z.array(rosterActivityRowSchema);
380
+ const presentedExerciseSessionSchema = z.object({
381
+ date: z.string(),
382
+ abr: presentedNullString,
383
+ estimated1RM: presentedNullNumber,
384
+ sets: z.array(z.object({
385
+ setNumber: z.number(),
386
+ value: presentedNullString
387
+ }))
388
+ });
389
+ const presentedExerciseHistorySchema = z.object({
390
+ liftPRs: z.array(z.object({
391
+ description: presentedNullString,
392
+ reps: presentedNullNumber,
393
+ weight: presentedNullNumber,
394
+ units: presentedNullString,
395
+ date: presentedNullString
396
+ })),
397
+ sessions: z.array(presentedExerciseSessionSchema)
398
+ });
399
+ /** Presented history first so the loose raw detail schema cannot swallow it. */
400
+ const exerciseHistoryOutputSchema = z.union([presentedExerciseHistorySchema, exerciseHistoryDetailSchema]);
267
401
  //#endregion
268
402
  //#region src/exercise.ts
403
+ /**
404
+ * A row presented for display. The raw param-type codes are dropped and the fixed
405
+ * measurement units are surfaced positionally in `units`, ordered by entry slot
406
+ * (param 1, then param 2). Positional, not semantic: param 2 is not always the load
407
+ * — some exercises reverse the slots — so the units are not labelled by role.
408
+ */
409
+ const exerciseViewSchema = z.object({
410
+ id: z.number(),
411
+ title: z.string(),
412
+ can_edit: z.number(),
413
+ user_id: z.number().nullable(),
414
+ use_count: z.number(),
415
+ units: z.array(z.string().nullable())
416
+ });
417
+ /**
418
+ * Full library object from `exercise_get`: the stored row with param-type codes
419
+ * replaced by positional `units`. Extra API fields are preserved. Search/resolve
420
+ * use the strict `exerciseViewSchema` projection instead.
421
+ */
422
+ const exerciseGetOutputSchema = z.looseObject({
423
+ id: idSchema,
424
+ title: z.string(),
425
+ units: z.array(z.string().nullable())
426
+ });
427
+ /** The outcome of resolving a name: a single match (or null) plus ranked candidates. */
428
+ const exerciseResolveOutputSchema = z.object({
429
+ match: exerciseViewSchema.nullable(),
430
+ candidates: z.array(exerciseViewSchema)
431
+ });
269
432
  /** Body for creating a custom exercise; extra fields the API accepts are preserved. */
270
433
  const exerciseCreateSchema = z.looseObject({
271
434
  title: z.string().min(1),
@@ -332,6 +495,200 @@ const teamPublishPatchObject = z.object({
332
495
  });
333
496
  const teamPublishPatchSchema = teamPublishPatchObject.refine((v) => v.pub_enabled !== void 0 || v.pub_days !== void 0 || v.pub_time !== void 0 || v.pub_timezone !== void 0, { message: "Provide at least one pub_* field" });
334
497
  //#endregion
498
+ //#region src/tool-output.ts
499
+ const nullableNumber = z.number().nullable();
500
+ const nullableString = z.string().nullable();
501
+ const truncationMarkerSchema = z.looseObject({
502
+ field: z.string().optional(),
503
+ returned: z.number().int().nonnegative().optional(),
504
+ total: z.number().int().nonnegative(),
505
+ omitted: z.number().int().nonnegative(),
506
+ hint: z.string()
507
+ });
508
+ /** Dedicated budget-fallback envelope. Never the natural tool shape. */
509
+ const truncatedOutputSchema = z.looseObject({
510
+ preview: z.string().optional(),
511
+ items: z.array(z.json()).optional(),
512
+ __truncated: truncationMarkerSchema
513
+ });
514
+ /**
515
+ * Add the shared size-budget fallback to a tool's natural result shape.
516
+ * Truncation is a dedicated `{ items|preview, __truncated }` envelope, so it cannot
517
+ * validate as the natural object and drop the marker.
518
+ */
519
+ function toolOutputSchema(schema) {
520
+ return z.union([truncatedOutputSchema, schema]);
521
+ }
522
+ const opaqueJsonOutputSchema = z.json();
523
+ /** Explicit passthrough for tools whose live API payload is not yet contracted. */
524
+ const opaqueOutputSchema = toolOutputSchema(opaqueJsonOutputSchema);
525
+ const logSetTargetOutputSchema = z.object({
526
+ date: z.string(),
527
+ workoutTitle: z.string(),
528
+ program: nullableString,
529
+ programId: nullableNumber,
530
+ team: nullableString,
531
+ teamId: nullableNumber,
532
+ savedWorkoutSetId: z.number(),
533
+ setTitle: nullableString,
534
+ exercises: z.array(z.object({
535
+ savedWorkoutSetExerciseId: z.number(),
536
+ title: z.string(),
537
+ units: z.array(nullableString),
538
+ prescribed: z.array(z.string()),
539
+ performed: z.array(z.string())
540
+ }))
541
+ });
542
+ const logTargetsOutputSchema = z.union([z.array(logSetTargetOutputSchema), programWorkoutListSchema]);
543
+ const messageDraftOutputSchema = z.object({
544
+ draft: z.literal(true),
545
+ note: z.string(),
546
+ would_POST: z.string(),
547
+ payload: z.json()
548
+ });
549
+ const feedbackOutputSchema = z.looseObject({
550
+ status: z.enum(["sent", "logged"]),
551
+ reference: z.string().optional(),
552
+ note: z.string()
553
+ });
554
+ const removedSessionOutputSchema = z.looseObject({ removed: z.union([z.boolean(), z.number()]) });
555
+ const athleteSessionRemovedOutputSchema = z.object({
556
+ removed: z.literal(true),
557
+ programWorkoutId: z.number(),
558
+ date: z.string()
559
+ });
560
+ const athleteInviteOutputSchema = z.object({
561
+ invited: z.literal(true),
562
+ teamId: z.number(),
563
+ result: z.json().optional()
564
+ });
565
+ const setLogOutputSchema = z.object({
566
+ savedWorkoutSetId: z.number(),
567
+ exercisesLogged: z.number().int().nonnegative(),
568
+ setCompleted: z.boolean()
569
+ });
570
+ const setPrescriptionOutputSchema = z.object({
571
+ savedWorkoutSetId: z.number(),
572
+ exercisesPrescribed: z.number().int().nonnegative()
573
+ });
574
+ const exerciseSwapOutputSchema = z.object({
575
+ savedWorkoutSetExerciseId: z.number(),
576
+ athleteId: nullableNumber,
577
+ newExerciseId: z.number(),
578
+ newExerciseTitle: nullableString,
579
+ originalTeamExerciseId: nullableNumber
580
+ });
581
+ const sessionLogSetOutputSchema = z.object({
582
+ savedWorkoutSetId: z.number(),
583
+ exercisesLogged: z.number().int().nonnegative()
584
+ });
585
+ const sessionLogOutputSchema = z.object({
586
+ date: z.string(),
587
+ created: z.boolean(),
588
+ sets: z.array(sessionLogSetOutputSchema),
589
+ scheduledAlternatives: z.array(z.object({
590
+ exerciseId: z.number(),
591
+ title: z.string(),
592
+ program: nullableString,
593
+ workoutTitle: z.string(),
594
+ savedWorkoutSetId: z.number(),
595
+ savedWorkoutSetExerciseId: z.number()
596
+ })).optional()
597
+ });
598
+ const personalWorkoutCreatedOutputSchema = z.object({
599
+ programWorkoutId: z.number(),
600
+ workoutId: z.number(),
601
+ savedWorkoutId: z.number(),
602
+ groupId: z.number(),
603
+ date: z.string()
604
+ });
605
+ const workoutReadExerciseOutputSchema = z.object({
606
+ order: z.number(),
607
+ title: z.string(),
608
+ reps: z.array(z.string()),
609
+ primaryUnit: nullableString,
610
+ load: z.array(z.string()),
611
+ loadUnit: nullableString,
612
+ instruction: z.string()
613
+ });
614
+ const workoutReadBlockOutputSchema = z.object({
615
+ order: z.number(),
616
+ title: z.string(),
617
+ instruction: z.string(),
618
+ leaderboard: nullableString,
619
+ exercises: z.array(workoutReadExerciseOutputSchema)
620
+ });
621
+ const workoutReadOutputSchema = z.object({
622
+ pwId: z.number(),
623
+ date: z.string(),
624
+ published: z.json().optional(),
625
+ instruction: z.string(),
626
+ blocks: z.array(workoutReadBlockOutputSchema)
627
+ });
628
+ const workoutBuildOutputSchema = z.object({
629
+ pwId: z.number(),
630
+ workoutId: z.number(),
631
+ programId: z.number(),
632
+ published: z.literal(false),
633
+ advisories: z.object({
634
+ notes: z.array(z.string()),
635
+ warnings: z.array(z.string())
636
+ }),
637
+ readback: workoutReadOutputSchema.nullable(),
638
+ note: z.string()
639
+ });
640
+ const workoutPublishOutputSchema = z.object({
641
+ published: z.number(),
642
+ readback: workoutReadOutputSchema,
643
+ note: z.string()
644
+ });
645
+ const messageSentOutputSchema = z.object({
646
+ sent: z.literal(true),
647
+ comment: z.json()
648
+ });
649
+ const messageDeletedOutputSchema = z.object({
650
+ deleted: z.literal(true),
651
+ response: z.json().optional()
652
+ });
653
+ const exerciseDeletedOutputSchema = z.object({ deleted: z.number() });
654
+ const exerciseForgottenOutputSchema = z.object({ forgotten: z.number() });
655
+ const exerciseCreatedOutputSchema = exerciseResponseSchema;
656
+ const sessionTemplateCreatedOutputSchema = z.looseObject({ id: z.union([z.number(), z.string()]) });
657
+ const mainLiftPrOutputSchema = z.object({
658
+ family: z.enum([
659
+ "cleanjerk",
660
+ "snatch",
661
+ "deadlift",
662
+ "squat",
663
+ "bench",
664
+ "overhead"
665
+ ]),
666
+ label: z.string(),
667
+ exerciseId: nullableNumber,
668
+ title: nullableString,
669
+ weight: nullableNumber,
670
+ reps: nullableNumber,
671
+ units: nullableString,
672
+ date: nullableString
673
+ });
674
+ const athleteMainLiftPrsOutputSchema = z.object({
675
+ athleteId: z.number(),
676
+ athleteName: nullableString,
677
+ prs: z.array(mainLiftPrOutputSchema)
678
+ });
679
+ const programCreatedOutputSchema = z.object({
680
+ containerId: z.number(),
681
+ programId: z.number(),
682
+ title: z.string(),
683
+ kind: z.enum(["calendar", "fixed"]),
684
+ requestedName: z.string(),
685
+ nameApplied: z.boolean()
686
+ });
687
+ const programDeletedOutputSchema = z.object({
688
+ programId: z.number(),
689
+ containerId: nullableNumber
690
+ });
691
+ //#endregion
335
692
  //#region src/workout.ts
336
693
  /** A single exercise prescription inside a block. */
337
694
  const exerciseSpecSchema = z.object({
@@ -404,4 +761,4 @@ const sessionTemplateCreateSchema = z.object({
404
761
  instruction: z.string().optional()
405
762
  });
406
763
  //#endregion
407
- export { athletePrefsSchema, athletePrescribeSetArgsSchema, athleteProfileSummarySchema, athleteSessionRemoveArgsSchema, athleteUserSchema, athleteWorkingMaxListSchema, athleteWorkingMaxSchema, athleteWorkoutRangeArgsSchema, blockSpecSchema, coachLogSessionArgsSchema, coachLogSetArgsSchema, coachPrescribeSetArgsSchema, commentDraftSchema, dateString, exerciseCreateSchema, exerciseHistoryDetailSchema, exerciseHistoryListItemSchema, exerciseHistoryListSchema, exerciseLibraryResponseSchema, exerciseResponseSchema, exerciseSpecSchema, exerciseStatsSchema, historyEntrySchema, historySetSchema, idArgSchema, idSchema, leaderboardSpecSchema, liftPRSchema, logSessionArgsSchema, logSetArgsSchema, loggedSetSchema, loggedSetWithSlotSchema, parseWorkoutDate, personalRecordListSchema, personalRecordSchema, programCreateResponseSchema, programWorkoutListSchema, programWorkoutResponseSchema, programWorkoutSchema, programsEditResponseSchema, repMaxSchema, sessionCreateResponseSchema, sessionTemplateCreateSchema, swapAthleteExerciseArgsSchema, teamPublishPatchObject, teamPublishPatchSchema, userSimpleSchema, workoutSpecSchema };
764
+ export { athleteExerciseCatalogOutputSchema, athleteInviteOutputSchema, athleteMainLiftPrsOutputSchema, athletePrefsSchema, athletePrescribeSetArgsSchema, athleteProfileOutputSchema, athleteProfileSummarySchema, athleteSessionRemoveArgsSchema, athleteSessionRemovedOutputSchema, athleteUserSchema, athleteWorkingMaxListSchema, athleteWorkingMaxSchema, athleteWorkoutBlockSchema, athleteWorkoutExerciseSchema, athleteWorkoutRangeArgsSchema, athleteWorkoutSummarySchema, athleteWorkoutViewSchema, athleteWorkoutsOutputSchema, blockSpecSchema, coachAthleteExerciseSchema, coachAthleteSessionSchema, coachAthleteTrainingOutputSchema, coachAthleteTrainingSchema, coachLogSessionArgsSchema, coachLogSetArgsSchema, coachPrescribeSetArgsSchema, commentDraftSchema, dateString, exerciseCreateSchema, exerciseCreatedOutputSchema, exerciseDeletedOutputSchema, exerciseForgottenOutputSchema, exerciseGetOutputSchema, exerciseHistoryDetailSchema, exerciseHistoryListItemSchema, exerciseHistoryListSchema, exerciseHistoryOutputSchema, exerciseLibraryResponseSchema, exerciseResolveOutputSchema, exerciseResponseSchema, exerciseSpecSchema, exerciseStatsSchema, exerciseSwapOutputSchema, exerciseViewSchema, feedbackOutputSchema, historyEntrySchema, historySetSchema, idArgSchema, idSchema, leaderboardSpecSchema, liftPRSchema, logSessionArgsSchema, logSetArgsSchema, logTargetsOutputSchema, loggedSetSchema, loggedSetWithSlotSchema, messageDeletedOutputSchema, messageDraftOutputSchema, messageSentOutputSchema, opaqueJsonOutputSchema, opaqueOutputSchema, parseWorkoutDate, personalRecordListSchema, personalRecordSchema, personalWorkoutCreatedOutputSchema, presentedExerciseHistorySchema, presentedExerciseSessionSchema, programCreateResponseSchema, programCreatedOutputSchema, programDeletedOutputSchema, programWorkoutListSchema, programWorkoutResponseSchema, programWorkoutSchema, programsEditResponseSchema, removedSessionOutputSchema, repMaxSchema, rosterActivityOutputSchema, rosterActivityRowSchema, sessionCreateResponseSchema, sessionLogOutputSchema, sessionTemplateCreateSchema, sessionTemplateCreatedOutputSchema, setLogOutputSchema, setPrescriptionOutputSchema, swapAthleteExerciseArgsSchema, teamPublishPatchObject, teamPublishPatchSchema, teamVolumeAthleteSchema, teamVolumeOutputSchema, teamVolumeReportSchema, toolOutputSchema, truncatedOutputSchema, truncationMarkerSchema, userSimpleSchema, workoutBuildOutputSchema, workoutPublishOutputSchema, workoutReadOutputSchema, workoutSpecSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trainheroic-unofficial/dto",
3
- "version": "3.2.0",
3
+ "version": "3.3.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",