@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.
@@ -3498,6 +3498,8 @@ interface LineItem$5 {
3498
3498
  * @readonly
3499
3499
  */
3500
3500
  taxGroupId?: string | null;
3501
+ /** Allows partial overrides for catalog line item properties like name, price, etc */
3502
+ catalogOverrideFields?: CatalogOverrideFields$3;
3501
3503
  }
3502
3504
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
3503
3505
  interface CatalogReference$4 {
@@ -5072,6 +5074,26 @@ interface GetCurrentCartResponseNonNullableFields$1 {
5072
5074
  _id: string;
5073
5075
  appId: string;
5074
5076
  };
5077
+ catalogOverrideFields?: {
5078
+ productName?: {
5079
+ original: string;
5080
+ };
5081
+ descriptionLines: {
5082
+ plainText?: {
5083
+ original: string;
5084
+ };
5085
+ colorInfo?: {
5086
+ original: string;
5087
+ };
5088
+ name?: {
5089
+ original: string;
5090
+ };
5091
+ }[];
5092
+ physicalProperties?: {
5093
+ shippable: boolean;
5094
+ };
5095
+ image: string;
5096
+ };
5075
5097
  }[];
5076
5098
  buyerInfo?: {
5077
5099
  visitorId: string;
@@ -5174,6 +5196,26 @@ interface UpdateCartResponseNonNullableFields$1 {
5174
5196
  _id: string;
5175
5197
  appId: string;
5176
5198
  };
5199
+ catalogOverrideFields?: {
5200
+ productName?: {
5201
+ original: string;
5202
+ };
5203
+ descriptionLines: {
5204
+ plainText?: {
5205
+ original: string;
5206
+ };
5207
+ colorInfo?: {
5208
+ original: string;
5209
+ };
5210
+ name?: {
5211
+ original: string;
5212
+ };
5213
+ }[];
5214
+ physicalProperties?: {
5215
+ shippable: boolean;
5216
+ };
5217
+ image: string;
5218
+ };
5177
5219
  }[];
5178
5220
  buyerInfo?: {
5179
5221
  visitorId: string;
@@ -5276,6 +5318,26 @@ interface AddToCartResponseNonNullableFields$1 {
5276
5318
  _id: string;
5277
5319
  appId: string;
5278
5320
  };
5321
+ catalogOverrideFields?: {
5322
+ productName?: {
5323
+ original: string;
5324
+ };
5325
+ descriptionLines: {
5326
+ plainText?: {
5327
+ original: string;
5328
+ };
5329
+ colorInfo?: {
5330
+ original: string;
5331
+ };
5332
+ name?: {
5333
+ original: string;
5334
+ };
5335
+ }[];
5336
+ physicalProperties?: {
5337
+ shippable: boolean;
5338
+ };
5339
+ image: string;
5340
+ };
5279
5341
  }[];
5280
5342
  buyerInfo?: {
5281
5343
  visitorId: string;
@@ -5378,6 +5440,26 @@ interface RemoveLineItemsResponseNonNullableFields$2 {
5378
5440
  _id: string;
5379
5441
  appId: string;
5380
5442
  };
5443
+ catalogOverrideFields?: {
5444
+ productName?: {
5445
+ original: string;
5446
+ };
5447
+ descriptionLines: {
5448
+ plainText?: {
5449
+ original: string;
5450
+ };
5451
+ colorInfo?: {
5452
+ original: string;
5453
+ };
5454
+ name?: {
5455
+ original: string;
5456
+ };
5457
+ }[];
5458
+ physicalProperties?: {
5459
+ shippable: boolean;
5460
+ };
5461
+ image: string;
5462
+ };
5381
5463
  }[];
5382
5464
  buyerInfo?: {
5383
5465
  visitorId: string;
@@ -5483,6 +5565,26 @@ interface RemoveCouponResponseNonNullableFields$2 {
5483
5565
  _id: string;
5484
5566
  appId: string;
5485
5567
  };
5568
+ catalogOverrideFields?: {
5569
+ productName?: {
5570
+ original: string;
5571
+ };
5572
+ descriptionLines: {
5573
+ plainText?: {
5574
+ original: string;
5575
+ };
5576
+ colorInfo?: {
5577
+ original: string;
5578
+ };
5579
+ name?: {
5580
+ original: string;
5581
+ };
5582
+ }[];
5583
+ physicalProperties?: {
5584
+ shippable: boolean;
5585
+ };
5586
+ image: string;
5587
+ };
5486
5588
  }[];
5487
5589
  buyerInfo?: {
5488
5590
  visitorId: string;
@@ -5585,6 +5687,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$2 {
5585
5687
  _id: string;
5586
5688
  appId: string;
5587
5689
  };
5690
+ catalogOverrideFields?: {
5691
+ productName?: {
5692
+ original: string;
5693
+ };
5694
+ descriptionLines: {
5695
+ plainText?: {
5696
+ original: string;
5697
+ };
5698
+ colorInfo?: {
5699
+ original: string;
5700
+ };
5701
+ name?: {
5702
+ original: string;
5703
+ };
5704
+ }[];
5705
+ physicalProperties?: {
5706
+ shippable: boolean;
5707
+ };
5708
+ image: string;
5709
+ };
5588
5710
  }[];
5589
5711
  buyerInfo?: {
5590
5712
  visitorId: string;
@@ -5687,6 +5809,26 @@ interface EstimateTotalsResponseNonNullableFields$1 {
5687
5809
  _id: string;
5688
5810
  appId: string;
5689
5811
  };
5812
+ catalogOverrideFields?: {
5813
+ productName?: {
5814
+ original: string;
5815
+ };
5816
+ descriptionLines: {
5817
+ plainText?: {
5818
+ original: string;
5819
+ };
5820
+ colorInfo?: {
5821
+ original: string;
5822
+ };
5823
+ name?: {
5824
+ original: string;
5825
+ };
5826
+ }[];
5827
+ physicalProperties?: {
5828
+ shippable: boolean;
5829
+ };
5830
+ image: string;
5831
+ };
5690
5832
  }[];
5691
5833
  buyerInfo?: {
5692
5834
  visitorId: string;
@@ -6389,6 +6531,26 @@ interface CreateCartResponseNonNullableFields$1 {
6389
6531
  _id: string;
6390
6532
  appId: string;
6391
6533
  };
6534
+ catalogOverrideFields?: {
6535
+ productName?: {
6536
+ original: string;
6537
+ };
6538
+ descriptionLines: {
6539
+ plainText?: {
6540
+ original: string;
6541
+ };
6542
+ colorInfo?: {
6543
+ original: string;
6544
+ };
6545
+ name?: {
6546
+ original: string;
6547
+ };
6548
+ }[];
6549
+ physicalProperties?: {
6550
+ shippable: boolean;
6551
+ };
6552
+ image: string;
6553
+ };
6392
6554
  }[];
6393
6555
  buyerInfo?: {
6394
6556
  visitorId: string;
@@ -6491,6 +6653,26 @@ interface GetCartResponseNonNullableFields$1 {
6491
6653
  _id: string;
6492
6654
  appId: string;
6493
6655
  };
6656
+ catalogOverrideFields?: {
6657
+ productName?: {
6658
+ original: string;
6659
+ };
6660
+ descriptionLines: {
6661
+ plainText?: {
6662
+ original: string;
6663
+ };
6664
+ colorInfo?: {
6665
+ original: string;
6666
+ };
6667
+ name?: {
6668
+ original: string;
6669
+ };
6670
+ }[];
6671
+ physicalProperties?: {
6672
+ shippable: boolean;
6673
+ };
6674
+ image: string;
6675
+ };
6494
6676
  }[];
6495
6677
  buyerInfo?: {
6496
6678
  visitorId: string;
@@ -6778,6 +6960,26 @@ declare function createCart(httpClient: HttpClient): (options?: CreateCartOption
6778
6960
  _id: string;
6779
6961
  appId: string;
6780
6962
  } | undefined;
6963
+ catalogOverrideFields?: {
6964
+ productName?: {
6965
+ original: string;
6966
+ } | undefined;
6967
+ descriptionLines: {
6968
+ plainText?: {
6969
+ original: string;
6970
+ } | undefined;
6971
+ colorInfo?: {
6972
+ original: string;
6973
+ } | undefined;
6974
+ name?: {
6975
+ original: string;
6976
+ } | undefined;
6977
+ }[];
6978
+ physicalProperties?: {
6979
+ shippable: boolean;
6980
+ } | undefined;
6981
+ image: string;
6982
+ } | undefined;
6781
6983
  }[];
6782
6984
  buyerInfo?: {
6783
6985
  visitorId: string;
@@ -6878,6 +7080,26 @@ declare function updateCart(httpClient: HttpClient): (_id: string | null, option
6878
7080
  _id: string;
6879
7081
  appId: string;
6880
7082
  } | undefined;
7083
+ catalogOverrideFields?: {
7084
+ productName?: {
7085
+ original: string;
7086
+ } | undefined;
7087
+ descriptionLines: {
7088
+ plainText?: {
7089
+ original: string;
7090
+ } | undefined;
7091
+ colorInfo?: {
7092
+ original: string;
7093
+ } | undefined;
7094
+ name?: {
7095
+ original: string;
7096
+ } | undefined;
7097
+ }[];
7098
+ physicalProperties?: {
7099
+ shippable: boolean;
7100
+ } | undefined;
7101
+ image: string;
7102
+ } | undefined;
6881
7103
  }[];
6882
7104
  buyerInfo?: {
6883
7105
  visitorId: string;
@@ -6978,6 +7200,26 @@ declare function getCart(httpClient: HttpClient): (_id: string) => Promise<Cart$
6978
7200
  _id: string;
6979
7201
  appId: string;
6980
7202
  } | undefined;
7203
+ catalogOverrideFields?: {
7204
+ productName?: {
7205
+ original: string;
7206
+ } | undefined;
7207
+ descriptionLines: {
7208
+ plainText?: {
7209
+ original: string;
7210
+ } | undefined;
7211
+ colorInfo?: {
7212
+ original: string;
7213
+ } | undefined;
7214
+ name?: {
7215
+ original: string;
7216
+ } | undefined;
7217
+ }[];
7218
+ physicalProperties?: {
7219
+ shippable: boolean;
7220
+ } | undefined;
7221
+ image: string;
7222
+ } | undefined;
6981
7223
  }[];
6982
7224
  buyerInfo?: {
6983
7225
  visitorId: string;
@@ -7219,6 +7461,8 @@ interface LineItem$4 {
7219
7461
  * @readonly
7220
7462
  */
7221
7463
  taxGroupId?: string | null;
7464
+ /** Allows partial overrides for catalog line item properties like name, price, etc */
7465
+ catalogOverrideFields?: CatalogOverrideFields$2;
7222
7466
  }
7223
7467
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
7224
7468
  interface CatalogReference$3 {
@@ -8793,6 +9037,26 @@ interface GetCurrentCartResponseNonNullableFields {
8793
9037
  _id: string;
8794
9038
  appId: string;
8795
9039
  };
9040
+ catalogOverrideFields?: {
9041
+ productName?: {
9042
+ original: string;
9043
+ };
9044
+ descriptionLines: {
9045
+ plainText?: {
9046
+ original: string;
9047
+ };
9048
+ colorInfo?: {
9049
+ original: string;
9050
+ };
9051
+ name?: {
9052
+ original: string;
9053
+ };
9054
+ }[];
9055
+ physicalProperties?: {
9056
+ shippable: boolean;
9057
+ };
9058
+ image: string;
9059
+ };
8796
9060
  }[];
8797
9061
  buyerInfo?: {
8798
9062
  visitorId: string;
@@ -8895,6 +9159,26 @@ interface UpdateCartResponseNonNullableFields {
8895
9159
  _id: string;
8896
9160
  appId: string;
8897
9161
  };
9162
+ catalogOverrideFields?: {
9163
+ productName?: {
9164
+ original: string;
9165
+ };
9166
+ descriptionLines: {
9167
+ plainText?: {
9168
+ original: string;
9169
+ };
9170
+ colorInfo?: {
9171
+ original: string;
9172
+ };
9173
+ name?: {
9174
+ original: string;
9175
+ };
9176
+ }[];
9177
+ physicalProperties?: {
9178
+ shippable: boolean;
9179
+ };
9180
+ image: string;
9181
+ };
8898
9182
  }[];
8899
9183
  buyerInfo?: {
8900
9184
  visitorId: string;
@@ -8997,6 +9281,26 @@ interface AddToCartResponseNonNullableFields {
8997
9281
  _id: string;
8998
9282
  appId: string;
8999
9283
  };
9284
+ catalogOverrideFields?: {
9285
+ productName?: {
9286
+ original: string;
9287
+ };
9288
+ descriptionLines: {
9289
+ plainText?: {
9290
+ original: string;
9291
+ };
9292
+ colorInfo?: {
9293
+ original: string;
9294
+ };
9295
+ name?: {
9296
+ original: string;
9297
+ };
9298
+ }[];
9299
+ physicalProperties?: {
9300
+ shippable: boolean;
9301
+ };
9302
+ image: string;
9303
+ };
9000
9304
  }[];
9001
9305
  buyerInfo?: {
9002
9306
  visitorId: string;
@@ -9099,6 +9403,26 @@ interface RemoveLineItemsResponseNonNullableFields$1 {
9099
9403
  _id: string;
9100
9404
  appId: string;
9101
9405
  };
9406
+ catalogOverrideFields?: {
9407
+ productName?: {
9408
+ original: string;
9409
+ };
9410
+ descriptionLines: {
9411
+ plainText?: {
9412
+ original: string;
9413
+ };
9414
+ colorInfo?: {
9415
+ original: string;
9416
+ };
9417
+ name?: {
9418
+ original: string;
9419
+ };
9420
+ }[];
9421
+ physicalProperties?: {
9422
+ shippable: boolean;
9423
+ };
9424
+ image: string;
9425
+ };
9102
9426
  }[];
9103
9427
  buyerInfo?: {
9104
9428
  visitorId: string;
@@ -9204,6 +9528,26 @@ interface RemoveCouponResponseNonNullableFields$1 {
9204
9528
  _id: string;
9205
9529
  appId: string;
9206
9530
  };
9531
+ catalogOverrideFields?: {
9532
+ productName?: {
9533
+ original: string;
9534
+ };
9535
+ descriptionLines: {
9536
+ plainText?: {
9537
+ original: string;
9538
+ };
9539
+ colorInfo?: {
9540
+ original: string;
9541
+ };
9542
+ name?: {
9543
+ original: string;
9544
+ };
9545
+ }[];
9546
+ physicalProperties?: {
9547
+ shippable: boolean;
9548
+ };
9549
+ image: string;
9550
+ };
9207
9551
  }[];
9208
9552
  buyerInfo?: {
9209
9553
  visitorId: string;
@@ -9306,6 +9650,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$1 {
9306
9650
  _id: string;
9307
9651
  appId: string;
9308
9652
  };
9653
+ catalogOverrideFields?: {
9654
+ productName?: {
9655
+ original: string;
9656
+ };
9657
+ descriptionLines: {
9658
+ plainText?: {
9659
+ original: string;
9660
+ };
9661
+ colorInfo?: {
9662
+ original: string;
9663
+ };
9664
+ name?: {
9665
+ original: string;
9666
+ };
9667
+ }[];
9668
+ physicalProperties?: {
9669
+ shippable: boolean;
9670
+ };
9671
+ image: string;
9672
+ };
9309
9673
  }[];
9310
9674
  buyerInfo?: {
9311
9675
  visitorId: string;
@@ -9408,6 +9772,26 @@ interface EstimateTotalsResponseNonNullableFields {
9408
9772
  _id: string;
9409
9773
  appId: string;
9410
9774
  };
9775
+ catalogOverrideFields?: {
9776
+ productName?: {
9777
+ original: string;
9778
+ };
9779
+ descriptionLines: {
9780
+ plainText?: {
9781
+ original: string;
9782
+ };
9783
+ colorInfo?: {
9784
+ original: string;
9785
+ };
9786
+ name?: {
9787
+ original: string;
9788
+ };
9789
+ }[];
9790
+ physicalProperties?: {
9791
+ shippable: boolean;
9792
+ };
9793
+ image: string;
9794
+ };
9411
9795
  }[];
9412
9796
  buyerInfo?: {
9413
9797
  visitorId: string;
@@ -10110,6 +10494,26 @@ interface CreateCartResponseNonNullableFields {
10110
10494
  _id: string;
10111
10495
  appId: string;
10112
10496
  };
10497
+ catalogOverrideFields?: {
10498
+ productName?: {
10499
+ original: string;
10500
+ };
10501
+ descriptionLines: {
10502
+ plainText?: {
10503
+ original: string;
10504
+ };
10505
+ colorInfo?: {
10506
+ original: string;
10507
+ };
10508
+ name?: {
10509
+ original: string;
10510
+ };
10511
+ }[];
10512
+ physicalProperties?: {
10513
+ shippable: boolean;
10514
+ };
10515
+ image: string;
10516
+ };
10113
10517
  }[];
10114
10518
  buyerInfo?: {
10115
10519
  visitorId: string;
@@ -10212,6 +10616,26 @@ interface GetCartResponseNonNullableFields {
10212
10616
  _id: string;
10213
10617
  appId: string;
10214
10618
  };
10619
+ catalogOverrideFields?: {
10620
+ productName?: {
10621
+ original: string;
10622
+ };
10623
+ descriptionLines: {
10624
+ plainText?: {
10625
+ original: string;
10626
+ };
10627
+ colorInfo?: {
10628
+ original: string;
10629
+ };
10630
+ name?: {
10631
+ original: string;
10632
+ };
10633
+ }[];
10634
+ physicalProperties?: {
10635
+ shippable: boolean;
10636
+ };
10637
+ image: string;
10638
+ };
10215
10639
  }[];
10216
10640
  buyerInfo?: {
10217
10641
  visitorId: string;
@@ -10410,6 +10834,26 @@ declare function getCurrentCart(httpClient: HttpClient): () => Promise<Cart & {
10410
10834
  _id: string;
10411
10835
  appId: string;
10412
10836
  } | undefined;
10837
+ catalogOverrideFields?: {
10838
+ productName?: {
10839
+ original: string;
10840
+ } | undefined;
10841
+ descriptionLines: {
10842
+ plainText?: {
10843
+ original: string;
10844
+ } | undefined;
10845
+ colorInfo?: {
10846
+ original: string;
10847
+ } | undefined;
10848
+ name?: {
10849
+ original: string;
10850
+ } | undefined;
10851
+ }[];
10852
+ physicalProperties?: {
10853
+ shippable: boolean;
10854
+ } | undefined;
10855
+ image: string;
10856
+ } | undefined;
10413
10857
  }[];
10414
10858
  buyerInfo?: {
10415
10859
  visitorId: string;
@@ -10510,6 +10954,26 @@ declare function updateCurrentCart(httpClient: HttpClient): (options?: UpdateCur
10510
10954
  _id: string;
10511
10955
  appId: string;
10512
10956
  } | undefined;
10957
+ catalogOverrideFields?: {
10958
+ productName?: {
10959
+ original: string;
10960
+ } | undefined;
10961
+ descriptionLines: {
10962
+ plainText?: {
10963
+ original: string;
10964
+ } | undefined;
10965
+ colorInfo?: {
10966
+ original: string;
10967
+ } | undefined;
10968
+ name?: {
10969
+ original: string;
10970
+ } | undefined;
10971
+ }[];
10972
+ physicalProperties?: {
10973
+ shippable: boolean;
10974
+ } | undefined;
10975
+ image: string;
10976
+ } | undefined;
10513
10977
  }[];
10514
10978
  buyerInfo?: {
10515
10979
  visitorId: string;