@wix/ecom 1.0.628 → 1.0.629
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 +0 -606
- package/type-bundles/index.bundle.d.ts +5 -835
- package/type-bundles/meta.bundle.d.ts +302 -1188
|
@@ -1785,8 +1785,6 @@ 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;
|
|
1790
1788
|
}
|
|
1791
1789
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
1792
1790
|
interface CatalogReference$4 {
|
|
@@ -1961,20 +1959,6 @@ interface SelectedMembership$3 {
|
|
|
1961
1959
|
/** ID of the app providing this payment option. */
|
|
1962
1960
|
appId?: string;
|
|
1963
1961
|
}
|
|
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
|
-
}
|
|
1978
1962
|
/** Buyer Info */
|
|
1979
1963
|
interface BuyerInfo$4 extends BuyerInfoIdOneOf$4 {
|
|
1980
1964
|
/**
|
|
@@ -2896,26 +2880,6 @@ interface AddToCartResponseNonNullableFields$1 {
|
|
|
2896
2880
|
_id: string;
|
|
2897
2881
|
appId: string;
|
|
2898
2882
|
};
|
|
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
|
-
};
|
|
2919
2883
|
}[];
|
|
2920
2884
|
buyerInfo?: {
|
|
2921
2885
|
visitorId: string;
|
|
@@ -3018,26 +2982,6 @@ interface RemoveLineItemsResponseNonNullableFields$2 {
|
|
|
3018
2982
|
_id: string;
|
|
3019
2983
|
appId: string;
|
|
3020
2984
|
};
|
|
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
|
-
};
|
|
3041
2985
|
}[];
|
|
3042
2986
|
buyerInfo?: {
|
|
3043
2987
|
visitorId: string;
|
|
@@ -3143,26 +3087,6 @@ interface RemoveCouponResponseNonNullableFields$2 {
|
|
|
3143
3087
|
_id: string;
|
|
3144
3088
|
appId: string;
|
|
3145
3089
|
};
|
|
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
|
-
};
|
|
3166
3090
|
}[];
|
|
3167
3091
|
buyerInfo?: {
|
|
3168
3092
|
visitorId: string;
|
|
@@ -3265,26 +3189,6 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$2 {
|
|
|
3265
3189
|
_id: string;
|
|
3266
3190
|
appId: string;
|
|
3267
3191
|
};
|
|
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
|
-
};
|
|
3288
3192
|
}[];
|
|
3289
3193
|
buyerInfo?: {
|
|
3290
3194
|
visitorId: string;
|
|
@@ -3387,26 +3291,6 @@ interface EstimateTotalsResponseNonNullableFields$1 {
|
|
|
3387
3291
|
_id: string;
|
|
3388
3292
|
appId: string;
|
|
3389
3293
|
};
|
|
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
|
-
};
|
|
3410
3294
|
}[];
|
|
3411
3295
|
buyerInfo?: {
|
|
3412
3296
|
visitorId: string;
|
|
@@ -4291,26 +4175,6 @@ declare function createCart$1(httpClient: HttpClient): (options?: CreateCartOpti
|
|
|
4291
4175
|
_id: string;
|
|
4292
4176
|
appId: string;
|
|
4293
4177
|
} | 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;
|
|
4314
4178
|
}[];
|
|
4315
4179
|
buyerInfo?: {
|
|
4316
4180
|
visitorId: string;
|
|
@@ -4411,26 +4275,6 @@ declare function updateCart$1(httpClient: HttpClient): (_id: string | null, opti
|
|
|
4411
4275
|
_id: string;
|
|
4412
4276
|
appId: string;
|
|
4413
4277
|
} | 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;
|
|
4434
4278
|
}[];
|
|
4435
4279
|
buyerInfo?: {
|
|
4436
4280
|
visitorId: string;
|
|
@@ -4531,26 +4375,6 @@ declare function getCart$1(httpClient: HttpClient): (_id: string) => Promise<Car
|
|
|
4531
4375
|
_id: string;
|
|
4532
4376
|
appId: string;
|
|
4533
4377
|
} | 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;
|
|
4554
4378
|
}[];
|
|
4555
4379
|
buyerInfo?: {
|
|
4556
4380
|
visitorId: string;
|
|
@@ -4802,8 +4626,6 @@ interface LineItem$2 {
|
|
|
4802
4626
|
* @readonly
|
|
4803
4627
|
*/
|
|
4804
4628
|
taxGroupId?: string | null;
|
|
4805
|
-
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
4806
|
-
catalogOverrideFields?: CatalogOverrideFields$2;
|
|
4807
4629
|
}
|
|
4808
4630
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
4809
4631
|
interface CatalogReference$3 {
|
|
@@ -4978,20 +4800,6 @@ interface SelectedMembership$2 {
|
|
|
4978
4800
|
/** ID of the app providing this payment option. */
|
|
4979
4801
|
appId?: string;
|
|
4980
4802
|
}
|
|
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
|
-
}
|
|
4995
4803
|
/** Buyer Info */
|
|
4996
4804
|
interface BuyerInfo$3 extends BuyerInfoIdOneOf$3 {
|
|
4997
4805
|
/**
|
|
@@ -5913,26 +5721,6 @@ interface AddToCartResponseNonNullableFields {
|
|
|
5913
5721
|
_id: string;
|
|
5914
5722
|
appId: string;
|
|
5915
5723
|
};
|
|
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
|
-
};
|
|
5936
5724
|
}[];
|
|
5937
5725
|
buyerInfo?: {
|
|
5938
5726
|
visitorId: string;
|
|
@@ -6035,26 +5823,6 @@ interface RemoveLineItemsResponseNonNullableFields$1 {
|
|
|
6035
5823
|
_id: string;
|
|
6036
5824
|
appId: string;
|
|
6037
5825
|
};
|
|
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
|
-
};
|
|
6058
5826
|
}[];
|
|
6059
5827
|
buyerInfo?: {
|
|
6060
5828
|
visitorId: string;
|
|
@@ -6160,26 +5928,6 @@ interface RemoveCouponResponseNonNullableFields$1 {
|
|
|
6160
5928
|
_id: string;
|
|
6161
5929
|
appId: string;
|
|
6162
5930
|
};
|
|
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
|
-
};
|
|
6183
5931
|
}[];
|
|
6184
5932
|
buyerInfo?: {
|
|
6185
5933
|
visitorId: string;
|
|
@@ -6282,26 +6030,6 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$1 {
|
|
|
6282
6030
|
_id: string;
|
|
6283
6031
|
appId: string;
|
|
6284
6032
|
};
|
|
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
|
-
};
|
|
6305
6033
|
}[];
|
|
6306
6034
|
buyerInfo?: {
|
|
6307
6035
|
visitorId: string;
|
|
@@ -6404,26 +6132,6 @@ interface EstimateTotalsResponseNonNullableFields {
|
|
|
6404
6132
|
_id: string;
|
|
6405
6133
|
appId: string;
|
|
6406
6134
|
};
|
|
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
|
-
};
|
|
6427
6135
|
}[];
|
|
6428
6136
|
buyerInfo?: {
|
|
6429
6137
|
visitorId: string;
|
|
@@ -7219,26 +6927,6 @@ declare function getCurrentCart$1(httpClient: HttpClient): () => Promise<Cart &
|
|
|
7219
6927
|
_id: string;
|
|
7220
6928
|
appId: string;
|
|
7221
6929
|
} | 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;
|
|
7242
6930
|
}[];
|
|
7243
6931
|
buyerInfo?: {
|
|
7244
6932
|
visitorId: string;
|
|
@@ -7339,26 +7027,6 @@ declare function updateCurrentCart$1(httpClient: HttpClient): (options?: UpdateC
|
|
|
7339
7027
|
_id: string;
|
|
7340
7028
|
appId: string;
|
|
7341
7029
|
} | 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;
|
|
7362
7030
|
}[];
|
|
7363
7031
|
buyerInfo?: {
|
|
7364
7032
|
visitorId: string;
|
|
@@ -7715,8 +7383,6 @@ interface LineItem$1 {
|
|
|
7715
7383
|
* @readonly
|
|
7716
7384
|
*/
|
|
7717
7385
|
depositAmount?: MultiCurrencyPrice$1;
|
|
7718
|
-
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
7719
|
-
catalogOverrideFields?: CatalogOverrideFields$1;
|
|
7720
7386
|
}
|
|
7721
7387
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
7722
7388
|
interface CatalogReference$2 {
|
|
@@ -7929,20 +7595,6 @@ interface PriceDescription$2 {
|
|
|
7929
7595
|
*/
|
|
7930
7596
|
translated?: string | null;
|
|
7931
7597
|
}
|
|
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
|
-
}
|
|
7946
7598
|
/** Billing Info and shipping details */
|
|
7947
7599
|
interface AddressWithContact$2 {
|
|
7948
7600
|
/** Address. */
|
|
@@ -8883,26 +8535,6 @@ interface GetCheckoutResponseNonNullableFields {
|
|
|
8883
8535
|
formattedAmount: string;
|
|
8884
8536
|
formattedConvertedAmount: string;
|
|
8885
8537
|
};
|
|
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
|
-
};
|
|
8906
8538
|
}[];
|
|
8907
8539
|
billingInfo?: {
|
|
8908
8540
|
contactDetails?: {
|
|
@@ -9588,26 +9220,6 @@ interface RemoveCouponResponseNonNullableFields {
|
|
|
9588
9220
|
formattedAmount: string;
|
|
9589
9221
|
formattedConvertedAmount: string;
|
|
9590
9222
|
};
|
|
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
|
-
};
|
|
9611
9223
|
}[];
|
|
9612
9224
|
billingInfo?: {
|
|
9613
9225
|
contactDetails?: {
|
|
@@ -10290,26 +9902,6 @@ interface RemoveGiftCardResponseNonNullableFields {
|
|
|
10290
9902
|
formattedAmount: string;
|
|
10291
9903
|
formattedConvertedAmount: string;
|
|
10292
9904
|
};
|
|
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
|
-
};
|
|
10313
9905
|
}[];
|
|
10314
9906
|
billingInfo?: {
|
|
10315
9907
|
contactDetails?: {
|
|
@@ -10992,26 +10584,6 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields {
|
|
|
10992
10584
|
formattedAmount: string;
|
|
10993
10585
|
formattedConvertedAmount: string;
|
|
10994
10586
|
};
|
|
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
|
-
};
|
|
11015
10587
|
}[];
|
|
11016
10588
|
billingInfo?: {
|
|
11017
10589
|
contactDetails?: {
|
|
@@ -11694,26 +11266,6 @@ interface AddToCheckoutResponseNonNullableFields {
|
|
|
11694
11266
|
formattedAmount: string;
|
|
11695
11267
|
formattedConvertedAmount: string;
|
|
11696
11268
|
};
|
|
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
|
-
};
|
|
11717
11269
|
}[];
|
|
11718
11270
|
billingInfo?: {
|
|
11719
11271
|
contactDetails?: {
|
|
@@ -12396,26 +11948,6 @@ interface RemoveLineItemsResponseNonNullableFields {
|
|
|
12396
11948
|
formattedAmount: string;
|
|
12397
11949
|
formattedConvertedAmount: string;
|
|
12398
11950
|
};
|
|
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
|
-
};
|
|
12419
11951
|
}[];
|
|
12420
11952
|
billingInfo?: {
|
|
12421
11953
|
contactDetails?: {
|
|
@@ -13102,26 +12634,6 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
13102
12634
|
formattedAmount: string;
|
|
13103
12635
|
formattedConvertedAmount: string;
|
|
13104
12636
|
};
|
|
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
|
-
};
|
|
13125
12637
|
}[];
|
|
13126
12638
|
billingInfo?: {
|
|
13127
12639
|
contactDetails?: {
|
|
@@ -14061,26 +13573,6 @@ declare function createCheckout$1(httpClient: HttpClient): (options?: CreateChec
|
|
|
14061
13573
|
formattedAmount: string;
|
|
14062
13574
|
formattedConvertedAmount: string;
|
|
14063
13575
|
} | 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;
|
|
14084
13576
|
}[];
|
|
14085
13577
|
billingInfo?: {
|
|
14086
13578
|
contactDetails?: {
|
|
@@ -14763,26 +14255,6 @@ declare function updateCheckout$1(httpClient: HttpClient): (_id: string | null,
|
|
|
14763
14255
|
formattedAmount: string;
|
|
14764
14256
|
formattedConvertedAmount: string;
|
|
14765
14257
|
} | 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;
|
|
14786
14258
|
}[];
|
|
14787
14259
|
billingInfo?: {
|
|
14788
14260
|
contactDetails?: {
|
|
@@ -15699,8 +15171,6 @@ interface V1LineItem {
|
|
|
15699
15171
|
* > **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).
|
|
15700
15172
|
*/
|
|
15701
15173
|
catalogReference?: CatalogReference$1;
|
|
15702
|
-
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
15703
|
-
catalogOverrideFields?: CatalogOverrideFields;
|
|
15704
15174
|
}
|
|
15705
15175
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
15706
15176
|
interface CatalogReference$1 {
|
|
@@ -15724,20 +15194,6 @@ interface CatalogReference$1 {
|
|
|
15724
15194
|
*/
|
|
15725
15195
|
options?: Record<string, any> | null;
|
|
15726
15196
|
}
|
|
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
|
-
}
|
|
15741
15197
|
interface ProductName$1 {
|
|
15742
15198
|
/**
|
|
15743
15199
|
* __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).
|
|
@@ -16179,8 +15635,6 @@ interface LineItem {
|
|
|
16179
15635
|
* @readonly
|
|
16180
15636
|
*/
|
|
16181
15637
|
depositAmount?: MultiCurrencyPrice;
|
|
16182
|
-
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
16183
|
-
catalogOverrideFields?: CatalogOverrideFields;
|
|
16184
15638
|
}
|
|
16185
15639
|
interface MultiCurrencyPrice {
|
|
16186
15640
|
/** Amount. */
|
|
@@ -17156,26 +16610,6 @@ declare function createCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemp
|
|
|
17156
16610
|
catalogItemId: string;
|
|
17157
16611
|
appId: string;
|
|
17158
16612
|
} | 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;
|
|
17179
16613
|
}[];
|
|
17180
16614
|
}>;
|
|
17181
16615
|
declare function getCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<CheckoutTemplate & {
|
|
@@ -17193,26 +16627,6 @@ declare function getCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemplat
|
|
|
17193
16627
|
catalogItemId: string;
|
|
17194
16628
|
appId: string;
|
|
17195
16629
|
} | 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;
|
|
17216
16630
|
}[];
|
|
17217
16631
|
}>;
|
|
17218
16632
|
declare function updateCheckoutTemplate$1(httpClient: HttpClient): (_id: string | null, checkoutTemplate: UpdateCheckoutTemplate) => Promise<CheckoutTemplate & {
|
|
@@ -17230,26 +16644,6 @@ declare function updateCheckoutTemplate$1(httpClient: HttpClient): (_id: string
|
|
|
17230
16644
|
catalogItemId: string;
|
|
17231
16645
|
appId: string;
|
|
17232
16646
|
} | 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;
|
|
17253
16647
|
}[];
|
|
17254
16648
|
}>;
|
|
17255
16649
|
declare function deleteCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<void>;
|