import { appendOnlyActions as actions } from "oak-domain/lib/actions/action"; export const desc = { attributes: { delta: { notNull: true, type: "money" }, type: { notNull: true, type: "enum", enumeration: ["pay", "refund", "withdrawTransfer", "compensate", "moveIn", "moveOut"] }, entity: { notNull: true, type: "varchar", params: { length: 32 }, ref: ["apAccount", "offlineAccount", "wpAccount"] }, entityId: { notNull: true, type: "varchar", params: { length: 64 } }, payId: { type: "ref", ref: "pay" }, refundId: { type: "ref", ref: "refund" }, withdrawTransferId: { type: "ref", ref: "withdrawTransfer" }, sysAccountMoveId: { type: "ref", ref: "sysAccountMove" } }, actionType: "appendOnly", actions };