UNPKG

@microsoft/msgraph-beta-sdk-privacy

Version:
31 lines 2.34 kB
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to call the getFinalAttachment method. */ export interface GetFinalAttachmentRequestBuilder extends BaseRequestBuilder<GetFinalAttachmentRequestBuilder> { /** * Get the final attachment for a subject rights request. The attachment is a zip file that contains all the files that were included by the privacy administrator. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ArrayBuffer>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 * @see {@link https://learn.microsoft.com/graph/api/subjectrightsrequest-getfinalattachment?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>; /** * Get the final attachment for a subject rights request. The attachment is a zip file that contains all the files that were included by the privacy administrator. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} * @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const GetFinalAttachmentRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalAttachment()"; /** * Metadata for all the requests in the request builder. */ export declare const GetFinalAttachmentRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map