@wix/auto_sdk_ecom_payment-settings 1.0.112 → 1.0.114
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 +0 -14
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +0 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/{interfaces-ecommerce-v1-payment-settings-provider.public-BWCBBWdH.d.ts → interfaces-ecommerce-v1-payment-settings-provider.public-UmuLlV7P.d.ts} +17 -22
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +0 -14
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +0 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/{interfaces-ecommerce-v1-payment-settings-provider.public-BWCBBWdH.d.mts → interfaces-ecommerce-v1-payment-settings-provider.public-UmuLlV7P.d.mts} +17 -22
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +0 -14
- 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 +0 -14
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/{interfaces-ecommerce-v1-payment-settings-provider.public-BWCBBWdH.d.ts → interfaces-ecommerce-v1-payment-settings-provider.public-UmuLlV7P.d.ts} +17 -22
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +0 -14
- 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 +0 -14
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/{interfaces-ecommerce-v1-payment-settings-provider.public-BWCBBWdH.d.mts → interfaces-ecommerce-v1-payment-settings-provider.public-UmuLlV7P.d.mts} +17 -22
- 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. */
|
|
@@ -750,7 +766,6 @@ interface BillingAdjustment {
|
|
|
750
766
|
priceSummary?: BillingAdjustmentPriceSummary;
|
|
751
767
|
}
|
|
752
768
|
declare enum AdjustmentType {
|
|
753
|
-
UNKNOWN_ADJUSTMENT_TYPE = "UNKNOWN_ADJUSTMENT_TYPE",
|
|
754
769
|
/** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
|
|
755
770
|
EXTRA_CHARGE = "EXTRA_CHARGE",
|
|
756
771
|
/** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
|
|
@@ -816,7 +831,6 @@ interface TaxableAddressTaxableAddressDataOneOf {
|
|
|
816
831
|
addressType?: TaxableAddressType;
|
|
817
832
|
}
|
|
818
833
|
declare enum TaxableAddressType {
|
|
819
|
-
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
820
834
|
BUSINESS = "BUSINESS",
|
|
821
835
|
BILLING = "BILLING",
|
|
822
836
|
SHIPPING = "SHIPPING"
|
|
@@ -1236,7 +1250,6 @@ interface PickupAddress {
|
|
|
1236
1250
|
subdivisionFullname?: string | null;
|
|
1237
1251
|
}
|
|
1238
1252
|
declare enum PickupMethod {
|
|
1239
|
-
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
1240
1253
|
STORE_PICKUP = "STORE_PICKUP",
|
|
1241
1254
|
PICKUP_POINT = "PICKUP_POINT"
|
|
1242
1255
|
}
|
|
@@ -2287,10 +2300,6 @@ declare enum ActivityType {
|
|
|
2287
2300
|
CUSTOM_ACTIVITY = "CUSTOM_ACTIVITY",
|
|
2288
2301
|
/** Comment added to the order by a merchant. */
|
|
2289
2302
|
MERCHANT_COMMENT = "MERCHANT_COMMENT",
|
|
2290
|
-
/** Order was created as a result of an exchange. */
|
|
2291
|
-
ORDER_CREATED_FROM_EXCHANGE = "ORDER_CREATED_FROM_EXCHANGE",
|
|
2292
|
-
/** New exchange order was created from this order. */
|
|
2293
|
-
NEW_EXCHANGE_ORDER_CREATED = "NEW_EXCHANGE_ORDER_CREATED",
|
|
2294
2303
|
/** Partial payment was received for the order. */
|
|
2295
2304
|
ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID",
|
|
2296
2305
|
/** Changes were applied to a draft order. */
|
|
@@ -2379,8 +2388,6 @@ declare enum ActivityType {
|
|
|
2379
2388
|
CHARGEBACK_REVERSED = "CHARGEBACK_REVERSED"
|
|
2380
2389
|
}
|
|
2381
2390
|
declare enum OrderActivityTypeEnumActivityType {
|
|
2382
|
-
/** Default value. This value is unused. */
|
|
2383
|
-
UNKNOWN_ACTIVITY_TYPE = "UNKNOWN_ACTIVITY_TYPE",
|
|
2384
2391
|
/** New order was created and placed. */
|
|
2385
2392
|
ORDER_PLACED = "ORDER_PLACED",
|
|
2386
2393
|
/** Order payment was completed and confirmed. */
|
|
@@ -2415,14 +2422,8 @@ declare enum OrderActivityTypeEnumActivityType {
|
|
|
2415
2422
|
EMAIL_EDITED = "EMAIL_EDITED",
|
|
2416
2423
|
/** Email notification for pickup readiness was sent. */
|
|
2417
2424
|
PICKUP_READY_EMAIL_SENT = "PICKUP_READY_EMAIL_SENT",
|
|
2418
|
-
/** Custom activity created by a third-party application. */
|
|
2419
|
-
CUSTOM_ACTIVITY = "CUSTOM_ACTIVITY",
|
|
2420
2425
|
/** Comment added to the order by a merchant. */
|
|
2421
2426
|
MERCHANT_COMMENT = "MERCHANT_COMMENT",
|
|
2422
|
-
/** Order was created as a result of an exchange. */
|
|
2423
|
-
ORDER_CREATED_FROM_EXCHANGE = "ORDER_CREATED_FROM_EXCHANGE",
|
|
2424
|
-
/** New exchange order was created from this order. */
|
|
2425
|
-
NEW_EXCHANGE_ORDER_CREATED = "NEW_EXCHANGE_ORDER_CREATED",
|
|
2426
2427
|
/** Partial payment was received for the order. */
|
|
2427
2428
|
ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID",
|
|
2428
2429
|
/** Changes were applied to a draft order. */
|
|
@@ -2760,7 +2761,6 @@ interface AdditionalFee {
|
|
|
2760
2761
|
lineItemIds?: string[];
|
|
2761
2762
|
}
|
|
2762
2763
|
declare enum AdditionalFeeSource {
|
|
2763
|
-
UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
|
|
2764
2764
|
/** The additional fee was added by an additional fee service plugin. */
|
|
2765
2765
|
SERVICE_PLUGIN = "SERVICE_PLUGIN",
|
|
2766
2766
|
/** The additional fee was added to the item by a catalog or custom line item. */
|
|
@@ -2998,7 +2998,6 @@ interface PlatformFee {
|
|
|
2998
2998
|
percentageRate?: string;
|
|
2999
2999
|
}
|
|
3000
3000
|
declare enum ChargeType {
|
|
3001
|
-
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
3002
3001
|
/**
|
|
3003
3002
|
* Platform fee passed on to buyer.
|
|
3004
3003
|
*
|
|
@@ -3805,7 +3804,6 @@ interface V1PlatformFee {
|
|
|
3805
3804
|
percentageRate?: string;
|
|
3806
3805
|
}
|
|
3807
3806
|
declare enum PlatformFeeChargeType {
|
|
3808
|
-
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
3809
3807
|
/** The platform fee is passed on to the customer. */
|
|
3810
3808
|
PASS_ON = "PASS_ON",
|
|
3811
3809
|
/** The platform fee is absorbed by the merchant. */
|
|
@@ -3908,7 +3906,6 @@ interface V1PickupDetails {
|
|
|
3908
3906
|
pickupMethod?: PickupDetailsPickupMethod;
|
|
3909
3907
|
}
|
|
3910
3908
|
declare enum PickupDetailsPickupMethod {
|
|
3911
|
-
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
3912
3909
|
STORE_PICKUP = "STORE_PICKUP",
|
|
3913
3910
|
PICKUP_POINT = "PICKUP_POINT"
|
|
3914
3911
|
}
|
|
@@ -4742,8 +4739,6 @@ declare enum NameInLineItem {
|
|
|
4742
4739
|
LINE_ITEM_DEFAULT = "LINE_ITEM_DEFAULT"
|
|
4743
4740
|
}
|
|
4744
4741
|
declare enum SuggestedFix {
|
|
4745
|
-
/** No suggested fix is specified. The user should refer to the violation description to resolve the issue. */
|
|
4746
|
-
UNKNOWN_SUGGESTED_FIX = "UNKNOWN_SUGGESTED_FIX",
|
|
4747
4742
|
/** The line item should be removed from the cart or checkout to resolve the violation. */
|
|
4748
4743
|
REMOVE_LINE_ITEM = "REMOVE_LINE_ITEM"
|
|
4749
4744
|
}
|
|
@@ -4983,4 +4978,4 @@ declare const provideHandlers: ServicePluginDefinition<{
|
|
|
4983
4978
|
getPaymentSettingsForCheckout(payload: GetPaymentSettingsForCheckoutEnvelope): GetPaymentSettingsForCheckoutResponse | Promise<GetPaymentSettingsForCheckoutResponse>;
|
|
4984
4979
|
}>;
|
|
4985
4980
|
|
|
4986
|
-
export { type
|
|
4981
|
+
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-UmuLlV7P.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-UmuLlV7P.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
|
@@ -50,13 +50,11 @@ var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
|
|
|
50
50
|
return SubscriptionFrequency2;
|
|
51
51
|
})(SubscriptionFrequency || {});
|
|
52
52
|
var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
|
|
53
|
-
AdjustmentType2["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
|
|
54
53
|
AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
|
|
55
54
|
AdjustmentType2["CREDIT"] = "CREDIT";
|
|
56
55
|
return AdjustmentType2;
|
|
57
56
|
})(AdjustmentType || {});
|
|
58
57
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
59
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
60
58
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
61
59
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
62
60
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
@@ -94,7 +92,6 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
|
94
92
|
return VatType2;
|
|
95
93
|
})(VatType || {});
|
|
96
94
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
97
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
98
95
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
99
96
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
100
97
|
return PickupMethod2;
|
|
@@ -145,8 +142,6 @@ var ActivityType = /* @__PURE__ */ ((ActivityType2) => {
|
|
|
145
142
|
ActivityType2["PICKUP_READY_EMAIL_SENT"] = "PICKUP_READY_EMAIL_SENT";
|
|
146
143
|
ActivityType2["CUSTOM_ACTIVITY"] = "CUSTOM_ACTIVITY";
|
|
147
144
|
ActivityType2["MERCHANT_COMMENT"] = "MERCHANT_COMMENT";
|
|
148
|
-
ActivityType2["ORDER_CREATED_FROM_EXCHANGE"] = "ORDER_CREATED_FROM_EXCHANGE";
|
|
149
|
-
ActivityType2["NEW_EXCHANGE_ORDER_CREATED"] = "NEW_EXCHANGE_ORDER_CREATED";
|
|
150
145
|
ActivityType2["ORDER_PARTIALLY_PAID"] = "ORDER_PARTIALLY_PAID";
|
|
151
146
|
ActivityType2["DRAFT_ORDER_CHANGES_APPLIED"] = "DRAFT_ORDER_CHANGES_APPLIED";
|
|
152
147
|
ActivityType2["SAVED_PAYMENT_METHOD"] = "SAVED_PAYMENT_METHOD";
|
|
@@ -169,7 +164,6 @@ var ActivityType = /* @__PURE__ */ ((ActivityType2) => {
|
|
|
169
164
|
return ActivityType2;
|
|
170
165
|
})(ActivityType || {});
|
|
171
166
|
var OrderActivityTypeEnumActivityType = /* @__PURE__ */ ((OrderActivityTypeEnumActivityType2) => {
|
|
172
|
-
OrderActivityTypeEnumActivityType2["UNKNOWN_ACTIVITY_TYPE"] = "UNKNOWN_ACTIVITY_TYPE";
|
|
173
167
|
OrderActivityTypeEnumActivityType2["ORDER_PLACED"] = "ORDER_PLACED";
|
|
174
168
|
OrderActivityTypeEnumActivityType2["ORDER_PAID"] = "ORDER_PAID";
|
|
175
169
|
OrderActivityTypeEnumActivityType2["ORDER_FULFILLED"] = "ORDER_FULFILLED";
|
|
@@ -187,10 +181,7 @@ var OrderActivityTypeEnumActivityType = /* @__PURE__ */ ((OrderActivityTypeEnumA
|
|
|
187
181
|
OrderActivityTypeEnumActivityType2["SHIPPING_ADDRESS_EDITED"] = "SHIPPING_ADDRESS_EDITED";
|
|
188
182
|
OrderActivityTypeEnumActivityType2["EMAIL_EDITED"] = "EMAIL_EDITED";
|
|
189
183
|
OrderActivityTypeEnumActivityType2["PICKUP_READY_EMAIL_SENT"] = "PICKUP_READY_EMAIL_SENT";
|
|
190
|
-
OrderActivityTypeEnumActivityType2["CUSTOM_ACTIVITY"] = "CUSTOM_ACTIVITY";
|
|
191
184
|
OrderActivityTypeEnumActivityType2["MERCHANT_COMMENT"] = "MERCHANT_COMMENT";
|
|
192
|
-
OrderActivityTypeEnumActivityType2["ORDER_CREATED_FROM_EXCHANGE"] = "ORDER_CREATED_FROM_EXCHANGE";
|
|
193
|
-
OrderActivityTypeEnumActivityType2["NEW_EXCHANGE_ORDER_CREATED"] = "NEW_EXCHANGE_ORDER_CREATED";
|
|
194
185
|
OrderActivityTypeEnumActivityType2["ORDER_PARTIALLY_PAID"] = "ORDER_PARTIALLY_PAID";
|
|
195
186
|
OrderActivityTypeEnumActivityType2["DRAFT_ORDER_CHANGES_APPLIED"] = "DRAFT_ORDER_CHANGES_APPLIED";
|
|
196
187
|
OrderActivityTypeEnumActivityType2["SAVED_PAYMENT_METHOD"] = "SAVED_PAYMENT_METHOD";
|
|
@@ -240,7 +231,6 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
240
231
|
return ChannelType2;
|
|
241
232
|
})(ChannelType || {});
|
|
242
233
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
243
|
-
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
244
234
|
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
245
235
|
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
246
236
|
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|
|
@@ -273,7 +263,6 @@ var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2
|
|
|
273
263
|
return SpecificItemsCouponBehavior2;
|
|
274
264
|
})(SpecificItemsCouponBehavior || {});
|
|
275
265
|
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
276
|
-
ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
277
266
|
ChargeType2["PASS_ON"] = "PASS_ON";
|
|
278
267
|
ChargeType2["ABSORBED"] = "ABSORBED";
|
|
279
268
|
return ChargeType2;
|
|
@@ -305,13 +294,11 @@ var FileType = /* @__PURE__ */ ((FileType2) => {
|
|
|
305
294
|
return FileType2;
|
|
306
295
|
})(FileType || {});
|
|
307
296
|
var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
308
|
-
PlatformFeeChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
309
297
|
PlatformFeeChargeType2["PASS_ON"] = "PASS_ON";
|
|
310
298
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
311
299
|
return PlatformFeeChargeType2;
|
|
312
300
|
})(PlatformFeeChargeType || {});
|
|
313
301
|
var PickupDetailsPickupMethod = /* @__PURE__ */ ((PickupDetailsPickupMethod2) => {
|
|
314
|
-
PickupDetailsPickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
315
302
|
PickupDetailsPickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
316
303
|
PickupDetailsPickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
317
304
|
return PickupDetailsPickupMethod2;
|
|
@@ -396,7 +383,6 @@ var NameInLineItem = /* @__PURE__ */ ((NameInLineItem2) => {
|
|
|
396
383
|
return NameInLineItem2;
|
|
397
384
|
})(NameInLineItem || {});
|
|
398
385
|
var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
|
|
399
|
-
SuggestedFix2["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
|
|
400
386
|
SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
|
|
401
387
|
return SuggestedFix2;
|
|
402
388
|
})(SuggestedFix || {});
|