UNPKG

@microsoft/msgraph-beta-sdk-communications

Version:
89 lines 5.04 kB
import { type CallRecord } from '@microsoft/msgraph-beta-sdk/models/callRecords/index.js'; import { type Organizer_v2RequestBuilder } from './organizer_v2/index.js'; import { type Participants_v2RequestBuilder } from './participants_v2/index.js'; import { type SessionsRequestBuilder } from './sessions/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity. */ export interface CallRecordItemRequestBuilder extends BaseRequestBuilder<CallRecordItemRequestBuilder> { /** * Provides operations to manage the organizer_v2 property of the microsoft.graph.callRecords.callRecord entity. */ get organizer_v2(): Organizer_v2RequestBuilder; /** * Provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity. */ get participants_v2(): Participants_v2RequestBuilder; /** * Provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity. */ get sessions(): SessionsRequestBuilder; /** * Delete navigation property callRecords 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>; /** * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CallRecord>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/callrecords-callrecord-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<CallRecordItemRequestBuilderGetQueryParameters> | undefined): Promise<CallRecord | undefined>; /** * Update the navigation property callRecords in communications * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CallRecord>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: CallRecord, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CallRecord | undefined>; /** * Delete navigation property callRecords for communications * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CallRecordItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property callRecords 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: CallRecord, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: */ export interface CallRecordItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const CallRecordItemRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const CallRecordItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CallRecordItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const CallRecordItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map