@wix/auto_sdk_ecom_cart 1.0.159 → 1.0.161
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 +88 -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 +88 -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
|
@@ -2367,18 +2367,33 @@ interface Membership {
|
|
|
2367
2367
|
/** The name of this membership. */
|
|
2368
2368
|
name?: MembershipName;
|
|
2369
2369
|
/**
|
|
2370
|
-
*
|
|
2370
|
+
* Deprecated. Use the response-level `coverages` (`LineItemCoverage`) to see which line items each benefit covers.
|
|
2371
2371
|
* @minSize 1
|
|
2372
2372
|
* @maxSize 300
|
|
2373
2373
|
* @minLength 1
|
|
2374
2374
|
* @maxLength 100
|
|
2375
2375
|
*/
|
|
2376
2376
|
lineItemIds?: string[];
|
|
2377
|
-
/**
|
|
2377
|
+
/**
|
|
2378
|
+
* Deprecated. Use `benefits`.
|
|
2379
|
+
* @deprecated
|
|
2380
|
+
* @replacedBy benefits
|
|
2381
|
+
* @targetRemovalDate 2026-07-30
|
|
2382
|
+
*/
|
|
2378
2383
|
credits?: MembershipPaymentCredits;
|
|
2379
|
-
/**
|
|
2384
|
+
/**
|
|
2385
|
+
* Deprecated. Use `offering_description`.
|
|
2386
|
+
* @deprecated
|
|
2387
|
+
* @replacedBy offering_description
|
|
2388
|
+
* @targetRemovalDate 2026-07-30
|
|
2389
|
+
*/
|
|
2380
2390
|
expirationDate?: Date | null;
|
|
2381
|
-
/**
|
|
2391
|
+
/**
|
|
2392
|
+
* Deprecated. Use `benefits.additional_data`.
|
|
2393
|
+
* @deprecated
|
|
2394
|
+
* @replacedBy benefits
|
|
2395
|
+
* @targetRemovalDate 2026-07-30
|
|
2396
|
+
*/
|
|
2382
2397
|
additionalData?: Record<string, any> | null;
|
|
2383
2398
|
}
|
|
2384
2399
|
interface MembershipName {
|
|
@@ -2410,6 +2425,62 @@ declare enum BalanceType {
|
|
|
2410
2425
|
}
|
|
2411
2426
|
/** @enumType */
|
|
2412
2427
|
type BalanceTypeWithLiterals = BalanceType | 'PUNCH_CARD' | 'CREDIT';
|
|
2428
|
+
/**
|
|
2429
|
+
* A single redeemable benefit granted by a membership or a purchasable plan.
|
|
2430
|
+
* Used by the per-benefit redemption flow (`ListExistingMemberships`, `ListPurchasablePlans`, `EnhanceAndValidateSelection`).
|
|
2431
|
+
*/
|
|
2432
|
+
interface Benefit extends BenefitQuotaOneOf {
|
|
2433
|
+
limitedQuota?: LimitedQuota;
|
|
2434
|
+
/**
|
|
2435
|
+
* Identifier for this benefit. Must be unique within the response so the response-level `coverages`
|
|
2436
|
+
* (`LineItemCoverage.benefit_id`) can reference it unambiguously across memberships/plans.
|
|
2437
|
+
* @minLength 1
|
|
2438
|
+
* @maxLength 200
|
|
2439
|
+
*/
|
|
2440
|
+
benefitId?: string;
|
|
2441
|
+
/**
|
|
2442
|
+
* Human-readable label for this benefit (for example, "Manicure" or "Pedicure" on multi-set punchcards).
|
|
2443
|
+
* @maxLength 200
|
|
2444
|
+
*/
|
|
2445
|
+
label?: string | null;
|
|
2446
|
+
/**
|
|
2447
|
+
* The kind of quota this benefit grants: a countable amount drawn down on redemption (`LIMITED`),
|
|
2448
|
+
* or an unbounded amount that is never drawn down (`UNLIMITED`).
|
|
2449
|
+
*/
|
|
2450
|
+
quotaType?: QuotaTypeWithLiterals;
|
|
2451
|
+
}
|
|
2452
|
+
/** @oneof */
|
|
2453
|
+
interface BenefitQuotaOneOf {
|
|
2454
|
+
limitedQuota?: LimitedQuota;
|
|
2455
|
+
}
|
|
2456
|
+
declare enum QuotaType {
|
|
2457
|
+
/** The benefit grants a countable quota that is drawn down on redemption. */
|
|
2458
|
+
LIMITED = "LIMITED",
|
|
2459
|
+
/** The benefit is unlimited (unbounded) and is never drawn down. */
|
|
2460
|
+
UNLIMITED = "UNLIMITED"
|
|
2461
|
+
}
|
|
2462
|
+
/** @enumType */
|
|
2463
|
+
type QuotaTypeWithLiterals = QuotaType | 'LIMITED' | 'UNLIMITED';
|
|
2464
|
+
/** A limited, countable redeemable amount. */
|
|
2465
|
+
interface LimitedQuota {
|
|
2466
|
+
/**
|
|
2467
|
+
* The quota's initial value.
|
|
2468
|
+
* @min 1
|
|
2469
|
+
*/
|
|
2470
|
+
total?: number;
|
|
2471
|
+
/** The quota's remaining value. */
|
|
2472
|
+
remaining?: number;
|
|
2473
|
+
/** How the quota is measured. */
|
|
2474
|
+
limitedQuotaType?: LimitedQuotaTypeWithLiterals;
|
|
2475
|
+
}
|
|
2476
|
+
declare enum LimitedQuotaType {
|
|
2477
|
+
/** Quota is measured in discrete uses (e.g., sessions, visits). */
|
|
2478
|
+
PUNCH_CARD = "PUNCH_CARD",
|
|
2479
|
+
/** Quota is measured in a currency-like value (e.g., points). */
|
|
2480
|
+
CREDIT = "CREDIT"
|
|
2481
|
+
}
|
|
2482
|
+
/** @enumType */
|
|
2483
|
+
type LimitedQuotaTypeWithLiterals = LimitedQuotaType | 'PUNCH_CARD' | 'CREDIT';
|
|
2413
2484
|
interface InvalidMembership {
|
|
2414
2485
|
/** Membership details. */
|
|
2415
2486
|
membership?: Membership;
|
|
@@ -3620,4 +3691,4 @@ declare function deleteCart(_id: string): Promise<void>;
|
|
|
3620
3691
|
*/
|
|
3621
3692
|
declare function removeBusinessLocation(_id: string): Promise<NonNullablePaths<RemoveBusinessLocationResponse, `cart.lineItems` | `cart.lineItems.${number}.quantity` | `cart.lineItems.${number}.catalogReference.catalogItemId` | `cart.lineItems.${number}.catalogReference.appId` | `cart.lineItems.${number}.productName.original` | `cart.lineItems.${number}.price.amount` | `cart.lineItems.${number}.price.convertedAmount` | `cart.lineItems.${number}.price.formattedAmount` | `cart.lineItems.${number}.price.formattedConvertedAmount` | `cart.lineItems.${number}.availability.status` | `cart.lineItems.${number}.physicalProperties.shippable` | `cart.lineItems.${number}.itemType.preset` | `cart.lineItems.${number}.itemType.custom` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `cart.lineItems.${number}.subscriptionOptionInfo.title.original` | `cart.lineItems.${number}.subscriptionOptionInfo.description.original` | `cart.lineItems.${number}.paymentOption` | `cart.lineItems.${number}.priceDescription.original` | `cart.lineItems.${number}.selectedMembership._id` | `cart.lineItems.${number}.selectedMembership.appId` | `cart.lineItems.${number}.customLineItem` | `cart.lineItems.${number}.priceUndetermined` | `cart.lineItems.${number}.fixedQuantity` | `cart.lineItems.${number}.catalogOverrideFields.paymentOption.value` | `cart.lineItems.${number}.savePaymentMethod` | `cart.lineItems.${number}.taxableAddress.addressType` | `cart.lineItems.${number}.membersOnly` | `cart.buyerInfo.visitorId` | `cart.buyerInfo.memberId` | `cart.buyerInfo.userId` | `cart.currency` | `cart.conversionCurrency` | `cart.weightUnit` | `cart.appliedDiscounts` | `cart.appliedDiscounts.${number}.coupon._id` | `cart.appliedDiscounts.${number}.coupon.code` | `cart.contactInfo.address.streetAddress.number` | `cart.contactInfo.address.streetAddress.name` | `cart.contactInfo.contactDetails.vatId._id` | `cart.contactInfo.contactDetails.vatId.type` | `cart.selectedShippingOption.code` | `cart.paymentCurrency`, 7>>;
|
|
3622
3693
|
|
|
3623
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCartApplicationErrors, type AddToCartOptions, type AddToCartRequest, type AddToCartResponse, type AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedItemModifier, type CalculatedLineItem, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartCreatedEnvelope, type CartDeletedEnvelope, type CartDiscount, type CartDiscountDiscountSourceOneOf, type CartUpdatedEnvelope, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type Coupon, type CreateCartApplicationErrors, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, type CreateCheckoutApplicationErrors, type CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CustomLineItem, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest, type EstimateTotalsOptions, type EstimateTotalsRequest, type EstimateTotalsResponse, type EventMetadata, type ExtendedFields, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse, type GetCartRequest, type GetCartResponse, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardCalculationError, type Group, type HostSelectedMembership, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemDiscount, type LineItemPricesData, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, RateType, type RateTypeWithLiterals, type Region, type RemoveBusinessLocationRequest, type RemoveBusinessLocationResponse, type RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type SelectedShippingOption, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCartApplicationErrors, type UpdateCartOptions, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type V1Coupon, type V1DiscountRule, type V1DiscountRuleName, type V1ItemModifier, type V1MerchantDiscount, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCart, createCart, createCheckout, deleteCart, estimateTotals, getCart, onCartCreated, onCartDeleted, onCartUpdated, removeBusinessLocation, removeCoupon, removeLineItems, updateCart, updateLineItemsQuantity };
|
|
3694
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCartApplicationErrors, type AddToCartOptions, type AddToCartRequest, type AddToCartResponse, type AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type Benefit, type BenefitQuotaOneOf, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedItemModifier, type CalculatedLineItem, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartCreatedEnvelope, type CartDeletedEnvelope, type CartDiscount, type CartDiscountDiscountSourceOneOf, type CartUpdatedEnvelope, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type Coupon, type CreateCartApplicationErrors, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, type CreateCheckoutApplicationErrors, type CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CustomLineItem, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest, type EstimateTotalsOptions, type EstimateTotalsRequest, type EstimateTotalsResponse, type EventMetadata, type ExtendedFields, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse, type GetCartRequest, type GetCartResponse, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardCalculationError, type Group, type HostSelectedMembership, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LimitedQuota, LimitedQuotaType, type LimitedQuotaTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemDiscount, type LineItemPricesData, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, QuotaType, type QuotaTypeWithLiterals, RateType, type RateTypeWithLiterals, type Region, type RemoveBusinessLocationRequest, type RemoveBusinessLocationResponse, type RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type SelectedShippingOption, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCartApplicationErrors, type UpdateCartOptions, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type V1Coupon, type V1DiscountRule, type V1DiscountRuleName, type V1ItemModifier, type V1MerchantDiscount, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCart, createCart, createCheckout, deleteCart, estimateTotals, getCart, onCartCreated, onCartDeleted, onCartUpdated, removeBusinessLocation, removeCoupon, removeLineItems, updateCart, updateLineItemsQuantity };
|
|
@@ -33,6 +33,7 @@ __export(index_typings_exports, {
|
|
|
33
33
|
ItemAvailabilityStatus: () => ItemAvailabilityStatus,
|
|
34
34
|
ItemTypePreset: () => ItemTypePreset,
|
|
35
35
|
JurisdictionType: () => JurisdictionType,
|
|
36
|
+
LimitedQuotaType: () => LimitedQuotaType,
|
|
36
37
|
ManualCalculationReason: () => ManualCalculationReason,
|
|
37
38
|
NameInLineItem: () => NameInLineItem,
|
|
38
39
|
NameInOther: () => NameInOther,
|
|
@@ -40,6 +41,7 @@ __export(index_typings_exports, {
|
|
|
40
41
|
PickupMethod: () => PickupMethod,
|
|
41
42
|
PlatformFeeChargeType: () => PlatformFeeChargeType,
|
|
42
43
|
ProductPeriodAlignment: () => ProductPeriodAlignment,
|
|
44
|
+
QuotaType: () => QuotaType,
|
|
43
45
|
RateType: () => RateType,
|
|
44
46
|
RuleType: () => RuleType,
|
|
45
47
|
Severity: () => Severity,
|
|
@@ -1062,6 +1064,16 @@ var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
|
1062
1064
|
BalanceType2["CREDIT"] = "CREDIT";
|
|
1063
1065
|
return BalanceType2;
|
|
1064
1066
|
})(BalanceType || {});
|
|
1067
|
+
var QuotaType = /* @__PURE__ */ ((QuotaType2) => {
|
|
1068
|
+
QuotaType2["LIMITED"] = "LIMITED";
|
|
1069
|
+
QuotaType2["UNLIMITED"] = "UNLIMITED";
|
|
1070
|
+
return QuotaType2;
|
|
1071
|
+
})(QuotaType || {});
|
|
1072
|
+
var LimitedQuotaType = /* @__PURE__ */ ((LimitedQuotaType2) => {
|
|
1073
|
+
LimitedQuotaType2["PUNCH_CARD"] = "PUNCH_CARD";
|
|
1074
|
+
LimitedQuotaType2["CREDIT"] = "CREDIT";
|
|
1075
|
+
return LimitedQuotaType2;
|
|
1076
|
+
})(LimitedQuotaType || {});
|
|
1065
1077
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
1066
1078
|
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
1067
1079
|
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
@@ -1750,6 +1762,7 @@ async function removeBusinessLocation2(_id) {
|
|
|
1750
1762
|
ItemAvailabilityStatus,
|
|
1751
1763
|
ItemTypePreset,
|
|
1752
1764
|
JurisdictionType,
|
|
1765
|
+
LimitedQuotaType,
|
|
1753
1766
|
ManualCalculationReason,
|
|
1754
1767
|
NameInLineItem,
|
|
1755
1768
|
NameInOther,
|
|
@@ -1757,6 +1770,7 @@ async function removeBusinessLocation2(_id) {
|
|
|
1757
1770
|
PickupMethod,
|
|
1758
1771
|
PlatformFeeChargeType,
|
|
1759
1772
|
ProductPeriodAlignment,
|
|
1773
|
+
QuotaType,
|
|
1760
1774
|
RateType,
|
|
1761
1775
|
RuleType,
|
|
1762
1776
|
Severity,
|