import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { ManualTaxMapping, CreateManualTaxMappingApplicationErrors, BulkCreateManualTaxMappingsOptions, BulkCreateManualTaxMappingsResponse, UpdateManualTaxMapping, UpdateManualTaxMappingApplicationErrors, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, BulkAssignExemptOverridesOptions, BulkAssignExemptOverridesResponse, UnassignOverride, BulkUnassignExemptOverridesOptions, BulkUnassignExemptOverridesResponse, ListManualTaxMappingsResponse, ManualTaxMappingCreatedEnvelope, ManualTaxMappingDeletedEnvelope, ManualTaxMappingUpdatedEnvelope, ManualTaxMappingsQueryBuilder, ManualTaxMappingQuery, typedQueryManualTaxMappings } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, AssignOverride, BaseEventMetadata, BulkActionMetadata, BulkAssignExemptOverridesRequest, BulkCreateManualTaxMappingsRequest, BulkExemptOverrideResult, BulkManualTaxMappingResult, BulkRestoreManualTaxMappingsRequest, BulkRestoreManualTaxMappingsResponse, BulkRestoreManualTaxMappingsResult, BulkUnassignExemptOverridesRequest, CommonQueryWithEntityContext, CreateManualTaxMappingRequest, CreateManualTaxMappingResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteManualTaxMappingRequest, DeleteManualTaxMappingResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExemptDetails, ExemptGroupIdOverride, ExtendedFields, GetManualTaxMappingRequest, GetManualTaxMappingResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, JurisdictionType, JurisdictionTypeWithLiterals, ListManualTaxMappingsRequest, ManualTaxMappingQuerySpec, ManualTaxMappingsQueryResult, MessageEnvelope, QueryManualTaxMappingsRequest, QueryManualTaxMappingsResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, UpdateExtendedFieldsRequest, UpdateManualTaxMappingRequest, UpdateManualTaxMappingResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function createManualTaxMapping$1(httpClient: HttpClient): CreateManualTaxMappingSignature; interface CreateManualTaxMappingSignature { /** * Creates a manual tax mapping for a specific tax group and region combination. * * You must specify the tax group ID and tax region ID. The tax group and tax region * must already exist before creating the mapping. * To create multiple manual tax mappings in a single request, use [Bulk Create Manual Tax Mappings](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/manual-tax-mappings/bulk-create-manual-tax-mappings). * @param - Manual tax mapping to create. * @returns Created manual tax mapping. */ (manualTaxMapping: NonNullablePaths): Promise & { __applicationErrorsType?: CreateManualTaxMappingApplicationErrors; }>; } declare function bulkCreateManualTaxMappings$1(httpClient: HttpClient): BulkCreateManualTaxMappingsSignature; interface BulkCreateManualTaxMappingsSignature { /** * Creates up to 100 manual tax mappings in a single request. * * Use this method when you need to set up tax mappings for multiple tax group and region combinations at once, * such as when initially configuring tax rates for a new business or importing mappings from an external system. * @param - Manual tax mappings to create. */ (manualTaxMappings: NonNullablePaths[], options?: BulkCreateManualTaxMappingsOptions): Promise>; } declare function getManualTaxMapping$1(httpClient: HttpClient): GetManualTaxMappingSignature; interface GetManualTaxMappingSignature { /** * Retrieves a manual tax mapping by ID. * * Use this method to get details about a specific manual tax mapping, including its tax rate, * jurisdiction information, and associated tax group and region. * @param - Manual tax mapping ID. * @returns Retrieved manual tax mapping. */ (manualTaxMappingId: string): Promise>; } declare function updateManualTaxMapping$1(httpClient: HttpClient): UpdateManualTaxMappingSignature; interface UpdateManualTaxMappingSignature { /** * Updates an existing manual tax mapping. * * Use this method to modify the tax rate or other details of an existing manual tax mapping. * Each time the manual tax mapping is updated, `revision` increments by 1. * The current `revision` must be passed when updating the manual tax mapping. * This ensures you're working with the latest manual tax mapping and prevents unintended overwrites. * @param - Manual tax mapping ID. * @returns Updated manual tax mapping. */ (_id: string, manualTaxMapping: NonNullablePaths): Promise & { __applicationErrorsType?: UpdateManualTaxMappingApplicationErrors; }>; } declare function deleteManualTaxMapping$1(httpClient: HttpClient): DeleteManualTaxMappingSignature; interface DeleteManualTaxMappingSignature { /** * Deletes a manual tax mapping. * * This permanently removes the custom tax rate mapping. * After deletion, no tax will be calculated for the associated tax group and region combination. * @param - Manual tax mapping ID. */ (manualTaxMappingId: string): Promise; } declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature; interface UpdateExtendedFieldsSignature { /** * Updates extended fields of a manual tax mapping. * * Use this method to modify extended field data associated with a manual tax mapping. * Unlike the standard update operation, this does not increment the revision number. * @param - ID of the entity to update. * @param - Identifier for the app whose extended fields are being updated. */ (_id: string, namespace: string, options: NonNullablePaths): Promise>; } declare function bulkAssignExemptOverrides$1(httpClient: HttpClient): BulkAssignExemptOverridesSignature; interface BulkAssignExemptOverridesSignature { /** * Assigns tax exempt overrides to multiple manual tax mappings in a single request. */ (options?: NonNullablePaths): Promise>; } declare function bulkUnassignExemptOverrides$1(httpClient: HttpClient): BulkUnassignExemptOverridesSignature; interface BulkUnassignExemptOverridesSignature { /** * Unassigns tax exempt overrides to multiple manual tax mappings in a single request. * @param - List of unassign overrides. */ (unassignOverrides: NonNullablePaths[], options?: BulkUnassignExemptOverridesOptions): Promise>; } declare function listManualTaxMappings$1(httpClient: HttpClient): ListManualTaxMappingsSignature; interface ListManualTaxMappingsSignature { /** * Retrieves up to 1000 manual tax mappings. * The returned manual tax mappings are sorted by the `createdDate` field in ascending order. */ (): Promise>; } declare const onManualTaxMappingCreated$1: EventDefinition; declare const onManualTaxMappingDeleted$1: EventDefinition; declare const onManualTaxMappingUpdated$1: EventDefinition; declare function customQueryManualTaxMappings(httpClient: HttpClient): { (): ManualTaxMappingsQueryBuilder; (query: ManualTaxMappingQuery): ReturnType; }; declare const createManualTaxMapping: MaybeContext & typeof createManualTaxMapping$1>; declare const bulkCreateManualTaxMappings: MaybeContext & typeof bulkCreateManualTaxMappings$1>; declare const getManualTaxMapping: MaybeContext & typeof getManualTaxMapping$1>; declare const updateManualTaxMapping: MaybeContext & typeof updateManualTaxMapping$1>; declare const deleteManualTaxMapping: MaybeContext & typeof deleteManualTaxMapping$1>; declare const updateExtendedFields: MaybeContext & typeof updateExtendedFields$1>; declare const bulkAssignExemptOverrides: MaybeContext & typeof bulkAssignExemptOverrides$1>; declare const bulkUnassignExemptOverrides: MaybeContext & typeof bulkUnassignExemptOverrides$1>; declare const listManualTaxMappings: MaybeContext & typeof listManualTaxMappings$1>; declare const queryManualTaxMappings: MaybeContext & typeof customQueryManualTaxMappings>; /** * Triggered when a manual tax mapping is created. */ declare const onManualTaxMappingCreated: BuildEventDefinition & typeof onManualTaxMappingCreated$1; /** * Triggered when a manual tax mapping is deleted. */ declare const onManualTaxMappingDeleted: BuildEventDefinition & typeof onManualTaxMappingDeleted$1; /** * Triggered when a manual tax mapping is updated. */ declare const onManualTaxMappingUpdated: BuildEventDefinition & typeof onManualTaxMappingUpdated$1; export { BulkAssignExemptOverridesOptions, BulkAssignExemptOverridesResponse, BulkCreateManualTaxMappingsOptions, BulkCreateManualTaxMappingsResponse, BulkUnassignExemptOverridesOptions, BulkUnassignExemptOverridesResponse, CreateManualTaxMappingApplicationErrors, ListManualTaxMappingsResponse, ManualTaxMapping, ManualTaxMappingCreatedEnvelope, ManualTaxMappingDeletedEnvelope, ManualTaxMappingQuery, ManualTaxMappingUpdatedEnvelope, ManualTaxMappingsQueryBuilder, UnassignOverride, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateManualTaxMapping, UpdateManualTaxMappingApplicationErrors, bulkAssignExemptOverrides, bulkCreateManualTaxMappings, bulkUnassignExemptOverrides, createManualTaxMapping, deleteManualTaxMapping, getManualTaxMapping, listManualTaxMappings, onManualTaxMappingCreated, onManualTaxMappingDeleted, onManualTaxMappingUpdated, queryManualTaxMappings, updateExtendedFields, updateManualTaxMapping };