UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
91 lines 5.49 kB
import { type ExchangeAdmin } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type MailboxesRequestBuilder } from './mailboxes/index.js'; import { type MessageTracesRequestBuilder } from './messageTraces/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the exchange property of the microsoft.graph.admin entity. */ export interface ExchangeRequestBuilder extends BaseRequestBuilder<ExchangeRequestBuilder> { /** * Provides operations to manage the mailboxes property of the microsoft.graph.exchangeAdmin entity. * @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 */ get mailboxes(): MailboxesRequestBuilder; /** * Provides operations to manage the messageTraces property of the microsoft.graph.exchangeAdmin entity. * @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 */ get messageTraces(): MessageTracesRequestBuilder; /** * Delete navigation property exchange for admin * @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 * @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * A container for the Exchange admin functionality. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ExchangeAdmin>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 */ get(requestConfiguration?: RequestConfiguration<ExchangeRequestBuilderGetQueryParameters> | undefined): Promise<ExchangeAdmin | undefined>; /** * Update the navigation property exchange in admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ExchangeAdmin>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 */ patch(body: ExchangeAdmin, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ExchangeAdmin | undefined>; /** * Delete navigation property exchange for admin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * A container for the Exchange admin functionality. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ExchangeRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property exchange in admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 */ toPatchRequestInformation(body: ExchangeAdmin, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * A container for the Exchange admin functionality. Read-only. */ export interface ExchangeRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ExchangeRequestBuilderUriTemplate = "{+baseurl}/admin/exchange{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const ExchangeRequestBuilderNavigationMetadata: Record<Exclude<keyof ExchangeRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const ExchangeRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map