@wix/auto_sdk_ecom_abandoned-checkouts 1.0.53 → 1.0.54
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-yVNYTF5p.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CC5qDayX.d.ts} +7 -1
- 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 +7 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-yVNYTF5p.d.mts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CC5qDayX.d.mts} +7 -1
- 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 +7 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DWQbXHag.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CxtZPwuB.d.ts} +2 -3
- 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 +7 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DWQbXHag.d.mts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CxtZPwuB.d.mts} +2 -3
- 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 +7 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -59,6 +59,12 @@ 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
|
+
* Applied discounts.
|
|
64
|
+
* @maxSize 100
|
|
65
|
+
* @readonly
|
|
66
|
+
*/
|
|
67
|
+
appliedDiscounts?: AppliedDiscount[];
|
|
62
68
|
}
|
|
63
69
|
declare enum ActivityType {
|
|
64
70
|
/** Not implemented. */
|
|
@@ -1251,7 +1257,7 @@ declare function onAbandonedCheckoutUpdated(handler: (event: AbandonedCheckoutUp
|
|
|
1251
1257
|
* @returns The requested abandoned checkout.
|
|
1252
1258
|
* @fqn wix.ecom.abandoned_checkout.api.v1.AbandonedCheckoutService.GetAbandonedCheckout
|
|
1253
1259
|
*/
|
|
1254
|
-
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`,
|
|
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>>;
|
|
1255
1261
|
/**
|
|
1256
1262
|
* Deletes an abandoned checkout.
|
|
1257
1263
|
* @param abandonedCheckoutId - Id of the abandoned checkout to delete
|
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 { aL as AbandonedCheckoutQuerySpec, U as AbandonedCheckoutRecovered, aM as AbandonedCheckoutSearchSpec, aK as AbandonedCheckoutsQueryResult, aD as ActionEvent, p as Activity, h as ActivityType, aO as ActivityTypeWithLiterals, aN as AddAbandonedCheckoutActivityOptions, am as AddAbandonedCheckoutActivityRequest, an as AddAbandonedCheckoutActivityResponse, a1 as ApplicationError, z as AppliedDiscount, E as AppliedDiscountDiscountSourceOneOf, aI 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, aY as CommonQueryWithEntityContext, aZ as CommonSearchWithEntityContext, C as CommonSortOrder, aV 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, aR as DescriptionLineTypeWithLiterals, s as DescriptionLineValueOneOf, J as DiscountRule, K as DiscountRuleName, j as DiscountType, aS as DiscountTypeWithLiterals, ax as DomainEvent, ay as DomainEventBodyOneOf, aE as Empty, az as EntityCreatedEvent, aC as EntityDeletedEvent, aB as EntityUpdatedEvent, aJ as EventMetadata, F as FullAddressContactDetails, X as GetAbandonedCheckoutRequest, Y as GetAbandonedCheckoutResponse, aw as HeadersEntry, aG as IdentificationData, aH as IdentificationDataIdOneOf, I as Identity, aT as IdentityWithLiterals, a0 as ItemMetadata, L as LineItem, H as MerchantDiscount, aF as MessageEnvelope, M as Mode, aW 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, aU as SortOrderWithLiterals, a7 as Sorting, i as Status, aP 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, aQ as VatTypeWithLiterals, W as WebhookIdentityType, aX as WebhookIdentityTypeWithLiterals } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-
|
|
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-CC5qDayX.js';
|
|
3
|
+
export { aL as AbandonedCheckoutQuerySpec, U as AbandonedCheckoutRecovered, aM as AbandonedCheckoutSearchSpec, aK as AbandonedCheckoutsQueryResult, aD as ActionEvent, p as Activity, h as ActivityType, aO as ActivityTypeWithLiterals, aN as AddAbandonedCheckoutActivityOptions, am as AddAbandonedCheckoutActivityRequest, an as AddAbandonedCheckoutActivityResponse, a1 as ApplicationError, z as AppliedDiscount, E as AppliedDiscountDiscountSourceOneOf, aI 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, aY as CommonQueryWithEntityContext, aZ as CommonSearchWithEntityContext, C as CommonSortOrder, aV 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, aR as DescriptionLineTypeWithLiterals, s as DescriptionLineValueOneOf, J as DiscountRule, K as DiscountRuleName, j as DiscountType, aS as DiscountTypeWithLiterals, ax as DomainEvent, ay as DomainEventBodyOneOf, aE as Empty, az as EntityCreatedEvent, aC as EntityDeletedEvent, aB as EntityUpdatedEvent, aJ as EventMetadata, F as FullAddressContactDetails, X as GetAbandonedCheckoutRequest, Y as GetAbandonedCheckoutResponse, aw as HeadersEntry, aG as IdentificationData, aH as IdentificationDataIdOneOf, I as Identity, aT as IdentityWithLiterals, a0 as ItemMetadata, L as LineItem, H as MerchantDiscount, aF as MessageEnvelope, M as Mode, aW 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, aU as SortOrderWithLiterals, a7 as Sorting, i as Status, aP 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, aQ as VatTypeWithLiterals, W as WebhookIdentityType, aX as WebhookIdentityTypeWithLiterals } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CC5qDayX.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`,
|
|
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>>;
|
|
13
13
|
}
|
|
14
14
|
declare function deleteAbandonedCheckout$1(httpClient: HttpClient): DeleteAbandonedCheckoutSignature;
|
|
15
15
|
interface DeleteAbandonedCheckoutSignature {
|