@spree/sdk 0.6.9 → 0.7.1
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-CgJG4R8P.d.cts +989 -0
- package/dist/index-CgJG4R8P.d.ts +989 -0
- package/dist/index.cjs +43 -82
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +78 -124
- package/dist/index.d.ts +78 -124
- package/dist/index.js +43 -80
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.cts +1 -1181
- package/dist/types/index.d.ts +1 -1181
- package/dist/zod/index.cjs +310 -551
- package/dist/zod/index.cjs.map +1 -1
- package/dist/zod/index.d.cts +119 -713
- package/dist/zod/index.d.ts +119 -713
- package/dist/zod/index.js +256 -490
- package/dist/zod/index.js.map +1 -1
- package/package.json +3 -2
package/dist/zod/index.d.cts
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,9 +362,9 @@ 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;
|
|
@@ -1169,9 +563,9 @@ declare const StoreOrderSchema: z.ZodObject<{
|
|
|
1169
563
|
session_required: z.ZodBoolean;
|
|
1170
564
|
}, z.core.$strip>>;
|
|
1171
565
|
}, z.core.$strip>;
|
|
1172
|
-
type
|
|
566
|
+
type Order = z.infer<typeof OrderSchema>;
|
|
1173
567
|
|
|
1174
|
-
declare const
|
|
568
|
+
declare const OrderPromotionSchema: z.ZodObject<{
|
|
1175
569
|
id: z.ZodString;
|
|
1176
570
|
promotion_id: z.ZodString;
|
|
1177
571
|
name: z.ZodString;
|
|
@@ -1180,9 +574,9 @@ declare const StoreOrderPromotionSchema: z.ZodObject<{
|
|
|
1180
574
|
amount: z.ZodString;
|
|
1181
575
|
display_amount: z.ZodString;
|
|
1182
576
|
}, z.core.$strip>;
|
|
1183
|
-
type
|
|
577
|
+
type OrderPromotion = z.infer<typeof OrderPromotionSchema>;
|
|
1184
578
|
|
|
1185
|
-
declare const
|
|
579
|
+
declare const PaymentSchema: z.ZodObject<{
|
|
1186
580
|
id: z.ZodString;
|
|
1187
581
|
payment_method_id: z.ZodString;
|
|
1188
582
|
state: z.ZodString;
|
|
@@ -1203,18 +597,18 @@ declare const StorePaymentSchema: z.ZodObject<{
|
|
|
1203
597
|
session_required: z.ZodBoolean;
|
|
1204
598
|
}, z.core.$strip>;
|
|
1205
599
|
}, z.core.$strip>;
|
|
1206
|
-
type
|
|
600
|
+
type Payment = z.infer<typeof PaymentSchema>;
|
|
1207
601
|
|
|
1208
|
-
declare const
|
|
602
|
+
declare const PaymentMethodSchema: z.ZodObject<{
|
|
1209
603
|
id: z.ZodString;
|
|
1210
604
|
name: z.ZodString;
|
|
1211
605
|
description: z.ZodNullable<z.ZodString>;
|
|
1212
606
|
type: z.ZodString;
|
|
1213
607
|
session_required: z.ZodBoolean;
|
|
1214
608
|
}, z.core.$strip>;
|
|
1215
|
-
type
|
|
609
|
+
type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
|
|
1216
610
|
|
|
1217
|
-
declare const
|
|
611
|
+
declare const PaymentSessionSchema: z.ZodObject<{
|
|
1218
612
|
id: z.ZodString;
|
|
1219
613
|
status: z.ZodString;
|
|
1220
614
|
currency: z.ZodString;
|
|
@@ -1256,9 +650,9 @@ declare const StorePaymentSessionSchema: z.ZodObject<{
|
|
|
1256
650
|
}, z.core.$strip>;
|
|
1257
651
|
}, z.core.$strip>>;
|
|
1258
652
|
}, z.core.$strip>;
|
|
1259
|
-
type
|
|
653
|
+
type PaymentSession = z.infer<typeof PaymentSessionSchema>;
|
|
1260
654
|
|
|
1261
|
-
declare const
|
|
655
|
+
declare const PaymentSetupSessionSchema: z.ZodObject<{
|
|
1262
656
|
id: z.ZodString;
|
|
1263
657
|
status: z.ZodString;
|
|
1264
658
|
external_id: z.ZodNullable<z.ZodString>;
|
|
@@ -1278,15 +672,15 @@ declare const StorePaymentSetupSessionSchema: z.ZodObject<{
|
|
|
1278
672
|
session_required: z.ZodBoolean;
|
|
1279
673
|
}, z.core.$strip>;
|
|
1280
674
|
}, z.core.$strip>;
|
|
1281
|
-
type
|
|
675
|
+
type PaymentSetupSession = z.infer<typeof PaymentSetupSessionSchema>;
|
|
1282
676
|
|
|
1283
|
-
declare const
|
|
677
|
+
declare const PaymentSourceSchema: z.ZodObject<{
|
|
1284
678
|
id: z.ZodString;
|
|
1285
679
|
gateway_payment_profile_id: z.ZodNullable<z.ZodString>;
|
|
1286
680
|
}, z.core.$strip>;
|
|
1287
|
-
type
|
|
681
|
+
type PaymentSource = z.infer<typeof PaymentSourceSchema>;
|
|
1288
682
|
|
|
1289
|
-
declare const
|
|
683
|
+
declare const PriceSchema: z.ZodObject<{
|
|
1290
684
|
id: z.ZodString;
|
|
1291
685
|
amount: z.ZodNullable<z.ZodString>;
|
|
1292
686
|
amount_in_cents: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1297,9 +691,9 @@ declare const StorePriceSchema: z.ZodObject<{
|
|
|
1297
691
|
display_compare_at_amount: z.ZodNullable<z.ZodString>;
|
|
1298
692
|
price_list_id: z.ZodNullable<z.ZodString>;
|
|
1299
693
|
}, z.core.$strip>;
|
|
1300
|
-
type
|
|
694
|
+
type Price = z.infer<typeof PriceSchema>;
|
|
1301
695
|
|
|
1302
|
-
declare const
|
|
696
|
+
declare const ProductSchema: z.ZodObject<{
|
|
1303
697
|
id: z.ZodString;
|
|
1304
698
|
name: z.ZodString;
|
|
1305
699
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -1593,9 +987,9 @@ declare const StoreProductSchema: z.ZodObject<{
|
|
|
1593
987
|
value: z.ZodAny;
|
|
1594
988
|
}, z.core.$strip>>>;
|
|
1595
989
|
}, z.core.$strip>;
|
|
1596
|
-
type
|
|
990
|
+
type Product = z.infer<typeof ProductSchema>;
|
|
1597
991
|
|
|
1598
|
-
declare const
|
|
992
|
+
declare const PromotionSchema: z.ZodObject<{
|
|
1599
993
|
id: z.ZodString;
|
|
1600
994
|
name: z.ZodString;
|
|
1601
995
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -1615,9 +1009,9 @@ declare const StorePromotionSchema: z.ZodObject<{
|
|
|
1615
1009
|
updated_at: z.ZodString;
|
|
1616
1010
|
promotion_category_id: z.ZodNullable<z.ZodString>;
|
|
1617
1011
|
}, z.core.$strip>;
|
|
1618
|
-
type
|
|
1012
|
+
type Promotion = z.infer<typeof PromotionSchema>;
|
|
1619
1013
|
|
|
1620
|
-
declare const
|
|
1014
|
+
declare const RefundSchema: z.ZodObject<{
|
|
1621
1015
|
id: z.ZodString;
|
|
1622
1016
|
transaction_id: z.ZodNullable<z.ZodString>;
|
|
1623
1017
|
created_at: z.ZodString;
|
|
@@ -1627,9 +1021,9 @@ declare const StoreRefundSchema: z.ZodObject<{
|
|
|
1627
1021
|
refund_reason_id: z.ZodNullable<z.ZodString>;
|
|
1628
1022
|
reimbursement_id: z.ZodNullable<z.ZodString>;
|
|
1629
1023
|
}, z.core.$strip>;
|
|
1630
|
-
type
|
|
1024
|
+
type Refund = z.infer<typeof RefundSchema>;
|
|
1631
1025
|
|
|
1632
|
-
declare const
|
|
1026
|
+
declare const ReimbursementSchema: z.ZodObject<{
|
|
1633
1027
|
id: z.ZodString;
|
|
1634
1028
|
number: z.ZodString;
|
|
1635
1029
|
reimbursement_status: z.ZodNullable<z.ZodString>;
|
|
@@ -1639,9 +1033,9 @@ declare const StoreReimbursementSchema: z.ZodObject<{
|
|
|
1639
1033
|
order_id: z.ZodNullable<z.ZodString>;
|
|
1640
1034
|
customer_return_id: z.ZodNullable<z.ZodString>;
|
|
1641
1035
|
}, z.core.$strip>;
|
|
1642
|
-
type
|
|
1036
|
+
type Reimbursement = z.infer<typeof ReimbursementSchema>;
|
|
1643
1037
|
|
|
1644
|
-
declare const
|
|
1038
|
+
declare const ReportSchema: z.ZodObject<{
|
|
1645
1039
|
id: z.ZodString;
|
|
1646
1040
|
type: z.ZodNullable<z.ZodString>;
|
|
1647
1041
|
currency: z.ZodNullable<z.ZodString>;
|
|
@@ -1651,9 +1045,9 @@ declare const StoreReportSchema: z.ZodObject<{
|
|
|
1651
1045
|
date_from: z.ZodNullable<z.ZodString>;
|
|
1652
1046
|
date_to: z.ZodNullable<z.ZodString>;
|
|
1653
1047
|
}, z.core.$strip>;
|
|
1654
|
-
type
|
|
1048
|
+
type Report = z.infer<typeof ReportSchema>;
|
|
1655
1049
|
|
|
1656
|
-
declare const
|
|
1050
|
+
declare const ReturnAuthorizationSchema: z.ZodObject<{
|
|
1657
1051
|
id: z.ZodString;
|
|
1658
1052
|
number: z.ZodString;
|
|
1659
1053
|
created_at: z.ZodString;
|
|
@@ -1663,9 +1057,9 @@ declare const StoreReturnAuthorizationSchema: z.ZodObject<{
|
|
|
1663
1057
|
stock_location_id: z.ZodNullable<z.ZodString>;
|
|
1664
1058
|
return_authorization_reason_id: z.ZodNullable<z.ZodString>;
|
|
1665
1059
|
}, z.core.$strip>;
|
|
1666
|
-
type
|
|
1060
|
+
type ReturnAuthorization = z.infer<typeof ReturnAuthorizationSchema>;
|
|
1667
1061
|
|
|
1668
|
-
declare const
|
|
1062
|
+
declare const ReturnItemSchema: z.ZodObject<{
|
|
1669
1063
|
id: z.ZodString;
|
|
1670
1064
|
reception_status: z.ZodNullable<z.ZodString>;
|
|
1671
1065
|
acceptance_status: z.ZodNullable<z.ZodString>;
|
|
@@ -1680,9 +1074,9 @@ declare const StoreReturnItemSchema: z.ZodObject<{
|
|
|
1680
1074
|
reimbursement_id: z.ZodNullable<z.ZodString>;
|
|
1681
1075
|
exchange_variant_id: z.ZodNullable<z.ZodString>;
|
|
1682
1076
|
}, z.core.$strip>;
|
|
1683
|
-
type
|
|
1077
|
+
type ReturnItem = z.infer<typeof ReturnItemSchema>;
|
|
1684
1078
|
|
|
1685
|
-
declare const
|
|
1079
|
+
declare const ShipmentSchema: z.ZodObject<{
|
|
1686
1080
|
id: z.ZodString;
|
|
1687
1081
|
number: z.ZodString;
|
|
1688
1082
|
state: z.ZodString;
|
|
@@ -1723,16 +1117,22 @@ declare const StoreShipmentSchema: z.ZodObject<{
|
|
|
1723
1117
|
}, z.core.$strip>;
|
|
1724
1118
|
}, z.core.$strip>>;
|
|
1725
1119
|
}, z.core.$strip>;
|
|
1726
|
-
type
|
|
1120
|
+
type Shipment = z.infer<typeof ShipmentSchema>;
|
|
1727
1121
|
|
|
1728
|
-
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<{
|
|
1729
1129
|
id: z.ZodString;
|
|
1730
1130
|
name: z.ZodString;
|
|
1731
1131
|
code: z.ZodNullable<z.ZodString>;
|
|
1732
1132
|
}, z.core.$strip>;
|
|
1733
|
-
type
|
|
1133
|
+
type ShippingMethod = z.infer<typeof ShippingMethodSchema>;
|
|
1734
1134
|
|
|
1735
|
-
declare const
|
|
1135
|
+
declare const ShippingRateSchema: z.ZodObject<{
|
|
1736
1136
|
id: z.ZodString;
|
|
1737
1137
|
shipping_method_id: z.ZodString;
|
|
1738
1138
|
name: z.ZodString;
|
|
@@ -1745,15 +1145,15 @@ declare const StoreShippingRateSchema: z.ZodObject<{
|
|
|
1745
1145
|
code: z.ZodNullable<z.ZodString>;
|
|
1746
1146
|
}, z.core.$strip>;
|
|
1747
1147
|
}, z.core.$strip>;
|
|
1748
|
-
type
|
|
1148
|
+
type ShippingRate = z.infer<typeof ShippingRateSchema>;
|
|
1749
1149
|
|
|
1750
|
-
declare const
|
|
1150
|
+
declare const StateSchema: z.ZodObject<{
|
|
1751
1151
|
abbr: z.ZodString;
|
|
1752
1152
|
name: z.ZodString;
|
|
1753
1153
|
}, z.core.$strip>;
|
|
1754
|
-
type
|
|
1154
|
+
type State = z.infer<typeof StateSchema>;
|
|
1755
1155
|
|
|
1756
|
-
declare const
|
|
1156
|
+
declare const StockItemSchema: z.ZodObject<{
|
|
1757
1157
|
id: z.ZodString;
|
|
1758
1158
|
count_on_hand: z.ZodNumber;
|
|
1759
1159
|
backorderable: z.ZodBoolean;
|
|
@@ -1762,9 +1162,9 @@ declare const StoreStockItemSchema: z.ZodObject<{
|
|
|
1762
1162
|
stock_location_id: z.ZodNullable<z.ZodString>;
|
|
1763
1163
|
variant_id: z.ZodNullable<z.ZodString>;
|
|
1764
1164
|
}, z.core.$strip>;
|
|
1765
|
-
type
|
|
1165
|
+
type StockItem = z.infer<typeof StockItemSchema>;
|
|
1766
1166
|
|
|
1767
|
-
declare const
|
|
1167
|
+
declare const StockLocationSchema: z.ZodObject<{
|
|
1768
1168
|
id: z.ZodString;
|
|
1769
1169
|
state_abbr: z.ZodNullable<z.ZodString>;
|
|
1770
1170
|
name: z.ZodString;
|
|
@@ -1775,9 +1175,9 @@ declare const StoreStockLocationSchema: z.ZodObject<{
|
|
|
1775
1175
|
country_name: z.ZodNullable<z.ZodString>;
|
|
1776
1176
|
state_text: z.ZodNullable<z.ZodString>;
|
|
1777
1177
|
}, z.core.$strip>;
|
|
1778
|
-
type
|
|
1178
|
+
type StockLocation = z.infer<typeof StockLocationSchema>;
|
|
1779
1179
|
|
|
1780
|
-
declare const
|
|
1180
|
+
declare const StockMovementSchema: z.ZodObject<{
|
|
1781
1181
|
id: z.ZodString;
|
|
1782
1182
|
quantity: z.ZodNumber;
|
|
1783
1183
|
action: z.ZodNullable<z.ZodString>;
|
|
@@ -1787,9 +1187,9 @@ declare const StoreStockMovementSchema: z.ZodObject<{
|
|
|
1787
1187
|
originator_id: z.ZodNullable<z.ZodString>;
|
|
1788
1188
|
stock_item_id: z.ZodNullable<z.ZodString>;
|
|
1789
1189
|
}, z.core.$strip>;
|
|
1790
|
-
type
|
|
1190
|
+
type StockMovement = z.infer<typeof StockMovementSchema>;
|
|
1791
1191
|
|
|
1792
|
-
declare const
|
|
1192
|
+
declare const StockTransferSchema: z.ZodObject<{
|
|
1793
1193
|
id: z.ZodString;
|
|
1794
1194
|
number: z.ZodNullable<z.ZodString>;
|
|
1795
1195
|
type: z.ZodNullable<z.ZodString>;
|
|
@@ -1799,9 +1199,9 @@ declare const StoreStockTransferSchema: z.ZodObject<{
|
|
|
1799
1199
|
source_location_id: z.ZodNullable<z.ZodString>;
|
|
1800
1200
|
destination_location_id: z.ZodNullable<z.ZodString>;
|
|
1801
1201
|
}, z.core.$strip>;
|
|
1802
|
-
type
|
|
1202
|
+
type StockTransfer = z.infer<typeof StockTransferSchema>;
|
|
1803
1203
|
|
|
1804
|
-
declare const
|
|
1204
|
+
declare const StoreCreditSchema: z.ZodObject<{
|
|
1805
1205
|
id: z.ZodString;
|
|
1806
1206
|
amount: z.ZodString;
|
|
1807
1207
|
amount_used: z.ZodString;
|
|
@@ -1811,12 +1211,18 @@ declare const StoreStoreCreditSchema: z.ZodObject<{
|
|
|
1811
1211
|
display_amount_remaining: z.ZodString;
|
|
1812
1212
|
currency: z.ZodString;
|
|
1813
1213
|
}, z.core.$strip>;
|
|
1814
|
-
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>;
|
|
1815
1221
|
|
|
1816
|
-
declare const
|
|
1817
|
-
type
|
|
1222
|
+
declare const TaxonSchema: z.ZodObject<any>;
|
|
1223
|
+
type Taxon = z.infer<typeof TaxonSchema>;
|
|
1818
1224
|
|
|
1819
|
-
declare const
|
|
1225
|
+
declare const TaxonomySchema: z.ZodObject<{
|
|
1820
1226
|
id: z.ZodString;
|
|
1821
1227
|
name: z.ZodString;
|
|
1822
1228
|
position: z.ZodNumber;
|
|
@@ -1833,9 +1239,9 @@ declare const StoreTaxonomySchema: z.ZodObject<{
|
|
|
1833
1239
|
value: z.ZodAny;
|
|
1834
1240
|
}, z.core.$strip>>>;
|
|
1835
1241
|
}, z.core.$strip>;
|
|
1836
|
-
type
|
|
1242
|
+
type Taxonomy = z.infer<typeof TaxonomySchema>;
|
|
1837
1243
|
|
|
1838
|
-
declare const
|
|
1244
|
+
declare const VariantSchema: z.ZodObject<{
|
|
1839
1245
|
id: z.ZodString;
|
|
1840
1246
|
product_id: z.ZodString;
|
|
1841
1247
|
sku: z.ZodNullable<z.ZodString>;
|
|
@@ -1909,9 +1315,9 @@ declare const StoreVariantSchema: z.ZodObject<{
|
|
|
1909
1315
|
value: z.ZodAny;
|
|
1910
1316
|
}, z.core.$strip>>>;
|
|
1911
1317
|
}, z.core.$strip>;
|
|
1912
|
-
type
|
|
1318
|
+
type Variant = z.infer<typeof VariantSchema>;
|
|
1913
1319
|
|
|
1914
|
-
declare const
|
|
1320
|
+
declare const WishedItemSchema: z.ZodObject<{
|
|
1915
1321
|
id: z.ZodString;
|
|
1916
1322
|
variant_id: z.ZodString;
|
|
1917
1323
|
wishlist_id: z.ZodString;
|
|
@@ -1993,9 +1399,9 @@ declare const StoreWishedItemSchema: z.ZodObject<{
|
|
|
1993
1399
|
}, z.core.$strip>>>;
|
|
1994
1400
|
}, z.core.$strip>;
|
|
1995
1401
|
}, z.core.$strip>;
|
|
1996
|
-
type
|
|
1402
|
+
type WishedItem = z.infer<typeof WishedItemSchema>;
|
|
1997
1403
|
|
|
1998
|
-
declare const
|
|
1404
|
+
declare const WishlistSchema: z.ZodObject<{
|
|
1999
1405
|
id: z.ZodString;
|
|
2000
1406
|
name: z.ZodString;
|
|
2001
1407
|
token: z.ZodString;
|
|
@@ -2086,6 +1492,6 @@ declare const StoreWishlistSchema: z.ZodObject<{
|
|
|
2086
1492
|
}, z.core.$strip>;
|
|
2087
1493
|
}, z.core.$strip>>>;
|
|
2088
1494
|
}, z.core.$strip>;
|
|
2089
|
-
type
|
|
1495
|
+
type Wishlist = z.infer<typeof WishlistSchema>;
|
|
2090
1496
|
|
|
2091
|
-
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 };
|