@wix/auto_sdk_ecom_payment-settings 1.0.115 → 1.0.117
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.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/{interfaces-ecommerce-v1-payment-settings-provider.public-UmuLlV7P.d.ts → interfaces-ecommerce-v1-payment-settings-provider.public-3SsfUUQ-.d.ts} +20 -4
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/{interfaces-ecommerce-v1-payment-settings-provider.public-UmuLlV7P.d.mts → interfaces-ecommerce-v1-payment-settings-provider.public-3SsfUUQ-.d.mts} +20 -4
- package/build/internal/cjs/index.d.ts +2 -2
- 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.map +1 -1
- package/build/internal/cjs/{interfaces-ecommerce-v1-payment-settings-provider.public-UmuLlV7P.d.ts → interfaces-ecommerce-v1-payment-settings-provider.public-3SsfUUQ-.d.ts} +20 -4
- package/build/internal/es/index.d.mts +2 -2
- 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.map +1 -1
- package/build/internal/es/{interfaces-ecommerce-v1-payment-settings-provider.public-UmuLlV7P.d.mts → interfaces-ecommerce-v1-payment-settings-provider.public-3SsfUUQ-.d.mts} +20 -4
- package/package.json +4 -3
|
@@ -724,7 +724,7 @@ interface SubscriptionSettings {
|
|
|
724
724
|
/** Frequency of recurring payment. */
|
|
725
725
|
frequency?: SubscriptionFrequency;
|
|
726
726
|
/**
|
|
727
|
-
*
|
|
727
|
+
* Number of frequency units in a billing cycle. For example, frequency `MONTH` with interval `3` means billing every 3 months.
|
|
728
728
|
* @min 1
|
|
729
729
|
* @max 3650
|
|
730
730
|
*/
|
|
@@ -753,12 +753,20 @@ interface FreeTrialPeriod {
|
|
|
753
753
|
/** Frequency of period. Values: DAY, WEEK, MONTH, YEAR */
|
|
754
754
|
frequency?: SubscriptionFrequency;
|
|
755
755
|
/**
|
|
756
|
-
*
|
|
756
|
+
* Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial.
|
|
757
757
|
* @min 1
|
|
758
758
|
* @max 3650
|
|
759
759
|
*/
|
|
760
760
|
interval?: number;
|
|
761
761
|
}
|
|
762
|
+
interface BillingSettings {
|
|
763
|
+
/**
|
|
764
|
+
* Day of month (1-28) to anchor recurring billing to. When set, billing recurs on this day each cycle. Does not apply to weekly subscriptions.
|
|
765
|
+
* @min 1
|
|
766
|
+
* @max 28
|
|
767
|
+
*/
|
|
768
|
+
anchorDay?: number | null;
|
|
769
|
+
}
|
|
762
770
|
interface BillingAdjustment {
|
|
763
771
|
/** The type of adjustment. */
|
|
764
772
|
type?: AdjustmentType;
|
|
@@ -3617,12 +3625,20 @@ interface V1FreeTrialPeriod {
|
|
|
3617
3625
|
/** Frequency of period. Values: DAY, WEEK, MONTH, YEAR */
|
|
3618
3626
|
frequency?: SubscriptionFrequency;
|
|
3619
3627
|
/**
|
|
3620
|
-
*
|
|
3628
|
+
* Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial.
|
|
3621
3629
|
* @min 1
|
|
3622
3630
|
* @max 999
|
|
3623
3631
|
*/
|
|
3624
3632
|
interval?: number;
|
|
3625
3633
|
}
|
|
3634
|
+
interface V1BillingSettings {
|
|
3635
|
+
/**
|
|
3636
|
+
* Day of month (1-28) to anchor recurring billing to. When set, billing recurs on this day each cycle. Does not apply to weekly subscriptions.
|
|
3637
|
+
* @min 1
|
|
3638
|
+
* @max 28
|
|
3639
|
+
*/
|
|
3640
|
+
anchorDay?: number | null;
|
|
3641
|
+
}
|
|
3626
3642
|
interface Title {
|
|
3627
3643
|
/**
|
|
3628
3644
|
* 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).
|
|
@@ -4978,4 +4994,4 @@ declare const provideHandlers: ServicePluginDefinition<{
|
|
|
4978
4994
|
getPaymentSettingsForCheckout(payload: GetPaymentSettingsForCheckoutEnvelope): GetPaymentSettingsForCheckoutResponse | Promise<GetPaymentSettingsForCheckoutResponse>;
|
|
4979
4995
|
}>;
|
|
4980
4996
|
|
|
4981
|
-
export { type
|
|
4997
|
+
export { type PriceSummary as $, AdjustmentType as A, type BillingSettings as B, type CatalogReference as C, type DescriptionLine as D, type LocationAndQuantity as E, type FocalPoint as F, type GetPaymentSettingsRequest as G, type TaxableAddressTaxableAddressDataOneOf as H, type ItemType as I, JurisdictionType as J, TaxableAddressType as K, type LineItemTaxInfo as L, type ExtendedFields as M, type TranslatableString as N, type Order as O, type ProductName as P, type V1ItemModifier as Q, type RestockLocation as R, type SubscriptionInfo as S, type TaxableAddress as T, type V1BuyerInfo as U, type V1ModifierGroup as V, type V1BuyerInfoIdOneOf as W, PaymentStatus as X, FulfillmentStatus as Y, WeightUnit as Z, type CurrencyConversionDetails as _, type OrderLineItem as a, type RefundedPayment as a$, type ApiAddressWithContact as a0, type Address as a1, type StreetAddress as a2, type AddressLocation as a3, type FullAddressContactDetails as a4, type VatId as a5, VatType as a6, type V1ShippingInformation as a7, type DeliveryLogistics as a8, type DeliveryLogisticsAddressOneOf as a9, type OrderRefunded as aA, type OrderCreatedFromExchange as aB, type NewExchangeOrderCreated as aC, type LineItemExchangeData as aD, type DraftOrderChangesApplied as aE, type OrderChange as aF, type OrderChangeValueOneOf as aG, type LineItemChanges as aH, type LineItemQuantityChange as aI, LineItemQuantityChangeType as aJ, type LineItemPriceChange as aK, type LineItemProductNameChange as aL, type LineItemDescriptionLineChange as aM, type LineItemModifiersChange as aN, type ManagedLineItem as aO, type ManagedDiscount as aP, type TranslatedValue as aQ, type LineItemAmount as aR, type ManagedAdditionalFee as aS, type TotalPriceChange as aT, type ShippingInformationChange as aU, type ShippingInformation as aV, type SavedPaymentMethod as aW, type AuthorizedPaymentCreated as aX, type AuthorizedPaymentCaptured as aY, type AuthorizedPaymentVoided as aZ, type RefundInitiated as a_, type PickupDetails as aa, type PickupAddress as ab, PickupMethod as ac, type DeliveryTimeSlot as ad, type ShippingPrice as ae, type ShippingRegion as af, OrderStatus as ag, type TaxSummary as ah, type OrderTaxInfo as ai, type OrderTaxBreakdown as aj, type AppliedDiscount as ak, type AppliedDiscountDiscountSourceOneOf as al, DiscountType as am, type Coupon as an, type MerchantDiscount as ao, type MerchantDiscountMerchantDiscountReasonOneOf as ap, DiscountReason as aq, type DiscountRule as ar, type DiscountRuleName as as, type LineItemDiscount as at, type ItemCombination as au, type ItemCombinationLineItem as av, type Activity as aw, type ActivityContentOneOf as ax, type CustomActivity as ay, type MerchantComment as az, type Price as b, type ItemAvailabilityInfo as b$, type RefundedPaymentKindOneOf as b0, type RegularPaymentRefund as b1, type GiftCardPaymentRefund as b2, type MembershipPaymentRefund as b3, type PaymentRefunded as b4, type PaymentRefundFailed as b5, type RefundedAsStoreCredit as b6, type PaymentPending as b7, type PaymentPendingPaymentDetailsOneOf as b8, type RegularPayment as b9, AdditionalFeeSource as bA, type FulfillmentStatusesAggregate as bB, type Tags as bC, type TagList as bD, type Location as bE, type OrderSettings as bF, type OrderSettingsAllowedActionsOneOf as bG, type OrderSettingsEditableByOneOf as bH, type CustomAllowedActions as bI, OrderActionType as bJ, type OwnerApps as bK, SpecificItemsCouponBehavior as bL, type FormInfo as bM, type FormIdentifier as bN, type PlatformFeeSummary as bO, type PlatformFee as bP, ChargeType as bQ, type GetPaymentSettingsResponse as bR, type PaymentSettings as bS, type GetPaymentSettingsForCheckoutRequest as bT, type Checkout as bU, type LineItem as bV, type MultiCurrencyPrice as bW, type V1ItemTaxFullDetails as bX, type TaxRateBreakdown as bY, type TaxBreakdown as bZ, V1JurisdictionType as b_, type RegularPaymentPaymentMethodDetailsOneOf as ba, type CreditCardDetails as bb, type PaymentCanceled as bc, type PaymentCanceledPaymentDetailsOneOf as bd, type PaymentDeclined as be, type PaymentDeclinedPaymentDetailsOneOf as bf, type ReceiptCreated as bg, type ReceiptCreatedReceiptInfoOneOf as bh, type WixReceipt as bi, type ExternalReceipt as bj, type ReceiptSent as bk, type ReceiptSentReceiptInfoOneOf as bl, type ChargebackCreated as bm, type ChargebackReversed as bn, ActivityType as bo, OrderActivityTypeEnumActivityType as bp, AttributionSource as bq, type V1CreatedBy as br, type V1CreatedByStringOneOf as bs, type ChannelInfo as bt, ChannelType as bu, type CustomField as bv, type BalanceSummary as bw, type Balance as bx, type CashRounding as by, type AdditionalFee as bz, type DescriptionLineValueOneOf as c, type V1TaxSummary as c$, ItemAvailabilityStatus as c0, type Scope as c1, type Group as c2, type SubscriptionOptionInfo as c3, type V1SubscriptionSettings as c4, type V1FreeTrialPeriod as c5, type V1BillingSettings as c6, type Title as c7, type Description as c8, type SecuredMedia as c9, type V1ShippingPrice as cA, type OtherCharge as cB, type BuyerInfo as cC, type BuyerInfoIdOneOf as cD, type V1PriceSummary as cE, type CalculationErrors as cF, type CalculationErrorsShippingCalculationErrorOneOf as cG, type Details as cH, type DetailsKindOneOf as cI, type ApplicationError as cJ, type ValidationError as cK, RuleType as cL, type FieldViolation as cM, type SystemError as cN, type CarrierErrors as cO, type CarrierError as cP, type GiftCard as cQ, type V1AppliedDiscount as cR, type V1AppliedDiscountDiscountSourceOneOf as cS, AppliedDiscountDiscountType as cT, type V1Coupon as cU, type V1MerchantDiscount as cV, type V1DiscountRule as cW, type V1DiscountRuleName as cX, type V1LineItemDiscount as cY, type V1ItemCombination as cZ, type V1ItemCombinationLineItem as c_, FileType as ca, type ServiceProperties as cb, type CatalogOverrideFields as cc, type PaymentOption as cd, type Policy as ce, type ModifierGroup as cf, type ItemModifier as cg, type V1PlatformFee as ch, PlatformFeeChargeType as ci, type AddressWithContact as cj, type ShippingInfo as ck, type SelectedCarrierServiceOption as cl, type V1DeliveryLogistics as cm, type V1PickupDetails as cn, PickupDetailsPickupMethod as co, type V1DeliveryTimeSlot as cp, type SelectedCarrierServiceOptionPrices as cq, type SelectedCarrierServiceOptionOtherCharge as cr, V1ChargeType as cs, type DeliveryAllocation as ct, type Carrier as cu, type Region as cv, type ApplicableLineItems as cw, type V1ShippingRegion as cx, type CarrierServiceOption as cy, type ShippingOption as cz, type DescriptionLineDescriptionLineValueOneOf as d, type TaxCalculationDetails as d0, type TaxCalculationDetailsCalculationDetailsOneOf as d1, RateType as d2, ManualCalculationReason as d3, type AutoTaxFallbackCalculationDetails as d4, FallbackReason as d5, type AggregatedTaxBreakdown as d6, type CreatedBy as d7, type CreatedByIdOneOf as d8, type MembershipOptions as d9, V1PaymentOption as dA, type PaymentSettingsSPIConfig as dB, type Context as dC, IdentityType as dD, type IdentificationData as dE, type IdentificationDataIdOneOf as dF, type GetPaymentSettingsEnvelope as dG, type GetPaymentSettingsForCheckoutEnvelope as dH, type Membership as da, type MembershipName as db, type MembershipPaymentCredits as dc, BalanceType as dd, type InvalidMembership as de, type SelectedMemberships as df, type SelectedMembership as dg, type V1AdditionalFee as dh, AdditionalFeeAdditionalFeeSource as di, type ConversionInfo as dj, type Violation as dk, Severity as dl, type Target as dm, type TargetTargetTypeOneOf as dn, NameInOther as dp, NameInLineItem as dq, SuggestedFix as dr, type Other as ds, type TargetLineItem as dt, type CustomSettings as du, type CustomContentReference as dv, type ExternalReference as dw, type SubscriptionCharges as dx, type Charge as dy, type GetPaymentSettingsForCheckoutResponse 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, type BillingAdjustment as x, type BillingAdjustmentPriceSummary as y, type PriceDescription 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-3SsfUUQ-.mjs';
|
|
2
|
+
export { aw as Activity, ax as ActivityContentOneOf, bo as ActivityType, bz as AdditionalFee, di as AdditionalFeeAdditionalFeeSource, bA as AdditionalFeeSource, a1 as Address, a3 as AddressLocation, cj as AddressWithContact, A as AdjustmentType, d6 as AggregatedTaxBreakdown, a0 as ApiAddressWithContact, cw as ApplicableLineItems, cJ as ApplicationError, ak as AppliedDiscount, al as AppliedDiscountDiscountSourceOneOf, cT as AppliedDiscountDiscountType, bq as AttributionSource, aY as AuthorizedPaymentCaptured, aX as AuthorizedPaymentCreated, aZ as AuthorizedPaymentVoided, d4 as AutoTaxFallbackCalculationDetails, bx as Balance, bw as BalanceSummary, dd as BalanceType, x as BillingAdjustment, y as BillingAdjustmentPriceSummary, B as BillingSettings, cC as BuyerInfo, cD as BuyerInfoIdOneOf, cF as CalculationErrors, cG as CalculationErrorsShippingCalculationErrorOneOf, cu as Carrier, cP as CarrierError, cO as CarrierErrors, cy as CarrierServiceOption, by as CashRounding, cc as CatalogOverrideFields, C as CatalogReference, bt as ChannelInfo, bu as ChannelType, dy as Charge, bQ as ChargeType, bm as ChargebackCreated, bn as ChargebackReversed, bU as Checkout, g as Color, dC as Context, dj as ConversionInfo, an as Coupon, d7 as CreatedBy, d8 as CreatedByIdOneOf, bb as CreditCardDetails, _ as CurrencyConversionDetails, ay as CustomActivity, bI as CustomAllowedActions, dv as CustomContentReference, bv as CustomField, du as CustomSettings, ct as DeliveryAllocation, a8 as DeliveryLogistics, a9 as DeliveryLogisticsAddressOneOf, ad as DeliveryTimeSlot, c8 as Description, D as DescriptionLine, d as DescriptionLineDescriptionLineValueOneOf, e as DescriptionLineName, h as DescriptionLineType, c as DescriptionLineValueOneOf, cH as Details, cI as DetailsKindOneOf, r as DigitalFile, j as Dimensions, k as DimensionsUnit, aq as DiscountReason, ar as DiscountRule, as as DiscountRuleName, am as DiscountType, aE as DraftOrderChangesApplied, M as ExtendedFields, bj as ExternalReceipt, dw as ExternalReference, d5 as FallbackReason, cM as FieldViolation, ca as FileType, F as FocalPoint, bN as FormIdentifier, bM as FormInfo, w as FreeTrialPeriod, Y as FulfillmentStatus, bB as FulfillmentStatusesAggregate, a4 as FullAddressContactDetails, bT as GetPaymentSettingsForCheckoutRequest, dz as GetPaymentSettingsForCheckoutResponse, G as GetPaymentSettingsRequest, bR as GetPaymentSettingsResponse, cQ as GiftCard, b2 as GiftCardPaymentRefund, c2 as Group, dE as IdentificationData, dF as IdentificationDataIdOneOf, dD as IdentityType, de as InvalidMembership, b$ as ItemAvailabilityInfo, c0 as ItemAvailabilityStatus, au as ItemCombination, av as ItemCombinationLineItem, cg as ItemModifier, o as ItemTaxFullDetails, I as ItemType, l as ItemTypeItemTypeDataOneOf, m as ItemTypePreset, J as JurisdictionType, bV as LineItem, aR as LineItemAmount, aH as LineItemChanges, aM as LineItemDescriptionLineChange, at as LineItemDiscount, aD as LineItemExchangeData, aN as LineItemModifiersChange, aK as LineItemPriceChange, aL as LineItemProductNameChange, aI as LineItemQuantityChange, aJ as LineItemQuantityChangeType, q as LineItemTaxBreakdown, L as LineItemTaxInfo, bE as Location, E as LocationAndQuantity, aS as ManagedAdditionalFee, aP as ManagedDiscount, aO as ManagedLineItem, d3 as ManualCalculationReason, da as Membership, db as MembershipName, d9 as MembershipOptions, dc as MembershipPaymentCredits, b3 as MembershipPaymentRefund, az as MerchantComment, ao as MerchantDiscount, ap as MerchantDiscountMerchantDiscountReasonOneOf, cf as ModifierGroup, bW as MultiCurrencyPrice, dq as NameInLineItem, dp as NameInOther, aC as NewExchangeOrderCreated, O as Order, bJ as OrderActionType, bp as OrderActivityTypeEnumActivityType, aF as OrderChange, aG as OrderChangeValueOneOf, aB as OrderCreatedFromExchange, a as OrderLineItem, aA as OrderRefunded, bF as OrderSettings, bG as OrderSettingsAllowedActionsOneOf, bH as OrderSettingsEditableByOneOf, ag as OrderStatus, aj as OrderTaxBreakdown, ai as OrderTaxInfo, ds as Other, cB as OtherCharge, bK as OwnerApps, bc as PaymentCanceled, bd as PaymentCanceledPaymentDetailsOneOf, be as PaymentDeclined, bf as PaymentDeclinedPaymentDetailsOneOf, cd as PaymentOption, n as PaymentOptionType, b7 as PaymentPending, b8 as PaymentPendingPaymentDetailsOneOf, b5 as PaymentRefundFailed, b4 as PaymentRefunded, bS as PaymentSettings, dB as PaymentSettingsSPIConfig, X as PaymentStatus, i as PhysicalProperties, ab as PickupAddress, aa as PickupDetails, co as PickupDetailsPickupMethod, ac as PickupMethod, f as PlainTextValue, bP as PlatformFee, ci as PlatformFeeChargeType, bO as PlatformFeeSummary, ce as Policy, b as Price, z as PriceDescription, $ as PriceSummary, P as ProductName, d2 as RateType, bg as ReceiptCreated, bh as ReceiptCreatedReceiptInfoOneOf, bk as ReceiptSent, bl as ReceiptSentReceiptInfoOneOf, a_ as RefundInitiated, b6 as RefundedAsStoreCredit, a$ as RefundedPayment, b0 as RefundedPaymentKindOneOf, cv as Region, b9 as RegularPayment, ba as RegularPaymentPaymentMethodDetailsOneOf, b1 as RegularPaymentRefund, R as RestockLocation, cL as RuleType, aW as SavedPaymentMethod, c1 as Scope, c9 as SecuredMedia, cl as SelectedCarrierServiceOption, cr as SelectedCarrierServiceOptionOtherCharge, cq as SelectedCarrierServiceOptionPrices, dg as SelectedMembership, df as SelectedMemberships, cb as ServiceProperties, dl as Severity, ck as ShippingInfo, aV as ShippingInformation, aU as ShippingInformationChange, cz as ShippingOption, ae as ShippingPrice, af as ShippingRegion, bL as SpecificItemsCouponBehavior, a2 as StreetAddress, dx as SubscriptionCharges, t as SubscriptionDescription, v as SubscriptionFrequency, S as SubscriptionInfo, c3 as SubscriptionOptionInfo, u as SubscriptionSettings, s as SubscriptionTitle, dr as SuggestedFix, cN as SystemError, bD as TagList, bC as Tags, dm as Target, dt as TargetLineItem, dn as TargetTargetTypeOneOf, bZ as TaxBreakdown, d0 as TaxCalculationDetails, d1 as TaxCalculationDetailsCalculationDetailsOneOf, bY as TaxRateBreakdown, ah as TaxSummary, T as TaxableAddress, H as TaxableAddressTaxableAddressDataOneOf, K as TaxableAddressType, c7 as Title, aT as TotalPriceChange, N as TranslatableString, aQ as TranslatedValue, dh as V1AdditionalFee, cR as V1AppliedDiscount, cS as V1AppliedDiscountDiscountSourceOneOf, c6 as V1BillingSettings, U as V1BuyerInfo, W as V1BuyerInfoIdOneOf, cs as V1ChargeType, cU as V1Coupon, br as V1CreatedBy, bs as V1CreatedByStringOneOf, cm as V1DeliveryLogistics, cp as V1DeliveryTimeSlot, cW as V1DiscountRule, cX as V1DiscountRuleName, c5 as V1FreeTrialPeriod, cZ as V1ItemCombination, c_ as V1ItemCombinationLineItem, Q as V1ItemModifier, bX as V1ItemTaxFullDetails, b_ as V1JurisdictionType, cY as V1LineItemDiscount, cV as V1MerchantDiscount, V as V1ModifierGroup, dA as V1PaymentOption, cn as V1PickupDetails, ch as V1PlatformFee, cE as V1PriceSummary, a7 as V1ShippingInformation, cA as V1ShippingPrice, cx as V1ShippingRegion, c4 as V1SubscriptionSettings, c$ as V1TaxSummary, cK as ValidationError, a5 as VatId, a6 as VatType, dk as Violation, Z as WeightUnit, bi as WixReceipt } from './interfaces-ecommerce-v1-payment-settings-provider.public-3SsfUUQ-.mjs';
|
|
3
3
|
import { BuildServicePluginDefinition } from '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
declare const provideHandlers: BuildServicePluginDefinition<typeof provideHandlers$1> & typeof provideHandlers$1;
|