@spree/sdk 0.6.8 → 0.7.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/README.md +118 -120
- package/dist/index.cjs +51 -242
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +87 -124
- package/dist/index.d.ts +87 -124
- package/dist/index.js +39 -230
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.cts +129 -418
- package/dist/types/index.d.ts +129 -418
- package/dist/zod/index.cjs +311 -550
- package/dist/zod/index.cjs.map +1 -1
- package/dist/zod/index.d.cts +120 -713
- package/dist/zod/index.d.ts +120 -713
- package/dist/zod/index.js +257 -489
- package/dist/zod/index.js.map +1 -1
- package/package.json +5 -2
package/dist/zod/index.d.ts
CHANGED
|
@@ -1,612 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
4
|
-
type AdminCustomer = z.infer<typeof AdminCustomerSchema>;
|
|
5
|
-
|
|
6
|
-
declare const AdminLineItemSchema: z.ZodObject<{
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
variant_id: z.ZodString;
|
|
9
|
-
quantity: z.ZodNumber;
|
|
10
|
-
currency: z.ZodString;
|
|
11
|
-
name: z.ZodString;
|
|
12
|
-
slug: z.ZodString;
|
|
13
|
-
options_text: z.ZodString;
|
|
14
|
-
price: z.ZodString;
|
|
15
|
-
display_price: z.ZodString;
|
|
16
|
-
total: z.ZodString;
|
|
17
|
-
display_total: z.ZodString;
|
|
18
|
-
adjustment_total: z.ZodString;
|
|
19
|
-
display_adjustment_total: z.ZodString;
|
|
20
|
-
additional_tax_total: z.ZodString;
|
|
21
|
-
display_additional_tax_total: z.ZodString;
|
|
22
|
-
included_tax_total: z.ZodString;
|
|
23
|
-
display_included_tax_total: z.ZodString;
|
|
24
|
-
promo_total: z.ZodString;
|
|
25
|
-
display_promo_total: z.ZodString;
|
|
26
|
-
pre_tax_amount: z.ZodString;
|
|
27
|
-
display_pre_tax_amount: z.ZodString;
|
|
28
|
-
discounted_amount: z.ZodString;
|
|
29
|
-
display_discounted_amount: z.ZodString;
|
|
30
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
31
|
-
created_at: z.ZodString;
|
|
32
|
-
updated_at: z.ZodString;
|
|
33
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
34
|
-
thumbnail_url: z.ZodNullable<z.ZodString>;
|
|
35
|
-
option_values: z.ZodArray<z.ZodObject<{
|
|
36
|
-
id: z.ZodString;
|
|
37
|
-
option_type_id: z.ZodString;
|
|
38
|
-
name: z.ZodString;
|
|
39
|
-
presentation: z.ZodString;
|
|
40
|
-
position: z.ZodNumber;
|
|
41
|
-
option_type_name: z.ZodString;
|
|
42
|
-
option_type_presentation: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>;
|
|
44
|
-
digital_links: z.ZodArray<z.ZodObject<{
|
|
45
|
-
id: z.ZodString;
|
|
46
|
-
access_counter: z.ZodNumber;
|
|
47
|
-
filename: z.ZodString;
|
|
48
|
-
content_type: z.ZodString;
|
|
49
|
-
created_at: z.ZodString;
|
|
50
|
-
updated_at: z.ZodString;
|
|
51
|
-
download_url: z.ZodString;
|
|
52
|
-
authorizable: z.ZodBoolean;
|
|
53
|
-
expired: z.ZodBoolean;
|
|
54
|
-
access_limit_exceeded: z.ZodBoolean;
|
|
55
|
-
}, z.core.$strip>>;
|
|
56
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
57
|
-
}, z.core.$strip>;
|
|
58
|
-
type AdminLineItem = z.infer<typeof AdminLineItemSchema>;
|
|
59
|
-
|
|
60
|
-
declare const AdminMetafieldSchema: z.ZodObject<{
|
|
61
|
-
id: z.ZodString;
|
|
62
|
-
name: z.ZodString;
|
|
63
|
-
type: z.ZodString;
|
|
64
|
-
key: z.ZodString;
|
|
65
|
-
value: z.ZodAny;
|
|
66
|
-
display_on: z.ZodString;
|
|
67
|
-
}, z.core.$strip>;
|
|
68
|
-
type AdminMetafield = z.infer<typeof AdminMetafieldSchema>;
|
|
69
|
-
|
|
70
|
-
declare const AdminOrderSchema: z.ZodObject<any>;
|
|
71
|
-
type AdminOrder = z.infer<typeof AdminOrderSchema>;
|
|
72
|
-
|
|
73
|
-
declare const AdminPriceSchema: z.ZodObject<{
|
|
74
|
-
id: z.ZodString;
|
|
75
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
76
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
77
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
78
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
79
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
80
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
81
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
82
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
83
|
-
variant_id: z.ZodNullable<z.ZodString>;
|
|
84
|
-
created_at: z.ZodString;
|
|
85
|
-
updated_at: z.ZodString;
|
|
86
|
-
}, z.core.$strip>;
|
|
87
|
-
type AdminPrice = z.infer<typeof AdminPriceSchema>;
|
|
88
|
-
|
|
89
|
-
declare const AdminProductSchema: z.ZodObject<{
|
|
90
|
-
id: z.ZodString;
|
|
91
|
-
name: z.ZodString;
|
|
92
|
-
description: z.ZodNullable<z.ZodString>;
|
|
93
|
-
slug: z.ZodString;
|
|
94
|
-
meta_description: z.ZodNullable<z.ZodString>;
|
|
95
|
-
meta_keywords: z.ZodNullable<z.ZodString>;
|
|
96
|
-
variant_count: z.ZodNumber;
|
|
97
|
-
available_on: z.ZodNullable<z.ZodString>;
|
|
98
|
-
created_at: z.ZodString;
|
|
99
|
-
updated_at: z.ZodString;
|
|
100
|
-
purchasable: z.ZodBoolean;
|
|
101
|
-
in_stock: z.ZodBoolean;
|
|
102
|
-
backorderable: z.ZodBoolean;
|
|
103
|
-
available: z.ZodBoolean;
|
|
104
|
-
default_variant_id: z.ZodString;
|
|
105
|
-
thumbnail_url: z.ZodNullable<z.ZodString>;
|
|
106
|
-
tags: z.ZodArray<z.ZodString>;
|
|
107
|
-
price: z.ZodObject<{
|
|
108
|
-
id: z.ZodString;
|
|
109
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
110
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
111
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
112
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
113
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
114
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
115
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
116
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
117
|
-
}, z.core.$strip>;
|
|
118
|
-
original_price: z.ZodNullable<z.ZodObject<{
|
|
119
|
-
id: z.ZodString;
|
|
120
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
121
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
122
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
123
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
124
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
125
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
126
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
127
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
128
|
-
}, z.core.$strip>>;
|
|
129
|
-
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
130
|
-
id: z.ZodString;
|
|
131
|
-
viewable_id: z.ZodString;
|
|
132
|
-
type: z.ZodNullable<z.ZodString>;
|
|
133
|
-
viewable_type: z.ZodString;
|
|
134
|
-
position: z.ZodNullable<z.ZodNumber>;
|
|
135
|
-
alt: z.ZodNullable<z.ZodString>;
|
|
136
|
-
created_at: z.ZodString;
|
|
137
|
-
updated_at: z.ZodString;
|
|
138
|
-
original_url: z.ZodNullable<z.ZodString>;
|
|
139
|
-
mini_url: z.ZodNullable<z.ZodString>;
|
|
140
|
-
small_url: z.ZodNullable<z.ZodString>;
|
|
141
|
-
medium_url: z.ZodNullable<z.ZodString>;
|
|
142
|
-
large_url: z.ZodNullable<z.ZodString>;
|
|
143
|
-
xlarge_url: z.ZodNullable<z.ZodString>;
|
|
144
|
-
og_image_url: z.ZodNullable<z.ZodString>;
|
|
145
|
-
}, z.core.$strip>>>;
|
|
146
|
-
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
147
|
-
id: z.ZodString;
|
|
148
|
-
product_id: z.ZodString;
|
|
149
|
-
sku: z.ZodNullable<z.ZodString>;
|
|
150
|
-
is_master: z.ZodBoolean;
|
|
151
|
-
options_text: z.ZodString;
|
|
152
|
-
track_inventory: z.ZodBoolean;
|
|
153
|
-
image_count: z.ZodNumber;
|
|
154
|
-
created_at: z.ZodString;
|
|
155
|
-
updated_at: z.ZodString;
|
|
156
|
-
thumbnail: z.ZodNullable<z.ZodString>;
|
|
157
|
-
purchasable: z.ZodBoolean;
|
|
158
|
-
in_stock: z.ZodBoolean;
|
|
159
|
-
backorderable: z.ZodBoolean;
|
|
160
|
-
weight: z.ZodNullable<z.ZodNumber>;
|
|
161
|
-
height: z.ZodNullable<z.ZodNumber>;
|
|
162
|
-
width: z.ZodNullable<z.ZodNumber>;
|
|
163
|
-
depth: z.ZodNullable<z.ZodNumber>;
|
|
164
|
-
price: z.ZodObject<{
|
|
165
|
-
id: z.ZodString;
|
|
166
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
167
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
168
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
169
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
170
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
171
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
172
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
173
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
174
|
-
}, z.core.$strip>;
|
|
175
|
-
original_price: z.ZodNullable<z.ZodObject<{
|
|
176
|
-
id: z.ZodString;
|
|
177
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
178
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
179
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
180
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
181
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
182
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
183
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
184
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
185
|
-
}, z.core.$strip>>;
|
|
186
|
-
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
|
-
id: z.ZodString;
|
|
188
|
-
viewable_id: z.ZodString;
|
|
189
|
-
type: z.ZodNullable<z.ZodString>;
|
|
190
|
-
viewable_type: z.ZodString;
|
|
191
|
-
position: z.ZodNullable<z.ZodNumber>;
|
|
192
|
-
alt: z.ZodNullable<z.ZodString>;
|
|
193
|
-
created_at: z.ZodString;
|
|
194
|
-
updated_at: z.ZodString;
|
|
195
|
-
original_url: z.ZodNullable<z.ZodString>;
|
|
196
|
-
mini_url: z.ZodNullable<z.ZodString>;
|
|
197
|
-
small_url: z.ZodNullable<z.ZodString>;
|
|
198
|
-
medium_url: z.ZodNullable<z.ZodString>;
|
|
199
|
-
large_url: z.ZodNullable<z.ZodString>;
|
|
200
|
-
xlarge_url: z.ZodNullable<z.ZodString>;
|
|
201
|
-
og_image_url: z.ZodNullable<z.ZodString>;
|
|
202
|
-
}, z.core.$strip>>>;
|
|
203
|
-
option_values: z.ZodArray<z.ZodObject<{
|
|
204
|
-
id: z.ZodString;
|
|
205
|
-
option_type_id: z.ZodString;
|
|
206
|
-
name: z.ZodString;
|
|
207
|
-
presentation: z.ZodString;
|
|
208
|
-
position: z.ZodNumber;
|
|
209
|
-
option_type_name: z.ZodString;
|
|
210
|
-
option_type_presentation: z.ZodString;
|
|
211
|
-
}, z.core.$strip>>;
|
|
212
|
-
metafields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
213
|
-
id: z.ZodString;
|
|
214
|
-
name: z.ZodString;
|
|
215
|
-
type: z.ZodString;
|
|
216
|
-
key: z.ZodString;
|
|
217
|
-
value: z.ZodAny;
|
|
218
|
-
display_on: z.ZodString;
|
|
219
|
-
}, z.core.$strip>>>;
|
|
220
|
-
position: z.ZodNumber;
|
|
221
|
-
tax_category_id: z.ZodNullable<z.ZodString>;
|
|
222
|
-
cost_price: z.ZodNullable<z.ZodString>;
|
|
223
|
-
cost_currency: z.ZodNullable<z.ZodString>;
|
|
224
|
-
deleted_at: z.ZodNullable<z.ZodString>;
|
|
225
|
-
total_on_hand: z.ZodNullable<z.ZodNumber>;
|
|
226
|
-
prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
227
|
-
id: z.ZodString;
|
|
228
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
229
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
230
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
231
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
232
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
233
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
234
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
235
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
236
|
-
variant_id: z.ZodNullable<z.ZodString>;
|
|
237
|
-
created_at: z.ZodString;
|
|
238
|
-
updated_at: z.ZodString;
|
|
239
|
-
}, z.core.$strip>>>;
|
|
240
|
-
}, z.core.$strip>>>;
|
|
241
|
-
default_variant: z.ZodOptional<z.ZodObject<{
|
|
242
|
-
id: z.ZodString;
|
|
243
|
-
product_id: z.ZodString;
|
|
244
|
-
sku: z.ZodNullable<z.ZodString>;
|
|
245
|
-
is_master: z.ZodBoolean;
|
|
246
|
-
options_text: z.ZodString;
|
|
247
|
-
track_inventory: z.ZodBoolean;
|
|
248
|
-
image_count: z.ZodNumber;
|
|
249
|
-
created_at: z.ZodString;
|
|
250
|
-
updated_at: z.ZodString;
|
|
251
|
-
thumbnail: z.ZodNullable<z.ZodString>;
|
|
252
|
-
purchasable: z.ZodBoolean;
|
|
253
|
-
in_stock: z.ZodBoolean;
|
|
254
|
-
backorderable: z.ZodBoolean;
|
|
255
|
-
weight: z.ZodNullable<z.ZodNumber>;
|
|
256
|
-
height: z.ZodNullable<z.ZodNumber>;
|
|
257
|
-
width: z.ZodNullable<z.ZodNumber>;
|
|
258
|
-
depth: z.ZodNullable<z.ZodNumber>;
|
|
259
|
-
price: z.ZodObject<{
|
|
260
|
-
id: z.ZodString;
|
|
261
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
262
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
263
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
264
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
265
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
266
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
267
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
268
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
269
|
-
}, z.core.$strip>;
|
|
270
|
-
original_price: z.ZodNullable<z.ZodObject<{
|
|
271
|
-
id: z.ZodString;
|
|
272
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
273
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
274
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
275
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
276
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
277
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
278
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
279
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
280
|
-
}, z.core.$strip>>;
|
|
281
|
-
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
282
|
-
id: z.ZodString;
|
|
283
|
-
viewable_id: z.ZodString;
|
|
284
|
-
type: z.ZodNullable<z.ZodString>;
|
|
285
|
-
viewable_type: z.ZodString;
|
|
286
|
-
position: z.ZodNullable<z.ZodNumber>;
|
|
287
|
-
alt: z.ZodNullable<z.ZodString>;
|
|
288
|
-
created_at: z.ZodString;
|
|
289
|
-
updated_at: z.ZodString;
|
|
290
|
-
original_url: z.ZodNullable<z.ZodString>;
|
|
291
|
-
mini_url: z.ZodNullable<z.ZodString>;
|
|
292
|
-
small_url: z.ZodNullable<z.ZodString>;
|
|
293
|
-
medium_url: z.ZodNullable<z.ZodString>;
|
|
294
|
-
large_url: z.ZodNullable<z.ZodString>;
|
|
295
|
-
xlarge_url: z.ZodNullable<z.ZodString>;
|
|
296
|
-
og_image_url: z.ZodNullable<z.ZodString>;
|
|
297
|
-
}, z.core.$strip>>>;
|
|
298
|
-
option_values: z.ZodArray<z.ZodObject<{
|
|
299
|
-
id: z.ZodString;
|
|
300
|
-
option_type_id: z.ZodString;
|
|
301
|
-
name: z.ZodString;
|
|
302
|
-
presentation: z.ZodString;
|
|
303
|
-
position: z.ZodNumber;
|
|
304
|
-
option_type_name: z.ZodString;
|
|
305
|
-
option_type_presentation: z.ZodString;
|
|
306
|
-
}, z.core.$strip>>;
|
|
307
|
-
metafields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
308
|
-
id: z.ZodString;
|
|
309
|
-
name: z.ZodString;
|
|
310
|
-
type: z.ZodString;
|
|
311
|
-
key: z.ZodString;
|
|
312
|
-
value: z.ZodAny;
|
|
313
|
-
display_on: z.ZodString;
|
|
314
|
-
}, z.core.$strip>>>;
|
|
315
|
-
position: z.ZodNumber;
|
|
316
|
-
tax_category_id: z.ZodNullable<z.ZodString>;
|
|
317
|
-
cost_price: z.ZodNullable<z.ZodString>;
|
|
318
|
-
cost_currency: z.ZodNullable<z.ZodString>;
|
|
319
|
-
deleted_at: z.ZodNullable<z.ZodString>;
|
|
320
|
-
total_on_hand: z.ZodNullable<z.ZodNumber>;
|
|
321
|
-
prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
322
|
-
id: z.ZodString;
|
|
323
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
324
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
325
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
326
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
327
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
328
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
329
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
330
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
331
|
-
variant_id: z.ZodNullable<z.ZodString>;
|
|
332
|
-
created_at: z.ZodString;
|
|
333
|
-
updated_at: z.ZodString;
|
|
334
|
-
}, z.core.$strip>>>;
|
|
335
|
-
}, z.core.$strip>>;
|
|
336
|
-
master_variant: z.ZodOptional<z.ZodObject<{
|
|
337
|
-
id: z.ZodString;
|
|
338
|
-
product_id: z.ZodString;
|
|
339
|
-
sku: z.ZodNullable<z.ZodString>;
|
|
340
|
-
is_master: z.ZodBoolean;
|
|
341
|
-
options_text: z.ZodString;
|
|
342
|
-
track_inventory: z.ZodBoolean;
|
|
343
|
-
image_count: z.ZodNumber;
|
|
344
|
-
created_at: z.ZodString;
|
|
345
|
-
updated_at: z.ZodString;
|
|
346
|
-
thumbnail: z.ZodNullable<z.ZodString>;
|
|
347
|
-
purchasable: z.ZodBoolean;
|
|
348
|
-
in_stock: z.ZodBoolean;
|
|
349
|
-
backorderable: z.ZodBoolean;
|
|
350
|
-
weight: z.ZodNullable<z.ZodNumber>;
|
|
351
|
-
height: z.ZodNullable<z.ZodNumber>;
|
|
352
|
-
width: z.ZodNullable<z.ZodNumber>;
|
|
353
|
-
depth: z.ZodNullable<z.ZodNumber>;
|
|
354
|
-
price: z.ZodObject<{
|
|
355
|
-
id: z.ZodString;
|
|
356
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
357
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
358
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
359
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
360
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
361
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
362
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
363
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
364
|
-
}, z.core.$strip>;
|
|
365
|
-
original_price: z.ZodNullable<z.ZodObject<{
|
|
366
|
-
id: z.ZodString;
|
|
367
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
368
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
369
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
370
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
371
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
372
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
373
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
374
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
375
|
-
}, z.core.$strip>>;
|
|
376
|
-
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
377
|
-
id: z.ZodString;
|
|
378
|
-
viewable_id: z.ZodString;
|
|
379
|
-
type: z.ZodNullable<z.ZodString>;
|
|
380
|
-
viewable_type: z.ZodString;
|
|
381
|
-
position: z.ZodNullable<z.ZodNumber>;
|
|
382
|
-
alt: z.ZodNullable<z.ZodString>;
|
|
383
|
-
created_at: z.ZodString;
|
|
384
|
-
updated_at: z.ZodString;
|
|
385
|
-
original_url: z.ZodNullable<z.ZodString>;
|
|
386
|
-
mini_url: z.ZodNullable<z.ZodString>;
|
|
387
|
-
small_url: z.ZodNullable<z.ZodString>;
|
|
388
|
-
medium_url: z.ZodNullable<z.ZodString>;
|
|
389
|
-
large_url: z.ZodNullable<z.ZodString>;
|
|
390
|
-
xlarge_url: z.ZodNullable<z.ZodString>;
|
|
391
|
-
og_image_url: z.ZodNullable<z.ZodString>;
|
|
392
|
-
}, z.core.$strip>>>;
|
|
393
|
-
option_values: z.ZodArray<z.ZodObject<{
|
|
394
|
-
id: z.ZodString;
|
|
395
|
-
option_type_id: z.ZodString;
|
|
396
|
-
name: z.ZodString;
|
|
397
|
-
presentation: z.ZodString;
|
|
398
|
-
position: z.ZodNumber;
|
|
399
|
-
option_type_name: z.ZodString;
|
|
400
|
-
option_type_presentation: z.ZodString;
|
|
401
|
-
}, z.core.$strip>>;
|
|
402
|
-
metafields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
403
|
-
id: z.ZodString;
|
|
404
|
-
name: z.ZodString;
|
|
405
|
-
type: z.ZodString;
|
|
406
|
-
key: z.ZodString;
|
|
407
|
-
value: z.ZodAny;
|
|
408
|
-
display_on: z.ZodString;
|
|
409
|
-
}, z.core.$strip>>>;
|
|
410
|
-
position: z.ZodNumber;
|
|
411
|
-
tax_category_id: z.ZodNullable<z.ZodString>;
|
|
412
|
-
cost_price: z.ZodNullable<z.ZodString>;
|
|
413
|
-
cost_currency: z.ZodNullable<z.ZodString>;
|
|
414
|
-
deleted_at: z.ZodNullable<z.ZodString>;
|
|
415
|
-
total_on_hand: z.ZodNullable<z.ZodNumber>;
|
|
416
|
-
prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
417
|
-
id: z.ZodString;
|
|
418
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
419
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
420
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
421
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
422
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
423
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
424
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
425
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
426
|
-
variant_id: z.ZodNullable<z.ZodString>;
|
|
427
|
-
created_at: z.ZodString;
|
|
428
|
-
updated_at: z.ZodString;
|
|
429
|
-
}, z.core.$strip>>>;
|
|
430
|
-
}, z.core.$strip>>;
|
|
431
|
-
option_types: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
432
|
-
id: z.ZodString;
|
|
433
|
-
name: z.ZodString;
|
|
434
|
-
presentation: z.ZodString;
|
|
435
|
-
position: z.ZodNumber;
|
|
436
|
-
}, z.core.$strip>>>;
|
|
437
|
-
taxons: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<any, z.core.$strip>>>>;
|
|
438
|
-
metafields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
439
|
-
id: z.ZodString;
|
|
440
|
-
name: z.ZodString;
|
|
441
|
-
type: z.ZodString;
|
|
442
|
-
key: z.ZodString;
|
|
443
|
-
value: z.ZodAny;
|
|
444
|
-
display_on: z.ZodString;
|
|
445
|
-
}, z.core.$strip>>>;
|
|
446
|
-
status: z.ZodString;
|
|
447
|
-
make_active_at: z.ZodNullable<z.ZodString>;
|
|
448
|
-
discontinue_on: z.ZodNullable<z.ZodString>;
|
|
449
|
-
deleted_at: z.ZodNullable<z.ZodString>;
|
|
450
|
-
cost_price: z.ZodNullable<z.ZodString>;
|
|
451
|
-
cost_currency: z.ZodNullable<z.ZodString>;
|
|
452
|
-
}, z.core.$strip>;
|
|
453
|
-
type AdminProduct = z.infer<typeof AdminProductSchema>;
|
|
454
|
-
|
|
455
|
-
declare const AdminTaxonSchema: z.ZodObject<{
|
|
456
|
-
id: z.ZodString;
|
|
457
|
-
name: z.ZodString;
|
|
458
|
-
permalink: z.ZodString;
|
|
459
|
-
position: z.ZodNumber;
|
|
460
|
-
depth: z.ZodNumber;
|
|
461
|
-
meta_title: z.ZodNullable<z.ZodString>;
|
|
462
|
-
meta_description: z.ZodNullable<z.ZodString>;
|
|
463
|
-
meta_keywords: z.ZodNullable<z.ZodString>;
|
|
464
|
-
children_count: z.ZodNumber;
|
|
465
|
-
created_at: z.ZodString;
|
|
466
|
-
updated_at: z.ZodString;
|
|
467
|
-
parent_id: z.ZodNullable<z.ZodString>;
|
|
468
|
-
taxonomy_id: z.ZodString;
|
|
469
|
-
description: z.ZodString;
|
|
470
|
-
description_html: z.ZodString;
|
|
471
|
-
image_url: z.ZodNullable<z.ZodString>;
|
|
472
|
-
square_image_url: z.ZodNullable<z.ZodString>;
|
|
473
|
-
is_root: z.ZodBoolean;
|
|
474
|
-
is_child: z.ZodBoolean;
|
|
475
|
-
is_leaf: z.ZodBoolean;
|
|
476
|
-
parent: z.ZodOptional<z.ZodLazy<z.ZodObject<any, z.core.$strip>>>;
|
|
477
|
-
children: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<any, z.core.$strip>>>>;
|
|
478
|
-
ancestors: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<any, z.core.$strip>>>>;
|
|
479
|
-
metafields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
480
|
-
id: z.ZodString;
|
|
481
|
-
name: z.ZodString;
|
|
482
|
-
type: z.ZodString;
|
|
483
|
-
key: z.ZodString;
|
|
484
|
-
value: z.ZodAny;
|
|
485
|
-
display_on: z.ZodString;
|
|
486
|
-
}, z.core.$strip>>>;
|
|
487
|
-
lft: z.ZodNumber;
|
|
488
|
-
rgt: z.ZodNumber;
|
|
489
|
-
}, z.core.$strip>;
|
|
490
|
-
type AdminTaxon = z.infer<typeof AdminTaxonSchema>;
|
|
491
|
-
|
|
492
|
-
declare const AdminTaxonomySchema: z.ZodObject<{
|
|
493
|
-
id: z.ZodString;
|
|
494
|
-
name: z.ZodString;
|
|
495
|
-
position: z.ZodNumber;
|
|
496
|
-
created_at: z.ZodString;
|
|
497
|
-
updated_at: z.ZodString;
|
|
498
|
-
root_id: z.ZodNullable<z.ZodString>;
|
|
499
|
-
root: z.ZodOptional<z.ZodLazy<z.ZodObject<any, z.core.$strip>>>;
|
|
500
|
-
taxons: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<any, z.core.$strip>>>>;
|
|
501
|
-
metafields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
502
|
-
id: z.ZodString;
|
|
503
|
-
name: z.ZodString;
|
|
504
|
-
type: z.ZodString;
|
|
505
|
-
key: z.ZodString;
|
|
506
|
-
value: z.ZodAny;
|
|
507
|
-
display_on: z.ZodString;
|
|
508
|
-
}, z.core.$strip>>>;
|
|
509
|
-
}, z.core.$strip>;
|
|
510
|
-
type AdminTaxonomy = z.infer<typeof AdminTaxonomySchema>;
|
|
511
|
-
|
|
512
|
-
declare const AdminVariantSchema: z.ZodObject<{
|
|
513
|
-
id: z.ZodString;
|
|
514
|
-
product_id: z.ZodString;
|
|
515
|
-
sku: z.ZodNullable<z.ZodString>;
|
|
516
|
-
is_master: z.ZodBoolean;
|
|
517
|
-
options_text: z.ZodString;
|
|
518
|
-
track_inventory: z.ZodBoolean;
|
|
519
|
-
image_count: z.ZodNumber;
|
|
520
|
-
created_at: z.ZodString;
|
|
521
|
-
updated_at: z.ZodString;
|
|
522
|
-
thumbnail: z.ZodNullable<z.ZodString>;
|
|
523
|
-
purchasable: z.ZodBoolean;
|
|
524
|
-
in_stock: z.ZodBoolean;
|
|
525
|
-
backorderable: z.ZodBoolean;
|
|
526
|
-
weight: z.ZodNullable<z.ZodNumber>;
|
|
527
|
-
height: z.ZodNullable<z.ZodNumber>;
|
|
528
|
-
width: z.ZodNullable<z.ZodNumber>;
|
|
529
|
-
depth: z.ZodNullable<z.ZodNumber>;
|
|
530
|
-
price: z.ZodObject<{
|
|
531
|
-
id: z.ZodString;
|
|
532
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
533
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
534
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
535
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
536
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
537
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
538
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
539
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
540
|
-
}, z.core.$strip>;
|
|
541
|
-
original_price: z.ZodNullable<z.ZodObject<{
|
|
542
|
-
id: z.ZodString;
|
|
543
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
544
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
545
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
546
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
547
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
548
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
549
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
550
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
551
|
-
}, z.core.$strip>>;
|
|
552
|
-
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
553
|
-
id: z.ZodString;
|
|
554
|
-
viewable_id: z.ZodString;
|
|
555
|
-
type: z.ZodNullable<z.ZodString>;
|
|
556
|
-
viewable_type: z.ZodString;
|
|
557
|
-
position: z.ZodNullable<z.ZodNumber>;
|
|
558
|
-
alt: z.ZodNullable<z.ZodString>;
|
|
559
|
-
created_at: z.ZodString;
|
|
560
|
-
updated_at: z.ZodString;
|
|
561
|
-
original_url: z.ZodNullable<z.ZodString>;
|
|
562
|
-
mini_url: z.ZodNullable<z.ZodString>;
|
|
563
|
-
small_url: z.ZodNullable<z.ZodString>;
|
|
564
|
-
medium_url: z.ZodNullable<z.ZodString>;
|
|
565
|
-
large_url: z.ZodNullable<z.ZodString>;
|
|
566
|
-
xlarge_url: z.ZodNullable<z.ZodString>;
|
|
567
|
-
og_image_url: z.ZodNullable<z.ZodString>;
|
|
568
|
-
}, z.core.$strip>>>;
|
|
569
|
-
option_values: z.ZodArray<z.ZodObject<{
|
|
570
|
-
id: z.ZodString;
|
|
571
|
-
option_type_id: z.ZodString;
|
|
572
|
-
name: z.ZodString;
|
|
573
|
-
presentation: z.ZodString;
|
|
574
|
-
position: z.ZodNumber;
|
|
575
|
-
option_type_name: z.ZodString;
|
|
576
|
-
option_type_presentation: z.ZodString;
|
|
577
|
-
}, z.core.$strip>>;
|
|
578
|
-
metafields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
579
|
-
id: z.ZodString;
|
|
580
|
-
name: z.ZodString;
|
|
581
|
-
type: z.ZodString;
|
|
582
|
-
key: z.ZodString;
|
|
583
|
-
value: z.ZodAny;
|
|
584
|
-
display_on: z.ZodString;
|
|
585
|
-
}, z.core.$strip>>>;
|
|
586
|
-
position: z.ZodNumber;
|
|
587
|
-
tax_category_id: z.ZodNullable<z.ZodString>;
|
|
588
|
-
cost_price: z.ZodNullable<z.ZodString>;
|
|
589
|
-
cost_currency: z.ZodNullable<z.ZodString>;
|
|
590
|
-
deleted_at: z.ZodNullable<z.ZodString>;
|
|
591
|
-
total_on_hand: z.ZodNullable<z.ZodNumber>;
|
|
592
|
-
prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
593
|
-
id: z.ZodString;
|
|
594
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
595
|
-
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
596
|
-
compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
597
|
-
compare_at_amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
598
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
599
|
-
display_amount: z.ZodNullable<z.ZodString>;
|
|
600
|
-
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
601
|
-
price_list_id: z.ZodNullable<z.ZodString>;
|
|
602
|
-
variant_id: z.ZodNullable<z.ZodString>;
|
|
603
|
-
created_at: z.ZodString;
|
|
604
|
-
updated_at: z.ZodString;
|
|
605
|
-
}, z.core.$strip>>>;
|
|
606
|
-
}, z.core.$strip>;
|
|
607
|
-
type AdminVariant = z.infer<typeof AdminVariantSchema>;
|
|
608
|
-
|
|
609
|
-
declare const StoreAddressSchema: z.ZodObject<{
|
|
3
|
+
declare const AddressSchema: z.ZodObject<{
|
|
610
4
|
id: z.ZodString;
|
|
611
5
|
firstname: z.ZodNullable<z.ZodString>;
|
|
612
6
|
lastname: z.ZodNullable<z.ZodString>;
|
|
@@ -624,9 +18,9 @@ declare const StoreAddressSchema: z.ZodObject<{
|
|
|
624
18
|
quick_checkout: z.ZodBoolean;
|
|
625
19
|
state_name: z.ZodNullable<z.ZodString>;
|
|
626
20
|
}, z.core.$strip>;
|
|
627
|
-
type
|
|
21
|
+
type Address = z.infer<typeof AddressSchema>;
|
|
628
22
|
|
|
629
|
-
declare const
|
|
23
|
+
declare const AssetSchema: z.ZodObject<{
|
|
630
24
|
id: z.ZodString;
|
|
631
25
|
viewable_id: z.ZodString;
|
|
632
26
|
type: z.ZodNullable<z.ZodString>;
|
|
@@ -636,17 +30,17 @@ declare const StoreAssetSchema: z.ZodObject<{
|
|
|
636
30
|
created_at: z.ZodString;
|
|
637
31
|
updated_at: z.ZodString;
|
|
638
32
|
}, z.core.$strip>;
|
|
639
|
-
type
|
|
33
|
+
type Asset = z.infer<typeof AssetSchema>;
|
|
640
34
|
|
|
641
|
-
declare const
|
|
35
|
+
declare const BaseSchema: z.ZodObject<{
|
|
642
36
|
id: z.ZodString;
|
|
643
37
|
}, z.core.$strip>;
|
|
644
|
-
type
|
|
38
|
+
type Base = z.infer<typeof BaseSchema>;
|
|
645
39
|
|
|
646
|
-
declare const
|
|
647
|
-
type
|
|
40
|
+
declare const CountrySchema: z.ZodObject<any>;
|
|
41
|
+
type Country = z.infer<typeof CountrySchema>;
|
|
648
42
|
|
|
649
|
-
declare const
|
|
43
|
+
declare const CreditCardSchema: z.ZodObject<{
|
|
650
44
|
id: z.ZodString;
|
|
651
45
|
cc_type: z.ZodString;
|
|
652
46
|
last_digits: z.ZodString;
|
|
@@ -656,16 +50,16 @@ declare const StoreCreditCardSchema: z.ZodObject<{
|
|
|
656
50
|
default: z.ZodBoolean;
|
|
657
51
|
gateway_payment_profile_id: z.ZodNullable<z.ZodString>;
|
|
658
52
|
}, z.core.$strip>;
|
|
659
|
-
type
|
|
53
|
+
type CreditCard = z.infer<typeof CreditCardSchema>;
|
|
660
54
|
|
|
661
|
-
declare const
|
|
55
|
+
declare const CurrencySchema: z.ZodObject<{
|
|
662
56
|
iso_code: z.ZodString;
|
|
663
57
|
name: z.ZodString;
|
|
664
58
|
symbol: z.ZodString;
|
|
665
59
|
}, z.core.$strip>;
|
|
666
|
-
type
|
|
60
|
+
type Currency = z.infer<typeof CurrencySchema>;
|
|
667
61
|
|
|
668
|
-
declare const
|
|
62
|
+
declare const CustomerSchema: z.ZodObject<{
|
|
669
63
|
id: z.ZodString;
|
|
670
64
|
email: z.ZodString;
|
|
671
65
|
first_name: z.ZodNullable<z.ZodString>;
|
|
@@ -727,26 +121,26 @@ declare const StoreCustomerSchema: z.ZodObject<{
|
|
|
727
121
|
state_name: z.ZodNullable<z.ZodString>;
|
|
728
122
|
}, z.core.$strip>>;
|
|
729
123
|
}, z.core.$strip>;
|
|
730
|
-
type
|
|
124
|
+
type Customer = z.infer<typeof CustomerSchema>;
|
|
731
125
|
|
|
732
|
-
declare const
|
|
126
|
+
declare const CustomerReturnSchema: z.ZodObject<{
|
|
733
127
|
id: z.ZodString;
|
|
734
128
|
number: z.ZodString;
|
|
735
129
|
created_at: z.ZodString;
|
|
736
130
|
updated_at: z.ZodString;
|
|
737
131
|
stock_location_id: z.ZodNullable<z.ZodString>;
|
|
738
132
|
}, z.core.$strip>;
|
|
739
|
-
type
|
|
133
|
+
type CustomerReturn = z.infer<typeof CustomerReturnSchema>;
|
|
740
134
|
|
|
741
|
-
declare const
|
|
135
|
+
declare const DigitalSchema: z.ZodObject<{
|
|
742
136
|
id: z.ZodString;
|
|
743
137
|
created_at: z.ZodString;
|
|
744
138
|
updated_at: z.ZodString;
|
|
745
139
|
variant_id: z.ZodNullable<z.ZodString>;
|
|
746
140
|
}, z.core.$strip>;
|
|
747
|
-
type
|
|
141
|
+
type Digital = z.infer<typeof DigitalSchema>;
|
|
748
142
|
|
|
749
|
-
declare const
|
|
143
|
+
declare const DigitalLinkSchema: z.ZodObject<{
|
|
750
144
|
id: z.ZodString;
|
|
751
145
|
access_counter: z.ZodNumber;
|
|
752
146
|
filename: z.ZodString;
|
|
@@ -758,9 +152,9 @@ declare const StoreDigitalLinkSchema: z.ZodObject<{
|
|
|
758
152
|
expired: z.ZodBoolean;
|
|
759
153
|
access_limit_exceeded: z.ZodBoolean;
|
|
760
154
|
}, z.core.$strip>;
|
|
761
|
-
type
|
|
155
|
+
type DigitalLink = z.infer<typeof DigitalLinkSchema>;
|
|
762
156
|
|
|
763
|
-
declare const
|
|
157
|
+
declare const ExportSchema: z.ZodObject<{
|
|
764
158
|
id: z.ZodString;
|
|
765
159
|
number: z.ZodString;
|
|
766
160
|
type: z.ZodNullable<z.ZodString>;
|
|
@@ -769,9 +163,9 @@ declare const StoreExportSchema: z.ZodObject<{
|
|
|
769
163
|
updated_at: z.ZodString;
|
|
770
164
|
user_id: z.ZodNullable<z.ZodString>;
|
|
771
165
|
}, z.core.$strip>;
|
|
772
|
-
type
|
|
166
|
+
type Export = z.infer<typeof ExportSchema>;
|
|
773
167
|
|
|
774
|
-
declare const
|
|
168
|
+
declare const GiftCardSchema: z.ZodObject<{
|
|
775
169
|
id: z.ZodString;
|
|
776
170
|
code: z.ZodString;
|
|
777
171
|
state: z.ZodString;
|
|
@@ -790,9 +184,9 @@ declare const StoreGiftCardSchema: z.ZodObject<{
|
|
|
790
184
|
created_at: z.ZodString;
|
|
791
185
|
updated_at: z.ZodString;
|
|
792
186
|
}, z.core.$strip>;
|
|
793
|
-
type
|
|
187
|
+
type GiftCard = z.infer<typeof GiftCardSchema>;
|
|
794
188
|
|
|
795
|
-
declare const
|
|
189
|
+
declare const GiftCardBatchSchema: z.ZodObject<{
|
|
796
190
|
id: z.ZodString;
|
|
797
191
|
codes_count: z.ZodNumber;
|
|
798
192
|
currency: z.ZodNullable<z.ZodString>;
|
|
@@ -803,9 +197,9 @@ declare const StoreGiftCardBatchSchema: z.ZodObject<{
|
|
|
803
197
|
expires_at: z.ZodNullable<z.ZodString>;
|
|
804
198
|
created_by_id: z.ZodNullable<z.ZodString>;
|
|
805
199
|
}, z.core.$strip>;
|
|
806
|
-
type
|
|
200
|
+
type GiftCardBatch = z.infer<typeof GiftCardBatchSchema>;
|
|
807
201
|
|
|
808
|
-
declare const
|
|
202
|
+
declare const ImageSchema: z.ZodObject<{
|
|
809
203
|
id: z.ZodString;
|
|
810
204
|
viewable_id: z.ZodString;
|
|
811
205
|
type: z.ZodNullable<z.ZodString>;
|
|
@@ -822,9 +216,9 @@ declare const StoreImageSchema: z.ZodObject<{
|
|
|
822
216
|
xlarge_url: z.ZodNullable<z.ZodString>;
|
|
823
217
|
og_image_url: z.ZodNullable<z.ZodString>;
|
|
824
218
|
}, z.core.$strip>;
|
|
825
|
-
type
|
|
219
|
+
type Image = z.infer<typeof ImageSchema>;
|
|
826
220
|
|
|
827
|
-
declare const
|
|
221
|
+
declare const ImportSchema: z.ZodObject<{
|
|
828
222
|
id: z.ZodString;
|
|
829
223
|
number: z.ZodString;
|
|
830
224
|
type: z.ZodNullable<z.ZodString>;
|
|
@@ -836,9 +230,9 @@ declare const StoreImportSchema: z.ZodObject<{
|
|
|
836
230
|
owner_id: z.ZodNullable<z.ZodString>;
|
|
837
231
|
user_id: z.ZodNullable<z.ZodString>;
|
|
838
232
|
}, z.core.$strip>;
|
|
839
|
-
type
|
|
233
|
+
type Import = z.infer<typeof ImportSchema>;
|
|
840
234
|
|
|
841
|
-
declare const
|
|
235
|
+
declare const ImportRowSchema: z.ZodObject<{
|
|
842
236
|
id: z.ZodString;
|
|
843
237
|
row_number: z.ZodNumber;
|
|
844
238
|
status: z.ZodString;
|
|
@@ -849,9 +243,9 @@ declare const StoreImportRowSchema: z.ZodObject<{
|
|
|
849
243
|
import_id: z.ZodNullable<z.ZodString>;
|
|
850
244
|
item_id: z.ZodNullable<z.ZodString>;
|
|
851
245
|
}, z.core.$strip>;
|
|
852
|
-
type
|
|
246
|
+
type ImportRow = z.infer<typeof ImportRowSchema>;
|
|
853
247
|
|
|
854
|
-
declare const
|
|
248
|
+
declare const InvitationSchema: z.ZodObject<{
|
|
855
249
|
id: z.ZodString;
|
|
856
250
|
email: z.ZodString;
|
|
857
251
|
resource_type: z.ZodNullable<z.ZodString>;
|
|
@@ -867,9 +261,9 @@ declare const StoreInvitationSchema: z.ZodObject<{
|
|
|
867
261
|
expires_at: z.ZodNullable<z.ZodString>;
|
|
868
262
|
accepted_at: z.ZodNullable<z.ZodString>;
|
|
869
263
|
}, z.core.$strip>;
|
|
870
|
-
type
|
|
264
|
+
type Invitation = z.infer<typeof InvitationSchema>;
|
|
871
265
|
|
|
872
|
-
declare const
|
|
266
|
+
declare const LineItemSchema: z.ZodObject<{
|
|
873
267
|
id: z.ZodString;
|
|
874
268
|
variant_id: z.ZodString;
|
|
875
269
|
quantity: z.ZodNumber;
|
|
@@ -920,27 +314,27 @@ declare const StoreLineItemSchema: z.ZodObject<{
|
|
|
920
314
|
access_limit_exceeded: z.ZodBoolean;
|
|
921
315
|
}, z.core.$strip>>;
|
|
922
316
|
}, z.core.$strip>;
|
|
923
|
-
type
|
|
317
|
+
type LineItem = z.infer<typeof LineItemSchema>;
|
|
924
318
|
|
|
925
|
-
declare const
|
|
319
|
+
declare const LocaleSchema: z.ZodObject<{
|
|
926
320
|
code: z.ZodString;
|
|
927
321
|
name: z.ZodString;
|
|
928
322
|
}, z.core.$strip>;
|
|
929
|
-
type
|
|
323
|
+
type Locale = z.infer<typeof LocaleSchema>;
|
|
930
324
|
|
|
931
|
-
declare const
|
|
932
|
-
type
|
|
325
|
+
declare const MarketSchema: z.ZodObject<any>;
|
|
326
|
+
type Market = z.infer<typeof MarketSchema>;
|
|
933
327
|
|
|
934
|
-
declare const
|
|
328
|
+
declare const MetafieldSchema: z.ZodObject<{
|
|
935
329
|
id: z.ZodString;
|
|
936
330
|
name: z.ZodString;
|
|
937
331
|
type: z.ZodString;
|
|
938
332
|
key: z.ZodString;
|
|
939
333
|
value: z.ZodAny;
|
|
940
334
|
}, z.core.$strip>;
|
|
941
|
-
type
|
|
335
|
+
type Metafield = z.infer<typeof MetafieldSchema>;
|
|
942
336
|
|
|
943
|
-
declare const
|
|
337
|
+
declare const NewsletterSubscriberSchema: z.ZodObject<{
|
|
944
338
|
id: z.ZodString;
|
|
945
339
|
email: z.ZodString;
|
|
946
340
|
created_at: z.ZodString;
|
|
@@ -949,17 +343,17 @@ declare const StoreNewsletterSubscriberSchema: z.ZodObject<{
|
|
|
949
343
|
verified_at: z.ZodNullable<z.ZodString>;
|
|
950
344
|
user_id: z.ZodNullable<z.ZodString>;
|
|
951
345
|
}, z.core.$strip>;
|
|
952
|
-
type
|
|
346
|
+
type NewsletterSubscriber = z.infer<typeof NewsletterSubscriberSchema>;
|
|
953
347
|
|
|
954
|
-
declare const
|
|
348
|
+
declare const OptionTypeSchema: z.ZodObject<{
|
|
955
349
|
id: z.ZodString;
|
|
956
350
|
name: z.ZodString;
|
|
957
351
|
presentation: z.ZodString;
|
|
958
352
|
position: z.ZodNumber;
|
|
959
353
|
}, z.core.$strip>;
|
|
960
|
-
type
|
|
354
|
+
type OptionType = z.infer<typeof OptionTypeSchema>;
|
|
961
355
|
|
|
962
|
-
declare const
|
|
356
|
+
declare const OptionValueSchema: z.ZodObject<{
|
|
963
357
|
id: z.ZodString;
|
|
964
358
|
option_type_id: z.ZodString;
|
|
965
359
|
name: z.ZodString;
|
|
@@ -968,12 +362,13 @@ declare const StoreOptionValueSchema: z.ZodObject<{
|
|
|
968
362
|
option_type_name: z.ZodString;
|
|
969
363
|
option_type_presentation: z.ZodString;
|
|
970
364
|
}, z.core.$strip>;
|
|
971
|
-
type
|
|
365
|
+
type OptionValue = z.infer<typeof OptionValueSchema>;
|
|
972
366
|
|
|
973
|
-
declare const
|
|
367
|
+
declare const OrderSchema: z.ZodObject<{
|
|
974
368
|
id: z.ZodString;
|
|
975
369
|
number: z.ZodString;
|
|
976
370
|
state: z.ZodString;
|
|
371
|
+
checkout_steps: z.ZodArray<z.ZodString>;
|
|
977
372
|
token: z.ZodString;
|
|
978
373
|
email: z.ZodNullable<z.ZodString>;
|
|
979
374
|
special_instructions: z.ZodNullable<z.ZodString>;
|
|
@@ -1168,9 +563,9 @@ declare const StoreOrderSchema: z.ZodObject<{
|
|
|
1168
563
|
session_required: z.ZodBoolean;
|
|
1169
564
|
}, z.core.$strip>>;
|
|
1170
565
|
}, z.core.$strip>;
|
|
1171
|
-
type
|
|
566
|
+
type Order = z.infer<typeof OrderSchema>;
|
|
1172
567
|
|
|
1173
|
-
declare const
|
|
568
|
+
declare const OrderPromotionSchema: z.ZodObject<{
|
|
1174
569
|
id: z.ZodString;
|
|
1175
570
|
promotion_id: z.ZodString;
|
|
1176
571
|
name: z.ZodString;
|
|
@@ -1179,9 +574,9 @@ declare const StoreOrderPromotionSchema: z.ZodObject<{
|
|
|
1179
574
|
amount: z.ZodString;
|
|
1180
575
|
display_amount: z.ZodString;
|
|
1181
576
|
}, z.core.$strip>;
|
|
1182
|
-
type
|
|
577
|
+
type OrderPromotion = z.infer<typeof OrderPromotionSchema>;
|
|
1183
578
|
|
|
1184
|
-
declare const
|
|
579
|
+
declare const PaymentSchema: z.ZodObject<{
|
|
1185
580
|
id: z.ZodString;
|
|
1186
581
|
payment_method_id: z.ZodString;
|
|
1187
582
|
state: z.ZodString;
|
|
@@ -1202,18 +597,18 @@ declare const StorePaymentSchema: z.ZodObject<{
|
|
|
1202
597
|
session_required: z.ZodBoolean;
|
|
1203
598
|
}, z.core.$strip>;
|
|
1204
599
|
}, z.core.$strip>;
|
|
1205
|
-
type
|
|
600
|
+
type Payment = z.infer<typeof PaymentSchema>;
|
|
1206
601
|
|
|
1207
|
-
declare const
|
|
602
|
+
declare const PaymentMethodSchema: z.ZodObject<{
|
|
1208
603
|
id: z.ZodString;
|
|
1209
604
|
name: z.ZodString;
|
|
1210
605
|
description: z.ZodNullable<z.ZodString>;
|
|
1211
606
|
type: z.ZodString;
|
|
1212
607
|
session_required: z.ZodBoolean;
|
|
1213
608
|
}, z.core.$strip>;
|
|
1214
|
-
type
|
|
609
|
+
type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
|
|
1215
610
|
|
|
1216
|
-
declare const
|
|
611
|
+
declare const PaymentSessionSchema: z.ZodObject<{
|
|
1217
612
|
id: z.ZodString;
|
|
1218
613
|
status: z.ZodString;
|
|
1219
614
|
currency: z.ZodString;
|
|
@@ -1255,9 +650,9 @@ declare const StorePaymentSessionSchema: z.ZodObject<{
|
|
|
1255
650
|
}, z.core.$strip>;
|
|
1256
651
|
}, z.core.$strip>>;
|
|
1257
652
|
}, z.core.$strip>;
|
|
1258
|
-
type
|
|
653
|
+
type PaymentSession = z.infer<typeof PaymentSessionSchema>;
|
|
1259
654
|
|
|
1260
|
-
declare const
|
|
655
|
+
declare const PaymentSetupSessionSchema: z.ZodObject<{
|
|
1261
656
|
id: z.ZodString;
|
|
1262
657
|
status: z.ZodString;
|
|
1263
658
|
external_id: z.ZodNullable<z.ZodString>;
|
|
@@ -1277,15 +672,15 @@ declare const StorePaymentSetupSessionSchema: z.ZodObject<{
|
|
|
1277
672
|
session_required: z.ZodBoolean;
|
|
1278
673
|
}, z.core.$strip>;
|
|
1279
674
|
}, z.core.$strip>;
|
|
1280
|
-
type
|
|
675
|
+
type PaymentSetupSession = z.infer<typeof PaymentSetupSessionSchema>;
|
|
1281
676
|
|
|
1282
|
-
declare const
|
|
677
|
+
declare const PaymentSourceSchema: z.ZodObject<{
|
|
1283
678
|
id: z.ZodString;
|
|
1284
679
|
gateway_payment_profile_id: z.ZodNullable<z.ZodString>;
|
|
1285
680
|
}, z.core.$strip>;
|
|
1286
|
-
type
|
|
681
|
+
type PaymentSource = z.infer<typeof PaymentSourceSchema>;
|
|
1287
682
|
|
|
1288
|
-
declare const
|
|
683
|
+
declare const PriceSchema: z.ZodObject<{
|
|
1289
684
|
id: z.ZodString;
|
|
1290
685
|
amount: z.ZodNullable<z.ZodString>;
|
|
1291
686
|
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1296,9 +691,9 @@ declare const StorePriceSchema: z.ZodObject<{
|
|
|
1296
691
|
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
1297
692
|
price_list_id: z.ZodNullable<z.ZodString>;
|
|
1298
693
|
}, z.core.$strip>;
|
|
1299
|
-
type
|
|
694
|
+
type Price = z.infer<typeof PriceSchema>;
|
|
1300
695
|
|
|
1301
|
-
declare const
|
|
696
|
+
declare const ProductSchema: z.ZodObject<{
|
|
1302
697
|
id: z.ZodString;
|
|
1303
698
|
name: z.ZodString;
|
|
1304
699
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -1592,9 +987,9 @@ declare const StoreProductSchema: z.ZodObject<{
|
|
|
1592
987
|
value: z.ZodAny;
|
|
1593
988
|
}, z.core.$strip>>>;
|
|
1594
989
|
}, z.core.$strip>;
|
|
1595
|
-
type
|
|
990
|
+
type Product = z.infer<typeof ProductSchema>;
|
|
1596
991
|
|
|
1597
|
-
declare const
|
|
992
|
+
declare const PromotionSchema: z.ZodObject<{
|
|
1598
993
|
id: z.ZodString;
|
|
1599
994
|
name: z.ZodString;
|
|
1600
995
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -1614,9 +1009,9 @@ declare const StorePromotionSchema: z.ZodObject<{
|
|
|
1614
1009
|
updated_at: z.ZodString;
|
|
1615
1010
|
promotion_category_id: z.ZodNullable<z.ZodString>;
|
|
1616
1011
|
}, z.core.$strip>;
|
|
1617
|
-
type
|
|
1012
|
+
type Promotion = z.infer<typeof PromotionSchema>;
|
|
1618
1013
|
|
|
1619
|
-
declare const
|
|
1014
|
+
declare const RefundSchema: z.ZodObject<{
|
|
1620
1015
|
id: z.ZodString;
|
|
1621
1016
|
transaction_id: z.ZodNullable<z.ZodString>;
|
|
1622
1017
|
created_at: z.ZodString;
|
|
@@ -1626,9 +1021,9 @@ declare const StoreRefundSchema: z.ZodObject<{
|
|
|
1626
1021
|
refund_reason_id: z.ZodNullable<z.ZodString>;
|
|
1627
1022
|
reimbursement_id: z.ZodNullable<z.ZodString>;
|
|
1628
1023
|
}, z.core.$strip>;
|
|
1629
|
-
type
|
|
1024
|
+
type Refund = z.infer<typeof RefundSchema>;
|
|
1630
1025
|
|
|
1631
|
-
declare const
|
|
1026
|
+
declare const ReimbursementSchema: z.ZodObject<{
|
|
1632
1027
|
id: z.ZodString;
|
|
1633
1028
|
number: z.ZodString;
|
|
1634
1029
|
reimbursement_status: z.ZodNullable<z.ZodString>;
|
|
@@ -1638,9 +1033,9 @@ declare const StoreReimbursementSchema: z.ZodObject<{
|
|
|
1638
1033
|
order_id: z.ZodNullable<z.ZodString>;
|
|
1639
1034
|
customer_return_id: z.ZodNullable<z.ZodString>;
|
|
1640
1035
|
}, z.core.$strip>;
|
|
1641
|
-
type
|
|
1036
|
+
type Reimbursement = z.infer<typeof ReimbursementSchema>;
|
|
1642
1037
|
|
|
1643
|
-
declare const
|
|
1038
|
+
declare const ReportSchema: z.ZodObject<{
|
|
1644
1039
|
id: z.ZodString;
|
|
1645
1040
|
type: z.ZodNullable<z.ZodString>;
|
|
1646
1041
|
currency: z.ZodNullable<z.ZodString>;
|
|
@@ -1650,9 +1045,9 @@ declare const StoreReportSchema: z.ZodObject<{
|
|
|
1650
1045
|
date_from: z.ZodNullable<z.ZodString>;
|
|
1651
1046
|
date_to: z.ZodNullable<z.ZodString>;
|
|
1652
1047
|
}, z.core.$strip>;
|
|
1653
|
-
type
|
|
1048
|
+
type Report = z.infer<typeof ReportSchema>;
|
|
1654
1049
|
|
|
1655
|
-
declare const
|
|
1050
|
+
declare const ReturnAuthorizationSchema: z.ZodObject<{
|
|
1656
1051
|
id: z.ZodString;
|
|
1657
1052
|
number: z.ZodString;
|
|
1658
1053
|
created_at: z.ZodString;
|
|
@@ -1662,9 +1057,9 @@ declare const StoreReturnAuthorizationSchema: z.ZodObject<{
|
|
|
1662
1057
|
stock_location_id: z.ZodNullable<z.ZodString>;
|
|
1663
1058
|
return_authorization_reason_id: z.ZodNullable<z.ZodString>;
|
|
1664
1059
|
}, z.core.$strip>;
|
|
1665
|
-
type
|
|
1060
|
+
type ReturnAuthorization = z.infer<typeof ReturnAuthorizationSchema>;
|
|
1666
1061
|
|
|
1667
|
-
declare const
|
|
1062
|
+
declare const ReturnItemSchema: z.ZodObject<{
|
|
1668
1063
|
id: z.ZodString;
|
|
1669
1064
|
reception_status: z.ZodNullable<z.ZodString>;
|
|
1670
1065
|
acceptance_status: z.ZodNullable<z.ZodString>;
|
|
@@ -1679,9 +1074,9 @@ declare const StoreReturnItemSchema: z.ZodObject<{
|
|
|
1679
1074
|
reimbursement_id: z.ZodNullable<z.ZodString>;
|
|
1680
1075
|
exchange_variant_id: z.ZodNullable<z.ZodString>;
|
|
1681
1076
|
}, z.core.$strip>;
|
|
1682
|
-
type
|
|
1077
|
+
type ReturnItem = z.infer<typeof ReturnItemSchema>;
|
|
1683
1078
|
|
|
1684
|
-
declare const
|
|
1079
|
+
declare const ShipmentSchema: z.ZodObject<{
|
|
1685
1080
|
id: z.ZodString;
|
|
1686
1081
|
number: z.ZodString;
|
|
1687
1082
|
state: z.ZodString;
|
|
@@ -1722,16 +1117,22 @@ declare const StoreShipmentSchema: z.ZodObject<{
|
|
|
1722
1117
|
}, z.core.$strip>;
|
|
1723
1118
|
}, z.core.$strip>>;
|
|
1724
1119
|
}, z.core.$strip>;
|
|
1725
|
-
type
|
|
1120
|
+
type Shipment = z.infer<typeof ShipmentSchema>;
|
|
1726
1121
|
|
|
1727
|
-
declare const
|
|
1122
|
+
declare const ShippingCategorySchema: z.ZodObject<{
|
|
1123
|
+
id: z.ZodString;
|
|
1124
|
+
name: z.ZodString;
|
|
1125
|
+
}, z.core.$strip>;
|
|
1126
|
+
type ShippingCategory = z.infer<typeof ShippingCategorySchema>;
|
|
1127
|
+
|
|
1128
|
+
declare const ShippingMethodSchema: z.ZodObject<{
|
|
1728
1129
|
id: z.ZodString;
|
|
1729
1130
|
name: z.ZodString;
|
|
1730
1131
|
code: z.ZodNullable<z.ZodString>;
|
|
1731
1132
|
}, z.core.$strip>;
|
|
1732
|
-
type
|
|
1133
|
+
type ShippingMethod = z.infer<typeof ShippingMethodSchema>;
|
|
1733
1134
|
|
|
1734
|
-
declare const
|
|
1135
|
+
declare const ShippingRateSchema: z.ZodObject<{
|
|
1735
1136
|
id: z.ZodString;
|
|
1736
1137
|
shipping_method_id: z.ZodString;
|
|
1737
1138
|
name: z.ZodString;
|
|
@@ -1744,15 +1145,15 @@ declare const StoreShippingRateSchema: z.ZodObject<{
|
|
|
1744
1145
|
code: z.ZodNullable<z.ZodString>;
|
|
1745
1146
|
}, z.core.$strip>;
|
|
1746
1147
|
}, z.core.$strip>;
|
|
1747
|
-
type
|
|
1148
|
+
type ShippingRate = z.infer<typeof ShippingRateSchema>;
|
|
1748
1149
|
|
|
1749
|
-
declare const
|
|
1150
|
+
declare const StateSchema: z.ZodObject<{
|
|
1750
1151
|
abbr: z.ZodString;
|
|
1751
1152
|
name: z.ZodString;
|
|
1752
1153
|
}, z.core.$strip>;
|
|
1753
|
-
type
|
|
1154
|
+
type State = z.infer<typeof StateSchema>;
|
|
1754
1155
|
|
|
1755
|
-
declare const
|
|
1156
|
+
declare const StockItemSchema: z.ZodObject<{
|
|
1756
1157
|
id: z.ZodString;
|
|
1757
1158
|
count_on_hand: z.ZodNumber;
|
|
1758
1159
|
backorderable: z.ZodBoolean;
|
|
@@ -1761,9 +1162,9 @@ declare const StoreStockItemSchema: z.ZodObject<{
|
|
|
1761
1162
|
stock_location_id: z.ZodNullable<z.ZodString>;
|
|
1762
1163
|
variant_id: z.ZodNullable<z.ZodString>;
|
|
1763
1164
|
}, z.core.$strip>;
|
|
1764
|
-
type
|
|
1165
|
+
type StockItem = z.infer<typeof StockItemSchema>;
|
|
1765
1166
|
|
|
1766
|
-
declare const
|
|
1167
|
+
declare const StockLocationSchema: z.ZodObject<{
|
|
1767
1168
|
id: z.ZodString;
|
|
1768
1169
|
state_abbr: z.ZodNullable<z.ZodString>;
|
|
1769
1170
|
name: z.ZodString;
|
|
@@ -1774,9 +1175,9 @@ declare const StoreStockLocationSchema: z.ZodObject<{
|
|
|
1774
1175
|
country_name: z.ZodNullable<z.ZodString>;
|
|
1775
1176
|
state_text: z.ZodNullable<z.ZodString>;
|
|
1776
1177
|
}, z.core.$strip>;
|
|
1777
|
-
type
|
|
1178
|
+
type StockLocation = z.infer<typeof StockLocationSchema>;
|
|
1778
1179
|
|
|
1779
|
-
declare const
|
|
1180
|
+
declare const StockMovementSchema: z.ZodObject<{
|
|
1780
1181
|
id: z.ZodString;
|
|
1781
1182
|
quantity: z.ZodNumber;
|
|
1782
1183
|
action: z.ZodNullable<z.ZodString>;
|
|
@@ -1786,9 +1187,9 @@ declare const StoreStockMovementSchema: z.ZodObject<{
|
|
|
1786
1187
|
originator_id: z.ZodNullable<z.ZodString>;
|
|
1787
1188
|
stock_item_id: z.ZodNullable<z.ZodString>;
|
|
1788
1189
|
}, z.core.$strip>;
|
|
1789
|
-
type
|
|
1190
|
+
type StockMovement = z.infer<typeof StockMovementSchema>;
|
|
1790
1191
|
|
|
1791
|
-
declare const
|
|
1192
|
+
declare const StockTransferSchema: z.ZodObject<{
|
|
1792
1193
|
id: z.ZodString;
|
|
1793
1194
|
number: z.ZodNullable<z.ZodString>;
|
|
1794
1195
|
type: z.ZodNullable<z.ZodString>;
|
|
@@ -1798,9 +1199,9 @@ declare const StoreStockTransferSchema: z.ZodObject<{
|
|
|
1798
1199
|
source_location_id: z.ZodNullable<z.ZodString>;
|
|
1799
1200
|
destination_location_id: z.ZodNullable<z.ZodString>;
|
|
1800
1201
|
}, z.core.$strip>;
|
|
1801
|
-
type
|
|
1202
|
+
type StockTransfer = z.infer<typeof StockTransferSchema>;
|
|
1802
1203
|
|
|
1803
|
-
declare const
|
|
1204
|
+
declare const StoreCreditSchema: z.ZodObject<{
|
|
1804
1205
|
id: z.ZodString;
|
|
1805
1206
|
amount: z.ZodString;
|
|
1806
1207
|
amount_used: z.ZodString;
|
|
@@ -1810,12 +1211,18 @@ declare const StoreStoreCreditSchema: z.ZodObject<{
|
|
|
1810
1211
|
display_amount_remaining: z.ZodString;
|
|
1811
1212
|
currency: z.ZodString;
|
|
1812
1213
|
}, z.core.$strip>;
|
|
1813
|
-
type
|
|
1214
|
+
type StoreCredit = z.infer<typeof StoreCreditSchema>;
|
|
1215
|
+
|
|
1216
|
+
declare const TaxCategorySchema: z.ZodObject<{
|
|
1217
|
+
id: z.ZodString;
|
|
1218
|
+
name: z.ZodString;
|
|
1219
|
+
}, z.core.$strip>;
|
|
1220
|
+
type TaxCategory = z.infer<typeof TaxCategorySchema>;
|
|
1814
1221
|
|
|
1815
|
-
declare const
|
|
1816
|
-
type
|
|
1222
|
+
declare const TaxonSchema: z.ZodObject<any>;
|
|
1223
|
+
type Taxon = z.infer<typeof TaxonSchema>;
|
|
1817
1224
|
|
|
1818
|
-
declare const
|
|
1225
|
+
declare const TaxonomySchema: z.ZodObject<{
|
|
1819
1226
|
id: z.ZodString;
|
|
1820
1227
|
name: z.ZodString;
|
|
1821
1228
|
position: z.ZodNumber;
|
|
@@ -1832,9 +1239,9 @@ declare const StoreTaxonomySchema: z.ZodObject<{
|
|
|
1832
1239
|
value: z.ZodAny;
|
|
1833
1240
|
}, z.core.$strip>>>;
|
|
1834
1241
|
}, z.core.$strip>;
|
|
1835
|
-
type
|
|
1242
|
+
type Taxonomy = z.infer<typeof TaxonomySchema>;
|
|
1836
1243
|
|
|
1837
|
-
declare const
|
|
1244
|
+
declare const VariantSchema: z.ZodObject<{
|
|
1838
1245
|
id: z.ZodString;
|
|
1839
1246
|
product_id: z.ZodString;
|
|
1840
1247
|
sku: z.ZodNullable<z.ZodString>;
|
|
@@ -1908,9 +1315,9 @@ declare const StoreVariantSchema: z.ZodObject<{
|
|
|
1908
1315
|
value: z.ZodAny;
|
|
1909
1316
|
}, z.core.$strip>>>;
|
|
1910
1317
|
}, z.core.$strip>;
|
|
1911
|
-
type
|
|
1318
|
+
type Variant = z.infer<typeof VariantSchema>;
|
|
1912
1319
|
|
|
1913
|
-
declare const
|
|
1320
|
+
declare const WishedItemSchema: z.ZodObject<{
|
|
1914
1321
|
id: z.ZodString;
|
|
1915
1322
|
variant_id: z.ZodString;
|
|
1916
1323
|
wishlist_id: z.ZodString;
|
|
@@ -1992,9 +1399,9 @@ declare const StoreWishedItemSchema: z.ZodObject<{
|
|
|
1992
1399
|
}, z.core.$strip>>>;
|
|
1993
1400
|
}, z.core.$strip>;
|
|
1994
1401
|
}, z.core.$strip>;
|
|
1995
|
-
type
|
|
1402
|
+
type WishedItem = z.infer<typeof WishedItemSchema>;
|
|
1996
1403
|
|
|
1997
|
-
declare const
|
|
1404
|
+
declare const WishlistSchema: z.ZodObject<{
|
|
1998
1405
|
id: z.ZodString;
|
|
1999
1406
|
name: z.ZodString;
|
|
2000
1407
|
token: z.ZodString;
|
|
@@ -2085,6 +1492,6 @@ declare const StoreWishlistSchema: z.ZodObject<{
|
|
|
2085
1492
|
}, z.core.$strip>;
|
|
2086
1493
|
}, z.core.$strip>>>;
|
|
2087
1494
|
}, z.core.$strip>;
|
|
2088
|
-
type
|
|
1495
|
+
type Wishlist = z.infer<typeof WishlistSchema>;
|
|
2089
1496
|
|
|
2090
|
-
export { type
|
|
1497
|
+
export { type Address, AddressSchema, type Asset, AssetSchema, type Base, BaseSchema, type Country, CountrySchema, type CreditCard, CreditCardSchema, type Currency, CurrencySchema, type Customer, type CustomerReturn, CustomerReturnSchema, CustomerSchema, type Digital, type DigitalLink, DigitalLinkSchema, DigitalSchema, type Export, ExportSchema, type GiftCard, type GiftCardBatch, GiftCardBatchSchema, GiftCardSchema, type Image, ImageSchema, type Import, type ImportRow, ImportRowSchema, ImportSchema, type Invitation, InvitationSchema, type LineItem, LineItemSchema, type Locale, LocaleSchema, type Market, MarketSchema, type Metafield, MetafieldSchema, type NewsletterSubscriber, NewsletterSubscriberSchema, type OptionType, OptionTypeSchema, type OptionValue, OptionValueSchema, type Order, type OrderPromotion, OrderPromotionSchema, OrderSchema, type Payment, type PaymentMethod, PaymentMethodSchema, PaymentSchema, type PaymentSession, PaymentSessionSchema, type PaymentSetupSession, PaymentSetupSessionSchema, type PaymentSource, PaymentSourceSchema, type Price, PriceSchema, type Product, ProductSchema, type Promotion, PromotionSchema, type Refund, RefundSchema, type Reimbursement, ReimbursementSchema, type Report, ReportSchema, type ReturnAuthorization, ReturnAuthorizationSchema, type ReturnItem, ReturnItemSchema, type Shipment, ShipmentSchema, type ShippingCategory, ShippingCategorySchema, type ShippingMethod, ShippingMethodSchema, type ShippingRate, ShippingRateSchema, type State, StateSchema, type StockItem, StockItemSchema, type StockLocation, StockLocationSchema, type StockMovement, StockMovementSchema, type StockTransfer, StockTransferSchema, type StoreCredit, StoreCreditSchema, type TaxCategory, TaxCategorySchema, type Taxon, TaxonSchema, type Taxonomy, TaxonomySchema, type Variant, VariantSchema, type WishedItem, WishedItemSchema, type Wishlist, WishlistSchema };
|