19 lines
695 B
TypeScript
19 lines
695 B
TypeScript
import { Boolean, Decimal } from 'oak-domain/lib/types/DataType';
|
|
import { EntityShape } from 'oak-domain/lib/types/Entity';
|
|
import { EntityDesc } from 'oak-domain/lib/types';
|
|
import { Schema as WpAccount } from './WpAccount';
|
|
import { Schema as Application } from 'oak-general-business/lib/entities/Application';
|
|
import { Schema as Pay } from './Pay';
|
|
export interface Schema extends EntityShape {
|
|
wpAccount: WpAccount;
|
|
type: 'native' | 'mp' | 'jsapi' | 'h5' | 'app';
|
|
taxLossRatio?: Decimal<4, 2>;
|
|
application: Application;
|
|
enabled: Boolean;
|
|
pays: Pay[];
|
|
direct: Boolean;
|
|
}
|
|
export declare const entityDesc: EntityDesc<Schema, '', '', {
|
|
type: Schema['type'];
|
|
}>;
|