@wix/stores 1.0.157 → 1.0.159
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 +4 -4
- package/type-bundles/context.bundle.d.ts +1 -611
- package/type-bundles/index.bundle.d.ts +153 -1239
- package/type-bundles/meta.bundle.d.ts +358 -1370
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/stores",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.159",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@wix/stores_collections": "1.0.21",
|
|
22
|
-
"@wix/stores_inventory": "1.0.
|
|
23
|
-
"@wix/stores_products": "1.0.
|
|
22
|
+
"@wix/stores_inventory": "1.0.23",
|
|
23
|
+
"@wix/stores_products": "1.0.30",
|
|
24
24
|
"@wix/stores_subscription-options": "1.0.18",
|
|
25
25
|
"@wix/stores_wishlist": "1.0.17"
|
|
26
26
|
},
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"fqdn": ""
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"falconPackageHash": "
|
|
50
|
+
"falconPackageHash": "e984d779097895c4b0db8c2405d0f10b7c0d57879e16605a549df3cd"
|
|
51
51
|
}
|
|
@@ -2699,137 +2699,6 @@ interface UpdateCollection {
|
|
|
2699
2699
|
/** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
|
|
2700
2700
|
visible?: boolean | null;
|
|
2701
2701
|
}
|
|
2702
|
-
interface WriteProxyUpdateProductPlatformizedProduct {
|
|
2703
|
-
/**
|
|
2704
|
-
* Product ID (generated automatically by the catalog).
|
|
2705
|
-
* @readonly
|
|
2706
|
-
*/
|
|
2707
|
-
_id?: string;
|
|
2708
|
-
/**
|
|
2709
|
-
* Product name.
|
|
2710
|
-
*
|
|
2711
|
-
* Min: 1 character
|
|
2712
|
-
* Max: 80 characters
|
|
2713
|
-
*/
|
|
2714
|
-
name?: string | null;
|
|
2715
|
-
/** A friendly URL name (generated automatically by the catalog when a product is created), can be updated. */
|
|
2716
|
-
slug?: string;
|
|
2717
|
-
/** Whether the product is visible to site visitors. */
|
|
2718
|
-
visible?: boolean | null;
|
|
2719
|
-
/** Currently, only creating physical products ( `"productType": "physical"` ) is supported via the API. */
|
|
2720
|
-
productType?: ProductType;
|
|
2721
|
-
/** Product description. */
|
|
2722
|
-
description?: string | null;
|
|
2723
|
-
/** Stock keeping unit. If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, SKUs will be set per variant, and this field will be empty. */
|
|
2724
|
-
sku?: string | null;
|
|
2725
|
-
/** Product weight. If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, weight will be set per variant, and this field will be empty. */
|
|
2726
|
-
weight?: number | null;
|
|
2727
|
-
/**
|
|
2728
|
-
* Product weight range. The minimum and maximum weights of all the variants.
|
|
2729
|
-
* @readonly
|
|
2730
|
-
*/
|
|
2731
|
-
weightRange?: NumericPropertyRange;
|
|
2732
|
-
/**
|
|
2733
|
-
* Product inventory status (in future this will be writable via Inventory API).
|
|
2734
|
-
* @readonly
|
|
2735
|
-
*/
|
|
2736
|
-
stock?: Stock;
|
|
2737
|
-
/**
|
|
2738
|
-
* Deprecated (use `priceData` instead).
|
|
2739
|
-
* @readonly
|
|
2740
|
-
* @deprecated
|
|
2741
|
-
*/
|
|
2742
|
-
price?: PriceData;
|
|
2743
|
-
/** Price data. */
|
|
2744
|
-
priceData?: PriceData;
|
|
2745
|
-
/**
|
|
2746
|
-
* Price data, converted to the currency specified in request header.
|
|
2747
|
-
* @readonly
|
|
2748
|
-
*/
|
|
2749
|
-
convertedPriceData?: PriceData;
|
|
2750
|
-
/**
|
|
2751
|
-
* Product price range. The minimum and maximum prices of all the variants.
|
|
2752
|
-
* @readonly
|
|
2753
|
-
*/
|
|
2754
|
-
priceRange?: NumericPropertyRange;
|
|
2755
|
-
/** Cost and profit data. */
|
|
2756
|
-
costAndProfitData?: CostAndProfitData;
|
|
2757
|
-
/**
|
|
2758
|
-
* Product cost range. The minimum and maximum costs of all the variants.
|
|
2759
|
-
* @readonly
|
|
2760
|
-
*/
|
|
2761
|
-
costRange?: NumericPropertyRange;
|
|
2762
|
-
/** Price per unit data. */
|
|
2763
|
-
pricePerUnitData?: PricePerUnitData;
|
|
2764
|
-
/** Additional text that the store owner can assign to the product (e.g. shipping details, refund policy, etc.). */
|
|
2765
|
-
additionalInfoSections?: AdditionalInfoSection[];
|
|
2766
|
-
/**
|
|
2767
|
-
* Deprecated (use `ribbon` instead).
|
|
2768
|
-
* @readonly
|
|
2769
|
-
* @deprecated
|
|
2770
|
-
*/
|
|
2771
|
-
ribbons?: Ribbon[];
|
|
2772
|
-
/**
|
|
2773
|
-
* Media items (images, videos etc) associated with this product (writable via [Add Product Media](https://dev.wix.com/api/rest/wix-stores/catalog/products/add-product-media) endpoint).
|
|
2774
|
-
* @readonly
|
|
2775
|
-
*/
|
|
2776
|
-
media?: Media;
|
|
2777
|
-
/**
|
|
2778
|
-
* Text box for the customer to add a message to their order (e.g., customization request). Currently writable only from the UI.
|
|
2779
|
-
* @readonly
|
|
2780
|
-
*/
|
|
2781
|
-
customTextFields?: CustomTextField[];
|
|
2782
|
-
/** Whether variants are being managed for this product - enables unique SKU, price and weight per variant. Also affects inventory data. Once set to `true`, can be reset to `false` only if no variants exist. You cannot set `manageVariants` to `true` if more than 300 variants are defined. */
|
|
2783
|
-
manageVariants?: boolean | null;
|
|
2784
|
-
/** Options for this product. */
|
|
2785
|
-
productOptions?: ProductOption[];
|
|
2786
|
-
/**
|
|
2787
|
-
* Product page URL for this product (generated automatically by the server).
|
|
2788
|
-
* @readonly
|
|
2789
|
-
*/
|
|
2790
|
-
productPageUrl?: PageUrl;
|
|
2791
|
-
/**
|
|
2792
|
-
* Product’s unique numeric ID (assigned in ascending order).
|
|
2793
|
-
* Primarily used for sorting and filtering when crawling all products.
|
|
2794
|
-
* @readonly
|
|
2795
|
-
*/
|
|
2796
|
-
numericId?: string;
|
|
2797
|
-
/**
|
|
2798
|
-
* Inventory item ID - ID referencing the inventory system.
|
|
2799
|
-
* @readonly
|
|
2800
|
-
*/
|
|
2801
|
-
inventoryItemId?: string;
|
|
2802
|
-
/** Discount deducted from the product's original price. */
|
|
2803
|
-
discount?: Discount$1;
|
|
2804
|
-
/**
|
|
2805
|
-
* A list of all collection IDs that this product is included in (writable via the Catalog > Collection APIs).
|
|
2806
|
-
* @readonly
|
|
2807
|
-
*/
|
|
2808
|
-
collectionIds?: string[];
|
|
2809
|
-
/**
|
|
2810
|
-
* Product variants, will be provided if the the request was sent with the `includeVariants: true`.
|
|
2811
|
-
*
|
|
2812
|
-
* Max: 1,000 variants
|
|
2813
|
-
* @readonly
|
|
2814
|
-
*/
|
|
2815
|
-
variants?: Variant[];
|
|
2816
|
-
/**
|
|
2817
|
-
* Date and time the product was last updated.
|
|
2818
|
-
* @readonly
|
|
2819
|
-
*/
|
|
2820
|
-
lastUpdated?: Date;
|
|
2821
|
-
/**
|
|
2822
|
-
* Date and time the product was created.
|
|
2823
|
-
* @readonly
|
|
2824
|
-
*/
|
|
2825
|
-
_createdDate?: Date;
|
|
2826
|
-
/** Custom SEO data for the product. */
|
|
2827
|
-
seoData?: SeoSchema;
|
|
2828
|
-
/** Product ribbon. Used to highlight relevant information about a product. For example, "Sale", "New Arrival", "Sold Out". */
|
|
2829
|
-
ribbon?: string | null;
|
|
2830
|
-
/** Product brand. Including a brand name can help improve site and product [visibility on search engines](https://support.wix.com/en/article/adding-brand-names-to-boost-product-page-seo-in-wix-stores). */
|
|
2831
|
-
brand?: string | null;
|
|
2832
|
-
}
|
|
2833
2702
|
interface QueryOffsetResult {
|
|
2834
2703
|
currentPage: number | undefined;
|
|
2835
2704
|
totalPages: number | undefined;
|
|
@@ -2950,479 +2819,6 @@ declare function deleteCollection$1(httpClient: HttpClient): (_id: string) => Pr
|
|
|
2950
2819
|
declare function removeRibbon$1(httpClient: HttpClient): (_id: string) => Promise<void>;
|
|
2951
2820
|
declare function bulkUpdateProductsProperty$1(httpClient: HttpClient): (ids: string[], set: SetValue) => Promise<BulkUpdateProductsResponse & BulkUpdateProductsResponseNonNullableFields>;
|
|
2952
2821
|
declare function bulkAdjustProductProperty$1(httpClient: HttpClient): (adjust: AdjustValue, ids: string[]) => Promise<BulkAdjustProductPropertiesResponse & BulkAdjustProductPropertiesResponseNonNullableFields>;
|
|
2953
|
-
declare function writeProxyCreateProductPlatformized$1(httpClient: HttpClient): (product: Product) => Promise<Product & {
|
|
2954
|
-
_id: string;
|
|
2955
|
-
slug: string;
|
|
2956
|
-
productType: ProductType;
|
|
2957
|
-
weightRange?: {
|
|
2958
|
-
minValue: number;
|
|
2959
|
-
maxValue: number;
|
|
2960
|
-
} | undefined;
|
|
2961
|
-
stock?: {
|
|
2962
|
-
trackInventory: boolean;
|
|
2963
|
-
inStock: boolean;
|
|
2964
|
-
inventoryStatus: InventoryStatus;
|
|
2965
|
-
} | undefined;
|
|
2966
|
-
price?: {
|
|
2967
|
-
currency: string;
|
|
2968
|
-
discountedPrice: number;
|
|
2969
|
-
formatted?: {
|
|
2970
|
-
price: string;
|
|
2971
|
-
discountedPrice: string;
|
|
2972
|
-
} | undefined;
|
|
2973
|
-
} | undefined;
|
|
2974
|
-
priceData?: {
|
|
2975
|
-
currency: string;
|
|
2976
|
-
discountedPrice: number;
|
|
2977
|
-
formatted?: {
|
|
2978
|
-
price: string;
|
|
2979
|
-
discountedPrice: string;
|
|
2980
|
-
} | undefined;
|
|
2981
|
-
} | undefined;
|
|
2982
|
-
convertedPriceData?: {
|
|
2983
|
-
currency: string;
|
|
2984
|
-
discountedPrice: number;
|
|
2985
|
-
formatted?: {
|
|
2986
|
-
price: string;
|
|
2987
|
-
discountedPrice: string;
|
|
2988
|
-
} | undefined;
|
|
2989
|
-
} | undefined;
|
|
2990
|
-
priceRange?: {
|
|
2991
|
-
minValue: number;
|
|
2992
|
-
maxValue: number;
|
|
2993
|
-
} | undefined;
|
|
2994
|
-
costAndProfitData?: {
|
|
2995
|
-
formattedItemCost: string;
|
|
2996
|
-
profit: number;
|
|
2997
|
-
formattedProfit: string;
|
|
2998
|
-
profitMargin: number;
|
|
2999
|
-
} | undefined;
|
|
3000
|
-
costRange?: {
|
|
3001
|
-
minValue: number;
|
|
3002
|
-
maxValue: number;
|
|
3003
|
-
} | undefined;
|
|
3004
|
-
pricePerUnitData?: {
|
|
3005
|
-
totalQuantity: number;
|
|
3006
|
-
totalMeasurementUnit: MeasurementUnit;
|
|
3007
|
-
baseQuantity: number;
|
|
3008
|
-
baseMeasurementUnit: MeasurementUnit;
|
|
3009
|
-
} | undefined;
|
|
3010
|
-
additionalInfoSections: {
|
|
3011
|
-
title: string;
|
|
3012
|
-
description: string;
|
|
3013
|
-
}[];
|
|
3014
|
-
ribbons: {
|
|
3015
|
-
text: string;
|
|
3016
|
-
}[];
|
|
3017
|
-
media?: {
|
|
3018
|
-
mainMedia?: {
|
|
3019
|
-
image?: {
|
|
3020
|
-
url: string;
|
|
3021
|
-
width: number;
|
|
3022
|
-
height: number;
|
|
3023
|
-
} | undefined;
|
|
3024
|
-
video?: {
|
|
3025
|
-
files: {
|
|
3026
|
-
url: string;
|
|
3027
|
-
width: number;
|
|
3028
|
-
height: number;
|
|
3029
|
-
}[];
|
|
3030
|
-
stillFrameMediaId: string;
|
|
3031
|
-
} | undefined;
|
|
3032
|
-
thumbnail?: {
|
|
3033
|
-
url: string;
|
|
3034
|
-
width: number;
|
|
3035
|
-
height: number;
|
|
3036
|
-
} | undefined;
|
|
3037
|
-
mediaType: MediaItemType;
|
|
3038
|
-
title: string;
|
|
3039
|
-
_id: string;
|
|
3040
|
-
} | undefined;
|
|
3041
|
-
items: {
|
|
3042
|
-
image?: {
|
|
3043
|
-
url: string;
|
|
3044
|
-
width: number;
|
|
3045
|
-
height: number;
|
|
3046
|
-
} | undefined;
|
|
3047
|
-
video?: {
|
|
3048
|
-
files: {
|
|
3049
|
-
url: string;
|
|
3050
|
-
width: number;
|
|
3051
|
-
height: number;
|
|
3052
|
-
}[];
|
|
3053
|
-
stillFrameMediaId: string;
|
|
3054
|
-
} | undefined;
|
|
3055
|
-
thumbnail?: {
|
|
3056
|
-
url: string;
|
|
3057
|
-
width: number;
|
|
3058
|
-
height: number;
|
|
3059
|
-
} | undefined;
|
|
3060
|
-
mediaType: MediaItemType;
|
|
3061
|
-
title: string;
|
|
3062
|
-
_id: string;
|
|
3063
|
-
}[];
|
|
3064
|
-
} | undefined;
|
|
3065
|
-
customTextFields: {
|
|
3066
|
-
title: string;
|
|
3067
|
-
maxLength: number;
|
|
3068
|
-
mandatory: boolean;
|
|
3069
|
-
}[];
|
|
3070
|
-
productOptions: {
|
|
3071
|
-
optionType: OptionType;
|
|
3072
|
-
name: string;
|
|
3073
|
-
choices: {
|
|
3074
|
-
value: string;
|
|
3075
|
-
description: string;
|
|
3076
|
-
media?: {
|
|
3077
|
-
mainMedia?: {
|
|
3078
|
-
image?: {
|
|
3079
|
-
url: string;
|
|
3080
|
-
width: number;
|
|
3081
|
-
height: number;
|
|
3082
|
-
} | undefined;
|
|
3083
|
-
video?: {
|
|
3084
|
-
files: {
|
|
3085
|
-
url: string;
|
|
3086
|
-
width: number;
|
|
3087
|
-
height: number;
|
|
3088
|
-
}[];
|
|
3089
|
-
stillFrameMediaId: string;
|
|
3090
|
-
} | undefined;
|
|
3091
|
-
thumbnail?: {
|
|
3092
|
-
url: string;
|
|
3093
|
-
width: number;
|
|
3094
|
-
height: number;
|
|
3095
|
-
} | undefined;
|
|
3096
|
-
mediaType: MediaItemType;
|
|
3097
|
-
title: string;
|
|
3098
|
-
_id: string;
|
|
3099
|
-
} | undefined;
|
|
3100
|
-
items: {
|
|
3101
|
-
image?: {
|
|
3102
|
-
url: string;
|
|
3103
|
-
width: number;
|
|
3104
|
-
height: number;
|
|
3105
|
-
} | undefined;
|
|
3106
|
-
video?: {
|
|
3107
|
-
files: {
|
|
3108
|
-
url: string;
|
|
3109
|
-
width: number;
|
|
3110
|
-
height: number;
|
|
3111
|
-
}[];
|
|
3112
|
-
stillFrameMediaId: string;
|
|
3113
|
-
} | undefined;
|
|
3114
|
-
thumbnail?: {
|
|
3115
|
-
url: string;
|
|
3116
|
-
width: number;
|
|
3117
|
-
height: number;
|
|
3118
|
-
} | undefined;
|
|
3119
|
-
mediaType: MediaItemType;
|
|
3120
|
-
title: string;
|
|
3121
|
-
_id: string;
|
|
3122
|
-
}[];
|
|
3123
|
-
} | undefined;
|
|
3124
|
-
inStock: boolean;
|
|
3125
|
-
visible: boolean;
|
|
3126
|
-
}[];
|
|
3127
|
-
}[];
|
|
3128
|
-
productPageUrl?: {
|
|
3129
|
-
base: string;
|
|
3130
|
-
path: string;
|
|
3131
|
-
} | undefined;
|
|
3132
|
-
numericId: string;
|
|
3133
|
-
inventoryItemId: string;
|
|
3134
|
-
discount?: {
|
|
3135
|
-
type: DiscountType$1;
|
|
3136
|
-
value: number;
|
|
3137
|
-
} | undefined;
|
|
3138
|
-
collectionIds: string[];
|
|
3139
|
-
variants: {
|
|
3140
|
-
_id: string;
|
|
3141
|
-
variant?: {
|
|
3142
|
-
priceData?: {
|
|
3143
|
-
currency: string;
|
|
3144
|
-
discountedPrice: number;
|
|
3145
|
-
formatted?: {
|
|
3146
|
-
price: string;
|
|
3147
|
-
discountedPrice: string;
|
|
3148
|
-
} | undefined;
|
|
3149
|
-
} | undefined;
|
|
3150
|
-
convertedPriceData?: {
|
|
3151
|
-
currency: string;
|
|
3152
|
-
discountedPrice: number;
|
|
3153
|
-
formatted?: {
|
|
3154
|
-
price: string;
|
|
3155
|
-
discountedPrice: string;
|
|
3156
|
-
} | undefined;
|
|
3157
|
-
} | undefined;
|
|
3158
|
-
costAndProfitData?: {
|
|
3159
|
-
formattedItemCost: string;
|
|
3160
|
-
profit: number;
|
|
3161
|
-
formattedProfit: string;
|
|
3162
|
-
profitMargin: number;
|
|
3163
|
-
} | undefined;
|
|
3164
|
-
weight: number;
|
|
3165
|
-
sku: string;
|
|
3166
|
-
visible: boolean;
|
|
3167
|
-
} | undefined;
|
|
3168
|
-
stock?: {
|
|
3169
|
-
trackQuantity: boolean;
|
|
3170
|
-
inStock: boolean;
|
|
3171
|
-
} | undefined;
|
|
3172
|
-
}[];
|
|
3173
|
-
seoData?: {
|
|
3174
|
-
tags: {
|
|
3175
|
-
type: string;
|
|
3176
|
-
children: string;
|
|
3177
|
-
custom: boolean;
|
|
3178
|
-
disabled: boolean;
|
|
3179
|
-
}[];
|
|
3180
|
-
settings?: {
|
|
3181
|
-
preventAutoRedirect: boolean;
|
|
3182
|
-
keywords: {
|
|
3183
|
-
term: string;
|
|
3184
|
-
isMain: boolean;
|
|
3185
|
-
}[];
|
|
3186
|
-
} | undefined;
|
|
3187
|
-
} | undefined;
|
|
3188
|
-
}>;
|
|
3189
|
-
declare function writeProxyUpdateProductPlatformized$1(httpClient: HttpClient): (_id: string, product: WriteProxyUpdateProductPlatformizedProduct) => Promise<Product & {
|
|
3190
|
-
_id: string;
|
|
3191
|
-
slug: string;
|
|
3192
|
-
productType: ProductType;
|
|
3193
|
-
weightRange?: {
|
|
3194
|
-
minValue: number;
|
|
3195
|
-
maxValue: number;
|
|
3196
|
-
} | undefined;
|
|
3197
|
-
stock?: {
|
|
3198
|
-
trackInventory: boolean;
|
|
3199
|
-
inStock: boolean;
|
|
3200
|
-
inventoryStatus: InventoryStatus;
|
|
3201
|
-
} | undefined;
|
|
3202
|
-
price?: {
|
|
3203
|
-
currency: string;
|
|
3204
|
-
discountedPrice: number;
|
|
3205
|
-
formatted?: {
|
|
3206
|
-
price: string;
|
|
3207
|
-
discountedPrice: string;
|
|
3208
|
-
} | undefined;
|
|
3209
|
-
} | undefined;
|
|
3210
|
-
priceData?: {
|
|
3211
|
-
currency: string;
|
|
3212
|
-
discountedPrice: number;
|
|
3213
|
-
formatted?: {
|
|
3214
|
-
price: string;
|
|
3215
|
-
discountedPrice: string;
|
|
3216
|
-
} | undefined;
|
|
3217
|
-
} | undefined;
|
|
3218
|
-
convertedPriceData?: {
|
|
3219
|
-
currency: string;
|
|
3220
|
-
discountedPrice: number;
|
|
3221
|
-
formatted?: {
|
|
3222
|
-
price: string;
|
|
3223
|
-
discountedPrice: string;
|
|
3224
|
-
} | undefined;
|
|
3225
|
-
} | undefined;
|
|
3226
|
-
priceRange?: {
|
|
3227
|
-
minValue: number;
|
|
3228
|
-
maxValue: number;
|
|
3229
|
-
} | undefined;
|
|
3230
|
-
costAndProfitData?: {
|
|
3231
|
-
formattedItemCost: string;
|
|
3232
|
-
profit: number;
|
|
3233
|
-
formattedProfit: string;
|
|
3234
|
-
profitMargin: number;
|
|
3235
|
-
} | undefined;
|
|
3236
|
-
costRange?: {
|
|
3237
|
-
minValue: number;
|
|
3238
|
-
maxValue: number;
|
|
3239
|
-
} | undefined;
|
|
3240
|
-
pricePerUnitData?: {
|
|
3241
|
-
totalQuantity: number;
|
|
3242
|
-
totalMeasurementUnit: MeasurementUnit;
|
|
3243
|
-
baseQuantity: number;
|
|
3244
|
-
baseMeasurementUnit: MeasurementUnit;
|
|
3245
|
-
} | undefined;
|
|
3246
|
-
additionalInfoSections: {
|
|
3247
|
-
title: string;
|
|
3248
|
-
description: string;
|
|
3249
|
-
}[];
|
|
3250
|
-
ribbons: {
|
|
3251
|
-
text: string;
|
|
3252
|
-
}[];
|
|
3253
|
-
media?: {
|
|
3254
|
-
mainMedia?: {
|
|
3255
|
-
image?: {
|
|
3256
|
-
url: string;
|
|
3257
|
-
width: number;
|
|
3258
|
-
height: number;
|
|
3259
|
-
} | undefined;
|
|
3260
|
-
video?: {
|
|
3261
|
-
files: {
|
|
3262
|
-
url: string;
|
|
3263
|
-
width: number;
|
|
3264
|
-
height: number;
|
|
3265
|
-
}[];
|
|
3266
|
-
stillFrameMediaId: string;
|
|
3267
|
-
} | undefined;
|
|
3268
|
-
thumbnail?: {
|
|
3269
|
-
url: string;
|
|
3270
|
-
width: number;
|
|
3271
|
-
height: number;
|
|
3272
|
-
} | undefined;
|
|
3273
|
-
mediaType: MediaItemType;
|
|
3274
|
-
title: string;
|
|
3275
|
-
_id: string;
|
|
3276
|
-
} | undefined;
|
|
3277
|
-
items: {
|
|
3278
|
-
image?: {
|
|
3279
|
-
url: string;
|
|
3280
|
-
width: number;
|
|
3281
|
-
height: number;
|
|
3282
|
-
} | undefined;
|
|
3283
|
-
video?: {
|
|
3284
|
-
files: {
|
|
3285
|
-
url: string;
|
|
3286
|
-
width: number;
|
|
3287
|
-
height: number;
|
|
3288
|
-
}[];
|
|
3289
|
-
stillFrameMediaId: string;
|
|
3290
|
-
} | undefined;
|
|
3291
|
-
thumbnail?: {
|
|
3292
|
-
url: string;
|
|
3293
|
-
width: number;
|
|
3294
|
-
height: number;
|
|
3295
|
-
} | undefined;
|
|
3296
|
-
mediaType: MediaItemType;
|
|
3297
|
-
title: string;
|
|
3298
|
-
_id: string;
|
|
3299
|
-
}[];
|
|
3300
|
-
} | undefined;
|
|
3301
|
-
customTextFields: {
|
|
3302
|
-
title: string;
|
|
3303
|
-
maxLength: number;
|
|
3304
|
-
mandatory: boolean;
|
|
3305
|
-
}[];
|
|
3306
|
-
productOptions: {
|
|
3307
|
-
optionType: OptionType;
|
|
3308
|
-
name: string;
|
|
3309
|
-
choices: {
|
|
3310
|
-
value: string;
|
|
3311
|
-
description: string;
|
|
3312
|
-
media?: {
|
|
3313
|
-
mainMedia?: {
|
|
3314
|
-
image?: {
|
|
3315
|
-
url: string;
|
|
3316
|
-
width: number;
|
|
3317
|
-
height: number;
|
|
3318
|
-
} | undefined;
|
|
3319
|
-
video?: {
|
|
3320
|
-
files: {
|
|
3321
|
-
url: string;
|
|
3322
|
-
width: number;
|
|
3323
|
-
height: number;
|
|
3324
|
-
}[];
|
|
3325
|
-
stillFrameMediaId: string;
|
|
3326
|
-
} | undefined;
|
|
3327
|
-
thumbnail?: {
|
|
3328
|
-
url: string;
|
|
3329
|
-
width: number;
|
|
3330
|
-
height: number;
|
|
3331
|
-
} | undefined;
|
|
3332
|
-
mediaType: MediaItemType;
|
|
3333
|
-
title: string;
|
|
3334
|
-
_id: string;
|
|
3335
|
-
} | undefined;
|
|
3336
|
-
items: {
|
|
3337
|
-
image?: {
|
|
3338
|
-
url: string;
|
|
3339
|
-
width: number;
|
|
3340
|
-
height: number;
|
|
3341
|
-
} | undefined;
|
|
3342
|
-
video?: {
|
|
3343
|
-
files: {
|
|
3344
|
-
url: string;
|
|
3345
|
-
width: number;
|
|
3346
|
-
height: number;
|
|
3347
|
-
}[];
|
|
3348
|
-
stillFrameMediaId: string;
|
|
3349
|
-
} | undefined;
|
|
3350
|
-
thumbnail?: {
|
|
3351
|
-
url: string;
|
|
3352
|
-
width: number;
|
|
3353
|
-
height: number;
|
|
3354
|
-
} | undefined;
|
|
3355
|
-
mediaType: MediaItemType;
|
|
3356
|
-
title: string;
|
|
3357
|
-
_id: string;
|
|
3358
|
-
}[];
|
|
3359
|
-
} | undefined;
|
|
3360
|
-
inStock: boolean;
|
|
3361
|
-
visible: boolean;
|
|
3362
|
-
}[];
|
|
3363
|
-
}[];
|
|
3364
|
-
productPageUrl?: {
|
|
3365
|
-
base: string;
|
|
3366
|
-
path: string;
|
|
3367
|
-
} | undefined;
|
|
3368
|
-
numericId: string;
|
|
3369
|
-
inventoryItemId: string;
|
|
3370
|
-
discount?: {
|
|
3371
|
-
type: DiscountType$1;
|
|
3372
|
-
value: number;
|
|
3373
|
-
} | undefined;
|
|
3374
|
-
collectionIds: string[];
|
|
3375
|
-
variants: {
|
|
3376
|
-
_id: string;
|
|
3377
|
-
variant?: {
|
|
3378
|
-
priceData?: {
|
|
3379
|
-
currency: string;
|
|
3380
|
-
discountedPrice: number;
|
|
3381
|
-
formatted?: {
|
|
3382
|
-
price: string;
|
|
3383
|
-
discountedPrice: string;
|
|
3384
|
-
} | undefined;
|
|
3385
|
-
} | undefined;
|
|
3386
|
-
convertedPriceData?: {
|
|
3387
|
-
currency: string;
|
|
3388
|
-
discountedPrice: number;
|
|
3389
|
-
formatted?: {
|
|
3390
|
-
price: string;
|
|
3391
|
-
discountedPrice: string;
|
|
3392
|
-
} | undefined;
|
|
3393
|
-
} | undefined;
|
|
3394
|
-
costAndProfitData?: {
|
|
3395
|
-
formattedItemCost: string;
|
|
3396
|
-
profit: number;
|
|
3397
|
-
formattedProfit: string;
|
|
3398
|
-
profitMargin: number;
|
|
3399
|
-
} | undefined;
|
|
3400
|
-
weight: number;
|
|
3401
|
-
sku: string;
|
|
3402
|
-
visible: boolean;
|
|
3403
|
-
} | undefined;
|
|
3404
|
-
stock?: {
|
|
3405
|
-
trackQuantity: boolean;
|
|
3406
|
-
inStock: boolean;
|
|
3407
|
-
} | undefined;
|
|
3408
|
-
}[];
|
|
3409
|
-
seoData?: {
|
|
3410
|
-
tags: {
|
|
3411
|
-
type: string;
|
|
3412
|
-
children: string;
|
|
3413
|
-
custom: boolean;
|
|
3414
|
-
disabled: boolean;
|
|
3415
|
-
}[];
|
|
3416
|
-
settings?: {
|
|
3417
|
-
preventAutoRedirect: boolean;
|
|
3418
|
-
keywords: {
|
|
3419
|
-
term: string;
|
|
3420
|
-
isMain: boolean;
|
|
3421
|
-
}[];
|
|
3422
|
-
} | undefined;
|
|
3423
|
-
} | undefined;
|
|
3424
|
-
}>;
|
|
3425
|
-
declare function writeProxyDeleteProductPlatformized$1(httpClient: HttpClient): (_id: string) => Promise<void>;
|
|
3426
2822
|
declare function queryProducts$1(httpClient: HttpClient): () => ProductsQueryBuilder;
|
|
3427
2823
|
declare function getProduct$1(httpClient: HttpClient): (_id: string, options?: GetProductOptions) => Promise<GetProductResponse & GetProductResponseNonNullableFields>;
|
|
3428
2824
|
declare function getCollectionBySlug$1(httpClient: HttpClient): (slug: string) => Promise<GetCollectionBySlugResponse & GetCollectionBySlugResponseNonNullableFields>;
|
|
@@ -3457,9 +2853,6 @@ declare const deleteCollection: BuildRESTFunction<typeof deleteCollection$1>;
|
|
|
3457
2853
|
declare const removeRibbon: BuildRESTFunction<typeof removeRibbon$1>;
|
|
3458
2854
|
declare const bulkUpdateProductsProperty: BuildRESTFunction<typeof bulkUpdateProductsProperty$1>;
|
|
3459
2855
|
declare const bulkAdjustProductProperty: BuildRESTFunction<typeof bulkAdjustProductProperty$1>;
|
|
3460
|
-
declare const writeProxyCreateProductPlatformized: BuildRESTFunction<typeof writeProxyCreateProductPlatformized$1>;
|
|
3461
|
-
declare const writeProxyUpdateProductPlatformized: BuildRESTFunction<typeof writeProxyUpdateProductPlatformized$1>;
|
|
3462
|
-
declare const writeProxyDeleteProductPlatformized: BuildRESTFunction<typeof writeProxyDeleteProductPlatformized$1>;
|
|
3463
2856
|
declare const queryProducts: BuildRESTFunction<typeof queryProducts$1>;
|
|
3464
2857
|
declare const getProduct: BuildRESTFunction<typeof getProduct$1>;
|
|
3465
2858
|
declare const getCollectionBySlug: BuildRESTFunction<typeof getCollectionBySlug$1>;
|
|
@@ -3508,11 +2901,8 @@ declare const context$2_resetAllProductVariantData: typeof resetAllProductVarian
|
|
|
3508
2901
|
declare const context$2_updateCollection: typeof updateCollection;
|
|
3509
2902
|
declare const context$2_updateProduct: typeof updateProduct;
|
|
3510
2903
|
declare const context$2_updateProductVariants: typeof updateProductVariants;
|
|
3511
|
-
declare const context$2_writeProxyCreateProductPlatformized: typeof writeProxyCreateProductPlatformized;
|
|
3512
|
-
declare const context$2_writeProxyDeleteProductPlatformized: typeof writeProxyDeleteProductPlatformized;
|
|
3513
|
-
declare const context$2_writeProxyUpdateProductPlatformized: typeof writeProxyUpdateProductPlatformized;
|
|
3514
2904
|
declare namespace context$2 {
|
|
3515
|
-
export { context$2_addProductMedia as addProductMedia, context$2_addProductMediaToChoices as addProductMediaToChoices, context$2_addProductsToCollection as addProductsToCollection, context$2_bulkAdjustProductProperty as bulkAdjustProductProperty, context$2_bulkUpdateProductsProperty as bulkUpdateProductsProperty, context$2_createCollection as createCollection, context$2_createProduct as createProduct, context$2_deleteCollection as deleteCollection, context$2_deleteProduct as deleteProduct, context$2_deleteProductOptions as deleteProductOptions, context$2_getCollectionBySlug as getCollectionBySlug, context$2_getProduct as getProduct, context$2_getProductOptionsAvailability as getProductOptionsAvailability, context$2_getStoreVariant as getStoreVariant, context$2_onProductChanged as onProductChanged, context$2_onProductCollectionChanged as onProductCollectionChanged, context$2_onProductCollectionCreated as onProductCollectionCreated, context$2_onProductCollectionDeleted as onProductCollectionDeleted, context$2_onProductCreated as onProductCreated, context$2_onProductDeleted as onProductDeleted, context$2_onProductVariantsChanged as onProductVariantsChanged, context$2_queryProductVariants as queryProductVariants, context$2_queryProducts as queryProducts, context$2_queryStoreVariants as queryStoreVariants, context$2_removeBrand as removeBrand, context$2_removeProductMedia as removeProductMedia, context$2_removeProductMediaFromChoices as removeProductMediaFromChoices, context$2_removeProductsFromCollection as removeProductsFromCollection, context$2_removeRibbon as removeRibbon, context$2_resetAllProductVariantData as resetAllProductVariantData, context$2_updateCollection as updateCollection, context$2_updateProduct as updateProduct, context$2_updateProductVariants as updateProductVariants
|
|
2905
|
+
export { context$2_addProductMedia as addProductMedia, context$2_addProductMediaToChoices as addProductMediaToChoices, context$2_addProductsToCollection as addProductsToCollection, context$2_bulkAdjustProductProperty as bulkAdjustProductProperty, context$2_bulkUpdateProductsProperty as bulkUpdateProductsProperty, context$2_createCollection as createCollection, context$2_createProduct as createProduct, context$2_deleteCollection as deleteCollection, context$2_deleteProduct as deleteProduct, context$2_deleteProductOptions as deleteProductOptions, context$2_getCollectionBySlug as getCollectionBySlug, context$2_getProduct as getProduct, context$2_getProductOptionsAvailability as getProductOptionsAvailability, context$2_getStoreVariant as getStoreVariant, context$2_onProductChanged as onProductChanged, context$2_onProductCollectionChanged as onProductCollectionChanged, context$2_onProductCollectionCreated as onProductCollectionCreated, context$2_onProductCollectionDeleted as onProductCollectionDeleted, context$2_onProductCreated as onProductCreated, context$2_onProductDeleted as onProductDeleted, context$2_onProductVariantsChanged as onProductVariantsChanged, context$2_queryProductVariants as queryProductVariants, context$2_queryProducts as queryProducts, context$2_queryStoreVariants as queryStoreVariants, context$2_removeBrand as removeBrand, context$2_removeProductMedia as removeProductMedia, context$2_removeProductMediaFromChoices as removeProductMediaFromChoices, context$2_removeProductsFromCollection as removeProductsFromCollection, context$2_removeRibbon as removeRibbon, context$2_resetAllProductVariantData as resetAllProductVariantData, context$2_updateCollection as updateCollection, context$2_updateProduct as updateProduct, context$2_updateProductVariants as updateProductVariants };
|
|
3516
2906
|
}
|
|
3517
2907
|
|
|
3518
2908
|
interface SubscriptionOption {
|