@wix/ecom 1.0.626 → 1.0.628
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ecom",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.628",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"@wix/ecom_additional-fees": "1.0.8",
|
|
24
24
|
"@wix/ecom_back-in-stock-notifications": "1.0.35",
|
|
25
25
|
"@wix/ecom_back-in-stock-settings": "1.0.22",
|
|
26
|
-
"@wix/ecom_cart": "1.0.
|
|
27
|
-
"@wix/ecom_checkout": "1.0.
|
|
26
|
+
"@wix/ecom_cart": "1.0.45",
|
|
27
|
+
"@wix/ecom_checkout": "1.0.49",
|
|
28
28
|
"@wix/ecom_checkout-settings": "1.0.33",
|
|
29
|
-
"@wix/ecom_checkout-templates": "1.0.
|
|
29
|
+
"@wix/ecom_checkout-templates": "1.0.50",
|
|
30
30
|
"@wix/ecom_currencies": "1.0.23",
|
|
31
|
-
"@wix/ecom_current-cart": "1.0.
|
|
31
|
+
"@wix/ecom_current-cart": "1.0.45",
|
|
32
32
|
"@wix/ecom_custom-triggers": "1.0.7",
|
|
33
33
|
"@wix/ecom_discount-rules": "1.0.35",
|
|
34
34
|
"@wix/ecom_order-fulfillments": "1.0.30",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"fqdn": ""
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
|
-
"falconPackageHash": "
|
|
67
|
+
"falconPackageHash": "4dd82ac13fec70f3bea0a919e7c2b8a62e3a7ef3716b10c0ec6d0271"
|
|
68
68
|
}
|
|
@@ -1785,6 +1785,8 @@ interface LineItem$3 {
|
|
|
1785
1785
|
* @readonly
|
|
1786
1786
|
*/
|
|
1787
1787
|
taxGroupId?: string | null;
|
|
1788
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
1789
|
+
catalogOverrideFields?: CatalogOverrideFields$3;
|
|
1788
1790
|
}
|
|
1789
1791
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
1790
1792
|
interface CatalogReference$4 {
|
|
@@ -1959,6 +1961,20 @@ interface SelectedMembership$3 {
|
|
|
1959
1961
|
/** ID of the app providing this payment option. */
|
|
1960
1962
|
appId?: string;
|
|
1961
1963
|
}
|
|
1964
|
+
interface CatalogOverrideFields$3 {
|
|
1965
|
+
/** Item product name */
|
|
1966
|
+
productName?: ProductName$4;
|
|
1967
|
+
/** Item price **after** discounts. */
|
|
1968
|
+
price?: string | null;
|
|
1969
|
+
/** Item price **before** discount. */
|
|
1970
|
+
fullPrice?: string | null;
|
|
1971
|
+
/** Line item description lines. Used for displaying the cart, checkout and order. */
|
|
1972
|
+
descriptionLines?: DescriptionLine$4[];
|
|
1973
|
+
/** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
|
|
1974
|
+
physicalProperties?: PhysicalProperties$4;
|
|
1975
|
+
/** Line item image details. */
|
|
1976
|
+
image?: string;
|
|
1977
|
+
}
|
|
1962
1978
|
/** Buyer Info */
|
|
1963
1979
|
interface BuyerInfo$4 extends BuyerInfoIdOneOf$4 {
|
|
1964
1980
|
/**
|
|
@@ -2880,6 +2896,26 @@ interface AddToCartResponseNonNullableFields$1 {
|
|
|
2880
2896
|
_id: string;
|
|
2881
2897
|
appId: string;
|
|
2882
2898
|
};
|
|
2899
|
+
catalogOverrideFields?: {
|
|
2900
|
+
productName?: {
|
|
2901
|
+
original: string;
|
|
2902
|
+
};
|
|
2903
|
+
descriptionLines: {
|
|
2904
|
+
plainText?: {
|
|
2905
|
+
original: string;
|
|
2906
|
+
};
|
|
2907
|
+
colorInfo?: {
|
|
2908
|
+
original: string;
|
|
2909
|
+
};
|
|
2910
|
+
name?: {
|
|
2911
|
+
original: string;
|
|
2912
|
+
};
|
|
2913
|
+
}[];
|
|
2914
|
+
physicalProperties?: {
|
|
2915
|
+
shippable: boolean;
|
|
2916
|
+
};
|
|
2917
|
+
image: string;
|
|
2918
|
+
};
|
|
2883
2919
|
}[];
|
|
2884
2920
|
buyerInfo?: {
|
|
2885
2921
|
visitorId: string;
|
|
@@ -2982,6 +3018,26 @@ interface RemoveLineItemsResponseNonNullableFields$2 {
|
|
|
2982
3018
|
_id: string;
|
|
2983
3019
|
appId: string;
|
|
2984
3020
|
};
|
|
3021
|
+
catalogOverrideFields?: {
|
|
3022
|
+
productName?: {
|
|
3023
|
+
original: string;
|
|
3024
|
+
};
|
|
3025
|
+
descriptionLines: {
|
|
3026
|
+
plainText?: {
|
|
3027
|
+
original: string;
|
|
3028
|
+
};
|
|
3029
|
+
colorInfo?: {
|
|
3030
|
+
original: string;
|
|
3031
|
+
};
|
|
3032
|
+
name?: {
|
|
3033
|
+
original: string;
|
|
3034
|
+
};
|
|
3035
|
+
}[];
|
|
3036
|
+
physicalProperties?: {
|
|
3037
|
+
shippable: boolean;
|
|
3038
|
+
};
|
|
3039
|
+
image: string;
|
|
3040
|
+
};
|
|
2985
3041
|
}[];
|
|
2986
3042
|
buyerInfo?: {
|
|
2987
3043
|
visitorId: string;
|
|
@@ -3087,6 +3143,26 @@ interface RemoveCouponResponseNonNullableFields$2 {
|
|
|
3087
3143
|
_id: string;
|
|
3088
3144
|
appId: string;
|
|
3089
3145
|
};
|
|
3146
|
+
catalogOverrideFields?: {
|
|
3147
|
+
productName?: {
|
|
3148
|
+
original: string;
|
|
3149
|
+
};
|
|
3150
|
+
descriptionLines: {
|
|
3151
|
+
plainText?: {
|
|
3152
|
+
original: string;
|
|
3153
|
+
};
|
|
3154
|
+
colorInfo?: {
|
|
3155
|
+
original: string;
|
|
3156
|
+
};
|
|
3157
|
+
name?: {
|
|
3158
|
+
original: string;
|
|
3159
|
+
};
|
|
3160
|
+
}[];
|
|
3161
|
+
physicalProperties?: {
|
|
3162
|
+
shippable: boolean;
|
|
3163
|
+
};
|
|
3164
|
+
image: string;
|
|
3165
|
+
};
|
|
3090
3166
|
}[];
|
|
3091
3167
|
buyerInfo?: {
|
|
3092
3168
|
visitorId: string;
|
|
@@ -3189,6 +3265,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$2 {
|
|
|
3189
3265
|
_id: string;
|
|
3190
3266
|
appId: string;
|
|
3191
3267
|
};
|
|
3268
|
+
catalogOverrideFields?: {
|
|
3269
|
+
productName?: {
|
|
3270
|
+
original: string;
|
|
3271
|
+
};
|
|
3272
|
+
descriptionLines: {
|
|
3273
|
+
plainText?: {
|
|
3274
|
+
original: string;
|
|
3275
|
+
};
|
|
3276
|
+
colorInfo?: {
|
|
3277
|
+
original: string;
|
|
3278
|
+
};
|
|
3279
|
+
name?: {
|
|
3280
|
+
original: string;
|
|
3281
|
+
};
|
|
3282
|
+
}[];
|
|
3283
|
+
physicalProperties?: {
|
|
3284
|
+
shippable: boolean;
|
|
3285
|
+
};
|
|
3286
|
+
image: string;
|
|
3287
|
+
};
|
|
3192
3288
|
}[];
|
|
3193
3289
|
buyerInfo?: {
|
|
3194
3290
|
visitorId: string;
|
|
@@ -3291,6 +3387,26 @@ interface EstimateTotalsResponseNonNullableFields$1 {
|
|
|
3291
3387
|
_id: string;
|
|
3292
3388
|
appId: string;
|
|
3293
3389
|
};
|
|
3390
|
+
catalogOverrideFields?: {
|
|
3391
|
+
productName?: {
|
|
3392
|
+
original: string;
|
|
3393
|
+
};
|
|
3394
|
+
descriptionLines: {
|
|
3395
|
+
plainText?: {
|
|
3396
|
+
original: string;
|
|
3397
|
+
};
|
|
3398
|
+
colorInfo?: {
|
|
3399
|
+
original: string;
|
|
3400
|
+
};
|
|
3401
|
+
name?: {
|
|
3402
|
+
original: string;
|
|
3403
|
+
};
|
|
3404
|
+
}[];
|
|
3405
|
+
physicalProperties?: {
|
|
3406
|
+
shippable: boolean;
|
|
3407
|
+
};
|
|
3408
|
+
image: string;
|
|
3409
|
+
};
|
|
3294
3410
|
}[];
|
|
3295
3411
|
buyerInfo?: {
|
|
3296
3412
|
visitorId: string;
|
|
@@ -4175,6 +4291,26 @@ declare function createCart$1(httpClient: HttpClient): (options?: CreateCartOpti
|
|
|
4175
4291
|
_id: string;
|
|
4176
4292
|
appId: string;
|
|
4177
4293
|
} | undefined;
|
|
4294
|
+
catalogOverrideFields?: {
|
|
4295
|
+
productName?: {
|
|
4296
|
+
original: string;
|
|
4297
|
+
} | undefined;
|
|
4298
|
+
descriptionLines: {
|
|
4299
|
+
plainText?: {
|
|
4300
|
+
original: string;
|
|
4301
|
+
} | undefined;
|
|
4302
|
+
colorInfo?: {
|
|
4303
|
+
original: string;
|
|
4304
|
+
} | undefined;
|
|
4305
|
+
name?: {
|
|
4306
|
+
original: string;
|
|
4307
|
+
} | undefined;
|
|
4308
|
+
}[];
|
|
4309
|
+
physicalProperties?: {
|
|
4310
|
+
shippable: boolean;
|
|
4311
|
+
} | undefined;
|
|
4312
|
+
image: string;
|
|
4313
|
+
} | undefined;
|
|
4178
4314
|
}[];
|
|
4179
4315
|
buyerInfo?: {
|
|
4180
4316
|
visitorId: string;
|
|
@@ -4275,6 +4411,26 @@ declare function updateCart$1(httpClient: HttpClient): (_id: string | null, opti
|
|
|
4275
4411
|
_id: string;
|
|
4276
4412
|
appId: string;
|
|
4277
4413
|
} | undefined;
|
|
4414
|
+
catalogOverrideFields?: {
|
|
4415
|
+
productName?: {
|
|
4416
|
+
original: string;
|
|
4417
|
+
} | undefined;
|
|
4418
|
+
descriptionLines: {
|
|
4419
|
+
plainText?: {
|
|
4420
|
+
original: string;
|
|
4421
|
+
} | undefined;
|
|
4422
|
+
colorInfo?: {
|
|
4423
|
+
original: string;
|
|
4424
|
+
} | undefined;
|
|
4425
|
+
name?: {
|
|
4426
|
+
original: string;
|
|
4427
|
+
} | undefined;
|
|
4428
|
+
}[];
|
|
4429
|
+
physicalProperties?: {
|
|
4430
|
+
shippable: boolean;
|
|
4431
|
+
} | undefined;
|
|
4432
|
+
image: string;
|
|
4433
|
+
} | undefined;
|
|
4278
4434
|
}[];
|
|
4279
4435
|
buyerInfo?: {
|
|
4280
4436
|
visitorId: string;
|
|
@@ -4375,6 +4531,26 @@ declare function getCart$1(httpClient: HttpClient): (_id: string) => Promise<Car
|
|
|
4375
4531
|
_id: string;
|
|
4376
4532
|
appId: string;
|
|
4377
4533
|
} | undefined;
|
|
4534
|
+
catalogOverrideFields?: {
|
|
4535
|
+
productName?: {
|
|
4536
|
+
original: string;
|
|
4537
|
+
} | undefined;
|
|
4538
|
+
descriptionLines: {
|
|
4539
|
+
plainText?: {
|
|
4540
|
+
original: string;
|
|
4541
|
+
} | undefined;
|
|
4542
|
+
colorInfo?: {
|
|
4543
|
+
original: string;
|
|
4544
|
+
} | undefined;
|
|
4545
|
+
name?: {
|
|
4546
|
+
original: string;
|
|
4547
|
+
} | undefined;
|
|
4548
|
+
}[];
|
|
4549
|
+
physicalProperties?: {
|
|
4550
|
+
shippable: boolean;
|
|
4551
|
+
} | undefined;
|
|
4552
|
+
image: string;
|
|
4553
|
+
} | undefined;
|
|
4378
4554
|
}[];
|
|
4379
4555
|
buyerInfo?: {
|
|
4380
4556
|
visitorId: string;
|
|
@@ -4626,6 +4802,8 @@ interface LineItem$2 {
|
|
|
4626
4802
|
* @readonly
|
|
4627
4803
|
*/
|
|
4628
4804
|
taxGroupId?: string | null;
|
|
4805
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
4806
|
+
catalogOverrideFields?: CatalogOverrideFields$2;
|
|
4629
4807
|
}
|
|
4630
4808
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
4631
4809
|
interface CatalogReference$3 {
|
|
@@ -4800,6 +4978,20 @@ interface SelectedMembership$2 {
|
|
|
4800
4978
|
/** ID of the app providing this payment option. */
|
|
4801
4979
|
appId?: string;
|
|
4802
4980
|
}
|
|
4981
|
+
interface CatalogOverrideFields$2 {
|
|
4982
|
+
/** Item product name */
|
|
4983
|
+
productName?: ProductName$3;
|
|
4984
|
+
/** Item price **after** discounts. */
|
|
4985
|
+
price?: string | null;
|
|
4986
|
+
/** Item price **before** discount. */
|
|
4987
|
+
fullPrice?: string | null;
|
|
4988
|
+
/** Line item description lines. Used for displaying the cart, checkout and order. */
|
|
4989
|
+
descriptionLines?: DescriptionLine$3[];
|
|
4990
|
+
/** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
|
|
4991
|
+
physicalProperties?: PhysicalProperties$3;
|
|
4992
|
+
/** Line item image details. */
|
|
4993
|
+
image?: string;
|
|
4994
|
+
}
|
|
4803
4995
|
/** Buyer Info */
|
|
4804
4996
|
interface BuyerInfo$3 extends BuyerInfoIdOneOf$3 {
|
|
4805
4997
|
/**
|
|
@@ -5721,6 +5913,26 @@ interface AddToCartResponseNonNullableFields {
|
|
|
5721
5913
|
_id: string;
|
|
5722
5914
|
appId: string;
|
|
5723
5915
|
};
|
|
5916
|
+
catalogOverrideFields?: {
|
|
5917
|
+
productName?: {
|
|
5918
|
+
original: string;
|
|
5919
|
+
};
|
|
5920
|
+
descriptionLines: {
|
|
5921
|
+
plainText?: {
|
|
5922
|
+
original: string;
|
|
5923
|
+
};
|
|
5924
|
+
colorInfo?: {
|
|
5925
|
+
original: string;
|
|
5926
|
+
};
|
|
5927
|
+
name?: {
|
|
5928
|
+
original: string;
|
|
5929
|
+
};
|
|
5930
|
+
}[];
|
|
5931
|
+
physicalProperties?: {
|
|
5932
|
+
shippable: boolean;
|
|
5933
|
+
};
|
|
5934
|
+
image: string;
|
|
5935
|
+
};
|
|
5724
5936
|
}[];
|
|
5725
5937
|
buyerInfo?: {
|
|
5726
5938
|
visitorId: string;
|
|
@@ -5823,6 +6035,26 @@ interface RemoveLineItemsResponseNonNullableFields$1 {
|
|
|
5823
6035
|
_id: string;
|
|
5824
6036
|
appId: string;
|
|
5825
6037
|
};
|
|
6038
|
+
catalogOverrideFields?: {
|
|
6039
|
+
productName?: {
|
|
6040
|
+
original: string;
|
|
6041
|
+
};
|
|
6042
|
+
descriptionLines: {
|
|
6043
|
+
plainText?: {
|
|
6044
|
+
original: string;
|
|
6045
|
+
};
|
|
6046
|
+
colorInfo?: {
|
|
6047
|
+
original: string;
|
|
6048
|
+
};
|
|
6049
|
+
name?: {
|
|
6050
|
+
original: string;
|
|
6051
|
+
};
|
|
6052
|
+
}[];
|
|
6053
|
+
physicalProperties?: {
|
|
6054
|
+
shippable: boolean;
|
|
6055
|
+
};
|
|
6056
|
+
image: string;
|
|
6057
|
+
};
|
|
5826
6058
|
}[];
|
|
5827
6059
|
buyerInfo?: {
|
|
5828
6060
|
visitorId: string;
|
|
@@ -5928,6 +6160,26 @@ interface RemoveCouponResponseNonNullableFields$1 {
|
|
|
5928
6160
|
_id: string;
|
|
5929
6161
|
appId: string;
|
|
5930
6162
|
};
|
|
6163
|
+
catalogOverrideFields?: {
|
|
6164
|
+
productName?: {
|
|
6165
|
+
original: string;
|
|
6166
|
+
};
|
|
6167
|
+
descriptionLines: {
|
|
6168
|
+
plainText?: {
|
|
6169
|
+
original: string;
|
|
6170
|
+
};
|
|
6171
|
+
colorInfo?: {
|
|
6172
|
+
original: string;
|
|
6173
|
+
};
|
|
6174
|
+
name?: {
|
|
6175
|
+
original: string;
|
|
6176
|
+
};
|
|
6177
|
+
}[];
|
|
6178
|
+
physicalProperties?: {
|
|
6179
|
+
shippable: boolean;
|
|
6180
|
+
};
|
|
6181
|
+
image: string;
|
|
6182
|
+
};
|
|
5931
6183
|
}[];
|
|
5932
6184
|
buyerInfo?: {
|
|
5933
6185
|
visitorId: string;
|
|
@@ -6030,6 +6282,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$1 {
|
|
|
6030
6282
|
_id: string;
|
|
6031
6283
|
appId: string;
|
|
6032
6284
|
};
|
|
6285
|
+
catalogOverrideFields?: {
|
|
6286
|
+
productName?: {
|
|
6287
|
+
original: string;
|
|
6288
|
+
};
|
|
6289
|
+
descriptionLines: {
|
|
6290
|
+
plainText?: {
|
|
6291
|
+
original: string;
|
|
6292
|
+
};
|
|
6293
|
+
colorInfo?: {
|
|
6294
|
+
original: string;
|
|
6295
|
+
};
|
|
6296
|
+
name?: {
|
|
6297
|
+
original: string;
|
|
6298
|
+
};
|
|
6299
|
+
}[];
|
|
6300
|
+
physicalProperties?: {
|
|
6301
|
+
shippable: boolean;
|
|
6302
|
+
};
|
|
6303
|
+
image: string;
|
|
6304
|
+
};
|
|
6033
6305
|
}[];
|
|
6034
6306
|
buyerInfo?: {
|
|
6035
6307
|
visitorId: string;
|
|
@@ -6132,6 +6404,26 @@ interface EstimateTotalsResponseNonNullableFields {
|
|
|
6132
6404
|
_id: string;
|
|
6133
6405
|
appId: string;
|
|
6134
6406
|
};
|
|
6407
|
+
catalogOverrideFields?: {
|
|
6408
|
+
productName?: {
|
|
6409
|
+
original: string;
|
|
6410
|
+
};
|
|
6411
|
+
descriptionLines: {
|
|
6412
|
+
plainText?: {
|
|
6413
|
+
original: string;
|
|
6414
|
+
};
|
|
6415
|
+
colorInfo?: {
|
|
6416
|
+
original: string;
|
|
6417
|
+
};
|
|
6418
|
+
name?: {
|
|
6419
|
+
original: string;
|
|
6420
|
+
};
|
|
6421
|
+
}[];
|
|
6422
|
+
physicalProperties?: {
|
|
6423
|
+
shippable: boolean;
|
|
6424
|
+
};
|
|
6425
|
+
image: string;
|
|
6426
|
+
};
|
|
6135
6427
|
}[];
|
|
6136
6428
|
buyerInfo?: {
|
|
6137
6429
|
visitorId: string;
|
|
@@ -6927,6 +7219,26 @@ declare function getCurrentCart$1(httpClient: HttpClient): () => Promise<Cart &
|
|
|
6927
7219
|
_id: string;
|
|
6928
7220
|
appId: string;
|
|
6929
7221
|
} | undefined;
|
|
7222
|
+
catalogOverrideFields?: {
|
|
7223
|
+
productName?: {
|
|
7224
|
+
original: string;
|
|
7225
|
+
} | undefined;
|
|
7226
|
+
descriptionLines: {
|
|
7227
|
+
plainText?: {
|
|
7228
|
+
original: string;
|
|
7229
|
+
} | undefined;
|
|
7230
|
+
colorInfo?: {
|
|
7231
|
+
original: string;
|
|
7232
|
+
} | undefined;
|
|
7233
|
+
name?: {
|
|
7234
|
+
original: string;
|
|
7235
|
+
} | undefined;
|
|
7236
|
+
}[];
|
|
7237
|
+
physicalProperties?: {
|
|
7238
|
+
shippable: boolean;
|
|
7239
|
+
} | undefined;
|
|
7240
|
+
image: string;
|
|
7241
|
+
} | undefined;
|
|
6930
7242
|
}[];
|
|
6931
7243
|
buyerInfo?: {
|
|
6932
7244
|
visitorId: string;
|
|
@@ -7027,6 +7339,26 @@ declare function updateCurrentCart$1(httpClient: HttpClient): (options?: UpdateC
|
|
|
7027
7339
|
_id: string;
|
|
7028
7340
|
appId: string;
|
|
7029
7341
|
} | undefined;
|
|
7342
|
+
catalogOverrideFields?: {
|
|
7343
|
+
productName?: {
|
|
7344
|
+
original: string;
|
|
7345
|
+
} | undefined;
|
|
7346
|
+
descriptionLines: {
|
|
7347
|
+
plainText?: {
|
|
7348
|
+
original: string;
|
|
7349
|
+
} | undefined;
|
|
7350
|
+
colorInfo?: {
|
|
7351
|
+
original: string;
|
|
7352
|
+
} | undefined;
|
|
7353
|
+
name?: {
|
|
7354
|
+
original: string;
|
|
7355
|
+
} | undefined;
|
|
7356
|
+
}[];
|
|
7357
|
+
physicalProperties?: {
|
|
7358
|
+
shippable: boolean;
|
|
7359
|
+
} | undefined;
|
|
7360
|
+
image: string;
|
|
7361
|
+
} | undefined;
|
|
7030
7362
|
}[];
|
|
7031
7363
|
buyerInfo?: {
|
|
7032
7364
|
visitorId: string;
|