UNPKG

@microsoft/msgraph-beta-sdk-solutions

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