UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
97 lines 5.73 kB
import { type Mailbox } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type CreateImportSessionRequestBuilder } from './createImportSession/index.js'; import { type ExportItemsRequestBuilder } from './exportItems/index.js'; import { type FoldersRequestBuilder } from './folders/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the mailboxes property of the microsoft.graph.exchangeAdmin entity. */ export interface MailboxItemRequestBuilder extends BaseRequestBuilder<MailboxItemRequestBuilder> { /** * Provides operations to call the createImportSession method. * @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 createImportSession(): CreateImportSessionRequestBuilder; /** * Provides operations to call the exportItems method. * @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 exportItems(): ExportItemsRequestBuilder; /** * Provides operations to manage the folders property of the microsoft.graph.mailbox 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 folders(): FoldersRequestBuilder; /** * Delete navigation property mailboxes 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>; /** * Represents a user's mailboxes. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Mailbox>} * @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<MailboxItemRequestBuilderGetQueryParameters> | undefined): Promise<Mailbox | undefined>; /** * Update the navigation property mailboxes in admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Mailbox>} * @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: Mailbox, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Mailbox | undefined>; /** * Delete navigation property mailboxes 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; /** * Represents a user's mailboxes. * @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<MailboxItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property mailboxes 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: Mailbox, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Represents a user's mailboxes. */ export interface MailboxItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const MailboxItemRequestBuilderUriTemplate = "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const MailboxItemRequestBuilderNavigationMetadata: Record<Exclude<keyof MailboxItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const MailboxItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map