import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { GenerateAttachmentUploadUrlOptions, GenerateAttachmentUploadUrlResponse, ListAttachmentsOptions, ListAttachmentsResponse, DeleteAttachmentIdentifiers, GetAttachmentIdentifiers, ContactAttachment, AttachmentCreatedEnvelope, AttachmentDeletedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, AttachmentMedia, AttachmentMediaMediaOneOf, AttachmentMetadata, AttachmentSource, AttachmentType, AttachmentTypeWithLiterals, BaseEventMetadata, ContactAttachmentMediaOneOf, CreateDemoAttachmentRequest, CreateDemoAttachmentResponse, CrmAttachment, CrmAttachmentAttachmentType, CrmAttachmentAttachmentTypeWithLiterals, CrmAttachmentUploadedEvent, DeleteAttachmentRequest, DeleteAttachmentResponse, DemoContactType, DemoContactTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, GenerateAttachmentUploadUrlRequest, GetAttachmentRequest, GetAttachmentResponse, IdentificationData, IdentificationDataIdOneOf, ListAttachmentsRequest, MessageEnvelope, Paging, PagingMetadata, RestoreInfo, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function generateAttachmentUploadUrl$1(httpClient: HttpClient): GenerateAttachmentUploadUrlSignature; interface GenerateAttachmentUploadUrlSignature { /** * Generates an upload URL for uploading a file as an attachment to a specified contact. * * To learn how to use the generated upload URL in the response to upload an attachment file, * see the [Upload API](https://dev.wix.com/docs/rest/assets/media/media-manager/files/upload-api). * @param - ID of the contact for whom the attachment is being uploaded. * @param - File name of the attachment including the extension, for example, `contact-cv.pdf`. */ (contactId: string, fileName: string, options: NonNullablePaths): Promise>; } declare function listAttachments$1(httpClient: HttpClient): ListAttachmentsSignature; interface ListAttachmentsSignature { /** * Retrieves a list of attachments associated with a specified contact. * @param - Contact ID for the attachments to be listed. */ (contactId: string, options?: ListAttachmentsOptions): Promise>; } declare function deleteAttachment$1(httpClient: HttpClient): DeleteAttachmentSignature; interface DeleteAttachmentSignature { /** * Deletes the specified attachment from the specified contact. */ (identifiers: NonNullablePaths): Promise; } declare function getAttachment$1(httpClient: HttpClient): GetAttachmentSignature; interface GetAttachmentSignature { /** * Retrieves the specified attachment for the specified contact. * @returns The requested attachment. */ (identifiers: NonNullablePaths): Promise>; } declare const onAttachmentCreated$1: EventDefinition; declare const onAttachmentDeleted$1: EventDefinition; declare const generateAttachmentUploadUrl: MaybeContext & typeof generateAttachmentUploadUrl$1>; declare const listAttachments: MaybeContext & typeof listAttachments$1>; declare const deleteAttachment: MaybeContext & typeof deleteAttachment$1>; declare const getAttachment: MaybeContext & typeof getAttachment$1>; /** */ declare const onAttachmentCreated: BuildEventDefinition & typeof onAttachmentCreated$1; /** */ declare const onAttachmentDeleted: BuildEventDefinition & typeof onAttachmentDeleted$1; export { AttachmentCreatedEnvelope, AttachmentDeletedEnvelope, ContactAttachment, DeleteAttachmentIdentifiers, GenerateAttachmentUploadUrlOptions, GenerateAttachmentUploadUrlResponse, GetAttachmentIdentifiers, ListAttachmentsOptions, ListAttachmentsResponse, deleteAttachment, generateAttachmentUploadUrl, getAttachment, listAttachments, onAttachmentCreated, onAttachmentDeleted };