@wix/auto_sdk_ecom_cart-v-2 1.0.50 → 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.
- package/build/cjs/index.d.ts +53 -21
- package/build/cjs/index.js +147 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +978 -79
- package/build/cjs/index.typings.js +138 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +915 -62
- package/build/cjs/meta.js +106 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +53 -21
- package/build/es/index.mjs +143 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +978 -79
- package/build/es/index.typings.mjs +134 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +915 -62
- package/build/es/meta.mjs +102 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +53 -21
- package/build/internal/cjs/index.js +147 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +978 -79
- package/build/internal/cjs/index.typings.js +138 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +915 -62
- package/build/internal/cjs/meta.js +106 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +53 -21
- package/build/internal/es/index.mjs +143 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +978 -79
- package/build/internal/es/index.typings.mjs +134 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +915 -62
- package/build/internal/es/meta.mjs +102 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateCartRequest as CreateCartRequest$1, CreateCartResponse as CreateCartResponse$1, GetCartRequest as GetCartRequest$1, GetCartResponse as GetCartResponse$1, UpdateCartRequest as UpdateCartRequest$1, UpdateCartResponse as UpdateCartResponse$1, DeleteCartRequest as DeleteCartRequest$1, DeleteCartResponse as DeleteCartResponse$1, RefreshCartRequest as RefreshCartRequest$1, RefreshCartResponse as RefreshCartResponse$1, CalculateCartRequest as CalculateCartRequest$1, CalculateCartResponse as CalculateCartResponse$1, GetCheckoutURLRequest as GetCheckoutURLRequest$1, GetCheckoutURLResponse as GetCheckoutURLResponse$1, PlaceOrderRequest as PlaceOrderRequest$1, PlaceOrderResponse as PlaceOrderResponse$1, AddLineItemsRequest as AddLineItemsRequest$1, AddLineItemsResponse as AddLineItemsResponse$1, RemoveLineItemsRequest as RemoveLineItemsRequest$1, RemoveLineItemsResponse as RemoveLineItemsResponse$1, UpdateLineItemsRequest as UpdateLineItemsRequest$1, UpdateLineItemsResponse as UpdateLineItemsResponse$1, AddCouponRequest as AddCouponRequest$1, AddCouponResponse as AddCouponResponse$1, RemoveCouponRequest as RemoveCouponRequest$1, RemoveCouponResponse as RemoveCouponResponse$1, SetDeliveryMethodRequest as SetDeliveryMethodRequest$1, SetDeliveryMethodResponse as SetDeliveryMethodResponse$1, AddGiftCardRequest as AddGiftCardRequest$1, AddGiftCardResponse as AddGiftCardResponse$1, RemoveGiftCardRequest as RemoveGiftCardRequest$1, RemoveGiftCardResponse as RemoveGiftCardResponse$1, MarkCartAsCompletedRequest as MarkCartAsCompletedRequest$1, MarkCartAsCompletedResponse as MarkCartAsCompletedResponse$1, HandleAsyncCheckoutCompletionRequest as HandleAsyncCheckoutCompletionRequest$1, RawHttpResponse as RawHttpResponse$1 } from './index.typings.mjs';
|
|
1
|
+
import { CreateCartRequest as CreateCartRequest$1, CreateCartResponse as CreateCartResponse$1, GetCartRequest as GetCartRequest$1, GetCartResponse as GetCartResponse$1, UpdateCartRequest as UpdateCartRequest$1, UpdateCartResponse as UpdateCartResponse$1, DeleteCartRequest as DeleteCartRequest$1, DeleteCartResponse as DeleteCartResponse$1, RefreshCartRequest as RefreshCartRequest$1, RefreshCartResponse as RefreshCartResponse$1, CalculateCartRequest as CalculateCartRequest$1, CalculateCartResponse as CalculateCartResponse$1, GetCheckoutURLRequest as GetCheckoutURLRequest$1, GetCheckoutURLResponse as GetCheckoutURLResponse$1, PlaceOrderRequest as PlaceOrderRequest$1, PlaceOrderResponse as PlaceOrderResponse$1, AddLineItemsRequest as AddLineItemsRequest$1, AddLineItemsResponse as AddLineItemsResponse$1, RemoveLineItemsRequest as RemoveLineItemsRequest$1, RemoveLineItemsResponse as RemoveLineItemsResponse$1, UpdateLineItemsRequest as UpdateLineItemsRequest$1, UpdateLineItemsResponse as UpdateLineItemsResponse$1, AddCouponRequest as AddCouponRequest$1, AddCouponResponse as AddCouponResponse$1, RemoveCouponRequest as RemoveCouponRequest$1, RemoveCouponResponse as RemoveCouponResponse$1, SetDeliveryMethodRequest as SetDeliveryMethodRequest$1, SetDeliveryMethodResponse as SetDeliveryMethodResponse$1, AddGiftCardRequest as AddGiftCardRequest$1, AddGiftCardResponse as AddGiftCardResponse$1, RemoveGiftCardRequest as RemoveGiftCardRequest$1, RemoveGiftCardResponse as RemoveGiftCardResponse$1, MarkCartAsCompletedRequest as MarkCartAsCompletedRequest$1, MarkCartAsCompletedResponse as MarkCartAsCompletedResponse$1, HandleAsyncCheckoutCompletionRequest as HandleAsyncCheckoutCompletionRequest$1, RawHttpResponse as RawHttpResponse$1, UpdateFormSubmissionsRequest as UpdateFormSubmissionsRequest$1, UpdateFormSubmissionsResponse as UpdateFormSubmissionsResponse$1 } from './index.typings.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
interface Cart {
|
|
@@ -107,6 +107,12 @@ interface Cart {
|
|
|
107
107
|
* @readonly
|
|
108
108
|
*/
|
|
109
109
|
currentCart?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Forms associated with the Cart's line items.
|
|
112
|
+
* @readonly
|
|
113
|
+
* @maxSize 1000
|
|
114
|
+
*/
|
|
115
|
+
forms?: FormInfo[];
|
|
110
116
|
}
|
|
111
117
|
interface V2LineItem {
|
|
112
118
|
/**
|
|
@@ -1492,12 +1498,58 @@ interface CustomField {
|
|
|
1492
1498
|
*/
|
|
1493
1499
|
translatedTitle?: string | null;
|
|
1494
1500
|
}
|
|
1501
|
+
interface FormInfo {
|
|
1502
|
+
/**
|
|
1503
|
+
* The identifier of the form schema.
|
|
1504
|
+
* @readonly
|
|
1505
|
+
*/
|
|
1506
|
+
schemaIdentifier?: FormIdentifier;
|
|
1507
|
+
/**
|
|
1508
|
+
* The unique identifier of the form instance.
|
|
1509
|
+
* @format GUID
|
|
1510
|
+
* @readonly
|
|
1511
|
+
*/
|
|
1512
|
+
id?: string;
|
|
1513
|
+
/**
|
|
1514
|
+
* The line item ids associated with this form.
|
|
1515
|
+
* @format GUID
|
|
1516
|
+
* @readonly
|
|
1517
|
+
* @maxSize 300
|
|
1518
|
+
*/
|
|
1519
|
+
lineItemIds?: string[];
|
|
1520
|
+
/**
|
|
1521
|
+
* The translated title of the form.
|
|
1522
|
+
* @maxLength 100
|
|
1523
|
+
* @readonly
|
|
1524
|
+
*/
|
|
1525
|
+
title?: string;
|
|
1526
|
+
/**
|
|
1527
|
+
* The translated subtitles of the form.
|
|
1528
|
+
* @maxSize 10
|
|
1529
|
+
* @maxLength 100
|
|
1530
|
+
* @readonly
|
|
1531
|
+
*/
|
|
1532
|
+
subtitles?: string[] | null;
|
|
1533
|
+
/**
|
|
1534
|
+
* The id of the form submission.
|
|
1535
|
+
* @format GUID
|
|
1536
|
+
*/
|
|
1537
|
+
formSubmissionId?: string | null;
|
|
1538
|
+
}
|
|
1539
|
+
interface FormIdentifier {
|
|
1540
|
+
/** @format GUID */
|
|
1541
|
+
formSchemaId?: string;
|
|
1542
|
+
/** @maxLength 100 */
|
|
1543
|
+
namespace?: string;
|
|
1544
|
+
}
|
|
1495
1545
|
interface CartSummary {
|
|
1496
1546
|
/**
|
|
1497
1547
|
* The Cart ID.
|
|
1498
1548
|
* @format GUID
|
|
1499
1549
|
*/
|
|
1500
1550
|
cartId?: string;
|
|
1551
|
+
/** The Cart revision. */
|
|
1552
|
+
cartRevision?: string;
|
|
1501
1553
|
/**
|
|
1502
1554
|
* A unique identifier for this specific cart calculation.
|
|
1503
1555
|
* @format GUID
|
|
@@ -2238,6 +2290,195 @@ interface CreateCurrentCartResponse {
|
|
|
2238
2290
|
/** The created Cart. */
|
|
2239
2291
|
cart?: Cart;
|
|
2240
2292
|
}
|
|
2293
|
+
interface ItemNotFoundInCatalogErrorData {
|
|
2294
|
+
/**
|
|
2295
|
+
* List of line items not found in the catalog.
|
|
2296
|
+
* @maxSize 300
|
|
2297
|
+
*/
|
|
2298
|
+
invalidItems?: LineItemIdentifier[];
|
|
2299
|
+
}
|
|
2300
|
+
interface LineItemIdentifier extends LineItemIdentifierIdOneOf {
|
|
2301
|
+
/**
|
|
2302
|
+
* Line Item ID.
|
|
2303
|
+
* @format GUID
|
|
2304
|
+
*/
|
|
2305
|
+
lineItemId?: string;
|
|
2306
|
+
/** Catalog reference. */
|
|
2307
|
+
catalogReference?: CatalogReference;
|
|
2308
|
+
}
|
|
2309
|
+
/** @oneof */
|
|
2310
|
+
interface LineItemIdentifierIdOneOf {
|
|
2311
|
+
/**
|
|
2312
|
+
* Line Item ID.
|
|
2313
|
+
* @format GUID
|
|
2314
|
+
*/
|
|
2315
|
+
lineItemId?: string;
|
|
2316
|
+
/** Catalog reference. */
|
|
2317
|
+
catalogReference?: CatalogReference;
|
|
2318
|
+
}
|
|
2319
|
+
interface InsufficientInventoryErrorData {
|
|
2320
|
+
/**
|
|
2321
|
+
* List of line items with insufficient inventory.
|
|
2322
|
+
* @maxSize 300
|
|
2323
|
+
*/
|
|
2324
|
+
invalidItems?: InsufficientInventoryEntry[];
|
|
2325
|
+
}
|
|
2326
|
+
interface InsufficientInventoryEntry {
|
|
2327
|
+
/** Identifier for the line item with insufficient inventory. */
|
|
2328
|
+
id?: LineItemIdentifier;
|
|
2329
|
+
/** Quantity requested by the user, including any existing quantity on the cart. */
|
|
2330
|
+
requestedQuantity?: number;
|
|
2331
|
+
/** Quantity available in inventory. */
|
|
2332
|
+
availableQuantity?: number;
|
|
2333
|
+
}
|
|
2334
|
+
interface MaxLineItemsExceededErrorData {
|
|
2335
|
+
/** Number of line items requested. */
|
|
2336
|
+
requestCount?: number;
|
|
2337
|
+
/** Maximum allowed number of line items. */
|
|
2338
|
+
maxCount?: number;
|
|
2339
|
+
}
|
|
2340
|
+
interface MaxItemModifiersExceededErrorData {
|
|
2341
|
+
/** Number of item modifiers requested. */
|
|
2342
|
+
requestCount?: number;
|
|
2343
|
+
/** Maximum allowed number of item modifiers. */
|
|
2344
|
+
maxCount?: number;
|
|
2345
|
+
}
|
|
2346
|
+
interface DuplicateModifierGroupIdsErrorData {
|
|
2347
|
+
/**
|
|
2348
|
+
* Catalog references for items with duplicate modifier group IDs.
|
|
2349
|
+
* @maxSize 300
|
|
2350
|
+
*/
|
|
2351
|
+
invalidItems?: CatalogReference[];
|
|
2352
|
+
}
|
|
2353
|
+
interface DuplicateItemModifierIdsErrorData {
|
|
2354
|
+
/**
|
|
2355
|
+
* Catalog references for items with duplicate modifier IDs within a modifier group.
|
|
2356
|
+
* @maxSize 300
|
|
2357
|
+
*/
|
|
2358
|
+
invalidItems?: CatalogReference[];
|
|
2359
|
+
}
|
|
2360
|
+
interface LineItemPriceConflictErrorData {
|
|
2361
|
+
/**
|
|
2362
|
+
* The catalog references for the line items with a price conflict, if exists.
|
|
2363
|
+
* @maxSize 300
|
|
2364
|
+
*/
|
|
2365
|
+
invalidItems?: CatalogReference[];
|
|
2366
|
+
}
|
|
2367
|
+
interface FixedQuantityItemErrorData {
|
|
2368
|
+
/**
|
|
2369
|
+
* The line items with fixed quantity.
|
|
2370
|
+
* @maxSize 300
|
|
2371
|
+
*/
|
|
2372
|
+
invalidItems?: LineItemIdentifier[];
|
|
2373
|
+
}
|
|
2374
|
+
interface InvalidMembershipPaymentOptionErrorData {
|
|
2375
|
+
/**
|
|
2376
|
+
* The line items with invalid membership payment options.
|
|
2377
|
+
* @maxSize 300
|
|
2378
|
+
*/
|
|
2379
|
+
invalidItems?: InvalidMembershipEntry[];
|
|
2380
|
+
}
|
|
2381
|
+
interface InvalidMembershipEntry {
|
|
2382
|
+
/** The line item for which the membership payment option is invalid. */
|
|
2383
|
+
invalidItemId?: LineItemIdentifier;
|
|
2384
|
+
/** The selected membership attempted to be used as payment option. */
|
|
2385
|
+
selectedMembership?: V2SelectedMembership;
|
|
2386
|
+
}
|
|
2387
|
+
interface InvalidCouponCodeErrorData {
|
|
2388
|
+
/**
|
|
2389
|
+
* The invalid coupon code.
|
|
2390
|
+
* @maxLength 100
|
|
2391
|
+
*/
|
|
2392
|
+
couponCode?: string;
|
|
2393
|
+
}
|
|
2394
|
+
interface InvalidCouponStatusErrorData extends InvalidCouponStatusErrorDataDetailsOneOf {
|
|
2395
|
+
minLineItemQuantityNotReachedDetails?: MinLineItemQuantityNotReachedDetails;
|
|
2396
|
+
minSubtotalNotReachedDetails?: MinSubtotalNotReachedDetails;
|
|
2397
|
+
/**
|
|
2398
|
+
* Coupon code with invalid status.
|
|
2399
|
+
* @maxLength 100
|
|
2400
|
+
*/
|
|
2401
|
+
couponCode?: string;
|
|
2402
|
+
/** The invalid status of the coupon. */
|
|
2403
|
+
reason?: InvalidCouponReasonWithLiterals;
|
|
2404
|
+
}
|
|
2405
|
+
/** @oneof */
|
|
2406
|
+
interface InvalidCouponStatusErrorDataDetailsOneOf {
|
|
2407
|
+
minLineItemQuantityNotReachedDetails?: MinLineItemQuantityNotReachedDetails;
|
|
2408
|
+
minSubtotalNotReachedDetails?: MinSubtotalNotReachedDetails;
|
|
2409
|
+
}
|
|
2410
|
+
declare enum InvalidCouponReason {
|
|
2411
|
+
/** Unspecified status. */
|
|
2412
|
+
UNKNOWN_INVALID_COUPON_REASON = "UNKNOWN_INVALID_COUPON_REASON",
|
|
2413
|
+
/** The coupon is expired. */
|
|
2414
|
+
EXPIRED = "EXPIRED",
|
|
2415
|
+
/** The coupon is disabled. */
|
|
2416
|
+
DISABLED = "DISABLED",
|
|
2417
|
+
/** The coupon is not active yet. */
|
|
2418
|
+
INACTIVE = "INACTIVE",
|
|
2419
|
+
/** The coupon reached its usage limit. */
|
|
2420
|
+
MAX_USAGE_EXCEEDED = "MAX_USAGE_EXCEEDED",
|
|
2421
|
+
/** The coupon reached its usage limit for the customer. */
|
|
2422
|
+
MAX_USAGE_PER_CUSTOMER_EXCEEDED = "MAX_USAGE_PER_CUSTOMER_EXCEEDED",
|
|
2423
|
+
/** The coupon is not applicable for subscriptions. */
|
|
2424
|
+
NOT_APPLICABLE_TO_SUBSCRIPTIONS = "NOT_APPLICABLE_TO_SUBSCRIPTIONS",
|
|
2425
|
+
/** The coupon is not applicable for the cart's selected line items. */
|
|
2426
|
+
NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS = "NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS",
|
|
2427
|
+
/** The coupon requires a minimum item quantity that was not met. */
|
|
2428
|
+
MIN_LINE_ITEM_QUANTITY_NOT_REACHED = "MIN_LINE_ITEM_QUANTITY_NOT_REACHED",
|
|
2429
|
+
/** The coupon requires a minimum subtotal that was not met. */
|
|
2430
|
+
MIN_SUBTOTAL_NOT_REACHED = "MIN_SUBTOTAL_NOT_REACHED"
|
|
2431
|
+
}
|
|
2432
|
+
/** @enumType */
|
|
2433
|
+
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';
|
|
2434
|
+
interface MinLineItemQuantityNotReachedDetails {
|
|
2435
|
+
/** The required minimum line item quantity. */
|
|
2436
|
+
requiredMinimumQuantity?: number;
|
|
2437
|
+
}
|
|
2438
|
+
interface MinSubtotalNotReachedDetails {
|
|
2439
|
+
/** The required minimum subtotal amount. */
|
|
2440
|
+
requiredMinimumSubtotal?: ConvertedMoney;
|
|
2441
|
+
}
|
|
2442
|
+
interface InvalidGiftCardCodeErrorData {
|
|
2443
|
+
/**
|
|
2444
|
+
* The invalid gift card code.
|
|
2445
|
+
* @maxLength 100
|
|
2446
|
+
*/
|
|
2447
|
+
giftCardCode?: string;
|
|
2448
|
+
}
|
|
2449
|
+
interface InvalidGiftCardStatusErrorData {
|
|
2450
|
+
/**
|
|
2451
|
+
* Gift card code with invalid status.
|
|
2452
|
+
* @maxLength 100
|
|
2453
|
+
*/
|
|
2454
|
+
giftCardCode?: string;
|
|
2455
|
+
/** The invalid status of the gift card. */
|
|
2456
|
+
reason?: InvalidGiftCardReasonWithLiterals;
|
|
2457
|
+
}
|
|
2458
|
+
declare enum InvalidGiftCardReason {
|
|
2459
|
+
/** Unspecified status. */
|
|
2460
|
+
UNKNOWN_INVALID_GIFT_CARD_REASON = "UNKNOWN_INVALID_GIFT_CARD_REASON",
|
|
2461
|
+
/** The gift card is expired. */
|
|
2462
|
+
EXPIRED = "EXPIRED",
|
|
2463
|
+
/** The gift card is disabled. */
|
|
2464
|
+
DISABLED = "DISABLED",
|
|
2465
|
+
/** The gift card has no remaining balance. */
|
|
2466
|
+
EMPTY_BALANCE = "EMPTY_BALANCE"
|
|
2467
|
+
}
|
|
2468
|
+
/** @enumType */
|
|
2469
|
+
type InvalidGiftCardReasonWithLiterals = InvalidGiftCardReason | 'UNKNOWN_INVALID_GIFT_CARD_REASON' | 'EXPIRED' | 'DISABLED' | 'EMPTY_BALANCE';
|
|
2470
|
+
interface DeliveryMethodNotFoundErrorData {
|
|
2471
|
+
/**
|
|
2472
|
+
* Code of the delivery method not found.
|
|
2473
|
+
* @maxLength 100
|
|
2474
|
+
*/
|
|
2475
|
+
code?: string;
|
|
2476
|
+
/**
|
|
2477
|
+
* Optional app ID for the delivery method.
|
|
2478
|
+
* @maxLength 100
|
|
2479
|
+
*/
|
|
2480
|
+
appId?: string | null;
|
|
2481
|
+
}
|
|
2241
2482
|
interface GetCurrentCartRequest {
|
|
2242
2483
|
}
|
|
2243
2484
|
interface GetCurrentCartResponse {
|
|
@@ -2252,6 +2493,18 @@ interface UpdateCurrentCartResponse {
|
|
|
2252
2493
|
/** Updated Cart. */
|
|
2253
2494
|
cart?: Cart;
|
|
2254
2495
|
}
|
|
2496
|
+
interface CartAlreadyOrderedErrorData {
|
|
2497
|
+
/**
|
|
2498
|
+
* Cart ID that has already been converted to an order.
|
|
2499
|
+
* @format GUID
|
|
2500
|
+
*/
|
|
2501
|
+
cartId?: string;
|
|
2502
|
+
/**
|
|
2503
|
+
* Order ID associated with the cart.
|
|
2504
|
+
* @format GUID
|
|
2505
|
+
*/
|
|
2506
|
+
orderId?: string;
|
|
2507
|
+
}
|
|
2255
2508
|
interface DeleteCurrentCartRequest {
|
|
2256
2509
|
}
|
|
2257
2510
|
interface DeleteCurrentCartResponse {
|
|
@@ -2349,6 +2602,14 @@ interface RemoveLineItemsFromCurrentCartResponse {
|
|
|
2349
2602
|
/** Updated Cart. */
|
|
2350
2603
|
cart?: Cart;
|
|
2351
2604
|
}
|
|
2605
|
+
interface LineItemNotFoundInCartErrorData {
|
|
2606
|
+
/**
|
|
2607
|
+
* IDs of the line items not found in the cart.
|
|
2608
|
+
* @format GUID
|
|
2609
|
+
* @maxSize 300
|
|
2610
|
+
*/
|
|
2611
|
+
lineItemIds?: string[];
|
|
2612
|
+
}
|
|
2352
2613
|
interface UpdateLineItemsInCurrentCartRequest {
|
|
2353
2614
|
/**
|
|
2354
2615
|
* Line item updates to apply.
|
|
@@ -2388,6 +2649,22 @@ interface UpdateLineItemsInCurrentCartResponse {
|
|
|
2388
2649
|
/** Updated Cart. */
|
|
2389
2650
|
cart?: Cart;
|
|
2390
2651
|
}
|
|
2652
|
+
interface EmptyLineItemUpdatesErrorData {
|
|
2653
|
+
/**
|
|
2654
|
+
* Line item IDs with empty update fields.
|
|
2655
|
+
* @format GUID
|
|
2656
|
+
* @maxSize 300
|
|
2657
|
+
*/
|
|
2658
|
+
lineItemIds?: string[];
|
|
2659
|
+
}
|
|
2660
|
+
interface DuplicateLineItemUpdatesErrorData {
|
|
2661
|
+
/**
|
|
2662
|
+
* Duplicate line item IDs in the update request.
|
|
2663
|
+
* @format GUID
|
|
2664
|
+
* @maxSize 300
|
|
2665
|
+
*/
|
|
2666
|
+
duplicateLineItemIds?: string[];
|
|
2667
|
+
}
|
|
2391
2668
|
interface AddCouponToCurrentCartRequest {
|
|
2392
2669
|
/**
|
|
2393
2670
|
* Coupon to apply.
|
|
@@ -2400,6 +2677,13 @@ interface AddCouponToCurrentCartResponse {
|
|
|
2400
2677
|
/** Updated Cart. */
|
|
2401
2678
|
cart?: Cart;
|
|
2402
2679
|
}
|
|
2680
|
+
interface CouponAlreadyExistsErrorData {
|
|
2681
|
+
/**
|
|
2682
|
+
* Coupon code that already exists in the cart.
|
|
2683
|
+
* @maxLength 100
|
|
2684
|
+
*/
|
|
2685
|
+
couponCode?: string;
|
|
2686
|
+
}
|
|
2403
2687
|
interface RemoveCouponFromCurrentCartRequest {
|
|
2404
2688
|
/**
|
|
2405
2689
|
* Coupon ID.
|
|
@@ -2411,6 +2695,13 @@ interface RemoveCouponFromCurrentCartResponse {
|
|
|
2411
2695
|
/** Updated Cart. */
|
|
2412
2696
|
cart?: Cart;
|
|
2413
2697
|
}
|
|
2698
|
+
interface CouponNotFoundInCartErrorData {
|
|
2699
|
+
/**
|
|
2700
|
+
* Coupon ID not found in the cart.
|
|
2701
|
+
* @format GUID
|
|
2702
|
+
*/
|
|
2703
|
+
couponId?: string;
|
|
2704
|
+
}
|
|
2414
2705
|
interface SetDeliveryMethodForCurrentCartRequest {
|
|
2415
2706
|
/** Delivery method. */
|
|
2416
2707
|
deliveryMethod?: DeliveryMethodInput;
|
|
@@ -2431,6 +2722,13 @@ interface AddGiftCardToCurrentCartResponse {
|
|
|
2431
2722
|
/** Updated Cart. */
|
|
2432
2723
|
cart?: Cart;
|
|
2433
2724
|
}
|
|
2725
|
+
interface GiftCardAlreadyExistsErrorData {
|
|
2726
|
+
/**
|
|
2727
|
+
* Gift card code that already exists in the cart.
|
|
2728
|
+
* @maxLength 100
|
|
2729
|
+
*/
|
|
2730
|
+
giftCardCode?: string;
|
|
2731
|
+
}
|
|
2434
2732
|
interface RemoveGiftCardFromCurrentCartRequest {
|
|
2435
2733
|
/**
|
|
2436
2734
|
* Gift card ID.
|
|
@@ -2442,6 +2740,13 @@ interface RemoveGiftCardFromCurrentCartResponse {
|
|
|
2442
2740
|
/** Updated Cart. */
|
|
2443
2741
|
cart?: Cart;
|
|
2444
2742
|
}
|
|
2743
|
+
interface GiftCardNotFoundInCartErrorData {
|
|
2744
|
+
/**
|
|
2745
|
+
* Gift Card ID not found in the cart.
|
|
2746
|
+
* @format GUID
|
|
2747
|
+
*/
|
|
2748
|
+
giftCardId?: string;
|
|
2749
|
+
}
|
|
2445
2750
|
interface UnmarkAsCurrentCartRequest {
|
|
2446
2751
|
}
|
|
2447
2752
|
interface UnmarkAsCurrentCartResponse {
|
|
@@ -2631,34 +2936,6 @@ interface GetCartResponse {
|
|
|
2631
2936
|
/** The requested Cart. */
|
|
2632
2937
|
cart?: Cart;
|
|
2633
2938
|
}
|
|
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
2939
|
interface UpdateCartRequest {
|
|
2663
2940
|
/** Cart to be updated, may be partial. */
|
|
2664
2941
|
cart: Cart;
|
|
@@ -2722,12 +2999,6 @@ interface CalculateCartForV1Request {
|
|
|
2722
2999
|
* @format GUID
|
|
2723
3000
|
*/
|
|
2724
3001
|
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
3002
|
/**
|
|
2732
3003
|
* Specifies the level of **business validation** to perform during cart calculation,
|
|
2733
3004
|
* by calling the [Validations service plugin](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
|
|
@@ -2743,6 +3014,8 @@ interface CalculateCartForV1Request {
|
|
|
2743
3014
|
* This field is legacy and currently used by PayLinks and plan to be deprecated
|
|
2744
3015
|
*/
|
|
2745
3016
|
checkoutStage?: Stage;
|
|
3017
|
+
/** Calculations overrides for backward compatibility with V1. */
|
|
3018
|
+
calculationOverrides?: CalculationOverrides;
|
|
2746
3019
|
}
|
|
2747
3020
|
interface Stage extends StageStagesOneOf {
|
|
2748
3021
|
/** Supported values: */
|
|
@@ -2768,6 +3041,48 @@ declare enum CheckoutStage {
|
|
|
2768
3041
|
}
|
|
2769
3042
|
/** @enumType */
|
|
2770
3043
|
type CheckoutStageWithLiterals = CheckoutStage | 'UNKNOWN_CHECKOUT_STAGE' | 'INITIALIZATION' | 'IN_PROGRESS' | 'ORDER_CREATION';
|
|
3044
|
+
interface CalculationOverrides {
|
|
3045
|
+
/**
|
|
3046
|
+
* Delivery method.
|
|
3047
|
+
*
|
|
3048
|
+
* Pass this field only when there is no existing delivery method in the cart.
|
|
3049
|
+
*/
|
|
3050
|
+
deliveryMethod?: DeliveryMethodInput;
|
|
3051
|
+
/** Delivery address. Used for calculating tax and shipping (when applicable). */
|
|
3052
|
+
deliveryAddress?: Address;
|
|
3053
|
+
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
3054
|
+
billingAddress?: Address;
|
|
3055
|
+
/** The selected membership payment options and which line items they apply to. */
|
|
3056
|
+
selectedMemberships?: SelectedMemberships;
|
|
3057
|
+
}
|
|
3058
|
+
interface SelectedMemberships {
|
|
3059
|
+
/**
|
|
3060
|
+
* Selected memberships.
|
|
3061
|
+
* @maxSize 300
|
|
3062
|
+
*/
|
|
3063
|
+
memberships?: SelectedMembership[];
|
|
3064
|
+
}
|
|
3065
|
+
interface SelectedMembership {
|
|
3066
|
+
/**
|
|
3067
|
+
* Membership ID.
|
|
3068
|
+
* @minLength 1
|
|
3069
|
+
* @maxLength 100
|
|
3070
|
+
*/
|
|
3071
|
+
id?: string;
|
|
3072
|
+
/**
|
|
3073
|
+
* ID of the app providing this payment option.
|
|
3074
|
+
* @format GUID
|
|
3075
|
+
*/
|
|
3076
|
+
appId?: string;
|
|
3077
|
+
/**
|
|
3078
|
+
* IDs of the line items this membership applies to.
|
|
3079
|
+
* @minSize 1
|
|
3080
|
+
* @maxSize 300
|
|
3081
|
+
* @minLength 1
|
|
3082
|
+
* @maxLength 100
|
|
3083
|
+
*/
|
|
3084
|
+
lineItemIds?: string[];
|
|
3085
|
+
}
|
|
2771
3086
|
interface CalculateCartForV1Response {
|
|
2772
3087
|
/** The Cart that was calculated. */
|
|
2773
3088
|
cart?: Cart;
|
|
@@ -3601,27 +3916,6 @@ interface InvalidMembership {
|
|
|
3601
3916
|
*/
|
|
3602
3917
|
reason?: string;
|
|
3603
3918
|
}
|
|
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
3919
|
interface AdditionalFee {
|
|
3626
3920
|
/**
|
|
3627
3921
|
* Additional fee's unique code (or ID) for future processing.
|
|
@@ -3673,10 +3967,54 @@ declare enum AdditionalFeeSource {
|
|
|
3673
3967
|
/** The additional fee was added manually on the request */
|
|
3674
3968
|
MANUAL = "MANUAL",
|
|
3675
3969
|
/** The additional fee was added by the shipping provider */
|
|
3676
|
-
SHIPPING = "SHIPPING"
|
|
3970
|
+
SHIPPING = "SHIPPING",
|
|
3971
|
+
/** The additional fee was added by a Wix vertical and represents a Wix platform fee */
|
|
3972
|
+
PLATFORM_FEE = "PLATFORM_FEE"
|
|
3677
3973
|
}
|
|
3678
3974
|
/** @enumType */
|
|
3679
|
-
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING';
|
|
3975
|
+
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM_FEE';
|
|
3976
|
+
interface PlatformFeeSummary {
|
|
3977
|
+
/** Total platform fee amount. */
|
|
3978
|
+
total?: MultiCurrencyPrice;
|
|
3979
|
+
/** Total platform fee passed on to the customer. */
|
|
3980
|
+
totalPassOn?: MultiCurrencyPrice;
|
|
3981
|
+
/** Total platform fee absorbed by the merchant. */
|
|
3982
|
+
totalAbsorbed?: MultiCurrencyPrice;
|
|
3983
|
+
/**
|
|
3984
|
+
* Calculated platform fees.
|
|
3985
|
+
* @maxSize 100
|
|
3986
|
+
*/
|
|
3987
|
+
calculatedPlatformFees?: CalculatedPlatformFee[];
|
|
3988
|
+
}
|
|
3989
|
+
interface CalculatedPlatformFee {
|
|
3990
|
+
/** Platform fee name. */
|
|
3991
|
+
name?: TranslatableString;
|
|
3992
|
+
/** Platform fee amount. */
|
|
3993
|
+
amount?: MultiCurrencyPrice;
|
|
3994
|
+
/**
|
|
3995
|
+
* ID of the line item the platform fee applies to.
|
|
3996
|
+
* @format GUID
|
|
3997
|
+
*/
|
|
3998
|
+
lineItemId?: string;
|
|
3999
|
+
/** Platform fee charge type. */
|
|
4000
|
+
chargeType?: PlatformFeeChargeTypeWithLiterals;
|
|
4001
|
+
/**
|
|
4002
|
+
* Percentage rate charged as platform fee.
|
|
4003
|
+
* The fee rate expressed as a decimal fraction between 0 and 1. For example, `0.05` for 5%.
|
|
4004
|
+
* @format DECIMAL_VALUE
|
|
4005
|
+
* @decimalValue options { gte:0, lte:1, maxScale:4 }
|
|
4006
|
+
*/
|
|
4007
|
+
percentageRate?: string;
|
|
4008
|
+
}
|
|
4009
|
+
declare enum PlatformFeeChargeType {
|
|
4010
|
+
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
4011
|
+
/** The platform fee is passed on to the customer. */
|
|
4012
|
+
PASS_ON = "PASS_ON",
|
|
4013
|
+
/** The platform fee is absorbed by the merchant. */
|
|
4014
|
+
ABSORBED = "ABSORBED"
|
|
4015
|
+
}
|
|
4016
|
+
/** @enumType */
|
|
4017
|
+
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
|
|
3680
4018
|
interface GetCheckoutURLRequest {
|
|
3681
4019
|
/**
|
|
3682
4020
|
* ID of the Cart to calculate.
|
|
@@ -3765,6 +4103,97 @@ interface PlaceOrderResponse {
|
|
|
3765
4103
|
/** Whether an order was successfully created from this cart and the payment transaction was completed. */
|
|
3766
4104
|
completed?: boolean;
|
|
3767
4105
|
}
|
|
4106
|
+
interface AllLineItemsOutOfStockErrorData {
|
|
4107
|
+
/**
|
|
4108
|
+
* IDs of the line items that are out of stock.
|
|
4109
|
+
* @format GUID
|
|
4110
|
+
* @maxSize 300
|
|
4111
|
+
*/
|
|
4112
|
+
lineItemIds?: string[];
|
|
4113
|
+
}
|
|
4114
|
+
interface SomeLineItemsOutOfStockErrorData {
|
|
4115
|
+
/**
|
|
4116
|
+
* IDs of the line items that are out of stock, if available.
|
|
4117
|
+
* @format GUID
|
|
4118
|
+
* @maxSize 300
|
|
4119
|
+
*/
|
|
4120
|
+
lineItemIds?: string[];
|
|
4121
|
+
}
|
|
4122
|
+
interface InvalidThirdPartyCheckoutTokenErrorData {
|
|
4123
|
+
/**
|
|
4124
|
+
* The invalid third party checkout token.
|
|
4125
|
+
* @maxLength 3000
|
|
4126
|
+
*/
|
|
4127
|
+
token?: string;
|
|
4128
|
+
}
|
|
4129
|
+
interface InvalidPriceVerificationTokenErrorData {
|
|
4130
|
+
/**
|
|
4131
|
+
* The invalid price verification token.
|
|
4132
|
+
* @maxLength 3000
|
|
4133
|
+
*/
|
|
4134
|
+
token?: string;
|
|
4135
|
+
}
|
|
4136
|
+
interface ViolationWithErrorSeverityErrorData {
|
|
4137
|
+
/** List of violations. */
|
|
4138
|
+
violationsList?: ViolationsList;
|
|
4139
|
+
}
|
|
4140
|
+
interface ViolationsList {
|
|
4141
|
+
/**
|
|
4142
|
+
* Violations risen by ValidationsSPI implementers.
|
|
4143
|
+
* @maxSize 100
|
|
4144
|
+
*/
|
|
4145
|
+
violations?: Violation[];
|
|
4146
|
+
}
|
|
4147
|
+
interface CalculationErrorData {
|
|
4148
|
+
/** Calculation errors encountered during cart calculation. */
|
|
4149
|
+
calculationErrors?: CalculationErrors;
|
|
4150
|
+
}
|
|
4151
|
+
interface InvalidMembershipErrorData {
|
|
4152
|
+
/**
|
|
4153
|
+
* The error message for invalid membership.
|
|
4154
|
+
* @maxLength 100
|
|
4155
|
+
*/
|
|
4156
|
+
message?: string;
|
|
4157
|
+
}
|
|
4158
|
+
interface InvalidPaymentStatusErrorData {
|
|
4159
|
+
/**
|
|
4160
|
+
* The payment token, if available.
|
|
4161
|
+
* @maxLength 100
|
|
4162
|
+
*/
|
|
4163
|
+
paymentToken?: string | null;
|
|
4164
|
+
/**
|
|
4165
|
+
* The transaction status.
|
|
4166
|
+
* @maxLength 100
|
|
4167
|
+
*/
|
|
4168
|
+
transactionStatus?: string;
|
|
4169
|
+
/**
|
|
4170
|
+
* The failure details, if available.
|
|
4171
|
+
* @maxLength 100
|
|
4172
|
+
*/
|
|
4173
|
+
failureDetails?: string | null;
|
|
4174
|
+
}
|
|
4175
|
+
interface GiftCardRedeemErrorData {
|
|
4176
|
+
/**
|
|
4177
|
+
* The error message for the gift card redemption failure.
|
|
4178
|
+
* @maxLength 100
|
|
4179
|
+
*/
|
|
4180
|
+
error?: string;
|
|
4181
|
+
}
|
|
4182
|
+
interface EmptyPaymentTokenErrorData {
|
|
4183
|
+
/**
|
|
4184
|
+
* Order total price
|
|
4185
|
+
* @maxLength 100
|
|
4186
|
+
*/
|
|
4187
|
+
total?: string;
|
|
4188
|
+
}
|
|
4189
|
+
interface MembersOnlyItemErrorData {
|
|
4190
|
+
/**
|
|
4191
|
+
* IDs of the members-only items in the cart.
|
|
4192
|
+
* @format GUID
|
|
4193
|
+
* @maxSize 300
|
|
4194
|
+
*/
|
|
4195
|
+
lineItemIds?: string[];
|
|
4196
|
+
}
|
|
3768
4197
|
interface AddLineItemsRequest {
|
|
3769
4198
|
/**
|
|
3770
4199
|
* Cart ID.
|
|
@@ -3934,11 +4363,432 @@ interface HeadersEntry {
|
|
|
3934
4363
|
key?: string;
|
|
3935
4364
|
value?: string;
|
|
3936
4365
|
}
|
|
4366
|
+
interface UpdateFormSubmissionsRequest {
|
|
4367
|
+
/**
|
|
4368
|
+
* ID of the Cart to update.
|
|
4369
|
+
* @format GUID
|
|
4370
|
+
*/
|
|
4371
|
+
cartId: string;
|
|
4372
|
+
/**
|
|
4373
|
+
* Forms submission data to set on the cart.
|
|
4374
|
+
* @minSize 1
|
|
4375
|
+
* @maxSize 1000
|
|
4376
|
+
*/
|
|
4377
|
+
formSubmissions?: FormSubmission[];
|
|
4378
|
+
}
|
|
4379
|
+
interface FormSubmission {
|
|
4380
|
+
/** @format GUID */
|
|
4381
|
+
id?: string;
|
|
4382
|
+
/** @format GUID */
|
|
4383
|
+
formSubmissionId?: string;
|
|
4384
|
+
}
|
|
4385
|
+
interface UpdateFormSubmissionsResponse {
|
|
4386
|
+
/** Updated Cart. */
|
|
4387
|
+
cart?: Cart;
|
|
4388
|
+
}
|
|
4389
|
+
/** @docsIgnore */
|
|
4390
|
+
type CreateCartApplicationErrors = {
|
|
4391
|
+
code?: 'ITEM_NOT_FOUND_IN_CATALOG';
|
|
4392
|
+
description?: string;
|
|
4393
|
+
data?: ItemNotFoundInCatalogErrorData;
|
|
4394
|
+
} | {
|
|
4395
|
+
code?: 'INSUFFICIENT_INVENTORY';
|
|
4396
|
+
description?: string;
|
|
4397
|
+
data?: InsufficientInventoryErrorData;
|
|
4398
|
+
} | {
|
|
4399
|
+
code?: 'MAX_LINE_ITEMS_EXCEEDED';
|
|
4400
|
+
description?: string;
|
|
4401
|
+
data?: MaxLineItemsExceededErrorData;
|
|
4402
|
+
} | {
|
|
4403
|
+
code?: 'MAX_ITEM_MODIFIERS_EXCEEDED';
|
|
4404
|
+
description?: string;
|
|
4405
|
+
data?: MaxItemModifiersExceededErrorData;
|
|
4406
|
+
} | {
|
|
4407
|
+
code?: 'DUPLICATE_MODIFIER_GROUP_IDS';
|
|
4408
|
+
description?: string;
|
|
4409
|
+
data?: DuplicateModifierGroupIdsErrorData;
|
|
4410
|
+
} | {
|
|
4411
|
+
code?: 'DUPLICATE_ITEM_MODIFIER_IDS';
|
|
4412
|
+
description?: string;
|
|
4413
|
+
data?: DuplicateItemModifierIdsErrorData;
|
|
4414
|
+
} | {
|
|
4415
|
+
code?: 'LINE_ITEM_PRICE_CONFLICT';
|
|
4416
|
+
description?: string;
|
|
4417
|
+
data?: LineItemPriceConflictErrorData;
|
|
4418
|
+
} | {
|
|
4419
|
+
code?: 'FIXED_QUANTITY_ITEM';
|
|
4420
|
+
description?: string;
|
|
4421
|
+
data?: FixedQuantityItemErrorData;
|
|
4422
|
+
} | {
|
|
4423
|
+
code?: 'INVALID_MEMBERSHIP_PAYMENT_OPTION';
|
|
4424
|
+
description?: string;
|
|
4425
|
+
data?: InvalidMembershipPaymentOptionErrorData;
|
|
4426
|
+
} | {
|
|
4427
|
+
code?: 'INVALID_COUPON_CODE';
|
|
4428
|
+
description?: string;
|
|
4429
|
+
data?: InvalidCouponCodeErrorData;
|
|
4430
|
+
} | {
|
|
4431
|
+
code?: 'INVALID_COUPON_STATUS';
|
|
4432
|
+
description?: string;
|
|
4433
|
+
data?: InvalidCouponStatusErrorData;
|
|
4434
|
+
} | {
|
|
4435
|
+
code?: 'INVALID_GIFT_CARD_CODE';
|
|
4436
|
+
description?: string;
|
|
4437
|
+
data?: InvalidGiftCardCodeErrorData;
|
|
4438
|
+
} | {
|
|
4439
|
+
code?: 'INVALID_GIFT_CARD_STATUS';
|
|
4440
|
+
description?: string;
|
|
4441
|
+
data?: InvalidGiftCardStatusErrorData;
|
|
4442
|
+
} | {
|
|
4443
|
+
code?: 'DELIVERY_METHOD_NOT_FOUND';
|
|
4444
|
+
description?: string;
|
|
4445
|
+
data?: DeliveryMethodNotFoundErrorData;
|
|
4446
|
+
} | {
|
|
4447
|
+
code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
|
|
4448
|
+
description?: string;
|
|
4449
|
+
data?: Record<string, any>;
|
|
4450
|
+
} | {
|
|
4451
|
+
code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
|
|
4452
|
+
description?: string;
|
|
4453
|
+
data?: Record<string, any>;
|
|
4454
|
+
} | {
|
|
4455
|
+
code?: 'DEPOSIT_AMOUNT_GREATER_THAN_UNIT_PRICE';
|
|
4456
|
+
description?: string;
|
|
4457
|
+
data?: Record<string, any>;
|
|
4458
|
+
};
|
|
3937
4459
|
/** @docsIgnore */
|
|
3938
|
-
type
|
|
3939
|
-
code?: '
|
|
4460
|
+
type UpdateCartApplicationErrors = {
|
|
4461
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4462
|
+
description?: string;
|
|
4463
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4464
|
+
} | {
|
|
4465
|
+
code?: 'ADDRESS_MISSING_COUNTRY';
|
|
4466
|
+
description?: string;
|
|
4467
|
+
data?: Record<string, any>;
|
|
4468
|
+
} | {
|
|
4469
|
+
code?: 'BUSINESS_LOCATION_NOT_FOUND';
|
|
4470
|
+
description?: string;
|
|
4471
|
+
data?: Record<string, any>;
|
|
4472
|
+
} | {
|
|
4473
|
+
code?: 'INVALID_ADDRESS_FORMAT';
|
|
3940
4474
|
description?: string;
|
|
3941
|
-
data?:
|
|
4475
|
+
data?: Record<string, any>;
|
|
4476
|
+
} | {
|
|
4477
|
+
code?: 'DATA_EXTENSION_UPDATE_FAILED';
|
|
4478
|
+
description?: string;
|
|
4479
|
+
data?: Record<string, any>;
|
|
4480
|
+
};
|
|
4481
|
+
/** @docsIgnore */
|
|
4482
|
+
type RefreshCartApplicationErrors = {
|
|
4483
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4484
|
+
description?: string;
|
|
4485
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4486
|
+
};
|
|
4487
|
+
/** @docsIgnore */
|
|
4488
|
+
type CalculateCartApplicationErrors = {
|
|
4489
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4490
|
+
description?: string;
|
|
4491
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4492
|
+
};
|
|
4493
|
+
/** @docsIgnore */
|
|
4494
|
+
type GetCheckoutUrlApplicationErrors = {
|
|
4495
|
+
code?: 'CHECKOUT_PAGE_NOT_FOUND';
|
|
4496
|
+
description?: string;
|
|
4497
|
+
data?: Record<string, any>;
|
|
4498
|
+
};
|
|
4499
|
+
/** @docsIgnore */
|
|
4500
|
+
type PlaceOrderApplicationErrors = {
|
|
4501
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4502
|
+
description?: string;
|
|
4503
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4504
|
+
} | {
|
|
4505
|
+
code?: 'SITE_NOT_ACCEPTING_PAYMENTS';
|
|
4506
|
+
description?: string;
|
|
4507
|
+
data?: Record<string, any>;
|
|
4508
|
+
} | {
|
|
4509
|
+
code?: 'EMPTY_CART';
|
|
4510
|
+
description?: string;
|
|
4511
|
+
data?: Record<string, any>;
|
|
4512
|
+
} | {
|
|
4513
|
+
code?: 'ALL_LINE_ITEMS_OUT_OF_STOCK';
|
|
4514
|
+
description?: string;
|
|
4515
|
+
data?: AllLineItemsOutOfStockErrorData;
|
|
4516
|
+
} | {
|
|
4517
|
+
code?: 'SOME_LINE_ITEMS_OUT_OF_STOCK';
|
|
4518
|
+
description?: string;
|
|
4519
|
+
data?: SomeLineItemsOutOfStockErrorData;
|
|
4520
|
+
} | {
|
|
4521
|
+
code?: 'CART_PRICES_OUT_OF_SYNC';
|
|
4522
|
+
description?: string;
|
|
4523
|
+
data?: Record<string, any>;
|
|
4524
|
+
} | {
|
|
4525
|
+
code?: 'INVALID_THIRD_PARTY_CHECKOUT_TOKEN';
|
|
4526
|
+
description?: string;
|
|
4527
|
+
data?: InvalidThirdPartyCheckoutTokenErrorData;
|
|
4528
|
+
} | {
|
|
4529
|
+
code?: 'INVALID_PRICE_VERIFICATION_TOKEN';
|
|
4530
|
+
description?: string;
|
|
4531
|
+
data?: InvalidPriceVerificationTokenErrorData;
|
|
4532
|
+
} | {
|
|
4533
|
+
code?: 'VIOLATIONS_WITH_ERROR_SEVERITY';
|
|
4534
|
+
description?: string;
|
|
4535
|
+
data?: ViolationWithErrorSeverityErrorData;
|
|
4536
|
+
} | {
|
|
4537
|
+
code?: 'CALCULATION_ERROR';
|
|
4538
|
+
description?: string;
|
|
4539
|
+
data?: CalculationErrorData;
|
|
4540
|
+
} | {
|
|
4541
|
+
code?: 'CANNOT_PAY_FOR_GIFT_CARD_WITH_GIFT_CARD';
|
|
4542
|
+
description?: string;
|
|
4543
|
+
data?: Record<string, any>;
|
|
4544
|
+
} | {
|
|
4545
|
+
code?: 'CANNOT_REDEEM_COUPON_WHEN_PURCHASING_GIFT_CARD';
|
|
4546
|
+
description?: string;
|
|
4547
|
+
data?: Record<string, any>;
|
|
4548
|
+
} | {
|
|
4549
|
+
code?: 'CANNOT_PAY_FOR_SUBSCRIPTION_WITH_GIFT_CARD';
|
|
4550
|
+
description?: string;
|
|
4551
|
+
data?: Record<string, any>;
|
|
4552
|
+
} | {
|
|
4553
|
+
code?: 'SUBSCRIPTION_AS_CUSTOM_LINE_ITEM';
|
|
4554
|
+
description?: string;
|
|
4555
|
+
data?: Record<string, any>;
|
|
4556
|
+
} | {
|
|
4557
|
+
code?: 'SUBSCRIPTION_WITH_INVALID_FREQUENCY';
|
|
4558
|
+
description?: string;
|
|
4559
|
+
data?: Record<string, any>;
|
|
4560
|
+
} | {
|
|
4561
|
+
code?: 'SHIPPABLE_LINE_ITEM_CONTAINS_FREE_TRIAL_SUBSCRIPTION';
|
|
4562
|
+
description?: string;
|
|
4563
|
+
data?: Record<string, any>;
|
|
4564
|
+
} | {
|
|
4565
|
+
code?: 'UNCONFIRMED_SAVE_PAYMENT_METHOD';
|
|
4566
|
+
description?: string;
|
|
4567
|
+
data?: Record<string, any>;
|
|
4568
|
+
} | {
|
|
4569
|
+
code?: 'DELIVERY_METHOD_NO_LONGER_AVAILABLE';
|
|
4570
|
+
description?: string;
|
|
4571
|
+
data?: Record<string, any>;
|
|
4572
|
+
} | {
|
|
4573
|
+
code?: 'DELIVERY_METHOD_NOT_APPLIED_TO_ALL_LINE_ITEMS';
|
|
4574
|
+
description?: string;
|
|
4575
|
+
data?: Record<string, any>;
|
|
4576
|
+
} | {
|
|
4577
|
+
code?: 'MISSING_DELIVERY_ADDRESS';
|
|
4578
|
+
description?: string;
|
|
4579
|
+
data?: Record<string, any>;
|
|
4580
|
+
} | {
|
|
4581
|
+
code?: 'MISSING_DELIVERY_METHOD';
|
|
4582
|
+
description?: string;
|
|
4583
|
+
data?: Record<string, any>;
|
|
4584
|
+
} | {
|
|
4585
|
+
code?: 'INVALID_MEMBERSHIP';
|
|
4586
|
+
description?: string;
|
|
4587
|
+
data?: InvalidMembershipErrorData;
|
|
4588
|
+
} | {
|
|
4589
|
+
code?: 'INVALID_PAYMENT_STATUS';
|
|
4590
|
+
description?: string;
|
|
4591
|
+
data?: InvalidPaymentStatusErrorData;
|
|
4592
|
+
} | {
|
|
4593
|
+
code?: 'GIFT_CARD_REDEEM_ERROR';
|
|
4594
|
+
description?: string;
|
|
4595
|
+
data?: GiftCardRedeemErrorData;
|
|
4596
|
+
} | {
|
|
4597
|
+
code?: 'PAYMENT_ALREADY_IN_PROGRESS';
|
|
4598
|
+
description?: string;
|
|
4599
|
+
data?: Record<string, any>;
|
|
4600
|
+
} | {
|
|
4601
|
+
code?: 'EMPTY_PAYMENT_TOKEN';
|
|
4602
|
+
description?: string;
|
|
4603
|
+
data?: EmptyPaymentTokenErrorData;
|
|
4604
|
+
} | {
|
|
4605
|
+
code?: 'MEMBERS_ONLY_ITEM';
|
|
4606
|
+
description?: string;
|
|
4607
|
+
data?: MembersOnlyItemErrorData;
|
|
4608
|
+
};
|
|
4609
|
+
/** @docsIgnore */
|
|
4610
|
+
type AddLineItemsApplicationErrors = {
|
|
4611
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4612
|
+
description?: string;
|
|
4613
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4614
|
+
} | {
|
|
4615
|
+
code?: 'NO_LINE_ITEMS_TO_ADD';
|
|
4616
|
+
description?: string;
|
|
4617
|
+
data?: Record<string, any>;
|
|
4618
|
+
} | {
|
|
4619
|
+
code?: 'ITEM_NOT_FOUND_IN_CATALOG';
|
|
4620
|
+
description?: string;
|
|
4621
|
+
data?: ItemNotFoundInCatalogErrorData;
|
|
4622
|
+
} | {
|
|
4623
|
+
code?: 'INSUFFICIENT_INVENTORY';
|
|
4624
|
+
description?: string;
|
|
4625
|
+
data?: InsufficientInventoryErrorData;
|
|
4626
|
+
} | {
|
|
4627
|
+
code?: 'MAX_LINE_ITEMS_EXCEEDED';
|
|
4628
|
+
description?: string;
|
|
4629
|
+
data?: MaxLineItemsExceededErrorData;
|
|
4630
|
+
} | {
|
|
4631
|
+
code?: 'MAX_ITEM_MODIFIERS_EXCEEDED';
|
|
4632
|
+
description?: string;
|
|
4633
|
+
data?: MaxItemModifiersExceededErrorData;
|
|
4634
|
+
} | {
|
|
4635
|
+
code?: 'DUPLICATE_MODIFIER_GROUP_IDS';
|
|
4636
|
+
description?: string;
|
|
4637
|
+
data?: DuplicateModifierGroupIdsErrorData;
|
|
4638
|
+
} | {
|
|
4639
|
+
code?: 'DUPLICATE_ITEM_MODIFIER_IDS';
|
|
4640
|
+
description?: string;
|
|
4641
|
+
data?: DuplicateItemModifierIdsErrorData;
|
|
4642
|
+
} | {
|
|
4643
|
+
code?: 'LINE_ITEM_PRICE_CONFLICT';
|
|
4644
|
+
description?: string;
|
|
4645
|
+
data?: LineItemPriceConflictErrorData;
|
|
4646
|
+
} | {
|
|
4647
|
+
code?: 'FIXED_QUANTITY_ITEM';
|
|
4648
|
+
description?: string;
|
|
4649
|
+
data?: FixedQuantityItemErrorData;
|
|
4650
|
+
} | {
|
|
4651
|
+
code?: 'INVALID_MEMBERSHIP_PAYMENT_OPTION';
|
|
4652
|
+
description?: string;
|
|
4653
|
+
data?: InvalidMembershipPaymentOptionErrorData;
|
|
4654
|
+
} | {
|
|
4655
|
+
code?: 'DEPOSIT_AMOUNT_GREATER_THAN_UNIT_PRICE';
|
|
4656
|
+
description?: string;
|
|
4657
|
+
data?: Record<string, any>;
|
|
4658
|
+
};
|
|
4659
|
+
/** @docsIgnore */
|
|
4660
|
+
type RemoveLineItemsApplicationErrors = {
|
|
4661
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4662
|
+
description?: string;
|
|
4663
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4664
|
+
} | {
|
|
4665
|
+
code?: 'LINE_ITEM_NOT_FOUND_IN_CART';
|
|
4666
|
+
description?: string;
|
|
4667
|
+
data?: LineItemNotFoundInCartErrorData;
|
|
4668
|
+
};
|
|
4669
|
+
/** @docsIgnore */
|
|
4670
|
+
type UpdateLineItemsApplicationErrors = {
|
|
4671
|
+
code?: 'EMPTY_LINE_ITEM_UPDATES';
|
|
4672
|
+
description?: string;
|
|
4673
|
+
data?: EmptyLineItemUpdatesErrorData;
|
|
4674
|
+
} | {
|
|
4675
|
+
code?: 'DUPLICATE_LINE_ITEM_UPDATES';
|
|
4676
|
+
description?: string;
|
|
4677
|
+
data?: DuplicateLineItemUpdatesErrorData;
|
|
4678
|
+
} | {
|
|
4679
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4680
|
+
description?: string;
|
|
4681
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4682
|
+
} | {
|
|
4683
|
+
code?: 'LINE_ITEM_NOT_FOUND_IN_CART';
|
|
4684
|
+
description?: string;
|
|
4685
|
+
data?: LineItemNotFoundInCartErrorData;
|
|
4686
|
+
} | {
|
|
4687
|
+
code?: 'ITEM_NOT_FOUND_IN_CATALOG';
|
|
4688
|
+
description?: string;
|
|
4689
|
+
data?: ItemNotFoundInCatalogErrorData;
|
|
4690
|
+
} | {
|
|
4691
|
+
code?: 'INSUFFICIENT_INVENTORY';
|
|
4692
|
+
description?: string;
|
|
4693
|
+
data?: InsufficientInventoryErrorData;
|
|
4694
|
+
};
|
|
4695
|
+
/** @docsIgnore */
|
|
4696
|
+
type AddCouponApplicationErrors = {
|
|
4697
|
+
code?: 'COUPON_ALREADY_EXISTS';
|
|
4698
|
+
description?: string;
|
|
4699
|
+
data?: CouponAlreadyExistsErrorData;
|
|
4700
|
+
} | {
|
|
4701
|
+
code?: 'MAX_COUPONS_PER_CART_EXCEEDED';
|
|
4702
|
+
description?: string;
|
|
4703
|
+
data?: Record<string, any>;
|
|
4704
|
+
} | {
|
|
4705
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4706
|
+
description?: string;
|
|
4707
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4708
|
+
} | {
|
|
4709
|
+
code?: 'COUPON_LOCKED';
|
|
4710
|
+
description?: string;
|
|
4711
|
+
data?: Record<string, any>;
|
|
4712
|
+
} | {
|
|
4713
|
+
code?: 'INVALID_COUPON_CODE';
|
|
4714
|
+
description?: string;
|
|
4715
|
+
data?: InvalidCouponCodeErrorData;
|
|
4716
|
+
} | {
|
|
4717
|
+
code?: 'INVALID_COUPON_STATUS';
|
|
4718
|
+
description?: string;
|
|
4719
|
+
data?: InvalidCouponStatusErrorData;
|
|
4720
|
+
};
|
|
4721
|
+
/** @docsIgnore */
|
|
4722
|
+
type RemoveCouponApplicationErrors = {
|
|
4723
|
+
code?: 'COUPON_NOT_FOUND_IN_CART';
|
|
4724
|
+
description?: string;
|
|
4725
|
+
data?: CouponNotFoundInCartErrorData;
|
|
4726
|
+
} | {
|
|
4727
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4728
|
+
description?: string;
|
|
4729
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4730
|
+
} | {
|
|
4731
|
+
code?: 'COUPON_LOCKED';
|
|
4732
|
+
description?: string;
|
|
4733
|
+
data?: Record<string, any>;
|
|
4734
|
+
};
|
|
4735
|
+
/** @docsIgnore */
|
|
4736
|
+
type SetDeliveryMethodApplicationErrors = {
|
|
4737
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4738
|
+
description?: string;
|
|
4739
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4740
|
+
} | {
|
|
4741
|
+
code?: 'DELIVERY_METHOD_NOT_FOUND';
|
|
4742
|
+
description?: string;
|
|
4743
|
+
data?: DeliveryMethodNotFoundErrorData;
|
|
4744
|
+
} | {
|
|
4745
|
+
code?: 'DELIVERY_METHOD_MISSING_ADDRESS';
|
|
4746
|
+
description?: string;
|
|
4747
|
+
data?: Record<string, any>;
|
|
4748
|
+
} | {
|
|
4749
|
+
code?: 'DELIVERY_METHOD_MISSING_LINE_ITEMS';
|
|
4750
|
+
description?: string;
|
|
4751
|
+
data?: Record<string, any>;
|
|
4752
|
+
};
|
|
4753
|
+
/** @docsIgnore */
|
|
4754
|
+
type AddGiftCardApplicationErrors = {
|
|
4755
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4756
|
+
description?: string;
|
|
4757
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4758
|
+
} | {
|
|
4759
|
+
code?: 'INVALID_GIFT_CARD_CODE';
|
|
4760
|
+
description?: string;
|
|
4761
|
+
data?: InvalidGiftCardCodeErrorData;
|
|
4762
|
+
} | {
|
|
4763
|
+
code?: 'INVALID_GIFT_CARD_STATUS';
|
|
4764
|
+
description?: string;
|
|
4765
|
+
data?: InvalidGiftCardStatusErrorData;
|
|
4766
|
+
} | {
|
|
4767
|
+
code?: 'MAX_GIFT_CARDS_PER_CART_EXCEEDED';
|
|
4768
|
+
description?: string;
|
|
4769
|
+
data?: Record<string, any>;
|
|
4770
|
+
} | {
|
|
4771
|
+
code?: 'GIFT_CARD_ALREADY_EXISTS';
|
|
4772
|
+
description?: string;
|
|
4773
|
+
data?: GiftCardAlreadyExistsErrorData;
|
|
4774
|
+
} | {
|
|
4775
|
+
code?: 'GIFT_CARD_LOCKED';
|
|
4776
|
+
description?: string;
|
|
4777
|
+
data?: Record<string, any>;
|
|
4778
|
+
};
|
|
4779
|
+
/** @docsIgnore */
|
|
4780
|
+
type RemoveGiftCardApplicationErrors = {
|
|
4781
|
+
code?: 'CART_ALREADY_ORDERED';
|
|
4782
|
+
description?: string;
|
|
4783
|
+
data?: CartAlreadyOrderedErrorData;
|
|
4784
|
+
} | {
|
|
4785
|
+
code?: 'GIFT_CARD_NOT_FOUND_IN_CART';
|
|
4786
|
+
description?: string;
|
|
4787
|
+
data?: GiftCardNotFoundInCartErrorData;
|
|
4788
|
+
} | {
|
|
4789
|
+
code?: 'GIFT_CARD_LOCKED';
|
|
4790
|
+
description?: string;
|
|
4791
|
+
data?: Record<string, any>;
|
|
3942
4792
|
};
|
|
3943
4793
|
|
|
3944
4794
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
@@ -4001,5 +4851,8 @@ declare function markCartAsCompleted(): __PublicMethodMetaInfo<'POST', {
|
|
|
4001
4851
|
cartId: string;
|
|
4002
4852
|
}, MarkCartAsCompletedRequest$1, MarkCartAsCompletedRequest, MarkCartAsCompletedResponse$1, MarkCartAsCompletedResponse>;
|
|
4003
4853
|
declare function handleAsyncCheckoutCompletion(): __PublicMethodMetaInfo<'POST', {}, HandleAsyncCheckoutCompletionRequest$1, HandleAsyncCheckoutCompletionRequest, RawHttpResponse$1, RawHttpResponse>;
|
|
4854
|
+
declare function updateFormSubmissions(): __PublicMethodMetaInfo<'POST', {
|
|
4855
|
+
cartId: string;
|
|
4856
|
+
}, UpdateFormSubmissionsRequest$1, UpdateFormSubmissionsRequest, UpdateFormSubmissionsResponse$1, UpdateFormSubmissionsResponse>;
|
|
4004
4857
|
|
|
4005
|
-
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 GetCartApplicationErrors as GetCartApplicationErrorsOriginal, 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, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, placeOrder, refreshCart, removeCoupon, removeGiftCard, removeLineItems, setDeliveryMethod, updateCart, updateLineItems };
|
|
4858
|
+
export { type ActionEvent as ActionEventOriginal, type AddCouponApplicationErrors as AddCouponApplicationErrorsOriginal, type AddCouponRequest as AddCouponRequestOriginal, type AddCouponResponse as AddCouponResponseOriginal, type AddCouponToCurrentCartRequest as AddCouponToCurrentCartRequestOriginal, type AddCouponToCurrentCartResponse as AddCouponToCurrentCartResponseOriginal, type AddGiftCardApplicationErrors as AddGiftCardApplicationErrorsOriginal, type AddGiftCardRequest as AddGiftCardRequestOriginal, type AddGiftCardResponse as AddGiftCardResponseOriginal, type AddGiftCardToCurrentCartRequest as AddGiftCardToCurrentCartRequestOriginal, type AddGiftCardToCurrentCartResponse as AddGiftCardToCurrentCartResponseOriginal, type AddLineItemsApplicationErrors as AddLineItemsApplicationErrorsOriginal, 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 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 CalculateCartApplicationErrors as CalculateCartApplicationErrorsOriginal, 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 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 CreateCartApplicationErrors as CreateCartApplicationErrorsOriginal, 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 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 GetCheckoutUrlApplicationErrors as GetCheckoutUrlApplicationErrorsOriginal, 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 PlaceOrderApplicationErrors as PlaceOrderApplicationErrorsOriginal, 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 RefreshCartApplicationErrors as RefreshCartApplicationErrorsOriginal, type RefreshCartRequest as RefreshCartRequestOriginal, type RefreshCartResponse as RefreshCartResponseOriginal, type RefreshCurrentCartRequest as RefreshCurrentCartRequestOriginal, type RefreshCurrentCartResponse as RefreshCurrentCartResponseOriginal, type Region as RegionOriginal, type RemoveCouponApplicationErrors as RemoveCouponApplicationErrorsOriginal, type RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequestOriginal, type RemoveCouponFromCurrentCartResponse as RemoveCouponFromCurrentCartResponseOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveGiftCardApplicationErrors as RemoveGiftCardApplicationErrorsOriginal, type RemoveGiftCardFromCurrentCartRequest as RemoveGiftCardFromCurrentCartRequestOriginal, type RemoveGiftCardFromCurrentCartResponse as RemoveGiftCardFromCurrentCartResponseOriginal, type RemoveGiftCardRequest as RemoveGiftCardRequestOriginal, type RemoveGiftCardResponse as RemoveGiftCardResponseOriginal, type RemoveLineItemsApplicationErrors as RemoveLineItemsApplicationErrorsOriginal, 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 SetDeliveryMethodApplicationErrors as SetDeliveryMethodApplicationErrorsOriginal, 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 UpdateCartApplicationErrors as UpdateCartApplicationErrorsOriginal, type UpdateCartRequest as UpdateCartRequestOriginal, type UpdateCartResponse as UpdateCartResponseOriginal, type UpdateCurrentCartRequest as UpdateCurrentCartRequestOriginal, type UpdateCurrentCartResponse as UpdateCurrentCartResponseOriginal, type UpdateFormSubmissionsRequest as UpdateFormSubmissionsRequestOriginal, type UpdateFormSubmissionsResponse as UpdateFormSubmissionsResponseOriginal, type UpdateLineItemsApplicationErrors as UpdateLineItemsApplicationErrorsOriginal, 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, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, placeOrder, refreshCart, removeCoupon, removeGiftCard, removeLineItems, setDeliveryMethod, updateCart, updateFormSubmissions, updateLineItems };
|