@wix/auto_sdk_ecom_payment-settings 1.0.124 → 1.0.126
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 +2 -2
- package/build/cjs/index.js +28 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +28 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/{interfaces-ecommerce-v1-payment-settings-provider.public-aQ_iZZEe.d.ts → interfaces-ecommerce-v1-payment-settings-provider.public-BYz8pkm3.d.ts} +84 -5
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +24 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +24 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/{interfaces-ecommerce-v1-payment-settings-provider.public-aQ_iZZEe.d.mts → interfaces-ecommerce-v1-payment-settings-provider.public-BYz8pkm3.d.mts} +84 -5
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +28 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +28 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/{interfaces-ecommerce-v1-payment-settings-provider.public-aQ_iZZEe.d.ts → interfaces-ecommerce-v1-payment-settings-provider.public-BYz8pkm3.d.ts} +84 -5
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +24 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +24 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/{interfaces-ecommerce-v1-payment-settings-provider.public-aQ_iZZEe.d.mts → interfaces-ecommerce-v1-payment-settings-provider.public-BYz8pkm3.d.mts} +84 -5
- package/package.json +2 -2
|
@@ -769,6 +769,12 @@ interface BillingSettings {
|
|
|
769
769
|
*/
|
|
770
770
|
anchorDay?: number | null;
|
|
771
771
|
}
|
|
772
|
+
declare enum ProductPeriodAlignment {
|
|
773
|
+
/** Billing period equals the product/service/subscription access period. */
|
|
774
|
+
ALIGNED_WITH_BILLING_PERIOD = "ALIGNED_WITH_BILLING_PERIOD",
|
|
775
|
+
/** Billing period is independent of the product/service/subscription access period. */
|
|
776
|
+
NOT_ALIGNED_WITH_BILLING_PERIOD = "NOT_ALIGNED_WITH_BILLING_PERIOD"
|
|
777
|
+
}
|
|
772
778
|
interface BillingAdjustment {
|
|
773
779
|
/** The type of adjustment. */
|
|
774
780
|
type?: AdjustmentType;
|
|
@@ -3654,6 +3660,12 @@ interface V1BillingSettings {
|
|
|
3654
3660
|
*/
|
|
3655
3661
|
anchorDay?: number | null;
|
|
3656
3662
|
}
|
|
3663
|
+
declare enum SubscriptionSettingsProductPeriodAlignment {
|
|
3664
|
+
/** Billing period equals the product/service/subscription access period. */
|
|
3665
|
+
ALIGNED_WITH_BILLING_PERIOD = "ALIGNED_WITH_BILLING_PERIOD",
|
|
3666
|
+
/** Billing period is independent of the product/service/subscription access period. */
|
|
3667
|
+
NOT_ALIGNED_WITH_BILLING_PERIOD = "NOT_ALIGNED_WITH_BILLING_PERIOD"
|
|
3668
|
+
}
|
|
3657
3669
|
interface Title {
|
|
3658
3670
|
/**
|
|
3659
3671
|
* 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).
|
|
@@ -4588,18 +4600,33 @@ interface Membership {
|
|
|
4588
4600
|
/** The name of this membership. */
|
|
4589
4601
|
name?: MembershipName;
|
|
4590
4602
|
/**
|
|
4591
|
-
*
|
|
4603
|
+
* Deprecated. Use the response-level `coverages` (`LineItemCoverage`) to see which line items each benefit covers.
|
|
4592
4604
|
* @minSize 1
|
|
4593
4605
|
* @maxSize 300
|
|
4594
4606
|
* @minLength 1
|
|
4595
4607
|
* @maxLength 100
|
|
4596
4608
|
*/
|
|
4597
4609
|
lineItemIds?: string[];
|
|
4598
|
-
/**
|
|
4610
|
+
/**
|
|
4611
|
+
* Deprecated. Use `benefits`.
|
|
4612
|
+
* @deprecated
|
|
4613
|
+
* @replacedBy benefits
|
|
4614
|
+
* @targetRemovalDate 2026-07-30
|
|
4615
|
+
*/
|
|
4599
4616
|
credits?: MembershipPaymentCredits;
|
|
4600
|
-
/**
|
|
4617
|
+
/**
|
|
4618
|
+
* Deprecated. Use `offering_description`.
|
|
4619
|
+
* @deprecated
|
|
4620
|
+
* @replacedBy offering_description
|
|
4621
|
+
* @targetRemovalDate 2026-07-30
|
|
4622
|
+
*/
|
|
4601
4623
|
expirationDate?: Date | null;
|
|
4602
|
-
/**
|
|
4624
|
+
/**
|
|
4625
|
+
* Deprecated. Use `benefits.additional_data`.
|
|
4626
|
+
* @deprecated
|
|
4627
|
+
* @replacedBy benefits
|
|
4628
|
+
* @targetRemovalDate 2026-07-30
|
|
4629
|
+
*/
|
|
4603
4630
|
additionalData?: Record<string, any> | null;
|
|
4604
4631
|
}
|
|
4605
4632
|
interface MembershipName {
|
|
@@ -4629,6 +4656,58 @@ declare enum BalanceType {
|
|
|
4629
4656
|
/** Balance is measured in a currency-like value (e.g., points). */
|
|
4630
4657
|
CREDIT = "CREDIT"
|
|
4631
4658
|
}
|
|
4659
|
+
/**
|
|
4660
|
+
* A single redeemable benefit granted by a membership or a purchasable plan.
|
|
4661
|
+
* Used by the per-benefit redemption flow (`ListExistingMemberships`, `ListPurchasablePlans`, `EnhanceAndValidateSelection`).
|
|
4662
|
+
*/
|
|
4663
|
+
interface Benefit extends BenefitQuotaOneOf {
|
|
4664
|
+
limitedQuota?: LimitedQuota;
|
|
4665
|
+
/**
|
|
4666
|
+
* Identifier for this benefit. Must be unique within the response so the response-level `coverages`
|
|
4667
|
+
* (`LineItemCoverage.benefit_id`) can reference it unambiguously across memberships/plans.
|
|
4668
|
+
* @minLength 1
|
|
4669
|
+
* @maxLength 100
|
|
4670
|
+
*/
|
|
4671
|
+
benefitId?: string;
|
|
4672
|
+
/**
|
|
4673
|
+
* Human-readable label for this benefit (for example, "Manicure" or "Pedicure" on multi-set punchcards).
|
|
4674
|
+
* @maxLength 200
|
|
4675
|
+
*/
|
|
4676
|
+
label?: string | null;
|
|
4677
|
+
/**
|
|
4678
|
+
* The kind of quota this benefit grants: a countable amount drawn down on redemption (`LIMITED`),
|
|
4679
|
+
* or an unbounded amount that is never drawn down (`UNLIMITED`).
|
|
4680
|
+
*/
|
|
4681
|
+
quotaType?: QuotaType;
|
|
4682
|
+
}
|
|
4683
|
+
/** @oneof */
|
|
4684
|
+
interface BenefitQuotaOneOf {
|
|
4685
|
+
limitedQuota?: LimitedQuota;
|
|
4686
|
+
}
|
|
4687
|
+
declare enum QuotaType {
|
|
4688
|
+
/** The benefit grants a countable quota that is drawn down on redemption. */
|
|
4689
|
+
LIMITED = "LIMITED",
|
|
4690
|
+
/** The benefit is unlimited (unbounded) and is never drawn down. */
|
|
4691
|
+
UNLIMITED = "UNLIMITED"
|
|
4692
|
+
}
|
|
4693
|
+
/** A limited, countable redeemable amount. */
|
|
4694
|
+
interface LimitedQuota {
|
|
4695
|
+
/**
|
|
4696
|
+
* The quota's initial value.
|
|
4697
|
+
* @min 1
|
|
4698
|
+
*/
|
|
4699
|
+
total?: number;
|
|
4700
|
+
/** The quota's remaining value. */
|
|
4701
|
+
remaining?: number;
|
|
4702
|
+
/** How the quota is measured. */
|
|
4703
|
+
limitedQuotaType?: LimitedQuotaType;
|
|
4704
|
+
}
|
|
4705
|
+
declare enum LimitedQuotaType {
|
|
4706
|
+
/** Quota is measured in discrete uses (e.g., sessions, visits). */
|
|
4707
|
+
PUNCH_CARD = "PUNCH_CARD",
|
|
4708
|
+
/** Quota is measured in a currency-like value (e.g., points). */
|
|
4709
|
+
CREDIT = "CREDIT"
|
|
4710
|
+
}
|
|
4632
4711
|
interface InvalidMembership {
|
|
4633
4712
|
/** Membership details. */
|
|
4634
4713
|
membership?: Membership;
|
|
@@ -5022,4 +5101,4 @@ declare const provideHandlers: ServicePluginDefinition<{
|
|
|
5022
5101
|
getPaymentSettingsForCheckout(payload: GetPaymentSettingsForCheckoutEnvelope): GetPaymentSettingsForCheckoutResponse | Promise<GetPaymentSettingsForCheckoutResponse>;
|
|
5023
5102
|
}>;
|
|
5024
5103
|
|
|
5025
|
-
export { type
|
|
5104
|
+
export { type CurrencyConversionDetails as $, AdjustmentType as A, type BillingSettings as B, type CatalogReference as C, type DescriptionLine as D, type PriceDescription as E, type FocalPoint as F, type GetPaymentSettingsRequest as G, type LocationAndQuantity as H, type ItemType as I, JurisdictionType as J, type TaxableAddressTaxableAddressDataOneOf as K, type LineItemTaxInfo as L, TaxableAddressType as M, type ExtendedFields as N, type Order as O, type ProductName as P, type TranslatableString as Q, type RestockLocation as R, type SubscriptionInfo as S, type TaxableAddress as T, type V1ItemModifier as U, type V1ModifierGroup as V, type V1BuyerInfo as W, type V1BuyerInfoIdOneOf as X, PaymentStatus as Y, FulfillmentStatus as Z, WeightUnit as _, type OrderLineItem as a, type RefundInitiated as a$, type PriceSummary as a0, type ApiAddressWithContact as a1, type Address as a2, type StreetAddress as a3, type AddressLocation as a4, type FullAddressContactDetails as a5, type VatId as a6, VatType as a7, type V1ShippingInformation as a8, type DeliveryLogistics as a9, type MerchantComment as aA, type OrderRefunded as aB, type OrderCreatedFromExchange as aC, type NewExchangeOrderCreated as aD, type LineItemExchangeData as aE, type DraftOrderChangesApplied as aF, type OrderChange as aG, type OrderChangeValueOneOf as aH, type LineItemChanges as aI, type LineItemQuantityChange as aJ, LineItemQuantityChangeType as aK, type LineItemPriceChange as aL, type LineItemProductNameChange as aM, type LineItemDescriptionLineChange as aN, type LineItemModifiersChange as aO, type ManagedLineItem as aP, type ManagedDiscount as aQ, type TranslatedValue as aR, type LineItemAmount as aS, type ManagedAdditionalFee as aT, type TotalPriceChange as aU, type ShippingInformationChange as aV, type ShippingInformation as aW, type SavedPaymentMethod as aX, type AuthorizedPaymentCreated as aY, type AuthorizedPaymentCaptured as aZ, type AuthorizedPaymentVoided as a_, type DeliveryLogisticsAddressOneOf as aa, type PickupDetails as ab, type PickupAddress as ac, PickupMethod as ad, type DeliveryTimeSlot as ae, type ShippingPrice as af, type ShippingRegion as ag, OrderStatus as ah, type TaxSummary as ai, type OrderTaxInfo as aj, type OrderTaxBreakdown as ak, type AppliedDiscount as al, type AppliedDiscountDiscountSourceOneOf as am, DiscountType as an, type Coupon as ao, type MerchantDiscount as ap, type MerchantDiscountMerchantDiscountReasonOneOf as aq, DiscountReason as ar, type DiscountRule as as, type DiscountRuleName as at, type LineItemDiscount as au, type ItemCombination as av, type ItemCombinationLineItem as aw, type Activity as ax, type ActivityContentOneOf as ay, type CustomActivity as az, type Price as b, V1JurisdictionType as b$, type RefundedPayment as b0, type RefundedPaymentKindOneOf as b1, type RegularPaymentRefund as b2, type GiftCardPaymentRefund as b3, type MembershipPaymentRefund as b4, type PaymentRefunded as b5, type PaymentRefundFailed as b6, type RefundedAsStoreCredit as b7, type PaymentPending as b8, type PaymentPendingPaymentDetailsOneOf as b9, type AdditionalFee as bA, AdditionalFeeSource as bB, type FulfillmentStatusesAggregate as bC, type Tags as bD, type TagList as bE, type Location as bF, type OrderSettings as bG, type OrderSettingsAllowedActionsOneOf as bH, type OrderSettingsEditableByOneOf as bI, type CustomAllowedActions as bJ, OrderActionType as bK, type OwnerApps as bL, SpecificItemsCouponBehavior as bM, type FormInfo as bN, type FormIdentifier as bO, type PlatformFeeSummary as bP, type PlatformFee as bQ, ChargeType as bR, type GetPaymentSettingsResponse as bS, type PaymentSettings as bT, type GetPaymentSettingsForCheckoutRequest as bU, type Checkout as bV, type LineItem as bW, type MultiCurrencyPrice as bX, type V1ItemTaxFullDetails as bY, type TaxRateBreakdown as bZ, type TaxBreakdown as b_, type RegularPayment as ba, type RegularPaymentPaymentMethodDetailsOneOf as bb, type CreditCardDetails as bc, type PaymentCanceled as bd, type PaymentCanceledPaymentDetailsOneOf as be, type PaymentDeclined as bf, type PaymentDeclinedPaymentDetailsOneOf as bg, type ReceiptCreated as bh, type ReceiptCreatedReceiptInfoOneOf as bi, type WixReceipt as bj, type ExternalReceipt as bk, type ReceiptSent as bl, type ReceiptSentReceiptInfoOneOf as bm, type ChargebackCreated as bn, type ChargebackReversed as bo, ActivityType as bp, OrderActivityTypeEnumActivityType as bq, AttributionSource as br, type V1CreatedBy as bs, type V1CreatedByStringOneOf as bt, type ChannelInfo as bu, ChannelType as bv, type CustomField as bw, type BalanceSummary as bx, type Balance as by, type CashRounding as bz, type DescriptionLineValueOneOf as c, type V1LineItemDiscount as c$, type ItemAvailabilityInfo as c0, ItemAvailabilityStatus as c1, type Scope as c2, type Group as c3, type SubscriptionOptionInfo as c4, type V1SubscriptionSettings as c5, type V1FreeTrialPeriod as c6, type V1BillingSettings as c7, SubscriptionSettingsProductPeriodAlignment as c8, type Title as c9, type CarrierServiceOption as cA, type ShippingOption as cB, type V1ShippingPrice as cC, type OtherCharge as cD, type BuyerInfo as cE, type BuyerInfoIdOneOf as cF, type V1PriceSummary as cG, type CalculationErrors as cH, type CalculationErrorsShippingCalculationErrorOneOf as cI, type Details as cJ, type DetailsKindOneOf as cK, type ApplicationError as cL, type ValidationError as cM, RuleType as cN, type FieldViolation as cO, type SystemError as cP, type CarrierErrors as cQ, type CarrierError as cR, type GiftCardCalculationError as cS, type GiftCard as cT, type V1AppliedDiscount as cU, type V1AppliedDiscountDiscountSourceOneOf as cV, AppliedDiscountDiscountType as cW, type V1Coupon as cX, type V1MerchantDiscount as cY, type V1DiscountRule as cZ, type V1DiscountRuleName as c_, type Description as ca, type SecuredMedia as cb, FileType as cc, type ServiceProperties as cd, type CatalogOverrideFields as ce, type PaymentOption as cf, type Policy as cg, type ModifierGroup as ch, type ItemModifier as ci, type V1PlatformFee as cj, PlatformFeeChargeType as ck, type AddressWithContact as cl, type ShippingInfo as cm, type SelectedCarrierServiceOption as cn, type V1DeliveryLogistics as co, type V1PickupDetails as cp, PickupDetailsPickupMethod as cq, type V1DeliveryTimeSlot as cr, type SelectedCarrierServiceOptionPrices as cs, type SelectedCarrierServiceOptionOtherCharge as ct, V1ChargeType as cu, type DeliveryAllocation as cv, type Carrier as cw, type Region as cx, type ApplicableLineItems as cy, type V1ShippingRegion as cz, type DescriptionLineDescriptionLineValueOneOf as d, type V1ItemCombination as d0, type V1ItemCombinationLineItem as d1, type V1TaxSummary as d2, type TaxCalculationDetails as d3, type TaxCalculationDetailsCalculationDetailsOneOf as d4, RateType as d5, ManualCalculationReason as d6, type AutoTaxFallbackCalculationDetails as d7, FallbackReason as d8, type AggregatedTaxBreakdown as d9, type Other as dA, type TargetLineItem as dB, type CustomSettings as dC, type CustomContentReference as dD, type ExternalReference as dE, type SubscriptionCharges as dF, type Charge as dG, type GetPaymentSettingsForCheckoutResponse as dH, V1PaymentOption as dI, type PaymentSettingsSPIConfig as dJ, type Context as dK, IdentityType as dL, type IdentificationData as dM, type IdentificationDataIdOneOf as dN, type GetPaymentSettingsEnvelope as dO, type GetPaymentSettingsForCheckoutEnvelope as dP, type CreatedBy as da, type CreatedByIdOneOf as db, type MembershipOptions as dc, type Membership as dd, type MembershipName as de, type MembershipPaymentCredits as df, BalanceType as dg, type Benefit as dh, type BenefitQuotaOneOf as di, QuotaType as dj, type LimitedQuota as dk, LimitedQuotaType as dl, type InvalidMembership as dm, type SelectedMemberships as dn, type SelectedMembership as dp, type V1AdditionalFee as dq, AdditionalFeeAdditionalFeeSource as dr, type ConversionInfo as ds, type Violation as dt, Severity as du, type Target as dv, type TargetTargetTypeOneOf as dw, NameInOther as dx, NameInLineItem as dy, SuggestedFix as dz, type DescriptionLineName as e, type PlainTextValue as f, type Color as g, DescriptionLineType as h, type PhysicalProperties as i, type Dimensions as j, DimensionsUnit as k, type ItemTypeItemTypeDataOneOf as l, ItemTypePreset as m, PaymentOptionType as n, type ItemTaxFullDetails as o, provideHandlers as p, type LineItemTaxBreakdown as q, type DigitalFile as r, type SubscriptionTitle as s, type SubscriptionDescription as t, type SubscriptionSettings as u, SubscriptionFrequency as v, type FreeTrialPeriod as w, ProductPeriodAlignment as x, type BillingAdjustment as y, type BillingAdjustmentPriceSummary as z };
|
package/build/es/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as provideHandlers$1 } from './interfaces-ecommerce-v1-payment-settings-provider.public-
|
|
2
|
-
export {
|
|
1
|
+
import { p as provideHandlers$1 } from './interfaces-ecommerce-v1-payment-settings-provider.public-BYz8pkm3.mjs';
|
|
2
|
+
export { ax as Activity, ay as ActivityContentOneOf, bp as ActivityType, bA as AdditionalFee, dr as AdditionalFeeAdditionalFeeSource, bB as AdditionalFeeSource, a2 as Address, a4 as AddressLocation, cl as AddressWithContact, A as AdjustmentType, d9 as AggregatedTaxBreakdown, a1 as ApiAddressWithContact, cy as ApplicableLineItems, cL as ApplicationError, al as AppliedDiscount, am as AppliedDiscountDiscountSourceOneOf, cW as AppliedDiscountDiscountType, br as AttributionSource, aZ as AuthorizedPaymentCaptured, aY as AuthorizedPaymentCreated, a_ as AuthorizedPaymentVoided, d7 as AutoTaxFallbackCalculationDetails, by as Balance, bx as BalanceSummary, dg as BalanceType, dh as Benefit, di as BenefitQuotaOneOf, y as BillingAdjustment, z as BillingAdjustmentPriceSummary, B as BillingSettings, cE as BuyerInfo, cF as BuyerInfoIdOneOf, cH as CalculationErrors, cI as CalculationErrorsShippingCalculationErrorOneOf, cw as Carrier, cR as CarrierError, cQ as CarrierErrors, cA as CarrierServiceOption, bz as CashRounding, ce as CatalogOverrideFields, C as CatalogReference, bu as ChannelInfo, bv as ChannelType, dG as Charge, bR as ChargeType, bn as ChargebackCreated, bo as ChargebackReversed, bV as Checkout, g as Color, dK as Context, ds as ConversionInfo, ao as Coupon, da as CreatedBy, db as CreatedByIdOneOf, bc as CreditCardDetails, $ as CurrencyConversionDetails, az as CustomActivity, bJ as CustomAllowedActions, dD as CustomContentReference, bw as CustomField, dC as CustomSettings, cv as DeliveryAllocation, a9 as DeliveryLogistics, aa as DeliveryLogisticsAddressOneOf, ae as DeliveryTimeSlot, ca as Description, D as DescriptionLine, d as DescriptionLineDescriptionLineValueOneOf, e as DescriptionLineName, h as DescriptionLineType, c as DescriptionLineValueOneOf, cJ as Details, cK as DetailsKindOneOf, r as DigitalFile, j as Dimensions, k as DimensionsUnit, ar as DiscountReason, as as DiscountRule, at as DiscountRuleName, an as DiscountType, aF as DraftOrderChangesApplied, N as ExtendedFields, bk as ExternalReceipt, dE as ExternalReference, d8 as FallbackReason, cO as FieldViolation, cc as FileType, F as FocalPoint, bO as FormIdentifier, bN as FormInfo, w as FreeTrialPeriod, Z as FulfillmentStatus, bC as FulfillmentStatusesAggregate, a5 as FullAddressContactDetails, bU as GetPaymentSettingsForCheckoutRequest, dH as GetPaymentSettingsForCheckoutResponse, G as GetPaymentSettingsRequest, bS as GetPaymentSettingsResponse, cT as GiftCard, cS as GiftCardCalculationError, b3 as GiftCardPaymentRefund, c3 as Group, dM as IdentificationData, dN as IdentificationDataIdOneOf, dL as IdentityType, dm as InvalidMembership, c0 as ItemAvailabilityInfo, c1 as ItemAvailabilityStatus, av as ItemCombination, aw as ItemCombinationLineItem, ci as ItemModifier, o as ItemTaxFullDetails, I as ItemType, l as ItemTypeItemTypeDataOneOf, m as ItemTypePreset, J as JurisdictionType, dk as LimitedQuota, dl as LimitedQuotaType, bW as LineItem, aS as LineItemAmount, aI as LineItemChanges, aN as LineItemDescriptionLineChange, au as LineItemDiscount, aE as LineItemExchangeData, aO as LineItemModifiersChange, aL as LineItemPriceChange, aM as LineItemProductNameChange, aJ as LineItemQuantityChange, aK as LineItemQuantityChangeType, q as LineItemTaxBreakdown, L as LineItemTaxInfo, bF as Location, H as LocationAndQuantity, aT as ManagedAdditionalFee, aQ as ManagedDiscount, aP as ManagedLineItem, d6 as ManualCalculationReason, dd as Membership, de as MembershipName, dc as MembershipOptions, df as MembershipPaymentCredits, b4 as MembershipPaymentRefund, aA as MerchantComment, ap as MerchantDiscount, aq as MerchantDiscountMerchantDiscountReasonOneOf, ch as ModifierGroup, bX as MultiCurrencyPrice, dy as NameInLineItem, dx as NameInOther, aD as NewExchangeOrderCreated, O as Order, bK as OrderActionType, bq as OrderActivityTypeEnumActivityType, aG as OrderChange, aH as OrderChangeValueOneOf, aC as OrderCreatedFromExchange, a as OrderLineItem, aB as OrderRefunded, bG as OrderSettings, bH as OrderSettingsAllowedActionsOneOf, bI as OrderSettingsEditableByOneOf, ah as OrderStatus, ak as OrderTaxBreakdown, aj as OrderTaxInfo, dA as Other, cD as OtherCharge, bL as OwnerApps, bd as PaymentCanceled, be as PaymentCanceledPaymentDetailsOneOf, bf as PaymentDeclined, bg as PaymentDeclinedPaymentDetailsOneOf, cf as PaymentOption, n as PaymentOptionType, b8 as PaymentPending, b9 as PaymentPendingPaymentDetailsOneOf, b6 as PaymentRefundFailed, b5 as PaymentRefunded, bT as PaymentSettings, dJ as PaymentSettingsSPIConfig, Y as PaymentStatus, i as PhysicalProperties, ac as PickupAddress, ab as PickupDetails, cq as PickupDetailsPickupMethod, ad as PickupMethod, f as PlainTextValue, bQ as PlatformFee, ck as PlatformFeeChargeType, bP as PlatformFeeSummary, cg as Policy, b as Price, E as PriceDescription, a0 as PriceSummary, P as ProductName, x as ProductPeriodAlignment, dj as QuotaType, d5 as RateType, bh as ReceiptCreated, bi as ReceiptCreatedReceiptInfoOneOf, bl as ReceiptSent, bm as ReceiptSentReceiptInfoOneOf, a$ as RefundInitiated, b7 as RefundedAsStoreCredit, b0 as RefundedPayment, b1 as RefundedPaymentKindOneOf, cx as Region, ba as RegularPayment, bb as RegularPaymentPaymentMethodDetailsOneOf, b2 as RegularPaymentRefund, R as RestockLocation, cN as RuleType, aX as SavedPaymentMethod, c2 as Scope, cb as SecuredMedia, cn as SelectedCarrierServiceOption, ct as SelectedCarrierServiceOptionOtherCharge, cs as SelectedCarrierServiceOptionPrices, dp as SelectedMembership, dn as SelectedMemberships, cd as ServiceProperties, du as Severity, cm as ShippingInfo, aW as ShippingInformation, aV as ShippingInformationChange, cB as ShippingOption, af as ShippingPrice, ag as ShippingRegion, bM as SpecificItemsCouponBehavior, a3 as StreetAddress, dF as SubscriptionCharges, t as SubscriptionDescription, v as SubscriptionFrequency, S as SubscriptionInfo, c4 as SubscriptionOptionInfo, u as SubscriptionSettings, c8 as SubscriptionSettingsProductPeriodAlignment, s as SubscriptionTitle, dz as SuggestedFix, cP as SystemError, bE as TagList, bD as Tags, dv as Target, dB as TargetLineItem, dw as TargetTargetTypeOneOf, b_ as TaxBreakdown, d3 as TaxCalculationDetails, d4 as TaxCalculationDetailsCalculationDetailsOneOf, bZ as TaxRateBreakdown, ai as TaxSummary, T as TaxableAddress, K as TaxableAddressTaxableAddressDataOneOf, M as TaxableAddressType, c9 as Title, aU as TotalPriceChange, Q as TranslatableString, aR as TranslatedValue, dq as V1AdditionalFee, cU as V1AppliedDiscount, cV as V1AppliedDiscountDiscountSourceOneOf, c7 as V1BillingSettings, W as V1BuyerInfo, X as V1BuyerInfoIdOneOf, cu as V1ChargeType, cX as V1Coupon, bs as V1CreatedBy, bt as V1CreatedByStringOneOf, co as V1DeliveryLogistics, cr as V1DeliveryTimeSlot, cZ as V1DiscountRule, c_ as V1DiscountRuleName, c6 as V1FreeTrialPeriod, d0 as V1ItemCombination, d1 as V1ItemCombinationLineItem, U as V1ItemModifier, bY as V1ItemTaxFullDetails, b$ as V1JurisdictionType, c$ as V1LineItemDiscount, cY as V1MerchantDiscount, V as V1ModifierGroup, dI as V1PaymentOption, cp as V1PickupDetails, cj as V1PlatformFee, cG as V1PriceSummary, a8 as V1ShippingInformation, cC as V1ShippingPrice, cz as V1ShippingRegion, c5 as V1SubscriptionSettings, d2 as V1TaxSummary, cM as ValidationError, a6 as VatId, a7 as VatType, dt as Violation, _ as WeightUnit, bj as WixReceipt } from './interfaces-ecommerce-v1-payment-settings-provider.public-BYz8pkm3.mjs';
|
|
3
3
|
import { BuildServicePluginDefinition } from '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
declare const provideHandlers: BuildServicePluginDefinition<typeof provideHandlers$1> & typeof provideHandlers$1;
|
package/build/es/index.mjs
CHANGED
|
@@ -49,6 +49,11 @@ var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
|
|
|
49
49
|
SubscriptionFrequency2["YEAR"] = "YEAR";
|
|
50
50
|
return SubscriptionFrequency2;
|
|
51
51
|
})(SubscriptionFrequency || {});
|
|
52
|
+
var ProductPeriodAlignment = /* @__PURE__ */ ((ProductPeriodAlignment2) => {
|
|
53
|
+
ProductPeriodAlignment2["ALIGNED_WITH_BILLING_PERIOD"] = "ALIGNED_WITH_BILLING_PERIOD";
|
|
54
|
+
ProductPeriodAlignment2["NOT_ALIGNED_WITH_BILLING_PERIOD"] = "NOT_ALIGNED_WITH_BILLING_PERIOD";
|
|
55
|
+
return ProductPeriodAlignment2;
|
|
56
|
+
})(ProductPeriodAlignment || {});
|
|
52
57
|
var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
|
|
53
58
|
AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
|
|
54
59
|
AdjustmentType2["CREDIT"] = "CREDIT";
|
|
@@ -283,6 +288,11 @@ var ItemAvailabilityStatus = /* @__PURE__ */ ((ItemAvailabilityStatus2) => {
|
|
|
283
288
|
ItemAvailabilityStatus2["PARTIALLY_AVAILABLE"] = "PARTIALLY_AVAILABLE";
|
|
284
289
|
return ItemAvailabilityStatus2;
|
|
285
290
|
})(ItemAvailabilityStatus || {});
|
|
291
|
+
var SubscriptionSettingsProductPeriodAlignment = /* @__PURE__ */ ((SubscriptionSettingsProductPeriodAlignment2) => {
|
|
292
|
+
SubscriptionSettingsProductPeriodAlignment2["ALIGNED_WITH_BILLING_PERIOD"] = "ALIGNED_WITH_BILLING_PERIOD";
|
|
293
|
+
SubscriptionSettingsProductPeriodAlignment2["NOT_ALIGNED_WITH_BILLING_PERIOD"] = "NOT_ALIGNED_WITH_BILLING_PERIOD";
|
|
294
|
+
return SubscriptionSettingsProductPeriodAlignment2;
|
|
295
|
+
})(SubscriptionSettingsProductPeriodAlignment || {});
|
|
286
296
|
var FileType = /* @__PURE__ */ ((FileType2) => {
|
|
287
297
|
FileType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
288
298
|
FileType2["SECURE_PICTURE"] = "SECURE_PICTURE";
|
|
@@ -360,6 +370,16 @@ var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
|
360
370
|
BalanceType2["CREDIT"] = "CREDIT";
|
|
361
371
|
return BalanceType2;
|
|
362
372
|
})(BalanceType || {});
|
|
373
|
+
var QuotaType = /* @__PURE__ */ ((QuotaType2) => {
|
|
374
|
+
QuotaType2["LIMITED"] = "LIMITED";
|
|
375
|
+
QuotaType2["UNLIMITED"] = "UNLIMITED";
|
|
376
|
+
return QuotaType2;
|
|
377
|
+
})(QuotaType || {});
|
|
378
|
+
var LimitedQuotaType = /* @__PURE__ */ ((LimitedQuotaType2) => {
|
|
379
|
+
LimitedQuotaType2["PUNCH_CARD"] = "PUNCH_CARD";
|
|
380
|
+
LimitedQuotaType2["CREDIT"] = "CREDIT";
|
|
381
|
+
return LimitedQuotaType2;
|
|
382
|
+
})(LimitedQuotaType || {});
|
|
363
383
|
var AdditionalFeeAdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeAdditionalFeeSource2) => {
|
|
364
384
|
AdditionalFeeAdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
365
385
|
AdditionalFeeAdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
@@ -590,6 +610,7 @@ export {
|
|
|
590
610
|
ItemAvailabilityStatus,
|
|
591
611
|
ItemTypePreset,
|
|
592
612
|
JurisdictionType,
|
|
613
|
+
LimitedQuotaType,
|
|
593
614
|
LineItemQuantityChangeType,
|
|
594
615
|
ManualCalculationReason,
|
|
595
616
|
NameInLineItem,
|
|
@@ -602,11 +623,14 @@ export {
|
|
|
602
623
|
PickupDetailsPickupMethod,
|
|
603
624
|
PickupMethod,
|
|
604
625
|
PlatformFeeChargeType,
|
|
626
|
+
ProductPeriodAlignment,
|
|
627
|
+
QuotaType,
|
|
605
628
|
RateType,
|
|
606
629
|
RuleType,
|
|
607
630
|
Severity,
|
|
608
631
|
SpecificItemsCouponBehavior,
|
|
609
632
|
SubscriptionFrequency,
|
|
633
|
+
SubscriptionSettingsProductPeriodAlignment,
|
|
610
634
|
SuggestedFix,
|
|
611
635
|
TaxableAddressType,
|
|
612
636
|
V1ChargeType,
|