2021-01-14 21:33:10 +00:00
|
|
|
// License: LGPL-3.0-or-later
|
|
|
|
import type { IdType, HoudiniObject } from '../../common';
|
|
|
|
import type Nonprofit from '../';
|
2021-01-19 22:51:07 +00:00
|
|
|
import type { SupporterAddress } from './SupporterAddress';
|
2021-01-14 21:33:10 +00:00
|
|
|
|
|
|
|
export default interface Supporter extends HoudiniObject {
|
2021-01-19 22:51:07 +00:00
|
|
|
anonymous: boolean;
|
2021-01-14 21:33:10 +00:00
|
|
|
deleted: boolean;
|
|
|
|
email: string;
|
2021-01-19 22:51:07 +00:00
|
|
|
merged_into: IdType | Supporter | null;
|
2021-01-14 21:33:10 +00:00
|
|
|
name: string;
|
|
|
|
nonprofit: IdType | Nonprofit;
|
|
|
|
object: "supporter";
|
|
|
|
organization: string;
|
2021-01-19 22:51:07 +00:00
|
|
|
phone: string;
|
|
|
|
supporter_addresses: IdType[] | SupporterAddress[];
|
2021-01-14 21:33:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export * from './SupporterNote';
|
2021-01-19 22:51:07 +00:00
|
|
|
export * from './SupporterAddress';
|