import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { Dispute, AcceptDisputeResponse, DefendDisputeResponse, BulkUpdateDisputeTagsOptions, BulkUpdateDisputeTagsResponse, BulkUpdateDisputeTagsApplicationErrors, BulkUpdateDisputeTagsByFilterOptions, BulkUpdateDisputeTagsByFilterResponse, BulkUpdateDisputeTagsByFilterApplicationErrors, DisputeCreatedEnvelope, DisputeUpdatedEnvelope, DisputesQueryBuilder, DisputeQuery, typedQueryDisputes } from './index.typings.js'; export { AcceptDisputeRequest, AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkUpdateDisputeTagsByFilterRequest, BulkUpdateDisputeTagsRequest, BulkUpdateDisputeTagsResult, CommonQueryWithEntityContext, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DefendDisputeRequest, DisputeAction, DisputeActionType, DisputeActionTypeWithLiterals, DisputeChannel, DisputeChannelWithLiterals, DisputeQuerySpec, DisputeReason, DisputeReasonWithLiterals, DisputeStage, DisputeStageWithLiterals, DisputeStatus, DisputeStatusWithLiterals, DisputesQueryResult, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetDisputeRequest, GetDisputeResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, QueryDisputesRequest, QueryDisputesResponse, RestoreInfo, SellerProtection, SellerProtectionWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, TagList, Tags, TagsModified, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function getDispute$1(httpClient: HttpClient): GetDisputeSignature; interface GetDisputeSignature { /** * Retrieves a dispute. * @param - ID of the dispute to retrieve. * @returns The retrieved dispute. */ (disputeId: string): Promise>; } declare function acceptDispute$1(httpClient: HttpClient): AcceptDisputeSignature; interface AcceptDisputeSignature { /** * Accepts liability for a dispute, indicating the merchant agrees with the customer's claim. * * When a dispute is accepted, the refund is processed automatically. * @param - ID of the dispute to accept. */ (disputeId: string): Promise>; } declare function defendDispute$1(httpClient: HttpClient): DefendDisputeSignature; interface DefendDisputeSignature { /** * Defends a dispute by submitting evidence to the payment service provider or bank handling the dispute. * * To upload evidence documents, use the [Dispute Evidence Documents API](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/dispute-evidence-documents/create-dispute-evidence-document). This method submits all the evidence documents uploaded for the specified dispute. * @param - ID of the dispute to defend. */ (disputeId: string): Promise>; } declare function bulkUpdateDisputeTags$1(httpClient: HttpClient): BulkUpdateDisputeTagsSignature; interface BulkUpdateDisputeTagsSignature { /** * Updates tags on multiple disputes simultaneously using a list of dispute IDs. * If a tag appears in both assign and unassign lists, it will be assigned. * @param - List of dispute IDs to update tags for. */ (ids: string[], options?: BulkUpdateDisputeTagsOptions): Promise & { __applicationErrorsType?: BulkUpdateDisputeTagsApplicationErrors; }>; } declare function bulkUpdateDisputeTagsByFilter$1(httpClient: HttpClient): BulkUpdateDisputeTagsByFilterSignature; interface BulkUpdateDisputeTagsByFilterSignature { /** * Asynchronously updates tags on multiple disputes based on filter criteria. * Returns a job ID that can be used to track the operation status. If a tag appears in both assign and unassign lists, it will be assigned. * @param - Filter that determines which disputes to update tags for. * * An empty filter updates all disputes. */ (filter: Record, options?: BulkUpdateDisputeTagsByFilterOptions): Promise & { __applicationErrorsType?: BulkUpdateDisputeTagsByFilterApplicationErrors; }>; } declare const onDisputeCreated$1: EventDefinition; declare const onDisputeUpdated$1: EventDefinition; declare function customQueryDisputes(httpClient: HttpClient): { (): DisputesQueryBuilder; (query: DisputeQuery): ReturnType; }; declare const getDispute: MaybeContext & typeof getDispute$1>; declare const acceptDispute: MaybeContext & typeof acceptDispute$1>; declare const defendDispute: MaybeContext & typeof defendDispute$1>; declare const bulkUpdateDisputeTags: MaybeContext & typeof bulkUpdateDisputeTags$1>; declare const bulkUpdateDisputeTagsByFilter: MaybeContext & typeof bulkUpdateDisputeTagsByFilter$1>; declare const queryDisputes: MaybeContext & typeof customQueryDisputes>; /** * Triggered when a dispute is created. */ declare const onDisputeCreated: BuildEventDefinition & typeof onDisputeCreated$1; /** * Triggered when a dispute is updated. */ declare const onDisputeUpdated: BuildEventDefinition & typeof onDisputeUpdated$1; export { AcceptDisputeResponse, BulkUpdateDisputeTagsApplicationErrors, BulkUpdateDisputeTagsByFilterApplicationErrors, BulkUpdateDisputeTagsByFilterOptions, BulkUpdateDisputeTagsByFilterResponse, BulkUpdateDisputeTagsOptions, BulkUpdateDisputeTagsResponse, DefendDisputeResponse, Dispute, DisputeCreatedEnvelope, DisputeQuery, DisputeUpdatedEnvelope, DisputesQueryBuilder, acceptDispute, bulkUpdateDisputeTags, bulkUpdateDisputeTagsByFilter, defendDispute, getDispute, onDisputeCreated, onDisputeUpdated, queryDisputes };