UNPKG

@microsoft/msgraph-beta-sdk-security

Version:
78 lines 4.43 kB
import { type EndUserNotification } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type DetailsRequestBuilder } from './details/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the endUserNotifications property of the microsoft.graph.attackSimulationRoot entity. */ export interface EndUserNotificationItemRequestBuilder extends BaseRequestBuilder<EndUserNotificationItemRequestBuilder> { /** * Provides operations to manage the details property of the microsoft.graph.endUserNotification entity. */ get details(): DetailsRequestBuilder; /** * Delete navigation property endUserNotifications for security * @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>; /** * Represents an end user's notification for an attack simulation training. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<EndUserNotification>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<EndUserNotificationItemRequestBuilderGetQueryParameters> | undefined): Promise<EndUserNotification | undefined>; /** * Update the navigation property endUserNotifications in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<EndUserNotification>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: EndUserNotification, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EndUserNotification | undefined>; /** * Delete navigation property endUserNotifications for security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Represents an end user's notification for an attack simulation training. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<EndUserNotificationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property endUserNotifications in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: EndUserNotification, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Represents an end user's notification for an attack simulation training. */ export interface EndUserNotificationItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const EndUserNotificationItemRequestBuilderUriTemplate = "{+baseurl}/security/attackSimulation/endUserNotifications/{endUserNotification%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const EndUserNotificationItemRequestBuilderNavigationMetadata: Record<Exclude<keyof EndUserNotificationItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const EndUserNotificationItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map