fb / lib /api-client-react /dist /generated /api.schemas.d.ts
sare26's picture
Upload 83 files
312c2e2 verified
Raw
History Blame Contribute Delete
1.58 kB
/**
* 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