@wix/ecom 1.0.627 → 1.0.628
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/type-bundles/context.bundle.d.ts +606 -0
- package/type-bundles/index.bundle.d.ts +830 -0
- package/type-bundles/meta.bundle.d.ts +1188 -302
|
@@ -2268,9 +2268,9 @@ interface BackInStockItemDetails$1 {
|
|
|
2268
2268
|
/** Item price. */
|
|
2269
2269
|
price?: string;
|
|
2270
2270
|
/** Item image. */
|
|
2271
|
-
image?: Image$
|
|
2271
|
+
image?: Image$5;
|
|
2272
2272
|
}
|
|
2273
|
-
interface Image$
|
|
2273
|
+
interface Image$5 {
|
|
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$
|
|
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$
|
|
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$
|
|
3109
|
+
physicalProperties?: PhysicalProperties$9;
|
|
3110
3110
|
/**
|
|
3111
3111
|
* Item type. Either a preset type or custom.
|
|
3112
3112
|
* @readonly
|
|
@@ -3152,6 +3152,8 @@ interface LineItem$5 {
|
|
|
3152
3152
|
* @readonly
|
|
3153
3153
|
*/
|
|
3154
3154
|
taxGroupId?: string | null;
|
|
3155
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
3156
|
+
catalogOverrideFields?: CatalogOverrideFields$7;
|
|
3155
3157
|
}
|
|
3156
3158
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
3157
3159
|
interface CatalogReference$9 {
|
|
@@ -3175,7 +3177,7 @@ interface CatalogReference$9 {
|
|
|
3175
3177
|
*/
|
|
3176
3178
|
options?: Record<string, any> | null;
|
|
3177
3179
|
}
|
|
3178
|
-
interface ProductName$
|
|
3180
|
+
interface ProductName$9 {
|
|
3179
3181
|
/**
|
|
3180
3182
|
* __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
3183
|
*
|
|
@@ -3217,25 +3219,25 @@ interface MultiCurrencyPrice$5 {
|
|
|
3217
3219
|
*/
|
|
3218
3220
|
formattedConvertedAmount?: string;
|
|
3219
3221
|
}
|
|
3220
|
-
interface DescriptionLine$
|
|
3222
|
+
interface DescriptionLine$9 extends DescriptionLineValueOneOf$9, DescriptionLineDescriptionLineValueOneOf$9 {
|
|
3221
3223
|
/** Description line plain text value. */
|
|
3222
|
-
plainText?: PlainTextValue$
|
|
3224
|
+
plainText?: PlainTextValue$9;
|
|
3223
3225
|
/** Description line color value. */
|
|
3224
|
-
colorInfo?: Color$
|
|
3226
|
+
colorInfo?: Color$9;
|
|
3225
3227
|
/** Description line name. */
|
|
3226
|
-
name?: DescriptionLineName$
|
|
3228
|
+
name?: DescriptionLineName$9;
|
|
3227
3229
|
}
|
|
3228
3230
|
/** @oneof */
|
|
3229
|
-
interface DescriptionLineValueOneOf$
|
|
3231
|
+
interface DescriptionLineValueOneOf$9 {
|
|
3230
3232
|
/** Description line plain text value. */
|
|
3231
|
-
plainText?: PlainTextValue$
|
|
3233
|
+
plainText?: PlainTextValue$9;
|
|
3232
3234
|
/** Description line color value. */
|
|
3233
|
-
colorInfo?: Color$
|
|
3235
|
+
colorInfo?: Color$9;
|
|
3234
3236
|
}
|
|
3235
3237
|
/** @oneof */
|
|
3236
|
-
interface DescriptionLineDescriptionLineValueOneOf$
|
|
3238
|
+
interface DescriptionLineDescriptionLineValueOneOf$9 {
|
|
3237
3239
|
}
|
|
3238
|
-
interface DescriptionLineName$
|
|
3240
|
+
interface DescriptionLineName$9 {
|
|
3239
3241
|
/** 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
3242
|
original?: string;
|
|
3241
3243
|
/**
|
|
@@ -3245,7 +3247,7 @@ interface DescriptionLineName$7 {
|
|
|
3245
3247
|
*/
|
|
3246
3248
|
translated?: string | null;
|
|
3247
3249
|
}
|
|
3248
|
-
interface PlainTextValue$
|
|
3250
|
+
interface PlainTextValue$9 {
|
|
3249
3251
|
/** 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
3252
|
original?: string;
|
|
3251
3253
|
/**
|
|
@@ -3255,7 +3257,7 @@ interface PlainTextValue$7 {
|
|
|
3255
3257
|
*/
|
|
3256
3258
|
translated?: string | null;
|
|
3257
3259
|
}
|
|
3258
|
-
interface Color$
|
|
3260
|
+
interface Color$9 {
|
|
3259
3261
|
/** 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
3262
|
original?: string;
|
|
3261
3263
|
/**
|
|
@@ -3314,7 +3316,7 @@ declare enum ItemAvailabilityStatus$5 {
|
|
|
3314
3316
|
/** Available quantity is less than requested */
|
|
3315
3317
|
PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
|
|
3316
3318
|
}
|
|
3317
|
-
interface PhysicalProperties$
|
|
3319
|
+
interface PhysicalProperties$9 {
|
|
3318
3320
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
3319
3321
|
weight?: number | null;
|
|
3320
3322
|
/** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
|
|
@@ -3397,6 +3399,32 @@ interface SelectedMembership$5 {
|
|
|
3397
3399
|
/** ID of the app providing this payment option. */
|
|
3398
3400
|
appId?: string;
|
|
3399
3401
|
}
|
|
3402
|
+
interface CatalogOverrideFields$7 {
|
|
3403
|
+
/** Item product name */
|
|
3404
|
+
productName?: ProductName$9;
|
|
3405
|
+
/** Item price **after** discounts. */
|
|
3406
|
+
price?: string | null;
|
|
3407
|
+
/** Item price **before** discount. */
|
|
3408
|
+
fullPrice?: string | null;
|
|
3409
|
+
/** Line item description lines. Used for displaying the cart, checkout and order. */
|
|
3410
|
+
descriptionLines?: DescriptionLine$9[];
|
|
3411
|
+
/** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
|
|
3412
|
+
physicalProperties?: PhysicalProperties$9;
|
|
3413
|
+
/** Line item image details. */
|
|
3414
|
+
image?: Image$4;
|
|
3415
|
+
}
|
|
3416
|
+
interface Image$4 {
|
|
3417
|
+
/** WixMedia image ID. */
|
|
3418
|
+
id?: string;
|
|
3419
|
+
/** Original image height. */
|
|
3420
|
+
height?: number;
|
|
3421
|
+
/** Original image width. */
|
|
3422
|
+
width?: number;
|
|
3423
|
+
/** Image alt text. Optional. */
|
|
3424
|
+
altText?: string | null;
|
|
3425
|
+
/** Image filename. Optional. */
|
|
3426
|
+
filename?: string | null;
|
|
3427
|
+
}
|
|
3400
3428
|
/** Buyer Info */
|
|
3401
3429
|
interface BuyerInfo$7 extends BuyerInfoIdOneOf$7 {
|
|
3402
3430
|
/**
|
|
@@ -6697,7 +6725,7 @@ interface LineItem$4 {
|
|
|
6697
6725
|
* + Events - `ticket.name`
|
|
6698
6726
|
* @readonly
|
|
6699
6727
|
*/
|
|
6700
|
-
productName?: ProductName$
|
|
6728
|
+
productName?: ProductName$8;
|
|
6701
6729
|
/**
|
|
6702
6730
|
* URL to the item's page on the site.
|
|
6703
6731
|
* @readonly
|
|
@@ -6722,7 +6750,7 @@ interface LineItem$4 {
|
|
|
6722
6750
|
* Line item description lines. Used for displaying the cart, checkout and order.
|
|
6723
6751
|
* @readonly
|
|
6724
6752
|
*/
|
|
6725
|
-
descriptionLines?: DescriptionLine$
|
|
6753
|
+
descriptionLines?: DescriptionLine$8[];
|
|
6726
6754
|
/**
|
|
6727
6755
|
* Line item image details.
|
|
6728
6756
|
* @readonly
|
|
@@ -6737,7 +6765,7 @@ interface LineItem$4 {
|
|
|
6737
6765
|
* Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
|
|
6738
6766
|
* @readonly
|
|
6739
6767
|
*/
|
|
6740
|
-
physicalProperties?: PhysicalProperties$
|
|
6768
|
+
physicalProperties?: PhysicalProperties$8;
|
|
6741
6769
|
/**
|
|
6742
6770
|
* Item type. Either a preset type or custom.
|
|
6743
6771
|
* @readonly
|
|
@@ -6781,6 +6809,8 @@ interface LineItem$4 {
|
|
|
6781
6809
|
* @readonly
|
|
6782
6810
|
*/
|
|
6783
6811
|
taxGroupId?: string | null;
|
|
6812
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
6813
|
+
catalogOverrideFields?: CatalogOverrideFields$6;
|
|
6784
6814
|
}
|
|
6785
6815
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
6786
6816
|
interface CatalogReference$8 {
|
|
@@ -6806,7 +6836,7 @@ interface CatalogReference$8 {
|
|
|
6806
6836
|
*/
|
|
6807
6837
|
options?: Record<string, any> | null;
|
|
6808
6838
|
}
|
|
6809
|
-
interface ProductName$
|
|
6839
|
+
interface ProductName$8 {
|
|
6810
6840
|
/** **Required** - Original product name (in site's default language). */
|
|
6811
6841
|
original?: string;
|
|
6812
6842
|
/** Description product name translated into buyer's language. Defaults to `original` when not defined. */
|
|
@@ -6831,37 +6861,37 @@ interface MultiCurrencyPrice$4 {
|
|
|
6831
6861
|
*/
|
|
6832
6862
|
formattedConvertedAmount?: string;
|
|
6833
6863
|
}
|
|
6834
|
-
interface DescriptionLine$
|
|
6864
|
+
interface DescriptionLine$8 extends DescriptionLineValueOneOf$8, DescriptionLineDescriptionLineValueOneOf$8 {
|
|
6835
6865
|
/** Description line plain text value. */
|
|
6836
|
-
plainText?: PlainTextValue$
|
|
6866
|
+
plainText?: PlainTextValue$8;
|
|
6837
6867
|
/** Description line color value. */
|
|
6838
|
-
colorInfo?: Color$
|
|
6868
|
+
colorInfo?: Color$8;
|
|
6839
6869
|
/** Description line name. */
|
|
6840
|
-
name?: DescriptionLineName$
|
|
6870
|
+
name?: DescriptionLineName$8;
|
|
6841
6871
|
}
|
|
6842
6872
|
/** @oneof */
|
|
6843
|
-
interface DescriptionLineValueOneOf$
|
|
6873
|
+
interface DescriptionLineValueOneOf$8 {
|
|
6844
6874
|
/** Description line plain text value. */
|
|
6845
|
-
plainText?: PlainTextValue$
|
|
6875
|
+
plainText?: PlainTextValue$8;
|
|
6846
6876
|
/** Description line color value. */
|
|
6847
|
-
colorInfo?: Color$
|
|
6877
|
+
colorInfo?: Color$8;
|
|
6848
6878
|
}
|
|
6849
6879
|
/** @oneof */
|
|
6850
|
-
interface DescriptionLineDescriptionLineValueOneOf$
|
|
6880
|
+
interface DescriptionLineDescriptionLineValueOneOf$8 {
|
|
6851
6881
|
}
|
|
6852
|
-
interface DescriptionLineName$
|
|
6882
|
+
interface DescriptionLineName$8 {
|
|
6853
6883
|
/** Description line name in site's default language. */
|
|
6854
6884
|
original?: string;
|
|
6855
6885
|
/** Description line name translated into buyer's language. Defaults to `original` when not defined. */
|
|
6856
6886
|
translated?: string | null;
|
|
6857
6887
|
}
|
|
6858
|
-
interface PlainTextValue$
|
|
6888
|
+
interface PlainTextValue$8 {
|
|
6859
6889
|
/** Description line plain text value in site's default language. */
|
|
6860
6890
|
original?: string;
|
|
6861
6891
|
/** Description line plain text value translated into buyer's language. Defaults to `original` when not defined. */
|
|
6862
6892
|
translated?: string | null;
|
|
6863
6893
|
}
|
|
6864
|
-
interface Color$
|
|
6894
|
+
interface Color$8 {
|
|
6865
6895
|
/** Description line color name in site's default language. */
|
|
6866
6896
|
original?: string;
|
|
6867
6897
|
/** Description line color name translated into buyer's language. Defaults to `original` when not defined. */
|
|
@@ -6892,7 +6922,7 @@ declare enum ItemAvailabilityStatus$4 {
|
|
|
6892
6922
|
/** Available quantity is less than requested */
|
|
6893
6923
|
PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
|
|
6894
6924
|
}
|
|
6895
|
-
interface PhysicalProperties$
|
|
6925
|
+
interface PhysicalProperties$8 {
|
|
6896
6926
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
6897
6927
|
weight?: number | null;
|
|
6898
6928
|
/** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
|
|
@@ -6955,6 +6985,20 @@ interface SelectedMembership$4 {
|
|
|
6955
6985
|
/** ID of the app providing this payment option. */
|
|
6956
6986
|
appId?: string;
|
|
6957
6987
|
}
|
|
6988
|
+
interface CatalogOverrideFields$6 {
|
|
6989
|
+
/** Item product name */
|
|
6990
|
+
productName?: ProductName$8;
|
|
6991
|
+
/** Item price **after** discounts. */
|
|
6992
|
+
price?: string | null;
|
|
6993
|
+
/** Item price **before** discount. */
|
|
6994
|
+
fullPrice?: string | null;
|
|
6995
|
+
/** Line item description lines. Used for displaying the cart, checkout and order. */
|
|
6996
|
+
descriptionLines?: DescriptionLine$8[];
|
|
6997
|
+
/** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
|
|
6998
|
+
physicalProperties?: PhysicalProperties$8;
|
|
6999
|
+
/** Line item image details. */
|
|
7000
|
+
image?: string;
|
|
7001
|
+
}
|
|
6958
7002
|
/** Buyer Info */
|
|
6959
7003
|
interface BuyerInfo$6 extends BuyerInfoIdOneOf$6 {
|
|
6960
7004
|
/**
|
|
@@ -7936,209 +7980,25 @@ interface UpdateCartResponseNonNullableFields$2 {
|
|
|
7936
7980
|
_id: string;
|
|
7937
7981
|
appId: string;
|
|
7938
7982
|
};
|
|
7939
|
-
|
|
7940
|
-
|
|
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?: {
|
|
8007
|
-
original: string;
|
|
8008
|
-
};
|
|
8009
|
-
colorInfo?: {
|
|
8010
|
-
original: string;
|
|
8011
|
-
};
|
|
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;
|
|
8040
|
-
};
|
|
8041
|
-
}[];
|
|
8042
|
-
buyerInfo?: {
|
|
8043
|
-
visitorId: string;
|
|
8044
|
-
memberId: string;
|
|
8045
|
-
userId: string;
|
|
8046
|
-
};
|
|
8047
|
-
currency: string;
|
|
8048
|
-
conversionCurrency: string;
|
|
8049
|
-
weightUnit: WeightUnit$6;
|
|
8050
|
-
appliedDiscounts: {
|
|
8051
|
-
coupon?: {
|
|
8052
|
-
_id: string;
|
|
8053
|
-
code: string;
|
|
8054
|
-
};
|
|
8055
|
-
merchantDiscount?: {
|
|
8056
|
-
amount?: {
|
|
8057
|
-
amount: string;
|
|
8058
|
-
convertedAmount: string;
|
|
8059
|
-
formattedAmount: string;
|
|
8060
|
-
formattedConvertedAmount: string;
|
|
8061
|
-
};
|
|
8062
|
-
};
|
|
8063
|
-
}[];
|
|
8064
|
-
contactInfo?: {
|
|
8065
|
-
contactDetails?: {
|
|
8066
|
-
vatId?: {
|
|
8067
|
-
_id: string;
|
|
8068
|
-
type: VatType$4;
|
|
8069
|
-
};
|
|
8070
|
-
};
|
|
8071
|
-
};
|
|
8072
|
-
selectedShippingOption?: {
|
|
8073
|
-
code: string;
|
|
8074
|
-
};
|
|
8075
|
-
};
|
|
8076
|
-
}
|
|
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?: {
|
|
7983
|
+
catalogOverrideFields?: {
|
|
7984
|
+
productName?: {
|
|
8112
7985
|
original: string;
|
|
8113
7986
|
};
|
|
8114
|
-
|
|
8115
|
-
|
|
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;
|
|
8116
8000
|
};
|
|
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;
|
|
8001
|
+
image: string;
|
|
8142
8002
|
};
|
|
8143
8003
|
}[];
|
|
8144
8004
|
buyerInfo?: {
|
|
@@ -8176,10 +8036,7 @@ interface RemoveLineItemsResponseNonNullableFields$4 {
|
|
|
8176
8036
|
};
|
|
8177
8037
|
};
|
|
8178
8038
|
}
|
|
8179
|
-
interface
|
|
8180
|
-
checkoutId: string;
|
|
8181
|
-
}
|
|
8182
|
-
interface RemoveCouponResponseNonNullableFields$4 {
|
|
8039
|
+
interface AddToCartResponseNonNullableFields$2 {
|
|
8183
8040
|
cart?: {
|
|
8184
8041
|
lineItems: {
|
|
8185
8042
|
quantity: number;
|
|
@@ -8245,6 +8102,273 @@ interface RemoveCouponResponseNonNullableFields$4 {
|
|
|
8245
8102
|
_id: string;
|
|
8246
8103
|
appId: string;
|
|
8247
8104
|
};
|
|
8105
|
+
catalogOverrideFields?: {
|
|
8106
|
+
productName?: {
|
|
8107
|
+
original: string;
|
|
8108
|
+
};
|
|
8109
|
+
descriptionLines: {
|
|
8110
|
+
plainText?: {
|
|
8111
|
+
original: string;
|
|
8112
|
+
};
|
|
8113
|
+
colorInfo?: {
|
|
8114
|
+
original: string;
|
|
8115
|
+
};
|
|
8116
|
+
name?: {
|
|
8117
|
+
original: string;
|
|
8118
|
+
};
|
|
8119
|
+
}[];
|
|
8120
|
+
physicalProperties?: {
|
|
8121
|
+
shippable: boolean;
|
|
8122
|
+
};
|
|
8123
|
+
image: string;
|
|
8124
|
+
};
|
|
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
|
+
};
|
|
8248
8372
|
}[];
|
|
8249
8373
|
buyerInfo?: {
|
|
8250
8374
|
visitorId: string;
|
|
@@ -8347,6 +8471,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$4 {
|
|
|
8347
8471
|
_id: string;
|
|
8348
8472
|
appId: string;
|
|
8349
8473
|
};
|
|
8474
|
+
catalogOverrideFields?: {
|
|
8475
|
+
productName?: {
|
|
8476
|
+
original: string;
|
|
8477
|
+
};
|
|
8478
|
+
descriptionLines: {
|
|
8479
|
+
plainText?: {
|
|
8480
|
+
original: string;
|
|
8481
|
+
};
|
|
8482
|
+
colorInfo?: {
|
|
8483
|
+
original: string;
|
|
8484
|
+
};
|
|
8485
|
+
name?: {
|
|
8486
|
+
original: string;
|
|
8487
|
+
};
|
|
8488
|
+
}[];
|
|
8489
|
+
physicalProperties?: {
|
|
8490
|
+
shippable: boolean;
|
|
8491
|
+
};
|
|
8492
|
+
image: string;
|
|
8493
|
+
};
|
|
8350
8494
|
}[];
|
|
8351
8495
|
buyerInfo?: {
|
|
8352
8496
|
visitorId: string;
|
|
@@ -8449,6 +8593,26 @@ interface EstimateTotalsResponseNonNullableFields$2 {
|
|
|
8449
8593
|
_id: string;
|
|
8450
8594
|
appId: string;
|
|
8451
8595
|
};
|
|
8596
|
+
catalogOverrideFields?: {
|
|
8597
|
+
productName?: {
|
|
8598
|
+
original: string;
|
|
8599
|
+
};
|
|
8600
|
+
descriptionLines: {
|
|
8601
|
+
plainText?: {
|
|
8602
|
+
original: string;
|
|
8603
|
+
};
|
|
8604
|
+
colorInfo?: {
|
|
8605
|
+
original: string;
|
|
8606
|
+
};
|
|
8607
|
+
name?: {
|
|
8608
|
+
original: string;
|
|
8609
|
+
};
|
|
8610
|
+
}[];
|
|
8611
|
+
physicalProperties?: {
|
|
8612
|
+
shippable: boolean;
|
|
8613
|
+
};
|
|
8614
|
+
image: string;
|
|
8615
|
+
};
|
|
8452
8616
|
}[];
|
|
8453
8617
|
buyerInfo?: {
|
|
8454
8618
|
visitorId: string;
|
|
@@ -9151,6 +9315,26 @@ interface CreateCartResponseNonNullableFields {
|
|
|
9151
9315
|
_id: string;
|
|
9152
9316
|
appId: string;
|
|
9153
9317
|
};
|
|
9318
|
+
catalogOverrideFields?: {
|
|
9319
|
+
productName?: {
|
|
9320
|
+
original: string;
|
|
9321
|
+
};
|
|
9322
|
+
descriptionLines: {
|
|
9323
|
+
plainText?: {
|
|
9324
|
+
original: string;
|
|
9325
|
+
};
|
|
9326
|
+
colorInfo?: {
|
|
9327
|
+
original: string;
|
|
9328
|
+
};
|
|
9329
|
+
name?: {
|
|
9330
|
+
original: string;
|
|
9331
|
+
};
|
|
9332
|
+
}[];
|
|
9333
|
+
physicalProperties?: {
|
|
9334
|
+
shippable: boolean;
|
|
9335
|
+
};
|
|
9336
|
+
image: string;
|
|
9337
|
+
};
|
|
9154
9338
|
}[];
|
|
9155
9339
|
buyerInfo?: {
|
|
9156
9340
|
visitorId: string;
|
|
@@ -9253,6 +9437,26 @@ interface GetCartResponseNonNullableFields {
|
|
|
9253
9437
|
_id: string;
|
|
9254
9438
|
appId: string;
|
|
9255
9439
|
};
|
|
9440
|
+
catalogOverrideFields?: {
|
|
9441
|
+
productName?: {
|
|
9442
|
+
original: string;
|
|
9443
|
+
};
|
|
9444
|
+
descriptionLines: {
|
|
9445
|
+
plainText?: {
|
|
9446
|
+
original: string;
|
|
9447
|
+
};
|
|
9448
|
+
colorInfo?: {
|
|
9449
|
+
original: string;
|
|
9450
|
+
};
|
|
9451
|
+
name?: {
|
|
9452
|
+
original: string;
|
|
9453
|
+
};
|
|
9454
|
+
}[];
|
|
9455
|
+
physicalProperties?: {
|
|
9456
|
+
shippable: boolean;
|
|
9457
|
+
};
|
|
9458
|
+
image: string;
|
|
9459
|
+
};
|
|
9256
9460
|
}[];
|
|
9257
9461
|
buyerInfo?: {
|
|
9258
9462
|
visitorId: string;
|
|
@@ -9438,7 +9642,7 @@ interface LineItem$3 {
|
|
|
9438
9642
|
* + Events - `ticket.name`
|
|
9439
9643
|
* @readonly
|
|
9440
9644
|
*/
|
|
9441
|
-
productName?: ProductName$
|
|
9645
|
+
productName?: ProductName$7;
|
|
9442
9646
|
/**
|
|
9443
9647
|
* URL to the item's page on the site.
|
|
9444
9648
|
* @readonly
|
|
@@ -9463,7 +9667,7 @@ interface LineItem$3 {
|
|
|
9463
9667
|
* Line item description lines. Used for displaying the cart, checkout and order.
|
|
9464
9668
|
* @readonly
|
|
9465
9669
|
*/
|
|
9466
|
-
descriptionLines?: DescriptionLine$
|
|
9670
|
+
descriptionLines?: DescriptionLine$7[];
|
|
9467
9671
|
/**
|
|
9468
9672
|
* Line item image details.
|
|
9469
9673
|
* @readonly
|
|
@@ -9478,7 +9682,7 @@ interface LineItem$3 {
|
|
|
9478
9682
|
* Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
|
|
9479
9683
|
* @readonly
|
|
9480
9684
|
*/
|
|
9481
|
-
physicalProperties?: PhysicalProperties$
|
|
9685
|
+
physicalProperties?: PhysicalProperties$7;
|
|
9482
9686
|
/**
|
|
9483
9687
|
* Item type. Either a preset type or custom.
|
|
9484
9688
|
* @readonly
|
|
@@ -9524,6 +9728,8 @@ interface LineItem$3 {
|
|
|
9524
9728
|
* @readonly
|
|
9525
9729
|
*/
|
|
9526
9730
|
taxGroupId?: string | null;
|
|
9731
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
9732
|
+
catalogOverrideFields?: CatalogOverrideFields$5;
|
|
9527
9733
|
}
|
|
9528
9734
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
9529
9735
|
interface CatalogReference$7 {
|
|
@@ -9547,7 +9753,7 @@ interface CatalogReference$7 {
|
|
|
9547
9753
|
*/
|
|
9548
9754
|
options?: Record<string, any> | null;
|
|
9549
9755
|
}
|
|
9550
|
-
interface ProductName$
|
|
9756
|
+
interface ProductName$7 {
|
|
9551
9757
|
/**
|
|
9552
9758
|
* __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
9759
|
*
|
|
@@ -9589,25 +9795,25 @@ interface MultiCurrencyPrice$3 {
|
|
|
9589
9795
|
*/
|
|
9590
9796
|
formattedConvertedAmount?: string;
|
|
9591
9797
|
}
|
|
9592
|
-
interface DescriptionLine$
|
|
9798
|
+
interface DescriptionLine$7 extends DescriptionLineValueOneOf$7, DescriptionLineDescriptionLineValueOneOf$7 {
|
|
9593
9799
|
/** Description line plain text value. */
|
|
9594
|
-
plainText?: PlainTextValue$
|
|
9800
|
+
plainText?: PlainTextValue$7;
|
|
9595
9801
|
/** Description line color value. */
|
|
9596
|
-
colorInfo?: Color$
|
|
9802
|
+
colorInfo?: Color$7;
|
|
9597
9803
|
/** Description line name. */
|
|
9598
|
-
name?: DescriptionLineName$
|
|
9804
|
+
name?: DescriptionLineName$7;
|
|
9599
9805
|
}
|
|
9600
9806
|
/** @oneof */
|
|
9601
|
-
interface DescriptionLineValueOneOf$
|
|
9807
|
+
interface DescriptionLineValueOneOf$7 {
|
|
9602
9808
|
/** Description line plain text value. */
|
|
9603
|
-
plainText?: PlainTextValue$
|
|
9809
|
+
plainText?: PlainTextValue$7;
|
|
9604
9810
|
/** Description line color value. */
|
|
9605
|
-
colorInfo?: Color$
|
|
9811
|
+
colorInfo?: Color$7;
|
|
9606
9812
|
}
|
|
9607
9813
|
/** @oneof */
|
|
9608
|
-
interface DescriptionLineDescriptionLineValueOneOf$
|
|
9814
|
+
interface DescriptionLineDescriptionLineValueOneOf$7 {
|
|
9609
9815
|
}
|
|
9610
|
-
interface DescriptionLineName$
|
|
9816
|
+
interface DescriptionLineName$7 {
|
|
9611
9817
|
/** 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
9818
|
original?: string;
|
|
9613
9819
|
/**
|
|
@@ -9617,7 +9823,7 @@ interface DescriptionLineName$5 {
|
|
|
9617
9823
|
*/
|
|
9618
9824
|
translated?: string | null;
|
|
9619
9825
|
}
|
|
9620
|
-
interface PlainTextValue$
|
|
9826
|
+
interface PlainTextValue$7 {
|
|
9621
9827
|
/** 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
9828
|
original?: string;
|
|
9623
9829
|
/**
|
|
@@ -9627,7 +9833,7 @@ interface PlainTextValue$5 {
|
|
|
9627
9833
|
*/
|
|
9628
9834
|
translated?: string | null;
|
|
9629
9835
|
}
|
|
9630
|
-
interface Color$
|
|
9836
|
+
interface Color$7 {
|
|
9631
9837
|
/** 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
9838
|
original?: string;
|
|
9633
9839
|
/**
|
|
@@ -9686,7 +9892,7 @@ declare enum ItemAvailabilityStatus$3 {
|
|
|
9686
9892
|
/** Available quantity is less than requested */
|
|
9687
9893
|
PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
|
|
9688
9894
|
}
|
|
9689
|
-
interface PhysicalProperties$
|
|
9895
|
+
interface PhysicalProperties$7 {
|
|
9690
9896
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
9691
9897
|
weight?: number | null;
|
|
9692
9898
|
/** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
|
|
@@ -9769,6 +9975,32 @@ interface SelectedMembership$3 {
|
|
|
9769
9975
|
/** ID of the app providing this payment option. */
|
|
9770
9976
|
appId?: string;
|
|
9771
9977
|
}
|
|
9978
|
+
interface CatalogOverrideFields$5 {
|
|
9979
|
+
/** Item product name */
|
|
9980
|
+
productName?: ProductName$7;
|
|
9981
|
+
/** Item price **after** discounts. */
|
|
9982
|
+
price?: string | null;
|
|
9983
|
+
/** Item price **before** discount. */
|
|
9984
|
+
fullPrice?: string | null;
|
|
9985
|
+
/** Line item description lines. Used for displaying the cart, checkout and order. */
|
|
9986
|
+
descriptionLines?: DescriptionLine$7[];
|
|
9987
|
+
/** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
|
|
9988
|
+
physicalProperties?: PhysicalProperties$7;
|
|
9989
|
+
/** Line item image details. */
|
|
9990
|
+
image?: Image$3;
|
|
9991
|
+
}
|
|
9992
|
+
interface Image$3 {
|
|
9993
|
+
/** WixMedia image ID. */
|
|
9994
|
+
id?: string;
|
|
9995
|
+
/** Original image height. */
|
|
9996
|
+
height?: number;
|
|
9997
|
+
/** Original image width. */
|
|
9998
|
+
width?: number;
|
|
9999
|
+
/** Image alt text. Optional. */
|
|
10000
|
+
altText?: string | null;
|
|
10001
|
+
/** Image filename. Optional. */
|
|
10002
|
+
filename?: string | null;
|
|
10003
|
+
}
|
|
9772
10004
|
/** Buyer Info */
|
|
9773
10005
|
interface BuyerInfo$5 extends BuyerInfoIdOneOf$5 {
|
|
9774
10006
|
/**
|
|
@@ -12856,7 +13088,7 @@ interface LineItem$2 {
|
|
|
12856
13088
|
* + Events - `ticket.name`
|
|
12857
13089
|
* @readonly
|
|
12858
13090
|
*/
|
|
12859
|
-
productName?: ProductName$
|
|
13091
|
+
productName?: ProductName$6;
|
|
12860
13092
|
/**
|
|
12861
13093
|
* URL to the item's page on the site.
|
|
12862
13094
|
* @readonly
|
|
@@ -12881,7 +13113,7 @@ interface LineItem$2 {
|
|
|
12881
13113
|
* Line item description lines. Used for displaying the cart, checkout and order.
|
|
12882
13114
|
* @readonly
|
|
12883
13115
|
*/
|
|
12884
|
-
descriptionLines?: DescriptionLine$
|
|
13116
|
+
descriptionLines?: DescriptionLine$6[];
|
|
12885
13117
|
/**
|
|
12886
13118
|
* Line item image details.
|
|
12887
13119
|
* @readonly
|
|
@@ -12896,7 +13128,7 @@ interface LineItem$2 {
|
|
|
12896
13128
|
* Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
|
|
12897
13129
|
* @readonly
|
|
12898
13130
|
*/
|
|
12899
|
-
physicalProperties?: PhysicalProperties$
|
|
13131
|
+
physicalProperties?: PhysicalProperties$6;
|
|
12900
13132
|
/**
|
|
12901
13133
|
* Item type. Either a preset type or custom.
|
|
12902
13134
|
* @readonly
|
|
@@ -12940,6 +13172,8 @@ interface LineItem$2 {
|
|
|
12940
13172
|
* @readonly
|
|
12941
13173
|
*/
|
|
12942
13174
|
taxGroupId?: string | null;
|
|
13175
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
13176
|
+
catalogOverrideFields?: CatalogOverrideFields$4;
|
|
12943
13177
|
}
|
|
12944
13178
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
12945
13179
|
interface CatalogReference$6 {
|
|
@@ -12965,7 +13199,7 @@ interface CatalogReference$6 {
|
|
|
12965
13199
|
*/
|
|
12966
13200
|
options?: Record<string, any> | null;
|
|
12967
13201
|
}
|
|
12968
|
-
interface ProductName$
|
|
13202
|
+
interface ProductName$6 {
|
|
12969
13203
|
/** **Required** - Original product name (in site's default language). */
|
|
12970
13204
|
original?: string;
|
|
12971
13205
|
/** Description product name translated into buyer's language. Defaults to `original` when not defined. */
|
|
@@ -12990,37 +13224,37 @@ interface MultiCurrencyPrice$2 {
|
|
|
12990
13224
|
*/
|
|
12991
13225
|
formattedConvertedAmount?: string;
|
|
12992
13226
|
}
|
|
12993
|
-
interface DescriptionLine$
|
|
13227
|
+
interface DescriptionLine$6 extends DescriptionLineValueOneOf$6, DescriptionLineDescriptionLineValueOneOf$6 {
|
|
12994
13228
|
/** Description line plain text value. */
|
|
12995
|
-
plainText?: PlainTextValue$
|
|
13229
|
+
plainText?: PlainTextValue$6;
|
|
12996
13230
|
/** Description line color value. */
|
|
12997
|
-
colorInfo?: Color$
|
|
13231
|
+
colorInfo?: Color$6;
|
|
12998
13232
|
/** Description line name. */
|
|
12999
|
-
name?: DescriptionLineName$
|
|
13233
|
+
name?: DescriptionLineName$6;
|
|
13000
13234
|
}
|
|
13001
13235
|
/** @oneof */
|
|
13002
|
-
interface DescriptionLineValueOneOf$
|
|
13236
|
+
interface DescriptionLineValueOneOf$6 {
|
|
13003
13237
|
/** Description line plain text value. */
|
|
13004
|
-
plainText?: PlainTextValue$
|
|
13238
|
+
plainText?: PlainTextValue$6;
|
|
13005
13239
|
/** Description line color value. */
|
|
13006
|
-
colorInfo?: Color$
|
|
13240
|
+
colorInfo?: Color$6;
|
|
13007
13241
|
}
|
|
13008
13242
|
/** @oneof */
|
|
13009
|
-
interface DescriptionLineDescriptionLineValueOneOf$
|
|
13243
|
+
interface DescriptionLineDescriptionLineValueOneOf$6 {
|
|
13010
13244
|
}
|
|
13011
|
-
interface DescriptionLineName$
|
|
13245
|
+
interface DescriptionLineName$6 {
|
|
13012
13246
|
/** Description line name in site's default language. */
|
|
13013
13247
|
original?: string;
|
|
13014
13248
|
/** Description line name translated into buyer's language. Defaults to `original` when not defined. */
|
|
13015
13249
|
translated?: string | null;
|
|
13016
13250
|
}
|
|
13017
|
-
interface PlainTextValue$
|
|
13251
|
+
interface PlainTextValue$6 {
|
|
13018
13252
|
/** Description line plain text value in site's default language. */
|
|
13019
13253
|
original?: string;
|
|
13020
13254
|
/** Description line plain text value translated into buyer's language. Defaults to `original` when not defined. */
|
|
13021
13255
|
translated?: string | null;
|
|
13022
13256
|
}
|
|
13023
|
-
interface Color$
|
|
13257
|
+
interface Color$6 {
|
|
13024
13258
|
/** Description line color name in site's default language. */
|
|
13025
13259
|
original?: string;
|
|
13026
13260
|
/** Description line color name translated into buyer's language. Defaults to `original` when not defined. */
|
|
@@ -13051,7 +13285,7 @@ declare enum ItemAvailabilityStatus$2 {
|
|
|
13051
13285
|
/** Available quantity is less than requested */
|
|
13052
13286
|
PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
|
|
13053
13287
|
}
|
|
13054
|
-
interface PhysicalProperties$
|
|
13288
|
+
interface PhysicalProperties$6 {
|
|
13055
13289
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
13056
13290
|
weight?: number | null;
|
|
13057
13291
|
/** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
|
|
@@ -13114,6 +13348,20 @@ interface SelectedMembership$2 {
|
|
|
13114
13348
|
/** ID of the app providing this payment option. */
|
|
13115
13349
|
appId?: string;
|
|
13116
13350
|
}
|
|
13351
|
+
interface CatalogOverrideFields$4 {
|
|
13352
|
+
/** Item product name */
|
|
13353
|
+
productName?: ProductName$6;
|
|
13354
|
+
/** Item price **after** discounts. */
|
|
13355
|
+
price?: string | null;
|
|
13356
|
+
/** Item price **before** discount. */
|
|
13357
|
+
fullPrice?: string | null;
|
|
13358
|
+
/** Line item description lines. Used for displaying the cart, checkout and order. */
|
|
13359
|
+
descriptionLines?: DescriptionLine$6[];
|
|
13360
|
+
/** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
|
|
13361
|
+
physicalProperties?: PhysicalProperties$6;
|
|
13362
|
+
/** Line item image details. */
|
|
13363
|
+
image?: string;
|
|
13364
|
+
}
|
|
13117
13365
|
/** Buyer Info */
|
|
13118
13366
|
interface BuyerInfo$4 extends BuyerInfoIdOneOf$4 {
|
|
13119
13367
|
/**
|
|
@@ -14065,6 +14313,26 @@ interface GetCurrentCartResponseNonNullableFields {
|
|
|
14065
14313
|
_id: string;
|
|
14066
14314
|
appId: string;
|
|
14067
14315
|
};
|
|
14316
|
+
catalogOverrideFields?: {
|
|
14317
|
+
productName?: {
|
|
14318
|
+
original: string;
|
|
14319
|
+
};
|
|
14320
|
+
descriptionLines: {
|
|
14321
|
+
plainText?: {
|
|
14322
|
+
original: string;
|
|
14323
|
+
};
|
|
14324
|
+
colorInfo?: {
|
|
14325
|
+
original: string;
|
|
14326
|
+
};
|
|
14327
|
+
name?: {
|
|
14328
|
+
original: string;
|
|
14329
|
+
};
|
|
14330
|
+
}[];
|
|
14331
|
+
physicalProperties?: {
|
|
14332
|
+
shippable: boolean;
|
|
14333
|
+
};
|
|
14334
|
+
image: string;
|
|
14335
|
+
};
|
|
14068
14336
|
}[];
|
|
14069
14337
|
buyerInfo?: {
|
|
14070
14338
|
visitorId: string;
|
|
@@ -14167,6 +14435,26 @@ interface UpdateCartResponseNonNullableFields {
|
|
|
14167
14435
|
_id: string;
|
|
14168
14436
|
appId: string;
|
|
14169
14437
|
};
|
|
14438
|
+
catalogOverrideFields?: {
|
|
14439
|
+
productName?: {
|
|
14440
|
+
original: string;
|
|
14441
|
+
};
|
|
14442
|
+
descriptionLines: {
|
|
14443
|
+
plainText?: {
|
|
14444
|
+
original: string;
|
|
14445
|
+
};
|
|
14446
|
+
colorInfo?: {
|
|
14447
|
+
original: string;
|
|
14448
|
+
};
|
|
14449
|
+
name?: {
|
|
14450
|
+
original: string;
|
|
14451
|
+
};
|
|
14452
|
+
}[];
|
|
14453
|
+
physicalProperties?: {
|
|
14454
|
+
shippable: boolean;
|
|
14455
|
+
};
|
|
14456
|
+
image: string;
|
|
14457
|
+
};
|
|
14170
14458
|
}[];
|
|
14171
14459
|
buyerInfo?: {
|
|
14172
14460
|
visitorId: string;
|
|
@@ -14269,6 +14557,26 @@ interface AddToCartResponseNonNullableFields {
|
|
|
14269
14557
|
_id: string;
|
|
14270
14558
|
appId: string;
|
|
14271
14559
|
};
|
|
14560
|
+
catalogOverrideFields?: {
|
|
14561
|
+
productName?: {
|
|
14562
|
+
original: string;
|
|
14563
|
+
};
|
|
14564
|
+
descriptionLines: {
|
|
14565
|
+
plainText?: {
|
|
14566
|
+
original: string;
|
|
14567
|
+
};
|
|
14568
|
+
colorInfo?: {
|
|
14569
|
+
original: string;
|
|
14570
|
+
};
|
|
14571
|
+
name?: {
|
|
14572
|
+
original: string;
|
|
14573
|
+
};
|
|
14574
|
+
}[];
|
|
14575
|
+
physicalProperties?: {
|
|
14576
|
+
shippable: boolean;
|
|
14577
|
+
};
|
|
14578
|
+
image: string;
|
|
14579
|
+
};
|
|
14272
14580
|
}[];
|
|
14273
14581
|
buyerInfo?: {
|
|
14274
14582
|
visitorId: string;
|
|
@@ -14371,6 +14679,26 @@ interface RemoveLineItemsResponseNonNullableFields$2 {
|
|
|
14371
14679
|
_id: string;
|
|
14372
14680
|
appId: string;
|
|
14373
14681
|
};
|
|
14682
|
+
catalogOverrideFields?: {
|
|
14683
|
+
productName?: {
|
|
14684
|
+
original: string;
|
|
14685
|
+
};
|
|
14686
|
+
descriptionLines: {
|
|
14687
|
+
plainText?: {
|
|
14688
|
+
original: string;
|
|
14689
|
+
};
|
|
14690
|
+
colorInfo?: {
|
|
14691
|
+
original: string;
|
|
14692
|
+
};
|
|
14693
|
+
name?: {
|
|
14694
|
+
original: string;
|
|
14695
|
+
};
|
|
14696
|
+
}[];
|
|
14697
|
+
physicalProperties?: {
|
|
14698
|
+
shippable: boolean;
|
|
14699
|
+
};
|
|
14700
|
+
image: string;
|
|
14701
|
+
};
|
|
14374
14702
|
}[];
|
|
14375
14703
|
buyerInfo?: {
|
|
14376
14704
|
visitorId: string;
|
|
@@ -14476,6 +14804,26 @@ interface RemoveCouponResponseNonNullableFields$2 {
|
|
|
14476
14804
|
_id: string;
|
|
14477
14805
|
appId: string;
|
|
14478
14806
|
};
|
|
14807
|
+
catalogOverrideFields?: {
|
|
14808
|
+
productName?: {
|
|
14809
|
+
original: string;
|
|
14810
|
+
};
|
|
14811
|
+
descriptionLines: {
|
|
14812
|
+
plainText?: {
|
|
14813
|
+
original: string;
|
|
14814
|
+
};
|
|
14815
|
+
colorInfo?: {
|
|
14816
|
+
original: string;
|
|
14817
|
+
};
|
|
14818
|
+
name?: {
|
|
14819
|
+
original: string;
|
|
14820
|
+
};
|
|
14821
|
+
}[];
|
|
14822
|
+
physicalProperties?: {
|
|
14823
|
+
shippable: boolean;
|
|
14824
|
+
};
|
|
14825
|
+
image: string;
|
|
14826
|
+
};
|
|
14479
14827
|
}[];
|
|
14480
14828
|
buyerInfo?: {
|
|
14481
14829
|
visitorId: string;
|
|
@@ -14578,6 +14926,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$2 {
|
|
|
14578
14926
|
_id: string;
|
|
14579
14927
|
appId: string;
|
|
14580
14928
|
};
|
|
14929
|
+
catalogOverrideFields?: {
|
|
14930
|
+
productName?: {
|
|
14931
|
+
original: string;
|
|
14932
|
+
};
|
|
14933
|
+
descriptionLines: {
|
|
14934
|
+
plainText?: {
|
|
14935
|
+
original: string;
|
|
14936
|
+
};
|
|
14937
|
+
colorInfo?: {
|
|
14938
|
+
original: string;
|
|
14939
|
+
};
|
|
14940
|
+
name?: {
|
|
14941
|
+
original: string;
|
|
14942
|
+
};
|
|
14943
|
+
}[];
|
|
14944
|
+
physicalProperties?: {
|
|
14945
|
+
shippable: boolean;
|
|
14946
|
+
};
|
|
14947
|
+
image: string;
|
|
14948
|
+
};
|
|
14581
14949
|
}[];
|
|
14582
14950
|
buyerInfo?: {
|
|
14583
14951
|
visitorId: string;
|
|
@@ -14680,6 +15048,26 @@ interface EstimateTotalsResponseNonNullableFields {
|
|
|
14680
15048
|
_id: string;
|
|
14681
15049
|
appId: string;
|
|
14682
15050
|
};
|
|
15051
|
+
catalogOverrideFields?: {
|
|
15052
|
+
productName?: {
|
|
15053
|
+
original: string;
|
|
15054
|
+
};
|
|
15055
|
+
descriptionLines: {
|
|
15056
|
+
plainText?: {
|
|
15057
|
+
original: string;
|
|
15058
|
+
};
|
|
15059
|
+
colorInfo?: {
|
|
15060
|
+
original: string;
|
|
15061
|
+
};
|
|
15062
|
+
name?: {
|
|
15063
|
+
original: string;
|
|
15064
|
+
};
|
|
15065
|
+
}[];
|
|
15066
|
+
physicalProperties?: {
|
|
15067
|
+
shippable: boolean;
|
|
15068
|
+
};
|
|
15069
|
+
image: string;
|
|
15070
|
+
};
|
|
14683
15071
|
}[];
|
|
14684
15072
|
buyerInfo?: {
|
|
14685
15073
|
visitorId: string;
|
|
@@ -15528,7 +15916,7 @@ interface LineItem$1 {
|
|
|
15528
15916
|
* + Events - `ticket.name`
|
|
15529
15917
|
* @readonly
|
|
15530
15918
|
*/
|
|
15531
|
-
productName?: ProductName$
|
|
15919
|
+
productName?: ProductName$5;
|
|
15532
15920
|
/**
|
|
15533
15921
|
* URL to the item's page on the site.
|
|
15534
15922
|
* @readonly
|
|
@@ -15578,7 +15966,7 @@ interface LineItem$1 {
|
|
|
15578
15966
|
* Line item description lines. Used for display purposes for the cart, checkout and order.
|
|
15579
15967
|
* @readonly
|
|
15580
15968
|
*/
|
|
15581
|
-
descriptionLines?: DescriptionLine$
|
|
15969
|
+
descriptionLines?: DescriptionLine$5[];
|
|
15582
15970
|
/**
|
|
15583
15971
|
* Line item image details.
|
|
15584
15972
|
* @readonly
|
|
@@ -15593,7 +15981,7 @@ interface LineItem$1 {
|
|
|
15593
15981
|
* Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
|
|
15594
15982
|
* @readonly
|
|
15595
15983
|
*/
|
|
15596
|
-
physicalProperties?: PhysicalProperties$
|
|
15984
|
+
physicalProperties?: PhysicalProperties$5;
|
|
15597
15985
|
/**
|
|
15598
15986
|
* Item type. Either a preset type or custom.
|
|
15599
15987
|
* @readonly
|
|
@@ -15632,6 +16020,8 @@ interface LineItem$1 {
|
|
|
15632
16020
|
* @readonly
|
|
15633
16021
|
*/
|
|
15634
16022
|
depositAmount?: MultiCurrencyPrice$1;
|
|
16023
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
16024
|
+
catalogOverrideFields?: CatalogOverrideFields$3;
|
|
15635
16025
|
}
|
|
15636
16026
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
15637
16027
|
interface CatalogReference$5 {
|
|
@@ -15655,7 +16045,7 @@ interface CatalogReference$5 {
|
|
|
15655
16045
|
*/
|
|
15656
16046
|
options?: Record<string, any> | null;
|
|
15657
16047
|
}
|
|
15658
|
-
interface ProductName$
|
|
16048
|
+
interface ProductName$5 {
|
|
15659
16049
|
/**
|
|
15660
16050
|
* __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
16051
|
*
|
|
@@ -15728,25 +16118,25 @@ declare enum JurisdictionType$2 {
|
|
|
15728
16118
|
CITY = "CITY",
|
|
15729
16119
|
SPECIAL = "SPECIAL"
|
|
15730
16120
|
}
|
|
15731
|
-
interface DescriptionLine$
|
|
16121
|
+
interface DescriptionLine$5 extends DescriptionLineValueOneOf$5, DescriptionLineDescriptionLineValueOneOf$5 {
|
|
15732
16122
|
/** Description line plain text value. */
|
|
15733
|
-
plainText?: PlainTextValue$
|
|
16123
|
+
plainText?: PlainTextValue$5;
|
|
15734
16124
|
/** Description line color value. */
|
|
15735
|
-
colorInfo?: Color$
|
|
16125
|
+
colorInfo?: Color$5;
|
|
15736
16126
|
/** Description line name. */
|
|
15737
|
-
name?: DescriptionLineName$
|
|
16127
|
+
name?: DescriptionLineName$5;
|
|
15738
16128
|
}
|
|
15739
16129
|
/** @oneof */
|
|
15740
|
-
interface DescriptionLineValueOneOf$
|
|
16130
|
+
interface DescriptionLineValueOneOf$5 {
|
|
15741
16131
|
/** Description line plain text value. */
|
|
15742
|
-
plainText?: PlainTextValue$
|
|
16132
|
+
plainText?: PlainTextValue$5;
|
|
15743
16133
|
/** Description line color value. */
|
|
15744
|
-
colorInfo?: Color$
|
|
16134
|
+
colorInfo?: Color$5;
|
|
15745
16135
|
}
|
|
15746
16136
|
/** @oneof */
|
|
15747
|
-
interface DescriptionLineDescriptionLineValueOneOf$
|
|
16137
|
+
interface DescriptionLineDescriptionLineValueOneOf$5 {
|
|
15748
16138
|
}
|
|
15749
|
-
interface DescriptionLineName$
|
|
16139
|
+
interface DescriptionLineName$5 {
|
|
15750
16140
|
/** 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
16141
|
original?: string;
|
|
15752
16142
|
/**
|
|
@@ -15756,7 +16146,7 @@ interface DescriptionLineName$3 {
|
|
|
15756
16146
|
*/
|
|
15757
16147
|
translated?: string | null;
|
|
15758
16148
|
}
|
|
15759
|
-
interface PlainTextValue$
|
|
16149
|
+
interface PlainTextValue$5 {
|
|
15760
16150
|
/** 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
16151
|
original?: string;
|
|
15762
16152
|
/**
|
|
@@ -15766,7 +16156,7 @@ interface PlainTextValue$3 {
|
|
|
15766
16156
|
*/
|
|
15767
16157
|
translated?: string | null;
|
|
15768
16158
|
}
|
|
15769
|
-
interface Color$
|
|
16159
|
+
interface Color$5 {
|
|
15770
16160
|
/** 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
16161
|
original?: string;
|
|
15772
16162
|
/**
|
|
@@ -15825,7 +16215,7 @@ declare enum ItemAvailabilityStatus$1 {
|
|
|
15825
16215
|
/** Available quantity is less than requested */
|
|
15826
16216
|
PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
|
|
15827
16217
|
}
|
|
15828
|
-
interface PhysicalProperties$
|
|
16218
|
+
interface PhysicalProperties$5 {
|
|
15829
16219
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
15830
16220
|
weight?: number | null;
|
|
15831
16221
|
/** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
|
|
@@ -15901,6 +16291,32 @@ interface PriceDescription$3 {
|
|
|
15901
16291
|
*/
|
|
15902
16292
|
translated?: string | null;
|
|
15903
16293
|
}
|
|
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
|
+
}
|
|
15904
16320
|
/** Billing Info and shipping details */
|
|
15905
16321
|
interface AddressWithContact$3 {
|
|
15906
16322
|
/** Address. */
|
|
@@ -25980,7 +26396,7 @@ interface LineItem {
|
|
|
25980
26396
|
* + Events - `ticket.name`
|
|
25981
26397
|
* @readonly
|
|
25982
26398
|
*/
|
|
25983
|
-
productName?: ProductName$
|
|
26399
|
+
productName?: ProductName$4;
|
|
25984
26400
|
/**
|
|
25985
26401
|
* URL to the item's page on the site.
|
|
25986
26402
|
* @readonly
|
|
@@ -26030,7 +26446,7 @@ interface LineItem {
|
|
|
26030
26446
|
* Line item description lines. Used for displaying the cart, checkout and order.
|
|
26031
26447
|
* @readonly
|
|
26032
26448
|
*/
|
|
26033
|
-
descriptionLines?: DescriptionLine$
|
|
26449
|
+
descriptionLines?: DescriptionLine$4[];
|
|
26034
26450
|
/**
|
|
26035
26451
|
* Line item image details.
|
|
26036
26452
|
* @readonly
|
|
@@ -26045,7 +26461,7 @@ interface LineItem {
|
|
|
26045
26461
|
* Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
|
|
26046
26462
|
* @readonly
|
|
26047
26463
|
*/
|
|
26048
|
-
physicalProperties?: PhysicalProperties$
|
|
26464
|
+
physicalProperties?: PhysicalProperties$4;
|
|
26049
26465
|
/**
|
|
26050
26466
|
* Item type. Either a preset type or custom.
|
|
26051
26467
|
* @readonly
|
|
@@ -26083,6 +26499,8 @@ interface LineItem {
|
|
|
26083
26499
|
* @readonly
|
|
26084
26500
|
*/
|
|
26085
26501
|
depositAmount?: MultiCurrencyPrice;
|
|
26502
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
26503
|
+
catalogOverrideFields?: CatalogOverrideFields$2;
|
|
26086
26504
|
}
|
|
26087
26505
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
26088
26506
|
interface CatalogReference$4 {
|
|
@@ -26108,7 +26526,7 @@ interface CatalogReference$4 {
|
|
|
26108
26526
|
*/
|
|
26109
26527
|
options?: Record<string, any> | null;
|
|
26110
26528
|
}
|
|
26111
|
-
interface ProductName$
|
|
26529
|
+
interface ProductName$4 {
|
|
26112
26530
|
/**
|
|
26113
26531
|
* __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
26532
|
*
|
|
@@ -26166,25 +26584,25 @@ interface TaxRateBreakdown {
|
|
|
26166
26584
|
/** Amount of tax for this tax detail. */
|
|
26167
26585
|
tax?: MultiCurrencyPrice;
|
|
26168
26586
|
}
|
|
26169
|
-
interface DescriptionLine$
|
|
26587
|
+
interface DescriptionLine$4 extends DescriptionLineValueOneOf$4, DescriptionLineDescriptionLineValueOneOf$4 {
|
|
26170
26588
|
/** Description line plain text value. */
|
|
26171
|
-
plainText?: PlainTextValue$
|
|
26589
|
+
plainText?: PlainTextValue$4;
|
|
26172
26590
|
/** Description line color value. */
|
|
26173
|
-
colorInfo?: Color$
|
|
26591
|
+
colorInfo?: Color$4;
|
|
26174
26592
|
/** Description line name. */
|
|
26175
|
-
name?: DescriptionLineName$
|
|
26593
|
+
name?: DescriptionLineName$4;
|
|
26176
26594
|
}
|
|
26177
26595
|
/** @oneof */
|
|
26178
|
-
interface DescriptionLineValueOneOf$
|
|
26596
|
+
interface DescriptionLineValueOneOf$4 {
|
|
26179
26597
|
/** Description line plain text value. */
|
|
26180
|
-
plainText?: PlainTextValue$
|
|
26598
|
+
plainText?: PlainTextValue$4;
|
|
26181
26599
|
/** Description line color value. */
|
|
26182
|
-
colorInfo?: Color$
|
|
26600
|
+
colorInfo?: Color$4;
|
|
26183
26601
|
}
|
|
26184
26602
|
/** @oneof */
|
|
26185
|
-
interface DescriptionLineDescriptionLineValueOneOf$
|
|
26603
|
+
interface DescriptionLineDescriptionLineValueOneOf$4 {
|
|
26186
26604
|
}
|
|
26187
|
-
interface DescriptionLineName$
|
|
26605
|
+
interface DescriptionLineName$4 {
|
|
26188
26606
|
/** 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
26607
|
original?: string;
|
|
26190
26608
|
/**
|
|
@@ -26194,7 +26612,7 @@ interface DescriptionLineName$2 {
|
|
|
26194
26612
|
*/
|
|
26195
26613
|
translated?: string | null;
|
|
26196
26614
|
}
|
|
26197
|
-
interface PlainTextValue$
|
|
26615
|
+
interface PlainTextValue$4 {
|
|
26198
26616
|
/** 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
26617
|
original?: string;
|
|
26200
26618
|
/**
|
|
@@ -26204,7 +26622,7 @@ interface PlainTextValue$2 {
|
|
|
26204
26622
|
*/
|
|
26205
26623
|
translated?: string | null;
|
|
26206
26624
|
}
|
|
26207
|
-
interface Color$
|
|
26625
|
+
interface Color$4 {
|
|
26208
26626
|
/** 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
26627
|
original?: string;
|
|
26210
26628
|
/**
|
|
@@ -26235,7 +26653,7 @@ declare enum ItemAvailabilityStatus {
|
|
|
26235
26653
|
/** Available quantity is less than requested */
|
|
26236
26654
|
PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
|
|
26237
26655
|
}
|
|
26238
|
-
interface PhysicalProperties$
|
|
26656
|
+
interface PhysicalProperties$4 {
|
|
26239
26657
|
/** Line item weight. Measurement unit (`"KG"` or `"LB"`) is taken from `order.weightUnit`. */
|
|
26240
26658
|
weight?: number | null;
|
|
26241
26659
|
/** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
|
|
@@ -26295,6 +26713,20 @@ interface PriceDescription$2 {
|
|
|
26295
26713
|
*/
|
|
26296
26714
|
translated?: string | null;
|
|
26297
26715
|
}
|
|
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
|
+
}
|
|
26298
26730
|
/** Billing Info and shipping details */
|
|
26299
26731
|
interface AddressWithContact$2 {
|
|
26300
26732
|
/** Address. */
|
|
@@ -27298,6 +27730,26 @@ interface CreateCheckoutResponseNonNullableFields {
|
|
|
27298
27730
|
formattedAmount: string;
|
|
27299
27731
|
formattedConvertedAmount: string;
|
|
27300
27732
|
};
|
|
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
|
+
};
|
|
27301
27753
|
}[];
|
|
27302
27754
|
billingInfo?: {
|
|
27303
27755
|
contactDetails?: {
|
|
@@ -27980,6 +28432,26 @@ interface GetCheckoutResponseNonNullableFields {
|
|
|
27980
28432
|
formattedAmount: string;
|
|
27981
28433
|
formattedConvertedAmount: string;
|
|
27982
28434
|
};
|
|
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
|
+
};
|
|
27983
28455
|
}[];
|
|
27984
28456
|
billingInfo?: {
|
|
27985
28457
|
contactDetails?: {
|
|
@@ -28665,6 +29137,26 @@ interface UpdateCheckoutResponseNonNullableFields {
|
|
|
28665
29137
|
formattedAmount: string;
|
|
28666
29138
|
formattedConvertedAmount: string;
|
|
28667
29139
|
};
|
|
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
|
+
};
|
|
28668
29160
|
}[];
|
|
28669
29161
|
billingInfo?: {
|
|
28670
29162
|
contactDetails?: {
|
|
@@ -29347,6 +29839,26 @@ interface RemoveCouponResponseNonNullableFields {
|
|
|
29347
29839
|
formattedAmount: string;
|
|
29348
29840
|
formattedConvertedAmount: string;
|
|
29349
29841
|
};
|
|
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
|
+
};
|
|
29350
29862
|
}[];
|
|
29351
29863
|
billingInfo?: {
|
|
29352
29864
|
contactDetails?: {
|
|
@@ -30029,6 +30541,26 @@ interface RemoveGiftCardResponseNonNullableFields {
|
|
|
30029
30541
|
formattedAmount: string;
|
|
30030
30542
|
formattedConvertedAmount: string;
|
|
30031
30543
|
};
|
|
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
|
+
};
|
|
30032
30564
|
}[];
|
|
30033
30565
|
billingInfo?: {
|
|
30034
30566
|
contactDetails?: {
|
|
@@ -30711,6 +31243,26 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields {
|
|
|
30711
31243
|
formattedAmount: string;
|
|
30712
31244
|
formattedConvertedAmount: string;
|
|
30713
31245
|
};
|
|
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
|
+
};
|
|
30714
31266
|
}[];
|
|
30715
31267
|
billingInfo?: {
|
|
30716
31268
|
contactDetails?: {
|
|
@@ -31393,6 +31945,26 @@ interface AddToCheckoutResponseNonNullableFields {
|
|
|
31393
31945
|
formattedAmount: string;
|
|
31394
31946
|
formattedConvertedAmount: string;
|
|
31395
31947
|
};
|
|
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
|
+
};
|
|
31396
31968
|
}[];
|
|
31397
31969
|
billingInfo?: {
|
|
31398
31970
|
contactDetails?: {
|
|
@@ -32075,6 +32647,26 @@ interface RemoveLineItemsResponseNonNullableFields {
|
|
|
32075
32647
|
formattedAmount: string;
|
|
32076
32648
|
formattedConvertedAmount: string;
|
|
32077
32649
|
};
|
|
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
|
+
};
|
|
32078
32670
|
}[];
|
|
32079
32671
|
billingInfo?: {
|
|
32080
32672
|
contactDetails?: {
|
|
@@ -32761,6 +33353,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
32761
33353
|
formattedAmount: string;
|
|
32762
33354
|
formattedConvertedAmount: string;
|
|
32763
33355
|
};
|
|
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
|
+
};
|
|
32764
33376
|
}[];
|
|
32765
33377
|
billingInfo?: {
|
|
32766
33378
|
contactDetails?: {
|
|
@@ -33766,6 +34378,8 @@ interface V1LineItem$1 {
|
|
|
33766
34378
|
* > **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
34379
|
*/
|
|
33768
34380
|
catalogReference?: CatalogReference$3;
|
|
34381
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
34382
|
+
catalogOverrideFields?: CatalogOverrideFields$1;
|
|
33769
34383
|
}
|
|
33770
34384
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
33771
34385
|
interface CatalogReference$3 {
|
|
@@ -33789,11 +34403,112 @@ interface CatalogReference$3 {
|
|
|
33789
34403
|
*/
|
|
33790
34404
|
options?: Record<string, any> | null;
|
|
33791
34405
|
}
|
|
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
|
+
}
|
|
33792
34487
|
declare enum DescriptionLineType$1 {
|
|
33793
34488
|
UNRECOGNISED = "UNRECOGNISED",
|
|
33794
34489
|
PLAIN_TEXT = "PLAIN_TEXT",
|
|
33795
34490
|
COLOR = "COLOR"
|
|
33796
34491
|
}
|
|
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
|
+
}
|
|
33797
34512
|
declare enum ItemTypeItemType$2 {
|
|
33798
34513
|
UNRECOGNISED = "UNRECOGNISED",
|
|
33799
34514
|
PHYSICAL = "PHYSICAL",
|
|
@@ -34506,6 +35221,8 @@ interface V1LineItem {
|
|
|
34506
35221
|
* > **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
35222
|
*/
|
|
34508
35223
|
catalogReference?: CatalogReference$2;
|
|
35224
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
35225
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
34509
35226
|
}
|
|
34510
35227
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
34511
35228
|
interface CatalogReference$2 {
|
|
@@ -34529,6 +35246,95 @@ interface CatalogReference$2 {
|
|
|
34529
35246
|
*/
|
|
34530
35247
|
options?: Record<string, any> | null;
|
|
34531
35248
|
}
|
|
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
|
+
}
|
|
34532
35338
|
interface CreateCheckoutTemplateRequest {
|
|
34533
35339
|
/** Checkout template to create. */
|
|
34534
35340
|
checkoutTemplate: CheckoutTemplate;
|
|
@@ -34663,6 +35469,26 @@ interface CreateCheckoutTemplateResponseNonNullableFields {
|
|
|
34663
35469
|
catalogItemId: string;
|
|
34664
35470
|
appId: string;
|
|
34665
35471
|
};
|
|
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
|
+
};
|
|
34666
35492
|
}[];
|
|
34667
35493
|
};
|
|
34668
35494
|
}
|
|
@@ -34682,6 +35508,26 @@ interface GetCheckoutTemplateResponseNonNullableFields {
|
|
|
34682
35508
|
catalogItemId: string;
|
|
34683
35509
|
appId: string;
|
|
34684
35510
|
};
|
|
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
|
+
};
|
|
34685
35531
|
}[];
|
|
34686
35532
|
};
|
|
34687
35533
|
}
|
|
@@ -34701,6 +35547,26 @@ interface UpdateCheckoutTemplateResponseNonNullableFields {
|
|
|
34701
35547
|
catalogItemId: string;
|
|
34702
35548
|
appId: string;
|
|
34703
35549
|
};
|
|
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
|
+
};
|
|
34704
35570
|
}[];
|
|
34705
35571
|
};
|
|
34706
35572
|
}
|
|
@@ -34720,6 +35586,26 @@ interface QueryCheckoutTemplatesResponseNonNullableFields {
|
|
|
34720
35586
|
catalogItemId: string;
|
|
34721
35587
|
appId: string;
|
|
34722
35588
|
};
|
|
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
|
+
};
|
|
34723
35609
|
}[];
|
|
34724
35610
|
}[];
|
|
34725
35611
|
}
|