import { type AgreementFile } from '@microsoft/msgraph-sdk/models/index.js'; import { type LocalizationsRequestBuilder } from './localizations/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the file property of the microsoft.graph.agreement entity. */ export interface FileRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. */ get localizations(): LocalizationsRequestBuilder; /** * Delete navigation property file for agreements * @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 | undefined): Promise; /** * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/agreementfile-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Update the navigation property file in agreements * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: AgreementFile, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Delete navigation property file for agreements * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Update the navigation property file in agreements * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: AgreementFile, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. */ export interface FileRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const FileRequestBuilderUriTemplate = "{+baseurl}/agreements/{agreement%2Did}/file{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const FileRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const FileRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map