hevy-shared 1.0.801 → 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.
- package/built/index.d.ts +15 -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;
|
|
@@ -168,7 +167,6 @@ export interface AccountUpdate {
|
|
|
168
167
|
sex?: Sex;
|
|
169
168
|
birthday?: string;
|
|
170
169
|
height_cm?: number;
|
|
171
|
-
streak_count?: number;
|
|
172
170
|
}
|
|
173
171
|
export interface AppleSignUpRequest {
|
|
174
172
|
email?: string;
|
|
@@ -1210,6 +1208,7 @@ export interface OutstandingInvitesForCoachTeamResponse {
|
|
|
1210
1208
|
invites: CoachTeamInvite[];
|
|
1211
1209
|
}
|
|
1212
1210
|
export interface HevyTrainerProgram {
|
|
1211
|
+
id: string;
|
|
1213
1212
|
created_at: string;
|
|
1214
1213
|
updated_at: string;
|
|
1215
1214
|
title: string;
|
|
@@ -1236,6 +1235,20 @@ export interface PostHevyTrainerProgramRequestBody {
|
|
|
1236
1235
|
workout_duration_minutes?: WorkoutDurationMinutes;
|
|
1237
1236
|
};
|
|
1238
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
|
+
}
|
|
1239
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"];
|
|
1240
1253
|
type MeasurementProperties = {
|
|
1241
1254
|
[key in typeof measurementsList[number]]?: number;
|