UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
43 lines 2.43 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 * @deprecated The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 */ 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} * @deprecated The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Get the number of the resource */ export interface CountRequestBuilderGetQueryParameters { /** * Filter items by property values */ filter?: string; /** * Search items by search phrases */ search?: string; } /** * Uri template for the request builder. */ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/outlook/taskGroups/$count{?%24filter,%24search}"; /** * Metadata for all the requests in the request builder. */ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map