@kizlo/woocommerce 0.2.2 → 0.3.0
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/dist/index.d.ts +2870 -142
- package/dist/index.js +481 -359
- package/dist/test.js +36 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,2014 @@
|
|
|
1
1
|
import * as kizlo0 from "kizlo";
|
|
2
|
+
import { z } from "zod/v4";
|
|
2
3
|
|
|
4
|
+
//#region src/product/schema.d.ts
|
|
5
|
+
declare const SWATCH_TYPES: readonly ["text", "color", "image"];
|
|
6
|
+
declare const SwatchType: z.ZodEnum<{
|
|
7
|
+
text: "text";
|
|
8
|
+
image: "image";
|
|
9
|
+
color: "color";
|
|
10
|
+
}>;
|
|
11
|
+
type SwatchType = z.infer<typeof SwatchType>;
|
|
12
|
+
declare const PRODUCT_TYPES: readonly ["simple", "grouped", "external", "variable", "variation"];
|
|
13
|
+
declare const ProductType: z.ZodEnum<{
|
|
14
|
+
external: "external";
|
|
15
|
+
simple: "simple";
|
|
16
|
+
grouped: "grouped";
|
|
17
|
+
variable: "variable";
|
|
18
|
+
variation: "variation";
|
|
19
|
+
}>;
|
|
20
|
+
type ProductType = z.infer<typeof ProductType>;
|
|
21
|
+
declare const ProductTermSummary: z.ZodObject<{
|
|
22
|
+
id: z.ZodNumber;
|
|
23
|
+
name: z.ZodString;
|
|
24
|
+
slug: z.ZodString;
|
|
25
|
+
url: z.ZodNullable<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
type ProductTermSummary = z.infer<typeof ProductTermSummary>;
|
|
28
|
+
declare const ProductTagSummary: z.ZodObject<{
|
|
29
|
+
id: z.ZodNumber;
|
|
30
|
+
name: z.ZodString;
|
|
31
|
+
slug: z.ZodString;
|
|
32
|
+
url: z.ZodNullable<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
type ProductTagSummary = z.infer<typeof ProductTagSummary>;
|
|
35
|
+
declare const ProductBrandSummary: z.ZodObject<{
|
|
36
|
+
id: z.ZodNumber;
|
|
37
|
+
name: z.ZodString;
|
|
38
|
+
slug: z.ZodString;
|
|
39
|
+
url: z.ZodNullable<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
type ProductBrandSummary = z.infer<typeof ProductBrandSummary>;
|
|
42
|
+
declare const ProductCategorySummary: z.ZodObject<{
|
|
43
|
+
id: z.ZodNumber;
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
slug: z.ZodString;
|
|
46
|
+
url: z.ZodNullable<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
type ProductCategorySummary = z.infer<typeof ProductCategorySummary>;
|
|
49
|
+
declare const ProductAttributeTermSummary: z.ZodObject<{
|
|
50
|
+
id: z.ZodNumber;
|
|
51
|
+
name: z.ZodString;
|
|
52
|
+
slug: z.ZodString;
|
|
53
|
+
isDefault: z.ZodBoolean;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
type ProductAttributeTermSummary = z.infer<typeof ProductAttributeTermSummary>;
|
|
56
|
+
declare const ProductAttributeSummary: z.ZodObject<{
|
|
57
|
+
id: z.ZodNumber;
|
|
58
|
+
name: z.ZodString;
|
|
59
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
60
|
+
hasVariations: z.ZodBoolean;
|
|
61
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
62
|
+
id: z.ZodNumber;
|
|
63
|
+
name: z.ZodString;
|
|
64
|
+
slug: z.ZodString;
|
|
65
|
+
isDefault: z.ZodBoolean;
|
|
66
|
+
}, z.core.$strip>>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
type ProductAttributeSummary = z.infer<typeof ProductAttributeSummary>;
|
|
69
|
+
declare const ProductVariationAttributeSummary: z.ZodObject<{
|
|
70
|
+
name: z.ZodString;
|
|
71
|
+
value: z.ZodNullable<z.ZodString>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
type ProductVariationAttributeSummary = z.infer<typeof ProductVariationAttributeSummary>;
|
|
74
|
+
declare const ProductVariationSummary: z.ZodObject<{
|
|
75
|
+
id: z.ZodNumber;
|
|
76
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
77
|
+
name: z.ZodString;
|
|
78
|
+
value: z.ZodNullable<z.ZodString>;
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
type ProductVariationSummary = z.infer<typeof ProductVariationSummary>;
|
|
82
|
+
declare const ProductPriceRange: z.ZodObject<{
|
|
83
|
+
minAmount: z.ZodNumber;
|
|
84
|
+
maxAmount: z.ZodNumber;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
type ProductPriceRange = z.infer<typeof ProductPriceRange>;
|
|
87
|
+
declare const ProductPrices: z.ZodObject<{
|
|
88
|
+
price: z.ZodNumber;
|
|
89
|
+
regularPrice: z.ZodNumber;
|
|
90
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
91
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
92
|
+
minAmount: z.ZodNumber;
|
|
93
|
+
maxAmount: z.ZodNumber;
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
type ProductPrices = z.infer<typeof ProductPrices>;
|
|
97
|
+
declare const ProductStockAvailability: z.ZodObject<{
|
|
98
|
+
text: z.ZodString;
|
|
99
|
+
class: z.ZodString;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
type ProductStockAvailability = z.infer<typeof ProductStockAvailability>;
|
|
102
|
+
declare const ProductDimensions: z.ZodObject<{
|
|
103
|
+
length: z.ZodString;
|
|
104
|
+
width: z.ZodString;
|
|
105
|
+
height: z.ZodString;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
type ProductDimensions = z.infer<typeof ProductDimensions>;
|
|
108
|
+
declare const ProductAddToCart: z.ZodObject<{
|
|
109
|
+
text: z.ZodString;
|
|
110
|
+
description: z.ZodString;
|
|
111
|
+
singleText: z.ZodString;
|
|
112
|
+
minimum: z.ZodNumber;
|
|
113
|
+
maximum: z.ZodNumber;
|
|
114
|
+
multipleOf: z.ZodNumber;
|
|
115
|
+
}, z.core.$strip>;
|
|
116
|
+
type ProductAddToCart = z.infer<typeof ProductAddToCart>;
|
|
117
|
+
declare const ProductExtensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
118
|
+
type ProductExtensions = z.infer<typeof ProductExtensions>;
|
|
119
|
+
declare const ProductSummary: z.ZodObject<{
|
|
120
|
+
id: z.ZodNumber;
|
|
121
|
+
name: z.ZodString;
|
|
122
|
+
slug: z.ZodString;
|
|
123
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
124
|
+
type: z.ZodString;
|
|
125
|
+
variationDescription: z.ZodString;
|
|
126
|
+
url: z.ZodNullable<z.ZodString>;
|
|
127
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
128
|
+
shortDescription: z.ZodString;
|
|
129
|
+
description: z.ZodString;
|
|
130
|
+
isPasswordProtected: z.ZodBoolean;
|
|
131
|
+
isOnSale: z.ZodBoolean;
|
|
132
|
+
prices: z.ZodObject<{
|
|
133
|
+
price: z.ZodNumber;
|
|
134
|
+
regularPrice: z.ZodNumber;
|
|
135
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
136
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
137
|
+
minAmount: z.ZodNumber;
|
|
138
|
+
maxAmount: z.ZodNumber;
|
|
139
|
+
}, z.core.$strip>>;
|
|
140
|
+
}, z.core.$strip>;
|
|
141
|
+
currencyFormat: z.ZodObject<{
|
|
142
|
+
currencyCode: z.ZodString;
|
|
143
|
+
currencySymbol: z.ZodString;
|
|
144
|
+
currencyPrefix: z.ZodString;
|
|
145
|
+
currencySuffix: z.ZodString;
|
|
146
|
+
currencyMinorUnit: z.ZodNumber;
|
|
147
|
+
currencyDecimalSeparator: z.ZodString;
|
|
148
|
+
currencyThousandSeparator: z.ZodString;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
priceHtml: z.ZodString;
|
|
151
|
+
averageRating: z.ZodNumber;
|
|
152
|
+
reviewCount: z.ZodNumber;
|
|
153
|
+
images: z.ZodArray<z.ZodObject<{
|
|
154
|
+
id: z.ZodNumber;
|
|
155
|
+
name: z.ZodString;
|
|
156
|
+
src: z.ZodString;
|
|
157
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
158
|
+
type: z.ZodLiteral<"image">;
|
|
159
|
+
alt: z.ZodString;
|
|
160
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
163
|
+
src: z.ZodString;
|
|
164
|
+
width: z.ZodNumber;
|
|
165
|
+
height: z.ZodNumber;
|
|
166
|
+
}, z.core.$strict>>>;
|
|
167
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
168
|
+
}, z.core.$strict>>;
|
|
169
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
170
|
+
id: z.ZodNumber;
|
|
171
|
+
name: z.ZodString;
|
|
172
|
+
slug: z.ZodString;
|
|
173
|
+
url: z.ZodNullable<z.ZodString>;
|
|
174
|
+
}, z.core.$strip>>;
|
|
175
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
176
|
+
id: z.ZodNumber;
|
|
177
|
+
name: z.ZodString;
|
|
178
|
+
slug: z.ZodString;
|
|
179
|
+
url: z.ZodNullable<z.ZodString>;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
182
|
+
id: z.ZodNumber;
|
|
183
|
+
name: z.ZodString;
|
|
184
|
+
slug: z.ZodString;
|
|
185
|
+
url: z.ZodNullable<z.ZodString>;
|
|
186
|
+
}, z.core.$strip>>;
|
|
187
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
188
|
+
id: z.ZodNumber;
|
|
189
|
+
name: z.ZodString;
|
|
190
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
191
|
+
hasVariations: z.ZodBoolean;
|
|
192
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
193
|
+
id: z.ZodNumber;
|
|
194
|
+
name: z.ZodString;
|
|
195
|
+
slug: z.ZodString;
|
|
196
|
+
isDefault: z.ZodBoolean;
|
|
197
|
+
}, z.core.$strip>>;
|
|
198
|
+
}, z.core.$strip>>;
|
|
199
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
200
|
+
id: z.ZodNumber;
|
|
201
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
202
|
+
name: z.ZodString;
|
|
203
|
+
value: z.ZodNullable<z.ZodString>;
|
|
204
|
+
}, z.core.$strip>>;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
207
|
+
hasOptions: z.ZodBoolean;
|
|
208
|
+
isPurchasable: z.ZodBoolean;
|
|
209
|
+
isInStock: z.ZodBoolean;
|
|
210
|
+
isOnBackorder: z.ZodBoolean;
|
|
211
|
+
stockAvailability: z.ZodObject<{
|
|
212
|
+
text: z.ZodString;
|
|
213
|
+
class: z.ZodString;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
216
|
+
isSoldIndividually: z.ZodBoolean;
|
|
217
|
+
addToCart: z.ZodObject<{
|
|
218
|
+
text: z.ZodString;
|
|
219
|
+
description: z.ZodString;
|
|
220
|
+
singleText: z.ZodString;
|
|
221
|
+
minimum: z.ZodNumber;
|
|
222
|
+
maximum: z.ZodNumber;
|
|
223
|
+
multipleOf: z.ZodNumber;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
type ProductSummary = z.infer<typeof ProductSummary>;
|
|
228
|
+
declare const ProductRecommendations: z.ZodObject<{
|
|
229
|
+
upsells: z.ZodArray<z.ZodObject<{
|
|
230
|
+
id: z.ZodNumber;
|
|
231
|
+
name: z.ZodString;
|
|
232
|
+
slug: z.ZodString;
|
|
233
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
234
|
+
type: z.ZodString;
|
|
235
|
+
variationDescription: z.ZodString;
|
|
236
|
+
url: z.ZodNullable<z.ZodString>;
|
|
237
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
238
|
+
shortDescription: z.ZodString;
|
|
239
|
+
description: z.ZodString;
|
|
240
|
+
isPasswordProtected: z.ZodBoolean;
|
|
241
|
+
isOnSale: z.ZodBoolean;
|
|
242
|
+
prices: z.ZodObject<{
|
|
243
|
+
price: z.ZodNumber;
|
|
244
|
+
regularPrice: z.ZodNumber;
|
|
245
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
246
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
247
|
+
minAmount: z.ZodNumber;
|
|
248
|
+
maxAmount: z.ZodNumber;
|
|
249
|
+
}, z.core.$strip>>;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
currencyFormat: z.ZodObject<{
|
|
252
|
+
currencyCode: z.ZodString;
|
|
253
|
+
currencySymbol: z.ZodString;
|
|
254
|
+
currencyPrefix: z.ZodString;
|
|
255
|
+
currencySuffix: z.ZodString;
|
|
256
|
+
currencyMinorUnit: z.ZodNumber;
|
|
257
|
+
currencyDecimalSeparator: z.ZodString;
|
|
258
|
+
currencyThousandSeparator: z.ZodString;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
priceHtml: z.ZodString;
|
|
261
|
+
averageRating: z.ZodNumber;
|
|
262
|
+
reviewCount: z.ZodNumber;
|
|
263
|
+
images: z.ZodArray<z.ZodObject<{
|
|
264
|
+
id: z.ZodNumber;
|
|
265
|
+
name: z.ZodString;
|
|
266
|
+
src: z.ZodString;
|
|
267
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
268
|
+
type: z.ZodLiteral<"image">;
|
|
269
|
+
alt: z.ZodString;
|
|
270
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
271
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
272
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
273
|
+
src: z.ZodString;
|
|
274
|
+
width: z.ZodNumber;
|
|
275
|
+
height: z.ZodNumber;
|
|
276
|
+
}, z.core.$strict>>>;
|
|
277
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
278
|
+
}, z.core.$strict>>;
|
|
279
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
280
|
+
id: z.ZodNumber;
|
|
281
|
+
name: z.ZodString;
|
|
282
|
+
slug: z.ZodString;
|
|
283
|
+
url: z.ZodNullable<z.ZodString>;
|
|
284
|
+
}, z.core.$strip>>;
|
|
285
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
286
|
+
id: z.ZodNumber;
|
|
287
|
+
name: z.ZodString;
|
|
288
|
+
slug: z.ZodString;
|
|
289
|
+
url: z.ZodNullable<z.ZodString>;
|
|
290
|
+
}, z.core.$strip>>;
|
|
291
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
292
|
+
id: z.ZodNumber;
|
|
293
|
+
name: z.ZodString;
|
|
294
|
+
slug: z.ZodString;
|
|
295
|
+
url: z.ZodNullable<z.ZodString>;
|
|
296
|
+
}, z.core.$strip>>;
|
|
297
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
298
|
+
id: z.ZodNumber;
|
|
299
|
+
name: z.ZodString;
|
|
300
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
301
|
+
hasVariations: z.ZodBoolean;
|
|
302
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
303
|
+
id: z.ZodNumber;
|
|
304
|
+
name: z.ZodString;
|
|
305
|
+
slug: z.ZodString;
|
|
306
|
+
isDefault: z.ZodBoolean;
|
|
307
|
+
}, z.core.$strip>>;
|
|
308
|
+
}, z.core.$strip>>;
|
|
309
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
310
|
+
id: z.ZodNumber;
|
|
311
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
312
|
+
name: z.ZodString;
|
|
313
|
+
value: z.ZodNullable<z.ZodString>;
|
|
314
|
+
}, z.core.$strip>>;
|
|
315
|
+
}, z.core.$strip>>;
|
|
316
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
317
|
+
hasOptions: z.ZodBoolean;
|
|
318
|
+
isPurchasable: z.ZodBoolean;
|
|
319
|
+
isInStock: z.ZodBoolean;
|
|
320
|
+
isOnBackorder: z.ZodBoolean;
|
|
321
|
+
stockAvailability: z.ZodObject<{
|
|
322
|
+
text: z.ZodString;
|
|
323
|
+
class: z.ZodString;
|
|
324
|
+
}, z.core.$strip>;
|
|
325
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
326
|
+
isSoldIndividually: z.ZodBoolean;
|
|
327
|
+
addToCart: z.ZodObject<{
|
|
328
|
+
text: z.ZodString;
|
|
329
|
+
description: z.ZodString;
|
|
330
|
+
singleText: z.ZodString;
|
|
331
|
+
minimum: z.ZodNumber;
|
|
332
|
+
maximum: z.ZodNumber;
|
|
333
|
+
multipleOf: z.ZodNumber;
|
|
334
|
+
}, z.core.$strip>;
|
|
335
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
336
|
+
}, z.core.$strip>>;
|
|
337
|
+
crossSells: z.ZodArray<z.ZodObject<{
|
|
338
|
+
id: z.ZodNumber;
|
|
339
|
+
name: z.ZodString;
|
|
340
|
+
slug: z.ZodString;
|
|
341
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
342
|
+
type: z.ZodString;
|
|
343
|
+
variationDescription: z.ZodString;
|
|
344
|
+
url: z.ZodNullable<z.ZodString>;
|
|
345
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
346
|
+
shortDescription: z.ZodString;
|
|
347
|
+
description: z.ZodString;
|
|
348
|
+
isPasswordProtected: z.ZodBoolean;
|
|
349
|
+
isOnSale: z.ZodBoolean;
|
|
350
|
+
prices: z.ZodObject<{
|
|
351
|
+
price: z.ZodNumber;
|
|
352
|
+
regularPrice: z.ZodNumber;
|
|
353
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
354
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
355
|
+
minAmount: z.ZodNumber;
|
|
356
|
+
maxAmount: z.ZodNumber;
|
|
357
|
+
}, z.core.$strip>>;
|
|
358
|
+
}, z.core.$strip>;
|
|
359
|
+
currencyFormat: z.ZodObject<{
|
|
360
|
+
currencyCode: z.ZodString;
|
|
361
|
+
currencySymbol: z.ZodString;
|
|
362
|
+
currencyPrefix: z.ZodString;
|
|
363
|
+
currencySuffix: z.ZodString;
|
|
364
|
+
currencyMinorUnit: z.ZodNumber;
|
|
365
|
+
currencyDecimalSeparator: z.ZodString;
|
|
366
|
+
currencyThousandSeparator: z.ZodString;
|
|
367
|
+
}, z.core.$strip>;
|
|
368
|
+
priceHtml: z.ZodString;
|
|
369
|
+
averageRating: z.ZodNumber;
|
|
370
|
+
reviewCount: z.ZodNumber;
|
|
371
|
+
images: z.ZodArray<z.ZodObject<{
|
|
372
|
+
id: z.ZodNumber;
|
|
373
|
+
name: z.ZodString;
|
|
374
|
+
src: z.ZodString;
|
|
375
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
376
|
+
type: z.ZodLiteral<"image">;
|
|
377
|
+
alt: z.ZodString;
|
|
378
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
379
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
381
|
+
src: z.ZodString;
|
|
382
|
+
width: z.ZodNumber;
|
|
383
|
+
height: z.ZodNumber;
|
|
384
|
+
}, z.core.$strict>>>;
|
|
385
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
386
|
+
}, z.core.$strict>>;
|
|
387
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
388
|
+
id: z.ZodNumber;
|
|
389
|
+
name: z.ZodString;
|
|
390
|
+
slug: z.ZodString;
|
|
391
|
+
url: z.ZodNullable<z.ZodString>;
|
|
392
|
+
}, z.core.$strip>>;
|
|
393
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
394
|
+
id: z.ZodNumber;
|
|
395
|
+
name: z.ZodString;
|
|
396
|
+
slug: z.ZodString;
|
|
397
|
+
url: z.ZodNullable<z.ZodString>;
|
|
398
|
+
}, z.core.$strip>>;
|
|
399
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
400
|
+
id: z.ZodNumber;
|
|
401
|
+
name: z.ZodString;
|
|
402
|
+
slug: z.ZodString;
|
|
403
|
+
url: z.ZodNullable<z.ZodString>;
|
|
404
|
+
}, z.core.$strip>>;
|
|
405
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
406
|
+
id: z.ZodNumber;
|
|
407
|
+
name: z.ZodString;
|
|
408
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
409
|
+
hasVariations: z.ZodBoolean;
|
|
410
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
411
|
+
id: z.ZodNumber;
|
|
412
|
+
name: z.ZodString;
|
|
413
|
+
slug: z.ZodString;
|
|
414
|
+
isDefault: z.ZodBoolean;
|
|
415
|
+
}, z.core.$strip>>;
|
|
416
|
+
}, z.core.$strip>>;
|
|
417
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
418
|
+
id: z.ZodNumber;
|
|
419
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
420
|
+
name: z.ZodString;
|
|
421
|
+
value: z.ZodNullable<z.ZodString>;
|
|
422
|
+
}, z.core.$strip>>;
|
|
423
|
+
}, z.core.$strip>>;
|
|
424
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
425
|
+
hasOptions: z.ZodBoolean;
|
|
426
|
+
isPurchasable: z.ZodBoolean;
|
|
427
|
+
isInStock: z.ZodBoolean;
|
|
428
|
+
isOnBackorder: z.ZodBoolean;
|
|
429
|
+
stockAvailability: z.ZodObject<{
|
|
430
|
+
text: z.ZodString;
|
|
431
|
+
class: z.ZodString;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
434
|
+
isSoldIndividually: z.ZodBoolean;
|
|
435
|
+
addToCart: z.ZodObject<{
|
|
436
|
+
text: z.ZodString;
|
|
437
|
+
description: z.ZodString;
|
|
438
|
+
singleText: z.ZodString;
|
|
439
|
+
minimum: z.ZodNumber;
|
|
440
|
+
maximum: z.ZodNumber;
|
|
441
|
+
multipleOf: z.ZodNumber;
|
|
442
|
+
}, z.core.$strip>;
|
|
443
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
444
|
+
}, z.core.$strip>>;
|
|
445
|
+
related: z.ZodArray<z.ZodObject<{
|
|
446
|
+
id: z.ZodNumber;
|
|
447
|
+
name: z.ZodString;
|
|
448
|
+
slug: z.ZodString;
|
|
449
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
450
|
+
type: z.ZodString;
|
|
451
|
+
variationDescription: z.ZodString;
|
|
452
|
+
url: z.ZodNullable<z.ZodString>;
|
|
453
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
454
|
+
shortDescription: z.ZodString;
|
|
455
|
+
description: z.ZodString;
|
|
456
|
+
isPasswordProtected: z.ZodBoolean;
|
|
457
|
+
isOnSale: z.ZodBoolean;
|
|
458
|
+
prices: z.ZodObject<{
|
|
459
|
+
price: z.ZodNumber;
|
|
460
|
+
regularPrice: z.ZodNumber;
|
|
461
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
462
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
463
|
+
minAmount: z.ZodNumber;
|
|
464
|
+
maxAmount: z.ZodNumber;
|
|
465
|
+
}, z.core.$strip>>;
|
|
466
|
+
}, z.core.$strip>;
|
|
467
|
+
currencyFormat: z.ZodObject<{
|
|
468
|
+
currencyCode: z.ZodString;
|
|
469
|
+
currencySymbol: z.ZodString;
|
|
470
|
+
currencyPrefix: z.ZodString;
|
|
471
|
+
currencySuffix: z.ZodString;
|
|
472
|
+
currencyMinorUnit: z.ZodNumber;
|
|
473
|
+
currencyDecimalSeparator: z.ZodString;
|
|
474
|
+
currencyThousandSeparator: z.ZodString;
|
|
475
|
+
}, z.core.$strip>;
|
|
476
|
+
priceHtml: z.ZodString;
|
|
477
|
+
averageRating: z.ZodNumber;
|
|
478
|
+
reviewCount: z.ZodNumber;
|
|
479
|
+
images: z.ZodArray<z.ZodObject<{
|
|
480
|
+
id: z.ZodNumber;
|
|
481
|
+
name: z.ZodString;
|
|
482
|
+
src: z.ZodString;
|
|
483
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
484
|
+
type: z.ZodLiteral<"image">;
|
|
485
|
+
alt: z.ZodString;
|
|
486
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
487
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
488
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
489
|
+
src: z.ZodString;
|
|
490
|
+
width: z.ZodNumber;
|
|
491
|
+
height: z.ZodNumber;
|
|
492
|
+
}, z.core.$strict>>>;
|
|
493
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
494
|
+
}, z.core.$strict>>;
|
|
495
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
496
|
+
id: z.ZodNumber;
|
|
497
|
+
name: z.ZodString;
|
|
498
|
+
slug: z.ZodString;
|
|
499
|
+
url: z.ZodNullable<z.ZodString>;
|
|
500
|
+
}, z.core.$strip>>;
|
|
501
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
502
|
+
id: z.ZodNumber;
|
|
503
|
+
name: z.ZodString;
|
|
504
|
+
slug: z.ZodString;
|
|
505
|
+
url: z.ZodNullable<z.ZodString>;
|
|
506
|
+
}, z.core.$strip>>;
|
|
507
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
508
|
+
id: z.ZodNumber;
|
|
509
|
+
name: z.ZodString;
|
|
510
|
+
slug: z.ZodString;
|
|
511
|
+
url: z.ZodNullable<z.ZodString>;
|
|
512
|
+
}, z.core.$strip>>;
|
|
513
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
514
|
+
id: z.ZodNumber;
|
|
515
|
+
name: z.ZodString;
|
|
516
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
517
|
+
hasVariations: z.ZodBoolean;
|
|
518
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
519
|
+
id: z.ZodNumber;
|
|
520
|
+
name: z.ZodString;
|
|
521
|
+
slug: z.ZodString;
|
|
522
|
+
isDefault: z.ZodBoolean;
|
|
523
|
+
}, z.core.$strip>>;
|
|
524
|
+
}, z.core.$strip>>;
|
|
525
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
526
|
+
id: z.ZodNumber;
|
|
527
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
528
|
+
name: z.ZodString;
|
|
529
|
+
value: z.ZodNullable<z.ZodString>;
|
|
530
|
+
}, z.core.$strip>>;
|
|
531
|
+
}, z.core.$strip>>;
|
|
532
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
533
|
+
hasOptions: z.ZodBoolean;
|
|
534
|
+
isPurchasable: z.ZodBoolean;
|
|
535
|
+
isInStock: z.ZodBoolean;
|
|
536
|
+
isOnBackorder: z.ZodBoolean;
|
|
537
|
+
stockAvailability: z.ZodObject<{
|
|
538
|
+
text: z.ZodString;
|
|
539
|
+
class: z.ZodString;
|
|
540
|
+
}, z.core.$strip>;
|
|
541
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
542
|
+
isSoldIndividually: z.ZodBoolean;
|
|
543
|
+
addToCart: z.ZodObject<{
|
|
544
|
+
text: z.ZodString;
|
|
545
|
+
description: z.ZodString;
|
|
546
|
+
singleText: z.ZodString;
|
|
547
|
+
minimum: z.ZodNumber;
|
|
548
|
+
maximum: z.ZodNumber;
|
|
549
|
+
multipleOf: z.ZodNumber;
|
|
550
|
+
}, z.core.$strip>;
|
|
551
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
552
|
+
}, z.core.$strip>>;
|
|
553
|
+
}, z.core.$strip>;
|
|
554
|
+
type ProductRecommendations = z.infer<typeof ProductRecommendations>;
|
|
555
|
+
declare const Product: z.ZodObject<{
|
|
556
|
+
id: z.ZodNumber;
|
|
557
|
+
name: z.ZodString;
|
|
558
|
+
slug: z.ZodString;
|
|
559
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
560
|
+
type: z.ZodString;
|
|
561
|
+
variationDescription: z.ZodString;
|
|
562
|
+
url: z.ZodNullable<z.ZodString>;
|
|
563
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
564
|
+
shortDescription: z.ZodString;
|
|
565
|
+
description: z.ZodString;
|
|
566
|
+
isPasswordProtected: z.ZodBoolean;
|
|
567
|
+
isOnSale: z.ZodBoolean;
|
|
568
|
+
prices: z.ZodObject<{
|
|
569
|
+
price: z.ZodNumber;
|
|
570
|
+
regularPrice: z.ZodNumber;
|
|
571
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
572
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
573
|
+
minAmount: z.ZodNumber;
|
|
574
|
+
maxAmount: z.ZodNumber;
|
|
575
|
+
}, z.core.$strip>>;
|
|
576
|
+
}, z.core.$strip>;
|
|
577
|
+
currencyFormat: z.ZodObject<{
|
|
578
|
+
currencyCode: z.ZodString;
|
|
579
|
+
currencySymbol: z.ZodString;
|
|
580
|
+
currencyPrefix: z.ZodString;
|
|
581
|
+
currencySuffix: z.ZodString;
|
|
582
|
+
currencyMinorUnit: z.ZodNumber;
|
|
583
|
+
currencyDecimalSeparator: z.ZodString;
|
|
584
|
+
currencyThousandSeparator: z.ZodString;
|
|
585
|
+
}, z.core.$strip>;
|
|
586
|
+
priceHtml: z.ZodString;
|
|
587
|
+
averageRating: z.ZodNumber;
|
|
588
|
+
reviewCount: z.ZodNumber;
|
|
589
|
+
images: z.ZodArray<z.ZodObject<{
|
|
590
|
+
id: z.ZodNumber;
|
|
591
|
+
name: z.ZodString;
|
|
592
|
+
src: z.ZodString;
|
|
593
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
594
|
+
type: z.ZodLiteral<"image">;
|
|
595
|
+
alt: z.ZodString;
|
|
596
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
597
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
598
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
599
|
+
src: z.ZodString;
|
|
600
|
+
width: z.ZodNumber;
|
|
601
|
+
height: z.ZodNumber;
|
|
602
|
+
}, z.core.$strict>>>;
|
|
603
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
604
|
+
}, z.core.$strict>>;
|
|
605
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
606
|
+
id: z.ZodNumber;
|
|
607
|
+
name: z.ZodString;
|
|
608
|
+
slug: z.ZodString;
|
|
609
|
+
url: z.ZodNullable<z.ZodString>;
|
|
610
|
+
}, z.core.$strip>>;
|
|
611
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
612
|
+
id: z.ZodNumber;
|
|
613
|
+
name: z.ZodString;
|
|
614
|
+
slug: z.ZodString;
|
|
615
|
+
url: z.ZodNullable<z.ZodString>;
|
|
616
|
+
}, z.core.$strip>>;
|
|
617
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
618
|
+
id: z.ZodNumber;
|
|
619
|
+
name: z.ZodString;
|
|
620
|
+
slug: z.ZodString;
|
|
621
|
+
url: z.ZodNullable<z.ZodString>;
|
|
622
|
+
}, z.core.$strip>>;
|
|
623
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
624
|
+
id: z.ZodNumber;
|
|
625
|
+
name: z.ZodString;
|
|
626
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
627
|
+
hasVariations: z.ZodBoolean;
|
|
628
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
629
|
+
id: z.ZodNumber;
|
|
630
|
+
name: z.ZodString;
|
|
631
|
+
slug: z.ZodString;
|
|
632
|
+
isDefault: z.ZodBoolean;
|
|
633
|
+
}, z.core.$strip>>;
|
|
634
|
+
}, z.core.$strip>>;
|
|
635
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
636
|
+
id: z.ZodNumber;
|
|
637
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
638
|
+
name: z.ZodString;
|
|
639
|
+
value: z.ZodNullable<z.ZodString>;
|
|
640
|
+
}, z.core.$strip>>;
|
|
641
|
+
}, z.core.$strip>>;
|
|
642
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
643
|
+
hasOptions: z.ZodBoolean;
|
|
644
|
+
isPurchasable: z.ZodBoolean;
|
|
645
|
+
isInStock: z.ZodBoolean;
|
|
646
|
+
isOnBackorder: z.ZodBoolean;
|
|
647
|
+
stockAvailability: z.ZodObject<{
|
|
648
|
+
text: z.ZodString;
|
|
649
|
+
class: z.ZodString;
|
|
650
|
+
}, z.core.$strip>;
|
|
651
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
652
|
+
isSoldIndividually: z.ZodBoolean;
|
|
653
|
+
addToCart: z.ZodObject<{
|
|
654
|
+
text: z.ZodString;
|
|
655
|
+
description: z.ZodString;
|
|
656
|
+
singleText: z.ZodString;
|
|
657
|
+
minimum: z.ZodNumber;
|
|
658
|
+
maximum: z.ZodNumber;
|
|
659
|
+
multipleOf: z.ZodNumber;
|
|
660
|
+
}, z.core.$strip>;
|
|
661
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
662
|
+
weight: z.ZodString;
|
|
663
|
+
dimensions: z.ZodObject<{
|
|
664
|
+
length: z.ZodString;
|
|
665
|
+
width: z.ZodString;
|
|
666
|
+
height: z.ZodString;
|
|
667
|
+
}, z.core.$strip>;
|
|
668
|
+
formattedWeight: z.ZodString;
|
|
669
|
+
formattedDimensions: z.ZodString;
|
|
670
|
+
stockQuantity: z.ZodNullable<z.ZodNumber>;
|
|
671
|
+
saleStartsAt: z.ZodNullable<z.ZodNumber>;
|
|
672
|
+
saleEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
673
|
+
seo: z.ZodNullable<z.ZodObject<{
|
|
674
|
+
head: z.ZodObject<{
|
|
675
|
+
title: z.ZodString;
|
|
676
|
+
canonical: z.ZodString;
|
|
677
|
+
robots: z.ZodObject<{
|
|
678
|
+
index: z.ZodString;
|
|
679
|
+
follow: z.ZodString;
|
|
680
|
+
maxSnippet: z.ZodString;
|
|
681
|
+
maxImagePreview: z.ZodString;
|
|
682
|
+
maxVideoPreview: z.ZodString;
|
|
683
|
+
}, z.core.$strip>;
|
|
684
|
+
og: z.ZodObject<{
|
|
685
|
+
locale: z.ZodString;
|
|
686
|
+
type: z.ZodString;
|
|
687
|
+
title: z.ZodString;
|
|
688
|
+
url: z.ZodString;
|
|
689
|
+
siteName: z.ZodString;
|
|
690
|
+
description: z.ZodString;
|
|
691
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
692
|
+
url: z.ZodString;
|
|
693
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
694
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
695
|
+
type: z.ZodNullable<z.ZodString>;
|
|
696
|
+
alt: z.ZodNullable<z.ZodString>;
|
|
697
|
+
}, z.core.$strip>>;
|
|
698
|
+
}, z.core.$strip>;
|
|
699
|
+
twitter: z.ZodObject<{
|
|
700
|
+
card: z.ZodEnum<{
|
|
701
|
+
summary: "summary";
|
|
702
|
+
summary_large_image: "summary_large_image";
|
|
703
|
+
}>;
|
|
704
|
+
title: z.ZodString;
|
|
705
|
+
site: z.ZodNullable<z.ZodString>;
|
|
706
|
+
creator: z.ZodNullable<z.ZodString>;
|
|
707
|
+
description: z.ZodString;
|
|
708
|
+
image: z.ZodNullable<z.ZodString>;
|
|
709
|
+
imageAlt: z.ZodNullable<z.ZodString>;
|
|
710
|
+
}, z.core.$strip>;
|
|
711
|
+
article: z.ZodNullable<z.ZodObject<{
|
|
712
|
+
publishedTime: z.ZodString;
|
|
713
|
+
modifiedTime: z.ZodString;
|
|
714
|
+
author: z.ZodString;
|
|
715
|
+
authorUrl: z.ZodString;
|
|
716
|
+
section: z.ZodString;
|
|
717
|
+
tags: z.ZodArray<z.ZodString>;
|
|
718
|
+
}, z.core.$strip>>;
|
|
719
|
+
}, z.core.$strip>;
|
|
720
|
+
schema: z.ZodObject<{
|
|
721
|
+
"@context": z.ZodLiteral<"https://schema.org">;
|
|
722
|
+
"@graph": z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
723
|
+
}, z.core.$strip>;
|
|
724
|
+
}, z.core.$strip>>;
|
|
725
|
+
custom: z.ZodCustom<never, never>;
|
|
726
|
+
recommendations: z.ZodNullable<z.ZodObject<{
|
|
727
|
+
upsells: z.ZodArray<z.ZodObject<{
|
|
728
|
+
id: z.ZodNumber;
|
|
729
|
+
name: z.ZodString;
|
|
730
|
+
slug: z.ZodString;
|
|
731
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
732
|
+
type: z.ZodString;
|
|
733
|
+
variationDescription: z.ZodString;
|
|
734
|
+
url: z.ZodNullable<z.ZodString>;
|
|
735
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
736
|
+
shortDescription: z.ZodString;
|
|
737
|
+
description: z.ZodString;
|
|
738
|
+
isPasswordProtected: z.ZodBoolean;
|
|
739
|
+
isOnSale: z.ZodBoolean;
|
|
740
|
+
prices: z.ZodObject<{
|
|
741
|
+
price: z.ZodNumber;
|
|
742
|
+
regularPrice: z.ZodNumber;
|
|
743
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
744
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
745
|
+
minAmount: z.ZodNumber;
|
|
746
|
+
maxAmount: z.ZodNumber;
|
|
747
|
+
}, z.core.$strip>>;
|
|
748
|
+
}, z.core.$strip>;
|
|
749
|
+
currencyFormat: z.ZodObject<{
|
|
750
|
+
currencyCode: z.ZodString;
|
|
751
|
+
currencySymbol: z.ZodString;
|
|
752
|
+
currencyPrefix: z.ZodString;
|
|
753
|
+
currencySuffix: z.ZodString;
|
|
754
|
+
currencyMinorUnit: z.ZodNumber;
|
|
755
|
+
currencyDecimalSeparator: z.ZodString;
|
|
756
|
+
currencyThousandSeparator: z.ZodString;
|
|
757
|
+
}, z.core.$strip>;
|
|
758
|
+
priceHtml: z.ZodString;
|
|
759
|
+
averageRating: z.ZodNumber;
|
|
760
|
+
reviewCount: z.ZodNumber;
|
|
761
|
+
images: z.ZodArray<z.ZodObject<{
|
|
762
|
+
id: z.ZodNumber;
|
|
763
|
+
name: z.ZodString;
|
|
764
|
+
src: z.ZodString;
|
|
765
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
766
|
+
type: z.ZodLiteral<"image">;
|
|
767
|
+
alt: z.ZodString;
|
|
768
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
769
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
770
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
771
|
+
src: z.ZodString;
|
|
772
|
+
width: z.ZodNumber;
|
|
773
|
+
height: z.ZodNumber;
|
|
774
|
+
}, z.core.$strict>>>;
|
|
775
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
776
|
+
}, z.core.$strict>>;
|
|
777
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
778
|
+
id: z.ZodNumber;
|
|
779
|
+
name: z.ZodString;
|
|
780
|
+
slug: z.ZodString;
|
|
781
|
+
url: z.ZodNullable<z.ZodString>;
|
|
782
|
+
}, z.core.$strip>>;
|
|
783
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
784
|
+
id: z.ZodNumber;
|
|
785
|
+
name: z.ZodString;
|
|
786
|
+
slug: z.ZodString;
|
|
787
|
+
url: z.ZodNullable<z.ZodString>;
|
|
788
|
+
}, z.core.$strip>>;
|
|
789
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
790
|
+
id: z.ZodNumber;
|
|
791
|
+
name: z.ZodString;
|
|
792
|
+
slug: z.ZodString;
|
|
793
|
+
url: z.ZodNullable<z.ZodString>;
|
|
794
|
+
}, z.core.$strip>>;
|
|
795
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
796
|
+
id: z.ZodNumber;
|
|
797
|
+
name: z.ZodString;
|
|
798
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
799
|
+
hasVariations: z.ZodBoolean;
|
|
800
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
801
|
+
id: z.ZodNumber;
|
|
802
|
+
name: z.ZodString;
|
|
803
|
+
slug: z.ZodString;
|
|
804
|
+
isDefault: z.ZodBoolean;
|
|
805
|
+
}, z.core.$strip>>;
|
|
806
|
+
}, z.core.$strip>>;
|
|
807
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
808
|
+
id: z.ZodNumber;
|
|
809
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
810
|
+
name: z.ZodString;
|
|
811
|
+
value: z.ZodNullable<z.ZodString>;
|
|
812
|
+
}, z.core.$strip>>;
|
|
813
|
+
}, z.core.$strip>>;
|
|
814
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
815
|
+
hasOptions: z.ZodBoolean;
|
|
816
|
+
isPurchasable: z.ZodBoolean;
|
|
817
|
+
isInStock: z.ZodBoolean;
|
|
818
|
+
isOnBackorder: z.ZodBoolean;
|
|
819
|
+
stockAvailability: z.ZodObject<{
|
|
820
|
+
text: z.ZodString;
|
|
821
|
+
class: z.ZodString;
|
|
822
|
+
}, z.core.$strip>;
|
|
823
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
824
|
+
isSoldIndividually: z.ZodBoolean;
|
|
825
|
+
addToCart: z.ZodObject<{
|
|
826
|
+
text: z.ZodString;
|
|
827
|
+
description: z.ZodString;
|
|
828
|
+
singleText: z.ZodString;
|
|
829
|
+
minimum: z.ZodNumber;
|
|
830
|
+
maximum: z.ZodNumber;
|
|
831
|
+
multipleOf: z.ZodNumber;
|
|
832
|
+
}, z.core.$strip>;
|
|
833
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
834
|
+
}, z.core.$strip>>;
|
|
835
|
+
crossSells: z.ZodArray<z.ZodObject<{
|
|
836
|
+
id: z.ZodNumber;
|
|
837
|
+
name: z.ZodString;
|
|
838
|
+
slug: z.ZodString;
|
|
839
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
840
|
+
type: z.ZodString;
|
|
841
|
+
variationDescription: z.ZodString;
|
|
842
|
+
url: z.ZodNullable<z.ZodString>;
|
|
843
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
844
|
+
shortDescription: z.ZodString;
|
|
845
|
+
description: z.ZodString;
|
|
846
|
+
isPasswordProtected: z.ZodBoolean;
|
|
847
|
+
isOnSale: z.ZodBoolean;
|
|
848
|
+
prices: z.ZodObject<{
|
|
849
|
+
price: z.ZodNumber;
|
|
850
|
+
regularPrice: z.ZodNumber;
|
|
851
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
852
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
853
|
+
minAmount: z.ZodNumber;
|
|
854
|
+
maxAmount: z.ZodNumber;
|
|
855
|
+
}, z.core.$strip>>;
|
|
856
|
+
}, z.core.$strip>;
|
|
857
|
+
currencyFormat: z.ZodObject<{
|
|
858
|
+
currencyCode: z.ZodString;
|
|
859
|
+
currencySymbol: z.ZodString;
|
|
860
|
+
currencyPrefix: z.ZodString;
|
|
861
|
+
currencySuffix: z.ZodString;
|
|
862
|
+
currencyMinorUnit: z.ZodNumber;
|
|
863
|
+
currencyDecimalSeparator: z.ZodString;
|
|
864
|
+
currencyThousandSeparator: z.ZodString;
|
|
865
|
+
}, z.core.$strip>;
|
|
866
|
+
priceHtml: z.ZodString;
|
|
867
|
+
averageRating: z.ZodNumber;
|
|
868
|
+
reviewCount: z.ZodNumber;
|
|
869
|
+
images: z.ZodArray<z.ZodObject<{
|
|
870
|
+
id: z.ZodNumber;
|
|
871
|
+
name: z.ZodString;
|
|
872
|
+
src: z.ZodString;
|
|
873
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
874
|
+
type: z.ZodLiteral<"image">;
|
|
875
|
+
alt: z.ZodString;
|
|
876
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
877
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
878
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
879
|
+
src: z.ZodString;
|
|
880
|
+
width: z.ZodNumber;
|
|
881
|
+
height: z.ZodNumber;
|
|
882
|
+
}, z.core.$strict>>>;
|
|
883
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
884
|
+
}, z.core.$strict>>;
|
|
885
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
886
|
+
id: z.ZodNumber;
|
|
887
|
+
name: z.ZodString;
|
|
888
|
+
slug: z.ZodString;
|
|
889
|
+
url: z.ZodNullable<z.ZodString>;
|
|
890
|
+
}, z.core.$strip>>;
|
|
891
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
892
|
+
id: z.ZodNumber;
|
|
893
|
+
name: z.ZodString;
|
|
894
|
+
slug: z.ZodString;
|
|
895
|
+
url: z.ZodNullable<z.ZodString>;
|
|
896
|
+
}, z.core.$strip>>;
|
|
897
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
898
|
+
id: z.ZodNumber;
|
|
899
|
+
name: z.ZodString;
|
|
900
|
+
slug: z.ZodString;
|
|
901
|
+
url: z.ZodNullable<z.ZodString>;
|
|
902
|
+
}, z.core.$strip>>;
|
|
903
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
904
|
+
id: z.ZodNumber;
|
|
905
|
+
name: z.ZodString;
|
|
906
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
907
|
+
hasVariations: z.ZodBoolean;
|
|
908
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
909
|
+
id: z.ZodNumber;
|
|
910
|
+
name: z.ZodString;
|
|
911
|
+
slug: z.ZodString;
|
|
912
|
+
isDefault: z.ZodBoolean;
|
|
913
|
+
}, z.core.$strip>>;
|
|
914
|
+
}, z.core.$strip>>;
|
|
915
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
916
|
+
id: z.ZodNumber;
|
|
917
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
918
|
+
name: z.ZodString;
|
|
919
|
+
value: z.ZodNullable<z.ZodString>;
|
|
920
|
+
}, z.core.$strip>>;
|
|
921
|
+
}, z.core.$strip>>;
|
|
922
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
923
|
+
hasOptions: z.ZodBoolean;
|
|
924
|
+
isPurchasable: z.ZodBoolean;
|
|
925
|
+
isInStock: z.ZodBoolean;
|
|
926
|
+
isOnBackorder: z.ZodBoolean;
|
|
927
|
+
stockAvailability: z.ZodObject<{
|
|
928
|
+
text: z.ZodString;
|
|
929
|
+
class: z.ZodString;
|
|
930
|
+
}, z.core.$strip>;
|
|
931
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
932
|
+
isSoldIndividually: z.ZodBoolean;
|
|
933
|
+
addToCart: z.ZodObject<{
|
|
934
|
+
text: z.ZodString;
|
|
935
|
+
description: z.ZodString;
|
|
936
|
+
singleText: z.ZodString;
|
|
937
|
+
minimum: z.ZodNumber;
|
|
938
|
+
maximum: z.ZodNumber;
|
|
939
|
+
multipleOf: z.ZodNumber;
|
|
940
|
+
}, z.core.$strip>;
|
|
941
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
942
|
+
}, z.core.$strip>>;
|
|
943
|
+
related: z.ZodArray<z.ZodObject<{
|
|
944
|
+
id: z.ZodNumber;
|
|
945
|
+
name: z.ZodString;
|
|
946
|
+
slug: z.ZodString;
|
|
947
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
948
|
+
type: z.ZodString;
|
|
949
|
+
variationDescription: z.ZodString;
|
|
950
|
+
url: z.ZodNullable<z.ZodString>;
|
|
951
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
952
|
+
shortDescription: z.ZodString;
|
|
953
|
+
description: z.ZodString;
|
|
954
|
+
isPasswordProtected: z.ZodBoolean;
|
|
955
|
+
isOnSale: z.ZodBoolean;
|
|
956
|
+
prices: z.ZodObject<{
|
|
957
|
+
price: z.ZodNumber;
|
|
958
|
+
regularPrice: z.ZodNumber;
|
|
959
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
960
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
961
|
+
minAmount: z.ZodNumber;
|
|
962
|
+
maxAmount: z.ZodNumber;
|
|
963
|
+
}, z.core.$strip>>;
|
|
964
|
+
}, z.core.$strip>;
|
|
965
|
+
currencyFormat: z.ZodObject<{
|
|
966
|
+
currencyCode: z.ZodString;
|
|
967
|
+
currencySymbol: z.ZodString;
|
|
968
|
+
currencyPrefix: z.ZodString;
|
|
969
|
+
currencySuffix: z.ZodString;
|
|
970
|
+
currencyMinorUnit: z.ZodNumber;
|
|
971
|
+
currencyDecimalSeparator: z.ZodString;
|
|
972
|
+
currencyThousandSeparator: z.ZodString;
|
|
973
|
+
}, z.core.$strip>;
|
|
974
|
+
priceHtml: z.ZodString;
|
|
975
|
+
averageRating: z.ZodNumber;
|
|
976
|
+
reviewCount: z.ZodNumber;
|
|
977
|
+
images: z.ZodArray<z.ZodObject<{
|
|
978
|
+
id: z.ZodNumber;
|
|
979
|
+
name: z.ZodString;
|
|
980
|
+
src: z.ZodString;
|
|
981
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
982
|
+
type: z.ZodLiteral<"image">;
|
|
983
|
+
alt: z.ZodString;
|
|
984
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
985
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
986
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
987
|
+
src: z.ZodString;
|
|
988
|
+
width: z.ZodNumber;
|
|
989
|
+
height: z.ZodNumber;
|
|
990
|
+
}, z.core.$strict>>>;
|
|
991
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
992
|
+
}, z.core.$strict>>;
|
|
993
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
994
|
+
id: z.ZodNumber;
|
|
995
|
+
name: z.ZodString;
|
|
996
|
+
slug: z.ZodString;
|
|
997
|
+
url: z.ZodNullable<z.ZodString>;
|
|
998
|
+
}, z.core.$strip>>;
|
|
999
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1000
|
+
id: z.ZodNumber;
|
|
1001
|
+
name: z.ZodString;
|
|
1002
|
+
slug: z.ZodString;
|
|
1003
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1004
|
+
}, z.core.$strip>>;
|
|
1005
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
1006
|
+
id: z.ZodNumber;
|
|
1007
|
+
name: z.ZodString;
|
|
1008
|
+
slug: z.ZodString;
|
|
1009
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1010
|
+
}, z.core.$strip>>;
|
|
1011
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1012
|
+
id: z.ZodNumber;
|
|
1013
|
+
name: z.ZodString;
|
|
1014
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
1015
|
+
hasVariations: z.ZodBoolean;
|
|
1016
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
1017
|
+
id: z.ZodNumber;
|
|
1018
|
+
name: z.ZodString;
|
|
1019
|
+
slug: z.ZodString;
|
|
1020
|
+
isDefault: z.ZodBoolean;
|
|
1021
|
+
}, z.core.$strip>>;
|
|
1022
|
+
}, z.core.$strip>>;
|
|
1023
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
1024
|
+
id: z.ZodNumber;
|
|
1025
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1026
|
+
name: z.ZodString;
|
|
1027
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1028
|
+
}, z.core.$strip>>;
|
|
1029
|
+
}, z.core.$strip>>;
|
|
1030
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
1031
|
+
hasOptions: z.ZodBoolean;
|
|
1032
|
+
isPurchasable: z.ZodBoolean;
|
|
1033
|
+
isInStock: z.ZodBoolean;
|
|
1034
|
+
isOnBackorder: z.ZodBoolean;
|
|
1035
|
+
stockAvailability: z.ZodObject<{
|
|
1036
|
+
text: z.ZodString;
|
|
1037
|
+
class: z.ZodString;
|
|
1038
|
+
}, z.core.$strip>;
|
|
1039
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
1040
|
+
isSoldIndividually: z.ZodBoolean;
|
|
1041
|
+
addToCart: z.ZodObject<{
|
|
1042
|
+
text: z.ZodString;
|
|
1043
|
+
description: z.ZodString;
|
|
1044
|
+
singleText: z.ZodString;
|
|
1045
|
+
minimum: z.ZodNumber;
|
|
1046
|
+
maximum: z.ZodNumber;
|
|
1047
|
+
multipleOf: z.ZodNumber;
|
|
1048
|
+
}, z.core.$strip>;
|
|
1049
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1050
|
+
}, z.core.$strip>>;
|
|
1051
|
+
}, z.core.$strip>>;
|
|
1052
|
+
}, z.core.$strip>;
|
|
1053
|
+
type Product = z.infer<typeof Product>;
|
|
1054
|
+
declare const ProductList: z.ZodObject<{
|
|
1055
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1056
|
+
id: z.ZodNumber;
|
|
1057
|
+
name: z.ZodString;
|
|
1058
|
+
slug: z.ZodString;
|
|
1059
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
1060
|
+
type: z.ZodString;
|
|
1061
|
+
variationDescription: z.ZodString;
|
|
1062
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1063
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
1064
|
+
shortDescription: z.ZodString;
|
|
1065
|
+
description: z.ZodString;
|
|
1066
|
+
isPasswordProtected: z.ZodBoolean;
|
|
1067
|
+
isOnSale: z.ZodBoolean;
|
|
1068
|
+
prices: z.ZodObject<{
|
|
1069
|
+
price: z.ZodNumber;
|
|
1070
|
+
regularPrice: z.ZodNumber;
|
|
1071
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
1072
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
1073
|
+
minAmount: z.ZodNumber;
|
|
1074
|
+
maxAmount: z.ZodNumber;
|
|
1075
|
+
}, z.core.$strip>>;
|
|
1076
|
+
}, z.core.$strip>;
|
|
1077
|
+
currencyFormat: z.ZodObject<{
|
|
1078
|
+
currencyCode: z.ZodString;
|
|
1079
|
+
currencySymbol: z.ZodString;
|
|
1080
|
+
currencyPrefix: z.ZodString;
|
|
1081
|
+
currencySuffix: z.ZodString;
|
|
1082
|
+
currencyMinorUnit: z.ZodNumber;
|
|
1083
|
+
currencyDecimalSeparator: z.ZodString;
|
|
1084
|
+
currencyThousandSeparator: z.ZodString;
|
|
1085
|
+
}, z.core.$strip>;
|
|
1086
|
+
priceHtml: z.ZodString;
|
|
1087
|
+
averageRating: z.ZodNumber;
|
|
1088
|
+
reviewCount: z.ZodNumber;
|
|
1089
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1090
|
+
id: z.ZodNumber;
|
|
1091
|
+
name: z.ZodString;
|
|
1092
|
+
src: z.ZodString;
|
|
1093
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
1094
|
+
type: z.ZodLiteral<"image">;
|
|
1095
|
+
alt: z.ZodString;
|
|
1096
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1097
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1098
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1099
|
+
src: z.ZodString;
|
|
1100
|
+
width: z.ZodNumber;
|
|
1101
|
+
height: z.ZodNumber;
|
|
1102
|
+
}, z.core.$strict>>>;
|
|
1103
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
}, z.core.$strict>>;
|
|
1105
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1106
|
+
id: z.ZodNumber;
|
|
1107
|
+
name: z.ZodString;
|
|
1108
|
+
slug: z.ZodString;
|
|
1109
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1110
|
+
}, z.core.$strip>>;
|
|
1111
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1112
|
+
id: z.ZodNumber;
|
|
1113
|
+
name: z.ZodString;
|
|
1114
|
+
slug: z.ZodString;
|
|
1115
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1116
|
+
}, z.core.$strip>>;
|
|
1117
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
1118
|
+
id: z.ZodNumber;
|
|
1119
|
+
name: z.ZodString;
|
|
1120
|
+
slug: z.ZodString;
|
|
1121
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1122
|
+
}, z.core.$strip>>;
|
|
1123
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1124
|
+
id: z.ZodNumber;
|
|
1125
|
+
name: z.ZodString;
|
|
1126
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
1127
|
+
hasVariations: z.ZodBoolean;
|
|
1128
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
1129
|
+
id: z.ZodNumber;
|
|
1130
|
+
name: z.ZodString;
|
|
1131
|
+
slug: z.ZodString;
|
|
1132
|
+
isDefault: z.ZodBoolean;
|
|
1133
|
+
}, z.core.$strip>>;
|
|
1134
|
+
}, z.core.$strip>>;
|
|
1135
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
1136
|
+
id: z.ZodNumber;
|
|
1137
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1138
|
+
name: z.ZodString;
|
|
1139
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1140
|
+
}, z.core.$strip>>;
|
|
1141
|
+
}, z.core.$strip>>;
|
|
1142
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
1143
|
+
hasOptions: z.ZodBoolean;
|
|
1144
|
+
isPurchasable: z.ZodBoolean;
|
|
1145
|
+
isInStock: z.ZodBoolean;
|
|
1146
|
+
isOnBackorder: z.ZodBoolean;
|
|
1147
|
+
stockAvailability: z.ZodObject<{
|
|
1148
|
+
text: z.ZodString;
|
|
1149
|
+
class: z.ZodString;
|
|
1150
|
+
}, z.core.$strip>;
|
|
1151
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
1152
|
+
isSoldIndividually: z.ZodBoolean;
|
|
1153
|
+
addToCart: z.ZodObject<{
|
|
1154
|
+
text: z.ZodString;
|
|
1155
|
+
description: z.ZodString;
|
|
1156
|
+
singleText: z.ZodString;
|
|
1157
|
+
minimum: z.ZodNumber;
|
|
1158
|
+
maximum: z.ZodNumber;
|
|
1159
|
+
multipleOf: z.ZodNumber;
|
|
1160
|
+
}, z.core.$strip>;
|
|
1161
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1162
|
+
weight: z.ZodString;
|
|
1163
|
+
dimensions: z.ZodObject<{
|
|
1164
|
+
length: z.ZodString;
|
|
1165
|
+
width: z.ZodString;
|
|
1166
|
+
height: z.ZodString;
|
|
1167
|
+
}, z.core.$strip>;
|
|
1168
|
+
formattedWeight: z.ZodString;
|
|
1169
|
+
formattedDimensions: z.ZodString;
|
|
1170
|
+
stockQuantity: z.ZodNullable<z.ZodNumber>;
|
|
1171
|
+
saleStartsAt: z.ZodNullable<z.ZodNumber>;
|
|
1172
|
+
saleEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
1173
|
+
seo: z.ZodNullable<z.ZodObject<{
|
|
1174
|
+
head: z.ZodObject<{
|
|
1175
|
+
title: z.ZodString;
|
|
1176
|
+
canonical: z.ZodString;
|
|
1177
|
+
robots: z.ZodObject<{
|
|
1178
|
+
index: z.ZodString;
|
|
1179
|
+
follow: z.ZodString;
|
|
1180
|
+
maxSnippet: z.ZodString;
|
|
1181
|
+
maxImagePreview: z.ZodString;
|
|
1182
|
+
maxVideoPreview: z.ZodString;
|
|
1183
|
+
}, z.core.$strip>;
|
|
1184
|
+
og: z.ZodObject<{
|
|
1185
|
+
locale: z.ZodString;
|
|
1186
|
+
type: z.ZodString;
|
|
1187
|
+
title: z.ZodString;
|
|
1188
|
+
url: z.ZodString;
|
|
1189
|
+
siteName: z.ZodString;
|
|
1190
|
+
description: z.ZodString;
|
|
1191
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
1192
|
+
url: z.ZodString;
|
|
1193
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
1194
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
1195
|
+
type: z.ZodNullable<z.ZodString>;
|
|
1196
|
+
alt: z.ZodNullable<z.ZodString>;
|
|
1197
|
+
}, z.core.$strip>>;
|
|
1198
|
+
}, z.core.$strip>;
|
|
1199
|
+
twitter: z.ZodObject<{
|
|
1200
|
+
card: z.ZodEnum<{
|
|
1201
|
+
summary: "summary";
|
|
1202
|
+
summary_large_image: "summary_large_image";
|
|
1203
|
+
}>;
|
|
1204
|
+
title: z.ZodString;
|
|
1205
|
+
site: z.ZodNullable<z.ZodString>;
|
|
1206
|
+
creator: z.ZodNullable<z.ZodString>;
|
|
1207
|
+
description: z.ZodString;
|
|
1208
|
+
image: z.ZodNullable<z.ZodString>;
|
|
1209
|
+
imageAlt: z.ZodNullable<z.ZodString>;
|
|
1210
|
+
}, z.core.$strip>;
|
|
1211
|
+
article: z.ZodNullable<z.ZodObject<{
|
|
1212
|
+
publishedTime: z.ZodString;
|
|
1213
|
+
modifiedTime: z.ZodString;
|
|
1214
|
+
author: z.ZodString;
|
|
1215
|
+
authorUrl: z.ZodString;
|
|
1216
|
+
section: z.ZodString;
|
|
1217
|
+
tags: z.ZodArray<z.ZodString>;
|
|
1218
|
+
}, z.core.$strip>>;
|
|
1219
|
+
}, z.core.$strip>;
|
|
1220
|
+
schema: z.ZodObject<{
|
|
1221
|
+
"@context": z.ZodLiteral<"https://schema.org">;
|
|
1222
|
+
"@graph": z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1223
|
+
}, z.core.$strip>;
|
|
1224
|
+
}, z.core.$strip>>;
|
|
1225
|
+
custom: z.ZodCustom<never, never>;
|
|
1226
|
+
recommendations: z.ZodNullable<z.ZodObject<{
|
|
1227
|
+
upsells: z.ZodArray<z.ZodObject<{
|
|
1228
|
+
id: z.ZodNumber;
|
|
1229
|
+
name: z.ZodString;
|
|
1230
|
+
slug: z.ZodString;
|
|
1231
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
1232
|
+
type: z.ZodString;
|
|
1233
|
+
variationDescription: z.ZodString;
|
|
1234
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1235
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
1236
|
+
shortDescription: z.ZodString;
|
|
1237
|
+
description: z.ZodString;
|
|
1238
|
+
isPasswordProtected: z.ZodBoolean;
|
|
1239
|
+
isOnSale: z.ZodBoolean;
|
|
1240
|
+
prices: z.ZodObject<{
|
|
1241
|
+
price: z.ZodNumber;
|
|
1242
|
+
regularPrice: z.ZodNumber;
|
|
1243
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
1244
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
1245
|
+
minAmount: z.ZodNumber;
|
|
1246
|
+
maxAmount: z.ZodNumber;
|
|
1247
|
+
}, z.core.$strip>>;
|
|
1248
|
+
}, z.core.$strip>;
|
|
1249
|
+
currencyFormat: z.ZodObject<{
|
|
1250
|
+
currencyCode: z.ZodString;
|
|
1251
|
+
currencySymbol: z.ZodString;
|
|
1252
|
+
currencyPrefix: z.ZodString;
|
|
1253
|
+
currencySuffix: z.ZodString;
|
|
1254
|
+
currencyMinorUnit: z.ZodNumber;
|
|
1255
|
+
currencyDecimalSeparator: z.ZodString;
|
|
1256
|
+
currencyThousandSeparator: z.ZodString;
|
|
1257
|
+
}, z.core.$strip>;
|
|
1258
|
+
priceHtml: z.ZodString;
|
|
1259
|
+
averageRating: z.ZodNumber;
|
|
1260
|
+
reviewCount: z.ZodNumber;
|
|
1261
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1262
|
+
id: z.ZodNumber;
|
|
1263
|
+
name: z.ZodString;
|
|
1264
|
+
src: z.ZodString;
|
|
1265
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
type: z.ZodLiteral<"image">;
|
|
1267
|
+
alt: z.ZodString;
|
|
1268
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1269
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1270
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1271
|
+
src: z.ZodString;
|
|
1272
|
+
width: z.ZodNumber;
|
|
1273
|
+
height: z.ZodNumber;
|
|
1274
|
+
}, z.core.$strict>>>;
|
|
1275
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
1276
|
+
}, z.core.$strict>>;
|
|
1277
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1278
|
+
id: z.ZodNumber;
|
|
1279
|
+
name: z.ZodString;
|
|
1280
|
+
slug: z.ZodString;
|
|
1281
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1282
|
+
}, z.core.$strip>>;
|
|
1283
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1284
|
+
id: z.ZodNumber;
|
|
1285
|
+
name: z.ZodString;
|
|
1286
|
+
slug: z.ZodString;
|
|
1287
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1288
|
+
}, z.core.$strip>>;
|
|
1289
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
1290
|
+
id: z.ZodNumber;
|
|
1291
|
+
name: z.ZodString;
|
|
1292
|
+
slug: z.ZodString;
|
|
1293
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1294
|
+
}, z.core.$strip>>;
|
|
1295
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1296
|
+
id: z.ZodNumber;
|
|
1297
|
+
name: z.ZodString;
|
|
1298
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
1299
|
+
hasVariations: z.ZodBoolean;
|
|
1300
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
1301
|
+
id: z.ZodNumber;
|
|
1302
|
+
name: z.ZodString;
|
|
1303
|
+
slug: z.ZodString;
|
|
1304
|
+
isDefault: z.ZodBoolean;
|
|
1305
|
+
}, z.core.$strip>>;
|
|
1306
|
+
}, z.core.$strip>>;
|
|
1307
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
1308
|
+
id: z.ZodNumber;
|
|
1309
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1310
|
+
name: z.ZodString;
|
|
1311
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1312
|
+
}, z.core.$strip>>;
|
|
1313
|
+
}, z.core.$strip>>;
|
|
1314
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
1315
|
+
hasOptions: z.ZodBoolean;
|
|
1316
|
+
isPurchasable: z.ZodBoolean;
|
|
1317
|
+
isInStock: z.ZodBoolean;
|
|
1318
|
+
isOnBackorder: z.ZodBoolean;
|
|
1319
|
+
stockAvailability: z.ZodObject<{
|
|
1320
|
+
text: z.ZodString;
|
|
1321
|
+
class: z.ZodString;
|
|
1322
|
+
}, z.core.$strip>;
|
|
1323
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
1324
|
+
isSoldIndividually: z.ZodBoolean;
|
|
1325
|
+
addToCart: z.ZodObject<{
|
|
1326
|
+
text: z.ZodString;
|
|
1327
|
+
description: z.ZodString;
|
|
1328
|
+
singleText: z.ZodString;
|
|
1329
|
+
minimum: z.ZodNumber;
|
|
1330
|
+
maximum: z.ZodNumber;
|
|
1331
|
+
multipleOf: z.ZodNumber;
|
|
1332
|
+
}, z.core.$strip>;
|
|
1333
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1334
|
+
}, z.core.$strip>>;
|
|
1335
|
+
crossSells: z.ZodArray<z.ZodObject<{
|
|
1336
|
+
id: z.ZodNumber;
|
|
1337
|
+
name: z.ZodString;
|
|
1338
|
+
slug: z.ZodString;
|
|
1339
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
1340
|
+
type: z.ZodString;
|
|
1341
|
+
variationDescription: z.ZodString;
|
|
1342
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1343
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
1344
|
+
shortDescription: z.ZodString;
|
|
1345
|
+
description: z.ZodString;
|
|
1346
|
+
isPasswordProtected: z.ZodBoolean;
|
|
1347
|
+
isOnSale: z.ZodBoolean;
|
|
1348
|
+
prices: z.ZodObject<{
|
|
1349
|
+
price: z.ZodNumber;
|
|
1350
|
+
regularPrice: z.ZodNumber;
|
|
1351
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
1352
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
1353
|
+
minAmount: z.ZodNumber;
|
|
1354
|
+
maxAmount: z.ZodNumber;
|
|
1355
|
+
}, z.core.$strip>>;
|
|
1356
|
+
}, z.core.$strip>;
|
|
1357
|
+
currencyFormat: z.ZodObject<{
|
|
1358
|
+
currencyCode: z.ZodString;
|
|
1359
|
+
currencySymbol: z.ZodString;
|
|
1360
|
+
currencyPrefix: z.ZodString;
|
|
1361
|
+
currencySuffix: z.ZodString;
|
|
1362
|
+
currencyMinorUnit: z.ZodNumber;
|
|
1363
|
+
currencyDecimalSeparator: z.ZodString;
|
|
1364
|
+
currencyThousandSeparator: z.ZodString;
|
|
1365
|
+
}, z.core.$strip>;
|
|
1366
|
+
priceHtml: z.ZodString;
|
|
1367
|
+
averageRating: z.ZodNumber;
|
|
1368
|
+
reviewCount: z.ZodNumber;
|
|
1369
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1370
|
+
id: z.ZodNumber;
|
|
1371
|
+
name: z.ZodString;
|
|
1372
|
+
src: z.ZodString;
|
|
1373
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
type: z.ZodLiteral<"image">;
|
|
1375
|
+
alt: z.ZodString;
|
|
1376
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1377
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1378
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1379
|
+
src: z.ZodString;
|
|
1380
|
+
width: z.ZodNumber;
|
|
1381
|
+
height: z.ZodNumber;
|
|
1382
|
+
}, z.core.$strict>>>;
|
|
1383
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
}, z.core.$strict>>;
|
|
1385
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1386
|
+
id: z.ZodNumber;
|
|
1387
|
+
name: z.ZodString;
|
|
1388
|
+
slug: z.ZodString;
|
|
1389
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1390
|
+
}, z.core.$strip>>;
|
|
1391
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1392
|
+
id: z.ZodNumber;
|
|
1393
|
+
name: z.ZodString;
|
|
1394
|
+
slug: z.ZodString;
|
|
1395
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1396
|
+
}, z.core.$strip>>;
|
|
1397
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
1398
|
+
id: z.ZodNumber;
|
|
1399
|
+
name: z.ZodString;
|
|
1400
|
+
slug: z.ZodString;
|
|
1401
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1402
|
+
}, z.core.$strip>>;
|
|
1403
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1404
|
+
id: z.ZodNumber;
|
|
1405
|
+
name: z.ZodString;
|
|
1406
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
1407
|
+
hasVariations: z.ZodBoolean;
|
|
1408
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
1409
|
+
id: z.ZodNumber;
|
|
1410
|
+
name: z.ZodString;
|
|
1411
|
+
slug: z.ZodString;
|
|
1412
|
+
isDefault: z.ZodBoolean;
|
|
1413
|
+
}, z.core.$strip>>;
|
|
1414
|
+
}, z.core.$strip>>;
|
|
1415
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
1416
|
+
id: z.ZodNumber;
|
|
1417
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1418
|
+
name: z.ZodString;
|
|
1419
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1420
|
+
}, z.core.$strip>>;
|
|
1421
|
+
}, z.core.$strip>>;
|
|
1422
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
1423
|
+
hasOptions: z.ZodBoolean;
|
|
1424
|
+
isPurchasable: z.ZodBoolean;
|
|
1425
|
+
isInStock: z.ZodBoolean;
|
|
1426
|
+
isOnBackorder: z.ZodBoolean;
|
|
1427
|
+
stockAvailability: z.ZodObject<{
|
|
1428
|
+
text: z.ZodString;
|
|
1429
|
+
class: z.ZodString;
|
|
1430
|
+
}, z.core.$strip>;
|
|
1431
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
1432
|
+
isSoldIndividually: z.ZodBoolean;
|
|
1433
|
+
addToCart: z.ZodObject<{
|
|
1434
|
+
text: z.ZodString;
|
|
1435
|
+
description: z.ZodString;
|
|
1436
|
+
singleText: z.ZodString;
|
|
1437
|
+
minimum: z.ZodNumber;
|
|
1438
|
+
maximum: z.ZodNumber;
|
|
1439
|
+
multipleOf: z.ZodNumber;
|
|
1440
|
+
}, z.core.$strip>;
|
|
1441
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1442
|
+
}, z.core.$strip>>;
|
|
1443
|
+
related: z.ZodArray<z.ZodObject<{
|
|
1444
|
+
id: z.ZodNumber;
|
|
1445
|
+
name: z.ZodString;
|
|
1446
|
+
slug: z.ZodString;
|
|
1447
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
1448
|
+
type: z.ZodString;
|
|
1449
|
+
variationDescription: z.ZodString;
|
|
1450
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1451
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
1452
|
+
shortDescription: z.ZodString;
|
|
1453
|
+
description: z.ZodString;
|
|
1454
|
+
isPasswordProtected: z.ZodBoolean;
|
|
1455
|
+
isOnSale: z.ZodBoolean;
|
|
1456
|
+
prices: z.ZodObject<{
|
|
1457
|
+
price: z.ZodNumber;
|
|
1458
|
+
regularPrice: z.ZodNumber;
|
|
1459
|
+
salePrice: z.ZodNullable<z.ZodNumber>;
|
|
1460
|
+
priceRange: z.ZodNullable<z.ZodObject<{
|
|
1461
|
+
minAmount: z.ZodNumber;
|
|
1462
|
+
maxAmount: z.ZodNumber;
|
|
1463
|
+
}, z.core.$strip>>;
|
|
1464
|
+
}, z.core.$strip>;
|
|
1465
|
+
currencyFormat: z.ZodObject<{
|
|
1466
|
+
currencyCode: z.ZodString;
|
|
1467
|
+
currencySymbol: z.ZodString;
|
|
1468
|
+
currencyPrefix: z.ZodString;
|
|
1469
|
+
currencySuffix: z.ZodString;
|
|
1470
|
+
currencyMinorUnit: z.ZodNumber;
|
|
1471
|
+
currencyDecimalSeparator: z.ZodString;
|
|
1472
|
+
currencyThousandSeparator: z.ZodString;
|
|
1473
|
+
}, z.core.$strip>;
|
|
1474
|
+
priceHtml: z.ZodString;
|
|
1475
|
+
averageRating: z.ZodNumber;
|
|
1476
|
+
reviewCount: z.ZodNumber;
|
|
1477
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1478
|
+
id: z.ZodNumber;
|
|
1479
|
+
name: z.ZodString;
|
|
1480
|
+
src: z.ZodString;
|
|
1481
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
type: z.ZodLiteral<"image">;
|
|
1483
|
+
alt: z.ZodString;
|
|
1484
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1485
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1486
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1487
|
+
src: z.ZodString;
|
|
1488
|
+
width: z.ZodNumber;
|
|
1489
|
+
height: z.ZodNumber;
|
|
1490
|
+
}, z.core.$strict>>>;
|
|
1491
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
1492
|
+
}, z.core.$strict>>;
|
|
1493
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1494
|
+
id: z.ZodNumber;
|
|
1495
|
+
name: z.ZodString;
|
|
1496
|
+
slug: z.ZodString;
|
|
1497
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1498
|
+
}, z.core.$strip>>;
|
|
1499
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1500
|
+
id: z.ZodNumber;
|
|
1501
|
+
name: z.ZodString;
|
|
1502
|
+
slug: z.ZodString;
|
|
1503
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1504
|
+
}, z.core.$strip>>;
|
|
1505
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
1506
|
+
id: z.ZodNumber;
|
|
1507
|
+
name: z.ZodString;
|
|
1508
|
+
slug: z.ZodString;
|
|
1509
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1510
|
+
}, z.core.$strip>>;
|
|
1511
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1512
|
+
id: z.ZodNumber;
|
|
1513
|
+
name: z.ZodString;
|
|
1514
|
+
taxonomy: z.ZodNullable<z.ZodString>;
|
|
1515
|
+
hasVariations: z.ZodBoolean;
|
|
1516
|
+
terms: z.ZodArray<z.ZodObject<{
|
|
1517
|
+
id: z.ZodNumber;
|
|
1518
|
+
name: z.ZodString;
|
|
1519
|
+
slug: z.ZodString;
|
|
1520
|
+
isDefault: z.ZodBoolean;
|
|
1521
|
+
}, z.core.$strip>>;
|
|
1522
|
+
}, z.core.$strip>>;
|
|
1523
|
+
variations: z.ZodArray<z.ZodObject<{
|
|
1524
|
+
id: z.ZodNumber;
|
|
1525
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1526
|
+
name: z.ZodString;
|
|
1527
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1528
|
+
}, z.core.$strip>>;
|
|
1529
|
+
}, z.core.$strip>>;
|
|
1530
|
+
groupedProductIds: z.ZodArray<z.ZodNumber>;
|
|
1531
|
+
hasOptions: z.ZodBoolean;
|
|
1532
|
+
isPurchasable: z.ZodBoolean;
|
|
1533
|
+
isInStock: z.ZodBoolean;
|
|
1534
|
+
isOnBackorder: z.ZodBoolean;
|
|
1535
|
+
stockAvailability: z.ZodObject<{
|
|
1536
|
+
text: z.ZodString;
|
|
1537
|
+
class: z.ZodString;
|
|
1538
|
+
}, z.core.$strip>;
|
|
1539
|
+
lowStockRemaining: z.ZodNullable<z.ZodNumber>;
|
|
1540
|
+
isSoldIndividually: z.ZodBoolean;
|
|
1541
|
+
addToCart: z.ZodObject<{
|
|
1542
|
+
text: z.ZodString;
|
|
1543
|
+
description: z.ZodString;
|
|
1544
|
+
singleText: z.ZodString;
|
|
1545
|
+
minimum: z.ZodNumber;
|
|
1546
|
+
maximum: z.ZodNumber;
|
|
1547
|
+
multipleOf: z.ZodNumber;
|
|
1548
|
+
}, z.core.$strip>;
|
|
1549
|
+
extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1550
|
+
}, z.core.$strip>>;
|
|
1551
|
+
}, z.core.$strip>>;
|
|
1552
|
+
}, z.core.$strip>>;
|
|
1553
|
+
meta: z.ZodObject<{
|
|
1554
|
+
page: z.ZodNumber;
|
|
1555
|
+
totalItems: z.ZodNumber;
|
|
1556
|
+
totalPages: z.ZodNumber;
|
|
1557
|
+
nextPage: z.ZodNullable<z.ZodNumber>;
|
|
1558
|
+
prevPage: z.ZodNullable<z.ZodNumber>;
|
|
1559
|
+
hasNextPage: z.ZodBoolean;
|
|
1560
|
+
hasPrevPage: z.ZodBoolean;
|
|
1561
|
+
}, z.core.$strip>;
|
|
1562
|
+
}, z.core.$strip>;
|
|
1563
|
+
type ProductList = z.infer<typeof ProductList>;
|
|
1564
|
+
declare const RetrieveProductInput: z.ZodObject<{
|
|
1565
|
+
identifier: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>;
|
|
1566
|
+
previewToken: z.ZodOptional<z.ZodString>;
|
|
1567
|
+
recommendations: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
|
|
1568
|
+
}, z.core.$strip>;
|
|
1569
|
+
type RetrieveProductInput = z.input<typeof RetrieveProductInput>;
|
|
1570
|
+
declare const ProductOrderBy: z.ZodEnum<{
|
|
1571
|
+
slug: "slug";
|
|
1572
|
+
date: "date";
|
|
1573
|
+
price: "price";
|
|
1574
|
+
id: "id";
|
|
1575
|
+
modified: "modified";
|
|
1576
|
+
include: "include";
|
|
1577
|
+
title: "title";
|
|
1578
|
+
popularity: "popularity";
|
|
1579
|
+
rating: "rating";
|
|
1580
|
+
menu_order: "menu_order";
|
|
1581
|
+
comment_count: "comment_count";
|
|
1582
|
+
}>;
|
|
1583
|
+
type ProductOrderBy = z.infer<typeof ProductOrderBy>;
|
|
1584
|
+
declare const PRODUCT_DATE_COLUMNS: readonly ["date", "date_gmt", "modified", "modified_gmt"];
|
|
1585
|
+
declare const ProductDateColumn: z.ZodEnum<{
|
|
1586
|
+
date: "date";
|
|
1587
|
+
date_gmt: "date_gmt";
|
|
1588
|
+
modified: "modified";
|
|
1589
|
+
modified_gmt: "modified_gmt";
|
|
1590
|
+
}>;
|
|
1591
|
+
type ProductDateColumn = z.infer<typeof ProductDateColumn>;
|
|
1592
|
+
declare const ProductTaxonomyOperator: z.ZodEnum<{
|
|
1593
|
+
in: "in";
|
|
1594
|
+
not_in: "not_in";
|
|
1595
|
+
and: "and";
|
|
1596
|
+
}>;
|
|
1597
|
+
type ProductTaxonomyOperator = z.infer<typeof ProductTaxonomyOperator>;
|
|
1598
|
+
declare const PRODUCT_ATTRIBUTE_RELATIONS: readonly ["in", "and"];
|
|
1599
|
+
declare const ProductAttributeRelation: z.ZodEnum<{
|
|
1600
|
+
in: "in";
|
|
1601
|
+
and: "and";
|
|
1602
|
+
}>;
|
|
1603
|
+
type ProductAttributeRelation = z.infer<typeof ProductAttributeRelation>;
|
|
1604
|
+
declare const PRODUCT_STOCK_STATUSES: readonly ["instock", "outofstock", "onbackorder"];
|
|
1605
|
+
declare const ProductStockStatus: z.ZodEnum<{
|
|
1606
|
+
instock: "instock";
|
|
1607
|
+
outofstock: "outofstock";
|
|
1608
|
+
onbackorder: "onbackorder";
|
|
1609
|
+
}>;
|
|
1610
|
+
type ProductStockStatus = z.infer<typeof ProductStockStatus>;
|
|
1611
|
+
declare const PRODUCT_CATALOG_VISIBILITIES: readonly ["any", "visible", "catalog", "search", "hidden"];
|
|
1612
|
+
declare const ProductCatalogVisibility: z.ZodEnum<{
|
|
1613
|
+
any: "any";
|
|
1614
|
+
search: "search";
|
|
1615
|
+
visible: "visible";
|
|
1616
|
+
catalog: "catalog";
|
|
1617
|
+
hidden: "hidden";
|
|
1618
|
+
}>;
|
|
1619
|
+
type ProductCatalogVisibility = z.infer<typeof ProductCatalogVisibility>;
|
|
1620
|
+
declare const PRODUCT_RATINGS: readonly [1, 2, 3, 4, 5];
|
|
1621
|
+
declare const ProductRating: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
1622
|
+
type ProductRating = z.infer<typeof ProductRating>;
|
|
1623
|
+
declare const ProductAttributeFilter: z.ZodObject<{
|
|
1624
|
+
taxonomy: z.ZodString;
|
|
1625
|
+
slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1626
|
+
termId: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1627
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
|
1628
|
+
in: "in";
|
|
1629
|
+
not_in: "not_in";
|
|
1630
|
+
and: "and";
|
|
1631
|
+
}>>;
|
|
1632
|
+
}, z.core.$strip>;
|
|
1633
|
+
type ProductAttributeFilter = z.input<typeof ProductAttributeFilter>;
|
|
1634
|
+
declare const ProductTaxonomyFilter: z.ZodObject<{
|
|
1635
|
+
taxonomy: z.ZodString;
|
|
1636
|
+
termIds: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1637
|
+
slugs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1638
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
|
1639
|
+
in: "in";
|
|
1640
|
+
not_in: "not_in";
|
|
1641
|
+
and: "and";
|
|
1642
|
+
}>>;
|
|
1643
|
+
}, z.core.$strip>;
|
|
1644
|
+
type ProductTaxonomyFilter = z.input<typeof ProductTaxonomyFilter>;
|
|
1645
|
+
declare const ListProductInput: z.ZodObject<{
|
|
1646
|
+
page: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1647
|
+
perPage: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1648
|
+
search: z.ZodOptional<z.ZodString>;
|
|
1649
|
+
recommendations: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
|
|
1650
|
+
slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1651
|
+
after: z.ZodOptional<z.ZodString>;
|
|
1652
|
+
before: z.ZodOptional<z.ZodString>;
|
|
1653
|
+
dateColumn: z.ZodOptional<z.ZodEnum<{
|
|
1654
|
+
date: "date";
|
|
1655
|
+
date_gmt: "date_gmt";
|
|
1656
|
+
modified: "modified";
|
|
1657
|
+
modified_gmt: "modified_gmt";
|
|
1658
|
+
}>>;
|
|
1659
|
+
exclude: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1660
|
+
include: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1661
|
+
offset: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1662
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
1663
|
+
asc: "asc";
|
|
1664
|
+
desc: "desc";
|
|
1665
|
+
}>>;
|
|
1666
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
1667
|
+
slug: "slug";
|
|
1668
|
+
date: "date";
|
|
1669
|
+
price: "price";
|
|
1670
|
+
id: "id";
|
|
1671
|
+
modified: "modified";
|
|
1672
|
+
include: "include";
|
|
1673
|
+
title: "title";
|
|
1674
|
+
popularity: "popularity";
|
|
1675
|
+
rating: "rating";
|
|
1676
|
+
menu_order: "menu_order";
|
|
1677
|
+
comment_count: "comment_count";
|
|
1678
|
+
}>>;
|
|
1679
|
+
parent: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1680
|
+
parentExclude: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1681
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1682
|
+
sku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1683
|
+
featured: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
|
|
1684
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>>]>>;
|
|
1685
|
+
categoryOperator: z.ZodOptional<z.ZodEnum<{
|
|
1686
|
+
in: "in";
|
|
1687
|
+
not_in: "not_in";
|
|
1688
|
+
and: "and";
|
|
1689
|
+
}>>;
|
|
1690
|
+
brand: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>>]>>;
|
|
1691
|
+
brandOperator: z.ZodOptional<z.ZodEnum<{
|
|
1692
|
+
in: "in";
|
|
1693
|
+
not_in: "not_in";
|
|
1694
|
+
and: "and";
|
|
1695
|
+
}>>;
|
|
1696
|
+
tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>>]>>;
|
|
1697
|
+
tagOperator: z.ZodOptional<z.ZodEnum<{
|
|
1698
|
+
in: "in";
|
|
1699
|
+
not_in: "not_in";
|
|
1700
|
+
and: "and";
|
|
1701
|
+
}>>;
|
|
1702
|
+
onSale: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
|
|
1703
|
+
minPrice: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1704
|
+
maxPrice: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1705
|
+
stockStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1706
|
+
instock: "instock";
|
|
1707
|
+
outofstock: "outofstock";
|
|
1708
|
+
onbackorder: "onbackorder";
|
|
1709
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1710
|
+
instock: "instock";
|
|
1711
|
+
outofstock: "outofstock";
|
|
1712
|
+
onbackorder: "onbackorder";
|
|
1713
|
+
}>>]>>;
|
|
1714
|
+
attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1715
|
+
taxonomy: z.ZodString;
|
|
1716
|
+
slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1717
|
+
termId: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1718
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
|
1719
|
+
in: "in";
|
|
1720
|
+
not_in: "not_in";
|
|
1721
|
+
and: "and";
|
|
1722
|
+
}>>;
|
|
1723
|
+
}, z.core.$strip>>>;
|
|
1724
|
+
attributeRelation: z.ZodOptional<z.ZodEnum<{
|
|
1725
|
+
in: "in";
|
|
1726
|
+
and: "and";
|
|
1727
|
+
}>>;
|
|
1728
|
+
catalogVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1729
|
+
any: "any";
|
|
1730
|
+
search: "search";
|
|
1731
|
+
visible: "visible";
|
|
1732
|
+
catalog: "catalog";
|
|
1733
|
+
hidden: "hidden";
|
|
1734
|
+
}>>;
|
|
1735
|
+
rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>, z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>]>>;
|
|
1736
|
+
related: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1737
|
+
taxonomies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1738
|
+
taxonomy: z.ZodString;
|
|
1739
|
+
termIds: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1740
|
+
slugs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1741
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
|
1742
|
+
in: "in";
|
|
1743
|
+
not_in: "not_in";
|
|
1744
|
+
and: "and";
|
|
1745
|
+
}>>;
|
|
1746
|
+
}, z.core.$strip>>>;
|
|
1747
|
+
}, z.core.$strip>;
|
|
1748
|
+
type ListProductInput = z.input<typeof ListProductInput>;
|
|
1749
|
+
type ListProductInputOut = z.output<typeof ListProductInput>;
|
|
1750
|
+
declare const ProductFiltersPriceRange: z.ZodObject<{
|
|
1751
|
+
minPrice: z.ZodNumber;
|
|
1752
|
+
maxPrice: z.ZodNumber;
|
|
1753
|
+
}, z.core.$strip>;
|
|
1754
|
+
type ProductFiltersPriceRange = z.infer<typeof ProductFiltersPriceRange>;
|
|
1755
|
+
declare const ProductFiltersStockStatus: z.ZodObject<{
|
|
1756
|
+
count: z.ZodNumber;
|
|
1757
|
+
status: z.ZodEnum<{
|
|
1758
|
+
instock: "instock";
|
|
1759
|
+
outofstock: "outofstock";
|
|
1760
|
+
onbackorder: "onbackorder";
|
|
1761
|
+
}>;
|
|
1762
|
+
}, z.core.$strip>;
|
|
1763
|
+
type ProductFiltersStockStatus = z.infer<typeof ProductFiltersStockStatus>;
|
|
1764
|
+
declare const ProductFiltersRatingCount: z.ZodObject<{
|
|
1765
|
+
count: z.ZodNumber;
|
|
1766
|
+
rating: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
1767
|
+
}, z.core.$strip>;
|
|
1768
|
+
type ProductFiltersRatingCount = z.infer<typeof ProductFiltersRatingCount>;
|
|
1769
|
+
declare const ProductFiltersTerm: z.ZodObject<{
|
|
1770
|
+
id: z.ZodNumber;
|
|
1771
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
1772
|
+
name: z.ZodString;
|
|
1773
|
+
slug: z.ZodString;
|
|
1774
|
+
taxonomy: z.ZodString;
|
|
1775
|
+
description: z.ZodString;
|
|
1776
|
+
count: z.ZodNumber;
|
|
1777
|
+
}, z.core.$strip>;
|
|
1778
|
+
type ProductFiltersTerm = z.infer<typeof ProductFiltersTerm>;
|
|
1779
|
+
declare const ProductFiltersTaxonomyTerm: z.ZodObject<{
|
|
1780
|
+
id: z.ZodNumber;
|
|
1781
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
1782
|
+
name: z.ZodString;
|
|
1783
|
+
slug: z.ZodString;
|
|
1784
|
+
taxonomy: z.ZodString;
|
|
1785
|
+
description: z.ZodString;
|
|
1786
|
+
count: z.ZodNumber;
|
|
1787
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
1788
|
+
id: z.ZodNumber;
|
|
1789
|
+
name: z.ZodString;
|
|
1790
|
+
src: z.ZodString;
|
|
1791
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
1792
|
+
type: z.ZodLiteral<"image">;
|
|
1793
|
+
alt: z.ZodString;
|
|
1794
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1795
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1796
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1797
|
+
src: z.ZodString;
|
|
1798
|
+
width: z.ZodNumber;
|
|
1799
|
+
height: z.ZodNumber;
|
|
1800
|
+
}, z.core.$strict>>>;
|
|
1801
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
1802
|
+
}, z.core.$strict>>;
|
|
1803
|
+
}, z.core.$strip>;
|
|
1804
|
+
type ProductFiltersTaxonomyTerm = z.infer<typeof ProductFiltersTaxonomyTerm>;
|
|
1805
|
+
declare const ProductFiltersAttributeTerm: z.ZodObject<{
|
|
1806
|
+
id: z.ZodNumber;
|
|
1807
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
1808
|
+
name: z.ZodString;
|
|
1809
|
+
slug: z.ZodString;
|
|
1810
|
+
taxonomy: z.ZodString;
|
|
1811
|
+
description: z.ZodString;
|
|
1812
|
+
count: z.ZodNumber;
|
|
1813
|
+
type: z.ZodEnum<{
|
|
1814
|
+
text: "text";
|
|
1815
|
+
image: "image";
|
|
1816
|
+
color: "color";
|
|
1817
|
+
}>;
|
|
1818
|
+
swatch: z.ZodNullable<z.ZodString>;
|
|
1819
|
+
}, z.core.$strip>;
|
|
1820
|
+
type ProductFiltersAttributeTerm = z.infer<typeof ProductFiltersAttributeTerm>;
|
|
1821
|
+
declare const ProductFilters: z.ZodObject<{
|
|
1822
|
+
priceRange: z.ZodObject<{
|
|
1823
|
+
minPrice: z.ZodNumber;
|
|
1824
|
+
maxPrice: z.ZodNumber;
|
|
1825
|
+
}, z.core.$strip>;
|
|
1826
|
+
ratingCounts: z.ZodArray<z.ZodObject<{
|
|
1827
|
+
count: z.ZodNumber;
|
|
1828
|
+
rating: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
1829
|
+
}, z.core.$strip>>;
|
|
1830
|
+
stockStatuses: z.ZodArray<z.ZodObject<{
|
|
1831
|
+
count: z.ZodNumber;
|
|
1832
|
+
status: z.ZodEnum<{
|
|
1833
|
+
instock: "instock";
|
|
1834
|
+
outofstock: "outofstock";
|
|
1835
|
+
onbackorder: "onbackorder";
|
|
1836
|
+
}>;
|
|
1837
|
+
}, z.core.$strip>>;
|
|
1838
|
+
attributeTerms: z.ZodArray<z.ZodObject<{
|
|
1839
|
+
id: z.ZodNumber;
|
|
1840
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
1841
|
+
name: z.ZodString;
|
|
1842
|
+
slug: z.ZodString;
|
|
1843
|
+
taxonomy: z.ZodString;
|
|
1844
|
+
description: z.ZodString;
|
|
1845
|
+
count: z.ZodNumber;
|
|
1846
|
+
type: z.ZodEnum<{
|
|
1847
|
+
text: "text";
|
|
1848
|
+
image: "image";
|
|
1849
|
+
color: "color";
|
|
1850
|
+
}>;
|
|
1851
|
+
swatch: z.ZodNullable<z.ZodString>;
|
|
1852
|
+
}, z.core.$strip>>;
|
|
1853
|
+
taxonomyTerms: z.ZodArray<z.ZodObject<{
|
|
1854
|
+
id: z.ZodNumber;
|
|
1855
|
+
parentId: z.ZodNullable<z.ZodNumber>;
|
|
1856
|
+
name: z.ZodString;
|
|
1857
|
+
slug: z.ZodString;
|
|
1858
|
+
taxonomy: z.ZodString;
|
|
1859
|
+
description: z.ZodString;
|
|
1860
|
+
count: z.ZodNumber;
|
|
1861
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
1862
|
+
id: z.ZodNumber;
|
|
1863
|
+
name: z.ZodString;
|
|
1864
|
+
src: z.ZodString;
|
|
1865
|
+
mime: z.ZodOptional<z.ZodString>;
|
|
1866
|
+
type: z.ZodLiteral<"image">;
|
|
1867
|
+
alt: z.ZodString;
|
|
1868
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1869
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1870
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1871
|
+
src: z.ZodString;
|
|
1872
|
+
width: z.ZodNumber;
|
|
1873
|
+
height: z.ZodNumber;
|
|
1874
|
+
}, z.core.$strict>>>;
|
|
1875
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
1876
|
+
}, z.core.$strict>>;
|
|
1877
|
+
}, z.core.$strip>>;
|
|
1878
|
+
currencyFormat: z.ZodObject<{
|
|
1879
|
+
currencyCode: z.ZodString;
|
|
1880
|
+
currencySymbol: z.ZodString;
|
|
1881
|
+
currencyPrefix: z.ZodString;
|
|
1882
|
+
currencySuffix: z.ZodString;
|
|
1883
|
+
currencyMinorUnit: z.ZodNumber;
|
|
1884
|
+
currencyDecimalSeparator: z.ZodString;
|
|
1885
|
+
currencyThousandSeparator: z.ZodString;
|
|
1886
|
+
}, z.core.$strip>;
|
|
1887
|
+
}, z.core.$strip>;
|
|
1888
|
+
type ProductFilters = z.infer<typeof ProductFilters>;
|
|
1889
|
+
declare const ProductAttributeCount: z.ZodObject<{
|
|
1890
|
+
taxonomy: z.ZodString;
|
|
1891
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
|
1892
|
+
and: "and";
|
|
1893
|
+
or: "or";
|
|
1894
|
+
}>>;
|
|
1895
|
+
}, z.core.$strip>;
|
|
1896
|
+
type ProductAttributeCount = z.input<typeof ProductAttributeCount>;
|
|
1897
|
+
declare const RetrieveProductFiltersInput: z.ZodObject<{
|
|
1898
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1899
|
+
sku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1900
|
+
slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1901
|
+
search: z.ZodOptional<z.ZodString>;
|
|
1902
|
+
attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1903
|
+
taxonomy: z.ZodString;
|
|
1904
|
+
slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1905
|
+
termId: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1906
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
|
1907
|
+
in: "in";
|
|
1908
|
+
not_in: "not_in";
|
|
1909
|
+
and: "and";
|
|
1910
|
+
}>>;
|
|
1911
|
+
}, z.core.$strip>>>;
|
|
1912
|
+
related: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1913
|
+
parent: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1914
|
+
page: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1915
|
+
perPage: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1916
|
+
after: z.ZodOptional<z.ZodString>;
|
|
1917
|
+
before: z.ZodOptional<z.ZodString>;
|
|
1918
|
+
dateColumn: z.ZodOptional<z.ZodEnum<{
|
|
1919
|
+
date: "date";
|
|
1920
|
+
date_gmt: "date_gmt";
|
|
1921
|
+
modified: "modified";
|
|
1922
|
+
modified_gmt: "modified_gmt";
|
|
1923
|
+
}>>;
|
|
1924
|
+
exclude: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1925
|
+
include: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1926
|
+
offset: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1927
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
1928
|
+
asc: "asc";
|
|
1929
|
+
desc: "desc";
|
|
1930
|
+
}>>;
|
|
1931
|
+
rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>, z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>]>>;
|
|
1932
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
1933
|
+
slug: "slug";
|
|
1934
|
+
date: "date";
|
|
1935
|
+
price: "price";
|
|
1936
|
+
id: "id";
|
|
1937
|
+
modified: "modified";
|
|
1938
|
+
include: "include";
|
|
1939
|
+
title: "title";
|
|
1940
|
+
popularity: "popularity";
|
|
1941
|
+
rating: "rating";
|
|
1942
|
+
menu_order: "menu_order";
|
|
1943
|
+
comment_count: "comment_count";
|
|
1944
|
+
}>>;
|
|
1945
|
+
parentExclude: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1946
|
+
featured: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
|
|
1947
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>>]>>;
|
|
1948
|
+
categoryOperator: z.ZodOptional<z.ZodEnum<{
|
|
1949
|
+
in: "in";
|
|
1950
|
+
not_in: "not_in";
|
|
1951
|
+
and: "and";
|
|
1952
|
+
}>>;
|
|
1953
|
+
brand: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>>]>>;
|
|
1954
|
+
brandOperator: z.ZodOptional<z.ZodEnum<{
|
|
1955
|
+
in: "in";
|
|
1956
|
+
not_in: "not_in";
|
|
1957
|
+
and: "and";
|
|
1958
|
+
}>>;
|
|
1959
|
+
tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>>]>>;
|
|
1960
|
+
tagOperator: z.ZodOptional<z.ZodEnum<{
|
|
1961
|
+
in: "in";
|
|
1962
|
+
not_in: "not_in";
|
|
1963
|
+
and: "and";
|
|
1964
|
+
}>>;
|
|
1965
|
+
onSale: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
|
|
1966
|
+
minPrice: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1967
|
+
maxPrice: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
1968
|
+
stockStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1969
|
+
instock: "instock";
|
|
1970
|
+
outofstock: "outofstock";
|
|
1971
|
+
onbackorder: "onbackorder";
|
|
1972
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1973
|
+
instock: "instock";
|
|
1974
|
+
outofstock: "outofstock";
|
|
1975
|
+
onbackorder: "onbackorder";
|
|
1976
|
+
}>>]>>;
|
|
1977
|
+
attributeRelation: z.ZodOptional<z.ZodEnum<{
|
|
1978
|
+
in: "in";
|
|
1979
|
+
and: "and";
|
|
1980
|
+
}>>;
|
|
1981
|
+
catalogVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1982
|
+
any: "any";
|
|
1983
|
+
search: "search";
|
|
1984
|
+
visible: "visible";
|
|
1985
|
+
catalog: "catalog";
|
|
1986
|
+
hidden: "hidden";
|
|
1987
|
+
}>>;
|
|
1988
|
+
taxonomies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1989
|
+
taxonomy: z.ZodString;
|
|
1990
|
+
termIds: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>]>>;
|
|
1991
|
+
slugs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1992
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
|
1993
|
+
in: "in";
|
|
1994
|
+
not_in: "not_in";
|
|
1995
|
+
and: "and";
|
|
1996
|
+
}>>;
|
|
1997
|
+
}, z.core.$strip>>>;
|
|
1998
|
+
ratingCounts: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
|
|
1999
|
+
stockStatusCounts: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
|
|
2000
|
+
taxonomyCounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2001
|
+
attributeCounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2002
|
+
taxonomy: z.ZodString;
|
|
2003
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
|
2004
|
+
and: "and";
|
|
2005
|
+
or: "or";
|
|
2006
|
+
}>>;
|
|
2007
|
+
}, z.core.$strip>>>;
|
|
2008
|
+
}, z.core.$strip>;
|
|
2009
|
+
type RetrieveProductFiltersInput = z.input<typeof RetrieveProductFiltersInput>;
|
|
2010
|
+
type RetrieveProductFiltersInputOut = z.output<typeof RetrieveProductFiltersInput>;
|
|
2011
|
+
//#endregion
|
|
3
2012
|
//#region src/index.d.ts
|
|
4
2013
|
declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
5
2014
|
cart: {
|
|
@@ -21,8 +2030,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
21
2030
|
images: {
|
|
22
2031
|
id: number;
|
|
23
2032
|
name: string;
|
|
24
|
-
alt: string;
|
|
25
2033
|
src: string;
|
|
2034
|
+
type: "image";
|
|
2035
|
+
alt: string;
|
|
26
2036
|
mime?: string | undefined;
|
|
27
2037
|
width?: number | undefined;
|
|
28
2038
|
height?: number | undefined;
|
|
@@ -190,8 +2200,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
190
2200
|
images: {
|
|
191
2201
|
id: number;
|
|
192
2202
|
name: string;
|
|
193
|
-
alt: string;
|
|
194
2203
|
src: string;
|
|
2204
|
+
type: "image";
|
|
2205
|
+
alt: string;
|
|
195
2206
|
mime?: string | undefined;
|
|
196
2207
|
width?: number | undefined;
|
|
197
2208
|
height?: number | undefined;
|
|
@@ -334,8 +2345,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
334
2345
|
images: {
|
|
335
2346
|
id: number;
|
|
336
2347
|
name: string;
|
|
337
|
-
alt: string;
|
|
338
2348
|
src: string;
|
|
2349
|
+
type: "image";
|
|
2350
|
+
alt: string;
|
|
339
2351
|
mime?: string | undefined;
|
|
340
2352
|
width?: number | undefined;
|
|
341
2353
|
height?: number | undefined;
|
|
@@ -492,8 +2504,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
492
2504
|
images: {
|
|
493
2505
|
id: number;
|
|
494
2506
|
name: string;
|
|
495
|
-
alt: string;
|
|
496
2507
|
src: string;
|
|
2508
|
+
type: "image";
|
|
2509
|
+
alt: string;
|
|
497
2510
|
mime?: string | undefined;
|
|
498
2511
|
width?: number | undefined;
|
|
499
2512
|
height?: number | undefined;
|
|
@@ -667,8 +2680,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
667
2680
|
images: {
|
|
668
2681
|
id: number;
|
|
669
2682
|
name: string;
|
|
670
|
-
alt: string;
|
|
671
2683
|
src: string;
|
|
2684
|
+
type: "image";
|
|
2685
|
+
alt: string;
|
|
672
2686
|
mime?: string | undefined;
|
|
673
2687
|
width?: number | undefined;
|
|
674
2688
|
height?: number | undefined;
|
|
@@ -831,8 +2845,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
831
2845
|
images: {
|
|
832
2846
|
id: number;
|
|
833
2847
|
name: string;
|
|
834
|
-
alt: string;
|
|
835
2848
|
src: string;
|
|
2849
|
+
type: "image";
|
|
2850
|
+
alt: string;
|
|
836
2851
|
mime?: string | undefined;
|
|
837
2852
|
width?: number | undefined;
|
|
838
2853
|
height?: number | undefined;
|
|
@@ -981,8 +2996,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
981
2996
|
images: {
|
|
982
2997
|
id: number;
|
|
983
2998
|
name: string;
|
|
984
|
-
alt: string;
|
|
985
2999
|
src: string;
|
|
3000
|
+
type: "image";
|
|
3001
|
+
alt: string;
|
|
986
3002
|
mime?: string | undefined;
|
|
987
3003
|
width?: number | undefined;
|
|
988
3004
|
height?: number | undefined;
|
|
@@ -1133,8 +3149,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1133
3149
|
images: {
|
|
1134
3150
|
id: number;
|
|
1135
3151
|
name: string;
|
|
1136
|
-
alt: string;
|
|
1137
3152
|
src: string;
|
|
3153
|
+
type: "image";
|
|
3154
|
+
alt: string;
|
|
1138
3155
|
mime?: string | undefined;
|
|
1139
3156
|
width?: number | undefined;
|
|
1140
3157
|
height?: number | undefined;
|
|
@@ -1276,31 +3293,48 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1276
3293
|
};
|
|
1277
3294
|
query?: {
|
|
1278
3295
|
previewToken?: string | undefined;
|
|
3296
|
+
recommendations?: string | boolean | undefined;
|
|
1279
3297
|
} | undefined;
|
|
1280
3298
|
}, {
|
|
1281
3299
|
id: number;
|
|
1282
|
-
parentId: number;
|
|
1283
|
-
type: "simple" | "grouped" | "external" | "variable" | "variation";
|
|
1284
3300
|
name: string;
|
|
1285
3301
|
slug: string;
|
|
3302
|
+
parentId: number | null;
|
|
3303
|
+
type: string;
|
|
3304
|
+
variationDescription: string;
|
|
3305
|
+
url: string | null;
|
|
1286
3306
|
sku: string | null;
|
|
1287
3307
|
shortDescription: string;
|
|
1288
3308
|
description: string;
|
|
1289
|
-
|
|
1290
|
-
onSaleTo: number | null;
|
|
3309
|
+
isPasswordProtected: boolean;
|
|
1291
3310
|
isOnSale: boolean;
|
|
1292
3311
|
prices: {
|
|
1293
3312
|
price: number;
|
|
1294
|
-
salePrice: number | null;
|
|
1295
3313
|
regularPrice: number;
|
|
3314
|
+
salePrice: number | null;
|
|
3315
|
+
priceRange: {
|
|
3316
|
+
minAmount: number;
|
|
3317
|
+
maxAmount: number;
|
|
3318
|
+
} | null;
|
|
3319
|
+
};
|
|
3320
|
+
currencyFormat: {
|
|
3321
|
+
currencyCode: string;
|
|
3322
|
+
currencySymbol: string;
|
|
3323
|
+
currencyPrefix: string;
|
|
3324
|
+
currencySuffix: string;
|
|
3325
|
+
currencyMinorUnit: number;
|
|
3326
|
+
currencyDecimalSeparator: string;
|
|
3327
|
+
currencyThousandSeparator: string;
|
|
1296
3328
|
};
|
|
1297
|
-
|
|
3329
|
+
priceHtml: string;
|
|
3330
|
+
averageRating: number;
|
|
1298
3331
|
reviewCount: number;
|
|
1299
3332
|
images: {
|
|
1300
3333
|
id: number;
|
|
1301
3334
|
name: string;
|
|
1302
|
-
alt: string;
|
|
1303
3335
|
src: string;
|
|
3336
|
+
type: "image";
|
|
3337
|
+
alt: string;
|
|
1304
3338
|
mime?: string | undefined;
|
|
1305
3339
|
width?: number | undefined;
|
|
1306
3340
|
height?: number | undefined;
|
|
@@ -1315,16 +3349,19 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1315
3349
|
id: number;
|
|
1316
3350
|
name: string;
|
|
1317
3351
|
slug: string;
|
|
3352
|
+
url: string | null;
|
|
1318
3353
|
}[];
|
|
1319
3354
|
tags: {
|
|
1320
3355
|
id: number;
|
|
1321
3356
|
name: string;
|
|
1322
3357
|
slug: string;
|
|
3358
|
+
url: string | null;
|
|
1323
3359
|
}[];
|
|
1324
3360
|
brands: {
|
|
1325
3361
|
id: number;
|
|
1326
3362
|
name: string;
|
|
1327
3363
|
slug: string;
|
|
3364
|
+
url: string | null;
|
|
1328
3365
|
}[];
|
|
1329
3366
|
attributes: {
|
|
1330
3367
|
id: number;
|
|
@@ -1335,23 +3372,49 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1335
3372
|
id: number;
|
|
1336
3373
|
name: string;
|
|
1337
3374
|
slug: string;
|
|
3375
|
+
isDefault: boolean;
|
|
1338
3376
|
}[];
|
|
1339
3377
|
}[];
|
|
1340
3378
|
variations: {
|
|
1341
3379
|
id: number;
|
|
1342
3380
|
attributes: {
|
|
1343
3381
|
name: string;
|
|
1344
|
-
value: string;
|
|
3382
|
+
value: string | null;
|
|
1345
3383
|
}[];
|
|
1346
3384
|
}[];
|
|
1347
|
-
|
|
1348
|
-
isSoldIndividually: boolean;
|
|
3385
|
+
groupedProductIds: number[];
|
|
1349
3386
|
hasOptions: boolean;
|
|
1350
3387
|
isPurchasable: boolean;
|
|
1351
3388
|
isInStock: boolean;
|
|
1352
3389
|
isOnBackorder: boolean;
|
|
1353
|
-
|
|
3390
|
+
stockAvailability: {
|
|
3391
|
+
text: string;
|
|
3392
|
+
class: string;
|
|
3393
|
+
};
|
|
1354
3394
|
lowStockRemaining: number | null;
|
|
3395
|
+
isSoldIndividually: boolean;
|
|
3396
|
+
addToCart: {
|
|
3397
|
+
text: string;
|
|
3398
|
+
description: string;
|
|
3399
|
+
singleText: string;
|
|
3400
|
+
minimum: number;
|
|
3401
|
+
maximum: number;
|
|
3402
|
+
multipleOf: number;
|
|
3403
|
+
};
|
|
3404
|
+
extensions: {
|
|
3405
|
+
[x: string]: unknown;
|
|
3406
|
+
};
|
|
3407
|
+
weight: string;
|
|
3408
|
+
dimensions: {
|
|
3409
|
+
length: string;
|
|
3410
|
+
width: string;
|
|
3411
|
+
height: string;
|
|
3412
|
+
};
|
|
3413
|
+
formattedWeight: string;
|
|
3414
|
+
formattedDimensions: string;
|
|
3415
|
+
stockQuantity: number | null;
|
|
3416
|
+
saleStartsAt: number | null;
|
|
3417
|
+
saleEndsAt: number | null;
|
|
1355
3418
|
seo: {
|
|
1356
3419
|
head: {
|
|
1357
3420
|
title: string;
|
|
@@ -1403,42 +3466,339 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1403
3466
|
}[];
|
|
1404
3467
|
};
|
|
1405
3468
|
} | null;
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
3469
|
+
custom: never;
|
|
3470
|
+
recommendations: {
|
|
3471
|
+
upsells: {
|
|
3472
|
+
id: number;
|
|
3473
|
+
name: string;
|
|
3474
|
+
slug: string;
|
|
3475
|
+
parentId: number | null;
|
|
3476
|
+
type: string;
|
|
3477
|
+
variationDescription: string;
|
|
3478
|
+
url: string | null;
|
|
3479
|
+
sku: string | null;
|
|
3480
|
+
shortDescription: string;
|
|
3481
|
+
description: string;
|
|
3482
|
+
isPasswordProtected: boolean;
|
|
3483
|
+
isOnSale: boolean;
|
|
3484
|
+
prices: {
|
|
3485
|
+
price: number;
|
|
3486
|
+
regularPrice: number;
|
|
3487
|
+
salePrice: number | null;
|
|
3488
|
+
priceRange: {
|
|
3489
|
+
minAmount: number;
|
|
3490
|
+
maxAmount: number;
|
|
3491
|
+
} | null;
|
|
3492
|
+
};
|
|
3493
|
+
currencyFormat: {
|
|
3494
|
+
currencyCode: string;
|
|
3495
|
+
currencySymbol: string;
|
|
3496
|
+
currencyPrefix: string;
|
|
3497
|
+
currencySuffix: string;
|
|
3498
|
+
currencyMinorUnit: number;
|
|
3499
|
+
currencyDecimalSeparator: string;
|
|
3500
|
+
currencyThousandSeparator: string;
|
|
3501
|
+
};
|
|
3502
|
+
priceHtml: string;
|
|
3503
|
+
averageRating: number;
|
|
3504
|
+
reviewCount: number;
|
|
3505
|
+
images: {
|
|
3506
|
+
id: number;
|
|
3507
|
+
name: string;
|
|
3508
|
+
src: string;
|
|
3509
|
+
type: "image";
|
|
3510
|
+
alt: string;
|
|
3511
|
+
mime?: string | undefined;
|
|
3512
|
+
width?: number | undefined;
|
|
3513
|
+
height?: number | undefined;
|
|
3514
|
+
variants?: {
|
|
3515
|
+
src: string;
|
|
3516
|
+
width: number;
|
|
3517
|
+
height: number;
|
|
3518
|
+
}[] | undefined;
|
|
3519
|
+
srcset?: string | undefined;
|
|
3520
|
+
}[];
|
|
3521
|
+
categories: {
|
|
3522
|
+
id: number;
|
|
3523
|
+
name: string;
|
|
3524
|
+
slug: string;
|
|
3525
|
+
url: string | null;
|
|
3526
|
+
}[];
|
|
3527
|
+
tags: {
|
|
3528
|
+
id: number;
|
|
3529
|
+
name: string;
|
|
3530
|
+
slug: string;
|
|
3531
|
+
url: string | null;
|
|
3532
|
+
}[];
|
|
3533
|
+
brands: {
|
|
3534
|
+
id: number;
|
|
3535
|
+
name: string;
|
|
3536
|
+
slug: string;
|
|
3537
|
+
url: string | null;
|
|
3538
|
+
}[];
|
|
3539
|
+
attributes: {
|
|
3540
|
+
id: number;
|
|
3541
|
+
name: string;
|
|
3542
|
+
taxonomy: string | null;
|
|
3543
|
+
hasVariations: boolean;
|
|
3544
|
+
terms: {
|
|
3545
|
+
id: number;
|
|
3546
|
+
name: string;
|
|
3547
|
+
slug: string;
|
|
3548
|
+
isDefault: boolean;
|
|
3549
|
+
}[];
|
|
3550
|
+
}[];
|
|
3551
|
+
variations: {
|
|
3552
|
+
id: number;
|
|
3553
|
+
attributes: {
|
|
3554
|
+
name: string;
|
|
3555
|
+
value: string | null;
|
|
3556
|
+
}[];
|
|
3557
|
+
}[];
|
|
3558
|
+
groupedProductIds: number[];
|
|
3559
|
+
hasOptions: boolean;
|
|
3560
|
+
isPurchasable: boolean;
|
|
3561
|
+
isInStock: boolean;
|
|
3562
|
+
isOnBackorder: boolean;
|
|
3563
|
+
stockAvailability: {
|
|
3564
|
+
text: string;
|
|
3565
|
+
class: string;
|
|
3566
|
+
};
|
|
3567
|
+
lowStockRemaining: number | null;
|
|
3568
|
+
isSoldIndividually: boolean;
|
|
3569
|
+
addToCart: {
|
|
3570
|
+
text: string;
|
|
3571
|
+
description: string;
|
|
3572
|
+
singleText: string;
|
|
3573
|
+
minimum: number;
|
|
3574
|
+
maximum: number;
|
|
3575
|
+
multipleOf: number;
|
|
3576
|
+
};
|
|
3577
|
+
extensions: {
|
|
3578
|
+
[x: string]: unknown;
|
|
3579
|
+
};
|
|
3580
|
+
}[];
|
|
3581
|
+
crossSells: {
|
|
3582
|
+
id: number;
|
|
3583
|
+
name: string;
|
|
3584
|
+
slug: string;
|
|
3585
|
+
parentId: number | null;
|
|
3586
|
+
type: string;
|
|
3587
|
+
variationDescription: string;
|
|
3588
|
+
url: string | null;
|
|
3589
|
+
sku: string | null;
|
|
3590
|
+
shortDescription: string;
|
|
3591
|
+
description: string;
|
|
3592
|
+
isPasswordProtected: boolean;
|
|
3593
|
+
isOnSale: boolean;
|
|
3594
|
+
prices: {
|
|
3595
|
+
price: number;
|
|
3596
|
+
regularPrice: number;
|
|
3597
|
+
salePrice: number | null;
|
|
3598
|
+
priceRange: {
|
|
3599
|
+
minAmount: number;
|
|
3600
|
+
maxAmount: number;
|
|
3601
|
+
} | null;
|
|
3602
|
+
};
|
|
3603
|
+
currencyFormat: {
|
|
3604
|
+
currencyCode: string;
|
|
3605
|
+
currencySymbol: string;
|
|
3606
|
+
currencyPrefix: string;
|
|
3607
|
+
currencySuffix: string;
|
|
3608
|
+
currencyMinorUnit: number;
|
|
3609
|
+
currencyDecimalSeparator: string;
|
|
3610
|
+
currencyThousandSeparator: string;
|
|
3611
|
+
};
|
|
3612
|
+
priceHtml: string;
|
|
3613
|
+
averageRating: number;
|
|
3614
|
+
reviewCount: number;
|
|
3615
|
+
images: {
|
|
3616
|
+
id: number;
|
|
3617
|
+
name: string;
|
|
3618
|
+
src: string;
|
|
3619
|
+
type: "image";
|
|
3620
|
+
alt: string;
|
|
3621
|
+
mime?: string | undefined;
|
|
3622
|
+
width?: number | undefined;
|
|
3623
|
+
height?: number | undefined;
|
|
3624
|
+
variants?: {
|
|
3625
|
+
src: string;
|
|
3626
|
+
width: number;
|
|
3627
|
+
height: number;
|
|
3628
|
+
}[] | undefined;
|
|
3629
|
+
srcset?: string | undefined;
|
|
3630
|
+
}[];
|
|
3631
|
+
categories: {
|
|
3632
|
+
id: number;
|
|
3633
|
+
name: string;
|
|
3634
|
+
slug: string;
|
|
3635
|
+
url: string | null;
|
|
3636
|
+
}[];
|
|
3637
|
+
tags: {
|
|
3638
|
+
id: number;
|
|
3639
|
+
name: string;
|
|
3640
|
+
slug: string;
|
|
3641
|
+
url: string | null;
|
|
3642
|
+
}[];
|
|
3643
|
+
brands: {
|
|
3644
|
+
id: number;
|
|
3645
|
+
name: string;
|
|
3646
|
+
slug: string;
|
|
3647
|
+
url: string | null;
|
|
3648
|
+
}[];
|
|
3649
|
+
attributes: {
|
|
3650
|
+
id: number;
|
|
3651
|
+
name: string;
|
|
3652
|
+
taxonomy: string | null;
|
|
3653
|
+
hasVariations: boolean;
|
|
3654
|
+
terms: {
|
|
3655
|
+
id: number;
|
|
3656
|
+
name: string;
|
|
3657
|
+
slug: string;
|
|
3658
|
+
isDefault: boolean;
|
|
3659
|
+
}[];
|
|
3660
|
+
}[];
|
|
3661
|
+
variations: {
|
|
3662
|
+
id: number;
|
|
3663
|
+
attributes: {
|
|
3664
|
+
name: string;
|
|
3665
|
+
value: string | null;
|
|
3666
|
+
}[];
|
|
3667
|
+
}[];
|
|
3668
|
+
groupedProductIds: number[];
|
|
3669
|
+
hasOptions: boolean;
|
|
3670
|
+
isPurchasable: boolean;
|
|
3671
|
+
isInStock: boolean;
|
|
3672
|
+
isOnBackorder: boolean;
|
|
3673
|
+
stockAvailability: {
|
|
3674
|
+
text: string;
|
|
3675
|
+
class: string;
|
|
3676
|
+
};
|
|
3677
|
+
lowStockRemaining: number | null;
|
|
3678
|
+
isSoldIndividually: boolean;
|
|
3679
|
+
addToCart: {
|
|
3680
|
+
text: string;
|
|
3681
|
+
description: string;
|
|
3682
|
+
singleText: string;
|
|
3683
|
+
minimum: number;
|
|
3684
|
+
maximum: number;
|
|
3685
|
+
multipleOf: number;
|
|
3686
|
+
};
|
|
3687
|
+
extensions: {
|
|
3688
|
+
[x: string]: unknown;
|
|
3689
|
+
};
|
|
3690
|
+
}[];
|
|
3691
|
+
related: {
|
|
3692
|
+
id: number;
|
|
3693
|
+
name: string;
|
|
3694
|
+
slug: string;
|
|
3695
|
+
parentId: number | null;
|
|
3696
|
+
type: string;
|
|
3697
|
+
variationDescription: string;
|
|
3698
|
+
url: string | null;
|
|
3699
|
+
sku: string | null;
|
|
3700
|
+
shortDescription: string;
|
|
3701
|
+
description: string;
|
|
3702
|
+
isPasswordProtected: boolean;
|
|
3703
|
+
isOnSale: boolean;
|
|
3704
|
+
prices: {
|
|
3705
|
+
price: number;
|
|
3706
|
+
regularPrice: number;
|
|
3707
|
+
salePrice: number | null;
|
|
3708
|
+
priceRange: {
|
|
3709
|
+
minAmount: number;
|
|
3710
|
+
maxAmount: number;
|
|
3711
|
+
} | null;
|
|
3712
|
+
};
|
|
3713
|
+
currencyFormat: {
|
|
3714
|
+
currencyCode: string;
|
|
3715
|
+
currencySymbol: string;
|
|
3716
|
+
currencyPrefix: string;
|
|
3717
|
+
currencySuffix: string;
|
|
3718
|
+
currencyMinorUnit: number;
|
|
3719
|
+
currencyDecimalSeparator: string;
|
|
3720
|
+
currencyThousandSeparator: string;
|
|
3721
|
+
};
|
|
3722
|
+
priceHtml: string;
|
|
3723
|
+
averageRating: number;
|
|
3724
|
+
reviewCount: number;
|
|
3725
|
+
images: {
|
|
3726
|
+
id: number;
|
|
3727
|
+
name: string;
|
|
3728
|
+
src: string;
|
|
3729
|
+
type: "image";
|
|
3730
|
+
alt: string;
|
|
3731
|
+
mime?: string | undefined;
|
|
3732
|
+
width?: number | undefined;
|
|
3733
|
+
height?: number | undefined;
|
|
3734
|
+
variants?: {
|
|
3735
|
+
src: string;
|
|
3736
|
+
width: number;
|
|
3737
|
+
height: number;
|
|
3738
|
+
}[] | undefined;
|
|
3739
|
+
srcset?: string | undefined;
|
|
3740
|
+
}[];
|
|
3741
|
+
categories: {
|
|
3742
|
+
id: number;
|
|
3743
|
+
name: string;
|
|
3744
|
+
slug: string;
|
|
3745
|
+
url: string | null;
|
|
3746
|
+
}[];
|
|
3747
|
+
tags: {
|
|
3748
|
+
id: number;
|
|
3749
|
+
name: string;
|
|
3750
|
+
slug: string;
|
|
3751
|
+
url: string | null;
|
|
3752
|
+
}[];
|
|
3753
|
+
brands: {
|
|
3754
|
+
id: number;
|
|
3755
|
+
name: string;
|
|
3756
|
+
slug: string;
|
|
3757
|
+
url: string | null;
|
|
3758
|
+
}[];
|
|
3759
|
+
attributes: {
|
|
3760
|
+
id: number;
|
|
3761
|
+
name: string;
|
|
3762
|
+
taxonomy: string | null;
|
|
3763
|
+
hasVariations: boolean;
|
|
3764
|
+
terms: {
|
|
3765
|
+
id: number;
|
|
3766
|
+
name: string;
|
|
3767
|
+
slug: string;
|
|
3768
|
+
isDefault: boolean;
|
|
3769
|
+
}[];
|
|
3770
|
+
}[];
|
|
3771
|
+
variations: {
|
|
3772
|
+
id: number;
|
|
3773
|
+
attributes: {
|
|
3774
|
+
name: string;
|
|
3775
|
+
value: string | null;
|
|
3776
|
+
}[];
|
|
3777
|
+
}[];
|
|
3778
|
+
groupedProductIds: number[];
|
|
3779
|
+
hasOptions: boolean;
|
|
3780
|
+
isPurchasable: boolean;
|
|
3781
|
+
isInStock: boolean;
|
|
3782
|
+
isOnBackorder: boolean;
|
|
3783
|
+
stockAvailability: {
|
|
3784
|
+
text: string;
|
|
3785
|
+
class: string;
|
|
3786
|
+
};
|
|
3787
|
+
lowStockRemaining: number | null;
|
|
3788
|
+
isSoldIndividually: boolean;
|
|
3789
|
+
addToCart: {
|
|
3790
|
+
text: string;
|
|
3791
|
+
description: string;
|
|
3792
|
+
singleText: string;
|
|
3793
|
+
minimum: number;
|
|
3794
|
+
maximum: number;
|
|
3795
|
+
multipleOf: number;
|
|
3796
|
+
};
|
|
3797
|
+
extensions: {
|
|
3798
|
+
[x: string]: unknown;
|
|
3799
|
+
};
|
|
3800
|
+
}[];
|
|
3801
|
+
} | null;
|
|
1442
3802
|
}, {
|
|
1443
3803
|
readonly PRODUCT_NOT_FOUND: {
|
|
1444
3804
|
readonly status: 404;
|
|
@@ -1450,65 +3810,89 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1450
3810
|
page?: string | number | undefined;
|
|
1451
3811
|
perPage?: string | number | undefined;
|
|
1452
3812
|
search?: string | undefined;
|
|
1453
|
-
|
|
3813
|
+
recommendations?: string | boolean | undefined;
|
|
3814
|
+
slug?: string | string[] | undefined;
|
|
1454
3815
|
after?: string | undefined;
|
|
1455
3816
|
before?: string | undefined;
|
|
3817
|
+
dateColumn?: "date" | "date_gmt" | "modified" | "modified_gmt" | undefined;
|
|
1456
3818
|
exclude?: string | number | (string | number)[] | undefined;
|
|
1457
3819
|
include?: string | number | (string | number)[] | undefined;
|
|
1458
3820
|
offset?: string | number | undefined;
|
|
1459
3821
|
order?: "asc" | "desc" | undefined;
|
|
1460
|
-
|
|
3822
|
+
orderBy?: "slug" | "date" | "price" | "id" | "modified" | "include" | "title" | "popularity" | "rating" | "menu_order" | "comment_count" | undefined;
|
|
1461
3823
|
parent?: string | number | (string | number)[] | undefined;
|
|
1462
3824
|
parentExclude?: string | number | (string | number)[] | undefined;
|
|
1463
|
-
type?:
|
|
1464
|
-
sku?: string | undefined;
|
|
3825
|
+
type?: string | undefined;
|
|
3826
|
+
sku?: string | string[] | undefined;
|
|
1465
3827
|
featured?: string | boolean | undefined;
|
|
1466
|
-
category?: string | undefined;
|
|
3828
|
+
category?: string | number | (string | number)[] | undefined;
|
|
1467
3829
|
categoryOperator?: "in" | "not_in" | "and" | undefined;
|
|
1468
|
-
brand?: string | undefined;
|
|
3830
|
+
brand?: string | number | (string | number)[] | undefined;
|
|
1469
3831
|
brandOperator?: "in" | "not_in" | "and" | undefined;
|
|
1470
|
-
tag?: string | undefined;
|
|
3832
|
+
tag?: string | number | (string | number)[] | undefined;
|
|
1471
3833
|
tagOperator?: "in" | "not_in" | "and" | undefined;
|
|
1472
3834
|
onSale?: string | boolean | undefined;
|
|
1473
|
-
minPrice?: string | undefined;
|
|
1474
|
-
maxPrice?: string | undefined;
|
|
3835
|
+
minPrice?: string | number | undefined;
|
|
3836
|
+
maxPrice?: string | number | undefined;
|
|
1475
3837
|
stockStatus?: "instock" | "outofstock" | "onbackorder" | ("instock" | "outofstock" | "onbackorder")[] | undefined;
|
|
1476
3838
|
attributes?: {
|
|
1477
|
-
|
|
3839
|
+
taxonomy: string;
|
|
1478
3840
|
slug?: string | string[] | undefined;
|
|
1479
3841
|
termId?: string | number | (string | number)[] | undefined;
|
|
1480
3842
|
operator?: "in" | "not_in" | "and" | undefined;
|
|
1481
3843
|
}[] | undefined;
|
|
1482
3844
|
attributeRelation?: "in" | "and" | undefined;
|
|
1483
3845
|
catalogVisibility?: "any" | "search" | "visible" | "catalog" | "hidden" | undefined;
|
|
1484
|
-
rating?:
|
|
3846
|
+
rating?: string | number | (string | number)[] | undefined;
|
|
1485
3847
|
related?: string | number | undefined;
|
|
3848
|
+
taxonomies?: {
|
|
3849
|
+
taxonomy: string;
|
|
3850
|
+
termIds?: string | number | (string | number)[] | undefined;
|
|
3851
|
+
slugs?: string | string[] | undefined;
|
|
3852
|
+
operator?: "in" | "not_in" | "and" | undefined;
|
|
3853
|
+
}[] | undefined;
|
|
1486
3854
|
} | undefined;
|
|
1487
3855
|
}, {
|
|
1488
3856
|
items: {
|
|
1489
3857
|
id: number;
|
|
1490
|
-
parentId: number;
|
|
1491
|
-
type: "simple" | "grouped" | "external" | "variable" | "variation";
|
|
1492
3858
|
name: string;
|
|
1493
3859
|
slug: string;
|
|
3860
|
+
parentId: number | null;
|
|
3861
|
+
type: string;
|
|
3862
|
+
variationDescription: string;
|
|
3863
|
+
url: string | null;
|
|
1494
3864
|
sku: string | null;
|
|
1495
3865
|
shortDescription: string;
|
|
1496
3866
|
description: string;
|
|
1497
|
-
|
|
1498
|
-
onSaleTo: number | null;
|
|
3867
|
+
isPasswordProtected: boolean;
|
|
1499
3868
|
isOnSale: boolean;
|
|
1500
3869
|
prices: {
|
|
1501
3870
|
price: number;
|
|
1502
|
-
salePrice: number | null;
|
|
1503
3871
|
regularPrice: number;
|
|
3872
|
+
salePrice: number | null;
|
|
3873
|
+
priceRange: {
|
|
3874
|
+
minAmount: number;
|
|
3875
|
+
maxAmount: number;
|
|
3876
|
+
} | null;
|
|
3877
|
+
};
|
|
3878
|
+
currencyFormat: {
|
|
3879
|
+
currencyCode: string;
|
|
3880
|
+
currencySymbol: string;
|
|
3881
|
+
currencyPrefix: string;
|
|
3882
|
+
currencySuffix: string;
|
|
3883
|
+
currencyMinorUnit: number;
|
|
3884
|
+
currencyDecimalSeparator: string;
|
|
3885
|
+
currencyThousandSeparator: string;
|
|
1504
3886
|
};
|
|
1505
|
-
|
|
3887
|
+
priceHtml: string;
|
|
3888
|
+
averageRating: number;
|
|
1506
3889
|
reviewCount: number;
|
|
1507
3890
|
images: {
|
|
1508
3891
|
id: number;
|
|
1509
3892
|
name: string;
|
|
1510
|
-
alt: string;
|
|
1511
3893
|
src: string;
|
|
3894
|
+
type: "image";
|
|
3895
|
+
alt: string;
|
|
1512
3896
|
mime?: string | undefined;
|
|
1513
3897
|
width?: number | undefined;
|
|
1514
3898
|
height?: number | undefined;
|
|
@@ -1523,16 +3907,19 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1523
3907
|
id: number;
|
|
1524
3908
|
name: string;
|
|
1525
3909
|
slug: string;
|
|
3910
|
+
url: string | null;
|
|
1526
3911
|
}[];
|
|
1527
3912
|
tags: {
|
|
1528
3913
|
id: number;
|
|
1529
3914
|
name: string;
|
|
1530
3915
|
slug: string;
|
|
3916
|
+
url: string | null;
|
|
1531
3917
|
}[];
|
|
1532
3918
|
brands: {
|
|
1533
3919
|
id: number;
|
|
1534
3920
|
name: string;
|
|
1535
3921
|
slug: string;
|
|
3922
|
+
url: string | null;
|
|
1536
3923
|
}[];
|
|
1537
3924
|
attributes: {
|
|
1538
3925
|
id: number;
|
|
@@ -1543,23 +3930,49 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1543
3930
|
id: number;
|
|
1544
3931
|
name: string;
|
|
1545
3932
|
slug: string;
|
|
3933
|
+
isDefault: boolean;
|
|
1546
3934
|
}[];
|
|
1547
3935
|
}[];
|
|
1548
3936
|
variations: {
|
|
1549
3937
|
id: number;
|
|
1550
3938
|
attributes: {
|
|
1551
3939
|
name: string;
|
|
1552
|
-
value: string;
|
|
3940
|
+
value: string | null;
|
|
1553
3941
|
}[];
|
|
1554
3942
|
}[];
|
|
1555
|
-
|
|
1556
|
-
isSoldIndividually: boolean;
|
|
3943
|
+
groupedProductIds: number[];
|
|
1557
3944
|
hasOptions: boolean;
|
|
1558
3945
|
isPurchasable: boolean;
|
|
1559
3946
|
isInStock: boolean;
|
|
1560
3947
|
isOnBackorder: boolean;
|
|
1561
|
-
|
|
3948
|
+
stockAvailability: {
|
|
3949
|
+
text: string;
|
|
3950
|
+
class: string;
|
|
3951
|
+
};
|
|
1562
3952
|
lowStockRemaining: number | null;
|
|
3953
|
+
isSoldIndividually: boolean;
|
|
3954
|
+
addToCart: {
|
|
3955
|
+
text: string;
|
|
3956
|
+
description: string;
|
|
3957
|
+
singleText: string;
|
|
3958
|
+
minimum: number;
|
|
3959
|
+
maximum: number;
|
|
3960
|
+
multipleOf: number;
|
|
3961
|
+
};
|
|
3962
|
+
extensions: {
|
|
3963
|
+
[x: string]: unknown;
|
|
3964
|
+
};
|
|
3965
|
+
weight: string;
|
|
3966
|
+
dimensions: {
|
|
3967
|
+
length: string;
|
|
3968
|
+
width: string;
|
|
3969
|
+
height: string;
|
|
3970
|
+
};
|
|
3971
|
+
formattedWeight: string;
|
|
3972
|
+
formattedDimensions: string;
|
|
3973
|
+
stockQuantity: number | null;
|
|
3974
|
+
saleStartsAt: number | null;
|
|
3975
|
+
saleEndsAt: number | null;
|
|
1563
3976
|
seo: {
|
|
1564
3977
|
head: {
|
|
1565
3978
|
title: string;
|
|
@@ -1611,40 +4024,339 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1611
4024
|
}[];
|
|
1612
4025
|
};
|
|
1613
4026
|
} | null;
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
4027
|
+
custom: never;
|
|
4028
|
+
recommendations: {
|
|
4029
|
+
upsells: {
|
|
4030
|
+
id: number;
|
|
4031
|
+
name: string;
|
|
4032
|
+
slug: string;
|
|
4033
|
+
parentId: number | null;
|
|
4034
|
+
type: string;
|
|
4035
|
+
variationDescription: string;
|
|
4036
|
+
url: string | null;
|
|
4037
|
+
sku: string | null;
|
|
4038
|
+
shortDescription: string;
|
|
4039
|
+
description: string;
|
|
4040
|
+
isPasswordProtected: boolean;
|
|
4041
|
+
isOnSale: boolean;
|
|
4042
|
+
prices: {
|
|
4043
|
+
price: number;
|
|
4044
|
+
regularPrice: number;
|
|
4045
|
+
salePrice: number | null;
|
|
4046
|
+
priceRange: {
|
|
4047
|
+
minAmount: number;
|
|
4048
|
+
maxAmount: number;
|
|
4049
|
+
} | null;
|
|
4050
|
+
};
|
|
4051
|
+
currencyFormat: {
|
|
4052
|
+
currencyCode: string;
|
|
4053
|
+
currencySymbol: string;
|
|
4054
|
+
currencyPrefix: string;
|
|
4055
|
+
currencySuffix: string;
|
|
4056
|
+
currencyMinorUnit: number;
|
|
4057
|
+
currencyDecimalSeparator: string;
|
|
4058
|
+
currencyThousandSeparator: string;
|
|
4059
|
+
};
|
|
4060
|
+
priceHtml: string;
|
|
4061
|
+
averageRating: number;
|
|
4062
|
+
reviewCount: number;
|
|
4063
|
+
images: {
|
|
4064
|
+
id: number;
|
|
4065
|
+
name: string;
|
|
4066
|
+
src: string;
|
|
4067
|
+
type: "image";
|
|
4068
|
+
alt: string;
|
|
4069
|
+
mime?: string | undefined;
|
|
4070
|
+
width?: number | undefined;
|
|
4071
|
+
height?: number | undefined;
|
|
4072
|
+
variants?: {
|
|
4073
|
+
src: string;
|
|
4074
|
+
width: number;
|
|
4075
|
+
height: number;
|
|
4076
|
+
}[] | undefined;
|
|
4077
|
+
srcset?: string | undefined;
|
|
4078
|
+
}[];
|
|
4079
|
+
categories: {
|
|
4080
|
+
id: number;
|
|
4081
|
+
name: string;
|
|
4082
|
+
slug: string;
|
|
4083
|
+
url: string | null;
|
|
4084
|
+
}[];
|
|
4085
|
+
tags: {
|
|
4086
|
+
id: number;
|
|
4087
|
+
name: string;
|
|
4088
|
+
slug: string;
|
|
4089
|
+
url: string | null;
|
|
4090
|
+
}[];
|
|
4091
|
+
brands: {
|
|
4092
|
+
id: number;
|
|
4093
|
+
name: string;
|
|
4094
|
+
slug: string;
|
|
4095
|
+
url: string | null;
|
|
4096
|
+
}[];
|
|
4097
|
+
attributes: {
|
|
4098
|
+
id: number;
|
|
4099
|
+
name: string;
|
|
4100
|
+
taxonomy: string | null;
|
|
4101
|
+
hasVariations: boolean;
|
|
4102
|
+
terms: {
|
|
4103
|
+
id: number;
|
|
4104
|
+
name: string;
|
|
4105
|
+
slug: string;
|
|
4106
|
+
isDefault: boolean;
|
|
4107
|
+
}[];
|
|
4108
|
+
}[];
|
|
4109
|
+
variations: {
|
|
4110
|
+
id: number;
|
|
4111
|
+
attributes: {
|
|
4112
|
+
name: string;
|
|
4113
|
+
value: string | null;
|
|
4114
|
+
}[];
|
|
4115
|
+
}[];
|
|
4116
|
+
groupedProductIds: number[];
|
|
4117
|
+
hasOptions: boolean;
|
|
4118
|
+
isPurchasable: boolean;
|
|
4119
|
+
isInStock: boolean;
|
|
4120
|
+
isOnBackorder: boolean;
|
|
4121
|
+
stockAvailability: {
|
|
4122
|
+
text: string;
|
|
4123
|
+
class: string;
|
|
4124
|
+
};
|
|
4125
|
+
lowStockRemaining: number | null;
|
|
4126
|
+
isSoldIndividually: boolean;
|
|
4127
|
+
addToCart: {
|
|
4128
|
+
text: string;
|
|
4129
|
+
description: string;
|
|
4130
|
+
singleText: string;
|
|
4131
|
+
minimum: number;
|
|
4132
|
+
maximum: number;
|
|
4133
|
+
multipleOf: number;
|
|
4134
|
+
};
|
|
4135
|
+
extensions: {
|
|
4136
|
+
[x: string]: unknown;
|
|
4137
|
+
};
|
|
4138
|
+
}[];
|
|
4139
|
+
crossSells: {
|
|
4140
|
+
id: number;
|
|
4141
|
+
name: string;
|
|
4142
|
+
slug: string;
|
|
4143
|
+
parentId: number | null;
|
|
4144
|
+
type: string;
|
|
4145
|
+
variationDescription: string;
|
|
4146
|
+
url: string | null;
|
|
4147
|
+
sku: string | null;
|
|
4148
|
+
shortDescription: string;
|
|
4149
|
+
description: string;
|
|
4150
|
+
isPasswordProtected: boolean;
|
|
4151
|
+
isOnSale: boolean;
|
|
4152
|
+
prices: {
|
|
4153
|
+
price: number;
|
|
4154
|
+
regularPrice: number;
|
|
4155
|
+
salePrice: number | null;
|
|
4156
|
+
priceRange: {
|
|
4157
|
+
minAmount: number;
|
|
4158
|
+
maxAmount: number;
|
|
4159
|
+
} | null;
|
|
4160
|
+
};
|
|
4161
|
+
currencyFormat: {
|
|
4162
|
+
currencyCode: string;
|
|
4163
|
+
currencySymbol: string;
|
|
4164
|
+
currencyPrefix: string;
|
|
4165
|
+
currencySuffix: string;
|
|
4166
|
+
currencyMinorUnit: number;
|
|
4167
|
+
currencyDecimalSeparator: string;
|
|
4168
|
+
currencyThousandSeparator: string;
|
|
4169
|
+
};
|
|
4170
|
+
priceHtml: string;
|
|
4171
|
+
averageRating: number;
|
|
4172
|
+
reviewCount: number;
|
|
4173
|
+
images: {
|
|
4174
|
+
id: number;
|
|
4175
|
+
name: string;
|
|
4176
|
+
src: string;
|
|
4177
|
+
type: "image";
|
|
4178
|
+
alt: string;
|
|
4179
|
+
mime?: string | undefined;
|
|
4180
|
+
width?: number | undefined;
|
|
4181
|
+
height?: number | undefined;
|
|
4182
|
+
variants?: {
|
|
4183
|
+
src: string;
|
|
4184
|
+
width: number;
|
|
4185
|
+
height: number;
|
|
4186
|
+
}[] | undefined;
|
|
4187
|
+
srcset?: string | undefined;
|
|
4188
|
+
}[];
|
|
4189
|
+
categories: {
|
|
4190
|
+
id: number;
|
|
4191
|
+
name: string;
|
|
4192
|
+
slug: string;
|
|
4193
|
+
url: string | null;
|
|
4194
|
+
}[];
|
|
4195
|
+
tags: {
|
|
4196
|
+
id: number;
|
|
4197
|
+
name: string;
|
|
4198
|
+
slug: string;
|
|
4199
|
+
url: string | null;
|
|
4200
|
+
}[];
|
|
4201
|
+
brands: {
|
|
4202
|
+
id: number;
|
|
4203
|
+
name: string;
|
|
4204
|
+
slug: string;
|
|
4205
|
+
url: string | null;
|
|
4206
|
+
}[];
|
|
4207
|
+
attributes: {
|
|
4208
|
+
id: number;
|
|
4209
|
+
name: string;
|
|
4210
|
+
taxonomy: string | null;
|
|
4211
|
+
hasVariations: boolean;
|
|
4212
|
+
terms: {
|
|
4213
|
+
id: number;
|
|
4214
|
+
name: string;
|
|
4215
|
+
slug: string;
|
|
4216
|
+
isDefault: boolean;
|
|
4217
|
+
}[];
|
|
4218
|
+
}[];
|
|
4219
|
+
variations: {
|
|
4220
|
+
id: number;
|
|
4221
|
+
attributes: {
|
|
4222
|
+
name: string;
|
|
4223
|
+
value: string | null;
|
|
4224
|
+
}[];
|
|
4225
|
+
}[];
|
|
4226
|
+
groupedProductIds: number[];
|
|
4227
|
+
hasOptions: boolean;
|
|
4228
|
+
isPurchasable: boolean;
|
|
4229
|
+
isInStock: boolean;
|
|
4230
|
+
isOnBackorder: boolean;
|
|
4231
|
+
stockAvailability: {
|
|
4232
|
+
text: string;
|
|
4233
|
+
class: string;
|
|
4234
|
+
};
|
|
4235
|
+
lowStockRemaining: number | null;
|
|
4236
|
+
isSoldIndividually: boolean;
|
|
4237
|
+
addToCart: {
|
|
4238
|
+
text: string;
|
|
4239
|
+
description: string;
|
|
4240
|
+
singleText: string;
|
|
4241
|
+
minimum: number;
|
|
4242
|
+
maximum: number;
|
|
4243
|
+
multipleOf: number;
|
|
4244
|
+
};
|
|
4245
|
+
extensions: {
|
|
4246
|
+
[x: string]: unknown;
|
|
4247
|
+
};
|
|
4248
|
+
}[];
|
|
4249
|
+
related: {
|
|
4250
|
+
id: number;
|
|
4251
|
+
name: string;
|
|
4252
|
+
slug: string;
|
|
4253
|
+
parentId: number | null;
|
|
4254
|
+
type: string;
|
|
4255
|
+
variationDescription: string;
|
|
4256
|
+
url: string | null;
|
|
4257
|
+
sku: string | null;
|
|
4258
|
+
shortDescription: string;
|
|
4259
|
+
description: string;
|
|
4260
|
+
isPasswordProtected: boolean;
|
|
4261
|
+
isOnSale: boolean;
|
|
4262
|
+
prices: {
|
|
4263
|
+
price: number;
|
|
4264
|
+
regularPrice: number;
|
|
4265
|
+
salePrice: number | null;
|
|
4266
|
+
priceRange: {
|
|
4267
|
+
minAmount: number;
|
|
4268
|
+
maxAmount: number;
|
|
4269
|
+
} | null;
|
|
4270
|
+
};
|
|
4271
|
+
currencyFormat: {
|
|
4272
|
+
currencyCode: string;
|
|
4273
|
+
currencySymbol: string;
|
|
4274
|
+
currencyPrefix: string;
|
|
4275
|
+
currencySuffix: string;
|
|
4276
|
+
currencyMinorUnit: number;
|
|
4277
|
+
currencyDecimalSeparator: string;
|
|
4278
|
+
currencyThousandSeparator: string;
|
|
4279
|
+
};
|
|
4280
|
+
priceHtml: string;
|
|
4281
|
+
averageRating: number;
|
|
4282
|
+
reviewCount: number;
|
|
4283
|
+
images: {
|
|
4284
|
+
id: number;
|
|
4285
|
+
name: string;
|
|
4286
|
+
src: string;
|
|
4287
|
+
type: "image";
|
|
4288
|
+
alt: string;
|
|
4289
|
+
mime?: string | undefined;
|
|
4290
|
+
width?: number | undefined;
|
|
4291
|
+
height?: number | undefined;
|
|
4292
|
+
variants?: {
|
|
4293
|
+
src: string;
|
|
4294
|
+
width: number;
|
|
4295
|
+
height: number;
|
|
4296
|
+
}[] | undefined;
|
|
4297
|
+
srcset?: string | undefined;
|
|
4298
|
+
}[];
|
|
4299
|
+
categories: {
|
|
4300
|
+
id: number;
|
|
4301
|
+
name: string;
|
|
4302
|
+
slug: string;
|
|
4303
|
+
url: string | null;
|
|
4304
|
+
}[];
|
|
4305
|
+
tags: {
|
|
4306
|
+
id: number;
|
|
4307
|
+
name: string;
|
|
4308
|
+
slug: string;
|
|
4309
|
+
url: string | null;
|
|
4310
|
+
}[];
|
|
4311
|
+
brands: {
|
|
4312
|
+
id: number;
|
|
4313
|
+
name: string;
|
|
4314
|
+
slug: string;
|
|
4315
|
+
url: string | null;
|
|
4316
|
+
}[];
|
|
4317
|
+
attributes: {
|
|
4318
|
+
id: number;
|
|
4319
|
+
name: string;
|
|
4320
|
+
taxonomy: string | null;
|
|
4321
|
+
hasVariations: boolean;
|
|
4322
|
+
terms: {
|
|
4323
|
+
id: number;
|
|
4324
|
+
name: string;
|
|
4325
|
+
slug: string;
|
|
4326
|
+
isDefault: boolean;
|
|
4327
|
+
}[];
|
|
4328
|
+
}[];
|
|
4329
|
+
variations: {
|
|
4330
|
+
id: number;
|
|
4331
|
+
attributes: {
|
|
4332
|
+
name: string;
|
|
4333
|
+
value: string | null;
|
|
4334
|
+
}[];
|
|
4335
|
+
}[];
|
|
4336
|
+
groupedProductIds: number[];
|
|
4337
|
+
hasOptions: boolean;
|
|
4338
|
+
isPurchasable: boolean;
|
|
4339
|
+
isInStock: boolean;
|
|
4340
|
+
isOnBackorder: boolean;
|
|
4341
|
+
stockAvailability: {
|
|
4342
|
+
text: string;
|
|
4343
|
+
class: string;
|
|
4344
|
+
};
|
|
4345
|
+
lowStockRemaining: number | null;
|
|
4346
|
+
isSoldIndividually: boolean;
|
|
4347
|
+
addToCart: {
|
|
4348
|
+
text: string;
|
|
4349
|
+
description: string;
|
|
4350
|
+
singleText: string;
|
|
4351
|
+
minimum: number;
|
|
4352
|
+
maximum: number;
|
|
4353
|
+
multipleOf: number;
|
|
4354
|
+
};
|
|
4355
|
+
extensions: {
|
|
4356
|
+
[x: string]: unknown;
|
|
4357
|
+
};
|
|
4358
|
+
}[];
|
|
4359
|
+
} | null;
|
|
1648
4360
|
}[];
|
|
1649
4361
|
meta: {
|
|
1650
4362
|
page: number;
|
|
@@ -1658,48 +4370,55 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1658
4370
|
}, {}>;
|
|
1659
4371
|
filters: kizlo0.Procedure<"api", {
|
|
1660
4372
|
query?: {
|
|
4373
|
+
type?: string | undefined;
|
|
4374
|
+
sku?: string | string[] | undefined;
|
|
4375
|
+
slug?: string | string[] | undefined;
|
|
4376
|
+
search?: string | undefined;
|
|
4377
|
+
attributes?: {
|
|
4378
|
+
taxonomy: string;
|
|
4379
|
+
slug?: string | string[] | undefined;
|
|
4380
|
+
termId?: string | number | (string | number)[] | undefined;
|
|
4381
|
+
operator?: "in" | "not_in" | "and" | undefined;
|
|
4382
|
+
}[] | undefined;
|
|
4383
|
+
related?: string | number | undefined;
|
|
4384
|
+
parent?: string | number | (string | number)[] | undefined;
|
|
1661
4385
|
page?: string | number | undefined;
|
|
1662
4386
|
perPage?: string | number | undefined;
|
|
1663
|
-
search?: string | undefined;
|
|
1664
|
-
slug?: string | undefined;
|
|
1665
4387
|
after?: string | undefined;
|
|
1666
4388
|
before?: string | undefined;
|
|
4389
|
+
dateColumn?: "date" | "date_gmt" | "modified" | "modified_gmt" | undefined;
|
|
1667
4390
|
exclude?: string | number | (string | number)[] | undefined;
|
|
1668
4391
|
include?: string | number | (string | number)[] | undefined;
|
|
1669
4392
|
offset?: string | number | undefined;
|
|
1670
4393
|
order?: "asc" | "desc" | undefined;
|
|
1671
|
-
|
|
1672
|
-
|
|
4394
|
+
rating?: string | number | (string | number)[] | undefined;
|
|
4395
|
+
orderBy?: "slug" | "date" | "price" | "id" | "modified" | "include" | "title" | "popularity" | "rating" | "menu_order" | "comment_count" | undefined;
|
|
1673
4396
|
parentExclude?: string | number | (string | number)[] | undefined;
|
|
1674
|
-
type?: "simple" | "grouped" | "external" | "variable" | "variation" | undefined;
|
|
1675
|
-
sku?: string | undefined;
|
|
1676
4397
|
featured?: string | boolean | undefined;
|
|
1677
|
-
category?: string | undefined;
|
|
4398
|
+
category?: string | number | (string | number)[] | undefined;
|
|
1678
4399
|
categoryOperator?: "in" | "not_in" | "and" | undefined;
|
|
1679
|
-
brand?: string | undefined;
|
|
4400
|
+
brand?: string | number | (string | number)[] | undefined;
|
|
1680
4401
|
brandOperator?: "in" | "not_in" | "and" | undefined;
|
|
1681
|
-
tag?: string | undefined;
|
|
4402
|
+
tag?: string | number | (string | number)[] | undefined;
|
|
1682
4403
|
tagOperator?: "in" | "not_in" | "and" | undefined;
|
|
1683
4404
|
onSale?: string | boolean | undefined;
|
|
1684
|
-
minPrice?: string | undefined;
|
|
1685
|
-
maxPrice?: string | undefined;
|
|
4405
|
+
minPrice?: string | number | undefined;
|
|
4406
|
+
maxPrice?: string | number | undefined;
|
|
1686
4407
|
stockStatus?: "instock" | "outofstock" | "onbackorder" | ("instock" | "outofstock" | "onbackorder")[] | undefined;
|
|
1687
|
-
attributes?: {
|
|
1688
|
-
attribute?: string | undefined;
|
|
1689
|
-
slug?: string | string[] | undefined;
|
|
1690
|
-
termId?: string | number | (string | number)[] | undefined;
|
|
1691
|
-
operator?: "in" | "not_in" | "and" | undefined;
|
|
1692
|
-
}[] | undefined;
|
|
1693
4408
|
attributeRelation?: "in" | "and" | undefined;
|
|
1694
4409
|
catalogVisibility?: "any" | "search" | "visible" | "catalog" | "hidden" | undefined;
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
4410
|
+
taxonomies?: {
|
|
4411
|
+
taxonomy: string;
|
|
4412
|
+
termIds?: string | number | (string | number)[] | undefined;
|
|
4413
|
+
slugs?: string | string[] | undefined;
|
|
4414
|
+
operator?: "in" | "not_in" | "and" | undefined;
|
|
4415
|
+
}[] | undefined;
|
|
4416
|
+
ratingCounts?: string | boolean | undefined;
|
|
4417
|
+
stockStatusCounts?: string | boolean | undefined;
|
|
4418
|
+
taxonomyCounts?: string[] | undefined;
|
|
4419
|
+
attributeCounts?: {
|
|
1701
4420
|
taxonomy: string;
|
|
1702
|
-
|
|
4421
|
+
operator?: "and" | "or" | undefined;
|
|
1703
4422
|
}[] | undefined;
|
|
1704
4423
|
} | undefined;
|
|
1705
4424
|
}, {
|
|
@@ -1707,6 +4426,10 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1707
4426
|
minPrice: number;
|
|
1708
4427
|
maxPrice: number;
|
|
1709
4428
|
};
|
|
4429
|
+
ratingCounts: {
|
|
4430
|
+
count: number;
|
|
4431
|
+
rating: 5 | 2 | 1 | 4 | 3;
|
|
4432
|
+
}[];
|
|
1710
4433
|
stockStatuses: {
|
|
1711
4434
|
count: number;
|
|
1712
4435
|
status: "instock" | "outofstock" | "onbackorder";
|
|
@@ -1719,7 +4442,7 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1719
4442
|
taxonomy: string;
|
|
1720
4443
|
description: string;
|
|
1721
4444
|
count: number;
|
|
1722
|
-
type: "
|
|
4445
|
+
type: "text" | "image" | "color";
|
|
1723
4446
|
swatch: string | null;
|
|
1724
4447
|
}[];
|
|
1725
4448
|
taxonomyTerms: {
|
|
@@ -1733,8 +4456,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1733
4456
|
image: {
|
|
1734
4457
|
id: number;
|
|
1735
4458
|
name: string;
|
|
1736
|
-
alt: string;
|
|
1737
4459
|
src: string;
|
|
4460
|
+
type: "image";
|
|
4461
|
+
alt: string;
|
|
1738
4462
|
mime?: string | undefined;
|
|
1739
4463
|
width?: number | undefined;
|
|
1740
4464
|
height?: number | undefined;
|
|
@@ -1777,8 +4501,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1777
4501
|
images: {
|
|
1778
4502
|
id: number;
|
|
1779
4503
|
name: string;
|
|
1780
|
-
alt: string;
|
|
1781
4504
|
src: string;
|
|
4505
|
+
type: "image";
|
|
4506
|
+
alt: string;
|
|
1782
4507
|
mime?: string | undefined;
|
|
1783
4508
|
width?: number | undefined;
|
|
1784
4509
|
height?: number | undefined;
|
|
@@ -1968,8 +4693,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
1968
4693
|
images: {
|
|
1969
4694
|
id: number;
|
|
1970
4695
|
name: string;
|
|
1971
|
-
alt: string;
|
|
1972
4696
|
src: string;
|
|
4697
|
+
type: "image";
|
|
4698
|
+
alt: string;
|
|
1973
4699
|
mime?: string | undefined;
|
|
1974
4700
|
width?: number | undefined;
|
|
1975
4701
|
height?: number | undefined;
|
|
@@ -2188,8 +4914,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
2188
4914
|
images: {
|
|
2189
4915
|
id: number;
|
|
2190
4916
|
name: string;
|
|
2191
|
-
alt: string;
|
|
2192
4917
|
src: string;
|
|
4918
|
+
type: "image";
|
|
4919
|
+
alt: string;
|
|
2193
4920
|
mime?: string | undefined;
|
|
2194
4921
|
width?: number | undefined;
|
|
2195
4922
|
height?: number | undefined;
|
|
@@ -2478,8 +5205,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
2478
5205
|
images: {
|
|
2479
5206
|
id: number;
|
|
2480
5207
|
name: string;
|
|
2481
|
-
alt: string;
|
|
2482
5208
|
src: string;
|
|
5209
|
+
type: "image";
|
|
5210
|
+
alt: string;
|
|
2483
5211
|
mime?: string | undefined;
|
|
2484
5212
|
width?: number | undefined;
|
|
2485
5213
|
height?: number | undefined;
|
|
@@ -2735,4 +5463,4 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
|
|
|
2735
5463
|
};
|
|
2736
5464
|
}>;
|
|
2737
5465
|
//#endregion
|
|
2738
|
-
export { woocommerce };
|
|
5466
|
+
export { ListProductInput, ListProductInputOut, PRODUCT_ATTRIBUTE_RELATIONS, PRODUCT_CATALOG_VISIBILITIES, PRODUCT_DATE_COLUMNS, PRODUCT_RATINGS, PRODUCT_STOCK_STATUSES, PRODUCT_TYPES, Product, ProductAddToCart, ProductAttributeCount, ProductAttributeFilter, ProductAttributeRelation, ProductAttributeSummary, ProductAttributeTermSummary, ProductBrandSummary, ProductCatalogVisibility, ProductCategorySummary, ProductDateColumn, ProductDimensions, ProductExtensions, ProductFilters, ProductFiltersAttributeTerm, ProductFiltersPriceRange, ProductFiltersRatingCount, ProductFiltersStockStatus, ProductFiltersTaxonomyTerm, ProductFiltersTerm, ProductList, ProductOrderBy, ProductPriceRange, ProductPrices, ProductRating, ProductRecommendations, ProductStockAvailability, ProductStockStatus, ProductSummary, ProductTagSummary, ProductTaxonomyFilter, ProductTaxonomyOperator, ProductTermSummary, ProductType, ProductVariationAttributeSummary, ProductVariationSummary, RetrieveProductFiltersInput, RetrieveProductFiltersInputOut, RetrieveProductInput, SWATCH_TYPES, SwatchType, woocommerce };
|