@wix/auto_sdk_ecom_cart 1.0.181 → 1.0.183
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.map +1 -1
- package/build/cjs/index.typings.d.ts +150 -58
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +150 -58
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +150 -58
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +150 -58
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +167 -62
- package/build/internal/cjs/meta.d.ts +167 -62
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +167 -62
- package/build/internal/es/meta.d.mts +167 -62
- package/package.json +2 -2
|
@@ -757,7 +757,7 @@ interface SubscriptionSettings {
|
|
|
757
757
|
* @min 1
|
|
758
758
|
*/
|
|
759
759
|
billingCycles?: number | null;
|
|
760
|
-
/** Whether to allow the customer to cancel the subscription
|
|
760
|
+
/** Whether to allow the customer to cancel the subscription. */
|
|
761
761
|
enableCustomerCancellation?: boolean;
|
|
762
762
|
/**
|
|
763
763
|
* Period until first cycle starts. If applied payNow will be 0
|
|
@@ -779,6 +779,15 @@ interface SubscriptionSettings {
|
|
|
779
779
|
* @internal
|
|
780
780
|
*/
|
|
781
781
|
productPeriodAlignment?: ProductPeriodAlignmentWithLiterals;
|
|
782
|
+
/**
|
|
783
|
+
* Unit prices for specified billing cycles of the subscription. Cycles that no entry covers
|
|
784
|
+
* are charged the item's `price`.
|
|
785
|
+
*
|
|
786
|
+
* When `billingCycles` is set, every entry must end on or before the last billing cycle.
|
|
787
|
+
* @internal
|
|
788
|
+
* @maxSize 1
|
|
789
|
+
*/
|
|
790
|
+
cyclePriceOverrides?: CyclePriceOverride[];
|
|
782
791
|
}
|
|
783
792
|
/** Frequency unit of recurring payment */
|
|
784
793
|
declare enum SubscriptionFrequency {
|
|
@@ -816,6 +825,27 @@ declare enum ProductPeriodAlignment {
|
|
|
816
825
|
}
|
|
817
826
|
/** @enumType */
|
|
818
827
|
type ProductPeriodAlignmentWithLiterals = ProductPeriodAlignment | 'ALIGNED_WITH_BILLING_PERIOD' | 'NOT_ALIGNED_WITH_BILLING_PERIOD';
|
|
828
|
+
interface CyclePriceOverride {
|
|
829
|
+
/**
|
|
830
|
+
* __Required.__ First billing cycle the price applies to. The first paid cycle of the
|
|
831
|
+
* subscription is `1`. A free trial period, if any, is cycle `0`.
|
|
832
|
+
* @min 1
|
|
833
|
+
* @max 1
|
|
834
|
+
*/
|
|
835
|
+
cycleFrom?: number;
|
|
836
|
+
/**
|
|
837
|
+
* __Required.__ Number of consecutive billing cycles the price applies to, starting at `cycleFrom`.
|
|
838
|
+
* @min 1
|
|
839
|
+
* @max 1
|
|
840
|
+
*/
|
|
841
|
+
numberOfCycles?: number | null;
|
|
842
|
+
/**
|
|
843
|
+
* __Required.__ Unit price for the cycles this entry covers, in the item's currency.
|
|
844
|
+
* Can be higher than, lower than, or equal to the item's `price`.
|
|
845
|
+
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
846
|
+
*/
|
|
847
|
+
price?: string;
|
|
848
|
+
}
|
|
819
849
|
interface Title {
|
|
820
850
|
/**
|
|
821
851
|
* 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).
|
|
@@ -2872,27 +2902,29 @@ interface Membership {
|
|
|
2872
2902
|
}
|
|
2873
2903
|
interface MembershipName {
|
|
2874
2904
|
/**
|
|
2875
|
-
* Membership name.
|
|
2905
|
+
* Membership name in the site's original language.
|
|
2876
2906
|
* @maxLength 100
|
|
2877
2907
|
*/
|
|
2878
2908
|
original?: string;
|
|
2879
2909
|
/**
|
|
2880
|
-
*
|
|
2910
|
+
* Membership name translated into the buyer's language.
|
|
2911
|
+
*
|
|
2912
|
+
* Default: The value of `original`
|
|
2881
2913
|
* @maxLength 100
|
|
2882
2914
|
*/
|
|
2883
2915
|
translated?: string | null;
|
|
2884
2916
|
}
|
|
2885
2917
|
interface MembershipPaymentCredits {
|
|
2886
2918
|
/**
|
|
2887
|
-
* Membership's initial
|
|
2919
|
+
* Membership's initial balance.
|
|
2888
2920
|
* @min 1
|
|
2889
2921
|
*/
|
|
2890
2922
|
total?: number;
|
|
2891
|
-
/** Membership's remaining
|
|
2923
|
+
/** Membership's remaining balance. */
|
|
2892
2924
|
remaining?: number;
|
|
2893
2925
|
/**
|
|
2894
|
-
* Deprecated.
|
|
2895
|
-
*
|
|
2926
|
+
* Deprecated. Use `ExistingMembership.coveredLineItems`, which carries the redemption cost per line
|
|
2927
|
+
* item. A membership's balance no longer states a per-item cost of its own.
|
|
2896
2928
|
* @internal
|
|
2897
2929
|
* @deprecated
|
|
2898
2930
|
* @replacedBy ExistingMembership.covered_line_items.redemption_cost
|
|
@@ -2900,15 +2932,19 @@ interface MembershipPaymentCredits {
|
|
|
2900
2932
|
*/
|
|
2901
2933
|
redemptionCost?: number;
|
|
2902
2934
|
/**
|
|
2903
|
-
*
|
|
2935
|
+
* How the membership's balance is measured.
|
|
2936
|
+
*
|
|
2937
|
+
* The same vocabulary as `LimitedQuota.limitedQuotaType` on the purchasable-plan side. The two are
|
|
2938
|
+
* separate types only because this one serves the legacy flow and is left untouched until List
|
|
2939
|
+
* Eligible Memberships is removed.
|
|
2904
2940
|
* @internal
|
|
2905
2941
|
*/
|
|
2906
2942
|
balanceType?: BalanceTypeWithLiterals;
|
|
2907
2943
|
}
|
|
2908
2944
|
declare enum BalanceType {
|
|
2909
|
-
/** Balance is measured in discrete uses
|
|
2945
|
+
/** Balance is measured in discrete uses, such as sessions or visits. */
|
|
2910
2946
|
PUNCH_CARD = "PUNCH_CARD",
|
|
2911
|
-
/** Balance is measured in a currency-like value
|
|
2947
|
+
/** Balance is measured in a currency-like value, such as points. */
|
|
2912
2948
|
CREDIT = "CREDIT"
|
|
2913
2949
|
}
|
|
2914
2950
|
/** @enumType */
|
|
@@ -2923,25 +2959,26 @@ interface InvalidMembership {
|
|
|
2923
2959
|
*/
|
|
2924
2960
|
reason?: string;
|
|
2925
2961
|
}
|
|
2926
|
-
/** Same shape as `ListExistingMembershipsResponse.memberships`. */
|
|
2962
|
+
/** The validated existing memberships. Same shape as `ListExistingMembershipsResponse.memberships`. */
|
|
2927
2963
|
interface ValidatedExistingMemberships {
|
|
2928
2964
|
/**
|
|
2929
|
-
* The selected memberships, each paired with the line items it can
|
|
2965
|
+
* The selected memberships, each paired with the line items it can pay for and the cost to redeem
|
|
2966
|
+
* each.
|
|
2930
2967
|
* @maxSize 300
|
|
2931
2968
|
*/
|
|
2932
2969
|
memberships?: ExistingMembership[];
|
|
2933
2970
|
}
|
|
2934
2971
|
/**
|
|
2935
|
-
* A membership the member
|
|
2972
|
+
* A membership the member owns, together with the given line items it can pay for.
|
|
2936
2973
|
*
|
|
2937
|
-
* A membership is a single benefit granted by a plan the member has already paid for, so coverage
|
|
2938
|
-
* nested here
|
|
2974
|
+
* A membership is a single benefit granted by a plan the member has already paid for, so its coverage
|
|
2975
|
+
* is nested directly here. No `benefitId` link is needed, unlike a plan that grants several benefits.
|
|
2939
2976
|
*/
|
|
2940
2977
|
interface ExistingMembership {
|
|
2941
2978
|
/** The membership the member owns. */
|
|
2942
2979
|
membership?: V1Membership;
|
|
2943
2980
|
/**
|
|
2944
|
-
*
|
|
2981
|
+
* Line items this membership can pay for, and the cost to redeem each.
|
|
2945
2982
|
* @maxSize 300
|
|
2946
2983
|
*/
|
|
2947
2984
|
coveredLineItems?: CoveredLineItem[];
|
|
@@ -2956,11 +2993,10 @@ interface V1Membership {
|
|
|
2956
2993
|
/** Membership name. */
|
|
2957
2994
|
name?: MembershipName;
|
|
2958
2995
|
/**
|
|
2959
|
-
* Deprecated. Use `ExistingMembership.
|
|
2996
|
+
* Deprecated. Use `ExistingMembership.coveredLineItems` to see which line items this membership
|
|
2997
|
+
* covers.
|
|
2960
2998
|
*
|
|
2961
|
-
* Populate this only in the legacy
|
|
2962
|
-
* membership that omits it. Leave it empty everywhere else - `ListMembershipsByIds` receives no line items
|
|
2963
|
-
* at all, so there is nothing to report there.
|
|
2999
|
+
* Populate this only in the legacy [List Eligible Memberships](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/payments/memberships/memberships-service-plugin/list-eligible-memberships) flow, which still requires it and rejects a membership that omits it. Leave it empty everywhere else. [List Memberships By IDs](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/payments/memberships/memberships-service-plugin/list-memberships-by-ids) receives no line items at all, so there's nothing to report there.
|
|
2964
3000
|
* @maxSize 300
|
|
2965
3001
|
* @minLength 1
|
|
2966
3002
|
* @maxLength 100
|
|
@@ -2969,19 +3005,25 @@ interface V1Membership {
|
|
|
2969
3005
|
* @targetRemovalDate 2026-08-30
|
|
2970
3006
|
*/
|
|
2971
3007
|
lineItemIds?: string[];
|
|
2972
|
-
/**
|
|
3008
|
+
/**
|
|
3009
|
+
* Membership's balance.
|
|
3010
|
+
*
|
|
3011
|
+
* Omit this field for an unlimited membership, which has no balance to draw down. Every
|
|
3012
|
+
* `ExistingMembership.coveredLineItems.redemptionCost` is then `0`. Unlike a plan's benefit, a
|
|
3013
|
+
* membership carries no explicit unlimited marker: the absence of a balance is the marker.
|
|
3014
|
+
*/
|
|
2973
3015
|
credits?: MembershipPaymentCredits;
|
|
2974
|
-
/**
|
|
3016
|
+
/** Date and time the membership expires. */
|
|
2975
3017
|
expirationDate?: Date | null;
|
|
2976
3018
|
/**
|
|
2977
|
-
* Deprecated. Use `
|
|
3019
|
+
* Deprecated. Use `offeringDescription` for human-readable data about the offering.
|
|
2978
3020
|
* @deprecated
|
|
2979
3021
|
* @replacedBy offering_description
|
|
2980
3022
|
* @targetRemovalDate 2026-08-30
|
|
2981
3023
|
*/
|
|
2982
3024
|
additionalData?: Record<string, any> | null;
|
|
2983
3025
|
/**
|
|
2984
|
-
* Human-readable offering
|
|
3026
|
+
* Human-readable summary of the offering, for display. For example, its price and validity text.
|
|
2985
3027
|
* @internal
|
|
2986
3028
|
* @maxLength 500
|
|
2987
3029
|
*/
|
|
@@ -2990,18 +3032,21 @@ interface V1Membership {
|
|
|
2990
3032
|
/** A line item a membership can pay for, and the cost to redeem it. */
|
|
2991
3033
|
interface CoveredLineItem {
|
|
2992
3034
|
/**
|
|
2993
|
-
*
|
|
3035
|
+
* ID of the line item this membership can pay for. Matches the `id` of one of the given line items.
|
|
2994
3036
|
* @minLength 1
|
|
2995
3037
|
* @maxLength 100
|
|
2996
3038
|
*/
|
|
2997
3039
|
lineItemId?: string;
|
|
2998
3040
|
/**
|
|
2999
|
-
*
|
|
3000
|
-
*
|
|
3041
|
+
* Amount deducted from the membership's remaining balance (`credits.remaining`) when this line item
|
|
3042
|
+
* is redeemed.
|
|
3043
|
+
*
|
|
3044
|
+
* Always `0` for an unlimited membership, which is expressed by omitting `credits` and decrements
|
|
3045
|
+
* nothing.
|
|
3001
3046
|
*/
|
|
3002
3047
|
redemptionCost?: number;
|
|
3003
3048
|
}
|
|
3004
|
-
/** Same shape as `ListPurchasablePlansResponse`. */
|
|
3049
|
+
/** The validated purchasable plans. Same shape as `ListPurchasablePlansResponse`. */
|
|
3005
3050
|
interface ValidatedPurchasablePlans {
|
|
3006
3051
|
/**
|
|
3007
3052
|
* The selected plans.
|
|
@@ -3009,68 +3054,109 @@ interface ValidatedPurchasablePlans {
|
|
|
3009
3054
|
*/
|
|
3010
3055
|
purchasablePlans?: PurchasablePlan[];
|
|
3011
3056
|
/**
|
|
3012
|
-
* How the plans' benefits cover the line items,
|
|
3057
|
+
* How the plans' benefits cover the line items, each entry naming its benefit by `benefitId`.
|
|
3013
3058
|
* @maxSize 300
|
|
3014
3059
|
*/
|
|
3015
3060
|
coverages?: LineItemCoverage[];
|
|
3016
3061
|
}
|
|
3017
3062
|
interface PurchasablePlan {
|
|
3018
|
-
/**
|
|
3063
|
+
/**
|
|
3064
|
+
* Catalog and item reference identifying both the plan and the pricing variant.
|
|
3065
|
+
*
|
|
3066
|
+
* A purchasable plan has no ID of its own. The reference carries the plan in `catalogItemId` and
|
|
3067
|
+
* the chosen pricing variant in `options`, so the same plan appears once per variant with a
|
|
3068
|
+
* different reference each time. The plan ID alone repeats across entries; the full reference
|
|
3069
|
+
* doesn't.
|
|
3070
|
+
*
|
|
3071
|
+
* When the plan needs nothing further from the buyer, the reference can be added to the cart as it
|
|
3072
|
+
* stands. When it does, for example a plan carrying a form, a custom start date, or a buyer-chosen
|
|
3073
|
+
* price, the reference has to be completed with that input first. See `infoCollectionUrl`.
|
|
3074
|
+
*/
|
|
3019
3075
|
catalogReference?: CatalogReference;
|
|
3020
3076
|
/** Plan name. */
|
|
3021
3077
|
name?: MembershipName;
|
|
3022
3078
|
/**
|
|
3023
|
-
* Benefits the plan
|
|
3079
|
+
* Benefits the plan grants once purchased.
|
|
3080
|
+
*
|
|
3081
|
+
* A plan can grant several, for example a bundle granting separate yoga and pilates credits. Each
|
|
3082
|
+
* benefit becomes its own membership after purchase.
|
|
3024
3083
|
* @minSize 1
|
|
3025
3084
|
* @maxSize 50
|
|
3026
3085
|
*/
|
|
3027
3086
|
benefits?: Benefit[];
|
|
3028
3087
|
/**
|
|
3029
|
-
* Human-readable
|
|
3088
|
+
* Human-readable summary of what the plan offers, for display. For example, `8 yoga classes and 4
|
|
3089
|
+
* pilates classes, billed monthly`.
|
|
3090
|
+
*
|
|
3091
|
+
* Describe the offering here and the price in `priceDescription`.
|
|
3030
3092
|
* @maxLength 500
|
|
3031
3093
|
*/
|
|
3032
3094
|
offeringDescription?: string | null;
|
|
3033
3095
|
/**
|
|
3034
|
-
* URL the
|
|
3096
|
+
* URL of the page that collects the extra input this plan needs before it can be purchased.
|
|
3097
|
+
*
|
|
3098
|
+
* Return it only for a plan that needs more from the buyer, such as one carrying a form, a custom
|
|
3099
|
+
* start date, or a buyer-chosen price. Omitting it means the plan needs nothing further, and the
|
|
3100
|
+
* caller builds the cart itself.
|
|
3101
|
+
*
|
|
3102
|
+
* The buyer reaches this page before any cart exists, rather than from the checkout page, and
|
|
3103
|
+
* there's no return trip. The page receives the caller's already-created items, then builds the
|
|
3104
|
+
* cart and checkout from the plan plus those items. There's no return URL, no cart ID, no
|
|
3105
|
+
* preserved selection, and no completion signal: the purchase reaches Wix through the ordinary
|
|
3106
|
+
* checkout and order flow, and the membership through Membership Ready To Be Charged.
|
|
3107
|
+
*
|
|
3108
|
+
* The page covers a single plan. Items that plan covers can be mixed with directly-paid ones, but
|
|
3109
|
+
* a selection spanning two plans isn't supported here.
|
|
3035
3110
|
* @format WEB_URL
|
|
3036
3111
|
*/
|
|
3037
3112
|
infoCollectionUrl?: string | null;
|
|
3038
3113
|
/**
|
|
3039
|
-
* Plan price.
|
|
3114
|
+
* Plan price, in the plan's own configured currency.
|
|
3115
|
+
*
|
|
3116
|
+
* No currency accompanies the amount and none is converted, so prices from different plans aren't
|
|
3117
|
+
* comparable and the currency reaches the buyer only through `priceDescription`. Name the currency
|
|
3118
|
+
* there.
|
|
3040
3119
|
* @decimalValue options { gte:0, maxScale:3 }
|
|
3041
3120
|
*/
|
|
3042
3121
|
price?: string;
|
|
3043
3122
|
/**
|
|
3044
|
-
* Human-readable
|
|
3123
|
+
* Human-readable summary of the plan price, for display. For example, `First month free, then
|
|
3124
|
+
* $20/month`.
|
|
3045
3125
|
*
|
|
3046
|
-
* `price`
|
|
3047
|
-
*
|
|
3126
|
+
* Use `price` for the bare amount, which is what sorting and comparison rely on, and this field for
|
|
3127
|
+
* pricing a buyer needs prose to understand.
|
|
3048
3128
|
* @maxLength 500
|
|
3049
3129
|
*/
|
|
3050
3130
|
priceDescription?: string | null;
|
|
3051
3131
|
}
|
|
3052
3132
|
/**
|
|
3053
|
-
* A single redeemable benefit
|
|
3054
|
-
*
|
|
3133
|
+
* A single redeemable benefit granted by a plan.
|
|
3134
|
+
*
|
|
3135
|
+
* A purchasable plan grants one or more benefits in `benefits`. Once the plan is paid for, each benefit
|
|
3136
|
+
* becomes its own membership, charged by `membershipId`.
|
|
3055
3137
|
*/
|
|
3056
3138
|
interface Benefit extends BenefitQuotaOneOf {
|
|
3057
3139
|
limitedQuota?: LimitedQuota;
|
|
3058
3140
|
/**
|
|
3059
|
-
* Identifier for this benefit
|
|
3060
|
-
*
|
|
3141
|
+
* Identifier for this benefit, unique within its plan.
|
|
3142
|
+
*
|
|
3143
|
+
* Not unique across the response. A plan is returned once per pricing variant, and every variant
|
|
3144
|
+
* repeats that plan's benefit IDs. Two different plans can also share an ID when they grant the
|
|
3145
|
+
* same benefit, and a coverage entry naming it is then true for both.
|
|
3146
|
+
*
|
|
3147
|
+
* Never give two different benefits the same ID. That's the one case a caller can't recover from,
|
|
3148
|
+
* because a cost computed for one benefit would be applied to the other.
|
|
3061
3149
|
* @minLength 1
|
|
3062
3150
|
* @maxLength 200
|
|
3063
3151
|
*/
|
|
3064
3152
|
benefitId?: string;
|
|
3065
3153
|
/**
|
|
3066
|
-
* Human-readable label for this benefit
|
|
3154
|
+
* Human-readable label for this benefit. For example, `Manicure` or `Pedicure` on a multi-set
|
|
3155
|
+
* punch card.
|
|
3067
3156
|
* @maxLength 200
|
|
3068
3157
|
*/
|
|
3069
3158
|
label?: string | null;
|
|
3070
|
-
/**
|
|
3071
|
-
* The kind of quota this benefit grants: a countable amount drawn down on redemption (`LIMITED`),
|
|
3072
|
-
* or an unbounded amount that is never drawn down (`UNLIMITED`).
|
|
3073
|
-
*/
|
|
3159
|
+
/** Kind of quota this benefit grants. */
|
|
3074
3160
|
quotaType?: QuotaTypeWithLiterals;
|
|
3075
3161
|
}
|
|
3076
3162
|
/** @oneof */
|
|
@@ -3078,9 +3164,9 @@ interface BenefitQuotaOneOf {
|
|
|
3078
3164
|
limitedQuota?: LimitedQuota;
|
|
3079
3165
|
}
|
|
3080
3166
|
declare enum QuotaType {
|
|
3081
|
-
/** The benefit grants a countable quota that
|
|
3167
|
+
/** The benefit grants a countable quota that's drawn down on redemption. */
|
|
3082
3168
|
LIMITED = "LIMITED",
|
|
3083
|
-
/** The benefit is unlimited
|
|
3169
|
+
/** The benefit is unlimited and is never drawn down. */
|
|
3084
3170
|
UNLIMITED = "UNLIMITED"
|
|
3085
3171
|
}
|
|
3086
3172
|
/** @enumType */
|
|
@@ -3088,45 +3174,64 @@ type QuotaTypeWithLiterals = QuotaType | 'LIMITED' | 'UNLIMITED';
|
|
|
3088
3174
|
/** A limited, countable redeemable amount. */
|
|
3089
3175
|
interface LimitedQuota {
|
|
3090
3176
|
/**
|
|
3091
|
-
*
|
|
3177
|
+
* Quota's initial value.
|
|
3092
3178
|
* @min 1
|
|
3093
3179
|
*/
|
|
3094
3180
|
total?: number;
|
|
3095
|
-
/**
|
|
3181
|
+
/** Quota's remaining value. */
|
|
3096
3182
|
remaining?: number;
|
|
3097
|
-
/**
|
|
3183
|
+
/**
|
|
3184
|
+
* How the quota is measured.
|
|
3185
|
+
*
|
|
3186
|
+
* The same vocabulary as `MembershipPaymentCredits.balanceType` on the existing-membership side.
|
|
3187
|
+
*/
|
|
3098
3188
|
limitedQuotaType?: LimitedQuotaTypeWithLiterals;
|
|
3099
3189
|
}
|
|
3100
3190
|
declare enum LimitedQuotaType {
|
|
3101
|
-
/** Quota is measured in discrete uses
|
|
3191
|
+
/** Quota is measured in discrete uses, such as sessions or visits. */
|
|
3102
3192
|
PUNCH_CARD = "PUNCH_CARD",
|
|
3103
|
-
/** Quota is measured in a currency-like value
|
|
3193
|
+
/** Quota is measured in a currency-like value, such as points. */
|
|
3104
3194
|
CREDIT = "CREDIT"
|
|
3105
3195
|
}
|
|
3106
3196
|
/** @enumType */
|
|
3107
3197
|
type LimitedQuotaTypeWithLiterals = LimitedQuotaType | 'PUNCH_CARD' | 'CREDIT';
|
|
3108
3198
|
/**
|
|
3109
|
-
* Maps a
|
|
3110
|
-
*
|
|
3111
|
-
*
|
|
3112
|
-
*
|
|
3199
|
+
* Maps one of a plan's benefits to a line item it can cover, and at what cost.
|
|
3200
|
+
*
|
|
3201
|
+
* One entry per benefit and line item pair, returned by [List Purchasable Plans](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/payments/memberships/memberships-service-plugin/list-purchasable-plans) alongside `purchasablePlans`.
|
|
3202
|
+
*
|
|
3203
|
+
* An entry names a benefit and carries no plan identity, so match its `benefitId` against the
|
|
3204
|
+
* `benefits` of the returned plans and apply it to every entry that grants that benefit. Entries for
|
|
3205
|
+
* the same plan repeat it once per pricing variant, and two different plans sharing a benefit ID
|
|
3206
|
+
* grant the same benefit, so the entry holds for each of them. A caller that stops at the first
|
|
3207
|
+
* match shows nothing incorrect, but hides the other entries, which cover the item too.
|
|
3208
|
+
*
|
|
3209
|
+
* The cost is identical across a plan's variants, so there's one entry per benefit rather than one
|
|
3210
|
+
* per variant.
|
|
3211
|
+
*
|
|
3212
|
+
* For memberships the member already owns, the equivalent mapping is
|
|
3213
|
+
* `ExistingMembership.coveredLineItems`, which needs no `benefitId` because a membership is a single
|
|
3214
|
+
* benefit.
|
|
3113
3215
|
*/
|
|
3114
3216
|
interface LineItemCoverage {
|
|
3115
3217
|
/**
|
|
3116
|
-
*
|
|
3218
|
+
* ID of the benefit that covers the line item, as returned in `Benefit.benefitId`.
|
|
3219
|
+
*
|
|
3220
|
+
* Identifies a benefit within its plan, and repeats across that plan's pricing variants.
|
|
3117
3221
|
* @minLength 1
|
|
3118
3222
|
* @maxLength 200
|
|
3119
3223
|
*/
|
|
3120
3224
|
benefitId?: string;
|
|
3121
3225
|
/**
|
|
3122
|
-
*
|
|
3226
|
+
* ID of the line item this benefit covers.
|
|
3123
3227
|
* @minLength 1
|
|
3124
3228
|
* @maxLength 100
|
|
3125
3229
|
*/
|
|
3126
3230
|
lineItemId?: string;
|
|
3127
3231
|
/**
|
|
3128
|
-
*
|
|
3129
|
-
*
|
|
3232
|
+
* Amount deducted from the benefit's `limitedQuota.remaining` value when this line item is redeemed.
|
|
3233
|
+
*
|
|
3234
|
+
* Always `0` for an unlimited benefit, which decrements nothing.
|
|
3130
3235
|
*/
|
|
3131
3236
|
redemptionCost?: number;
|
|
3132
3237
|
}
|
|
@@ -3904,4 +4009,4 @@ declare function removeBusinessLocation(): __PublicMethodMetaInfo<'POST', {
|
|
|
3904
4009
|
id: string;
|
|
3905
4010
|
}, RemoveBusinessLocationRequest$1, RemoveBusinessLocationRequest, RemoveBusinessLocationResponse$1, RemoveBusinessLocationResponse>;
|
|
3906
4011
|
|
|
3907
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddToCartApplicationErrors as AddToCartApplicationErrorsOriginal, type AddToCartRequest as AddToCartRequestOriginal, type AddToCartResponse as AddToCartResponseOriginal, type AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequestOriginal, type AddToCurrentCartRequest as AddToCurrentCartRequestOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, AppliedDiscountDiscountType as AppliedDiscountDiscountTypeOriginal, type AppliedDiscountDiscountTypeWithLiterals as AppliedDiscountDiscountTypeWithLiteralsOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, BalanceType as BalanceTypeOriginal, type BalanceTypeWithLiterals as BalanceTypeWithLiteralsOriginal, type Benefit as BenefitOriginal, type BenefitQuotaOneOf as BenefitQuotaOneOfOriginal, type BillingSettings as BillingSettingsOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CalculatedItemModifier as CalculatedItemModifierOriginal, type CalculatedLineItem as CalculatedLineItemOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Carrier as CarrierOriginal, type CarrierServiceOption as CarrierServiceOptionOriginal, type CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOfOriginal, type CartDiscount as CartDiscountOriginal, type Cart as CartOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type Color as ColorOriginal, type CommonImage as CommonImageOriginal, type Coupon as CouponOriginal, type CoveredLineItem as CoveredLineItemOriginal, type CreateCartApplicationErrors as CreateCartApplicationErrorsOriginal, type CreateCartRequest as CreateCartRequestOriginal, type CreateCartResponse as CreateCartResponseOriginal, type CreateCheckoutApplicationErrors as CreateCheckoutApplicationErrorsOriginal, type CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequestOriginal, type CreateCheckoutRequest as CreateCheckoutRequestOriginal, type CreateCheckoutResponse as CreateCheckoutResponseOriginal, type CustomLineItem as CustomLineItemOriginal, type DeleteCartRequest as DeleteCartRequestOriginal, type DeleteCartResponse as DeleteCartResponseOriginal, type DeleteCurrentCartRequest as DeleteCurrentCartRequestOriginal, type DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequestOriginal, type EstimateTotalsRequest as EstimateTotalsRequestOriginal, type EstimateTotalsResponse as EstimateTotalsResponseOriginal, type ExistingMembership as ExistingMembershipOriginal, type ExtendedFields as ExtendedFieldsOriginal, FallbackReason as FallbackReasonOriginal, type FallbackReasonWithLiterals as FallbackReasonWithLiteralsOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequestOriginal, type GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponseOriginal, type GetCartRequest as GetCartRequestOriginal, type GetCartResponse as GetCartResponseOriginal, type GetCurrentCartRequest as GetCurrentCartRequestOriginal, type GetCurrentCartResponse as GetCurrentCartResponseOriginal, type GiftCardCalculationError as GiftCardCalculationErrorOriginal, type GiftCard as GiftCardOriginal, type Group as GroupOriginal, type HostSelectedMembership as HostSelectedMembershipOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InvalidMembership as InvalidMembershipOriginal, type ItemAvailabilityInfo as ItemAvailabilityInfoOriginal, ItemAvailabilityStatus as ItemAvailabilityStatusOriginal, type ItemAvailabilityStatusWithLiterals as ItemAvailabilityStatusWithLiteralsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LimitedQuota as LimitedQuotaOriginal, LimitedQuotaType as LimitedQuotaTypeOriginal, type LimitedQuotaTypeWithLiterals as LimitedQuotaTypeWithLiteralsOriginal, type LineItemAdded as LineItemAddedOriginal, type LineItemCoverage as LineItemCoverageOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItem as LineItemOriginal, type LineItemPricesData as LineItemPricesDataOriginal, type LineItemQuantityUpdate as LineItemQuantityUpdateOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type OtherCharge as OtherChargeOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, PlatformFeeChargeType as PlatformFeeChargeTypeOriginal, type PlatformFeeChargeTypeWithLiterals as PlatformFeeChargeTypeWithLiteralsOriginal, type PlatformFee as PlatformFeeOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type PurchasablePlan as PurchasablePlanOriginal, QuotaType as QuotaTypeOriginal, type QuotaTypeWithLiterals as QuotaTypeWithLiteralsOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type Region as RegionOriginal, type RemoveBusinessLocationRequest as RemoveBusinessLocationRequestOriginal, type RemoveBusinessLocationResponse as RemoveBusinessLocationResponseOriginal, type RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequestOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequestOriginal, type RemoveLineItemsRequest as RemoveLineItemsRequestOriginal, type RemoveLineItemsResponse as RemoveLineItemsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedCarrierServiceOption as SelectedCarrierServiceOptionOriginal, type SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherChargeOriginal, type SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPricesOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMemberships as SelectedMembershipsOriginal, type SelectedShippingOption as SelectedShippingOptionOriginal, type ServiceProperties as ServicePropertiesOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, type StreetAddress as StreetAddressOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type TargetLineItem as TargetLineItemOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, type TaxRateBreakdown as TaxRateBreakdownOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateCartApplicationErrors as UpdateCartApplicationErrorsOriginal, type UpdateCartRequest as UpdateCartRequestOriginal, type UpdateCartResponse as UpdateCartResponseOriginal, type UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequestOriginal, type UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequestOriginal, type UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponseOriginal, type V1Coupon as V1CouponOriginal, type V1DiscountRuleName as V1DiscountRuleNameOriginal, type V1DiscountRule as V1DiscountRuleOriginal, type V1ItemModifier as V1ItemModifierOriginal, type V1Membership as V1MembershipOriginal, type V1MerchantDiscount as V1MerchantDiscountOriginal, type V1ModifierGroup as V1ModifierGroupOriginal, type ValidatedExistingMemberships as ValidatedExistingMembershipsOriginal, type ValidatedPurchasablePlans as ValidatedPurchasablePlansOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, addToCart, createCart, createCheckout, deleteCart, estimateTotals, getCart, getCartByCheckoutId, removeBusinessLocation, removeCoupon, removeLineItems, updateCart, updateLineItemsQuantity };
|
|
4012
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddToCartApplicationErrors as AddToCartApplicationErrorsOriginal, type AddToCartRequest as AddToCartRequestOriginal, type AddToCartResponse as AddToCartResponseOriginal, type AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequestOriginal, type AddToCurrentCartRequest as AddToCurrentCartRequestOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, AppliedDiscountDiscountType as AppliedDiscountDiscountTypeOriginal, type AppliedDiscountDiscountTypeWithLiterals as AppliedDiscountDiscountTypeWithLiteralsOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, BalanceType as BalanceTypeOriginal, type BalanceTypeWithLiterals as BalanceTypeWithLiteralsOriginal, type Benefit as BenefitOriginal, type BenefitQuotaOneOf as BenefitQuotaOneOfOriginal, type BillingSettings as BillingSettingsOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CalculatedItemModifier as CalculatedItemModifierOriginal, type CalculatedLineItem as CalculatedLineItemOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Carrier as CarrierOriginal, type CarrierServiceOption as CarrierServiceOptionOriginal, type CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOfOriginal, type CartDiscount as CartDiscountOriginal, type Cart as CartOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type Color as ColorOriginal, type CommonImage as CommonImageOriginal, type Coupon as CouponOriginal, type CoveredLineItem as CoveredLineItemOriginal, type CreateCartApplicationErrors as CreateCartApplicationErrorsOriginal, type CreateCartRequest as CreateCartRequestOriginal, type CreateCartResponse as CreateCartResponseOriginal, type CreateCheckoutApplicationErrors as CreateCheckoutApplicationErrorsOriginal, type CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequestOriginal, type CreateCheckoutRequest as CreateCheckoutRequestOriginal, type CreateCheckoutResponse as CreateCheckoutResponseOriginal, type CustomLineItem as CustomLineItemOriginal, type CyclePriceOverride as CyclePriceOverrideOriginal, type DeleteCartRequest as DeleteCartRequestOriginal, type DeleteCartResponse as DeleteCartResponseOriginal, type DeleteCurrentCartRequest as DeleteCurrentCartRequestOriginal, type DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequestOriginal, type EstimateTotalsRequest as EstimateTotalsRequestOriginal, type EstimateTotalsResponse as EstimateTotalsResponseOriginal, type ExistingMembership as ExistingMembershipOriginal, type ExtendedFields as ExtendedFieldsOriginal, FallbackReason as FallbackReasonOriginal, type FallbackReasonWithLiterals as FallbackReasonWithLiteralsOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequestOriginal, type GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponseOriginal, type GetCartRequest as GetCartRequestOriginal, type GetCartResponse as GetCartResponseOriginal, type GetCurrentCartRequest as GetCurrentCartRequestOriginal, type GetCurrentCartResponse as GetCurrentCartResponseOriginal, type GiftCardCalculationError as GiftCardCalculationErrorOriginal, type GiftCard as GiftCardOriginal, type Group as GroupOriginal, type HostSelectedMembership as HostSelectedMembershipOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InvalidMembership as InvalidMembershipOriginal, type ItemAvailabilityInfo as ItemAvailabilityInfoOriginal, ItemAvailabilityStatus as ItemAvailabilityStatusOriginal, type ItemAvailabilityStatusWithLiterals as ItemAvailabilityStatusWithLiteralsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LimitedQuota as LimitedQuotaOriginal, LimitedQuotaType as LimitedQuotaTypeOriginal, type LimitedQuotaTypeWithLiterals as LimitedQuotaTypeWithLiteralsOriginal, type LineItemAdded as LineItemAddedOriginal, type LineItemCoverage as LineItemCoverageOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItem as LineItemOriginal, type LineItemPricesData as LineItemPricesDataOriginal, type LineItemQuantityUpdate as LineItemQuantityUpdateOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type OtherCharge as OtherChargeOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, PlatformFeeChargeType as PlatformFeeChargeTypeOriginal, type PlatformFeeChargeTypeWithLiterals as PlatformFeeChargeTypeWithLiteralsOriginal, type PlatformFee as PlatformFeeOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type PurchasablePlan as PurchasablePlanOriginal, QuotaType as QuotaTypeOriginal, type QuotaTypeWithLiterals as QuotaTypeWithLiteralsOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type Region as RegionOriginal, type RemoveBusinessLocationRequest as RemoveBusinessLocationRequestOriginal, type RemoveBusinessLocationResponse as RemoveBusinessLocationResponseOriginal, type RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequestOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequestOriginal, type RemoveLineItemsRequest as RemoveLineItemsRequestOriginal, type RemoveLineItemsResponse as RemoveLineItemsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedCarrierServiceOption as SelectedCarrierServiceOptionOriginal, type SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherChargeOriginal, type SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPricesOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMemberships as SelectedMembershipsOriginal, type SelectedShippingOption as SelectedShippingOptionOriginal, type ServiceProperties as ServicePropertiesOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, type StreetAddress as StreetAddressOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type TargetLineItem as TargetLineItemOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, type TaxRateBreakdown as TaxRateBreakdownOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateCartApplicationErrors as UpdateCartApplicationErrorsOriginal, type UpdateCartRequest as UpdateCartRequestOriginal, type UpdateCartResponse as UpdateCartResponseOriginal, type UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequestOriginal, type UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequestOriginal, type UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponseOriginal, type V1Coupon as V1CouponOriginal, type V1DiscountRuleName as V1DiscountRuleNameOriginal, type V1DiscountRule as V1DiscountRuleOriginal, type V1ItemModifier as V1ItemModifierOriginal, type V1Membership as V1MembershipOriginal, type V1MerchantDiscount as V1MerchantDiscountOriginal, type V1ModifierGroup as V1ModifierGroupOriginal, type ValidatedExistingMemberships as ValidatedExistingMembershipsOriginal, type ValidatedPurchasablePlans as ValidatedPurchasablePlansOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, addToCart, createCart, createCheckout, deleteCart, estimateTotals, getCart, getCartByCheckoutId, removeBusinessLocation, removeCoupon, removeLineItems, updateCart, updateLineItemsQuantity };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_cart",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.183",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.ecom.v1.cart"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "2f7571a0711656aaadd4d95fa9aad19da1d6c1ae7724773b175951d1"
|
|
54
54
|
}
|