@wix/auto_sdk_ecom_payment-settings 1.0.111 → 1.0.113
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-CxO4Unqv.d.ts → interfaces-ecommerce-v1-payment-settings-provider.public-CI3duQX5.d.ts} +29 -1
- 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-CxO4Unqv.d.mts → interfaces-ecommerce-v1-payment-settings-provider.public-CI3duQX5.d.mts} +29 -1
- 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-CxO4Unqv.d.ts → interfaces-ecommerce-v1-payment-settings-provider.public-CI3duQX5.d.ts} +29 -1
- 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-CxO4Unqv.d.mts → interfaces-ecommerce-v1-payment-settings-provider.public-CI3duQX5.d.mts} +29 -1
- package/package.json +2 -2
|
@@ -235,6 +235,8 @@ interface OrderLineItem {
|
|
|
235
235
|
refundQuantity?: number | null;
|
|
236
236
|
/**
|
|
237
237
|
* Number of items restocked.
|
|
238
|
+
*
|
|
239
|
+
* For a per-location breakdown, see `restockLocations`.
|
|
238
240
|
* @max 100000
|
|
239
241
|
*/
|
|
240
242
|
restockQuantity?: number | null;
|
|
@@ -523,6 +525,20 @@ declare enum ItemTypePreset {
|
|
|
523
525
|
GIFT_CARD = "GIFT_CARD",
|
|
524
526
|
SERVICE = "SERVICE"
|
|
525
527
|
}
|
|
528
|
+
/** Quantity of items restocked at a specific location. */
|
|
529
|
+
interface RestockLocation {
|
|
530
|
+
/**
|
|
531
|
+
* ID of the location where items were restocked.
|
|
532
|
+
* @format GUID
|
|
533
|
+
*/
|
|
534
|
+
locationId?: string;
|
|
535
|
+
/**
|
|
536
|
+
* Number of items restocked at this location.
|
|
537
|
+
* @min 1
|
|
538
|
+
* @max 100000
|
|
539
|
+
*/
|
|
540
|
+
quantity?: number;
|
|
541
|
+
}
|
|
526
542
|
/** Type of selected payment option for catalog item */
|
|
527
543
|
declare enum PaymentOptionType {
|
|
528
544
|
/** The entire payment for this item happens as part of the checkout. */
|
|
@@ -2701,6 +2717,18 @@ interface Balance {
|
|
|
2701
2717
|
*/
|
|
2702
2718
|
formattedAmount?: string;
|
|
2703
2719
|
}
|
|
2720
|
+
interface CashRounding {
|
|
2721
|
+
/**
|
|
2722
|
+
* Amount, can be negative or positive.
|
|
2723
|
+
* @decimalValue options { gte:-1000000000000000, lte:1000000000000000 }
|
|
2724
|
+
*/
|
|
2725
|
+
amount?: string;
|
|
2726
|
+
/**
|
|
2727
|
+
* Amount formatted with currency symbol.
|
|
2728
|
+
* @readonly
|
|
2729
|
+
*/
|
|
2730
|
+
formattedAmount?: string;
|
|
2731
|
+
}
|
|
2704
2732
|
interface AdditionalFee {
|
|
2705
2733
|
/**
|
|
2706
2734
|
* Additional fee's unique code for future processing.
|
|
@@ -4971,4 +4999,4 @@ declare const provideHandlers: ServicePluginDefinition<{
|
|
|
4971
4999
|
getPaymentSettingsForCheckout(payload: GetPaymentSettingsForCheckoutEnvelope): GetPaymentSettingsForCheckoutResponse | Promise<GetPaymentSettingsForCheckoutResponse>;
|
|
4972
5000
|
}>;
|
|
4973
5001
|
|
|
4974
|
-
export { type
|
|
5002
|
+
export { type ApiAddressWithContact as $, AdjustmentType as A, type BillingAdjustment as B, type CatalogReference as C, type DescriptionLine as D, type TaxableAddressTaxableAddressDataOneOf as E, type FocalPoint as F, type GetPaymentSettingsRequest as G, TaxableAddressType as H, type ItemType as I, JurisdictionType as J, type ExtendedFields as K, type LineItemTaxInfo as L, type TranslatableString as M, type V1ItemModifier as N, type Order as O, type ProductName as P, type V1BuyerInfo as Q, type RestockLocation as R, type SubscriptionInfo as S, type TaxableAddress as T, type V1BuyerInfoIdOneOf as U, type V1ModifierGroup as V, PaymentStatus as W, FulfillmentStatus as X, WeightUnit as Y, type CurrencyConversionDetails as Z, type PriceSummary as _, type OrderLineItem as a, type RefundedPaymentKindOneOf as a$, type Address as a0, type StreetAddress as a1, type AddressLocation as a2, type FullAddressContactDetails as a3, type VatId as a4, VatType as a5, type V1ShippingInformation as a6, type DeliveryLogistics as a7, type DeliveryLogisticsAddressOneOf as a8, type PickupDetails as a9, type OrderCreatedFromExchange as aA, type NewExchangeOrderCreated as aB, type LineItemExchangeData as aC, type DraftOrderChangesApplied as aD, type OrderChange as aE, type OrderChangeValueOneOf as aF, type LineItemChanges as aG, type LineItemQuantityChange as aH, LineItemQuantityChangeType as aI, type LineItemPriceChange as aJ, type LineItemProductNameChange as aK, type LineItemDescriptionLineChange as aL, type LineItemModifiersChange as aM, type ManagedLineItem as aN, type ManagedDiscount as aO, type TranslatedValue as aP, type LineItemAmount as aQ, type ManagedAdditionalFee as aR, type TotalPriceChange as aS, type ShippingInformationChange as aT, type ShippingInformation as aU, type SavedPaymentMethod as aV, type AuthorizedPaymentCreated as aW, type AuthorizedPaymentCaptured as aX, type AuthorizedPaymentVoided as aY, type RefundInitiated as aZ, type RefundedPayment as a_, type PickupAddress as aa, PickupMethod as ab, type DeliveryTimeSlot as ac, type ShippingPrice as ad, type ShippingRegion as ae, OrderStatus as af, type TaxSummary as ag, type OrderTaxInfo as ah, type OrderTaxBreakdown as ai, type AppliedDiscount as aj, type AppliedDiscountDiscountSourceOneOf as ak, DiscountType as al, type Coupon as am, type MerchantDiscount as an, type MerchantDiscountMerchantDiscountReasonOneOf as ao, DiscountReason as ap, type DiscountRule as aq, type DiscountRuleName as ar, type LineItemDiscount as as, type ItemCombination as at, type ItemCombinationLineItem as au, type Activity as av, type ActivityContentOneOf as aw, type CustomActivity as ax, type MerchantComment as ay, type OrderRefunded as az, type Price as b, ItemAvailabilityStatus as b$, type RegularPaymentRefund as b0, type GiftCardPaymentRefund as b1, type MembershipPaymentRefund as b2, type PaymentRefunded as b3, type PaymentRefundFailed as b4, type RefundedAsStoreCredit as b5, type PaymentPending as b6, type PaymentPendingPaymentDetailsOneOf as b7, type RegularPayment as b8, type RegularPaymentPaymentMethodDetailsOneOf as b9, type FulfillmentStatusesAggregate as bA, type Tags as bB, type TagList as bC, type Location as bD, type OrderSettings as bE, type OrderSettingsAllowedActionsOneOf as bF, type OrderSettingsEditableByOneOf as bG, type CustomAllowedActions as bH, OrderActionType as bI, type OwnerApps as bJ, SpecificItemsCouponBehavior as bK, type FormInfo as bL, type FormIdentifier as bM, type PlatformFeeSummary as bN, type PlatformFee as bO, ChargeType as bP, type GetPaymentSettingsResponse as bQ, type PaymentSettings as bR, type GetPaymentSettingsForCheckoutRequest as bS, type Checkout as bT, type LineItem as bU, type MultiCurrencyPrice as bV, type V1ItemTaxFullDetails as bW, type TaxRateBreakdown as bX, type TaxBreakdown as bY, V1JurisdictionType as bZ, type ItemAvailabilityInfo as b_, type CreditCardDetails as ba, type PaymentCanceled as bb, type PaymentCanceledPaymentDetailsOneOf as bc, type PaymentDeclined as bd, type PaymentDeclinedPaymentDetailsOneOf as be, type ReceiptCreated as bf, type ReceiptCreatedReceiptInfoOneOf as bg, type WixReceipt as bh, type ExternalReceipt as bi, type ReceiptSent as bj, type ReceiptSentReceiptInfoOneOf as bk, type ChargebackCreated as bl, type ChargebackReversed as bm, ActivityType as bn, OrderActivityTypeEnumActivityType as bo, AttributionSource as bp, type V1CreatedBy as bq, type V1CreatedByStringOneOf as br, type ChannelInfo as bs, ChannelType as bt, type CustomField as bu, type BalanceSummary as bv, type Balance as bw, type CashRounding as bx, type AdditionalFee as by, AdditionalFeeSource as bz, type DescriptionLineValueOneOf as c, type TaxCalculationDetailsCalculationDetailsOneOf as c$, type Scope as c0, type Group as c1, type SubscriptionOptionInfo as c2, type V1SubscriptionSettings as c3, type V1FreeTrialPeriod as c4, type Title as c5, type Description as c6, type SecuredMedia as c7, FileType as c8, type ServiceProperties as c9, type BuyerInfo as cA, type BuyerInfoIdOneOf as cB, type V1PriceSummary as cC, type CalculationErrors as cD, type CalculationErrorsShippingCalculationErrorOneOf as cE, type Details as cF, type DetailsKindOneOf as cG, type ApplicationError as cH, type ValidationError as cI, RuleType as cJ, type FieldViolation as cK, type SystemError as cL, type CarrierErrors as cM, type CarrierError as cN, type GiftCard as cO, type V1AppliedDiscount as cP, type V1AppliedDiscountDiscountSourceOneOf as cQ, AppliedDiscountDiscountType as cR, type V1Coupon as cS, type V1MerchantDiscount as cT, type V1DiscountRule as cU, type V1DiscountRuleName as cV, type V1LineItemDiscount as cW, type V1ItemCombination as cX, type V1ItemCombinationLineItem as cY, type V1TaxSummary as cZ, type TaxCalculationDetails as c_, type CatalogOverrideFields as ca, type PaymentOption as cb, type Policy as cc, type ModifierGroup as cd, type ItemModifier as ce, type V1PlatformFee as cf, PlatformFeeChargeType as cg, type AddressWithContact as ch, type ShippingInfo as ci, type SelectedCarrierServiceOption as cj, type V1DeliveryLogistics as ck, type V1PickupDetails as cl, PickupDetailsPickupMethod as cm, type V1DeliveryTimeSlot as cn, type SelectedCarrierServiceOptionPrices as co, type SelectedCarrierServiceOptionOtherCharge as cp, V1ChargeType as cq, type DeliveryAllocation as cr, type Carrier as cs, type Region as ct, type ApplicableLineItems as cu, type V1ShippingRegion as cv, type CarrierServiceOption as cw, type ShippingOption as cx, type V1ShippingPrice as cy, type OtherCharge as cz, type DescriptionLineDescriptionLineValueOneOf as d, RateType as d0, ManualCalculationReason as d1, type AutoTaxFallbackCalculationDetails as d2, FallbackReason as d3, type AggregatedTaxBreakdown as d4, type CreatedBy as d5, type CreatedByIdOneOf as d6, type MembershipOptions as d7, type Membership as d8, type MembershipName as d9, type Context as dA, IdentityType as dB, type IdentificationData as dC, type IdentificationDataIdOneOf as dD, type GetPaymentSettingsEnvelope as dE, type GetPaymentSettingsForCheckoutEnvelope as dF, type MembershipPaymentCredits as da, BalanceType as db, type InvalidMembership as dc, type SelectedMemberships as dd, type SelectedMembership as de, type V1AdditionalFee as df, AdditionalFeeAdditionalFeeSource as dg, type ConversionInfo as dh, type Violation as di, Severity as dj, type Target as dk, type TargetTargetTypeOneOf as dl, NameInOther as dm, NameInLineItem as dn, SuggestedFix as dp, type Other as dq, type TargetLineItem as dr, type CustomSettings as ds, type CustomContentReference as dt, type ExternalReference as du, type SubscriptionCharges as dv, type Charge as dw, type GetPaymentSettingsForCheckoutResponse as dx, V1PaymentOption as dy, type PaymentSettingsSPIConfig 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 BillingAdjustmentPriceSummary as x, type PriceDescription as y, type LocationAndQuantity 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-CI3duQX5.mjs';
|
|
2
|
+
export { av as Activity, aw as ActivityContentOneOf, bn as ActivityType, by as AdditionalFee, dg as AdditionalFeeAdditionalFeeSource, bz as AdditionalFeeSource, a0 as Address, a2 as AddressLocation, ch as AddressWithContact, A as AdjustmentType, d4 as AggregatedTaxBreakdown, $ as ApiAddressWithContact, cu as ApplicableLineItems, cH as ApplicationError, aj as AppliedDiscount, ak as AppliedDiscountDiscountSourceOneOf, cR as AppliedDiscountDiscountType, bp as AttributionSource, aX as AuthorizedPaymentCaptured, aW as AuthorizedPaymentCreated, aY as AuthorizedPaymentVoided, d2 as AutoTaxFallbackCalculationDetails, bw as Balance, bv as BalanceSummary, db as BalanceType, B as BillingAdjustment, x as BillingAdjustmentPriceSummary, cA as BuyerInfo, cB as BuyerInfoIdOneOf, cD as CalculationErrors, cE as CalculationErrorsShippingCalculationErrorOneOf, cs as Carrier, cN as CarrierError, cM as CarrierErrors, cw as CarrierServiceOption, bx as CashRounding, ca as CatalogOverrideFields, C as CatalogReference, bs as ChannelInfo, bt as ChannelType, dw as Charge, bP as ChargeType, bl as ChargebackCreated, bm as ChargebackReversed, bT as Checkout, g as Color, dA as Context, dh as ConversionInfo, am as Coupon, d5 as CreatedBy, d6 as CreatedByIdOneOf, ba as CreditCardDetails, Z as CurrencyConversionDetails, ax as CustomActivity, bH as CustomAllowedActions, dt as CustomContentReference, bu as CustomField, ds as CustomSettings, cr as DeliveryAllocation, a7 as DeliveryLogistics, a8 as DeliveryLogisticsAddressOneOf, ac as DeliveryTimeSlot, c6 as Description, D as DescriptionLine, d as DescriptionLineDescriptionLineValueOneOf, e as DescriptionLineName, h as DescriptionLineType, c as DescriptionLineValueOneOf, cF as Details, cG as DetailsKindOneOf, r as DigitalFile, j as Dimensions, k as DimensionsUnit, ap as DiscountReason, aq as DiscountRule, ar as DiscountRuleName, al as DiscountType, aD as DraftOrderChangesApplied, K as ExtendedFields, bi as ExternalReceipt, du as ExternalReference, d3 as FallbackReason, cK as FieldViolation, c8 as FileType, F as FocalPoint, bM as FormIdentifier, bL as FormInfo, w as FreeTrialPeriod, X as FulfillmentStatus, bA as FulfillmentStatusesAggregate, a3 as FullAddressContactDetails, bS as GetPaymentSettingsForCheckoutRequest, dx as GetPaymentSettingsForCheckoutResponse, G as GetPaymentSettingsRequest, bQ as GetPaymentSettingsResponse, cO as GiftCard, b1 as GiftCardPaymentRefund, c1 as Group, dC as IdentificationData, dD as IdentificationDataIdOneOf, dB as IdentityType, dc as InvalidMembership, b_ as ItemAvailabilityInfo, b$ as ItemAvailabilityStatus, at as ItemCombination, au as ItemCombinationLineItem, ce as ItemModifier, o as ItemTaxFullDetails, I as ItemType, l as ItemTypeItemTypeDataOneOf, m as ItemTypePreset, J as JurisdictionType, bU as LineItem, aQ as LineItemAmount, aG as LineItemChanges, aL as LineItemDescriptionLineChange, as as LineItemDiscount, aC as LineItemExchangeData, aM as LineItemModifiersChange, aJ as LineItemPriceChange, aK as LineItemProductNameChange, aH as LineItemQuantityChange, aI as LineItemQuantityChangeType, q as LineItemTaxBreakdown, L as LineItemTaxInfo, bD as Location, z as LocationAndQuantity, aR as ManagedAdditionalFee, aO as ManagedDiscount, aN as ManagedLineItem, d1 as ManualCalculationReason, d8 as Membership, d9 as MembershipName, d7 as MembershipOptions, da as MembershipPaymentCredits, b2 as MembershipPaymentRefund, ay as MerchantComment, an as MerchantDiscount, ao as MerchantDiscountMerchantDiscountReasonOneOf, cd as ModifierGroup, bV as MultiCurrencyPrice, dn as NameInLineItem, dm as NameInOther, aB as NewExchangeOrderCreated, O as Order, bI as OrderActionType, bo as OrderActivityTypeEnumActivityType, aE as OrderChange, aF as OrderChangeValueOneOf, aA as OrderCreatedFromExchange, a as OrderLineItem, az as OrderRefunded, bE as OrderSettings, bF as OrderSettingsAllowedActionsOneOf, bG as OrderSettingsEditableByOneOf, af as OrderStatus, ai as OrderTaxBreakdown, ah as OrderTaxInfo, dq as Other, cz as OtherCharge, bJ as OwnerApps, bb as PaymentCanceled, bc as PaymentCanceledPaymentDetailsOneOf, bd as PaymentDeclined, be as PaymentDeclinedPaymentDetailsOneOf, cb as PaymentOption, n as PaymentOptionType, b6 as PaymentPending, b7 as PaymentPendingPaymentDetailsOneOf, b4 as PaymentRefundFailed, b3 as PaymentRefunded, bR as PaymentSettings, dz as PaymentSettingsSPIConfig, W as PaymentStatus, i as PhysicalProperties, aa as PickupAddress, a9 as PickupDetails, cm as PickupDetailsPickupMethod, ab as PickupMethod, f as PlainTextValue, bO as PlatformFee, cg as PlatformFeeChargeType, bN as PlatformFeeSummary, cc as Policy, b as Price, y as PriceDescription, _ as PriceSummary, P as ProductName, d0 as RateType, bf as ReceiptCreated, bg as ReceiptCreatedReceiptInfoOneOf, bj as ReceiptSent, bk as ReceiptSentReceiptInfoOneOf, aZ as RefundInitiated, b5 as RefundedAsStoreCredit, a_ as RefundedPayment, a$ as RefundedPaymentKindOneOf, ct as Region, b8 as RegularPayment, b9 as RegularPaymentPaymentMethodDetailsOneOf, b0 as RegularPaymentRefund, R as RestockLocation, cJ as RuleType, aV as SavedPaymentMethod, c0 as Scope, c7 as SecuredMedia, cj as SelectedCarrierServiceOption, cp as SelectedCarrierServiceOptionOtherCharge, co as SelectedCarrierServiceOptionPrices, de as SelectedMembership, dd as SelectedMemberships, c9 as ServiceProperties, dj as Severity, ci as ShippingInfo, aU as ShippingInformation, aT as ShippingInformationChange, cx as ShippingOption, ad as ShippingPrice, ae as ShippingRegion, bK as SpecificItemsCouponBehavior, a1 as StreetAddress, dv as SubscriptionCharges, t as SubscriptionDescription, v as SubscriptionFrequency, S as SubscriptionInfo, c2 as SubscriptionOptionInfo, u as SubscriptionSettings, s as SubscriptionTitle, dp as SuggestedFix, cL as SystemError, bC as TagList, bB as Tags, dk as Target, dr as TargetLineItem, dl as TargetTargetTypeOneOf, bY as TaxBreakdown, c_ as TaxCalculationDetails, c$ as TaxCalculationDetailsCalculationDetailsOneOf, bX as TaxRateBreakdown, ag as TaxSummary, T as TaxableAddress, E as TaxableAddressTaxableAddressDataOneOf, H as TaxableAddressType, c5 as Title, aS as TotalPriceChange, M as TranslatableString, aP as TranslatedValue, df as V1AdditionalFee, cP as V1AppliedDiscount, cQ as V1AppliedDiscountDiscountSourceOneOf, Q as V1BuyerInfo, U as V1BuyerInfoIdOneOf, cq as V1ChargeType, cS as V1Coupon, bq as V1CreatedBy, br as V1CreatedByStringOneOf, ck as V1DeliveryLogistics, cn as V1DeliveryTimeSlot, cU as V1DiscountRule, cV as V1DiscountRuleName, c4 as V1FreeTrialPeriod, cX as V1ItemCombination, cY as V1ItemCombinationLineItem, N as V1ItemModifier, bW as V1ItemTaxFullDetails, bZ as V1JurisdictionType, cW as V1LineItemDiscount, cT as V1MerchantDiscount, V as V1ModifierGroup, dy as V1PaymentOption, cl as V1PickupDetails, cf as V1PlatformFee, cC as V1PriceSummary, a6 as V1ShippingInformation, cy as V1ShippingPrice, cv as V1ShippingRegion, c3 as V1SubscriptionSettings, cZ as V1TaxSummary, cI as ValidationError, a4 as VatId, a5 as VatType, di as Violation, Y as WeightUnit, bh as WixReceipt } from './interfaces-ecommerce-v1-payment-settings-provider.public-CI3duQX5.mjs';
|
|
3
3
|
import { BuildServicePluginDefinition } from '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
declare const provideHandlers: BuildServicePluginDefinition<typeof provideHandlers$1> & typeof provideHandlers$1;
|