import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { AddOn, UpdateAddOn, BulkCreateAddOnsOptions, BulkCreateAddOnsResponse, MaskedAddOn, BulkUpdateAddOnsOptions, BulkUpdateAddOnsResponse, BulkDeleteAddOnsResponse, AddOnCreatedEnvelope, AddOnDeletedEnvelope, AddOnUpdatedEnvelope, AddOnsQueryBuilder, AddOnQuery, typedQueryAddOns } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, AddOnAddOnInfoOneOf, AddOnQuerySpec, AddOnsQueryResult, Address, AddressHint, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkAddOnResult, BulkCreateAddOnsRequest, BulkDeleteAddOnsRequest, BulkDeleteAddOnsResponseBulkAddOnResult, BulkUpdateAddOnTagsByFilterRequest, BulkUpdateAddOnTagsByFilterResponse, BulkUpdateAddOnTagsRequest, BulkUpdateAddOnTagsResponse, BulkUpdateAddOnTagsResult, BulkUpdateAddOnsRequest, BulkUpdateAddOnsResponseBulkAddOnResult, BusinessSchedule, Categories, ChangeContext, ChangeContextPayloadOneOf, CommonQueryWithEntityContext, ConsentPolicy, CreateAddOnRequest, CreateAddOnResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DayOfWeek, DayOfWeekWithLiterals, DeleteAddOnRequest, DeleteAddOnResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GeoCoordinates, GetAddOnRequest, GetAddOnResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, Locale, MessageEnvelope, Money, Multilingual, PlacementType, PlacementTypeWithLiterals, Properties, PropertiesChange, QueryAddOnsRequest, QueryAddOnsResponse, QueryLocalizedAddOnsRequest, QueryLocalizedAddOnsResponse, ResolutionMethod, ResolutionMethodWithLiterals, RestoreInfo, SiteCloned, SiteCreated, SitePropertiesEvent, SitePropertiesNotification, SortOrder, SortOrderWithLiterals, Sorting, SpecialHourPeriod, SupportedLanguage, TagList, Tags, TimePeriod, Translation, UpdateAddOnRequest, UpdateAddOnResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function createAddOn$1(httpClient: HttpClient): CreateAddOnSignature; interface CreateAddOnSignature { /** * Creates an add-on. * @param - Add-on to create. * @returns Created add-on. */ (addOn: AddOn): Promise>; } declare function getAddOn$1(httpClient: HttpClient): GetAddOnSignature; interface GetAddOnSignature { /** * Retrieves an add-on. * @param - ID of the add-on to retrieve. * @returns Retrieved add-on. */ (addOnId: string): Promise>; } declare function updateAddOn$1(httpClient: HttpClient): UpdateAddOnSignature; interface UpdateAddOnSignature { /** * Updates an existing add-on. * * Each time an add-on is updated, its revision number increments by 1. * The current revision must be passed when updating to ensure you're working with the latest version and prevent unintended overwrites. * @param - Add-on ID. * @returns Updated add-on. */ (_id: string, addOn: NonNullablePaths): Promise>; } declare function deleteAddOn$1(httpClient: HttpClient): DeleteAddOnSignature; interface DeleteAddOnSignature { /** * Deletes an add-on and removes it from all add-on groups. * @param - ID of the add-on to delete. */ (addOnId: string): Promise; } declare function bulkCreateAddOns$1(httpClient: HttpClient): BulkCreateAddOnsSignature; interface BulkCreateAddOnsSignature { /** * Creates multiple add-ons in a single request. * @param - List of add-ons to create. */ (addOns: AddOn[], options?: BulkCreateAddOnsOptions): Promise>; } declare function bulkUpdateAddOns$1(httpClient: HttpClient): BulkUpdateAddOnsSignature; interface BulkUpdateAddOnsSignature { /** * Updates multiple add-ons in a single request. * @param - List of add-ons to update. */ (addOns: NonNullablePaths[], options?: BulkUpdateAddOnsOptions): Promise>; } declare function bulkDeleteAddOns$1(httpClient: HttpClient): BulkDeleteAddOnsSignature; interface BulkDeleteAddOnsSignature { /** * Deletes multiple add-ons in a single request. * @param - IDs of add-ons to delete. */ (addOnIds: string[]): Promise>; } declare const onAddOnCreated$1: EventDefinition; declare const onAddOnDeleted$1: EventDefinition; declare const onAddOnUpdated$1: EventDefinition; declare function customQueryAddOns(httpClient: HttpClient): { (): AddOnsQueryBuilder; (query: AddOnQuery): ReturnType; }; declare const createAddOn: MaybeContext & typeof createAddOn$1>; declare const getAddOn: MaybeContext & typeof getAddOn$1>; declare const updateAddOn: MaybeContext & typeof updateAddOn$1>; declare const deleteAddOn: MaybeContext & typeof deleteAddOn$1>; declare const bulkCreateAddOns: MaybeContext & typeof bulkCreateAddOns$1>; declare const bulkUpdateAddOns: MaybeContext & typeof bulkUpdateAddOns$1>; declare const bulkDeleteAddOns: MaybeContext & typeof bulkDeleteAddOns$1>; declare const queryAddOns: MaybeContext & typeof customQueryAddOns>; /** * Triggered when an add-on is created. */ declare const onAddOnCreated: BuildEventDefinition & typeof onAddOnCreated$1; /** * Triggered when an add-on is deleted. */ declare const onAddOnDeleted: BuildEventDefinition & typeof onAddOnDeleted$1; /** * Triggered when an add-on is updated. */ declare const onAddOnUpdated: BuildEventDefinition & typeof onAddOnUpdated$1; export { AddOn, AddOnCreatedEnvelope, AddOnDeletedEnvelope, AddOnQuery, AddOnUpdatedEnvelope, AddOnsQueryBuilder, BulkCreateAddOnsOptions, BulkCreateAddOnsResponse, BulkDeleteAddOnsResponse, BulkUpdateAddOnsOptions, BulkUpdateAddOnsResponse, MaskedAddOn, UpdateAddOn, bulkCreateAddOns, bulkDeleteAddOns, bulkUpdateAddOns, createAddOn, deleteAddOn, getAddOn, onAddOnCreated, onAddOnDeleted, onAddOnUpdated, queryAddOns, updateAddOn };