import { IIamportSubscription } from "iamport-server-api/lib/structures/IIamportSubscription"; import { ITossBilling } from "toss-payments-server-api/lib/structures/ITossBilling"; import { tags } from "typia"; import { IPaymentSource } from "./IPaymentSource"; import { IPaymentVendor } from "./IPaymentVendor"; export type IPaymentReservation = IPaymentReservation.IamportType | IPaymentReservation.TossType; export declare namespace IPaymentReservation { type IamportType = BaseType<"iamport", IIamportSubscription>; type TossType = BaseType<"toss.payments", ITossBilling>; interface BaseType { id: string & tags.Format<"uuid">; vendor_code: VendorCode; vendor: IPaymentVendor; source: IPaymentSource; title: string; data: Data; created_at: string & tags.Format<"date-time">; } interface IStore { vendor: IPaymentVendor; source: IPaymentSource; title: string; password: string; } }