@kizlo/woocommerce 0.2.2 → 0.4.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 CHANGED
@@ -1,5 +1,2025 @@
1
1
  import * as kizlo0 from "kizlo";
2
+ import { WP_CustomFields } from "kizlo";
3
+ import { z } from "zod/v4";
2
4
 
5
+ //#region src/product/types.d.ts
6
+
7
+ /** The exact resolved custom-field shape configured for products on this WordPress site. */
8
+ type ProductCustomFields = WP_CustomFields<"postTypes.product">;
9
+ //#endregion
10
+ //#region src/product/schema.d.ts
11
+ declare const SWATCH_TYPES: readonly ["text", "color", "image"];
12
+ declare const SwatchType: z.ZodEnum<{
13
+ text: "text";
14
+ color: "color";
15
+ image: "image";
16
+ }>;
17
+ type SwatchType = z.infer<typeof SwatchType>;
18
+ declare const PRODUCT_TYPES: readonly ["simple", "grouped", "external", "variable", "variation"];
19
+ declare const ProductType: z.ZodEnum<{
20
+ external: "external";
21
+ simple: "simple";
22
+ grouped: "grouped";
23
+ variable: "variable";
24
+ variation: "variation";
25
+ }>;
26
+ type ProductType = z.infer<typeof ProductType>;
27
+ declare const ProductTermSummary: z.ZodObject<{
28
+ id: z.ZodNumber;
29
+ name: z.ZodString;
30
+ slug: z.ZodString;
31
+ url: z.ZodNullable<z.ZodString>;
32
+ }, z.core.$strip>;
33
+ type ProductTermSummary = z.infer<typeof ProductTermSummary>;
34
+ declare const ProductTagSummary: z.ZodObject<{
35
+ id: z.ZodNumber;
36
+ name: z.ZodString;
37
+ slug: z.ZodString;
38
+ url: z.ZodNullable<z.ZodString>;
39
+ }, z.core.$strip>;
40
+ type ProductTagSummary = z.infer<typeof ProductTagSummary>;
41
+ declare const ProductBrandSummary: z.ZodObject<{
42
+ id: z.ZodNumber;
43
+ name: z.ZodString;
44
+ slug: z.ZodString;
45
+ url: z.ZodNullable<z.ZodString>;
46
+ }, z.core.$strip>;
47
+ type ProductBrandSummary = z.infer<typeof ProductBrandSummary>;
48
+ declare const ProductCategorySummary: z.ZodObject<{
49
+ id: z.ZodNumber;
50
+ name: z.ZodString;
51
+ slug: z.ZodString;
52
+ url: z.ZodNullable<z.ZodString>;
53
+ }, z.core.$strip>;
54
+ type ProductCategorySummary = z.infer<typeof ProductCategorySummary>;
55
+ declare const ProductAttributeTermSummary: z.ZodObject<{
56
+ id: z.ZodNumber;
57
+ name: z.ZodString;
58
+ slug: z.ZodString;
59
+ isDefault: z.ZodBoolean;
60
+ }, z.core.$strip>;
61
+ type ProductAttributeTermSummary = z.infer<typeof ProductAttributeTermSummary>;
62
+ declare const ProductAttributeSummary: z.ZodObject<{
63
+ id: z.ZodNumber;
64
+ name: z.ZodString;
65
+ taxonomy: z.ZodNullable<z.ZodString>;
66
+ hasVariations: z.ZodBoolean;
67
+ terms: z.ZodArray<z.ZodObject<{
68
+ id: z.ZodNumber;
69
+ name: z.ZodString;
70
+ slug: z.ZodString;
71
+ isDefault: z.ZodBoolean;
72
+ }, z.core.$strip>>;
73
+ }, z.core.$strip>;
74
+ type ProductAttributeSummary = z.infer<typeof ProductAttributeSummary>;
75
+ declare const ProductVariationAttributeSummary: z.ZodObject<{
76
+ name: z.ZodString;
77
+ value: z.ZodNullable<z.ZodString>;
78
+ }, z.core.$strip>;
79
+ type ProductVariationAttributeSummary = z.infer<typeof ProductVariationAttributeSummary>;
80
+ declare const ProductVariationSummary: z.ZodObject<{
81
+ id: z.ZodNumber;
82
+ attributes: z.ZodArray<z.ZodObject<{
83
+ name: z.ZodString;
84
+ value: z.ZodNullable<z.ZodString>;
85
+ }, z.core.$strip>>;
86
+ }, z.core.$strip>;
87
+ type ProductVariationSummary = z.infer<typeof ProductVariationSummary>;
88
+ declare const ProductPriceRange: z.ZodObject<{
89
+ minAmount: z.ZodNumber;
90
+ maxAmount: z.ZodNumber;
91
+ }, z.core.$strip>;
92
+ type ProductPriceRange = z.infer<typeof ProductPriceRange>;
93
+ declare const ProductPrices: z.ZodObject<{
94
+ price: z.ZodNumber;
95
+ regularPrice: z.ZodNumber;
96
+ salePrice: z.ZodNullable<z.ZodNumber>;
97
+ priceRange: z.ZodNullable<z.ZodObject<{
98
+ minAmount: z.ZodNumber;
99
+ maxAmount: z.ZodNumber;
100
+ }, z.core.$strip>>;
101
+ }, z.core.$strip>;
102
+ type ProductPrices = z.infer<typeof ProductPrices>;
103
+ declare const ProductStockAvailability: z.ZodObject<{
104
+ text: z.ZodString;
105
+ class: z.ZodString;
106
+ }, z.core.$strip>;
107
+ type ProductStockAvailability = z.infer<typeof ProductStockAvailability>;
108
+ declare const ProductDimensions: z.ZodObject<{
109
+ length: z.ZodString;
110
+ width: z.ZodString;
111
+ height: z.ZodString;
112
+ }, z.core.$strip>;
113
+ type ProductDimensions = z.infer<typeof ProductDimensions>;
114
+ declare const ProductAddToCart: z.ZodObject<{
115
+ text: z.ZodString;
116
+ description: z.ZodString;
117
+ singleText: z.ZodString;
118
+ minimum: z.ZodNumber;
119
+ maximum: z.ZodNumber;
120
+ multipleOf: z.ZodNumber;
121
+ }, z.core.$strip>;
122
+ type ProductAddToCart = z.infer<typeof ProductAddToCart>;
123
+ declare const ProductExtensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
124
+ type ProductExtensions = z.infer<typeof ProductExtensions>;
125
+ declare const ProductSummary: z.ZodObject<{
126
+ id: z.ZodNumber;
127
+ name: z.ZodString;
128
+ slug: z.ZodString;
129
+ parentId: z.ZodNullable<z.ZodNumber>;
130
+ type: z.ZodString;
131
+ variationDescription: z.ZodString;
132
+ url: z.ZodNullable<z.ZodString>;
133
+ sku: z.ZodNullable<z.ZodString>;
134
+ shortDescription: z.ZodString;
135
+ description: z.ZodString;
136
+ isPasswordProtected: z.ZodBoolean;
137
+ isOnSale: z.ZodBoolean;
138
+ prices: z.ZodObject<{
139
+ price: z.ZodNumber;
140
+ regularPrice: z.ZodNumber;
141
+ salePrice: z.ZodNullable<z.ZodNumber>;
142
+ priceRange: z.ZodNullable<z.ZodObject<{
143
+ minAmount: z.ZodNumber;
144
+ maxAmount: z.ZodNumber;
145
+ }, z.core.$strip>>;
146
+ }, z.core.$strip>;
147
+ currencyFormat: z.ZodObject<{
148
+ currencyCode: z.ZodString;
149
+ currencySymbol: z.ZodString;
150
+ currencyPrefix: z.ZodString;
151
+ currencySuffix: z.ZodString;
152
+ currencyMinorUnit: z.ZodNumber;
153
+ currencyDecimalSeparator: z.ZodString;
154
+ currencyThousandSeparator: z.ZodString;
155
+ }, z.core.$strip>;
156
+ priceHtml: z.ZodString;
157
+ averageRating: z.ZodNumber;
158
+ reviewCount: z.ZodNumber;
159
+ images: z.ZodArray<z.ZodObject<{
160
+ id: z.ZodNumber;
161
+ name: z.ZodString;
162
+ src: z.ZodString;
163
+ mime: z.ZodOptional<z.ZodString>;
164
+ type: z.ZodLiteral<"image">;
165
+ alt: z.ZodString;
166
+ width: z.ZodOptional<z.ZodNumber>;
167
+ height: z.ZodOptional<z.ZodNumber>;
168
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
169
+ src: z.ZodString;
170
+ width: z.ZodNumber;
171
+ height: z.ZodNumber;
172
+ }, z.core.$strict>>>;
173
+ srcset: z.ZodOptional<z.ZodString>;
174
+ }, z.core.$strict>>;
175
+ categories: 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
+ tags: 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
+ brands: z.ZodArray<z.ZodObject<{
188
+ id: z.ZodNumber;
189
+ name: z.ZodString;
190
+ slug: z.ZodString;
191
+ url: z.ZodNullable<z.ZodString>;
192
+ }, z.core.$strip>>;
193
+ attributes: z.ZodArray<z.ZodObject<{
194
+ id: z.ZodNumber;
195
+ name: z.ZodString;
196
+ taxonomy: z.ZodNullable<z.ZodString>;
197
+ hasVariations: z.ZodBoolean;
198
+ terms: z.ZodArray<z.ZodObject<{
199
+ id: z.ZodNumber;
200
+ name: z.ZodString;
201
+ slug: z.ZodString;
202
+ isDefault: z.ZodBoolean;
203
+ }, z.core.$strip>>;
204
+ }, z.core.$strip>>;
205
+ variations: z.ZodArray<z.ZodObject<{
206
+ id: z.ZodNumber;
207
+ attributes: z.ZodArray<z.ZodObject<{
208
+ name: z.ZodString;
209
+ value: z.ZodNullable<z.ZodString>;
210
+ }, z.core.$strip>>;
211
+ }, z.core.$strip>>;
212
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
213
+ hasOptions: z.ZodBoolean;
214
+ isPurchasable: z.ZodBoolean;
215
+ isInStock: z.ZodBoolean;
216
+ isOnBackorder: z.ZodBoolean;
217
+ stockAvailability: z.ZodObject<{
218
+ text: z.ZodString;
219
+ class: z.ZodString;
220
+ }, z.core.$strip>;
221
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
222
+ isSoldIndividually: z.ZodBoolean;
223
+ addToCart: z.ZodObject<{
224
+ text: z.ZodString;
225
+ description: z.ZodString;
226
+ singleText: z.ZodString;
227
+ minimum: z.ZodNumber;
228
+ maximum: z.ZodNumber;
229
+ multipleOf: z.ZodNumber;
230
+ }, z.core.$strip>;
231
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
232
+ }, z.core.$strip>;
233
+ type ProductSummary = z.infer<typeof ProductSummary>;
234
+ declare const ProductRecommendations: z.ZodObject<{
235
+ upsells: z.ZodArray<z.ZodObject<{
236
+ id: z.ZodNumber;
237
+ name: z.ZodString;
238
+ slug: z.ZodString;
239
+ parentId: z.ZodNullable<z.ZodNumber>;
240
+ type: z.ZodString;
241
+ variationDescription: z.ZodString;
242
+ url: z.ZodNullable<z.ZodString>;
243
+ sku: z.ZodNullable<z.ZodString>;
244
+ shortDescription: z.ZodString;
245
+ description: z.ZodString;
246
+ isPasswordProtected: z.ZodBoolean;
247
+ isOnSale: z.ZodBoolean;
248
+ prices: z.ZodObject<{
249
+ price: z.ZodNumber;
250
+ regularPrice: z.ZodNumber;
251
+ salePrice: z.ZodNullable<z.ZodNumber>;
252
+ priceRange: z.ZodNullable<z.ZodObject<{
253
+ minAmount: z.ZodNumber;
254
+ maxAmount: z.ZodNumber;
255
+ }, z.core.$strip>>;
256
+ }, z.core.$strip>;
257
+ currencyFormat: z.ZodObject<{
258
+ currencyCode: z.ZodString;
259
+ currencySymbol: z.ZodString;
260
+ currencyPrefix: z.ZodString;
261
+ currencySuffix: z.ZodString;
262
+ currencyMinorUnit: z.ZodNumber;
263
+ currencyDecimalSeparator: z.ZodString;
264
+ currencyThousandSeparator: z.ZodString;
265
+ }, z.core.$strip>;
266
+ priceHtml: z.ZodString;
267
+ averageRating: z.ZodNumber;
268
+ reviewCount: z.ZodNumber;
269
+ images: z.ZodArray<z.ZodObject<{
270
+ id: z.ZodNumber;
271
+ name: z.ZodString;
272
+ src: z.ZodString;
273
+ mime: z.ZodOptional<z.ZodString>;
274
+ type: z.ZodLiteral<"image">;
275
+ alt: z.ZodString;
276
+ width: z.ZodOptional<z.ZodNumber>;
277
+ height: z.ZodOptional<z.ZodNumber>;
278
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
279
+ src: z.ZodString;
280
+ width: z.ZodNumber;
281
+ height: z.ZodNumber;
282
+ }, z.core.$strict>>>;
283
+ srcset: z.ZodOptional<z.ZodString>;
284
+ }, z.core.$strict>>;
285
+ categories: 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
+ tags: 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
+ brands: z.ZodArray<z.ZodObject<{
298
+ id: z.ZodNumber;
299
+ name: z.ZodString;
300
+ slug: z.ZodString;
301
+ url: z.ZodNullable<z.ZodString>;
302
+ }, z.core.$strip>>;
303
+ attributes: z.ZodArray<z.ZodObject<{
304
+ id: z.ZodNumber;
305
+ name: z.ZodString;
306
+ taxonomy: z.ZodNullable<z.ZodString>;
307
+ hasVariations: z.ZodBoolean;
308
+ terms: z.ZodArray<z.ZodObject<{
309
+ id: z.ZodNumber;
310
+ name: z.ZodString;
311
+ slug: z.ZodString;
312
+ isDefault: z.ZodBoolean;
313
+ }, z.core.$strip>>;
314
+ }, z.core.$strip>>;
315
+ variations: z.ZodArray<z.ZodObject<{
316
+ id: z.ZodNumber;
317
+ attributes: z.ZodArray<z.ZodObject<{
318
+ name: z.ZodString;
319
+ value: z.ZodNullable<z.ZodString>;
320
+ }, z.core.$strip>>;
321
+ }, z.core.$strip>>;
322
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
323
+ hasOptions: z.ZodBoolean;
324
+ isPurchasable: z.ZodBoolean;
325
+ isInStock: z.ZodBoolean;
326
+ isOnBackorder: z.ZodBoolean;
327
+ stockAvailability: z.ZodObject<{
328
+ text: z.ZodString;
329
+ class: z.ZodString;
330
+ }, z.core.$strip>;
331
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
332
+ isSoldIndividually: z.ZodBoolean;
333
+ addToCart: z.ZodObject<{
334
+ text: z.ZodString;
335
+ description: z.ZodString;
336
+ singleText: z.ZodString;
337
+ minimum: z.ZodNumber;
338
+ maximum: z.ZodNumber;
339
+ multipleOf: z.ZodNumber;
340
+ }, z.core.$strip>;
341
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
342
+ }, z.core.$strip>>;
343
+ crossSells: z.ZodArray<z.ZodObject<{
344
+ id: z.ZodNumber;
345
+ name: z.ZodString;
346
+ slug: z.ZodString;
347
+ parentId: z.ZodNullable<z.ZodNumber>;
348
+ type: z.ZodString;
349
+ variationDescription: z.ZodString;
350
+ url: z.ZodNullable<z.ZodString>;
351
+ sku: z.ZodNullable<z.ZodString>;
352
+ shortDescription: z.ZodString;
353
+ description: z.ZodString;
354
+ isPasswordProtected: z.ZodBoolean;
355
+ isOnSale: z.ZodBoolean;
356
+ prices: z.ZodObject<{
357
+ price: z.ZodNumber;
358
+ regularPrice: z.ZodNumber;
359
+ salePrice: z.ZodNullable<z.ZodNumber>;
360
+ priceRange: z.ZodNullable<z.ZodObject<{
361
+ minAmount: z.ZodNumber;
362
+ maxAmount: z.ZodNumber;
363
+ }, z.core.$strip>>;
364
+ }, z.core.$strip>;
365
+ currencyFormat: z.ZodObject<{
366
+ currencyCode: z.ZodString;
367
+ currencySymbol: z.ZodString;
368
+ currencyPrefix: z.ZodString;
369
+ currencySuffix: z.ZodString;
370
+ currencyMinorUnit: z.ZodNumber;
371
+ currencyDecimalSeparator: z.ZodString;
372
+ currencyThousandSeparator: z.ZodString;
373
+ }, z.core.$strip>;
374
+ priceHtml: z.ZodString;
375
+ averageRating: z.ZodNumber;
376
+ reviewCount: z.ZodNumber;
377
+ images: z.ZodArray<z.ZodObject<{
378
+ id: z.ZodNumber;
379
+ name: z.ZodString;
380
+ src: z.ZodString;
381
+ mime: z.ZodOptional<z.ZodString>;
382
+ type: z.ZodLiteral<"image">;
383
+ alt: z.ZodString;
384
+ width: z.ZodOptional<z.ZodNumber>;
385
+ height: z.ZodOptional<z.ZodNumber>;
386
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
387
+ src: z.ZodString;
388
+ width: z.ZodNumber;
389
+ height: z.ZodNumber;
390
+ }, z.core.$strict>>>;
391
+ srcset: z.ZodOptional<z.ZodString>;
392
+ }, z.core.$strict>>;
393
+ categories: 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
+ tags: 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
+ brands: z.ZodArray<z.ZodObject<{
406
+ id: z.ZodNumber;
407
+ name: z.ZodString;
408
+ slug: z.ZodString;
409
+ url: z.ZodNullable<z.ZodString>;
410
+ }, z.core.$strip>>;
411
+ attributes: z.ZodArray<z.ZodObject<{
412
+ id: z.ZodNumber;
413
+ name: z.ZodString;
414
+ taxonomy: z.ZodNullable<z.ZodString>;
415
+ hasVariations: z.ZodBoolean;
416
+ terms: z.ZodArray<z.ZodObject<{
417
+ id: z.ZodNumber;
418
+ name: z.ZodString;
419
+ slug: z.ZodString;
420
+ isDefault: z.ZodBoolean;
421
+ }, z.core.$strip>>;
422
+ }, z.core.$strip>>;
423
+ variations: z.ZodArray<z.ZodObject<{
424
+ id: z.ZodNumber;
425
+ attributes: z.ZodArray<z.ZodObject<{
426
+ name: z.ZodString;
427
+ value: z.ZodNullable<z.ZodString>;
428
+ }, z.core.$strip>>;
429
+ }, z.core.$strip>>;
430
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
431
+ hasOptions: z.ZodBoolean;
432
+ isPurchasable: z.ZodBoolean;
433
+ isInStock: z.ZodBoolean;
434
+ isOnBackorder: z.ZodBoolean;
435
+ stockAvailability: z.ZodObject<{
436
+ text: z.ZodString;
437
+ class: z.ZodString;
438
+ }, z.core.$strip>;
439
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
440
+ isSoldIndividually: z.ZodBoolean;
441
+ addToCart: z.ZodObject<{
442
+ text: z.ZodString;
443
+ description: z.ZodString;
444
+ singleText: z.ZodString;
445
+ minimum: z.ZodNumber;
446
+ maximum: z.ZodNumber;
447
+ multipleOf: z.ZodNumber;
448
+ }, z.core.$strip>;
449
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
450
+ }, z.core.$strip>>;
451
+ related: z.ZodArray<z.ZodObject<{
452
+ id: z.ZodNumber;
453
+ name: z.ZodString;
454
+ slug: z.ZodString;
455
+ parentId: z.ZodNullable<z.ZodNumber>;
456
+ type: z.ZodString;
457
+ variationDescription: z.ZodString;
458
+ url: z.ZodNullable<z.ZodString>;
459
+ sku: z.ZodNullable<z.ZodString>;
460
+ shortDescription: z.ZodString;
461
+ description: z.ZodString;
462
+ isPasswordProtected: z.ZodBoolean;
463
+ isOnSale: z.ZodBoolean;
464
+ prices: z.ZodObject<{
465
+ price: z.ZodNumber;
466
+ regularPrice: z.ZodNumber;
467
+ salePrice: z.ZodNullable<z.ZodNumber>;
468
+ priceRange: z.ZodNullable<z.ZodObject<{
469
+ minAmount: z.ZodNumber;
470
+ maxAmount: z.ZodNumber;
471
+ }, z.core.$strip>>;
472
+ }, z.core.$strip>;
473
+ currencyFormat: z.ZodObject<{
474
+ currencyCode: z.ZodString;
475
+ currencySymbol: z.ZodString;
476
+ currencyPrefix: z.ZodString;
477
+ currencySuffix: z.ZodString;
478
+ currencyMinorUnit: z.ZodNumber;
479
+ currencyDecimalSeparator: z.ZodString;
480
+ currencyThousandSeparator: z.ZodString;
481
+ }, z.core.$strip>;
482
+ priceHtml: z.ZodString;
483
+ averageRating: z.ZodNumber;
484
+ reviewCount: z.ZodNumber;
485
+ images: z.ZodArray<z.ZodObject<{
486
+ id: z.ZodNumber;
487
+ name: z.ZodString;
488
+ src: z.ZodString;
489
+ mime: z.ZodOptional<z.ZodString>;
490
+ type: z.ZodLiteral<"image">;
491
+ alt: z.ZodString;
492
+ width: z.ZodOptional<z.ZodNumber>;
493
+ height: z.ZodOptional<z.ZodNumber>;
494
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
495
+ src: z.ZodString;
496
+ width: z.ZodNumber;
497
+ height: z.ZodNumber;
498
+ }, z.core.$strict>>>;
499
+ srcset: z.ZodOptional<z.ZodString>;
500
+ }, z.core.$strict>>;
501
+ categories: 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
+ tags: 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
+ brands: z.ZodArray<z.ZodObject<{
514
+ id: z.ZodNumber;
515
+ name: z.ZodString;
516
+ slug: z.ZodString;
517
+ url: z.ZodNullable<z.ZodString>;
518
+ }, z.core.$strip>>;
519
+ attributes: z.ZodArray<z.ZodObject<{
520
+ id: z.ZodNumber;
521
+ name: z.ZodString;
522
+ taxonomy: z.ZodNullable<z.ZodString>;
523
+ hasVariations: z.ZodBoolean;
524
+ terms: z.ZodArray<z.ZodObject<{
525
+ id: z.ZodNumber;
526
+ name: z.ZodString;
527
+ slug: z.ZodString;
528
+ isDefault: z.ZodBoolean;
529
+ }, z.core.$strip>>;
530
+ }, z.core.$strip>>;
531
+ variations: z.ZodArray<z.ZodObject<{
532
+ id: z.ZodNumber;
533
+ attributes: z.ZodArray<z.ZodObject<{
534
+ name: z.ZodString;
535
+ value: z.ZodNullable<z.ZodString>;
536
+ }, z.core.$strip>>;
537
+ }, z.core.$strip>>;
538
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
539
+ hasOptions: z.ZodBoolean;
540
+ isPurchasable: z.ZodBoolean;
541
+ isInStock: z.ZodBoolean;
542
+ isOnBackorder: z.ZodBoolean;
543
+ stockAvailability: z.ZodObject<{
544
+ text: z.ZodString;
545
+ class: z.ZodString;
546
+ }, z.core.$strip>;
547
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
548
+ isSoldIndividually: z.ZodBoolean;
549
+ addToCart: z.ZodObject<{
550
+ text: z.ZodString;
551
+ description: z.ZodString;
552
+ singleText: z.ZodString;
553
+ minimum: z.ZodNumber;
554
+ maximum: z.ZodNumber;
555
+ multipleOf: z.ZodNumber;
556
+ }, z.core.$strip>;
557
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
558
+ }, z.core.$strip>>;
559
+ }, z.core.$strip>;
560
+ type ProductRecommendations = z.infer<typeof ProductRecommendations>;
561
+ declare const ProductCustomFieldsSchema: z.ZodType<ProductCustomFields, ProductCustomFields>;
562
+ declare const Product: z.ZodObject<{
563
+ id: z.ZodNumber;
564
+ name: z.ZodString;
565
+ slug: z.ZodString;
566
+ parentId: z.ZodNullable<z.ZodNumber>;
567
+ type: z.ZodString;
568
+ variationDescription: z.ZodString;
569
+ url: z.ZodNullable<z.ZodString>;
570
+ sku: z.ZodNullable<z.ZodString>;
571
+ shortDescription: z.ZodString;
572
+ description: z.ZodString;
573
+ isPasswordProtected: z.ZodBoolean;
574
+ isOnSale: z.ZodBoolean;
575
+ prices: z.ZodObject<{
576
+ price: z.ZodNumber;
577
+ regularPrice: z.ZodNumber;
578
+ salePrice: z.ZodNullable<z.ZodNumber>;
579
+ priceRange: z.ZodNullable<z.ZodObject<{
580
+ minAmount: z.ZodNumber;
581
+ maxAmount: z.ZodNumber;
582
+ }, z.core.$strip>>;
583
+ }, z.core.$strip>;
584
+ currencyFormat: z.ZodObject<{
585
+ currencyCode: z.ZodString;
586
+ currencySymbol: z.ZodString;
587
+ currencyPrefix: z.ZodString;
588
+ currencySuffix: z.ZodString;
589
+ currencyMinorUnit: z.ZodNumber;
590
+ currencyDecimalSeparator: z.ZodString;
591
+ currencyThousandSeparator: z.ZodString;
592
+ }, z.core.$strip>;
593
+ priceHtml: z.ZodString;
594
+ averageRating: z.ZodNumber;
595
+ reviewCount: z.ZodNumber;
596
+ images: z.ZodArray<z.ZodObject<{
597
+ id: z.ZodNumber;
598
+ name: z.ZodString;
599
+ src: z.ZodString;
600
+ mime: z.ZodOptional<z.ZodString>;
601
+ type: z.ZodLiteral<"image">;
602
+ alt: z.ZodString;
603
+ width: z.ZodOptional<z.ZodNumber>;
604
+ height: z.ZodOptional<z.ZodNumber>;
605
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
606
+ src: z.ZodString;
607
+ width: z.ZodNumber;
608
+ height: z.ZodNumber;
609
+ }, z.core.$strict>>>;
610
+ srcset: z.ZodOptional<z.ZodString>;
611
+ }, z.core.$strict>>;
612
+ categories: z.ZodArray<z.ZodObject<{
613
+ id: z.ZodNumber;
614
+ name: z.ZodString;
615
+ slug: z.ZodString;
616
+ url: z.ZodNullable<z.ZodString>;
617
+ }, z.core.$strip>>;
618
+ tags: z.ZodArray<z.ZodObject<{
619
+ id: z.ZodNumber;
620
+ name: z.ZodString;
621
+ slug: z.ZodString;
622
+ url: z.ZodNullable<z.ZodString>;
623
+ }, z.core.$strip>>;
624
+ brands: z.ZodArray<z.ZodObject<{
625
+ id: z.ZodNumber;
626
+ name: z.ZodString;
627
+ slug: z.ZodString;
628
+ url: z.ZodNullable<z.ZodString>;
629
+ }, z.core.$strip>>;
630
+ attributes: z.ZodArray<z.ZodObject<{
631
+ id: z.ZodNumber;
632
+ name: z.ZodString;
633
+ taxonomy: z.ZodNullable<z.ZodString>;
634
+ hasVariations: z.ZodBoolean;
635
+ terms: z.ZodArray<z.ZodObject<{
636
+ id: z.ZodNumber;
637
+ name: z.ZodString;
638
+ slug: z.ZodString;
639
+ isDefault: z.ZodBoolean;
640
+ }, z.core.$strip>>;
641
+ }, z.core.$strip>>;
642
+ variations: z.ZodArray<z.ZodObject<{
643
+ id: z.ZodNumber;
644
+ attributes: z.ZodArray<z.ZodObject<{
645
+ name: z.ZodString;
646
+ value: z.ZodNullable<z.ZodString>;
647
+ }, z.core.$strip>>;
648
+ }, z.core.$strip>>;
649
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
650
+ hasOptions: z.ZodBoolean;
651
+ isPurchasable: z.ZodBoolean;
652
+ isInStock: z.ZodBoolean;
653
+ isOnBackorder: z.ZodBoolean;
654
+ stockAvailability: z.ZodObject<{
655
+ text: z.ZodString;
656
+ class: z.ZodString;
657
+ }, z.core.$strip>;
658
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
659
+ isSoldIndividually: z.ZodBoolean;
660
+ addToCart: z.ZodObject<{
661
+ text: z.ZodString;
662
+ description: z.ZodString;
663
+ singleText: z.ZodString;
664
+ minimum: z.ZodNumber;
665
+ maximum: z.ZodNumber;
666
+ multipleOf: z.ZodNumber;
667
+ }, z.core.$strip>;
668
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
669
+ weight: z.ZodString;
670
+ dimensions: z.ZodObject<{
671
+ length: z.ZodString;
672
+ width: z.ZodString;
673
+ height: z.ZodString;
674
+ }, z.core.$strip>;
675
+ formattedWeight: z.ZodString;
676
+ formattedDimensions: z.ZodString;
677
+ stockQuantity: z.ZodNullable<z.ZodNumber>;
678
+ saleStartsAt: z.ZodNullable<z.ZodNumber>;
679
+ saleEndsAt: z.ZodNullable<z.ZodNumber>;
680
+ seo: z.ZodNullable<z.ZodObject<{
681
+ head: z.ZodObject<{
682
+ title: z.ZodString;
683
+ canonical: z.ZodString;
684
+ robots: z.ZodObject<{
685
+ index: z.ZodString;
686
+ follow: z.ZodString;
687
+ maxSnippet: z.ZodString;
688
+ maxImagePreview: z.ZodString;
689
+ maxVideoPreview: z.ZodString;
690
+ }, z.core.$strip>;
691
+ og: z.ZodObject<{
692
+ locale: z.ZodString;
693
+ type: z.ZodString;
694
+ title: z.ZodString;
695
+ url: z.ZodString;
696
+ siteName: z.ZodString;
697
+ description: z.ZodString;
698
+ image: z.ZodNullable<z.ZodObject<{
699
+ url: z.ZodString;
700
+ width: z.ZodNullable<z.ZodNumber>;
701
+ height: z.ZodNullable<z.ZodNumber>;
702
+ type: z.ZodNullable<z.ZodString>;
703
+ alt: z.ZodNullable<z.ZodString>;
704
+ }, z.core.$strip>>;
705
+ }, z.core.$strip>;
706
+ twitter: z.ZodObject<{
707
+ card: z.ZodEnum<{
708
+ summary: "summary";
709
+ summary_large_image: "summary_large_image";
710
+ }>;
711
+ title: z.ZodString;
712
+ site: z.ZodNullable<z.ZodString>;
713
+ creator: z.ZodNullable<z.ZodString>;
714
+ description: z.ZodString;
715
+ image: z.ZodNullable<z.ZodString>;
716
+ imageAlt: z.ZodNullable<z.ZodString>;
717
+ }, z.core.$strip>;
718
+ article: z.ZodNullable<z.ZodObject<{
719
+ publishedTime: z.ZodString;
720
+ modifiedTime: z.ZodString;
721
+ author: z.ZodString;
722
+ authorUrl: z.ZodString;
723
+ section: z.ZodString;
724
+ tags: z.ZodArray<z.ZodString>;
725
+ }, z.core.$strip>>;
726
+ }, z.core.$strip>;
727
+ schema: z.ZodObject<{
728
+ "@context": z.ZodLiteral<"https://schema.org">;
729
+ "@graph": z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
730
+ }, z.core.$strip>;
731
+ }, z.core.$strip>>;
732
+ custom: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
733
+ recommendations: z.ZodNullable<z.ZodObject<{
734
+ upsells: z.ZodArray<z.ZodObject<{
735
+ id: z.ZodNumber;
736
+ name: z.ZodString;
737
+ slug: z.ZodString;
738
+ parentId: z.ZodNullable<z.ZodNumber>;
739
+ type: z.ZodString;
740
+ variationDescription: z.ZodString;
741
+ url: z.ZodNullable<z.ZodString>;
742
+ sku: z.ZodNullable<z.ZodString>;
743
+ shortDescription: z.ZodString;
744
+ description: z.ZodString;
745
+ isPasswordProtected: z.ZodBoolean;
746
+ isOnSale: z.ZodBoolean;
747
+ prices: z.ZodObject<{
748
+ price: z.ZodNumber;
749
+ regularPrice: z.ZodNumber;
750
+ salePrice: z.ZodNullable<z.ZodNumber>;
751
+ priceRange: z.ZodNullable<z.ZodObject<{
752
+ minAmount: z.ZodNumber;
753
+ maxAmount: z.ZodNumber;
754
+ }, z.core.$strip>>;
755
+ }, z.core.$strip>;
756
+ currencyFormat: z.ZodObject<{
757
+ currencyCode: z.ZodString;
758
+ currencySymbol: z.ZodString;
759
+ currencyPrefix: z.ZodString;
760
+ currencySuffix: z.ZodString;
761
+ currencyMinorUnit: z.ZodNumber;
762
+ currencyDecimalSeparator: z.ZodString;
763
+ currencyThousandSeparator: z.ZodString;
764
+ }, z.core.$strip>;
765
+ priceHtml: z.ZodString;
766
+ averageRating: z.ZodNumber;
767
+ reviewCount: z.ZodNumber;
768
+ images: z.ZodArray<z.ZodObject<{
769
+ id: z.ZodNumber;
770
+ name: z.ZodString;
771
+ src: z.ZodString;
772
+ mime: z.ZodOptional<z.ZodString>;
773
+ type: z.ZodLiteral<"image">;
774
+ alt: z.ZodString;
775
+ width: z.ZodOptional<z.ZodNumber>;
776
+ height: z.ZodOptional<z.ZodNumber>;
777
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
778
+ src: z.ZodString;
779
+ width: z.ZodNumber;
780
+ height: z.ZodNumber;
781
+ }, z.core.$strict>>>;
782
+ srcset: z.ZodOptional<z.ZodString>;
783
+ }, z.core.$strict>>;
784
+ categories: z.ZodArray<z.ZodObject<{
785
+ id: z.ZodNumber;
786
+ name: z.ZodString;
787
+ slug: z.ZodString;
788
+ url: z.ZodNullable<z.ZodString>;
789
+ }, z.core.$strip>>;
790
+ tags: z.ZodArray<z.ZodObject<{
791
+ id: z.ZodNumber;
792
+ name: z.ZodString;
793
+ slug: z.ZodString;
794
+ url: z.ZodNullable<z.ZodString>;
795
+ }, z.core.$strip>>;
796
+ brands: z.ZodArray<z.ZodObject<{
797
+ id: z.ZodNumber;
798
+ name: z.ZodString;
799
+ slug: z.ZodString;
800
+ url: z.ZodNullable<z.ZodString>;
801
+ }, z.core.$strip>>;
802
+ attributes: z.ZodArray<z.ZodObject<{
803
+ id: z.ZodNumber;
804
+ name: z.ZodString;
805
+ taxonomy: z.ZodNullable<z.ZodString>;
806
+ hasVariations: z.ZodBoolean;
807
+ terms: z.ZodArray<z.ZodObject<{
808
+ id: z.ZodNumber;
809
+ name: z.ZodString;
810
+ slug: z.ZodString;
811
+ isDefault: z.ZodBoolean;
812
+ }, z.core.$strip>>;
813
+ }, z.core.$strip>>;
814
+ variations: z.ZodArray<z.ZodObject<{
815
+ id: z.ZodNumber;
816
+ attributes: z.ZodArray<z.ZodObject<{
817
+ name: z.ZodString;
818
+ value: z.ZodNullable<z.ZodString>;
819
+ }, z.core.$strip>>;
820
+ }, z.core.$strip>>;
821
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
822
+ hasOptions: z.ZodBoolean;
823
+ isPurchasable: z.ZodBoolean;
824
+ isInStock: z.ZodBoolean;
825
+ isOnBackorder: z.ZodBoolean;
826
+ stockAvailability: z.ZodObject<{
827
+ text: z.ZodString;
828
+ class: z.ZodString;
829
+ }, z.core.$strip>;
830
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
831
+ isSoldIndividually: z.ZodBoolean;
832
+ addToCart: z.ZodObject<{
833
+ text: z.ZodString;
834
+ description: z.ZodString;
835
+ singleText: z.ZodString;
836
+ minimum: z.ZodNumber;
837
+ maximum: z.ZodNumber;
838
+ multipleOf: z.ZodNumber;
839
+ }, z.core.$strip>;
840
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
841
+ }, z.core.$strip>>;
842
+ crossSells: z.ZodArray<z.ZodObject<{
843
+ id: z.ZodNumber;
844
+ name: z.ZodString;
845
+ slug: z.ZodString;
846
+ parentId: z.ZodNullable<z.ZodNumber>;
847
+ type: z.ZodString;
848
+ variationDescription: z.ZodString;
849
+ url: z.ZodNullable<z.ZodString>;
850
+ sku: z.ZodNullable<z.ZodString>;
851
+ shortDescription: z.ZodString;
852
+ description: z.ZodString;
853
+ isPasswordProtected: z.ZodBoolean;
854
+ isOnSale: z.ZodBoolean;
855
+ prices: z.ZodObject<{
856
+ price: z.ZodNumber;
857
+ regularPrice: z.ZodNumber;
858
+ salePrice: z.ZodNullable<z.ZodNumber>;
859
+ priceRange: z.ZodNullable<z.ZodObject<{
860
+ minAmount: z.ZodNumber;
861
+ maxAmount: z.ZodNumber;
862
+ }, z.core.$strip>>;
863
+ }, z.core.$strip>;
864
+ currencyFormat: z.ZodObject<{
865
+ currencyCode: z.ZodString;
866
+ currencySymbol: z.ZodString;
867
+ currencyPrefix: z.ZodString;
868
+ currencySuffix: z.ZodString;
869
+ currencyMinorUnit: z.ZodNumber;
870
+ currencyDecimalSeparator: z.ZodString;
871
+ currencyThousandSeparator: z.ZodString;
872
+ }, z.core.$strip>;
873
+ priceHtml: z.ZodString;
874
+ averageRating: z.ZodNumber;
875
+ reviewCount: z.ZodNumber;
876
+ images: z.ZodArray<z.ZodObject<{
877
+ id: z.ZodNumber;
878
+ name: z.ZodString;
879
+ src: z.ZodString;
880
+ mime: z.ZodOptional<z.ZodString>;
881
+ type: z.ZodLiteral<"image">;
882
+ alt: z.ZodString;
883
+ width: z.ZodOptional<z.ZodNumber>;
884
+ height: z.ZodOptional<z.ZodNumber>;
885
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
886
+ src: z.ZodString;
887
+ width: z.ZodNumber;
888
+ height: z.ZodNumber;
889
+ }, z.core.$strict>>>;
890
+ srcset: z.ZodOptional<z.ZodString>;
891
+ }, z.core.$strict>>;
892
+ categories: z.ZodArray<z.ZodObject<{
893
+ id: z.ZodNumber;
894
+ name: z.ZodString;
895
+ slug: z.ZodString;
896
+ url: z.ZodNullable<z.ZodString>;
897
+ }, z.core.$strip>>;
898
+ tags: z.ZodArray<z.ZodObject<{
899
+ id: z.ZodNumber;
900
+ name: z.ZodString;
901
+ slug: z.ZodString;
902
+ url: z.ZodNullable<z.ZodString>;
903
+ }, z.core.$strip>>;
904
+ brands: z.ZodArray<z.ZodObject<{
905
+ id: z.ZodNumber;
906
+ name: z.ZodString;
907
+ slug: z.ZodString;
908
+ url: z.ZodNullable<z.ZodString>;
909
+ }, z.core.$strip>>;
910
+ attributes: z.ZodArray<z.ZodObject<{
911
+ id: z.ZodNumber;
912
+ name: z.ZodString;
913
+ taxonomy: z.ZodNullable<z.ZodString>;
914
+ hasVariations: z.ZodBoolean;
915
+ terms: z.ZodArray<z.ZodObject<{
916
+ id: z.ZodNumber;
917
+ name: z.ZodString;
918
+ slug: z.ZodString;
919
+ isDefault: z.ZodBoolean;
920
+ }, z.core.$strip>>;
921
+ }, z.core.$strip>>;
922
+ variations: z.ZodArray<z.ZodObject<{
923
+ id: z.ZodNumber;
924
+ attributes: z.ZodArray<z.ZodObject<{
925
+ name: z.ZodString;
926
+ value: z.ZodNullable<z.ZodString>;
927
+ }, z.core.$strip>>;
928
+ }, z.core.$strip>>;
929
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
930
+ hasOptions: z.ZodBoolean;
931
+ isPurchasable: z.ZodBoolean;
932
+ isInStock: z.ZodBoolean;
933
+ isOnBackorder: z.ZodBoolean;
934
+ stockAvailability: z.ZodObject<{
935
+ text: z.ZodString;
936
+ class: z.ZodString;
937
+ }, z.core.$strip>;
938
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
939
+ isSoldIndividually: z.ZodBoolean;
940
+ addToCart: z.ZodObject<{
941
+ text: z.ZodString;
942
+ description: z.ZodString;
943
+ singleText: z.ZodString;
944
+ minimum: z.ZodNumber;
945
+ maximum: z.ZodNumber;
946
+ multipleOf: z.ZodNumber;
947
+ }, z.core.$strip>;
948
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
949
+ }, z.core.$strip>>;
950
+ related: z.ZodArray<z.ZodObject<{
951
+ id: z.ZodNumber;
952
+ name: z.ZodString;
953
+ slug: z.ZodString;
954
+ parentId: z.ZodNullable<z.ZodNumber>;
955
+ type: z.ZodString;
956
+ variationDescription: z.ZodString;
957
+ url: z.ZodNullable<z.ZodString>;
958
+ sku: z.ZodNullable<z.ZodString>;
959
+ shortDescription: z.ZodString;
960
+ description: z.ZodString;
961
+ isPasswordProtected: z.ZodBoolean;
962
+ isOnSale: z.ZodBoolean;
963
+ prices: z.ZodObject<{
964
+ price: z.ZodNumber;
965
+ regularPrice: z.ZodNumber;
966
+ salePrice: z.ZodNullable<z.ZodNumber>;
967
+ priceRange: z.ZodNullable<z.ZodObject<{
968
+ minAmount: z.ZodNumber;
969
+ maxAmount: z.ZodNumber;
970
+ }, z.core.$strip>>;
971
+ }, z.core.$strip>;
972
+ currencyFormat: z.ZodObject<{
973
+ currencyCode: z.ZodString;
974
+ currencySymbol: z.ZodString;
975
+ currencyPrefix: z.ZodString;
976
+ currencySuffix: z.ZodString;
977
+ currencyMinorUnit: z.ZodNumber;
978
+ currencyDecimalSeparator: z.ZodString;
979
+ currencyThousandSeparator: z.ZodString;
980
+ }, z.core.$strip>;
981
+ priceHtml: z.ZodString;
982
+ averageRating: z.ZodNumber;
983
+ reviewCount: z.ZodNumber;
984
+ images: z.ZodArray<z.ZodObject<{
985
+ id: z.ZodNumber;
986
+ name: z.ZodString;
987
+ src: z.ZodString;
988
+ mime: z.ZodOptional<z.ZodString>;
989
+ type: z.ZodLiteral<"image">;
990
+ alt: z.ZodString;
991
+ width: z.ZodOptional<z.ZodNumber>;
992
+ height: z.ZodOptional<z.ZodNumber>;
993
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
994
+ src: z.ZodString;
995
+ width: z.ZodNumber;
996
+ height: z.ZodNumber;
997
+ }, z.core.$strict>>>;
998
+ srcset: z.ZodOptional<z.ZodString>;
999
+ }, z.core.$strict>>;
1000
+ categories: z.ZodArray<z.ZodObject<{
1001
+ id: z.ZodNumber;
1002
+ name: z.ZodString;
1003
+ slug: z.ZodString;
1004
+ url: z.ZodNullable<z.ZodString>;
1005
+ }, z.core.$strip>>;
1006
+ tags: z.ZodArray<z.ZodObject<{
1007
+ id: z.ZodNumber;
1008
+ name: z.ZodString;
1009
+ slug: z.ZodString;
1010
+ url: z.ZodNullable<z.ZodString>;
1011
+ }, z.core.$strip>>;
1012
+ brands: z.ZodArray<z.ZodObject<{
1013
+ id: z.ZodNumber;
1014
+ name: z.ZodString;
1015
+ slug: z.ZodString;
1016
+ url: z.ZodNullable<z.ZodString>;
1017
+ }, z.core.$strip>>;
1018
+ attributes: z.ZodArray<z.ZodObject<{
1019
+ id: z.ZodNumber;
1020
+ name: z.ZodString;
1021
+ taxonomy: z.ZodNullable<z.ZodString>;
1022
+ hasVariations: z.ZodBoolean;
1023
+ terms: z.ZodArray<z.ZodObject<{
1024
+ id: z.ZodNumber;
1025
+ name: z.ZodString;
1026
+ slug: z.ZodString;
1027
+ isDefault: z.ZodBoolean;
1028
+ }, z.core.$strip>>;
1029
+ }, z.core.$strip>>;
1030
+ variations: z.ZodArray<z.ZodObject<{
1031
+ id: z.ZodNumber;
1032
+ attributes: z.ZodArray<z.ZodObject<{
1033
+ name: z.ZodString;
1034
+ value: z.ZodNullable<z.ZodString>;
1035
+ }, z.core.$strip>>;
1036
+ }, z.core.$strip>>;
1037
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
1038
+ hasOptions: z.ZodBoolean;
1039
+ isPurchasable: z.ZodBoolean;
1040
+ isInStock: z.ZodBoolean;
1041
+ isOnBackorder: z.ZodBoolean;
1042
+ stockAvailability: z.ZodObject<{
1043
+ text: z.ZodString;
1044
+ class: z.ZodString;
1045
+ }, z.core.$strip>;
1046
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
1047
+ isSoldIndividually: z.ZodBoolean;
1048
+ addToCart: z.ZodObject<{
1049
+ text: z.ZodString;
1050
+ description: z.ZodString;
1051
+ singleText: z.ZodString;
1052
+ minimum: z.ZodNumber;
1053
+ maximum: z.ZodNumber;
1054
+ multipleOf: z.ZodNumber;
1055
+ }, z.core.$strip>;
1056
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1057
+ }, z.core.$strip>>;
1058
+ }, z.core.$strip>>;
1059
+ }, z.core.$strip>;
1060
+ type Product = Omit<z.infer<typeof Product>, "custom"> & {
1061
+ custom: ProductCustomFields;
1062
+ };
1063
+ declare const ProductList: z.ZodObject<{
1064
+ items: z.ZodArray<z.ZodObject<{
1065
+ id: z.ZodNumber;
1066
+ name: z.ZodString;
1067
+ slug: z.ZodString;
1068
+ parentId: z.ZodNullable<z.ZodNumber>;
1069
+ type: z.ZodString;
1070
+ variationDescription: z.ZodString;
1071
+ url: z.ZodNullable<z.ZodString>;
1072
+ sku: z.ZodNullable<z.ZodString>;
1073
+ shortDescription: z.ZodString;
1074
+ description: z.ZodString;
1075
+ isPasswordProtected: z.ZodBoolean;
1076
+ isOnSale: z.ZodBoolean;
1077
+ prices: z.ZodObject<{
1078
+ price: z.ZodNumber;
1079
+ regularPrice: z.ZodNumber;
1080
+ salePrice: z.ZodNullable<z.ZodNumber>;
1081
+ priceRange: z.ZodNullable<z.ZodObject<{
1082
+ minAmount: z.ZodNumber;
1083
+ maxAmount: z.ZodNumber;
1084
+ }, z.core.$strip>>;
1085
+ }, z.core.$strip>;
1086
+ currencyFormat: z.ZodObject<{
1087
+ currencyCode: z.ZodString;
1088
+ currencySymbol: z.ZodString;
1089
+ currencyPrefix: z.ZodString;
1090
+ currencySuffix: z.ZodString;
1091
+ currencyMinorUnit: z.ZodNumber;
1092
+ currencyDecimalSeparator: z.ZodString;
1093
+ currencyThousandSeparator: z.ZodString;
1094
+ }, z.core.$strip>;
1095
+ priceHtml: z.ZodString;
1096
+ averageRating: z.ZodNumber;
1097
+ reviewCount: z.ZodNumber;
1098
+ images: z.ZodArray<z.ZodObject<{
1099
+ id: z.ZodNumber;
1100
+ name: z.ZodString;
1101
+ src: z.ZodString;
1102
+ mime: z.ZodOptional<z.ZodString>;
1103
+ type: z.ZodLiteral<"image">;
1104
+ alt: z.ZodString;
1105
+ width: z.ZodOptional<z.ZodNumber>;
1106
+ height: z.ZodOptional<z.ZodNumber>;
1107
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1108
+ src: z.ZodString;
1109
+ width: z.ZodNumber;
1110
+ height: z.ZodNumber;
1111
+ }, z.core.$strict>>>;
1112
+ srcset: z.ZodOptional<z.ZodString>;
1113
+ }, z.core.$strict>>;
1114
+ categories: z.ZodArray<z.ZodObject<{
1115
+ id: z.ZodNumber;
1116
+ name: z.ZodString;
1117
+ slug: z.ZodString;
1118
+ url: z.ZodNullable<z.ZodString>;
1119
+ }, z.core.$strip>>;
1120
+ tags: z.ZodArray<z.ZodObject<{
1121
+ id: z.ZodNumber;
1122
+ name: z.ZodString;
1123
+ slug: z.ZodString;
1124
+ url: z.ZodNullable<z.ZodString>;
1125
+ }, z.core.$strip>>;
1126
+ brands: z.ZodArray<z.ZodObject<{
1127
+ id: z.ZodNumber;
1128
+ name: z.ZodString;
1129
+ slug: z.ZodString;
1130
+ url: z.ZodNullable<z.ZodString>;
1131
+ }, z.core.$strip>>;
1132
+ attributes: z.ZodArray<z.ZodObject<{
1133
+ id: z.ZodNumber;
1134
+ name: z.ZodString;
1135
+ taxonomy: z.ZodNullable<z.ZodString>;
1136
+ hasVariations: z.ZodBoolean;
1137
+ terms: z.ZodArray<z.ZodObject<{
1138
+ id: z.ZodNumber;
1139
+ name: z.ZodString;
1140
+ slug: z.ZodString;
1141
+ isDefault: z.ZodBoolean;
1142
+ }, z.core.$strip>>;
1143
+ }, z.core.$strip>>;
1144
+ variations: z.ZodArray<z.ZodObject<{
1145
+ id: z.ZodNumber;
1146
+ attributes: z.ZodArray<z.ZodObject<{
1147
+ name: z.ZodString;
1148
+ value: z.ZodNullable<z.ZodString>;
1149
+ }, z.core.$strip>>;
1150
+ }, z.core.$strip>>;
1151
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
1152
+ hasOptions: z.ZodBoolean;
1153
+ isPurchasable: z.ZodBoolean;
1154
+ isInStock: z.ZodBoolean;
1155
+ isOnBackorder: z.ZodBoolean;
1156
+ stockAvailability: z.ZodObject<{
1157
+ text: z.ZodString;
1158
+ class: z.ZodString;
1159
+ }, z.core.$strip>;
1160
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
1161
+ isSoldIndividually: z.ZodBoolean;
1162
+ addToCart: z.ZodObject<{
1163
+ text: z.ZodString;
1164
+ description: z.ZodString;
1165
+ singleText: z.ZodString;
1166
+ minimum: z.ZodNumber;
1167
+ maximum: z.ZodNumber;
1168
+ multipleOf: z.ZodNumber;
1169
+ }, z.core.$strip>;
1170
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1171
+ weight: z.ZodString;
1172
+ dimensions: z.ZodObject<{
1173
+ length: z.ZodString;
1174
+ width: z.ZodString;
1175
+ height: z.ZodString;
1176
+ }, z.core.$strip>;
1177
+ formattedWeight: z.ZodString;
1178
+ formattedDimensions: z.ZodString;
1179
+ stockQuantity: z.ZodNullable<z.ZodNumber>;
1180
+ saleStartsAt: z.ZodNullable<z.ZodNumber>;
1181
+ saleEndsAt: z.ZodNullable<z.ZodNumber>;
1182
+ seo: z.ZodNullable<z.ZodObject<{
1183
+ head: z.ZodObject<{
1184
+ title: z.ZodString;
1185
+ canonical: z.ZodString;
1186
+ robots: z.ZodObject<{
1187
+ index: z.ZodString;
1188
+ follow: z.ZodString;
1189
+ maxSnippet: z.ZodString;
1190
+ maxImagePreview: z.ZodString;
1191
+ maxVideoPreview: z.ZodString;
1192
+ }, z.core.$strip>;
1193
+ og: z.ZodObject<{
1194
+ locale: z.ZodString;
1195
+ type: z.ZodString;
1196
+ title: z.ZodString;
1197
+ url: z.ZodString;
1198
+ siteName: z.ZodString;
1199
+ description: z.ZodString;
1200
+ image: z.ZodNullable<z.ZodObject<{
1201
+ url: z.ZodString;
1202
+ width: z.ZodNullable<z.ZodNumber>;
1203
+ height: z.ZodNullable<z.ZodNumber>;
1204
+ type: z.ZodNullable<z.ZodString>;
1205
+ alt: z.ZodNullable<z.ZodString>;
1206
+ }, z.core.$strip>>;
1207
+ }, z.core.$strip>;
1208
+ twitter: z.ZodObject<{
1209
+ card: z.ZodEnum<{
1210
+ summary: "summary";
1211
+ summary_large_image: "summary_large_image";
1212
+ }>;
1213
+ title: z.ZodString;
1214
+ site: z.ZodNullable<z.ZodString>;
1215
+ creator: z.ZodNullable<z.ZodString>;
1216
+ description: z.ZodString;
1217
+ image: z.ZodNullable<z.ZodString>;
1218
+ imageAlt: z.ZodNullable<z.ZodString>;
1219
+ }, z.core.$strip>;
1220
+ article: z.ZodNullable<z.ZodObject<{
1221
+ publishedTime: z.ZodString;
1222
+ modifiedTime: z.ZodString;
1223
+ author: z.ZodString;
1224
+ authorUrl: z.ZodString;
1225
+ section: z.ZodString;
1226
+ tags: z.ZodArray<z.ZodString>;
1227
+ }, z.core.$strip>>;
1228
+ }, z.core.$strip>;
1229
+ schema: z.ZodObject<{
1230
+ "@context": z.ZodLiteral<"https://schema.org">;
1231
+ "@graph": z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1232
+ }, z.core.$strip>;
1233
+ }, z.core.$strip>>;
1234
+ custom: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1235
+ recommendations: z.ZodNullable<z.ZodObject<{
1236
+ upsells: z.ZodArray<z.ZodObject<{
1237
+ id: z.ZodNumber;
1238
+ name: z.ZodString;
1239
+ slug: z.ZodString;
1240
+ parentId: z.ZodNullable<z.ZodNumber>;
1241
+ type: z.ZodString;
1242
+ variationDescription: z.ZodString;
1243
+ url: z.ZodNullable<z.ZodString>;
1244
+ sku: z.ZodNullable<z.ZodString>;
1245
+ shortDescription: z.ZodString;
1246
+ description: z.ZodString;
1247
+ isPasswordProtected: z.ZodBoolean;
1248
+ isOnSale: z.ZodBoolean;
1249
+ prices: z.ZodObject<{
1250
+ price: z.ZodNumber;
1251
+ regularPrice: z.ZodNumber;
1252
+ salePrice: z.ZodNullable<z.ZodNumber>;
1253
+ priceRange: z.ZodNullable<z.ZodObject<{
1254
+ minAmount: z.ZodNumber;
1255
+ maxAmount: z.ZodNumber;
1256
+ }, z.core.$strip>>;
1257
+ }, z.core.$strip>;
1258
+ currencyFormat: z.ZodObject<{
1259
+ currencyCode: z.ZodString;
1260
+ currencySymbol: z.ZodString;
1261
+ currencyPrefix: z.ZodString;
1262
+ currencySuffix: z.ZodString;
1263
+ currencyMinorUnit: z.ZodNumber;
1264
+ currencyDecimalSeparator: z.ZodString;
1265
+ currencyThousandSeparator: z.ZodString;
1266
+ }, z.core.$strip>;
1267
+ priceHtml: z.ZodString;
1268
+ averageRating: z.ZodNumber;
1269
+ reviewCount: z.ZodNumber;
1270
+ images: z.ZodArray<z.ZodObject<{
1271
+ id: z.ZodNumber;
1272
+ name: z.ZodString;
1273
+ src: z.ZodString;
1274
+ mime: z.ZodOptional<z.ZodString>;
1275
+ type: z.ZodLiteral<"image">;
1276
+ alt: z.ZodString;
1277
+ width: z.ZodOptional<z.ZodNumber>;
1278
+ height: z.ZodOptional<z.ZodNumber>;
1279
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1280
+ src: z.ZodString;
1281
+ width: z.ZodNumber;
1282
+ height: z.ZodNumber;
1283
+ }, z.core.$strict>>>;
1284
+ srcset: z.ZodOptional<z.ZodString>;
1285
+ }, z.core.$strict>>;
1286
+ categories: z.ZodArray<z.ZodObject<{
1287
+ id: z.ZodNumber;
1288
+ name: z.ZodString;
1289
+ slug: z.ZodString;
1290
+ url: z.ZodNullable<z.ZodString>;
1291
+ }, z.core.$strip>>;
1292
+ tags: z.ZodArray<z.ZodObject<{
1293
+ id: z.ZodNumber;
1294
+ name: z.ZodString;
1295
+ slug: z.ZodString;
1296
+ url: z.ZodNullable<z.ZodString>;
1297
+ }, z.core.$strip>>;
1298
+ brands: z.ZodArray<z.ZodObject<{
1299
+ id: z.ZodNumber;
1300
+ name: z.ZodString;
1301
+ slug: z.ZodString;
1302
+ url: z.ZodNullable<z.ZodString>;
1303
+ }, z.core.$strip>>;
1304
+ attributes: z.ZodArray<z.ZodObject<{
1305
+ id: z.ZodNumber;
1306
+ name: z.ZodString;
1307
+ taxonomy: z.ZodNullable<z.ZodString>;
1308
+ hasVariations: z.ZodBoolean;
1309
+ terms: z.ZodArray<z.ZodObject<{
1310
+ id: z.ZodNumber;
1311
+ name: z.ZodString;
1312
+ slug: z.ZodString;
1313
+ isDefault: z.ZodBoolean;
1314
+ }, z.core.$strip>>;
1315
+ }, z.core.$strip>>;
1316
+ variations: z.ZodArray<z.ZodObject<{
1317
+ id: z.ZodNumber;
1318
+ attributes: z.ZodArray<z.ZodObject<{
1319
+ name: z.ZodString;
1320
+ value: z.ZodNullable<z.ZodString>;
1321
+ }, z.core.$strip>>;
1322
+ }, z.core.$strip>>;
1323
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
1324
+ hasOptions: z.ZodBoolean;
1325
+ isPurchasable: z.ZodBoolean;
1326
+ isInStock: z.ZodBoolean;
1327
+ isOnBackorder: z.ZodBoolean;
1328
+ stockAvailability: z.ZodObject<{
1329
+ text: z.ZodString;
1330
+ class: z.ZodString;
1331
+ }, z.core.$strip>;
1332
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
1333
+ isSoldIndividually: z.ZodBoolean;
1334
+ addToCart: z.ZodObject<{
1335
+ text: z.ZodString;
1336
+ description: z.ZodString;
1337
+ singleText: z.ZodString;
1338
+ minimum: z.ZodNumber;
1339
+ maximum: z.ZodNumber;
1340
+ multipleOf: z.ZodNumber;
1341
+ }, z.core.$strip>;
1342
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1343
+ }, z.core.$strip>>;
1344
+ crossSells: z.ZodArray<z.ZodObject<{
1345
+ id: z.ZodNumber;
1346
+ name: z.ZodString;
1347
+ slug: z.ZodString;
1348
+ parentId: z.ZodNullable<z.ZodNumber>;
1349
+ type: z.ZodString;
1350
+ variationDescription: z.ZodString;
1351
+ url: z.ZodNullable<z.ZodString>;
1352
+ sku: z.ZodNullable<z.ZodString>;
1353
+ shortDescription: z.ZodString;
1354
+ description: z.ZodString;
1355
+ isPasswordProtected: z.ZodBoolean;
1356
+ isOnSale: z.ZodBoolean;
1357
+ prices: z.ZodObject<{
1358
+ price: z.ZodNumber;
1359
+ regularPrice: z.ZodNumber;
1360
+ salePrice: z.ZodNullable<z.ZodNumber>;
1361
+ priceRange: z.ZodNullable<z.ZodObject<{
1362
+ minAmount: z.ZodNumber;
1363
+ maxAmount: z.ZodNumber;
1364
+ }, z.core.$strip>>;
1365
+ }, z.core.$strip>;
1366
+ currencyFormat: z.ZodObject<{
1367
+ currencyCode: z.ZodString;
1368
+ currencySymbol: z.ZodString;
1369
+ currencyPrefix: z.ZodString;
1370
+ currencySuffix: z.ZodString;
1371
+ currencyMinorUnit: z.ZodNumber;
1372
+ currencyDecimalSeparator: z.ZodString;
1373
+ currencyThousandSeparator: z.ZodString;
1374
+ }, z.core.$strip>;
1375
+ priceHtml: z.ZodString;
1376
+ averageRating: z.ZodNumber;
1377
+ reviewCount: z.ZodNumber;
1378
+ images: z.ZodArray<z.ZodObject<{
1379
+ id: z.ZodNumber;
1380
+ name: z.ZodString;
1381
+ src: z.ZodString;
1382
+ mime: z.ZodOptional<z.ZodString>;
1383
+ type: z.ZodLiteral<"image">;
1384
+ alt: z.ZodString;
1385
+ width: z.ZodOptional<z.ZodNumber>;
1386
+ height: z.ZodOptional<z.ZodNumber>;
1387
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1388
+ src: z.ZodString;
1389
+ width: z.ZodNumber;
1390
+ height: z.ZodNumber;
1391
+ }, z.core.$strict>>>;
1392
+ srcset: z.ZodOptional<z.ZodString>;
1393
+ }, z.core.$strict>>;
1394
+ categories: z.ZodArray<z.ZodObject<{
1395
+ id: z.ZodNumber;
1396
+ name: z.ZodString;
1397
+ slug: z.ZodString;
1398
+ url: z.ZodNullable<z.ZodString>;
1399
+ }, z.core.$strip>>;
1400
+ tags: z.ZodArray<z.ZodObject<{
1401
+ id: z.ZodNumber;
1402
+ name: z.ZodString;
1403
+ slug: z.ZodString;
1404
+ url: z.ZodNullable<z.ZodString>;
1405
+ }, z.core.$strip>>;
1406
+ brands: z.ZodArray<z.ZodObject<{
1407
+ id: z.ZodNumber;
1408
+ name: z.ZodString;
1409
+ slug: z.ZodString;
1410
+ url: z.ZodNullable<z.ZodString>;
1411
+ }, z.core.$strip>>;
1412
+ attributes: z.ZodArray<z.ZodObject<{
1413
+ id: z.ZodNumber;
1414
+ name: z.ZodString;
1415
+ taxonomy: z.ZodNullable<z.ZodString>;
1416
+ hasVariations: z.ZodBoolean;
1417
+ terms: z.ZodArray<z.ZodObject<{
1418
+ id: z.ZodNumber;
1419
+ name: z.ZodString;
1420
+ slug: z.ZodString;
1421
+ isDefault: z.ZodBoolean;
1422
+ }, z.core.$strip>>;
1423
+ }, z.core.$strip>>;
1424
+ variations: z.ZodArray<z.ZodObject<{
1425
+ id: z.ZodNumber;
1426
+ attributes: z.ZodArray<z.ZodObject<{
1427
+ name: z.ZodString;
1428
+ value: z.ZodNullable<z.ZodString>;
1429
+ }, z.core.$strip>>;
1430
+ }, z.core.$strip>>;
1431
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
1432
+ hasOptions: z.ZodBoolean;
1433
+ isPurchasable: z.ZodBoolean;
1434
+ isInStock: z.ZodBoolean;
1435
+ isOnBackorder: z.ZodBoolean;
1436
+ stockAvailability: z.ZodObject<{
1437
+ text: z.ZodString;
1438
+ class: z.ZodString;
1439
+ }, z.core.$strip>;
1440
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
1441
+ isSoldIndividually: z.ZodBoolean;
1442
+ addToCart: z.ZodObject<{
1443
+ text: z.ZodString;
1444
+ description: z.ZodString;
1445
+ singleText: z.ZodString;
1446
+ minimum: z.ZodNumber;
1447
+ maximum: z.ZodNumber;
1448
+ multipleOf: z.ZodNumber;
1449
+ }, z.core.$strip>;
1450
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1451
+ }, z.core.$strip>>;
1452
+ related: z.ZodArray<z.ZodObject<{
1453
+ id: z.ZodNumber;
1454
+ name: z.ZodString;
1455
+ slug: z.ZodString;
1456
+ parentId: z.ZodNullable<z.ZodNumber>;
1457
+ type: z.ZodString;
1458
+ variationDescription: z.ZodString;
1459
+ url: z.ZodNullable<z.ZodString>;
1460
+ sku: z.ZodNullable<z.ZodString>;
1461
+ shortDescription: z.ZodString;
1462
+ description: z.ZodString;
1463
+ isPasswordProtected: z.ZodBoolean;
1464
+ isOnSale: z.ZodBoolean;
1465
+ prices: z.ZodObject<{
1466
+ price: z.ZodNumber;
1467
+ regularPrice: z.ZodNumber;
1468
+ salePrice: z.ZodNullable<z.ZodNumber>;
1469
+ priceRange: z.ZodNullable<z.ZodObject<{
1470
+ minAmount: z.ZodNumber;
1471
+ maxAmount: z.ZodNumber;
1472
+ }, z.core.$strip>>;
1473
+ }, z.core.$strip>;
1474
+ currencyFormat: z.ZodObject<{
1475
+ currencyCode: z.ZodString;
1476
+ currencySymbol: z.ZodString;
1477
+ currencyPrefix: z.ZodString;
1478
+ currencySuffix: z.ZodString;
1479
+ currencyMinorUnit: z.ZodNumber;
1480
+ currencyDecimalSeparator: z.ZodString;
1481
+ currencyThousandSeparator: z.ZodString;
1482
+ }, z.core.$strip>;
1483
+ priceHtml: z.ZodString;
1484
+ averageRating: z.ZodNumber;
1485
+ reviewCount: z.ZodNumber;
1486
+ images: z.ZodArray<z.ZodObject<{
1487
+ id: z.ZodNumber;
1488
+ name: z.ZodString;
1489
+ src: z.ZodString;
1490
+ mime: z.ZodOptional<z.ZodString>;
1491
+ type: z.ZodLiteral<"image">;
1492
+ alt: z.ZodString;
1493
+ width: z.ZodOptional<z.ZodNumber>;
1494
+ height: z.ZodOptional<z.ZodNumber>;
1495
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1496
+ src: z.ZodString;
1497
+ width: z.ZodNumber;
1498
+ height: z.ZodNumber;
1499
+ }, z.core.$strict>>>;
1500
+ srcset: z.ZodOptional<z.ZodString>;
1501
+ }, z.core.$strict>>;
1502
+ categories: z.ZodArray<z.ZodObject<{
1503
+ id: z.ZodNumber;
1504
+ name: z.ZodString;
1505
+ slug: z.ZodString;
1506
+ url: z.ZodNullable<z.ZodString>;
1507
+ }, z.core.$strip>>;
1508
+ tags: z.ZodArray<z.ZodObject<{
1509
+ id: z.ZodNumber;
1510
+ name: z.ZodString;
1511
+ slug: z.ZodString;
1512
+ url: z.ZodNullable<z.ZodString>;
1513
+ }, z.core.$strip>>;
1514
+ brands: z.ZodArray<z.ZodObject<{
1515
+ id: z.ZodNumber;
1516
+ name: z.ZodString;
1517
+ slug: z.ZodString;
1518
+ url: z.ZodNullable<z.ZodString>;
1519
+ }, z.core.$strip>>;
1520
+ attributes: z.ZodArray<z.ZodObject<{
1521
+ id: z.ZodNumber;
1522
+ name: z.ZodString;
1523
+ taxonomy: z.ZodNullable<z.ZodString>;
1524
+ hasVariations: z.ZodBoolean;
1525
+ terms: z.ZodArray<z.ZodObject<{
1526
+ id: z.ZodNumber;
1527
+ name: z.ZodString;
1528
+ slug: z.ZodString;
1529
+ isDefault: z.ZodBoolean;
1530
+ }, z.core.$strip>>;
1531
+ }, z.core.$strip>>;
1532
+ variations: z.ZodArray<z.ZodObject<{
1533
+ id: z.ZodNumber;
1534
+ attributes: z.ZodArray<z.ZodObject<{
1535
+ name: z.ZodString;
1536
+ value: z.ZodNullable<z.ZodString>;
1537
+ }, z.core.$strip>>;
1538
+ }, z.core.$strip>>;
1539
+ groupedProductIds: z.ZodArray<z.ZodNumber>;
1540
+ hasOptions: z.ZodBoolean;
1541
+ isPurchasable: z.ZodBoolean;
1542
+ isInStock: z.ZodBoolean;
1543
+ isOnBackorder: z.ZodBoolean;
1544
+ stockAvailability: z.ZodObject<{
1545
+ text: z.ZodString;
1546
+ class: z.ZodString;
1547
+ }, z.core.$strip>;
1548
+ lowStockRemaining: z.ZodNullable<z.ZodNumber>;
1549
+ isSoldIndividually: z.ZodBoolean;
1550
+ addToCart: z.ZodObject<{
1551
+ text: z.ZodString;
1552
+ description: z.ZodString;
1553
+ singleText: z.ZodString;
1554
+ minimum: z.ZodNumber;
1555
+ maximum: z.ZodNumber;
1556
+ multipleOf: z.ZodNumber;
1557
+ }, z.core.$strip>;
1558
+ extensions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1559
+ }, z.core.$strip>>;
1560
+ }, z.core.$strip>>;
1561
+ }, z.core.$strip>>;
1562
+ meta: z.ZodObject<{
1563
+ page: z.ZodNumber;
1564
+ totalItems: z.ZodNumber;
1565
+ totalPages: z.ZodNumber;
1566
+ nextPage: z.ZodNullable<z.ZodNumber>;
1567
+ prevPage: z.ZodNullable<z.ZodNumber>;
1568
+ hasNextPage: z.ZodBoolean;
1569
+ hasPrevPage: z.ZodBoolean;
1570
+ }, z.core.$strip>;
1571
+ }, z.core.$strip>;
1572
+ type ProductList = Omit<z.infer<typeof ProductList>, "items"> & {
1573
+ items: Product[];
1574
+ };
1575
+ declare const RetrieveProductInput: z.ZodObject<{
1576
+ identifier: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>, z.ZodString]>;
1577
+ previewToken: z.ZodOptional<z.ZodString>;
1578
+ recommendations: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
1579
+ }, z.core.$strip>;
1580
+ type RetrieveProductInput = z.input<typeof RetrieveProductInput>;
1581
+ declare const ProductOrderBy: z.ZodEnum<{
1582
+ slug: "slug";
1583
+ date: "date";
1584
+ price: "price";
1585
+ id: "id";
1586
+ modified: "modified";
1587
+ include: "include";
1588
+ title: "title";
1589
+ popularity: "popularity";
1590
+ rating: "rating";
1591
+ menu_order: "menu_order";
1592
+ comment_count: "comment_count";
1593
+ }>;
1594
+ type ProductOrderBy = z.infer<typeof ProductOrderBy>;
1595
+ declare const PRODUCT_DATE_COLUMNS: readonly ["date", "date_gmt", "modified", "modified_gmt"];
1596
+ declare const ProductDateColumn: z.ZodEnum<{
1597
+ date: "date";
1598
+ date_gmt: "date_gmt";
1599
+ modified: "modified";
1600
+ modified_gmt: "modified_gmt";
1601
+ }>;
1602
+ type ProductDateColumn = z.infer<typeof ProductDateColumn>;
1603
+ declare const ProductTaxonomyOperator: z.ZodEnum<{
1604
+ in: "in";
1605
+ not_in: "not_in";
1606
+ and: "and";
1607
+ }>;
1608
+ type ProductTaxonomyOperator = z.infer<typeof ProductTaxonomyOperator>;
1609
+ declare const PRODUCT_ATTRIBUTE_RELATIONS: readonly ["in", "and"];
1610
+ declare const ProductAttributeRelation: z.ZodEnum<{
1611
+ in: "in";
1612
+ and: "and";
1613
+ }>;
1614
+ type ProductAttributeRelation = z.infer<typeof ProductAttributeRelation>;
1615
+ declare const PRODUCT_STOCK_STATUSES: readonly ["instock", "outofstock", "onbackorder"];
1616
+ declare const ProductStockStatus: z.ZodEnum<{
1617
+ instock: "instock";
1618
+ outofstock: "outofstock";
1619
+ onbackorder: "onbackorder";
1620
+ }>;
1621
+ type ProductStockStatus = z.infer<typeof ProductStockStatus>;
1622
+ declare const PRODUCT_CATALOG_VISIBILITIES: readonly ["any", "visible", "catalog", "search", "hidden"];
1623
+ declare const ProductCatalogVisibility: z.ZodEnum<{
1624
+ any: "any";
1625
+ search: "search";
1626
+ visible: "visible";
1627
+ catalog: "catalog";
1628
+ hidden: "hidden";
1629
+ }>;
1630
+ type ProductCatalogVisibility = z.infer<typeof ProductCatalogVisibility>;
1631
+ declare const PRODUCT_RATINGS: readonly [1, 2, 3, 4, 5];
1632
+ declare const ProductRating: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
1633
+ type ProductRating = z.infer<typeof ProductRating>;
1634
+ declare const ProductAttributeFilter: z.ZodObject<{
1635
+ taxonomy: z.ZodString;
1636
+ slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1637
+ 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>>>]>>;
1638
+ operator: z.ZodOptional<z.ZodEnum<{
1639
+ in: "in";
1640
+ not_in: "not_in";
1641
+ and: "and";
1642
+ }>>;
1643
+ }, z.core.$strip>;
1644
+ type ProductAttributeFilter = z.input<typeof ProductAttributeFilter>;
1645
+ declare const ProductTaxonomyFilter: z.ZodObject<{
1646
+ taxonomy: z.ZodString;
1647
+ 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>>>]>>;
1648
+ slugs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1649
+ operator: z.ZodOptional<z.ZodEnum<{
1650
+ in: "in";
1651
+ not_in: "not_in";
1652
+ and: "and";
1653
+ }>>;
1654
+ }, z.core.$strip>;
1655
+ type ProductTaxonomyFilter = z.input<typeof ProductTaxonomyFilter>;
1656
+ declare const ListProductInput: z.ZodObject<{
1657
+ page: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1658
+ perPage: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1659
+ search: z.ZodOptional<z.ZodString>;
1660
+ recommendations: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
1661
+ slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1662
+ after: z.ZodOptional<z.ZodString>;
1663
+ before: z.ZodOptional<z.ZodString>;
1664
+ dateColumn: z.ZodOptional<z.ZodEnum<{
1665
+ date: "date";
1666
+ date_gmt: "date_gmt";
1667
+ modified: "modified";
1668
+ modified_gmt: "modified_gmt";
1669
+ }>>;
1670
+ 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>>>]>>;
1671
+ 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>>>]>>;
1672
+ offset: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1673
+ order: z.ZodOptional<z.ZodEnum<{
1674
+ asc: "asc";
1675
+ desc: "desc";
1676
+ }>>;
1677
+ orderBy: z.ZodOptional<z.ZodEnum<{
1678
+ slug: "slug";
1679
+ date: "date";
1680
+ price: "price";
1681
+ id: "id";
1682
+ modified: "modified";
1683
+ include: "include";
1684
+ title: "title";
1685
+ popularity: "popularity";
1686
+ rating: "rating";
1687
+ menu_order: "menu_order";
1688
+ comment_count: "comment_count";
1689
+ }>>;
1690
+ 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>>>]>>;
1691
+ 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>>>]>>;
1692
+ type: z.ZodOptional<z.ZodString>;
1693
+ sku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1694
+ featured: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
1695
+ 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]>>]>>;
1696
+ categoryOperator: z.ZodOptional<z.ZodEnum<{
1697
+ in: "in";
1698
+ not_in: "not_in";
1699
+ and: "and";
1700
+ }>>;
1701
+ 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]>>]>>;
1702
+ brandOperator: z.ZodOptional<z.ZodEnum<{
1703
+ in: "in";
1704
+ not_in: "not_in";
1705
+ and: "and";
1706
+ }>>;
1707
+ 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]>>]>>;
1708
+ tagOperator: z.ZodOptional<z.ZodEnum<{
1709
+ in: "in";
1710
+ not_in: "not_in";
1711
+ and: "and";
1712
+ }>>;
1713
+ onSale: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
1714
+ minPrice: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1715
+ maxPrice: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1716
+ stockStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1717
+ instock: "instock";
1718
+ outofstock: "outofstock";
1719
+ onbackorder: "onbackorder";
1720
+ }>, z.ZodArray<z.ZodEnum<{
1721
+ instock: "instock";
1722
+ outofstock: "outofstock";
1723
+ onbackorder: "onbackorder";
1724
+ }>>]>>;
1725
+ attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1726
+ taxonomy: z.ZodString;
1727
+ slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1728
+ 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>>>]>>;
1729
+ operator: z.ZodOptional<z.ZodEnum<{
1730
+ in: "in";
1731
+ not_in: "not_in";
1732
+ and: "and";
1733
+ }>>;
1734
+ }, z.core.$strip>>>;
1735
+ attributeRelation: z.ZodOptional<z.ZodEnum<{
1736
+ in: "in";
1737
+ and: "and";
1738
+ }>>;
1739
+ catalogVisibility: z.ZodOptional<z.ZodEnum<{
1740
+ any: "any";
1741
+ search: "search";
1742
+ visible: "visible";
1743
+ catalog: "catalog";
1744
+ hidden: "hidden";
1745
+ }>>;
1746
+ 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>]>>>]>>;
1747
+ related: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1748
+ taxonomies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1749
+ taxonomy: z.ZodString;
1750
+ 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>>>]>>;
1751
+ slugs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1752
+ operator: z.ZodOptional<z.ZodEnum<{
1753
+ in: "in";
1754
+ not_in: "not_in";
1755
+ and: "and";
1756
+ }>>;
1757
+ }, z.core.$strip>>>;
1758
+ }, z.core.$strip>;
1759
+ type ListProductInput = z.input<typeof ListProductInput>;
1760
+ type ListProductInputOut = z.output<typeof ListProductInput>;
1761
+ declare const ProductFiltersPriceRange: z.ZodObject<{
1762
+ minPrice: z.ZodNumber;
1763
+ maxPrice: z.ZodNumber;
1764
+ }, z.core.$strip>;
1765
+ type ProductFiltersPriceRange = z.infer<typeof ProductFiltersPriceRange>;
1766
+ declare const ProductFiltersStockStatus: z.ZodObject<{
1767
+ count: z.ZodNumber;
1768
+ status: z.ZodEnum<{
1769
+ instock: "instock";
1770
+ outofstock: "outofstock";
1771
+ onbackorder: "onbackorder";
1772
+ }>;
1773
+ }, z.core.$strip>;
1774
+ type ProductFiltersStockStatus = z.infer<typeof ProductFiltersStockStatus>;
1775
+ declare const ProductFiltersRatingCount: z.ZodObject<{
1776
+ count: z.ZodNumber;
1777
+ rating: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
1778
+ }, z.core.$strip>;
1779
+ type ProductFiltersRatingCount = z.infer<typeof ProductFiltersRatingCount>;
1780
+ declare const ProductFiltersTerm: z.ZodObject<{
1781
+ id: z.ZodNumber;
1782
+ parentId: z.ZodNullable<z.ZodNumber>;
1783
+ name: z.ZodString;
1784
+ slug: z.ZodString;
1785
+ taxonomy: z.ZodString;
1786
+ description: z.ZodString;
1787
+ count: z.ZodNumber;
1788
+ }, z.core.$strip>;
1789
+ type ProductFiltersTerm = z.infer<typeof ProductFiltersTerm>;
1790
+ declare const ProductFiltersTaxonomyTerm: z.ZodObject<{
1791
+ id: z.ZodNumber;
1792
+ parentId: z.ZodNullable<z.ZodNumber>;
1793
+ name: z.ZodString;
1794
+ slug: z.ZodString;
1795
+ taxonomy: z.ZodString;
1796
+ description: z.ZodString;
1797
+ count: z.ZodNumber;
1798
+ image: z.ZodNullable<z.ZodObject<{
1799
+ id: z.ZodNumber;
1800
+ name: z.ZodString;
1801
+ src: z.ZodString;
1802
+ mime: z.ZodOptional<z.ZodString>;
1803
+ type: z.ZodLiteral<"image">;
1804
+ alt: z.ZodString;
1805
+ width: z.ZodOptional<z.ZodNumber>;
1806
+ height: z.ZodOptional<z.ZodNumber>;
1807
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1808
+ src: z.ZodString;
1809
+ width: z.ZodNumber;
1810
+ height: z.ZodNumber;
1811
+ }, z.core.$strict>>>;
1812
+ srcset: z.ZodOptional<z.ZodString>;
1813
+ }, z.core.$strict>>;
1814
+ }, z.core.$strip>;
1815
+ type ProductFiltersTaxonomyTerm = z.infer<typeof ProductFiltersTaxonomyTerm>;
1816
+ declare const ProductFiltersAttributeTerm: z.ZodObject<{
1817
+ id: z.ZodNumber;
1818
+ parentId: z.ZodNullable<z.ZodNumber>;
1819
+ name: z.ZodString;
1820
+ slug: z.ZodString;
1821
+ taxonomy: z.ZodString;
1822
+ description: z.ZodString;
1823
+ count: z.ZodNumber;
1824
+ type: z.ZodEnum<{
1825
+ text: "text";
1826
+ color: "color";
1827
+ image: "image";
1828
+ }>;
1829
+ swatch: z.ZodNullable<z.ZodString>;
1830
+ }, z.core.$strip>;
1831
+ type ProductFiltersAttributeTerm = z.infer<typeof ProductFiltersAttributeTerm>;
1832
+ declare const ProductFilters: z.ZodObject<{
1833
+ priceRange: z.ZodObject<{
1834
+ minPrice: z.ZodNumber;
1835
+ maxPrice: z.ZodNumber;
1836
+ }, z.core.$strip>;
1837
+ ratingCounts: z.ZodArray<z.ZodObject<{
1838
+ count: z.ZodNumber;
1839
+ rating: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
1840
+ }, z.core.$strip>>;
1841
+ stockStatuses: z.ZodArray<z.ZodObject<{
1842
+ count: z.ZodNumber;
1843
+ status: z.ZodEnum<{
1844
+ instock: "instock";
1845
+ outofstock: "outofstock";
1846
+ onbackorder: "onbackorder";
1847
+ }>;
1848
+ }, z.core.$strip>>;
1849
+ attributeTerms: z.ZodArray<z.ZodObject<{
1850
+ id: z.ZodNumber;
1851
+ parentId: z.ZodNullable<z.ZodNumber>;
1852
+ name: z.ZodString;
1853
+ slug: z.ZodString;
1854
+ taxonomy: z.ZodString;
1855
+ description: z.ZodString;
1856
+ count: z.ZodNumber;
1857
+ type: z.ZodEnum<{
1858
+ text: "text";
1859
+ color: "color";
1860
+ image: "image";
1861
+ }>;
1862
+ swatch: z.ZodNullable<z.ZodString>;
1863
+ }, z.core.$strip>>;
1864
+ taxonomyTerms: z.ZodArray<z.ZodObject<{
1865
+ id: z.ZodNumber;
1866
+ parentId: z.ZodNullable<z.ZodNumber>;
1867
+ name: z.ZodString;
1868
+ slug: z.ZodString;
1869
+ taxonomy: z.ZodString;
1870
+ description: z.ZodString;
1871
+ count: z.ZodNumber;
1872
+ image: z.ZodNullable<z.ZodObject<{
1873
+ id: z.ZodNumber;
1874
+ name: z.ZodString;
1875
+ src: z.ZodString;
1876
+ mime: z.ZodOptional<z.ZodString>;
1877
+ type: z.ZodLiteral<"image">;
1878
+ alt: z.ZodString;
1879
+ width: z.ZodOptional<z.ZodNumber>;
1880
+ height: z.ZodOptional<z.ZodNumber>;
1881
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1882
+ src: z.ZodString;
1883
+ width: z.ZodNumber;
1884
+ height: z.ZodNumber;
1885
+ }, z.core.$strict>>>;
1886
+ srcset: z.ZodOptional<z.ZodString>;
1887
+ }, z.core.$strict>>;
1888
+ }, z.core.$strip>>;
1889
+ currencyFormat: z.ZodObject<{
1890
+ currencyCode: z.ZodString;
1891
+ currencySymbol: z.ZodString;
1892
+ currencyPrefix: z.ZodString;
1893
+ currencySuffix: z.ZodString;
1894
+ currencyMinorUnit: z.ZodNumber;
1895
+ currencyDecimalSeparator: z.ZodString;
1896
+ currencyThousandSeparator: z.ZodString;
1897
+ }, z.core.$strip>;
1898
+ }, z.core.$strip>;
1899
+ type ProductFilters = z.infer<typeof ProductFilters>;
1900
+ declare const ProductAttributeCount: z.ZodObject<{
1901
+ taxonomy: z.ZodString;
1902
+ operator: z.ZodOptional<z.ZodEnum<{
1903
+ and: "and";
1904
+ or: "or";
1905
+ }>>;
1906
+ }, z.core.$strip>;
1907
+ type ProductAttributeCount = z.input<typeof ProductAttributeCount>;
1908
+ declare const RetrieveProductFiltersInput: z.ZodObject<{
1909
+ type: z.ZodOptional<z.ZodString>;
1910
+ sku: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1911
+ slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1912
+ search: z.ZodOptional<z.ZodString>;
1913
+ attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1914
+ taxonomy: z.ZodString;
1915
+ slug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1916
+ 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>>>]>>;
1917
+ operator: z.ZodOptional<z.ZodEnum<{
1918
+ in: "in";
1919
+ not_in: "not_in";
1920
+ and: "and";
1921
+ }>>;
1922
+ }, z.core.$strip>>>;
1923
+ related: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1924
+ 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>>>]>>;
1925
+ page: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1926
+ perPage: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1927
+ after: z.ZodOptional<z.ZodString>;
1928
+ before: z.ZodOptional<z.ZodString>;
1929
+ dateColumn: z.ZodOptional<z.ZodEnum<{
1930
+ date: "date";
1931
+ date_gmt: "date_gmt";
1932
+ modified: "modified";
1933
+ modified_gmt: "modified_gmt";
1934
+ }>>;
1935
+ 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>>>]>>;
1936
+ 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>>>]>>;
1937
+ offset: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1938
+ order: z.ZodOptional<z.ZodEnum<{
1939
+ asc: "asc";
1940
+ desc: "desc";
1941
+ }>>;
1942
+ 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>]>>>]>>;
1943
+ orderBy: z.ZodOptional<z.ZodEnum<{
1944
+ slug: "slug";
1945
+ date: "date";
1946
+ price: "price";
1947
+ id: "id";
1948
+ modified: "modified";
1949
+ include: "include";
1950
+ title: "title";
1951
+ popularity: "popularity";
1952
+ rating: "rating";
1953
+ menu_order: "menu_order";
1954
+ comment_count: "comment_count";
1955
+ }>>;
1956
+ 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>>>]>>;
1957
+ featured: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
1958
+ 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]>>]>>;
1959
+ categoryOperator: z.ZodOptional<z.ZodEnum<{
1960
+ in: "in";
1961
+ not_in: "not_in";
1962
+ and: "and";
1963
+ }>>;
1964
+ 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]>>]>>;
1965
+ brandOperator: z.ZodOptional<z.ZodEnum<{
1966
+ in: "in";
1967
+ not_in: "not_in";
1968
+ and: "and";
1969
+ }>>;
1970
+ 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]>>]>>;
1971
+ tagOperator: z.ZodOptional<z.ZodEnum<{
1972
+ in: "in";
1973
+ not_in: "not_in";
1974
+ and: "and";
1975
+ }>>;
1976
+ onSale: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
1977
+ minPrice: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1978
+ maxPrice: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
1979
+ stockStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1980
+ instock: "instock";
1981
+ outofstock: "outofstock";
1982
+ onbackorder: "onbackorder";
1983
+ }>, z.ZodArray<z.ZodEnum<{
1984
+ instock: "instock";
1985
+ outofstock: "outofstock";
1986
+ onbackorder: "onbackorder";
1987
+ }>>]>>;
1988
+ attributeRelation: z.ZodOptional<z.ZodEnum<{
1989
+ in: "in";
1990
+ and: "and";
1991
+ }>>;
1992
+ catalogVisibility: z.ZodOptional<z.ZodEnum<{
1993
+ any: "any";
1994
+ search: "search";
1995
+ visible: "visible";
1996
+ catalog: "catalog";
1997
+ hidden: "hidden";
1998
+ }>>;
1999
+ taxonomies: z.ZodOptional<z.ZodArray<z.ZodObject<{
2000
+ taxonomy: z.ZodString;
2001
+ 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>>>]>>;
2002
+ slugs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2003
+ operator: z.ZodOptional<z.ZodEnum<{
2004
+ in: "in";
2005
+ not_in: "not_in";
2006
+ and: "and";
2007
+ }>>;
2008
+ }, z.core.$strip>>>;
2009
+ ratingCounts: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
2010
+ stockStatusCounts: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodString, z.ZodBoolean>]>>;
2011
+ taxonomyCounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2012
+ attributeCounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2013
+ taxonomy: z.ZodString;
2014
+ operator: z.ZodOptional<z.ZodEnum<{
2015
+ and: "and";
2016
+ or: "or";
2017
+ }>>;
2018
+ }, z.core.$strip>>>;
2019
+ }, z.core.$strip>;
2020
+ type RetrieveProductFiltersInput = z.input<typeof RetrieveProductFiltersInput>;
2021
+ type RetrieveProductFiltersInputOut = z.output<typeof RetrieveProductFiltersInput>;
2022
+ //#endregion
3
2023
  //#region src/index.d.ts
4
2024
  declare function woocommerce(): kizlo0.Integration<"woocommerce", {
5
2025
  cart: {
@@ -21,8 +2041,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
21
2041
  images: {
22
2042
  id: number;
23
2043
  name: string;
24
- alt: string;
25
2044
  src: string;
2045
+ type: "image";
2046
+ alt: string;
26
2047
  mime?: string | undefined;
27
2048
  width?: number | undefined;
28
2049
  height?: number | undefined;
@@ -190,8 +2211,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
190
2211
  images: {
191
2212
  id: number;
192
2213
  name: string;
193
- alt: string;
194
2214
  src: string;
2215
+ type: "image";
2216
+ alt: string;
195
2217
  mime?: string | undefined;
196
2218
  width?: number | undefined;
197
2219
  height?: number | undefined;
@@ -334,8 +2356,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
334
2356
  images: {
335
2357
  id: number;
336
2358
  name: string;
337
- alt: string;
338
2359
  src: string;
2360
+ type: "image";
2361
+ alt: string;
339
2362
  mime?: string | undefined;
340
2363
  width?: number | undefined;
341
2364
  height?: number | undefined;
@@ -492,8 +2515,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
492
2515
  images: {
493
2516
  id: number;
494
2517
  name: string;
495
- alt: string;
496
2518
  src: string;
2519
+ type: "image";
2520
+ alt: string;
497
2521
  mime?: string | undefined;
498
2522
  width?: number | undefined;
499
2523
  height?: number | undefined;
@@ -667,8 +2691,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
667
2691
  images: {
668
2692
  id: number;
669
2693
  name: string;
670
- alt: string;
671
2694
  src: string;
2695
+ type: "image";
2696
+ alt: string;
672
2697
  mime?: string | undefined;
673
2698
  width?: number | undefined;
674
2699
  height?: number | undefined;
@@ -831,8 +2856,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
831
2856
  images: {
832
2857
  id: number;
833
2858
  name: string;
834
- alt: string;
835
2859
  src: string;
2860
+ type: "image";
2861
+ alt: string;
836
2862
  mime?: string | undefined;
837
2863
  width?: number | undefined;
838
2864
  height?: number | undefined;
@@ -981,8 +3007,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
981
3007
  images: {
982
3008
  id: number;
983
3009
  name: string;
984
- alt: string;
985
3010
  src: string;
3011
+ type: "image";
3012
+ alt: string;
986
3013
  mime?: string | undefined;
987
3014
  width?: number | undefined;
988
3015
  height?: number | undefined;
@@ -1133,8 +3160,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
1133
3160
  images: {
1134
3161
  id: number;
1135
3162
  name: string;
1136
- alt: string;
1137
3163
  src: string;
3164
+ type: "image";
3165
+ alt: string;
1138
3166
  mime?: string | undefined;
1139
3167
  width?: number | undefined;
1140
3168
  height?: number | undefined;
@@ -1276,170 +3304,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
1276
3304
  };
1277
3305
  query?: {
1278
3306
  previewToken?: string | undefined;
3307
+ recommendations?: string | boolean | undefined;
1279
3308
  } | undefined;
1280
- }, {
1281
- id: number;
1282
- parentId: number;
1283
- type: "simple" | "grouped" | "external" | "variable" | "variation";
1284
- name: string;
1285
- slug: string;
1286
- sku: string | null;
1287
- shortDescription: string;
1288
- description: string;
1289
- onSaleFrom: number | null;
1290
- onSaleTo: number | null;
1291
- isOnSale: boolean;
1292
- prices: {
1293
- price: number;
1294
- salePrice: number | null;
1295
- regularPrice: number;
1296
- };
1297
- averageRating: string;
1298
- reviewCount: number;
1299
- images: {
1300
- id: number;
1301
- name: string;
1302
- alt: string;
1303
- src: string;
1304
- mime?: string | undefined;
1305
- width?: number | undefined;
1306
- height?: number | undefined;
1307
- variants?: {
1308
- src: string;
1309
- width: number;
1310
- height: number;
1311
- }[] | undefined;
1312
- srcset?: string | undefined;
1313
- }[];
1314
- categories: {
1315
- id: number;
1316
- name: string;
1317
- slug: string;
1318
- }[];
1319
- tags: {
1320
- id: number;
1321
- name: string;
1322
- slug: string;
1323
- }[];
1324
- brands: {
1325
- id: number;
1326
- name: string;
1327
- slug: string;
1328
- }[];
1329
- attributes: {
1330
- id: number;
1331
- name: string;
1332
- taxonomy: string | null;
1333
- hasVariations: boolean;
1334
- terms: {
1335
- id: number;
1336
- name: string;
1337
- slug: string;
1338
- }[];
1339
- }[];
1340
- variations: {
1341
- id: number;
1342
- attributes: {
1343
- name: string;
1344
- value: string;
1345
- }[];
1346
- }[];
1347
- groupedProducts: number[];
1348
- isSoldIndividually: boolean;
1349
- hasOptions: boolean;
1350
- isPurchasable: boolean;
1351
- isInStock: boolean;
1352
- isOnBackorder: boolean;
1353
- stock: number | null;
1354
- lowStockRemaining: number | null;
1355
- seo: {
1356
- head: {
1357
- title: string;
1358
- canonical: string;
1359
- robots: {
1360
- index: string;
1361
- follow: string;
1362
- maxSnippet: string;
1363
- maxImagePreview: string;
1364
- maxVideoPreview: string;
1365
- };
1366
- og: {
1367
- locale: string;
1368
- type: string;
1369
- title: string;
1370
- url: string;
1371
- siteName: string;
1372
- description: string;
1373
- image: {
1374
- url: string;
1375
- width: number | null;
1376
- height: number | null;
1377
- type: string | null;
1378
- alt: string | null;
1379
- } | null;
1380
- };
1381
- twitter: {
1382
- card: "summary" | "summary_large_image";
1383
- title: string;
1384
- site: string | null;
1385
- creator: string | null;
1386
- description: string;
1387
- image: string | null;
1388
- imageAlt: string | null;
1389
- };
1390
- article: {
1391
- publishedTime: string;
1392
- modifiedTime: string;
1393
- author: string;
1394
- authorUrl: string;
1395
- section: string;
1396
- tags: string[];
1397
- } | null;
1398
- };
1399
- schema: {
1400
- "@context": "https://schema.org";
1401
- "@graph": {
1402
- [x: string]: unknown;
1403
- }[];
1404
- };
1405
- } | null;
1406
- currencyFormat: {
1407
- currencyCode: string;
1408
- currencySymbol: string;
1409
- currencyPrefix: string;
1410
- currencySuffix: string;
1411
- currencyMinorUnit: number;
1412
- currencyDecimalSeparator: string;
1413
- currencyThousandSeparator: string;
1414
- };
1415
- meta: {
1416
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | {
1417
- [x: string]: string | number | boolean | /*elided*/any | /*elided*/any | null;
1418
- } | null)[] | {
1419
- [x: string]: string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null;
1420
- } | null)[] | {
1421
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1422
- } | null)[] | {
1423
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1424
- } | null)[] | {
1425
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1426
- } | null)[] | {
1427
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1428
- } | null)[] | {
1429
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1430
- } | null)[] | {
1431
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1432
- } | null)[] | {
1433
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1434
- } | null)[] | {
1435
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1436
- } | null)[] | {
1437
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1438
- } | null)[] | {
1439
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1440
- } | null;
1441
- };
1442
- }, {
3309
+ }, Product, {
1443
3310
  readonly PRODUCT_NOT_FOUND: {
1444
3311
  readonly status: 404;
1445
3312
  readonly message: "Product not found.";
@@ -1450,256 +3317,100 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
1450
3317
  page?: string | number | undefined;
1451
3318
  perPage?: string | number | undefined;
1452
3319
  search?: string | undefined;
1453
- slug?: string | undefined;
3320
+ recommendations?: string | boolean | undefined;
3321
+ slug?: string | string[] | undefined;
1454
3322
  after?: string | undefined;
1455
3323
  before?: string | undefined;
3324
+ dateColumn?: "date" | "date_gmt" | "modified" | "modified_gmt" | undefined;
1456
3325
  exclude?: string | number | (string | number)[] | undefined;
1457
3326
  include?: string | number | (string | number)[] | undefined;
1458
3327
  offset?: string | number | undefined;
1459
3328
  order?: "asc" | "desc" | undefined;
1460
- orderby?: "slug" | "date" | "price" | "id" | "include" | "title" | "popularity" | "rating" | "menu_order" | "comment_count" | undefined;
3329
+ orderBy?: "slug" | "date" | "price" | "id" | "modified" | "include" | "title" | "popularity" | "rating" | "menu_order" | "comment_count" | undefined;
1461
3330
  parent?: string | number | (string | number)[] | undefined;
1462
3331
  parentExclude?: string | number | (string | number)[] | undefined;
1463
- type?: "simple" | "grouped" | "external" | "variable" | "variation" | undefined;
1464
- sku?: string | undefined;
3332
+ type?: string | undefined;
3333
+ sku?: string | string[] | undefined;
1465
3334
  featured?: string | boolean | undefined;
1466
- category?: string | undefined;
3335
+ category?: string | number | (string | number)[] | undefined;
1467
3336
  categoryOperator?: "in" | "not_in" | "and" | undefined;
1468
- brand?: string | undefined;
3337
+ brand?: string | number | (string | number)[] | undefined;
1469
3338
  brandOperator?: "in" | "not_in" | "and" | undefined;
1470
- tag?: string | undefined;
3339
+ tag?: string | number | (string | number)[] | undefined;
1471
3340
  tagOperator?: "in" | "not_in" | "and" | undefined;
1472
3341
  onSale?: string | boolean | undefined;
1473
- minPrice?: string | undefined;
1474
- maxPrice?: string | undefined;
3342
+ minPrice?: string | number | undefined;
3343
+ maxPrice?: string | number | undefined;
1475
3344
  stockStatus?: "instock" | "outofstock" | "onbackorder" | ("instock" | "outofstock" | "onbackorder")[] | undefined;
1476
3345
  attributes?: {
1477
- attribute?: string | undefined;
3346
+ taxonomy: string;
1478
3347
  slug?: string | string[] | undefined;
1479
3348
  termId?: string | number | (string | number)[] | undefined;
1480
3349
  operator?: "in" | "not_in" | "and" | undefined;
1481
3350
  }[] | undefined;
1482
3351
  attributeRelation?: "in" | "and" | undefined;
1483
3352
  catalogVisibility?: "any" | "search" | "visible" | "catalog" | "hidden" | undefined;
1484
- rating?: "1" | "2" | "3" | "4" | "5" | ("1" | "2" | "3" | "4" | "5")[] | undefined;
3353
+ rating?: string | number | (string | number)[] | undefined;
1485
3354
  related?: string | number | undefined;
3355
+ taxonomies?: {
3356
+ taxonomy: string;
3357
+ termIds?: string | number | (string | number)[] | undefined;
3358
+ slugs?: string | string[] | undefined;
3359
+ operator?: "in" | "not_in" | "and" | undefined;
3360
+ }[] | undefined;
1486
3361
  } | undefined;
1487
- }, {
1488
- items: {
1489
- id: number;
1490
- parentId: number;
1491
- type: "simple" | "grouped" | "external" | "variable" | "variation";
1492
- name: string;
1493
- slug: string;
1494
- sku: string | null;
1495
- shortDescription: string;
1496
- description: string;
1497
- onSaleFrom: number | null;
1498
- onSaleTo: number | null;
1499
- isOnSale: boolean;
1500
- prices: {
1501
- price: number;
1502
- salePrice: number | null;
1503
- regularPrice: number;
1504
- };
1505
- averageRating: string;
1506
- reviewCount: number;
1507
- images: {
1508
- id: number;
1509
- name: string;
1510
- alt: string;
1511
- src: string;
1512
- mime?: string | undefined;
1513
- width?: number | undefined;
1514
- height?: number | undefined;
1515
- variants?: {
1516
- src: string;
1517
- width: number;
1518
- height: number;
1519
- }[] | undefined;
1520
- srcset?: string | undefined;
1521
- }[];
1522
- categories: {
1523
- id: number;
1524
- name: string;
1525
- slug: string;
1526
- }[];
1527
- tags: {
1528
- id: number;
1529
- name: string;
1530
- slug: string;
1531
- }[];
1532
- brands: {
1533
- id: number;
1534
- name: string;
1535
- slug: string;
1536
- }[];
1537
- attributes: {
1538
- id: number;
1539
- name: string;
1540
- taxonomy: string | null;
1541
- hasVariations: boolean;
1542
- terms: {
1543
- id: number;
1544
- name: string;
1545
- slug: string;
1546
- }[];
1547
- }[];
1548
- variations: {
1549
- id: number;
1550
- attributes: {
1551
- name: string;
1552
- value: string;
1553
- }[];
1554
- }[];
1555
- groupedProducts: number[];
1556
- isSoldIndividually: boolean;
1557
- hasOptions: boolean;
1558
- isPurchasable: boolean;
1559
- isInStock: boolean;
1560
- isOnBackorder: boolean;
1561
- stock: number | null;
1562
- lowStockRemaining: number | null;
1563
- seo: {
1564
- head: {
1565
- title: string;
1566
- canonical: string;
1567
- robots: {
1568
- index: string;
1569
- follow: string;
1570
- maxSnippet: string;
1571
- maxImagePreview: string;
1572
- maxVideoPreview: string;
1573
- };
1574
- og: {
1575
- locale: string;
1576
- type: string;
1577
- title: string;
1578
- url: string;
1579
- siteName: string;
1580
- description: string;
1581
- image: {
1582
- url: string;
1583
- width: number | null;
1584
- height: number | null;
1585
- type: string | null;
1586
- alt: string | null;
1587
- } | null;
1588
- };
1589
- twitter: {
1590
- card: "summary" | "summary_large_image";
1591
- title: string;
1592
- site: string | null;
1593
- creator: string | null;
1594
- description: string;
1595
- image: string | null;
1596
- imageAlt: string | null;
1597
- };
1598
- article: {
1599
- publishedTime: string;
1600
- modifiedTime: string;
1601
- author: string;
1602
- authorUrl: string;
1603
- section: string;
1604
- tags: string[];
1605
- } | null;
1606
- };
1607
- schema: {
1608
- "@context": "https://schema.org";
1609
- "@graph": {
1610
- [x: string]: unknown;
1611
- }[];
1612
- };
1613
- } | null;
1614
- currencyFormat: {
1615
- currencyCode: string;
1616
- currencySymbol: string;
1617
- currencyPrefix: string;
1618
- currencySuffix: string;
1619
- currencyMinorUnit: number;
1620
- currencyDecimalSeparator: string;
1621
- currencyThousandSeparator: string;
1622
- };
1623
- meta: {
1624
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | {
1625
- [x: string]: string | number | boolean | /*elided*/any | /*elided*/any | null;
1626
- } | null)[] | {
1627
- [x: string]: string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null;
1628
- } | null)[] | {
1629
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1630
- } | null)[] | {
1631
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1632
- } | null)[] | {
1633
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1634
- } | null)[] | {
1635
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1636
- } | null)[] | {
1637
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1638
- } | null)[] | {
1639
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1640
- } | null)[] | {
1641
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1642
- } | null)[] | {
1643
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1644
- } | null)[] | {
1645
- [x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/any | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null)[] | /*elided*/any | null;
1646
- } | null;
1647
- };
1648
- }[];
1649
- meta: {
1650
- page: number;
1651
- totalItems: number;
1652
- totalPages: number;
1653
- nextPage: number | null;
1654
- prevPage: number | null;
1655
- hasNextPage: boolean;
1656
- hasPrevPage: boolean;
1657
- };
1658
- }, {}>;
3362
+ }, ProductList, {}>;
1659
3363
  filters: kizlo0.Procedure<"api", {
1660
3364
  query?: {
3365
+ type?: string | undefined;
3366
+ sku?: string | string[] | undefined;
3367
+ slug?: string | string[] | undefined;
3368
+ search?: string | undefined;
3369
+ attributes?: {
3370
+ taxonomy: string;
3371
+ slug?: string | string[] | undefined;
3372
+ termId?: string | number | (string | number)[] | undefined;
3373
+ operator?: "in" | "not_in" | "and" | undefined;
3374
+ }[] | undefined;
3375
+ related?: string | number | undefined;
3376
+ parent?: string | number | (string | number)[] | undefined;
1661
3377
  page?: string | number | undefined;
1662
3378
  perPage?: string | number | undefined;
1663
- search?: string | undefined;
1664
- slug?: string | undefined;
1665
3379
  after?: string | undefined;
1666
3380
  before?: string | undefined;
3381
+ dateColumn?: "date" | "date_gmt" | "modified" | "modified_gmt" | undefined;
1667
3382
  exclude?: string | number | (string | number)[] | undefined;
1668
3383
  include?: string | number | (string | number)[] | undefined;
1669
3384
  offset?: string | number | undefined;
1670
3385
  order?: "asc" | "desc" | undefined;
1671
- orderby?: "slug" | "date" | "price" | "id" | "include" | "title" | "popularity" | "rating" | "menu_order" | "comment_count" | undefined;
1672
- parent?: string | number | (string | number)[] | undefined;
3386
+ rating?: string | number | (string | number)[] | undefined;
3387
+ orderBy?: "slug" | "date" | "price" | "id" | "modified" | "include" | "title" | "popularity" | "rating" | "menu_order" | "comment_count" | undefined;
1673
3388
  parentExclude?: string | number | (string | number)[] | undefined;
1674
- type?: "simple" | "grouped" | "external" | "variable" | "variation" | undefined;
1675
- sku?: string | undefined;
1676
3389
  featured?: string | boolean | undefined;
1677
- category?: string | undefined;
3390
+ category?: string | number | (string | number)[] | undefined;
1678
3391
  categoryOperator?: "in" | "not_in" | "and" | undefined;
1679
- brand?: string | undefined;
3392
+ brand?: string | number | (string | number)[] | undefined;
1680
3393
  brandOperator?: "in" | "not_in" | "and" | undefined;
1681
- tag?: string | undefined;
3394
+ tag?: string | number | (string | number)[] | undefined;
1682
3395
  tagOperator?: "in" | "not_in" | "and" | undefined;
1683
3396
  onSale?: string | boolean | undefined;
1684
- minPrice?: string | undefined;
1685
- maxPrice?: string | undefined;
3397
+ minPrice?: string | number | undefined;
3398
+ maxPrice?: string | number | undefined;
1686
3399
  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
3400
  attributeRelation?: "in" | "and" | undefined;
1694
3401
  catalogVisibility?: "any" | "search" | "visible" | "catalog" | "hidden" | undefined;
1695
- rating?: "1" | "2" | "3" | "4" | "5" | ("1" | "2" | "3" | "4" | "5")[] | undefined;
1696
- related?: string | number | undefined;
1697
- ratingFilters?: string | boolean | undefined;
1698
- stockStatusFilters?: string | boolean | undefined;
1699
- taxonomyFilters?: string[] | undefined;
1700
- attributeFilters?: {
3402
+ taxonomies?: {
3403
+ taxonomy: string;
3404
+ termIds?: string | number | (string | number)[] | undefined;
3405
+ slugs?: string | string[] | undefined;
3406
+ operator?: "in" | "not_in" | "and" | undefined;
3407
+ }[] | undefined;
3408
+ ratingCounts?: string | boolean | undefined;
3409
+ stockStatusCounts?: string | boolean | undefined;
3410
+ taxonomyCounts?: string[] | undefined;
3411
+ attributeCounts?: {
1701
3412
  taxonomy: string;
1702
- queryType?: "and" | "or" | undefined;
3413
+ operator?: "and" | "or" | undefined;
1703
3414
  }[] | undefined;
1704
3415
  } | undefined;
1705
3416
  }, {
@@ -1707,6 +3418,10 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
1707
3418
  minPrice: number;
1708
3419
  maxPrice: number;
1709
3420
  };
3421
+ ratingCounts: {
3422
+ count: number;
3423
+ rating: 5 | 2 | 1 | 4 | 3;
3424
+ }[];
1710
3425
  stockStatuses: {
1711
3426
  count: number;
1712
3427
  status: "instock" | "outofstock" | "onbackorder";
@@ -1719,7 +3434,7 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
1719
3434
  taxonomy: string;
1720
3435
  description: string;
1721
3436
  count: number;
1722
- type: "image" | "text" | "color";
3437
+ type: "text" | "color" | "image";
1723
3438
  swatch: string | null;
1724
3439
  }[];
1725
3440
  taxonomyTerms: {
@@ -1733,8 +3448,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
1733
3448
  image: {
1734
3449
  id: number;
1735
3450
  name: string;
1736
- alt: string;
1737
3451
  src: string;
3452
+ type: "image";
3453
+ alt: string;
1738
3454
  mime?: string | undefined;
1739
3455
  width?: number | undefined;
1740
3456
  height?: number | undefined;
@@ -1777,8 +3493,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
1777
3493
  images: {
1778
3494
  id: number;
1779
3495
  name: string;
1780
- alt: string;
1781
3496
  src: string;
3497
+ type: "image";
3498
+ alt: string;
1782
3499
  mime?: string | undefined;
1783
3500
  width?: number | undefined;
1784
3501
  height?: number | undefined;
@@ -1968,8 +3685,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
1968
3685
  images: {
1969
3686
  id: number;
1970
3687
  name: string;
1971
- alt: string;
1972
3688
  src: string;
3689
+ type: "image";
3690
+ alt: string;
1973
3691
  mime?: string | undefined;
1974
3692
  width?: number | undefined;
1975
3693
  height?: number | undefined;
@@ -2188,8 +3906,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
2188
3906
  images: {
2189
3907
  id: number;
2190
3908
  name: string;
2191
- alt: string;
2192
3909
  src: string;
3910
+ type: "image";
3911
+ alt: string;
2193
3912
  mime?: string | undefined;
2194
3913
  width?: number | undefined;
2195
3914
  height?: number | undefined;
@@ -2478,8 +4197,9 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
2478
4197
  images: {
2479
4198
  id: number;
2480
4199
  name: string;
2481
- alt: string;
2482
4200
  src: string;
4201
+ type: "image";
4202
+ alt: string;
2483
4203
  mime?: string | undefined;
2484
4204
  width?: number | undefined;
2485
4205
  height?: number | undefined;
@@ -2735,4 +4455,4 @@ declare function woocommerce(): kizlo0.Integration<"woocommerce", {
2735
4455
  };
2736
4456
  }>;
2737
4457
  //#endregion
2738
- export { woocommerce };
4458
+ 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, ProductCustomFieldsSchema, 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 };