@microsoft/msgraph-beta-sdk-communications
Version:
Communications fluent API for Microsoft Graph
108 lines • 5.71 kB
TypeScript
import { type CloudCommunications } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type AdhocCallsRequestBuilder } from './adhocCalls/index.js';
import { type CallRecordsRequestBuilder } from './callRecords/index.js';
import { type CallsRequestBuilder } from './calls/index.js';
import { type GetAllOnlineMeetingMessagesRequestBuilder } from './getAllOnlineMeetingMessages/index.js';
import { type GetPresencesByUserIdRequestBuilder } from './getPresencesByUserId/index.js';
import { type OnlineMeetingConversationsRequestBuilder } from './onlineMeetingConversations/index.js';
import { type OnlineMeetingsRequestBuilder } from './onlineMeetings/index.js';
import { type OnlineMeetingsWithJoinWebUrlRequestBuilder } from './onlineMeetingsWithJoinWebUrl/index.js';
import { type PresencesRequestBuilder } from './presences/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the cloudCommunications singleton.
*/
export interface CommunicationsRequestBuilder extends BaseRequestBuilder<CommunicationsRequestBuilder> {
/**
* Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity.
*/
get adhocCalls(): AdhocCallsRequestBuilder;
/**
* Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.
*/
get callRecords(): CallRecordsRequestBuilder;
/**
* Provides operations to manage the calls property of the microsoft.graph.cloudCommunications entity.
*/
get calls(): CallsRequestBuilder;
/**
* Provides operations to call the getAllOnlineMeetingMessages method.
*/
get getAllOnlineMeetingMessages(): GetAllOnlineMeetingMessagesRequestBuilder;
/**
* Provides operations to call the getPresencesByUserId method.
*/
get getPresencesByUserId(): GetPresencesByUserIdRequestBuilder;
/**
* Provides operations to manage the onlineMeetingConversations property of the microsoft.graph.cloudCommunications entity.
*/
get onlineMeetingConversations(): OnlineMeetingConversationsRequestBuilder;
/**
* Provides operations to manage the onlineMeetings property of the microsoft.graph.cloudCommunications entity.
*/
get onlineMeetings(): OnlineMeetingsRequestBuilder;
/**
* Provides operations to manage the presences property of the microsoft.graph.cloudCommunications entity.
*/
get presences(): PresencesRequestBuilder;
/**
* Get communications
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CloudCommunications>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<CommunicationsRequestBuilderGetQueryParameters> | undefined): Promise<CloudCommunications | undefined>;
/**
* Provides operations to manage the onlineMeetings property of the microsoft.graph.cloudCommunications entity.
* @param joinWebUrl Alternate key of onlineMeeting
* @returns {OnlineMeetingsWithJoinWebUrlRequestBuilder}
*/
onlineMeetingsWithJoinWebUrl(joinWebUrl: string | undefined): OnlineMeetingsWithJoinWebUrlRequestBuilder;
/**
* Update communications
* @param body Represents a container that exposes navigation properties for cloud communications resources.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CloudCommunications>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: CloudCommunications, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudCommunications | undefined>;
/**
* Get communications
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CommunicationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update communications
* @param body Represents a container that exposes navigation properties for cloud communications resources.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: CloudCommunications, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get communications
*/
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}/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