UNPKG

reveal-sdk-node

Version:

RevealBI Node.js SDK

38 lines (37 loc) 1.02 kB
export declare class RVDateDashboardFilter { title: String | null; range: RVDateRange | null; filterType: RVDateFilterType; constructor(filterType: RVDateFilterType); constructor(filterType: RVDateFilterType, range: RVDateRange); constructor(title: String, filterType: RVDateFilterType); constructor(title: String, filterType: RVDateFilterType, range: RVDateRange); } export declare enum RVDateFilterType { AllTime = 0, CustomRange = 1, LastWeek = 2, LastMonth = 3, LastYear = 4, YearToDate = 5, QuarterToDate = 6, MonthToDate = 7, Yesterday = 8, Today = 9, ThisMonth = 10, ThisQuarter = 11, ThisYear = 12, PreviousMonth = 13, PreviousQuarter = 14, PreviousYear = 15, NextMonth = 16, NextQuarter = 17, NextYear = 18, TrailingTwelveMonths = 19, CustomRule = 20 } export declare class RVDateRange { from: Date; to: Date; constructor(from: Date, to: Date); }