@wix/auto_sdk_ecom_checkout 1.0.113 → 1.0.114
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 +1 -1
- package/build/cjs/index.js +6 -55
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +11 -630
- package/build/cjs/index.typings.js +6 -55
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -630
- package/build/cjs/meta.js +6 -55
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +6 -49
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +11 -630
- package/build/es/index.typings.mjs +6 -49
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -630
- package/build/es/meta.mjs +6 -49
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +6 -55
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +11 -630
- package/build/internal/cjs/index.typings.js +6 -55
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +11 -630
- package/build/internal/cjs/meta.js +6 -55
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +6 -49
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +11 -630
- package/build/internal/es/index.typings.mjs +6 -49
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +11 -630
- package/build/internal/es/meta.mjs +6 -49
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { CreateCheckoutOptions, Checkout, CreateCheckoutApplicationErrors, GetCheckoutByCartIdResponse, GetCheckoutURLResponse, UpdateCheckout, UpdateCheckoutOptions, UpdateCheckoutApplicationErrors, RemoveCouponResponse, RemoveGiftCardResponse, RemoveOverrideCheckoutUrlResponse, AddToCheckoutOptions, AddToCheckoutResponse, AddToCheckoutApplicationErrors, RemoveLineItemsResponse, CreateOrderOptions, CreateOrderResponse, CreateOrderApplicationErrors, CreateOrderAndChargeOptions, CreateOrderAndChargeResponse, CreateOrderAndChargeApplicationErrors, RawHttpResponse, MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, MarkCheckoutAsCompletedOptions, LineItemQuantityUpdate, UpdateLineItemsQuantityResponse, CheckoutCompletedEnvelope, CheckoutCreatedEnvelope, CheckoutDeletedEnvelope, CheckoutUpdatedEnvelope } from './index.typings.js';
|
|
3
|
-
export { ActionEvent, AddToCheckoutRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address,
|
|
3
|
+
export { ActionEvent, AddToCheckoutRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, BuyerInfo, BuyerInfoIdOneOf, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, CheckoutMarkedAsCompleted, Color, ConversionInfo, Coupon, CouponAdded, CouponRemoved, CreateCheckoutRequest, CreateCheckoutResponse, CreateOrderAndChargeRequest, CreateOrderAndChargeResponseIdOneOf, CreateOrderRequest, CreateOrderResponseIdOneOf, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomLineItem, CustomSettings, DeleteCheckoutRequest, DeleteCheckoutResponse, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DoublePaymentErrorData, DoublePaymentErrorDataIdOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCheckoutByCartIdRequest, GetCheckoutPaymentSettingsRequest, GetCheckoutPaymentSettingsResponse, GetCheckoutPaymentSettingsResponsePaymentOption, GetCheckoutPaymentSettingsResponsePaymentOptionWithLiterals, GetCheckoutRequest, GetCheckoutResponse, GetCheckoutURLRequest, GetCheckoutWithAllExtendedFieldsRequest, GetCheckoutWithAllExtendedFieldsResponse, GetWixCheckoutURLRequest, GetWixCheckoutURLResponse, GiftCard, GiftCardAdded, GiftCardRemoved, Group, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemAvailabilityStatusWithLiterals, ItemCombination, ItemCombinationLineItem, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItem, LineItemAdded, LineItemDiscount, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCheckoutAsCompletedAndRedirectToUrlRequest, MarkCheckoutAsCompletedRequest, MarkCheckoutAsCompletedResponse, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MerchantDiscountInput, MessageEnvelope, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentErrorResponseData, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, Policy, PriceDescription, PriceSummary, ProductName, RateType, RateTypeWithLiterals, RedeemErrorData, Region, RemoveCouponRequest, RemoveGiftCardRequest, RemoveLineItemsRequest, RemoveOverrideCheckoutUrlRequest, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, ServiceProperties, Severity, SeverityWithLiterals, ShippingCalculationErrorData, ShippingCalculationErrorDataShippingCalculationErrorOneOf, ShippingInfo, ShippingOption, ShippingPrice, ShippingRegion, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UpdateCheckoutRequest, UpdateCheckoutResponse, UpdateLineItemsQuantityRequest, UpdatedCheckoutMessage, V1ItemModifier, V1ModifierGroup, ValidationError, VatId, VatType, VatTypeWithLiterals, Violation, ViolationsList, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createCheckout$1(httpClient: HttpClient): CreateCheckoutSignature;
|
|
6
6
|
interface CreateCheckoutSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -22,23 +22,17 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
AdditionalFeeSource: () => AdditionalFeeSource,
|
|
24
24
|
BalanceType: () => BalanceType,
|
|
25
|
-
ChannelInfoChannelType: () => ChannelInfoChannelType,
|
|
26
25
|
ChannelType: () => ChannelType,
|
|
27
26
|
ChargeType: () => ChargeType,
|
|
28
|
-
CommonVatType: () => CommonVatType,
|
|
29
27
|
DescriptionLineType: () => DescriptionLineType,
|
|
30
|
-
DiscountDiscountType: () => DiscountDiscountType,
|
|
31
28
|
DiscountType: () => DiscountType,
|
|
32
29
|
FallbackReason: () => FallbackReason,
|
|
33
30
|
FileType: () => FileType,
|
|
34
31
|
GetCheckoutPaymentSettingsResponsePaymentOption: () => GetCheckoutPaymentSettingsResponsePaymentOption,
|
|
35
|
-
IdentityType: () => IdentityType,
|
|
36
32
|
ItemAvailabilityStatus: () => ItemAvailabilityStatus,
|
|
37
33
|
ItemTypePreset: () => ItemTypePreset,
|
|
38
34
|
JurisdictionType: () => JurisdictionType,
|
|
39
|
-
LineItemType: () => LineItemType,
|
|
40
35
|
ManualCalculationReason: () => ManualCalculationReason,
|
|
41
|
-
MediaItemType: () => MediaItemType,
|
|
42
36
|
NameInLineItem: () => NameInLineItem,
|
|
43
37
|
NameInOther: () => NameInOther,
|
|
44
38
|
PaymentOptionType: () => PaymentOptionType,
|
|
@@ -1458,12 +1452,12 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1458
1452
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1459
1453
|
return PlatformFeeChargeType2;
|
|
1460
1454
|
})(PlatformFeeChargeType || {});
|
|
1461
|
-
var
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
return
|
|
1466
|
-
})(
|
|
1455
|
+
var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
1456
|
+
VatType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
1457
|
+
VatType2["CPF"] = "CPF";
|
|
1458
|
+
VatType2["CNPJ"] = "CNPJ";
|
|
1459
|
+
return VatType2;
|
|
1460
|
+
})(VatType || {});
|
|
1467
1461
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
1468
1462
|
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
1469
1463
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
@@ -1585,43 +1579,6 @@ var GetCheckoutPaymentSettingsResponsePaymentOption = /* @__PURE__ */ ((GetCheck
|
|
|
1585
1579
|
GetCheckoutPaymentSettingsResponsePaymentOption2["MANUAL"] = "MANUAL";
|
|
1586
1580
|
return GetCheckoutPaymentSettingsResponsePaymentOption2;
|
|
1587
1581
|
})(GetCheckoutPaymentSettingsResponsePaymentOption || {});
|
|
1588
|
-
var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
|
|
1589
|
-
IdentityType2["UNSPECIFIED_IDENTITY_TYPE"] = "UNSPECIFIED_IDENTITY_TYPE";
|
|
1590
|
-
IdentityType2["MEMBER"] = "MEMBER";
|
|
1591
|
-
IdentityType2["CONTACT"] = "CONTACT";
|
|
1592
|
-
return IdentityType2;
|
|
1593
|
-
})(IdentityType || {});
|
|
1594
|
-
var LineItemType = /* @__PURE__ */ ((LineItemType2) => {
|
|
1595
|
-
LineItemType2["UNSPECIFIED_LINE_ITEM_TYPE"] = "UNSPECIFIED_LINE_ITEM_TYPE";
|
|
1596
|
-
LineItemType2["PHYSICAL"] = "PHYSICAL";
|
|
1597
|
-
LineItemType2["DIGITAL"] = "DIGITAL";
|
|
1598
|
-
LineItemType2["CUSTOM_AMOUNT_ITEM"] = "CUSTOM_AMOUNT_ITEM";
|
|
1599
|
-
return LineItemType2;
|
|
1600
|
-
})(LineItemType || {});
|
|
1601
|
-
var MediaItemType = /* @__PURE__ */ ((MediaItemType2) => {
|
|
1602
|
-
MediaItemType2["UNSPECIFIED_MEDIA_TYPE_ITEM"] = "UNSPECIFIED_MEDIA_TYPE_ITEM";
|
|
1603
|
-
MediaItemType2["IMAGE"] = "IMAGE";
|
|
1604
|
-
return MediaItemType2;
|
|
1605
|
-
})(MediaItemType || {});
|
|
1606
|
-
var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
1607
|
-
VatType2["UNSPECIFIED_TAX_TYPE"] = "UNSPECIFIED_TAX_TYPE";
|
|
1608
|
-
VatType2["CPF"] = "CPF";
|
|
1609
|
-
VatType2["CNPJ"] = "CNPJ";
|
|
1610
|
-
return VatType2;
|
|
1611
|
-
})(VatType || {});
|
|
1612
|
-
var DiscountDiscountType = /* @__PURE__ */ ((DiscountDiscountType2) => {
|
|
1613
|
-
DiscountDiscountType2["UNDEFINED"] = "UNDEFINED";
|
|
1614
|
-
DiscountDiscountType2["AMOUNT"] = "AMOUNT";
|
|
1615
|
-
DiscountDiscountType2["PERCENT"] = "PERCENT";
|
|
1616
|
-
return DiscountDiscountType2;
|
|
1617
|
-
})(DiscountDiscountType || {});
|
|
1618
|
-
var ChannelInfoChannelType = /* @__PURE__ */ ((ChannelInfoChannelType2) => {
|
|
1619
|
-
ChannelInfoChannelType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
1620
|
-
ChannelInfoChannelType2["WEB"] = "WEB";
|
|
1621
|
-
ChannelInfoChannelType2["OTHER_PLATFORM"] = "OTHER_PLATFORM";
|
|
1622
|
-
ChannelInfoChannelType2["WIX_APP_STORE"] = "WIX_APP_STORE";
|
|
1623
|
-
return ChannelInfoChannelType2;
|
|
1624
|
-
})(ChannelInfoChannelType || {});
|
|
1625
1582
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1626
1583
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1627
1584
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -2959,23 +2916,17 @@ var onCheckoutUpdated2 = (0, import_event_definition_modules.createEventModule)(
|
|
|
2959
2916
|
0 && (module.exports = {
|
|
2960
2917
|
AdditionalFeeSource,
|
|
2961
2918
|
BalanceType,
|
|
2962
|
-
ChannelInfoChannelType,
|
|
2963
2919
|
ChannelType,
|
|
2964
2920
|
ChargeType,
|
|
2965
|
-
CommonVatType,
|
|
2966
2921
|
DescriptionLineType,
|
|
2967
|
-
DiscountDiscountType,
|
|
2968
2922
|
DiscountType,
|
|
2969
2923
|
FallbackReason,
|
|
2970
2924
|
FileType,
|
|
2971
2925
|
GetCheckoutPaymentSettingsResponsePaymentOption,
|
|
2972
|
-
IdentityType,
|
|
2973
2926
|
ItemAvailabilityStatus,
|
|
2974
2927
|
ItemTypePreset,
|
|
2975
2928
|
JurisdictionType,
|
|
2976
|
-
LineItemType,
|
|
2977
2929
|
ManualCalculationReason,
|
|
2978
|
-
MediaItemType,
|
|
2979
2930
|
NameInLineItem,
|
|
2980
2931
|
NameInOther,
|
|
2981
2932
|
PaymentOptionType,
|