File size: 1,584 Bytes
312c2e2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /**
* 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 |