import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { A as AbandonedCheckout, a as AbandonedCheckoutNonNullableFields, b as AbandonedCheckoutsQueryBuilder, S as SearchAbandonedCheckoutsOptions, c as SearchAbandonedCheckoutsResponse, d as SearchAbandonedCheckoutsResponseNonNullableFields, e as AddAbandonedCheckoutActivityOptions, f as AddAbandonedCheckoutActivityResponse, g as AddAbandonedCheckoutActivityResponseNonNullableFields, R as RawHttpResponse, h as RawHttpResponseNonNullableFields } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-ygJghKWp.js'; export { an as AbandonedCheckoutCreatedEnvelope, ao as AbandonedCheckoutDeletedEnvelope, s as AbandonedCheckoutRecovered, ap as AbandonedCheckoutRecoveredEnvelope, aq as AbandonedCheckoutUpdatedEnvelope, ar as AbandonedCheckoutsQueryResult, ae as ActionEvent, p as Activity, i as ActivityType, _ as AddAbandonedCheckoutActivityRequest, al as BaseEventMetadata, B as BuyerInfo, a4 as Cancel, q as CartAbandonedEvent, r as CartRecoveredEvent, X as CommonCursorPaging, Z as CommonCursors, U as CommonPaging, Y as CommonPagingMetadataV2, C as CommonSortOrder, N as CommonSorting, a3 as Complete, y as CursorPaging, H as Cursors, D as DeleteAbandonedCheckoutRequest, u as DeleteAbandonedCheckoutResponse, a8 as DomainEvent, a9 as DomainEventBodyOneOf, af as Empty, aa as EntityCreatedEvent, ad as EntityDeletedEvent, ac as EntityUpdatedEvent, am as EventMetadata, F as FullAddressContactDetails, G as GetAbandonedCheckoutRequest, t as GetAbandonedCheckoutResponse, aj as GetAbandonedCheckoutResponseNonNullableFields, a7 as HeadersEntry, ah as IdentificationData, ai as IdentificationDataIdOneOf, I as Identity, ag as MessageEnvelope, M as Mode, o as MultiCurrencyPrice, P as Paging, E as PagingMetadataV2, Q as QueryAbandonedCheckoutsRequest, z as QueryAbandonedCheckoutsResponse, ak as QueryAbandonedCheckoutsResponseNonNullableFields, v as QueryV2, w as QueryV2PagingMethodOneOf, a6 as RedirectToCheckoutRequest, a5 as Reschedule, ab as RestoreInfo, K as Search, J as SearchAbandonedCheckoutsRequest, O as SearchDetails, L as SearchPagingMethodOneOf, k as SortOrder, x as Sorting, j as Status, $ as Task, a1 as TaskAction, a2 as TaskActionActionOneOf, a0 as TaskKey, T as Totals, l as V1BuyerInfo, m as V1BuyerInfoIdOneOf, n as VatId, V as VatType, W as WebhookIdentityType } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-ygJghKWp.js'; import { createEventModule } from '@wix/sdk-runtime/event-definition-modules'; declare function getAbandonedCheckout$1(httpClient: HttpClient): GetAbandonedCheckoutSignature; interface GetAbandonedCheckoutSignature { /** * Retrieves an abandoned checkout. * @param - Abandoned checkout ID. * @returns The requested abandoned checkout. */ (abandonedCheckoutId: string): Promise; } declare function deleteAbandonedCheckout$1(httpClient: HttpClient): DeleteAbandonedCheckoutSignature; interface DeleteAbandonedCheckoutSignature { /** * Deletes an abandoned checkout. * @param - Id of the abandoned checkout to delete */ (abandonedCheckoutId: string): Promise; } declare function queryAbandonedCheckouts$1(httpClient: HttpClient): QueryAbandonedCheckoutsSignature; interface QueryAbandonedCheckoutsSignature { /** * Creates a query to retrieve a list of abandoned checkouts. * * The `queryAbandonedCheckouts()` function builds a query to retrieve a list of abandoned checkouts and returns a `ResultsQueryBuilder` object. * * The returned object contains the query definition, which is typically used to run the query using the `find()` function. * * You can refine the query by chaining `ResultsQueryBuilder` functions onto the query. `ResultsQueryBuilder` functions enable you to sort, filter, and control the results `queryAbandonedCheckouts()` returns. */ (): AbandonedCheckoutsQueryBuilder; } declare function searchAbandonedCheckouts$1(httpClient: HttpClient): SearchAbandonedCheckoutsSignature; interface SearchAbandonedCheckoutsSignature { /** * Retrieves a list of abandoned checkouts, given the provided paging, filtering, search details and sorting. Up to 100 abandoned checkouts can be returned per request. */ (options?: SearchAbandonedCheckoutsOptions | undefined): Promise; } /** @internal */ declare function addAbandonedCheckoutActivity$1(httpClient: HttpClient): AddAbandonedCheckoutActivitySignature; interface AddAbandonedCheckoutActivitySignature { /** * Adds a new abandoned checkout activity. * @param - Id of the abandoned checkout to update */ (abandonedCheckoutId: string | null, options?: AddAbandonedCheckoutActivityOptions | undefined): Promise; } declare function redirectToCheckout$1(httpClient: HttpClient): RedirectToCheckoutSignature; interface RedirectToCheckoutSignature { /** * Redirects an abandoned checkout to its checkout page. * @param - ID of the abandoned checkout. * @param - Metasite ID of the site associated with the abandoned checkout. */ (abandonedCheckoutId: string, metasiteId: string): Promise; } declare const getAbandonedCheckout: MaybeContext & typeof getAbandonedCheckout$1>; declare const deleteAbandonedCheckout: MaybeContext & typeof deleteAbandonedCheckout$1>; declare const queryAbandonedCheckouts: MaybeContext & typeof queryAbandonedCheckouts$1>; declare const searchAbandonedCheckouts: MaybeContext & typeof searchAbandonedCheckouts$1>; /** @internal */ declare const addAbandonedCheckoutActivity: MaybeContext & typeof addAbandonedCheckoutActivity$1>; declare const redirectToCheckout: MaybeContext & typeof redirectToCheckout$1>; /** * Triggered when an abandoned checkout is created. */ declare const onAbandonedCheckoutCreated: ReturnType>; /** * Triggerred when an abandoned checkout is deleted. */ declare const onAbandonedCheckoutDeleted: ReturnType>; /** * Triggered when an abandoned checkout is recovered. */ declare const onAbandonedCheckoutRecovered: ReturnType>; /** * Triggered when an abandoned checkout is updated. */ declare const onAbandonedCheckoutUpdated: ReturnType>; export { AbandonedCheckout, AbandonedCheckoutNonNullableFields, AbandonedCheckoutsQueryBuilder, AddAbandonedCheckoutActivityOptions, AddAbandonedCheckoutActivityResponse, AddAbandonedCheckoutActivityResponseNonNullableFields, RawHttpResponse, RawHttpResponseNonNullableFields, SearchAbandonedCheckoutsOptions, SearchAbandonedCheckoutsResponse, SearchAbandonedCheckoutsResponseNonNullableFields, addAbandonedCheckoutActivity, deleteAbandonedCheckout, getAbandonedCheckout, onAbandonedCheckoutCreated, onAbandonedCheckoutDeleted, onAbandonedCheckoutRecovered, onAbandonedCheckoutUpdated, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };