@wix/ecom 1.0.853 → 1.0.855
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.
|
@@ -496,14 +496,7 @@ interface MembershipInvalidSelectionError extends MembershipInvalidSelectionErro
|
|
|
496
496
|
membershipSelectionInvalidReason?: string | null;
|
|
497
497
|
/** Membership ID. */
|
|
498
498
|
membershipId?: string;
|
|
499
|
-
/**
|
|
500
|
-
* Error type.
|
|
501
|
-
*
|
|
502
|
-
* + MEMBERSHIP_NOT_FOUND: Membership not found.
|
|
503
|
-
* + LINE_ITEM_NOT_FOUND: The selection points to a line item ID that wasn't provided.
|
|
504
|
-
* + MEMBERSHIP_CANNOT_BE_USED_FOR_LINE_ITEMS: The membership cannot be used for the specific line items provided.
|
|
505
|
-
* + MEMBERSHIP_SELECTION_INVALID: The membership can be used for each individual line item, but combining all of them is invalid.
|
|
506
|
-
*/
|
|
499
|
+
/** Error type. */
|
|
507
500
|
errorType?: MembershipErrorType;
|
|
508
501
|
}
|
|
509
502
|
/** @oneof */
|
|
@@ -517,12 +510,13 @@ interface MembershipInvalidSelectionErrorErrorDataOneOf {
|
|
|
517
510
|
}
|
|
518
511
|
declare enum MembershipErrorType {
|
|
519
512
|
UNKNOWN = "UNKNOWN",
|
|
513
|
+
/** Membership not found. */
|
|
520
514
|
MEMBERSHIP_NOT_FOUND = "MEMBERSHIP_NOT_FOUND",
|
|
521
|
-
/**
|
|
515
|
+
/** The selection points to a line item ID that wasn't provided. */
|
|
522
516
|
LINE_ITEM_NOT_FOUND = "LINE_ITEM_NOT_FOUND",
|
|
523
|
-
/**
|
|
517
|
+
/** The membership cannot be used for the specific line items provided. */
|
|
524
518
|
MEMBERSHIP_CANNOT_BE_USED_FOR_LINE_ITEMS = "MEMBERSHIP_CANNOT_BE_USED_FOR_LINE_ITEMS",
|
|
525
|
-
/**
|
|
519
|
+
/** The membership can be used for each individual line item, but combining all of them is invalid. */
|
|
526
520
|
MEMBERSHIP_SELECTION_INVALID = "MEMBERSHIP_SELECTION_INVALID"
|
|
527
521
|
}
|
|
528
522
|
interface LineItemNotFoundInfo {
|
|
@@ -600,9 +594,13 @@ interface MembershipCannotBeChargedErrorErrorDataOneOf {
|
|
|
600
594
|
ended?: Ended;
|
|
601
595
|
}
|
|
602
596
|
declare enum MembershipCannotBeChargedType {
|
|
597
|
+
/** Membership is out of credits. For example, 5 are required, but only 4 remain. */
|
|
603
598
|
OUT_OF_CREDITS = "OUT_OF_CREDITS",
|
|
599
|
+
/** Membership has not become active yet. */
|
|
604
600
|
NOT_STARTED_YET = "NOT_STARTED_YET",
|
|
601
|
+
/** Membership has expired or ended. */
|
|
605
602
|
ENDED = "ENDED",
|
|
603
|
+
/** Not applicable for multiple participants. */
|
|
606
604
|
NOT_APPLICABLE_FOR_MULTIPLE_PARTICIPANTS = "NOT_APPLICABLE_FOR_MULTIPLE_PARTICIPANTS"
|
|
607
605
|
}
|
|
608
606
|
interface OutOfCredits {
|
|
@@ -1927,8 +1925,11 @@ interface AppliedDiscountDiscountSourceOneOf$2 {
|
|
|
1927
1925
|
discountRule?: DiscountRule$2;
|
|
1928
1926
|
}
|
|
1929
1927
|
declare enum DiscountType$2 {
|
|
1928
|
+
/** Global discount. */
|
|
1930
1929
|
GLOBAL = "GLOBAL",
|
|
1930
|
+
/** Discount on specific items. */
|
|
1931
1931
|
SPECIFIC_ITEMS = "SPECIFIC_ITEMS",
|
|
1932
|
+
/** Discount on shipping. */
|
|
1932
1933
|
SHIPPING = "SHIPPING"
|
|
1933
1934
|
}
|
|
1934
1935
|
/** Coupon */
|
|
@@ -3047,8 +3048,11 @@ interface Color {
|
|
|
3047
3048
|
code?: string | null;
|
|
3048
3049
|
}
|
|
3049
3050
|
declare enum DescriptionLineType {
|
|
3051
|
+
/** Unrecognized type. */
|
|
3050
3052
|
UNRECOGNISED = "UNRECOGNISED",
|
|
3053
|
+
/** Plain text type. */
|
|
3051
3054
|
PLAIN_TEXT = "PLAIN_TEXT",
|
|
3055
|
+
/** Color type. */
|
|
3052
3056
|
COLOR = "COLOR"
|
|
3053
3057
|
}
|
|
3054
3058
|
interface FocalPoint {
|
|
@@ -3093,11 +3097,11 @@ declare enum ItemTypeItemType$1 {
|
|
|
3093
3097
|
declare enum PaymentOptionType {
|
|
3094
3098
|
/** The entire payment for this item happens as part of the checkout. */
|
|
3095
3099
|
FULL_PAYMENT_ONLINE = "FULL_PAYMENT_ONLINE",
|
|
3096
|
-
/** The entire payment for this item happens after
|
|
3100
|
+
/** The entire payment for this item happens after checkout. For example, when using cash, check, or other offline payment methods. */
|
|
3097
3101
|
FULL_PAYMENT_OFFLINE = "FULL_PAYMENT_OFFLINE",
|
|
3098
3102
|
/** Payment for this item is done by charging a membership. When selected, `price` is `0`. */
|
|
3099
3103
|
MEMBERSHIP = "MEMBERSHIP",
|
|
3100
|
-
/** Partial payment to be paid upfront during
|
|
3104
|
+
/** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */
|
|
3101
3105
|
DEPOSIT_ONLINE = "DEPOSIT_ONLINE",
|
|
3102
3106
|
/** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */
|
|
3103
3107
|
MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
|
|
@@ -3280,14 +3284,14 @@ declare enum PaymentStatus {
|
|
|
3280
3284
|
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
3281
3285
|
}
|
|
3282
3286
|
declare enum FulfillmentStatus {
|
|
3283
|
-
/**
|
|
3287
|
+
/** None of the order items are fulfilled or the order was manually marked as unfulfilled. */
|
|
3284
3288
|
NOT_FULFILLED = "NOT_FULFILLED",
|
|
3285
3289
|
/**
|
|
3286
|
-
* All of the order items are fulfilled or order was manually marked as fulfilled
|
|
3287
|
-
* Orders without shipping info are fulfilled automatically
|
|
3290
|
+
* All of the order items are fulfilled or the order was manually marked as fulfilled.
|
|
3291
|
+
* Orders without shipping info are fulfilled automatically.
|
|
3288
3292
|
*/
|
|
3289
3293
|
FULFILLED = "FULFILLED",
|
|
3290
|
-
/** Some, but not all of the order items are fulfilled */
|
|
3294
|
+
/** Some, but not all, of the order items are fulfilled. */
|
|
3291
3295
|
PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED"
|
|
3292
3296
|
}
|
|
3293
3297
|
declare enum WeightUnit$1 {
|
|
@@ -3384,7 +3388,7 @@ declare enum VatType$1 {
|
|
|
3384
3388
|
interface V1ShippingInformation {
|
|
3385
3389
|
/** App Def Id of external provider which was a source of shipping info */
|
|
3386
3390
|
carrierId?: string | null;
|
|
3387
|
-
/** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"
|
|
3391
|
+
/** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"`. */
|
|
3388
3392
|
code?: string | null;
|
|
3389
3393
|
/**
|
|
3390
3394
|
* Shipping option title.
|
|
@@ -3743,7 +3747,9 @@ interface LineItemQuantityChange {
|
|
|
3743
3747
|
deltaType?: LineItemQuantityChangeType;
|
|
3744
3748
|
}
|
|
3745
3749
|
declare enum LineItemQuantityChangeType {
|
|
3750
|
+
/** Quantity increased. */
|
|
3746
3751
|
QUANTITY_INCREASED = "QUANTITY_INCREASED",
|
|
3752
|
+
/** Quantity decreased. */
|
|
3747
3753
|
QUANTITY_DECREASED = "QUANTITY_DECREASED"
|
|
3748
3754
|
}
|
|
3749
3755
|
interface LineItemPriceChange {
|
|
@@ -4589,20 +4595,16 @@ declare enum V1JurisdictionType {
|
|
|
4589
4595
|
SPECIAL = "SPECIAL"
|
|
4590
4596
|
}
|
|
4591
4597
|
interface ItemAvailabilityInfo {
|
|
4592
|
-
/**
|
|
4593
|
-
* Item availability status.
|
|
4594
|
-
* + `"NOT_FOUND"`: Item does not exist
|
|
4595
|
-
* + `"NOT_AVAILABLE"`: Item not in stock
|
|
4596
|
-
* + `"PARTIALLY_AVAILABLE"`: Available quantity is less than requested
|
|
4597
|
-
*/
|
|
4598
|
+
/** Item availability status. */
|
|
4598
4599
|
status?: ItemAvailabilityStatus;
|
|
4599
4600
|
/** Quantity available. */
|
|
4600
4601
|
quantityAvailable?: number | null;
|
|
4601
4602
|
}
|
|
4602
4603
|
declare enum ItemAvailabilityStatus {
|
|
4603
4604
|
AVAILABLE = "AVAILABLE",
|
|
4605
|
+
/** Item does not exist */
|
|
4604
4606
|
NOT_FOUND = "NOT_FOUND",
|
|
4605
|
-
/**
|
|
4607
|
+
/** Item not in stock */
|
|
4606
4608
|
NOT_AVAILABLE = "NOT_AVAILABLE",
|
|
4607
4609
|
/** Available quantity is less than requested */
|
|
4608
4610
|
PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
|
|
@@ -5396,12 +5398,12 @@ interface TargetTargetTypeOneOf$1 {
|
|
|
5396
5398
|
}
|
|
5397
5399
|
/** Available locations on the webpage */
|
|
5398
5400
|
declare enum NameInOther$1 {
|
|
5399
|
-
/**
|
|
5401
|
+
/** Default location, in case no specific location is specified. */
|
|
5400
5402
|
OTHER_DEFAULT = "OTHER_DEFAULT"
|
|
5401
5403
|
}
|
|
5402
5404
|
/** Available locations on the line item */
|
|
5403
5405
|
declare enum NameInLineItem$1 {
|
|
5404
|
-
/**
|
|
5406
|
+
/** Default location, in case no specific location is specified. */
|
|
5405
5407
|
LINE_ITEM_DEFAULT = "LINE_ITEM_DEFAULT"
|
|
5406
5408
|
}
|
|
5407
5409
|
declare enum SuggestedFix$1 {
|
|
@@ -5810,28 +5812,22 @@ declare enum Source {
|
|
|
5810
5812
|
CHECKOUT = "CHECKOUT"
|
|
5811
5813
|
}
|
|
5812
5814
|
interface Stage extends StageStagesOneOf {
|
|
5813
|
-
/**
|
|
5814
|
-
* Supported values:
|
|
5815
|
-
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
5816
|
-
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
5817
|
-
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
5818
|
-
*/
|
|
5815
|
+
/** Supported values: */
|
|
5819
5816
|
checkoutStage?: CheckoutStage;
|
|
5820
5817
|
}
|
|
5821
5818
|
/** @oneof */
|
|
5822
5819
|
interface StageStagesOneOf {
|
|
5823
|
-
/**
|
|
5824
|
-
* Supported values:
|
|
5825
|
-
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
5826
|
-
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
5827
|
-
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
5828
|
-
*/
|
|
5820
|
+
/** Supported values: */
|
|
5829
5821
|
checkoutStage?: CheckoutStage;
|
|
5830
5822
|
}
|
|
5831
5823
|
declare enum CheckoutStage {
|
|
5824
|
+
/** Not implemented. */
|
|
5832
5825
|
UNKNOWN_CHECKOUT_STAGE = "UNKNOWN_CHECKOUT_STAGE",
|
|
5826
|
+
/** Used during the initialization of the checkout (Create Checkout). */
|
|
5833
5827
|
INITIALIZATION = "INITIALIZATION",
|
|
5828
|
+
/** Used during the checkout process, such as updating or retrieving the checkout. */
|
|
5834
5829
|
IN_PROGRESS = "IN_PROGRESS",
|
|
5830
|
+
/** Used during the creation of an order from the checkout. */
|
|
5835
5831
|
ORDER_CREATION = "ORDER_CREATION"
|
|
5836
5832
|
}
|
|
5837
5833
|
/** ValidationsData is the main entity of ValidationsSPI, which contains all the data required for validations */
|
|
@@ -6089,11 +6085,17 @@ interface TaxBreakdown {
|
|
|
6089
6085
|
}
|
|
6090
6086
|
/** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
|
|
6091
6087
|
declare enum JurisdictionType {
|
|
6088
|
+
/** Undefined jurisdiction type. */
|
|
6092
6089
|
UNDEFINED = "UNDEFINED",
|
|
6090
|
+
/** Country jurisdiction. */
|
|
6093
6091
|
COUNTRY = "COUNTRY",
|
|
6092
|
+
/** State jurisdiction. */
|
|
6094
6093
|
STATE = "STATE",
|
|
6094
|
+
/** County jurisdiction. */
|
|
6095
6095
|
COUNTY = "COUNTY",
|
|
6096
|
+
/** City jurisdiction. */
|
|
6096
6097
|
CITY = "CITY",
|
|
6098
|
+
/** Special jurisdiction. */
|
|
6097
6099
|
SPECIAL = "SPECIAL"
|
|
6098
6100
|
}
|
|
6099
6101
|
interface GiftCard {
|
|
@@ -6285,8 +6287,11 @@ interface AppliedDiscountDiscountSourceOneOf {
|
|
|
6285
6287
|
discountRule?: DiscountRule;
|
|
6286
6288
|
}
|
|
6287
6289
|
declare enum DiscountType {
|
|
6290
|
+
/** Global discount. */
|
|
6288
6291
|
GLOBAL = "GLOBAL",
|
|
6292
|
+
/** Discount for specific items. */
|
|
6289
6293
|
SPECIFIC_ITEMS = "SPECIFIC_ITEMS",
|
|
6294
|
+
/** Shipping discount. */
|
|
6290
6295
|
SHIPPING = "SHIPPING"
|
|
6291
6296
|
}
|
|
6292
6297
|
/** Coupon */
|
|
@@ -6374,12 +6379,12 @@ interface TargetTargetTypeOneOf {
|
|
|
6374
6379
|
}
|
|
6375
6380
|
/** Available locations on the webpage */
|
|
6376
6381
|
declare enum NameInOther {
|
|
6377
|
-
/**
|
|
6382
|
+
/** Default location, in case no specific location is specified. */
|
|
6378
6383
|
OTHER_DEFAULT = "OTHER_DEFAULT"
|
|
6379
6384
|
}
|
|
6380
6385
|
/** Available locations on the line item */
|
|
6381
6386
|
declare enum NameInLineItem {
|
|
6382
|
-
/**
|
|
6387
|
+
/** Default location, in case no specific location is specified. */
|
|
6383
6388
|
LINE_ITEM_DEFAULT = "LINE_ITEM_DEFAULT"
|
|
6384
6389
|
}
|
|
6385
6390
|
declare enum SuggestedFix {
|
|
@@ -496,14 +496,7 @@ interface MembershipInvalidSelectionError extends MembershipInvalidSelectionErro
|
|
|
496
496
|
membershipSelectionInvalidReason?: string | null;
|
|
497
497
|
/** Membership ID. */
|
|
498
498
|
membershipId?: string;
|
|
499
|
-
/**
|
|
500
|
-
* Error type.
|
|
501
|
-
*
|
|
502
|
-
* + MEMBERSHIP_NOT_FOUND: Membership not found.
|
|
503
|
-
* + LINE_ITEM_NOT_FOUND: The selection points to a line item ID that wasn't provided.
|
|
504
|
-
* + MEMBERSHIP_CANNOT_BE_USED_FOR_LINE_ITEMS: The membership cannot be used for the specific line items provided.
|
|
505
|
-
* + MEMBERSHIP_SELECTION_INVALID: The membership can be used for each individual line item, but combining all of them is invalid.
|
|
506
|
-
*/
|
|
499
|
+
/** Error type. */
|
|
507
500
|
errorType?: MembershipErrorType;
|
|
508
501
|
}
|
|
509
502
|
/** @oneof */
|
|
@@ -517,12 +510,13 @@ interface MembershipInvalidSelectionErrorErrorDataOneOf {
|
|
|
517
510
|
}
|
|
518
511
|
declare enum MembershipErrorType {
|
|
519
512
|
UNKNOWN = "UNKNOWN",
|
|
513
|
+
/** Membership not found. */
|
|
520
514
|
MEMBERSHIP_NOT_FOUND = "MEMBERSHIP_NOT_FOUND",
|
|
521
|
-
/**
|
|
515
|
+
/** The selection points to a line item ID that wasn't provided. */
|
|
522
516
|
LINE_ITEM_NOT_FOUND = "LINE_ITEM_NOT_FOUND",
|
|
523
|
-
/**
|
|
517
|
+
/** The membership cannot be used for the specific line items provided. */
|
|
524
518
|
MEMBERSHIP_CANNOT_BE_USED_FOR_LINE_ITEMS = "MEMBERSHIP_CANNOT_BE_USED_FOR_LINE_ITEMS",
|
|
525
|
-
/**
|
|
519
|
+
/** The membership can be used for each individual line item, but combining all of them is invalid. */
|
|
526
520
|
MEMBERSHIP_SELECTION_INVALID = "MEMBERSHIP_SELECTION_INVALID"
|
|
527
521
|
}
|
|
528
522
|
interface LineItemNotFoundInfo {
|
|
@@ -600,9 +594,13 @@ interface MembershipCannotBeChargedErrorErrorDataOneOf {
|
|
|
600
594
|
ended?: Ended;
|
|
601
595
|
}
|
|
602
596
|
declare enum MembershipCannotBeChargedType {
|
|
597
|
+
/** Membership is out of credits. For example, 5 are required, but only 4 remain. */
|
|
603
598
|
OUT_OF_CREDITS = "OUT_OF_CREDITS",
|
|
599
|
+
/** Membership has not become active yet. */
|
|
604
600
|
NOT_STARTED_YET = "NOT_STARTED_YET",
|
|
601
|
+
/** Membership has expired or ended. */
|
|
605
602
|
ENDED = "ENDED",
|
|
603
|
+
/** Not applicable for multiple participants. */
|
|
606
604
|
NOT_APPLICABLE_FOR_MULTIPLE_PARTICIPANTS = "NOT_APPLICABLE_FOR_MULTIPLE_PARTICIPANTS"
|
|
607
605
|
}
|
|
608
606
|
interface OutOfCredits {
|
|
@@ -1927,8 +1925,11 @@ interface AppliedDiscountDiscountSourceOneOf$2 {
|
|
|
1927
1925
|
discountRule?: DiscountRule$2;
|
|
1928
1926
|
}
|
|
1929
1927
|
declare enum DiscountType$2 {
|
|
1928
|
+
/** Global discount. */
|
|
1930
1929
|
GLOBAL = "GLOBAL",
|
|
1930
|
+
/** Discount on specific items. */
|
|
1931
1931
|
SPECIFIC_ITEMS = "SPECIFIC_ITEMS",
|
|
1932
|
+
/** Discount on shipping. */
|
|
1932
1933
|
SHIPPING = "SHIPPING"
|
|
1933
1934
|
}
|
|
1934
1935
|
/** Coupon */
|
|
@@ -3047,8 +3048,11 @@ interface Color {
|
|
|
3047
3048
|
code?: string | null;
|
|
3048
3049
|
}
|
|
3049
3050
|
declare enum DescriptionLineType {
|
|
3051
|
+
/** Unrecognized type. */
|
|
3050
3052
|
UNRECOGNISED = "UNRECOGNISED",
|
|
3053
|
+
/** Plain text type. */
|
|
3051
3054
|
PLAIN_TEXT = "PLAIN_TEXT",
|
|
3055
|
+
/** Color type. */
|
|
3052
3056
|
COLOR = "COLOR"
|
|
3053
3057
|
}
|
|
3054
3058
|
interface FocalPoint {
|
|
@@ -3093,11 +3097,11 @@ declare enum ItemTypeItemType$1 {
|
|
|
3093
3097
|
declare enum PaymentOptionType {
|
|
3094
3098
|
/** The entire payment for this item happens as part of the checkout. */
|
|
3095
3099
|
FULL_PAYMENT_ONLINE = "FULL_PAYMENT_ONLINE",
|
|
3096
|
-
/** The entire payment for this item happens after
|
|
3100
|
+
/** The entire payment for this item happens after checkout. For example, when using cash, check, or other offline payment methods. */
|
|
3097
3101
|
FULL_PAYMENT_OFFLINE = "FULL_PAYMENT_OFFLINE",
|
|
3098
3102
|
/** Payment for this item is done by charging a membership. When selected, `price` is `0`. */
|
|
3099
3103
|
MEMBERSHIP = "MEMBERSHIP",
|
|
3100
|
-
/** Partial payment to be paid upfront during
|
|
3104
|
+
/** Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`. */
|
|
3101
3105
|
DEPOSIT_ONLINE = "DEPOSIT_ONLINE",
|
|
3102
3106
|
/** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */
|
|
3103
3107
|
MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
|
|
@@ -3280,14 +3284,14 @@ declare enum PaymentStatus {
|
|
|
3280
3284
|
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
3281
3285
|
}
|
|
3282
3286
|
declare enum FulfillmentStatus {
|
|
3283
|
-
/**
|
|
3287
|
+
/** None of the order items are fulfilled or the order was manually marked as unfulfilled. */
|
|
3284
3288
|
NOT_FULFILLED = "NOT_FULFILLED",
|
|
3285
3289
|
/**
|
|
3286
|
-
* All of the order items are fulfilled or order was manually marked as fulfilled
|
|
3287
|
-
* Orders without shipping info are fulfilled automatically
|
|
3290
|
+
* All of the order items are fulfilled or the order was manually marked as fulfilled.
|
|
3291
|
+
* Orders without shipping info are fulfilled automatically.
|
|
3288
3292
|
*/
|
|
3289
3293
|
FULFILLED = "FULFILLED",
|
|
3290
|
-
/** Some, but not all of the order items are fulfilled */
|
|
3294
|
+
/** Some, but not all, of the order items are fulfilled. */
|
|
3291
3295
|
PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED"
|
|
3292
3296
|
}
|
|
3293
3297
|
declare enum WeightUnit$1 {
|
|
@@ -3384,7 +3388,7 @@ declare enum VatType$1 {
|
|
|
3384
3388
|
interface V1ShippingInformation {
|
|
3385
3389
|
/** App Def Id of external provider which was a source of shipping info */
|
|
3386
3390
|
carrierId?: string | null;
|
|
3387
|
-
/** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"
|
|
3391
|
+
/** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"`. */
|
|
3388
3392
|
code?: string | null;
|
|
3389
3393
|
/**
|
|
3390
3394
|
* Shipping option title.
|
|
@@ -3743,7 +3747,9 @@ interface LineItemQuantityChange {
|
|
|
3743
3747
|
deltaType?: LineItemQuantityChangeType;
|
|
3744
3748
|
}
|
|
3745
3749
|
declare enum LineItemQuantityChangeType {
|
|
3750
|
+
/** Quantity increased. */
|
|
3746
3751
|
QUANTITY_INCREASED = "QUANTITY_INCREASED",
|
|
3752
|
+
/** Quantity decreased. */
|
|
3747
3753
|
QUANTITY_DECREASED = "QUANTITY_DECREASED"
|
|
3748
3754
|
}
|
|
3749
3755
|
interface LineItemPriceChange {
|
|
@@ -4589,20 +4595,16 @@ declare enum V1JurisdictionType {
|
|
|
4589
4595
|
SPECIAL = "SPECIAL"
|
|
4590
4596
|
}
|
|
4591
4597
|
interface ItemAvailabilityInfo {
|
|
4592
|
-
/**
|
|
4593
|
-
* Item availability status.
|
|
4594
|
-
* + `"NOT_FOUND"`: Item does not exist
|
|
4595
|
-
* + `"NOT_AVAILABLE"`: Item not in stock
|
|
4596
|
-
* + `"PARTIALLY_AVAILABLE"`: Available quantity is less than requested
|
|
4597
|
-
*/
|
|
4598
|
+
/** Item availability status. */
|
|
4598
4599
|
status?: ItemAvailabilityStatus;
|
|
4599
4600
|
/** Quantity available. */
|
|
4600
4601
|
quantityAvailable?: number | null;
|
|
4601
4602
|
}
|
|
4602
4603
|
declare enum ItemAvailabilityStatus {
|
|
4603
4604
|
AVAILABLE = "AVAILABLE",
|
|
4605
|
+
/** Item does not exist */
|
|
4604
4606
|
NOT_FOUND = "NOT_FOUND",
|
|
4605
|
-
/**
|
|
4607
|
+
/** Item not in stock */
|
|
4606
4608
|
NOT_AVAILABLE = "NOT_AVAILABLE",
|
|
4607
4609
|
/** Available quantity is less than requested */
|
|
4608
4610
|
PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
|
|
@@ -5396,12 +5398,12 @@ interface TargetTargetTypeOneOf$1 {
|
|
|
5396
5398
|
}
|
|
5397
5399
|
/** Available locations on the webpage */
|
|
5398
5400
|
declare enum NameInOther$1 {
|
|
5399
|
-
/**
|
|
5401
|
+
/** Default location, in case no specific location is specified. */
|
|
5400
5402
|
OTHER_DEFAULT = "OTHER_DEFAULT"
|
|
5401
5403
|
}
|
|
5402
5404
|
/** Available locations on the line item */
|
|
5403
5405
|
declare enum NameInLineItem$1 {
|
|
5404
|
-
/**
|
|
5406
|
+
/** Default location, in case no specific location is specified. */
|
|
5405
5407
|
LINE_ITEM_DEFAULT = "LINE_ITEM_DEFAULT"
|
|
5406
5408
|
}
|
|
5407
5409
|
declare enum SuggestedFix$1 {
|
|
@@ -5810,28 +5812,22 @@ declare enum Source {
|
|
|
5810
5812
|
CHECKOUT = "CHECKOUT"
|
|
5811
5813
|
}
|
|
5812
5814
|
interface Stage extends StageStagesOneOf {
|
|
5813
|
-
/**
|
|
5814
|
-
* Supported values:
|
|
5815
|
-
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
5816
|
-
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
5817
|
-
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
5818
|
-
*/
|
|
5815
|
+
/** Supported values: */
|
|
5819
5816
|
checkoutStage?: CheckoutStage;
|
|
5820
5817
|
}
|
|
5821
5818
|
/** @oneof */
|
|
5822
5819
|
interface StageStagesOneOf {
|
|
5823
|
-
/**
|
|
5824
|
-
* Supported values:
|
|
5825
|
-
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
5826
|
-
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
5827
|
-
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
5828
|
-
*/
|
|
5820
|
+
/** Supported values: */
|
|
5829
5821
|
checkoutStage?: CheckoutStage;
|
|
5830
5822
|
}
|
|
5831
5823
|
declare enum CheckoutStage {
|
|
5824
|
+
/** Not implemented. */
|
|
5832
5825
|
UNKNOWN_CHECKOUT_STAGE = "UNKNOWN_CHECKOUT_STAGE",
|
|
5826
|
+
/** Used during the initialization of the checkout (Create Checkout). */
|
|
5833
5827
|
INITIALIZATION = "INITIALIZATION",
|
|
5828
|
+
/** Used during the checkout process, such as updating or retrieving the checkout. */
|
|
5834
5829
|
IN_PROGRESS = "IN_PROGRESS",
|
|
5830
|
+
/** Used during the creation of an order from the checkout. */
|
|
5835
5831
|
ORDER_CREATION = "ORDER_CREATION"
|
|
5836
5832
|
}
|
|
5837
5833
|
/** ValidationsData is the main entity of ValidationsSPI, which contains all the data required for validations */
|
|
@@ -6089,11 +6085,17 @@ interface TaxBreakdown {
|
|
|
6089
6085
|
}
|
|
6090
6086
|
/** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
|
|
6091
6087
|
declare enum JurisdictionType {
|
|
6088
|
+
/** Undefined jurisdiction type. */
|
|
6092
6089
|
UNDEFINED = "UNDEFINED",
|
|
6090
|
+
/** Country jurisdiction. */
|
|
6093
6091
|
COUNTRY = "COUNTRY",
|
|
6092
|
+
/** State jurisdiction. */
|
|
6094
6093
|
STATE = "STATE",
|
|
6094
|
+
/** County jurisdiction. */
|
|
6095
6095
|
COUNTY = "COUNTY",
|
|
6096
|
+
/** City jurisdiction. */
|
|
6096
6097
|
CITY = "CITY",
|
|
6098
|
+
/** Special jurisdiction. */
|
|
6097
6099
|
SPECIAL = "SPECIAL"
|
|
6098
6100
|
}
|
|
6099
6101
|
interface GiftCard {
|
|
@@ -6285,8 +6287,11 @@ interface AppliedDiscountDiscountSourceOneOf {
|
|
|
6285
6287
|
discountRule?: DiscountRule;
|
|
6286
6288
|
}
|
|
6287
6289
|
declare enum DiscountType {
|
|
6290
|
+
/** Global discount. */
|
|
6288
6291
|
GLOBAL = "GLOBAL",
|
|
6292
|
+
/** Discount for specific items. */
|
|
6289
6293
|
SPECIFIC_ITEMS = "SPECIFIC_ITEMS",
|
|
6294
|
+
/** Shipping discount. */
|
|
6290
6295
|
SHIPPING = "SHIPPING"
|
|
6291
6296
|
}
|
|
6292
6297
|
/** Coupon */
|
|
@@ -6374,12 +6379,12 @@ interface TargetTargetTypeOneOf {
|
|
|
6374
6379
|
}
|
|
6375
6380
|
/** Available locations on the webpage */
|
|
6376
6381
|
declare enum NameInOther {
|
|
6377
|
-
/**
|
|
6382
|
+
/** Default location, in case no specific location is specified. */
|
|
6378
6383
|
OTHER_DEFAULT = "OTHER_DEFAULT"
|
|
6379
6384
|
}
|
|
6380
6385
|
/** Available locations on the line item */
|
|
6381
6386
|
declare enum NameInLineItem {
|
|
6382
|
-
/**
|
|
6387
|
+
/** Default location, in case no specific location is specified. */
|
|
6383
6388
|
LINE_ITEM_DEFAULT = "LINE_ITEM_DEFAULT"
|
|
6384
6389
|
}
|
|
6385
6390
|
declare enum SuggestedFix {
|