import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {StatisticsGetResponse_ThreatsBlockedChart} */ export declare function createStatisticsGetResponse_ThreatsBlockedChartFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {StatisticsGetResponse_ThreatsCheckedChart} */ export declare function createStatisticsGetResponse_ThreatsCheckedChartFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {StatisticsGetResponse} */ export declare function createStatisticsGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoStatisticsGetResponse(statisticsGetResponse?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoStatisticsGetResponse_ThreatsBlockedChart(statisticsGetResponse_ThreatsBlockedChart?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoStatisticsGetResponse_ThreatsCheckedChart(statisticsGetResponse_ThreatsCheckedChart?: Partial | undefined): Record void>; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeStatisticsGetResponse(writer: SerializationWriter, statisticsGetResponse?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeStatisticsGetResponse_ThreatsBlockedChart(writer: SerializationWriter, statisticsGetResponse_ThreatsBlockedChart?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeStatisticsGetResponse_ThreatsCheckedChart(writer: SerializationWriter, statisticsGetResponse_ThreatsCheckedChart?: Partial | undefined | null): void; export interface StatisticsGetResponse extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The ThreatsBlockedChart property */ threatsBlockedChart?: StatisticsGetResponse_ThreatsBlockedChart | null; /** * The ThreatsCheckedChart property */ threatsCheckedChart?: StatisticsGetResponse_ThreatsCheckedChart | null; /** * The TotalBlockedRequests property */ totalBlockedRequests?: number | null; /** * The TotalCheckedRequests property */ totalCheckedRequests?: number | null; } export interface StatisticsGetResponse_ThreatsBlockedChart extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; } export interface StatisticsGetResponse_ThreatsCheckedChart extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; } /** * Builds and executes requests for operations under /pullzone/{-id}/waf/statistics */ export interface StatisticsRequestBuilder extends BaseRequestBuilder { /** * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } export interface StatisticsRequestBuilderGetQueryParameters { /** * The start date of the statistics. If no value is passed, the last 30 days will be returned. */ dateFrom?: Date; /** * The end date of the statistics. If no value is passed, the last 30 days will be returned. */ dateTo?: Date; /** * If true, the statistics data will be returned in hourly grouping. */ hourly?: boolean; } /** * Uri template for the request builder. */ export declare const StatisticsRequestBuilderUriTemplate = "{+baseurl}/pullzone/{%2Did}/waf/statistics{?dateFrom,dateTo,hourly}"; /** * Metadata for all the requests in the request builder. */ export declare const StatisticsRequestBuilderRequestsMetadata: RequestsMetadata;