@wix/auto_sdk_ecom_cart-v-2 1.0.49 → 1.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +53 -21
  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 +978 -79
  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 +915 -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 +53 -21
  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 +978 -79
  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 +915 -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 +53 -21
  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 +978 -79
  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 +915 -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 +53 -21
  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 +978 -79
  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 +915 -62
  35. package/build/internal/es/meta.mjs +102 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -106,6 +106,12 @@ interface Cart {
106
106
  * @readonly
107
107
  */
108
108
  currentCart?: boolean;
109
+ /**
110
+ * Forms associated with the Cart's line items.
111
+ * @readonly
112
+ * @maxSize 1000
113
+ */
114
+ forms?: FormInfo[];
109
115
  }
110
116
  interface V2LineItem {
111
117
  /**
@@ -1446,12 +1452,58 @@ interface CustomField {
1446
1452
  */
1447
1453
  translatedTitle?: string | null;
1448
1454
  }
1455
+ interface FormInfo {
1456
+ /**
1457
+ * The identifier of the form schema.
1458
+ * @readonly
1459
+ */
1460
+ schemaIdentifier?: FormIdentifier;
1461
+ /**
1462
+ * The unique identifier of the form instance.
1463
+ * @format GUID
1464
+ * @readonly
1465
+ */
1466
+ _id?: string;
1467
+ /**
1468
+ * The line item ids associated with this form.
1469
+ * @format GUID
1470
+ * @readonly
1471
+ * @maxSize 300
1472
+ */
1473
+ lineItemIds?: string[];
1474
+ /**
1475
+ * The translated title of the form.
1476
+ * @maxLength 100
1477
+ * @readonly
1478
+ */
1479
+ title?: string;
1480
+ /**
1481
+ * The translated subtitles of the form.
1482
+ * @maxSize 10
1483
+ * @maxLength 100
1484
+ * @readonly
1485
+ */
1486
+ subtitles?: string[] | null;
1487
+ /**
1488
+ * The id of the form submission.
1489
+ * @format GUID
1490
+ */
1491
+ formSubmissionId?: string | null;
1492
+ }
1493
+ interface FormIdentifier {
1494
+ /** @format GUID */
1495
+ formSchemaId?: string;
1496
+ /** @maxLength 100 */
1497
+ namespace?: string;
1498
+ }
1449
1499
  interface CartSummary {
1450
1500
  /**
1451
1501
  * The Cart ID.
1452
1502
  * @format GUID
1453
1503
  */
1454
1504
  cartId?: string;
1505
+ /** The Cart revision. */
1506
+ cartRevision?: string;
1455
1507
  /**
1456
1508
  * A unique identifier for this specific cart calculation.
1457
1509
  * @format GUID
@@ -2192,6 +2244,195 @@ interface CreateCurrentCartResponse {
2192
2244
  /** The created Cart. */
2193
2245
  cart?: Cart;
2194
2246
  }
2247
+ interface ItemNotFoundInCatalogErrorData {
2248
+ /**
2249
+ * List of line items not found in the catalog.
2250
+ * @maxSize 300
2251
+ */
2252
+ invalidItems?: LineItemIdentifier[];
2253
+ }
2254
+ interface LineItemIdentifier extends LineItemIdentifierIdOneOf {
2255
+ /**
2256
+ * Line Item ID.
2257
+ * @format GUID
2258
+ */
2259
+ lineItemId?: string;
2260
+ /** Catalog reference. */
2261
+ catalogReference?: CatalogReference;
2262
+ }
2263
+ /** @oneof */
2264
+ interface LineItemIdentifierIdOneOf {
2265
+ /**
2266
+ * Line Item ID.
2267
+ * @format GUID
2268
+ */
2269
+ lineItemId?: string;
2270
+ /** Catalog reference. */
2271
+ catalogReference?: CatalogReference;
2272
+ }
2273
+ interface InsufficientInventoryErrorData {
2274
+ /**
2275
+ * List of line items with insufficient inventory.
2276
+ * @maxSize 300
2277
+ */
2278
+ invalidItems?: InsufficientInventoryEntry[];
2279
+ }
2280
+ interface InsufficientInventoryEntry {
2281
+ /** Identifier for the line item with insufficient inventory. */
2282
+ _id?: LineItemIdentifier;
2283
+ /** Quantity requested by the user, including any existing quantity on the cart. */
2284
+ requestedQuantity?: number;
2285
+ /** Quantity available in inventory. */
2286
+ availableQuantity?: number;
2287
+ }
2288
+ interface MaxLineItemsExceededErrorData {
2289
+ /** Number of line items requested. */
2290
+ requestCount?: number;
2291
+ /** Maximum allowed number of line items. */
2292
+ maxCount?: number;
2293
+ }
2294
+ interface MaxItemModifiersExceededErrorData {
2295
+ /** Number of item modifiers requested. */
2296
+ requestCount?: number;
2297
+ /** Maximum allowed number of item modifiers. */
2298
+ maxCount?: number;
2299
+ }
2300
+ interface DuplicateModifierGroupIdsErrorData {
2301
+ /**
2302
+ * Catalog references for items with duplicate modifier group IDs.
2303
+ * @maxSize 300
2304
+ */
2305
+ invalidItems?: CatalogReference[];
2306
+ }
2307
+ interface DuplicateItemModifierIdsErrorData {
2308
+ /**
2309
+ * Catalog references for items with duplicate modifier IDs within a modifier group.
2310
+ * @maxSize 300
2311
+ */
2312
+ invalidItems?: CatalogReference[];
2313
+ }
2314
+ interface LineItemPriceConflictErrorData {
2315
+ /**
2316
+ * The catalog references for the line items with a price conflict, if exists.
2317
+ * @maxSize 300
2318
+ */
2319
+ invalidItems?: CatalogReference[];
2320
+ }
2321
+ interface FixedQuantityItemErrorData {
2322
+ /**
2323
+ * The line items with fixed quantity.
2324
+ * @maxSize 300
2325
+ */
2326
+ invalidItems?: LineItemIdentifier[];
2327
+ }
2328
+ interface InvalidMembershipPaymentOptionErrorData {
2329
+ /**
2330
+ * The line items with invalid membership payment options.
2331
+ * @maxSize 300
2332
+ */
2333
+ invalidItems?: InvalidMembershipEntry[];
2334
+ }
2335
+ interface InvalidMembershipEntry {
2336
+ /** The line item for which the membership payment option is invalid. */
2337
+ invalidItemId?: LineItemIdentifier;
2338
+ /** The selected membership attempted to be used as payment option. */
2339
+ selectedMembership?: V2SelectedMembership;
2340
+ }
2341
+ interface InvalidCouponCodeErrorData {
2342
+ /**
2343
+ * The invalid coupon code.
2344
+ * @maxLength 100
2345
+ */
2346
+ couponCode?: string;
2347
+ }
2348
+ interface InvalidCouponStatusErrorData extends InvalidCouponStatusErrorDataDetailsOneOf {
2349
+ minLineItemQuantityNotReachedDetails?: MinLineItemQuantityNotReachedDetails;
2350
+ minSubtotalNotReachedDetails?: MinSubtotalNotReachedDetails;
2351
+ /**
2352
+ * Coupon code with invalid status.
2353
+ * @maxLength 100
2354
+ */
2355
+ couponCode?: string;
2356
+ /** The invalid status of the coupon. */
2357
+ reason?: InvalidCouponReasonWithLiterals;
2358
+ }
2359
+ /** @oneof */
2360
+ interface InvalidCouponStatusErrorDataDetailsOneOf {
2361
+ minLineItemQuantityNotReachedDetails?: MinLineItemQuantityNotReachedDetails;
2362
+ minSubtotalNotReachedDetails?: MinSubtotalNotReachedDetails;
2363
+ }
2364
+ declare enum InvalidCouponReason {
2365
+ /** Unspecified status. */
2366
+ UNKNOWN_INVALID_COUPON_REASON = "UNKNOWN_INVALID_COUPON_REASON",
2367
+ /** The coupon is expired. */
2368
+ EXPIRED = "EXPIRED",
2369
+ /** The coupon is disabled. */
2370
+ DISABLED = "DISABLED",
2371
+ /** The coupon is not active yet. */
2372
+ INACTIVE = "INACTIVE",
2373
+ /** The coupon reached its usage limit. */
2374
+ MAX_USAGE_EXCEEDED = "MAX_USAGE_EXCEEDED",
2375
+ /** The coupon reached its usage limit for the customer. */
2376
+ MAX_USAGE_PER_CUSTOMER_EXCEEDED = "MAX_USAGE_PER_CUSTOMER_EXCEEDED",
2377
+ /** The coupon is not applicable for subscriptions. */
2378
+ NOT_APPLICABLE_TO_SUBSCRIPTIONS = "NOT_APPLICABLE_TO_SUBSCRIPTIONS",
2379
+ /** The coupon is not applicable for the cart's selected line items. */
2380
+ NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS = "NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS",
2381
+ /** The coupon requires a minimum item quantity that was not met. */
2382
+ MIN_LINE_ITEM_QUANTITY_NOT_REACHED = "MIN_LINE_ITEM_QUANTITY_NOT_REACHED",
2383
+ /** The coupon requires a minimum subtotal that was not met. */
2384
+ MIN_SUBTOTAL_NOT_REACHED = "MIN_SUBTOTAL_NOT_REACHED"
2385
+ }
2386
+ /** @enumType */
2387
+ 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';
2388
+ interface MinLineItemQuantityNotReachedDetails {
2389
+ /** The required minimum line item quantity. */
2390
+ requiredMinimumQuantity?: number;
2391
+ }
2392
+ interface MinSubtotalNotReachedDetails {
2393
+ /** The required minimum subtotal amount. */
2394
+ requiredMinimumSubtotal?: ConvertedMoney;
2395
+ }
2396
+ interface InvalidGiftCardCodeErrorData {
2397
+ /**
2398
+ * The invalid gift card code.
2399
+ * @maxLength 100
2400
+ */
2401
+ giftCardCode?: string;
2402
+ }
2403
+ interface InvalidGiftCardStatusErrorData {
2404
+ /**
2405
+ * Gift card code with invalid status.
2406
+ * @maxLength 100
2407
+ */
2408
+ giftCardCode?: string;
2409
+ /** The invalid status of the gift card. */
2410
+ reason?: InvalidGiftCardReasonWithLiterals;
2411
+ }
2412
+ declare enum InvalidGiftCardReason {
2413
+ /** Unspecified status. */
2414
+ UNKNOWN_INVALID_GIFT_CARD_REASON = "UNKNOWN_INVALID_GIFT_CARD_REASON",
2415
+ /** The gift card is expired. */
2416
+ EXPIRED = "EXPIRED",
2417
+ /** The gift card is disabled. */
2418
+ DISABLED = "DISABLED",
2419
+ /** The gift card has no remaining balance. */
2420
+ EMPTY_BALANCE = "EMPTY_BALANCE"
2421
+ }
2422
+ /** @enumType */
2423
+ type InvalidGiftCardReasonWithLiterals = InvalidGiftCardReason | 'UNKNOWN_INVALID_GIFT_CARD_REASON' | 'EXPIRED' | 'DISABLED' | 'EMPTY_BALANCE';
2424
+ interface DeliveryMethodNotFoundErrorData {
2425
+ /**
2426
+ * Code of the delivery method not found.
2427
+ * @maxLength 100
2428
+ */
2429
+ code?: string;
2430
+ /**
2431
+ * Optional app ID for the delivery method.
2432
+ * @maxLength 100
2433
+ */
2434
+ appId?: string | null;
2435
+ }
2195
2436
  interface GetCurrentCartRequest {
2196
2437
  }
2197
2438
  interface GetCurrentCartResponse {
@@ -2206,6 +2447,18 @@ interface UpdateCurrentCartResponse {
2206
2447
  /** Updated Cart. */
2207
2448
  cart?: Cart;
2208
2449
  }
2450
+ interface CartAlreadyOrderedErrorData {
2451
+ /**
2452
+ * Cart ID that has already been converted to an order.
2453
+ * @format GUID
2454
+ */
2455
+ cartId?: string;
2456
+ /**
2457
+ * Order ID associated with the cart.
2458
+ * @format GUID
2459
+ */
2460
+ orderId?: string;
2461
+ }
2209
2462
  interface DeleteCurrentCartRequest {
2210
2463
  }
2211
2464
  interface DeleteCurrentCartResponse {
@@ -2303,6 +2556,14 @@ interface RemoveLineItemsFromCurrentCartResponse {
2303
2556
  /** Updated Cart. */
2304
2557
  cart?: Cart;
2305
2558
  }
2559
+ interface LineItemNotFoundInCartErrorData {
2560
+ /**
2561
+ * IDs of the line items not found in the cart.
2562
+ * @format GUID
2563
+ * @maxSize 300
2564
+ */
2565
+ lineItemIds?: string[];
2566
+ }
2306
2567
  interface UpdateLineItemsInCurrentCartRequest {
2307
2568
  /**
2308
2569
  * Line item updates to apply.
@@ -2342,6 +2603,22 @@ interface UpdateLineItemsInCurrentCartResponse {
2342
2603
  /** Updated Cart. */
2343
2604
  cart?: Cart;
2344
2605
  }
2606
+ interface EmptyLineItemUpdatesErrorData {
2607
+ /**
2608
+ * Line item IDs with empty update fields.
2609
+ * @format GUID
2610
+ * @maxSize 300
2611
+ */
2612
+ lineItemIds?: string[];
2613
+ }
2614
+ interface DuplicateLineItemUpdatesErrorData {
2615
+ /**
2616
+ * Duplicate line item IDs in the update request.
2617
+ * @format GUID
2618
+ * @maxSize 300
2619
+ */
2620
+ duplicateLineItemIds?: string[];
2621
+ }
2345
2622
  interface AddCouponToCurrentCartRequest {
2346
2623
  /**
2347
2624
  * Coupon to apply.
@@ -2354,6 +2631,13 @@ interface AddCouponToCurrentCartResponse {
2354
2631
  /** Updated Cart. */
2355
2632
  cart?: Cart;
2356
2633
  }
2634
+ interface CouponAlreadyExistsErrorData {
2635
+ /**
2636
+ * Coupon code that already exists in the cart.
2637
+ * @maxLength 100
2638
+ */
2639
+ couponCode?: string;
2640
+ }
2357
2641
  interface RemoveCouponFromCurrentCartRequest {
2358
2642
  /**
2359
2643
  * Coupon ID.
@@ -2365,6 +2649,13 @@ interface RemoveCouponFromCurrentCartResponse {
2365
2649
  /** Updated Cart. */
2366
2650
  cart?: Cart;
2367
2651
  }
2652
+ interface CouponNotFoundInCartErrorData {
2653
+ /**
2654
+ * Coupon ID not found in the cart.
2655
+ * @format GUID
2656
+ */
2657
+ couponId?: string;
2658
+ }
2368
2659
  interface SetDeliveryMethodForCurrentCartRequest {
2369
2660
  /** Delivery method. */
2370
2661
  deliveryMethod?: DeliveryMethodInput;
@@ -2385,6 +2676,13 @@ interface AddGiftCardToCurrentCartResponse {
2385
2676
  /** Updated Cart. */
2386
2677
  cart?: Cart;
2387
2678
  }
2679
+ interface GiftCardAlreadyExistsErrorData {
2680
+ /**
2681
+ * Gift card code that already exists in the cart.
2682
+ * @maxLength 100
2683
+ */
2684
+ giftCardCode?: string;
2685
+ }
2388
2686
  interface RemoveGiftCardFromCurrentCartRequest {
2389
2687
  /**
2390
2688
  * Gift card ID.
@@ -2396,6 +2694,13 @@ interface RemoveGiftCardFromCurrentCartResponse {
2396
2694
  /** Updated Cart. */
2397
2695
  cart?: Cart;
2398
2696
  }
2697
+ interface GiftCardNotFoundInCartErrorData {
2698
+ /**
2699
+ * Gift Card ID not found in the cart.
2700
+ * @format GUID
2701
+ */
2702
+ giftCardId?: string;
2703
+ }
2399
2704
  interface UnmarkAsCurrentCartRequest {
2400
2705
  }
2401
2706
  interface UnmarkAsCurrentCartResponse {
@@ -2583,34 +2888,6 @@ interface GetCartResponse {
2583
2888
  /** The requested Cart. */
2584
2889
  cart?: Cart;
2585
2890
  }
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
2891
  interface UpdateCartRequest {
2615
2892
  /** Cart to be updated, may be partial. */
2616
2893
  cart: Cart;
@@ -2674,12 +2951,6 @@ interface CalculateCartForV1Request {
2674
2951
  * @format GUID
2675
2952
  */
2676
2953
  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
2954
  /**
2684
2955
  * Specifies the level of **business validation** to perform during cart calculation,
2685
2956
  * by calling the [Validations service plugin](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
@@ -2695,6 +2966,8 @@ interface CalculateCartForV1Request {
2695
2966
  * This field is legacy and currently used by PayLinks and plan to be deprecated
2696
2967
  */
2697
2968
  checkoutStage?: Stage;
2969
+ /** Calculations overrides for backward compatibility with V1. */
2970
+ calculationOverrides?: CalculationOverrides;
2698
2971
  }
2699
2972
  interface Stage extends StageStagesOneOf {
2700
2973
  /** Supported values: */
@@ -2720,6 +2993,48 @@ declare enum CheckoutStage {
2720
2993
  }
2721
2994
  /** @enumType */
2722
2995
  type CheckoutStageWithLiterals = CheckoutStage | 'UNKNOWN_CHECKOUT_STAGE' | 'INITIALIZATION' | 'IN_PROGRESS' | 'ORDER_CREATION';
2996
+ interface CalculationOverrides {
2997
+ /**
2998
+ * Delivery method.
2999
+ *
3000
+ * Pass this field only when there is no existing delivery method in the cart.
3001
+ */
3002
+ deliveryMethod?: DeliveryMethodInput;
3003
+ /** Delivery address. Used for calculating tax and shipping (when applicable). */
3004
+ deliveryAddress?: Address;
3005
+ /** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
3006
+ billingAddress?: Address;
3007
+ /** The selected membership payment options and which line items they apply to. */
3008
+ selectedMemberships?: SelectedMemberships;
3009
+ }
3010
+ interface SelectedMemberships {
3011
+ /**
3012
+ * Selected memberships.
3013
+ * @maxSize 300
3014
+ */
3015
+ memberships?: SelectedMembership[];
3016
+ }
3017
+ interface SelectedMembership {
3018
+ /**
3019
+ * Membership ID.
3020
+ * @minLength 1
3021
+ * @maxLength 100
3022
+ */
3023
+ _id?: string;
3024
+ /**
3025
+ * ID of the app providing this payment option.
3026
+ * @format GUID
3027
+ */
3028
+ appId?: string;
3029
+ /**
3030
+ * IDs of the line items this membership applies to.
3031
+ * @minSize 1
3032
+ * @maxSize 300
3033
+ * @minLength 1
3034
+ * @maxLength 100
3035
+ */
3036
+ lineItemIds?: string[];
3037
+ }
2723
3038
  interface CalculateCartForV1Response {
2724
3039
  /** The Cart that was calculated. */
2725
3040
  cart?: Cart;
@@ -3553,27 +3868,6 @@ interface InvalidMembership {
3553
3868
  */
3554
3869
  reason?: string;
3555
3870
  }
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
3871
  interface AdditionalFee {
3578
3872
  /**
3579
3873
  * Additional fee's unique code (or ID) for future processing.
@@ -3625,10 +3919,54 @@ declare enum AdditionalFeeSource {
3625
3919
  /** The additional fee was added manually on the request */
3626
3920
  MANUAL = "MANUAL",
3627
3921
  /** The additional fee was added by the shipping provider */
3628
- SHIPPING = "SHIPPING"
3922
+ SHIPPING = "SHIPPING",
3923
+ /** The additional fee was added by a Wix vertical and represents a Wix platform fee */
3924
+ PLATFORM_FEE = "PLATFORM_FEE"
3925
+ }
3926
+ /** @enumType */
3927
+ type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM_FEE';
3928
+ interface PlatformFeeSummary {
3929
+ /** Total platform fee amount. */
3930
+ total?: MultiCurrencyPrice;
3931
+ /** Total platform fee passed on to the customer. */
3932
+ totalPassOn?: MultiCurrencyPrice;
3933
+ /** Total platform fee absorbed by the merchant. */
3934
+ totalAbsorbed?: MultiCurrencyPrice;
3935
+ /**
3936
+ * Calculated platform fees.
3937
+ * @maxSize 100
3938
+ */
3939
+ calculatedPlatformFees?: CalculatedPlatformFee[];
3940
+ }
3941
+ interface CalculatedPlatformFee {
3942
+ /** Platform fee name. */
3943
+ name?: TranslatableString;
3944
+ /** Platform fee amount. */
3945
+ amount?: MultiCurrencyPrice;
3946
+ /**
3947
+ * ID of the line item the platform fee applies to.
3948
+ * @format GUID
3949
+ */
3950
+ lineItemId?: string;
3951
+ /** Platform fee charge type. */
3952
+ chargeType?: PlatformFeeChargeTypeWithLiterals;
3953
+ /**
3954
+ * Percentage rate charged as platform fee.
3955
+ * The fee rate expressed as a decimal fraction between 0 and 1. For example, `0.05` for 5%.
3956
+ * @format DECIMAL_VALUE
3957
+ * @decimalValue options { gte:0, lte:1, maxScale:4 }
3958
+ */
3959
+ percentageRate?: string;
3960
+ }
3961
+ declare enum PlatformFeeChargeType {
3962
+ UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
3963
+ /** The platform fee is passed on to the customer. */
3964
+ PASS_ON = "PASS_ON",
3965
+ /** The platform fee is absorbed by the merchant. */
3966
+ ABSORBED = "ABSORBED"
3629
3967
  }
3630
3968
  /** @enumType */
3631
- type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING';
3969
+ type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
3632
3970
  interface GetCheckoutURLRequest {
3633
3971
  /**
3634
3972
  * ID of the Cart to calculate.
@@ -3717,6 +4055,97 @@ interface PlaceOrderResponse {
3717
4055
  /** Whether an order was successfully created from this cart and the payment transaction was completed. */
3718
4056
  completed?: boolean;
3719
4057
  }
4058
+ interface AllLineItemsOutOfStockErrorData {
4059
+ /**
4060
+ * IDs of the line items that are out of stock.
4061
+ * @format GUID
4062
+ * @maxSize 300
4063
+ */
4064
+ lineItemIds?: string[];
4065
+ }
4066
+ interface SomeLineItemsOutOfStockErrorData {
4067
+ /**
4068
+ * IDs of the line items that are out of stock, if available.
4069
+ * @format GUID
4070
+ * @maxSize 300
4071
+ */
4072
+ lineItemIds?: string[];
4073
+ }
4074
+ interface InvalidThirdPartyCheckoutTokenErrorData {
4075
+ /**
4076
+ * The invalid third party checkout token.
4077
+ * @maxLength 3000
4078
+ */
4079
+ token?: string;
4080
+ }
4081
+ interface InvalidPriceVerificationTokenErrorData {
4082
+ /**
4083
+ * The invalid price verification token.
4084
+ * @maxLength 3000
4085
+ */
4086
+ token?: string;
4087
+ }
4088
+ interface ViolationWithErrorSeverityErrorData {
4089
+ /** List of violations. */
4090
+ violationsList?: ViolationsList;
4091
+ }
4092
+ interface ViolationsList {
4093
+ /**
4094
+ * Violations risen by ValidationsSPI implementers.
4095
+ * @maxSize 100
4096
+ */
4097
+ violations?: Violation[];
4098
+ }
4099
+ interface CalculationErrorData {
4100
+ /** Calculation errors encountered during cart calculation. */
4101
+ calculationErrors?: CalculationErrors;
4102
+ }
4103
+ interface InvalidMembershipErrorData {
4104
+ /**
4105
+ * The error message for invalid membership.
4106
+ * @maxLength 100
4107
+ */
4108
+ message?: string;
4109
+ }
4110
+ interface InvalidPaymentStatusErrorData {
4111
+ /**
4112
+ * The payment token, if available.
4113
+ * @maxLength 100
4114
+ */
4115
+ paymentToken?: string | null;
4116
+ /**
4117
+ * The transaction status.
4118
+ * @maxLength 100
4119
+ */
4120
+ transactionStatus?: string;
4121
+ /**
4122
+ * The failure details, if available.
4123
+ * @maxLength 100
4124
+ */
4125
+ failureDetails?: string | null;
4126
+ }
4127
+ interface GiftCardRedeemErrorData {
4128
+ /**
4129
+ * The error message for the gift card redemption failure.
4130
+ * @maxLength 100
4131
+ */
4132
+ error?: string;
4133
+ }
4134
+ interface EmptyPaymentTokenErrorData {
4135
+ /**
4136
+ * Order total price
4137
+ * @maxLength 100
4138
+ */
4139
+ total?: string;
4140
+ }
4141
+ interface MembersOnlyItemErrorData {
4142
+ /**
4143
+ * IDs of the members-only items in the cart.
4144
+ * @format GUID
4145
+ * @maxSize 300
4146
+ */
4147
+ lineItemIds?: string[];
4148
+ }
3720
4149
  interface AddLineItemsRequest {
3721
4150
  /**
3722
4151
  * Cart ID.
@@ -3886,11 +4315,432 @@ interface HeadersEntry {
3886
4315
  key?: string;
3887
4316
  value?: string;
3888
4317
  }
4318
+ interface UpdateFormSubmissionsRequest {
4319
+ /**
4320
+ * ID of the Cart to update.
4321
+ * @format GUID
4322
+ */
4323
+ cartId: string;
4324
+ /**
4325
+ * Forms submission data to set on the cart.
4326
+ * @minSize 1
4327
+ * @maxSize 1000
4328
+ */
4329
+ formSubmissions?: FormSubmission[];
4330
+ }
4331
+ interface FormSubmission {
4332
+ /** @format GUID */
4333
+ _id?: string;
4334
+ /** @format GUID */
4335
+ formSubmissionId?: string;
4336
+ }
4337
+ interface UpdateFormSubmissionsResponse {
4338
+ /** Updated Cart. */
4339
+ cart?: Cart;
4340
+ }
4341
+ /** @docsIgnore */
4342
+ type CreateCartApplicationErrors = {
4343
+ code?: 'ITEM_NOT_FOUND_IN_CATALOG';
4344
+ description?: string;
4345
+ data?: ItemNotFoundInCatalogErrorData;
4346
+ } | {
4347
+ code?: 'INSUFFICIENT_INVENTORY';
4348
+ description?: string;
4349
+ data?: InsufficientInventoryErrorData;
4350
+ } | {
4351
+ code?: 'MAX_LINE_ITEMS_EXCEEDED';
4352
+ description?: string;
4353
+ data?: MaxLineItemsExceededErrorData;
4354
+ } | {
4355
+ code?: 'MAX_ITEM_MODIFIERS_EXCEEDED';
4356
+ description?: string;
4357
+ data?: MaxItemModifiersExceededErrorData;
4358
+ } | {
4359
+ code?: 'DUPLICATE_MODIFIER_GROUP_IDS';
4360
+ description?: string;
4361
+ data?: DuplicateModifierGroupIdsErrorData;
4362
+ } | {
4363
+ code?: 'DUPLICATE_ITEM_MODIFIER_IDS';
4364
+ description?: string;
4365
+ data?: DuplicateItemModifierIdsErrorData;
4366
+ } | {
4367
+ code?: 'LINE_ITEM_PRICE_CONFLICT';
4368
+ description?: string;
4369
+ data?: LineItemPriceConflictErrorData;
4370
+ } | {
4371
+ code?: 'FIXED_QUANTITY_ITEM';
4372
+ description?: string;
4373
+ data?: FixedQuantityItemErrorData;
4374
+ } | {
4375
+ code?: 'INVALID_MEMBERSHIP_PAYMENT_OPTION';
4376
+ description?: string;
4377
+ data?: InvalidMembershipPaymentOptionErrorData;
4378
+ } | {
4379
+ code?: 'INVALID_COUPON_CODE';
4380
+ description?: string;
4381
+ data?: InvalidCouponCodeErrorData;
4382
+ } | {
4383
+ code?: 'INVALID_COUPON_STATUS';
4384
+ description?: string;
4385
+ data?: InvalidCouponStatusErrorData;
4386
+ } | {
4387
+ code?: 'INVALID_GIFT_CARD_CODE';
4388
+ description?: string;
4389
+ data?: InvalidGiftCardCodeErrorData;
4390
+ } | {
4391
+ code?: 'INVALID_GIFT_CARD_STATUS';
4392
+ description?: string;
4393
+ data?: InvalidGiftCardStatusErrorData;
4394
+ } | {
4395
+ code?: 'DELIVERY_METHOD_NOT_FOUND';
4396
+ description?: string;
4397
+ data?: DeliveryMethodNotFoundErrorData;
4398
+ } | {
4399
+ code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
4400
+ description?: string;
4401
+ data?: Record<string, any>;
4402
+ } | {
4403
+ code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
4404
+ description?: string;
4405
+ data?: Record<string, any>;
4406
+ } | {
4407
+ code?: 'DEPOSIT_AMOUNT_GREATER_THAN_UNIT_PRICE';
4408
+ description?: string;
4409
+ data?: Record<string, any>;
4410
+ };
4411
+ /** @docsIgnore */
4412
+ type UpdateCartApplicationErrors = {
4413
+ code?: 'CART_ALREADY_ORDERED';
4414
+ description?: string;
4415
+ data?: CartAlreadyOrderedErrorData;
4416
+ } | {
4417
+ code?: 'ADDRESS_MISSING_COUNTRY';
4418
+ description?: string;
4419
+ data?: Record<string, any>;
4420
+ } | {
4421
+ code?: 'BUSINESS_LOCATION_NOT_FOUND';
4422
+ description?: string;
4423
+ data?: Record<string, any>;
4424
+ } | {
4425
+ code?: 'INVALID_ADDRESS_FORMAT';
4426
+ description?: string;
4427
+ data?: Record<string, any>;
4428
+ } | {
4429
+ code?: 'DATA_EXTENSION_UPDATE_FAILED';
4430
+ description?: string;
4431
+ data?: Record<string, any>;
4432
+ };
4433
+ /** @docsIgnore */
4434
+ type RefreshCartApplicationErrors = {
4435
+ code?: 'CART_ALREADY_ORDERED';
4436
+ description?: string;
4437
+ data?: CartAlreadyOrderedErrorData;
4438
+ };
3889
4439
  /** @docsIgnore */
3890
- type GetCartApplicationErrors = {
3891
- code?: 'DUMMY_ERROR_METHOD_CODE';
4440
+ type CalculateCartApplicationErrors = {
4441
+ code?: 'CART_ALREADY_ORDERED';
3892
4442
  description?: string;
3893
- data?: DummyErrorDataMethodLevel;
4443
+ data?: CartAlreadyOrderedErrorData;
4444
+ };
4445
+ /** @docsIgnore */
4446
+ type GetCheckoutUrlApplicationErrors = {
4447
+ code?: 'CHECKOUT_PAGE_NOT_FOUND';
4448
+ description?: string;
4449
+ data?: Record<string, any>;
4450
+ };
4451
+ /** @docsIgnore */
4452
+ type PlaceOrderApplicationErrors = {
4453
+ code?: 'CART_ALREADY_ORDERED';
4454
+ description?: string;
4455
+ data?: CartAlreadyOrderedErrorData;
4456
+ } | {
4457
+ code?: 'SITE_NOT_ACCEPTING_PAYMENTS';
4458
+ description?: string;
4459
+ data?: Record<string, any>;
4460
+ } | {
4461
+ code?: 'EMPTY_CART';
4462
+ description?: string;
4463
+ data?: Record<string, any>;
4464
+ } | {
4465
+ code?: 'ALL_LINE_ITEMS_OUT_OF_STOCK';
4466
+ description?: string;
4467
+ data?: AllLineItemsOutOfStockErrorData;
4468
+ } | {
4469
+ code?: 'SOME_LINE_ITEMS_OUT_OF_STOCK';
4470
+ description?: string;
4471
+ data?: SomeLineItemsOutOfStockErrorData;
4472
+ } | {
4473
+ code?: 'CART_PRICES_OUT_OF_SYNC';
4474
+ description?: string;
4475
+ data?: Record<string, any>;
4476
+ } | {
4477
+ code?: 'INVALID_THIRD_PARTY_CHECKOUT_TOKEN';
4478
+ description?: string;
4479
+ data?: InvalidThirdPartyCheckoutTokenErrorData;
4480
+ } | {
4481
+ code?: 'INVALID_PRICE_VERIFICATION_TOKEN';
4482
+ description?: string;
4483
+ data?: InvalidPriceVerificationTokenErrorData;
4484
+ } | {
4485
+ code?: 'VIOLATIONS_WITH_ERROR_SEVERITY';
4486
+ description?: string;
4487
+ data?: ViolationWithErrorSeverityErrorData;
4488
+ } | {
4489
+ code?: 'CALCULATION_ERROR';
4490
+ description?: string;
4491
+ data?: CalculationErrorData;
4492
+ } | {
4493
+ code?: 'CANNOT_PAY_FOR_GIFT_CARD_WITH_GIFT_CARD';
4494
+ description?: string;
4495
+ data?: Record<string, any>;
4496
+ } | {
4497
+ code?: 'CANNOT_REDEEM_COUPON_WHEN_PURCHASING_GIFT_CARD';
4498
+ description?: string;
4499
+ data?: Record<string, any>;
4500
+ } | {
4501
+ code?: 'CANNOT_PAY_FOR_SUBSCRIPTION_WITH_GIFT_CARD';
4502
+ description?: string;
4503
+ data?: Record<string, any>;
4504
+ } | {
4505
+ code?: 'SUBSCRIPTION_AS_CUSTOM_LINE_ITEM';
4506
+ description?: string;
4507
+ data?: Record<string, any>;
4508
+ } | {
4509
+ code?: 'SUBSCRIPTION_WITH_INVALID_FREQUENCY';
4510
+ description?: string;
4511
+ data?: Record<string, any>;
4512
+ } | {
4513
+ code?: 'SHIPPABLE_LINE_ITEM_CONTAINS_FREE_TRIAL_SUBSCRIPTION';
4514
+ description?: string;
4515
+ data?: Record<string, any>;
4516
+ } | {
4517
+ code?: 'UNCONFIRMED_SAVE_PAYMENT_METHOD';
4518
+ description?: string;
4519
+ data?: Record<string, any>;
4520
+ } | {
4521
+ code?: 'DELIVERY_METHOD_NO_LONGER_AVAILABLE';
4522
+ description?: string;
4523
+ data?: Record<string, any>;
4524
+ } | {
4525
+ code?: 'DELIVERY_METHOD_NOT_APPLIED_TO_ALL_LINE_ITEMS';
4526
+ description?: string;
4527
+ data?: Record<string, any>;
4528
+ } | {
4529
+ code?: 'MISSING_DELIVERY_ADDRESS';
4530
+ description?: string;
4531
+ data?: Record<string, any>;
4532
+ } | {
4533
+ code?: 'MISSING_DELIVERY_METHOD';
4534
+ description?: string;
4535
+ data?: Record<string, any>;
4536
+ } | {
4537
+ code?: 'INVALID_MEMBERSHIP';
4538
+ description?: string;
4539
+ data?: InvalidMembershipErrorData;
4540
+ } | {
4541
+ code?: 'INVALID_PAYMENT_STATUS';
4542
+ description?: string;
4543
+ data?: InvalidPaymentStatusErrorData;
4544
+ } | {
4545
+ code?: 'GIFT_CARD_REDEEM_ERROR';
4546
+ description?: string;
4547
+ data?: GiftCardRedeemErrorData;
4548
+ } | {
4549
+ code?: 'PAYMENT_ALREADY_IN_PROGRESS';
4550
+ description?: string;
4551
+ data?: Record<string, any>;
4552
+ } | {
4553
+ code?: 'EMPTY_PAYMENT_TOKEN';
4554
+ description?: string;
4555
+ data?: EmptyPaymentTokenErrorData;
4556
+ } | {
4557
+ code?: 'MEMBERS_ONLY_ITEM';
4558
+ description?: string;
4559
+ data?: MembersOnlyItemErrorData;
4560
+ };
4561
+ /** @docsIgnore */
4562
+ type AddLineItemsApplicationErrors = {
4563
+ code?: 'CART_ALREADY_ORDERED';
4564
+ description?: string;
4565
+ data?: CartAlreadyOrderedErrorData;
4566
+ } | {
4567
+ code?: 'NO_LINE_ITEMS_TO_ADD';
4568
+ description?: string;
4569
+ data?: Record<string, any>;
4570
+ } | {
4571
+ code?: 'ITEM_NOT_FOUND_IN_CATALOG';
4572
+ description?: string;
4573
+ data?: ItemNotFoundInCatalogErrorData;
4574
+ } | {
4575
+ code?: 'INSUFFICIENT_INVENTORY';
4576
+ description?: string;
4577
+ data?: InsufficientInventoryErrorData;
4578
+ } | {
4579
+ code?: 'MAX_LINE_ITEMS_EXCEEDED';
4580
+ description?: string;
4581
+ data?: MaxLineItemsExceededErrorData;
4582
+ } | {
4583
+ code?: 'MAX_ITEM_MODIFIERS_EXCEEDED';
4584
+ description?: string;
4585
+ data?: MaxItemModifiersExceededErrorData;
4586
+ } | {
4587
+ code?: 'DUPLICATE_MODIFIER_GROUP_IDS';
4588
+ description?: string;
4589
+ data?: DuplicateModifierGroupIdsErrorData;
4590
+ } | {
4591
+ code?: 'DUPLICATE_ITEM_MODIFIER_IDS';
4592
+ description?: string;
4593
+ data?: DuplicateItemModifierIdsErrorData;
4594
+ } | {
4595
+ code?: 'LINE_ITEM_PRICE_CONFLICT';
4596
+ description?: string;
4597
+ data?: LineItemPriceConflictErrorData;
4598
+ } | {
4599
+ code?: 'FIXED_QUANTITY_ITEM';
4600
+ description?: string;
4601
+ data?: FixedQuantityItemErrorData;
4602
+ } | {
4603
+ code?: 'INVALID_MEMBERSHIP_PAYMENT_OPTION';
4604
+ description?: string;
4605
+ data?: InvalidMembershipPaymentOptionErrorData;
4606
+ } | {
4607
+ code?: 'DEPOSIT_AMOUNT_GREATER_THAN_UNIT_PRICE';
4608
+ description?: string;
4609
+ data?: Record<string, any>;
4610
+ };
4611
+ /** @docsIgnore */
4612
+ type RemoveLineItemsApplicationErrors = {
4613
+ code?: 'CART_ALREADY_ORDERED';
4614
+ description?: string;
4615
+ data?: CartAlreadyOrderedErrorData;
4616
+ } | {
4617
+ code?: 'LINE_ITEM_NOT_FOUND_IN_CART';
4618
+ description?: string;
4619
+ data?: LineItemNotFoundInCartErrorData;
4620
+ };
4621
+ /** @docsIgnore */
4622
+ type UpdateLineItemsApplicationErrors = {
4623
+ code?: 'EMPTY_LINE_ITEM_UPDATES';
4624
+ description?: string;
4625
+ data?: EmptyLineItemUpdatesErrorData;
4626
+ } | {
4627
+ code?: 'DUPLICATE_LINE_ITEM_UPDATES';
4628
+ description?: string;
4629
+ data?: DuplicateLineItemUpdatesErrorData;
4630
+ } | {
4631
+ code?: 'CART_ALREADY_ORDERED';
4632
+ description?: string;
4633
+ data?: CartAlreadyOrderedErrorData;
4634
+ } | {
4635
+ code?: 'LINE_ITEM_NOT_FOUND_IN_CART';
4636
+ description?: string;
4637
+ data?: LineItemNotFoundInCartErrorData;
4638
+ } | {
4639
+ code?: 'ITEM_NOT_FOUND_IN_CATALOG';
4640
+ description?: string;
4641
+ data?: ItemNotFoundInCatalogErrorData;
4642
+ } | {
4643
+ code?: 'INSUFFICIENT_INVENTORY';
4644
+ description?: string;
4645
+ data?: InsufficientInventoryErrorData;
4646
+ };
4647
+ /** @docsIgnore */
4648
+ type AddCouponApplicationErrors = {
4649
+ code?: 'COUPON_ALREADY_EXISTS';
4650
+ description?: string;
4651
+ data?: CouponAlreadyExistsErrorData;
4652
+ } | {
4653
+ code?: 'MAX_COUPONS_PER_CART_EXCEEDED';
4654
+ description?: string;
4655
+ data?: Record<string, any>;
4656
+ } | {
4657
+ code?: 'CART_ALREADY_ORDERED';
4658
+ description?: string;
4659
+ data?: CartAlreadyOrderedErrorData;
4660
+ } | {
4661
+ code?: 'COUPON_LOCKED';
4662
+ description?: string;
4663
+ data?: Record<string, any>;
4664
+ } | {
4665
+ code?: 'INVALID_COUPON_CODE';
4666
+ description?: string;
4667
+ data?: InvalidCouponCodeErrorData;
4668
+ } | {
4669
+ code?: 'INVALID_COUPON_STATUS';
4670
+ description?: string;
4671
+ data?: InvalidCouponStatusErrorData;
4672
+ };
4673
+ /** @docsIgnore */
4674
+ type RemoveCouponApplicationErrors = {
4675
+ code?: 'COUPON_NOT_FOUND_IN_CART';
4676
+ description?: string;
4677
+ data?: CouponNotFoundInCartErrorData;
4678
+ } | {
4679
+ code?: 'CART_ALREADY_ORDERED';
4680
+ description?: string;
4681
+ data?: CartAlreadyOrderedErrorData;
4682
+ } | {
4683
+ code?: 'COUPON_LOCKED';
4684
+ description?: string;
4685
+ data?: Record<string, any>;
4686
+ };
4687
+ /** @docsIgnore */
4688
+ type SetDeliveryMethodApplicationErrors = {
4689
+ code?: 'CART_ALREADY_ORDERED';
4690
+ description?: string;
4691
+ data?: CartAlreadyOrderedErrorData;
4692
+ } | {
4693
+ code?: 'DELIVERY_METHOD_NOT_FOUND';
4694
+ description?: string;
4695
+ data?: DeliveryMethodNotFoundErrorData;
4696
+ } | {
4697
+ code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
4698
+ description?: string;
4699
+ data?: Record<string, any>;
4700
+ } | {
4701
+ code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
4702
+ description?: string;
4703
+ data?: Record<string, any>;
4704
+ };
4705
+ /** @docsIgnore */
4706
+ type AddGiftCardApplicationErrors = {
4707
+ code?: 'CART_ALREADY_ORDERED';
4708
+ description?: string;
4709
+ data?: CartAlreadyOrderedErrorData;
4710
+ } | {
4711
+ code?: 'INVALID_GIFT_CARD_CODE';
4712
+ description?: string;
4713
+ data?: InvalidGiftCardCodeErrorData;
4714
+ } | {
4715
+ code?: 'INVALID_GIFT_CARD_STATUS';
4716
+ description?: string;
4717
+ data?: InvalidGiftCardStatusErrorData;
4718
+ } | {
4719
+ code?: 'MAX_GIFT_CARDS_PER_CART_EXCEEDED';
4720
+ description?: string;
4721
+ data?: Record<string, any>;
4722
+ } | {
4723
+ code?: 'GIFT_CARD_ALREADY_EXISTS';
4724
+ description?: string;
4725
+ data?: GiftCardAlreadyExistsErrorData;
4726
+ } | {
4727
+ code?: 'GIFT_CARD_LOCKED';
4728
+ description?: string;
4729
+ data?: Record<string, any>;
4730
+ };
4731
+ /** @docsIgnore */
4732
+ type RemoveGiftCardApplicationErrors = {
4733
+ code?: 'CART_ALREADY_ORDERED';
4734
+ description?: string;
4735
+ data?: CartAlreadyOrderedErrorData;
4736
+ } | {
4737
+ code?: 'GIFT_CARD_NOT_FOUND_IN_CART';
4738
+ description?: string;
4739
+ data?: GiftCardNotFoundInCartErrorData;
4740
+ } | {
4741
+ code?: 'GIFT_CARD_LOCKED';
4742
+ description?: string;
4743
+ data?: Record<string, any>;
3894
4744
  };
3895
4745
  /**
3896
4746
  * Creates a Cart.
@@ -3911,7 +4761,9 @@ type GetCartApplicationErrors = {
3911
4761
  * @returns The created Cart.
3912
4762
  * @fqn wix.ecom.cart.v2.CartService.CreateCart
3913
4763
  */
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>>;
4764
+ 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` | `forms` | `forms.${number}.schemaIdentifier.formSchemaId` | `forms.${number}.schemaIdentifier.namespace` | `forms.${number}._id` | `forms.${number}.title`, 6> & {
4765
+ __applicationErrorsType?: CreateCartApplicationErrors;
4766
+ }>;
3915
4767
  interface CreateCartOptions {
3916
4768
  /** Cart to be created. */
3917
4769
  cart?: Cart;
@@ -3955,9 +4807,7 @@ interface CreateCartOptions {
3955
4807
  * @returns The requested Cart.
3956
4808
  * @fqn wix.ecom.cart.v2.CartService.GetCart
3957
4809
  */
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
- }>;
4810
+ 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` | `forms` | `forms.${number}.schemaIdentifier.formSchemaId` | `forms.${number}.schemaIdentifier.namespace` | `forms.${number}._id` | `forms.${number}.title`, 6>>;
3961
4811
  /**
3962
4812
  * Updates a Cart.
3963
4813
  *
@@ -3975,7 +4825,9 @@ declare function getCart(cartId: string): Promise<NonNullablePaths<Cart, `_id` |
3975
4825
  * @returns Updated Cart.
3976
4826
  * @fqn wix.ecom.cart.v2.CartService.UpdateCart
3977
4827
  */
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>>;
4828
+ 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` | `forms` | `forms.${number}.schemaIdentifier.formSchemaId` | `forms.${number}.schemaIdentifier.namespace` | `forms.${number}._id` | `forms.${number}.title`, 6> & {
4829
+ __applicationErrorsType?: UpdateCartApplicationErrors;
4830
+ }>;
3979
4831
  interface UpdateCart {
3980
4832
  /**
3981
4833
  * Cart ID.
@@ -4082,6 +4934,12 @@ interface UpdateCart {
4082
4934
  * @readonly
4083
4935
  */
4084
4936
  currentCart?: boolean;
4937
+ /**
4938
+ * Forms associated with the Cart's line items.
4939
+ * @readonly
4940
+ * @maxSize 1000
4941
+ */
4942
+ forms?: FormInfo[];
4085
4943
  }
4086
4944
  /**
4087
4945
  * Deletes a Cart.
@@ -4104,7 +4962,9 @@ declare function deleteCart(cartId: string): Promise<void>;
4104
4962
  * @applicableIdentity APP
4105
4963
  * @fqn wix.ecom.cart.v2.CartService.RefreshCart
4106
4964
  */
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>>;
4965
+ 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` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
4966
+ __applicationErrorsType?: RefreshCartApplicationErrors;
4967
+ }>;
4108
4968
  /**
4109
4969
  * Calculates the cart based on its current state (line items, discounts, delivery method, etc.)
4110
4970
  * and returns a detailed summary including subtotal, delivery costs, taxes, fees and the total price.
@@ -4117,7 +4977,9 @@ declare function refreshCart(cartId: string): Promise<NonNullablePaths<RefreshCa
4117
4977
  * @applicableIdentity APP
4118
4978
  * @fqn wix.ecom.cart.v2.CartService.CalculateCart
4119
4979
  */
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>>;
4980
+ 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` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title` | `summary.cartId` | `summary.cartRevision` | `summary.calculationId` | `summary.lineItems` | `summary.lineItems.${number}.lineItemId` | `summary.lineItems.${number}.quantity` | `summary.lineItems.${number}.unitPrice.amount` | `summary.lineItems.${number}.unitPrice.convertedAmount` | `summary.discounts` | `summary.discounts.${number}.name.original` | `summary.discounts.${number}.source.sourceType` | `summary.discounts.${number}.scope` | `summary.deliverySummary.method.code` | `summary.deliverySummary.method.pickup` | `summary.additionalFees` | `summary.taxSummary.taxes` | `summary.taxSummary.pricesIncludeTax` | `summary.taxSummary.lineItemTaxes` | `summary.taxSummary.lineItemTaxes.${number}.lineItemId` | `summary.taxSummary.additionalFeeTaxes` | `summary.taxSummary.additionalFeeTaxes.${number}.additionalFeeCode` | `summary.paymentSummary.giftCards` | `summary.paymentSummary.giftCards.${number}.giftCardId` | `summary.paymentSummary.memberships` | `summary.paymentSummary.memberships.${number}._id` | `summary.paymentSummary.memberships.${number}.appId` | `summary.paymentSummary.subscriptionCharges` | `summary.paymentSummary.requiresPaymentAfterGiftCard` | `summary.calculationErrors.generalShippingCalculationError.applicationError.code` | `summary.calculationErrors.generalShippingCalculationError.applicationError.description` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `summary.calculationErrors.carrierErrors.errors` | `summary.calculationErrors.carrierErrors.errors.${number}.carrierId` | `summary.calculationErrors.orderValidationErrors` | `summary.spiViolations` | `summary.spiViolations.${number}.severity` | `summary.spiViolations.${number}.target.other.name` | `summary.spiViolations.${number}.target.lineItem.name`, 8> & {
4981
+ __applicationErrorsType?: CalculateCartApplicationErrors;
4982
+ }>;
4121
4983
  interface CalculateCartOptions {
4122
4984
  /**
4123
4985
  * Whether to retrieve the latest item prices, discounts, and inventory data from the catalogs before calculating the cart.
@@ -4149,7 +5011,9 @@ interface CalculateCartOptions {
4149
5011
  * @applicableIdentity APP
4150
5012
  * @fqn wix.ecom.cart.v2.CartService.GetCheckoutURL
4151
5013
  */
4152
- declare function getCheckoutUrl(cartId: string, options?: GetCheckoutUrlOptions): Promise<NonNullablePaths<GetCheckoutURLResponse, `checkoutUrl`, 2>>;
5014
+ declare function getCheckoutUrl(cartId: string, options?: GetCheckoutUrlOptions): Promise<NonNullablePaths<GetCheckoutURLResponse, `checkoutUrl`, 2> & {
5015
+ __applicationErrorsType?: GetCheckoutUrlApplicationErrors;
5016
+ }>;
4153
5017
  interface GetCheckoutUrlOptions {
4154
5018
  /**
4155
5019
  * Checkout currency parameter to append as a query param
@@ -4170,7 +5034,9 @@ interface GetCheckoutUrlOptions {
4170
5034
  * @applicableIdentity APP
4171
5035
  * @fqn wix.ecom.cart.v2.CartService.PlaceOrder
4172
5036
  */
4173
- declare function placeOrder(cartId: string, options?: PlaceOrderOptions): Promise<NonNullablePaths<PlaceOrderResponse, `orderId` | `completed`, 2>>;
5037
+ declare function placeOrder(cartId: string, options?: PlaceOrderOptions): Promise<NonNullablePaths<PlaceOrderResponse, `orderId` | `completed`, 2> & {
5038
+ __applicationErrorsType?: PlaceOrderApplicationErrors;
5039
+ }>;
4174
5040
  interface PlaceOrderOptions {
4175
5041
  /**
4176
5042
  * The price verification token received from `CalculateCart`'s response.
@@ -4210,7 +5076,9 @@ interface PlaceOrderOptions {
4210
5076
  * @applicableIdentity APP
4211
5077
  * @fqn wix.ecom.cart.v2.CartService.AddLineItems
4212
5078
  */
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>>;
5079
+ 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` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
5080
+ __applicationErrorsType?: AddLineItemsApplicationErrors;
5081
+ }>;
4214
5082
  interface AddLineItemsOptions {
4215
5083
  /**
4216
5084
  * A list of catalog items to add to the cart.
@@ -4235,7 +5103,9 @@ interface AddLineItemsOptions {
4235
5103
  * @applicableIdentity APP
4236
5104
  * @fqn wix.ecom.cart.v2.CartService.RemoveLineItems
4237
5105
  */
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>>;
5106
+ 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` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
5107
+ __applicationErrorsType?: RemoveLineItemsApplicationErrors;
5108
+ }>;
4239
5109
  /**
4240
5110
  * Updates line items in the Cart.
4241
5111
  * Use this endpoint to update line items properties such as quantity and selected membership.
@@ -4249,7 +5119,9 @@ declare function removeLineItems(cartId: string, lineItemIds: string[]): Promise
4249
5119
  * @applicableIdentity APP
4250
5120
  * @fqn wix.ecom.cart.v2.CartService.UpdateLineItems
4251
5121
  */
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>>;
5122
+ 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` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
5123
+ __applicationErrorsType?: UpdateLineItemsApplicationErrors;
5124
+ }>;
4253
5125
  interface UpdateLineItemsOptions {
4254
5126
  /**
4255
5127
  * Line item updates to apply.
@@ -4273,7 +5145,9 @@ interface UpdateLineItemsOptions {
4273
5145
  * @applicableIdentity APP
4274
5146
  * @fqn wix.ecom.cart.v2.CartService.AddCoupon
4275
5147
  */
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>>;
5148
+ 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` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
5149
+ __applicationErrorsType?: AddCouponApplicationErrors;
5150
+ }>;
4277
5151
  /**
4278
5152
  * Removes a coupon from the Cart.
4279
5153
  * @param cartId - Cart ID.
@@ -4286,7 +5160,9 @@ declare function addCoupon(cartId: string, coupon: NonNullablePaths<CouponInput,
4286
5160
  * @applicableIdentity APP
4287
5161
  * @fqn wix.ecom.cart.v2.CartService.RemoveCoupon
4288
5162
  */
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>>;
5163
+ 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` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
5164
+ __applicationErrorsType?: RemoveCouponApplicationErrors;
5165
+ }>;
4290
5166
  /**
4291
5167
  * Sets the delivery method for the Cart.
4292
5168
  * @param cartId - Cart ID.
@@ -4300,7 +5176,9 @@ declare function removeCoupon(cartId: string, couponId: string): Promise<NonNull
4300
5176
  * @applicableIdentity APP
4301
5177
  * @fqn wix.ecom.cart.v2.CartService.SetDeliveryMethod
4302
5178
  */
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>>;
5179
+ 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` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
5180
+ __applicationErrorsType?: SetDeliveryMethodApplicationErrors;
5181
+ }>;
4304
5182
  /**
4305
5183
  * Adds a gift card to the Cart.
4306
5184
  * 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 +5195,9 @@ declare function setDeliveryMethod(cartId: string, deliveryMethod: NonNullablePa
4317
5195
  * @applicableIdentity APP
4318
5196
  * @fqn wix.ecom.cart.v2.CartService.AddGiftCard
4319
5197
  */
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>>;
5198
+ 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` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
5199
+ __applicationErrorsType?: AddGiftCardApplicationErrors;
5200
+ }>;
4321
5201
  /**
4322
5202
  * Removes a gift card from the Cart.
4323
5203
  * @param cartId - Cart ID.
@@ -4330,7 +5210,9 @@ declare function addGiftCard(cartId: string, giftCard: NonNullablePaths<GiftCard
4330
5210
  * @applicableIdentity APP
4331
5211
  * @fqn wix.ecom.cart.v2.CartService.RemoveGiftCard
4332
5212
  */
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>>;
5213
+ 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` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7> & {
5214
+ __applicationErrorsType?: RemoveGiftCardApplicationErrors;
5215
+ }>;
4334
5216
  /**
4335
5217
  * Marks the cart as completed. This means an order was created from the cart.
4336
5218
  *
@@ -4343,7 +5225,7 @@ declare function removeGiftCard(cartId: string, giftCardId: string): Promise<Non
4343
5225
  * @applicableIdentity APP
4344
5226
  * @fqn wix.ecom.cart.v2.CartService.MarkCartAsCompleted
4345
5227
  */
4346
- declare function markCartAsCompleted(cartId: string, options?: MarkCartAsCompletedOptions): Promise<NonNullablePaths<MarkCartAsCompletedResponse, `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>>;
5228
+ declare function markCartAsCompleted(cartId: string, options?: MarkCartAsCompletedOptions): Promise<NonNullablePaths<MarkCartAsCompletedResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7>>;
4347
5229
  interface MarkCartAsCompletedOptions {
4348
5230
  /**
4349
5231
  * Order ID.
@@ -4365,5 +5247,22 @@ interface MarkCartAsCompletedOptions {
4365
5247
  * @fqn wix.ecom.cart.v2.CartService.HandleAsyncCheckoutCompletion
4366
5248
  */
4367
5249
  declare function handleAsyncCheckoutCompletion(token: string): Promise<NonNullablePaths<RawHttpResponse, `body` | `headers` | `headers.${number}.key` | `headers.${number}.value`, 4>>;
5250
+ /** @param cartId - ID of the Cart to update.
5251
+ * @public
5252
+ * @documentationMaturity preview
5253
+ * @requiredField cartId
5254
+ * @permissionId ecom:v2:cart:update_cart
5255
+ * @applicableIdentity APP
5256
+ * @fqn wix.ecom.cart.v2.CartService.UpdateFormSubmissions
5257
+ */
5258
+ 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` | `cart.forms` | `cart.forms.${number}.schemaIdentifier.formSchemaId` | `cart.forms.${number}.schemaIdentifier.namespace` | `cart.forms.${number}._id` | `cart.forms.${number}.title`, 7>>;
5259
+ interface UpdateFormSubmissionsOptions {
5260
+ /**
5261
+ * Forms submission data to set on the cart.
5262
+ * @minSize 1
5263
+ * @maxSize 1000
5264
+ */
5265
+ formSubmissions?: FormSubmission[];
5266
+ }
4368
5267
 
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 };
5268
+ 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 };