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