houdini/docs/event_definitions/Nonprofit/Campaign/CampaignGiftPurchase.ts

23 lines
943 B
TypeScript
Raw Normal View History

// License: LGPL-3.0-or-later
2021-02-22 19:01:34 +00:00
import type { HouID, HoudiniObject, HoudiniEvent, Amount, IDType} from '../../common';
import type Nonprofit from '..';
import type Campaign from '.';
import type { CampaignGift } from '.';
import Supporter from '../Supporter';
import { Transaction } from '../Supporter';
export interface CampaignGiftPurchase extends HoudiniObject<HouID> {
amount: Amount;
2021-02-22 19:01:34 +00:00
campaign: IDType | Campaign;
campaign_gifts: HouID[] | CampaignGift[];
2021-02-22 19:01:34 +00:00
nonprofit: IDType | Nonprofit;
object: 'campaign_gift_purchase';
2021-02-22 19:01:34 +00:00
supporter: IDType | Supporter;
transaction: HouID | Transaction;
}
2021-02-08 22:33:19 +00:00
export type CampaignGiftPurchaseCreated = HoudiniEvent<'campaign_gift_purchase.created', CampaignGiftPurchase>;
export type CampaignGiftPurchaseUpdated = HoudiniEvent<'campaign_gift_purchase.updated', CampaignGiftPurchase>;
export type CampaignGiftPurchaseDeleted = HoudiniEvent<'campaign_gift_purchase.deleted', CampaignGiftPurchase>;