@wix/auto_sdk_ecom_abandoned-checkouts 1.0.62 → 1.0.64
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-D5cOvD3u.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BMNW-O8u.d.ts} +38 -1
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +19 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +12 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +38 -2
- package/build/cjs/meta.js +12 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-D5cOvD3u.d.mts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BMNW-O8u.d.mts} +38 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +18 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +11 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +38 -2
- package/build/es/meta.mjs +11 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CIfL59dJ.d.ts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BKiIJ28z.d.ts} +48 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +19 -7
- 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 +12 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +38 -2
- package/build/internal/cjs/meta.js +12 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CIfL59dJ.d.mts → ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BKiIJ28z.d.mts} +48 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +18 -7
- 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 +11 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +38 -2
- package/build/internal/es/meta.mjs +11 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -420,6 +420,42 @@ interface PhysicalProperties {
|
|
|
420
420
|
/** Whether this line item is shippable. */
|
|
421
421
|
shippable?: boolean;
|
|
422
422
|
}
|
|
423
|
+
interface Dimensions {
|
|
424
|
+
/**
|
|
425
|
+
* Length. Measurement unit is handled at the system level (metric/imperial).
|
|
426
|
+
* @decimalValue options { gte:0, lte:999999999, maxScale:6 }
|
|
427
|
+
*/
|
|
428
|
+
length?: string | null;
|
|
429
|
+
/**
|
|
430
|
+
* Width. Measurement unit is handled at the system level (metric/imperial).
|
|
431
|
+
* @decimalValue options { gte:0, lte:999999999, maxScale:6 }
|
|
432
|
+
*/
|
|
433
|
+
width?: string | null;
|
|
434
|
+
/**
|
|
435
|
+
* Height. Measurement unit is handled at the system level (metric/imperial).
|
|
436
|
+
* @decimalValue options { gte:0, lte:999999999, maxScale:6 }
|
|
437
|
+
*/
|
|
438
|
+
height?: string | null;
|
|
439
|
+
/** Unit of measurement for dimensions (length, width, height). */
|
|
440
|
+
unit?: DimensionsUnitWithLiterals;
|
|
441
|
+
}
|
|
442
|
+
declare enum DimensionsUnit {
|
|
443
|
+
UNKNOWN_DIMENSIONS_UNIT = "UNKNOWN_DIMENSIONS_UNIT",
|
|
444
|
+
/** Millimeters. */
|
|
445
|
+
MM = "MM",
|
|
446
|
+
/** Centimeters. */
|
|
447
|
+
CM = "CM",
|
|
448
|
+
/** Meters. */
|
|
449
|
+
M = "M",
|
|
450
|
+
/** Inches. */
|
|
451
|
+
IN = "IN",
|
|
452
|
+
/** Feet. */
|
|
453
|
+
FT = "FT",
|
|
454
|
+
/** Yards. */
|
|
455
|
+
YD = "YD"
|
|
456
|
+
}
|
|
457
|
+
/** @enumType */
|
|
458
|
+
type DimensionsUnitWithLiterals = DimensionsUnit | 'UNKNOWN_DIMENSIONS_UNIT' | 'MM' | 'CM' | 'M' | 'IN' | 'FT' | 'YD';
|
|
423
459
|
interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
|
|
424
460
|
/** Coupon details. */
|
|
425
461
|
coupon?: Coupon;
|
|
@@ -1206,6 +1242,7 @@ interface AbandonedCheckoutCreatedEnvelope {
|
|
|
1206
1242
|
*/
|
|
1207
1243
|
declare function onAbandonedCheckoutCreated(handler: (event: AbandonedCheckoutCreatedEnvelope) => void | Promise<void>): void;
|
|
1208
1244
|
interface AbandonedCheckoutDeletedEnvelope {
|
|
1245
|
+
entity: AbandonedCheckout;
|
|
1209
1246
|
metadata: EventMetadata;
|
|
1210
1247
|
}
|
|
1211
1248
|
/**
|
|
@@ -1581,4 +1618,4 @@ interface AddAbandonedCheckoutActivityOptions {
|
|
|
1581
1618
|
*/
|
|
1582
1619
|
declare function redirectToCheckout(abandonedCheckoutId: string, metasiteId: string): Promise<NonNullablePaths<RawHttpResponse, `body` | `headers` | `headers.${number}.key` | `headers.${number}.value`, 4>>;
|
|
1583
1620
|
|
|
1584
|
-
export { type
|
|
1621
|
+
export { type DeleteAbandonedCheckoutRequest as $, type AbandonedCheckout as A, type BulkDeleteAbandonedCheckoutsResponse as B, CommonSortOrder as C, DescriptionLineType as D, type Dimensions as E, type FullAddressContactDetails as F, type AppliedDiscount as G, type AppliedDiscountDiscountSourceOneOf as H, Identity as I, type Coupon as J, type MerchantDiscount as K, type LineItem as L, Mode as M, type DiscountRule as N, type DiscountRuleName as O, type ProductName as P, type CartAbandonedEvent as Q, type RawHttpResponse as R, type SearchAbandonedCheckoutsResponse as S, type BuyerInfo as T, type Totals as U, VatType as V, WebhookIdentityType as W, type CartRecoveredEvent as X, type AbandonedCheckoutRecovered as Y, type GetAbandonedCheckoutRequest as Z, type GetAbandonedCheckoutResponse as _, type AbandonedCheckoutSearch as a, type ModeWithLiterals as a$, type DeleteAbandonedCheckoutResponse as a0, type BulkDeleteAbandonedCheckoutsRequest as a1, type ItemMetadata as a2, type ApplicationError as a3, type BulkAbandonedCheckoutResult as a4, type BulkActionMetadata as a5, type QueryAbandonedCheckoutsRequest as a6, type QueryV2 as a7, type QueryV2PagingMethodOneOf as a8, type Sorting as a9, type DomainEventBodyOneOf as aA, type EntityCreatedEvent as aB, type RestoreInfo as aC, type EntityUpdatedEvent as aD, type EntityDeletedEvent as aE, type ActionEvent as aF, type Empty as aG, type MessageEnvelope as aH, type IdentificationData as aI, type IdentificationDataIdOneOf as aJ, type AccountInfo as aK, type BaseEventMetadata as aL, type EventMetadata as aM, type AccountInfoMetadata as aN, type AbandonedCheckoutsQueryResult as aO, type AbandonedCheckoutQuerySpec as aP, type AbandonedCheckoutSearchSpec as aQ, type AddAbandonedCheckoutActivityOptions as aR, type ActivityTypeWithLiterals as aS, type StatusWithLiterals as aT, type VatTypeWithLiterals as aU, type DescriptionLineTypeWithLiterals as aV, type DimensionsUnitWithLiterals as aW, type DiscountTypeWithLiterals as aX, type IdentityWithLiterals as aY, type SortOrderWithLiterals as aZ, type CommonSortOrderWithLiterals as a_, type Paging as aa, type CursorPaging as ab, type QueryAbandonedCheckoutsResponse as ac, type PagingMetadataV2 as ad, type Cursors as ae, type SearchAbandonedCheckoutsRequest as af, type Search as ag, type SearchPagingMethodOneOf as ah, type CommonSorting as ai, type SearchDetails as aj, type CommonPaging as ak, type CommonCursorPaging as al, type CommonPagingMetadataV2 as am, type CommonCursors as an, type AddAbandonedCheckoutActivityRequest as ao, type AddAbandonedCheckoutActivityResponse as ap, type Task as aq, type TaskKey as ar, type TaskAction as as, type TaskActionActionOneOf as at, type Complete as au, type Cancel as av, type Reschedule as aw, type RedirectToCheckoutRequest as ax, type HeadersEntry as ay, type DomainEvent as az, type AbandonedCheckoutCreatedEnvelope as b, type WebhookIdentityTypeWithLiterals as b0, type CommonQueryWithEntityContext as b1, type CommonSearchWithEntityContext as b2, onAbandonedCheckoutCreated as b3, onAbandonedCheckoutDeleted as b4, onAbandonedCheckoutRecovered as b5, onAbandonedCheckoutUpdated as b6, getAbandonedCheckout as b7, deleteAbandonedCheckout as b8, bulkDeleteAbandonedCheckouts as b9, queryAbandonedCheckouts as ba, redirectToCheckout as bb, 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, DimensionsUnit as j, DiscountType as k, SortOrder as l, type V1BuyerInfo as m, type V1BuyerInfoIdOneOf as n, type VatId as o, type MultiCurrencyPrice as p, type Activity as q, type CatalogReference as r, type DescriptionLine as s, typedQueryAbandonedCheckouts as t, type DescriptionLineValueOneOf as u, type DescriptionLineDescriptionLineValueOneOf as v, type DescriptionLineName as w, type PlainTextValue as x, type Color as y, type PhysicalProperties 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-BMNW-O8u.js';
|
|
3
|
+
export { aP as AbandonedCheckoutQuerySpec, Y as AbandonedCheckoutRecovered, aQ as AbandonedCheckoutSearchSpec, aO as AbandonedCheckoutsQueryResult, aK as AccountInfo, aN as AccountInfoMetadata, aF as ActionEvent, q as Activity, h as ActivityType, aS as ActivityTypeWithLiterals, aR as AddAbandonedCheckoutActivityOptions, ao as AddAbandonedCheckoutActivityRequest, ap as AddAbandonedCheckoutActivityResponse, a3 as ApplicationError, G as AppliedDiscount, H as AppliedDiscountDiscountSourceOneOf, aL as BaseEventMetadata, a4 as BulkAbandonedCheckoutResult, a5 as BulkActionMetadata, a1 as BulkDeleteAbandonedCheckoutsRequest, T as BuyerInfo, av as Cancel, Q as CartAbandonedEvent, X as CartRecoveredEvent, r as CatalogReference, y as Color, al as CommonCursorPaging, an as CommonCursors, ak as CommonPaging, am as CommonPagingMetadataV2, b1 as CommonQueryWithEntityContext, b2 as CommonSearchWithEntityContext, C as CommonSortOrder, a_ as CommonSortOrderWithLiterals, ai as CommonSorting, au as Complete, J as Coupon, ab as CursorPaging, ae as Cursors, $ as DeleteAbandonedCheckoutRequest, a0 as DeleteAbandonedCheckoutResponse, s as DescriptionLine, v as DescriptionLineDescriptionLineValueOneOf, w as DescriptionLineName, D as DescriptionLineType, aV as DescriptionLineTypeWithLiterals, u as DescriptionLineValueOneOf, E as Dimensions, j as DimensionsUnit, aW as DimensionsUnitWithLiterals, N as DiscountRule, O as DiscountRuleName, k as DiscountType, aX as DiscountTypeWithLiterals, az as DomainEvent, aA as DomainEventBodyOneOf, aG as Empty, aB as EntityCreatedEvent, aE as EntityDeletedEvent, aD as EntityUpdatedEvent, aM as EventMetadata, F as FullAddressContactDetails, Z as GetAbandonedCheckoutRequest, _ as GetAbandonedCheckoutResponse, ay as HeadersEntry, aI as IdentificationData, aJ as IdentificationDataIdOneOf, I as Identity, aY as IdentityWithLiterals, a2 as ItemMetadata, L as LineItem, K as MerchantDiscount, aH as MessageEnvelope, M as Mode, a$ as ModeWithLiterals, p as MultiCurrencyPrice, aa as Paging, ad as PagingMetadataV2, z as PhysicalProperties, x as PlainTextValue, P as ProductName, a6 as QueryAbandonedCheckoutsRequest, ac as QueryAbandonedCheckoutsResponse, a7 as QueryV2, a8 as QueryV2PagingMethodOneOf, ax as RedirectToCheckoutRequest, aw as Reschedule, aC as RestoreInfo, ag as Search, af as SearchAbandonedCheckoutsRequest, aj as SearchDetails, ah as SearchPagingMethodOneOf, l as SortOrder, aZ as SortOrderWithLiterals, a9 as Sorting, i as Status, aT as StatusWithLiterals, aq as Task, as as TaskAction, at as TaskActionActionOneOf, ar as TaskKey, U as Totals, m as V1BuyerInfo, n as V1BuyerInfoIdOneOf, o as VatId, V as VatType, aU as VatTypeWithLiterals, W as WebhookIdentityType, b0 as WebhookIdentityTypeWithLiterals } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-BMNW-O8u.js';
|
|
4
4
|
|
|
5
5
|
declare function getAbandonedCheckout$1(httpClient: HttpClient): GetAbandonedCheckoutSignature;
|
|
6
6
|
interface GetAbandonedCheckoutSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -23,6 +23,7 @@ __export(index_exports, {
|
|
|
23
23
|
ActivityType: () => ActivityType,
|
|
24
24
|
CommonSortOrder: () => CommonSortOrder,
|
|
25
25
|
DescriptionLineType: () => DescriptionLineType,
|
|
26
|
+
DimensionsUnit: () => DimensionsUnit,
|
|
26
27
|
DiscountType: () => DiscountType,
|
|
27
28
|
Identity: () => Identity,
|
|
28
29
|
Mode: () => Mode,
|
|
@@ -386,6 +387,16 @@ var DescriptionLineType = /* @__PURE__ */ ((DescriptionLineType2) => {
|
|
|
386
387
|
DescriptionLineType2["COLOR"] = "COLOR";
|
|
387
388
|
return DescriptionLineType2;
|
|
388
389
|
})(DescriptionLineType || {});
|
|
390
|
+
var DimensionsUnit = /* @__PURE__ */ ((DimensionsUnit2) => {
|
|
391
|
+
DimensionsUnit2["UNKNOWN_DIMENSIONS_UNIT"] = "UNKNOWN_DIMENSIONS_UNIT";
|
|
392
|
+
DimensionsUnit2["MM"] = "MM";
|
|
393
|
+
DimensionsUnit2["CM"] = "CM";
|
|
394
|
+
DimensionsUnit2["M"] = "M";
|
|
395
|
+
DimensionsUnit2["IN"] = "IN";
|
|
396
|
+
DimensionsUnit2["FT"] = "FT";
|
|
397
|
+
DimensionsUnit2["YD"] = "YD";
|
|
398
|
+
return DimensionsUnit2;
|
|
399
|
+
})(DimensionsUnit || {});
|
|
389
400
|
var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
390
401
|
DiscountType2["GLOBAL"] = "GLOBAL";
|
|
391
402
|
DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
|
|
@@ -780,22 +791,22 @@ var onAbandonedCheckoutDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
780
791
|
{
|
|
781
792
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
782
793
|
paths: [
|
|
783
|
-
{ path: "
|
|
784
|
-
{ path: "
|
|
785
|
-
{ path: "
|
|
786
|
-
{ path: "
|
|
794
|
+
{ path: "entity.createdDate" },
|
|
795
|
+
{ path: "entity.updatedDate" },
|
|
796
|
+
{ path: "entity.checkoutRecoveredDate" },
|
|
797
|
+
{ path: "entity.activities.createdDate" },
|
|
787
798
|
{ path: "metadata.eventTime" }
|
|
788
799
|
]
|
|
789
800
|
},
|
|
790
801
|
{
|
|
791
802
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
792
|
-
paths: [{ path: "
|
|
803
|
+
paths: [{ path: "entity.lineItems.image" }]
|
|
793
804
|
},
|
|
794
805
|
{
|
|
795
806
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
796
807
|
paths: [
|
|
797
|
-
{ path: "
|
|
798
|
-
{ path: "
|
|
808
|
+
{ path: "entity.lineItems.physicalProperties.weight" },
|
|
809
|
+
{ path: "entity.appliedDiscounts.merchantDiscount.percentage" }
|
|
799
810
|
]
|
|
800
811
|
}
|
|
801
812
|
])
|
|
@@ -903,6 +914,7 @@ var onAbandonedCheckoutUpdated2 = (0, import_event_definition_modules.createEven
|
|
|
903
914
|
ActivityType,
|
|
904
915
|
CommonSortOrder,
|
|
905
916
|
DescriptionLineType,
|
|
917
|
+
DimensionsUnit,
|
|
906
918
|
DiscountType,
|
|
907
919
|
Identity,
|
|
908
920
|
Mode,
|