Add shell for Stripe Dispute

This commit is contained in:
Eric Schultz 2021-05-13 14:22:15 -05:00 committed by Eric Schultz
parent 064cf90263
commit dbcfa38696
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,14 @@
// License: LGPL-3.0-or-later
import type { HoudiniEvent } from "../../../common";
import type { CommonStripeTransactionPayment } from '.';
import type { PaymentAsId } from "..";
export interface DisputeAsId extends PaymentAsId {
object: 'stripe_transaction_dispute';
}
export type Dispute = CommonStripeTransactionPayment & DisputeAsId;
export type DisputeCreated = HoudiniEvent<'stripe_transaction_dispute.created', Dispute>;
export type DisputeUpdated = HoudiniEvent<'stripe_transaction_dispute.updated', Dispute>;
export type DisputeDeleted = HoudiniEvent<'stripe_transaction_dispute.deleted', Dispute>;

View file

@ -18,3 +18,4 @@ export type StripeTransactionDisputed = HoudiniEvent<'stripe_transaction.dispute
export type StripeTransactionDeleted = HoudiniEvent<'stripe_transaction.deleted', StripeTransaction>; export type StripeTransactionDeleted = HoudiniEvent<'stripe_transaction.deleted', StripeTransaction>;
export * from './Charge'; export * from './Charge';
export * from './Dispute';