wupengfei
2025-06-09 17336d42e38798b0289029e84271d1433ea21080
packages/core/src/lifeRechargeServices.ts
@@ -411,12 +411,21 @@
    });
  }
  /** 新增回访 POST /api/Promoter/CreateChannelConsultationFollowup */
  async createChannelConsultationFollowup(
    body: CreateChannelConsultationFollowupInput,
    options?: RequestConfig
  ) {
    return this.request<string>('/api/Promoter/CreateChannelConsultationFollowup', {
  /** 申请渠道咨询 POST /api/Promoter/CreateChannelConsultation */
  async createChannelConsultation(body: CreateChannelConsultationInput, options?: RequestConfig) {
    return this.request<string>('/api/Promoter/CreateChannelConsultation', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    });
  }
  /** 创建或更新推广员 POST /api/Promoter/CreateOrUpdatePromoter */
  async createOrUpdatePromoter(body: API.CreateOrUpdatePromoterInput, options?: API.RequestConfig) {
    return this.request<string>('/api/Promoter/CreateOrUpdatePromoter', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
@@ -931,10 +940,33 @@
  idnumber?: string;
}
export interface CreateChannelConsultationFollowupInput {
  /** 渠道咨询Id */
  channelConsultationId?: string;
  followupStatus?: LifeRechargeConstants.LifePayChannelConsultationFollowupStatus;
  /** 回访记录 */
  followupRemark?: string;
export interface CreateChannelConsultationInput {
  /** 客户端用户Id 如有 */
  userId?: string;
  /** 推广人Id */
  idNumber?: string;
  /** 咨询人 */
  name?: string;
  agentType?: LifeRechargeConstants.LifePayChannelAgentType;
  /** 联系方式 */
  phoneNumber?: string;
  /** 公司名称 */
  companyName?: string;
  /** 客户资源 */
  customerResources?: string;
}
export interface CreateOrUpdatePromoterInput {
  /** Id */
  id?: string;
  /** 客户端用户Id 如有 */
  userId?: string;
  /** ID */
  idNumber?: string;
  /** 推广员 */
  name?: string;
  /** 联系方式 */
  phoneNumber?: string;
  /** 备注 */
  remark?: string;
}