2021-04-07 21:43:58 +00:00
|
|
|
// License: LGPL-3.0-or-later
|
|
|
|
import type { HoudiniEvent } from "../../../common";
|
|
|
|
import type { CommonOfflineTransactionPayment } from '.';
|
2021-05-05 22:11:35 +00:00
|
|
|
import type { PaymentAsId } from "..";
|
2021-04-07 21:43:58 +00:00
|
|
|
|
2021-05-05 22:11:35 +00:00
|
|
|
export interface RefundAsId extends PaymentAsId {
|
2021-04-07 21:43:58 +00:00
|
|
|
object: 'offline_transaction_refund';
|
|
|
|
}
|
|
|
|
|
2021-05-05 22:11:35 +00:00
|
|
|
export type Refund = CommonOfflineTransactionPayment & RefundAsId;
|
|
|
|
|
2021-04-07 21:43:58 +00:00
|
|
|
export type RefundCreated = HoudiniEvent<'offline_transaction_refund.created', Refund>;
|
|
|
|
export type RefundUpdated = HoudiniEvent<'offline_transaction_refund.updated', Refund>;
|
|
|
|
export type RefundDeleted = HoudiniEvent<'offline_transaction_refund.deleted', Refund>;
|