UNPKG

@microsoft/msgraph-beta-sdk-directory

Version:
78 lines 4.5 kB
import { type AuthenticationMethodDevice } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type HardwareOathDevicesRequestBuilder } from './hardwareOathDevices/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the authenticationMethodDevices property of the microsoft.graph.directory entity. */ export interface AuthenticationMethodDevicesRequestBuilder extends BaseRequestBuilder<AuthenticationMethodDevicesRequestBuilder> { /** * Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. */ get hardwareOathDevices(): HardwareOathDevicesRequestBuilder; /** * Delete navigation property authenticationMethodDevices 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>; /** * Exposes the hardware OATH method in the directory. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AuthenticationMethodDevice>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<AuthenticationMethodDevicesRequestBuilderGetQueryParameters> | undefined): Promise<AuthenticationMethodDevice | undefined>; /** * Update the navigation property authenticationMethodDevices in directory * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AuthenticationMethodDevice>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: AuthenticationMethodDevice, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuthenticationMethodDevice | undefined>; /** * Delete navigation property authenticationMethodDevices for directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Exposes the hardware OATH method in the directory. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuthenticationMethodDevicesRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property authenticationMethodDevices 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: AuthenticationMethodDevice, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Exposes the hardware OATH method in the directory. */ export interface AuthenticationMethodDevicesRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const AuthenticationMethodDevicesRequestBuilderUriTemplate = "{+baseurl}/directory/authenticationMethodDevices{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const AuthenticationMethodDevicesRequestBuilderNavigationMetadata: Record<Exclude<keyof AuthenticationMethodDevicesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const AuthenticationMethodDevicesRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map