@wix/ecom 1.0.627 → 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 +6 -6
- package/type-bundles/context.bundle.d.ts +606 -0
- package/type-bundles/index.bundle.d.ts +830 -0
- package/type-bundles/meta.bundle.d.ts +1188 -302
|
@@ -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;
|
|
@@ -7383,6 +7715,8 @@ interface LineItem$1 {
|
|
|
7383
7715
|
* @readonly
|
|
7384
7716
|
*/
|
|
7385
7717
|
depositAmount?: MultiCurrencyPrice$1;
|
|
7718
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
7719
|
+
catalogOverrideFields?: CatalogOverrideFields$1;
|
|
7386
7720
|
}
|
|
7387
7721
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
7388
7722
|
interface CatalogReference$2 {
|
|
@@ -7595,6 +7929,20 @@ interface PriceDescription$2 {
|
|
|
7595
7929
|
*/
|
|
7596
7930
|
translated?: string | null;
|
|
7597
7931
|
}
|
|
7932
|
+
interface CatalogOverrideFields$1 {
|
|
7933
|
+
/** Item product name */
|
|
7934
|
+
productName?: ProductName$2;
|
|
7935
|
+
/** Item price **after** discounts. */
|
|
7936
|
+
price?: string | null;
|
|
7937
|
+
/** Item price **before** discount. */
|
|
7938
|
+
fullPrice?: string | null;
|
|
7939
|
+
/** Line item description lines. Used for displaying the cart, checkout and order. */
|
|
7940
|
+
descriptionLines?: DescriptionLine$2[];
|
|
7941
|
+
/** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
|
|
7942
|
+
physicalProperties?: PhysicalProperties$2;
|
|
7943
|
+
/** Line item image details. */
|
|
7944
|
+
image?: string;
|
|
7945
|
+
}
|
|
7598
7946
|
/** Billing Info and shipping details */
|
|
7599
7947
|
interface AddressWithContact$2 {
|
|
7600
7948
|
/** Address. */
|
|
@@ -8535,6 +8883,26 @@ interface GetCheckoutResponseNonNullableFields {
|
|
|
8535
8883
|
formattedAmount: string;
|
|
8536
8884
|
formattedConvertedAmount: string;
|
|
8537
8885
|
};
|
|
8886
|
+
catalogOverrideFields?: {
|
|
8887
|
+
productName?: {
|
|
8888
|
+
original: string;
|
|
8889
|
+
};
|
|
8890
|
+
descriptionLines: {
|
|
8891
|
+
plainText?: {
|
|
8892
|
+
original: string;
|
|
8893
|
+
};
|
|
8894
|
+
colorInfo?: {
|
|
8895
|
+
original: string;
|
|
8896
|
+
};
|
|
8897
|
+
name?: {
|
|
8898
|
+
original: string;
|
|
8899
|
+
};
|
|
8900
|
+
}[];
|
|
8901
|
+
physicalProperties?: {
|
|
8902
|
+
shippable: boolean;
|
|
8903
|
+
};
|
|
8904
|
+
image: string;
|
|
8905
|
+
};
|
|
8538
8906
|
}[];
|
|
8539
8907
|
billingInfo?: {
|
|
8540
8908
|
contactDetails?: {
|
|
@@ -9220,6 +9588,26 @@ interface RemoveCouponResponseNonNullableFields {
|
|
|
9220
9588
|
formattedAmount: string;
|
|
9221
9589
|
formattedConvertedAmount: string;
|
|
9222
9590
|
};
|
|
9591
|
+
catalogOverrideFields?: {
|
|
9592
|
+
productName?: {
|
|
9593
|
+
original: string;
|
|
9594
|
+
};
|
|
9595
|
+
descriptionLines: {
|
|
9596
|
+
plainText?: {
|
|
9597
|
+
original: string;
|
|
9598
|
+
};
|
|
9599
|
+
colorInfo?: {
|
|
9600
|
+
original: string;
|
|
9601
|
+
};
|
|
9602
|
+
name?: {
|
|
9603
|
+
original: string;
|
|
9604
|
+
};
|
|
9605
|
+
}[];
|
|
9606
|
+
physicalProperties?: {
|
|
9607
|
+
shippable: boolean;
|
|
9608
|
+
};
|
|
9609
|
+
image: string;
|
|
9610
|
+
};
|
|
9223
9611
|
}[];
|
|
9224
9612
|
billingInfo?: {
|
|
9225
9613
|
contactDetails?: {
|
|
@@ -9902,6 +10290,26 @@ interface RemoveGiftCardResponseNonNullableFields {
|
|
|
9902
10290
|
formattedAmount: string;
|
|
9903
10291
|
formattedConvertedAmount: string;
|
|
9904
10292
|
};
|
|
10293
|
+
catalogOverrideFields?: {
|
|
10294
|
+
productName?: {
|
|
10295
|
+
original: string;
|
|
10296
|
+
};
|
|
10297
|
+
descriptionLines: {
|
|
10298
|
+
plainText?: {
|
|
10299
|
+
original: string;
|
|
10300
|
+
};
|
|
10301
|
+
colorInfo?: {
|
|
10302
|
+
original: string;
|
|
10303
|
+
};
|
|
10304
|
+
name?: {
|
|
10305
|
+
original: string;
|
|
10306
|
+
};
|
|
10307
|
+
}[];
|
|
10308
|
+
physicalProperties?: {
|
|
10309
|
+
shippable: boolean;
|
|
10310
|
+
};
|
|
10311
|
+
image: string;
|
|
10312
|
+
};
|
|
9905
10313
|
}[];
|
|
9906
10314
|
billingInfo?: {
|
|
9907
10315
|
contactDetails?: {
|
|
@@ -10584,6 +10992,26 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields {
|
|
|
10584
10992
|
formattedAmount: string;
|
|
10585
10993
|
formattedConvertedAmount: string;
|
|
10586
10994
|
};
|
|
10995
|
+
catalogOverrideFields?: {
|
|
10996
|
+
productName?: {
|
|
10997
|
+
original: string;
|
|
10998
|
+
};
|
|
10999
|
+
descriptionLines: {
|
|
11000
|
+
plainText?: {
|
|
11001
|
+
original: string;
|
|
11002
|
+
};
|
|
11003
|
+
colorInfo?: {
|
|
11004
|
+
original: string;
|
|
11005
|
+
};
|
|
11006
|
+
name?: {
|
|
11007
|
+
original: string;
|
|
11008
|
+
};
|
|
11009
|
+
}[];
|
|
11010
|
+
physicalProperties?: {
|
|
11011
|
+
shippable: boolean;
|
|
11012
|
+
};
|
|
11013
|
+
image: string;
|
|
11014
|
+
};
|
|
10587
11015
|
}[];
|
|
10588
11016
|
billingInfo?: {
|
|
10589
11017
|
contactDetails?: {
|
|
@@ -11266,6 +11694,26 @@ interface AddToCheckoutResponseNonNullableFields {
|
|
|
11266
11694
|
formattedAmount: string;
|
|
11267
11695
|
formattedConvertedAmount: string;
|
|
11268
11696
|
};
|
|
11697
|
+
catalogOverrideFields?: {
|
|
11698
|
+
productName?: {
|
|
11699
|
+
original: string;
|
|
11700
|
+
};
|
|
11701
|
+
descriptionLines: {
|
|
11702
|
+
plainText?: {
|
|
11703
|
+
original: string;
|
|
11704
|
+
};
|
|
11705
|
+
colorInfo?: {
|
|
11706
|
+
original: string;
|
|
11707
|
+
};
|
|
11708
|
+
name?: {
|
|
11709
|
+
original: string;
|
|
11710
|
+
};
|
|
11711
|
+
}[];
|
|
11712
|
+
physicalProperties?: {
|
|
11713
|
+
shippable: boolean;
|
|
11714
|
+
};
|
|
11715
|
+
image: string;
|
|
11716
|
+
};
|
|
11269
11717
|
}[];
|
|
11270
11718
|
billingInfo?: {
|
|
11271
11719
|
contactDetails?: {
|
|
@@ -11948,6 +12396,26 @@ interface RemoveLineItemsResponseNonNullableFields {
|
|
|
11948
12396
|
formattedAmount: string;
|
|
11949
12397
|
formattedConvertedAmount: string;
|
|
11950
12398
|
};
|
|
12399
|
+
catalogOverrideFields?: {
|
|
12400
|
+
productName?: {
|
|
12401
|
+
original: string;
|
|
12402
|
+
};
|
|
12403
|
+
descriptionLines: {
|
|
12404
|
+
plainText?: {
|
|
12405
|
+
original: string;
|
|
12406
|
+
};
|
|
12407
|
+
colorInfo?: {
|
|
12408
|
+
original: string;
|
|
12409
|
+
};
|
|
12410
|
+
name?: {
|
|
12411
|
+
original: string;
|
|
12412
|
+
};
|
|
12413
|
+
}[];
|
|
12414
|
+
physicalProperties?: {
|
|
12415
|
+
shippable: boolean;
|
|
12416
|
+
};
|
|
12417
|
+
image: string;
|
|
12418
|
+
};
|
|
11951
12419
|
}[];
|
|
11952
12420
|
billingInfo?: {
|
|
11953
12421
|
contactDetails?: {
|
|
@@ -12634,6 +13102,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
12634
13102
|
formattedAmount: string;
|
|
12635
13103
|
formattedConvertedAmount: string;
|
|
12636
13104
|
};
|
|
13105
|
+
catalogOverrideFields?: {
|
|
13106
|
+
productName?: {
|
|
13107
|
+
original: string;
|
|
13108
|
+
};
|
|
13109
|
+
descriptionLines: {
|
|
13110
|
+
plainText?: {
|
|
13111
|
+
original: string;
|
|
13112
|
+
};
|
|
13113
|
+
colorInfo?: {
|
|
13114
|
+
original: string;
|
|
13115
|
+
};
|
|
13116
|
+
name?: {
|
|
13117
|
+
original: string;
|
|
13118
|
+
};
|
|
13119
|
+
}[];
|
|
13120
|
+
physicalProperties?: {
|
|
13121
|
+
shippable: boolean;
|
|
13122
|
+
};
|
|
13123
|
+
image: string;
|
|
13124
|
+
};
|
|
12637
13125
|
}[];
|
|
12638
13126
|
billingInfo?: {
|
|
12639
13127
|
contactDetails?: {
|
|
@@ -13573,6 +14061,26 @@ declare function createCheckout$1(httpClient: HttpClient): (options?: CreateChec
|
|
|
13573
14061
|
formattedAmount: string;
|
|
13574
14062
|
formattedConvertedAmount: string;
|
|
13575
14063
|
} | undefined;
|
|
14064
|
+
catalogOverrideFields?: {
|
|
14065
|
+
productName?: {
|
|
14066
|
+
original: string;
|
|
14067
|
+
} | undefined;
|
|
14068
|
+
descriptionLines: {
|
|
14069
|
+
plainText?: {
|
|
14070
|
+
original: string;
|
|
14071
|
+
} | undefined;
|
|
14072
|
+
colorInfo?: {
|
|
14073
|
+
original: string;
|
|
14074
|
+
} | undefined;
|
|
14075
|
+
name?: {
|
|
14076
|
+
original: string;
|
|
14077
|
+
} | undefined;
|
|
14078
|
+
}[];
|
|
14079
|
+
physicalProperties?: {
|
|
14080
|
+
shippable: boolean;
|
|
14081
|
+
} | undefined;
|
|
14082
|
+
image: string;
|
|
14083
|
+
} | undefined;
|
|
13576
14084
|
}[];
|
|
13577
14085
|
billingInfo?: {
|
|
13578
14086
|
contactDetails?: {
|
|
@@ -14255,6 +14763,26 @@ declare function updateCheckout$1(httpClient: HttpClient): (_id: string | null,
|
|
|
14255
14763
|
formattedAmount: string;
|
|
14256
14764
|
formattedConvertedAmount: string;
|
|
14257
14765
|
} | undefined;
|
|
14766
|
+
catalogOverrideFields?: {
|
|
14767
|
+
productName?: {
|
|
14768
|
+
original: string;
|
|
14769
|
+
} | undefined;
|
|
14770
|
+
descriptionLines: {
|
|
14771
|
+
plainText?: {
|
|
14772
|
+
original: string;
|
|
14773
|
+
} | undefined;
|
|
14774
|
+
colorInfo?: {
|
|
14775
|
+
original: string;
|
|
14776
|
+
} | undefined;
|
|
14777
|
+
name?: {
|
|
14778
|
+
original: string;
|
|
14779
|
+
} | undefined;
|
|
14780
|
+
}[];
|
|
14781
|
+
physicalProperties?: {
|
|
14782
|
+
shippable: boolean;
|
|
14783
|
+
} | undefined;
|
|
14784
|
+
image: string;
|
|
14785
|
+
} | undefined;
|
|
14258
14786
|
}[];
|
|
14259
14787
|
billingInfo?: {
|
|
14260
14788
|
contactDetails?: {
|
|
@@ -15171,6 +15699,8 @@ interface V1LineItem {
|
|
|
15171
15699
|
* > **Note:** For more information on what to pass to `lineItems.catalogReference`, see [eCommerce Integration in the Wix Stores Catalog API](https://dev.wix.com/api/rest/wix-stores/catalog/ecommerce-integration).
|
|
15172
15700
|
*/
|
|
15173
15701
|
catalogReference?: CatalogReference$1;
|
|
15702
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
15703
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
15174
15704
|
}
|
|
15175
15705
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
15176
15706
|
interface CatalogReference$1 {
|
|
@@ -15194,6 +15724,20 @@ interface CatalogReference$1 {
|
|
|
15194
15724
|
*/
|
|
15195
15725
|
options?: Record<string, any> | null;
|
|
15196
15726
|
}
|
|
15727
|
+
interface CatalogOverrideFields {
|
|
15728
|
+
/** Item product name */
|
|
15729
|
+
productName?: ProductName$1;
|
|
15730
|
+
/** Item price **after** discounts. */
|
|
15731
|
+
price?: string | null;
|
|
15732
|
+
/** Item price **before** discount. */
|
|
15733
|
+
fullPrice?: string | null;
|
|
15734
|
+
/** Line item description lines. Used for displaying the cart, checkout and order. */
|
|
15735
|
+
descriptionLines?: DescriptionLine$1[];
|
|
15736
|
+
/** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
|
|
15737
|
+
physicalProperties?: PhysicalProperties$1;
|
|
15738
|
+
/** Line item image details. */
|
|
15739
|
+
image?: string;
|
|
15740
|
+
}
|
|
15197
15741
|
interface ProductName$1 {
|
|
15198
15742
|
/**
|
|
15199
15743
|
* __Required.__ Item 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).
|
|
@@ -15635,6 +16179,8 @@ interface LineItem {
|
|
|
15635
16179
|
* @readonly
|
|
15636
16180
|
*/
|
|
15637
16181
|
depositAmount?: MultiCurrencyPrice;
|
|
16182
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
16183
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
15638
16184
|
}
|
|
15639
16185
|
interface MultiCurrencyPrice {
|
|
15640
16186
|
/** Amount. */
|
|
@@ -16610,6 +17156,26 @@ declare function createCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemp
|
|
|
16610
17156
|
catalogItemId: string;
|
|
16611
17157
|
appId: string;
|
|
16612
17158
|
} | undefined;
|
|
17159
|
+
catalogOverrideFields?: {
|
|
17160
|
+
productName?: {
|
|
17161
|
+
original: string;
|
|
17162
|
+
} | undefined;
|
|
17163
|
+
descriptionLines: {
|
|
17164
|
+
plainText?: {
|
|
17165
|
+
original: string;
|
|
17166
|
+
} | undefined;
|
|
17167
|
+
colorInfo?: {
|
|
17168
|
+
original: string;
|
|
17169
|
+
} | undefined;
|
|
17170
|
+
name?: {
|
|
17171
|
+
original: string;
|
|
17172
|
+
} | undefined;
|
|
17173
|
+
}[];
|
|
17174
|
+
physicalProperties?: {
|
|
17175
|
+
shippable: boolean;
|
|
17176
|
+
} | undefined;
|
|
17177
|
+
image: string;
|
|
17178
|
+
} | undefined;
|
|
16613
17179
|
}[];
|
|
16614
17180
|
}>;
|
|
16615
17181
|
declare function getCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<CheckoutTemplate & {
|
|
@@ -16627,6 +17193,26 @@ declare function getCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemplat
|
|
|
16627
17193
|
catalogItemId: string;
|
|
16628
17194
|
appId: string;
|
|
16629
17195
|
} | undefined;
|
|
17196
|
+
catalogOverrideFields?: {
|
|
17197
|
+
productName?: {
|
|
17198
|
+
original: string;
|
|
17199
|
+
} | undefined;
|
|
17200
|
+
descriptionLines: {
|
|
17201
|
+
plainText?: {
|
|
17202
|
+
original: string;
|
|
17203
|
+
} | undefined;
|
|
17204
|
+
colorInfo?: {
|
|
17205
|
+
original: string;
|
|
17206
|
+
} | undefined;
|
|
17207
|
+
name?: {
|
|
17208
|
+
original: string;
|
|
17209
|
+
} | undefined;
|
|
17210
|
+
}[];
|
|
17211
|
+
physicalProperties?: {
|
|
17212
|
+
shippable: boolean;
|
|
17213
|
+
} | undefined;
|
|
17214
|
+
image: string;
|
|
17215
|
+
} | undefined;
|
|
16630
17216
|
}[];
|
|
16631
17217
|
}>;
|
|
16632
17218
|
declare function updateCheckoutTemplate$1(httpClient: HttpClient): (_id: string | null, checkoutTemplate: UpdateCheckoutTemplate) => Promise<CheckoutTemplate & {
|
|
@@ -16644,6 +17230,26 @@ declare function updateCheckoutTemplate$1(httpClient: HttpClient): (_id: string
|
|
|
16644
17230
|
catalogItemId: string;
|
|
16645
17231
|
appId: string;
|
|
16646
17232
|
} | undefined;
|
|
17233
|
+
catalogOverrideFields?: {
|
|
17234
|
+
productName?: {
|
|
17235
|
+
original: string;
|
|
17236
|
+
} | undefined;
|
|
17237
|
+
descriptionLines: {
|
|
17238
|
+
plainText?: {
|
|
17239
|
+
original: string;
|
|
17240
|
+
} | undefined;
|
|
17241
|
+
colorInfo?: {
|
|
17242
|
+
original: string;
|
|
17243
|
+
} | undefined;
|
|
17244
|
+
name?: {
|
|
17245
|
+
original: string;
|
|
17246
|
+
} | undefined;
|
|
17247
|
+
}[];
|
|
17248
|
+
physicalProperties?: {
|
|
17249
|
+
shippable: boolean;
|
|
17250
|
+
} | undefined;
|
|
17251
|
+
image: string;
|
|
17252
|
+
} | undefined;
|
|
16647
17253
|
}[];
|
|
16648
17254
|
}>;
|
|
16649
17255
|
declare function deleteCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<void>;
|