UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
78 lines 4.21 kB
import { type UserCloudCommunication } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type CallSettingsRequestBuilder } from './callSettings/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the communications property of the microsoft.graph.user entity. */ export interface CommunicationsRequestBuilder extends BaseRequestBuilder<CommunicationsRequestBuilder> { /** * Provides operations to manage the callSettings property of the microsoft.graph.userCloudCommunication entity. */ get callSettings(): CallSettingsRequestBuilder; /** * Delete navigation property communications for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * The user's communications settings on Teams. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<UserCloudCommunication>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<CommunicationsRequestBuilderGetQueryParameters> | undefined): Promise<UserCloudCommunication | undefined>; /** * Update the navigation property communications in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<UserCloudCommunication>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: UserCloudCommunication, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UserCloudCommunication | undefined>; /** * Delete navigation property communications for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * The user's communications settings on Teams. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CommunicationsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property communications in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: UserCloudCommunication, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The user's communications settings on Teams. */ export interface CommunicationsRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const CommunicationsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/communications{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const CommunicationsRequestBuilderNavigationMetadata: Record<Exclude<keyof CommunicationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const CommunicationsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map