revenuecat-api
Version:
Type-safe RevenueCat API client using fetch with automatic rate limiting
8 lines • 479 B
TypeScript
import createClient, { type ClientOptions } from "openapi-fetch";
import type { paths, components } from "./__generated/revenuecat-api-v2";
export type { paths, components };
export type CreateRevenueCatClientOptions = ClientOptions & {
automaticRateLimit?: boolean;
};
export declare function createRevenueCatClient(accessToken: string, options?: CreateRevenueCatClientOptions): createClient.PathBasedClient<paths, `${string}/${string}`>;
//# sourceMappingURL=index.d.ts.map