@vercel/sdk
Version:
<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>
36 lines • 2.05 kB
TypeScript
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
import { AggregateEventsRequest, AggregateEventsResponseBody } from "../models/aggregateeventsop.js";
import { AggregatePageviewsRequest, AggregatePageviewsResponseBody } from "../models/aggregatepageviewsop.js";
import { CountEventsRequest, CountEventsResponseBody } from "../models/counteventsop.js";
import { CountPageviewsRequest, CountPageviewsResponseBody } from "../models/countpageviewsop.js";
export declare class WebAnalytics extends ClientSDK {
/**
* Aggregates page views
*
* @remarks
* Counts pageviews on a project, within the requested date range. Results are either aggregated or broken down over time. Results can additionally be broken down by one dimension, and filtered by multiple dimensions.
*/
aggregatePageviews(request: AggregatePageviewsRequest, options?: RequestOptions): Promise<AggregatePageviewsResponseBody>;
/**
* Aggregates custom events
*
* @remarks
* Counts custom events on a project, within the requested date range. Results are either aggregated or broken down over time. Results can additionally be broken down by one dimension, and filtered by multiple dimensions.
*/
aggregateEvents(request: AggregateEventsRequest, options?: RequestOptions): Promise<AggregateEventsResponseBody>;
/**
* Counts page views
*
* @remarks
* Counts the number of page views on a project (production only), since Web Analytics was enabled. Results can be filtered on supported dimensions.
*/
countPageviews(request: CountPageviewsRequest, options?: RequestOptions): Promise<CountPageviewsResponseBody>;
/**
* Counts custom events
*
* @remarks
* Counts the number of custom events on a project (production only), since Web Analytics was enabled. Results can be filtered on supported dimensions.
*/
countEvents(request: CountEventsRequest, options?: RequestOptions): Promise<CountEventsResponseBody>;
}
//# sourceMappingURL=webanalytics.d.ts.map