import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; export interface AddCertificatePostRequestBody extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The Base64Url encoded binary data of the certificate file */ certificate?: string | null; /** * The Base64Url encoded binary data of the certificate key file */ certificateKey?: string | null; /** * The hostname to which the certificate will be added */ hostname?: string | null; } /** * Builds and executes requests for operations under /pullzone/{-id}/addCertificate */ export interface AddCertificateRequestBuilder extends BaseRequestBuilder { /** * [AddCustomCertificate API Docs](https://docs.bunny.net/reference/pullzonepublic_addcertificate) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. */ post(body: AddCertificatePostRequestBody, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * [AddCustomCertificate API Docs](https://docs.bunny.net/reference/pullzonepublic_addcertificate) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: AddCertificatePostRequestBody, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AddCertificatePostRequestBody} */ export declare function createAddCertificatePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoAddCertificatePostRequestBody(addCertificatePostRequestBody?: Partial | undefined): Record void>; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeAddCertificatePostRequestBody(writer: SerializationWriter, addCertificatePostRequestBody?: Partial | undefined | null): void; /** * Uri template for the request builder. */ export declare const AddCertificateRequestBuilderUriTemplate = "{+baseurl}/pullzone/{%2Did}/addCertificate"; /** * Metadata for all the requests in the request builder. */ export declare const AddCertificateRequestBuilderRequestsMetadata: RequestsMetadata;