@microsoft/msgraph-beta-sdk-directory
Version:
Directory fluent API for Microsoft Graph
84 lines • 4.86 kB
TypeScript
import { type InboundSharedUserProfile } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type ExportPersonalDataRequestBuilder } from './exportPersonalData/index.js';
import { type RemovePersonalDataRequestBuilder } from './removePersonalData/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the inboundSharedUserProfiles property of the microsoft.graph.directory entity.
*/
export interface InboundSharedUserProfileUserItemRequestBuilder extends BaseRequestBuilder<InboundSharedUserProfileUserItemRequestBuilder> {
/**
* Provides operations to call the exportPersonalData method.
*/
get exportPersonalData(): ExportPersonalDataRequestBuilder;
/**
* Provides operations to call the removePersonalData method.
*/
get removePersonalData(): RemovePersonalDataRequestBuilder;
/**
* Delete navigation property inboundSharedUserProfiles for directory
* @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>;
/**
* Read the properties of an inboundSharedUserProfile.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<InboundSharedUserProfile>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/inboundshareduserprofile-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<InboundSharedUserProfileUserItemRequestBuilderGetQueryParameters> | undefined): Promise<InboundSharedUserProfile | undefined>;
/**
* Update the navigation property inboundSharedUserProfiles in directory
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<InboundSharedUserProfile>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: InboundSharedUserProfile, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<InboundSharedUserProfile | undefined>;
/**
* Delete navigation property inboundSharedUserProfiles for directory
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Read the properties of an inboundSharedUserProfile.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<InboundSharedUserProfileUserItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property inboundSharedUserProfiles in directory
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: InboundSharedUserProfile, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties of an inboundSharedUserProfile.
*/
export interface InboundSharedUserProfileUserItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const InboundSharedUserProfileUserItemRequestBuilderUriTemplate = "{+baseurl}/directory/inboundSharedUserProfiles/{inboundSharedUserProfile%2DuserId}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const InboundSharedUserProfileUserItemRequestBuilderNavigationMetadata: Record<Exclude<keyof InboundSharedUserProfileUserItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const InboundSharedUserProfileUserItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map