@wix/auto_sdk_ecom_abandoned-checkouts 1.0.54 → 1.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CC5qDayX.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-Co0CvJQZ.d.ts} +26 -2
- package/build/cjs/index.d.ts +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +26 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CC5qDayX.d.mts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-Co0CvJQZ.d.mts} +26 -2
- package/build/es/index.d.mts +3 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +26 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CxtZPwuB.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CKOJbTM6.d.ts} +20 -4
- package/build/internal/cjs/index.d.ts +4 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +26 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CxtZPwuB.d.mts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CKOJbTM6.d.mts} +20 -4
- package/build/internal/es/index.d.mts +4 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +26 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -59,6 +59,13 @@ interface AbandonedCheckout {
|
|
|
59
59
|
checkoutUrl?: string;
|
|
60
60
|
/** Subtotal price of all line items, before discounts and before tax. */
|
|
61
61
|
subtotalPrice?: MultiCurrencyPrice;
|
|
62
|
+
/**
|
|
63
|
+
* Line items.
|
|
64
|
+
* @minSize 1
|
|
65
|
+
* @maxSize 300
|
|
66
|
+
* @readonly
|
|
67
|
+
*/
|
|
68
|
+
lineItems?: LineItem[];
|
|
62
69
|
/**
|
|
63
70
|
* Applied discounts.
|
|
64
71
|
* @maxSize 100
|
|
@@ -1092,6 +1099,23 @@ declare enum WebhookIdentityType {
|
|
|
1092
1099
|
}
|
|
1093
1100
|
/** @enumType */
|
|
1094
1101
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1102
|
+
interface AccountDetails {
|
|
1103
|
+
/**
|
|
1104
|
+
* ID of the account.
|
|
1105
|
+
* @format GUID
|
|
1106
|
+
*/
|
|
1107
|
+
accountId?: string | null;
|
|
1108
|
+
/**
|
|
1109
|
+
* ID of the parent account.
|
|
1110
|
+
* @format GUID
|
|
1111
|
+
*/
|
|
1112
|
+
parentAccountId?: string | null;
|
|
1113
|
+
/**
|
|
1114
|
+
* ID of the site, if applicable.
|
|
1115
|
+
* @format GUID
|
|
1116
|
+
*/
|
|
1117
|
+
siteId?: string | null;
|
|
1118
|
+
}
|
|
1095
1119
|
interface BaseEventMetadata {
|
|
1096
1120
|
/**
|
|
1097
1121
|
* App instance ID.
|
|
@@ -1257,7 +1281,7 @@ declare function onAbandonedCheckoutUpdated(handler: (event: AbandonedCheckoutUp
|
|
|
1257
1281
|
* @returns The requested abandoned checkout.
|
|
1258
1282
|
* @fqn wix.ecom.abandoned_checkout.api.v1.AbandonedCheckoutService.GetAbandonedCheckout
|
|
1259
1283
|
*/
|
|
1260
|
-
declare function getAbandonedCheckout(abandonedCheckoutId: string): Promise<NonNullablePaths<AbandonedCheckout, `_id` | `status` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `buyerInfo.userId` | `contactDetails.vatId._id` | `contactDetails.vatId.type` | `currency` | `totalPrice.amount` | `totalPrice.convertedAmount` | `totalPrice.formattedAmount` | `totalPrice.formattedConvertedAmount` | `activities` | `activities.${number}.type` | `checkoutUrl` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType`, 6>>;
|
|
1284
|
+
declare function getAbandonedCheckout(abandonedCheckoutId: string): Promise<NonNullablePaths<AbandonedCheckout, `_id` | `status` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `buyerInfo.userId` | `contactDetails.vatId._id` | `contactDetails.vatId.type` | `currency` | `totalPrice.amount` | `totalPrice.convertedAmount` | `totalPrice.formattedAmount` | `totalPrice.formattedConvertedAmount` | `activities` | `activities.${number}.type` | `checkoutUrl` | `lineItems` | `lineItems.${number}.quantity` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.productName.original` | `lineItems.${number}.physicalProperties.shippable` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType`, 6>>;
|
|
1261
1285
|
/**
|
|
1262
1286
|
* Deletes an abandoned checkout.
|
|
1263
1287
|
* @param abandonedCheckoutId - Id of the abandoned checkout to delete
|
|
@@ -1540,4 +1564,4 @@ interface AddAbandonedCheckoutActivityOptions {
|
|
|
1540
1564
|
*/
|
|
1541
1565
|
declare function redirectToCheckout(abandonedCheckoutId: string, metasiteId: string): Promise<NonNullablePaths<RawHttpResponse, `body` | `headers` | `headers.${number}.key` | `headers.${number}.value`, 4>>;
|
|
1542
1566
|
|
|
1543
|
-
export { type BulkDeleteAbandonedCheckoutsRequest as $, type AbandonedCheckout as A, type BulkDeleteAbandonedCheckoutsResponse as B, CommonSortOrder as C, DescriptionLineType as D, type AppliedDiscountDiscountSourceOneOf as E, type FullAddressContactDetails as F, type Coupon as G, type MerchantDiscount as H, Identity as I, type DiscountRule as J, type DiscountRuleName as K, type LineItem as L, Mode as M, type CartAbandonedEvent as N, type BuyerInfo as O, type ProductName as P, type CartRecoveredEvent as Q, type RawHttpResponse as R, type SearchAbandonedCheckoutsResponse as S, type Totals as T, type AbandonedCheckoutRecovered as U, VatType as V, WebhookIdentityType as W, type GetAbandonedCheckoutRequest as X, type GetAbandonedCheckoutResponse as Y, type DeleteAbandonedCheckoutRequest as Z, type DeleteAbandonedCheckoutResponse as _, type AbandonedCheckoutSearch as a,
|
|
1567
|
+
export { type BulkDeleteAbandonedCheckoutsRequest as $, type AbandonedCheckout as A, type BulkDeleteAbandonedCheckoutsResponse as B, CommonSortOrder as C, DescriptionLineType as D, type AppliedDiscountDiscountSourceOneOf as E, type FullAddressContactDetails as F, type Coupon as G, type MerchantDiscount as H, Identity as I, type DiscountRule as J, type DiscountRuleName as K, type LineItem as L, Mode as M, type CartAbandonedEvent as N, type BuyerInfo as O, type ProductName as P, type CartRecoveredEvent as Q, type RawHttpResponse as R, type SearchAbandonedCheckoutsResponse as S, type Totals as T, type AbandonedCheckoutRecovered as U, VatType as V, WebhookIdentityType as W, type GetAbandonedCheckoutRequest as X, type GetAbandonedCheckoutResponse as Y, type DeleteAbandonedCheckoutRequest as Z, type DeleteAbandonedCheckoutResponse as _, type AbandonedCheckoutSearch as a, onAbandonedCheckoutCreated as a$, type ItemMetadata as a0, type ApplicationError as a1, type BulkAbandonedCheckoutResult as a2, type BulkActionMetadata as a3, type QueryAbandonedCheckoutsRequest as a4, type QueryV2 as a5, type QueryV2PagingMethodOneOf as a6, type Sorting as a7, type Paging as a8, type CursorPaging as a9, type RestoreInfo as aA, type EntityUpdatedEvent as aB, type EntityDeletedEvent as aC, type ActionEvent as aD, type Empty as aE, type MessageEnvelope as aF, type IdentificationData as aG, type IdentificationDataIdOneOf as aH, type AccountDetails as aI, type BaseEventMetadata as aJ, type EventMetadata as aK, type AbandonedCheckoutsQueryResult as aL, type AbandonedCheckoutQuerySpec as aM, type AbandonedCheckoutSearchSpec as aN, type AddAbandonedCheckoutActivityOptions as aO, type ActivityTypeWithLiterals as aP, type StatusWithLiterals as aQ, type VatTypeWithLiterals as aR, type DescriptionLineTypeWithLiterals as aS, type DiscountTypeWithLiterals as aT, type IdentityWithLiterals as aU, type SortOrderWithLiterals as aV, type CommonSortOrderWithLiterals as aW, type ModeWithLiterals as aX, type WebhookIdentityTypeWithLiterals as aY, type CommonQueryWithEntityContext as aZ, type CommonSearchWithEntityContext as a_, type QueryAbandonedCheckoutsResponse as aa, type PagingMetadataV2 as ab, type Cursors as ac, type SearchAbandonedCheckoutsRequest as ad, type Search as ae, type SearchPagingMethodOneOf as af, type CommonSorting as ag, type SearchDetails as ah, type CommonPaging as ai, type CommonCursorPaging as aj, type CommonPagingMetadataV2 as ak, type CommonCursors as al, type AddAbandonedCheckoutActivityRequest as am, type AddAbandonedCheckoutActivityResponse as an, type Task as ao, type TaskKey as ap, type TaskAction as aq, type TaskActionActionOneOf as ar, type Complete as as, type Cancel as at, type Reschedule as au, type RedirectToCheckoutRequest as av, type HeadersEntry as aw, type DomainEvent as ax, type DomainEventBodyOneOf as ay, type EntityCreatedEvent as az, type AbandonedCheckoutCreatedEnvelope as b, onAbandonedCheckoutDeleted as b0, onAbandonedCheckoutRecovered as b1, onAbandonedCheckoutUpdated as b2, getAbandonedCheckout as b3, deleteAbandonedCheckout as b4, bulkDeleteAbandonedCheckouts as b5, queryAbandonedCheckouts as b6, redirectToCheckout as b7, type AbandonedCheckoutDeletedEnvelope as c, type AbandonedCheckoutRecoveredEnvelope as d, type AbandonedCheckoutUpdatedEnvelope as e, type AbandonedCheckoutsQueryBuilder as f, type AbandonedCheckoutQuery as g, ActivityType as h, Status as i, DiscountType as j, SortOrder as k, type V1BuyerInfo as l, type V1BuyerInfoIdOneOf as m, type VatId as n, type MultiCurrencyPrice as o, type Activity as p, type CatalogReference as q, type DescriptionLine as r, type DescriptionLineValueOneOf as s, typedQueryAbandonedCheckouts as t, type DescriptionLineDescriptionLineValueOneOf as u, type DescriptionLineName as v, type PlainTextValue as w, type Color as x, type PhysicalProperties as y, type AppliedDiscount as z };
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { A as AbandonedCheckout, B as BulkDeleteAbandonedCheckoutsResponse, a as AbandonedCheckoutSearch, S as SearchAbandonedCheckoutsResponse, R as RawHttpResponse, b as AbandonedCheckoutCreatedEnvelope, c as AbandonedCheckoutDeletedEnvelope, d as AbandonedCheckoutRecoveredEnvelope, e as AbandonedCheckoutUpdatedEnvelope, f as AbandonedCheckoutsQueryBuilder, g as AbandonedCheckoutQuery, t as typedQueryAbandonedCheckouts } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-
|
|
3
|
-
export {
|
|
2
|
+
import { A as AbandonedCheckout, B as BulkDeleteAbandonedCheckoutsResponse, a as AbandonedCheckoutSearch, S as SearchAbandonedCheckoutsResponse, R as RawHttpResponse, b as AbandonedCheckoutCreatedEnvelope, c as AbandonedCheckoutDeletedEnvelope, d as AbandonedCheckoutRecoveredEnvelope, e as AbandonedCheckoutUpdatedEnvelope, f as AbandonedCheckoutsQueryBuilder, g as AbandonedCheckoutQuery, t as typedQueryAbandonedCheckouts } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-Co0CvJQZ.js';
|
|
3
|
+
export { aM as AbandonedCheckoutQuerySpec, U as AbandonedCheckoutRecovered, aN as AbandonedCheckoutSearchSpec, aL as AbandonedCheckoutsQueryResult, aI as AccountDetails, aD as ActionEvent, p as Activity, h as ActivityType, aP as ActivityTypeWithLiterals, aO as AddAbandonedCheckoutActivityOptions, am as AddAbandonedCheckoutActivityRequest, an as AddAbandonedCheckoutActivityResponse, a1 as ApplicationError, z as AppliedDiscount, E as AppliedDiscountDiscountSourceOneOf, aJ as BaseEventMetadata, a2 as BulkAbandonedCheckoutResult, a3 as BulkActionMetadata, $ as BulkDeleteAbandonedCheckoutsRequest, O as BuyerInfo, at as Cancel, N as CartAbandonedEvent, Q as CartRecoveredEvent, q as CatalogReference, x as Color, aj as CommonCursorPaging, al as CommonCursors, ai as CommonPaging, ak as CommonPagingMetadataV2, aZ as CommonQueryWithEntityContext, a_ as CommonSearchWithEntityContext, C as CommonSortOrder, aW as CommonSortOrderWithLiterals, ag as CommonSorting, as as Complete, G as Coupon, a9 as CursorPaging, ac as Cursors, Z as DeleteAbandonedCheckoutRequest, _ as DeleteAbandonedCheckoutResponse, r as DescriptionLine, u as DescriptionLineDescriptionLineValueOneOf, v as DescriptionLineName, D as DescriptionLineType, aS as DescriptionLineTypeWithLiterals, s as DescriptionLineValueOneOf, J as DiscountRule, K as DiscountRuleName, j as DiscountType, aT as DiscountTypeWithLiterals, ax as DomainEvent, ay as DomainEventBodyOneOf, aE as Empty, az as EntityCreatedEvent, aC as EntityDeletedEvent, aB as EntityUpdatedEvent, aK as EventMetadata, F as FullAddressContactDetails, X as GetAbandonedCheckoutRequest, Y as GetAbandonedCheckoutResponse, aw as HeadersEntry, aG as IdentificationData, aH as IdentificationDataIdOneOf, I as Identity, aU as IdentityWithLiterals, a0 as ItemMetadata, L as LineItem, H as MerchantDiscount, aF as MessageEnvelope, M as Mode, aX as ModeWithLiterals, o as MultiCurrencyPrice, a8 as Paging, ab as PagingMetadataV2, y as PhysicalProperties, w as PlainTextValue, P as ProductName, a4 as QueryAbandonedCheckoutsRequest, aa as QueryAbandonedCheckoutsResponse, a5 as QueryV2, a6 as QueryV2PagingMethodOneOf, av as RedirectToCheckoutRequest, au as Reschedule, aA as RestoreInfo, ae as Search, ad as SearchAbandonedCheckoutsRequest, ah as SearchDetails, af as SearchPagingMethodOneOf, k as SortOrder, aV as SortOrderWithLiterals, a7 as Sorting, i as Status, aQ as StatusWithLiterals, ao as Task, aq as TaskAction, ar as TaskActionActionOneOf, ap as TaskKey, T as Totals, l as V1BuyerInfo, m as V1BuyerInfoIdOneOf, n as VatId, V as VatType, aR as VatTypeWithLiterals, W as WebhookIdentityType, aY as WebhookIdentityTypeWithLiterals } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-Co0CvJQZ.js';
|
|
4
4
|
|
|
5
5
|
declare function getAbandonedCheckout$1(httpClient: HttpClient): GetAbandonedCheckoutSignature;
|
|
6
6
|
interface GetAbandonedCheckoutSignature {
|
|
@@ -9,7 +9,7 @@ interface GetAbandonedCheckoutSignature {
|
|
|
9
9
|
* @param - Abandoned checkout ID.
|
|
10
10
|
* @returns The requested abandoned checkout.
|
|
11
11
|
*/
|
|
12
|
-
(abandonedCheckoutId: string): Promise<NonNullablePaths<AbandonedCheckout, `_id` | `status` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `buyerInfo.userId` | `contactDetails.vatId._id` | `contactDetails.vatId.type` | `currency` | `totalPrice.amount` | `totalPrice.convertedAmount` | `totalPrice.formattedAmount` | `totalPrice.formattedConvertedAmount` | `activities` | `activities.${number}.type` | `checkoutUrl` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType`, 6>>;
|
|
12
|
+
(abandonedCheckoutId: string): Promise<NonNullablePaths<AbandonedCheckout, `_id` | `status` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `buyerInfo.userId` | `contactDetails.vatId._id` | `contactDetails.vatId.type` | `currency` | `totalPrice.amount` | `totalPrice.convertedAmount` | `totalPrice.formattedAmount` | `totalPrice.formattedConvertedAmount` | `activities` | `activities.${number}.type` | `checkoutUrl` | `lineItems` | `lineItems.${number}.quantity` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.productName.original` | `lineItems.${number}.physicalProperties.shippable` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType`, 6>>;
|
|
13
13
|
}
|
|
14
14
|
declare function deleteAbandonedCheckout$1(httpClient: HttpClient): DeleteAbandonedCheckoutSignature;
|
|
15
15
|
interface DeleteAbandonedCheckoutSignature {
|