UNPKG

@microsoft/msgraph-beta-sdk-solutions

Version:
78 lines 4.23 kB
import { type SharePointRoot } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type MigrationsRequestBuilder } from './migrations/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the sharePoint property of the microsoft.graph.solutionsRoot entity. */ export interface SharePointRequestBuilder extends BaseRequestBuilder<SharePointRequestBuilder> { /** * Provides operations to manage the migrations property of the microsoft.graph.sharePointRoot entity. */ get migrations(): MigrationsRequestBuilder; /** * Delete navigation property sharePoint for solutions * @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>; /** * Container for SharePoint resources that include cross-organization migration operations. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<SharePointRoot>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<SharePointRequestBuilderGetQueryParameters> | undefined): Promise<SharePointRoot | undefined>; /** * Update the navigation property sharePoint in solutions * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<SharePointRoot>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: SharePointRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SharePointRoot | undefined>; /** * Delete navigation property sharePoint for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Container for SharePoint resources that include cross-organization migration operations. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SharePointRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property sharePoint in solutions * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: SharePointRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Container for SharePoint resources that include cross-organization migration operations. */ export interface SharePointRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const SharePointRequestBuilderUriTemplate = "{+baseurl}/solutions/sharePoint{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const SharePointRequestBuilderNavigationMetadata: Record<Exclude<keyof SharePointRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const SharePointRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map