import { a2 as GetAbandonedCheckoutRequest$1, a3 as GetAbandonedCheckoutResponse$1, a4 as DeleteAbandonedCheckoutRequest$1, a5 as DeleteAbandonedCheckoutResponse$1, a6 as BulkDeleteAbandonedCheckoutsRequest$1, B as BulkDeleteAbandonedCheckoutsResponse$1, ab as QueryAbandonedCheckoutsRequest$1, ai as QueryAbandonedCheckoutsResponse$1, al as SearchAbandonedCheckoutsRequest$1, S as SearchAbandonedCheckoutsResponse$1, au as AddAbandonedCheckoutActivityRequest$1, c as AddAbandonedCheckoutActivityResponse$1, av as GetAbandonedCheckoutAnalyticsRequest$1, d as GetAbandonedCheckoutAnalyticsResponse$1, aD as RedirectToCheckoutRequest$1, R as RawHttpResponse$1 } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DvIwYGVa.js'; import '@wix/sdk-types'; /** A checkout that was started but not completed. Use abandoned checkouts to track and recover potential sales through automated follow-ups. */ interface AbandonedCheckout { /** * Abandoned checkout ID. * @format GUID */ id?: string; /** Date and time the abandoned checkout was created. */ createdDate?: Date | null; /** Date and time the abandoned checkout was updated. */ updatedDate?: Date | null; /** * The associated checkout ID. * @format GUID */ checkoutId?: string | null; /** * The associated cart ID. * @format GUID */ cartId?: string | null; /** Status of the abandoned checkout. */ status?: StatusWithLiterals; /** * Language for communication with the buyer. Defaults to the site language. * For a site that supports multiple languages, this is the language the buyer selected. */ buyerLanguage?: string | null; /** Buyer information. */ buyerInfo?: V1BuyerInfo; /** Contact details. */ contactDetails?: FullAddressContactDetails; /** * The store's currency. * @format CURRENCY */ currency?: string; /** * Currency the buyer used in checkout. * @format CURRENCY */ conversionCurrency?: string | null; /** Total price after discounts, gift cards, and tax. */ totalPrice?: MultiCurrencyPrice; /** * List of all automation activities performed by [Wix Automations](https://dev.wix.com/docs/rest/business-management/automations/introduction) regarding the abandoned checkout. * Wix Automations updates the `activities` field for each activity in the automation flow. Only relevant if the site owner set up * [automations in the Dashboard](https://support.wix.com/en/article/wix-automations-creating-an-automation-with-the-new-builder#step-1-create-a-new-automation). Read more about `activities` in * the Abandoned Checkouts introduction. * @maxSize 20 * @readonly */ activities?: Activity[]; /** Date and time the abandoned checkout was recovered. */ checkoutRecoveredDate?: Date | null; /** * Checkout URL. * @format WEB_URL */ checkoutUrl?: string; /** Subtotal price of all line items, before discounts and before tax. */ subtotalPrice?: MultiCurrencyPrice; /** * Line items. * @minSize 1 * @maxSize 300 * @readonly */ lineItems?: LineItem[]; /** * Applied discounts. * @maxSize 100 * @readonly */ appliedDiscounts?: AppliedDiscount[]; } declare enum ActivityType { /** Scheduled. */ SCHEDULED = "SCHEDULED", /** Email sent. */ EMAIL_SENT = "EMAIL_SENT", /** Email not sent. */ EMAIL_NOT_SENT = "EMAIL_NOT_SENT", /** Notification sent. */ NOTIFICATION_SENT = "NOTIFICATION_SENT", /** Task created. */ TASK_CREATED = "TASK_CREATED", /** Automation skipped. */ AUTOMATION_SKIPPED = "AUTOMATION_SKIPPED" } /** @enumType */ type ActivityTypeWithLiterals = ActivityType | 'SCHEDULED' | 'EMAIL_SENT' | 'EMAIL_NOT_SENT' | 'NOTIFICATION_SENT' | 'TASK_CREATED' | 'AUTOMATION_SKIPPED'; /** Status of the abandoned checkout. */ declare enum Status { /** Abandoned. */ ABANDONED = "ABANDONED", /** Recovered. */ RECOVERED = "RECOVERED" } /** @enumType */ type StatusWithLiterals = Status | 'ABANDONED' | 'RECOVERED'; /** Buyer information. */ interface V1BuyerInfo extends V1BuyerInfoIdOneOf { /** * Visitor ID (if the site visitor is **not** a site member). * @format GUID */ visitorId?: string; /** * Member ID (if the site visitor is a site member). * @format GUID */ memberId?: string; /** * User ID (if the site visitor is a site owner or collaborator). * @format GUID */ userId?: string; /** * Contact ID. For more information, see the Contacts API. * @format GUID * @readonly */ contactId?: string | null; /** * Buyer email address. * @maxLength 50 * @format EMAIL */ email?: string | null; } /** @oneof */ interface V1BuyerInfoIdOneOf { /** * Visitor ID (if the site visitor is **not** a site member). * @format GUID */ visitorId?: string; /** * Member ID (if the site visitor is a site member). * @format GUID */ memberId?: string; /** * User ID (if the site visitor is a site owner or collaborator). * @format GUID */ userId?: string; } /** Full contact details for an address */ interface FullAddressContactDetails { /** * First name. * @maxLength 100 */ firstName?: string | null; /** * Last name. * @maxLength 100 */ lastName?: string | null; /** * Phone number. * @format PHONE */ phone?: string | null; /** * Company name. * @maxLength 1000 */ company?: string | null; /** Tax information (for Brazil only). If ID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed. */ vatId?: VatId; } interface VatId { /** Customer's tax ID. */ id?: string; /** * Tax type. * * Supported values: * + `CPF`: for individual tax payers * + `CNPJ`: for corporations */ type?: VatTypeWithLiterals; } /** tax info types */ declare enum VatType { UNSPECIFIED = "UNSPECIFIED", /** CPF - for individual tax payers. */ CPF = "CPF", /** CNPJ - for corporations */ CNPJ = "CNPJ" } /** @enumType */ type VatTypeWithLiterals = VatType | 'UNSPECIFIED' | 'CPF' | 'CNPJ'; interface MultiCurrencyPrice { /** * Amount. * @decimalValue options { gte:0, lte:1000000000000000 } */ amount?: string; /** * Converted amount. * @readonly * @decimalValue options { gte:0, lte:1000000000000000 } */ convertedAmount?: string; /** * Amount formatted with currency symbol. * @readonly */ formattedAmount?: string; /** * Converted amount formatted with currency symbol. * @readonly */ formattedConvertedAmount?: string; } interface Activity { /** Date and time the automation activity was created. */ createdDate?: Date | null; /** Automation activity type. */ type?: ActivityTypeWithLiterals; } interface LineItem { /** * Line item ID. * @format GUID * @readonly */ id?: string | null; /** * Item quantity. * @min 1 * @max 100000 */ quantity?: number; /** * Catalog and item reference. Holds IDs for the item and the catalog it came from, as well as further optional info. * Optional for custom line items, which don't trigger the Catalog service plugin. */ catalogReference?: CatalogReference; /** * Item name. * + Stores - `product.name` * + Bookings - `service.info.name` * + Events - `ticket.name` * @readonly */ productName?: ProductName; /** * Item price **after** catalog-defined discount and line item discounts. * @readonly */ price?: MultiCurrencyPrice; /** * Item price **before** line item discounts and **after** catalog-defined discount. Defaults to `price` when not provided. * @readonly */ priceBeforeDiscounts?: MultiCurrencyPrice; /** * Line item description lines. Used for displaying the cart, checkout and order. * @maxSize 300 * @readonly */ descriptionLines?: DescriptionLine[]; /** * Line item image details. * @readonly */ image?: Image; /** * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. * @readonly */ physicalProperties?: PhysicalProperties; } /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */ interface CatalogReference { /** * ID of the item within the catalog it belongs to. * @minLength 1 * @maxLength 36 */ catalogItemId?: string; /** * ID of the app providing the catalog. * * You can get your app's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/). * * For items from Wix catalogs, the following values always apply: * + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"` * + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"` * + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"` * @minLength 1 */ appId?: string; /** * Additional item details in `key:value` pairs. * * Use this optional field for more specificity with item selection. The values of the `options` field differ depending on which catalog is providing the items. * * For Wix Stores products, learn more about integrating with [Catalog V3](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration) * or [Catalog V1](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v1/catalog/e-commerce-integration), depending on [the version the site uses](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-versioning/introduction). */ options?: Record | null; } interface ProductName { /** * __Required.__ Item name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). * * Min: 1 character. * Max: 200 characters. * @minLength 1 * @maxLength 200 */ original?: string; /** * Item name translated into the buyer's language. * * Min: 1 character. * Max: 400 characters. * Default: Same as `original`. * @minLength 1 * @maxLength 400 */ translated?: string | null; } interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf { /** Description line plain text value. */ plainText?: PlainTextValue; /** Description line color value. */ colorInfo?: Color; /** * Description line plain text value. * @internal * @deprecated */ plainTextValue?: PlainTextValue; /** * Description line color. * @internal * @deprecated */ color?: string; /** Description line name. */ name?: DescriptionLineName; /** * Description line type. * @internal * @deprecated */ lineType?: DescriptionLineTypeWithLiterals; } /** @oneof */ interface DescriptionLineValueOneOf { /** Description line plain text value. */ plainText?: PlainTextValue; /** Description line color value. */ colorInfo?: Color; } /** @oneof */ interface DescriptionLineDescriptionLineValueOneOf { /** * Description line plain text value. * @internal * @deprecated */ plainTextValue?: PlainTextValue; /** * Description line color. * @internal * @deprecated */ color?: string; } interface DescriptionLineName { /** * Description line name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). * @maxLength 100 */ original?: string; /** * Description line name translated into the buyer's language. * * Default: Same as `original`. * @maxLength 200 */ translated?: string | null; } interface PlainTextValue { /** * Description line plain text value in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). * @maxLength 600 */ original?: string; /** * Description line plain text value translated into the buyer's language. * * Default: Same as `original`. * @maxLength 600 */ translated?: string | null; } interface Color { /** * Description line color name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). * @maxLength 500 */ original?: string; /** * Description line color name translated into the buyer's language. * * Default: Same as `original`. * @maxLength 500 */ translated?: string | null; /** HEX or RGB color code for display. */ code?: string | null; } declare enum DescriptionLineType { /** Unrecognized type. */ UNRECOGNISED = "UNRECOGNISED", /** Plain text type. */ PLAIN_TEXT = "PLAIN_TEXT", /** Color type. */ COLOR = "COLOR" } /** @enumType */ type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR'; interface Image { /** * WixMedia image ID. * @maxLength 400 */ id?: string; /** * Image URL. * @format WEB_URL */ url?: string; /** * Original image height. * @readonly */ height?: number; /** * Original image width. * @readonly */ width?: number; /** * Image alt text. * @maxLength 200 */ altText?: string | null; } interface PhysicalProperties { /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */ weight?: number | null; /** * Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). * @maxLength 40 */ sku?: string | null; /** Whether this line item is shippable. */ shippable?: boolean; /** * Product dimensions (length, width, height of the physical product). * @internal */ productDimensions?: Dimensions; /** * Package dimensions (length, width, height of the shipping package). * @internal */ packageDimensions?: Dimensions; } interface Dimensions { /** * Length. Measurement unit is handled at the system level (metric/imperial). * @decimalValue options { gte:0, lte:999999999, maxScale:6 } */ length?: string | null; /** * Width. Measurement unit is handled at the system level (metric/imperial). * @decimalValue options { gte:0, lte:999999999, maxScale:6 } */ width?: string | null; /** * Height. Measurement unit is handled at the system level (metric/imperial). * @decimalValue options { gte:0, lte:999999999, maxScale:6 } */ height?: string | null; /** Unit of measurement for dimensions (length, width, height). */ unit?: DimensionsUnitWithLiterals; } declare enum DimensionsUnit { UNKNOWN_DIMENSIONS_UNIT = "UNKNOWN_DIMENSIONS_UNIT", /** Millimeters. */ MM = "MM", /** Centimeters. */ CM = "CM", /** Meters. */ M = "M", /** Inches. */ IN = "IN", /** Feet. */ FT = "FT", /** Yards. */ YD = "YD" } /** @enumType */ type DimensionsUnitWithLiterals = DimensionsUnit | 'UNKNOWN_DIMENSIONS_UNIT' | 'MM' | 'CM' | 'M' | 'IN' | 'FT' | 'YD'; interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf { /** Coupon details. */ coupon?: Coupon; /** Merchant discount. */ merchantDiscount?: MerchantDiscount; /** Discount rule */ discountRule?: DiscountRule; /** Discount type. */ discountType?: DiscountTypeWithLiterals; /** * IDs of line items the discount applies to. * @format GUID * @maxSize 300 */ lineItemIds?: string[]; } /** @oneof */ interface AppliedDiscountDiscountSourceOneOf { /** Coupon details. */ coupon?: Coupon; /** Merchant discount. */ merchantDiscount?: MerchantDiscount; /** Discount rule */ discountRule?: DiscountRule; } declare enum DiscountType { GLOBAL = "GLOBAL", SPECIFIC_ITEMS = "SPECIFIC_ITEMS", SHIPPING = "SHIPPING" } /** @enumType */ type DiscountTypeWithLiterals = DiscountType | 'GLOBAL' | 'SPECIFIC_ITEMS' | 'SHIPPING'; interface Coupon { /** * Coupon ID. * @maxLength 50 */ id?: string; /** * Coupon code. * @maxLength 50 */ code?: string; /** Coupon value. */ amount?: MultiCurrencyPrice; /** * Coupon name. * @maxLength 60 */ name?: string; } interface MerchantDiscount { /** Discount value. */ amount?: MultiCurrencyPrice; /** * Discount Percentage. Will be calculated from items price before other discounts. * @min 1 * @max 100 */ percentage?: number | null; } interface DiscountRule { /** * Discount rule ID * @format GUID */ id?: string; /** Discount rule name */ name?: DiscountRuleName; /** Discount value. */ amount?: MultiCurrencyPrice; } interface DiscountRuleName { /** * Original discount rule name (in site's default language). * @minLength 1 * @maxLength 256 */ original?: string; /** * Translated discount rule name according to buyer language. Defaults to `original` when not provided. * @minLength 1 * @maxLength 500 */ translated?: string | null; } interface CartAbandonedEvent { /** @format GUID */ cartId?: string; /** * Time the cart was created * @readonly */ creationTime?: Date | null; /** * Time the cart was abandoned * @readonly */ abandonTime?: Date | null; /** Buyer information */ buyerInfo?: BuyerInfo; /** Amount of items in cart */ itemsCount?: number; /** Coupon ID (if relevant) */ couponId?: string; /** Subtotal of all line items in cart, not before shipping and taxes */ totals?: Totals; /** * Checkout URL - checkout with the abandoned cart details * @format WEB_URL */ checkoutUrl?: string; /** * checkout id for buy now flow * @internal * @readonly */ checkoutId?: string | null; } interface BuyerInfo { /** * Wix customer ID * @format GUID */ id?: string; /** Customer information */ identityType?: IdentityWithLiterals; /** * Customer's email address * @maxLength 50 * @format EMAIL */ email?: string | null; /** * Customer's phone number * @format PHONE */ phone?: string | null; /** Customer's first name */ firstName?: string | null; /** Customer's last name */ lastName?: string | null; } declare enum Identity { /** Customer is the site owner */ ADMIN = "ADMIN", /** Customer is logged in */ MEMBER = "MEMBER", /** Customer is not logged in */ VISITOR = "VISITOR", /** Contact was created for the customer */ CONTACT = "CONTACT" } /** @enumType */ type IdentityWithLiterals = Identity | 'ADMIN' | 'MEMBER' | 'VISITOR' | 'CONTACT'; interface Totals { /** * Subtotal of all line items in cart, without shipping and taxes * @max 999999999.99 */ subtotal?: number | null; /** * Total cart price * @max 999999999.99 */ total?: number | null; /** Formatted total cart price includes currency symbol */ formattedTotal?: string; } interface CartRecoveredEvent { /** @format GUID */ cartId?: string; /** * Time the cart was recovered * @readonly */ recoveredTime?: Date | null; /** * Time the cart was created * @readonly */ creationTime?: Date | null; /** * Time the cart was abandoned * @readonly */ abandonedTime?: Date | null; /** * Checkout id * @internal * @readonly */ checkoutId?: string | null; } /** Triggered when an abandoned checkout is recovered (the customer completes the checkout). */ interface AbandonedCheckoutRecovered { /** The abandoned checkout that was recovered. */ abandonedCheckout?: AbandonedCheckout; } interface GetAbandonedCheckoutRequest { /** * Abandoned checkout ID. * @format GUID */ abandonedCheckoutId: string; } interface GetAbandonedCheckoutResponse { /** The requested abandoned checkout. */ abandonedCheckout?: AbandonedCheckout; } interface DeleteAbandonedCheckoutRequest { /** * Id of the abandoned checkout to delete * @format GUID */ abandonedCheckoutId: string; } interface DeleteAbandonedCheckoutResponse { } interface BulkDeleteAbandonedCheckoutsRequest { /** * Abandoned checkout IDs to be deleted. * @minSize 1 * @maxSize 100 * @format GUID */ abandonedCheckoutIds: string[]; } interface BulkDeleteAbandonedCheckoutsResponse { /** * Results of the bulk delete operation. * @minSize 1 * @maxSize 100 */ results?: BulkAbandonedCheckoutResult[]; /** Metadata about the bulk action. */ bulkActionMetadata?: BulkActionMetadata; } interface ItemMetadata { /** * Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed. * @format GUID */ id?: string | null; /** Index of the item within the request array. Allows for correlation between request and response items. */ originalIndex?: number; /** Whether the requested action for this item was successful. When `false`, the `error` field is returned. */ success?: boolean; /** Details about the error in case of failure. */ error?: ApplicationError; } interface ApplicationError { /** Error code. */ code?: string; /** Description of the error. */ description?: string; /** Data related to the error. */ data?: Record | null; } interface BulkAbandonedCheckoutResult { /** ID of the abandoned checkout that was deleted. */ itemMetadata?: ItemMetadata; } interface BulkActionMetadata { /** Number of items that were successfully processed. */ totalSuccesses?: number; /** Number of items that couldn't be processed. */ totalFailures?: number; /** Number of failures without details because detailed failure threshold was exceeded. */ undetailedFailures?: number; } interface QueryAbandonedCheckoutsRequest { /** Query options. */ query: QueryV2; } interface QueryV2 extends QueryV2PagingMethodOneOf { /** Paging options to limit and offset the number of items. */ paging?: Paging; /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ cursorPaging?: CursorPaging; /** * Filter object. * * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters). */ filter?: Record | null; /** * Sort object. * * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting). */ sort?: Sorting[]; /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */ fields?: string[]; /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */ fieldsets?: string[]; } /** @oneof */ interface QueryV2PagingMethodOneOf { /** Paging options to limit and offset the number of items. */ paging?: Paging; /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ cursorPaging?: CursorPaging; } interface Sorting { /** * Name of the field to sort by. * @maxLength 512 */ fieldName?: string; /** Sort order. */ order?: SortOrderWithLiterals; /** * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked. * * If multiple filters are provided, they are combined with AND operator. * * Example: * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]} * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] } * @internal * @maxSize 10 */ selectItemsBy?: Record[] | null; /** * Origin point for geo-distance sorting on a GEO field * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first). */ origin?: AddressLocation; } declare enum SortOrder { ASC = "ASC", DESC = "DESC" } /** @enumType */ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC'; interface AddressLocation { /** Address latitude. */ latitude?: number | null; /** Address longitude. */ longitude?: number | null; } interface Paging { /** Number of items to load. */ limit?: number | null; /** Number of items to skip in the current sort order. */ offset?: number | null; } interface CursorPaging { /** * Maximum number of items to return in the results. * @max 100 */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. * @maxLength 16000 */ cursor?: string | null; } interface QueryAbandonedCheckoutsResponse { /** * __Deprecated.__ Use `abandonedCheckouts` instead. * @deprecated */ results?: AbandonedCheckout[]; /** List of abandoned checkouts. */ abandonedCheckouts?: AbandonedCheckout[]; /** Details on the paged set of results returned. */ metadata?: PagingMetadataV2; } interface PagingMetadataV2 { /** Number of items returned in the response. */ count?: number | null; /** Offset that was requested. */ offset?: number | null; /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */ total?: number | null; /** Flag that indicates the server failed to calculate the `total` field. */ tooManyToCount?: boolean | null; /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */ cursors?: Cursors; /** * Indicates if there are more results after the current page. * If `true`, another page of results can be retrieved. * If `false`, this is the last page. * @internal */ hasNext?: boolean | null; } interface Cursors { /** * Cursor string pointing to the next page in the list of results. * @maxLength 16000 */ next?: string | null; /** * Cursor pointing to the previous page in the list of results. * @maxLength 16000 */ prev?: string | null; } interface SearchAbandonedCheckoutsRequest { /** Search options. */ search?: Search; } interface Search extends SearchPagingMethodOneOf { /** Paging options to limit and offset the number of items. */ paging?: CommonPaging; /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not filter or sort. */ cursorPaging?: CommonCursorPaging; /** * Filter object. * * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters). */ filter?: Record | null; /** * Sort object. * * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting). * @maxSize 4 */ sort?: CommonSorting[]; /** Free text to match in searchable fields. */ search?: SearchDetails; } /** @oneof */ interface SearchPagingMethodOneOf { /** Paging options to limit and offset the number of items. */ paging?: CommonPaging; /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not filter or sort. */ cursorPaging?: CommonCursorPaging; } interface CommonSorting { /** * Name of the field to sort by. * @maxLength 40 */ fieldName?: string; /** Sort order. */ order?: CommonSortOrderWithLiterals; } declare enum CommonSortOrder { /** Ascending order. */ ASC = "ASC", /** Descending order. */ DESC = "DESC" } /** @enumType */ type CommonSortOrderWithLiterals = CommonSortOrder | 'ASC' | 'DESC'; interface SearchDetails { /** Search mode. Defines the search logic for combining multiple terms in the `expression`. */ mode?: ModeWithLiterals; /** * Search term or expression. * @maxLength 100 */ expression?: string | null; /** * Fields to search in. If the array is empty, all searchable fields are searched. Use dot notation to specify a JSON path. For example, `order.address.streetName`. * @maxLength 100 * @maxSize 20 */ fields?: string[]; /** Whether to enable the search function to use an algorithm to automatically find results that are close to the search expression, such as typos and declensions. */ fuzzy?: boolean; } declare enum Mode { /** At least one of the search terms must be present. */ OR = "OR", /** All search terms must be present. */ AND = "AND" } /** @enumType */ type ModeWithLiterals = Mode | 'OR' | 'AND'; interface CommonPaging { /** * Number of items to load. * @max 100 */ limit?: number | null; /** Number of items to skip in the current sort order. */ offset?: number | null; } interface CommonCursorPaging { /** * Maximum number of items to return in the results. * @max 100 */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. */ cursor?: string | null; } interface SearchAbandonedCheckoutsResponse { /** List of abandoned checkouts. */ abandonedCheckouts?: AbandonedCheckout[]; /** Paging metadata. Contains cursor which can be used in next query. */ pagingMetadata?: CommonPagingMetadataV2; } interface CommonPagingMetadataV2 { /** Number of items returned in the response. */ count?: number | null; /** Offset that was requested. */ offset?: number | null; /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */ total?: number | null; /** Flag that indicates the server failed to calculate the `total` field. */ tooManyToCount?: boolean | null; /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */ cursors?: CommonCursors; /** * Indicates if there are more results after the current page. * If `true`, another page of results can be retrieved. * If `false`, this is the last page. * @internal */ hasNext?: boolean | null; } interface CommonCursors { /** Cursor string pointing to the next page in the list of results. */ next?: string | null; /** Cursor pointing to the previous page in the list of results. */ prev?: string | null; } interface AddAbandonedCheckoutActivityRequest { /** * Id of the abandoned checkout to update * @format GUID */ abandonedCheckoutId: string | null; /** The type of the activity to add */ activityType?: ActivityTypeWithLiterals; } interface AddAbandonedCheckoutActivityResponse { /** The updated abandoned checkout with the added activity */ abandonedCheckout?: AbandonedCheckout; } interface GetAbandonedCheckoutAnalyticsRequest { /** * 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. * @format LOCAL_DATE * @minLength 10 */ startDate: string; /** * Last day to include in the aggregation, inclusive, as a `YYYY-MM-DD` calendar date * (e.g. `2022-07-06`) interpreted in the site's time zone. Must be on or after `start_date`. * @format LOCAL_DATE * @minLength 10 */ endDate: string; /** * Metrics to compute. Each selected metric populates its matching response field, leaving the * rest unset. Leave empty to compute every metric. * * Metrics are computed only over the checkouts left after `statuses` is applied, so a * recovered-only metric (`RECOVERED_VALUE`, `RECOVERED_CHECKOUT_COUNT`) combined with * `statuses = [ABANDONED]` returns `0`, and a recoverable-only metric * (`RECOVERABLE_VALUE`, `RECOVERABLE_CHECKOUT_COUNT`) combined with `statuses = [RECOVERED]` * returns `0`. Leave `statuses` empty to compute each metric over its full population. * @maxSize 6 */ metrics?: MetricWithLiterals[]; /** * Restricts the aggregation to abandoned checkouts currently in these recovery states * (`ABANDONED`, `RECOVERED`). Leave empty to include checkouts regardless of status. * * This filter scopes the population that every requested metric is computed over. Pairing it * with a metric for the opposite state yields `0` (e.g. `statuses = [ABANDONED]` with * `RECOVERED_VALUE`); leave empty unless you intend to narrow all metrics to these states. * @maxSize 2 */ statuses?: StatusWithLiterals[]; } /** * A metric that can be requested for computation. Each value maps to the identically named field * in `GetAbandonedCheckoutAnalyticsResponse`; request a subset via `metrics` to compute only those. */ declare enum Metric { /** Total value of recoverable checkouts that were abandoned but not yet recovered. */ RECOVERABLE_VALUE = "RECOVERABLE_VALUE", /** Count of recoverable checkouts in the range that were abandoned but not yet recovered. */ RECOVERABLE_CHECKOUT_COUNT = "RECOVERABLE_CHECKOUT_COUNT", /** * Average value of a recoverable checkout that was not yet recovered: total value of recoverable checkouts * that were not yet recovered, divided by the count of recoverable checkouts that were not yet recovered. */ AVERAGE_RECOVERABLE_CHECKOUT_VALUE = "AVERAGE_RECOVERABLE_CHECKOUT_VALUE", /** Total value of the checkouts that were later recovered. */ RECOVERED_VALUE = "RECOVERED_VALUE", /** Count of checkouts that were later recovered. */ RECOVERED_CHECKOUT_COUNT = "RECOVERED_CHECKOUT_COUNT", /** Share of all recoverable checkouts that were recovered: recovered_checkout_count / (recoverable_checkout_count + recovered_checkout_count). */ RECOVERY_RATE = "RECOVERY_RATE" } /** @enumType */ type MetricWithLiterals = Metric | 'RECOVERABLE_VALUE' | 'RECOVERABLE_CHECKOUT_COUNT' | 'AVERAGE_RECOVERABLE_CHECKOUT_VALUE' | 'RECOVERED_VALUE' | 'RECOVERED_CHECKOUT_COUNT' | 'RECOVERY_RATE'; /** * 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`. */ interface GetAbandonedCheckoutAnalyticsResponse { /** * ISO-4217 code (e.g. `USD`) that every monetary amount in this response is expressed in; the site's currency. * @format CURRENCY */ currency?: string; /** * Total value of recoverable checkouts that were abandoned but not yet recovered. * @decimalValue options { gte:0, maxScale:2 } */ recoverableValue?: string | null; /** Count of recoverable checkouts that were not recovered. */ recoverableCheckoutCount?: number | null; /** * Average value of a recoverable checkout that was not yet recovered: total value of recoverable checkouts * that were not yet recovered, divided by the count of recoverable checkouts that were not yet recovered. * @decimalValue options { gte:0, maxScale:2 } */ averageRecoverableCheckoutValue?: string | null; /** * Total value of the checkouts that were later recovered. * @decimalValue options { gte:0, maxScale:2 } */ recoveredValue?: string | null; /** Count of checkouts that were later recovered. */ recoveredCheckoutCount?: number | null; /** Share of recoverable checkouts that were recovered, from `0` (none) to `1` (all). */ recoveryRate?: number | null; } interface Task { key?: TaskKey; executeAt?: Date | null; payload?: string | null; } interface TaskKey { appId?: string; instanceId?: string; subjectId?: string | null; } interface TaskAction extends TaskActionActionOneOf { complete?: Complete; cancel?: Cancel; reschedule?: Reschedule; } /** @oneof */ interface TaskActionActionOneOf { complete?: Complete; cancel?: Cancel; reschedule?: Reschedule; } interface Complete { } interface Cancel { } interface Reschedule { executeAt?: Date | null; payload?: string | null; } interface RedirectToCheckoutRequest { /** * ID of the abandoned checkout. * @format GUID */ abandonedCheckoutId: string; /** * Metasite ID of the site associated with the abandoned checkout. * @format GUID */ metasiteId: string; } interface RawHttpResponse { body?: Uint8Array; statusCode?: number | null; headers?: HeadersEntry[]; } interface HeadersEntry { key?: string; value?: string; } interface DomainEvent extends DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; /** Event ID. With this ID you can easily spot duplicated events and ignore them. */ id?: string; /** * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities. * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`. */ entityFqdn?: string; /** * Event action name, placed at the top level to make it easier for users to dispatch messages. * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`. */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number. * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; } interface EntityCreatedEvent { entityAsJson?: string; /** * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity * @internal */ triggeredByUndelete?: boolean | null; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo; /** * Optional domain-specific metadata defined by the API owner, encoded as JSON. * @internal */ additionalMetadataAsJson?: string | null; } interface RestoreInfo { deletedDate?: Date | null; } interface EntityUpdatedEvent { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; /** * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard * wont populate it / have any reference to it in the API. * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed, * the developer should send only the new (current) entity. * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message. * @internal * @deprecated */ previousEntityAsJson?: string | null; /** * Map of fully qualified field paths to their previous values for fields that changed. * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format) * @internal */ modifiedFields?: Record; /** * Optional domain-specific metadata defined by the API owner, encoded as JSON. * @internal */ additionalMetadataAsJson?: string | null; } interface EntityDeletedEvent { /** * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled * @internal */ movedToTrash?: boolean | null; /** Entity that was deleted. */ deletedEntityAsJson?: string | null; /** * Optional domain-specific metadata defined by the API owner, encoded as JSON. * @internal */ additionalMetadataAsJson?: string | null; } interface ActionEvent { bodyAsJson?: string; } interface Empty { } interface MessageEnvelope { /** * App instance ID. * @format GUID */ instanceId?: string | null; /** * Event type. * @maxLength 150 */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; /** Details related to the account */ accountInfo?: AccountInfo; } interface IdentificationData extends IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; /** @readonly */ identityType?: WebhookIdentityTypeWithLiterals; } /** @oneof */ interface IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; } declare enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** @enumType */ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP'; interface AccountInfo { /** * ID of the Wix account associated with the event. * @format GUID */ accountId?: string | null; /** * ID of the parent Wix account. Only included when accountId belongs to a child account. * @format GUID */ parentAccountId?: string | null; /** * ID of the Wix site associated with the event. Only included when the event is tied to a specific site. * @format GUID */ siteId?: string | null; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function getAbandonedCheckout(): __PublicMethodMetaInfo<'GET', { abandonedCheckoutId: string; }, GetAbandonedCheckoutRequest$1, GetAbandonedCheckoutRequest, GetAbandonedCheckoutResponse$1, GetAbandonedCheckoutResponse>; declare function deleteAbandonedCheckout(): __PublicMethodMetaInfo<'DELETE', { abandonedCheckoutId: string; }, DeleteAbandonedCheckoutRequest$1, DeleteAbandonedCheckoutRequest, DeleteAbandonedCheckoutResponse$1, DeleteAbandonedCheckoutResponse>; declare function bulkDeleteAbandonedCheckouts(): __PublicMethodMetaInfo<'POST', {}, BulkDeleteAbandonedCheckoutsRequest$1, BulkDeleteAbandonedCheckoutsRequest, BulkDeleteAbandonedCheckoutsResponse$1, BulkDeleteAbandonedCheckoutsResponse>; declare function queryAbandonedCheckouts(): __PublicMethodMetaInfo<'POST', {}, QueryAbandonedCheckoutsRequest$1, QueryAbandonedCheckoutsRequest, QueryAbandonedCheckoutsResponse$1, QueryAbandonedCheckoutsResponse>; declare function searchAbandonedCheckouts(): __PublicMethodMetaInfo<'POST', {}, SearchAbandonedCheckoutsRequest$1, SearchAbandonedCheckoutsRequest, SearchAbandonedCheckoutsResponse$1, SearchAbandonedCheckoutsResponse>; declare function addAbandonedCheckoutActivity(): __PublicMethodMetaInfo<'POST', { abandonedCheckoutId: string; }, AddAbandonedCheckoutActivityRequest$1, AddAbandonedCheckoutActivityRequest, AddAbandonedCheckoutActivityResponse$1, AddAbandonedCheckoutActivityResponse>; declare function getAbandonedCheckoutAnalytics(): __PublicMethodMetaInfo<'POST', {}, GetAbandonedCheckoutAnalyticsRequest$1, GetAbandonedCheckoutAnalyticsRequest, GetAbandonedCheckoutAnalyticsResponse$1, GetAbandonedCheckoutAnalyticsResponse>; declare function redirectToCheckout(): __PublicMethodMetaInfo<'GET', { abandonedCheckoutId: string; }, RedirectToCheckoutRequest$1, RedirectToCheckoutRequest, RawHttpResponse$1, RawHttpResponse>; export { type AbandonedCheckout as AbandonedCheckoutOriginal, type AbandonedCheckoutRecovered as AbandonedCheckoutRecoveredOriginal, type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type Activity as ActivityOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequestOriginal, type AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponseOriginal, type AddressLocation as AddressLocationOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type BulkAbandonedCheckoutResult as BulkAbandonedCheckoutResultOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkDeleteAbandonedCheckoutsRequest as BulkDeleteAbandonedCheckoutsRequestOriginal, type BulkDeleteAbandonedCheckoutsResponse as BulkDeleteAbandonedCheckoutsResponseOriginal, type BuyerInfo as BuyerInfoOriginal, type Cancel as CancelOriginal, type CartAbandonedEvent as CartAbandonedEventOriginal, type CartRecoveredEvent as CartRecoveredEventOriginal, type CatalogReference as CatalogReferenceOriginal, type Color as ColorOriginal, type CommonCursorPaging as CommonCursorPagingOriginal, type CommonCursors as CommonCursorsOriginal, type CommonPagingMetadataV2 as CommonPagingMetadataV2Original, type CommonPaging as CommonPagingOriginal, CommonSortOrder as CommonSortOrderOriginal, type CommonSortOrderWithLiterals as CommonSortOrderWithLiteralsOriginal, type CommonSorting as CommonSortingOriginal, type Complete as CompleteOriginal, type Coupon as CouponOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DeleteAbandonedCheckoutRequest as DeleteAbandonedCheckoutRequestOriginal, type DeleteAbandonedCheckoutResponse as DeleteAbandonedCheckoutResponseOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetAbandonedCheckoutAnalyticsRequest as GetAbandonedCheckoutAnalyticsRequestOriginal, type GetAbandonedCheckoutAnalyticsResponse as GetAbandonedCheckoutAnalyticsResponseOriginal, type GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequestOriginal, type GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponseOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, Identity as IdentityOriginal, type IdentityWithLiterals as IdentityWithLiteralsOriginal, type Image as ImageOriginal, type ItemMetadata as ItemMetadataOriginal, type LineItem as LineItemOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, Metric as MetricOriginal, type MetricWithLiterals as MetricWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PlainTextValue as PlainTextValueOriginal, type ProductName as ProductNameOriginal, type QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequestOriginal, type QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RawHttpResponse as RawHttpResponseOriginal, type RedirectToCheckoutRequest as RedirectToCheckoutRequestOriginal, type Reschedule as RescheduleOriginal, type RestoreInfo as RestoreInfoOriginal, type SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequestOriginal, type SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponseOriginal, type SearchDetails as SearchDetailsOriginal, type Search as SearchOriginal, type SearchPagingMethodOneOf as SearchPagingMethodOneOfOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type TaskActionActionOneOf as TaskActionActionOneOfOriginal, type TaskAction as TaskActionOriginal, type TaskKey as TaskKeyOriginal, type Task as TaskOriginal, type Totals as TotalsOriginal, type V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOfOriginal, type V1BuyerInfo as V1BuyerInfoOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, addAbandonedCheckoutActivity, bulkDeleteAbandonedCheckouts, deleteAbandonedCheckout, getAbandonedCheckout, getAbandonedCheckoutAnalytics, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };