houdini/docs/event_definitions/Nonprofit/Supporter/index.ts
Eric Schultz 2e8821efdf Initial Transaction and OfflineTransaction support
Co-authored-by: Clarissa Lima Borges <clarissa@commitchange.com>
2021-04-13 10:47:37 -05:00

24 lines
842 B
TypeScript

// License: LGPL-3.0-or-later
import type { IDType, HoudiniObject, HoudiniEvent } from '../../common';
import type Nonprofit from '../';
import type { SupporterAddress } from './SupporterAddress';
export default interface Supporter extends HoudiniObject {
addresses: IDType[] | SupporterAddress[];
anonymous: boolean;
deleted: boolean;
email: string;
merged_into: IDType | Supporter | null;
name: string;
nonprofit: IDType | Nonprofit;
object: "supporter";
organization: string;
phone: string;
}
export type SupporterCreated = HoudiniEvent<'supporter_address.created', Supporter>;
export type SupporterUpdated = HoudiniEvent<'supporter_address.updated', Supporter>;
export type SupporterDeleted = HoudiniEvent<'supporter_address.deleted', Supporter>;
export * from './SupporterNote';
export * from './SupporterAddress';