hevy-shared 1.0.672 → 1.0.674

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 CHANGED
@@ -105,6 +105,7 @@ export interface UserAccountResponse {
105
105
  birthday?: string;
106
106
  sex?: Sex;
107
107
  email_consent: boolean;
108
+ email_verified: boolean;
108
109
  }
109
110
  export interface CoachAppPushTarget {
110
111
  type: 'android' | 'ios';
@@ -15,7 +15,6 @@ export interface BaseNotification {
15
15
  from_username: string;
16
16
  profile_pic?: string;
17
17
  date: string;
18
- read: boolean;
19
18
  }
20
19
  export interface BaseMobilePushData {
21
20
  type: MobilePushDataType;
@@ -142,7 +141,7 @@ export type NotificationMobilePushDataType = NotificationType | 'chat-update' |
142
141
  * For iOS/Apple see https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/pushing_background_updates_to_your_app
143
142
  * For Android see https://firebase.google.com/docs/cloud-messaging/concept-options#data_messages
144
143
  */
145
- export type DataOnlyMobilePushDataType = 'coach-data-changed' | 'coach-program-changed' | 'sync-workouts' | 'sync-routines' | 'sync-routine-folders' | 'sync-exercise-templates-and-customizations' | 'hevy-pro-status-changed' | 'hevy-pro-subscription-renewed';
144
+ export type DataOnlyMobilePushDataType = 'coach-data-changed' | 'coach-program-changed' | 'sync-workouts' | 'sync-routines' | 'sync-routine-folders' | 'sync-exercise-templates-and-customizations' | 'sync-account' | 'hevy-pro-status-changed' | 'hevy-pro-subscription-renewed' | never;
146
145
  export interface CoachDataChangedMobilePushData extends BaseMobilePushData {
147
146
  type: 'coach-data-changed';
148
147
  additionalHevyData: ClientsCoachData;
@@ -171,6 +170,9 @@ export interface SyncRoutineFoldersMobilePushData extends BaseMobilePushData {
171
170
  export interface SyncCustomExercisesAndCoachCustomizationsMobilePushData extends BaseMobilePushData {
172
171
  type: 'sync-exercise-templates-and-customizations';
173
172
  }
173
+ export interface SyncAccountMobilePushData extends BaseMobilePushData {
174
+ type: 'sync-account';
175
+ }
174
176
  export interface CoachProgramFinishesNextWeekMobilePushData extends BaseMobilePushData {
175
177
  type: 'coach-program-finishes-next-week';
176
178
  }
@@ -204,4 +206,4 @@ export interface GracePeriodResolveMobilePushData extends BaseMobilePushData {
204
206
  type: 'grace-period-resolve';
205
207
  deeplink: string;
206
208
  }
207
- export type MobilePushData = ChatUpdateMobilePushData | SyncCustomExercisesAndCoachCustomizationsMobilePushData | SyncWorkoutsMobilePushData | SyncRoutineFoldersMobilePushData | SyncRoutinesMobilePushData | ProStatusChangedPushMobilePushData | HevyProSubscriptionRenewedMobilePushData | CoachProgramChangedMobilePushData | CoachDataChangedMobilePushData | ContactOnHevyMobilePushData | CoachClientInviteMobilePushData | AcceptFollowRequestMobilePushData | FollowRequestMobilePushData | FollowMobilePushData | WorkoutLikeMobilePushData | WorkoutCommentLikeMobilePushData | WorkoutCommentMentionMobilePushData | WorkoutCommentDiscussionMobilePushData | WorkoutCommentReplyMobilePushData | WorkoutCommentMobilePushData | WorkoutMentionMobilePushData | WorkoutCompleteMobilePushData | CoachProgramFinishesNextWeekMobilePushData | CoachProgramStartsTodayMobilePushData | CoachLoggedYourWorkoutMobilePushData | CoachLoggedYourMeasurementsMobilePushData | MonthlyReportMobilePushData | GracePeriodEnterMobilePushData | GracePeriodResolveMobilePushData;
209
+ export type MobilePushData = ChatUpdateMobilePushData | SyncCustomExercisesAndCoachCustomizationsMobilePushData | SyncWorkoutsMobilePushData | SyncRoutineFoldersMobilePushData | SyncRoutinesMobilePushData | SyncAccountMobilePushData | ProStatusChangedPushMobilePushData | HevyProSubscriptionRenewedMobilePushData | CoachProgramChangedMobilePushData | CoachDataChangedMobilePushData | ContactOnHevyMobilePushData | CoachClientInviteMobilePushData | AcceptFollowRequestMobilePushData | FollowRequestMobilePushData | FollowMobilePushData | WorkoutLikeMobilePushData | WorkoutCommentLikeMobilePushData | WorkoutCommentMentionMobilePushData | WorkoutCommentDiscussionMobilePushData | WorkoutCommentReplyMobilePushData | WorkoutCommentMobilePushData | WorkoutMentionMobilePushData | WorkoutCompleteMobilePushData | CoachProgramFinishesNextWeekMobilePushData | CoachProgramStartsTodayMobilePushData | CoachLoggedYourWorkoutMobilePushData | CoachLoggedYourMeasurementsMobilePushData | MonthlyReportMobilePushData | GracePeriodEnterMobilePushData | GracePeriodResolveMobilePushData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.672",
3
+ "version": "1.0.674",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",