@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.
@@ -2268,9 +2268,9 @@ interface BackInStockItemDetails$1 {
2268
2268
  /** Item price. */
2269
2269
  price?: string;
2270
2270
  /** Item image. */
2271
- image?: Image$3;
2271
+ image?: Image$5;
2272
2272
  }
2273
- interface Image$3 {
2273
+ interface Image$5 {
2274
2274
  /** WixMedia image ID. */
2275
2275
  id?: string;
2276
2276
  /** Image URL. */
@@ -3152,6 +3152,8 @@ interface LineItem$5 {
3152
3152
  * @readonly
3153
3153
  */
3154
3154
  taxGroupId?: string | null;
3155
+ /** Allows partial overrides for catalog line item properties like name, price, etc */
3156
+ catalogOverrideFields?: CatalogOverrideFields$7;
3155
3157
  }
3156
3158
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
3157
3159
  interface CatalogReference$9 {
@@ -3397,6 +3399,32 @@ interface SelectedMembership$5 {
3397
3399
  /** ID of the app providing this payment option. */
3398
3400
  appId?: string;
3399
3401
  }
3402
+ interface CatalogOverrideFields$7 {
3403
+ /** Item product name */
3404
+ productName?: ProductName$9;
3405
+ /** Item price **after** discounts. */
3406
+ price?: string | null;
3407
+ /** Item price **before** discount. */
3408
+ fullPrice?: string | null;
3409
+ /** Line item description lines. Used for displaying the cart, checkout and order. */
3410
+ descriptionLines?: DescriptionLine$9[];
3411
+ /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
3412
+ physicalProperties?: PhysicalProperties$9;
3413
+ /** Line item image details. */
3414
+ image?: Image$4;
3415
+ }
3416
+ interface Image$4 {
3417
+ /** WixMedia image ID. */
3418
+ id?: string;
3419
+ /** Original image height. */
3420
+ height?: number;
3421
+ /** Original image width. */
3422
+ width?: number;
3423
+ /** Image alt text. Optional. */
3424
+ altText?: string | null;
3425
+ /** Image filename. Optional. */
3426
+ filename?: string | null;
3427
+ }
3400
3428
  /** Buyer Info */
3401
3429
  interface BuyerInfo$7 extends BuyerInfoIdOneOf$7 {
3402
3430
  /**
@@ -6781,6 +6809,8 @@ interface LineItem$4 {
6781
6809
  * @readonly
6782
6810
  */
6783
6811
  taxGroupId?: string | null;
6812
+ /** Allows partial overrides for catalog line item properties like name, price, etc */
6813
+ catalogOverrideFields?: CatalogOverrideFields$6;
6784
6814
  }
6785
6815
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
6786
6816
  interface CatalogReference$8 {
@@ -6955,6 +6985,20 @@ interface SelectedMembership$4 {
6955
6985
  /** ID of the app providing this payment option. */
6956
6986
  appId?: string;
6957
6987
  }
6988
+ interface CatalogOverrideFields$6 {
6989
+ /** Item product name */
6990
+ productName?: ProductName$8;
6991
+ /** Item price **after** discounts. */
6992
+ price?: string | null;
6993
+ /** Item price **before** discount. */
6994
+ fullPrice?: string | null;
6995
+ /** Line item description lines. Used for displaying the cart, checkout and order. */
6996
+ descriptionLines?: DescriptionLine$8[];
6997
+ /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
6998
+ physicalProperties?: PhysicalProperties$8;
6999
+ /** Line item image details. */
7000
+ image?: string;
7001
+ }
6958
7002
  /** Buyer Info */
6959
7003
  interface BuyerInfo$6 extends BuyerInfoIdOneOf$6 {
6960
7004
  /**
@@ -7936,6 +7980,26 @@ interface UpdateCartResponseNonNullableFields$2 {
7936
7980
  _id: string;
7937
7981
  appId: string;
7938
7982
  };
7983
+ catalogOverrideFields?: {
7984
+ productName?: {
7985
+ original: string;
7986
+ };
7987
+ descriptionLines: {
7988
+ plainText?: {
7989
+ original: string;
7990
+ };
7991
+ colorInfo?: {
7992
+ original: string;
7993
+ };
7994
+ name?: {
7995
+ original: string;
7996
+ };
7997
+ }[];
7998
+ physicalProperties?: {
7999
+ shippable: boolean;
8000
+ };
8001
+ image: string;
8002
+ };
7939
8003
  }[];
7940
8004
  buyerInfo?: {
7941
8005
  visitorId: string;
@@ -8038,6 +8102,26 @@ interface AddToCartResponseNonNullableFields$2 {
8038
8102
  _id: string;
8039
8103
  appId: string;
8040
8104
  };
8105
+ catalogOverrideFields?: {
8106
+ productName?: {
8107
+ original: string;
8108
+ };
8109
+ descriptionLines: {
8110
+ plainText?: {
8111
+ original: string;
8112
+ };
8113
+ colorInfo?: {
8114
+ original: string;
8115
+ };
8116
+ name?: {
8117
+ original: string;
8118
+ };
8119
+ }[];
8120
+ physicalProperties?: {
8121
+ shippable: boolean;
8122
+ };
8123
+ image: string;
8124
+ };
8041
8125
  }[];
8042
8126
  buyerInfo?: {
8043
8127
  visitorId: string;
@@ -8140,6 +8224,26 @@ interface RemoveLineItemsResponseNonNullableFields$4 {
8140
8224
  _id: string;
8141
8225
  appId: string;
8142
8226
  };
8227
+ catalogOverrideFields?: {
8228
+ productName?: {
8229
+ original: string;
8230
+ };
8231
+ descriptionLines: {
8232
+ plainText?: {
8233
+ original: string;
8234
+ };
8235
+ colorInfo?: {
8236
+ original: string;
8237
+ };
8238
+ name?: {
8239
+ original: string;
8240
+ };
8241
+ }[];
8242
+ physicalProperties?: {
8243
+ shippable: boolean;
8244
+ };
8245
+ image: string;
8246
+ };
8143
8247
  }[];
8144
8248
  buyerInfo?: {
8145
8249
  visitorId: string;
@@ -8245,6 +8349,26 @@ interface RemoveCouponResponseNonNullableFields$4 {
8245
8349
  _id: string;
8246
8350
  appId: string;
8247
8351
  };
8352
+ catalogOverrideFields?: {
8353
+ productName?: {
8354
+ original: string;
8355
+ };
8356
+ descriptionLines: {
8357
+ plainText?: {
8358
+ original: string;
8359
+ };
8360
+ colorInfo?: {
8361
+ original: string;
8362
+ };
8363
+ name?: {
8364
+ original: string;
8365
+ };
8366
+ }[];
8367
+ physicalProperties?: {
8368
+ shippable: boolean;
8369
+ };
8370
+ image: string;
8371
+ };
8248
8372
  }[];
8249
8373
  buyerInfo?: {
8250
8374
  visitorId: string;
@@ -8347,6 +8471,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$4 {
8347
8471
  _id: string;
8348
8472
  appId: string;
8349
8473
  };
8474
+ catalogOverrideFields?: {
8475
+ productName?: {
8476
+ original: string;
8477
+ };
8478
+ descriptionLines: {
8479
+ plainText?: {
8480
+ original: string;
8481
+ };
8482
+ colorInfo?: {
8483
+ original: string;
8484
+ };
8485
+ name?: {
8486
+ original: string;
8487
+ };
8488
+ }[];
8489
+ physicalProperties?: {
8490
+ shippable: boolean;
8491
+ };
8492
+ image: string;
8493
+ };
8350
8494
  }[];
8351
8495
  buyerInfo?: {
8352
8496
  visitorId: string;
@@ -8449,6 +8593,26 @@ interface EstimateTotalsResponseNonNullableFields$2 {
8449
8593
  _id: string;
8450
8594
  appId: string;
8451
8595
  };
8596
+ catalogOverrideFields?: {
8597
+ productName?: {
8598
+ original: string;
8599
+ };
8600
+ descriptionLines: {
8601
+ plainText?: {
8602
+ original: string;
8603
+ };
8604
+ colorInfo?: {
8605
+ original: string;
8606
+ };
8607
+ name?: {
8608
+ original: string;
8609
+ };
8610
+ }[];
8611
+ physicalProperties?: {
8612
+ shippable: boolean;
8613
+ };
8614
+ image: string;
8615
+ };
8452
8616
  }[];
8453
8617
  buyerInfo?: {
8454
8618
  visitorId: string;
@@ -9151,6 +9315,26 @@ interface CreateCartResponseNonNullableFields {
9151
9315
  _id: string;
9152
9316
  appId: string;
9153
9317
  };
9318
+ catalogOverrideFields?: {
9319
+ productName?: {
9320
+ original: string;
9321
+ };
9322
+ descriptionLines: {
9323
+ plainText?: {
9324
+ original: string;
9325
+ };
9326
+ colorInfo?: {
9327
+ original: string;
9328
+ };
9329
+ name?: {
9330
+ original: string;
9331
+ };
9332
+ }[];
9333
+ physicalProperties?: {
9334
+ shippable: boolean;
9335
+ };
9336
+ image: string;
9337
+ };
9154
9338
  }[];
9155
9339
  buyerInfo?: {
9156
9340
  visitorId: string;
@@ -9253,6 +9437,26 @@ interface GetCartResponseNonNullableFields {
9253
9437
  _id: string;
9254
9438
  appId: string;
9255
9439
  };
9440
+ catalogOverrideFields?: {
9441
+ productName?: {
9442
+ original: string;
9443
+ };
9444
+ descriptionLines: {
9445
+ plainText?: {
9446
+ original: string;
9447
+ };
9448
+ colorInfo?: {
9449
+ original: string;
9450
+ };
9451
+ name?: {
9452
+ original: string;
9453
+ };
9454
+ }[];
9455
+ physicalProperties?: {
9456
+ shippable: boolean;
9457
+ };
9458
+ image: string;
9459
+ };
9256
9460
  }[];
9257
9461
  buyerInfo?: {
9258
9462
  visitorId: string;
@@ -9524,6 +9728,8 @@ interface LineItem$3 {
9524
9728
  * @readonly
9525
9729
  */
9526
9730
  taxGroupId?: string | null;
9731
+ /** Allows partial overrides for catalog line item properties like name, price, etc */
9732
+ catalogOverrideFields?: CatalogOverrideFields$5;
9527
9733
  }
9528
9734
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
9529
9735
  interface CatalogReference$7 {
@@ -9769,6 +9975,32 @@ interface SelectedMembership$3 {
9769
9975
  /** ID of the app providing this payment option. */
9770
9976
  appId?: string;
9771
9977
  }
9978
+ interface CatalogOverrideFields$5 {
9979
+ /** Item product name */
9980
+ productName?: ProductName$7;
9981
+ /** Item price **after** discounts. */
9982
+ price?: string | null;
9983
+ /** Item price **before** discount. */
9984
+ fullPrice?: string | null;
9985
+ /** Line item description lines. Used for displaying the cart, checkout and order. */
9986
+ descriptionLines?: DescriptionLine$7[];
9987
+ /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
9988
+ physicalProperties?: PhysicalProperties$7;
9989
+ /** Line item image details. */
9990
+ image?: Image$3;
9991
+ }
9992
+ interface Image$3 {
9993
+ /** WixMedia image ID. */
9994
+ id?: string;
9995
+ /** Original image height. */
9996
+ height?: number;
9997
+ /** Original image width. */
9998
+ width?: number;
9999
+ /** Image alt text. Optional. */
10000
+ altText?: string | null;
10001
+ /** Image filename. Optional. */
10002
+ filename?: string | null;
10003
+ }
9772
10004
  /** Buyer Info */
9773
10005
  interface BuyerInfo$5 extends BuyerInfoIdOneOf$5 {
9774
10006
  /**
@@ -12940,6 +13172,8 @@ interface LineItem$2 {
12940
13172
  * @readonly
12941
13173
  */
12942
13174
  taxGroupId?: string | null;
13175
+ /** Allows partial overrides for catalog line item properties like name, price, etc */
13176
+ catalogOverrideFields?: CatalogOverrideFields$4;
12943
13177
  }
12944
13178
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
12945
13179
  interface CatalogReference$6 {
@@ -13114,6 +13348,20 @@ interface SelectedMembership$2 {
13114
13348
  /** ID of the app providing this payment option. */
13115
13349
  appId?: string;
13116
13350
  }
13351
+ interface CatalogOverrideFields$4 {
13352
+ /** Item product name */
13353
+ productName?: ProductName$6;
13354
+ /** Item price **after** discounts. */
13355
+ price?: string | null;
13356
+ /** Item price **before** discount. */
13357
+ fullPrice?: string | null;
13358
+ /** Line item description lines. Used for displaying the cart, checkout and order. */
13359
+ descriptionLines?: DescriptionLine$6[];
13360
+ /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
13361
+ physicalProperties?: PhysicalProperties$6;
13362
+ /** Line item image details. */
13363
+ image?: string;
13364
+ }
13117
13365
  /** Buyer Info */
13118
13366
  interface BuyerInfo$4 extends BuyerInfoIdOneOf$4 {
13119
13367
  /**
@@ -14065,6 +14313,26 @@ interface GetCurrentCartResponseNonNullableFields {
14065
14313
  _id: string;
14066
14314
  appId: string;
14067
14315
  };
14316
+ catalogOverrideFields?: {
14317
+ productName?: {
14318
+ original: string;
14319
+ };
14320
+ descriptionLines: {
14321
+ plainText?: {
14322
+ original: string;
14323
+ };
14324
+ colorInfo?: {
14325
+ original: string;
14326
+ };
14327
+ name?: {
14328
+ original: string;
14329
+ };
14330
+ }[];
14331
+ physicalProperties?: {
14332
+ shippable: boolean;
14333
+ };
14334
+ image: string;
14335
+ };
14068
14336
  }[];
14069
14337
  buyerInfo?: {
14070
14338
  visitorId: string;
@@ -14167,6 +14435,26 @@ interface UpdateCartResponseNonNullableFields {
14167
14435
  _id: string;
14168
14436
  appId: string;
14169
14437
  };
14438
+ catalogOverrideFields?: {
14439
+ productName?: {
14440
+ original: string;
14441
+ };
14442
+ descriptionLines: {
14443
+ plainText?: {
14444
+ original: string;
14445
+ };
14446
+ colorInfo?: {
14447
+ original: string;
14448
+ };
14449
+ name?: {
14450
+ original: string;
14451
+ };
14452
+ }[];
14453
+ physicalProperties?: {
14454
+ shippable: boolean;
14455
+ };
14456
+ image: string;
14457
+ };
14170
14458
  }[];
14171
14459
  buyerInfo?: {
14172
14460
  visitorId: string;
@@ -14269,6 +14557,26 @@ interface AddToCartResponseNonNullableFields {
14269
14557
  _id: string;
14270
14558
  appId: string;
14271
14559
  };
14560
+ catalogOverrideFields?: {
14561
+ productName?: {
14562
+ original: string;
14563
+ };
14564
+ descriptionLines: {
14565
+ plainText?: {
14566
+ original: string;
14567
+ };
14568
+ colorInfo?: {
14569
+ original: string;
14570
+ };
14571
+ name?: {
14572
+ original: string;
14573
+ };
14574
+ }[];
14575
+ physicalProperties?: {
14576
+ shippable: boolean;
14577
+ };
14578
+ image: string;
14579
+ };
14272
14580
  }[];
14273
14581
  buyerInfo?: {
14274
14582
  visitorId: string;
@@ -14371,6 +14679,26 @@ interface RemoveLineItemsResponseNonNullableFields$2 {
14371
14679
  _id: string;
14372
14680
  appId: string;
14373
14681
  };
14682
+ catalogOverrideFields?: {
14683
+ productName?: {
14684
+ original: string;
14685
+ };
14686
+ descriptionLines: {
14687
+ plainText?: {
14688
+ original: string;
14689
+ };
14690
+ colorInfo?: {
14691
+ original: string;
14692
+ };
14693
+ name?: {
14694
+ original: string;
14695
+ };
14696
+ }[];
14697
+ physicalProperties?: {
14698
+ shippable: boolean;
14699
+ };
14700
+ image: string;
14701
+ };
14374
14702
  }[];
14375
14703
  buyerInfo?: {
14376
14704
  visitorId: string;
@@ -14476,6 +14804,26 @@ interface RemoveCouponResponseNonNullableFields$2 {
14476
14804
  _id: string;
14477
14805
  appId: string;
14478
14806
  };
14807
+ catalogOverrideFields?: {
14808
+ productName?: {
14809
+ original: string;
14810
+ };
14811
+ descriptionLines: {
14812
+ plainText?: {
14813
+ original: string;
14814
+ };
14815
+ colorInfo?: {
14816
+ original: string;
14817
+ };
14818
+ name?: {
14819
+ original: string;
14820
+ };
14821
+ }[];
14822
+ physicalProperties?: {
14823
+ shippable: boolean;
14824
+ };
14825
+ image: string;
14826
+ };
14479
14827
  }[];
14480
14828
  buyerInfo?: {
14481
14829
  visitorId: string;
@@ -14578,6 +14926,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$2 {
14578
14926
  _id: string;
14579
14927
  appId: string;
14580
14928
  };
14929
+ catalogOverrideFields?: {
14930
+ productName?: {
14931
+ original: string;
14932
+ };
14933
+ descriptionLines: {
14934
+ plainText?: {
14935
+ original: string;
14936
+ };
14937
+ colorInfo?: {
14938
+ original: string;
14939
+ };
14940
+ name?: {
14941
+ original: string;
14942
+ };
14943
+ }[];
14944
+ physicalProperties?: {
14945
+ shippable: boolean;
14946
+ };
14947
+ image: string;
14948
+ };
14581
14949
  }[];
14582
14950
  buyerInfo?: {
14583
14951
  visitorId: string;
@@ -14680,6 +15048,26 @@ interface EstimateTotalsResponseNonNullableFields {
14680
15048
  _id: string;
14681
15049
  appId: string;
14682
15050
  };
15051
+ catalogOverrideFields?: {
15052
+ productName?: {
15053
+ original: string;
15054
+ };
15055
+ descriptionLines: {
15056
+ plainText?: {
15057
+ original: string;
15058
+ };
15059
+ colorInfo?: {
15060
+ original: string;
15061
+ };
15062
+ name?: {
15063
+ original: string;
15064
+ };
15065
+ }[];
15066
+ physicalProperties?: {
15067
+ shippable: boolean;
15068
+ };
15069
+ image: string;
15070
+ };
14683
15071
  }[];
14684
15072
  buyerInfo?: {
14685
15073
  visitorId: string;