/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Space Invoices API * REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking. * OpenAPI spec version: 1.0.0 */ import * as zod from "zod"; /** * Returns the current entity subscription with plan details and usage stats. Requires entity context. * @summary Get current subscription */ export declare const GetCurrentWLSubscriptionResponse: zod.ZodObject<{ plan: zod.ZodObject<{ id: zod.ZodString; slug: zod.ZodString; name: zod.ZodString; billing_interval: zod.ZodNullable; base_price_cents: zod.ZodNullable; limits: zod.ZodNullable; invoices_per_month: zod.ZodNullable; overage_price_cents: zod.ZodNullable; annual_price_cents: zod.ZodNullable; included_store_count: zod.ZodNullable; extra_store_price_cents: zod.ZodNullable; extra_store_annual_price_cents: zod.ZodNullable; extra_store_invoices_per_month: zod.ZodNullable; }, zod.z.core.$strip>>; features: zod.ZodArray; is_free: zod.ZodBoolean; display_order: zod.ZodNumber; }, zod.z.core.$strip>; status: zod.ZodString; billing_interval: zod.ZodNullable; current_period_start: zod.ZodString; current_period_end: zod.ZodString; payment_provider: zod.ZodEnum<{ paypal: "paypal"; stripe: "stripe"; bank: "bank"; braintree: "braintree"; }>; bank_reference: zod.ZodNullable; billing_email: zod.ZodNullable; coupon_code: zod.ZodNullable; trial_ends_at: zod.ZodNullable; trial_days_remaining: zod.ZodNullable; cancel_at: zod.ZodNullable; scheduled_change: zod.ZodNullable; base_price_cents: zod.ZodNullable; limits: zod.ZodNullable; invoices_per_month: zod.ZodNullable; overage_price_cents: zod.ZodNullable; annual_price_cents: zod.ZodNullable; included_store_count: zod.ZodNullable; extra_store_price_cents: zod.ZodNullable; extra_store_annual_price_cents: zod.ZodNullable; extra_store_invoices_per_month: zod.ZodNullable; }, zod.z.core.$strip>>; features: zod.ZodArray; is_free: zod.ZodBoolean; display_order: zod.ZodNumber; }, zod.z.core.$strip>; billing_interval: zod.ZodNullable; effective_at: zod.ZodString; }, zod.z.core.$strip>>; payment_method: zod.ZodNullable; brand: zod.ZodNullable; has_card: zod.ZodBoolean; }, zod.z.core.$strip>>; store_billing: zod.ZodNullable; extra_store_price_cents_yearly: zod.ZodNullable; }, zod.z.core.$strip>>; usage: zod.ZodObject<{ documents_count: zod.ZodNumber; documents_limit: zod.ZodNullable; invoices_count: zod.ZodNumber; invoices_limit: zod.ZodNullable; period_start: zod.ZodString; period_end: zod.ZodString; }, zod.z.core.$strip>; }, zod.z.core.$strip>; /** * Returns available subscription plans for the current white-label. * @summary Get available plans */ export declare const GetWLSubscriptionPlansResponse: zod.ZodObject<{ plans: zod.ZodArray; base_price_cents: zod.ZodNullable; limits: zod.ZodNullable; invoices_per_month: zod.ZodNullable; overage_price_cents: zod.ZodNullable; annual_price_cents: zod.ZodNullable; included_store_count: zod.ZodNullable; extra_store_price_cents: zod.ZodNullable; extra_store_annual_price_cents: zod.ZodNullable; extra_store_invoices_per_month: zod.ZodNullable; }, zod.z.core.$strip>>; features: zod.ZodArray; is_free: zod.ZodBoolean; display_order: zod.ZodNumber; }, zod.z.core.$strip>>; current_plan_slug: zod.ZodNullable; }, zod.z.core.$strip>; /** * Checks if a specific feature is available on the current subscription plan. * @summary Check feature access */ export declare const CheckWLFeatureParams: zod.ZodObject<{ feature: zod.ZodString; }, zod.z.core.$strip>; export declare const CheckWLFeatureResponse: zod.ZodObject<{ feature: zod.ZodString; allowed: zod.ZodBoolean; requires_upgrade: zod.ZodBoolean; upgrade_plan_slug: zod.ZodNullable; }, zod.z.core.$strip>; /** * Checks if the current usage allows creating more of a resource type. * @summary Check resource limit */ export declare const CheckWLLimitParams: zod.ZodObject<{ resource: zod.ZodString; }, zod.z.core.$strip>; export declare const CheckWLLimitResponse: zod.ZodObject<{ resource: zod.ZodString; allowed: zod.ZodBoolean; usage: zod.ZodNumber; limit: zod.ZodNullable; percentage: zod.ZodNumber; }, zod.z.core.$strip>; /** * Updates the billing email used for white-label subscription notifications and invoices. * @summary Update billing email */ export declare const UpdateWLSubscriptionBillingEmailBody: zod.ZodObject<{ billing_email: zod.ZodNullable; }, zod.z.core.$strip>; export declare const UpdateWLSubscriptionBillingEmailResponse: zod.ZodObject<{ billing_email: zod.ZodNullable; }, zod.z.core.$strip>; //# sourceMappingURL=white-label-subscriptions.d.ts.map