@wix/auto_sdk_ecom_abandoned-checkouts 1.0.52 → 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.
Files changed (29) hide show
  1. package/build/{internal/cjs/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-WxTvIcU0.d.ts → cjs/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CC5qDayX.d.ts} +67 -32
  2. package/build/cjs/index.d.ts +5 -5
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +7 -1
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/{internal/es/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-WxTvIcU0.d.mts → es/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CC5qDayX.d.mts} +67 -32
  9. package/build/es/index.d.mts +5 -5
  10. package/build/es/index.mjs.map +1 -1
  11. package/build/es/index.typings.d.mts +2 -2
  12. package/build/es/index.typings.mjs.map +1 -1
  13. package/build/es/meta.d.mts +7 -1
  14. package/build/es/meta.mjs.map +1 -1
  15. package/build/{cjs/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DhcdCax5.d.ts → internal/cjs/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CxtZPwuB.d.ts} +100 -4
  16. package/build/internal/cjs/index.d.ts +6 -6
  17. package/build/internal/cjs/index.js.map +1 -1
  18. package/build/internal/cjs/index.typings.d.ts +2 -2
  19. package/build/internal/cjs/index.typings.js.map +1 -1
  20. package/build/internal/cjs/meta.d.ts +7 -1
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/{es/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DhcdCax5.d.mts → internal/es/ecom-v1-abandoned-checkout-abandoned-checkouts.universal-CxtZPwuB.d.mts} +100 -4
  23. package/build/internal/es/index.d.mts +6 -6
  24. package/build/internal/es/index.mjs.map +1 -1
  25. package/build/internal/es/index.typings.d.mts +2 -2
  26. package/build/internal/es/index.typings.mjs.map +1 -1
  27. package/build/internal/es/meta.d.mts +7 -1
  28. package/build/internal/es/meta.mjs.map +1 -1
  29. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { SearchSpec, Search as Search$1, NonNullablePaths } from '@wix/sdk-types';
1
+ import { QuerySpec, SearchSpec, Query, Search as Search$1, NonNullablePaths } from '@wix/sdk-types';
2
2
 
3
3
  interface AbandonedCheckout {
4
4
  /**
@@ -59,17 +59,8 @@ 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
- * @internal
65
- * @minSize 1
66
- * @maxSize 300
67
- * @readonly
68
- */
69
- lineItems?: LineItem[];
70
62
  /**
71
63
  * Applied discounts.
72
- * @internal
73
64
  * @maxSize 100
74
65
  * @readonly
75
66
  */
@@ -342,14 +333,6 @@ interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDesc
342
333
  colorInfo?: Color;
343
334
  /** Description line name. */
344
335
  name?: DescriptionLineName;
345
- /**
346
- * Whether the description line originates from a modifier.
347
- * @internal
348
- * @deprecated Whether the description line originates from a modifier.
349
- * @replacedBy none
350
- * @targetRemovalDate 2025-12-31
351
- */
352
- modifierDescriptionLine?: boolean;
353
336
  }
354
337
  /** @oneof */
355
338
  interface DescriptionLineValueOneOf {
@@ -1274,7 +1257,7 @@ declare function onAbandonedCheckoutUpdated(handler: (event: AbandonedCheckoutUp
1274
1257
  * @returns The requested abandoned checkout.
1275
1258
  * @fqn wix.ecom.abandoned_checkout.api.v1.AbandonedCheckoutService.GetAbandonedCheckout
1276
1259
  */
1277
- 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`, 4>>;
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>>;
1278
1261
  /**
1279
1262
  * Deletes an abandoned checkout.
1280
1263
  * @param abandonedCheckoutId - Id of the abandoned checkout to delete
@@ -1373,7 +1356,70 @@ interface AbandonedCheckoutsQueryBuilder {
1373
1356
  * @fqn wix.ecom.abandoned_checkout.api.v1.AbandonedCheckoutService.QueryAbandonedCheckouts
1374
1357
  * @requiredField query
1375
1358
  */
1376
- declare function typedQueryAbandonedCheckouts(query: QueryV2): Promise<NonNullablePaths<QueryAbandonedCheckoutsResponse, `results` | `results.${number}._id` | `results.${number}.status` | `results.${number}.buyerInfo.visitorId` | `results.${number}.buyerInfo.memberId` | `results.${number}.buyerInfo.userId` | `results.${number}.contactDetails.vatId._id` | `results.${number}.contactDetails.vatId.type` | `results.${number}.currency` | `results.${number}.totalPrice.amount` | `results.${number}.totalPrice.convertedAmount` | `results.${number}.totalPrice.formattedAmount` | `results.${number}.totalPrice.formattedConvertedAmount` | `results.${number}.checkoutUrl` | `abandonedCheckouts` | `abandonedCheckouts.${number}._id` | `abandonedCheckouts.${number}.status` | `abandonedCheckouts.${number}.buyerInfo.visitorId` | `abandonedCheckouts.${number}.buyerInfo.memberId` | `abandonedCheckouts.${number}.buyerInfo.userId` | `abandonedCheckouts.${number}.contactDetails.vatId._id` | `abandonedCheckouts.${number}.contactDetails.vatId.type` | `abandonedCheckouts.${number}.currency` | `abandonedCheckouts.${number}.totalPrice.amount` | `abandonedCheckouts.${number}.totalPrice.convertedAmount` | `abandonedCheckouts.${number}.totalPrice.formattedAmount` | `abandonedCheckouts.${number}.totalPrice.formattedConvertedAmount` | `abandonedCheckouts.${number}.checkoutUrl`, 6>>;
1359
+ declare function typedQueryAbandonedCheckouts(query: AbandonedCheckoutQuery): Promise<NonNullablePaths<QueryAbandonedCheckoutsResponse, `results` | `results.${number}._id` | `results.${number}.status` | `results.${number}.buyerInfo.visitorId` | `results.${number}.buyerInfo.memberId` | `results.${number}.buyerInfo.userId` | `results.${number}.contactDetails.vatId._id` | `results.${number}.contactDetails.vatId.type` | `results.${number}.currency` | `results.${number}.totalPrice.amount` | `results.${number}.totalPrice.convertedAmount` | `results.${number}.totalPrice.formattedAmount` | `results.${number}.totalPrice.formattedConvertedAmount` | `results.${number}.checkoutUrl` | `abandonedCheckouts` | `abandonedCheckouts.${number}._id` | `abandonedCheckouts.${number}.status` | `abandonedCheckouts.${number}.buyerInfo.visitorId` | `abandonedCheckouts.${number}.buyerInfo.memberId` | `abandonedCheckouts.${number}.buyerInfo.userId` | `abandonedCheckouts.${number}.contactDetails.vatId._id` | `abandonedCheckouts.${number}.contactDetails.vatId.type` | `abandonedCheckouts.${number}.currency` | `abandonedCheckouts.${number}.totalPrice.amount` | `abandonedCheckouts.${number}.totalPrice.convertedAmount` | `abandonedCheckouts.${number}.totalPrice.formattedAmount` | `abandonedCheckouts.${number}.totalPrice.formattedConvertedAmount` | `abandonedCheckouts.${number}.checkoutUrl`, 6>>;
1360
+ interface AbandonedCheckoutQuerySpec extends QuerySpec {
1361
+ paging: 'cursor';
1362
+ wql: [
1363
+ {
1364
+ fields: [
1365
+ '_createdDate',
1366
+ '_id',
1367
+ '_updatedDate',
1368
+ 'buyerInfo.contactId',
1369
+ 'buyerInfo.email',
1370
+ 'buyerInfo.memberId',
1371
+ 'buyerInfo.userId',
1372
+ 'buyerInfo.visitorId',
1373
+ 'status'
1374
+ ];
1375
+ operators: '*';
1376
+ sort: 'BOTH';
1377
+ }
1378
+ ];
1379
+ }
1380
+ type CommonQueryWithEntityContext = Query<AbandonedCheckout, AbandonedCheckoutQuerySpec>;
1381
+ type AbandonedCheckoutQuery = {
1382
+ /**
1383
+ 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`.
1384
+ */
1385
+ cursorPaging?: {
1386
+ /**
1387
+ Maximum number of items to return in the results.
1388
+ @max: 100
1389
+ */
1390
+ limit?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit'] | null;
1391
+ /**
1392
+ Pointer to the next or previous page in the list of results.
1393
+
1394
+ Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
1395
+ Not relevant for the first request.
1396
+ @maxLength: 16000
1397
+ */
1398
+ cursor?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor'] | null;
1399
+ };
1400
+ /**
1401
+ Filter object.
1402
+
1403
+ Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
1404
+ */
1405
+ filter?: CommonQueryWithEntityContext['filter'] | null;
1406
+ /**
1407
+ Sort object.
1408
+
1409
+ Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
1410
+ */
1411
+ sort?: {
1412
+ /**
1413
+ Name of the field to sort by.
1414
+ @maxLength: 512
1415
+ */
1416
+ fieldName?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['fieldName'];
1417
+ /**
1418
+ Sort order.
1419
+ */
1420
+ order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
1421
+ }[];
1422
+ };
1377
1423
  interface AbandonedCheckoutSearchSpec extends SearchSpec {
1378
1424
  searchable: [
1379
1425
  'buyerInfo.email',
@@ -1479,17 +1525,6 @@ type AbandonedCheckoutSearch = {
1479
1525
  fuzzy?: NonNullable<CommonSearchWithEntityContext['search']>['fuzzy'];
1480
1526
  };
1481
1527
  };
1482
- /**
1483
- * Adds a new abandoned checkout activity.
1484
- * @param abandonedCheckoutId - Id of the abandoned checkout to update
1485
- * @internal
1486
- * @documentationMaturity preview
1487
- * @requiredField abandonedCheckoutId
1488
- * @permissionId ECOM.ABANDONED_CHECKOUT_UPDATE
1489
- * @applicableIdentity APP
1490
- * @fqn wix.ecom.abandoned_checkout.api.v1.AbandonedCheckoutService.AddAbandonedCheckoutActivity
1491
- */
1492
- declare function addAbandonedCheckoutActivity(abandonedCheckoutId: string, options?: AddAbandonedCheckoutActivityOptions): Promise<NonNullablePaths<AddAbandonedCheckoutActivityResponse, `abandonedCheckout._id` | `abandonedCheckout.status` | `abandonedCheckout.buyerInfo.visitorId` | `abandonedCheckout.buyerInfo.memberId` | `abandonedCheckout.buyerInfo.userId` | `abandonedCheckout.contactDetails.vatId._id` | `abandonedCheckout.contactDetails.vatId.type` | `abandonedCheckout.currency` | `abandonedCheckout.totalPrice.amount` | `abandonedCheckout.totalPrice.convertedAmount` | `abandonedCheckout.totalPrice.formattedAmount` | `abandonedCheckout.totalPrice.formattedConvertedAmount` | `abandonedCheckout.activities` | `abandonedCheckout.activities.${number}.type` | `abandonedCheckout.checkoutUrl`, 5>>;
1493
1528
  interface AddAbandonedCheckoutActivityOptions {
1494
1529
  /** The type of the activity to add */
1495
1530
  activityType?: ActivityTypeWithLiterals;
@@ -1505,4 +1540,4 @@ interface AddAbandonedCheckoutActivityOptions {
1505
1540
  */
1506
1541
  declare function redirectToCheckout(abandonedCheckoutId: string, metasiteId: string): Promise<NonNullablePaths<RawHttpResponse, `body` | `headers` | `headers.${number}.key` | `headers.${number}.value`, 4>>;
1507
1542
 
1508
- export { type DeleteAbandonedCheckoutRequest as $, type AbandonedCheckout as A, type BulkDeleteAbandonedCheckoutsResponse as B, CommonSortOrder as C, DescriptionLineType as D, type AppliedDiscount as E, type FullAddressContactDetails as F, type AppliedDiscountDiscountSourceOneOf as G, type Coupon as H, Identity as I, type MerchantDiscount as J, type DiscountRule as K, type LineItem as L, Mode as M, type DiscountRuleName as N, type CartAbandonedEvent as O, type ProductName as P, type QueryV2 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, getAbandonedCheckout 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 QueryV2PagingMethodOneOf as a7, type Sorting as a8, type Paging 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 BaseEventMetadata as aI, type EventMetadata as aJ, type AbandonedCheckoutsQueryResult as aK, type AbandonedCheckoutSearchSpec as aL, type ActivityTypeWithLiterals as aM, type StatusWithLiterals as aN, type VatTypeWithLiterals as aO, type DescriptionLineTypeWithLiterals as aP, type DiscountTypeWithLiterals as aQ, type IdentityWithLiterals as aR, type SortOrderWithLiterals as aS, type CommonSortOrderWithLiterals as aT, type ModeWithLiterals as aU, type WebhookIdentityTypeWithLiterals as aV, type CommonSearchWithEntityContext as aW, onAbandonedCheckoutCreated as aX, onAbandonedCheckoutDeleted as aY, onAbandonedCheckoutRecovered as aZ, onAbandonedCheckoutUpdated as a_, type CursorPaging as aa, type QueryAbandonedCheckoutsResponse as ab, type PagingMetadataV2 as ac, type Cursors as ad, type SearchAbandonedCheckoutsRequest as ae, type Search as af, type SearchPagingMethodOneOf as ag, type CommonSorting as ah, type SearchDetails as ai, type CommonPaging as aj, type CommonCursorPaging as ak, type CommonPagingMetadataV2 as al, type CommonCursors as am, type AddAbandonedCheckoutActivityRequest 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 AddAbandonedCheckoutActivityOptions as b, deleteAbandonedCheckout as b0, bulkDeleteAbandonedCheckouts as b1, queryAbandonedCheckouts as b2, addAbandonedCheckoutActivity as b3, redirectToCheckout as b4, type AddAbandonedCheckoutActivityResponse as c, type AbandonedCheckoutCreatedEnvelope as d, type AbandonedCheckoutDeletedEnvelope as e, type AbandonedCheckoutRecoveredEnvelope as f, type AbandonedCheckoutUpdatedEnvelope as g, type AbandonedCheckoutsQueryBuilder as h, ActivityType as i, Status 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 };
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, onAbandonedCheckoutDeleted 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 BaseEventMetadata as aI, type EventMetadata as aJ, type AbandonedCheckoutsQueryResult as aK, type AbandonedCheckoutQuerySpec as aL, type AbandonedCheckoutSearchSpec as aM, type AddAbandonedCheckoutActivityOptions as aN, type ActivityTypeWithLiterals as aO, type StatusWithLiterals as aP, type VatTypeWithLiterals as aQ, type DescriptionLineTypeWithLiterals as aR, type DiscountTypeWithLiterals as aS, type IdentityWithLiterals as aT, type SortOrderWithLiterals as aU, type CommonSortOrderWithLiterals as aV, type ModeWithLiterals as aW, type WebhookIdentityTypeWithLiterals as aX, type CommonQueryWithEntityContext as aY, type CommonSearchWithEntityContext as aZ, onAbandonedCheckoutCreated 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, onAbandonedCheckoutRecovered as b0, onAbandonedCheckoutUpdated as b1, getAbandonedCheckout as b2, deleteAbandonedCheckout as b3, bulkDeleteAbandonedCheckouts as b4, queryAbandonedCheckouts as b5, redirectToCheckout as b6, 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 };
@@ -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, Q as QueryV2, t as typedQueryAbandonedCheckouts } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DhcdCax5.js';
3
- export { U as AbandonedCheckoutRecovered, aK as AbandonedCheckoutSearchSpec, aJ as AbandonedCheckoutsQueryResult, aC as ActionEvent, o as Activity, g as ActivityType, aM as ActivityTypeWithLiterals, aL as AddAbandonedCheckoutActivityOptions, al as AddAbandonedCheckoutActivityRequest, am as AddAbandonedCheckoutActivityResponse, a1 as ApplicationError, y as AppliedDiscount, z as AppliedDiscountDiscountSourceOneOf, aH as BaseEventMetadata, a2 as BulkAbandonedCheckoutResult, a3 as BulkActionMetadata, $ as BulkDeleteAbandonedCheckoutsRequest, N as BuyerInfo, as as Cancel, K as CartAbandonedEvent, O as CartRecoveredEvent, p as CatalogReference, w as Color, ai as CommonCursorPaging, ak as CommonCursors, ah as CommonPaging, aj as CommonPagingMetadataV2, aW as CommonSearchWithEntityContext, C as CommonSortOrder, aT as CommonSortOrderWithLiterals, af as CommonSorting, ar as Complete, E as Coupon, a8 as CursorPaging, ab as Cursors, Z as DeleteAbandonedCheckoutRequest, _ as DeleteAbandonedCheckoutResponse, q as DescriptionLine, s as DescriptionLineDescriptionLineValueOneOf, u as DescriptionLineName, D as DescriptionLineType, aP as DescriptionLineTypeWithLiterals, r as DescriptionLineValueOneOf, H as DiscountRule, J as DiscountRuleName, i as DiscountType, aQ as DiscountTypeWithLiterals, aw as DomainEvent, ax as DomainEventBodyOneOf, aD as Empty, ay as EntityCreatedEvent, aB as EntityDeletedEvent, aA as EntityUpdatedEvent, aI as EventMetadata, F as FullAddressContactDetails, X as GetAbandonedCheckoutRequest, Y as GetAbandonedCheckoutResponse, av as HeadersEntry, aF as IdentificationData, aG as IdentificationDataIdOneOf, I as Identity, aR as IdentityWithLiterals, a0 as ItemMetadata, L as LineItem, G as MerchantDiscount, aE as MessageEnvelope, M as Mode, aU as ModeWithLiterals, n as MultiCurrencyPrice, a7 as Paging, aa as PagingMetadataV2, x as PhysicalProperties, v as PlainTextValue, P as ProductName, a4 as QueryAbandonedCheckoutsRequest, a9 as QueryAbandonedCheckoutsResponse, a5 as QueryV2PagingMethodOneOf, au as RedirectToCheckoutRequest, at as Reschedule, az as RestoreInfo, ad as Search, ac as SearchAbandonedCheckoutsRequest, ag as SearchDetails, ae as SearchPagingMethodOneOf, j as SortOrder, aS as SortOrderWithLiterals, a6 as Sorting, h as Status, aN as StatusWithLiterals, an as Task, ap as TaskAction, aq as TaskActionActionOneOf, ao as TaskKey, T as Totals, k as V1BuyerInfo, l as V1BuyerInfoIdOneOf, m as VatId, V as VatType, aO as VatTypeWithLiterals, W as WebhookIdentityType, aV as WebhookIdentityTypeWithLiterals } from './ecom-v1-abandoned-checkout-abandoned-checkouts.universal-DhcdCax5.js';
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`, 4>>;
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 {
@@ -51,7 +51,7 @@ declare const onAbandonedCheckoutUpdated$1: EventDefinition<AbandonedCheckoutUpd
51
51
 
52
52
  declare function customQueryAbandonedCheckouts(httpClient: HttpClient): {
53
53
  (): AbandonedCheckoutsQueryBuilder;
54
- (query: QueryV2): ReturnType<typeof typedQueryAbandonedCheckouts>;
54
+ (query: AbandonedCheckoutQuery): ReturnType<typeof typedQueryAbandonedCheckouts>;
55
55
  };
56
56
  declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
57
57
  declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
@@ -76,4 +76,4 @@ declare const onAbandonedCheckoutRecovered: BuildEventDefinition<typeof onAbando
76
76
  */
77
77
  declare const onAbandonedCheckoutUpdated: BuildEventDefinition<typeof onAbandonedCheckoutUpdated$1> & typeof onAbandonedCheckoutUpdated$1;
78
78
 
79
- export { AbandonedCheckout, AbandonedCheckoutCreatedEnvelope, AbandonedCheckoutDeletedEnvelope, AbandonedCheckoutRecoveredEnvelope, AbandonedCheckoutSearch, AbandonedCheckoutUpdatedEnvelope, AbandonedCheckoutsQueryBuilder, BulkDeleteAbandonedCheckoutsResponse, QueryV2, RawHttpResponse, SearchAbandonedCheckoutsResponse, bulkDeleteAbandonedCheckouts, deleteAbandonedCheckout, getAbandonedCheckout, onAbandonedCheckoutCreated, onAbandonedCheckoutDeleted, onAbandonedCheckoutRecovered, onAbandonedCheckoutUpdated, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };
79
+ export { AbandonedCheckout, AbandonedCheckoutCreatedEnvelope, AbandonedCheckoutDeletedEnvelope, AbandonedCheckoutQuery, AbandonedCheckoutRecoveredEnvelope, AbandonedCheckoutSearch, AbandonedCheckoutUpdatedEnvelope, AbandonedCheckoutsQueryBuilder, BulkDeleteAbandonedCheckoutsResponse, RawHttpResponse, SearchAbandonedCheckoutsResponse, bulkDeleteAbandonedCheckouts, deleteAbandonedCheckout, getAbandonedCheckout, onAbandonedCheckoutCreated, onAbandonedCheckoutDeleted, onAbandonedCheckoutRecovered, onAbandonedCheckoutUpdated, queryAbandonedCheckouts, redirectToCheckout, searchAbandonedCheckouts };