UNPKG

@microsoft/msgraph-beta-sdk-solutions

Version:
70 lines 4.47 kB
import { type SharePointUserIdentityMapping } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the crossOrganizationUserMappings property of the microsoft.graph.sharePointMigrationsRoot entity. */ export interface SharePointUserIdentityMappingItemRequestBuilder extends BaseRequestBuilder<SharePointUserIdentityMappingItemRequestBuilder> { /** * Delete navigation property crossOrganizationUserMappings 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>; /** * Collection of user identity mappings for cross-organization migration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<SharePointUserIdentityMapping>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<SharePointUserIdentityMappingItemRequestBuilderGetQueryParameters> | undefined): Promise<SharePointUserIdentityMapping | undefined>; /** * Perform delta patch operations on user identity mappings for cross-organization migration. Supports bulk add, update, and delete operations in a single request. Maximum of 50 items allowed in the value array. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<SharePointUserIdentityMapping>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/sharepointuseridentitymapping-update?view=graph-rest-beta|Find more info here} */ patch(body: SharePointUserIdentityMapping, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SharePointUserIdentityMapping | undefined>; /** * Delete navigation property crossOrganizationUserMappings for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Collection of user identity mappings for cross-organization migration. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SharePointUserIdentityMappingItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Perform delta patch operations on user identity mappings for cross-organization migration. Supports bulk add, update, and delete operations in a single request. Maximum of 50 items allowed in the value array. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: SharePointUserIdentityMapping, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Collection of user identity mappings for cross-organization migration. */ export interface SharePointUserIdentityMappingItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const SharePointUserIdentityMappingItemRequestBuilderUriTemplate = "{+baseurl}/solutions/sharePoint/migrations/crossOrganizationUserMappings/{sharePointUserIdentityMapping%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const SharePointUserIdentityMappingItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map