UNPKG

@microsoft/msgraph-sdk-security

Version:
117 lines 6.46 kB
import { type SubjectRightsRequest } from '@microsoft/msgraph-sdk/models/index.js'; import { type ApproversRequestBuilder } from './approvers/index.js'; import { type ApproversWithUserPrincipalNameRequestBuilder } from './approversWithUserPrincipalName/index.js'; import { type CollaboratorsRequestBuilder } from './collaborators/index.js'; import { type CollaboratorsWithUserPrincipalNameRequestBuilder } from './collaboratorsWithUserPrincipalName/index.js'; import { type GetFinalAttachmentRequestBuilder } from './getFinalAttachment/index.js'; import { type GetFinalReportRequestBuilder } from './getFinalReport/index.js'; import { type NotesRequestBuilder } from './notes/index.js'; import { type TeamRequestBuilder } from './team/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the subjectRightsRequests property of the microsoft.graph.security entity. */ export interface SubjectRightsRequestItemRequestBuilder extends BaseRequestBuilder<SubjectRightsRequestItemRequestBuilder> { /** * Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. */ get approvers(): ApproversRequestBuilder; /** * Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. */ get collaborators(): CollaboratorsRequestBuilder; /** * Provides operations to call the getFinalAttachment method. */ get getFinalAttachment(): GetFinalAttachmentRequestBuilder; /** * Provides operations to call the getFinalReport method. */ get getFinalReport(): GetFinalReportRequestBuilder; /** * Provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity. */ get notes(): NotesRequestBuilder; /** * Provides operations to manage the team property of the microsoft.graph.subjectRightsRequest entity. */ get team(): TeamRequestBuilder; /** * Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. * @param userPrincipalName Alternate key of user * @returns {ApproversWithUserPrincipalNameRequestBuilder} */ approversWithUserPrincipalName(userPrincipalName: string | undefined): ApproversWithUserPrincipalNameRequestBuilder; /** * Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. * @param userPrincipalName Alternate key of user * @returns {CollaboratorsWithUserPrincipalNameRequestBuilder} */ collaboratorsWithUserPrincipalName(userPrincipalName: string | undefined): CollaboratorsWithUserPrincipalNameRequestBuilder; /** * Delete navigation property subjectRightsRequests 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>; /** * Get subjectRightsRequests from security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<SubjectRightsRequest>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<SubjectRightsRequestItemRequestBuilderGetQueryParameters> | undefined): Promise<SubjectRightsRequest | undefined>; /** * Update the navigation property subjectRightsRequests in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<SubjectRightsRequest>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: SubjectRightsRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SubjectRightsRequest | undefined>; /** * Delete navigation property subjectRightsRequests for security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Get subjectRightsRequests from security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SubjectRightsRequestItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property subjectRightsRequests 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: SubjectRightsRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get subjectRightsRequests from security */ export interface SubjectRightsRequestItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const SubjectRightsRequestItemRequestBuilderUriTemplate = "{+baseurl}/security/subjectRightsRequests/{subjectRightsRequest%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const SubjectRightsRequestItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SubjectRightsRequestItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const SubjectRightsRequestItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map