@wix/auto_sdk_ecom_cart-v-2 1.0.50 → 1.0.52

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 +52 -20
  2. package/build/cjs/index.js +147 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +965 -78
  5. package/build/cjs/index.typings.js +138 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +909 -62
  8. package/build/cjs/meta.js +106 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +52 -20
  11. package/build/es/index.mjs +143 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +965 -78
  14. package/build/es/index.typings.mjs +134 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +909 -62
  17. package/build/es/meta.mjs +102 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +52 -20
  20. package/build/internal/cjs/index.js +147 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +979 -78
  23. package/build/internal/cjs/index.typings.js +138 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +909 -62
  26. package/build/internal/cjs/meta.js +106 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +52 -20
  29. package/build/internal/es/index.mjs +143 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +979 -78
  32. package/build/internal/es/index.typings.mjs +134 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +909 -62
  35. package/build/internal/es/meta.mjs +102 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1446,12 +1446,58 @@ interface CustomField {
1446
1446
  */
1447
1447
  translatedTitle?: string | null;
1448
1448
  }
1449
+ interface FormInfo {
1450
+ /**
1451
+ * The identifier of the form schema.
1452
+ * @readonly
1453
+ */
1454
+ schemaIdentifier?: FormIdentifier;
1455
+ /**
1456
+ * The unique identifier of the form instance.
1457
+ * @format GUID
1458
+ * @readonly
1459
+ */
1460
+ _id?: string;
1461
+ /**
1462
+ * The line item ids associated with this form.
1463
+ * @format GUID
1464
+ * @readonly
1465
+ * @maxSize 300
1466
+ */
1467
+ lineItemIds?: string[];
1468
+ /**
1469
+ * The translated title of the form.
1470
+ * @maxLength 100
1471
+ * @readonly
1472
+ */
1473
+ title?: string;
1474
+ /**
1475
+ * The translated subtitles of the form.
1476
+ * @maxSize 10
1477
+ * @maxLength 100
1478
+ * @readonly
1479
+ */
1480
+ subtitles?: string[] | null;
1481
+ /**
1482
+ * The id of the form submission.
1483
+ * @format GUID
1484
+ */
1485
+ formSubmissionId?: string | null;
1486
+ }
1487
+ interface FormIdentifier {
1488
+ /** @format GUID */
1489
+ formSchemaId?: string;
1490
+ /** @maxLength 100 */
1491
+ namespace?: string;
1492
+ }
1449
1493
  interface CartSummary {
1450
1494
  /**
1451
1495
  * The Cart ID.
1452
1496
  * @format GUID
1453
1497
  */
1454
1498
  cartId?: string;
1499
+ /** The Cart revision. */
1500
+ cartRevision?: string;
1455
1501
  /**
1456
1502
  * A unique identifier for this specific cart calculation.
1457
1503
  * @format GUID
@@ -2192,6 +2238,195 @@ interface CreateCurrentCartResponse {
2192
2238
  /** The created Cart. */
2193
2239
  cart?: Cart;
2194
2240
  }
2241
+ interface ItemNotFoundInCatalogErrorData {
2242
+ /**
2243
+ * List of line items not found in the catalog.
2244
+ * @maxSize 300
2245
+ */
2246
+ invalidItems?: LineItemIdentifier[];
2247
+ }
2248
+ interface LineItemIdentifier extends LineItemIdentifierIdOneOf {
2249
+ /**
2250
+ * Line Item ID.
2251
+ * @format GUID
2252
+ */
2253
+ lineItemId?: string;
2254
+ /** Catalog reference. */
2255
+ catalogReference?: CatalogReference;
2256
+ }
2257
+ /** @oneof */
2258
+ interface LineItemIdentifierIdOneOf {
2259
+ /**
2260
+ * Line Item ID.
2261
+ * @format GUID
2262
+ */
2263
+ lineItemId?: string;
2264
+ /** Catalog reference. */
2265
+ catalogReference?: CatalogReference;
2266
+ }
2267
+ interface InsufficientInventoryErrorData {
2268
+ /**
2269
+ * List of line items with insufficient inventory.
2270
+ * @maxSize 300
2271
+ */
2272
+ invalidItems?: InsufficientInventoryEntry[];
2273
+ }
2274
+ interface InsufficientInventoryEntry {
2275
+ /** Identifier for the line item with insufficient inventory. */
2276
+ _id?: LineItemIdentifier;
2277
+ /** Quantity requested by the user, including any existing quantity on the cart. */
2278
+ requestedQuantity?: number;
2279
+ /** Quantity available in inventory. */
2280
+ availableQuantity?: number;
2281
+ }
2282
+ interface MaxLineItemsExceededErrorData {
2283
+ /** Number of line items requested. */
2284
+ requestCount?: number;
2285
+ /** Maximum allowed number of line items. */
2286
+ maxCount?: number;
2287
+ }
2288
+ interface MaxItemModifiersExceededErrorData {
2289
+ /** Number of item modifiers requested. */
2290
+ requestCount?: number;
2291
+ /** Maximum allowed number of item modifiers. */
2292
+ maxCount?: number;
2293
+ }
2294
+ interface DuplicateModifierGroupIdsErrorData {
2295
+ /**
2296
+ * Catalog references for items with duplicate modifier group IDs.
2297
+ * @maxSize 300
2298
+ */
2299
+ invalidItems?: CatalogReference[];
2300
+ }
2301
+ interface DuplicateItemModifierIdsErrorData {
2302
+ /**
2303
+ * Catalog references for items with duplicate modifier IDs within a modifier group.
2304
+ * @maxSize 300
2305
+ */
2306
+ invalidItems?: CatalogReference[];
2307
+ }
2308
+ interface LineItemPriceConflictErrorData {
2309
+ /**
2310
+ * The catalog references for the line items with a price conflict, if exists.
2311
+ * @maxSize 300
2312
+ */
2313
+ invalidItems?: CatalogReference[];
2314
+ }
2315
+ interface FixedQuantityItemErrorData {
2316
+ /**
2317
+ * The line items with fixed quantity.
2318
+ * @maxSize 300
2319
+ */
2320
+ invalidItems?: LineItemIdentifier[];
2321
+ }
2322
+ interface InvalidMembershipPaymentOptionErrorData {
2323
+ /**
2324
+ * The line items with invalid membership payment options.
2325
+ * @maxSize 300
2326
+ */
2327
+ invalidItems?: InvalidMembershipEntry[];
2328
+ }
2329
+ interface InvalidMembershipEntry {
2330
+ /** The line item for which the membership payment option is invalid. */
2331
+ invalidItemId?: LineItemIdentifier;
2332
+ /** The selected membership attempted to be used as payment option. */
2333
+ selectedMembership?: V2SelectedMembership;
2334
+ }
2335
+ interface InvalidCouponCodeErrorData {
2336
+ /**
2337
+ * The invalid coupon code.
2338
+ * @maxLength 100
2339
+ */
2340
+ couponCode?: string;
2341
+ }
2342
+ interface InvalidCouponStatusErrorData extends InvalidCouponStatusErrorDataDetailsOneOf {
2343
+ minLineItemQuantityNotReachedDetails?: MinLineItemQuantityNotReachedDetails;
2344
+ minSubtotalNotReachedDetails?: MinSubtotalNotReachedDetails;
2345
+ /**
2346
+ * Coupon code with invalid status.
2347
+ * @maxLength 100
2348
+ */
2349
+ couponCode?: string;
2350
+ /** The invalid status of the coupon. */
2351
+ reason?: InvalidCouponReasonWithLiterals;
2352
+ }
2353
+ /** @oneof */
2354
+ interface InvalidCouponStatusErrorDataDetailsOneOf {
2355
+ minLineItemQuantityNotReachedDetails?: MinLineItemQuantityNotReachedDetails;
2356
+ minSubtotalNotReachedDetails?: MinSubtotalNotReachedDetails;
2357
+ }
2358
+ declare enum InvalidCouponReason {
2359
+ /** Unspecified status. */
2360
+ UNKNOWN_INVALID_COUPON_REASON = "UNKNOWN_INVALID_COUPON_REASON",
2361
+ /** The coupon is expired. */
2362
+ EXPIRED = "EXPIRED",
2363
+ /** The coupon is disabled. */
2364
+ DISABLED = "DISABLED",
2365
+ /** The coupon is not active yet. */
2366
+ INACTIVE = "INACTIVE",
2367
+ /** The coupon reached its usage limit. */
2368
+ MAX_USAGE_EXCEEDED = "MAX_USAGE_EXCEEDED",
2369
+ /** The coupon reached its usage limit for the customer. */
2370
+ MAX_USAGE_PER_CUSTOMER_EXCEEDED = "MAX_USAGE_PER_CUSTOMER_EXCEEDED",
2371
+ /** The coupon is not applicable for subscriptions. */
2372
+ NOT_APPLICABLE_TO_SUBSCRIPTIONS = "NOT_APPLICABLE_TO_SUBSCRIPTIONS",
2373
+ /** The coupon is not applicable for the cart's selected line items. */
2374
+ NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS = "NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS",
2375
+ /** The coupon requires a minimum item quantity that was not met. */
2376
+ MIN_LINE_ITEM_QUANTITY_NOT_REACHED = "MIN_LINE_ITEM_QUANTITY_NOT_REACHED",
2377
+ /** The coupon requires a minimum subtotal that was not met. */
2378
+ MIN_SUBTOTAL_NOT_REACHED = "MIN_SUBTOTAL_NOT_REACHED"
2379
+ }
2380
+ /** @enumType */
2381
+ 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';
2382
+ interface MinLineItemQuantityNotReachedDetails {
2383
+ /** The required minimum line item quantity. */
2384
+ requiredMinimumQuantity?: number;
2385
+ }
2386
+ interface MinSubtotalNotReachedDetails {
2387
+ /** The required minimum subtotal amount. */
2388
+ requiredMinimumSubtotal?: ConvertedMoney;
2389
+ }
2390
+ interface InvalidGiftCardCodeErrorData {
2391
+ /**
2392
+ * The invalid gift card code.
2393
+ * @maxLength 100
2394
+ */
2395
+ giftCardCode?: string;
2396
+ }
2397
+ interface InvalidGiftCardStatusErrorData {
2398
+ /**
2399
+ * Gift card code with invalid status.
2400
+ * @maxLength 100
2401
+ */
2402
+ giftCardCode?: string;
2403
+ /** The invalid status of the gift card. */
2404
+ reason?: InvalidGiftCardReasonWithLiterals;
2405
+ }
2406
+ declare enum InvalidGiftCardReason {
2407
+ /** Unspecified status. */
2408
+ UNKNOWN_INVALID_GIFT_CARD_REASON = "UNKNOWN_INVALID_GIFT_CARD_REASON",
2409
+ /** The gift card is expired. */
2410
+ EXPIRED = "EXPIRED",
2411
+ /** The gift card is disabled. */
2412
+ DISABLED = "DISABLED",
2413
+ /** The gift card has no remaining balance. */
2414
+ EMPTY_BALANCE = "EMPTY_BALANCE"
2415
+ }
2416
+ /** @enumType */
2417
+ type InvalidGiftCardReasonWithLiterals = InvalidGiftCardReason | 'UNKNOWN_INVALID_GIFT_CARD_REASON' | 'EXPIRED' | 'DISABLED' | 'EMPTY_BALANCE';
2418
+ interface DeliveryMethodNotFoundErrorData {
2419
+ /**
2420
+ * Code of the delivery method not found.
2421
+ * @maxLength 100
2422
+ */
2423
+ code?: string;
2424
+ /**
2425
+ * Optional app ID for the delivery method.
2426
+ * @maxLength 100
2427
+ */
2428
+ appId?: string | null;
2429
+ }
2195
2430
  interface GetCurrentCartRequest {
2196
2431
  }
2197
2432
  interface GetCurrentCartResponse {
@@ -2206,6 +2441,18 @@ interface UpdateCurrentCartResponse {
2206
2441
  /** Updated Cart. */
2207
2442
  cart?: Cart;
2208
2443
  }
2444
+ interface CartAlreadyOrderedErrorData {
2445
+ /**
2446
+ * Cart ID that has already been converted to an order.
2447
+ * @format GUID
2448
+ */
2449
+ cartId?: string;
2450
+ /**
2451
+ * Order ID associated with the cart.
2452
+ * @format GUID
2453
+ */
2454
+ orderId?: string;
2455
+ }
2209
2456
  interface DeleteCurrentCartRequest {
2210
2457
  }
2211
2458
  interface DeleteCurrentCartResponse {
@@ -2303,6 +2550,14 @@ interface RemoveLineItemsFromCurrentCartResponse {
2303
2550
  /** Updated Cart. */
2304
2551
  cart?: Cart;
2305
2552
  }
2553
+ interface LineItemNotFoundInCartErrorData {
2554
+ /**
2555
+ * IDs of the line items not found in the cart.
2556
+ * @format GUID
2557
+ * @maxSize 300
2558
+ */
2559
+ lineItemIds?: string[];
2560
+ }
2306
2561
  interface UpdateLineItemsInCurrentCartRequest {
2307
2562
  /**
2308
2563
  * Line item updates to apply.
@@ -2342,6 +2597,22 @@ interface UpdateLineItemsInCurrentCartResponse {
2342
2597
  /** Updated Cart. */
2343
2598
  cart?: Cart;
2344
2599
  }
2600
+ interface EmptyLineItemUpdatesErrorData {
2601
+ /**
2602
+ * Line item IDs with empty update fields.
2603
+ * @format GUID
2604
+ * @maxSize 300
2605
+ */
2606
+ lineItemIds?: string[];
2607
+ }
2608
+ interface DuplicateLineItemUpdatesErrorData {
2609
+ /**
2610
+ * Duplicate line item IDs in the update request.
2611
+ * @format GUID
2612
+ * @maxSize 300
2613
+ */
2614
+ duplicateLineItemIds?: string[];
2615
+ }
2345
2616
  interface AddCouponToCurrentCartRequest {
2346
2617
  /**
2347
2618
  * Coupon to apply.
@@ -2354,6 +2625,13 @@ interface AddCouponToCurrentCartResponse {
2354
2625
  /** Updated Cart. */
2355
2626
  cart?: Cart;
2356
2627
  }
2628
+ interface CouponAlreadyExistsErrorData {
2629
+ /**
2630
+ * Coupon code that already exists in the cart.
2631
+ * @maxLength 100
2632
+ */
2633
+ couponCode?: string;
2634
+ }
2357
2635
  interface RemoveCouponFromCurrentCartRequest {
2358
2636
  /**
2359
2637
  * Coupon ID.
@@ -2365,6 +2643,13 @@ interface RemoveCouponFromCurrentCartResponse {
2365
2643
  /** Updated Cart. */
2366
2644
  cart?: Cart;
2367
2645
  }
2646
+ interface CouponNotFoundInCartErrorData {
2647
+ /**
2648
+ * Coupon ID not found in the cart.
2649
+ * @format GUID
2650
+ */
2651
+ couponId?: string;
2652
+ }
2368
2653
  interface SetDeliveryMethodForCurrentCartRequest {
2369
2654
  /** Delivery method. */
2370
2655
  deliveryMethod?: DeliveryMethodInput;
@@ -2385,6 +2670,13 @@ interface AddGiftCardToCurrentCartResponse {
2385
2670
  /** Updated Cart. */
2386
2671
  cart?: Cart;
2387
2672
  }
2673
+ interface GiftCardAlreadyExistsErrorData {
2674
+ /**
2675
+ * Gift card code that already exists in the cart.
2676
+ * @maxLength 100
2677
+ */
2678
+ giftCardCode?: string;
2679
+ }
2388
2680
  interface RemoveGiftCardFromCurrentCartRequest {
2389
2681
  /**
2390
2682
  * Gift card ID.
@@ -2396,6 +2688,13 @@ interface RemoveGiftCardFromCurrentCartResponse {
2396
2688
  /** Updated Cart. */
2397
2689
  cart?: Cart;
2398
2690
  }
2691
+ interface GiftCardNotFoundInCartErrorData {
2692
+ /**
2693
+ * Gift Card ID not found in the cart.
2694
+ * @format GUID
2695
+ */
2696
+ giftCardId?: string;
2697
+ }
2399
2698
  interface UnmarkAsCurrentCartRequest {
2400
2699
  }
2401
2700
  interface UnmarkAsCurrentCartResponse {
@@ -2583,34 +2882,6 @@ interface GetCartResponse {
2583
2882
  /** The requested Cart. */
2584
2883
  cart?: Cart;
2585
2884
  }
2586
- /** temp for client testing */
2587
- interface DummyErrorDataMethodLevel {
2588
- /** This is a dummy field. */
2589
- invalidItems?: LineItemIdentifier[];
2590
- /** The fresh cart after resolving the error. */
2591
- freshCart?: Cart;
2592
- /** dummy string */
2593
- dummyMethod?: string;
2594
- }
2595
- interface LineItemIdentifier extends LineItemIdentifierIdOneOf {
2596
- /**
2597
- * Line Item ID.
2598
- * @format GUID
2599
- */
2600
- lineItemId?: string;
2601
- /** Catalog reference. */
2602
- catalogReference?: CatalogReference;
2603
- }
2604
- /** @oneof */
2605
- interface LineItemIdentifierIdOneOf {
2606
- /**
2607
- * Line Item ID.
2608
- * @format GUID
2609
- */
2610
- lineItemId?: string;
2611
- /** Catalog reference. */
2612
- catalogReference?: CatalogReference;
2613
- }
2614
2885
  interface UpdateCartRequest {
2615
2886
  /** Cart to be updated, may be partial. */
2616
2887
  cart: Cart;
@@ -2674,12 +2945,6 @@ interface CalculateCartForV1Request {
2674
2945
  * @format GUID
2675
2946
  */
2676
2947
  cartId?: string;
2677
- /**
2678
- * Whether to retrieve the latest item prices, discounts, and inventory data from the catalogs before calculating the cart.
2679
- *
2680
- * Default: `false`
2681
- */
2682
- refreshCart?: boolean;
2683
2948
  /**
2684
2949
  * Specifies the level of **business validation** to perform during cart calculation,
2685
2950
  * by calling the [Validations service plugin](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
@@ -2695,6 +2960,8 @@ interface CalculateCartForV1Request {
2695
2960
  * This field is legacy and currently used by PayLinks and plan to be deprecated
2696
2961
  */
2697
2962
  checkoutStage?: Stage;
2963
+ /** Calculations overrides for backward compatibility with V1. */
2964
+ calculationOverrides?: CalculationOverrides;
2698
2965
  }
2699
2966
  interface Stage extends StageStagesOneOf {
2700
2967
  /** Supported values: */
@@ -2720,6 +2987,48 @@ declare enum CheckoutStage {
2720
2987
  }
2721
2988
  /** @enumType */
2722
2989
  type CheckoutStageWithLiterals = CheckoutStage | 'UNKNOWN_CHECKOUT_STAGE' | 'INITIALIZATION' | 'IN_PROGRESS' | 'ORDER_CREATION';
2990
+ interface CalculationOverrides {
2991
+ /**
2992
+ * Delivery method.
2993
+ *
2994
+ * Pass this field only when there is no existing delivery method in the cart.
2995
+ */
2996
+ deliveryMethod?: DeliveryMethodInput;
2997
+ /** Delivery address. Used for calculating tax and shipping (when applicable). */
2998
+ deliveryAddress?: Address;
2999
+ /** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
3000
+ billingAddress?: Address;
3001
+ /** The selected membership payment options and which line items they apply to. */
3002
+ selectedMemberships?: SelectedMemberships;
3003
+ }
3004
+ interface SelectedMemberships {
3005
+ /**
3006
+ * Selected memberships.
3007
+ * @maxSize 300
3008
+ */
3009
+ memberships?: SelectedMembership[];
3010
+ }
3011
+ interface SelectedMembership {
3012
+ /**
3013
+ * Membership ID.
3014
+ * @minLength 1
3015
+ * @maxLength 100
3016
+ */
3017
+ _id?: string;
3018
+ /**
3019
+ * ID of the app providing this payment option.
3020
+ * @format GUID
3021
+ */
3022
+ appId?: string;
3023
+ /**
3024
+ * IDs of the line items this membership applies to.
3025
+ * @minSize 1
3026
+ * @maxSize 300
3027
+ * @minLength 1
3028
+ * @maxLength 100
3029
+ */
3030
+ lineItemIds?: string[];
3031
+ }
2723
3032
  interface CalculateCartForV1Response {
2724
3033
  /** The Cart that was calculated. */
2725
3034
  cart?: Cart;
@@ -3553,27 +3862,6 @@ interface InvalidMembership {
3553
3862
  */
3554
3863
  reason?: string;
3555
3864
  }
3556
- interface SelectedMembership {
3557
- /**
3558
- * Membership ID.
3559
- * @minLength 1
3560
- * @maxLength 100
3561
- */
3562
- _id?: string;
3563
- /**
3564
- * ID of the app providing this payment option.
3565
- * @format GUID
3566
- */
3567
- appId?: string;
3568
- /**
3569
- * IDs of the line items this membership applies to.
3570
- * @minSize 1
3571
- * @maxSize 300
3572
- * @minLength 1
3573
- * @maxLength 100
3574
- */
3575
- lineItemIds?: string[];
3576
- }
3577
3865
  interface AdditionalFee {
3578
3866
  /**
3579
3867
  * Additional fee's unique code (or ID) for future processing.
@@ -3625,10 +3913,54 @@ declare enum AdditionalFeeSource {
3625
3913
  /** The additional fee was added manually on the request */
3626
3914
  MANUAL = "MANUAL",
3627
3915
  /** The additional fee was added by the shipping provider */
3628
- SHIPPING = "SHIPPING"
3916
+ SHIPPING = "SHIPPING",
3917
+ /** The additional fee was added by a Wix vertical and represents a Wix platform fee */
3918
+ PLATFORM_FEE = "PLATFORM_FEE"
3919
+ }
3920
+ /** @enumType */
3921
+ type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM_FEE';
3922
+ interface PlatformFeeSummary {
3923
+ /** Total platform fee amount. */
3924
+ total?: MultiCurrencyPrice;
3925
+ /** Total platform fee passed on to the customer. */
3926
+ totalPassOn?: MultiCurrencyPrice;
3927
+ /** Total platform fee absorbed by the merchant. */
3928
+ totalAbsorbed?: MultiCurrencyPrice;
3929
+ /**
3930
+ * Calculated platform fees.
3931
+ * @maxSize 100
3932
+ */
3933
+ calculatedPlatformFees?: CalculatedPlatformFee[];
3934
+ }
3935
+ interface CalculatedPlatformFee {
3936
+ /** Platform fee name. */
3937
+ name?: TranslatableString;
3938
+ /** Platform fee amount. */
3939
+ amount?: MultiCurrencyPrice;
3940
+ /**
3941
+ * ID of the line item the platform fee applies to.
3942
+ * @format GUID
3943
+ */
3944
+ lineItemId?: string;
3945
+ /** Platform fee charge type. */
3946
+ chargeType?: PlatformFeeChargeTypeWithLiterals;
3947
+ /**
3948
+ * Percentage rate charged as platform fee.
3949
+ * The fee rate expressed as a decimal fraction between 0 and 1. For example, `0.05` for 5%.
3950
+ * @format DECIMAL_VALUE
3951
+ * @decimalValue options { gte:0, lte:1, maxScale:4 }
3952
+ */
3953
+ percentageRate?: string;
3954
+ }
3955
+ declare enum PlatformFeeChargeType {
3956
+ UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
3957
+ /** The platform fee is passed on to the customer. */
3958
+ PASS_ON = "PASS_ON",
3959
+ /** The platform fee is absorbed by the merchant. */
3960
+ ABSORBED = "ABSORBED"
3629
3961
  }
3630
3962
  /** @enumType */
3631
- type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING';
3963
+ type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
3632
3964
  interface GetCheckoutURLRequest {
3633
3965
  /**
3634
3966
  * ID of the Cart to calculate.
@@ -3717,6 +4049,97 @@ interface PlaceOrderResponse {
3717
4049
  /** Whether an order was successfully created from this cart and the payment transaction was completed. */
3718
4050
  completed?: boolean;
3719
4051
  }
4052
+ interface AllLineItemsOutOfStockErrorData {
4053
+ /**
4054
+ * IDs of the line items that are out of stock.
4055
+ * @format GUID
4056
+ * @maxSize 300
4057
+ */
4058
+ lineItemIds?: string[];
4059
+ }
4060
+ interface SomeLineItemsOutOfStockErrorData {
4061
+ /**
4062
+ * IDs of the line items that are out of stock, if available.
4063
+ * @format GUID
4064
+ * @maxSize 300
4065
+ */
4066
+ lineItemIds?: string[];
4067
+ }
4068
+ interface InvalidThirdPartyCheckoutTokenErrorData {
4069
+ /**
4070
+ * The invalid third party checkout token.
4071
+ * @maxLength 3000
4072
+ */
4073
+ token?: string;
4074
+ }
4075
+ interface InvalidPriceVerificationTokenErrorData {
4076
+ /**
4077
+ * The invalid price verification token.
4078
+ * @maxLength 3000
4079
+ */
4080
+ token?: string;
4081
+ }
4082
+ interface ViolationWithErrorSeverityErrorData {
4083
+ /** List of violations. */
4084
+ violationsList?: ViolationsList;
4085
+ }
4086
+ interface ViolationsList {
4087
+ /**
4088
+ * Violations risen by ValidationsSPI implementers.
4089
+ * @maxSize 100
4090
+ */
4091
+ violations?: Violation[];
4092
+ }
4093
+ interface CalculationErrorData {
4094
+ /** Calculation errors encountered during cart calculation. */
4095
+ calculationErrors?: CalculationErrors;
4096
+ }
4097
+ interface InvalidMembershipErrorData {
4098
+ /**
4099
+ * The error message for invalid membership.
4100
+ * @maxLength 100
4101
+ */
4102
+ message?: string;
4103
+ }
4104
+ interface InvalidPaymentStatusErrorData {
4105
+ /**
4106
+ * The payment token, if available.
4107
+ * @maxLength 100
4108
+ */
4109
+ paymentToken?: string | null;
4110
+ /**
4111
+ * The transaction status.
4112
+ * @maxLength 100
4113
+ */
4114
+ transactionStatus?: string;
4115
+ /**
4116
+ * The failure details, if available.
4117
+ * @maxLength 100
4118
+ */
4119
+ failureDetails?: string | null;
4120
+ }
4121
+ interface GiftCardRedeemErrorData {
4122
+ /**
4123
+ * The error message for the gift card redemption failure.
4124
+ * @maxLength 100
4125
+ */
4126
+ error?: string;
4127
+ }
4128
+ interface EmptyPaymentTokenErrorData {
4129
+ /**
4130
+ * Order total price
4131
+ * @maxLength 100
4132
+ */
4133
+ total?: string;
4134
+ }
4135
+ interface MembersOnlyItemErrorData {
4136
+ /**
4137
+ * IDs of the members-only items in the cart.
4138
+ * @format GUID
4139
+ * @maxSize 300
4140
+ */
4141
+ lineItemIds?: string[];
4142
+ }
3720
4143
  interface AddLineItemsRequest {
3721
4144
  /**
3722
4145
  * Cart ID.
@@ -3886,11 +4309,432 @@ interface HeadersEntry {
3886
4309
  key?: string;
3887
4310
  value?: string;
3888
4311
  }
4312
+ interface UpdateFormSubmissionsRequest {
4313
+ /**
4314
+ * ID of the Cart to update.
4315
+ * @format GUID
4316
+ */
4317
+ cartId: string;
4318
+ /**
4319
+ * Forms submission data to set on the cart.
4320
+ * @minSize 1
4321
+ * @maxSize 1000
4322
+ */
4323
+ formSubmissions?: FormSubmission[];
4324
+ }
4325
+ interface FormSubmission {
4326
+ /** @format GUID */
4327
+ _id?: string;
4328
+ /** @format GUID */
4329
+ formSubmissionId?: string;
4330
+ }
4331
+ interface UpdateFormSubmissionsResponse {
4332
+ /** Updated Cart. */
4333
+ cart?: Cart;
4334
+ }
4335
+ /** @docsIgnore */
4336
+ type CreateCartApplicationErrors = {
4337
+ code?: 'ITEM_NOT_FOUND_IN_CATALOG';
4338
+ description?: string;
4339
+ data?: ItemNotFoundInCatalogErrorData;
4340
+ } | {
4341
+ code?: 'INSUFFICIENT_INVENTORY';
4342
+ description?: string;
4343
+ data?: InsufficientInventoryErrorData;
4344
+ } | {
4345
+ code?: 'MAX_LINE_ITEMS_EXCEEDED';
4346
+ description?: string;
4347
+ data?: MaxLineItemsExceededErrorData;
4348
+ } | {
4349
+ code?: 'MAX_ITEM_MODIFIERS_EXCEEDED';
4350
+ description?: string;
4351
+ data?: MaxItemModifiersExceededErrorData;
4352
+ } | {
4353
+ code?: 'DUPLICATE_MODIFIER_GROUP_IDS';
4354
+ description?: string;
4355
+ data?: DuplicateModifierGroupIdsErrorData;
4356
+ } | {
4357
+ code?: 'DUPLICATE_ITEM_MODIFIER_IDS';
4358
+ description?: string;
4359
+ data?: DuplicateItemModifierIdsErrorData;
4360
+ } | {
4361
+ code?: 'LINE_ITEM_PRICE_CONFLICT';
4362
+ description?: string;
4363
+ data?: LineItemPriceConflictErrorData;
4364
+ } | {
4365
+ code?: 'FIXED_QUANTITY_ITEM';
4366
+ description?: string;
4367
+ data?: FixedQuantityItemErrorData;
4368
+ } | {
4369
+ code?: 'INVALID_MEMBERSHIP_PAYMENT_OPTION';
4370
+ description?: string;
4371
+ data?: InvalidMembershipPaymentOptionErrorData;
4372
+ } | {
4373
+ code?: 'INVALID_COUPON_CODE';
4374
+ description?: string;
4375
+ data?: InvalidCouponCodeErrorData;
4376
+ } | {
4377
+ code?: 'INVALID_COUPON_STATUS';
4378
+ description?: string;
4379
+ data?: InvalidCouponStatusErrorData;
4380
+ } | {
4381
+ code?: 'INVALID_GIFT_CARD_CODE';
4382
+ description?: string;
4383
+ data?: InvalidGiftCardCodeErrorData;
4384
+ } | {
4385
+ code?: 'INVALID_GIFT_CARD_STATUS';
4386
+ description?: string;
4387
+ data?: InvalidGiftCardStatusErrorData;
4388
+ } | {
4389
+ code?: 'DELIVERY_METHOD_NOT_FOUND';
4390
+ description?: string;
4391
+ data?: DeliveryMethodNotFoundErrorData;
4392
+ } | {
4393
+ code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
4394
+ description?: string;
4395
+ data?: Record<string, any>;
4396
+ } | {
4397
+ code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
4398
+ description?: string;
4399
+ data?: Record<string, any>;
4400
+ } | {
4401
+ code?: 'DEPOSIT_AMOUNT_GREATER_THAN_UNIT_PRICE';
4402
+ description?: string;
4403
+ data?: Record<string, any>;
4404
+ };
4405
+ /** @docsIgnore */
4406
+ type UpdateCartApplicationErrors = {
4407
+ code?: 'CART_ALREADY_ORDERED';
4408
+ description?: string;
4409
+ data?: CartAlreadyOrderedErrorData;
4410
+ } | {
4411
+ code?: 'ADDRESS_MISSING_COUNTRY';
4412
+ description?: string;
4413
+ data?: Record<string, any>;
4414
+ } | {
4415
+ code?: 'BUSINESS_LOCATION_NOT_FOUND';
4416
+ description?: string;
4417
+ data?: Record<string, any>;
4418
+ } | {
4419
+ code?: 'INVALID_ADDRESS_FORMAT';
4420
+ description?: string;
4421
+ data?: Record<string, any>;
4422
+ } | {
4423
+ code?: 'DATA_EXTENSION_UPDATE_FAILED';
4424
+ description?: string;
4425
+ data?: Record<string, any>;
4426
+ };
4427
+ /** @docsIgnore */
4428
+ type RefreshCartApplicationErrors = {
4429
+ code?: 'CART_ALREADY_ORDERED';
4430
+ description?: string;
4431
+ data?: CartAlreadyOrderedErrorData;
4432
+ };
4433
+ /** @docsIgnore */
4434
+ type CalculateCartApplicationErrors = {
4435
+ code?: 'CART_ALREADY_ORDERED';
4436
+ description?: string;
4437
+ data?: CartAlreadyOrderedErrorData;
4438
+ };
4439
+ /** @docsIgnore */
4440
+ type GetCheckoutUrlApplicationErrors = {
4441
+ code?: 'CHECKOUT_PAGE_NOT_FOUND';
4442
+ description?: string;
4443
+ data?: Record<string, any>;
4444
+ };
4445
+ /** @docsIgnore */
4446
+ type PlaceOrderApplicationErrors = {
4447
+ code?: 'CART_ALREADY_ORDERED';
4448
+ description?: string;
4449
+ data?: CartAlreadyOrderedErrorData;
4450
+ } | {
4451
+ code?: 'SITE_NOT_ACCEPTING_PAYMENTS';
4452
+ description?: string;
4453
+ data?: Record<string, any>;
4454
+ } | {
4455
+ code?: 'EMPTY_CART';
4456
+ description?: string;
4457
+ data?: Record<string, any>;
4458
+ } | {
4459
+ code?: 'ALL_LINE_ITEMS_OUT_OF_STOCK';
4460
+ description?: string;
4461
+ data?: AllLineItemsOutOfStockErrorData;
4462
+ } | {
4463
+ code?: 'SOME_LINE_ITEMS_OUT_OF_STOCK';
4464
+ description?: string;
4465
+ data?: SomeLineItemsOutOfStockErrorData;
4466
+ } | {
4467
+ code?: 'CART_PRICES_OUT_OF_SYNC';
4468
+ description?: string;
4469
+ data?: Record<string, any>;
4470
+ } | {
4471
+ code?: 'INVALID_THIRD_PARTY_CHECKOUT_TOKEN';
4472
+ description?: string;
4473
+ data?: InvalidThirdPartyCheckoutTokenErrorData;
4474
+ } | {
4475
+ code?: 'INVALID_PRICE_VERIFICATION_TOKEN';
4476
+ description?: string;
4477
+ data?: InvalidPriceVerificationTokenErrorData;
4478
+ } | {
4479
+ code?: 'VIOLATIONS_WITH_ERROR_SEVERITY';
4480
+ description?: string;
4481
+ data?: ViolationWithErrorSeverityErrorData;
4482
+ } | {
4483
+ code?: 'CALCULATION_ERROR';
4484
+ description?: string;
4485
+ data?: CalculationErrorData;
4486
+ } | {
4487
+ code?: 'CANNOT_PAY_FOR_GIFT_CARD_WITH_GIFT_CARD';
4488
+ description?: string;
4489
+ data?: Record<string, any>;
4490
+ } | {
4491
+ code?: 'CANNOT_REDEEM_COUPON_WHEN_PURCHASING_GIFT_CARD';
4492
+ description?: string;
4493
+ data?: Record<string, any>;
4494
+ } | {
4495
+ code?: 'CANNOT_PAY_FOR_SUBSCRIPTION_WITH_GIFT_CARD';
4496
+ description?: string;
4497
+ data?: Record<string, any>;
4498
+ } | {
4499
+ code?: 'SUBSCRIPTION_AS_CUSTOM_LINE_ITEM';
4500
+ description?: string;
4501
+ data?: Record<string, any>;
4502
+ } | {
4503
+ code?: 'SUBSCRIPTION_WITH_INVALID_FREQUENCY';
4504
+ description?: string;
4505
+ data?: Record<string, any>;
4506
+ } | {
4507
+ code?: 'SHIPPABLE_LINE_ITEM_CONTAINS_FREE_TRIAL_SUBSCRIPTION';
4508
+ description?: string;
4509
+ data?: Record<string, any>;
4510
+ } | {
4511
+ code?: 'UNCONFIRMED_SAVE_PAYMENT_METHOD';
4512
+ description?: string;
4513
+ data?: Record<string, any>;
4514
+ } | {
4515
+ code?: 'DELIVERY_METHOD_NO_LONGER_AVAILABLE';
4516
+ description?: string;
4517
+ data?: Record<string, any>;
4518
+ } | {
4519
+ code?: 'DELIVERY_METHOD_NOT_APPLIED_TO_ALL_LINE_ITEMS';
4520
+ description?: string;
4521
+ data?: Record<string, any>;
4522
+ } | {
4523
+ code?: 'MISSING_DELIVERY_ADDRESS';
4524
+ description?: string;
4525
+ data?: Record<string, any>;
4526
+ } | {
4527
+ code?: 'MISSING_DELIVERY_METHOD';
4528
+ description?: string;
4529
+ data?: Record<string, any>;
4530
+ } | {
4531
+ code?: 'INVALID_MEMBERSHIP';
4532
+ description?: string;
4533
+ data?: InvalidMembershipErrorData;
4534
+ } | {
4535
+ code?: 'INVALID_PAYMENT_STATUS';
4536
+ description?: string;
4537
+ data?: InvalidPaymentStatusErrorData;
4538
+ } | {
4539
+ code?: 'GIFT_CARD_REDEEM_ERROR';
4540
+ description?: string;
4541
+ data?: GiftCardRedeemErrorData;
4542
+ } | {
4543
+ code?: 'PAYMENT_ALREADY_IN_PROGRESS';
4544
+ description?: string;
4545
+ data?: Record<string, any>;
4546
+ } | {
4547
+ code?: 'EMPTY_PAYMENT_TOKEN';
4548
+ description?: string;
4549
+ data?: EmptyPaymentTokenErrorData;
4550
+ } | {
4551
+ code?: 'MEMBERS_ONLY_ITEM';
4552
+ description?: string;
4553
+ data?: MembersOnlyItemErrorData;
4554
+ };
4555
+ /** @docsIgnore */
4556
+ type AddLineItemsApplicationErrors = {
4557
+ code?: 'CART_ALREADY_ORDERED';
4558
+ description?: string;
4559
+ data?: CartAlreadyOrderedErrorData;
4560
+ } | {
4561
+ code?: 'NO_LINE_ITEMS_TO_ADD';
4562
+ description?: string;
4563
+ data?: Record<string, any>;
4564
+ } | {
4565
+ code?: 'ITEM_NOT_FOUND_IN_CATALOG';
4566
+ description?: string;
4567
+ data?: ItemNotFoundInCatalogErrorData;
4568
+ } | {
4569
+ code?: 'INSUFFICIENT_INVENTORY';
4570
+ description?: string;
4571
+ data?: InsufficientInventoryErrorData;
4572
+ } | {
4573
+ code?: 'MAX_LINE_ITEMS_EXCEEDED';
4574
+ description?: string;
4575
+ data?: MaxLineItemsExceededErrorData;
4576
+ } | {
4577
+ code?: 'MAX_ITEM_MODIFIERS_EXCEEDED';
4578
+ description?: string;
4579
+ data?: MaxItemModifiersExceededErrorData;
4580
+ } | {
4581
+ code?: 'DUPLICATE_MODIFIER_GROUP_IDS';
4582
+ description?: string;
4583
+ data?: DuplicateModifierGroupIdsErrorData;
4584
+ } | {
4585
+ code?: 'DUPLICATE_ITEM_MODIFIER_IDS';
4586
+ description?: string;
4587
+ data?: DuplicateItemModifierIdsErrorData;
4588
+ } | {
4589
+ code?: 'LINE_ITEM_PRICE_CONFLICT';
4590
+ description?: string;
4591
+ data?: LineItemPriceConflictErrorData;
4592
+ } | {
4593
+ code?: 'FIXED_QUANTITY_ITEM';
4594
+ description?: string;
4595
+ data?: FixedQuantityItemErrorData;
4596
+ } | {
4597
+ code?: 'INVALID_MEMBERSHIP_PAYMENT_OPTION';
4598
+ description?: string;
4599
+ data?: InvalidMembershipPaymentOptionErrorData;
4600
+ } | {
4601
+ code?: 'DEPOSIT_AMOUNT_GREATER_THAN_UNIT_PRICE';
4602
+ description?: string;
4603
+ data?: Record<string, any>;
4604
+ };
4605
+ /** @docsIgnore */
4606
+ type RemoveLineItemsApplicationErrors = {
4607
+ code?: 'CART_ALREADY_ORDERED';
4608
+ description?: string;
4609
+ data?: CartAlreadyOrderedErrorData;
4610
+ } | {
4611
+ code?: 'LINE_ITEM_NOT_FOUND_IN_CART';
4612
+ description?: string;
4613
+ data?: LineItemNotFoundInCartErrorData;
4614
+ };
4615
+ /** @docsIgnore */
4616
+ type UpdateLineItemsApplicationErrors = {
4617
+ code?: 'EMPTY_LINE_ITEM_UPDATES';
4618
+ description?: string;
4619
+ data?: EmptyLineItemUpdatesErrorData;
4620
+ } | {
4621
+ code?: 'DUPLICATE_LINE_ITEM_UPDATES';
4622
+ description?: string;
4623
+ data?: DuplicateLineItemUpdatesErrorData;
4624
+ } | {
4625
+ code?: 'CART_ALREADY_ORDERED';
4626
+ description?: string;
4627
+ data?: CartAlreadyOrderedErrorData;
4628
+ } | {
4629
+ code?: 'LINE_ITEM_NOT_FOUND_IN_CART';
4630
+ description?: string;
4631
+ data?: LineItemNotFoundInCartErrorData;
4632
+ } | {
4633
+ code?: 'ITEM_NOT_FOUND_IN_CATALOG';
4634
+ description?: string;
4635
+ data?: ItemNotFoundInCatalogErrorData;
4636
+ } | {
4637
+ code?: 'INSUFFICIENT_INVENTORY';
4638
+ description?: string;
4639
+ data?: InsufficientInventoryErrorData;
4640
+ };
4641
+ /** @docsIgnore */
4642
+ type AddCouponApplicationErrors = {
4643
+ code?: 'COUPON_ALREADY_EXISTS';
4644
+ description?: string;
4645
+ data?: CouponAlreadyExistsErrorData;
4646
+ } | {
4647
+ code?: 'MAX_COUPONS_PER_CART_EXCEEDED';
4648
+ description?: string;
4649
+ data?: Record<string, any>;
4650
+ } | {
4651
+ code?: 'CART_ALREADY_ORDERED';
4652
+ description?: string;
4653
+ data?: CartAlreadyOrderedErrorData;
4654
+ } | {
4655
+ code?: 'COUPON_LOCKED';
4656
+ description?: string;
4657
+ data?: Record<string, any>;
4658
+ } | {
4659
+ code?: 'INVALID_COUPON_CODE';
4660
+ description?: string;
4661
+ data?: InvalidCouponCodeErrorData;
4662
+ } | {
4663
+ code?: 'INVALID_COUPON_STATUS';
4664
+ description?: string;
4665
+ data?: InvalidCouponStatusErrorData;
4666
+ };
4667
+ /** @docsIgnore */
4668
+ type RemoveCouponApplicationErrors = {
4669
+ code?: 'COUPON_NOT_FOUND_IN_CART';
4670
+ description?: string;
4671
+ data?: CouponNotFoundInCartErrorData;
4672
+ } | {
4673
+ code?: 'CART_ALREADY_ORDERED';
4674
+ description?: string;
4675
+ data?: CartAlreadyOrderedErrorData;
4676
+ } | {
4677
+ code?: 'COUPON_LOCKED';
4678
+ description?: string;
4679
+ data?: Record<string, any>;
4680
+ };
3889
4681
  /** @docsIgnore */
3890
- type GetCartApplicationErrors = {
3891
- code?: 'DUMMY_ERROR_METHOD_CODE';
4682
+ type SetDeliveryMethodApplicationErrors = {
4683
+ code?: 'CART_ALREADY_ORDERED';
4684
+ description?: string;
4685
+ data?: CartAlreadyOrderedErrorData;
4686
+ } | {
4687
+ code?: 'DELIVERY_METHOD_NOT_FOUND';
4688
+ description?: string;
4689
+ data?: DeliveryMethodNotFoundErrorData;
4690
+ } | {
4691
+ code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
3892
4692
  description?: string;
3893
- data?: DummyErrorDataMethodLevel;
4693
+ data?: Record<string, any>;
4694
+ } | {
4695
+ code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
4696
+ description?: string;
4697
+ data?: Record<string, any>;
4698
+ };
4699
+ /** @docsIgnore */
4700
+ type AddGiftCardApplicationErrors = {
4701
+ code?: 'CART_ALREADY_ORDERED';
4702
+ description?: string;
4703
+ data?: CartAlreadyOrderedErrorData;
4704
+ } | {
4705
+ code?: 'INVALID_GIFT_CARD_CODE';
4706
+ description?: string;
4707
+ data?: InvalidGiftCardCodeErrorData;
4708
+ } | {
4709
+ code?: 'INVALID_GIFT_CARD_STATUS';
4710
+ description?: string;
4711
+ data?: InvalidGiftCardStatusErrorData;
4712
+ } | {
4713
+ code?: 'MAX_GIFT_CARDS_PER_CART_EXCEEDED';
4714
+ description?: string;
4715
+ data?: Record<string, any>;
4716
+ } | {
4717
+ code?: 'GIFT_CARD_ALREADY_EXISTS';
4718
+ description?: string;
4719
+ data?: GiftCardAlreadyExistsErrorData;
4720
+ } | {
4721
+ code?: 'GIFT_CARD_LOCKED';
4722
+ description?: string;
4723
+ data?: Record<string, any>;
4724
+ };
4725
+ /** @docsIgnore */
4726
+ type RemoveGiftCardApplicationErrors = {
4727
+ code?: 'CART_ALREADY_ORDERED';
4728
+ description?: string;
4729
+ data?: CartAlreadyOrderedErrorData;
4730
+ } | {
4731
+ code?: 'GIFT_CARD_NOT_FOUND_IN_CART';
4732
+ description?: string;
4733
+ data?: GiftCardNotFoundInCartErrorData;
4734
+ } | {
4735
+ code?: 'GIFT_CARD_LOCKED';
4736
+ description?: string;
4737
+ data?: Record<string, any>;
3894
4738
  };
3895
4739
  /**
3896
4740
  * Creates a Cart.
@@ -3911,7 +4755,9 @@ type GetCartApplicationErrors = {
3911
4755
  * @returns The created Cart.
3912
4756
  * @fqn wix.ecom.cart.v2.CartService.CreateCart
3913
4757
  */
3914
- declare function createCart(options?: NonNullablePaths<CreateCartOptions, `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<Cart, `_id` | `revision` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.name.original` | `lineItems.${number}.quantityInfo.confirmedQuantity` | `lineItems.${number}.quantityInfo.requestedQuantity` | `lineItems.${number}.quantityInfo.fixedQuantity` | `lineItems.${number}.pricing.unitPrice.amount` | `lineItems.${number}.pricing.unitPrice.convertedAmount` | `lineItems.${number}.pricing.priceDescription.original` | `lineItems.${number}.pricing.priceUndetermined` | `lineItems.${number}.source.catalogReference.catalogItemId` | `lineItems.${number}.source.catalogReference.appId` | `lineItems.${number}.attributes.itemType.preset` | `lineItems.${number}.attributes.itemType.custom` | `lineItems.${number}.attributes.physicalProperties.shippable` | `lineItems.${number}.attributes.membersOnly` | `lineItems.${number}.taxConfig.taxableAddress.addressType` | `lineItems.${number}.paymentConfig.savePaymentMethod` | `lineItems.${number}.paymentConfig.selectedMembership._id` | `lineItems.${number}.paymentConfig.selectedMembership.appId` | `lineItems.${number}.paymentConfig.paymentOption` | `lineItems.${number}.status` | `lineItems.${number}.customLineItem` | `coupons` | `coupons.${number}._id` | `coupons.${number}.code` | `source.channelType` | `source.externalReferences` | `source.externalReferences.${number}.appId` | `source.createdBy.visitorId` | `source.createdBy.memberId` | `source.createdBy.userId` | `source.createdBy.appId` | `source.customContentReference.appId` | `source.customContentReference.componentId` | `businessInfo.languageCode` | `businessInfo.currencyCode` | `customerInfo.visitorId` | `customerInfo.memberId` | `customerInfo.userId` | `customerInfo.vatId._id` | `customerInfo.vatId.type` | `customerInfo.languageCode` | `customerInfo.currencyCode` | `deliveryInfo.address.streetAddress.number` | `deliveryInfo.address.streetAddress.name` | `deliveryInfo.method.code` | `deliveryInfo.method.pickup` | `deliveryInfo.weightUnit` | `taxInfo.pricesIncludeTax` | `paymentInfo.giftCards` | `paymentInfo.giftCards.${number}._id` | `paymentInfo.giftCards.${number}.obfuscatedCode` | `paymentInfo.giftCards.${number}.appId` | `paymentInfo.currencyCode` | `orderPlaced` | `currentCart`, 6>>;
4758
+ declare function createCart(options?: NonNullablePaths<CreateCartOptions, `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<Cart, `_id` | `revision` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.name.original` | `lineItems.${number}.quantityInfo.confirmedQuantity` | `lineItems.${number}.quantityInfo.requestedQuantity` | `lineItems.${number}.quantityInfo.fixedQuantity` | `lineItems.${number}.pricing.unitPrice.amount` | `lineItems.${number}.pricing.unitPrice.convertedAmount` | `lineItems.${number}.pricing.priceDescription.original` | `lineItems.${number}.pricing.priceUndetermined` | `lineItems.${number}.source.catalogReference.catalogItemId` | `lineItems.${number}.source.catalogReference.appId` | `lineItems.${number}.attributes.itemType.preset` | `lineItems.${number}.attributes.itemType.custom` | `lineItems.${number}.attributes.physicalProperties.shippable` | `lineItems.${number}.attributes.membersOnly` | `lineItems.${number}.taxConfig.taxableAddress.addressType` | `lineItems.${number}.paymentConfig.savePaymentMethod` | `lineItems.${number}.paymentConfig.selectedMembership._id` | `lineItems.${number}.paymentConfig.selectedMembership.appId` | `lineItems.${number}.paymentConfig.paymentOption` | `lineItems.${number}.status` | `lineItems.${number}.customLineItem` | `coupons` | `coupons.${number}._id` | `coupons.${number}.code` | `source.channelType` | `source.externalReferences` | `source.externalReferences.${number}.appId` | `source.createdBy.visitorId` | `source.createdBy.memberId` | `source.createdBy.userId` | `source.createdBy.appId` | `source.customContentReference.appId` | `source.customContentReference.componentId` | `businessInfo.languageCode` | `businessInfo.currencyCode` | `customerInfo.visitorId` | `customerInfo.memberId` | `customerInfo.userId` | `customerInfo.vatId._id` | `customerInfo.vatId.type` | `customerInfo.languageCode` | `customerInfo.currencyCode` | `deliveryInfo.address.streetAddress.number` | `deliveryInfo.address.streetAddress.name` | `deliveryInfo.method.code` | `deliveryInfo.method.pickup` | `deliveryInfo.weightUnit` | `taxInfo.pricesIncludeTax` | `paymentInfo.giftCards` | `paymentInfo.giftCards.${number}._id` | `paymentInfo.giftCards.${number}.obfuscatedCode` | `paymentInfo.giftCards.${number}.appId` | `paymentInfo.currencyCode` | `orderPlaced` | `currentCart`, 6> & {
4759
+ __applicationErrorsType?: CreateCartApplicationErrors;
4760
+ }>;
3915
4761
  interface CreateCartOptions {
3916
4762
  /** Cart to be created. */
3917
4763
  cart?: Cart;
@@ -3955,9 +4801,7 @@ interface CreateCartOptions {
3955
4801
  * @returns The requested Cart.
3956
4802
  * @fqn wix.ecom.cart.v2.CartService.GetCart
3957
4803
  */
3958
- declare function getCart(cartId: string): Promise<NonNullablePaths<Cart, `_id` | `revision` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.name.original` | `lineItems.${number}.quantityInfo.confirmedQuantity` | `lineItems.${number}.quantityInfo.requestedQuantity` | `lineItems.${number}.quantityInfo.fixedQuantity` | `lineItems.${number}.pricing.unitPrice.amount` | `lineItems.${number}.pricing.unitPrice.convertedAmount` | `lineItems.${number}.pricing.priceDescription.original` | `lineItems.${number}.pricing.priceUndetermined` | `lineItems.${number}.source.catalogReference.catalogItemId` | `lineItems.${number}.source.catalogReference.appId` | `lineItems.${number}.attributes.itemType.preset` | `lineItems.${number}.attributes.itemType.custom` | `lineItems.${number}.attributes.physicalProperties.shippable` | `lineItems.${number}.attributes.membersOnly` | `lineItems.${number}.taxConfig.taxableAddress.addressType` | `lineItems.${number}.paymentConfig.savePaymentMethod` | `lineItems.${number}.paymentConfig.selectedMembership._id` | `lineItems.${number}.paymentConfig.selectedMembership.appId` | `lineItems.${number}.paymentConfig.paymentOption` | `lineItems.${number}.status` | `lineItems.${number}.customLineItem` | `coupons` | `coupons.${number}._id` | `coupons.${number}.code` | `source.channelType` | `source.externalReferences` | `source.externalReferences.${number}.appId` | `source.createdBy.visitorId` | `source.createdBy.memberId` | `source.createdBy.userId` | `source.createdBy.appId` | `source.customContentReference.appId` | `source.customContentReference.componentId` | `businessInfo.languageCode` | `businessInfo.currencyCode` | `customerInfo.visitorId` | `customerInfo.memberId` | `customerInfo.userId` | `customerInfo.vatId._id` | `customerInfo.vatId.type` | `customerInfo.languageCode` | `customerInfo.currencyCode` | `deliveryInfo.address.streetAddress.number` | `deliveryInfo.address.streetAddress.name` | `deliveryInfo.method.code` | `deliveryInfo.method.pickup` | `deliveryInfo.weightUnit` | `taxInfo.pricesIncludeTax` | `paymentInfo.giftCards` | `paymentInfo.giftCards.${number}._id` | `paymentInfo.giftCards.${number}.obfuscatedCode` | `paymentInfo.giftCards.${number}.appId` | `paymentInfo.currencyCode` | `orderPlaced` | `currentCart`, 6> & {
3959
- __applicationErrorsType?: GetCartApplicationErrors;
3960
- }>;
4804
+ declare function getCart(cartId: string): Promise<NonNullablePaths<Cart, `_id` | `revision` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.name.original` | `lineItems.${number}.quantityInfo.confirmedQuantity` | `lineItems.${number}.quantityInfo.requestedQuantity` | `lineItems.${number}.quantityInfo.fixedQuantity` | `lineItems.${number}.pricing.unitPrice.amount` | `lineItems.${number}.pricing.unitPrice.convertedAmount` | `lineItems.${number}.pricing.priceDescription.original` | `lineItems.${number}.pricing.priceUndetermined` | `lineItems.${number}.source.catalogReference.catalogItemId` | `lineItems.${number}.source.catalogReference.appId` | `lineItems.${number}.attributes.itemType.preset` | `lineItems.${number}.attributes.itemType.custom` | `lineItems.${number}.attributes.physicalProperties.shippable` | `lineItems.${number}.attributes.membersOnly` | `lineItems.${number}.taxConfig.taxableAddress.addressType` | `lineItems.${number}.paymentConfig.savePaymentMethod` | `lineItems.${number}.paymentConfig.selectedMembership._id` | `lineItems.${number}.paymentConfig.selectedMembership.appId` | `lineItems.${number}.paymentConfig.paymentOption` | `lineItems.${number}.status` | `lineItems.${number}.customLineItem` | `coupons` | `coupons.${number}._id` | `coupons.${number}.code` | `source.channelType` | `source.externalReferences` | `source.externalReferences.${number}.appId` | `source.createdBy.visitorId` | `source.createdBy.memberId` | `source.createdBy.userId` | `source.createdBy.appId` | `source.customContentReference.appId` | `source.customContentReference.componentId` | `businessInfo.languageCode` | `businessInfo.currencyCode` | `customerInfo.visitorId` | `customerInfo.memberId` | `customerInfo.userId` | `customerInfo.vatId._id` | `customerInfo.vatId.type` | `customerInfo.languageCode` | `customerInfo.currencyCode` | `deliveryInfo.address.streetAddress.number` | `deliveryInfo.address.streetAddress.name` | `deliveryInfo.method.code` | `deliveryInfo.method.pickup` | `deliveryInfo.weightUnit` | `taxInfo.pricesIncludeTax` | `paymentInfo.giftCards` | `paymentInfo.giftCards.${number}._id` | `paymentInfo.giftCards.${number}.obfuscatedCode` | `paymentInfo.giftCards.${number}.appId` | `paymentInfo.currencyCode` | `orderPlaced` | `currentCart`, 6>>;
3961
4805
  /**
3962
4806
  * Updates a Cart.
3963
4807
  *
@@ -3975,7 +4819,9 @@ declare function getCart(cartId: string): Promise<NonNullablePaths<Cart, `_id` |
3975
4819
  * @returns Updated Cart.
3976
4820
  * @fqn wix.ecom.cart.v2.CartService.UpdateCart
3977
4821
  */
3978
- declare function updateCart(_id: string, cart: UpdateCart): Promise<NonNullablePaths<Cart, `_id` | `revision` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.name.original` | `lineItems.${number}.quantityInfo.confirmedQuantity` | `lineItems.${number}.quantityInfo.requestedQuantity` | `lineItems.${number}.quantityInfo.fixedQuantity` | `lineItems.${number}.pricing.unitPrice.amount` | `lineItems.${number}.pricing.unitPrice.convertedAmount` | `lineItems.${number}.pricing.priceDescription.original` | `lineItems.${number}.pricing.priceUndetermined` | `lineItems.${number}.source.catalogReference.catalogItemId` | `lineItems.${number}.source.catalogReference.appId` | `lineItems.${number}.attributes.itemType.preset` | `lineItems.${number}.attributes.itemType.custom` | `lineItems.${number}.attributes.physicalProperties.shippable` | `lineItems.${number}.attributes.membersOnly` | `lineItems.${number}.taxConfig.taxableAddress.addressType` | `lineItems.${number}.paymentConfig.savePaymentMethod` | `lineItems.${number}.paymentConfig.selectedMembership._id` | `lineItems.${number}.paymentConfig.selectedMembership.appId` | `lineItems.${number}.paymentConfig.paymentOption` | `lineItems.${number}.status` | `lineItems.${number}.customLineItem` | `coupons` | `coupons.${number}._id` | `coupons.${number}.code` | `source.channelType` | `source.externalReferences` | `source.externalReferences.${number}.appId` | `source.createdBy.visitorId` | `source.createdBy.memberId` | `source.createdBy.userId` | `source.createdBy.appId` | `source.customContentReference.appId` | `source.customContentReference.componentId` | `businessInfo.languageCode` | `businessInfo.currencyCode` | `customerInfo.visitorId` | `customerInfo.memberId` | `customerInfo.userId` | `customerInfo.vatId._id` | `customerInfo.vatId.type` | `customerInfo.languageCode` | `customerInfo.currencyCode` | `deliveryInfo.address.streetAddress.number` | `deliveryInfo.address.streetAddress.name` | `deliveryInfo.method.code` | `deliveryInfo.method.pickup` | `deliveryInfo.weightUnit` | `taxInfo.pricesIncludeTax` | `paymentInfo.giftCards` | `paymentInfo.giftCards.${number}._id` | `paymentInfo.giftCards.${number}.obfuscatedCode` | `paymentInfo.giftCards.${number}.appId` | `paymentInfo.currencyCode` | `orderPlaced` | `currentCart`, 6>>;
4822
+ declare function updateCart(_id: string, cart: UpdateCart): Promise<NonNullablePaths<Cart, `_id` | `revision` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.name.original` | `lineItems.${number}.quantityInfo.confirmedQuantity` | `lineItems.${number}.quantityInfo.requestedQuantity` | `lineItems.${number}.quantityInfo.fixedQuantity` | `lineItems.${number}.pricing.unitPrice.amount` | `lineItems.${number}.pricing.unitPrice.convertedAmount` | `lineItems.${number}.pricing.priceDescription.original` | `lineItems.${number}.pricing.priceUndetermined` | `lineItems.${number}.source.catalogReference.catalogItemId` | `lineItems.${number}.source.catalogReference.appId` | `lineItems.${number}.attributes.itemType.preset` | `lineItems.${number}.attributes.itemType.custom` | `lineItems.${number}.attributes.physicalProperties.shippable` | `lineItems.${number}.attributes.membersOnly` | `lineItems.${number}.taxConfig.taxableAddress.addressType` | `lineItems.${number}.paymentConfig.savePaymentMethod` | `lineItems.${number}.paymentConfig.selectedMembership._id` | `lineItems.${number}.paymentConfig.selectedMembership.appId` | `lineItems.${number}.paymentConfig.paymentOption` | `lineItems.${number}.status` | `lineItems.${number}.customLineItem` | `coupons` | `coupons.${number}._id` | `coupons.${number}.code` | `source.channelType` | `source.externalReferences` | `source.externalReferences.${number}.appId` | `source.createdBy.visitorId` | `source.createdBy.memberId` | `source.createdBy.userId` | `source.createdBy.appId` | `source.customContentReference.appId` | `source.customContentReference.componentId` | `businessInfo.languageCode` | `businessInfo.currencyCode` | `customerInfo.visitorId` | `customerInfo.memberId` | `customerInfo.userId` | `customerInfo.vatId._id` | `customerInfo.vatId.type` | `customerInfo.languageCode` | `customerInfo.currencyCode` | `deliveryInfo.address.streetAddress.number` | `deliveryInfo.address.streetAddress.name` | `deliveryInfo.method.code` | `deliveryInfo.method.pickup` | `deliveryInfo.weightUnit` | `taxInfo.pricesIncludeTax` | `paymentInfo.giftCards` | `paymentInfo.giftCards.${number}._id` | `paymentInfo.giftCards.${number}.obfuscatedCode` | `paymentInfo.giftCards.${number}.appId` | `paymentInfo.currencyCode` | `orderPlaced` | `currentCart`, 6> & {
4823
+ __applicationErrorsType?: UpdateCartApplicationErrors;
4824
+ }>;
3979
4825
  interface UpdateCart {
3980
4826
  /**
3981
4827
  * Cart ID.
@@ -4104,7 +4950,9 @@ declare function deleteCart(cartId: string): Promise<void>;
4104
4950
  * @applicableIdentity APP
4105
4951
  * @fqn wix.ecom.cart.v2.CartService.RefreshCart
4106
4952
  */
4107
- declare function refreshCart(cartId: string): Promise<NonNullablePaths<RefreshCartResponse, `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>>;
4953
+ declare function refreshCart(cartId: string): Promise<NonNullablePaths<RefreshCartResponse, `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> & {
4954
+ __applicationErrorsType?: RefreshCartApplicationErrors;
4955
+ }>;
4108
4956
  /**
4109
4957
  * Calculates the cart based on its current state (line items, discounts, delivery method, etc.)
4110
4958
  * and returns a detailed summary including subtotal, delivery costs, taxes, fees and the total price.
@@ -4117,7 +4965,9 @@ declare function refreshCart(cartId: string): Promise<NonNullablePaths<RefreshCa
4117
4965
  * @applicableIdentity APP
4118
4966
  * @fqn wix.ecom.cart.v2.CartService.CalculateCart
4119
4967
  */
4120
- declare function calculateCart(cartId: string, options?: CalculateCartOptions): Promise<NonNullablePaths<CalculateCartResponse, `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>>;
4968
+ declare function calculateCart(cartId: string, options?: CalculateCartOptions): Promise<NonNullablePaths<CalculateCartResponse, `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.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> & {
4969
+ __applicationErrorsType?: CalculateCartApplicationErrors;
4970
+ }>;
4121
4971
  interface CalculateCartOptions {
4122
4972
  /**
4123
4973
  * Whether to retrieve the latest item prices, discounts, and inventory data from the catalogs before calculating the cart.
@@ -4149,7 +4999,9 @@ interface CalculateCartOptions {
4149
4999
  * @applicableIdentity APP
4150
5000
  * @fqn wix.ecom.cart.v2.CartService.GetCheckoutURL
4151
5001
  */
4152
- declare function getCheckoutUrl(cartId: string, options?: GetCheckoutUrlOptions): Promise<NonNullablePaths<GetCheckoutURLResponse, `checkoutUrl`, 2>>;
5002
+ declare function getCheckoutUrl(cartId: string, options?: GetCheckoutUrlOptions): Promise<NonNullablePaths<GetCheckoutURLResponse, `checkoutUrl`, 2> & {
5003
+ __applicationErrorsType?: GetCheckoutUrlApplicationErrors;
5004
+ }>;
4153
5005
  interface GetCheckoutUrlOptions {
4154
5006
  /**
4155
5007
  * Checkout currency parameter to append as a query param
@@ -4170,7 +5022,9 @@ interface GetCheckoutUrlOptions {
4170
5022
  * @applicableIdentity APP
4171
5023
  * @fqn wix.ecom.cart.v2.CartService.PlaceOrder
4172
5024
  */
4173
- declare function placeOrder(cartId: string, options?: PlaceOrderOptions): Promise<NonNullablePaths<PlaceOrderResponse, `orderId` | `completed`, 2>>;
5025
+ declare function placeOrder(cartId: string, options?: PlaceOrderOptions): Promise<NonNullablePaths<PlaceOrderResponse, `orderId` | `completed`, 2> & {
5026
+ __applicationErrorsType?: PlaceOrderApplicationErrors;
5027
+ }>;
4174
5028
  interface PlaceOrderOptions {
4175
5029
  /**
4176
5030
  * The price verification token received from `CalculateCart`'s response.
@@ -4210,7 +5064,9 @@ interface PlaceOrderOptions {
4210
5064
  * @applicableIdentity APP
4211
5065
  * @fqn wix.ecom.cart.v2.CartService.AddLineItems
4212
5066
  */
4213
- declare function addLineItems(cartId: string, options?: NonNullablePaths<AddLineItemsOptions, `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<AddLineItemsResponse, `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>>;
5067
+ declare function addLineItems(cartId: string, options?: NonNullablePaths<AddLineItemsOptions, `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<AddLineItemsResponse, `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> & {
5068
+ __applicationErrorsType?: AddLineItemsApplicationErrors;
5069
+ }>;
4214
5070
  interface AddLineItemsOptions {
4215
5071
  /**
4216
5072
  * A list of catalog items to add to the cart.
@@ -4235,7 +5091,9 @@ interface AddLineItemsOptions {
4235
5091
  * @applicableIdentity APP
4236
5092
  * @fqn wix.ecom.cart.v2.CartService.RemoveLineItems
4237
5093
  */
4238
- declare function removeLineItems(cartId: string, lineItemIds: string[]): Promise<NonNullablePaths<RemoveLineItemsResponse, `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>>;
5094
+ declare function removeLineItems(cartId: string, lineItemIds: string[]): Promise<NonNullablePaths<RemoveLineItemsResponse, `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> & {
5095
+ __applicationErrorsType?: RemoveLineItemsApplicationErrors;
5096
+ }>;
4239
5097
  /**
4240
5098
  * Updates line items in the Cart.
4241
5099
  * Use this endpoint to update line items properties such as quantity and selected membership.
@@ -4249,7 +5107,9 @@ declare function removeLineItems(cartId: string, lineItemIds: string[]): Promise
4249
5107
  * @applicableIdentity APP
4250
5108
  * @fqn wix.ecom.cart.v2.CartService.UpdateLineItems
4251
5109
  */
4252
- declare function updateLineItems(cartId: string, options?: NonNullablePaths<UpdateLineItemsOptions, `lineItems.${number}.lineItemId` | `lineItems.${number}.quantity.newQuantity`, 5>): Promise<NonNullablePaths<UpdateLineItemsResponse, `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>>;
5110
+ declare function updateLineItems(cartId: string, options?: NonNullablePaths<UpdateLineItemsOptions, `lineItems.${number}.lineItemId` | `lineItems.${number}.quantity.newQuantity`, 5>): Promise<NonNullablePaths<UpdateLineItemsResponse, `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> & {
5111
+ __applicationErrorsType?: UpdateLineItemsApplicationErrors;
5112
+ }>;
4253
5113
  interface UpdateLineItemsOptions {
4254
5114
  /**
4255
5115
  * Line item updates to apply.
@@ -4273,7 +5133,9 @@ interface UpdateLineItemsOptions {
4273
5133
  * @applicableIdentity APP
4274
5134
  * @fqn wix.ecom.cart.v2.CartService.AddCoupon
4275
5135
  */
4276
- declare function addCoupon(cartId: string, coupon: NonNullablePaths<CouponInput, `code`, 2>): Promise<NonNullablePaths<AddCouponResponse, `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>>;
5136
+ declare function addCoupon(cartId: string, coupon: NonNullablePaths<CouponInput, `code`, 2>): Promise<NonNullablePaths<AddCouponResponse, `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> & {
5137
+ __applicationErrorsType?: AddCouponApplicationErrors;
5138
+ }>;
4277
5139
  /**
4278
5140
  * Removes a coupon from the Cart.
4279
5141
  * @param cartId - Cart ID.
@@ -4286,7 +5148,9 @@ declare function addCoupon(cartId: string, coupon: NonNullablePaths<CouponInput,
4286
5148
  * @applicableIdentity APP
4287
5149
  * @fqn wix.ecom.cart.v2.CartService.RemoveCoupon
4288
5150
  */
4289
- declare function removeCoupon(cartId: string, couponId: string): Promise<NonNullablePaths<RemoveCouponResponse, `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>>;
5151
+ declare function removeCoupon(cartId: string, couponId: string): Promise<NonNullablePaths<RemoveCouponResponse, `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> & {
5152
+ __applicationErrorsType?: RemoveCouponApplicationErrors;
5153
+ }>;
4290
5154
  /**
4291
5155
  * Sets the delivery method for the Cart.
4292
5156
  * @param cartId - Cart ID.
@@ -4300,7 +5164,9 @@ declare function removeCoupon(cartId: string, couponId: string): Promise<NonNull
4300
5164
  * @applicableIdentity APP
4301
5165
  * @fqn wix.ecom.cart.v2.CartService.SetDeliveryMethod
4302
5166
  */
4303
- declare function setDeliveryMethod(cartId: string, deliveryMethod: NonNullablePaths<DeliveryMethodInput, `code`, 2>): Promise<NonNullablePaths<SetDeliveryMethodResponse, `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>>;
5167
+ declare function setDeliveryMethod(cartId: string, deliveryMethod: NonNullablePaths<DeliveryMethodInput, `code`, 2>): Promise<NonNullablePaths<SetDeliveryMethodResponse, `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> & {
5168
+ __applicationErrorsType?: SetDeliveryMethodApplicationErrors;
5169
+ }>;
4304
5170
  /**
4305
5171
  * Adds a gift card to the Cart.
4306
5172
  * Once added, the gift card’s balance will be used as a payment method during checkout, either partially or fully covering the cart total.
@@ -4317,7 +5183,9 @@ declare function setDeliveryMethod(cartId: string, deliveryMethod: NonNullablePa
4317
5183
  * @applicableIdentity APP
4318
5184
  * @fqn wix.ecom.cart.v2.CartService.AddGiftCard
4319
5185
  */
4320
- declare function addGiftCard(cartId: string, giftCard: NonNullablePaths<GiftCardInput, `code`, 2>): Promise<NonNullablePaths<AddGiftCardResponse, `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>>;
5186
+ declare function addGiftCard(cartId: string, giftCard: NonNullablePaths<GiftCardInput, `code`, 2>): Promise<NonNullablePaths<AddGiftCardResponse, `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> & {
5187
+ __applicationErrorsType?: AddGiftCardApplicationErrors;
5188
+ }>;
4321
5189
  /**
4322
5190
  * Removes a gift card from the Cart.
4323
5191
  * @param cartId - Cart ID.
@@ -4330,7 +5198,9 @@ declare function addGiftCard(cartId: string, giftCard: NonNullablePaths<GiftCard
4330
5198
  * @applicableIdentity APP
4331
5199
  * @fqn wix.ecom.cart.v2.CartService.RemoveGiftCard
4332
5200
  */
4333
- declare function removeGiftCard(cartId: string, giftCardId: string): Promise<NonNullablePaths<RemoveGiftCardResponse, `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>>;
5201
+ declare function removeGiftCard(cartId: string, giftCardId: string): Promise<NonNullablePaths<RemoveGiftCardResponse, `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> & {
5202
+ __applicationErrorsType?: RemoveGiftCardApplicationErrors;
5203
+ }>;
4334
5204
  /**
4335
5205
  * Marks the cart as completed. This means an order was created from the cart.
4336
5206
  *
@@ -4365,5 +5235,22 @@ interface MarkCartAsCompletedOptions {
4365
5235
  * @fqn wix.ecom.cart.v2.CartService.HandleAsyncCheckoutCompletion
4366
5236
  */
4367
5237
  declare function handleAsyncCheckoutCompletion(token: string): Promise<NonNullablePaths<RawHttpResponse, `body` | `headers` | `headers.${number}.key` | `headers.${number}.value`, 4>>;
5238
+ /** @param cartId - ID of the Cart to update.
5239
+ * @public
5240
+ * @documentationMaturity preview
5241
+ * @requiredField cartId
5242
+ * @permissionId ecom:v2:cart:update_cart
5243
+ * @applicableIdentity APP
5244
+ * @fqn wix.ecom.cart.v2.CartService.UpdateFormSubmissions
5245
+ */
5246
+ declare function updateFormSubmissions(cartId: string, options?: UpdateFormSubmissionsOptions): Promise<NonNullablePaths<UpdateFormSubmissionsResponse, `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>>;
5247
+ interface UpdateFormSubmissionsOptions {
5248
+ /**
5249
+ * Forms submission data to set on the cart.
5250
+ * @minSize 1
5251
+ * @maxSize 1000
5252
+ */
5253
+ formSubmissions?: FormSubmission[];
5254
+ }
4368
5255
 
4369
- export { type ActionEvent, type AddCouponRequest, type AddCouponResponse, type AddCouponToCurrentCartRequest, type AddCouponToCurrentCartResponse, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsOptions, type AddLineItemsRequest, type AddLineItemsResponse, 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 CalculateCartOptions, type CalculateCartRequest, type CalculateCartResponse, 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 CreateCartOptions, type CreateCartRequest, type CreateCartResponse, 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 GetCartApplicationErrors, type GetCartRequest, type GetCartResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetCheckoutUrlOptions, 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 MarkCartAsCompletedOptions, 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 PlaceOrderOptions, 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 UpdateCart, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsOptions, 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, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, placeOrder, refreshCart, removeCoupon, removeGiftCard, removeLineItems, setDeliveryMethod, updateCart, updateLineItems };
5256
+ export { type ActionEvent, type AddCouponApplicationErrors, type AddCouponRequest, type AddCouponResponse, type AddCouponToCurrentCartRequest, type AddCouponToCurrentCartResponse, type AddGiftCardApplicationErrors, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsApplicationErrors, type AddLineItemsOptions, type AddLineItemsRequest, type AddLineItemsResponse, 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 CalculateCartApplicationErrors, type CalculateCartForV1Request, type CalculateCartForV1Response, type CalculateCartOptions, type CalculateCartRequest, type CalculateCartResponse, 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 CreateCartApplicationErrors, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, 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 GetCheckoutUrlApplicationErrors, type GetCheckoutUrlOptions, 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 MarkCartAsCompletedOptions, 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 PlaceOrderApplicationErrors, type PlaceOrderOptions, 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 RefreshCartApplicationErrors, type RefreshCartRequest, type RefreshCartResponse, type RefreshCurrentCartRequest, type RefreshCurrentCartResponse, type Region, type RemoveCouponApplicationErrors, type RemoveCouponFromCurrentCartRequest, type RemoveCouponFromCurrentCartResponse, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardApplicationErrors, type RemoveGiftCardFromCurrentCartRequest, type RemoveGiftCardFromCurrentCartResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsApplicationErrors, 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 SetDeliveryMethodApplicationErrors, 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 UpdateCart, type UpdateCartApplicationErrors, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateFormSubmissionsOptions, type UpdateFormSubmissionsRequest, type UpdateFormSubmissionsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsOptions, 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, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, placeOrder, refreshCart, removeCoupon, removeGiftCard, removeLineItems, setDeliveryMethod, updateCart, updateFormSubmissions, updateLineItems };