@wix/auto_sdk_ecom_current-cart-v-2 1.0.49 → 1.0.51

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 (37) hide show
  1. package/build/cjs/index.d.ts +40 -16
  2. package/build/cjs/index.js +33 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +859 -71
  5. package/build/cjs/index.typings.js +33 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +822 -58
  8. package/build/cjs/meta.js +33 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +40 -16
  11. package/build/es/index.mjs +30 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +859 -71
  14. package/build/es/index.typings.mjs +30 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +822 -58
  17. package/build/es/meta.mjs +30 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +40 -16
  20. package/build/internal/cjs/index.js +33 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +859 -71
  23. package/build/internal/cjs/index.typings.js +33 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +822 -58
  26. package/build/internal/cjs/meta.js +33 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +40 -16
  29. package/build/internal/es/index.mjs +30 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +859 -71
  32. package/build/internal/es/index.typings.mjs +30 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +822 -58
  35. package/build/internal/es/meta.mjs +30 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -106,6 +106,12 @@ interface Cart {
106
106
  * @readonly
107
107
  */
108
108
  currentCart?: boolean;
109
+ /**
110
+ * Forms associated with the Cart's line items.
111
+ * @readonly
112
+ * @maxSize 1000
113
+ */
114
+ forms?: FormInfo[];
109
115
  }
110
116
  interface V2LineItem {
111
117
  /**
@@ -1467,12 +1473,58 @@ interface CustomField {
1467
1473
  */
1468
1474
  translatedTitle?: string | null;
1469
1475
  }
1476
+ interface FormInfo {
1477
+ /**
1478
+ * The identifier of the form schema.
1479
+ * @readonly
1480
+ */
1481
+ schemaIdentifier?: FormIdentifier;
1482
+ /**
1483
+ * The unique identifier of the form instance.
1484
+ * @format GUID
1485
+ * @readonly
1486
+ */
1487
+ _id?: string;
1488
+ /**
1489
+ * The line item ids associated with this form.
1490
+ * @format GUID
1491
+ * @readonly
1492
+ * @maxSize 300
1493
+ */
1494
+ lineItemIds?: string[];
1495
+ /**
1496
+ * The translated title of the form.
1497
+ * @maxLength 100
1498
+ * @readonly
1499
+ */
1500
+ title?: string;
1501
+ /**
1502
+ * The translated subtitles of the form.
1503
+ * @maxSize 10
1504
+ * @maxLength 100
1505
+ * @readonly
1506
+ */
1507
+ subtitles?: string[] | null;
1508
+ /**
1509
+ * The id of the form submission.
1510
+ * @format GUID
1511
+ */
1512
+ formSubmissionId?: string | null;
1513
+ }
1514
+ interface FormIdentifier {
1515
+ /** @format GUID */
1516
+ formSchemaId?: string;
1517
+ /** @maxLength 100 */
1518
+ namespace?: string;
1519
+ }
1470
1520
  interface CartSummary {
1471
1521
  /**
1472
1522
  * The Cart ID.
1473
1523
  * @format GUID
1474
1524
  */
1475
1525
  cartId?: string;
1526
+ /** The Cart revision. */
1527
+ cartRevision?: string;
1476
1528
  /**
1477
1529
  * A unique identifier for this specific cart calculation.
1478
1530
  * @format GUID
@@ -2218,6 +2270,195 @@ interface CreateCurrentCartResponse {
2218
2270
  /** The created Cart. */
2219
2271
  cart?: Cart;
2220
2272
  }
2273
+ interface ItemNotFoundInCatalogErrorData {
2274
+ /**
2275
+ * List of line items not found in the catalog.
2276
+ * @maxSize 300
2277
+ */
2278
+ invalidItems?: LineItemIdentifier[];
2279
+ }
2280
+ interface LineItemIdentifier extends LineItemIdentifierIdOneOf {
2281
+ /**
2282
+ * Line Item ID.
2283
+ * @format GUID
2284
+ */
2285
+ lineItemId?: string;
2286
+ /** Catalog reference. */
2287
+ catalogReference?: CatalogReference;
2288
+ }
2289
+ /** @oneof */
2290
+ interface LineItemIdentifierIdOneOf {
2291
+ /**
2292
+ * Line Item ID.
2293
+ * @format GUID
2294
+ */
2295
+ lineItemId?: string;
2296
+ /** Catalog reference. */
2297
+ catalogReference?: CatalogReference;
2298
+ }
2299
+ interface InsufficientInventoryErrorData {
2300
+ /**
2301
+ * List of line items with insufficient inventory.
2302
+ * @maxSize 300
2303
+ */
2304
+ invalidItems?: InsufficientInventoryEntry[];
2305
+ }
2306
+ interface InsufficientInventoryEntry {
2307
+ /** Identifier for the line item with insufficient inventory. */
2308
+ _id?: LineItemIdentifier;
2309
+ /** Quantity requested by the user, including any existing quantity on the cart. */
2310
+ requestedQuantity?: number;
2311
+ /** Quantity available in inventory. */
2312
+ availableQuantity?: number;
2313
+ }
2314
+ interface MaxLineItemsExceededErrorData {
2315
+ /** Number of line items requested. */
2316
+ requestCount?: number;
2317
+ /** Maximum allowed number of line items. */
2318
+ maxCount?: number;
2319
+ }
2320
+ interface MaxItemModifiersExceededErrorData {
2321
+ /** Number of item modifiers requested. */
2322
+ requestCount?: number;
2323
+ /** Maximum allowed number of item modifiers. */
2324
+ maxCount?: number;
2325
+ }
2326
+ interface DuplicateModifierGroupIdsErrorData {
2327
+ /**
2328
+ * Catalog references for items with duplicate modifier group IDs.
2329
+ * @maxSize 300
2330
+ */
2331
+ invalidItems?: CatalogReference[];
2332
+ }
2333
+ interface DuplicateItemModifierIdsErrorData {
2334
+ /**
2335
+ * Catalog references for items with duplicate modifier IDs within a modifier group.
2336
+ * @maxSize 300
2337
+ */
2338
+ invalidItems?: CatalogReference[];
2339
+ }
2340
+ interface LineItemPriceConflictErrorData {
2341
+ /**
2342
+ * The catalog references for the line items with a price conflict, if exists.
2343
+ * @maxSize 300
2344
+ */
2345
+ invalidItems?: CatalogReference[];
2346
+ }
2347
+ interface FixedQuantityItemErrorData {
2348
+ /**
2349
+ * The line items with fixed quantity.
2350
+ * @maxSize 300
2351
+ */
2352
+ invalidItems?: LineItemIdentifier[];
2353
+ }
2354
+ interface InvalidMembershipPaymentOptionErrorData {
2355
+ /**
2356
+ * The line items with invalid membership payment options.
2357
+ * @maxSize 300
2358
+ */
2359
+ invalidItems?: InvalidMembershipEntry[];
2360
+ }
2361
+ interface InvalidMembershipEntry {
2362
+ /** The line item for which the membership payment option is invalid. */
2363
+ invalidItemId?: LineItemIdentifier;
2364
+ /** The selected membership attempted to be used as payment option. */
2365
+ selectedMembership?: V2SelectedMembership;
2366
+ }
2367
+ interface InvalidCouponCodeErrorData {
2368
+ /**
2369
+ * The invalid coupon code.
2370
+ * @maxLength 100
2371
+ */
2372
+ couponCode?: string;
2373
+ }
2374
+ interface InvalidCouponStatusErrorData extends InvalidCouponStatusErrorDataDetailsOneOf {
2375
+ minLineItemQuantityNotReachedDetails?: MinLineItemQuantityNotReachedDetails;
2376
+ minSubtotalNotReachedDetails?: MinSubtotalNotReachedDetails;
2377
+ /**
2378
+ * Coupon code with invalid status.
2379
+ * @maxLength 100
2380
+ */
2381
+ couponCode?: string;
2382
+ /** The invalid status of the coupon. */
2383
+ reason?: InvalidCouponReasonWithLiterals;
2384
+ }
2385
+ /** @oneof */
2386
+ interface InvalidCouponStatusErrorDataDetailsOneOf {
2387
+ minLineItemQuantityNotReachedDetails?: MinLineItemQuantityNotReachedDetails;
2388
+ minSubtotalNotReachedDetails?: MinSubtotalNotReachedDetails;
2389
+ }
2390
+ declare enum InvalidCouponReason {
2391
+ /** Unspecified status. */
2392
+ UNKNOWN_INVALID_COUPON_REASON = "UNKNOWN_INVALID_COUPON_REASON",
2393
+ /** The coupon is expired. */
2394
+ EXPIRED = "EXPIRED",
2395
+ /** The coupon is disabled. */
2396
+ DISABLED = "DISABLED",
2397
+ /** The coupon is not active yet. */
2398
+ INACTIVE = "INACTIVE",
2399
+ /** The coupon reached its usage limit. */
2400
+ MAX_USAGE_EXCEEDED = "MAX_USAGE_EXCEEDED",
2401
+ /** The coupon reached its usage limit for the customer. */
2402
+ MAX_USAGE_PER_CUSTOMER_EXCEEDED = "MAX_USAGE_PER_CUSTOMER_EXCEEDED",
2403
+ /** The coupon is not applicable for subscriptions. */
2404
+ NOT_APPLICABLE_TO_SUBSCRIPTIONS = "NOT_APPLICABLE_TO_SUBSCRIPTIONS",
2405
+ /** The coupon is not applicable for the cart's selected line items. */
2406
+ NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS = "NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS",
2407
+ /** The coupon requires a minimum item quantity that was not met. */
2408
+ MIN_LINE_ITEM_QUANTITY_NOT_REACHED = "MIN_LINE_ITEM_QUANTITY_NOT_REACHED",
2409
+ /** The coupon requires a minimum subtotal that was not met. */
2410
+ MIN_SUBTOTAL_NOT_REACHED = "MIN_SUBTOTAL_NOT_REACHED"
2411
+ }
2412
+ /** @enumType */
2413
+ type InvalidCouponReasonWithLiterals = InvalidCouponReason | 'UNKNOWN_INVALID_COUPON_REASON' | 'EXPIRED' | 'DISABLED' | 'INACTIVE' | 'MAX_USAGE_EXCEEDED' | 'MAX_USAGE_PER_CUSTOMER_EXCEEDED' | 'NOT_APPLICABLE_TO_SUBSCRIPTIONS' | 'NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS' | 'MIN_LINE_ITEM_QUANTITY_NOT_REACHED' | 'MIN_SUBTOTAL_NOT_REACHED';
2414
+ interface MinLineItemQuantityNotReachedDetails {
2415
+ /** The required minimum line item quantity. */
2416
+ requiredMinimumQuantity?: number;
2417
+ }
2418
+ interface MinSubtotalNotReachedDetails {
2419
+ /** The required minimum subtotal amount. */
2420
+ requiredMinimumSubtotal?: ConvertedMoney;
2421
+ }
2422
+ interface InvalidGiftCardCodeErrorData {
2423
+ /**
2424
+ * The invalid gift card code.
2425
+ * @maxLength 100
2426
+ */
2427
+ giftCardCode?: string;
2428
+ }
2429
+ interface InvalidGiftCardStatusErrorData {
2430
+ /**
2431
+ * Gift card code with invalid status.
2432
+ * @maxLength 100
2433
+ */
2434
+ giftCardCode?: string;
2435
+ /** The invalid status of the gift card. */
2436
+ reason?: InvalidGiftCardReasonWithLiterals;
2437
+ }
2438
+ declare enum InvalidGiftCardReason {
2439
+ /** Unspecified status. */
2440
+ UNKNOWN_INVALID_GIFT_CARD_REASON = "UNKNOWN_INVALID_GIFT_CARD_REASON",
2441
+ /** The gift card is expired. */
2442
+ EXPIRED = "EXPIRED",
2443
+ /** The gift card is disabled. */
2444
+ DISABLED = "DISABLED",
2445
+ /** The gift card has no remaining balance. */
2446
+ EMPTY_BALANCE = "EMPTY_BALANCE"
2447
+ }
2448
+ /** @enumType */
2449
+ type InvalidGiftCardReasonWithLiterals = InvalidGiftCardReason | 'UNKNOWN_INVALID_GIFT_CARD_REASON' | 'EXPIRED' | 'DISABLED' | 'EMPTY_BALANCE';
2450
+ interface DeliveryMethodNotFoundErrorData {
2451
+ /**
2452
+ * Code of the delivery method not found.
2453
+ * @maxLength 100
2454
+ */
2455
+ code?: string;
2456
+ /**
2457
+ * Optional app ID for the delivery method.
2458
+ * @maxLength 100
2459
+ */
2460
+ appId?: string | null;
2461
+ }
2221
2462
  interface GetCurrentCartRequest {
2222
2463
  }
2223
2464
  interface GetCurrentCartResponse {
@@ -2232,6 +2473,18 @@ interface UpdateCurrentCartResponse {
2232
2473
  /** Updated Cart. */
2233
2474
  cart?: Cart;
2234
2475
  }
2476
+ interface CartAlreadyOrderedErrorData {
2477
+ /**
2478
+ * Cart ID that has already been converted to an order.
2479
+ * @format GUID
2480
+ */
2481
+ cartId?: string;
2482
+ /**
2483
+ * Order ID associated with the cart.
2484
+ * @format GUID
2485
+ */
2486
+ orderId?: string;
2487
+ }
2235
2488
  interface DeleteCurrentCartRequest {
2236
2489
  }
2237
2490
  interface DeleteCurrentCartResponse {
@@ -2329,6 +2582,14 @@ interface RemoveLineItemsFromCurrentCartResponse {
2329
2582
  /** Updated Cart. */
2330
2583
  cart?: Cart;
2331
2584
  }
2585
+ interface LineItemNotFoundInCartErrorData {
2586
+ /**
2587
+ * IDs of the line items not found in the cart.
2588
+ * @format GUID
2589
+ * @maxSize 300
2590
+ */
2591
+ lineItemIds?: string[];
2592
+ }
2332
2593
  interface UpdateLineItemsInCurrentCartRequest {
2333
2594
  /**
2334
2595
  * Line item updates to apply.
@@ -2368,6 +2629,22 @@ interface UpdateLineItemsInCurrentCartResponse {
2368
2629
  /** Updated Cart. */
2369
2630
  cart?: Cart;
2370
2631
  }
2632
+ interface EmptyLineItemUpdatesErrorData {
2633
+ /**
2634
+ * Line item IDs with empty update fields.
2635
+ * @format GUID
2636
+ * @maxSize 300
2637
+ */
2638
+ lineItemIds?: string[];
2639
+ }
2640
+ interface DuplicateLineItemUpdatesErrorData {
2641
+ /**
2642
+ * Duplicate line item IDs in the update request.
2643
+ * @format GUID
2644
+ * @maxSize 300
2645
+ */
2646
+ duplicateLineItemIds?: string[];
2647
+ }
2371
2648
  interface AddCouponToCurrentCartRequest {
2372
2649
  /**
2373
2650
  * Coupon to apply.
@@ -2380,6 +2657,13 @@ interface AddCouponToCurrentCartResponse {
2380
2657
  /** Updated Cart. */
2381
2658
  cart?: Cart;
2382
2659
  }
2660
+ interface CouponAlreadyExistsErrorData {
2661
+ /**
2662
+ * Coupon code that already exists in the cart.
2663
+ * @maxLength 100
2664
+ */
2665
+ couponCode?: string;
2666
+ }
2383
2667
  interface RemoveCouponFromCurrentCartRequest {
2384
2668
  /**
2385
2669
  * Coupon ID.
@@ -2391,6 +2675,13 @@ interface RemoveCouponFromCurrentCartResponse {
2391
2675
  /** Updated Cart. */
2392
2676
  cart?: Cart;
2393
2677
  }
2678
+ interface CouponNotFoundInCartErrorData {
2679
+ /**
2680
+ * Coupon ID not found in the cart.
2681
+ * @format GUID
2682
+ */
2683
+ couponId?: string;
2684
+ }
2394
2685
  interface SetDeliveryMethodForCurrentCartRequest {
2395
2686
  /** Delivery method. */
2396
2687
  deliveryMethod: DeliveryMethodInput;
@@ -2411,6 +2702,13 @@ interface AddGiftCardToCurrentCartResponse {
2411
2702
  /** Updated Cart. */
2412
2703
  cart?: Cart;
2413
2704
  }
2705
+ interface GiftCardAlreadyExistsErrorData {
2706
+ /**
2707
+ * Gift card code that already exists in the cart.
2708
+ * @maxLength 100
2709
+ */
2710
+ giftCardCode?: string;
2711
+ }
2414
2712
  interface RemoveGiftCardFromCurrentCartRequest {
2415
2713
  /**
2416
2714
  * Gift card ID.
@@ -2422,6 +2720,13 @@ interface RemoveGiftCardFromCurrentCartResponse {
2422
2720
  /** Updated Cart. */
2423
2721
  cart?: Cart;
2424
2722
  }
2723
+ interface GiftCardNotFoundInCartErrorData {
2724
+ /**
2725
+ * Gift Card ID not found in the cart.
2726
+ * @format GUID
2727
+ */
2728
+ giftCardId?: string;
2729
+ }
2425
2730
  interface UnmarkAsCurrentCartRequest {
2426
2731
  }
2427
2732
  interface UnmarkAsCurrentCartResponse {
@@ -2609,34 +2914,6 @@ interface GetCartResponse {
2609
2914
  /** The requested Cart. */
2610
2915
  cart?: Cart;
2611
2916
  }
2612
- /** temp for client testing */
2613
- interface DummyErrorDataMethodLevel {
2614
- /** This is a dummy field. */
2615
- invalidItems?: LineItemIdentifier[];
2616
- /** The fresh cart after resolving the error. */
2617
- freshCart?: Cart;
2618
- /** dummy string */
2619
- dummyMethod?: string;
2620
- }
2621
- interface LineItemIdentifier extends LineItemIdentifierIdOneOf {
2622
- /**
2623
- * Line Item ID.
2624
- * @format GUID
2625
- */
2626
- lineItemId?: string;
2627
- /** Catalog reference. */
2628
- catalogReference?: CatalogReference;
2629
- }
2630
- /** @oneof */
2631
- interface LineItemIdentifierIdOneOf {
2632
- /**
2633
- * Line Item ID.
2634
- * @format GUID
2635
- */
2636
- lineItemId?: string;
2637
- /** Catalog reference. */
2638
- catalogReference?: CatalogReference;
2639
- }
2640
2917
  interface UpdateCartRequest {
2641
2918
  /** Cart to be updated, may be partial. */
2642
2919
  cart?: Cart;
@@ -2700,12 +2977,6 @@ interface CalculateCartForV1Request {
2700
2977
  * @format GUID
2701
2978
  */
2702
2979
  cartId?: string;
2703
- /**
2704
- * Whether to retrieve the latest item prices, discounts, and inventory data from the catalogs before calculating the cart.
2705
- *
2706
- * Default: `false`
2707
- */
2708
- refreshCart?: boolean;
2709
2980
  /**
2710
2981
  * Specifies the level of **business validation** to perform during cart calculation,
2711
2982
  * by calling the [Validations service plugin](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
@@ -2721,6 +2992,8 @@ interface CalculateCartForV1Request {
2721
2992
  * This field is legacy and currently used by PayLinks and plan to be deprecated
2722
2993
  */
2723
2994
  checkoutStage?: Stage;
2995
+ /** Calculations overrides for backward compatibility with V1. */
2996
+ calculationOverrides?: CalculationOverrides;
2724
2997
  }
2725
2998
  interface Stage extends StageStagesOneOf {
2726
2999
  /** Supported values: */
@@ -2746,6 +3019,48 @@ declare enum CheckoutStage {
2746
3019
  }
2747
3020
  /** @enumType */
2748
3021
  type CheckoutStageWithLiterals = CheckoutStage | 'UNKNOWN_CHECKOUT_STAGE' | 'INITIALIZATION' | 'IN_PROGRESS' | 'ORDER_CREATION';
3022
+ interface CalculationOverrides {
3023
+ /**
3024
+ * Delivery method.
3025
+ *
3026
+ * Pass this field only when there is no existing delivery method in the cart.
3027
+ */
3028
+ deliveryMethod?: DeliveryMethodInput;
3029
+ /** Delivery address. Used for calculating tax and shipping (when applicable). */
3030
+ deliveryAddress?: Address;
3031
+ /** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
3032
+ billingAddress?: Address;
3033
+ /** The selected membership payment options and which line items they apply to. */
3034
+ selectedMemberships?: SelectedMemberships;
3035
+ }
3036
+ interface SelectedMemberships {
3037
+ /**
3038
+ * Selected memberships.
3039
+ * @maxSize 300
3040
+ */
3041
+ memberships?: SelectedMembership[];
3042
+ }
3043
+ interface SelectedMembership {
3044
+ /**
3045
+ * Membership ID.
3046
+ * @minLength 1
3047
+ * @maxLength 100
3048
+ */
3049
+ _id?: string;
3050
+ /**
3051
+ * ID of the app providing this payment option.
3052
+ * @format GUID
3053
+ */
3054
+ appId?: string;
3055
+ /**
3056
+ * IDs of the line items this membership applies to.
3057
+ * @minSize 1
3058
+ * @maxSize 300
3059
+ * @minLength 1
3060
+ * @maxLength 100
3061
+ */
3062
+ lineItemIds?: string[];
3063
+ }
2749
3064
  interface CalculateCartForV1Response {
2750
3065
  /** The Cart that was calculated. */
2751
3066
  cart?: Cart;
@@ -3635,27 +3950,6 @@ interface InvalidMembership {
3635
3950
  */
3636
3951
  reason?: string;
3637
3952
  }
3638
- interface SelectedMembership {
3639
- /**
3640
- * Membership ID.
3641
- * @minLength 1
3642
- * @maxLength 100
3643
- */
3644
- _id?: string;
3645
- /**
3646
- * ID of the app providing this payment option.
3647
- * @format GUID
3648
- */
3649
- appId?: string;
3650
- /**
3651
- * IDs of the line items this membership applies to.
3652
- * @minSize 1
3653
- * @maxSize 300
3654
- * @minLength 1
3655
- * @maxLength 100
3656
- */
3657
- lineItemIds?: string[];
3658
- }
3659
3953
  interface AdditionalFee {
3660
3954
  /**
3661
3955
  * Additional fee's unique code (or ID) for future processing.
@@ -3715,10 +4009,54 @@ declare enum AdditionalFeeSource {
3715
4009
  /** The additional fee was added manually on the request */
3716
4010
  MANUAL = "MANUAL",
3717
4011
  /** The additional fee was added by the shipping provider */
3718
- SHIPPING = "SHIPPING"
4012
+ SHIPPING = "SHIPPING",
4013
+ /** The additional fee was added by a Wix vertical and represents a Wix platform fee */
4014
+ PLATFORM_FEE = "PLATFORM_FEE"
4015
+ }
4016
+ /** @enumType */
4017
+ type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM_FEE';
4018
+ interface PlatformFeeSummary {
4019
+ /** Total platform fee amount. */
4020
+ total?: MultiCurrencyPrice;
4021
+ /** Total platform fee passed on to the customer. */
4022
+ totalPassOn?: MultiCurrencyPrice;
4023
+ /** Total platform fee absorbed by the merchant. */
4024
+ totalAbsorbed?: MultiCurrencyPrice;
4025
+ /**
4026
+ * Calculated platform fees.
4027
+ * @maxSize 100
4028
+ */
4029
+ calculatedPlatformFees?: CalculatedPlatformFee[];
4030
+ }
4031
+ interface CalculatedPlatformFee {
4032
+ /** Platform fee name. */
4033
+ name?: TranslatableString;
4034
+ /** Platform fee amount. */
4035
+ amount?: MultiCurrencyPrice;
4036
+ /**
4037
+ * ID of the line item the platform fee applies to.
4038
+ * @format GUID
4039
+ */
4040
+ lineItemId?: string;
4041
+ /** Platform fee charge type. */
4042
+ chargeType?: PlatformFeeChargeTypeWithLiterals;
4043
+ /**
4044
+ * Percentage rate charged as platform fee.
4045
+ * The fee rate expressed as a decimal fraction between 0 and 1. For example, `0.05` for 5%.
4046
+ * @format DECIMAL_VALUE
4047
+ * @decimalValue options { gte:0, lte:1, maxScale:4 }
4048
+ */
4049
+ percentageRate?: string;
4050
+ }
4051
+ declare enum PlatformFeeChargeType {
4052
+ UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
4053
+ /** The platform fee is passed on to the customer. */
4054
+ PASS_ON = "PASS_ON",
4055
+ /** The platform fee is absorbed by the merchant. */
4056
+ ABSORBED = "ABSORBED"
3719
4057
  }
3720
4058
  /** @enumType */
3721
- type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING';
4059
+ type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
3722
4060
  interface GetCheckoutURLRequest {
3723
4061
  /**
3724
4062
  * ID of the Cart to calculate.
@@ -3807,6 +4145,97 @@ interface PlaceOrderResponse {
3807
4145
  /** Whether an order was successfully created from this cart and the payment transaction was completed. */
3808
4146
  completed?: boolean;
3809
4147
  }
4148
+ interface AllLineItemsOutOfStockErrorData {
4149
+ /**
4150
+ * IDs of the line items that are out of stock.
4151
+ * @format GUID
4152
+ * @maxSize 300
4153
+ */
4154
+ lineItemIds?: string[];
4155
+ }
4156
+ interface SomeLineItemsOutOfStockErrorData {
4157
+ /**
4158
+ * IDs of the line items that are out of stock, if available.
4159
+ * @format GUID
4160
+ * @maxSize 300
4161
+ */
4162
+ lineItemIds?: string[];
4163
+ }
4164
+ interface InvalidThirdPartyCheckoutTokenErrorData {
4165
+ /**
4166
+ * The invalid third party checkout token.
4167
+ * @maxLength 3000
4168
+ */
4169
+ token?: string;
4170
+ }
4171
+ interface InvalidPriceVerificationTokenErrorData {
4172
+ /**
4173
+ * The invalid price verification token.
4174
+ * @maxLength 3000
4175
+ */
4176
+ token?: string;
4177
+ }
4178
+ interface ViolationWithErrorSeverityErrorData {
4179
+ /** List of violations. */
4180
+ violationsList?: ViolationsList;
4181
+ }
4182
+ interface ViolationsList {
4183
+ /**
4184
+ * Violations risen by ValidationsSPI implementers.
4185
+ * @maxSize 100
4186
+ */
4187
+ violations?: Violation[];
4188
+ }
4189
+ interface CalculationErrorData {
4190
+ /** Calculation errors encountered during cart calculation. */
4191
+ calculationErrors?: CalculationErrors;
4192
+ }
4193
+ interface InvalidMembershipErrorData {
4194
+ /**
4195
+ * The error message for invalid membership.
4196
+ * @maxLength 100
4197
+ */
4198
+ message?: string;
4199
+ }
4200
+ interface InvalidPaymentStatusErrorData {
4201
+ /**
4202
+ * The payment token, if available.
4203
+ * @maxLength 100
4204
+ */
4205
+ paymentToken?: string | null;
4206
+ /**
4207
+ * The transaction status.
4208
+ * @maxLength 100
4209
+ */
4210
+ transactionStatus?: string;
4211
+ /**
4212
+ * The failure details, if available.
4213
+ * @maxLength 100
4214
+ */
4215
+ failureDetails?: string | null;
4216
+ }
4217
+ interface GiftCardRedeemErrorData {
4218
+ /**
4219
+ * The error message for the gift card redemption failure.
4220
+ * @maxLength 100
4221
+ */
4222
+ error?: string;
4223
+ }
4224
+ interface EmptyPaymentTokenErrorData {
4225
+ /**
4226
+ * Order total price
4227
+ * @maxLength 100
4228
+ */
4229
+ total?: string;
4230
+ }
4231
+ interface MembersOnlyItemErrorData {
4232
+ /**
4233
+ * IDs of the members-only items in the cart.
4234
+ * @format GUID
4235
+ * @maxSize 300
4236
+ */
4237
+ lineItemIds?: string[];
4238
+ }
3810
4239
  interface AddLineItemsRequest {
3811
4240
  /**
3812
4241
  * Cart ID.
@@ -3976,6 +4405,341 @@ interface HeadersEntry {
3976
4405
  key?: string;
3977
4406
  value?: string;
3978
4407
  }
4408
+ interface UpdateFormSubmissionsRequest {
4409
+ /**
4410
+ * ID of the Cart to update.
4411
+ * @format GUID
4412
+ */
4413
+ cartId?: string;
4414
+ /**
4415
+ * Forms submission data to set on the cart.
4416
+ * @minSize 1
4417
+ * @maxSize 1000
4418
+ */
4419
+ formSubmissions?: FormSubmission[];
4420
+ }
4421
+ interface FormSubmission {
4422
+ /** @format GUID */
4423
+ _id?: string;
4424
+ /** @format GUID */
4425
+ formSubmissionId?: string;
4426
+ }
4427
+ interface UpdateFormSubmissionsResponse {
4428
+ /** Updated Cart. */
4429
+ cart?: Cart;
4430
+ }
4431
+ /** @docsIgnore */
4432
+ type CreateCurrentCartApplicationErrors = {
4433
+ code?: 'ITEM_NOT_FOUND_IN_CATALOG';
4434
+ description?: string;
4435
+ data?: ItemNotFoundInCatalogErrorData;
4436
+ } | {
4437
+ code?: 'INSUFFICIENT_INVENTORY';
4438
+ description?: string;
4439
+ data?: InsufficientInventoryErrorData;
4440
+ } | {
4441
+ code?: 'MAX_LINE_ITEMS_EXCEEDED';
4442
+ description?: string;
4443
+ data?: MaxLineItemsExceededErrorData;
4444
+ } | {
4445
+ code?: 'MAX_ITEM_MODIFIERS_EXCEEDED';
4446
+ description?: string;
4447
+ data?: MaxItemModifiersExceededErrorData;
4448
+ } | {
4449
+ code?: 'DUPLICATE_MODIFIER_GROUP_IDS';
4450
+ description?: string;
4451
+ data?: DuplicateModifierGroupIdsErrorData;
4452
+ } | {
4453
+ code?: 'DUPLICATE_ITEM_MODIFIER_IDS';
4454
+ description?: string;
4455
+ data?: DuplicateItemModifierIdsErrorData;
4456
+ } | {
4457
+ code?: 'LINE_ITEM_PRICE_CONFLICT';
4458
+ description?: string;
4459
+ data?: LineItemPriceConflictErrorData;
4460
+ } | {
4461
+ code?: 'FIXED_QUANTITY_ITEM';
4462
+ description?: string;
4463
+ data?: FixedQuantityItemErrorData;
4464
+ } | {
4465
+ code?: 'INVALID_MEMBERSHIP_PAYMENT_OPTION';
4466
+ description?: string;
4467
+ data?: InvalidMembershipPaymentOptionErrorData;
4468
+ } | {
4469
+ code?: 'INVALID_COUPON_CODE';
4470
+ description?: string;
4471
+ data?: InvalidCouponCodeErrorData;
4472
+ } | {
4473
+ code?: 'INVALID_COUPON_STATUS';
4474
+ description?: string;
4475
+ data?: InvalidCouponStatusErrorData;
4476
+ } | {
4477
+ code?: 'INVALID_GIFT_CARD_CODE';
4478
+ description?: string;
4479
+ data?: InvalidGiftCardCodeErrorData;
4480
+ } | {
4481
+ code?: 'INVALID_GIFT_CARD_STATUS';
4482
+ description?: string;
4483
+ data?: InvalidGiftCardStatusErrorData;
4484
+ } | {
4485
+ code?: 'DELIVERY_METHOD_NOT_FOUND';
4486
+ description?: string;
4487
+ data?: DeliveryMethodNotFoundErrorData;
4488
+ } | {
4489
+ code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
4490
+ description?: string;
4491
+ data?: Record<string, any>;
4492
+ } | {
4493
+ code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
4494
+ description?: string;
4495
+ data?: Record<string, any>;
4496
+ } | {
4497
+ code?: 'DEPOSIT_AMOUNT_GREATER_THAN_UNIT_PRICE';
4498
+ description?: string;
4499
+ data?: Record<string, any>;
4500
+ };
4501
+ /** @docsIgnore */
4502
+ type UpdateCurrentCartApplicationErrors = {
4503
+ code?: 'CART_ALREADY_ORDERED';
4504
+ description?: string;
4505
+ data?: CartAlreadyOrderedErrorData;
4506
+ } | {
4507
+ code?: 'ADDRESS_MISSING_COUNTRY';
4508
+ description?: string;
4509
+ data?: Record<string, any>;
4510
+ } | {
4511
+ code?: 'BUSINESS_LOCATION_NOT_FOUND';
4512
+ description?: string;
4513
+ data?: Record<string, any>;
4514
+ } | {
4515
+ code?: 'INVALID_ADDRESS_FORMAT';
4516
+ description?: string;
4517
+ data?: Record<string, any>;
4518
+ } | {
4519
+ code?: 'DATA_EXTENSION_UPDATE_FAILED';
4520
+ description?: string;
4521
+ data?: Record<string, any>;
4522
+ };
4523
+ /** @docsIgnore */
4524
+ type RefreshCurrentCartApplicationErrors = {
4525
+ code?: 'CART_ALREADY_ORDERED';
4526
+ description?: string;
4527
+ data?: CartAlreadyOrderedErrorData;
4528
+ };
4529
+ /** @docsIgnore */
4530
+ type CalculateCurrentCartApplicationErrors = {
4531
+ code?: 'CART_ALREADY_ORDERED';
4532
+ description?: string;
4533
+ data?: CartAlreadyOrderedErrorData;
4534
+ };
4535
+ /** @docsIgnore */
4536
+ type AddLineItemsToCurrentCartApplicationErrors = {
4537
+ code?: 'ITEM_NOT_FOUND_IN_CATALOG';
4538
+ description?: string;
4539
+ data?: ItemNotFoundInCatalogErrorData;
4540
+ } | {
4541
+ code?: 'INSUFFICIENT_INVENTORY';
4542
+ description?: string;
4543
+ data?: InsufficientInventoryErrorData;
4544
+ } | {
4545
+ code?: 'MAX_LINE_ITEMS_EXCEEDED';
4546
+ description?: string;
4547
+ data?: MaxLineItemsExceededErrorData;
4548
+ } | {
4549
+ code?: 'MAX_ITEM_MODIFIERS_EXCEEDED';
4550
+ description?: string;
4551
+ data?: MaxItemModifiersExceededErrorData;
4552
+ } | {
4553
+ code?: 'DUPLICATE_MODIFIER_GROUP_IDS';
4554
+ description?: string;
4555
+ data?: DuplicateModifierGroupIdsErrorData;
4556
+ } | {
4557
+ code?: 'DUPLICATE_ITEM_MODIFIER_IDS';
4558
+ description?: string;
4559
+ data?: DuplicateItemModifierIdsErrorData;
4560
+ } | {
4561
+ code?: 'LINE_ITEM_PRICE_CONFLICT';
4562
+ description?: string;
4563
+ data?: LineItemPriceConflictErrorData;
4564
+ } | {
4565
+ code?: 'FIXED_QUANTITY_ITEM';
4566
+ description?: string;
4567
+ data?: FixedQuantityItemErrorData;
4568
+ } | {
4569
+ code?: 'INVALID_MEMBERSHIP_PAYMENT_OPTION';
4570
+ description?: string;
4571
+ data?: InvalidMembershipPaymentOptionErrorData;
4572
+ } | {
4573
+ code?: 'INVALID_COUPON_CODE';
4574
+ description?: string;
4575
+ data?: InvalidCouponCodeErrorData;
4576
+ } | {
4577
+ code?: 'INVALID_COUPON_STATUS';
4578
+ description?: string;
4579
+ data?: InvalidCouponStatusErrorData;
4580
+ } | {
4581
+ code?: 'INVALID_GIFT_CARD_CODE';
4582
+ description?: string;
4583
+ data?: InvalidGiftCardCodeErrorData;
4584
+ } | {
4585
+ code?: 'INVALID_GIFT_CARD_STATUS';
4586
+ description?: string;
4587
+ data?: InvalidGiftCardStatusErrorData;
4588
+ } | {
4589
+ code?: 'DELIVERY_METHOD_NOT_FOUND';
4590
+ description?: string;
4591
+ data?: DeliveryMethodNotFoundErrorData;
4592
+ } | {
4593
+ code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
4594
+ description?: string;
4595
+ data?: Record<string, any>;
4596
+ } | {
4597
+ code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
4598
+ description?: string;
4599
+ data?: Record<string, any>;
4600
+ } | {
4601
+ code?: 'NO_LINE_ITEMS_TO_ADD';
4602
+ description?: string;
4603
+ data?: Record<string, any>;
4604
+ } | {
4605
+ code?: 'DEPOSIT_AMOUNT_GREATER_THAN_UNIT_PRICE';
4606
+ description?: string;
4607
+ data?: Record<string, any>;
4608
+ };
4609
+ /** @docsIgnore */
4610
+ type RemoveLineItemsFromCurrentCartApplicationErrors = {
4611
+ code?: 'CART_ALREADY_ORDERED';
4612
+ description?: string;
4613
+ data?: CartAlreadyOrderedErrorData;
4614
+ } | {
4615
+ code?: 'LINE_ITEM_NOT_FOUND_IN_CART';
4616
+ description?: string;
4617
+ data?: LineItemNotFoundInCartErrorData;
4618
+ };
4619
+ /** @docsIgnore */
4620
+ type UpdateLineItemsInCurrentCartApplicationErrors = {
4621
+ code?: 'EMPTY_LINE_ITEM_UPDATES';
4622
+ description?: string;
4623
+ data?: EmptyLineItemUpdatesErrorData;
4624
+ } | {
4625
+ code?: 'DUPLICATE_LINE_ITEM_UPDATES';
4626
+ description?: string;
4627
+ data?: DuplicateLineItemUpdatesErrorData;
4628
+ } | {
4629
+ code?: 'CART_ALREADY_ORDERED';
4630
+ description?: string;
4631
+ data?: CartAlreadyOrderedErrorData;
4632
+ } | {
4633
+ code?: 'LINE_ITEM_NOT_FOUND_IN_CART';
4634
+ description?: string;
4635
+ data?: LineItemNotFoundInCartErrorData;
4636
+ } | {
4637
+ code?: 'ITEM_NOT_FOUND_IN_CATALOG';
4638
+ description?: string;
4639
+ data?: ItemNotFoundInCatalogErrorData;
4640
+ } | {
4641
+ code?: 'INSUFFICIENT_INVENTORY';
4642
+ description?: string;
4643
+ data?: InsufficientInventoryErrorData;
4644
+ };
4645
+ /** @docsIgnore */
4646
+ type AddCouponToCurrentCartApplicationErrors = {
4647
+ code?: 'COUPON_ALREADY_EXISTS';
4648
+ description?: string;
4649
+ data?: CouponAlreadyExistsErrorData;
4650
+ } | {
4651
+ code?: 'MAX_COUPONS_PER_CART_EXCEEDED';
4652
+ description?: string;
4653
+ data?: Record<string, any>;
4654
+ } | {
4655
+ code?: 'CART_ALREADY_ORDERED';
4656
+ description?: string;
4657
+ data?: CartAlreadyOrderedErrorData;
4658
+ } | {
4659
+ code?: 'COUPON_LOCKED';
4660
+ description?: string;
4661
+ data?: Record<string, any>;
4662
+ } | {
4663
+ code?: 'INVALID_COUPON_CODE';
4664
+ description?: string;
4665
+ data?: InvalidCouponCodeErrorData;
4666
+ } | {
4667
+ code?: 'INVALID_COUPON_STATUS';
4668
+ description?: string;
4669
+ data?: InvalidCouponStatusErrorData;
4670
+ };
4671
+ /** @docsIgnore */
4672
+ type RemoveCouponFromCurrentCartApplicationErrors = {
4673
+ code?: 'COUPON_NOT_FOUND_IN_CART';
4674
+ description?: string;
4675
+ data?: CouponNotFoundInCartErrorData;
4676
+ } | {
4677
+ code?: 'CART_ALREADY_ORDERED';
4678
+ description?: string;
4679
+ data?: CartAlreadyOrderedErrorData;
4680
+ } | {
4681
+ code?: 'COUPON_LOCKED';
4682
+ description?: string;
4683
+ data?: Record<string, any>;
4684
+ };
4685
+ /** @docsIgnore */
4686
+ type SetDeliveryMethodForCurrentCartApplicationErrors = {
4687
+ code?: 'CART_ALREADY_ORDERED';
4688
+ description?: string;
4689
+ data?: CartAlreadyOrderedErrorData;
4690
+ } | {
4691
+ code?: 'DELIVERY_METHOD_NOT_FOUND';
4692
+ description?: string;
4693
+ data?: DeliveryMethodNotFoundErrorData;
4694
+ } | {
4695
+ code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
4696
+ description?: string;
4697
+ data?: Record<string, any>;
4698
+ } | {
4699
+ code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
4700
+ description?: string;
4701
+ data?: Record<string, any>;
4702
+ };
4703
+ /** @docsIgnore */
4704
+ type AddGiftCardToCurrentCartApplicationErrors = {
4705
+ code?: 'CART_ALREADY_ORDERED';
4706
+ description?: string;
4707
+ data?: CartAlreadyOrderedErrorData;
4708
+ } | {
4709
+ code?: 'INVALID_GIFT_CARD_CODE';
4710
+ description?: string;
4711
+ data?: InvalidGiftCardCodeErrorData;
4712
+ } | {
4713
+ code?: 'INVALID_GIFT_CARD_STATUS';
4714
+ description?: string;
4715
+ data?: InvalidGiftCardStatusErrorData;
4716
+ } | {
4717
+ code?: 'MAX_GIFT_CARDS_PER_CART_EXCEEDED';
4718
+ description?: string;
4719
+ data?: Record<string, any>;
4720
+ } | {
4721
+ code?: 'GIFT_CARD_ALREADY_EXISTS';
4722
+ description?: string;
4723
+ data?: GiftCardAlreadyExistsErrorData;
4724
+ } | {
4725
+ code?: 'GIFT_CARD_LOCKED';
4726
+ description?: string;
4727
+ data?: Record<string, any>;
4728
+ };
4729
+ /** @docsIgnore */
4730
+ type RemoveGiftCardFromCurrentCartApplicationErrors = {
4731
+ code?: 'CART_ALREADY_ORDERED';
4732
+ description?: string;
4733
+ data?: CartAlreadyOrderedErrorData;
4734
+ } | {
4735
+ code?: 'GIFT_CARD_NOT_FOUND_IN_CART';
4736
+ description?: string;
4737
+ data?: GiftCardNotFoundInCartErrorData;
4738
+ } | {
4739
+ code?: 'GIFT_CARD_LOCKED';
4740
+ description?: string;
4741
+ data?: Record<string, any>;
4742
+ };
3979
4743
  /**
3980
4744
  * Creates the Current Cart of the customer.
3981
4745
  * @public
@@ -3993,7 +4757,9 @@ interface HeadersEntry {
3993
4757
  * @applicableIdentity APP
3994
4758
  * @fqn wix.ecom.cart.v2.CurrentCartService.CreateCurrentCart
3995
4759
  */
3996
- declare function createCurrentCart(options?: NonNullablePaths<CreateCurrentCartOptions, `catalogItems.${number}.catalogReference` | `catalogItems.${number}.quantity` | `catalogItems.${number}.selectedMembership._id` | `catalogItems.${number}.selectedMembership.appId` | `customItems.${number}.attributes.descriptionLines.${number}.name` | `customItems.${number}.attributes.itemType` | `customItems.${number}.name` | `customItems.${number}.pricing` | `customItems.${number}.pricing.price` | `customItems.${number}.quantityInfo` | `customItems.${number}.quantityInfo.requestedQuantity`, 7>): Promise<NonNullablePaths<CreateCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
4760
+ declare function createCurrentCart(options?: NonNullablePaths<CreateCurrentCartOptions, `catalogItems.${number}.catalogReference` | `catalogItems.${number}.quantity` | `catalogItems.${number}.selectedMembership._id` | `catalogItems.${number}.selectedMembership.appId` | `customItems.${number}.attributes.descriptionLines.${number}.name` | `customItems.${number}.attributes.itemType` | `customItems.${number}.name` | `customItems.${number}.pricing` | `customItems.${number}.pricing.price` | `customItems.${number}.quantityInfo` | `customItems.${number}.quantityInfo.requestedQuantity`, 7>): Promise<NonNullablePaths<CreateCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
4761
+ __applicationErrorsType?: CreateCurrentCartApplicationErrors;
4762
+ }>;
3997
4763
  interface CreateCurrentCartOptions {
3998
4764
  /** Cart to be created. */
3999
4765
  cart?: Cart;
@@ -4034,7 +4800,7 @@ interface CreateCurrentCartOptions {
4034
4800
  * @applicableIdentity APP
4035
4801
  * @fqn wix.ecom.cart.v2.CurrentCartService.GetCurrentCart
4036
4802
  */
4037
- declare function getCurrentCart(): Promise<NonNullablePaths<GetCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
4803
+ declare function getCurrentCart(): Promise<NonNullablePaths<GetCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7>>;
4038
4804
  /**
4039
4805
  * Updates the Current Cart.
4040
4806
  *
@@ -4049,7 +4815,9 @@ declare function getCurrentCart(): Promise<NonNullablePaths<GetCurrentCartRespon
4049
4815
  * @applicableIdentity APP
4050
4816
  * @fqn wix.ecom.cart.v2.CurrentCartService.UpdateCurrentCart
4051
4817
  */
4052
- declare function updateCurrentCart(cart: Cart): Promise<NonNullablePaths<UpdateCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
4818
+ declare function updateCurrentCart(cart: Cart): Promise<NonNullablePaths<UpdateCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
4819
+ __applicationErrorsType?: UpdateCurrentCartApplicationErrors;
4820
+ }>;
4053
4821
  /**
4054
4822
  * Deletes the Current Cart of the customer.
4055
4823
  * @public
@@ -4067,7 +4835,9 @@ declare function deleteCurrentCart(): Promise<void>;
4067
4835
  * @applicableIdentity APP
4068
4836
  * @fqn wix.ecom.cart.v2.CurrentCartService.RefreshCurrentCart
4069
4837
  */
4070
- declare function refreshCurrentCart(): Promise<NonNullablePaths<RefreshCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
4838
+ declare function refreshCurrentCart(): Promise<NonNullablePaths<RefreshCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
4839
+ __applicationErrorsType?: RefreshCurrentCartApplicationErrors;
4840
+ }>;
4071
4841
  /**
4072
4842
  * Calculates the cart based on its current state (line items, discounts, delivery method, etc.)
4073
4843
  * and returns a detailed summary including subtotal, delivery costs, taxes, fees and the total price.
@@ -4077,7 +4847,9 @@ declare function refreshCurrentCart(): Promise<NonNullablePaths<RefreshCurrentCa
4077
4847
  * @applicableIdentity APP
4078
4848
  * @fqn wix.ecom.cart.v2.CurrentCartService.CalculateCurrentCart
4079
4849
  */
4080
- declare function calculateCurrentCart(options?: CalculateCurrentCartOptions): Promise<NonNullablePaths<CalculateCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `summary.cartId` | `summary.calculationId` | `summary.lineItems` | `summary.lineItems.${number}.lineItemId` | `summary.lineItems.${number}.quantity` | `summary.lineItems.${number}.unitPrice.amount` | `summary.lineItems.${number}.unitPrice.convertedAmount` | `summary.discounts` | `summary.discounts.${number}.name.original` | `summary.discounts.${number}.source.sourceType` | `summary.discounts.${number}.scope` | `summary.deliverySummary.method.code` | `summary.deliverySummary.method.pickup` | `summary.additionalFees` | `summary.taxSummary.taxes` | `summary.taxSummary.pricesIncludeTax` | `summary.taxSummary.lineItemTaxes` | `summary.taxSummary.lineItemTaxes.${number}.lineItemId` | `summary.taxSummary.additionalFeeTaxes` | `summary.taxSummary.additionalFeeTaxes.${number}.additionalFeeCode` | `summary.paymentSummary.giftCards` | `summary.paymentSummary.giftCards.${number}.giftCardId` | `summary.paymentSummary.memberships` | `summary.paymentSummary.memberships.${number}._id` | `summary.paymentSummary.memberships.${number}.appId` | `summary.paymentSummary.subscriptionCharges` | `summary.paymentSummary.requiresPaymentAfterGiftCard` | `summary.calculationErrors.generalShippingCalculationError.applicationError.code` | `summary.calculationErrors.generalShippingCalculationError.applicationError.description` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `summary.calculationErrors.carrierErrors.errors` | `summary.calculationErrors.carrierErrors.errors.${number}.carrierId` | `summary.calculationErrors.orderValidationErrors` | `summary.spiViolations` | `summary.spiViolations.${number}.severity` | `summary.spiViolations.${number}.target.other.name` | `summary.spiViolations.${number}.target.lineItem.name`, 8>>;
4850
+ declare function calculateCurrentCart(options?: CalculateCurrentCartOptions): Promise<NonNullablePaths<CalculateCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title` | `summary.cartId` | `summary.cartRevision` | `summary.calculationId` | `summary.lineItems` | `summary.lineItems.${number}.lineItemId` | `summary.lineItems.${number}.quantity` | `summary.lineItems.${number}.unitPrice.amount` | `summary.lineItems.${number}.unitPrice.convertedAmount` | `summary.discounts` | `summary.discounts.${number}.name.original` | `summary.discounts.${number}.source.sourceType` | `summary.discounts.${number}.scope` | `summary.deliverySummary.method.code` | `summary.deliverySummary.method.pickup` | `summary.additionalFees` | `summary.taxSummary.taxes` | `summary.taxSummary.pricesIncludeTax` | `summary.taxSummary.lineItemTaxes` | `summary.taxSummary.lineItemTaxes.${number}.lineItemId` | `summary.taxSummary.additionalFeeTaxes` | `summary.taxSummary.additionalFeeTaxes.${number}.additionalFeeCode` | `summary.paymentSummary.giftCards` | `summary.paymentSummary.giftCards.${number}.giftCardId` | `summary.paymentSummary.memberships` | `summary.paymentSummary.memberships.${number}._id` | `summary.paymentSummary.memberships.${number}.appId` | `summary.paymentSummary.subscriptionCharges` | `summary.paymentSummary.requiresPaymentAfterGiftCard` | `summary.calculationErrors.generalShippingCalculationError.applicationError.code` | `summary.calculationErrors.generalShippingCalculationError.applicationError.description` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `summary.calculationErrors.carrierErrors.errors` | `summary.calculationErrors.carrierErrors.errors.${number}.carrierId` | `summary.calculationErrors.orderValidationErrors` | `summary.spiViolations` | `summary.spiViolations.${number}.severity` | `summary.spiViolations.${number}.target.other.name` | `summary.spiViolations.${number}.target.lineItem.name`, 8> & {
4851
+ __applicationErrorsType?: CalculateCurrentCartApplicationErrors;
4852
+ }>;
4081
4853
  interface CalculateCurrentCartOptions {
4082
4854
  /**
4083
4855
  * Whether to retrieve the latest item prices, discounts, and inventory data from the catalogs before calculating the cart.
@@ -4114,7 +4886,9 @@ interface CalculateCurrentCartOptions {
4114
4886
  * @applicableIdentity APP
4115
4887
  * @fqn wix.ecom.cart.v2.CurrentCartService.AddLineItemsToCurrentCart
4116
4888
  */
4117
- declare function addLineItemsToCurrentCart(options?: NonNullablePaths<AddLineItemsToCurrentCartOptions, `catalogItems.${number}.catalogReference` | `catalogItems.${number}.quantity` | `catalogItems.${number}.selectedMembership._id` | `catalogItems.${number}.selectedMembership.appId` | `customItems.${number}.attributes.descriptionLines.${number}.name` | `customItems.${number}.attributes.itemType` | `customItems.${number}.name` | `customItems.${number}.pricing` | `customItems.${number}.pricing.price` | `customItems.${number}.quantityInfo` | `customItems.${number}.quantityInfo.requestedQuantity`, 7>): Promise<NonNullablePaths<AddLineItemsToCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
4889
+ declare function addLineItemsToCurrentCart(options?: NonNullablePaths<AddLineItemsToCurrentCartOptions, `catalogItems.${number}.catalogReference` | `catalogItems.${number}.quantity` | `catalogItems.${number}.selectedMembership._id` | `catalogItems.${number}.selectedMembership.appId` | `customItems.${number}.attributes.descriptionLines.${number}.name` | `customItems.${number}.attributes.itemType` | `customItems.${number}.name` | `customItems.${number}.pricing` | `customItems.${number}.pricing.price` | `customItems.${number}.quantityInfo` | `customItems.${number}.quantityInfo.requestedQuantity`, 7>): Promise<NonNullablePaths<AddLineItemsToCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
4890
+ __applicationErrorsType?: AddLineItemsToCurrentCartApplicationErrors;
4891
+ }>;
4118
4892
  interface AddLineItemsToCurrentCartOptions {
4119
4893
  /**
4120
4894
  * A list of catalog items to add to the cart.
@@ -4137,7 +4911,9 @@ interface AddLineItemsToCurrentCartOptions {
4137
4911
  * @applicableIdentity APP
4138
4912
  * @fqn wix.ecom.cart.v2.CurrentCartService.RemoveLineItemsFromCurrentCart
4139
4913
  */
4140
- declare function removeLineItemsFromCurrentCart(lineItemIds: string[]): Promise<NonNullablePaths<RemoveLineItemsFromCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
4914
+ declare function removeLineItemsFromCurrentCart(lineItemIds: string[]): Promise<NonNullablePaths<RemoveLineItemsFromCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
4915
+ __applicationErrorsType?: RemoveLineItemsFromCurrentCartApplicationErrors;
4916
+ }>;
4141
4917
  /**
4142
4918
  * Updates line items in the Cart.
4143
4919
  * Use this endpoint to update line items properties such as quantity and selected membership.
@@ -4149,7 +4925,9 @@ declare function removeLineItemsFromCurrentCart(lineItemIds: string[]): Promise<
4149
4925
  * @applicableIdentity APP
4150
4926
  * @fqn wix.ecom.cart.v2.CurrentCartService.UpdateLineItemsInCurrentCart
4151
4927
  */
4152
- declare function updateLineItemsInCurrentCart(options?: NonNullablePaths<UpdateLineItemsInCurrentCartOptions, `lineItems.${number}.lineItemId` | `lineItems.${number}.quantity.newQuantity`, 5>): Promise<NonNullablePaths<UpdateLineItemsInCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
4928
+ declare function updateLineItemsInCurrentCart(options?: NonNullablePaths<UpdateLineItemsInCurrentCartOptions, `lineItems.${number}.lineItemId` | `lineItems.${number}.quantity.newQuantity`, 5>): Promise<NonNullablePaths<UpdateLineItemsInCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
4929
+ __applicationErrorsType?: UpdateLineItemsInCurrentCartApplicationErrors;
4930
+ }>;
4153
4931
  interface UpdateLineItemsInCurrentCartOptions {
4154
4932
  /**
4155
4933
  * Line item updates to apply.
@@ -4171,7 +4949,9 @@ interface UpdateLineItemsInCurrentCartOptions {
4171
4949
  * @applicableIdentity APP
4172
4950
  * @fqn wix.ecom.cart.v2.CurrentCartService.AddCouponToCurrentCart
4173
4951
  */
4174
- declare function addCouponToCurrentCart(coupon: NonNullablePaths<CouponInput, `code`, 2>): Promise<NonNullablePaths<AddCouponToCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
4952
+ declare function addCouponToCurrentCart(coupon: NonNullablePaths<CouponInput, `code`, 2>): Promise<NonNullablePaths<AddCouponToCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
4953
+ __applicationErrorsType?: AddCouponToCurrentCartApplicationErrors;
4954
+ }>;
4175
4955
  /**
4176
4956
  * Removes a coupon from the Cart.
4177
4957
  * @param couponId - Coupon ID.
@@ -4182,7 +4962,9 @@ declare function addCouponToCurrentCart(coupon: NonNullablePaths<CouponInput, `c
4182
4962
  * @applicableIdentity APP
4183
4963
  * @fqn wix.ecom.cart.v2.CurrentCartService.RemoveCouponFromCurrentCart
4184
4964
  */
4185
- declare function removeCouponFromCurrentCart(couponId: string): Promise<NonNullablePaths<RemoveCouponFromCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
4965
+ declare function removeCouponFromCurrentCart(couponId: string): Promise<NonNullablePaths<RemoveCouponFromCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
4966
+ __applicationErrorsType?: RemoveCouponFromCurrentCartApplicationErrors;
4967
+ }>;
4186
4968
  /**
4187
4969
  * Sets the delivery method for the Current Cart.
4188
4970
  * @param deliveryMethod - Delivery method.
@@ -4194,7 +4976,9 @@ declare function removeCouponFromCurrentCart(couponId: string): Promise<NonNulla
4194
4976
  * @applicableIdentity APP
4195
4977
  * @fqn wix.ecom.cart.v2.CurrentCartService.SetDeliveryMethodForCurrentCart
4196
4978
  */
4197
- declare function setDeliveryMethodForCurrentCart(deliveryMethod: NonNullablePaths<DeliveryMethodInput, `code`, 2>): Promise<NonNullablePaths<SetDeliveryMethodForCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
4979
+ declare function setDeliveryMethodForCurrentCart(deliveryMethod: NonNullablePaths<DeliveryMethodInput, `code`, 2>): Promise<NonNullablePaths<SetDeliveryMethodForCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
4980
+ __applicationErrorsType?: SetDeliveryMethodForCurrentCartApplicationErrors;
4981
+ }>;
4198
4982
  /**
4199
4983
  * Adds a gift card to the Current Cart.
4200
4984
  * Once added, the gift card’s balance will be used as a payment method during checkout, either partially or fully covering the cart total.
@@ -4209,7 +4993,9 @@ declare function setDeliveryMethodForCurrentCart(deliveryMethod: NonNullablePath
4209
4993
  * @applicableIdentity APP
4210
4994
  * @fqn wix.ecom.cart.v2.CurrentCartService.AddGiftCardToCurrentCart
4211
4995
  */
4212
- declare function addGiftCardToCurrentCart(giftCard: NonNullablePaths<GiftCardInput, `code`, 2>): Promise<NonNullablePaths<AddGiftCardToCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
4996
+ declare function addGiftCardToCurrentCart(giftCard: NonNullablePaths<GiftCardInput, `code`, 2>): Promise<NonNullablePaths<AddGiftCardToCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
4997
+ __applicationErrorsType?: AddGiftCardToCurrentCartApplicationErrors;
4998
+ }>;
4213
4999
  /**
4214
5000
  * Removes a gift card from the Current Cart.
4215
5001
  * @param giftCardId - Gift card ID.
@@ -4220,6 +5006,8 @@ declare function addGiftCardToCurrentCart(giftCard: NonNullablePaths<GiftCardInp
4220
5006
  * @applicableIdentity APP
4221
5007
  * @fqn wix.ecom.cart.v2.CurrentCartService.RemoveGiftCardFromCurrentCart
4222
5008
  */
4223
- declare function removeGiftCardFromCurrentCart(giftCardId: string): Promise<NonNullablePaths<RemoveGiftCardFromCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
5009
+ declare function removeGiftCardFromCurrentCart(giftCardId: string): Promise<NonNullablePaths<RemoveGiftCardFromCurrentCartResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
5010
+ __applicationErrorsType?: RemoveGiftCardFromCurrentCartApplicationErrors;
5011
+ }>;
4224
5012
 
4225
- export { type ActionEvent, type AddCouponRequest, type AddCouponResponse, type AddCouponToCurrentCartRequest, type AddCouponToCurrentCartResponse, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsRequest, type AddLineItemsResponse, type AddLineItemsToCurrentCartOptions, type AddLineItemsToCurrentCartRequest, type AddLineItemsToCurrentCartResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeTax, type Address, type AddressLocation, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, type BusinessInfo, type CalculateCartForV1Request, type CalculateCartForV1Response, type CalculateCartRequest, type CalculateCartResponse, type CalculateCurrentCartOptions, type CalculateCurrentCartRequest, type CalculateCurrentCartResponse, type CalculateTotalsResponse, type CalculatedItemModifier, type CalculatedLineItem, type CalculationConfig, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartSettings, type CartSource, type CartSummary, type CatalogItemInput, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, CheckoutStage, type CheckoutStageWithLiterals, type Color, type ConvertedMoney, type Coupon, type CouponInput, type CreateCartRequest, type CreateCartResponse, type CreateCurrentCartOptions, type CreateCurrentCartRequest, type CreateCurrentCartResponse, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomItemAttributes, type CustomItemDeliveryConfig, type CustomItemInput, type CustomItemPaymentConfig, type CustomItemPricingInfo, type CustomItemQuantityInfo, type CustomItemSource, type CustomItemTaxConfig, type CustomerInfo, type CustomerInfoIdOneOf, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeleteCurrentCartResponse, type DeliveryAllocation, type DeliveryInfo, type DeliveryLogistics, type DeliveryMethod, type DeliveryMethodInput, type DeliverySummary, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Discount, type DiscountBenefit, type DiscountBenefitValueOneOf, type DiscountRule, type DiscountRuleName, DiscountScope, type DiscountScopeWithLiterals, type DiscountSource, DiscountSourceType, type DiscountSourceTypeWithLiterals, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DummyErrorDataMethodLevel, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartRequest, type GetCartResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardInput, type GiftCardSummary, type Group, type HandleAsyncCheckoutCompletionRequest, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAttributes, type ItemDeliveryConfig, type ItemDiscount, type ItemModifier, type ItemPaymentConfig, type ItemPriceBreakdown, type ItemPricingInfo, type ItemQuantityInfo, type ItemSource, ItemStatus, type ItemStatusWithLiterals, type ItemTaxConfig, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LegacyFields, type LineItem, type LineItemDiscount, type LineItemIdentifier, type LineItemIdentifierIdOneOf, type LineItemPricesData, type LineItemSummary, type LineItemTax, type LineItemUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCartAsCompletedRequest, type MarkCartAsCompletedResponse, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentInfo, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentSummary, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlaceOrderRequest, type PlaceOrderResponse, type PlainTextValue, type Policy, type PriceDescription, type PriceSummary, type QuantityUpdate, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedirectUrls, type RefreshCartRequest, type RefreshCartResponse, type RefreshCurrentCartRequest, type RefreshCurrentCartResponse, type Region, type RemoveCouponFromCurrentCartRequest, type RemoveCouponFromCurrentCartResponse, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardFromCurrentCartRequest, type RemoveGiftCardFromCurrentCartResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsFromCurrentCartResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMembershipUpdate, type ServiceProperties, type SetDeliveryMethodForCurrentCartRequest, type SetDeliveryMethodForCurrentCartResponse, type SetDeliveryMethodRequest, type SetDeliveryMethodResponse, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type Stage, type StageStagesOneOf, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetTargetTypeOneOf, type Tax, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxDetails, type TaxInfo, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UnmarkAsCurrentCartRequest, type UnmarkAsCurrentCartResponse, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateLineItemsInCurrentCartOptions, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type V1AdditionalFee, type V2AdditionalFee, type V2CalculationErrors, type V2CalculationErrorsShippingCalculationErrorOneOf, type V2CarrierError, type V2CarrierErrors, type V2Coupon, type V2GiftCard, type V2LineItem, type V2Membership, type V2PriceSummary, type V2SelectedMembership, type V2TaxSummary, type ValidationError, ValidationsConfig, type ValidationsConfigWithLiterals, type VatId, VatType, type VatTypeWithLiterals, type Violation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addCouponToCurrentCart, addGiftCardToCurrentCart, addLineItemsToCurrentCart, calculateCurrentCart, createCurrentCart, deleteCurrentCart, getCurrentCart, refreshCurrentCart, removeCouponFromCurrentCart, removeGiftCardFromCurrentCart, removeLineItemsFromCurrentCart, setDeliveryMethodForCurrentCart, updateCurrentCart, updateLineItemsInCurrentCart };
5013
+ export { type ActionEvent, type AddCouponRequest, type AddCouponResponse, type AddCouponToCurrentCartApplicationErrors, type AddCouponToCurrentCartRequest, type AddCouponToCurrentCartResponse, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartApplicationErrors, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsRequest, type AddLineItemsResponse, type AddLineItemsToCurrentCartApplicationErrors, type AddLineItemsToCurrentCartOptions, type AddLineItemsToCurrentCartRequest, type AddLineItemsToCurrentCartResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeTax, type Address, type AddressLocation, type AggregatedTaxBreakdown, type AllLineItemsOutOfStockErrorData, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, type BusinessInfo, type CalculateCartForV1Request, type CalculateCartForV1Response, type CalculateCartRequest, type CalculateCartResponse, type CalculateCurrentCartApplicationErrors, type CalculateCurrentCartOptions, type CalculateCurrentCartRequest, type CalculateCurrentCartResponse, type CalculateTotalsResponse, type CalculatedItemModifier, type CalculatedLineItem, type CalculatedPlatformFee, type CalculationConfig, type CalculationErrorData, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CalculationOverrides, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartAlreadyOrderedErrorData, type CartSettings, type CartSource, type CartSummary, type CatalogItemInput, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, CheckoutStage, type CheckoutStageWithLiterals, type Color, type ConvertedMoney, type Coupon, type CouponAlreadyExistsErrorData, type CouponInput, type CouponNotFoundInCartErrorData, type CreateCartRequest, type CreateCartResponse, type CreateCurrentCartApplicationErrors, type CreateCurrentCartOptions, type CreateCurrentCartRequest, type CreateCurrentCartResponse, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomItemAttributes, type CustomItemDeliveryConfig, type CustomItemInput, type CustomItemPaymentConfig, type CustomItemPricingInfo, type CustomItemQuantityInfo, type CustomItemSource, type CustomItemTaxConfig, type CustomerInfo, type CustomerInfoIdOneOf, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeleteCurrentCartResponse, type DeliveryAllocation, type DeliveryInfo, type DeliveryLogistics, type DeliveryMethod, type DeliveryMethodInput, type DeliveryMethodNotFoundErrorData, type DeliverySummary, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Discount, type DiscountBenefit, type DiscountBenefitValueOneOf, type DiscountRule, type DiscountRuleName, DiscountScope, type DiscountScopeWithLiterals, type DiscountSource, DiscountSourceType, type DiscountSourceTypeWithLiterals, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DuplicateItemModifierIdsErrorData, type DuplicateLineItemUpdatesErrorData, type DuplicateModifierGroupIdsErrorData, type Empty, type EmptyLineItemUpdatesErrorData, type EmptyPaymentTokenErrorData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FixedQuantityItemErrorData, type FormIdentifier, type FormInfo, type FormSubmission, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartRequest, type GetCartResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardAlreadyExistsErrorData, type GiftCardInput, type GiftCardNotFoundInCartErrorData, type GiftCardRedeemErrorData, type GiftCardSummary, type Group, type HandleAsyncCheckoutCompletionRequest, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InsufficientInventoryEntry, type InsufficientInventoryErrorData, type InvalidCouponCodeErrorData, InvalidCouponReason, type InvalidCouponReasonWithLiterals, type InvalidCouponStatusErrorData, type InvalidCouponStatusErrorDataDetailsOneOf, type InvalidGiftCardCodeErrorData, InvalidGiftCardReason, type InvalidGiftCardReasonWithLiterals, type InvalidGiftCardStatusErrorData, type InvalidMembership, type InvalidMembershipEntry, type InvalidMembershipErrorData, type InvalidMembershipPaymentOptionErrorData, type InvalidPaymentStatusErrorData, type InvalidPriceVerificationTokenErrorData, type InvalidThirdPartyCheckoutTokenErrorData, type ItemAttributes, type ItemDeliveryConfig, type ItemDiscount, type ItemModifier, type ItemNotFoundInCatalogErrorData, type ItemPaymentConfig, type ItemPriceBreakdown, type ItemPricingInfo, type ItemQuantityInfo, type ItemSource, ItemStatus, type ItemStatusWithLiterals, type ItemTaxConfig, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LegacyFields, type LineItem, type LineItemDiscount, type LineItemIdentifier, type LineItemIdentifierIdOneOf, type LineItemNotFoundInCartErrorData, type LineItemPriceConflictErrorData, type LineItemPricesData, type LineItemSummary, type LineItemTax, type LineItemUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCartAsCompletedRequest, type MarkCartAsCompletedResponse, type MaxItemModifiersExceededErrorData, type MaxLineItemsExceededErrorData, type MembersOnlyItemErrorData, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type MinLineItemQuantityNotReachedDetails, type MinSubtotalNotReachedDetails, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentInfo, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentSummary, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlaceOrderRequest, type PlaceOrderResponse, type PlainTextValue, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type PlatformFeeSummary, type Policy, type PriceDescription, type PriceSummary, type QuantityUpdate, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedirectUrls, type RefreshCartRequest, type RefreshCartResponse, type RefreshCurrentCartApplicationErrors, type RefreshCurrentCartRequest, type RefreshCurrentCartResponse, type Region, type RemoveCouponFromCurrentCartApplicationErrors, type RemoveCouponFromCurrentCartRequest, type RemoveCouponFromCurrentCartResponse, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardFromCurrentCartApplicationErrors, type RemoveGiftCardFromCurrentCartRequest, type RemoveGiftCardFromCurrentCartResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsFromCurrentCartApplicationErrors, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsFromCurrentCartResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMembershipUpdate, type SelectedMemberships, type ServiceProperties, type SetDeliveryMethodForCurrentCartApplicationErrors, type SetDeliveryMethodForCurrentCartRequest, type SetDeliveryMethodForCurrentCartResponse, type SetDeliveryMethodRequest, type SetDeliveryMethodResponse, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type SomeLineItemsOutOfStockErrorData, type Stage, type StageStagesOneOf, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetTargetTypeOneOf, type Tax, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxDetails, type TaxInfo, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UnmarkAsCurrentCartRequest, type UnmarkAsCurrentCartResponse, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartApplicationErrors, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateFormSubmissionsRequest, type UpdateFormSubmissionsResponse, type UpdateLineItemsInCurrentCartApplicationErrors, type UpdateLineItemsInCurrentCartOptions, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type V1AdditionalFee, type V2AdditionalFee, type V2CalculationErrors, type V2CalculationErrorsShippingCalculationErrorOneOf, type V2CarrierError, type V2CarrierErrors, type V2Coupon, type V2GiftCard, type V2LineItem, type V2Membership, type V2PriceSummary, type V2SelectedMembership, type V2TaxSummary, type ValidationError, ValidationsConfig, type ValidationsConfigWithLiterals, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationWithErrorSeverityErrorData, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addCouponToCurrentCart, addGiftCardToCurrentCart, addLineItemsToCurrentCart, calculateCurrentCart, createCurrentCart, deleteCurrentCart, getCurrentCart, refreshCurrentCart, removeCouponFromCurrentCart, removeGiftCardFromCurrentCart, removeLineItemsFromCurrentCart, setDeliveryMethodForCurrentCart, updateCurrentCart, updateLineItemsInCurrentCart };