@wix/auto_sdk_ecom_checkout 1.0.147 → 1.0.149
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 +12 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +9 -1
- package/build/cjs/index.typings.js +12 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +9 -1
- package/build/cjs/meta.js +7 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +11 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +9 -1
- package/build/es/index.typings.mjs +11 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +9 -1
- package/build/es/meta.mjs +6 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +12 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +45 -2
- package/build/internal/cjs/index.typings.js +12 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +9 -1
- package/build/internal/cjs/meta.js +7 -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 +11 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +45 -2
- package/build/internal/es/index.typings.mjs +11 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +9 -1
- package/build/internal/es/meta.mjs +6 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -818,6 +818,14 @@ interface BillingSettings {
|
|
|
818
818
|
*/
|
|
819
819
|
anchorDay?: number | null;
|
|
820
820
|
}
|
|
821
|
+
declare enum ProductPeriodAlignment {
|
|
822
|
+
/** Billing period equals the product/service/subscription access period. */
|
|
823
|
+
ALIGNED_WITH_BILLING_PERIOD = "ALIGNED_WITH_BILLING_PERIOD",
|
|
824
|
+
/** Billing period is independent of the product/service/subscription access period. */
|
|
825
|
+
NOT_ALIGNED_WITH_BILLING_PERIOD = "NOT_ALIGNED_WITH_BILLING_PERIOD"
|
|
826
|
+
}
|
|
827
|
+
/** @enumType */
|
|
828
|
+
type ProductPeriodAlignmentWithLiterals = ProductPeriodAlignment | 'ALIGNED_WITH_BILLING_PERIOD' | 'NOT_ALIGNED_WITH_BILLING_PERIOD';
|
|
821
829
|
interface Title {
|
|
822
830
|
/**
|
|
823
831
|
* Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
@@ -4233,4 +4241,4 @@ interface MarkCheckoutAsCompletedOptions {
|
|
|
4233
4241
|
*/
|
|
4234
4242
|
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>>;
|
|
4235
4243
|
|
|
4236
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCheckoutApplicationErrors, type AddToCheckoutOptions, type AddToCheckoutRequest, type AddToCheckoutResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCompletedEnvelope, type CheckoutCreatedEnvelope, type CheckoutDeletedEnvelope, type CheckoutMarkedAsCompleted, type CheckoutUpdatedEnvelope, type Color, type ConversionInfo, type Coupon, type CouponAdded, type CouponRemoved, 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 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 Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, 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 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 GiftCardAdded, type GiftCardCalculationError, type GiftCardRemoved, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemDiscount, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, type MarkCheckoutAsCompletedAndRedirectToUrlRequest, type MarkCheckoutAsCompletedOptions, type MarkCheckoutAsCompletedRequest, type MarkCheckoutAsCompletedResponse, 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 Other, type OtherCharge, type PaymentErrorResponseData, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, 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 ShippingCalculationErrorData, type ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, type SubscriptionCharges, 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 TranslatableString, type UpdateCheckout, type UpdateCheckoutApplicationErrors, type UpdateCheckoutOptions, type UpdateCheckoutRequest, type UpdateCheckoutResponse, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type UpdatedCheckoutMessage, type V1ItemModifier, type V1ModifierGroup, 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 };
|
|
4244
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCheckoutApplicationErrors, type AddToCheckoutOptions, type AddToCheckoutRequest, type AddToCheckoutResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCompletedEnvelope, type CheckoutCreatedEnvelope, type CheckoutDeletedEnvelope, type CheckoutMarkedAsCompleted, type CheckoutUpdatedEnvelope, type Color, type ConversionInfo, type Coupon, type CouponAdded, type CouponRemoved, 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 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 Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, 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 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 GiftCardAdded, type GiftCardCalculationError, type GiftCardRemoved, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemDiscount, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, type MarkCheckoutAsCompletedAndRedirectToUrlRequest, type MarkCheckoutAsCompletedOptions, type MarkCheckoutAsCompletedRequest, type MarkCheckoutAsCompletedResponse, 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 Other, type OtherCharge, type PaymentErrorResponseData, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, 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 ShippingCalculationErrorData, type ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, type SubscriptionCharges, 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 TranslatableString, type UpdateCheckout, type UpdateCheckoutApplicationErrors, type UpdateCheckoutOptions, type UpdateCheckoutRequest, type UpdateCheckoutResponse, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type UpdatedCheckoutMessage, type V1ItemModifier, type V1ModifierGroup, 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 };
|
|
@@ -1369,6 +1369,11 @@ var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
|
|
|
1369
1369
|
SubscriptionFrequency2["YEAR"] = "YEAR";
|
|
1370
1370
|
return SubscriptionFrequency2;
|
|
1371
1371
|
})(SubscriptionFrequency || {});
|
|
1372
|
+
var ProductPeriodAlignment = /* @__PURE__ */ ((ProductPeriodAlignment2) => {
|
|
1373
|
+
ProductPeriodAlignment2["ALIGNED_WITH_BILLING_PERIOD"] = "ALIGNED_WITH_BILLING_PERIOD";
|
|
1374
|
+
ProductPeriodAlignment2["NOT_ALIGNED_WITH_BILLING_PERIOD"] = "NOT_ALIGNED_WITH_BILLING_PERIOD";
|
|
1375
|
+
return ProductPeriodAlignment2;
|
|
1376
|
+
})(ProductPeriodAlignment || {});
|
|
1372
1377
|
var FileType = /* @__PURE__ */ ((FileType2) => {
|
|
1373
1378
|
FileType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
1374
1379
|
FileType2["SECURE_PICTURE"] = "SECURE_PICTURE";
|
|
@@ -1487,6 +1492,7 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
1487
1492
|
ChannelType2["FAIRE_COM"] = "FAIRE_COM";
|
|
1488
1493
|
ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
|
|
1489
1494
|
ChannelType2["STRIPE_AGENTIC_CHECKOUT"] = "STRIPE_AGENTIC_CHECKOUT";
|
|
1495
|
+
ChannelType2["WIX_INVOICES_PLATFORM"] = "WIX_INVOICES_PLATFORM";
|
|
1490
1496
|
return ChannelType2;
|
|
1491
1497
|
})(ChannelType || {});
|
|
1492
1498
|
var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
@@ -2166,7 +2172,8 @@ async function createOrder2(_id, options) {
|
|
|
2166
2172
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
2167
2173
|
id: _id,
|
|
2168
2174
|
savePaymentMethod: options?.savePaymentMethod,
|
|
2169
|
-
delayCapture: options?.delayCapture
|
|
2175
|
+
delayCapture: options?.delayCapture,
|
|
2176
|
+
inAppPurchase: options?.inAppPurchase
|
|
2170
2177
|
});
|
|
2171
2178
|
const reqOpts = createOrder(payload);
|
|
2172
2179
|
sideEffects?.onSiteCall?.();
|
|
@@ -2182,7 +2189,8 @@ async function createOrder2(_id, options) {
|
|
|
2182
2189
|
explicitPathsToArguments: {
|
|
2183
2190
|
id: "$[0]",
|
|
2184
2191
|
savePaymentMethod: "$[1].savePaymentMethod",
|
|
2185
|
-
delayCapture: "$[1].delayCapture"
|
|
2192
|
+
delayCapture: "$[1].delayCapture",
|
|
2193
|
+
inAppPurchase: "$[1].inAppPurchase"
|
|
2186
2194
|
},
|
|
2187
2195
|
singleArgumentUnchanged: false
|
|
2188
2196
|
},
|
|
@@ -2373,6 +2381,7 @@ export {
|
|
|
2373
2381
|
PaymentOptionType,
|
|
2374
2382
|
PickupMethod,
|
|
2375
2383
|
PlatformFeeChargeType,
|
|
2384
|
+
ProductPeriodAlignment,
|
|
2376
2385
|
RateType,
|
|
2377
2386
|
RuleType,
|
|
2378
2387
|
Severity,
|