UNPKG

tencentcloud-sdk-nodejs

Version:
102 lines (101 loc) 7.85 kB
import { AbstractClient } from "../../../common/abstract_client"; import { ClientConfig } from "../../../common/interface"; import { DescribeSalesmansRequest, DescribeAgentAuditedClientsRequest, DescribeRebateInfosNewRequest, RemovePayRelationForClientRequest, DescribeClientJoinIncreaseListResponse, DescribeRebateInfosNewResponse, AgentPayDealsRequest, DescribeAgentClientGradeResponse, DescribeAgentDealsByCacheResponse, DescribeClientSwitchTraTaskInfoResponse, DescribeAgentPayDealsV2Response, AgentTransferMoneyRequest, DescribeAgentPayDealsV2Request, RemovePayRelationForClientResponse, DescribeAgentRelateBigDealIdsRequest, DescribeClientJoinIncreaseListRequest, DescribeRebateInfosRequest, CreatePayRelationForClientResponse, DescribeAgentAuditedClientsResponse, DescribeAgentBillsResponse, AuditApplyClientRequest, ModifyClientRemarkResponse, DescribeAgentClientsResponse, DescribeAgentClientsRequest, DescribeAgentRelateBigDealIdsResponse, DescribeAgentSelfPayDealsV2Request, DescribeSalesmansResponse, DescribeUnbindClientListRequest, DescribeAgentDealsByCacheRequest, ModifyClientRemarkRequest, CreatePayRelationForClientRequest, AgentTransferMoneyResponse, DescribeUnbindClientListResponse, DescribeAgentSelfPayDealsV2Response, AssignClientsToSalesResponse, AuditApplyClientResponse, DescribeClientSwitchTraTaskInfoRequest, DescribeAgentBillsRequest, AgentPayDealsResponse, DescribeClientBalanceNewRequest, DescribeRebateInfosResponse, DescribeAgentClientGradeRequest, AssignClientsToSalesRequest, DescribeClientBalanceNewResponse } from "./partners_models"; /** * partners client * @class */ export declare class Client extends AbstractClient { constructor(clientConfig: ClientConfig); /** * 为代客or申请中代客分派跟进人(业务员),入参可从以下API获取 - 代客列表获取API: [DescribeAgentAuditedClients](https://cloud.tencent.com/document/product/563/19184) - 申请中代客列表获取API:[DescribeAgentClients](https://cloud.tencent.com/document/product/563/16046) - 业务员列表获取API:[DescribeSalesmans](https://cloud.tencent.com/document/product/563/35196) <br><br> */ AssignClientsToSales(req: AssignClientsToSalesRequest, cb?: (error: string, rep: AssignClientsToSalesResponse) => void): Promise<AssignClientsToSalesResponse>; /** * 代理商可查询自己及名下代客所有业务明细 */ DescribeAgentBills(req: DescribeAgentBillsRequest, cb?: (error: string, rep: DescribeAgentBillsResponse) => void): Promise<DescribeAgentBillsResponse>; /** * 为合作伙伴提供转账给客户能力。仅支持合作伙伴为自己名下客户转账。 */ AgentTransferMoney(req: AgentTransferMoneyRequest, cb?: (error: string, rep: AgentTransferMoneyResponse) => void): Promise<AgentTransferMoneyResponse>; /** * 【该接口已下线,请切换使用升级版本DescribeRebateInfosNew】代理商可查询自己名下全部返佣信息 */ DescribeRebateInfos(req: DescribeRebateInfosRequest, cb?: (error: string, rep: DescribeRebateInfosResponse) => void): Promise<DescribeRebateInfosResponse>; /** * 合作伙伴为客户消除强代付关系 */ RemovePayRelationForClient(req: RemovePayRelationForClientRequest, cb?: (error: string, rep: RemovePayRelationForClientResponse) => void): Promise<RemovePayRelationForClientResponse>; /** * 代理商可以对名下客户添加备注、修改备注 */ ModifyClientRemark(req: ModifyClientRemarkRequest, cb?: (error: string, rep: ModifyClientRemarkResponse) => void): Promise<ModifyClientRemarkResponse>; /** * 为合作伙伴提供查询客户余额能力。调用者必须是合作伙伴,只能查询自己名下客户余额 */ DescribeClientBalanceNew(req: DescribeClientBalanceNewRequest, cb?: (error: string, rep: DescribeClientBalanceNewResponse) => void): Promise<DescribeClientBalanceNewResponse>; /** * 代理商名下客户解绑记录查询接口 */ DescribeUnbindClientList(req: DescribeUnbindClientListRequest, cb?: (error: string, rep: DescribeUnbindClientListResponse) => void): Promise<DescribeUnbindClientListResponse>; /** * 代理商支付订单接口,支持自付/代付 */ AgentPayDeals(req: AgentPayDealsRequest, cb?: (error: string, rep: AgentPayDealsResponse) => void): Promise<AgentPayDealsResponse>; /** * 代理商查询名下业务员列表信息 */ DescribeSalesmans(req: DescribeSalesmansRequest, cb?: (error: string, rep: DescribeSalesmansResponse) => void): Promise<DescribeSalesmansResponse>; /** * 代理商可以审核其名下申请中代客 */ AuditApplyClient(req: AuditApplyClientRequest, cb?: (error: string, rep: AuditApplyClientResponse) => void): Promise<AuditApplyClientResponse>; /** * 查询客户的交易类型切换任务的信息,查询成功则获取当前用户的切换链接,查询失败则返回失败的原因 */ DescribeClientSwitchTraTaskInfo(req: DescribeClientSwitchTraTaskInfoRequest, cb?: (error: string, rep: DescribeClientSwitchTraTaskInfoResponse) => void): Promise<DescribeClientSwitchTraTaskInfoResponse>; /** * 可以查询代理商代付的预付费订单 */ DescribeAgentPayDealsV2(req: DescribeAgentPayDealsV2Request, cb?: (error: string, rep: DescribeAgentPayDealsV2Response) => void): Promise<DescribeAgentPayDealsV2Response>; /** * 查询已审核客户列表 */ DescribeAgentAuditedClients(req: DescribeAgentAuditedClientsRequest, cb?: (error: string, rep: DescribeAgentAuditedClientsResponse) => void): Promise<DescribeAgentAuditedClientsResponse>; /** * 查询合作伙伴名下客户的参与增量激励考核信息列表 */ DescribeClientJoinIncreaseList(req: DescribeClientJoinIncreaseListRequest, cb?: (error: string, rep: DescribeClientJoinIncreaseListResponse) => void): Promise<DescribeClientJoinIncreaseListResponse>; /** * 查询代理商名下指定代客的自付订单(预付费) */ DescribeAgentSelfPayDealsV2(req: DescribeAgentSelfPayDealsV2Request, cb?: (error: string, rep: DescribeAgentSelfPayDealsV2Response) => void): Promise<DescribeAgentSelfPayDealsV2Response>; /** * 根据大订单号查询关联申请合并支付的其他订单号 */ DescribeAgentRelateBigDealIds(req: DescribeAgentRelateBigDealIdsRequest, cb?: (error: string, rep: DescribeAgentRelateBigDealIdsResponse) => void): Promise<DescribeAgentRelateBigDealIdsResponse>; /** * 供代理商拉取缓存的全量预付费客户订单 */ DescribeAgentDealsByCache(req: DescribeAgentDealsByCacheRequest, cb?: (error: string, rep: DescribeAgentDealsByCacheResponse) => void): Promise<DescribeAgentDealsByCacheResponse>; /** * 传入代客uin,查客户级别,客户审核状态,客户实名认证状态 */ DescribeAgentClientGrade(req: DescribeAgentClientGradeRequest, cb?: (error: string, rep: DescribeAgentClientGradeResponse) => void): Promise<DescribeAgentClientGradeResponse>; /** * 代理商可查询自己名下全部返佣信息 */ DescribeRebateInfosNew(req: DescribeRebateInfosNewRequest, cb?: (error: string, rep: DescribeRebateInfosNewResponse) => void): Promise<DescribeRebateInfosNewResponse>; /** * 代理商可查询自己名下待审核客户列表 */ DescribeAgentClients(req: DescribeAgentClientsRequest, cb?: (error: string, rep: DescribeAgentClientsResponse) => void): Promise<DescribeAgentClientsResponse>; /** * 合作伙伴为客户创建强代付关系 */ CreatePayRelationForClient(req: CreatePayRelationForClientRequest, cb?: (error: string, rep: CreatePayRelationForClientResponse) => void): Promise<CreatePayRelationForClientResponse>; }