@replohq/canopy-sdk 0.14.0 → 0.15.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.
Files changed (91) hide show
  1. package/_vendor/replo-utils/lib/fonts.mjs +40 -2
  2. package/_vendor/replo-utils/lib/json.mjs +1 -1
  3. package/_vendor/replo-utils/lib/misc.mjs +2 -2
  4. package/_vendor/schemas/generated/selectMode.d.ts +1 -0
  5. package/_vendor/schemas/loaderKeys.mjs +1 -1
  6. package/_vendor/schemas/selectMode.d.ts +1 -0
  7. package/_vendor/schemas/selectMode.mjs +3 -2
  8. package/cart/buy-now-action.js +3 -3
  9. package/cart/buy-now-action.js.map +2 -2
  10. package/cart/cart-provider.js +2 -2
  11. package/cart/cart-provider.js.map +2 -2
  12. package/{_vendor/schemas/cart.mjs → cart/cart-schema.js} +26 -17
  13. package/cart/cart-schema.js.map +7 -0
  14. package/cart/cart-types.d.ts +1 -2
  15. package/cart/cart-types.js.map +2 -2
  16. package/cart/hooks/use-add-to-cart.js +1 -1
  17. package/cart/hooks/use-add-to-cart.js.map +2 -2
  18. package/cart/hooks/use-buy-now.js +2 -2
  19. package/cart/hooks/use-buy-now.js.map +2 -2
  20. package/cart/utils/variant-to-cart-line.d.ts +2 -1
  21. package/cart/utils/variant-to-cart-line.js.map +1 -1
  22. package/{chunk-OCB5XQYL.mjs → chunk-ME5W2TJM.mjs} +2 -2
  23. package/editor/select-mode/EditorSelection.js +1 -1
  24. package/editor/select-mode/EditorSelection.js.map +2 -2
  25. package/editor/select-mode/hooks/useOptimisticOverrides.d.ts +3 -6
  26. package/editor/select-mode/hooks/useOptimisticOverrides.js +6 -7
  27. package/editor/select-mode/hooks/useOptimisticOverrides.js.map +2 -2
  28. package/editor/select-mode/hooks/useParentMessaging.d.ts +1 -0
  29. package/editor/select-mode/hooks/useParentMessaging.js +1 -0
  30. package/editor/select-mode/hooks/useParentMessaging.js.map +2 -2
  31. package/gateways/canopy-api.d.ts +3 -3
  32. package/gateways/canopy-api.js +3 -3
  33. package/gateways/canopy-api.js.map +2 -2
  34. package/lib/canopy-error.d.ts +25 -0
  35. package/lib/canopy-error.js +24 -0
  36. package/lib/canopy-error.js.map +7 -0
  37. package/loaders/collection-loader.d.ts +1 -1
  38. package/loaders/collection-loader.js +1 -1
  39. package/loaders/collection-loader.js.map +2 -2
  40. package/loaders/collection-products-loader.d.ts +1 -1
  41. package/loaders/collection-products-loader.js +1 -1
  42. package/loaders/collection-products-loader.js.map +2 -2
  43. package/loaders/invoke-loader.d.ts +2 -2
  44. package/loaders/invoke-loader.js +2 -2
  45. package/loaders/invoke-loader.js.map +2 -2
  46. package/loaders/levanta-product-loader.d.ts +1 -1
  47. package/loaders/levanta-product-loader.js +1 -1
  48. package/loaders/levanta-product-loader.js.map +2 -2
  49. package/{_vendor/schemas/loaderKeys.d.ts → loaders/loader-keys.d.ts} +4 -4
  50. package/loaders/loader-keys.js +22 -0
  51. package/loaders/loader-keys.js.map +7 -0
  52. package/loaders/loader-schemas.d.ts +755 -0
  53. package/loaders/loader-schemas.js +257 -0
  54. package/loaders/loader-schemas.js.map +7 -0
  55. package/loaders/okendo-reviews-loader.js +1 -1
  56. package/loaders/okendo-reviews-loader.js.map +2 -2
  57. package/loaders/prefetch-loaders.d.ts +1 -1
  58. package/loaders/prefetch-loaders.js.map +1 -1
  59. package/loaders/product-loader.d.ts +1 -1
  60. package/loaders/product-loader.js +1 -1
  61. package/loaders/product-loader.js.map +2 -2
  62. package/loaders/rebuy-recommendations-loader.js +1 -1
  63. package/loaders/rebuy-recommendations-loader.js.map +2 -2
  64. package/loaders/yotpo-review-aggregate-loader.d.ts +1 -1
  65. package/loaders/yotpo-review-aggregate-loader.js +1 -1
  66. package/loaders/yotpo-review-aggregate-loader.js.map +2 -2
  67. package/loaders/yotpo-reviews-loader.d.ts +1 -1
  68. package/loaders/yotpo-reviews-loader.js +1 -1
  69. package/loaders/yotpo-reviews-loader.js.map +2 -2
  70. package/package.json +1 -1
  71. package/_vendor/replo-utils/lib/errors.d.ts +0 -83
  72. package/_vendor/schemas/agentTools/customIntegrations/loaders/levanta.d.ts +0 -49
  73. package/_vendor/schemas/agentTools/customIntegrations/loaders/levanta.mjs +0 -36
  74. package/_vendor/schemas/agentTools/customIntegrations/loaders/product.d.ts +0 -340
  75. package/_vendor/schemas/agentTools/customIntegrations/loaders/product.mjs +0 -51
  76. package/_vendor/schemas/agentTools/customIntegrations/loaders/yotpo.d.ts +0 -37
  77. package/_vendor/schemas/agentTools/customIntegrations/loaders/yotpo.mjs +0 -37
  78. package/_vendor/schemas/errors.d.ts +0 -438
  79. package/_vendor/schemas/errors.mjs +0 -932
  80. package/_vendor/schemas/generated/errors.d.ts +0 -61
  81. package/_vendor/schemas/objectType.d.ts +0 -1038
  82. package/_vendor/schemas/objectType.mjs +0 -2
  83. package/_vendor/schemas/registry.d.ts +0 -539
  84. package/_vendor/schemas/sandboxFiles.d.ts +0 -36
  85. package/_vendor/schemas/sellingPlan.d.ts +0 -60
  86. package/_vendor/schemas/sellingPlan.mjs +0 -1
  87. package/chunk-4XLTENDR.mjs +0 -33
  88. package/chunk-A7EUNWRQ.mjs +0 -765
  89. package/chunk-QFYIXADC.mjs +0 -42
  90. package/{_vendor/schemas/cart.d.ts → cart/cart-schema.d.ts} +0 -0
  91. package/{chunk-ILGEM42C.mjs → chunk-NCKKAFF7.mjs} +7 -7
@@ -1,1038 +0,0 @@
1
- import { z } from "zod";
2
- export declare const imageSchema: z.ZodObject<{
3
- url: z.ZodString;
4
- altText: z.ZodNullable<z.ZodString>;
5
- width: z.ZodNullable<z.ZodNumber>;
6
- height: z.ZodNullable<z.ZodNumber>;
7
- }, z.core.$strip>;
8
- export declare const mediaImageSchema: z.ZodObject<{
9
- type: z.ZodLiteral<"image">;
10
- alt: z.ZodNullable<z.ZodString>;
11
- url: z.ZodString;
12
- width: z.ZodNullable<z.ZodNumber>;
13
- height: z.ZodNullable<z.ZodNumber>;
14
- }, z.core.$strip>;
15
- export declare const videoSourceSchema: z.ZodObject<{
16
- url: z.ZodString;
17
- mimeType: z.ZodString;
18
- format: z.ZodString;
19
- width: z.ZodNullable<z.ZodNumber>;
20
- height: z.ZodNullable<z.ZodNumber>;
21
- }, z.core.$strip>;
22
- export declare const previewImageSchema: z.ZodObject<{
23
- alt: z.ZodNullable<z.ZodString>;
24
- url: z.ZodString;
25
- width: z.ZodNullable<z.ZodNumber>;
26
- height: z.ZodNullable<z.ZodNumber>;
27
- }, z.core.$strip>;
28
- export declare const videoSchema: z.ZodObject<{
29
- type: z.ZodLiteral<"video">;
30
- alt: z.ZodNullable<z.ZodString>;
31
- sources: z.ZodArray<z.ZodObject<{
32
- url: z.ZodString;
33
- mimeType: z.ZodString;
34
- format: z.ZodString;
35
- width: z.ZodNullable<z.ZodNumber>;
36
- height: z.ZodNullable<z.ZodNumber>;
37
- }, z.core.$strip>>;
38
- previewImage: z.ZodNullable<z.ZodObject<{
39
- alt: z.ZodNullable<z.ZodString>;
40
- url: z.ZodString;
41
- width: z.ZodNullable<z.ZodNumber>;
42
- height: z.ZodNullable<z.ZodNumber>;
43
- }, z.core.$strip>>;
44
- }, z.core.$strip>;
45
- export declare const externalVideoSchema: z.ZodObject<{
46
- type: z.ZodLiteral<"externalVideo">;
47
- alt: z.ZodNullable<z.ZodString>;
48
- embedUrl: z.ZodString;
49
- host: z.ZodString;
50
- originUrl: z.ZodString;
51
- previewImage: z.ZodNullable<z.ZodObject<{
52
- alt: z.ZodNullable<z.ZodString>;
53
- url: z.ZodString;
54
- width: z.ZodNullable<z.ZodNumber>;
55
- height: z.ZodNullable<z.ZodNumber>;
56
- }, z.core.$strip>>;
57
- }, z.core.$strip>;
58
- export declare const mediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
59
- type: z.ZodLiteral<"image">;
60
- alt: z.ZodNullable<z.ZodString>;
61
- url: z.ZodString;
62
- width: z.ZodNullable<z.ZodNumber>;
63
- height: z.ZodNullable<z.ZodNumber>;
64
- }, z.core.$strip>, z.ZodObject<{
65
- type: z.ZodLiteral<"video">;
66
- alt: z.ZodNullable<z.ZodString>;
67
- sources: z.ZodArray<z.ZodObject<{
68
- url: z.ZodString;
69
- mimeType: z.ZodString;
70
- format: z.ZodString;
71
- width: z.ZodNullable<z.ZodNumber>;
72
- height: z.ZodNullable<z.ZodNumber>;
73
- }, z.core.$strip>>;
74
- previewImage: z.ZodNullable<z.ZodObject<{
75
- alt: z.ZodNullable<z.ZodString>;
76
- url: z.ZodString;
77
- width: z.ZodNullable<z.ZodNumber>;
78
- height: z.ZodNullable<z.ZodNumber>;
79
- }, z.core.$strip>>;
80
- }, z.core.$strip>, z.ZodObject<{
81
- type: z.ZodLiteral<"externalVideo">;
82
- alt: z.ZodNullable<z.ZodString>;
83
- embedUrl: z.ZodString;
84
- host: z.ZodString;
85
- originUrl: z.ZodString;
86
- previewImage: z.ZodNullable<z.ZodObject<{
87
- alt: z.ZodNullable<z.ZodString>;
88
- url: z.ZodString;
89
- width: z.ZodNullable<z.ZodNumber>;
90
- height: z.ZodNullable<z.ZodNumber>;
91
- }, z.core.$strip>>;
92
- }, z.core.$strip>], "type">;
93
- export declare const priceSchema: z.ZodObject<{
94
- amount: z.ZodString;
95
- currencyCode: z.ZodString;
96
- }, z.core.$strip>;
97
- export declare const selectedOptionSchema: z.ZodObject<{
98
- name: z.ZodString;
99
- value: z.ZodString;
100
- }, z.core.$strip>;
101
- export declare const optionValueSwatchSchema: z.ZodObject<{
102
- color: z.ZodNullable<z.ZodString>;
103
- imageUrl: z.ZodNullable<z.ZodString>;
104
- }, z.core.$strip>;
105
- export declare const optionValueSchema: z.ZodObject<{
106
- id: z.ZodString;
107
- value: z.ZodString;
108
- swatch: z.ZodNullable<z.ZodObject<{
109
- color: z.ZodNullable<z.ZodString>;
110
- imageUrl: z.ZodNullable<z.ZodString>;
111
- }, z.core.$strip>>;
112
- }, z.core.$strip>;
113
- export declare const productOptionSchema: z.ZodObject<{
114
- id: z.ZodOptional<z.ZodString>;
115
- name: z.ZodString;
116
- values: z.ZodArray<z.ZodString>;
117
- optionValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
118
- id: z.ZodString;
119
- value: z.ZodString;
120
- swatch: z.ZodNullable<z.ZodObject<{
121
- color: z.ZodNullable<z.ZodString>;
122
- imageUrl: z.ZodNullable<z.ZodString>;
123
- }, z.core.$strip>>;
124
- }, z.core.$strip>>>;
125
- }, z.core.$strip>;
126
- export declare const metafieldSchema: z.ZodObject<{
127
- key: z.ZodString;
128
- namespace: z.ZodString;
129
- type: z.ZodString;
130
- value: z.ZodString;
131
- }, z.core.$strip>;
132
- export declare const variantSchema: z.ZodObject<{
133
- id: z.ZodString;
134
- title: z.ZodOptional<z.ZodString>;
135
- availableForSale: z.ZodOptional<z.ZodBoolean>;
136
- sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
- selectedOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
138
- name: z.ZodString;
139
- value: z.ZodString;
140
- }, z.core.$strip>>>;
141
- image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
142
- url: z.ZodString;
143
- altText: z.ZodNullable<z.ZodString>;
144
- width: z.ZodNullable<z.ZodNumber>;
145
- height: z.ZodNullable<z.ZodNumber>;
146
- }, z.core.$strip>>>;
147
- price: z.ZodOptional<z.ZodObject<{
148
- amount: z.ZodString;
149
- currencyCode: z.ZodString;
150
- }, z.core.$strip>>;
151
- compareAtPrice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
152
- amount: z.ZodString;
153
- currencyCode: z.ZodString;
154
- }, z.core.$strip>>>;
155
- sellingPlanIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
156
- }, z.core.$strip>;
157
- export declare const productSchema: z.ZodObject<{
158
- id: z.ZodString;
159
- handle: z.ZodOptional<z.ZodString>;
160
- title: z.ZodOptional<z.ZodString>;
161
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
- descriptionHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
- availableForSale: z.ZodOptional<z.ZodBoolean>;
164
- featuredImage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
165
- url: z.ZodString;
166
- altText: z.ZodNullable<z.ZodString>;
167
- width: z.ZodNullable<z.ZodNumber>;
168
- height: z.ZodNullable<z.ZodNumber>;
169
- }, z.core.$strip>>>;
170
- options: z.ZodOptional<z.ZodArray<z.ZodObject<{
171
- id: z.ZodOptional<z.ZodString>;
172
- name: z.ZodString;
173
- values: z.ZodArray<z.ZodString>;
174
- optionValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
175
- id: z.ZodString;
176
- value: z.ZodString;
177
- swatch: z.ZodNullable<z.ZodObject<{
178
- color: z.ZodNullable<z.ZodString>;
179
- imageUrl: z.ZodNullable<z.ZodString>;
180
- }, z.core.$strip>>;
181
- }, z.core.$strip>>>;
182
- }, z.core.$strip>>>;
183
- variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
184
- id: z.ZodString;
185
- title: z.ZodOptional<z.ZodString>;
186
- availableForSale: z.ZodOptional<z.ZodBoolean>;
187
- sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
- selectedOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
189
- name: z.ZodString;
190
- value: z.ZodString;
191
- }, z.core.$strip>>>;
192
- image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
193
- url: z.ZodString;
194
- altText: z.ZodNullable<z.ZodString>;
195
- width: z.ZodNullable<z.ZodNumber>;
196
- height: z.ZodNullable<z.ZodNumber>;
197
- }, z.core.$strip>>>;
198
- price: z.ZodOptional<z.ZodObject<{
199
- amount: z.ZodString;
200
- currencyCode: z.ZodString;
201
- }, z.core.$strip>>;
202
- compareAtPrice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
203
- amount: z.ZodString;
204
- currencyCode: z.ZodString;
205
- }, z.core.$strip>>>;
206
- sellingPlanIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
207
- }, z.core.$strip>>>;
208
- minPrice: z.ZodOptional<z.ZodObject<{
209
- amount: z.ZodString;
210
- currencyCode: z.ZodString;
211
- }, z.core.$strip>>;
212
- maxPrice: z.ZodOptional<z.ZodObject<{
213
- amount: z.ZodString;
214
- currencyCode: z.ZodString;
215
- }, z.core.$strip>>;
216
- compareAtMinPrice: z.ZodOptional<z.ZodObject<{
217
- amount: z.ZodString;
218
- currencyCode: z.ZodString;
219
- }, z.core.$strip>>;
220
- compareAtMaxPrice: z.ZodOptional<z.ZodObject<{
221
- amount: z.ZodString;
222
- currencyCode: z.ZodString;
223
- }, z.core.$strip>>;
224
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
225
- url: z.ZodString;
226
- altText: z.ZodNullable<z.ZodString>;
227
- width: z.ZodNullable<z.ZodNumber>;
228
- height: z.ZodNullable<z.ZodNumber>;
229
- }, z.core.$strip>>>;
230
- media: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
231
- type: z.ZodLiteral<"image">;
232
- alt: z.ZodNullable<z.ZodString>;
233
- url: z.ZodString;
234
- width: z.ZodNullable<z.ZodNumber>;
235
- height: z.ZodNullable<z.ZodNumber>;
236
- }, z.core.$strip>, z.ZodObject<{
237
- type: z.ZodLiteral<"video">;
238
- alt: z.ZodNullable<z.ZodString>;
239
- sources: z.ZodArray<z.ZodObject<{
240
- url: z.ZodString;
241
- mimeType: z.ZodString;
242
- format: z.ZodString;
243
- width: z.ZodNullable<z.ZodNumber>;
244
- height: z.ZodNullable<z.ZodNumber>;
245
- }, z.core.$strip>>;
246
- previewImage: z.ZodNullable<z.ZodObject<{
247
- alt: z.ZodNullable<z.ZodString>;
248
- url: z.ZodString;
249
- width: z.ZodNullable<z.ZodNumber>;
250
- height: z.ZodNullable<z.ZodNumber>;
251
- }, z.core.$strip>>;
252
- }, z.core.$strip>, z.ZodObject<{
253
- type: z.ZodLiteral<"externalVideo">;
254
- alt: z.ZodNullable<z.ZodString>;
255
- embedUrl: z.ZodString;
256
- host: z.ZodString;
257
- originUrl: z.ZodString;
258
- previewImage: z.ZodNullable<z.ZodObject<{
259
- alt: z.ZodNullable<z.ZodString>;
260
- url: z.ZodString;
261
- width: z.ZodNullable<z.ZodNumber>;
262
- height: z.ZodNullable<z.ZodNumber>;
263
- }, z.core.$strip>>;
264
- }, z.core.$strip>], "type">>>;
265
- vendor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
266
- productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
267
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
268
- sellingPlanGroups: z.ZodOptional<z.ZodArray<z.ZodObject<{
269
- appId: z.ZodNullable<z.ZodString>;
270
- options: z.ZodArray<z.ZodObject<{
271
- name: z.ZodString;
272
- values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
273
- }, z.core.$strip>>;
274
- sellingPlans: z.ZodArray<z.ZodObject<{
275
- id: z.ZodString;
276
- name: z.ZodString;
277
- description: z.ZodNullable<z.ZodString>;
278
- optionValues: z.ZodArray<z.ZodObject<{
279
- name: z.ZodOptional<z.ZodString>;
280
- value: z.ZodString;
281
- }, z.core.$strip>>;
282
- priceAdjustments: z.ZodArray<z.ZodObject<{
283
- value: z.ZodNumber;
284
- valueType: z.ZodEnum<{
285
- price: "price";
286
- percentage: "percentage";
287
- fixedAmount: "fixedAmount";
288
- }>;
289
- }, z.core.$strip>>;
290
- appId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
291
- price: z.ZodOptional<z.ZodString>;
292
- externalId: z.ZodNullable<z.ZodString>;
293
- }, z.core.$strip>>;
294
- }, z.core.$strip>>>;
295
- metafields: z.ZodOptional<z.ZodArray<z.ZodObject<{
296
- key: z.ZodString;
297
- namespace: z.ZodString;
298
- type: z.ZodString;
299
- value: z.ZodString;
300
- }, z.core.$strip>>>;
301
- }, z.core.$strip>;
302
- export declare const collectionSchema: z.ZodObject<{
303
- id: z.ZodString;
304
- handle: z.ZodOptional<z.ZodString>;
305
- title: z.ZodOptional<z.ZodString>;
306
- descriptionHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
307
- image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
308
- url: z.ZodString;
309
- altText: z.ZodNullable<z.ZodString>;
310
- width: z.ZodNullable<z.ZodNumber>;
311
- height: z.ZodNullable<z.ZodNumber>;
312
- }, z.core.$strip>>>;
313
- }, z.core.$strip>;
314
- export declare const discountCodeSchema: z.ZodObject<{
315
- id: z.ZodString;
316
- codes: z.ZodOptional<z.ZodArray<z.ZodString>>;
317
- title: z.ZodOptional<z.ZodString>;
318
- status: z.ZodOptional<z.ZodString>;
319
- summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
- discountType: z.ZodOptional<z.ZodString>;
321
- startsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
322
- endsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
323
- usageLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
324
- usageCount: z.ZodOptional<z.ZodNumber>;
325
- appliesOncePerCustomer: z.ZodOptional<z.ZodBoolean>;
326
- }, z.core.$strip>;
327
- export declare const assetSchema: z.ZodObject<{
328
- id: z.ZodString;
329
- name: z.ZodOptional<z.ZodString>;
330
- url: z.ZodOptional<z.ZodString>;
331
- fileExtension: z.ZodOptional<z.ZodString>;
332
- }, z.core.$strip>;
333
- export declare const integrationSchema: z.ZodObject<{
334
- type: z.ZodString;
335
- title: z.ZodOptional<z.ZodString>;
336
- image: z.ZodOptional<z.ZodString>;
337
- }, z.core.$strip>;
338
- export declare const pageSchema: z.ZodObject<{
339
- id: z.ZodString;
340
- name: z.ZodOptional<z.ZodString>;
341
- route: z.ZodOptional<z.ZodString>;
342
- }, z.core.$strip>;
343
- export declare const registryItemSchema: z.ZodObject<{
344
- id: z.ZodString;
345
- slug: z.ZodOptional<z.ZodString>;
346
- title: z.ZodOptional<z.ZodString>;
347
- type: z.ZodOptional<z.ZodEnum<{
348
- product: "product";
349
- plan: "plan";
350
- site: "site";
351
- page: "page";
352
- section: "section";
353
- skill: "skill";
354
- branding: "branding";
355
- }>>;
356
- description: z.ZodOptional<z.ZodString>;
357
- previewUrl: z.ZodOptional<z.ZodString>;
358
- }, z.core.$strip>;
359
- export declare const opusClipSchema: z.ZodObject<{
360
- id: z.ZodString;
361
- title: z.ZodOptional<z.ZodString>;
362
- description: z.ZodOptional<z.ZodString>;
363
- previewUrl: z.ZodOptional<z.ZodString>;
364
- exportUrl: z.ZodOptional<z.ZodString>;
365
- durationMs: z.ZodOptional<z.ZodNumber>;
366
- opusProjectId: z.ZodOptional<z.ZodString>;
367
- projectTitle: z.ZodOptional<z.ZodString>;
368
- }, z.core.$strip>;
369
- export declare const opusProjectSchema: z.ZodObject<{
370
- id: z.ZodString;
371
- title: z.ZodOptional<z.ZodString>;
372
- sourceVideoUrl: z.ZodOptional<z.ZodString>;
373
- createdAtIso: z.ZodOptional<z.ZodString>;
374
- }, z.core.$strip>;
375
- export declare const opusCollectionSchema: z.ZodObject<{
376
- id: z.ZodString;
377
- name: z.ZodOptional<z.ZodString>;
378
- createdAt: z.ZodOptional<z.ZodString>;
379
- updatedAt: z.ZodOptional<z.ZodString>;
380
- }, z.core.$strip>;
381
- export declare const segmentSourceSchema: z.ZodObject<{
382
- id: z.ZodString;
383
- slug: z.ZodOptional<z.ZodString>;
384
- name: z.ZodOptional<z.ZodString>;
385
- enabled: z.ZodOptional<z.ZodBoolean>;
386
- sourceType: z.ZodOptional<z.ZodString>;
387
- writeKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
388
- }, z.core.$strip>;
389
- export declare const levantaAffiliateLinkSchema: z.ZodObject<{
390
- linkId: z.ZodString;
391
- url: z.ZodString;
392
- }, z.core.$strip>;
393
- export declare const levantaProductSchema: z.ZodObject<{
394
- id: z.ZodString;
395
- asin: z.ZodOptional<z.ZodString>;
396
- title: z.ZodOptional<z.ZodString>;
397
- price: z.ZodOptional<z.ZodString>;
398
- commission: z.ZodOptional<z.ZodString>;
399
- imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
- brand: z.ZodOptional<z.ZodNullable<z.ZodObject<{
401
- id: z.ZodString;
402
- name: z.ZodString;
403
- }, z.core.$strip>>>;
404
- inStock: z.ZodOptional<z.ZodBoolean>;
405
- marketplace: z.ZodOptional<z.ZodString>;
406
- affiliateLink: z.ZodOptional<z.ZodNullable<z.ZodObject<{
407
- linkId: z.ZodString;
408
- url: z.ZodString;
409
- }, z.core.$strip>>>;
410
- }, z.core.$strip>;
411
- export declare const intelligemsExperienceSchema: z.ZodObject<{
412
- id: z.ZodString;
413
- name: z.ZodOptional<z.ZodString>;
414
- category: z.ZodOptional<z.ZodString>;
415
- status: z.ZodOptional<z.ZodString>;
416
- }, z.core.$strip>;
417
- export declare const customerIoSegmentSchema: z.ZodObject<{
418
- id: z.ZodString;
419
- name: z.ZodOptional<z.ZodString>;
420
- description: z.ZodOptional<z.ZodString>;
421
- type: z.ZodOptional<z.ZodString>;
422
- }, z.core.$strip>;
423
- export declare const customerIoCampaignSchema: z.ZodObject<{
424
- id: z.ZodString;
425
- name: z.ZodOptional<z.ZodString>;
426
- type: z.ZodOptional<z.ZodString>;
427
- active: z.ZodOptional<z.ZodBoolean>;
428
- }, z.core.$strip>;
429
- export declare const customerIoBroadcastSchema: z.ZodObject<{
430
- id: z.ZodString;
431
- name: z.ZodOptional<z.ZodString>;
432
- active: z.ZodOptional<z.ZodBoolean>;
433
- }, z.core.$strip>;
434
- export declare const vwoCampaignSchema: z.ZodObject<{
435
- id: z.ZodString;
436
- name: z.ZodOptional<z.ZodString>;
437
- type: z.ZodOptional<z.ZodString>;
438
- status: z.ZodOptional<z.ZodString>;
439
- }, z.core.$strip>;
440
- export declare const okendoReviewSchema: z.ZodObject<{
441
- id: z.ZodString;
442
- title: z.ZodOptional<z.ZodString>;
443
- body: z.ZodOptional<z.ZodString>;
444
- rating: z.ZodOptional<z.ZodNumber>;
445
- productName: z.ZodOptional<z.ZodString>;
446
- reviewerName: z.ZodOptional<z.ZodString>;
447
- dateCreated: z.ZodOptional<z.ZodString>;
448
- status: z.ZodOptional<z.ZodString>;
449
- }, z.core.$strip>;
450
- export declare const looxReviewSchema: z.ZodObject<{
451
- id: z.ZodString;
452
- title: z.ZodOptional<z.ZodString>;
453
- body: z.ZodOptional<z.ZodString>;
454
- rating: z.ZodOptional<z.ZodNumber>;
455
- productName: z.ZodOptional<z.ZodString>;
456
- reviewerName: z.ZodOptional<z.ZodString>;
457
- dateCreated: z.ZodOptional<z.ZodString>;
458
- status: z.ZodOptional<z.ZodString>;
459
- }, z.core.$strip>;
460
- export declare const planSchema: z.ZodObject<{
461
- id: z.ZodString;
462
- name: z.ZodOptional<z.ZodString>;
463
- path: z.ZodOptional<z.ZodString>;
464
- }, z.core.$strip>;
465
- export type Product = z.infer<typeof productSchema>;
466
- export type Collection = z.infer<typeof collectionSchema>;
467
- export type DiscountCode = z.infer<typeof discountCodeSchema>;
468
- export type Variant = z.infer<typeof variantSchema>;
469
- export type Media = z.infer<typeof mediaSchema>;
470
- export type Metafield = z.infer<typeof metafieldSchema>;
471
- export type OptionValue = z.infer<typeof optionValueSchema>;
472
- export type LevantaProduct = z.infer<typeof levantaProductSchema>;
473
- export interface ObjectTypeIdentifiers {
474
- /** Field name for the stable primary ID (e.g., "id"). */
475
- primaryId: string;
476
- /** Field name for a URL-friendly slug (e.g., "handle"). */
477
- handle?: string;
478
- /** Field name for a cart-addressable ID (e.g., variant "id" used as Storefront merchandiseId). */
479
- cartMerchandiseId?: string;
480
- }
481
- export interface ObjectTypeDefinition {
482
- type: string;
483
- displayName: string;
484
- identifiers: ObjectTypeIdentifiers;
485
- canonicalSchema: z.ZodType;
486
- mentionable?: boolean;
487
- }
488
- declare const OBJECT_TYPE_REGISTRY: {
489
- product: {
490
- type: string;
491
- displayName: string;
492
- identifiers: {
493
- primaryId: string;
494
- handle: string;
495
- };
496
- canonicalSchema: z.ZodObject<{
497
- id: z.ZodString;
498
- handle: z.ZodOptional<z.ZodString>;
499
- title: z.ZodOptional<z.ZodString>;
500
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
501
- descriptionHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
502
- availableForSale: z.ZodOptional<z.ZodBoolean>;
503
- featuredImage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
504
- url: z.ZodString;
505
- altText: z.ZodNullable<z.ZodString>;
506
- width: z.ZodNullable<z.ZodNumber>;
507
- height: z.ZodNullable<z.ZodNumber>;
508
- }, z.core.$strip>>>;
509
- options: z.ZodOptional<z.ZodArray<z.ZodObject<{
510
- id: z.ZodOptional<z.ZodString>;
511
- name: z.ZodString;
512
- values: z.ZodArray<z.ZodString>;
513
- optionValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
514
- id: z.ZodString;
515
- value: z.ZodString;
516
- swatch: z.ZodNullable<z.ZodObject<{
517
- color: z.ZodNullable<z.ZodString>;
518
- imageUrl: z.ZodNullable<z.ZodString>;
519
- }, z.core.$strip>>;
520
- }, z.core.$strip>>>;
521
- }, z.core.$strip>>>;
522
- variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
523
- id: z.ZodString;
524
- title: z.ZodOptional<z.ZodString>;
525
- availableForSale: z.ZodOptional<z.ZodBoolean>;
526
- sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
527
- selectedOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
528
- name: z.ZodString;
529
- value: z.ZodString;
530
- }, z.core.$strip>>>;
531
- image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
532
- url: z.ZodString;
533
- altText: z.ZodNullable<z.ZodString>;
534
- width: z.ZodNullable<z.ZodNumber>;
535
- height: z.ZodNullable<z.ZodNumber>;
536
- }, z.core.$strip>>>;
537
- price: z.ZodOptional<z.ZodObject<{
538
- amount: z.ZodString;
539
- currencyCode: z.ZodString;
540
- }, z.core.$strip>>;
541
- compareAtPrice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
542
- amount: z.ZodString;
543
- currencyCode: z.ZodString;
544
- }, z.core.$strip>>>;
545
- sellingPlanIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
546
- }, z.core.$strip>>>;
547
- minPrice: z.ZodOptional<z.ZodObject<{
548
- amount: z.ZodString;
549
- currencyCode: z.ZodString;
550
- }, z.core.$strip>>;
551
- maxPrice: z.ZodOptional<z.ZodObject<{
552
- amount: z.ZodString;
553
- currencyCode: z.ZodString;
554
- }, z.core.$strip>>;
555
- compareAtMinPrice: z.ZodOptional<z.ZodObject<{
556
- amount: z.ZodString;
557
- currencyCode: z.ZodString;
558
- }, z.core.$strip>>;
559
- compareAtMaxPrice: z.ZodOptional<z.ZodObject<{
560
- amount: z.ZodString;
561
- currencyCode: z.ZodString;
562
- }, z.core.$strip>>;
563
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
564
- url: z.ZodString;
565
- altText: z.ZodNullable<z.ZodString>;
566
- width: z.ZodNullable<z.ZodNumber>;
567
- height: z.ZodNullable<z.ZodNumber>;
568
- }, z.core.$strip>>>;
569
- media: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
570
- type: z.ZodLiteral<"image">;
571
- alt: z.ZodNullable<z.ZodString>;
572
- url: z.ZodString;
573
- width: z.ZodNullable<z.ZodNumber>;
574
- height: z.ZodNullable<z.ZodNumber>;
575
- }, z.core.$strip>, z.ZodObject<{
576
- type: z.ZodLiteral<"video">;
577
- alt: z.ZodNullable<z.ZodString>;
578
- sources: z.ZodArray<z.ZodObject<{
579
- url: z.ZodString;
580
- mimeType: z.ZodString;
581
- format: z.ZodString;
582
- width: z.ZodNullable<z.ZodNumber>;
583
- height: z.ZodNullable<z.ZodNumber>;
584
- }, z.core.$strip>>;
585
- previewImage: z.ZodNullable<z.ZodObject<{
586
- alt: z.ZodNullable<z.ZodString>;
587
- url: z.ZodString;
588
- width: z.ZodNullable<z.ZodNumber>;
589
- height: z.ZodNullable<z.ZodNumber>;
590
- }, z.core.$strip>>;
591
- }, z.core.$strip>, z.ZodObject<{
592
- type: z.ZodLiteral<"externalVideo">;
593
- alt: z.ZodNullable<z.ZodString>;
594
- embedUrl: z.ZodString;
595
- host: z.ZodString;
596
- originUrl: z.ZodString;
597
- previewImage: z.ZodNullable<z.ZodObject<{
598
- alt: z.ZodNullable<z.ZodString>;
599
- url: z.ZodString;
600
- width: z.ZodNullable<z.ZodNumber>;
601
- height: z.ZodNullable<z.ZodNumber>;
602
- }, z.core.$strip>>;
603
- }, z.core.$strip>], "type">>>;
604
- vendor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
605
- productType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
606
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
607
- sellingPlanGroups: z.ZodOptional<z.ZodArray<z.ZodObject<{
608
- appId: z.ZodNullable<z.ZodString>;
609
- options: z.ZodArray<z.ZodObject<{
610
- name: z.ZodString;
611
- values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
612
- }, z.core.$strip>>;
613
- sellingPlans: z.ZodArray<z.ZodObject<{
614
- id: z.ZodString;
615
- name: z.ZodString;
616
- description: z.ZodNullable<z.ZodString>;
617
- optionValues: z.ZodArray<z.ZodObject<{
618
- name: z.ZodOptional<z.ZodString>;
619
- value: z.ZodString;
620
- }, z.core.$strip>>;
621
- priceAdjustments: z.ZodArray<z.ZodObject<{
622
- value: z.ZodNumber;
623
- valueType: z.ZodEnum<{
624
- price: "price";
625
- percentage: "percentage";
626
- fixedAmount: "fixedAmount";
627
- }>;
628
- }, z.core.$strip>>;
629
- appId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
630
- price: z.ZodOptional<z.ZodString>;
631
- externalId: z.ZodNullable<z.ZodString>;
632
- }, z.core.$strip>>;
633
- }, z.core.$strip>>>;
634
- metafields: z.ZodOptional<z.ZodArray<z.ZodObject<{
635
- key: z.ZodString;
636
- namespace: z.ZodString;
637
- type: z.ZodString;
638
- value: z.ZodString;
639
- }, z.core.$strip>>>;
640
- }, z.core.$strip>;
641
- mentionable: true;
642
- };
643
- collection: {
644
- type: string;
645
- displayName: string;
646
- identifiers: {
647
- primaryId: string;
648
- handle: string;
649
- };
650
- canonicalSchema: z.ZodObject<{
651
- id: z.ZodString;
652
- handle: z.ZodOptional<z.ZodString>;
653
- title: z.ZodOptional<z.ZodString>;
654
- descriptionHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
655
- image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
656
- url: z.ZodString;
657
- altText: z.ZodNullable<z.ZodString>;
658
- width: z.ZodNullable<z.ZodNumber>;
659
- height: z.ZodNullable<z.ZodNumber>;
660
- }, z.core.$strip>>>;
661
- }, z.core.$strip>;
662
- mentionable: true;
663
- };
664
- discountCode: {
665
- type: string;
666
- displayName: string;
667
- identifiers: {
668
- primaryId: string;
669
- };
670
- canonicalSchema: z.ZodObject<{
671
- id: z.ZodString;
672
- codes: z.ZodOptional<z.ZodArray<z.ZodString>>;
673
- title: z.ZodOptional<z.ZodString>;
674
- status: z.ZodOptional<z.ZodString>;
675
- summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
676
- discountType: z.ZodOptional<z.ZodString>;
677
- startsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
678
- endsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
679
- usageLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
680
- usageCount: z.ZodOptional<z.ZodNumber>;
681
- appliesOncePerCustomer: z.ZodOptional<z.ZodBoolean>;
682
- }, z.core.$strip>;
683
- mentionable: true;
684
- };
685
- variant: {
686
- type: string;
687
- displayName: string;
688
- identifiers: {
689
- primaryId: string;
690
- cartMerchandiseId: string;
691
- };
692
- canonicalSchema: z.ZodObject<{
693
- id: z.ZodString;
694
- title: z.ZodOptional<z.ZodString>;
695
- availableForSale: z.ZodOptional<z.ZodBoolean>;
696
- sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
697
- selectedOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
698
- name: z.ZodString;
699
- value: z.ZodString;
700
- }, z.core.$strip>>>;
701
- image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
702
- url: z.ZodString;
703
- altText: z.ZodNullable<z.ZodString>;
704
- width: z.ZodNullable<z.ZodNumber>;
705
- height: z.ZodNullable<z.ZodNumber>;
706
- }, z.core.$strip>>>;
707
- price: z.ZodOptional<z.ZodObject<{
708
- amount: z.ZodString;
709
- currencyCode: z.ZodString;
710
- }, z.core.$strip>>;
711
- compareAtPrice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
712
- amount: z.ZodString;
713
- currencyCode: z.ZodString;
714
- }, z.core.$strip>>>;
715
- sellingPlanIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
716
- }, z.core.$strip>;
717
- };
718
- asset: {
719
- type: string;
720
- displayName: string;
721
- identifiers: {
722
- primaryId: string;
723
- };
724
- canonicalSchema: z.ZodObject<{
725
- id: z.ZodString;
726
- name: z.ZodOptional<z.ZodString>;
727
- url: z.ZodOptional<z.ZodString>;
728
- fileExtension: z.ZodOptional<z.ZodString>;
729
- }, z.core.$strip>;
730
- mentionable: true;
731
- };
732
- integration: {
733
- type: string;
734
- displayName: string;
735
- identifiers: {
736
- primaryId: string;
737
- };
738
- canonicalSchema: z.ZodObject<{
739
- type: z.ZodString;
740
- title: z.ZodOptional<z.ZodString>;
741
- image: z.ZodOptional<z.ZodString>;
742
- }, z.core.$strip>;
743
- mentionable: true;
744
- };
745
- page: {
746
- type: string;
747
- displayName: string;
748
- identifiers: {
749
- primaryId: string;
750
- };
751
- canonicalSchema: z.ZodObject<{
752
- id: z.ZodString;
753
- name: z.ZodOptional<z.ZodString>;
754
- route: z.ZodOptional<z.ZodString>;
755
- }, z.core.$strip>;
756
- mentionable: true;
757
- };
758
- skill: {
759
- type: string;
760
- displayName: string;
761
- identifiers: {
762
- primaryId: string;
763
- };
764
- canonicalSchema: z.ZodObject<{
765
- id: z.ZodString;
766
- name: z.ZodString;
767
- description: z.ZodString;
768
- body: z.ZodString;
769
- }, z.core.$strip>;
770
- mentionable: true;
771
- };
772
- registryItem: {
773
- type: string;
774
- displayName: string;
775
- identifiers: {
776
- primaryId: string;
777
- handle: string;
778
- };
779
- canonicalSchema: z.ZodObject<{
780
- id: z.ZodString;
781
- slug: z.ZodOptional<z.ZodString>;
782
- title: z.ZodOptional<z.ZodString>;
783
- type: z.ZodOptional<z.ZodEnum<{
784
- product: "product";
785
- plan: "plan";
786
- site: "site";
787
- page: "page";
788
- section: "section";
789
- skill: "skill";
790
- branding: "branding";
791
- }>>;
792
- description: z.ZodOptional<z.ZodString>;
793
- previewUrl: z.ZodOptional<z.ZodString>;
794
- }, z.core.$strip>;
795
- mentionable: true;
796
- };
797
- opusClip: {
798
- type: string;
799
- displayName: string;
800
- identifiers: {
801
- primaryId: string;
802
- };
803
- canonicalSchema: z.ZodObject<{
804
- id: z.ZodString;
805
- title: z.ZodOptional<z.ZodString>;
806
- description: z.ZodOptional<z.ZodString>;
807
- previewUrl: z.ZodOptional<z.ZodString>;
808
- exportUrl: z.ZodOptional<z.ZodString>;
809
- durationMs: z.ZodOptional<z.ZodNumber>;
810
- opusProjectId: z.ZodOptional<z.ZodString>;
811
- projectTitle: z.ZodOptional<z.ZodString>;
812
- }, z.core.$strip>;
813
- mentionable: true;
814
- };
815
- opusProject: {
816
- type: string;
817
- displayName: string;
818
- identifiers: {
819
- primaryId: string;
820
- };
821
- canonicalSchema: z.ZodObject<{
822
- id: z.ZodString;
823
- title: z.ZodOptional<z.ZodString>;
824
- sourceVideoUrl: z.ZodOptional<z.ZodString>;
825
- createdAtIso: z.ZodOptional<z.ZodString>;
826
- }, z.core.$strip>;
827
- mentionable: true;
828
- };
829
- opusCollection: {
830
- type: string;
831
- displayName: string;
832
- identifiers: {
833
- primaryId: string;
834
- };
835
- canonicalSchema: z.ZodObject<{
836
- id: z.ZodString;
837
- name: z.ZodOptional<z.ZodString>;
838
- createdAt: z.ZodOptional<z.ZodString>;
839
- updatedAt: z.ZodOptional<z.ZodString>;
840
- }, z.core.$strip>;
841
- mentionable: true;
842
- };
843
- segmentSource: {
844
- type: string;
845
- displayName: string;
846
- identifiers: {
847
- primaryId: string;
848
- };
849
- canonicalSchema: z.ZodObject<{
850
- id: z.ZodString;
851
- slug: z.ZodOptional<z.ZodString>;
852
- name: z.ZodOptional<z.ZodString>;
853
- enabled: z.ZodOptional<z.ZodBoolean>;
854
- sourceType: z.ZodOptional<z.ZodString>;
855
- writeKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
856
- }, z.core.$strip>;
857
- mentionable: true;
858
- };
859
- intelligemsExperience: {
860
- type: string;
861
- displayName: string;
862
- identifiers: {
863
- primaryId: string;
864
- };
865
- canonicalSchema: z.ZodObject<{
866
- id: z.ZodString;
867
- name: z.ZodOptional<z.ZodString>;
868
- category: z.ZodOptional<z.ZodString>;
869
- status: z.ZodOptional<z.ZodString>;
870
- }, z.core.$strip>;
871
- mentionable: true;
872
- };
873
- customerIoSegment: {
874
- type: string;
875
- displayName: string;
876
- identifiers: {
877
- primaryId: string;
878
- };
879
- canonicalSchema: z.ZodObject<{
880
- id: z.ZodString;
881
- name: z.ZodOptional<z.ZodString>;
882
- description: z.ZodOptional<z.ZodString>;
883
- type: z.ZodOptional<z.ZodString>;
884
- }, z.core.$strip>;
885
- mentionable: true;
886
- };
887
- customerIoCampaign: {
888
- type: string;
889
- displayName: string;
890
- identifiers: {
891
- primaryId: string;
892
- };
893
- canonicalSchema: z.ZodObject<{
894
- id: z.ZodString;
895
- name: z.ZodOptional<z.ZodString>;
896
- type: z.ZodOptional<z.ZodString>;
897
- active: z.ZodOptional<z.ZodBoolean>;
898
- }, z.core.$strip>;
899
- mentionable: true;
900
- };
901
- customerIoBroadcast: {
902
- type: string;
903
- displayName: string;
904
- identifiers: {
905
- primaryId: string;
906
- };
907
- canonicalSchema: z.ZodObject<{
908
- id: z.ZodString;
909
- name: z.ZodOptional<z.ZodString>;
910
- active: z.ZodOptional<z.ZodBoolean>;
911
- }, z.core.$strip>;
912
- mentionable: true;
913
- };
914
- vwoCampaign: {
915
- type: string;
916
- displayName: string;
917
- identifiers: {
918
- primaryId: string;
919
- };
920
- canonicalSchema: z.ZodObject<{
921
- id: z.ZodString;
922
- name: z.ZodOptional<z.ZodString>;
923
- type: z.ZodOptional<z.ZodString>;
924
- status: z.ZodOptional<z.ZodString>;
925
- }, z.core.$strip>;
926
- mentionable: true;
927
- };
928
- levantaProduct: {
929
- type: string;
930
- displayName: string;
931
- identifiers: {
932
- primaryId: string;
933
- };
934
- canonicalSchema: z.ZodObject<{
935
- id: z.ZodString;
936
- asin: z.ZodOptional<z.ZodString>;
937
- title: z.ZodOptional<z.ZodString>;
938
- price: z.ZodOptional<z.ZodString>;
939
- commission: z.ZodOptional<z.ZodString>;
940
- imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
941
- brand: z.ZodOptional<z.ZodNullable<z.ZodObject<{
942
- id: z.ZodString;
943
- name: z.ZodString;
944
- }, z.core.$strip>>>;
945
- inStock: z.ZodOptional<z.ZodBoolean>;
946
- marketplace: z.ZodOptional<z.ZodString>;
947
- affiliateLink: z.ZodOptional<z.ZodNullable<z.ZodObject<{
948
- linkId: z.ZodString;
949
- url: z.ZodString;
950
- }, z.core.$strip>>>;
951
- }, z.core.$strip>;
952
- mentionable: true;
953
- };
954
- okendoReview: {
955
- type: string;
956
- displayName: string;
957
- identifiers: {
958
- primaryId: string;
959
- };
960
- canonicalSchema: z.ZodObject<{
961
- id: z.ZodString;
962
- title: z.ZodOptional<z.ZodString>;
963
- body: z.ZodOptional<z.ZodString>;
964
- rating: z.ZodOptional<z.ZodNumber>;
965
- productName: z.ZodOptional<z.ZodString>;
966
- reviewerName: z.ZodOptional<z.ZodString>;
967
- dateCreated: z.ZodOptional<z.ZodString>;
968
- status: z.ZodOptional<z.ZodString>;
969
- }, z.core.$strip>;
970
- mentionable: true;
971
- };
972
- looxReview: {
973
- type: string;
974
- displayName: string;
975
- identifiers: {
976
- primaryId: string;
977
- };
978
- canonicalSchema: z.ZodObject<{
979
- id: z.ZodString;
980
- title: z.ZodOptional<z.ZodString>;
981
- body: z.ZodOptional<z.ZodString>;
982
- rating: z.ZodOptional<z.ZodNumber>;
983
- productName: z.ZodOptional<z.ZodString>;
984
- reviewerName: z.ZodOptional<z.ZodString>;
985
- dateCreated: z.ZodOptional<z.ZodString>;
986
- status: z.ZodOptional<z.ZodString>;
987
- }, z.core.$strip>;
988
- mentionable: true;
989
- };
990
- plan: {
991
- type: string;
992
- displayName: string;
993
- identifiers: {
994
- primaryId: string;
995
- };
996
- canonicalSchema: z.ZodObject<{
997
- id: z.ZodString;
998
- name: z.ZodOptional<z.ZodString>;
999
- path: z.ZodOptional<z.ZodString>;
1000
- }, z.core.$strip>;
1001
- mentionable: true;
1002
- };
1003
- };
1004
- export type ObjectTypeKey = keyof typeof OBJECT_TYPE_REGISTRY;
1005
- export declare function getObjectTypeDefinition(objectTypeKey: ObjectTypeKey): ObjectTypeDefinition;
1006
- export type ReploProductForCanonical = {
1007
- id: string;
1008
- title: string;
1009
- slug?: string | null;
1010
- descriptionHtml?: string | null;
1011
- featuredMedia?: {
1012
- url: string;
1013
- alt?: string | null;
1014
- width?: number | null;
1015
- height?: number | null;
1016
- } | null;
1017
- options?: {
1018
- title: string;
1019
- optionValues: {
1020
- id: string;
1021
- value: string;
1022
- }[];
1023
- }[];
1024
- variants?: {
1025
- id: string;
1026
- title?: string | null;
1027
- availableForSale?: boolean;
1028
- sku?: string | null;
1029
- price?: number | null;
1030
- priceCurrencyCode?: string | null;
1031
- optionValues?: {
1032
- id: string;
1033
- value: string;
1034
- }[];
1035
- }[];
1036
- };
1037
- export declare function transformReploProductToCanonical(product: ReploProductForCanonical): Product;
1038
- export {};