@wix/ecom 1.0.625 → 1.0.626

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$1;
2271
+ image?: Image$3;
2272
2272
  }
2273
- interface Image$1 {
2273
+ interface Image$3 {
2274
2274
  /** WixMedia image ID. */
2275
2275
  id?: string;
2276
2276
  /** Image URL. */
@@ -3066,7 +3066,7 @@ interface LineItem$5 {
3066
3066
  * + Events - `ticket.name`
3067
3067
  * @readonly
3068
3068
  */
3069
- productName?: ProductName$7;
3069
+ productName?: ProductName$9;
3070
3070
  /**
3071
3071
  * URL to the item's page on the site.
3072
3072
  * @readonly
@@ -3091,7 +3091,7 @@ interface LineItem$5 {
3091
3091
  * Line item description lines. Used for displaying the cart, checkout and order.
3092
3092
  * @readonly
3093
3093
  */
3094
- descriptionLines?: DescriptionLine$7[];
3094
+ descriptionLines?: DescriptionLine$9[];
3095
3095
  /**
3096
3096
  * Line item image details.
3097
3097
  * @readonly
@@ -3106,7 +3106,7 @@ interface LineItem$5 {
3106
3106
  * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
3107
3107
  * @readonly
3108
3108
  */
3109
- physicalProperties?: PhysicalProperties$7;
3109
+ physicalProperties?: PhysicalProperties$9;
3110
3110
  /**
3111
3111
  * Item type. Either a preset type or custom.
3112
3112
  * @readonly
@@ -3175,7 +3175,7 @@ interface CatalogReference$9 {
3175
3175
  */
3176
3176
  options?: Record<string, any> | null;
3177
3177
  }
3178
- interface ProductName$7 {
3178
+ interface ProductName$9 {
3179
3179
  /**
3180
3180
  * __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).
3181
3181
  *
@@ -3217,25 +3217,25 @@ interface MultiCurrencyPrice$5 {
3217
3217
  */
3218
3218
  formattedConvertedAmount?: string;
3219
3219
  }
3220
- interface DescriptionLine$7 extends DescriptionLineValueOneOf$7, DescriptionLineDescriptionLineValueOneOf$7 {
3220
+ interface DescriptionLine$9 extends DescriptionLineValueOneOf$9, DescriptionLineDescriptionLineValueOneOf$9 {
3221
3221
  /** Description line plain text value. */
3222
- plainText?: PlainTextValue$7;
3222
+ plainText?: PlainTextValue$9;
3223
3223
  /** Description line color value. */
3224
- colorInfo?: Color$7;
3224
+ colorInfo?: Color$9;
3225
3225
  /** Description line name. */
3226
- name?: DescriptionLineName$7;
3226
+ name?: DescriptionLineName$9;
3227
3227
  }
3228
3228
  /** @oneof */
3229
- interface DescriptionLineValueOneOf$7 {
3229
+ interface DescriptionLineValueOneOf$9 {
3230
3230
  /** Description line plain text value. */
3231
- plainText?: PlainTextValue$7;
3231
+ plainText?: PlainTextValue$9;
3232
3232
  /** Description line color value. */
3233
- colorInfo?: Color$7;
3233
+ colorInfo?: Color$9;
3234
3234
  }
3235
3235
  /** @oneof */
3236
- interface DescriptionLineDescriptionLineValueOneOf$7 {
3236
+ interface DescriptionLineDescriptionLineValueOneOf$9 {
3237
3237
  }
3238
- interface DescriptionLineName$7 {
3238
+ interface DescriptionLineName$9 {
3239
3239
  /** Description line 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). */
3240
3240
  original?: string;
3241
3241
  /**
@@ -3245,7 +3245,7 @@ interface DescriptionLineName$7 {
3245
3245
  */
3246
3246
  translated?: string | null;
3247
3247
  }
3248
- interface PlainTextValue$7 {
3248
+ interface PlainTextValue$9 {
3249
3249
  /** Description line plain text value 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). */
3250
3250
  original?: string;
3251
3251
  /**
@@ -3255,7 +3255,7 @@ interface PlainTextValue$7 {
3255
3255
  */
3256
3256
  translated?: string | null;
3257
3257
  }
3258
- interface Color$7 {
3258
+ interface Color$9 {
3259
3259
  /** Description line color 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). */
3260
3260
  original?: string;
3261
3261
  /**
@@ -3314,7 +3314,7 @@ declare enum ItemAvailabilityStatus$5 {
3314
3314
  /** Available quantity is less than requested */
3315
3315
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
3316
3316
  }
3317
- interface PhysicalProperties$7 {
3317
+ interface PhysicalProperties$9 {
3318
3318
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
3319
3319
  weight?: number | null;
3320
3320
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -6697,7 +6697,7 @@ interface LineItem$4 {
6697
6697
  * + Events - `ticket.name`
6698
6698
  * @readonly
6699
6699
  */
6700
- productName?: ProductName$6;
6700
+ productName?: ProductName$8;
6701
6701
  /**
6702
6702
  * URL to the item's page on the site.
6703
6703
  * @readonly
@@ -6722,7 +6722,7 @@ interface LineItem$4 {
6722
6722
  * Line item description lines. Used for displaying the cart, checkout and order.
6723
6723
  * @readonly
6724
6724
  */
6725
- descriptionLines?: DescriptionLine$6[];
6725
+ descriptionLines?: DescriptionLine$8[];
6726
6726
  /**
6727
6727
  * Line item image details.
6728
6728
  * @readonly
@@ -6737,7 +6737,7 @@ interface LineItem$4 {
6737
6737
  * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
6738
6738
  * @readonly
6739
6739
  */
6740
- physicalProperties?: PhysicalProperties$6;
6740
+ physicalProperties?: PhysicalProperties$8;
6741
6741
  /**
6742
6742
  * Item type. Either a preset type or custom.
6743
6743
  * @readonly
@@ -6806,7 +6806,7 @@ interface CatalogReference$8 {
6806
6806
  */
6807
6807
  options?: Record<string, any> | null;
6808
6808
  }
6809
- interface ProductName$6 {
6809
+ interface ProductName$8 {
6810
6810
  /** **Required** - Original product name (in site's default language). */
6811
6811
  original?: string;
6812
6812
  /** Description product name translated into buyer's language. Defaults to `original` when not defined. */
@@ -6831,37 +6831,37 @@ interface MultiCurrencyPrice$4 {
6831
6831
  */
6832
6832
  formattedConvertedAmount?: string;
6833
6833
  }
6834
- interface DescriptionLine$6 extends DescriptionLineValueOneOf$6, DescriptionLineDescriptionLineValueOneOf$6 {
6834
+ interface DescriptionLine$8 extends DescriptionLineValueOneOf$8, DescriptionLineDescriptionLineValueOneOf$8 {
6835
6835
  /** Description line plain text value. */
6836
- plainText?: PlainTextValue$6;
6836
+ plainText?: PlainTextValue$8;
6837
6837
  /** Description line color value. */
6838
- colorInfo?: Color$6;
6838
+ colorInfo?: Color$8;
6839
6839
  /** Description line name. */
6840
- name?: DescriptionLineName$6;
6840
+ name?: DescriptionLineName$8;
6841
6841
  }
6842
6842
  /** @oneof */
6843
- interface DescriptionLineValueOneOf$6 {
6843
+ interface DescriptionLineValueOneOf$8 {
6844
6844
  /** Description line plain text value. */
6845
- plainText?: PlainTextValue$6;
6845
+ plainText?: PlainTextValue$8;
6846
6846
  /** Description line color value. */
6847
- colorInfo?: Color$6;
6847
+ colorInfo?: Color$8;
6848
6848
  }
6849
6849
  /** @oneof */
6850
- interface DescriptionLineDescriptionLineValueOneOf$6 {
6850
+ interface DescriptionLineDescriptionLineValueOneOf$8 {
6851
6851
  }
6852
- interface DescriptionLineName$6 {
6852
+ interface DescriptionLineName$8 {
6853
6853
  /** Description line name in site's default language. */
6854
6854
  original?: string;
6855
6855
  /** Description line name translated into buyer's language. Defaults to `original` when not defined. */
6856
6856
  translated?: string | null;
6857
6857
  }
6858
- interface PlainTextValue$6 {
6858
+ interface PlainTextValue$8 {
6859
6859
  /** Description line plain text value in site's default language. */
6860
6860
  original?: string;
6861
6861
  /** Description line plain text value translated into buyer's language. Defaults to `original` when not defined. */
6862
6862
  translated?: string | null;
6863
6863
  }
6864
- interface Color$6 {
6864
+ interface Color$8 {
6865
6865
  /** Description line color name in site's default language. */
6866
6866
  original?: string;
6867
6867
  /** Description line color name translated into buyer's language. Defaults to `original` when not defined. */
@@ -6892,7 +6892,7 @@ declare enum ItemAvailabilityStatus$4 {
6892
6892
  /** Available quantity is less than requested */
6893
6893
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
6894
6894
  }
6895
- interface PhysicalProperties$6 {
6895
+ interface PhysicalProperties$8 {
6896
6896
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
6897
6897
  weight?: number | null;
6898
6898
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -9438,7 +9438,7 @@ interface LineItem$3 {
9438
9438
  * + Events - `ticket.name`
9439
9439
  * @readonly
9440
9440
  */
9441
- productName?: ProductName$5;
9441
+ productName?: ProductName$7;
9442
9442
  /**
9443
9443
  * URL to the item's page on the site.
9444
9444
  * @readonly
@@ -9463,7 +9463,7 @@ interface LineItem$3 {
9463
9463
  * Line item description lines. Used for displaying the cart, checkout and order.
9464
9464
  * @readonly
9465
9465
  */
9466
- descriptionLines?: DescriptionLine$5[];
9466
+ descriptionLines?: DescriptionLine$7[];
9467
9467
  /**
9468
9468
  * Line item image details.
9469
9469
  * @readonly
@@ -9478,7 +9478,7 @@ interface LineItem$3 {
9478
9478
  * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
9479
9479
  * @readonly
9480
9480
  */
9481
- physicalProperties?: PhysicalProperties$5;
9481
+ physicalProperties?: PhysicalProperties$7;
9482
9482
  /**
9483
9483
  * Item type. Either a preset type or custom.
9484
9484
  * @readonly
@@ -9547,7 +9547,7 @@ interface CatalogReference$7 {
9547
9547
  */
9548
9548
  options?: Record<string, any> | null;
9549
9549
  }
9550
- interface ProductName$5 {
9550
+ interface ProductName$7 {
9551
9551
  /**
9552
9552
  * __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).
9553
9553
  *
@@ -9589,25 +9589,25 @@ interface MultiCurrencyPrice$3 {
9589
9589
  */
9590
9590
  formattedConvertedAmount?: string;
9591
9591
  }
9592
- interface DescriptionLine$5 extends DescriptionLineValueOneOf$5, DescriptionLineDescriptionLineValueOneOf$5 {
9592
+ interface DescriptionLine$7 extends DescriptionLineValueOneOf$7, DescriptionLineDescriptionLineValueOneOf$7 {
9593
9593
  /** Description line plain text value. */
9594
- plainText?: PlainTextValue$5;
9594
+ plainText?: PlainTextValue$7;
9595
9595
  /** Description line color value. */
9596
- colorInfo?: Color$5;
9596
+ colorInfo?: Color$7;
9597
9597
  /** Description line name. */
9598
- name?: DescriptionLineName$5;
9598
+ name?: DescriptionLineName$7;
9599
9599
  }
9600
9600
  /** @oneof */
9601
- interface DescriptionLineValueOneOf$5 {
9601
+ interface DescriptionLineValueOneOf$7 {
9602
9602
  /** Description line plain text value. */
9603
- plainText?: PlainTextValue$5;
9603
+ plainText?: PlainTextValue$7;
9604
9604
  /** Description line color value. */
9605
- colorInfo?: Color$5;
9605
+ colorInfo?: Color$7;
9606
9606
  }
9607
9607
  /** @oneof */
9608
- interface DescriptionLineDescriptionLineValueOneOf$5 {
9608
+ interface DescriptionLineDescriptionLineValueOneOf$7 {
9609
9609
  }
9610
- interface DescriptionLineName$5 {
9610
+ interface DescriptionLineName$7 {
9611
9611
  /** Description line 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). */
9612
9612
  original?: string;
9613
9613
  /**
@@ -9617,7 +9617,7 @@ interface DescriptionLineName$5 {
9617
9617
  */
9618
9618
  translated?: string | null;
9619
9619
  }
9620
- interface PlainTextValue$5 {
9620
+ interface PlainTextValue$7 {
9621
9621
  /** Description line plain text value 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). */
9622
9622
  original?: string;
9623
9623
  /**
@@ -9627,7 +9627,7 @@ interface PlainTextValue$5 {
9627
9627
  */
9628
9628
  translated?: string | null;
9629
9629
  }
9630
- interface Color$5 {
9630
+ interface Color$7 {
9631
9631
  /** Description line color 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). */
9632
9632
  original?: string;
9633
9633
  /**
@@ -9686,7 +9686,7 @@ declare enum ItemAvailabilityStatus$3 {
9686
9686
  /** Available quantity is less than requested */
9687
9687
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
9688
9688
  }
9689
- interface PhysicalProperties$5 {
9689
+ interface PhysicalProperties$7 {
9690
9690
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
9691
9691
  weight?: number | null;
9692
9692
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -12856,7 +12856,7 @@ interface LineItem$2 {
12856
12856
  * + Events - `ticket.name`
12857
12857
  * @readonly
12858
12858
  */
12859
- productName?: ProductName$4;
12859
+ productName?: ProductName$6;
12860
12860
  /**
12861
12861
  * URL to the item's page on the site.
12862
12862
  * @readonly
@@ -12881,7 +12881,7 @@ interface LineItem$2 {
12881
12881
  * Line item description lines. Used for displaying the cart, checkout and order.
12882
12882
  * @readonly
12883
12883
  */
12884
- descriptionLines?: DescriptionLine$4[];
12884
+ descriptionLines?: DescriptionLine$6[];
12885
12885
  /**
12886
12886
  * Line item image details.
12887
12887
  * @readonly
@@ -12896,7 +12896,7 @@ interface LineItem$2 {
12896
12896
  * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
12897
12897
  * @readonly
12898
12898
  */
12899
- physicalProperties?: PhysicalProperties$4;
12899
+ physicalProperties?: PhysicalProperties$6;
12900
12900
  /**
12901
12901
  * Item type. Either a preset type or custom.
12902
12902
  * @readonly
@@ -12965,7 +12965,7 @@ interface CatalogReference$6 {
12965
12965
  */
12966
12966
  options?: Record<string, any> | null;
12967
12967
  }
12968
- interface ProductName$4 {
12968
+ interface ProductName$6 {
12969
12969
  /** **Required** - Original product name (in site's default language). */
12970
12970
  original?: string;
12971
12971
  /** Description product name translated into buyer's language. Defaults to `original` when not defined. */
@@ -12990,37 +12990,37 @@ interface MultiCurrencyPrice$2 {
12990
12990
  */
12991
12991
  formattedConvertedAmount?: string;
12992
12992
  }
12993
- interface DescriptionLine$4 extends DescriptionLineValueOneOf$4, DescriptionLineDescriptionLineValueOneOf$4 {
12993
+ interface DescriptionLine$6 extends DescriptionLineValueOneOf$6, DescriptionLineDescriptionLineValueOneOf$6 {
12994
12994
  /** Description line plain text value. */
12995
- plainText?: PlainTextValue$4;
12995
+ plainText?: PlainTextValue$6;
12996
12996
  /** Description line color value. */
12997
- colorInfo?: Color$4;
12997
+ colorInfo?: Color$6;
12998
12998
  /** Description line name. */
12999
- name?: DescriptionLineName$4;
12999
+ name?: DescriptionLineName$6;
13000
13000
  }
13001
13001
  /** @oneof */
13002
- interface DescriptionLineValueOneOf$4 {
13002
+ interface DescriptionLineValueOneOf$6 {
13003
13003
  /** Description line plain text value. */
13004
- plainText?: PlainTextValue$4;
13004
+ plainText?: PlainTextValue$6;
13005
13005
  /** Description line color value. */
13006
- colorInfo?: Color$4;
13006
+ colorInfo?: Color$6;
13007
13007
  }
13008
13008
  /** @oneof */
13009
- interface DescriptionLineDescriptionLineValueOneOf$4 {
13009
+ interface DescriptionLineDescriptionLineValueOneOf$6 {
13010
13010
  }
13011
- interface DescriptionLineName$4 {
13011
+ interface DescriptionLineName$6 {
13012
13012
  /** Description line name in site's default language. */
13013
13013
  original?: string;
13014
13014
  /** Description line name translated into buyer's language. Defaults to `original` when not defined. */
13015
13015
  translated?: string | null;
13016
13016
  }
13017
- interface PlainTextValue$4 {
13017
+ interface PlainTextValue$6 {
13018
13018
  /** Description line plain text value in site's default language. */
13019
13019
  original?: string;
13020
13020
  /** Description line plain text value translated into buyer's language. Defaults to `original` when not defined. */
13021
13021
  translated?: string | null;
13022
13022
  }
13023
- interface Color$4 {
13023
+ interface Color$6 {
13024
13024
  /** Description line color name in site's default language. */
13025
13025
  original?: string;
13026
13026
  /** Description line color name translated into buyer's language. Defaults to `original` when not defined. */
@@ -13051,7 +13051,7 @@ declare enum ItemAvailabilityStatus$2 {
13051
13051
  /** Available quantity is less than requested */
13052
13052
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
13053
13053
  }
13054
- interface PhysicalProperties$4 {
13054
+ interface PhysicalProperties$6 {
13055
13055
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
13056
13056
  weight?: number | null;
13057
13057
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -15528,7 +15528,7 @@ interface LineItem$1 {
15528
15528
  * + Events - `ticket.name`
15529
15529
  * @readonly
15530
15530
  */
15531
- productName?: ProductName$3;
15531
+ productName?: ProductName$5;
15532
15532
  /**
15533
15533
  * URL to the item's page on the site.
15534
15534
  * @readonly
@@ -15578,7 +15578,7 @@ interface LineItem$1 {
15578
15578
  * Line item description lines. Used for display purposes for the cart, checkout and order.
15579
15579
  * @readonly
15580
15580
  */
15581
- descriptionLines?: DescriptionLine$3[];
15581
+ descriptionLines?: DescriptionLine$5[];
15582
15582
  /**
15583
15583
  * Line item image details.
15584
15584
  * @readonly
@@ -15593,7 +15593,7 @@ interface LineItem$1 {
15593
15593
  * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
15594
15594
  * @readonly
15595
15595
  */
15596
- physicalProperties?: PhysicalProperties$3;
15596
+ physicalProperties?: PhysicalProperties$5;
15597
15597
  /**
15598
15598
  * Item type. Either a preset type or custom.
15599
15599
  * @readonly
@@ -15632,6 +15632,8 @@ interface LineItem$1 {
15632
15632
  * @readonly
15633
15633
  */
15634
15634
  depositAmount?: MultiCurrencyPrice$1;
15635
+ /** Allows partial overrides for catalog line item properties like name, price, etc */
15636
+ catalogOverrideFields?: CatalogOverrideFields$3;
15635
15637
  }
15636
15638
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
15637
15639
  interface CatalogReference$5 {
@@ -15655,7 +15657,7 @@ interface CatalogReference$5 {
15655
15657
  */
15656
15658
  options?: Record<string, any> | null;
15657
15659
  }
15658
- interface ProductName$3 {
15660
+ interface ProductName$5 {
15659
15661
  /**
15660
15662
  * __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).
15661
15663
  *
@@ -15728,25 +15730,25 @@ declare enum JurisdictionType$2 {
15728
15730
  CITY = "CITY",
15729
15731
  SPECIAL = "SPECIAL"
15730
15732
  }
15731
- interface DescriptionLine$3 extends DescriptionLineValueOneOf$3, DescriptionLineDescriptionLineValueOneOf$3 {
15733
+ interface DescriptionLine$5 extends DescriptionLineValueOneOf$5, DescriptionLineDescriptionLineValueOneOf$5 {
15732
15734
  /** Description line plain text value. */
15733
- plainText?: PlainTextValue$3;
15735
+ plainText?: PlainTextValue$5;
15734
15736
  /** Description line color value. */
15735
- colorInfo?: Color$3;
15737
+ colorInfo?: Color$5;
15736
15738
  /** Description line name. */
15737
- name?: DescriptionLineName$3;
15739
+ name?: DescriptionLineName$5;
15738
15740
  }
15739
15741
  /** @oneof */
15740
- interface DescriptionLineValueOneOf$3 {
15742
+ interface DescriptionLineValueOneOf$5 {
15741
15743
  /** Description line plain text value. */
15742
- plainText?: PlainTextValue$3;
15744
+ plainText?: PlainTextValue$5;
15743
15745
  /** Description line color value. */
15744
- colorInfo?: Color$3;
15746
+ colorInfo?: Color$5;
15745
15747
  }
15746
15748
  /** @oneof */
15747
- interface DescriptionLineDescriptionLineValueOneOf$3 {
15749
+ interface DescriptionLineDescriptionLineValueOneOf$5 {
15748
15750
  }
15749
- interface DescriptionLineName$3 {
15751
+ interface DescriptionLineName$5 {
15750
15752
  /** Description line 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). */
15751
15753
  original?: string;
15752
15754
  /**
@@ -15756,7 +15758,7 @@ interface DescriptionLineName$3 {
15756
15758
  */
15757
15759
  translated?: string | null;
15758
15760
  }
15759
- interface PlainTextValue$3 {
15761
+ interface PlainTextValue$5 {
15760
15762
  /** Description line plain text value 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). */
15761
15763
  original?: string;
15762
15764
  /**
@@ -15766,7 +15768,7 @@ interface PlainTextValue$3 {
15766
15768
  */
15767
15769
  translated?: string | null;
15768
15770
  }
15769
- interface Color$3 {
15771
+ interface Color$5 {
15770
15772
  /** Description line color 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). */
15771
15773
  original?: string;
15772
15774
  /**
@@ -15825,7 +15827,7 @@ declare enum ItemAvailabilityStatus$1 {
15825
15827
  /** Available quantity is less than requested */
15826
15828
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
15827
15829
  }
15828
- interface PhysicalProperties$3 {
15830
+ interface PhysicalProperties$5 {
15829
15831
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
15830
15832
  weight?: number | null;
15831
15833
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -15901,6 +15903,32 @@ interface PriceDescription$3 {
15901
15903
  */
15902
15904
  translated?: string | null;
15903
15905
  }
15906
+ interface CatalogOverrideFields$3 {
15907
+ /** Item product name */
15908
+ productName?: ProductName$5;
15909
+ /** Item price **after** discounts. */
15910
+ price?: string | null;
15911
+ /** Item price **before** discount. */
15912
+ fullPrice?: string | null;
15913
+ /** Line item description lines. Used for displaying the cart, checkout and order. */
15914
+ descriptionLines?: DescriptionLine$5[];
15915
+ /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
15916
+ physicalProperties?: PhysicalProperties$5;
15917
+ /** Line item image details. */
15918
+ image?: Image$2;
15919
+ }
15920
+ interface Image$2 {
15921
+ /** WixMedia image ID. */
15922
+ id?: string;
15923
+ /** Original image height. */
15924
+ height?: number;
15925
+ /** Original image width. */
15926
+ width?: number;
15927
+ /** Image alt text. Optional. */
15928
+ altText?: string | null;
15929
+ /** Image filename. Optional. */
15930
+ filename?: string | null;
15931
+ }
15904
15932
  /** Billing Info and shipping details */
15905
15933
  interface AddressWithContact$3 {
15906
15934
  /** Address. */
@@ -25980,7 +26008,7 @@ interface LineItem {
25980
26008
  * + Events - `ticket.name`
25981
26009
  * @readonly
25982
26010
  */
25983
- productName?: ProductName$2;
26011
+ productName?: ProductName$4;
25984
26012
  /**
25985
26013
  * URL to the item's page on the site.
25986
26014
  * @readonly
@@ -26030,7 +26058,7 @@ interface LineItem {
26030
26058
  * Line item description lines. Used for displaying the cart, checkout and order.
26031
26059
  * @readonly
26032
26060
  */
26033
- descriptionLines?: DescriptionLine$2[];
26061
+ descriptionLines?: DescriptionLine$4[];
26034
26062
  /**
26035
26063
  * Line item image details.
26036
26064
  * @readonly
@@ -26045,7 +26073,7 @@ interface LineItem {
26045
26073
  * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
26046
26074
  * @readonly
26047
26075
  */
26048
- physicalProperties?: PhysicalProperties$2;
26076
+ physicalProperties?: PhysicalProperties$4;
26049
26077
  /**
26050
26078
  * Item type. Either a preset type or custom.
26051
26079
  * @readonly
@@ -26083,6 +26111,8 @@ interface LineItem {
26083
26111
  * @readonly
26084
26112
  */
26085
26113
  depositAmount?: MultiCurrencyPrice;
26114
+ /** Allows partial overrides for catalog line item properties like name, price, etc */
26115
+ catalogOverrideFields?: CatalogOverrideFields$2;
26086
26116
  }
26087
26117
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
26088
26118
  interface CatalogReference$4 {
@@ -26108,7 +26138,7 @@ interface CatalogReference$4 {
26108
26138
  */
26109
26139
  options?: Record<string, any> | null;
26110
26140
  }
26111
- interface ProductName$2 {
26141
+ interface ProductName$4 {
26112
26142
  /**
26113
26143
  * __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).
26114
26144
  *
@@ -26166,25 +26196,25 @@ interface TaxRateBreakdown {
26166
26196
  /** Amount of tax for this tax detail. */
26167
26197
  tax?: MultiCurrencyPrice;
26168
26198
  }
26169
- interface DescriptionLine$2 extends DescriptionLineValueOneOf$2, DescriptionLineDescriptionLineValueOneOf$2 {
26199
+ interface DescriptionLine$4 extends DescriptionLineValueOneOf$4, DescriptionLineDescriptionLineValueOneOf$4 {
26170
26200
  /** Description line plain text value. */
26171
- plainText?: PlainTextValue$2;
26201
+ plainText?: PlainTextValue$4;
26172
26202
  /** Description line color value. */
26173
- colorInfo?: Color$2;
26203
+ colorInfo?: Color$4;
26174
26204
  /** Description line name. */
26175
- name?: DescriptionLineName$2;
26205
+ name?: DescriptionLineName$4;
26176
26206
  }
26177
26207
  /** @oneof */
26178
- interface DescriptionLineValueOneOf$2 {
26208
+ interface DescriptionLineValueOneOf$4 {
26179
26209
  /** Description line plain text value. */
26180
- plainText?: PlainTextValue$2;
26210
+ plainText?: PlainTextValue$4;
26181
26211
  /** Description line color value. */
26182
- colorInfo?: Color$2;
26212
+ colorInfo?: Color$4;
26183
26213
  }
26184
26214
  /** @oneof */
26185
- interface DescriptionLineDescriptionLineValueOneOf$2 {
26215
+ interface DescriptionLineDescriptionLineValueOneOf$4 {
26186
26216
  }
26187
- interface DescriptionLineName$2 {
26217
+ interface DescriptionLineName$4 {
26188
26218
  /** Description line 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). */
26189
26219
  original?: string;
26190
26220
  /**
@@ -26194,7 +26224,7 @@ interface DescriptionLineName$2 {
26194
26224
  */
26195
26225
  translated?: string | null;
26196
26226
  }
26197
- interface PlainTextValue$2 {
26227
+ interface PlainTextValue$4 {
26198
26228
  /** Description line plain text value 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). */
26199
26229
  original?: string;
26200
26230
  /**
@@ -26204,7 +26234,7 @@ interface PlainTextValue$2 {
26204
26234
  */
26205
26235
  translated?: string | null;
26206
26236
  }
26207
- interface Color$2 {
26237
+ interface Color$4 {
26208
26238
  /** Description line color 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). */
26209
26239
  original?: string;
26210
26240
  /**
@@ -26235,7 +26265,7 @@ declare enum ItemAvailabilityStatus {
26235
26265
  /** Available quantity is less than requested */
26236
26266
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
26237
26267
  }
26238
- interface PhysicalProperties$2 {
26268
+ interface PhysicalProperties$4 {
26239
26269
  /** Line item weight. Measurement unit (`"KG"` or `"LB"`) is taken from `order.weightUnit`. */
26240
26270
  weight?: number | null;
26241
26271
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -26295,6 +26325,20 @@ interface PriceDescription$2 {
26295
26325
  */
26296
26326
  translated?: string | null;
26297
26327
  }
26328
+ interface CatalogOverrideFields$2 {
26329
+ /** Item product name */
26330
+ productName?: ProductName$4;
26331
+ /** Item price **after** discounts. */
26332
+ price?: string | null;
26333
+ /** Item price **before** discount. */
26334
+ fullPrice?: string | null;
26335
+ /** Line item description lines. Used for displaying the cart, checkout and order. */
26336
+ descriptionLines?: DescriptionLine$4[];
26337
+ /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
26338
+ physicalProperties?: PhysicalProperties$4;
26339
+ /** Line item image details. */
26340
+ image?: string;
26341
+ }
26298
26342
  /** Billing Info and shipping details */
26299
26343
  interface AddressWithContact$2 {
26300
26344
  /** Address. */
@@ -27298,6 +27342,26 @@ interface CreateCheckoutResponseNonNullableFields {
27298
27342
  formattedAmount: string;
27299
27343
  formattedConvertedAmount: string;
27300
27344
  };
27345
+ catalogOverrideFields?: {
27346
+ productName?: {
27347
+ original: string;
27348
+ };
27349
+ descriptionLines: {
27350
+ plainText?: {
27351
+ original: string;
27352
+ };
27353
+ colorInfo?: {
27354
+ original: string;
27355
+ };
27356
+ name?: {
27357
+ original: string;
27358
+ };
27359
+ }[];
27360
+ physicalProperties?: {
27361
+ shippable: boolean;
27362
+ };
27363
+ image: string;
27364
+ };
27301
27365
  }[];
27302
27366
  billingInfo?: {
27303
27367
  contactDetails?: {
@@ -27980,6 +28044,26 @@ interface GetCheckoutResponseNonNullableFields {
27980
28044
  formattedAmount: string;
27981
28045
  formattedConvertedAmount: string;
27982
28046
  };
28047
+ catalogOverrideFields?: {
28048
+ productName?: {
28049
+ original: string;
28050
+ };
28051
+ descriptionLines: {
28052
+ plainText?: {
28053
+ original: string;
28054
+ };
28055
+ colorInfo?: {
28056
+ original: string;
28057
+ };
28058
+ name?: {
28059
+ original: string;
28060
+ };
28061
+ }[];
28062
+ physicalProperties?: {
28063
+ shippable: boolean;
28064
+ };
28065
+ image: string;
28066
+ };
27983
28067
  }[];
27984
28068
  billingInfo?: {
27985
28069
  contactDetails?: {
@@ -28665,6 +28749,26 @@ interface UpdateCheckoutResponseNonNullableFields {
28665
28749
  formattedAmount: string;
28666
28750
  formattedConvertedAmount: string;
28667
28751
  };
28752
+ catalogOverrideFields?: {
28753
+ productName?: {
28754
+ original: string;
28755
+ };
28756
+ descriptionLines: {
28757
+ plainText?: {
28758
+ original: string;
28759
+ };
28760
+ colorInfo?: {
28761
+ original: string;
28762
+ };
28763
+ name?: {
28764
+ original: string;
28765
+ };
28766
+ }[];
28767
+ physicalProperties?: {
28768
+ shippable: boolean;
28769
+ };
28770
+ image: string;
28771
+ };
28668
28772
  }[];
28669
28773
  billingInfo?: {
28670
28774
  contactDetails?: {
@@ -29347,6 +29451,26 @@ interface RemoveCouponResponseNonNullableFields {
29347
29451
  formattedAmount: string;
29348
29452
  formattedConvertedAmount: string;
29349
29453
  };
29454
+ catalogOverrideFields?: {
29455
+ productName?: {
29456
+ original: string;
29457
+ };
29458
+ descriptionLines: {
29459
+ plainText?: {
29460
+ original: string;
29461
+ };
29462
+ colorInfo?: {
29463
+ original: string;
29464
+ };
29465
+ name?: {
29466
+ original: string;
29467
+ };
29468
+ }[];
29469
+ physicalProperties?: {
29470
+ shippable: boolean;
29471
+ };
29472
+ image: string;
29473
+ };
29350
29474
  }[];
29351
29475
  billingInfo?: {
29352
29476
  contactDetails?: {
@@ -30029,8 +30153,28 @@ interface RemoveGiftCardResponseNonNullableFields {
30029
30153
  formattedAmount: string;
30030
30154
  formattedConvertedAmount: string;
30031
30155
  };
30032
- }[];
30033
- billingInfo?: {
30156
+ catalogOverrideFields?: {
30157
+ productName?: {
30158
+ original: string;
30159
+ };
30160
+ descriptionLines: {
30161
+ plainText?: {
30162
+ original: string;
30163
+ };
30164
+ colorInfo?: {
30165
+ original: string;
30166
+ };
30167
+ name?: {
30168
+ original: string;
30169
+ };
30170
+ }[];
30171
+ physicalProperties?: {
30172
+ shippable: boolean;
30173
+ };
30174
+ image: string;
30175
+ };
30176
+ }[];
30177
+ billingInfo?: {
30034
30178
  contactDetails?: {
30035
30179
  vatId?: {
30036
30180
  _id: string;
@@ -30711,6 +30855,26 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields {
30711
30855
  formattedAmount: string;
30712
30856
  formattedConvertedAmount: string;
30713
30857
  };
30858
+ catalogOverrideFields?: {
30859
+ productName?: {
30860
+ original: string;
30861
+ };
30862
+ descriptionLines: {
30863
+ plainText?: {
30864
+ original: string;
30865
+ };
30866
+ colorInfo?: {
30867
+ original: string;
30868
+ };
30869
+ name?: {
30870
+ original: string;
30871
+ };
30872
+ }[];
30873
+ physicalProperties?: {
30874
+ shippable: boolean;
30875
+ };
30876
+ image: string;
30877
+ };
30714
30878
  }[];
30715
30879
  billingInfo?: {
30716
30880
  contactDetails?: {
@@ -31393,6 +31557,26 @@ interface AddToCheckoutResponseNonNullableFields {
31393
31557
  formattedAmount: string;
31394
31558
  formattedConvertedAmount: string;
31395
31559
  };
31560
+ catalogOverrideFields?: {
31561
+ productName?: {
31562
+ original: string;
31563
+ };
31564
+ descriptionLines: {
31565
+ plainText?: {
31566
+ original: string;
31567
+ };
31568
+ colorInfo?: {
31569
+ original: string;
31570
+ };
31571
+ name?: {
31572
+ original: string;
31573
+ };
31574
+ }[];
31575
+ physicalProperties?: {
31576
+ shippable: boolean;
31577
+ };
31578
+ image: string;
31579
+ };
31396
31580
  }[];
31397
31581
  billingInfo?: {
31398
31582
  contactDetails?: {
@@ -32075,6 +32259,26 @@ interface RemoveLineItemsResponseNonNullableFields {
32075
32259
  formattedAmount: string;
32076
32260
  formattedConvertedAmount: string;
32077
32261
  };
32262
+ catalogOverrideFields?: {
32263
+ productName?: {
32264
+ original: string;
32265
+ };
32266
+ descriptionLines: {
32267
+ plainText?: {
32268
+ original: string;
32269
+ };
32270
+ colorInfo?: {
32271
+ original: string;
32272
+ };
32273
+ name?: {
32274
+ original: string;
32275
+ };
32276
+ }[];
32277
+ physicalProperties?: {
32278
+ shippable: boolean;
32279
+ };
32280
+ image: string;
32281
+ };
32078
32282
  }[];
32079
32283
  billingInfo?: {
32080
32284
  contactDetails?: {
@@ -32761,6 +32965,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
32761
32965
  formattedAmount: string;
32762
32966
  formattedConvertedAmount: string;
32763
32967
  };
32968
+ catalogOverrideFields?: {
32969
+ productName?: {
32970
+ original: string;
32971
+ };
32972
+ descriptionLines: {
32973
+ plainText?: {
32974
+ original: string;
32975
+ };
32976
+ colorInfo?: {
32977
+ original: string;
32978
+ };
32979
+ name?: {
32980
+ original: string;
32981
+ };
32982
+ }[];
32983
+ physicalProperties?: {
32984
+ shippable: boolean;
32985
+ };
32986
+ image: string;
32987
+ };
32764
32988
  }[];
32765
32989
  billingInfo?: {
32766
32990
  contactDetails?: {
@@ -33766,6 +33990,8 @@ interface V1LineItem$1 {
33766
33990
  * > **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).
33767
33991
  */
33768
33992
  catalogReference?: CatalogReference$3;
33993
+ /** Allows partial overrides for catalog line item properties like name, price, etc */
33994
+ catalogOverrideFields?: CatalogOverrideFields$1;
33769
33995
  }
33770
33996
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
33771
33997
  interface CatalogReference$3 {
@@ -33789,11 +34015,112 @@ interface CatalogReference$3 {
33789
34015
  */
33790
34016
  options?: Record<string, any> | null;
33791
34017
  }
34018
+ interface CatalogOverrideFields$1 {
34019
+ /** Item product name */
34020
+ productName?: ProductName$3;
34021
+ /** Item price **after** discounts. */
34022
+ price?: string | null;
34023
+ /** Item price **before** discount. */
34024
+ fullPrice?: string | null;
34025
+ /** Line item description lines. Used for displaying the cart, checkout and order. */
34026
+ descriptionLines?: DescriptionLine$3[];
34027
+ /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
34028
+ physicalProperties?: PhysicalProperties$3;
34029
+ /** Line item image details. */
34030
+ image?: Image$1;
34031
+ }
34032
+ interface ProductName$3 {
34033
+ /**
34034
+ * __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).
34035
+ *
34036
+ * Min: 1 character.
34037
+ * Max: 200 characters.
34038
+ */
34039
+ original?: string;
34040
+ /**
34041
+ * Item name translated into the buyer's language.
34042
+ *
34043
+ * Min: 1 character.
34044
+ * Max: 400 characters.
34045
+ * Default: Same as `original`.
34046
+ */
34047
+ translated?: string | null;
34048
+ }
34049
+ interface DescriptionLine$3 extends DescriptionLineValueOneOf$3, DescriptionLineDescriptionLineValueOneOf$3 {
34050
+ /** Description line plain text value. */
34051
+ plainText?: PlainTextValue$3;
34052
+ /** Description line color value. */
34053
+ colorInfo?: Color$3;
34054
+ /** Description line name. */
34055
+ name?: DescriptionLineName$3;
34056
+ }
34057
+ /** @oneof */
34058
+ interface DescriptionLineValueOneOf$3 {
34059
+ /** Description line plain text value. */
34060
+ plainText?: PlainTextValue$3;
34061
+ /** Description line color value. */
34062
+ colorInfo?: Color$3;
34063
+ }
34064
+ /** @oneof */
34065
+ interface DescriptionLineDescriptionLineValueOneOf$3 {
34066
+ }
34067
+ interface DescriptionLineName$3 {
34068
+ /** Description line 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). */
34069
+ original?: string;
34070
+ /**
34071
+ * Description line name translated into the buyer's language.
34072
+ *
34073
+ * Default: Same as `original`.
34074
+ */
34075
+ translated?: string | null;
34076
+ }
34077
+ interface PlainTextValue$3 {
34078
+ /** Description line plain text value 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). */
34079
+ original?: string;
34080
+ /**
34081
+ * Description line plain text value translated into the buyer's language.
34082
+ *
34083
+ * Default: Same as `original`.
34084
+ */
34085
+ translated?: string | null;
34086
+ }
34087
+ interface Color$3 {
34088
+ /** Description line color 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). */
34089
+ original?: string;
34090
+ /**
34091
+ * Description line color name translated into the buyer's language.
34092
+ *
34093
+ * Default: Same as `original`.
34094
+ */
34095
+ translated?: string | null;
34096
+ /** HEX or RGB color code for display. */
34097
+ code?: string | null;
34098
+ }
33792
34099
  declare enum DescriptionLineType$1 {
33793
34100
  UNRECOGNISED = "UNRECOGNISED",
33794
34101
  PLAIN_TEXT = "PLAIN_TEXT",
33795
34102
  COLOR = "COLOR"
33796
34103
  }
34104
+ interface PhysicalProperties$3 {
34105
+ /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
34106
+ weight?: number | null;
34107
+ /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
34108
+ sku?: string | null;
34109
+ /** Whether this line item is shippable. */
34110
+ shippable?: boolean;
34111
+ }
34112
+ interface Image$1 {
34113
+ /** WixMedia image ID. */
34114
+ id?: string;
34115
+ /** Original image height. */
34116
+ height?: number;
34117
+ /** Original image width. */
34118
+ width?: number;
34119
+ /** Image alt text. Optional. */
34120
+ altText?: string | null;
34121
+ /** Image filename. Optional. */
34122
+ filename?: string | null;
34123
+ }
33797
34124
  declare enum ItemTypeItemType$2 {
33798
34125
  UNRECOGNISED = "UNRECOGNISED",
33799
34126
  PHYSICAL = "PHYSICAL",
@@ -34506,6 +34833,8 @@ interface V1LineItem {
34506
34833
  * > **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).
34507
34834
  */
34508
34835
  catalogReference?: CatalogReference$2;
34836
+ /** Allows partial overrides for catalog line item properties like name, price, etc */
34837
+ catalogOverrideFields?: CatalogOverrideFields;
34509
34838
  }
34510
34839
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
34511
34840
  interface CatalogReference$2 {
@@ -34529,6 +34858,95 @@ interface CatalogReference$2 {
34529
34858
  */
34530
34859
  options?: Record<string, any> | null;
34531
34860
  }
34861
+ interface CatalogOverrideFields {
34862
+ /** Item product name */
34863
+ productName?: ProductName$2;
34864
+ /** Item price **after** discounts. */
34865
+ price?: string | null;
34866
+ /** Item price **before** discount. */
34867
+ fullPrice?: string | null;
34868
+ /** Line item description lines. Used for displaying the cart, checkout and order. */
34869
+ descriptionLines?: DescriptionLine$2[];
34870
+ /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
34871
+ physicalProperties?: PhysicalProperties$2;
34872
+ /** Line item image details. */
34873
+ image?: string;
34874
+ }
34875
+ interface ProductName$2 {
34876
+ /**
34877
+ * __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).
34878
+ *
34879
+ * Min: 1 character.
34880
+ * Max: 200 characters.
34881
+ */
34882
+ original?: string;
34883
+ /**
34884
+ * Item name translated into the buyer's language.
34885
+ *
34886
+ * Min: 1 character.
34887
+ * Max: 400 characters.
34888
+ * Default: Same as `original`.
34889
+ */
34890
+ translated?: string | null;
34891
+ }
34892
+ interface DescriptionLine$2 extends DescriptionLineValueOneOf$2, DescriptionLineDescriptionLineValueOneOf$2 {
34893
+ /** Description line plain text value. */
34894
+ plainText?: PlainTextValue$2;
34895
+ /** Description line color value. */
34896
+ colorInfo?: Color$2;
34897
+ /** Description line name. */
34898
+ name?: DescriptionLineName$2;
34899
+ }
34900
+ /** @oneof */
34901
+ interface DescriptionLineValueOneOf$2 {
34902
+ /** Description line plain text value. */
34903
+ plainText?: PlainTextValue$2;
34904
+ /** Description line color value. */
34905
+ colorInfo?: Color$2;
34906
+ }
34907
+ /** @oneof */
34908
+ interface DescriptionLineDescriptionLineValueOneOf$2 {
34909
+ }
34910
+ interface DescriptionLineName$2 {
34911
+ /** Description line 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). */
34912
+ original?: string;
34913
+ /**
34914
+ * Description line name translated into the buyer's language.
34915
+ *
34916
+ * Default: Same as `original`.
34917
+ */
34918
+ translated?: string | null;
34919
+ }
34920
+ interface PlainTextValue$2 {
34921
+ /** Description line plain text value 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). */
34922
+ original?: string;
34923
+ /**
34924
+ * Description line plain text value translated into the buyer's language.
34925
+ *
34926
+ * Default: Same as `original`.
34927
+ */
34928
+ translated?: string | null;
34929
+ }
34930
+ interface Color$2 {
34931
+ /** Description line color 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). */
34932
+ original?: string;
34933
+ /**
34934
+ * Description line color name translated into the buyer's language.
34935
+ *
34936
+ * Default: Same as `original`.
34937
+ */
34938
+ translated?: string | null;
34939
+ /** HEX or RGB color code for display. */
34940
+ code?: string | null;
34941
+ }
34942
+ interface PhysicalProperties$2 {
34943
+ /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
34944
+ weight?: number | null;
34945
+ /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
34946
+ sku?: string | null;
34947
+ /** Whether this line item is shippable. */
34948
+ shippable?: boolean;
34949
+ }
34532
34950
  interface CreateCheckoutTemplateRequest {
34533
34951
  /** Checkout template to create. */
34534
34952
  checkoutTemplate: CheckoutTemplate;
@@ -34663,6 +35081,26 @@ interface CreateCheckoutTemplateResponseNonNullableFields {
34663
35081
  catalogItemId: string;
34664
35082
  appId: string;
34665
35083
  };
35084
+ catalogOverrideFields?: {
35085
+ productName?: {
35086
+ original: string;
35087
+ };
35088
+ descriptionLines: {
35089
+ plainText?: {
35090
+ original: string;
35091
+ };
35092
+ colorInfo?: {
35093
+ original: string;
35094
+ };
35095
+ name?: {
35096
+ original: string;
35097
+ };
35098
+ }[];
35099
+ physicalProperties?: {
35100
+ shippable: boolean;
35101
+ };
35102
+ image: string;
35103
+ };
34666
35104
  }[];
34667
35105
  };
34668
35106
  }
@@ -34682,6 +35120,26 @@ interface GetCheckoutTemplateResponseNonNullableFields {
34682
35120
  catalogItemId: string;
34683
35121
  appId: string;
34684
35122
  };
35123
+ catalogOverrideFields?: {
35124
+ productName?: {
35125
+ original: string;
35126
+ };
35127
+ descriptionLines: {
35128
+ plainText?: {
35129
+ original: string;
35130
+ };
35131
+ colorInfo?: {
35132
+ original: string;
35133
+ };
35134
+ name?: {
35135
+ original: string;
35136
+ };
35137
+ }[];
35138
+ physicalProperties?: {
35139
+ shippable: boolean;
35140
+ };
35141
+ image: string;
35142
+ };
34685
35143
  }[];
34686
35144
  };
34687
35145
  }
@@ -34701,6 +35159,26 @@ interface UpdateCheckoutTemplateResponseNonNullableFields {
34701
35159
  catalogItemId: string;
34702
35160
  appId: string;
34703
35161
  };
35162
+ catalogOverrideFields?: {
35163
+ productName?: {
35164
+ original: string;
35165
+ };
35166
+ descriptionLines: {
35167
+ plainText?: {
35168
+ original: string;
35169
+ };
35170
+ colorInfo?: {
35171
+ original: string;
35172
+ };
35173
+ name?: {
35174
+ original: string;
35175
+ };
35176
+ }[];
35177
+ physicalProperties?: {
35178
+ shippable: boolean;
35179
+ };
35180
+ image: string;
35181
+ };
34704
35182
  }[];
34705
35183
  };
34706
35184
  }
@@ -34720,6 +35198,26 @@ interface QueryCheckoutTemplatesResponseNonNullableFields {
34720
35198
  catalogItemId: string;
34721
35199
  appId: string;
34722
35200
  };
35201
+ catalogOverrideFields?: {
35202
+ productName?: {
35203
+ original: string;
35204
+ };
35205
+ descriptionLines: {
35206
+ plainText?: {
35207
+ original: string;
35208
+ };
35209
+ colorInfo?: {
35210
+ original: string;
35211
+ };
35212
+ name?: {
35213
+ original: string;
35214
+ };
35215
+ }[];
35216
+ physicalProperties?: {
35217
+ shippable: boolean;
35218
+ };
35219
+ image: string;
35220
+ };
34723
35221
  }[];
34724
35222
  }[];
34725
35223
  }