houdini/docs/event_definitions/Nonprofit/Supporter/index.ts

26 lines
883 B
TypeScript
Raw Normal View History

// 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 {
anonymous: boolean;
deleted: boolean;
email: string;
merged_into: IdType | Supporter | null;
name: string;
nonprofit: IdType | Nonprofit;
object: "supporter";
organization: string;
phone: string;
supporter_addresses: IdType[] | SupporterAddress[];
}
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';
2021-02-02 21:04:53 +00:00
export * from './Transaction';