import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { A as AbandonedCheckout, B as BulkDeleteAbandonedCheckoutsResponse, a as AbandonedCheckoutSearch, S as SearchAbandonedCheckoutsResponse, b as AddAbandonedCheckoutActivityOptions, c as AddAbandonedCheckoutActivityResponse, G as GetAbandonedCheckoutAnalyticsOptions, d as GetAbandonedCheckoutAnalyticsResponse, R as RawHttpResponse, e as AbandonedCheckoutCreatedEnvelope, f as AbandonedCheckoutDeletedEnvelope, g as AbandonedCheckoutRecoveredEnvelope, h as AbandonedCheckoutUpdatedEnvelope, i as AbandonedCheckoutsQueryBuilder, j as AbandonedCheckoutQuery, t as typedQueryAbandonedCheckouts } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DvIwYGVa.js'; export { aV as AbandonedCheckoutQuerySpec, a1 as AbandonedCheckoutRecovered, aW as AbandonedCheckoutSearchSpec, aU as AbandonedCheckoutsQueryResult, aQ as AccountInfo, aT as AccountInfoMetadata, aL as ActionEvent, v as Activity, k as ActivityType, aY as ActivityTypeWithLiterals, au as AddAbandonedCheckoutActivityRequest, af as AddressLocation, a8 as ApplicationError, O as AppliedDiscount, Q as AppliedDiscountDiscountSourceOneOf, aR as BaseEventMetadata, a9 as BulkAbandonedCheckoutResult, aa as BulkActionMetadata, a6 as BulkDeleteAbandonedCheckoutsRequest, _ as BuyerInfo, aB as Cancel, Z as CartAbandonedEvent, a0 as CartRecoveredEvent, w as CatalogReference, J as Color, ar as CommonCursorPaging, at as CommonCursors, aq as CommonPaging, as as CommonPagingMetadataV2, b8 as CommonQueryWithEntityContext, b9 as CommonSearchWithEntityContext, C as CommonSortOrder, b4 as CommonSortOrderWithLiterals, ao as CommonSorting, aA as Complete, T as Coupon, ah as CursorPaging, ak as Cursors, a4 as DeleteAbandonedCheckoutRequest, a5 as DeleteAbandonedCheckoutResponse, x as DescriptionLine, z as DescriptionLineDescriptionLineValueOneOf, E as DescriptionLineName, D as DescriptionLineType, a$ as DescriptionLineTypeWithLiterals, y as DescriptionLineValueOneOf, N as Dimensions, m as DimensionsUnit, b0 as DimensionsUnitWithLiterals, X as DiscountRule, Y as DiscountRuleName, n as DiscountType, b1 as DiscountTypeWithLiterals, aF as DomainEvent, aG as DomainEventBodyOneOf, aM as Empty, aH as EntityCreatedEvent, aK as EntityDeletedEvent, aJ as EntityUpdatedEvent, aS as EventMetadata, F as FullAddressContactDetails, av as GetAbandonedCheckoutAnalyticsRequest, a2 as GetAbandonedCheckoutRequest, a3 as GetAbandonedCheckoutResponse, aE as HeadersEntry, aO as IdentificationData, aP as IdentificationDataIdOneOf, I as Identity, b2 as IdentityWithLiterals, a7 as ItemMetadata, L as LineItem, U as MerchantDiscount, aN as MessageEnvelope, p as Metric, b6 as MetricWithLiterals, M as Mode, b5 as ModeWithLiterals, u as MultiCurrencyPrice, ag as Paging, aj as PagingMetadataV2, K as PhysicalProperties, H as PlainTextValue, P as ProductName, ab as QueryAbandonedCheckoutsRequest, ai as QueryAbandonedCheckoutsResponse, ac as QueryV2, ad as QueryV2PagingMethodOneOf, aD as RedirectToCheckoutRequest, aC as Reschedule, aI as RestoreInfo, am as Search, al as SearchAbandonedCheckoutsRequest, ap as SearchDetails, an as SearchPagingMethodOneOf, o as SortOrder, b3 as SortOrderWithLiterals, ae as Sorting, l as Status, aZ as StatusWithLiterals, aw as Task, ay as TaskAction, az as TaskActionActionOneOf, ax as TaskKey, $ as Totals, q as V1BuyerInfo, r as V1BuyerInfoIdOneOf, s as VatId, V as VatType, a_ as VatTypeWithLiterals, W as WebhookIdentityType, b7 as WebhookIdentityTypeWithLiterals, aX as utils } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DvIwYGVa.js'; 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 bulkDeleteAbandonedCheckouts$1(httpClient: HttpClient): BulkDeleteAbandonedCheckoutsSignature; interface BulkDeleteAbandonedCheckoutsSignature { /** * Deletes multiple abandoned checkouts. * @param - Abandoned checkout IDs to be deleted. */ (abandonedCheckoutIds: string[]): Promise>; } 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. * @param - Search options. */ (search: AbandonedCheckoutSearch): 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, options?: AddAbandonedCheckoutActivityOptions): Promise>; } declare function getAbandonedCheckoutAnalytics$1(httpClient: HttpClient): GetAbandonedCheckoutAnalyticsSignature; interface GetAbandonedCheckoutAnalyticsSignature { /** * Returns site-level aggregated analytics for the site's abandoned checkouts within a date range. * * A "recoverable" checkout is an abandoned checkout still eligible to be won back; a "recovered" * checkout is one the customer later returned to and completed. The site is resolved from the * request context, and the date range is interpreted in the site's time zone. * * Use `metrics` to compute only a subset of the values, and `statuses` to restrict the aggregation * to checkouts in specific recovery states. * @param - First day to include in the aggregation, inclusive, as a `YYYY-MM-DD` calendar date * (e.g. `2022-06-01`) interpreted in the site's time zone. * @returns Site-level aggregate over the requested date range. Each field is populated only when its metric was * requested in `metrics` (or `metrics` was left empty); metrics that were not requested are left unset. * Monetary amounts are decimal strings (e.g. `"1250.90"`) denominated in `currency`. */ (startDate: string, options?: NonNullablePaths): 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 onAbandonedCheckoutCreated$1: EventDefinition; declare const onAbandonedCheckoutDeleted$1: EventDefinition; declare const onAbandonedCheckoutRecovered$1: EventDefinition; declare const onAbandonedCheckoutUpdated$1: EventDefinition; declare function customQueryAbandonedCheckouts(httpClient: HttpClient): { (): AbandonedCheckoutsQueryBuilder; (query: AbandonedCheckoutQuery): ReturnType; }; declare const getAbandonedCheckout: MaybeContext & typeof getAbandonedCheckout$1>; declare const deleteAbandonedCheckout: MaybeContext & typeof deleteAbandonedCheckout$1>; declare const bulkDeleteAbandonedCheckouts: MaybeContext & typeof bulkDeleteAbandonedCheckouts$1>; declare const searchAbandonedCheckouts: MaybeContext & typeof searchAbandonedCheckouts$1>; /** @internal */ declare const addAbandonedCheckoutActivity: MaybeContext & typeof addAbandonedCheckoutActivity$1>; declare const getAbandonedCheckoutAnalytics: MaybeContext & typeof getAbandonedCheckoutAnalytics$1>; declare const redirectToCheckout: MaybeContext & typeof redirectToCheckout$1>; declare const queryAbandonedCheckouts: MaybeContext & typeof customQueryAbandonedCheckouts>; /** * Triggered when an abandoned checkout is created. */ declare const onAbandonedCheckoutCreated: BuildEventDefinition & typeof onAbandonedCheckoutCreated$1; /** * Triggerred when an abandoned checkout is deleted. */ declare const onAbandonedCheckoutDeleted: BuildEventDefinition & typeof onAbandonedCheckoutDeleted$1; /** * Triggered when an abandoned checkout is recovered. */ declare const onAbandonedCheckoutRecovered: BuildEventDefinition & typeof onAbandonedCheckoutRecovered$1; /** * Triggered when an abandoned checkout is updated. */ declare const onAbandonedCheckoutUpdated: BuildEventDefinition & typeof onAbandonedCheckoutUpdated$1; export { AbandonedCheckout, AbandonedCheckoutCreatedEnvelope, AbandonedCheckoutDeletedEnvelope, AbandonedCheckoutQuery, AbandonedCheckoutRecoveredEnvelope, AbandonedCheckoutSearch, AbandonedCheckoutUpdatedEnvelope, AbandonedCheckoutsQueryBuilder, AddAbandonedCheckoutActivityOptions, AddAbandonedCheckoutActivityResponse, BulkDeleteAbandonedCheckoutsResponse, GetAbandonedCheckoutAnalyticsOptions, GetAbandonedCheckoutAnalyticsResponse, RawHttpResponse, SearchAbandonedCheckoutsResponse, addAbandonedCheckoutActivity, bulkDeleteAbandonedCheckouts, deleteAbandonedCheckout, getAbandonedCheckout, getAbandonedCheckoutAnalytics, onAbandonedCheckoutCreated, onAbandonedCheckoutDeleted, onAbandonedCheckoutRecovered, onAbandonedCheckoutUpdated, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };