package com.red.circle.other.app.inner.service.user.user;


import com.red.circle.framework.dto.PageResult;
import com.red.circle.other.inner.model.cmd.user.invite.InviteBalancePageQryCmd;
import com.red.circle.other.inner.model.cmd.user.invite.InviteCarouselAwardsCmd;
import com.red.circle.other.inner.model.cmd.user.invite.InviteConfigCmd;
import com.red.circle.other.inner.model.cmd.user.invite.InviteRedPacketDrawLogPageQryCmd;
import com.red.circle.other.inner.model.cmd.user.invite.InviteRedPacketHelpLogPageQryCmd;
import com.red.circle.other.inner.model.cmd.user.invite.InviteRedPacketPageQryCmd;
import com.red.circle.other.inner.model.cmd.user.invite.InviteTargetTransitBalanceCmd;
import com.red.circle.other.inner.model.dto.user.invite.InviteBalanceDTO;
import com.red.circle.other.inner.model.dto.user.invite.InviteCarouselAwardsBackDTO;
import com.red.circle.other.inner.model.dto.user.invite.InviteConfigDTO;
import com.red.circle.other.inner.model.dto.user.invite.InviteRedPacketDTO;
import com.red.circle.other.inner.model.dto.user.invite.InviteRedPacketDrawLogDTO;
import com.red.circle.other.inner.model.dto.user.invite.InviteRedPacketHelpLogDTO;
import java.util.List;

/**
 * 用户红包邀新服务.
 *
 * @author pengshigang on 2024/01/05
 */
public interface UserRedPacketInviteNewClientService {

  /**
   * 邀请新用户-目标中转账户-分页.
   */
  PageResult<InviteBalanceDTO> pageTargetTransitBalance(InviteBalancePageQryCmd cmd);

  /**
   * 邀请新用户-扣除目标.
   */
  void reduceTarget(InviteTargetTransitBalanceCmd cmd);

  /**
   * 邀请新用户-美元中转账户-分页.
   */
  PageResult<InviteBalanceDTO> pageWithdrawTransitBalance(InviteBalancePageQryCmd cmd);

  /**
   * 邀请新用户-红包抽奖记录-分页.
   */
  PageResult<InviteRedPacketDrawLogDTO> pageRedPacketDrawLog(
      InviteRedPacketDrawLogPageQryCmd cmd);

  /**
   * 邀请新用户-助力记录-分页.
   */
  PageResult<InviteRedPacketHelpLogDTO> pageRedPacketHelpLog(
      InviteRedPacketHelpLogPageQryCmd cmd);

  /**
   * 邀请新用户-红包记录-分页.
   */
  PageResult<InviteRedPacketDTO> pageRedPacket(InviteRedPacketPageQryCmd cmd);

  /**
   * 邀请新用户-转盘奖项列表.
   */
  List<InviteCarouselAwardsBackDTO> listCarouselAwards(String sysOrigin);

  /**
   * 邀请新用户-转盘奖项-保存.
   */
  void saveCarouselAwards(InviteCarouselAwardsCmd cmd);

  /**
   * 邀请新用户-删除转盘奖项.
   */
  void deleteCarouselAwards(Long id);

  /**
   * 邀请新用户-配置.
   */
  InviteConfigDTO getConfigBySysOrigin(String sysOrigin);

  /**
   * 邀请新用户-配置-保存.
   */
  void saveConfig(InviteConfigCmd cmd);

}
