@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.
@@ -2268,9 +2268,9 @@ interface BackInStockItemDetails$1 {
2268
2268
  /** Item price. */
2269
2269
  price?: string;
2270
2270
  /** Item image. */
2271
- image?: Image$5;
2271
+ image?: Image$1;
2272
2272
  }
2273
- interface Image$5 {
2273
+ interface Image$1 {
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$9;
3069
+ productName?: ProductName$7;
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$9[];
3094
+ descriptionLines?: DescriptionLine$7[];
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$9;
3109
+ physicalProperties?: PhysicalProperties$7;
3110
3110
  /**
3111
3111
  * Item type. Either a preset type or custom.
3112
3112
  * @readonly
@@ -3152,8 +3152,6 @@ 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;
3157
3155
  }
3158
3156
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
3159
3157
  interface CatalogReference$9 {
@@ -3177,7 +3175,7 @@ interface CatalogReference$9 {
3177
3175
  */
3178
3176
  options?: Record<string, any> | null;
3179
3177
  }
3180
- interface ProductName$9 {
3178
+ interface ProductName$7 {
3181
3179
  /**
3182
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).
3183
3181
  *
@@ -3219,25 +3217,25 @@ interface MultiCurrencyPrice$5 {
3219
3217
  */
3220
3218
  formattedConvertedAmount?: string;
3221
3219
  }
3222
- interface DescriptionLine$9 extends DescriptionLineValueOneOf$9, DescriptionLineDescriptionLineValueOneOf$9 {
3220
+ interface DescriptionLine$7 extends DescriptionLineValueOneOf$7, DescriptionLineDescriptionLineValueOneOf$7 {
3223
3221
  /** Description line plain text value. */
3224
- plainText?: PlainTextValue$9;
3222
+ plainText?: PlainTextValue$7;
3225
3223
  /** Description line color value. */
3226
- colorInfo?: Color$9;
3224
+ colorInfo?: Color$7;
3227
3225
  /** Description line name. */
3228
- name?: DescriptionLineName$9;
3226
+ name?: DescriptionLineName$7;
3229
3227
  }
3230
3228
  /** @oneof */
3231
- interface DescriptionLineValueOneOf$9 {
3229
+ interface DescriptionLineValueOneOf$7 {
3232
3230
  /** Description line plain text value. */
3233
- plainText?: PlainTextValue$9;
3231
+ plainText?: PlainTextValue$7;
3234
3232
  /** Description line color value. */
3235
- colorInfo?: Color$9;
3233
+ colorInfo?: Color$7;
3236
3234
  }
3237
3235
  /** @oneof */
3238
- interface DescriptionLineDescriptionLineValueOneOf$9 {
3236
+ interface DescriptionLineDescriptionLineValueOneOf$7 {
3239
3237
  }
3240
- interface DescriptionLineName$9 {
3238
+ interface DescriptionLineName$7 {
3241
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). */
3242
3240
  original?: string;
3243
3241
  /**
@@ -3247,7 +3245,7 @@ interface DescriptionLineName$9 {
3247
3245
  */
3248
3246
  translated?: string | null;
3249
3247
  }
3250
- interface PlainTextValue$9 {
3248
+ interface PlainTextValue$7 {
3251
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). */
3252
3250
  original?: string;
3253
3251
  /**
@@ -3257,7 +3255,7 @@ interface PlainTextValue$9 {
3257
3255
  */
3258
3256
  translated?: string | null;
3259
3257
  }
3260
- interface Color$9 {
3258
+ interface Color$7 {
3261
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). */
3262
3260
  original?: string;
3263
3261
  /**
@@ -3316,7 +3314,7 @@ declare enum ItemAvailabilityStatus$5 {
3316
3314
  /** Available quantity is less than requested */
3317
3315
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
3318
3316
  }
3319
- interface PhysicalProperties$9 {
3317
+ interface PhysicalProperties$7 {
3320
3318
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
3321
3319
  weight?: number | null;
3322
3320
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -3399,32 +3397,6 @@ interface SelectedMembership$5 {
3399
3397
  /** ID of the app providing this payment option. */
3400
3398
  appId?: string;
3401
3399
  }
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
- }
3428
3400
  /** Buyer Info */
3429
3401
  interface BuyerInfo$7 extends BuyerInfoIdOneOf$7 {
3430
3402
  /**
@@ -6725,7 +6697,7 @@ interface LineItem$4 {
6725
6697
  * + Events - `ticket.name`
6726
6698
  * @readonly
6727
6699
  */
6728
- productName?: ProductName$8;
6700
+ productName?: ProductName$6;
6729
6701
  /**
6730
6702
  * URL to the item's page on the site.
6731
6703
  * @readonly
@@ -6750,7 +6722,7 @@ interface LineItem$4 {
6750
6722
  * Line item description lines. Used for displaying the cart, checkout and order.
6751
6723
  * @readonly
6752
6724
  */
6753
- descriptionLines?: DescriptionLine$8[];
6725
+ descriptionLines?: DescriptionLine$6[];
6754
6726
  /**
6755
6727
  * Line item image details.
6756
6728
  * @readonly
@@ -6765,7 +6737,7 @@ interface LineItem$4 {
6765
6737
  * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
6766
6738
  * @readonly
6767
6739
  */
6768
- physicalProperties?: PhysicalProperties$8;
6740
+ physicalProperties?: PhysicalProperties$6;
6769
6741
  /**
6770
6742
  * Item type. Either a preset type or custom.
6771
6743
  * @readonly
@@ -6809,8 +6781,6 @@ interface LineItem$4 {
6809
6781
  * @readonly
6810
6782
  */
6811
6783
  taxGroupId?: string | null;
6812
- /** Allows partial overrides for catalog line item properties like name, price, etc */
6813
- catalogOverrideFields?: CatalogOverrideFields$6;
6814
6784
  }
6815
6785
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
6816
6786
  interface CatalogReference$8 {
@@ -6836,7 +6806,7 @@ interface CatalogReference$8 {
6836
6806
  */
6837
6807
  options?: Record<string, any> | null;
6838
6808
  }
6839
- interface ProductName$8 {
6809
+ interface ProductName$6 {
6840
6810
  /** **Required** - Original product name (in site's default language). */
6841
6811
  original?: string;
6842
6812
  /** Description product name translated into buyer's language. Defaults to `original` when not defined. */
@@ -6861,37 +6831,37 @@ interface MultiCurrencyPrice$4 {
6861
6831
  */
6862
6832
  formattedConvertedAmount?: string;
6863
6833
  }
6864
- interface DescriptionLine$8 extends DescriptionLineValueOneOf$8, DescriptionLineDescriptionLineValueOneOf$8 {
6834
+ interface DescriptionLine$6 extends DescriptionLineValueOneOf$6, DescriptionLineDescriptionLineValueOneOf$6 {
6865
6835
  /** Description line plain text value. */
6866
- plainText?: PlainTextValue$8;
6836
+ plainText?: PlainTextValue$6;
6867
6837
  /** Description line color value. */
6868
- colorInfo?: Color$8;
6838
+ colorInfo?: Color$6;
6869
6839
  /** Description line name. */
6870
- name?: DescriptionLineName$8;
6840
+ name?: DescriptionLineName$6;
6871
6841
  }
6872
6842
  /** @oneof */
6873
- interface DescriptionLineValueOneOf$8 {
6843
+ interface DescriptionLineValueOneOf$6 {
6874
6844
  /** Description line plain text value. */
6875
- plainText?: PlainTextValue$8;
6845
+ plainText?: PlainTextValue$6;
6876
6846
  /** Description line color value. */
6877
- colorInfo?: Color$8;
6847
+ colorInfo?: Color$6;
6878
6848
  }
6879
6849
  /** @oneof */
6880
- interface DescriptionLineDescriptionLineValueOneOf$8 {
6850
+ interface DescriptionLineDescriptionLineValueOneOf$6 {
6881
6851
  }
6882
- interface DescriptionLineName$8 {
6852
+ interface DescriptionLineName$6 {
6883
6853
  /** Description line name in site's default language. */
6884
6854
  original?: string;
6885
6855
  /** Description line name translated into buyer's language. Defaults to `original` when not defined. */
6886
6856
  translated?: string | null;
6887
6857
  }
6888
- interface PlainTextValue$8 {
6858
+ interface PlainTextValue$6 {
6889
6859
  /** Description line plain text value in site's default language. */
6890
6860
  original?: string;
6891
6861
  /** Description line plain text value translated into buyer's language. Defaults to `original` when not defined. */
6892
6862
  translated?: string | null;
6893
6863
  }
6894
- interface Color$8 {
6864
+ interface Color$6 {
6895
6865
  /** Description line color name in site's default language. */
6896
6866
  original?: string;
6897
6867
  /** Description line color name translated into buyer's language. Defaults to `original` when not defined. */
@@ -6922,7 +6892,7 @@ declare enum ItemAvailabilityStatus$4 {
6922
6892
  /** Available quantity is less than requested */
6923
6893
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
6924
6894
  }
6925
- interface PhysicalProperties$8 {
6895
+ interface PhysicalProperties$6 {
6926
6896
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
6927
6897
  weight?: number | null;
6928
6898
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -6985,20 +6955,6 @@ interface SelectedMembership$4 {
6985
6955
  /** ID of the app providing this payment option. */
6986
6956
  appId?: string;
6987
6957
  }
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
- }
7002
6958
  /** Buyer Info */
7003
6959
  interface BuyerInfo$6 extends BuyerInfoIdOneOf$6 {
7004
6960
  /**
@@ -7980,25 +7936,107 @@ interface UpdateCartResponseNonNullableFields$2 {
7980
7936
  _id: string;
7981
7937
  appId: string;
7982
7938
  };
7983
- catalogOverrideFields?: {
7984
- productName?: {
7939
+ }[];
7940
+ buyerInfo?: {
7941
+ visitorId: string;
7942
+ memberId: string;
7943
+ userId: string;
7944
+ };
7945
+ currency: string;
7946
+ conversionCurrency: string;
7947
+ weightUnit: WeightUnit$6;
7948
+ appliedDiscounts: {
7949
+ coupon?: {
7950
+ _id: string;
7951
+ code: string;
7952
+ };
7953
+ merchantDiscount?: {
7954
+ amount?: {
7955
+ amount: string;
7956
+ convertedAmount: string;
7957
+ formattedAmount: string;
7958
+ formattedConvertedAmount: string;
7959
+ };
7960
+ };
7961
+ }[];
7962
+ contactInfo?: {
7963
+ contactDetails?: {
7964
+ vatId?: {
7965
+ _id: string;
7966
+ type: VatType$4;
7967
+ };
7968
+ };
7969
+ };
7970
+ selectedShippingOption?: {
7971
+ code: string;
7972
+ };
7973
+ };
7974
+ }
7975
+ interface AddToCartResponseNonNullableFields$2 {
7976
+ cart?: {
7977
+ lineItems: {
7978
+ quantity: number;
7979
+ catalogReference?: {
7980
+ catalogItemId: string;
7981
+ appId: string;
7982
+ };
7983
+ productName?: {
7984
+ original: string;
7985
+ };
7986
+ url: string;
7987
+ price?: {
7988
+ amount: string;
7989
+ convertedAmount: string;
7990
+ formattedAmount: string;
7991
+ formattedConvertedAmount: string;
7992
+ };
7993
+ fullPrice?: {
7994
+ amount: string;
7995
+ convertedAmount: string;
7996
+ formattedAmount: string;
7997
+ formattedConvertedAmount: string;
7998
+ };
7999
+ priceBeforeDiscounts?: {
8000
+ amount: string;
8001
+ convertedAmount: string;
8002
+ formattedAmount: string;
8003
+ formattedConvertedAmount: string;
8004
+ };
8005
+ descriptionLines: {
8006
+ plainText?: {
7985
8007
  original: string;
7986
8008
  };
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;
8009
+ colorInfo?: {
8010
+ original: string;
8000
8011
  };
8001
- image: string;
8012
+ name?: {
8013
+ original: string;
8014
+ };
8015
+ }[];
8016
+ image: string;
8017
+ availability?: {
8018
+ status: ItemAvailabilityStatus$4;
8019
+ };
8020
+ physicalProperties?: {
8021
+ shippable: boolean;
8022
+ };
8023
+ itemType?: {
8024
+ preset: ItemTypeItemType$7;
8025
+ custom: string;
8026
+ };
8027
+ paymentOption: PaymentOptionType$7;
8028
+ priceDescription?: {
8029
+ original: string;
8030
+ };
8031
+ depositAmount?: {
8032
+ amount: string;
8033
+ convertedAmount: string;
8034
+ formattedAmount: string;
8035
+ formattedConvertedAmount: string;
8036
+ };
8037
+ selectedMembership?: {
8038
+ _id: string;
8039
+ appId: string;
8002
8040
  };
8003
8041
  }[];
8004
8042
  buyerInfo?: {
@@ -8036,7 +8074,112 @@ interface UpdateCartResponseNonNullableFields$2 {
8036
8074
  };
8037
8075
  };
8038
8076
  }
8039
- interface AddToCartResponseNonNullableFields$2 {
8077
+ interface RemoveLineItemsResponseNonNullableFields$4 {
8078
+ cart?: {
8079
+ lineItems: {
8080
+ quantity: number;
8081
+ catalogReference?: {
8082
+ catalogItemId: string;
8083
+ appId: string;
8084
+ };
8085
+ productName?: {
8086
+ original: string;
8087
+ };
8088
+ url: string;
8089
+ price?: {
8090
+ amount: string;
8091
+ convertedAmount: string;
8092
+ formattedAmount: string;
8093
+ formattedConvertedAmount: string;
8094
+ };
8095
+ fullPrice?: {
8096
+ amount: string;
8097
+ convertedAmount: string;
8098
+ formattedAmount: string;
8099
+ formattedConvertedAmount: string;
8100
+ };
8101
+ priceBeforeDiscounts?: {
8102
+ amount: string;
8103
+ convertedAmount: string;
8104
+ formattedAmount: string;
8105
+ formattedConvertedAmount: string;
8106
+ };
8107
+ descriptionLines: {
8108
+ plainText?: {
8109
+ original: string;
8110
+ };
8111
+ colorInfo?: {
8112
+ original: string;
8113
+ };
8114
+ name?: {
8115
+ original: string;
8116
+ };
8117
+ }[];
8118
+ image: string;
8119
+ availability?: {
8120
+ status: ItemAvailabilityStatus$4;
8121
+ };
8122
+ physicalProperties?: {
8123
+ shippable: boolean;
8124
+ };
8125
+ itemType?: {
8126
+ preset: ItemTypeItemType$7;
8127
+ custom: string;
8128
+ };
8129
+ paymentOption: PaymentOptionType$7;
8130
+ priceDescription?: {
8131
+ original: string;
8132
+ };
8133
+ depositAmount?: {
8134
+ amount: string;
8135
+ convertedAmount: string;
8136
+ formattedAmount: string;
8137
+ formattedConvertedAmount: string;
8138
+ };
8139
+ selectedMembership?: {
8140
+ _id: string;
8141
+ appId: string;
8142
+ };
8143
+ }[];
8144
+ buyerInfo?: {
8145
+ visitorId: string;
8146
+ memberId: string;
8147
+ userId: string;
8148
+ };
8149
+ currency: string;
8150
+ conversionCurrency: string;
8151
+ weightUnit: WeightUnit$6;
8152
+ appliedDiscounts: {
8153
+ coupon?: {
8154
+ _id: string;
8155
+ code: string;
8156
+ };
8157
+ merchantDiscount?: {
8158
+ amount?: {
8159
+ amount: string;
8160
+ convertedAmount: string;
8161
+ formattedAmount: string;
8162
+ formattedConvertedAmount: string;
8163
+ };
8164
+ };
8165
+ }[];
8166
+ contactInfo?: {
8167
+ contactDetails?: {
8168
+ vatId?: {
8169
+ _id: string;
8170
+ type: VatType$4;
8171
+ };
8172
+ };
8173
+ };
8174
+ selectedShippingOption?: {
8175
+ code: string;
8176
+ };
8177
+ };
8178
+ }
8179
+ interface CreateCheckoutResponseNonNullableFields$4 {
8180
+ checkoutId: string;
8181
+ }
8182
+ interface RemoveCouponResponseNonNullableFields$4 {
8040
8183
  cart?: {
8041
8184
  lineItems: {
8042
8185
  quantity: number;
@@ -8102,273 +8245,6 @@ interface AddToCartResponseNonNullableFields$2 {
8102
8245
  _id: string;
8103
8246
  appId: string;
8104
8247
  };
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
- };
8125
- }[];
8126
- buyerInfo?: {
8127
- visitorId: string;
8128
- memberId: string;
8129
- userId: string;
8130
- };
8131
- currency: string;
8132
- conversionCurrency: string;
8133
- weightUnit: WeightUnit$6;
8134
- appliedDiscounts: {
8135
- coupon?: {
8136
- _id: string;
8137
- code: string;
8138
- };
8139
- merchantDiscount?: {
8140
- amount?: {
8141
- amount: string;
8142
- convertedAmount: string;
8143
- formattedAmount: string;
8144
- formattedConvertedAmount: string;
8145
- };
8146
- };
8147
- }[];
8148
- contactInfo?: {
8149
- contactDetails?: {
8150
- vatId?: {
8151
- _id: string;
8152
- type: VatType$4;
8153
- };
8154
- };
8155
- };
8156
- selectedShippingOption?: {
8157
- code: string;
8158
- };
8159
- };
8160
- }
8161
- interface RemoveLineItemsResponseNonNullableFields$4 {
8162
- cart?: {
8163
- lineItems: {
8164
- quantity: number;
8165
- catalogReference?: {
8166
- catalogItemId: string;
8167
- appId: string;
8168
- };
8169
- productName?: {
8170
- original: string;
8171
- };
8172
- url: string;
8173
- price?: {
8174
- amount: string;
8175
- convertedAmount: string;
8176
- formattedAmount: string;
8177
- formattedConvertedAmount: string;
8178
- };
8179
- fullPrice?: {
8180
- amount: string;
8181
- convertedAmount: string;
8182
- formattedAmount: string;
8183
- formattedConvertedAmount: string;
8184
- };
8185
- priceBeforeDiscounts?: {
8186
- amount: string;
8187
- convertedAmount: string;
8188
- formattedAmount: string;
8189
- formattedConvertedAmount: string;
8190
- };
8191
- descriptionLines: {
8192
- plainText?: {
8193
- original: string;
8194
- };
8195
- colorInfo?: {
8196
- original: string;
8197
- };
8198
- name?: {
8199
- original: string;
8200
- };
8201
- }[];
8202
- image: string;
8203
- availability?: {
8204
- status: ItemAvailabilityStatus$4;
8205
- };
8206
- physicalProperties?: {
8207
- shippable: boolean;
8208
- };
8209
- itemType?: {
8210
- preset: ItemTypeItemType$7;
8211
- custom: string;
8212
- };
8213
- paymentOption: PaymentOptionType$7;
8214
- priceDescription?: {
8215
- original: string;
8216
- };
8217
- depositAmount?: {
8218
- amount: string;
8219
- convertedAmount: string;
8220
- formattedAmount: string;
8221
- formattedConvertedAmount: string;
8222
- };
8223
- selectedMembership?: {
8224
- _id: string;
8225
- appId: string;
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
- };
8247
- }[];
8248
- buyerInfo?: {
8249
- visitorId: string;
8250
- memberId: string;
8251
- userId: string;
8252
- };
8253
- currency: string;
8254
- conversionCurrency: string;
8255
- weightUnit: WeightUnit$6;
8256
- appliedDiscounts: {
8257
- coupon?: {
8258
- _id: string;
8259
- code: string;
8260
- };
8261
- merchantDiscount?: {
8262
- amount?: {
8263
- amount: string;
8264
- convertedAmount: string;
8265
- formattedAmount: string;
8266
- formattedConvertedAmount: string;
8267
- };
8268
- };
8269
- }[];
8270
- contactInfo?: {
8271
- contactDetails?: {
8272
- vatId?: {
8273
- _id: string;
8274
- type: VatType$4;
8275
- };
8276
- };
8277
- };
8278
- selectedShippingOption?: {
8279
- code: string;
8280
- };
8281
- };
8282
- }
8283
- interface CreateCheckoutResponseNonNullableFields$4 {
8284
- checkoutId: string;
8285
- }
8286
- interface RemoveCouponResponseNonNullableFields$4 {
8287
- cart?: {
8288
- lineItems: {
8289
- quantity: number;
8290
- catalogReference?: {
8291
- catalogItemId: string;
8292
- appId: string;
8293
- };
8294
- productName?: {
8295
- original: string;
8296
- };
8297
- url: string;
8298
- price?: {
8299
- amount: string;
8300
- convertedAmount: string;
8301
- formattedAmount: string;
8302
- formattedConvertedAmount: string;
8303
- };
8304
- fullPrice?: {
8305
- amount: string;
8306
- convertedAmount: string;
8307
- formattedAmount: string;
8308
- formattedConvertedAmount: string;
8309
- };
8310
- priceBeforeDiscounts?: {
8311
- amount: string;
8312
- convertedAmount: string;
8313
- formattedAmount: string;
8314
- formattedConvertedAmount: string;
8315
- };
8316
- descriptionLines: {
8317
- plainText?: {
8318
- original: string;
8319
- };
8320
- colorInfo?: {
8321
- original: string;
8322
- };
8323
- name?: {
8324
- original: string;
8325
- };
8326
- }[];
8327
- image: string;
8328
- availability?: {
8329
- status: ItemAvailabilityStatus$4;
8330
- };
8331
- physicalProperties?: {
8332
- shippable: boolean;
8333
- };
8334
- itemType?: {
8335
- preset: ItemTypeItemType$7;
8336
- custom: string;
8337
- };
8338
- paymentOption: PaymentOptionType$7;
8339
- priceDescription?: {
8340
- original: string;
8341
- };
8342
- depositAmount?: {
8343
- amount: string;
8344
- convertedAmount: string;
8345
- formattedAmount: string;
8346
- formattedConvertedAmount: string;
8347
- };
8348
- selectedMembership?: {
8349
- _id: string;
8350
- appId: string;
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
- };
8372
8248
  }[];
8373
8249
  buyerInfo?: {
8374
8250
  visitorId: string;
@@ -8471,26 +8347,6 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$4 {
8471
8347
  _id: string;
8472
8348
  appId: string;
8473
8349
  };
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
- };
8494
8350
  }[];
8495
8351
  buyerInfo?: {
8496
8352
  visitorId: string;
@@ -8593,26 +8449,6 @@ interface EstimateTotalsResponseNonNullableFields$2 {
8593
8449
  _id: string;
8594
8450
  appId: string;
8595
8451
  };
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
- };
8616
8452
  }[];
8617
8453
  buyerInfo?: {
8618
8454
  visitorId: string;
@@ -9315,26 +9151,6 @@ interface CreateCartResponseNonNullableFields {
9315
9151
  _id: string;
9316
9152
  appId: string;
9317
9153
  };
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
- };
9338
9154
  }[];
9339
9155
  buyerInfo?: {
9340
9156
  visitorId: string;
@@ -9437,26 +9253,6 @@ interface GetCartResponseNonNullableFields {
9437
9253
  _id: string;
9438
9254
  appId: string;
9439
9255
  };
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
- };
9460
9256
  }[];
9461
9257
  buyerInfo?: {
9462
9258
  visitorId: string;
@@ -9642,7 +9438,7 @@ interface LineItem$3 {
9642
9438
  * + Events - `ticket.name`
9643
9439
  * @readonly
9644
9440
  */
9645
- productName?: ProductName$7;
9441
+ productName?: ProductName$5;
9646
9442
  /**
9647
9443
  * URL to the item's page on the site.
9648
9444
  * @readonly
@@ -9667,7 +9463,7 @@ interface LineItem$3 {
9667
9463
  * Line item description lines. Used for displaying the cart, checkout and order.
9668
9464
  * @readonly
9669
9465
  */
9670
- descriptionLines?: DescriptionLine$7[];
9466
+ descriptionLines?: DescriptionLine$5[];
9671
9467
  /**
9672
9468
  * Line item image details.
9673
9469
  * @readonly
@@ -9682,7 +9478,7 @@ interface LineItem$3 {
9682
9478
  * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
9683
9479
  * @readonly
9684
9480
  */
9685
- physicalProperties?: PhysicalProperties$7;
9481
+ physicalProperties?: PhysicalProperties$5;
9686
9482
  /**
9687
9483
  * Item type. Either a preset type or custom.
9688
9484
  * @readonly
@@ -9728,8 +9524,6 @@ interface LineItem$3 {
9728
9524
  * @readonly
9729
9525
  */
9730
9526
  taxGroupId?: string | null;
9731
- /** Allows partial overrides for catalog line item properties like name, price, etc */
9732
- catalogOverrideFields?: CatalogOverrideFields$5;
9733
9527
  }
9734
9528
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
9735
9529
  interface CatalogReference$7 {
@@ -9753,7 +9547,7 @@ interface CatalogReference$7 {
9753
9547
  */
9754
9548
  options?: Record<string, any> | null;
9755
9549
  }
9756
- interface ProductName$7 {
9550
+ interface ProductName$5 {
9757
9551
  /**
9758
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).
9759
9553
  *
@@ -9795,25 +9589,25 @@ interface MultiCurrencyPrice$3 {
9795
9589
  */
9796
9590
  formattedConvertedAmount?: string;
9797
9591
  }
9798
- interface DescriptionLine$7 extends DescriptionLineValueOneOf$7, DescriptionLineDescriptionLineValueOneOf$7 {
9592
+ interface DescriptionLine$5 extends DescriptionLineValueOneOf$5, DescriptionLineDescriptionLineValueOneOf$5 {
9799
9593
  /** Description line plain text value. */
9800
- plainText?: PlainTextValue$7;
9594
+ plainText?: PlainTextValue$5;
9801
9595
  /** Description line color value. */
9802
- colorInfo?: Color$7;
9596
+ colorInfo?: Color$5;
9803
9597
  /** Description line name. */
9804
- name?: DescriptionLineName$7;
9598
+ name?: DescriptionLineName$5;
9805
9599
  }
9806
9600
  /** @oneof */
9807
- interface DescriptionLineValueOneOf$7 {
9601
+ interface DescriptionLineValueOneOf$5 {
9808
9602
  /** Description line plain text value. */
9809
- plainText?: PlainTextValue$7;
9603
+ plainText?: PlainTextValue$5;
9810
9604
  /** Description line color value. */
9811
- colorInfo?: Color$7;
9605
+ colorInfo?: Color$5;
9812
9606
  }
9813
9607
  /** @oneof */
9814
- interface DescriptionLineDescriptionLineValueOneOf$7 {
9608
+ interface DescriptionLineDescriptionLineValueOneOf$5 {
9815
9609
  }
9816
- interface DescriptionLineName$7 {
9610
+ interface DescriptionLineName$5 {
9817
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). */
9818
9612
  original?: string;
9819
9613
  /**
@@ -9823,7 +9617,7 @@ interface DescriptionLineName$7 {
9823
9617
  */
9824
9618
  translated?: string | null;
9825
9619
  }
9826
- interface PlainTextValue$7 {
9620
+ interface PlainTextValue$5 {
9827
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). */
9828
9622
  original?: string;
9829
9623
  /**
@@ -9833,7 +9627,7 @@ interface PlainTextValue$7 {
9833
9627
  */
9834
9628
  translated?: string | null;
9835
9629
  }
9836
- interface Color$7 {
9630
+ interface Color$5 {
9837
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). */
9838
9632
  original?: string;
9839
9633
  /**
@@ -9892,7 +9686,7 @@ declare enum ItemAvailabilityStatus$3 {
9892
9686
  /** Available quantity is less than requested */
9893
9687
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
9894
9688
  }
9895
- interface PhysicalProperties$7 {
9689
+ interface PhysicalProperties$5 {
9896
9690
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
9897
9691
  weight?: number | null;
9898
9692
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -9975,32 +9769,6 @@ interface SelectedMembership$3 {
9975
9769
  /** ID of the app providing this payment option. */
9976
9770
  appId?: string;
9977
9771
  }
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
- }
10004
9772
  /** Buyer Info */
10005
9773
  interface BuyerInfo$5 extends BuyerInfoIdOneOf$5 {
10006
9774
  /**
@@ -13088,7 +12856,7 @@ interface LineItem$2 {
13088
12856
  * + Events - `ticket.name`
13089
12857
  * @readonly
13090
12858
  */
13091
- productName?: ProductName$6;
12859
+ productName?: ProductName$4;
13092
12860
  /**
13093
12861
  * URL to the item's page on the site.
13094
12862
  * @readonly
@@ -13113,7 +12881,7 @@ interface LineItem$2 {
13113
12881
  * Line item description lines. Used for displaying the cart, checkout and order.
13114
12882
  * @readonly
13115
12883
  */
13116
- descriptionLines?: DescriptionLine$6[];
12884
+ descriptionLines?: DescriptionLine$4[];
13117
12885
  /**
13118
12886
  * Line item image details.
13119
12887
  * @readonly
@@ -13128,7 +12896,7 @@ interface LineItem$2 {
13128
12896
  * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
13129
12897
  * @readonly
13130
12898
  */
13131
- physicalProperties?: PhysicalProperties$6;
12899
+ physicalProperties?: PhysicalProperties$4;
13132
12900
  /**
13133
12901
  * Item type. Either a preset type or custom.
13134
12902
  * @readonly
@@ -13172,8 +12940,6 @@ interface LineItem$2 {
13172
12940
  * @readonly
13173
12941
  */
13174
12942
  taxGroupId?: string | null;
13175
- /** Allows partial overrides for catalog line item properties like name, price, etc */
13176
- catalogOverrideFields?: CatalogOverrideFields$4;
13177
12943
  }
13178
12944
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
13179
12945
  interface CatalogReference$6 {
@@ -13199,7 +12965,7 @@ interface CatalogReference$6 {
13199
12965
  */
13200
12966
  options?: Record<string, any> | null;
13201
12967
  }
13202
- interface ProductName$6 {
12968
+ interface ProductName$4 {
13203
12969
  /** **Required** - Original product name (in site's default language). */
13204
12970
  original?: string;
13205
12971
  /** Description product name translated into buyer's language. Defaults to `original` when not defined. */
@@ -13224,37 +12990,37 @@ interface MultiCurrencyPrice$2 {
13224
12990
  */
13225
12991
  formattedConvertedAmount?: string;
13226
12992
  }
13227
- interface DescriptionLine$6 extends DescriptionLineValueOneOf$6, DescriptionLineDescriptionLineValueOneOf$6 {
12993
+ interface DescriptionLine$4 extends DescriptionLineValueOneOf$4, DescriptionLineDescriptionLineValueOneOf$4 {
13228
12994
  /** Description line plain text value. */
13229
- plainText?: PlainTextValue$6;
12995
+ plainText?: PlainTextValue$4;
13230
12996
  /** Description line color value. */
13231
- colorInfo?: Color$6;
12997
+ colorInfo?: Color$4;
13232
12998
  /** Description line name. */
13233
- name?: DescriptionLineName$6;
12999
+ name?: DescriptionLineName$4;
13234
13000
  }
13235
13001
  /** @oneof */
13236
- interface DescriptionLineValueOneOf$6 {
13002
+ interface DescriptionLineValueOneOf$4 {
13237
13003
  /** Description line plain text value. */
13238
- plainText?: PlainTextValue$6;
13004
+ plainText?: PlainTextValue$4;
13239
13005
  /** Description line color value. */
13240
- colorInfo?: Color$6;
13006
+ colorInfo?: Color$4;
13241
13007
  }
13242
13008
  /** @oneof */
13243
- interface DescriptionLineDescriptionLineValueOneOf$6 {
13009
+ interface DescriptionLineDescriptionLineValueOneOf$4 {
13244
13010
  }
13245
- interface DescriptionLineName$6 {
13011
+ interface DescriptionLineName$4 {
13246
13012
  /** Description line name in site's default language. */
13247
13013
  original?: string;
13248
13014
  /** Description line name translated into buyer's language. Defaults to `original` when not defined. */
13249
13015
  translated?: string | null;
13250
13016
  }
13251
- interface PlainTextValue$6 {
13017
+ interface PlainTextValue$4 {
13252
13018
  /** Description line plain text value in site's default language. */
13253
13019
  original?: string;
13254
13020
  /** Description line plain text value translated into buyer's language. Defaults to `original` when not defined. */
13255
13021
  translated?: string | null;
13256
13022
  }
13257
- interface Color$6 {
13023
+ interface Color$4 {
13258
13024
  /** Description line color name in site's default language. */
13259
13025
  original?: string;
13260
13026
  /** Description line color name translated into buyer's language. Defaults to `original` when not defined. */
@@ -13285,7 +13051,7 @@ declare enum ItemAvailabilityStatus$2 {
13285
13051
  /** Available quantity is less than requested */
13286
13052
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
13287
13053
  }
13288
- interface PhysicalProperties$6 {
13054
+ interface PhysicalProperties$4 {
13289
13055
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
13290
13056
  weight?: number | null;
13291
13057
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -13348,20 +13114,6 @@ interface SelectedMembership$2 {
13348
13114
  /** ID of the app providing this payment option. */
13349
13115
  appId?: string;
13350
13116
  }
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
- }
13365
13117
  /** Buyer Info */
13366
13118
  interface BuyerInfo$4 extends BuyerInfoIdOneOf$4 {
13367
13119
  /**
@@ -14313,26 +14065,6 @@ interface GetCurrentCartResponseNonNullableFields {
14313
14065
  _id: string;
14314
14066
  appId: string;
14315
14067
  };
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
- };
14336
14068
  }[];
14337
14069
  buyerInfo?: {
14338
14070
  visitorId: string;
@@ -14435,26 +14167,6 @@ interface UpdateCartResponseNonNullableFields {
14435
14167
  _id: string;
14436
14168
  appId: string;
14437
14169
  };
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
- };
14458
14170
  }[];
14459
14171
  buyerInfo?: {
14460
14172
  visitorId: string;
@@ -14557,26 +14269,6 @@ interface AddToCartResponseNonNullableFields {
14557
14269
  _id: string;
14558
14270
  appId: string;
14559
14271
  };
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
- };
14580
14272
  }[];
14581
14273
  buyerInfo?: {
14582
14274
  visitorId: string;
@@ -14679,26 +14371,6 @@ interface RemoveLineItemsResponseNonNullableFields$2 {
14679
14371
  _id: string;
14680
14372
  appId: string;
14681
14373
  };
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
- };
14702
14374
  }[];
14703
14375
  buyerInfo?: {
14704
14376
  visitorId: string;
@@ -14804,26 +14476,6 @@ interface RemoveCouponResponseNonNullableFields$2 {
14804
14476
  _id: string;
14805
14477
  appId: string;
14806
14478
  };
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
- };
14827
14479
  }[];
14828
14480
  buyerInfo?: {
14829
14481
  visitorId: string;
@@ -14926,26 +14578,6 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$2 {
14926
14578
  _id: string;
14927
14579
  appId: string;
14928
14580
  };
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
- };
14949
14581
  }[];
14950
14582
  buyerInfo?: {
14951
14583
  visitorId: string;
@@ -15048,26 +14680,6 @@ interface EstimateTotalsResponseNonNullableFields {
15048
14680
  _id: string;
15049
14681
  appId: string;
15050
14682
  };
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
- };
15071
14683
  }[];
15072
14684
  buyerInfo?: {
15073
14685
  visitorId: string;
@@ -15916,7 +15528,7 @@ interface LineItem$1 {
15916
15528
  * + Events - `ticket.name`
15917
15529
  * @readonly
15918
15530
  */
15919
- productName?: ProductName$5;
15531
+ productName?: ProductName$3;
15920
15532
  /**
15921
15533
  * URL to the item's page on the site.
15922
15534
  * @readonly
@@ -15966,7 +15578,7 @@ interface LineItem$1 {
15966
15578
  * Line item description lines. Used for display purposes for the cart, checkout and order.
15967
15579
  * @readonly
15968
15580
  */
15969
- descriptionLines?: DescriptionLine$5[];
15581
+ descriptionLines?: DescriptionLine$3[];
15970
15582
  /**
15971
15583
  * Line item image details.
15972
15584
  * @readonly
@@ -15981,7 +15593,7 @@ interface LineItem$1 {
15981
15593
  * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
15982
15594
  * @readonly
15983
15595
  */
15984
- physicalProperties?: PhysicalProperties$5;
15596
+ physicalProperties?: PhysicalProperties$3;
15985
15597
  /**
15986
15598
  * Item type. Either a preset type or custom.
15987
15599
  * @readonly
@@ -16020,8 +15632,6 @@ interface LineItem$1 {
16020
15632
  * @readonly
16021
15633
  */
16022
15634
  depositAmount?: MultiCurrencyPrice$1;
16023
- /** Allows partial overrides for catalog line item properties like name, price, etc */
16024
- catalogOverrideFields?: CatalogOverrideFields$3;
16025
15635
  }
16026
15636
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
16027
15637
  interface CatalogReference$5 {
@@ -16045,7 +15655,7 @@ interface CatalogReference$5 {
16045
15655
  */
16046
15656
  options?: Record<string, any> | null;
16047
15657
  }
16048
- interface ProductName$5 {
15658
+ interface ProductName$3 {
16049
15659
  /**
16050
15660
  * __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).
16051
15661
  *
@@ -16118,25 +15728,25 @@ declare enum JurisdictionType$2 {
16118
15728
  CITY = "CITY",
16119
15729
  SPECIAL = "SPECIAL"
16120
15730
  }
16121
- interface DescriptionLine$5 extends DescriptionLineValueOneOf$5, DescriptionLineDescriptionLineValueOneOf$5 {
15731
+ interface DescriptionLine$3 extends DescriptionLineValueOneOf$3, DescriptionLineDescriptionLineValueOneOf$3 {
16122
15732
  /** Description line plain text value. */
16123
- plainText?: PlainTextValue$5;
15733
+ plainText?: PlainTextValue$3;
16124
15734
  /** Description line color value. */
16125
- colorInfo?: Color$5;
15735
+ colorInfo?: Color$3;
16126
15736
  /** Description line name. */
16127
- name?: DescriptionLineName$5;
15737
+ name?: DescriptionLineName$3;
16128
15738
  }
16129
15739
  /** @oneof */
16130
- interface DescriptionLineValueOneOf$5 {
15740
+ interface DescriptionLineValueOneOf$3 {
16131
15741
  /** Description line plain text value. */
16132
- plainText?: PlainTextValue$5;
15742
+ plainText?: PlainTextValue$3;
16133
15743
  /** Description line color value. */
16134
- colorInfo?: Color$5;
15744
+ colorInfo?: Color$3;
16135
15745
  }
16136
15746
  /** @oneof */
16137
- interface DescriptionLineDescriptionLineValueOneOf$5 {
15747
+ interface DescriptionLineDescriptionLineValueOneOf$3 {
16138
15748
  }
16139
- interface DescriptionLineName$5 {
15749
+ interface DescriptionLineName$3 {
16140
15750
  /** 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). */
16141
15751
  original?: string;
16142
15752
  /**
@@ -16146,7 +15756,7 @@ interface DescriptionLineName$5 {
16146
15756
  */
16147
15757
  translated?: string | null;
16148
15758
  }
16149
- interface PlainTextValue$5 {
15759
+ interface PlainTextValue$3 {
16150
15760
  /** 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). */
16151
15761
  original?: string;
16152
15762
  /**
@@ -16156,7 +15766,7 @@ interface PlainTextValue$5 {
16156
15766
  */
16157
15767
  translated?: string | null;
16158
15768
  }
16159
- interface Color$5 {
15769
+ interface Color$3 {
16160
15770
  /** 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). */
16161
15771
  original?: string;
16162
15772
  /**
@@ -16215,7 +15825,7 @@ declare enum ItemAvailabilityStatus$1 {
16215
15825
  /** Available quantity is less than requested */
16216
15826
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
16217
15827
  }
16218
- interface PhysicalProperties$5 {
15828
+ interface PhysicalProperties$3 {
16219
15829
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
16220
15830
  weight?: number | null;
16221
15831
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -16291,32 +15901,6 @@ interface PriceDescription$3 {
16291
15901
  */
16292
15902
  translated?: string | null;
16293
15903
  }
16294
- interface CatalogOverrideFields$3 {
16295
- /** Item product name */
16296
- productName?: ProductName$5;
16297
- /** Item price **after** discounts. */
16298
- price?: string | null;
16299
- /** Item price **before** discount. */
16300
- fullPrice?: string | null;
16301
- /** Line item description lines. Used for displaying the cart, checkout and order. */
16302
- descriptionLines?: DescriptionLine$5[];
16303
- /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
16304
- physicalProperties?: PhysicalProperties$5;
16305
- /** Line item image details. */
16306
- image?: Image$2;
16307
- }
16308
- interface Image$2 {
16309
- /** WixMedia image ID. */
16310
- id?: string;
16311
- /** Original image height. */
16312
- height?: number;
16313
- /** Original image width. */
16314
- width?: number;
16315
- /** Image alt text. Optional. */
16316
- altText?: string | null;
16317
- /** Image filename. Optional. */
16318
- filename?: string | null;
16319
- }
16320
15904
  /** Billing Info and shipping details */
16321
15905
  interface AddressWithContact$3 {
16322
15906
  /** Address. */
@@ -26396,7 +25980,7 @@ interface LineItem {
26396
25980
  * + Events - `ticket.name`
26397
25981
  * @readonly
26398
25982
  */
26399
- productName?: ProductName$4;
25983
+ productName?: ProductName$2;
26400
25984
  /**
26401
25985
  * URL to the item's page on the site.
26402
25986
  * @readonly
@@ -26446,7 +26030,7 @@ interface LineItem {
26446
26030
  * Line item description lines. Used for displaying the cart, checkout and order.
26447
26031
  * @readonly
26448
26032
  */
26449
- descriptionLines?: DescriptionLine$4[];
26033
+ descriptionLines?: DescriptionLine$2[];
26450
26034
  /**
26451
26035
  * Line item image details.
26452
26036
  * @readonly
@@ -26461,7 +26045,7 @@ interface LineItem {
26461
26045
  * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
26462
26046
  * @readonly
26463
26047
  */
26464
- physicalProperties?: PhysicalProperties$4;
26048
+ physicalProperties?: PhysicalProperties$2;
26465
26049
  /**
26466
26050
  * Item type. Either a preset type or custom.
26467
26051
  * @readonly
@@ -26499,8 +26083,6 @@ interface LineItem {
26499
26083
  * @readonly
26500
26084
  */
26501
26085
  depositAmount?: MultiCurrencyPrice;
26502
- /** Allows partial overrides for catalog line item properties like name, price, etc */
26503
- catalogOverrideFields?: CatalogOverrideFields$2;
26504
26086
  }
26505
26087
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
26506
26088
  interface CatalogReference$4 {
@@ -26526,7 +26108,7 @@ interface CatalogReference$4 {
26526
26108
  */
26527
26109
  options?: Record<string, any> | null;
26528
26110
  }
26529
- interface ProductName$4 {
26111
+ interface ProductName$2 {
26530
26112
  /**
26531
26113
  * __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).
26532
26114
  *
@@ -26584,25 +26166,25 @@ interface TaxRateBreakdown {
26584
26166
  /** Amount of tax for this tax detail. */
26585
26167
  tax?: MultiCurrencyPrice;
26586
26168
  }
26587
- interface DescriptionLine$4 extends DescriptionLineValueOneOf$4, DescriptionLineDescriptionLineValueOneOf$4 {
26169
+ interface DescriptionLine$2 extends DescriptionLineValueOneOf$2, DescriptionLineDescriptionLineValueOneOf$2 {
26588
26170
  /** Description line plain text value. */
26589
- plainText?: PlainTextValue$4;
26171
+ plainText?: PlainTextValue$2;
26590
26172
  /** Description line color value. */
26591
- colorInfo?: Color$4;
26173
+ colorInfo?: Color$2;
26592
26174
  /** Description line name. */
26593
- name?: DescriptionLineName$4;
26175
+ name?: DescriptionLineName$2;
26594
26176
  }
26595
26177
  /** @oneof */
26596
- interface DescriptionLineValueOneOf$4 {
26178
+ interface DescriptionLineValueOneOf$2 {
26597
26179
  /** Description line plain text value. */
26598
- plainText?: PlainTextValue$4;
26180
+ plainText?: PlainTextValue$2;
26599
26181
  /** Description line color value. */
26600
- colorInfo?: Color$4;
26182
+ colorInfo?: Color$2;
26601
26183
  }
26602
26184
  /** @oneof */
26603
- interface DescriptionLineDescriptionLineValueOneOf$4 {
26185
+ interface DescriptionLineDescriptionLineValueOneOf$2 {
26604
26186
  }
26605
- interface DescriptionLineName$4 {
26187
+ interface DescriptionLineName$2 {
26606
26188
  /** 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). */
26607
26189
  original?: string;
26608
26190
  /**
@@ -26612,7 +26194,7 @@ interface DescriptionLineName$4 {
26612
26194
  */
26613
26195
  translated?: string | null;
26614
26196
  }
26615
- interface PlainTextValue$4 {
26197
+ interface PlainTextValue$2 {
26616
26198
  /** 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). */
26617
26199
  original?: string;
26618
26200
  /**
@@ -26622,7 +26204,7 @@ interface PlainTextValue$4 {
26622
26204
  */
26623
26205
  translated?: string | null;
26624
26206
  }
26625
- interface Color$4 {
26207
+ interface Color$2 {
26626
26208
  /** 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). */
26627
26209
  original?: string;
26628
26210
  /**
@@ -26653,7 +26235,7 @@ declare enum ItemAvailabilityStatus {
26653
26235
  /** Available quantity is less than requested */
26654
26236
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
26655
26237
  }
26656
- interface PhysicalProperties$4 {
26238
+ interface PhysicalProperties$2 {
26657
26239
  /** Line item weight. Measurement unit (`"KG"` or `"LB"`) is taken from `order.weightUnit`. */
26658
26240
  weight?: number | null;
26659
26241
  /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
@@ -26713,20 +26295,6 @@ interface PriceDescription$2 {
26713
26295
  */
26714
26296
  translated?: string | null;
26715
26297
  }
26716
- interface CatalogOverrideFields$2 {
26717
- /** Item product name */
26718
- productName?: ProductName$4;
26719
- /** Item price **after** discounts. */
26720
- price?: string | null;
26721
- /** Item price **before** discount. */
26722
- fullPrice?: string | null;
26723
- /** Line item description lines. Used for displaying the cart, checkout and order. */
26724
- descriptionLines?: DescriptionLine$4[];
26725
- /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
26726
- physicalProperties?: PhysicalProperties$4;
26727
- /** Line item image details. */
26728
- image?: string;
26729
- }
26730
26298
  /** Billing Info and shipping details */
26731
26299
  interface AddressWithContact$2 {
26732
26300
  /** Address. */
@@ -27730,26 +27298,6 @@ interface CreateCheckoutResponseNonNullableFields {
27730
27298
  formattedAmount: string;
27731
27299
  formattedConvertedAmount: string;
27732
27300
  };
27733
- catalogOverrideFields?: {
27734
- productName?: {
27735
- original: string;
27736
- };
27737
- descriptionLines: {
27738
- plainText?: {
27739
- original: string;
27740
- };
27741
- colorInfo?: {
27742
- original: string;
27743
- };
27744
- name?: {
27745
- original: string;
27746
- };
27747
- }[];
27748
- physicalProperties?: {
27749
- shippable: boolean;
27750
- };
27751
- image: string;
27752
- };
27753
27301
  }[];
27754
27302
  billingInfo?: {
27755
27303
  contactDetails?: {
@@ -28432,26 +27980,6 @@ interface GetCheckoutResponseNonNullableFields {
28432
27980
  formattedAmount: string;
28433
27981
  formattedConvertedAmount: string;
28434
27982
  };
28435
- catalogOverrideFields?: {
28436
- productName?: {
28437
- original: string;
28438
- };
28439
- descriptionLines: {
28440
- plainText?: {
28441
- original: string;
28442
- };
28443
- colorInfo?: {
28444
- original: string;
28445
- };
28446
- name?: {
28447
- original: string;
28448
- };
28449
- }[];
28450
- physicalProperties?: {
28451
- shippable: boolean;
28452
- };
28453
- image: string;
28454
- };
28455
27983
  }[];
28456
27984
  billingInfo?: {
28457
27985
  contactDetails?: {
@@ -29137,26 +28665,6 @@ interface UpdateCheckoutResponseNonNullableFields {
29137
28665
  formattedAmount: string;
29138
28666
  formattedConvertedAmount: string;
29139
28667
  };
29140
- catalogOverrideFields?: {
29141
- productName?: {
29142
- original: string;
29143
- };
29144
- descriptionLines: {
29145
- plainText?: {
29146
- original: string;
29147
- };
29148
- colorInfo?: {
29149
- original: string;
29150
- };
29151
- name?: {
29152
- original: string;
29153
- };
29154
- }[];
29155
- physicalProperties?: {
29156
- shippable: boolean;
29157
- };
29158
- image: string;
29159
- };
29160
28668
  }[];
29161
28669
  billingInfo?: {
29162
28670
  contactDetails?: {
@@ -29839,26 +29347,6 @@ interface RemoveCouponResponseNonNullableFields {
29839
29347
  formattedAmount: string;
29840
29348
  formattedConvertedAmount: string;
29841
29349
  };
29842
- catalogOverrideFields?: {
29843
- productName?: {
29844
- original: string;
29845
- };
29846
- descriptionLines: {
29847
- plainText?: {
29848
- original: string;
29849
- };
29850
- colorInfo?: {
29851
- original: string;
29852
- };
29853
- name?: {
29854
- original: string;
29855
- };
29856
- }[];
29857
- physicalProperties?: {
29858
- shippable: boolean;
29859
- };
29860
- image: string;
29861
- };
29862
29350
  }[];
29863
29351
  billingInfo?: {
29864
29352
  contactDetails?: {
@@ -30541,26 +30029,6 @@ interface RemoveGiftCardResponseNonNullableFields {
30541
30029
  formattedAmount: string;
30542
30030
  formattedConvertedAmount: string;
30543
30031
  };
30544
- catalogOverrideFields?: {
30545
- productName?: {
30546
- original: string;
30547
- };
30548
- descriptionLines: {
30549
- plainText?: {
30550
- original: string;
30551
- };
30552
- colorInfo?: {
30553
- original: string;
30554
- };
30555
- name?: {
30556
- original: string;
30557
- };
30558
- }[];
30559
- physicalProperties?: {
30560
- shippable: boolean;
30561
- };
30562
- image: string;
30563
- };
30564
30032
  }[];
30565
30033
  billingInfo?: {
30566
30034
  contactDetails?: {
@@ -31243,26 +30711,6 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields {
31243
30711
  formattedAmount: string;
31244
30712
  formattedConvertedAmount: string;
31245
30713
  };
31246
- catalogOverrideFields?: {
31247
- productName?: {
31248
- original: string;
31249
- };
31250
- descriptionLines: {
31251
- plainText?: {
31252
- original: string;
31253
- };
31254
- colorInfo?: {
31255
- original: string;
31256
- };
31257
- name?: {
31258
- original: string;
31259
- };
31260
- }[];
31261
- physicalProperties?: {
31262
- shippable: boolean;
31263
- };
31264
- image: string;
31265
- };
31266
30714
  }[];
31267
30715
  billingInfo?: {
31268
30716
  contactDetails?: {
@@ -31945,26 +31393,6 @@ interface AddToCheckoutResponseNonNullableFields {
31945
31393
  formattedAmount: string;
31946
31394
  formattedConvertedAmount: string;
31947
31395
  };
31948
- catalogOverrideFields?: {
31949
- productName?: {
31950
- original: string;
31951
- };
31952
- descriptionLines: {
31953
- plainText?: {
31954
- original: string;
31955
- };
31956
- colorInfo?: {
31957
- original: string;
31958
- };
31959
- name?: {
31960
- original: string;
31961
- };
31962
- }[];
31963
- physicalProperties?: {
31964
- shippable: boolean;
31965
- };
31966
- image: string;
31967
- };
31968
31396
  }[];
31969
31397
  billingInfo?: {
31970
31398
  contactDetails?: {
@@ -32647,26 +32075,6 @@ interface RemoveLineItemsResponseNonNullableFields {
32647
32075
  formattedAmount: string;
32648
32076
  formattedConvertedAmount: string;
32649
32077
  };
32650
- catalogOverrideFields?: {
32651
- productName?: {
32652
- original: string;
32653
- };
32654
- descriptionLines: {
32655
- plainText?: {
32656
- original: string;
32657
- };
32658
- colorInfo?: {
32659
- original: string;
32660
- };
32661
- name?: {
32662
- original: string;
32663
- };
32664
- }[];
32665
- physicalProperties?: {
32666
- shippable: boolean;
32667
- };
32668
- image: string;
32669
- };
32670
32078
  }[];
32671
32079
  billingInfo?: {
32672
32080
  contactDetails?: {
@@ -33353,26 +32761,6 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
33353
32761
  formattedAmount: string;
33354
32762
  formattedConvertedAmount: string;
33355
32763
  };
33356
- catalogOverrideFields?: {
33357
- productName?: {
33358
- original: string;
33359
- };
33360
- descriptionLines: {
33361
- plainText?: {
33362
- original: string;
33363
- };
33364
- colorInfo?: {
33365
- original: string;
33366
- };
33367
- name?: {
33368
- original: string;
33369
- };
33370
- }[];
33371
- physicalProperties?: {
33372
- shippable: boolean;
33373
- };
33374
- image: string;
33375
- };
33376
32764
  }[];
33377
32765
  billingInfo?: {
33378
32766
  contactDetails?: {
@@ -34378,8 +33766,6 @@ interface V1LineItem$1 {
34378
33766
  * > **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).
34379
33767
  */
34380
33768
  catalogReference?: CatalogReference$3;
34381
- /** Allows partial overrides for catalog line item properties like name, price, etc */
34382
- catalogOverrideFields?: CatalogOverrideFields$1;
34383
33769
  }
34384
33770
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
34385
33771
  interface CatalogReference$3 {
@@ -34403,112 +33789,11 @@ interface CatalogReference$3 {
34403
33789
  */
34404
33790
  options?: Record<string, any> | null;
34405
33791
  }
34406
- interface CatalogOverrideFields$1 {
34407
- /** Item product name */
34408
- productName?: ProductName$3;
34409
- /** Item price **after** discounts. */
34410
- price?: string | null;
34411
- /** Item price **before** discount. */
34412
- fullPrice?: string | null;
34413
- /** Line item description lines. Used for displaying the cart, checkout and order. */
34414
- descriptionLines?: DescriptionLine$3[];
34415
- /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
34416
- physicalProperties?: PhysicalProperties$3;
34417
- /** Line item image details. */
34418
- image?: Image$1;
34419
- }
34420
- interface ProductName$3 {
34421
- /**
34422
- * __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).
34423
- *
34424
- * Min: 1 character.
34425
- * Max: 200 characters.
34426
- */
34427
- original?: string;
34428
- /**
34429
- * Item name translated into the buyer's language.
34430
- *
34431
- * Min: 1 character.
34432
- * Max: 400 characters.
34433
- * Default: Same as `original`.
34434
- */
34435
- translated?: string | null;
34436
- }
34437
- interface DescriptionLine$3 extends DescriptionLineValueOneOf$3, DescriptionLineDescriptionLineValueOneOf$3 {
34438
- /** Description line plain text value. */
34439
- plainText?: PlainTextValue$3;
34440
- /** Description line color value. */
34441
- colorInfo?: Color$3;
34442
- /** Description line name. */
34443
- name?: DescriptionLineName$3;
34444
- }
34445
- /** @oneof */
34446
- interface DescriptionLineValueOneOf$3 {
34447
- /** Description line plain text value. */
34448
- plainText?: PlainTextValue$3;
34449
- /** Description line color value. */
34450
- colorInfo?: Color$3;
34451
- }
34452
- /** @oneof */
34453
- interface DescriptionLineDescriptionLineValueOneOf$3 {
34454
- }
34455
- interface DescriptionLineName$3 {
34456
- /** 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). */
34457
- original?: string;
34458
- /**
34459
- * Description line name translated into the buyer's language.
34460
- *
34461
- * Default: Same as `original`.
34462
- */
34463
- translated?: string | null;
34464
- }
34465
- interface PlainTextValue$3 {
34466
- /** 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). */
34467
- original?: string;
34468
- /**
34469
- * Description line plain text value translated into the buyer's language.
34470
- *
34471
- * Default: Same as `original`.
34472
- */
34473
- translated?: string | null;
34474
- }
34475
- interface Color$3 {
34476
- /** 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). */
34477
- original?: string;
34478
- /**
34479
- * Description line color name translated into the buyer's language.
34480
- *
34481
- * Default: Same as `original`.
34482
- */
34483
- translated?: string | null;
34484
- /** HEX or RGB color code for display. */
34485
- code?: string | null;
34486
- }
34487
33792
  declare enum DescriptionLineType$1 {
34488
33793
  UNRECOGNISED = "UNRECOGNISED",
34489
33794
  PLAIN_TEXT = "PLAIN_TEXT",
34490
33795
  COLOR = "COLOR"
34491
33796
  }
34492
- interface PhysicalProperties$3 {
34493
- /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
34494
- weight?: number | null;
34495
- /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
34496
- sku?: string | null;
34497
- /** Whether this line item is shippable. */
34498
- shippable?: boolean;
34499
- }
34500
- interface Image$1 {
34501
- /** WixMedia image ID. */
34502
- id?: string;
34503
- /** Original image height. */
34504
- height?: number;
34505
- /** Original image width. */
34506
- width?: number;
34507
- /** Image alt text. Optional. */
34508
- altText?: string | null;
34509
- /** Image filename. Optional. */
34510
- filename?: string | null;
34511
- }
34512
33797
  declare enum ItemTypeItemType$2 {
34513
33798
  UNRECOGNISED = "UNRECOGNISED",
34514
33799
  PHYSICAL = "PHYSICAL",
@@ -35221,8 +34506,6 @@ interface V1LineItem {
35221
34506
  * > **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).
35222
34507
  */
35223
34508
  catalogReference?: CatalogReference$2;
35224
- /** Allows partial overrides for catalog line item properties like name, price, etc */
35225
- catalogOverrideFields?: CatalogOverrideFields;
35226
34509
  }
35227
34510
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
35228
34511
  interface CatalogReference$2 {
@@ -35246,95 +34529,6 @@ interface CatalogReference$2 {
35246
34529
  */
35247
34530
  options?: Record<string, any> | null;
35248
34531
  }
35249
- interface CatalogOverrideFields {
35250
- /** Item product name */
35251
- productName?: ProductName$2;
35252
- /** Item price **after** discounts. */
35253
- price?: string | null;
35254
- /** Item price **before** discount. */
35255
- fullPrice?: string | null;
35256
- /** Line item description lines. Used for displaying the cart, checkout and order. */
35257
- descriptionLines?: DescriptionLine$2[];
35258
- /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
35259
- physicalProperties?: PhysicalProperties$2;
35260
- /** Line item image details. */
35261
- image?: string;
35262
- }
35263
- interface ProductName$2 {
35264
- /**
35265
- * __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).
35266
- *
35267
- * Min: 1 character.
35268
- * Max: 200 characters.
35269
- */
35270
- original?: string;
35271
- /**
35272
- * Item name translated into the buyer's language.
35273
- *
35274
- * Min: 1 character.
35275
- * Max: 400 characters.
35276
- * Default: Same as `original`.
35277
- */
35278
- translated?: string | null;
35279
- }
35280
- interface DescriptionLine$2 extends DescriptionLineValueOneOf$2, DescriptionLineDescriptionLineValueOneOf$2 {
35281
- /** Description line plain text value. */
35282
- plainText?: PlainTextValue$2;
35283
- /** Description line color value. */
35284
- colorInfo?: Color$2;
35285
- /** Description line name. */
35286
- name?: DescriptionLineName$2;
35287
- }
35288
- /** @oneof */
35289
- interface DescriptionLineValueOneOf$2 {
35290
- /** Description line plain text value. */
35291
- plainText?: PlainTextValue$2;
35292
- /** Description line color value. */
35293
- colorInfo?: Color$2;
35294
- }
35295
- /** @oneof */
35296
- interface DescriptionLineDescriptionLineValueOneOf$2 {
35297
- }
35298
- interface DescriptionLineName$2 {
35299
- /** 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). */
35300
- original?: string;
35301
- /**
35302
- * Description line name translated into the buyer's language.
35303
- *
35304
- * Default: Same as `original`.
35305
- */
35306
- translated?: string | null;
35307
- }
35308
- interface PlainTextValue$2 {
35309
- /** 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). */
35310
- original?: string;
35311
- /**
35312
- * Description line plain text value translated into the buyer's language.
35313
- *
35314
- * Default: Same as `original`.
35315
- */
35316
- translated?: string | null;
35317
- }
35318
- interface Color$2 {
35319
- /** 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). */
35320
- original?: string;
35321
- /**
35322
- * Description line color name translated into the buyer's language.
35323
- *
35324
- * Default: Same as `original`.
35325
- */
35326
- translated?: string | null;
35327
- /** HEX or RGB color code for display. */
35328
- code?: string | null;
35329
- }
35330
- interface PhysicalProperties$2 {
35331
- /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
35332
- weight?: number | null;
35333
- /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
35334
- sku?: string | null;
35335
- /** Whether this line item is shippable. */
35336
- shippable?: boolean;
35337
- }
35338
34532
  interface CreateCheckoutTemplateRequest {
35339
34533
  /** Checkout template to create. */
35340
34534
  checkoutTemplate: CheckoutTemplate;
@@ -35469,26 +34663,6 @@ interface CreateCheckoutTemplateResponseNonNullableFields {
35469
34663
  catalogItemId: string;
35470
34664
  appId: string;
35471
34665
  };
35472
- catalogOverrideFields?: {
35473
- productName?: {
35474
- original: string;
35475
- };
35476
- descriptionLines: {
35477
- plainText?: {
35478
- original: string;
35479
- };
35480
- colorInfo?: {
35481
- original: string;
35482
- };
35483
- name?: {
35484
- original: string;
35485
- };
35486
- }[];
35487
- physicalProperties?: {
35488
- shippable: boolean;
35489
- };
35490
- image: string;
35491
- };
35492
34666
  }[];
35493
34667
  };
35494
34668
  }
@@ -35508,26 +34682,6 @@ interface GetCheckoutTemplateResponseNonNullableFields {
35508
34682
  catalogItemId: string;
35509
34683
  appId: string;
35510
34684
  };
35511
- catalogOverrideFields?: {
35512
- productName?: {
35513
- original: string;
35514
- };
35515
- descriptionLines: {
35516
- plainText?: {
35517
- original: string;
35518
- };
35519
- colorInfo?: {
35520
- original: string;
35521
- };
35522
- name?: {
35523
- original: string;
35524
- };
35525
- }[];
35526
- physicalProperties?: {
35527
- shippable: boolean;
35528
- };
35529
- image: string;
35530
- };
35531
34685
  }[];
35532
34686
  };
35533
34687
  }
@@ -35547,26 +34701,6 @@ interface UpdateCheckoutTemplateResponseNonNullableFields {
35547
34701
  catalogItemId: string;
35548
34702
  appId: string;
35549
34703
  };
35550
- catalogOverrideFields?: {
35551
- productName?: {
35552
- original: string;
35553
- };
35554
- descriptionLines: {
35555
- plainText?: {
35556
- original: string;
35557
- };
35558
- colorInfo?: {
35559
- original: string;
35560
- };
35561
- name?: {
35562
- original: string;
35563
- };
35564
- }[];
35565
- physicalProperties?: {
35566
- shippable: boolean;
35567
- };
35568
- image: string;
35569
- };
35570
34704
  }[];
35571
34705
  };
35572
34706
  }
@@ -35586,26 +34720,6 @@ interface QueryCheckoutTemplatesResponseNonNullableFields {
35586
34720
  catalogItemId: string;
35587
34721
  appId: string;
35588
34722
  };
35589
- catalogOverrideFields?: {
35590
- productName?: {
35591
- original: string;
35592
- };
35593
- descriptionLines: {
35594
- plainText?: {
35595
- original: string;
35596
- };
35597
- colorInfo?: {
35598
- original: string;
35599
- };
35600
- name?: {
35601
- original: string;
35602
- };
35603
- }[];
35604
- physicalProperties?: {
35605
- shippable: boolean;
35606
- };
35607
- image: string;
35608
- };
35609
34723
  }[];
35610
34724
  }[];
35611
34725
  }