@wix/auto_sdk_ecom_checkout 1.0.105 → 1.0.106
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 +8 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +24 -1
- package/build/cjs/index.typings.js +8 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +24 -1
- package/build/cjs/meta.js +8 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +7 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +24 -1
- package/build/es/index.typings.mjs +7 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +24 -1
- package/build/es/meta.mjs +7 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +8 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +24 -1
- package/build/internal/cjs/index.typings.js +8 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +24 -1
- package/build/internal/cjs/meta.js +8 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +7 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +24 -1
- package/build/internal/es/index.typings.mjs +7 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +24 -1
- package/build/internal/es/meta.mjs +7 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1016,6 +1016,29 @@ interface ItemModifier {
|
|
|
1016
1016
|
/** The price of the modifier. */
|
|
1017
1017
|
price?: MultiCurrencyPrice;
|
|
1018
1018
|
}
|
|
1019
|
+
interface PlatformFee {
|
|
1020
|
+
/** Platform fee name. */
|
|
1021
|
+
name?: TranslatableString;
|
|
1022
|
+
/** Platform fee charge type. */
|
|
1023
|
+
chargeType?: V1ChargeTypeWithLiterals;
|
|
1024
|
+
/**
|
|
1025
|
+
* Percentage rate charged as platform fee.
|
|
1026
|
+
*
|
|
1027
|
+
* The fee rate expressed as a decimal fraction between 0 and 1. For example, `0.05` for 5%.
|
|
1028
|
+
* @format DECIMAL_VALUE
|
|
1029
|
+
* @decimalValue options { gte:0, lte:1, maxScale:4 }
|
|
1030
|
+
*/
|
|
1031
|
+
percentageRate?: string;
|
|
1032
|
+
}
|
|
1033
|
+
declare enum V1ChargeType {
|
|
1034
|
+
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
1035
|
+
/** The platform fee is passed on to the customer. */
|
|
1036
|
+
PASS_ON = "PASS_ON",
|
|
1037
|
+
/** The platform fee is absorbed by the merchant. */
|
|
1038
|
+
ABSORBED = "ABSORBED"
|
|
1039
|
+
}
|
|
1040
|
+
/** @enumType */
|
|
1041
|
+
type V1ChargeTypeWithLiterals = V1ChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
|
|
1019
1042
|
/** Billing Info and shipping details */
|
|
1020
1043
|
interface AddressWithContact {
|
|
1021
1044
|
/** Address. */
|
|
@@ -4637,4 +4660,4 @@ interface MarkCheckoutAsCompletedOptions {
|
|
|
4637
4660
|
*/
|
|
4638
4661
|
declare function updateLineItemsQuantity(_id: string, lineItems: NonNullablePaths<LineItemQuantityUpdate, `_id` | `quantity`, 2>[]): Promise<NonNullablePaths<UpdateLineItemsQuantityResponse, `checkout.lineItems` | `checkout.lineItems.${number}.quantity` | `checkout.lineItems.${number}.catalogReference.catalogItemId` | `checkout.lineItems.${number}.catalogReference.appId` | `checkout.lineItems.${number}.productName.original` | `checkout.lineItems.${number}.price.amount` | `checkout.lineItems.${number}.price.convertedAmount` | `checkout.lineItems.${number}.price.formattedAmount` | `checkout.lineItems.${number}.price.formattedConvertedAmount` | `checkout.lineItems.${number}.taxDetails.taxRate` | `checkout.lineItems.${number}.availability.status` | `checkout.lineItems.${number}.physicalProperties.shippable` | `checkout.lineItems.${number}.itemType.preset` | `checkout.lineItems.${number}.itemType.custom` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `checkout.lineItems.${number}.subscriptionOptionInfo.title.original` | `checkout.lineItems.${number}.subscriptionOptionInfo.description.original` | `checkout.lineItems.${number}.paymentOption` | `checkout.lineItems.${number}.priceDescription.original` | `checkout.lineItems.${number}.customLineItem` | `checkout.lineItems.${number}.catalogOverrideFields.paymentOption.value` | `checkout.lineItems.${number}.priceUndetermined` | `checkout.lineItems.${number}.fixedQuantity` | `checkout.lineItems.${number}.savePaymentMethod` | `checkout.lineItems.${number}.taxableAddress.addressType` | `checkout.lineItems.${number}.membersOnly` | `checkout.billingInfo.address.streetAddress.number` | `checkout.billingInfo.address.streetAddress.name` | `checkout.billingInfo.contactDetails.vatId._id` | `checkout.billingInfo.contactDetails.vatId.type` | `checkout.shippingInfo.selectedCarrierServiceOption.code` | `checkout.shippingInfo.selectedCarrierServiceOption.title` | `checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.businessLocation` | `checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.pickupMethod` | `checkout.shippingInfo.selectedCarrierServiceOption.requestedShippingOption` | `checkout.shippingInfo.selectedCarrierServiceOption.otherCharges` | `checkout.shippingInfo.selectedCarrierServiceOption.otherCharges.${number}.type` | `checkout.shippingInfo.selectedCarrierServiceOption.deliveryAllocations` | `checkout.shippingInfo.selectedCarrierServiceOption.deliveryAllocations.${number}.deliveryCarrier.code` | `checkout.shippingInfo.region._id` | `checkout.shippingInfo.region.name` | `checkout.shippingInfo.carrierServiceOptions` | `checkout.shippingInfo.carrierServiceOptions.${number}.carrierId` | `checkout.buyerInfo.visitorId` | `checkout.buyerInfo.memberId` | `checkout.conversionCurrency` | `checkout.calculationErrors.generalShippingCalculationError.applicationError.code` | `checkout.calculationErrors.generalShippingCalculationError.applicationError.description` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `checkout.calculationErrors.carrierErrors.errors` | `checkout.calculationErrors.carrierErrors.errors.${number}.carrierId` | `checkout.calculationErrors.orderValidationErrors` | `checkout.giftCard._id` | `checkout.giftCard.obfuscatedCode` | `checkout.giftCard.appId` | `checkout.appliedDiscounts` | `checkout.appliedDiscounts.${number}.coupon._id` | `checkout.appliedDiscounts.${number}.coupon.code` | `checkout.appliedDiscounts.${number}.coupon.name` | `checkout.appliedDiscounts.${number}.discountRule._id` | `checkout.appliedDiscounts.${number}.discountRule.name.original` | `checkout.appliedDiscounts.${number}.discountType` | `checkout.customFields` | `checkout.customFields.${number}.title` | `checkout.weightUnit` | `checkout.taxSummary.calculationDetails.manualRateReason` | `checkout.taxSummary.calculationDetails.autoTaxFallbackDetails.fallbackReason` | `checkout.taxSummary.calculationDetails.rateType` | `checkout.currency` | `checkout.channelType` | `checkout.siteLanguage` | `checkout.buyerLanguage` | `checkout.completed` | `checkout.taxIncludedInPrice` | `checkout.createdBy.userId` | `checkout.createdBy.memberId` | `checkout.createdBy.visitorId` | `checkout.createdBy.appId` | `checkout.membershipOptions.eligibleMemberships` | `checkout.membershipOptions.eligibleMemberships.${number}._id` | `checkout.membershipOptions.eligibleMemberships.${number}.appId` | `checkout.membershipOptions.eligibleMemberships.${number}.name.original` | `checkout.membershipOptions.eligibleMemberships.${number}.credits.total` | `checkout.membershipOptions.eligibleMemberships.${number}.credits.remaining` | `checkout.membershipOptions.invalidMemberships` | `checkout.membershipOptions.invalidMemberships.${number}.reason` | `checkout.membershipOptions.selectedMemberships.memberships` | `checkout.membershipOptions.selectedMemberships.memberships.${number}._id` | `checkout.membershipOptions.selectedMemberships.memberships.${number}.appId` | `checkout.additionalFees` | `checkout.additionalFees.${number}.name` | `checkout.additionalFees.${number}.source` | `checkout.violations` | `checkout.violations.${number}.severity` | `checkout.violations.${number}.target.other.name` | `checkout.violations.${number}.target.lineItem.name` | `checkout.customSettings.lockGiftCard` | `checkout.customSettings.lockCouponCode` | `checkout.customSettings.disabledPolicyAgreementCheckbox` | `checkout.customSettings.disabledManualPayment` | `checkout.customContentReference.appId` | `checkout.customContentReference.componentId` | `checkout.externalReference.appId` | `checkout.paymentCurrency`, 8>>;
|
|
4639
4662
|
|
|
4640
|
-
export { type ActionEvent, type AddToCheckoutApplicationErrors, type AddToCheckoutOptions, type AddToCheckoutRequest, type AddToCheckoutResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressAddressLine1OptionsOneOf, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApiAddress, type ApplicableLineItems, type ApplicationError, type AppliedCoupon, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, type BaseEventMetadata, type BillingInfo, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, type ChannelInfo, ChannelInfoChannelType, type ChannelInfoChannelTypeWithLiterals, ChannelType, type ChannelTypeWithLiterals, type Charge, type ChargeDetails, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCompletedEnvelope, type CheckoutCreatedEnvelope, type CheckoutDeletedEnvelope, type CheckoutMarkedAsCompleted, type CheckoutUpdatedEnvelope, type Color, type CommonVatId, CommonVatType, type CommonVatTypeWithLiterals, type ConversionInfo, type Coupon, type CreateCheckoutApplicationErrors, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CreateOrderAndChargeApplicationErrors, type CreateOrderAndChargeOptions, type CreateOrderAndChargeRequest, type CreateOrderAndChargeResponse, type CreateOrderAndChargeResponseIdOneOf, type CreateOrderApplicationErrors, type CreateOrderOptions, type CreateOrderRequest, type CreateOrderResponse, type CreateOrderResponseIdOneOf, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type CustomTextFieldSelection, type DeleteCheckoutRequest, type DeleteCheckoutResponse, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Discount, DiscountDiscountType, type DiscountDiscountTypeWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DoublePaymentErrorData, type DoublePaymentErrorDataIdOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type FullName, type GetCheckoutByCartIdRequest, type GetCheckoutByCartIdResponse, type GetCheckoutPaymentSettingsRequest, type GetCheckoutPaymentSettingsResponse, GetCheckoutPaymentSettingsResponsePaymentOption, type GetCheckoutPaymentSettingsResponsePaymentOptionWithLiterals, type GetCheckoutRequest, type GetCheckoutResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetCheckoutWithAllExtendedFieldsRequest, type GetCheckoutWithAllExtendedFieldsResponse, type GetWixCheckoutURLRequest, type GetWixCheckoutURLResponse, type GiftCard, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, IdentityType, type IdentityTypeWithLiterals, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemDiscount, type LineItemQuantityUpdate, LineItemType, type LineItemTypeWithLiterals, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, type MarkCheckoutAsCompletedAndRedirectToUrlRequest, type MarkCheckoutAsCompletedOptions, type MarkCheckoutAsCompletedRequest, type MarkCheckoutAsCompletedResponse, type MediaItem, MediaItemType, type MediaItemTypeWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MerchantDiscountInput, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type OptionSelection, type Other, type OtherCharge, type PaymentErrorResponseData, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type Policy, type PriceDescription, type PriceSummary, type ProductDetails, type ProductName, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedeemErrorData, type Region, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RemoveOverrideCheckoutUrlRequest, type RemoveOverrideCheckoutUrlResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShipmentDetails, type ShippingCalculationErrorData, type ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, type StoreSettings, type Street, type StreetAddress, type Subscription, type SubscriptionCharges, type SubscriptionCreated, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type Totals, type TranslatableString, type UpdateCheckout, type UpdateCheckoutApplicationErrors, type UpdateCheckoutOptions, type UpdateCheckoutRequest, type UpdateCheckoutResponse, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type UpdatedCheckoutMessage, type V1BuyerInfo, type V1CustomField, type V1ItemModifier, type V1LineItem, type V1ModifierGroup, type V1PickupDetails, type V1ShippingInfo, type V1ShippingInfoDetailsOneOf, type V1SubscriptionOptionInfo, type V1SubscriptionSettings, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutDeleted, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
|
|
4663
|
+
export { type ActionEvent, type AddToCheckoutApplicationErrors, type AddToCheckoutOptions, type AddToCheckoutRequest, type AddToCheckoutResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressAddressLine1OptionsOneOf, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApiAddress, type ApplicableLineItems, type ApplicationError, type AppliedCoupon, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, type BaseEventMetadata, type BillingInfo, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, type ChannelInfo, ChannelInfoChannelType, type ChannelInfoChannelTypeWithLiterals, ChannelType, type ChannelTypeWithLiterals, type Charge, type ChargeDetails, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCompletedEnvelope, type CheckoutCreatedEnvelope, type CheckoutDeletedEnvelope, type CheckoutMarkedAsCompleted, type CheckoutUpdatedEnvelope, type Color, type CommonVatId, CommonVatType, type CommonVatTypeWithLiterals, type ConversionInfo, type Coupon, type CreateCheckoutApplicationErrors, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CreateOrderAndChargeApplicationErrors, type CreateOrderAndChargeOptions, type CreateOrderAndChargeRequest, type CreateOrderAndChargeResponse, type CreateOrderAndChargeResponseIdOneOf, type CreateOrderApplicationErrors, type CreateOrderOptions, type CreateOrderRequest, type CreateOrderResponse, type CreateOrderResponseIdOneOf, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type CustomTextFieldSelection, type DeleteCheckoutRequest, type DeleteCheckoutResponse, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Discount, DiscountDiscountType, type DiscountDiscountTypeWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DoublePaymentErrorData, type DoublePaymentErrorDataIdOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type FullName, type GetCheckoutByCartIdRequest, type GetCheckoutByCartIdResponse, type GetCheckoutPaymentSettingsRequest, type GetCheckoutPaymentSettingsResponse, GetCheckoutPaymentSettingsResponsePaymentOption, type GetCheckoutPaymentSettingsResponsePaymentOptionWithLiterals, type GetCheckoutRequest, type GetCheckoutResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetCheckoutWithAllExtendedFieldsRequest, type GetCheckoutWithAllExtendedFieldsResponse, type GetWixCheckoutURLRequest, type GetWixCheckoutURLResponse, type GiftCard, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, IdentityType, type IdentityTypeWithLiterals, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemDiscount, type LineItemQuantityUpdate, LineItemType, type LineItemTypeWithLiterals, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, type MarkCheckoutAsCompletedAndRedirectToUrlRequest, type MarkCheckoutAsCompletedOptions, type MarkCheckoutAsCompletedRequest, type MarkCheckoutAsCompletedResponse, type MediaItem, MediaItemType, type MediaItemTypeWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MerchantDiscountInput, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type OptionSelection, type Other, type OtherCharge, type PaymentErrorResponseData, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type Policy, type PriceDescription, type PriceSummary, type ProductDetails, type ProductName, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedeemErrorData, type Region, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RemoveOverrideCheckoutUrlRequest, type RemoveOverrideCheckoutUrlResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShipmentDetails, type ShippingCalculationErrorData, type ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, type StoreSettings, type Street, type StreetAddress, type Subscription, type SubscriptionCharges, type SubscriptionCreated, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type Totals, type TranslatableString, type UpdateCheckout, type UpdateCheckoutApplicationErrors, type UpdateCheckoutOptions, type UpdateCheckoutRequest, type UpdateCheckoutResponse, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type UpdatedCheckoutMessage, type V1BuyerInfo, V1ChargeType, type V1ChargeTypeWithLiterals, type V1CustomField, type V1ItemModifier, type V1LineItem, type V1ModifierGroup, type V1PickupDetails, type V1ShippingInfo, type V1ShippingInfoDetailsOneOf, type V1SubscriptionOptionInfo, type V1SubscriptionSettings, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutDeleted, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
|
|
@@ -48,6 +48,7 @@ __export(index_typings_exports, {
|
|
|
48
48
|
SubscriptionFrequency: () => SubscriptionFrequency,
|
|
49
49
|
SuggestedFix: () => SuggestedFix,
|
|
50
50
|
TaxableAddressType: () => TaxableAddressType,
|
|
51
|
+
V1ChargeType: () => V1ChargeType,
|
|
51
52
|
VatType: () => VatType,
|
|
52
53
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
53
54
|
WeightUnit: () => WeightUnit,
|
|
@@ -1418,6 +1419,12 @@ var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
|
1418
1419
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
1419
1420
|
return TaxableAddressType2;
|
|
1420
1421
|
})(TaxableAddressType || {});
|
|
1422
|
+
var V1ChargeType = /* @__PURE__ */ ((V1ChargeType2) => {
|
|
1423
|
+
V1ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
1424
|
+
V1ChargeType2["PASS_ON"] = "PASS_ON";
|
|
1425
|
+
V1ChargeType2["ABSORBED"] = "ABSORBED";
|
|
1426
|
+
return V1ChargeType2;
|
|
1427
|
+
})(V1ChargeType || {});
|
|
1421
1428
|
var CommonVatType = /* @__PURE__ */ ((CommonVatType2) => {
|
|
1422
1429
|
CommonVatType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
1423
1430
|
CommonVatType2["CPF"] = "CPF";
|
|
@@ -2432,6 +2439,7 @@ async function getCheckoutPaymentSettings2(_id) {
|
|
|
2432
2439
|
SubscriptionFrequency,
|
|
2433
2440
|
SuggestedFix,
|
|
2434
2441
|
TaxableAddressType,
|
|
2442
|
+
V1ChargeType,
|
|
2435
2443
|
VatType,
|
|
2436
2444
|
WebhookIdentityType,
|
|
2437
2445
|
WeightUnit,
|