hevy-shared 1.0.800 → 1.0.802

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.
Files changed (2) hide show
  1. package/built/index.d.ts +15 -1
  2. package/package.json +1 -1
package/built/index.d.ts CHANGED
@@ -99,7 +99,6 @@ export interface UserAccountResponse {
99
99
  private_profile: boolean;
100
100
  created_at: string;
101
101
  last_workout_at: string;
102
- streak_count?: number;
103
102
  accepted_terms_and_conditions: boolean;
104
103
  /** @deprecated 1.31.1 - use `coach_client_status` instead */
105
104
  is_coached: boolean;
@@ -1209,6 +1208,7 @@ export interface OutstandingInvitesForCoachTeamResponse {
1209
1208
  invites: CoachTeamInvite[];
1210
1209
  }
1211
1210
  export interface HevyTrainerProgram {
1211
+ id: string;
1212
1212
  created_at: string;
1213
1213
  updated_at: string;
1214
1214
  title: string;
@@ -1235,6 +1235,20 @@ export interface PostHevyTrainerProgramRequestBody {
1235
1235
  workout_duration_minutes?: WorkoutDurationMinutes;
1236
1236
  };
1237
1237
  }
1238
+ export interface UpdateHevyTrainerProgramRequestBody {
1239
+ program: {
1240
+ programId: string;
1241
+ title: string;
1242
+ level: TrainingLevel;
1243
+ goal: TrainingGoal;
1244
+ equipments: HevyTrainerProgramEquipment[];
1245
+ weekly_frequency: WeeklyTrainingFrequency;
1246
+ focus_muscle?: SimplifiedMuscleGroup;
1247
+ next_workout_index?: number;
1248
+ workout_duration_minutes?: WorkoutDurationMinutes;
1249
+ routines: BaseRoutine[];
1250
+ };
1251
+ }
1238
1252
  export declare const measurementsList: readonly ["weight_kg", "lean_mass_kg", "fat_percent", "neck_cm", "shoulder_cm", "chest_cm", "left_bicep_cm", "right_bicep_cm", "left_forearm_cm", "right_forearm_cm", "abdomen", "waist", "hips", "left_thigh", "right_thigh", "left_calf", "right_calf"];
1239
1253
  type MeasurementProperties = {
1240
1254
  [key in typeof measurementsList[number]]?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.800",
3
+ "version": "1.0.802",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",