* feat: add hosted billing gate and backlinks metering * refine hosted billing onboarding flow * fix: align Autumn credit billing flows * refactor: simplify Autumn billing flow * refactor: narrow backlinks billing context * refactor: require billing identity for backlinks profiles * refactor: colocate backlinks billing flow * clean * refactor: centralize DataForSEO billing client * refactor: simplify dataforseo billing flow * chore: fix ci check lint issues * fix: stabilize backlinks chart sizing Measure chart container width before rendering the backlinks charts so Recharts does not mount at 0x0 inside responsive layouts. * docs: document hosted DataForSEO metering Capture the Autumn credit model and require hosted code to go through the metered client path so provider usage is harder to bypass. * fix: enforce hosted billing access checks * fix: preserve hosted billing subscription access * fix: handle hosted billing UI failures
11 lines
198 B
TypeScript
11 lines
198 B
TypeScript
export type DataforseoApiCallCost = {
|
|
path: string[];
|
|
costUsd: number;
|
|
resultCount: number | null;
|
|
};
|
|
|
|
export type DataforseoApiResponse<T> = {
|
|
data: T;
|
|
billing: DataforseoApiCallCost;
|
|
};
|