import type * as Whop from "../../../../index.mjs"; /** * @example * {} */ export interface CreatePlansRequest { account_id?: string; adaptive_pricing_enabled?: boolean | null; allow_multiple_quantity?: boolean; attributes?: Record | null; billing_period?: number | null; billing_type?: string; cancel_discount_intervals?: number | null; cancel_discount_percentage?: number | null; checkout_styling?: Record | null; currency?: string; custom_fields?: CreatePlansRequest.CustomFields.Item[] | null; description?: string | null; expiration_days?: number | null; image?: CreatePlansRequest.Image | null; initial_price?: number | null; internal_notes?: string | null; metadata?: Record | null; offer_cancel_discount?: boolean | null; override_tax_type?: string; payment_method_configuration?: CreatePlansRequest.PaymentMethodConfiguration | null; product_id?: string; release_method?: string; renewal_price?: number | null; sku?: string | null; split_pay_required_payments?: number | null; stock?: number | null; three_ds_level?: CreatePlansRequest.ThreeDsLevel | null; title?: string | null; trial_period_days?: number | null; unlimited_stock?: boolean | null; visibility?: string; } export declare namespace CreatePlansRequest { type CustomFields = CustomFields.Item[]; namespace CustomFields { interface Item { field_type?: Item.FieldType | undefined; id?: string | undefined; name?: string | undefined; order?: number | undefined; placeholder?: (string | null) | undefined; required?: boolean | undefined; } namespace Item { const FieldType: { readonly Text: "text"; }; type FieldType = (typeof FieldType)[keyof typeof FieldType]; } } interface Image { direct_upload_id?: string | undefined; id?: string | undefined; } interface PaymentMethodConfiguration { disabled?: Whop.PaymentMethodTypes[] | undefined; enabled?: Whop.PaymentMethodTypes[] | undefined; include_platform_defaults?: boolean | undefined; } const ThreeDsLevel: { readonly MandateChallenge: "mandate_challenge"; readonly MandateIfRequired: "mandate_if_required"; readonly FrictionlessIfRequired: "frictionless_if_required"; }; type ThreeDsLevel = (typeof ThreeDsLevel)[keyof typeof ThreeDsLevel]; }