@wix/auto_sdk_ecom_checkout 1.0.43 → 1.0.44
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 +17 -7
- package/build/cjs/index.js.map +1 -1
- package/build/{internal/cjs/ecom-v1-checkout-checkout.universal-o9jU9uir.d.ts → cjs/index.typings.d.ts} +648 -129
- package/build/cjs/index.typings.js +2389 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +2 -1
- package/build/es/index.d.mts +17 -7
- package/build/es/index.mjs.map +1 -1
- package/build/{internal/es/ecom-v1-checkout-checkout.universal-o9jU9uir.d.mts → es/index.typings.d.mts} +648 -129
- package/build/es/index.typings.mjs +2318 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +2 -1
- package/build/internal/cjs/index.d.ts +20 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/{cjs/ecom-v1-checkout-checkout.universal-BWJwZODy.d.ts → internal/cjs/index.typings.d.ts} +812 -1
- package/build/internal/cjs/index.typings.js +2389 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +2 -1
- package/build/internal/es/index.d.mts +20 -8
- package/build/internal/es/index.mjs.map +1 -1
- package/build/{es/ecom-v1-checkout-checkout.universal-BWJwZODy.d.mts → internal/es/index.typings.d.mts} +812 -1
- package/build/internal/es/index.typings.mjs +2318 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +2 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { CreateCheckoutOptions, Checkout, CreateCheckoutApplicationErrors, GetCheckoutByCartIdResponse, GetCheckoutURLResponse, UpdateCheckout, UpdateCheckoutOptions, UpdateCheckoutApplicationErrors, RemoveCouponResponse, RemoveGiftCardResponse, RemoveOverrideCheckoutUrlResponse, AddToCheckoutOptions, AddToCheckoutResponse, AddToCheckoutApplicationErrors, RemoveLineItemsResponse, CreateOrderOptions, CreateOrderResponse, CreateOrderApplicationErrors, RawHttpResponse, MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, LineItemQuantityUpdate, UpdateLineItemsQuantityResponse, CheckoutCompletedEnvelope, CheckoutCreatedEnvelope, CheckoutDeletedEnvelope, CheckoutUpdatedEnvelope } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, AddToCheckoutRequest, AdditionalFee, AdditionalFeeSource, Address, AddressAddressLine1OptionsOneOf, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApiAddress, ApplicableLineItems, ApplicationError, AppliedCoupon, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BaseEventMetadata, BillingInfo, BuyerInfo, BuyerInfoIdOneOf, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogOverrideFields, CatalogReference, ChannelInfo, ChannelInfoChannelType, ChannelType, Charge, ChargeDetails, ChargeType, CheckoutMarkedAsCompleted, Color, CommonVatId, CommonVatType, ConversionInfo, Coupon, CreateCheckoutRequest, CreateCheckoutResponse, CreateOrderAndChargeOptions, CreateOrderAndChargeRequest, CreateOrderAndChargeResponse, CreateOrderAndChargeResponseIdOneOf, CreateOrderRequest, CreateOrderResponseIdOneOf, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomLineItem, CustomSettings, CustomTextFieldSelection, DeleteCheckoutRequest, DeleteCheckoutResponse, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Discount, DiscountDiscountType, DiscountRule, DiscountRuleName, DiscountType, DomainEvent, DomainEventBodyOneOf, DoublePaymentErrorData, DoublePaymentErrorDataIdOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReference, FallbackReason, FieldViolation, FileType, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, FullName, GetCheckoutByCartIdRequest, GetCheckoutPaymentSettingsRequest, GetCheckoutPaymentSettingsResponse, GetCheckoutPaymentSettingsResponsePaymentOption, GetCheckoutRequest, GetCheckoutResponse, GetCheckoutURLRequest, GetCheckoutWithAllExtendedFieldsRequest, GetCheckoutWithAllExtendedFieldsResponse, GetWixCheckoutURLRequest, GetWixCheckoutURLResponse, GiftCard, Group, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, IdentityType, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemType, ItemTypeItemTypeDataOneOf, JurisdictionType, LineItem, LineItemDiscount, LineItemType, ManualCalculationReason, MarkCheckoutAsCompletedAndRedirectToUrlRequest, MarkCheckoutAsCompletedRequest, MarkCheckoutAsCompletedResponse, MediaItem, MediaItemType, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MerchantDiscountInput, MessageEnvelope, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInOther, OptionSelection, Other, OtherCharge, PaymentErrorResponseData, PaymentOption, PaymentOptionType, PhysicalProperties, PickupAddress, PickupDetails, PickupMethod, PlainTextValue, Policy, PriceDescription, PriceSummary, ProductDetails, ProductName, RateType, RedeemErrorData, Region, RemoveCouponRequest, RemoveGiftCardRequest, RemoveLineItemsRequest, RemoveOverrideCheckoutUrlRequest, RestoreInfo, RuleType, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, ServiceProperties, Severity, ShipmentDetails, ShippingCalculationErrorData, ShippingCalculationErrorDataShippingCalculationErrorOneOf, ShippingInfo, ShippingOption, ShippingPrice, ShippingRegion, StoreSettings, Street, StreetAddress, Subscription, SubscriptionCharges, SubscriptionCreated, SubscriptionFrequency, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, Title, Totals, TranslatableString, UpdateCheckoutRequest, UpdateCheckoutResponse, UpdateLineItemsQuantityRequest, UpdatedCheckoutMessage, V1BuyerInfo, V1CustomField, V1ItemModifier, V1LineItem, V1ModifierGroup, V1PickupDetails, V1ShippingInfo, V1ShippingInfoDetailsOneOf, V1SubscriptionOptionInfo, V1SubscriptionSettings, ValidationError, VatId, VatType, Violation, ViolationsList, WebhookIdentityType, WeightUnit } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createCheckout$1(httpClient: HttpClient): CreateCheckoutSignature;
|
|
6
6
|
interface CreateCheckoutSignature {
|
|
@@ -13,7 +13,9 @@ interface CreateCheckoutSignature {
|
|
|
13
13
|
* @param - Checkout creation options.
|
|
14
14
|
* @returns Newly created checkout.
|
|
15
15
|
*/
|
|
16
|
-
(options?: CreateCheckoutOptions | undefined): Promise<Checkout
|
|
16
|
+
(options?: CreateCheckoutOptions | undefined): Promise<Checkout & {
|
|
17
|
+
__applicationErrorsType?: CreateCheckoutApplicationErrors | undefined;
|
|
18
|
+
}>;
|
|
17
19
|
}
|
|
18
20
|
declare function getCheckout$1(httpClient: HttpClient): GetCheckoutSignature;
|
|
19
21
|
interface GetCheckoutSignature {
|
|
@@ -65,7 +67,9 @@ interface UpdateCheckoutSignature {
|
|
|
65
67
|
* @param - Checkout update options.
|
|
66
68
|
* @returns Updated checkout.
|
|
67
69
|
*/
|
|
68
|
-
(_id: string, checkout: UpdateCheckout, options?: UpdateCheckoutOptions | undefined): Promise<Checkout
|
|
70
|
+
(_id: string, checkout: UpdateCheckout, options?: UpdateCheckoutOptions | undefined): Promise<Checkout & {
|
|
71
|
+
__applicationErrorsType?: UpdateCheckoutApplicationErrors | undefined;
|
|
72
|
+
}>;
|
|
69
73
|
}
|
|
70
74
|
declare function removeCoupon$1(httpClient: HttpClient): RemoveCouponSignature;
|
|
71
75
|
interface RemoveCouponSignature {
|
|
@@ -106,7 +110,9 @@ interface AddToCheckoutSignature {
|
|
|
106
110
|
* @param - Checkout ID.
|
|
107
111
|
* @param - Items to be added to checkout.
|
|
108
112
|
*/
|
|
109
|
-
(_id: string, options?: AddToCheckoutOptions | undefined): Promise<AddToCheckoutResponse
|
|
113
|
+
(_id: string, options?: AddToCheckoutOptions | undefined): Promise<AddToCheckoutResponse & {
|
|
114
|
+
__applicationErrorsType?: AddToCheckoutApplicationErrors | undefined;
|
|
115
|
+
}>;
|
|
110
116
|
}
|
|
111
117
|
declare function removeLineItems$1(httpClient: HttpClient): RemoveLineItemsSignature;
|
|
112
118
|
interface RemoveLineItemsSignature {
|
|
@@ -136,7 +142,9 @@ interface CreateOrderSignature {
|
|
|
136
142
|
* @param - Checkout ID.
|
|
137
143
|
* @param - Additional order creation options.
|
|
138
144
|
*/
|
|
139
|
-
(_id: string, options?: CreateOrderOptions | undefined): Promise<CreateOrderResponse
|
|
145
|
+
(_id: string, options?: CreateOrderOptions | undefined): Promise<CreateOrderResponse & {
|
|
146
|
+
__applicationErrorsType?: CreateOrderApplicationErrors | undefined;
|
|
147
|
+
}>;
|
|
140
148
|
}
|
|
141
149
|
declare function markCheckoutAsCompletedAndRedirectToUrl$1(httpClient: HttpClient): MarkCheckoutAsCompletedAndRedirectToUrlSignature;
|
|
142
150
|
interface MarkCheckoutAsCompletedAndRedirectToUrlSignature {
|
|
@@ -144,7 +152,9 @@ interface MarkCheckoutAsCompletedAndRedirectToUrlSignature {
|
|
|
144
152
|
* Marks a checkout as completed and redirects to a specified URL.
|
|
145
153
|
* @param - Server-signed JWT token with required information to complete checkout
|
|
146
154
|
*/
|
|
147
|
-
(token: string): Promise<RawHttpResponse
|
|
155
|
+
(token: string): Promise<RawHttpResponse & {
|
|
156
|
+
__applicationErrorsType?: MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors | undefined;
|
|
157
|
+
}>;
|
|
148
158
|
}
|
|
149
159
|
declare function markCheckoutAsCompleted$1(httpClient: HttpClient): MarkCheckoutAsCompletedSignature;
|
|
150
160
|
interface MarkCheckoutAsCompletedSignature {
|