Skip to main content

@dialstack/sdk-dev / js/src / CallSummaryParams

Type Alias: CallSummaryParams

TypeScript
type CallSummaryParams = Omit<CallListParams, "limit" | "page" | "expand"> & object;

Defined in: sdk/js/src/types/components.ts:302

Query parameters for calls.summary. The same filters as calls.list, so a summary describes exactly the calls the list would return; the window is required and spans at most 90 days.

Type Declaration​

from_date​

TypeScript
from_date: string;

granularity?​

TypeScript
granularity?: "hour" | "day";

Adds a time_series of calendar hours or days; hour spans at most 7 days.

time_zone?​

TypeScript
time_zone?: string;

IANA time zone the buckets follow, such as America/Toronto. Defaults to UTC.

to_date​

TypeScript
to_date: string;