@wix/auto_sdk_ecom_current-cart-v-2 1.0.50 → 1.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +39 -15
- package/build/cjs/index.js +33 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +852 -70
- package/build/cjs/index.typings.js +33 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +816 -58
- package/build/cjs/meta.js +33 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +39 -15
- package/build/es/index.mjs +30 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +852 -70
- package/build/es/index.typings.mjs +30 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +816 -58
- package/build/es/meta.mjs +30 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +39 -15
- package/build/internal/cjs/index.js +33 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +859 -70
- package/build/internal/cjs/index.typings.js +33 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +816 -58
- package/build/internal/cjs/meta.js +33 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +39 -15
- package/build/internal/es/index.mjs +30 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +859 -70
- package/build/internal/es/index.typings.mjs +30 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +816 -58
- package/build/internal/es/meta.mjs +30 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1492,12 +1492,58 @@ interface CustomField {
|
|
|
1492
1492
|
*/
|
|
1493
1493
|
translatedTitle?: string | null;
|
|
1494
1494
|
}
|
|
1495
|
+
interface FormInfo {
|
|
1496
|
+
/**
|
|
1497
|
+
* The identifier of the form schema.
|
|
1498
|
+
* @readonly
|
|
1499
|
+
*/
|
|
1500
|
+
schemaIdentifier?: FormIdentifier;
|
|
1501
|
+
/**
|
|
1502
|
+
* The unique identifier of the form instance.
|
|
1503
|
+
* @format GUID
|
|
1504
|
+
* @readonly
|
|
1505
|
+
*/
|
|
1506
|
+
id?: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* The line item ids associated with this form.
|
|
1509
|
+
* @format GUID
|
|
1510
|
+
* @readonly
|
|
1511
|
+
* @maxSize 300
|
|
1512
|
+
*/
|
|
1513
|
+
lineItemIds?: string[];
|
|
1514
|
+
/**
|
|
1515
|
+
* The translated title of the form.
|
|
1516
|
+
* @maxLength 100
|
|
1517
|
+
* @readonly
|
|
1518
|
+
*/
|
|
1519
|
+
title?: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* The translated subtitles of the form.
|
|
1522
|
+
* @maxSize 10
|
|
1523
|
+
* @maxLength 100
|
|
1524
|
+
* @readonly
|
|
1525
|
+
*/
|
|
1526
|
+
subtitles?: string[] | null;
|
|
1527
|
+
/**
|
|
1528
|
+
* The id of the form submission.
|
|
1529
|
+
* @format GUID
|
|
1530
|
+
*/
|
|
1531
|
+
formSubmissionId?: string | null;
|
|
1532
|
+
}
|
|
1533
|
+
interface FormIdentifier {
|
|
1534
|
+
/** @format GUID */
|
|
1535
|
+
formSchemaId?: string;
|
|
1536
|
+
/** @maxLength 100 */
|
|
1537
|
+
namespace?: string;
|
|
1538
|
+
}
|
|
1495
1539
|
interface CartSummary {
|
|
1496
1540
|
/**
|
|
1497
1541
|
* The Cart ID.
|
|
1498
1542
|
* @format GUID
|
|
1499
1543
|
*/
|
|
1500
1544
|
cartId?: string;
|
|
1545
|
+
/** The Cart revision. */
|
|
1546
|
+
cartRevision?: string;
|
|
1501
1547
|
/**
|
|
1502
1548
|
* A unique identifier for this specific cart calculation.
|
|
1503
1549
|
* @format GUID
|
|
@@ -2238,6 +2284,195 @@ interface CreateCurrentCartResponse {
|
|
|
2238
2284
|
/** The created Cart. */
|
|
2239
2285
|
cart?: Cart;
|
|
2240
2286
|
}
|
|
2287
|
+
interface ItemNotFoundInCatalogErrorData {
|
|
2288
|
+
/**
|
|
2289
|
+
* List of line items not found in the catalog.
|
|
2290
|
+
* @maxSize 300
|
|
2291
|
+
*/
|
|
2292
|
+
invalidItems?: LineItemIdentifier[];
|
|
2293
|
+
}
|
|
2294
|
+
interface LineItemIdentifier extends LineItemIdentifierIdOneOf {
|
|
2295
|
+
/**
|
|
2296
|
+
* Line Item ID.
|
|
2297
|
+
* @format GUID
|
|
2298
|
+
*/
|
|
2299
|
+
lineItemId?: string;
|
|
2300
|
+
/** Catalog reference. */
|
|
2301
|
+
catalogReference?: CatalogReference;
|
|
2302
|
+
}
|
|
2303
|
+
/** @oneof */
|
|
2304
|
+
interface LineItemIdentifierIdOneOf {
|
|
2305
|
+
/**
|
|
2306
|
+
* Line Item ID.
|
|
2307
|
+
* @format GUID
|
|
2308
|
+
*/
|
|
2309
|
+
lineItemId?: string;
|
|
2310
|
+
/** Catalog reference. */
|
|
2311
|
+
catalogReference?: CatalogReference;
|
|
2312
|
+
}
|
|
2313
|
+
interface InsufficientInventoryErrorData {
|
|
2314
|
+
/**
|
|
2315
|
+
* List of line items with insufficient inventory.
|
|
2316
|
+
* @maxSize 300
|
|
2317
|
+
*/
|
|
2318
|
+
invalidItems?: InsufficientInventoryEntry[];
|
|
2319
|
+
}
|
|
2320
|
+
interface InsufficientInventoryEntry {
|
|
2321
|
+
/** Identifier for the line item with insufficient inventory. */
|
|
2322
|
+
id?: LineItemIdentifier;
|
|
2323
|
+
/** Quantity requested by the user, including any existing quantity on the cart. */
|
|
2324
|
+
requestedQuantity?: number;
|
|
2325
|
+
/** Quantity available in inventory. */
|
|
2326
|
+
availableQuantity?: number;
|
|
2327
|
+
}
|
|
2328
|
+
interface MaxLineItemsExceededErrorData {
|
|
2329
|
+
/** Number of line items requested. */
|
|
2330
|
+
requestCount?: number;
|
|
2331
|
+
/** Maximum allowed number of line items. */
|
|
2332
|
+
maxCount?: number;
|
|
2333
|
+
}
|
|
2334
|
+
interface MaxItemModifiersExceededErrorData {
|
|
2335
|
+
/** Number of item modifiers requested. */
|
|
2336
|
+
requestCount?: number;
|
|
2337
|
+
/** Maximum allowed number of item modifiers. */
|
|
2338
|
+
maxCount?: number;
|
|
2339
|
+
}
|
|
2340
|
+
interface DuplicateModifierGroupIdsErrorData {
|
|
2341
|
+
/**
|
|
2342
|
+
* Catalog references for items with duplicate modifier group IDs.
|
|
2343
|
+
* @maxSize 300
|
|
2344
|
+
*/
|
|
2345
|
+
invalidItems?: CatalogReference[];
|
|
2346
|
+
}
|
|
2347
|
+
interface DuplicateItemModifierIdsErrorData {
|
|
2348
|
+
/**
|
|
2349
|
+
* Catalog references for items with duplicate modifier IDs within a modifier group.
|
|
2350
|
+
* @maxSize 300
|
|
2351
|
+
*/
|
|
2352
|
+
invalidItems?: CatalogReference[];
|
|
2353
|
+
}
|
|
2354
|
+
interface LineItemPriceConflictErrorData {
|
|
2355
|
+
/**
|
|
2356
|
+
* The catalog references for the line items with a price conflict, if exists.
|
|
2357
|
+
* @maxSize 300
|
|
2358
|
+
*/
|
|
2359
|
+
invalidItems?: CatalogReference[];
|
|
2360
|
+
}
|
|
2361
|
+
interface FixedQuantityItemErrorData {
|
|
2362
|
+
/**
|
|
2363
|
+
* The line items with fixed quantity.
|
|
2364
|
+
* @maxSize 300
|
|
2365
|
+
*/
|
|
2366
|
+
invalidItems?: LineItemIdentifier[];
|
|
2367
|
+
}
|
|
2368
|
+
interface InvalidMembershipPaymentOptionErrorData {
|
|
2369
|
+
/**
|
|
2370
|
+
* The line items with invalid membership payment options.
|
|
2371
|
+
* @maxSize 300
|
|
2372
|
+
*/
|
|
2373
|
+
invalidItems?: InvalidMembershipEntry[];
|
|
2374
|
+
}
|
|
2375
|
+
interface InvalidMembershipEntry {
|
|
2376
|
+
/** The line item for which the membership payment option is invalid. */
|
|
2377
|
+
invalidItemId?: LineItemIdentifier;
|
|
2378
|
+
/** The selected membership attempted to be used as payment option. */
|
|
2379
|
+
selectedMembership?: V2SelectedMembership;
|
|
2380
|
+
}
|
|
2381
|
+
interface InvalidCouponCodeErrorData {
|
|
2382
|
+
/**
|
|
2383
|
+
* The invalid coupon code.
|
|
2384
|
+
* @maxLength 100
|
|
2385
|
+
*/
|
|
2386
|
+
couponCode?: string;
|
|
2387
|
+
}
|
|
2388
|
+
interface InvalidCouponStatusErrorData extends InvalidCouponStatusErrorDataDetailsOneOf {
|
|
2389
|
+
minLineItemQuantityNotReachedDetails?: MinLineItemQuantityNotReachedDetails;
|
|
2390
|
+
minSubtotalNotReachedDetails?: MinSubtotalNotReachedDetails;
|
|
2391
|
+
/**
|
|
2392
|
+
* Coupon code with invalid status.
|
|
2393
|
+
* @maxLength 100
|
|
2394
|
+
*/
|
|
2395
|
+
couponCode?: string;
|
|
2396
|
+
/** The invalid status of the coupon. */
|
|
2397
|
+
reason?: InvalidCouponReasonWithLiterals;
|
|
2398
|
+
}
|
|
2399
|
+
/** @oneof */
|
|
2400
|
+
interface InvalidCouponStatusErrorDataDetailsOneOf {
|
|
2401
|
+
minLineItemQuantityNotReachedDetails?: MinLineItemQuantityNotReachedDetails;
|
|
2402
|
+
minSubtotalNotReachedDetails?: MinSubtotalNotReachedDetails;
|
|
2403
|
+
}
|
|
2404
|
+
declare enum InvalidCouponReason {
|
|
2405
|
+
/** Unspecified status. */
|
|
2406
|
+
UNKNOWN_INVALID_COUPON_REASON = "UNKNOWN_INVALID_COUPON_REASON",
|
|
2407
|
+
/** The coupon is expired. */
|
|
2408
|
+
EXPIRED = "EXPIRED",
|
|
2409
|
+
/** The coupon is disabled. */
|
|
2410
|
+
DISABLED = "DISABLED",
|
|
2411
|
+
/** The coupon is not active yet. */
|
|
2412
|
+
INACTIVE = "INACTIVE",
|
|
2413
|
+
/** The coupon reached its usage limit. */
|
|
2414
|
+
MAX_USAGE_EXCEEDED = "MAX_USAGE_EXCEEDED",
|
|
2415
|
+
/** The coupon reached its usage limit for the customer. */
|
|
2416
|
+
MAX_USAGE_PER_CUSTOMER_EXCEEDED = "MAX_USAGE_PER_CUSTOMER_EXCEEDED",
|
|
2417
|
+
/** The coupon is not applicable for subscriptions. */
|
|
2418
|
+
NOT_APPLICABLE_TO_SUBSCRIPTIONS = "NOT_APPLICABLE_TO_SUBSCRIPTIONS",
|
|
2419
|
+
/** The coupon is not applicable for the cart's selected line items. */
|
|
2420
|
+
NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS = "NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS",
|
|
2421
|
+
/** The coupon requires a minimum item quantity that was not met. */
|
|
2422
|
+
MIN_LINE_ITEM_QUANTITY_NOT_REACHED = "MIN_LINE_ITEM_QUANTITY_NOT_REACHED",
|
|
2423
|
+
/** The coupon requires a minimum subtotal that was not met. */
|
|
2424
|
+
MIN_SUBTOTAL_NOT_REACHED = "MIN_SUBTOTAL_NOT_REACHED"
|
|
2425
|
+
}
|
|
2426
|
+
/** @enumType */
|
|
2427
|
+
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';
|
|
2428
|
+
interface MinLineItemQuantityNotReachedDetails {
|
|
2429
|
+
/** The required minimum line item quantity. */
|
|
2430
|
+
requiredMinimumQuantity?: number;
|
|
2431
|
+
}
|
|
2432
|
+
interface MinSubtotalNotReachedDetails {
|
|
2433
|
+
/** The required minimum subtotal amount. */
|
|
2434
|
+
requiredMinimumSubtotal?: ConvertedMoney;
|
|
2435
|
+
}
|
|
2436
|
+
interface InvalidGiftCardCodeErrorData {
|
|
2437
|
+
/**
|
|
2438
|
+
* The invalid gift card code.
|
|
2439
|
+
* @maxLength 100
|
|
2440
|
+
*/
|
|
2441
|
+
giftCardCode?: string;
|
|
2442
|
+
}
|
|
2443
|
+
interface InvalidGiftCardStatusErrorData {
|
|
2444
|
+
/**
|
|
2445
|
+
* Gift card code with invalid status.
|
|
2446
|
+
* @maxLength 100
|
|
2447
|
+
*/
|
|
2448
|
+
giftCardCode?: string;
|
|
2449
|
+
/** The invalid status of the gift card. */
|
|
2450
|
+
reason?: InvalidGiftCardReasonWithLiterals;
|
|
2451
|
+
}
|
|
2452
|
+
declare enum InvalidGiftCardReason {
|
|
2453
|
+
/** Unspecified status. */
|
|
2454
|
+
UNKNOWN_INVALID_GIFT_CARD_REASON = "UNKNOWN_INVALID_GIFT_CARD_REASON",
|
|
2455
|
+
/** The gift card is expired. */
|
|
2456
|
+
EXPIRED = "EXPIRED",
|
|
2457
|
+
/** The gift card is disabled. */
|
|
2458
|
+
DISABLED = "DISABLED",
|
|
2459
|
+
/** The gift card has no remaining balance. */
|
|
2460
|
+
EMPTY_BALANCE = "EMPTY_BALANCE"
|
|
2461
|
+
}
|
|
2462
|
+
/** @enumType */
|
|
2463
|
+
type InvalidGiftCardReasonWithLiterals = InvalidGiftCardReason | 'UNKNOWN_INVALID_GIFT_CARD_REASON' | 'EXPIRED' | 'DISABLED' | 'EMPTY_BALANCE';
|
|
2464
|
+
interface DeliveryMethodNotFoundErrorData {
|
|
2465
|
+
/**
|
|
2466
|
+
* Code of the delivery method not found.
|
|
2467
|
+
* @maxLength 100
|
|
2468
|
+
*/
|
|
2469
|
+
code?: string;
|
|
2470
|
+
/**
|
|
2471
|
+
* Optional app ID for the delivery method.
|
|
2472
|
+
* @maxLength 100
|
|
2473
|
+
*/
|
|
2474
|
+
appId?: string | null;
|
|
2475
|
+
}
|
|
2241
2476
|
interface GetCurrentCartRequest {
|
|
2242
2477
|
}
|
|
2243
2478
|
interface GetCurrentCartResponse {
|
|
@@ -2252,6 +2487,18 @@ interface UpdateCurrentCartResponse {
|
|
|
2252
2487
|
/** Updated Cart. */
|
|
2253
2488
|
cart?: Cart;
|
|
2254
2489
|
}
|
|
2490
|
+
interface CartAlreadyOrderedErrorData {
|
|
2491
|
+
/**
|
|
2492
|
+
* Cart ID that has already been converted to an order.
|
|
2493
|
+
* @format GUID
|
|
2494
|
+
*/
|
|
2495
|
+
cartId?: string;
|
|
2496
|
+
/**
|
|
2497
|
+
* Order ID associated with the cart.
|
|
2498
|
+
* @format GUID
|
|
2499
|
+
*/
|
|
2500
|
+
orderId?: string;
|
|
2501
|
+
}
|
|
2255
2502
|
interface DeleteCurrentCartRequest {
|
|
2256
2503
|
}
|
|
2257
2504
|
interface DeleteCurrentCartResponse {
|
|
@@ -2349,6 +2596,14 @@ interface RemoveLineItemsFromCurrentCartResponse {
|
|
|
2349
2596
|
/** Updated Cart. */
|
|
2350
2597
|
cart?: Cart;
|
|
2351
2598
|
}
|
|
2599
|
+
interface LineItemNotFoundInCartErrorData {
|
|
2600
|
+
/**
|
|
2601
|
+
* IDs of the line items not found in the cart.
|
|
2602
|
+
* @format GUID
|
|
2603
|
+
* @maxSize 300
|
|
2604
|
+
*/
|
|
2605
|
+
lineItemIds?: string[];
|
|
2606
|
+
}
|
|
2352
2607
|
interface UpdateLineItemsInCurrentCartRequest {
|
|
2353
2608
|
/**
|
|
2354
2609
|
* Line item updates to apply.
|
|
@@ -2388,6 +2643,22 @@ interface UpdateLineItemsInCurrentCartResponse {
|
|
|
2388
2643
|
/** Updated Cart. */
|
|
2389
2644
|
cart?: Cart;
|
|
2390
2645
|
}
|
|
2646
|
+
interface EmptyLineItemUpdatesErrorData {
|
|
2647
|
+
/**
|
|
2648
|
+
* Line item IDs with empty update fields.
|
|
2649
|
+
* @format GUID
|
|
2650
|
+
* @maxSize 300
|
|
2651
|
+
*/
|
|
2652
|
+
lineItemIds?: string[];
|
|
2653
|
+
}
|
|
2654
|
+
interface DuplicateLineItemUpdatesErrorData {
|
|
2655
|
+
/**
|
|
2656
|
+
* Duplicate line item IDs in the update request.
|
|
2657
|
+
* @format GUID
|
|
2658
|
+
* @maxSize 300
|
|
2659
|
+
*/
|
|
2660
|
+
duplicateLineItemIds?: string[];
|
|
2661
|
+
}
|
|
2391
2662
|
interface AddCouponToCurrentCartRequest {
|
|
2392
2663
|
/**
|
|
2393
2664
|
* Coupon to apply.
|
|
@@ -2400,6 +2671,13 @@ interface AddCouponToCurrentCartResponse {
|
|
|
2400
2671
|
/** Updated Cart. */
|
|
2401
2672
|
cart?: Cart;
|
|
2402
2673
|
}
|
|
2674
|
+
interface CouponAlreadyExistsErrorData {
|
|
2675
|
+
/**
|
|
2676
|
+
* Coupon code that already exists in the cart.
|
|
2677
|
+
* @maxLength 100
|
|
2678
|
+
*/
|
|
2679
|
+
couponCode?: string;
|
|
2680
|
+
}
|
|
2403
2681
|
interface RemoveCouponFromCurrentCartRequest {
|
|
2404
2682
|
/**
|
|
2405
2683
|
* Coupon ID.
|
|
@@ -2411,6 +2689,13 @@ interface RemoveCouponFromCurrentCartResponse {
|
|
|
2411
2689
|
/** Updated Cart. */
|
|
2412
2690
|
cart?: Cart;
|
|
2413
2691
|
}
|
|
2692
|
+
interface CouponNotFoundInCartErrorData {
|
|
2693
|
+
/**
|
|
2694
|
+
* Coupon ID not found in the cart.
|
|
2695
|
+
* @format GUID
|
|
2696
|
+
*/
|
|
2697
|
+
couponId?: string;
|
|
2698
|
+
}
|
|
2414
2699
|
interface SetDeliveryMethodForCurrentCartRequest {
|
|
2415
2700
|
/** Delivery method. */
|
|
2416
2701
|
deliveryMethod: DeliveryMethodInput;
|
|
@@ -2431,6 +2716,13 @@ interface AddGiftCardToCurrentCartResponse {
|
|
|
2431
2716
|
/** Updated Cart. */
|
|
2432
2717
|
cart?: Cart;
|
|
2433
2718
|
}
|
|
2719
|
+
interface GiftCardAlreadyExistsErrorData {
|
|
2720
|
+
/**
|
|
2721
|
+
* Gift card code that already exists in the cart.
|
|
2722
|
+
* @maxLength 100
|
|
2723
|
+
*/
|
|
2724
|
+
giftCardCode?: string;
|
|
2725
|
+
}
|
|
2434
2726
|
interface RemoveGiftCardFromCurrentCartRequest {
|
|
2435
2727
|
/**
|
|
2436
2728
|
* Gift card ID.
|
|
@@ -2442,6 +2734,13 @@ interface RemoveGiftCardFromCurrentCartResponse {
|
|
|
2442
2734
|
/** Updated Cart. */
|
|
2443
2735
|
cart?: Cart;
|
|
2444
2736
|
}
|
|
2737
|
+
interface GiftCardNotFoundInCartErrorData {
|
|
2738
|
+
/**
|
|
2739
|
+
* Gift Card ID not found in the cart.
|
|
2740
|
+
* @format GUID
|
|
2741
|
+
*/
|
|
2742
|
+
giftCardId?: string;
|
|
2743
|
+
}
|
|
2445
2744
|
interface UnmarkAsCurrentCartRequest {
|
|
2446
2745
|
}
|
|
2447
2746
|
interface UnmarkAsCurrentCartResponse {
|
|
@@ -2631,34 +2930,6 @@ interface GetCartResponse {
|
|
|
2631
2930
|
/** The requested Cart. */
|
|
2632
2931
|
cart?: Cart;
|
|
2633
2932
|
}
|
|
2634
|
-
/** temp for client testing */
|
|
2635
|
-
interface DummyErrorDataMethodLevel {
|
|
2636
|
-
/** This is a dummy field. */
|
|
2637
|
-
invalidItems?: LineItemIdentifier[];
|
|
2638
|
-
/** The fresh cart after resolving the error. */
|
|
2639
|
-
freshCart?: Cart;
|
|
2640
|
-
/** dummy string */
|
|
2641
|
-
dummyMethod?: string;
|
|
2642
|
-
}
|
|
2643
|
-
interface LineItemIdentifier extends LineItemIdentifierIdOneOf {
|
|
2644
|
-
/**
|
|
2645
|
-
* Line Item ID.
|
|
2646
|
-
* @format GUID
|
|
2647
|
-
*/
|
|
2648
|
-
lineItemId?: string;
|
|
2649
|
-
/** Catalog reference. */
|
|
2650
|
-
catalogReference?: CatalogReference;
|
|
2651
|
-
}
|
|
2652
|
-
/** @oneof */
|
|
2653
|
-
interface LineItemIdentifierIdOneOf {
|
|
2654
|
-
/**
|
|
2655
|
-
* Line Item ID.
|
|
2656
|
-
* @format GUID
|
|
2657
|
-
*/
|
|
2658
|
-
lineItemId?: string;
|
|
2659
|
-
/** Catalog reference. */
|
|
2660
|
-
catalogReference?: CatalogReference;
|
|
2661
|
-
}
|
|
2662
2933
|
interface UpdateCartRequest {
|
|
2663
2934
|
/** Cart to be updated, may be partial. */
|
|
2664
2935
|
cart?: Cart;
|
|
@@ -2722,12 +2993,6 @@ interface CalculateCartForV1Request {
|
|
|
2722
2993
|
* @format GUID
|
|
2723
2994
|
*/
|
|
2724
2995
|
cartId?: string;
|
|
2725
|
-
/**
|
|
2726
|
-
* Whether to retrieve the latest item prices, discounts, and inventory data from the catalogs before calculating the cart.
|
|
2727
|
-
*
|
|
2728
|
-
* Default: `false`
|
|
2729
|
-
*/
|
|
2730
|
-
refreshCart?: boolean;
|
|
2731
2996
|
/**
|
|
2732
2997
|
* Specifies the level of **business validation** to perform during cart calculation,
|
|
2733
2998
|
* by calling the [Validations service plugin](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
|
|
@@ -2743,6 +3008,8 @@ interface CalculateCartForV1Request {
|
|
|
2743
3008
|
* This field is legacy and currently used by PayLinks and plan to be deprecated
|
|
2744
3009
|
*/
|
|
2745
3010
|
checkoutStage?: Stage;
|
|
3011
|
+
/** Calculations overrides for backward compatibility with V1. */
|
|
3012
|
+
calculationOverrides?: CalculationOverrides;
|
|
2746
3013
|
}
|
|
2747
3014
|
interface Stage extends StageStagesOneOf {
|
|
2748
3015
|
/** Supported values: */
|
|
@@ -2768,6 +3035,48 @@ declare enum CheckoutStage {
|
|
|
2768
3035
|
}
|
|
2769
3036
|
/** @enumType */
|
|
2770
3037
|
type CheckoutStageWithLiterals = CheckoutStage | 'UNKNOWN_CHECKOUT_STAGE' | 'INITIALIZATION' | 'IN_PROGRESS' | 'ORDER_CREATION';
|
|
3038
|
+
interface CalculationOverrides {
|
|
3039
|
+
/**
|
|
3040
|
+
* Delivery method.
|
|
3041
|
+
*
|
|
3042
|
+
* Pass this field only when there is no existing delivery method in the cart.
|
|
3043
|
+
*/
|
|
3044
|
+
deliveryMethod?: DeliveryMethodInput;
|
|
3045
|
+
/** Delivery address. Used for calculating tax and shipping (when applicable). */
|
|
3046
|
+
deliveryAddress?: Address;
|
|
3047
|
+
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
3048
|
+
billingAddress?: Address;
|
|
3049
|
+
/** The selected membership payment options and which line items they apply to. */
|
|
3050
|
+
selectedMemberships?: SelectedMemberships;
|
|
3051
|
+
}
|
|
3052
|
+
interface SelectedMemberships {
|
|
3053
|
+
/**
|
|
3054
|
+
* Selected memberships.
|
|
3055
|
+
* @maxSize 300
|
|
3056
|
+
*/
|
|
3057
|
+
memberships?: SelectedMembership[];
|
|
3058
|
+
}
|
|
3059
|
+
interface SelectedMembership {
|
|
3060
|
+
/**
|
|
3061
|
+
* Membership ID.
|
|
3062
|
+
* @minLength 1
|
|
3063
|
+
* @maxLength 100
|
|
3064
|
+
*/
|
|
3065
|
+
id?: string;
|
|
3066
|
+
/**
|
|
3067
|
+
* ID of the app providing this payment option.
|
|
3068
|
+
* @format GUID
|
|
3069
|
+
*/
|
|
3070
|
+
appId?: string;
|
|
3071
|
+
/**
|
|
3072
|
+
* IDs of the line items this membership applies to.
|
|
3073
|
+
* @minSize 1
|
|
3074
|
+
* @maxSize 300
|
|
3075
|
+
* @minLength 1
|
|
3076
|
+
* @maxLength 100
|
|
3077
|
+
*/
|
|
3078
|
+
lineItemIds?: string[];
|
|
3079
|
+
}
|
|
2771
3080
|
interface CalculateCartForV1Response {
|
|
2772
3081
|
/** The Cart that was calculated. */
|
|
2773
3082
|
cart?: Cart;
|
|
@@ -3601,27 +3910,6 @@ interface InvalidMembership {
|
|
|
3601
3910
|
*/
|
|
3602
3911
|
reason?: string;
|
|
3603
3912
|
}
|
|
3604
|
-
interface SelectedMembership {
|
|
3605
|
-
/**
|
|
3606
|
-
* Membership ID.
|
|
3607
|
-
* @minLength 1
|
|
3608
|
-
* @maxLength 100
|
|
3609
|
-
*/
|
|
3610
|
-
id?: string;
|
|
3611
|
-
/**
|
|
3612
|
-
* ID of the app providing this payment option.
|
|
3613
|
-
* @format GUID
|
|
3614
|
-
*/
|
|
3615
|
-
appId?: string;
|
|
3616
|
-
/**
|
|
3617
|
-
* IDs of the line items this membership applies to.
|
|
3618
|
-
* @minSize 1
|
|
3619
|
-
* @maxSize 300
|
|
3620
|
-
* @minLength 1
|
|
3621
|
-
* @maxLength 100
|
|
3622
|
-
*/
|
|
3623
|
-
lineItemIds?: string[];
|
|
3624
|
-
}
|
|
3625
3913
|
interface AdditionalFee {
|
|
3626
3914
|
/**
|
|
3627
3915
|
* Additional fee's unique code (or ID) for future processing.
|
|
@@ -3673,10 +3961,54 @@ declare enum AdditionalFeeSource {
|
|
|
3673
3961
|
/** The additional fee was added manually on the request */
|
|
3674
3962
|
MANUAL = "MANUAL",
|
|
3675
3963
|
/** The additional fee was added by the shipping provider */
|
|
3676
|
-
SHIPPING = "SHIPPING"
|
|
3964
|
+
SHIPPING = "SHIPPING",
|
|
3965
|
+
/** The additional fee was added by a Wix vertical and represents a Wix platform fee */
|
|
3966
|
+
PLATFORM_FEE = "PLATFORM_FEE"
|
|
3967
|
+
}
|
|
3968
|
+
/** @enumType */
|
|
3969
|
+
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM_FEE';
|
|
3970
|
+
interface PlatformFeeSummary {
|
|
3971
|
+
/** Total platform fee amount. */
|
|
3972
|
+
total?: MultiCurrencyPrice;
|
|
3973
|
+
/** Total platform fee passed on to the customer. */
|
|
3974
|
+
totalPassOn?: MultiCurrencyPrice;
|
|
3975
|
+
/** Total platform fee absorbed by the merchant. */
|
|
3976
|
+
totalAbsorbed?: MultiCurrencyPrice;
|
|
3977
|
+
/**
|
|
3978
|
+
* Calculated platform fees.
|
|
3979
|
+
* @maxSize 100
|
|
3980
|
+
*/
|
|
3981
|
+
calculatedPlatformFees?: CalculatedPlatformFee[];
|
|
3982
|
+
}
|
|
3983
|
+
interface CalculatedPlatformFee {
|
|
3984
|
+
/** Platform fee name. */
|
|
3985
|
+
name?: TranslatableString;
|
|
3986
|
+
/** Platform fee amount. */
|
|
3987
|
+
amount?: MultiCurrencyPrice;
|
|
3988
|
+
/**
|
|
3989
|
+
* ID of the line item the platform fee applies to.
|
|
3990
|
+
* @format GUID
|
|
3991
|
+
*/
|
|
3992
|
+
lineItemId?: string;
|
|
3993
|
+
/** Platform fee charge type. */
|
|
3994
|
+
chargeType?: PlatformFeeChargeTypeWithLiterals;
|
|
3995
|
+
/**
|
|
3996
|
+
* Percentage rate charged as platform fee.
|
|
3997
|
+
* The fee rate expressed as a decimal fraction between 0 and 1. For example, `0.05` for 5%.
|
|
3998
|
+
* @format DECIMAL_VALUE
|
|
3999
|
+
* @decimalValue options { gte:0, lte:1, maxScale:4 }
|
|
4000
|
+
*/
|
|
4001
|
+
percentageRate?: string;
|
|
4002
|
+
}
|
|
4003
|
+
declare enum PlatformFeeChargeType {
|
|
4004
|
+
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
4005
|
+
/** The platform fee is passed on to the customer. */
|
|
4006
|
+
PASS_ON = "PASS_ON",
|
|
4007
|
+
/** The platform fee is absorbed by the merchant. */
|
|
4008
|
+
ABSORBED = "ABSORBED"
|
|
3677
4009
|
}
|
|
3678
4010
|
/** @enumType */
|
|
3679
|
-
type
|
|
4011
|
+
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
|
|
3680
4012
|
interface GetCheckoutURLRequest {
|
|
3681
4013
|
/**
|
|
3682
4014
|
* ID of the Cart to calculate.
|
|
@@ -3765,6 +4097,97 @@ interface PlaceOrderResponse {
|
|
|
3765
4097
|
/** Whether an order was successfully created from this cart and the payment transaction was completed. */
|
|
3766
4098
|
completed?: boolean;
|
|
3767
4099
|
}
|
|
4100
|
+
interface AllLineItemsOutOfStockErrorData {
|
|
4101
|
+
/**
|
|
4102
|
+
* IDs of the line items that are out of stock.
|
|
4103
|
+
* @format GUID
|
|
4104
|
+
* @maxSize 300
|
|
4105
|
+
*/
|
|
4106
|
+
lineItemIds?: string[];
|
|
4107
|
+
}
|
|
4108
|
+
interface SomeLineItemsOutOfStockErrorData {
|
|
4109
|
+
/**
|
|
4110
|
+
* IDs of the line items that are out of stock, if available.
|
|
4111
|
+
* @format GUID
|
|
4112
|
+
* @maxSize 300
|
|
4113
|
+
*/
|
|
4114
|
+
lineItemIds?: string[];
|
|
4115
|
+
}
|
|
4116
|
+
interface InvalidThirdPartyCheckoutTokenErrorData {
|
|
4117
|
+
/**
|
|
4118
|
+
* The invalid third party checkout token.
|
|
4119
|
+
* @maxLength 3000
|
|
4120
|
+
*/
|
|
4121
|
+
token?: string;
|
|
4122
|
+
}
|
|
4123
|
+
interface InvalidPriceVerificationTokenErrorData {
|
|
4124
|
+
/**
|
|
4125
|
+
* The invalid price verification token.
|
|
4126
|
+
* @maxLength 3000
|
|
4127
|
+
*/
|
|
4128
|
+
token?: string;
|
|
4129
|
+
}
|
|
4130
|
+
interface ViolationWithErrorSeverityErrorData {
|
|
4131
|
+
/** List of violations. */
|
|
4132
|
+
violationsList?: ViolationsList;
|
|
4133
|
+
}
|
|
4134
|
+
interface ViolationsList {
|
|
4135
|
+
/**
|
|
4136
|
+
* Violations risen by ValidationsSPI implementers.
|
|
4137
|
+
* @maxSize 100
|
|
4138
|
+
*/
|
|
4139
|
+
violations?: Violation[];
|
|
4140
|
+
}
|
|
4141
|
+
interface CalculationErrorData {
|
|
4142
|
+
/** Calculation errors encountered during cart calculation. */
|
|
4143
|
+
calculationErrors?: CalculationErrors;
|
|
4144
|
+
}
|
|
4145
|
+
interface InvalidMembershipErrorData {
|
|
4146
|
+
/**
|
|
4147
|
+
* The error message for invalid membership.
|
|
4148
|
+
* @maxLength 100
|
|
4149
|
+
*/
|
|
4150
|
+
message?: string;
|
|
4151
|
+
}
|
|
4152
|
+
interface InvalidPaymentStatusErrorData {
|
|
4153
|
+
/**
|
|
4154
|
+
* The payment token, if available.
|
|
4155
|
+
* @maxLength 100
|
|
4156
|
+
*/
|
|
4157
|
+
paymentToken?: string | null;
|
|
4158
|
+
/**
|
|
4159
|
+
* The transaction status.
|
|
4160
|
+
* @maxLength 100
|
|
4161
|
+
*/
|
|
4162
|
+
transactionStatus?: string;
|
|
4163
|
+
/**
|
|
4164
|
+
* The failure details, if available.
|
|
4165
|
+
* @maxLength 100
|
|
4166
|
+
*/
|
|
4167
|
+
failureDetails?: string | null;
|
|
4168
|
+
}
|
|
4169
|
+
interface GiftCardRedeemErrorData {
|
|
4170
|
+
/**
|
|
4171
|
+
* The error message for the gift card redemption failure.
|
|
4172
|
+
* @maxLength 100
|
|
4173
|
+
*/
|
|
4174
|
+
error?: string;
|
|
4175
|
+
}
|
|
4176
|
+
interface EmptyPaymentTokenErrorData {
|
|
4177
|
+
/**
|
|
4178
|
+
* Order total price
|
|
4179
|
+
* @maxLength 100
|
|
4180
|
+
*/
|
|
4181
|
+
total?: string;
|
|
4182
|
+
}
|
|
4183
|
+
interface MembersOnlyItemErrorData {
|
|
4184
|
+
/**
|
|
4185
|
+
* IDs of the members-only items in the cart.
|
|
4186
|
+
* @format GUID
|
|
4187
|
+
* @maxSize 300
|
|
4188
|
+
*/
|
|
4189
|
+
lineItemIds?: string[];
|
|
4190
|
+
}
|
|
3768
4191
|
interface AddLineItemsRequest {
|
|
3769
4192
|
/**
|
|
3770
4193
|
* Cart ID.
|
|
@@ -3934,6 +4357,341 @@ interface HeadersEntry {
|
|
|
3934
4357
|
key?: string;
|
|
3935
4358
|
value?: string;
|
|
3936
4359
|
}
|
|
4360
|
+
interface UpdateFormSubmissionsRequest {
|
|
4361
|
+
/**
|
|
4362
|
+
* ID of the Cart to update.
|
|
4363
|
+
* @format GUID
|
|
4364
|
+
*/
|
|
4365
|
+
cartId?: string;
|
|
4366
|
+
/**
|
|
4367
|
+
* Forms submission data to set on the cart.
|
|
4368
|
+
* @minSize 1
|
|
4369
|
+
* @maxSize 1000
|
|
4370
|
+
*/
|
|
4371
|
+
formSubmissions?: FormSubmission[];
|
|
4372
|
+
}
|
|
4373
|
+
interface FormSubmission {
|
|
4374
|
+
/** @format GUID */
|
|
4375
|
+
id?: string;
|
|
4376
|
+
/** @format GUID */
|
|
4377
|
+
formSubmissionId?: string;
|
|
4378
|
+
}
|
|
4379
|
+
interface UpdateFormSubmissionsResponse {
|
|
4380
|
+
/** Updated Cart. */
|
|
4381
|
+
cart?: Cart;
|
|
4382
|
+
}
|
|
4383
|
+
/** @docsIgnore */
|
|
4384
|
+
type CreateCurrentCartApplicationErrors = {
|
|
4385
|
+
code?: 'ITEM_NOT_FOUND_IN_CATALOG';
|
|
4386
|
+
description?: string;
|
|
4387
|
+
data?: ItemNotFoundInCatalogErrorData;
|
|
4388
|
+
} | {
|
|
4389
|
+
code?: 'INSUFFICIENT_INVENTORY';
|
|
4390
|
+
description?: string;
|
|
4391
|
+
data?: InsufficientInventoryErrorData;
|
|
4392
|
+
} | {
|
|
4393
|
+
code?: 'MAX_LINE_ITEMS_EXCEEDED';
|
|
4394
|
+
description?: string;
|
|
4395
|
+
data?: MaxLineItemsExceededErrorData;
|
|
4396
|
+
} | {
|
|
4397
|
+
code?: 'MAX_ITEM_MODIFIERS_EXCEEDED';
|
|
4398
|
+
description?: string;
|
|
4399
|
+
data?: MaxItemModifiersExceededErrorData;
|
|
4400
|
+
} | {
|
|
4401
|
+
code?: 'DUPLICATE_MODIFIER_GROUP_IDS';
|
|
4402
|
+
description?: string;
|
|
4403
|
+
data?: DuplicateModifierGroupIdsErrorData;
|
|
4404
|
+
} | {
|
|
4405
|
+
code?: 'DUPLICATE_ITEM_MODIFIER_IDS';
|
|
4406
|
+
description?: string;
|
|
4407
|
+
data?: DuplicateItemModifierIdsErrorData;
|
|
4408
|
+
} | {
|
|
4409
|
+
code?: 'LINE_ITEM_PRICE_CONFLICT';
|
|
4410
|
+
description?: string;
|
|
4411
|
+
data?: LineItemPriceConflictErrorData;
|
|
4412
|
+
} | {
|
|
4413
|
+
code?: 'FIXED_QUANTITY_ITEM';
|
|
4414
|
+
description?: string;
|
|
4415
|
+
data?: FixedQuantityItemErrorData;
|
|
4416
|
+
} | {
|
|
4417
|
+
code?: 'INVALID_MEMBERSHIP_PAYMENT_OPTION';
|
|
4418
|
+
description?: string;
|
|
4419
|
+
data?: InvalidMembershipPaymentOptionErrorData;
|
|
4420
|
+
} | {
|
|
4421
|
+
code?: 'INVALID_COUPON_CODE';
|
|
4422
|
+
description?: string;
|
|
4423
|
+
data?: InvalidCouponCodeErrorData;
|
|
4424
|
+
} | {
|
|
4425
|
+
code?: 'INVALID_COUPON_STATUS';
|
|
4426
|
+
description?: string;
|
|
4427
|
+
data?: InvalidCouponStatusErrorData;
|
|
4428
|
+
} | {
|
|
4429
|
+
code?: 'INVALID_GIFT_CARD_CODE';
|
|
4430
|
+
description?: string;
|
|
4431
|
+
data?: InvalidGiftCardCodeErrorData;
|
|
4432
|
+
} | {
|
|
4433
|
+
code?: 'INVALID_GIFT_CARD_STATUS';
|
|
4434
|
+
description?: string;
|
|
4435
|
+
data?: InvalidGiftCardStatusErrorData;
|
|
4436
|
+
} | {
|
|
4437
|
+
code?: 'DELIVERY_METHOD_NOT_FOUND';
|
|
4438
|
+
description?: string;
|
|
4439
|
+
data?: DeliveryMethodNotFoundErrorData;
|
|
4440
|
+
} | {
|
|
4441
|
+
code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
|
|
4442
|
+
description?: string;
|
|
4443
|
+
data?: Record<string, any>;
|
|
4444
|
+
} | {
|
|
4445
|
+
code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
|
|
4446
|
+
description?: string;
|
|
4447
|
+
data?: Record<string, any>;
|
|
4448
|
+
} | {
|
|
4449
|
+
code?: 'DEPOSIT_AMOUNT_GREATER_THAN_UNIT_PRICE';
|
|
4450
|
+
description?: string;
|
|
4451
|
+
data?: Record<string, any>;
|
|
4452
|
+
};
|
|
4453
|
+
/** @docsIgnore */
|
|
4454
|
+
type UpdateCurrentCartApplicationErrors = {
|
|
4455
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4456
|
+
description?: string;
|
|
4457
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4458
|
+
} | {
|
|
4459
|
+
code?: 'ADDRESS_MISSING_COUNTRY';
|
|
4460
|
+
description?: string;
|
|
4461
|
+
data?: Record<string, any>;
|
|
4462
|
+
} | {
|
|
4463
|
+
code?: 'BUSINESS_LOCATION_NOT_FOUND';
|
|
4464
|
+
description?: string;
|
|
4465
|
+
data?: Record<string, any>;
|
|
4466
|
+
} | {
|
|
4467
|
+
code?: 'INVALID_ADDRESS_FORMAT';
|
|
4468
|
+
description?: string;
|
|
4469
|
+
data?: Record<string, any>;
|
|
4470
|
+
} | {
|
|
4471
|
+
code?: 'DATA_EXTENSION_UPDATE_FAILED';
|
|
4472
|
+
description?: string;
|
|
4473
|
+
data?: Record<string, any>;
|
|
4474
|
+
};
|
|
4475
|
+
/** @docsIgnore */
|
|
4476
|
+
type RefreshCurrentCartApplicationErrors = {
|
|
4477
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4478
|
+
description?: string;
|
|
4479
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4480
|
+
};
|
|
4481
|
+
/** @docsIgnore */
|
|
4482
|
+
type CalculateCurrentCartApplicationErrors = {
|
|
4483
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4484
|
+
description?: string;
|
|
4485
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4486
|
+
};
|
|
4487
|
+
/** @docsIgnore */
|
|
4488
|
+
type AddLineItemsToCurrentCartApplicationErrors = {
|
|
4489
|
+
code?: 'ITEM_NOT_FOUND_IN_CATALOG';
|
|
4490
|
+
description?: string;
|
|
4491
|
+
data?: ItemNotFoundInCatalogErrorData;
|
|
4492
|
+
} | {
|
|
4493
|
+
code?: 'INSUFFICIENT_INVENTORY';
|
|
4494
|
+
description?: string;
|
|
4495
|
+
data?: InsufficientInventoryErrorData;
|
|
4496
|
+
} | {
|
|
4497
|
+
code?: 'MAX_LINE_ITEMS_EXCEEDED';
|
|
4498
|
+
description?: string;
|
|
4499
|
+
data?: MaxLineItemsExceededErrorData;
|
|
4500
|
+
} | {
|
|
4501
|
+
code?: 'MAX_ITEM_MODIFIERS_EXCEEDED';
|
|
4502
|
+
description?: string;
|
|
4503
|
+
data?: MaxItemModifiersExceededErrorData;
|
|
4504
|
+
} | {
|
|
4505
|
+
code?: 'DUPLICATE_MODIFIER_GROUP_IDS';
|
|
4506
|
+
description?: string;
|
|
4507
|
+
data?: DuplicateModifierGroupIdsErrorData;
|
|
4508
|
+
} | {
|
|
4509
|
+
code?: 'DUPLICATE_ITEM_MODIFIER_IDS';
|
|
4510
|
+
description?: string;
|
|
4511
|
+
data?: DuplicateItemModifierIdsErrorData;
|
|
4512
|
+
} | {
|
|
4513
|
+
code?: 'LINE_ITEM_PRICE_CONFLICT';
|
|
4514
|
+
description?: string;
|
|
4515
|
+
data?: LineItemPriceConflictErrorData;
|
|
4516
|
+
} | {
|
|
4517
|
+
code?: 'FIXED_QUANTITY_ITEM';
|
|
4518
|
+
description?: string;
|
|
4519
|
+
data?: FixedQuantityItemErrorData;
|
|
4520
|
+
} | {
|
|
4521
|
+
code?: 'INVALID_MEMBERSHIP_PAYMENT_OPTION';
|
|
4522
|
+
description?: string;
|
|
4523
|
+
data?: InvalidMembershipPaymentOptionErrorData;
|
|
4524
|
+
} | {
|
|
4525
|
+
code?: 'INVALID_COUPON_CODE';
|
|
4526
|
+
description?: string;
|
|
4527
|
+
data?: InvalidCouponCodeErrorData;
|
|
4528
|
+
} | {
|
|
4529
|
+
code?: 'INVALID_COUPON_STATUS';
|
|
4530
|
+
description?: string;
|
|
4531
|
+
data?: InvalidCouponStatusErrorData;
|
|
4532
|
+
} | {
|
|
4533
|
+
code?: 'INVALID_GIFT_CARD_CODE';
|
|
4534
|
+
description?: string;
|
|
4535
|
+
data?: InvalidGiftCardCodeErrorData;
|
|
4536
|
+
} | {
|
|
4537
|
+
code?: 'INVALID_GIFT_CARD_STATUS';
|
|
4538
|
+
description?: string;
|
|
4539
|
+
data?: InvalidGiftCardStatusErrorData;
|
|
4540
|
+
} | {
|
|
4541
|
+
code?: 'DELIVERY_METHOD_NOT_FOUND';
|
|
4542
|
+
description?: string;
|
|
4543
|
+
data?: DeliveryMethodNotFoundErrorData;
|
|
4544
|
+
} | {
|
|
4545
|
+
code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
|
|
4546
|
+
description?: string;
|
|
4547
|
+
data?: Record<string, any>;
|
|
4548
|
+
} | {
|
|
4549
|
+
code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
|
|
4550
|
+
description?: string;
|
|
4551
|
+
data?: Record<string, any>;
|
|
4552
|
+
} | {
|
|
4553
|
+
code?: 'NO_LINE_ITEMS_TO_ADD';
|
|
4554
|
+
description?: string;
|
|
4555
|
+
data?: Record<string, any>;
|
|
4556
|
+
} | {
|
|
4557
|
+
code?: 'DEPOSIT_AMOUNT_GREATER_THAN_UNIT_PRICE';
|
|
4558
|
+
description?: string;
|
|
4559
|
+
data?: Record<string, any>;
|
|
4560
|
+
};
|
|
4561
|
+
/** @docsIgnore */
|
|
4562
|
+
type RemoveLineItemsFromCurrentCartApplicationErrors = {
|
|
4563
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4564
|
+
description?: string;
|
|
4565
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4566
|
+
} | {
|
|
4567
|
+
code?: 'LINE_ITEM_NOT_FOUND_IN_CART';
|
|
4568
|
+
description?: string;
|
|
4569
|
+
data?: LineItemNotFoundInCartErrorData;
|
|
4570
|
+
};
|
|
4571
|
+
/** @docsIgnore */
|
|
4572
|
+
type UpdateLineItemsInCurrentCartApplicationErrors = {
|
|
4573
|
+
code?: 'EMPTY_LINE_ITEM_UPDATES';
|
|
4574
|
+
description?: string;
|
|
4575
|
+
data?: EmptyLineItemUpdatesErrorData;
|
|
4576
|
+
} | {
|
|
4577
|
+
code?: 'DUPLICATE_LINE_ITEM_UPDATES';
|
|
4578
|
+
description?: string;
|
|
4579
|
+
data?: DuplicateLineItemUpdatesErrorData;
|
|
4580
|
+
} | {
|
|
4581
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4582
|
+
description?: string;
|
|
4583
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4584
|
+
} | {
|
|
4585
|
+
code?: 'LINE_ITEM_NOT_FOUND_IN_CART';
|
|
4586
|
+
description?: string;
|
|
4587
|
+
data?: LineItemNotFoundInCartErrorData;
|
|
4588
|
+
} | {
|
|
4589
|
+
code?: 'ITEM_NOT_FOUND_IN_CATALOG';
|
|
4590
|
+
description?: string;
|
|
4591
|
+
data?: ItemNotFoundInCatalogErrorData;
|
|
4592
|
+
} | {
|
|
4593
|
+
code?: 'INSUFFICIENT_INVENTORY';
|
|
4594
|
+
description?: string;
|
|
4595
|
+
data?: InsufficientInventoryErrorData;
|
|
4596
|
+
};
|
|
4597
|
+
/** @docsIgnore */
|
|
4598
|
+
type AddCouponToCurrentCartApplicationErrors = {
|
|
4599
|
+
code?: 'COUPON_ALREADY_EXISTS';
|
|
4600
|
+
description?: string;
|
|
4601
|
+
data?: CouponAlreadyExistsErrorData;
|
|
4602
|
+
} | {
|
|
4603
|
+
code?: 'MAX_COUPONS_PER_CART_EXCEEDED';
|
|
4604
|
+
description?: string;
|
|
4605
|
+
data?: Record<string, any>;
|
|
4606
|
+
} | {
|
|
4607
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4608
|
+
description?: string;
|
|
4609
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4610
|
+
} | {
|
|
4611
|
+
code?: 'COUPON_LOCKED';
|
|
4612
|
+
description?: string;
|
|
4613
|
+
data?: Record<string, any>;
|
|
4614
|
+
} | {
|
|
4615
|
+
code?: 'INVALID_COUPON_CODE';
|
|
4616
|
+
description?: string;
|
|
4617
|
+
data?: InvalidCouponCodeErrorData;
|
|
4618
|
+
} | {
|
|
4619
|
+
code?: 'INVALID_COUPON_STATUS';
|
|
4620
|
+
description?: string;
|
|
4621
|
+
data?: InvalidCouponStatusErrorData;
|
|
4622
|
+
};
|
|
4623
|
+
/** @docsIgnore */
|
|
4624
|
+
type RemoveCouponFromCurrentCartApplicationErrors = {
|
|
4625
|
+
code?: 'COUPON_NOT_FOUND_IN_CART';
|
|
4626
|
+
description?: string;
|
|
4627
|
+
data?: CouponNotFoundInCartErrorData;
|
|
4628
|
+
} | {
|
|
4629
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4630
|
+
description?: string;
|
|
4631
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4632
|
+
} | {
|
|
4633
|
+
code?: 'COUPON_LOCKED';
|
|
4634
|
+
description?: string;
|
|
4635
|
+
data?: Record<string, any>;
|
|
4636
|
+
};
|
|
4637
|
+
/** @docsIgnore */
|
|
4638
|
+
type SetDeliveryMethodForCurrentCartApplicationErrors = {
|
|
4639
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4640
|
+
description?: string;
|
|
4641
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4642
|
+
} | {
|
|
4643
|
+
code?: 'DELIVERY_METHOD_NOT_FOUND';
|
|
4644
|
+
description?: string;
|
|
4645
|
+
data?: DeliveryMethodNotFoundErrorData;
|
|
4646
|
+
} | {
|
|
4647
|
+
code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
|
|
4648
|
+
description?: string;
|
|
4649
|
+
data?: Record<string, any>;
|
|
4650
|
+
} | {
|
|
4651
|
+
code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
|
|
4652
|
+
description?: string;
|
|
4653
|
+
data?: Record<string, any>;
|
|
4654
|
+
};
|
|
4655
|
+
/** @docsIgnore */
|
|
4656
|
+
type AddGiftCardToCurrentCartApplicationErrors = {
|
|
4657
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4658
|
+
description?: string;
|
|
4659
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4660
|
+
} | {
|
|
4661
|
+
code?: 'INVALID_GIFT_CARD_CODE';
|
|
4662
|
+
description?: string;
|
|
4663
|
+
data?: InvalidGiftCardCodeErrorData;
|
|
4664
|
+
} | {
|
|
4665
|
+
code?: 'INVALID_GIFT_CARD_STATUS';
|
|
4666
|
+
description?: string;
|
|
4667
|
+
data?: InvalidGiftCardStatusErrorData;
|
|
4668
|
+
} | {
|
|
4669
|
+
code?: 'MAX_GIFT_CARDS_PER_CART_EXCEEDED';
|
|
4670
|
+
description?: string;
|
|
4671
|
+
data?: Record<string, any>;
|
|
4672
|
+
} | {
|
|
4673
|
+
code?: 'GIFT_CARD_ALREADY_EXISTS';
|
|
4674
|
+
description?: string;
|
|
4675
|
+
data?: GiftCardAlreadyExistsErrorData;
|
|
4676
|
+
} | {
|
|
4677
|
+
code?: 'GIFT_CARD_LOCKED';
|
|
4678
|
+
description?: string;
|
|
4679
|
+
data?: Record<string, any>;
|
|
4680
|
+
};
|
|
4681
|
+
/** @docsIgnore */
|
|
4682
|
+
type RemoveGiftCardFromCurrentCartApplicationErrors = {
|
|
4683
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4684
|
+
description?: string;
|
|
4685
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4686
|
+
} | {
|
|
4687
|
+
code?: 'GIFT_CARD_NOT_FOUND_IN_CART';
|
|
4688
|
+
description?: string;
|
|
4689
|
+
data?: GiftCardNotFoundInCartErrorData;
|
|
4690
|
+
} | {
|
|
4691
|
+
code?: 'GIFT_CARD_LOCKED';
|
|
4692
|
+
description?: string;
|
|
4693
|
+
data?: Record<string, any>;
|
|
4694
|
+
};
|
|
3937
4695
|
|
|
3938
4696
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3939
4697
|
getUrl: (context: any) => string;
|
|
@@ -3960,4 +4718,4 @@ declare function setDeliveryMethodForCurrentCart(): __PublicMethodMetaInfo<'POST
|
|
|
3960
4718
|
declare function addGiftCardToCurrentCart(): __PublicMethodMetaInfo<'POST', {}, AddGiftCardToCurrentCartRequest$1, AddGiftCardToCurrentCartRequest, AddGiftCardToCurrentCartResponse$1, AddGiftCardToCurrentCartResponse>;
|
|
3961
4719
|
declare function removeGiftCardFromCurrentCart(): __PublicMethodMetaInfo<'POST', {}, RemoveGiftCardFromCurrentCartRequest$1, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardFromCurrentCartResponse$1, RemoveGiftCardFromCurrentCartResponse>;
|
|
3962
4720
|
|
|
3963
|
-
export { type ActionEvent as ActionEventOriginal, type AddCouponRequest as AddCouponRequestOriginal, type AddCouponResponse as AddCouponResponseOriginal, type AddCouponToCurrentCartRequest as AddCouponToCurrentCartRequestOriginal, type AddCouponToCurrentCartResponse as AddCouponToCurrentCartResponseOriginal, type AddGiftCardRequest as AddGiftCardRequestOriginal, type AddGiftCardResponse as AddGiftCardResponseOriginal, type AddGiftCardToCurrentCartRequest as AddGiftCardToCurrentCartRequestOriginal, type AddGiftCardToCurrentCartResponse as AddGiftCardToCurrentCartResponseOriginal, type AddLineItemsRequest as AddLineItemsRequestOriginal, type AddLineItemsResponse as AddLineItemsResponseOriginal, type AddLineItemsToCurrentCartRequest as AddLineItemsToCurrentCartRequestOriginal, type AddLineItemsToCurrentCartResponse as AddLineItemsToCurrentCartResponseOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AdditionalFeeTax as AdditionalFeeTaxOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, type BusinessInfo as BusinessInfoOriginal, type CalculateCartForV1Request as CalculateCartForV1RequestOriginal, type CalculateCartForV1Response as CalculateCartForV1ResponseOriginal, type CalculateCartRequest as CalculateCartRequestOriginal, type CalculateCartResponse as CalculateCartResponseOriginal, type CalculateCurrentCartRequest as CalculateCurrentCartRequestOriginal, type CalculateCurrentCartResponse as CalculateCurrentCartResponseOriginal, type CalculateTotalsResponse as CalculateTotalsResponseOriginal, type CalculatedItemModifier as CalculatedItemModifierOriginal, type CalculatedLineItem as CalculatedLineItemOriginal, type CalculationConfig as CalculationConfigOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Carrier as CarrierOriginal, type CarrierServiceOption as CarrierServiceOptionOriginal, type Cart as CartOriginal, type CartSettings as CartSettingsOriginal, type CartSource as CartSourceOriginal, type CartSummary as CartSummaryOriginal, type CatalogItemInput as CatalogItemInputOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type Charge as ChargeOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, CheckoutStage as CheckoutStageOriginal, type CheckoutStageWithLiterals as CheckoutStageWithLiteralsOriginal, type Color as ColorOriginal, type ConvertedMoney as ConvertedMoneyOriginal, type CouponInput as CouponInputOriginal, type Coupon as CouponOriginal, type CreateCartRequest as CreateCartRequestOriginal, type CreateCartResponse as CreateCartResponseOriginal, type CreateCurrentCartRequest as CreateCurrentCartRequestOriginal, type CreateCurrentCartResponse as CreateCurrentCartResponseOriginal, type CreatedByIdOneOf as CreatedByIdOneOfOriginal, type CreatedBy as CreatedByOriginal, type CustomContentReference as CustomContentReferenceOriginal, type CustomField as CustomFieldOriginal, type CustomItemAttributes as CustomItemAttributesOriginal, type CustomItemDeliveryConfig as CustomItemDeliveryConfigOriginal, type CustomItemInput as CustomItemInputOriginal, type CustomItemPaymentConfig as CustomItemPaymentConfigOriginal, type CustomItemPricingInfo as CustomItemPricingInfoOriginal, type CustomItemQuantityInfo as CustomItemQuantityInfoOriginal, type CustomItemSource as CustomItemSourceOriginal, type CustomItemTaxConfig as CustomItemTaxConfigOriginal, type CustomerInfoIdOneOf as CustomerInfoIdOneOfOriginal, type CustomerInfo as CustomerInfoOriginal, type DeleteCartRequest as DeleteCartRequestOriginal, type DeleteCartResponse as DeleteCartResponseOriginal, type DeleteCurrentCartRequest as DeleteCurrentCartRequestOriginal, type DeleteCurrentCartResponse as DeleteCurrentCartResponseOriginal, type DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryInfo as DeliveryInfoOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryMethodInput as DeliveryMethodInputOriginal, type DeliveryMethod as DeliveryMethodOriginal, type DeliverySummary as DeliverySummaryOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type DiscountBenefit as DiscountBenefitOriginal, type DiscountBenefitValueOneOf as DiscountBenefitValueOneOfOriginal, type Discount as DiscountOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountScope as DiscountScopeOriginal, type DiscountScopeWithLiterals as DiscountScopeWithLiteralsOriginal, type DiscountSource as DiscountSourceOriginal, DiscountSourceType as DiscountSourceTypeOriginal, type DiscountSourceTypeWithLiterals as DiscountSourceTypeWithLiteralsOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DummyErrorDataMethodLevel as DummyErrorDataMethodLevelOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReference as ExternalReferenceOriginal, FallbackReason as FallbackReasonOriginal, type FallbackReasonWithLiterals as FallbackReasonWithLiteralsOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCartRequest as GetCartRequestOriginal, type GetCartResponse as GetCartResponseOriginal, type GetCheckoutURLRequest as GetCheckoutURLRequestOriginal, type GetCheckoutURLResponse as GetCheckoutURLResponseOriginal, type GetCurrentCartRequest as GetCurrentCartRequestOriginal, type GetCurrentCartResponse as GetCurrentCartResponseOriginal, type GiftCardInput as GiftCardInputOriginal, type GiftCard as GiftCardOriginal, type GiftCardSummary as GiftCardSummaryOriginal, type Group as GroupOriginal, type HandleAsyncCheckoutCompletionRequest as HandleAsyncCheckoutCompletionRequestOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InvalidMembership as InvalidMembershipOriginal, type ItemAttributes as ItemAttributesOriginal, type ItemDeliveryConfig as ItemDeliveryConfigOriginal, type ItemDiscount as ItemDiscountOriginal, type ItemModifier as ItemModifierOriginal, type ItemPaymentConfig as ItemPaymentConfigOriginal, type ItemPriceBreakdown as ItemPriceBreakdownOriginal, type ItemPricingInfo as ItemPricingInfoOriginal, type ItemQuantityInfo as ItemQuantityInfoOriginal, type ItemSource as ItemSourceOriginal, ItemStatus as ItemStatusOriginal, type ItemStatusWithLiterals as ItemStatusWithLiteralsOriginal, type ItemTaxConfig as ItemTaxConfigOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LegacyFields as LegacyFieldsOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemIdentifierIdOneOf as LineItemIdentifierIdOneOfOriginal, type LineItemIdentifier as LineItemIdentifierOriginal, type LineItem as LineItemOriginal, type LineItemPricesData as LineItemPricesDataOriginal, type LineItemSummary as LineItemSummaryOriginal, type LineItemTax as LineItemTaxOriginal, type LineItemUpdate as LineItemUpdateOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MarkCartAsCompletedRequest as MarkCartAsCompletedRequestOriginal, type MarkCartAsCompletedResponse as MarkCartAsCompletedResponseOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type OtherCharge as OtherChargeOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentInfo as PaymentInfoOriginal, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PaymentSummary as PaymentSummaryOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlaceOrderRequest as PlaceOrderRequestOriginal, type PlaceOrderResponse as PlaceOrderResponseOriginal, type PlainTextValue as PlainTextValueOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type QuantityUpdate as QuantityUpdateOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type RawHttpResponse as RawHttpResponseOriginal, type RedirectUrls as RedirectUrlsOriginal, type RefreshCartRequest as RefreshCartRequestOriginal, type RefreshCartResponse as RefreshCartResponseOriginal, type RefreshCurrentCartRequest as RefreshCurrentCartRequestOriginal, type RefreshCurrentCartResponse as RefreshCurrentCartResponseOriginal, type Region as RegionOriginal, type RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequestOriginal, type RemoveCouponFromCurrentCartResponse as RemoveCouponFromCurrentCartResponseOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveGiftCardFromCurrentCartRequest as RemoveGiftCardFromCurrentCartRequestOriginal, type RemoveGiftCardFromCurrentCartResponse as RemoveGiftCardFromCurrentCartResponseOriginal, type RemoveGiftCardRequest as RemoveGiftCardRequestOriginal, type RemoveGiftCardResponse as RemoveGiftCardResponseOriginal, type RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequestOriginal, type RemoveLineItemsFromCurrentCartResponse as RemoveLineItemsFromCurrentCartResponseOriginal, type RemoveLineItemsRequest as RemoveLineItemsRequestOriginal, type RemoveLineItemsResponse as RemoveLineItemsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedCarrierServiceOption as SelectedCarrierServiceOptionOriginal, type SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherChargeOriginal, type SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPricesOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMembershipUpdate as SelectedMembershipUpdateOriginal, type ServiceProperties as ServicePropertiesOriginal, type SetDeliveryMethodForCurrentCartRequest as SetDeliveryMethodForCurrentCartRequestOriginal, type SetDeliveryMethodForCurrentCartResponse as SetDeliveryMethodForCurrentCartResponseOriginal, type SetDeliveryMethodRequest as SetDeliveryMethodRequestOriginal, type SetDeliveryMethodResponse as SetDeliveryMethodResponseOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, type Stage as StageOriginal, type StageStagesOneOf as StageStagesOneOfOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCharges as SubscriptionChargesOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, type TaxDetails as TaxDetailsOriginal, type TaxInfo as TaxInfoOriginal, type Tax as TaxOriginal, type TaxRateBreakdown as TaxRateBreakdownOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UnmarkAsCurrentCartRequest as UnmarkAsCurrentCartRequestOriginal, type UnmarkAsCurrentCartResponse as UnmarkAsCurrentCartResponseOriginal, type UpdateCartRequest as UpdateCartRequestOriginal, type UpdateCartResponse as UpdateCartResponseOriginal, type UpdateCurrentCartRequest as UpdateCurrentCartRequestOriginal, type UpdateCurrentCartResponse as UpdateCurrentCartResponseOriginal, type UpdateLineItemsInCurrentCartRequest as UpdateLineItemsInCurrentCartRequestOriginal, type UpdateLineItemsInCurrentCartResponse as UpdateLineItemsInCurrentCartResponseOriginal, type UpdateLineItemsRequest as UpdateLineItemsRequestOriginal, type UpdateLineItemsResponse as UpdateLineItemsResponseOriginal, type V1AdditionalFee as V1AdditionalFeeOriginal, type V2AdditionalFee as V2AdditionalFeeOriginal, type V2CalculationErrors as V2CalculationErrorsOriginal, type V2CalculationErrorsShippingCalculationErrorOneOf as V2CalculationErrorsShippingCalculationErrorOneOfOriginal, type V2CarrierError as V2CarrierErrorOriginal, type V2CarrierErrors as V2CarrierErrorsOriginal, type V2Coupon as V2CouponOriginal, type V2GiftCard as V2GiftCardOriginal, type V2LineItem as V2LineItemOriginal, type V2Membership as V2MembershipOriginal, type V2PriceSummary as V2PriceSummaryOriginal, type V2SelectedMembership as V2SelectedMembershipOriginal, type V2TaxSummary as V2TaxSummaryOriginal, type ValidationError as ValidationErrorOriginal, ValidationsConfig as ValidationsConfigOriginal, type ValidationsConfigWithLiterals as ValidationsConfigWithLiteralsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, addCouponToCurrentCart, addGiftCardToCurrentCart, addLineItemsToCurrentCart, calculateCurrentCart, createCurrentCart, deleteCurrentCart, getCurrentCart, refreshCurrentCart, removeCouponFromCurrentCart, removeGiftCardFromCurrentCart, removeLineItemsFromCurrentCart, setDeliveryMethodForCurrentCart, updateCurrentCart, updateLineItemsInCurrentCart };
|
|
4721
|
+
export { type ActionEvent as ActionEventOriginal, type AddCouponRequest as AddCouponRequestOriginal, type AddCouponResponse as AddCouponResponseOriginal, type AddCouponToCurrentCartApplicationErrors as AddCouponToCurrentCartApplicationErrorsOriginal, type AddCouponToCurrentCartRequest as AddCouponToCurrentCartRequestOriginal, type AddCouponToCurrentCartResponse as AddCouponToCurrentCartResponseOriginal, type AddGiftCardRequest as AddGiftCardRequestOriginal, type AddGiftCardResponse as AddGiftCardResponseOriginal, type AddGiftCardToCurrentCartApplicationErrors as AddGiftCardToCurrentCartApplicationErrorsOriginal, type AddGiftCardToCurrentCartRequest as AddGiftCardToCurrentCartRequestOriginal, type AddGiftCardToCurrentCartResponse as AddGiftCardToCurrentCartResponseOriginal, type AddLineItemsRequest as AddLineItemsRequestOriginal, type AddLineItemsResponse as AddLineItemsResponseOriginal, type AddLineItemsToCurrentCartApplicationErrors as AddLineItemsToCurrentCartApplicationErrorsOriginal, type AddLineItemsToCurrentCartRequest as AddLineItemsToCurrentCartRequestOriginal, type AddLineItemsToCurrentCartResponse as AddLineItemsToCurrentCartResponseOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AdditionalFeeTax as AdditionalFeeTaxOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type AllLineItemsOutOfStockErrorData as AllLineItemsOutOfStockErrorDataOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, type BusinessInfo as BusinessInfoOriginal, type CalculateCartForV1Request as CalculateCartForV1RequestOriginal, type CalculateCartForV1Response as CalculateCartForV1ResponseOriginal, type CalculateCartRequest as CalculateCartRequestOriginal, type CalculateCartResponse as CalculateCartResponseOriginal, type CalculateCurrentCartApplicationErrors as CalculateCurrentCartApplicationErrorsOriginal, type CalculateCurrentCartRequest as CalculateCurrentCartRequestOriginal, type CalculateCurrentCartResponse as CalculateCurrentCartResponseOriginal, type CalculateTotalsResponse as CalculateTotalsResponseOriginal, type CalculatedItemModifier as CalculatedItemModifierOriginal, type CalculatedLineItem as CalculatedLineItemOriginal, type CalculatedPlatformFee as CalculatedPlatformFeeOriginal, type CalculationConfig as CalculationConfigOriginal, type CalculationErrorData as CalculationErrorDataOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CalculationOverrides as CalculationOverridesOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Carrier as CarrierOriginal, type CarrierServiceOption as CarrierServiceOptionOriginal, type CartAlreadyOrderedErrorData as CartAlreadyOrderedErrorDataOriginal, type Cart as CartOriginal, type CartSettings as CartSettingsOriginal, type CartSource as CartSourceOriginal, type CartSummary as CartSummaryOriginal, type CatalogItemInput as CatalogItemInputOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type Charge as ChargeOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, CheckoutStage as CheckoutStageOriginal, type CheckoutStageWithLiterals as CheckoutStageWithLiteralsOriginal, type Color as ColorOriginal, type ConvertedMoney as ConvertedMoneyOriginal, type CouponAlreadyExistsErrorData as CouponAlreadyExistsErrorDataOriginal, type CouponInput as CouponInputOriginal, type CouponNotFoundInCartErrorData as CouponNotFoundInCartErrorDataOriginal, type Coupon as CouponOriginal, type CreateCartRequest as CreateCartRequestOriginal, type CreateCartResponse as CreateCartResponseOriginal, type CreateCurrentCartApplicationErrors as CreateCurrentCartApplicationErrorsOriginal, type CreateCurrentCartRequest as CreateCurrentCartRequestOriginal, type CreateCurrentCartResponse as CreateCurrentCartResponseOriginal, type CreatedByIdOneOf as CreatedByIdOneOfOriginal, type CreatedBy as CreatedByOriginal, type CustomContentReference as CustomContentReferenceOriginal, type CustomField as CustomFieldOriginal, type CustomItemAttributes as CustomItemAttributesOriginal, type CustomItemDeliveryConfig as CustomItemDeliveryConfigOriginal, type CustomItemInput as CustomItemInputOriginal, type CustomItemPaymentConfig as CustomItemPaymentConfigOriginal, type CustomItemPricingInfo as CustomItemPricingInfoOriginal, type CustomItemQuantityInfo as CustomItemQuantityInfoOriginal, type CustomItemSource as CustomItemSourceOriginal, type CustomItemTaxConfig as CustomItemTaxConfigOriginal, type CustomerInfoIdOneOf as CustomerInfoIdOneOfOriginal, type CustomerInfo as CustomerInfoOriginal, type DeleteCartRequest as DeleteCartRequestOriginal, type DeleteCartResponse as DeleteCartResponseOriginal, type DeleteCurrentCartRequest as DeleteCurrentCartRequestOriginal, type DeleteCurrentCartResponse as DeleteCurrentCartResponseOriginal, type DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryInfo as DeliveryInfoOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryMethodInput as DeliveryMethodInputOriginal, type DeliveryMethodNotFoundErrorData as DeliveryMethodNotFoundErrorDataOriginal, type DeliveryMethod as DeliveryMethodOriginal, type DeliverySummary as DeliverySummaryOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type DiscountBenefit as DiscountBenefitOriginal, type DiscountBenefitValueOneOf as DiscountBenefitValueOneOfOriginal, type Discount as DiscountOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountScope as DiscountScopeOriginal, type DiscountScopeWithLiterals as DiscountScopeWithLiteralsOriginal, type DiscountSource as DiscountSourceOriginal, DiscountSourceType as DiscountSourceTypeOriginal, type DiscountSourceTypeWithLiterals as DiscountSourceTypeWithLiteralsOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateItemModifierIdsErrorData as DuplicateItemModifierIdsErrorDataOriginal, type DuplicateLineItemUpdatesErrorData as DuplicateLineItemUpdatesErrorDataOriginal, type DuplicateModifierGroupIdsErrorData as DuplicateModifierGroupIdsErrorDataOriginal, type EmptyLineItemUpdatesErrorData as EmptyLineItemUpdatesErrorDataOriginal, type Empty as EmptyOriginal, type EmptyPaymentTokenErrorData as EmptyPaymentTokenErrorDataOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReference as ExternalReferenceOriginal, FallbackReason as FallbackReasonOriginal, type FallbackReasonWithLiterals as FallbackReasonWithLiteralsOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FixedQuantityItemErrorData as FixedQuantityItemErrorDataOriginal, type FormIdentifier as FormIdentifierOriginal, type FormInfo as FormInfoOriginal, type FormSubmission as FormSubmissionOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCartRequest as GetCartRequestOriginal, type GetCartResponse as GetCartResponseOriginal, type GetCheckoutURLRequest as GetCheckoutURLRequestOriginal, type GetCheckoutURLResponse as GetCheckoutURLResponseOriginal, type GetCurrentCartRequest as GetCurrentCartRequestOriginal, type GetCurrentCartResponse as GetCurrentCartResponseOriginal, type GiftCardAlreadyExistsErrorData as GiftCardAlreadyExistsErrorDataOriginal, type GiftCardInput as GiftCardInputOriginal, type GiftCardNotFoundInCartErrorData as GiftCardNotFoundInCartErrorDataOriginal, type GiftCard as GiftCardOriginal, type GiftCardRedeemErrorData as GiftCardRedeemErrorDataOriginal, type GiftCardSummary as GiftCardSummaryOriginal, type Group as GroupOriginal, type HandleAsyncCheckoutCompletionRequest as HandleAsyncCheckoutCompletionRequestOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InsufficientInventoryEntry as InsufficientInventoryEntryOriginal, type InsufficientInventoryErrorData as InsufficientInventoryErrorDataOriginal, type InvalidCouponCodeErrorData as InvalidCouponCodeErrorDataOriginal, InvalidCouponReason as InvalidCouponReasonOriginal, type InvalidCouponReasonWithLiterals as InvalidCouponReasonWithLiteralsOriginal, type InvalidCouponStatusErrorDataDetailsOneOf as InvalidCouponStatusErrorDataDetailsOneOfOriginal, type InvalidCouponStatusErrorData as InvalidCouponStatusErrorDataOriginal, type InvalidGiftCardCodeErrorData as InvalidGiftCardCodeErrorDataOriginal, InvalidGiftCardReason as InvalidGiftCardReasonOriginal, type InvalidGiftCardReasonWithLiterals as InvalidGiftCardReasonWithLiteralsOriginal, type InvalidGiftCardStatusErrorData as InvalidGiftCardStatusErrorDataOriginal, type InvalidMembershipEntry as InvalidMembershipEntryOriginal, type InvalidMembershipErrorData as InvalidMembershipErrorDataOriginal, type InvalidMembership as InvalidMembershipOriginal, type InvalidMembershipPaymentOptionErrorData as InvalidMembershipPaymentOptionErrorDataOriginal, type InvalidPaymentStatusErrorData as InvalidPaymentStatusErrorDataOriginal, type InvalidPriceVerificationTokenErrorData as InvalidPriceVerificationTokenErrorDataOriginal, type InvalidThirdPartyCheckoutTokenErrorData as InvalidThirdPartyCheckoutTokenErrorDataOriginal, type ItemAttributes as ItemAttributesOriginal, type ItemDeliveryConfig as ItemDeliveryConfigOriginal, type ItemDiscount as ItemDiscountOriginal, type ItemModifier as ItemModifierOriginal, type ItemNotFoundInCatalogErrorData as ItemNotFoundInCatalogErrorDataOriginal, type ItemPaymentConfig as ItemPaymentConfigOriginal, type ItemPriceBreakdown as ItemPriceBreakdownOriginal, type ItemPricingInfo as ItemPricingInfoOriginal, type ItemQuantityInfo as ItemQuantityInfoOriginal, type ItemSource as ItemSourceOriginal, ItemStatus as ItemStatusOriginal, type ItemStatusWithLiterals as ItemStatusWithLiteralsOriginal, type ItemTaxConfig as ItemTaxConfigOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LegacyFields as LegacyFieldsOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemIdentifierIdOneOf as LineItemIdentifierIdOneOfOriginal, type LineItemIdentifier as LineItemIdentifierOriginal, type LineItemNotFoundInCartErrorData as LineItemNotFoundInCartErrorDataOriginal, type LineItem as LineItemOriginal, type LineItemPriceConflictErrorData as LineItemPriceConflictErrorDataOriginal, type LineItemPricesData as LineItemPricesDataOriginal, type LineItemSummary as LineItemSummaryOriginal, type LineItemTax as LineItemTaxOriginal, type LineItemUpdate as LineItemUpdateOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MarkCartAsCompletedRequest as MarkCartAsCompletedRequestOriginal, type MarkCartAsCompletedResponse as MarkCartAsCompletedResponseOriginal, type MaxItemModifiersExceededErrorData as MaxItemModifiersExceededErrorDataOriginal, type MaxLineItemsExceededErrorData as MaxLineItemsExceededErrorDataOriginal, type MembersOnlyItemErrorData as MembersOnlyItemErrorDataOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MinLineItemQuantityNotReachedDetails as MinLineItemQuantityNotReachedDetailsOriginal, type MinSubtotalNotReachedDetails as MinSubtotalNotReachedDetailsOriginal, type ModifierGroup as ModifierGroupOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type OtherCharge as OtherChargeOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentInfo as PaymentInfoOriginal, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PaymentSummary as PaymentSummaryOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlaceOrderRequest as PlaceOrderRequestOriginal, type PlaceOrderResponse as PlaceOrderResponseOriginal, type PlainTextValue as PlainTextValueOriginal, PlatformFeeChargeType as PlatformFeeChargeTypeOriginal, type PlatformFeeChargeTypeWithLiterals as PlatformFeeChargeTypeWithLiteralsOriginal, type PlatformFeeSummary as PlatformFeeSummaryOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type QuantityUpdate as QuantityUpdateOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type RawHttpResponse as RawHttpResponseOriginal, type RedirectUrls as RedirectUrlsOriginal, type RefreshCartRequest as RefreshCartRequestOriginal, type RefreshCartResponse as RefreshCartResponseOriginal, type RefreshCurrentCartApplicationErrors as RefreshCurrentCartApplicationErrorsOriginal, type RefreshCurrentCartRequest as RefreshCurrentCartRequestOriginal, type RefreshCurrentCartResponse as RefreshCurrentCartResponseOriginal, type Region as RegionOriginal, type RemoveCouponFromCurrentCartApplicationErrors as RemoveCouponFromCurrentCartApplicationErrorsOriginal, type RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequestOriginal, type RemoveCouponFromCurrentCartResponse as RemoveCouponFromCurrentCartResponseOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveGiftCardFromCurrentCartApplicationErrors as RemoveGiftCardFromCurrentCartApplicationErrorsOriginal, type RemoveGiftCardFromCurrentCartRequest as RemoveGiftCardFromCurrentCartRequestOriginal, type RemoveGiftCardFromCurrentCartResponse as RemoveGiftCardFromCurrentCartResponseOriginal, type RemoveGiftCardRequest as RemoveGiftCardRequestOriginal, type RemoveGiftCardResponse as RemoveGiftCardResponseOriginal, type RemoveLineItemsFromCurrentCartApplicationErrors as RemoveLineItemsFromCurrentCartApplicationErrorsOriginal, type RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequestOriginal, type RemoveLineItemsFromCurrentCartResponse as RemoveLineItemsFromCurrentCartResponseOriginal, type RemoveLineItemsRequest as RemoveLineItemsRequestOriginal, type RemoveLineItemsResponse as RemoveLineItemsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedCarrierServiceOption as SelectedCarrierServiceOptionOriginal, type SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherChargeOriginal, type SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPricesOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMembershipUpdate as SelectedMembershipUpdateOriginal, type SelectedMemberships as SelectedMembershipsOriginal, type ServiceProperties as ServicePropertiesOriginal, type SetDeliveryMethodForCurrentCartApplicationErrors as SetDeliveryMethodForCurrentCartApplicationErrorsOriginal, type SetDeliveryMethodForCurrentCartRequest as SetDeliveryMethodForCurrentCartRequestOriginal, type SetDeliveryMethodForCurrentCartResponse as SetDeliveryMethodForCurrentCartResponseOriginal, type SetDeliveryMethodRequest as SetDeliveryMethodRequestOriginal, type SetDeliveryMethodResponse as SetDeliveryMethodResponseOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, type SomeLineItemsOutOfStockErrorData as SomeLineItemsOutOfStockErrorDataOriginal, type Stage as StageOriginal, type StageStagesOneOf as StageStagesOneOfOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCharges as SubscriptionChargesOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, type TaxDetails as TaxDetailsOriginal, type TaxInfo as TaxInfoOriginal, type Tax as TaxOriginal, type TaxRateBreakdown as TaxRateBreakdownOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UnmarkAsCurrentCartRequest as UnmarkAsCurrentCartRequestOriginal, type UnmarkAsCurrentCartResponse as UnmarkAsCurrentCartResponseOriginal, type UpdateCartRequest as UpdateCartRequestOriginal, type UpdateCartResponse as UpdateCartResponseOriginal, type UpdateCurrentCartApplicationErrors as UpdateCurrentCartApplicationErrorsOriginal, type UpdateCurrentCartRequest as UpdateCurrentCartRequestOriginal, type UpdateCurrentCartResponse as UpdateCurrentCartResponseOriginal, type UpdateFormSubmissionsRequest as UpdateFormSubmissionsRequestOriginal, type UpdateFormSubmissionsResponse as UpdateFormSubmissionsResponseOriginal, type UpdateLineItemsInCurrentCartApplicationErrors as UpdateLineItemsInCurrentCartApplicationErrorsOriginal, type UpdateLineItemsInCurrentCartRequest as UpdateLineItemsInCurrentCartRequestOriginal, type UpdateLineItemsInCurrentCartResponse as UpdateLineItemsInCurrentCartResponseOriginal, type UpdateLineItemsRequest as UpdateLineItemsRequestOriginal, type UpdateLineItemsResponse as UpdateLineItemsResponseOriginal, type V1AdditionalFee as V1AdditionalFeeOriginal, type V2AdditionalFee as V2AdditionalFeeOriginal, type V2CalculationErrors as V2CalculationErrorsOriginal, type V2CalculationErrorsShippingCalculationErrorOneOf as V2CalculationErrorsShippingCalculationErrorOneOfOriginal, type V2CarrierError as V2CarrierErrorOriginal, type V2CarrierErrors as V2CarrierErrorsOriginal, type V2Coupon as V2CouponOriginal, type V2GiftCard as V2GiftCardOriginal, type V2LineItem as V2LineItemOriginal, type V2Membership as V2MembershipOriginal, type V2PriceSummary as V2PriceSummaryOriginal, type V2SelectedMembership as V2SelectedMembershipOriginal, type V2TaxSummary as V2TaxSummaryOriginal, type ValidationError as ValidationErrorOriginal, ValidationsConfig as ValidationsConfigOriginal, type ValidationsConfigWithLiterals as ValidationsConfigWithLiteralsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, type ViolationWithErrorSeverityErrorData as ViolationWithErrorSeverityErrorDataOriginal, type ViolationsList as ViolationsListOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, addCouponToCurrentCart, addGiftCardToCurrentCart, addLineItemsToCurrentCart, calculateCurrentCart, createCurrentCart, deleteCurrentCart, getCurrentCart, refreshCurrentCart, removeCouponFromCurrentCart, removeGiftCardFromCurrentCart, removeLineItemsFromCurrentCart, setDeliveryMethodForCurrentCart, updateCurrentCart, updateLineItemsInCurrentCart };
|