2021-01-19 22:51:07 +00:00
|
|
|
// License: LGPL-3.0-or-later
|
2021-02-10 22:04:05 +00:00
|
|
|
import type { IDType, HoudiniObject, HoudiniEvent } from '../../common';
|
2021-01-19 22:51:07 +00:00
|
|
|
import type Nonprofit from '..';
|
|
|
|
import type Supporter from '.';
|
|
|
|
|
|
|
|
export interface SupporterAddress extends HoudiniObject {
|
|
|
|
address: string;
|
|
|
|
city: string;
|
|
|
|
country: string;
|
|
|
|
deleted: boolean;
|
2021-02-10 22:04:05 +00:00
|
|
|
nonprofit: IDType | Nonprofit;
|
2021-01-19 22:51:07 +00:00
|
|
|
object: "supporter_address";
|
|
|
|
state_code: string;
|
2021-02-10 22:04:05 +00:00
|
|
|
supporter: IDType | Supporter;
|
2021-01-19 22:51:07 +00:00
|
|
|
zip_code: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export type SupporterAddressCreated = HoudiniEvent<'supporter_address.created', SupporterAddress>;
|
|
|
|
export type SupporterAddressUpdated = HoudiniEvent<'supporter_address.updated', SupporterAddress>;
|
|
|
|
export type SupporterAddressDeleted = HoudiniEvent<'supporter_address.deleted', SupporterAddress>;
|