@wix/auto_sdk_ecom_totals-calculator 1.0.97 → 1.0.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +14 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +76 -5
- package/build/cjs/index.typings.js +14 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +76 -5
- package/build/cjs/meta.js +14 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +6 -10
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +12 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +76 -5
- package/build/es/index.typings.mjs +12 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +76 -5
- package/build/es/meta.mjs +12 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +6 -10
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +14 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +98 -5
- package/build/internal/cjs/index.typings.js +14 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +76 -5
- package/build/internal/cjs/meta.js +14 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +6 -10
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +12 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +98 -5
- package/build/internal/es/index.typings.mjs +12 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +76 -5
- package/build/internal/es/meta.mjs +12 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +6 -10
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { CalculateTotalsOptions, CalculateTotalsResponse } from './index.typings.js';
|
|
3
|
-
export { AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AggregatedTaxBreakdown, ApiV1AdditionalFee, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, CalculateTotalsOptionsCouponOneOf, CalculateTotalsOptionsGiftCardOneOf, CalculateTotalsRequest, CalculateTotalsRequestCouponOneOf, CalculateTotalsRequestGiftCardOneOf, CalculatedItemModifier, CalculatedLineItem, CalculatedPlatformFee, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CarrierShippingOption, CatalogReference, ChargeType, ChargeTypeWithLiterals, Coupon, DataFetchType, DataFetchTypeWithLiterals, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, GiftCard, GiftCardCalculationError, GiftCardInput, Group, InvalidMembership, ItemCombination, ItemCombinationLineItem, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItem, LineItemDiscount, LineItemPricesData, ManualCalculationReason, ManualCalculationReasonWithLiterals, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, ModifierGroup, MultiCurrencyPrice, OtherCharge, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, PriceSummary, RateType, RateTypeWithLiterals, Region, RuleType, RuleTypeWithLiterals, Scope, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, SelectedShippingOption, ServiceProperties, ShippingInformation, ShippingOption, ShippingPrice, ShippingRegion, StreetAddress, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionSettings, SystemError, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxDetails, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, TotalsCalculationEntity, TranslatableString, V1AdditionalFee, V1TaxDetails, ValidationError, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
|
|
3
|
+
export { AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AggregatedTaxBreakdown, ApiV1AdditionalFee, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, Benefit, BenefitQuotaOneOf, CalculateTotalsOptionsCouponOneOf, CalculateTotalsOptionsGiftCardOneOf, CalculateTotalsRequest, CalculateTotalsRequestCouponOneOf, CalculateTotalsRequestGiftCardOneOf, CalculatedItemModifier, CalculatedLineItem, CalculatedPlatformFee, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CarrierShippingOption, CatalogReference, ChargeType, ChargeTypeWithLiterals, Coupon, DataFetchType, DataFetchTypeWithLiterals, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, GiftCard, GiftCardCalculationError, GiftCardInput, Group, InvalidMembership, ItemCombination, ItemCombinationLineItem, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LimitedQuota, LimitedQuotaType, LimitedQuotaTypeWithLiterals, LineItem, LineItemDiscount, LineItemPricesData, ManualCalculationReason, ManualCalculationReasonWithLiterals, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, ModifierGroup, MultiCurrencyPrice, OtherCharge, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, PriceSummary, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, Region, RuleType, RuleTypeWithLiterals, Scope, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, SelectedShippingOption, ServiceProperties, ShippingInformation, ShippingOption, ShippingPrice, ShippingRegion, StreetAddress, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionSettings, SystemError, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxDetails, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, TotalsCalculationEntity, TranslatableString, V1AdditionalFee, V1TaxDetails, ValidationError, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function calculateTotals$1(httpClient: HttpClient): CalculateTotalsSignature;
|
|
6
6
|
interface CalculateTotalsSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -29,10 +29,12 @@ __export(index_exports, {
|
|
|
29
29
|
FallbackReason: () => FallbackReason,
|
|
30
30
|
ItemTypePreset: () => ItemTypePreset,
|
|
31
31
|
JurisdictionType: () => JurisdictionType,
|
|
32
|
+
LimitedQuotaType: () => LimitedQuotaType,
|
|
32
33
|
ManualCalculationReason: () => ManualCalculationReason,
|
|
33
34
|
PaymentOptionType: () => PaymentOptionType,
|
|
34
35
|
PickupMethod: () => PickupMethod,
|
|
35
36
|
PlatformFeeChargeType: () => PlatformFeeChargeType,
|
|
37
|
+
QuotaType: () => QuotaType,
|
|
36
38
|
RateType: () => RateType,
|
|
37
39
|
RuleType: () => RuleType,
|
|
38
40
|
SubscriptionFrequency: () => SubscriptionFrequency,
|
|
@@ -324,6 +326,16 @@ var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
|
324
326
|
BalanceType2["CREDIT"] = "CREDIT";
|
|
325
327
|
return BalanceType2;
|
|
326
328
|
})(BalanceType || {});
|
|
329
|
+
var QuotaType = /* @__PURE__ */ ((QuotaType2) => {
|
|
330
|
+
QuotaType2["LIMITED"] = "LIMITED";
|
|
331
|
+
QuotaType2["UNLIMITED"] = "UNLIMITED";
|
|
332
|
+
return QuotaType2;
|
|
333
|
+
})(QuotaType || {});
|
|
334
|
+
var LimitedQuotaType = /* @__PURE__ */ ((LimitedQuotaType2) => {
|
|
335
|
+
LimitedQuotaType2["PUNCH_CARD"] = "PUNCH_CARD";
|
|
336
|
+
LimitedQuotaType2["CREDIT"] = "CREDIT";
|
|
337
|
+
return LimitedQuotaType2;
|
|
338
|
+
})(LimitedQuotaType || {});
|
|
327
339
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
328
340
|
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
329
341
|
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
@@ -452,10 +464,12 @@ var calculateTotals4 = /* @__PURE__ */ (0, import_rest_modules2.createRESTModule
|
|
|
452
464
|
FallbackReason,
|
|
453
465
|
ItemTypePreset,
|
|
454
466
|
JurisdictionType,
|
|
467
|
+
LimitedQuotaType,
|
|
455
468
|
ManualCalculationReason,
|
|
456
469
|
PaymentOptionType,
|
|
457
470
|
PickupMethod,
|
|
458
471
|
PlatformFeeChargeType,
|
|
472
|
+
QuotaType,
|
|
459
473
|
RateType,
|
|
460
474
|
RuleType,
|
|
461
475
|
SubscriptionFrequency,
|