UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
43 lines 2.12 kB
import { type DirectoryObject } 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 invitedBy property of the microsoft.graph.user entity. */ export interface InvitedByRequestBuilder extends BaseRequestBuilder<InvitedByRequestBuilder> { /** * Get the user or servicePrincipal that invited the specified user into the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DirectoryObject>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/user-list-invitedby?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<InvitedByRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObject | undefined>; /** * Get the user or servicePrincipal that invited the specified user into the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<InvitedByRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Get the user or servicePrincipal that invited the specified user into the tenant. */ export interface InvitedByRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const InvitedByRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/invitedBy{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const InvitedByRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map