/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Api * API specification for FB Group Publisher PRO * OpenAPI spec version: 0.1.0 */ export interface HealthStatus { status: string; } export type SubscriptionStateStatus = (typeof SubscriptionStateStatus)[keyof typeof SubscriptionStateStatus]; export declare const SubscriptionStateStatus: { readonly none: "none"; readonly trialing: "trialing"; readonly active: "active"; readonly cancelled: "cancelled"; readonly suspended: "suspended"; readonly expired: "expired"; }; export interface SubscriptionState { status: SubscriptionStateStatus; /** @nullable */ trialEnd?: string | null; /** @nullable */ currentPeriodEnd?: string | null; /** @nullable */ paypalSubscriptionId?: string | null; hasAccess: boolean; } export interface MeResponse { userId: string; /** @nullable */ email?: string | null; subscription: SubscriptionState; } export interface CreateSubscriptionResponse { subscriptionId: string; approvalUrl: string; } export interface ActivateSubscriptionBody { subscriptionId: string; } export interface SavedList { id: number; name: string; groupIds: string[]; createdAt: string; } export type ListSavedListsResponse = SavedList[]; export interface CreateSavedListBody { /** * @minLength 1 * @maxLength 80 */ name: string; /** @minItems 1 */ groupIds: string[]; } export type PaypalWebhookBody = { [key: string]: unknown; }; //# sourceMappingURL=api.schemas.d.ts.map