import { type DomainName } from '../../../models/redirect/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Builds and executes requests for operations under /Api/Domain/{id} */ export interface DomainItemRequestBuilder extends BaseRequestBuilder { /** * Deletes the domain name record from the database.This endpoint requires the `Domain.ReadWrite.All` or `Everything.ReadWrite.All` scope (permission). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. */ delete(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Retrieves all information from the database of the domain name record.This endpoint does not have implicit scope (permission) restrictions but includes an internal check on user's RBAC assignments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Updates one or more properties of the domain name record based on which fields are provided.This endpoint requires the `Domain.ReadWrite.All` or `Everything.ReadWrite.All` scope (permission). * @param body Object representing a domain name entry that will serve as a base for vanity URLs. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ patch(body: DomainName, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Deletes the domain name record from the database.This endpoint requires the `Domain.ReadWrite.All` or `Everything.ReadWrite.All` scope (permission). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Retrieves all information from the database of the domain name record.This endpoint does not have implicit scope (permission) restrictions but includes an internal check on user's RBAC assignments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Updates one or more properties of the domain name record based on which fields are provided.This endpoint requires the `Domain.ReadWrite.All` or `Everything.ReadWrite.All` scope (permission). * @param body Object representing a domain name entry that will serve as a base for vanity URLs. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: DomainName, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const DomainItemRequestBuilderUriTemplate = "{+baseurl}/Api/Domain/{id}"; /** * Metadata for all the requests in the request builder. */ export declare const DomainItemRequestBuilderRequestsMetadata: RequestsMetadata;