export const e2eUser = {
  id: "user_e2e",
  username: "E2E User",
  email: "e2e@example.com",
  platform: "web",
  intimacy: 42,
  dolBalance: 0,
  relationshipStage: "close_friend",
  currentMood: "happy",
  preferredLanguage: "en",
  createdAt: "2026-06-25T00:00:00.000Z",
  lastMessageAt: "",
  avatarUrl: "",
  loginProvider: "guest",
  isGuest: true,
  isVip: false,
  voiceMinutesRemaining: 0,
};

export const e2eEmailUser = {
  ...e2eUser,
  id: "user_e2e_email",
  username: "E2E Email User",
  email: "chanwillian0@gmail.com",
  isGuest: false,
};

export const guestLoginResponse = {
  token: "e2e-guest-token",
  deviceId: "e2e-device-id",
  userId: e2eUser.id,
  isDeviceUser: true,
  expiresIn: 2_592_000,
  user: e2eUser,
};

export const refreshedGuestLoginResponse = {
  ...guestLoginResponse,
  token: "e2e-refreshed-guest-token",
};

export const emailLoginResponse = {
  token: "e2e-email-token",
  refreshToken: "e2e-email-refresh-token",
  user: e2eEmailUser,
};

export const refreshedEmailLoginResponse = {
  token: "e2e-refreshed-email-token",
  refreshToken: "e2e-refreshed-email-refresh-token",
};

export const topUpHandoffResponse = {
  token: "e2e-messenger-token",
  refreshToken: "e2e-messenger-refresh-token",
  loginStatus: "facebookMessenger",
  merged: false,
  user: {
    ...e2eEmailUser,
    id: "user_e2e_messenger",
    username: "E2E Messenger User",
    email: "messenger_hash@messenger.cozsweet.invalid",
    loginProvider: "facebook_messenger",
  },
};

export const checkoutHandoffResponse = {
  token: "e2e-checkout-token",
  refreshToken: "e2e-checkout-refresh-token",
  loginStatus: "email",
  user: e2eEmailUser,
  checkoutIntent: {
    planId: "vip_monthly",
    autoRenew: true,
    commercialOfferId: "13ec8a10-58d7-4d24-b66b-8db5699a1aa8",
  },
};
