@wix/ecom 1.0.678 → 1.0.679
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ecom",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.679",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@wix/ecom_recommendations": "1.0.32",
|
|
45
45
|
"@wix/ecom_shipping-rates": "1.0.28",
|
|
46
46
|
"@wix/ecom_shippo-configurations": "1.0.6",
|
|
47
|
-
"@wix/ecom_validations": "1.0.
|
|
47
|
+
"@wix/ecom_validations": "1.0.17"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"glob": "^10.4.1",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"fqdn": ""
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
|
-
"falconPackageHash": "
|
|
71
|
+
"falconPackageHash": "2f468be8d286674f0d4a5da48f8ec82822edcc4d8f31d63e9a1177ac"
|
|
72
72
|
}
|
|
@@ -2614,6 +2614,31 @@ declare enum Source {
|
|
|
2614
2614
|
/** Called from Ecom's Checkout service */
|
|
2615
2615
|
CHECKOUT = "CHECKOUT"
|
|
2616
2616
|
}
|
|
2617
|
+
interface Stage extends StageStagesOneOf {
|
|
2618
|
+
/**
|
|
2619
|
+
* Supported values:
|
|
2620
|
+
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
2621
|
+
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
2622
|
+
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
2623
|
+
*/
|
|
2624
|
+
checkoutStage?: CheckoutStage;
|
|
2625
|
+
}
|
|
2626
|
+
/** @oneof */
|
|
2627
|
+
interface StageStagesOneOf {
|
|
2628
|
+
/**
|
|
2629
|
+
* Supported values:
|
|
2630
|
+
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
2631
|
+
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
2632
|
+
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
2633
|
+
*/
|
|
2634
|
+
checkoutStage?: CheckoutStage;
|
|
2635
|
+
}
|
|
2636
|
+
declare enum CheckoutStage {
|
|
2637
|
+
UNKNOWN_CHECKOUT_STAGE = "UNKNOWN_CHECKOUT_STAGE",
|
|
2638
|
+
INITIALIZATION = "INITIALIZATION",
|
|
2639
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
2640
|
+
ORDER_CREATION = "ORDER_CREATION"
|
|
2641
|
+
}
|
|
2617
2642
|
/** ValidationsData is the main entity of ValidationsSPI, which contains all the data required for validations */
|
|
2618
2643
|
interface ValidationInfo {
|
|
2619
2644
|
/** Buyer details. */
|
|
@@ -3201,6 +3226,8 @@ type context_AppliedDiscount = AppliedDiscount;
|
|
|
3201
3226
|
type context_AppliedDiscountDiscountSourceOneOf = AppliedDiscountDiscountSourceOneOf;
|
|
3202
3227
|
type context_BuyerDetails = BuyerDetails;
|
|
3203
3228
|
type context_CatalogReference = CatalogReference;
|
|
3229
|
+
type context_CheckoutStage = CheckoutStage;
|
|
3230
|
+
declare const context_CheckoutStage: typeof CheckoutStage;
|
|
3204
3231
|
type context_Context = Context;
|
|
3205
3232
|
type context_Coupon = Coupon;
|
|
3206
3233
|
type context_CustomField = CustomField;
|
|
@@ -3246,6 +3273,8 @@ type context_ShippingInfo = ShippingInfo;
|
|
|
3246
3273
|
type context_Source = Source;
|
|
3247
3274
|
declare const context_Source: typeof Source;
|
|
3248
3275
|
type context_SourceInfo = SourceInfo;
|
|
3276
|
+
type context_Stage = Stage;
|
|
3277
|
+
type context_StageStagesOneOf = StageStagesOneOf;
|
|
3249
3278
|
type context_StreetAddress = StreetAddress;
|
|
3250
3279
|
type context_SubscriptionFrequency = SubscriptionFrequency;
|
|
3251
3280
|
declare const context_SubscriptionFrequency: typeof SubscriptionFrequency;
|
|
@@ -3266,7 +3295,7 @@ type context_WeightUnit = WeightUnit;
|
|
|
3266
3295
|
declare const context_WeightUnit: typeof WeightUnit;
|
|
3267
3296
|
declare const context_provideHandlers: typeof provideHandlers;
|
|
3268
3297
|
declare namespace context {
|
|
3269
|
-
export { type context_Address as Address, type context_AddressLocation as AddressLocation, type context_AddressWithContact as AddressWithContact, type context_AppliedDiscount as AppliedDiscount, type context_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type context_BuyerDetails as BuyerDetails, type context_CatalogReference as CatalogReference, type context_Context as Context, type context_Coupon as Coupon, type context_CustomField as CustomField, type context_CustomFields as CustomFields, type context_Description as Description, type context_DiscountRule as DiscountRule, type context_DiscountRuleName as DiscountRuleName, context_DiscountType as DiscountType, type context_ExtendedFields as ExtendedFields, type context_FullAddressContactDetails as FullAddressContactDetails, type context_GetValidationViolationsRequest as GetValidationViolationsRequest, type context_GetValidationViolationsResponse as GetValidationViolationsResponse, type context_GiftCard as GiftCard, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_ItemTaxFullDetails as ItemTaxFullDetails, type context_ItemType as ItemType, context_ItemTypeItemType as ItemTypeItemType, type context_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, context_JurisdictionType as JurisdictionType, type context_LineItem as LineItem, type context_LineItemPricesData as LineItemPricesData, type context_MerchantDiscount as MerchantDiscount, type context_MultiCurrencyPrice as MultiCurrencyPrice, context_NameInLineItem as NameInLineItem, context_NameInOther as NameInOther, type context_Other as Other, type context_PhysicalProperties as PhysicalProperties, type context_PriceSummary as PriceSummary, type context_ProductName as ProductName, type context_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, context_Severity as Severity, type context_ShippingInfo as ShippingInfo, context_Source as Source, type context_SourceInfo as SourceInfo, type context_StreetAddress as StreetAddress, context_SubscriptionFrequency as SubscriptionFrequency, type context_SubscriptionOptionInfo as SubscriptionOptionInfo, type context_SubscriptionSettings as SubscriptionSettings, type context_Target as Target, type context_TargetLineItem as TargetLineItem, type context_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type context_TaxBreakdown as TaxBreakdown, type context_Title as Title, type context_ValidationInfo as ValidationInfo, type context_ValidationsSPIConfig as ValidationsSPIConfig, type context_VatId as VatId, context_VatType as VatType, type context_Violation as Violation, context_WeightUnit as WeightUnit, context_provideHandlers as provideHandlers };
|
|
3298
|
+
export { type context_Address as Address, type context_AddressLocation as AddressLocation, type context_AddressWithContact as AddressWithContact, type context_AppliedDiscount as AppliedDiscount, type context_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type context_BuyerDetails as BuyerDetails, type context_CatalogReference as CatalogReference, context_CheckoutStage as CheckoutStage, type context_Context as Context, type context_Coupon as Coupon, type context_CustomField as CustomField, type context_CustomFields as CustomFields, type context_Description as Description, type context_DiscountRule as DiscountRule, type context_DiscountRuleName as DiscountRuleName, context_DiscountType as DiscountType, type context_ExtendedFields as ExtendedFields, type context_FullAddressContactDetails as FullAddressContactDetails, type context_GetValidationViolationsRequest as GetValidationViolationsRequest, type context_GetValidationViolationsResponse as GetValidationViolationsResponse, type context_GiftCard as GiftCard, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_ItemTaxFullDetails as ItemTaxFullDetails, type context_ItemType as ItemType, context_ItemTypeItemType as ItemTypeItemType, type context_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, context_JurisdictionType as JurisdictionType, type context_LineItem as LineItem, type context_LineItemPricesData as LineItemPricesData, type context_MerchantDiscount as MerchantDiscount, type context_MultiCurrencyPrice as MultiCurrencyPrice, context_NameInLineItem as NameInLineItem, context_NameInOther as NameInOther, type context_Other as Other, type context_PhysicalProperties as PhysicalProperties, type context_PriceSummary as PriceSummary, type context_ProductName as ProductName, type context_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type context_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, context_Severity as Severity, type context_ShippingInfo as ShippingInfo, context_Source as Source, type context_SourceInfo as SourceInfo, type context_Stage as Stage, type context_StageStagesOneOf as StageStagesOneOf, type context_StreetAddress as StreetAddress, context_SubscriptionFrequency as SubscriptionFrequency, type context_SubscriptionOptionInfo as SubscriptionOptionInfo, type context_SubscriptionSettings as SubscriptionSettings, type context_Target as Target, type context_TargetLineItem as TargetLineItem, type context_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type context_TaxBreakdown as TaxBreakdown, type context_Title as Title, type context_ValidationInfo as ValidationInfo, type context_ValidationsSPIConfig as ValidationsSPIConfig, type context_VatId as VatId, context_VatType as VatType, type context_Violation as Violation, context_WeightUnit as WeightUnit, context_provideHandlers as provideHandlers };
|
|
3270
3299
|
}
|
|
3271
3300
|
|
|
3272
3301
|
export { context$3 as additionalFees, context$2 as customTriggers, context$1 as paymentSettings, context$4 as shippingRates, context as validations };
|
|
@@ -2639,6 +2639,31 @@ declare enum Source {
|
|
|
2639
2639
|
/** Called from Ecom's Checkout service */
|
|
2640
2640
|
CHECKOUT = "CHECKOUT"
|
|
2641
2641
|
}
|
|
2642
|
+
interface Stage extends StageStagesOneOf {
|
|
2643
|
+
/**
|
|
2644
|
+
* Supported values:
|
|
2645
|
+
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
2646
|
+
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
2647
|
+
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
2648
|
+
*/
|
|
2649
|
+
checkoutStage?: CheckoutStage;
|
|
2650
|
+
}
|
|
2651
|
+
/** @oneof */
|
|
2652
|
+
interface StageStagesOneOf {
|
|
2653
|
+
/**
|
|
2654
|
+
* Supported values:
|
|
2655
|
+
* + "INITIALIZATION":Used during the initialization of the checkout (Create Checkout).
|
|
2656
|
+
* + "IN_PROGRESS": Used during the checkout process, such as updating or retrieving the checkout.
|
|
2657
|
+
* + "ORDER_CREATION": Used during the creation of an order from the checkout.
|
|
2658
|
+
*/
|
|
2659
|
+
checkoutStage?: CheckoutStage;
|
|
2660
|
+
}
|
|
2661
|
+
declare enum CheckoutStage {
|
|
2662
|
+
UNKNOWN_CHECKOUT_STAGE = "UNKNOWN_CHECKOUT_STAGE",
|
|
2663
|
+
INITIALIZATION = "INITIALIZATION",
|
|
2664
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
2665
|
+
ORDER_CREATION = "ORDER_CREATION"
|
|
2666
|
+
}
|
|
2642
2667
|
/** ValidationsData is the main entity of ValidationsSPI, which contains all the data required for validations */
|
|
2643
2668
|
interface ValidationInfo {
|
|
2644
2669
|
/** Buyer details. */
|
|
@@ -3230,6 +3255,8 @@ type index_d_AppliedDiscount = AppliedDiscount;
|
|
|
3230
3255
|
type index_d_AppliedDiscountDiscountSourceOneOf = AppliedDiscountDiscountSourceOneOf;
|
|
3231
3256
|
type index_d_BuyerDetails = BuyerDetails;
|
|
3232
3257
|
type index_d_CatalogReference = CatalogReference;
|
|
3258
|
+
type index_d_CheckoutStage = CheckoutStage;
|
|
3259
|
+
declare const index_d_CheckoutStage: typeof CheckoutStage;
|
|
3233
3260
|
type index_d_Context = Context;
|
|
3234
3261
|
type index_d_Coupon = Coupon;
|
|
3235
3262
|
type index_d_CustomField = CustomField;
|
|
@@ -3276,6 +3303,8 @@ type index_d_ShippingInfo = ShippingInfo;
|
|
|
3276
3303
|
type index_d_Source = Source;
|
|
3277
3304
|
declare const index_d_Source: typeof Source;
|
|
3278
3305
|
type index_d_SourceInfo = SourceInfo;
|
|
3306
|
+
type index_d_Stage = Stage;
|
|
3307
|
+
type index_d_StageStagesOneOf = StageStagesOneOf;
|
|
3279
3308
|
type index_d_StreetAddress = StreetAddress;
|
|
3280
3309
|
type index_d_SubscriptionFrequency = SubscriptionFrequency;
|
|
3281
3310
|
declare const index_d_SubscriptionFrequency: typeof SubscriptionFrequency;
|
|
@@ -3296,7 +3325,7 @@ type index_d_WeightUnit = WeightUnit;
|
|
|
3296
3325
|
declare const index_d_WeightUnit: typeof WeightUnit;
|
|
3297
3326
|
declare const index_d_provideHandlers: typeof provideHandlers;
|
|
3298
3327
|
declare namespace index_d {
|
|
3299
|
-
export { type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressWithContact as AddressWithContact, type index_d_AppliedDiscount as AppliedDiscount, type index_d_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d_BuyerDetails as BuyerDetails, type index_d_CatalogReference as CatalogReference, type index_d_Context as Context, type index_d_Coupon as Coupon, type index_d_CustomField as CustomField, type index_d_CustomFields as CustomFields, type index_d_Description as Description, type index_d_DiscountRule as DiscountRule, type index_d_DiscountRuleName as DiscountRuleName, index_d_DiscountType as DiscountType, type index_d_ExtendedFields as ExtendedFields, type index_d_FullAddressContactDetails as FullAddressContactDetails, type index_d_GetValidationViolationsEnvelope as GetValidationViolationsEnvelope, type index_d_GetValidationViolationsRequest as GetValidationViolationsRequest, type index_d_GetValidationViolationsResponse as GetValidationViolationsResponse, type index_d_GiftCard as GiftCard, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_ItemTaxFullDetails as ItemTaxFullDetails, type index_d_ItemType as ItemType, index_d_ItemTypeItemType as ItemTypeItemType, type index_d_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, index_d_JurisdictionType as JurisdictionType, type index_d_LineItem as LineItem, type index_d_LineItemPricesData as LineItemPricesData, type index_d_MerchantDiscount as MerchantDiscount, type index_d_MultiCurrencyPrice as MultiCurrencyPrice, index_d_NameInLineItem as NameInLineItem, index_d_NameInOther as NameInOther, type index_d_Other as Other, type index_d_PhysicalProperties as PhysicalProperties, type index_d_PriceSummary as PriceSummary, type index_d_ProductName as ProductName, type index_d_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, index_d_Severity as Severity, type index_d_ShippingInfo as ShippingInfo, index_d_Source as Source, type index_d_SourceInfo as SourceInfo, type index_d_StreetAddress as StreetAddress, index_d_SubscriptionFrequency as SubscriptionFrequency, type index_d_SubscriptionOptionInfo as SubscriptionOptionInfo, type index_d_SubscriptionSettings as SubscriptionSettings, type index_d_Target as Target, type index_d_TargetLineItem as TargetLineItem, type index_d_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type index_d_TaxBreakdown as TaxBreakdown, type index_d_Title as Title, type index_d_ValidationInfo as ValidationInfo, type index_d_ValidationsSPIConfig as ValidationsSPIConfig, type index_d_VatId as VatId, index_d_VatType as VatType, type index_d_Violation as Violation, index_d_WeightUnit as WeightUnit, index_d_provideHandlers as provideHandlers };
|
|
3328
|
+
export { type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressWithContact as AddressWithContact, type index_d_AppliedDiscount as AppliedDiscount, type index_d_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d_BuyerDetails as BuyerDetails, type index_d_CatalogReference as CatalogReference, index_d_CheckoutStage as CheckoutStage, type index_d_Context as Context, type index_d_Coupon as Coupon, type index_d_CustomField as CustomField, type index_d_CustomFields as CustomFields, type index_d_Description as Description, type index_d_DiscountRule as DiscountRule, type index_d_DiscountRuleName as DiscountRuleName, index_d_DiscountType as DiscountType, type index_d_ExtendedFields as ExtendedFields, type index_d_FullAddressContactDetails as FullAddressContactDetails, type index_d_GetValidationViolationsEnvelope as GetValidationViolationsEnvelope, type index_d_GetValidationViolationsRequest as GetValidationViolationsRequest, type index_d_GetValidationViolationsResponse as GetValidationViolationsResponse, type index_d_GiftCard as GiftCard, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_ItemTaxFullDetails as ItemTaxFullDetails, type index_d_ItemType as ItemType, index_d_ItemTypeItemType as ItemTypeItemType, type index_d_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, index_d_JurisdictionType as JurisdictionType, type index_d_LineItem as LineItem, type index_d_LineItemPricesData as LineItemPricesData, type index_d_MerchantDiscount as MerchantDiscount, type index_d_MultiCurrencyPrice as MultiCurrencyPrice, index_d_NameInLineItem as NameInLineItem, index_d_NameInOther as NameInOther, type index_d_Other as Other, type index_d_PhysicalProperties as PhysicalProperties, type index_d_PriceSummary as PriceSummary, type index_d_ProductName as ProductName, type index_d_SelectedCarrierServiceOption as SelectedCarrierServiceOption, type index_d_SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPrices, index_d_Severity as Severity, type index_d_ShippingInfo as ShippingInfo, index_d_Source as Source, type index_d_SourceInfo as SourceInfo, type index_d_Stage as Stage, type index_d_StageStagesOneOf as StageStagesOneOf, type index_d_StreetAddress as StreetAddress, index_d_SubscriptionFrequency as SubscriptionFrequency, type index_d_SubscriptionOptionInfo as SubscriptionOptionInfo, type index_d_SubscriptionSettings as SubscriptionSettings, type index_d_Target as Target, type index_d_TargetLineItem as TargetLineItem, type index_d_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type index_d_TaxBreakdown as TaxBreakdown, type index_d_Title as Title, type index_d_ValidationInfo as ValidationInfo, type index_d_ValidationsSPIConfig as ValidationsSPIConfig, type index_d_VatId as VatId, index_d_VatType as VatType, type index_d_Violation as Violation, index_d_WeightUnit as WeightUnit, index_d_provideHandlers as provideHandlers };
|
|
3300
3329
|
}
|
|
3301
3330
|
|
|
3302
3331
|
export { index_d$3 as additionalFees, index_d$2 as customTriggers, index_d$1 as paymentSettings, index_d$4 as shippingRates, index_d as validations };
|