import { String, Text, Boolean, Int } from 'oak-domain/lib/types/DataType'; import { EntityDesc } from 'oak-domain/lib/types'; import { Schema as AliPay } from './AliPay'; import { Schema as SysAccountOper } from './SysAccountOper'; import { Schema as AbstractPayAccount } from './AbstractPayAccount'; import { Schema as WithdrawChannel } from './WithdrawChannel'; export interface Schema extends AbstractPayAccount { aliPay: AliPay; appId: String<128>; mchId: String<128>; publicKeyPath?: Text; privateKeyPath?: Text; opers: SysAccountOper[]; channels: WithdrawChannel[]; enabled: Boolean; mode: 'publicKey' | 'certificate'; alipayRootCertPath?: Text; alipayPublicCertPath?: Text; appCertPath?: Text; endpoint?: String<128>; setting: 'userId' | 'openId'; callbackUrl?: Text; encryptKey?: Text; keyType: "PKCS1" | "PKCS8"; gateway?: Text; timeout?: Int<4>; wsServiceUrl?: Text; needEncrypt?: Boolean; } export type Action = 'pay' | 'refund' | 'withdrawTransfer' | 'compensate' | 'moveIn' | 'moveOut' | 'deposit' | 'tax'; export declare const entityDesc: EntityDesc;