UNPKG

@microsoft/msgraph-beta-sdk-groups

Version:
49 lines 2.09 kB
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to count the resources in the collection. */ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> { /** * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<number>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>; /** * Get the number of the resource * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Get the number of the resource */ export interface CountRequestBuilderGetQueryParameters { /** * The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 */ endDateTime?: string; /** * Filter items by property values */ filter?: string; /** * Search items by search phrases */ search?: string; /** * The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ startDateTime?: string; } /** * Uri template for the request builder. */ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/calendarView/$count?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24filter,%24search}"; /** * Metadata for all the requests in the request builder. */ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map