import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { A as AbandonedCheckout, B as BulkDeleteAbandonedCheckoutsResponse, a as AbandonedCheckoutSearch, S as SearchAbandonedCheckoutsResponse, G as GetAbandonedCheckoutAnalyticsOptions, b as GetAbandonedCheckoutAnalyticsResponse, R as RawHttpResponse, c as AbandonedCheckoutCreatedEnvelope, d as AbandonedCheckoutDeletedEnvelope, e as AbandonedCheckoutRecoveredEnvelope, f as AbandonedCheckoutUpdatedEnvelope, g as AbandonedCheckoutsQueryBuilder, h as AbandonedCheckoutQuery, t as typedQueryAbandonedCheckouts } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BtuyEhZe.js'; export { aU as AbandonedCheckoutQuerySpec, $ as AbandonedCheckoutRecovered, aV as AbandonedCheckoutSearchSpec, aT as AbandonedCheckoutsQueryResult, aP as AccountInfo, aS as AccountInfoMetadata, aK as ActionEvent, s as Activity, i as ActivityType, aY as ActivityTypeWithLiterals, aW as AddAbandonedCheckoutActivityOptions, as as AddAbandonedCheckoutActivityRequest, at as AddAbandonedCheckoutActivityResponse, ad as AddressLocation, a6 as ApplicationError, K as AppliedDiscount, N as AppliedDiscountDiscountSourceOneOf, aQ as BaseEventMetadata, a7 as BulkAbandonedCheckoutResult, a8 as BulkActionMetadata, a4 as BulkDeleteAbandonedCheckoutsRequest, Y as BuyerInfo, aA as Cancel, X as CartAbandonedEvent, _ as CartRecoveredEvent, u as CatalogReference, E as Color, ap as CommonCursorPaging, ar as CommonCursors, ao as CommonPaging, aq as CommonPagingMetadataV2, b8 as CommonQueryWithEntityContext, b9 as CommonSearchWithEntityContext, C as CommonSortOrder, b4 as CommonSortOrderWithLiterals, am as CommonSorting, az as Complete, O as Coupon, af as CursorPaging, ai as Cursors, a2 as DeleteAbandonedCheckoutRequest, a3 as DeleteAbandonedCheckoutResponse, v as DescriptionLine, x as DescriptionLineDescriptionLineValueOneOf, y as DescriptionLineName, D as DescriptionLineType, a$ as DescriptionLineTypeWithLiterals, w as DescriptionLineValueOneOf, J as Dimensions, k as DimensionsUnit, b0 as DimensionsUnitWithLiterals, T as DiscountRule, U as DiscountRuleName, l as DiscountType, b1 as DiscountTypeWithLiterals, aE as DomainEvent, aF as DomainEventBodyOneOf, aL as Empty, aG as EntityCreatedEvent, aJ as EntityDeletedEvent, aI as EntityUpdatedEvent, aR as EventMetadata, F as FullAddressContactDetails, au as GetAbandonedCheckoutAnalyticsRequest, a0 as GetAbandonedCheckoutRequest, a1 as GetAbandonedCheckoutResponse, aD as HeadersEntry, aN as IdentificationData, aO as IdentificationDataIdOneOf, I as Identity, b2 as IdentityWithLiterals, a5 as ItemMetadata, L as LineItem, Q as MerchantDiscount, aM as MessageEnvelope, n as Metric, b6 as MetricWithLiterals, M as Mode, b5 as ModeWithLiterals, r as MultiCurrencyPrice, ae as Paging, ah as PagingMetadataV2, H as PhysicalProperties, z as PlainTextValue, P as ProductName, a9 as QueryAbandonedCheckoutsRequest, ag as QueryAbandonedCheckoutsResponse, aa as QueryV2, ab as QueryV2PagingMethodOneOf, aC as RedirectToCheckoutRequest, aB as Reschedule, aH as RestoreInfo, ak as Search, aj as SearchAbandonedCheckoutsRequest, an as SearchDetails, al as SearchPagingMethodOneOf, m as SortOrder, b3 as SortOrderWithLiterals, ac as Sorting, j as Status, aZ as StatusWithLiterals, av as Task, ax as TaskAction, ay as TaskActionActionOneOf, aw as TaskKey, Z as Totals, o as V1BuyerInfo, p as V1BuyerInfoIdOneOf, q 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-BtuyEhZe.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>; } 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>; 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, BulkDeleteAbandonedCheckoutsResponse, GetAbandonedCheckoutAnalyticsOptions, GetAbandonedCheckoutAnalyticsResponse, RawHttpResponse, SearchAbandonedCheckoutsResponse, bulkDeleteAbandonedCheckouts, deleteAbandonedCheckout, getAbandonedCheckout, getAbandonedCheckoutAnalytics, onAbandonedCheckoutCreated, onAbandonedCheckoutDeleted, onAbandonedCheckoutRecovered, onAbandonedCheckoutUpdated, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };