// Code generated by protoc-gen-typescript-http. DO NOT EDIT. /* eslint-disable camelcase */ // @ts-nocheck export type AlipayTradeWapPayRequest = { /** 用户唯一标识 */ userIdentification?: string; /** 充值金额,单位:分 */ amount?: number; /** 商品描述 */ description?: string; /** 支付回调URL,公网域名须为HTTPS */ notifyUrl?: string; /** 退出支付时用户返回的URL */ quitUrl?: string; }; export type AlipayTradeWapPayReply = { /** 支付链接 */ payUrl?: string; }; export type AlipayTradePagePayRequest = { /** 用户唯一标识 */ userIdentification?: string; /** 充值金额,单位:分 */ amount?: number; /** 商品描述 */ description?: string; /** 支付回调URL,公网域名须为HTTPS */ notifyUrl?: string; /** 支付成功时返回的URL */ returnUrl?: string; }; export type AlipayTradePagePayReply = { /** 支付链接 */ payUrl?: string; }; export type AlipayTradeAppPayRequest = { /** 用户唯一标识 */ userIdentification?: string; /** 充值金额,单位:分 */ amount?: number; /** 商品描述 */ description?: string; /** 支付回调URL,公网域名须为HTTPS */ notifyUrl?: string; }; export type AlipayTradeAppPayReply = { /** 调起支付的参数 */ payParam?: string; }; export type AlipayUniTransferRequest = { /** 用户唯一标识 */ userIdentification?: string; /** 提现金额,单位:分 */ amount?: number; /** 提现手续费,单位:分 */ fee?: number; /** 商品描述 */ description?: string; }; export type AlipayUniTransferReply = { }; export interface Alipay { } type RequestType = { path: string; method: string; body: string | null; }; type RequestHandler = (request: RequestType, meta: { service: string, method: string }) => Promise; export function createAlipayClient( handler: RequestHandler ): Alipay { return { }; } export type FetchRequest = { /** 页数 */ pageNo?: number; /** 每页记录数 */ pageSize?: number; /** 条件参数,key=val,eg key:category_id=?,vlaue=11 */ params?: { [key: string]: string }; }; export type IdentRequest = { /** 唯一ID */ id?: number; /** 唯一码 */ identity?: string; }; export type VersionRequest = { /** 时序版本号 */ version?: number; }; export type SearchRequest = { /** 关键词 */ keyword?: string; }; export type StatusReply = { /** 状态码 */ code?: number; /** 状态说明 */ message?: string; /** 数据 */ details?: string; /** 响应时间序列 */ timeseq?: number; }; export type Empty = { }; export type WayRequest = { /** 平台 */ platform?: string; }; export type WayReply = { /** 支付通道列表 */ way?: WayItem[]; }; export type WayItem = { /** 支付通道标识 */ ident?: string; /** 支付通道标题 */ title?: string; /** 支付通道说明 */ intro?: string; /** 支付通道相关参数 */ args?: string; }; export type PaymentItem = { /** 订单号 */ orderNo?: string; /** 第三方交易流水号 */ tradeNo?: string; /** 类型:1充值;2支付电商订单 */ type?: number; /** 支付模型:WECHAT,ALIPAY,BALANCE */ payChannel?: number; /** 支付类型 JSAPI:微信浏览器内支付 APP:app支付 MINI:小程序 NATIVE:Native支付,pc端生成二维码供用户扫码支付,QUICK_MSECURITY_PAY:app支付 QUICK_WAP_WAY:手机网站支付 FAST_INSTANT_TRADE_PAY:pc网站支付 */ payType?: string; /** 充值金额 单位为分 */ amount?: number; /** 相关参数 */ args?: string; /** 支付状态 */ status?: number; }; export type ChargeRequest = { /** 充值金额 单位为分 */ amount?: number; /** 备注 */ remark?: string; /** 支付模型:WECHAT,ALIPAY */ payChannel?: number; /** 支付类型 JSAPI:微信浏览器内支付 APP:app支付 MWEB:H5支付 NATIVE:Native支付,pc端生成二维码供用户扫码支付,QUICK_MSECURITY_PAY:app支付 QUICK_WAP_WAY:手机网站支付 FAST_INSTANT_TRADE_PAY:pc网站支付 */ payType?: string; /** 支付描述 */ desc?: string; /** 微信用户的OpenID */ openId?: string; }; export type OrderRequest = { /** 订单号 */ orderNo?: string; /** 支付模型:WECHAT,ALIPAY,BALANCE */ payChannel?: number; /** 支付类型 JSAPI:微信浏览器内支付 APP:app支付 MINI:小程序 NATIVE:Native支付,pc端生成二维码供用户扫码支付,QUICK_MSECURITY_PAY:app支付 QUICK_WAP_WAY:手机网站支付 FAST_INSTANT_TRADE_PAY:pc网站支付 */ payType?: string; /** 支付密码 */ password?: string; /** 相关参数 */ args?: string; /** 支付描述 */ desc?: string; /** 微信用户的OpenID */ openId?: string; }; export type CallbackRequest = { /** 唯一ID */ id?: number; /** 唯一码 */ identity?: string; /** 支付回调状态 */ callbackStatus?: boolean; /** 支付回调结果 */ callbackMsg?: string; }; export type PaymentReply = { code?: number; /** 预支付返回 */ result?: { [key: string]: string }; }; export interface Payment { } export function createPaymentClient( handler: RequestHandler ): Payment { return { }; } export type GetWalletRequest = { /** 是否统计今日收入 */ isTotalTodayIn?: boolean; /** 是否统计今日支出 */ isTotalTodayOut?: boolean; /** 是否统计本月收入 */ isTotalMonthIn?: boolean; /** 是否统计本月支出 */ isTotalMonthOut?: boolean; /** 是否统计全部收入 */ isTotalAllIn?: boolean; /** 是否统计全部支出 */ isTotalAllOut?: boolean; }; export type GetWalletReply = { /** 用户唯一标识 */ passportIdentity?: string; /** 钱包唯一标识 */ walletIdentity?: string; /** 余额 */ balance?: number; /** 可提现余额 */ withdrawalBalance?: number; /** 状态 -1禁用,1:正常 */ status?: number; /** 支付宝ID */ alipayId?: string; /** 支付宝账户名 */ alipayName?: string; /** 微信ID */ wxpayId?: string; /** 微信支付账户名 */ wxpayName?: string; /** 统计数据输出 */ total?: { [key: string]: number }; /** 创建时间 */ created?: string; }; export type TransactionsRequest = { /** 收支类型:-1支出,1:收入 */ transType?: number; /** 交易类型:1:充值,2:提现,3:消费,4:退款,5:收益 */ tradeType?: number; /** 账单起始日期 */ start?: string; /** 账单截止日期 */ end?: string; /** 分页 */ page?: number; /** 单页容量 */ pageSize?: number; }; export type TransactionsReply = { /** 总记录数 */ total?: number; /** 数据 */ records?: Transaction[]; }; export type Transaction = { /** 收支类型:-1支出,1:收入 */ transType?: number; /** 交易类型:1:充值,2:提现,3:消费,4:退款,5:收益 */ tradeType?: number; /** 内部流水号 */ inTradeNo?: string; /** 外部流水号,eg:微信、支付宝、银行等 */ outTradeNo?: string; /** 交易金额,单位:分 */ money?: number; /** 手续费,单位:分 */ fee?: number; /** 支付模型:WECHAT,ALIPAY,BALANCE */ payChannel?: number; /** 支付类型 JSAPI:微信浏览器内支付 APP:app支付 MINI:小程序 NATIVE:Native支付,pc端生成二维码供用户扫码支付,QUICK_MSECURITY_PAY:app支付 QUICK_WAP_WAY:手机网站支付 FAST_INSTANT_TRADE_PAY:pc网站支付 */ payType?: string; /** 创建时间 */ created?: string; /** 备注信息 */ remark?: string; }; export type SetPayPasswordRequest = { /** 用户唯一标识 */ passportIdentity?: string; /** 支付密码 */ password?: string; }; export type BindPaymentIDRequest = { /** 支付类型:1:微信支付,2:支付宝 */ payType?: number; /** 微信授权码 */ authCode?: string; }; export type RefundRequest = { /** 用户唯一标识 */ userIdentification?: string; /** 退款金额,单位:分 */ amount?: number; /** 手续费, 单位:分 */ fee?: number; /** 交易备注 */ remark?: string; }; export type RefundReply = { /** 钱包剩余余额,单位:分 */ balance?: number; /** 交易记录 */ transaction?: Transaction; }; export type AddBankCardRequest = { /** 钱包唯一标识 */ walletIdentity?: string; /** 银行卡号 */ cardNo?: string; /** 持卡人姓名 */ cardOwner?: string; /** 持卡人身份证 */ idCard?: string; /** 银行预留的手机号 */ phone?: string; }; export type FinanceEmpty = { }; export type RmBankCardRequest = { /** 银行卡Identity */ identity?: string; }; export type GetBankCardReply = { data?: BankCardInfo[]; }; export type BankCardInfo = { id?: number; /** 银行卡号 */ bankNumber?: string; /** 银行名 */ bankName?: string; /** 持卡人姓名 */ cardOwner?: string; /** 持卡人身份证号 */ idCard?: string; /** 银行预留的手机号 */ phone?: string; /** 绑定银行卡返回的绑定id */ bindId?: string; /** 银行卡类型 DC为储蓄卡,CC为信用卡 */ bankType?: string; /** 银行卡所属行 */ bank?: string; /** 添加日期 */ created?: string; }; export type ApplyCashRequest = { /** 提现的平台 1、微信 2、支付宝 3、银行卡 */ channel?: number; /** 提现金额 单位为分 */ amount?: number; /** 备注 */ remark?: string; }; export interface Basic { } export function createBasicClient( handler: RequestHandler ): Basic { return { }; } export type WxpayJSAPIPreOrderRequest = { /** 用户唯一标识 */ userIdentification?: string; /** 充值金额,单位:分 */ amount?: number; /** 微信授权码 */ authCode?: string; /** 商品描述 */ description?: string; /** 支付回调URL,公网域名须为HTTPS */ notifyUrl?: string; /** 订单唯一码 */ orderNo?: string; }; export type WxpayJSAPIPreOrderReply = { /** 预支付ID,两小时有效 */ prepayId?: string; /** 微信app_id */ appId?: string; /** 时间戳 */ timestamp?: string; /** 随机字符串 */ nonceStr?: string; /** 签名方式 */ signType?: string; /** 签名串 */ sign?: string; }; export type WxpayAppPreOrderRequest = { /** 用户唯一标识 */ userIdentification?: string; /** 充值金额,单位:分 */ amount?: number; /** 商品描述 */ description?: string; /** 支付回调URL,公网域名须为HTTPS */ notifyUrl?: string; }; export type WxpayAppPreOrderReply = { /** 预支付ID,两小时有效 */ prepayId?: string; /** 微信app_id */ appId?: string; /** 商户号,用以调起支付 */ mchId?: string; }; export type WxpayNativePreOrderRequest = { /** 用户唯一标识 */ userIdentification?: string; /** 充值金额,单位:分 */ amount?: number; /** 商品描述 */ description?: string; /** 支付回调URL,公网域名须为HTTPS */ notifyUrl?: string; }; export type WxpayNativePreOrderReply = { /** 二维码URL */ codeUrl?: string; }; export type WxpayTransferRequest = { /** 用户唯一标识 */ userIdentification?: string; /** 提现金额,单位:分 */ amount?: number; /** 提现手续费,单位:分 */ fee?: number; /** 商品描述 */ description?: string; /** 提现人真实姓名 */ transferName?: string; }; export type WxpayTransferReply = { }; export type WxCallBackResource = { originalType?: string; algorithm?: string; ciphertext?: string; associatedData?: string; nonce?: string; }; export type WxCallBackSignInfo = { transactionId?: string; actCode?: string; hallCode?: string; hallBelongMchId?: number; cardId?: string; code?: string; activityId?: string; }; export type WxCallBackRequest = { id?: string; createTime?: string; resourceType?: string; eventType?: string; summary?: string; resource?: WxCallBackResource; SignInfo?: WxCallBackSignInfo; }; export type CallBackReply = { /** 错误码,SUCCESS为清算机构接收成功,FAIL错误码为失败。 */ code?: string; /** 返回信息 */ message?: string; }; export interface Wechat { } export function createWechatClient( handler: RequestHandler ): Wechat { return { }; } // @@protoc_insertion_point(typescript-http-eof)