import type { SupportedCurrencies } from './Contract'; export type PayInState = 'to_assign' | 'assigned' | 'deleted'; export type PayIn = { amount: string; createdAt: string; currency: SupportedCurrencies; deletedAt: string | null; deleteReasonComment: string | null; email: string | null; happenedAt: string | null; id: string; label: string; source: 'bridge' | 'flywire' | 'powens' | 'stripe' | 'stripe_imprint'; sourceId: string; state: PayInState; updatedAt: string; }; export type PayInAssign = { payInId: string; params: { pay_in: { state: PayInState; contracts_attributes: Record; }>; }; }; };