UNPKG

@microsoft/msgraph-sdk-communications

Version:
83 lines 4.34 kB
import { type AdhocCall } from '@microsoft/msgraph-sdk/models/index.js'; import { type RecordingsRequestBuilder } from './recordings/index.js'; import { type TranscriptsRequestBuilder } from './transcripts/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. */ export interface AdhocCallItemRequestBuilder extends BaseRequestBuilder<AdhocCallItemRequestBuilder> { /** * Provides operations to manage the recordings property of the microsoft.graph.adhocCall entity. */ get recordings(): RecordingsRequestBuilder; /** * Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. */ get transcripts(): TranscriptsRequestBuilder; /** * Delete navigation property adhocCalls for communications * @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>; /** * Get adhocCalls from communications * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AdhocCall>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<AdhocCallItemRequestBuilderGetQueryParameters> | undefined): Promise<AdhocCall | undefined>; /** * Update the navigation property adhocCalls in communications * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AdhocCall>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: AdhocCall, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AdhocCall | undefined>; /** * Delete navigation property adhocCalls for communications * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Get adhocCalls from communications * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AdhocCallItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property adhocCalls in communications * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: AdhocCall, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get adhocCalls from communications */ export interface AdhocCallItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const AdhocCallItemRequestBuilderUriTemplate = "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const AdhocCallItemRequestBuilderNavigationMetadata: Record<Exclude<keyof AdhocCallItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const AdhocCallItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map