listbee-mcp 0.1.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +24 -0
  2. package/dist/generated/meta.d.ts +8 -0
  3. package/dist/generated/meta.d.ts.map +1 -0
  4. package/dist/generated/meta.js +207 -0
  5. package/dist/generated/meta.js.map +1 -0
  6. package/dist/generated/schemas.d.ts +577 -0
  7. package/dist/generated/schemas.d.ts.map +1 -0
  8. package/dist/generated/schemas.js +44 -0
  9. package/dist/generated/schemas.js.map +1 -0
  10. package/dist/handlers/stripe-connect.d.ts +9 -0
  11. package/dist/handlers/stripe-connect.d.ts.map +1 -0
  12. package/dist/{tools/stripe.js → handlers/stripe-connect.js} +8 -4
  13. package/dist/handlers/stripe-connect.js.map +1 -0
  14. package/dist/handlers/upload-file.d.ts +7 -0
  15. package/dist/handlers/upload-file.d.ts.map +1 -0
  16. package/dist/handlers/upload-file.js +38 -0
  17. package/dist/handlers/upload-file.js.map +1 -0
  18. package/dist/handlers.d.ts +4 -0
  19. package/dist/handlers.d.ts.map +1 -0
  20. package/dist/handlers.js +41 -0
  21. package/dist/handlers.js.map +1 -0
  22. package/dist/index.js +62 -65
  23. package/dist/index.js.map +1 -1
  24. package/dist/server.d.ts.map +1 -1
  25. package/dist/server.js +63 -62
  26. package/dist/server.js.map +1 -1
  27. package/dist/transports/http.d.ts +7 -0
  28. package/dist/transports/http.d.ts.map +1 -0
  29. package/dist/transports/http.js +120 -0
  30. package/dist/transports/http.js.map +1 -0
  31. package/dist/transports/stdio.d.ts +7 -0
  32. package/dist/transports/stdio.d.ts.map +1 -0
  33. package/dist/transports/stdio.js +18 -0
  34. package/dist/transports/stdio.js.map +1 -0
  35. package/dist/types.d.ts +1 -8
  36. package/dist/types.d.ts.map +1 -1
  37. package/dist/types.js +18 -18
  38. package/dist/types.js.map +1 -1
  39. package/dist/{tools/shared.d.ts → utils.d.ts} +2 -2
  40. package/dist/utils.d.ts.map +1 -0
  41. package/dist/{tools/shared.js → utils.js} +1 -1
  42. package/dist/utils.js.map +1 -0
  43. package/mcp-tools.yaml +273 -1
  44. package/package.json +10 -4
  45. package/dist/client.d.ts +0 -18
  46. package/dist/client.d.ts.map +0 -1
  47. package/dist/client.js +0 -61
  48. package/dist/client.js.map +0 -1
  49. package/dist/schemas.d.ts +0 -87
  50. package/dist/schemas.d.ts.map +0 -1
  51. package/dist/schemas.js +0 -137
  52. package/dist/schemas.js.map +0 -1
  53. package/dist/tools/files.d.ts +0 -7
  54. package/dist/tools/files.d.ts.map +0 -1
  55. package/dist/tools/files.js +0 -34
  56. package/dist/tools/files.js.map +0 -1
  57. package/dist/tools/listings.d.ts +0 -44
  58. package/dist/tools/listings.d.ts.map +0 -1
  59. package/dist/tools/listings.js +0 -83
  60. package/dist/tools/listings.js.map +0 -1
  61. package/dist/tools/orders.d.ts +0 -15
  62. package/dist/tools/orders.d.ts.map +0 -1
  63. package/dist/tools/orders.js +0 -28
  64. package/dist/tools/orders.js.map +0 -1
  65. package/dist/tools/shared.d.ts.map +0 -1
  66. package/dist/tools/shared.js.map +0 -1
  67. package/dist/tools/stripe.d.ts +0 -4
  68. package/dist/tools/stripe.d.ts.map +0 -1
  69. package/dist/tools/stripe.js.map +0 -1
@@ -0,0 +1,577 @@
1
+ import { z } from "zod";
2
+ export declare const schemas: {
3
+ readonly create_account: z.ZodObject<{
4
+ email: z.ZodString;
5
+ }, "strict", z.ZodTypeAny, {
6
+ email: string;
7
+ }, {
8
+ email: string;
9
+ }>;
10
+ readonly create_api_key: z.ZodObject<{
11
+ name: z.ZodString;
12
+ }, "strict", z.ZodTypeAny, {
13
+ name: string;
14
+ }, {
15
+ name: string;
16
+ }>;
17
+ readonly create_listing: z.ZodObject<{
18
+ checkout_schema: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
19
+ key: z.ZodString;
20
+ type: z.ZodEnum<["address", "text", "select", "date"]>;
21
+ label: z.ZodString;
22
+ required: z.ZodDefault<z.ZodBoolean>;
23
+ options: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ type: "text" | "date" | "address" | "select";
26
+ key: string;
27
+ label: string;
28
+ required: boolean;
29
+ options?: string[] | null | undefined;
30
+ }, {
31
+ type: "text" | "date" | "address" | "select";
32
+ key: string;
33
+ label: string;
34
+ options?: string[] | null | undefined;
35
+ required?: boolean | undefined;
36
+ }>, "many">, z.ZodNull]>>;
37
+ name: z.ZodString;
38
+ price: z.ZodNumber;
39
+ stock: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
40
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
41
+ tagline: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
42
+ highlights: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
43
+ cta: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
44
+ cover: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
45
+ metadata: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
46
+ utm_source: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
47
+ utm_medium: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
48
+ utm_campaign: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
49
+ compare_at_price: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
50
+ badges: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
51
+ cover_blur: z.ZodOptional<z.ZodEnum<["true", "false", "auto"]>>;
52
+ rating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
53
+ rating_count: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
54
+ reviews: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
55
+ name: z.ZodString;
56
+ rating: z.ZodNumber;
57
+ content: z.ZodString;
58
+ }, "strip", z.ZodTypeAny, {
59
+ content: string;
60
+ name: string;
61
+ rating: number;
62
+ }, {
63
+ content: string;
64
+ name: string;
65
+ rating: number;
66
+ }>, "many">, z.ZodNull]>>;
67
+ faqs: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
68
+ q: z.ZodString;
69
+ a: z.ZodString;
70
+ }, "strip", z.ZodTypeAny, {
71
+ q: string;
72
+ a: string;
73
+ }, {
74
+ q: string;
75
+ a: string;
76
+ }>, "many">, z.ZodNull]>>;
77
+ }, "strict", z.ZodTypeAny, {
78
+ name: string;
79
+ price: number;
80
+ description?: string | null | undefined;
81
+ checkout_schema?: {
82
+ type: "text" | "date" | "address" | "select";
83
+ key: string;
84
+ label: string;
85
+ required: boolean;
86
+ options?: string[] | null | undefined;
87
+ }[] | null | undefined;
88
+ stock?: number | null | undefined;
89
+ tagline?: string | null | undefined;
90
+ highlights?: string[] | null | undefined;
91
+ cta?: string | null | undefined;
92
+ cover?: string | null | undefined;
93
+ metadata?: Record<string, any> | null | undefined;
94
+ utm_source?: string | null | undefined;
95
+ utm_medium?: string | null | undefined;
96
+ utm_campaign?: string | null | undefined;
97
+ compare_at_price?: number | null | undefined;
98
+ badges?: string[] | null | undefined;
99
+ cover_blur?: "true" | "false" | "auto" | undefined;
100
+ rating?: number | null | undefined;
101
+ rating_count?: number | null | undefined;
102
+ reviews?: {
103
+ content: string;
104
+ name: string;
105
+ rating: number;
106
+ }[] | null | undefined;
107
+ faqs?: {
108
+ q: string;
109
+ a: string;
110
+ }[] | null | undefined;
111
+ }, {
112
+ name: string;
113
+ price: number;
114
+ description?: string | null | undefined;
115
+ checkout_schema?: {
116
+ type: "text" | "date" | "address" | "select";
117
+ key: string;
118
+ label: string;
119
+ options?: string[] | null | undefined;
120
+ required?: boolean | undefined;
121
+ }[] | null | undefined;
122
+ stock?: number | null | undefined;
123
+ tagline?: string | null | undefined;
124
+ highlights?: string[] | null | undefined;
125
+ cta?: string | null | undefined;
126
+ cover?: string | null | undefined;
127
+ metadata?: Record<string, any> | null | undefined;
128
+ utm_source?: string | null | undefined;
129
+ utm_medium?: string | null | undefined;
130
+ utm_campaign?: string | null | undefined;
131
+ compare_at_price?: number | null | undefined;
132
+ badges?: string[] | null | undefined;
133
+ cover_blur?: "true" | "false" | "auto" | undefined;
134
+ rating?: number | null | undefined;
135
+ rating_count?: number | null | undefined;
136
+ reviews?: {
137
+ content: string;
138
+ name: string;
139
+ rating: number;
140
+ }[] | null | undefined;
141
+ faqs?: {
142
+ q: string;
143
+ a: string;
144
+ }[] | null | undefined;
145
+ }>;
146
+ readonly create_webhook: z.ZodObject<{
147
+ name: z.ZodString;
148
+ url: z.ZodString;
149
+ events: z.ZodOptional<z.ZodArray<z.ZodEnum<["order.paid", "order.fulfilled", "order.shipped", "order.refunded", "order.disputed", "order.dispute_closed", "order.canceled", "listing.created", "listing.updated", "listing.out_of_stock", "listing.deleted", "customer.created"]>, "many">>;
150
+ }, "strict", z.ZodTypeAny, {
151
+ url: string;
152
+ name: string;
153
+ events?: ("order.paid" | "order.fulfilled" | "order.shipped" | "order.refunded" | "order.disputed" | "order.dispute_closed" | "order.canceled" | "listing.created" | "listing.updated" | "listing.out_of_stock" | "listing.deleted" | "customer.created")[] | undefined;
154
+ }, {
155
+ url: string;
156
+ name: string;
157
+ events?: ("order.paid" | "order.fulfilled" | "order.shipped" | "order.refunded" | "order.disputed" | "order.dispute_closed" | "order.canceled" | "listing.created" | "listing.updated" | "listing.out_of_stock" | "listing.deleted" | "customer.created")[] | undefined;
158
+ }>;
159
+ readonly delete_account: null;
160
+ readonly delete_api_key: z.ZodObject<{
161
+ key_id: z.ZodString;
162
+ }, "strict", z.ZodTypeAny, {
163
+ key_id: string;
164
+ }, {
165
+ key_id: string;
166
+ }>;
167
+ readonly delete_listing: z.ZodObject<{
168
+ listing_id: z.ZodString;
169
+ }, "strict", z.ZodTypeAny, {
170
+ listing_id: string;
171
+ }, {
172
+ listing_id: string;
173
+ }>;
174
+ readonly delete_webhook: z.ZodObject<{
175
+ webhook_id: z.ZodString;
176
+ }, "strict", z.ZodTypeAny, {
177
+ webhook_id: string;
178
+ }, {
179
+ webhook_id: string;
180
+ }>;
181
+ readonly deliver_order: z.ZodObject<{
182
+ order_id: z.ZodString;
183
+ deliverables: z.ZodArray<z.ZodObject<{
184
+ type: z.ZodEnum<["file", "url", "text"]>;
185
+ token: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
186
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ type: "url" | "text" | "file";
189
+ value?: string | null | undefined;
190
+ token?: string | null | undefined;
191
+ }, {
192
+ type: "url" | "text" | "file";
193
+ value?: string | null | undefined;
194
+ token?: string | null | undefined;
195
+ }>, "many">;
196
+ }, "strict", z.ZodTypeAny, {
197
+ order_id: string;
198
+ deliverables: {
199
+ type: "url" | "text" | "file";
200
+ value?: string | null | undefined;
201
+ token?: string | null | undefined;
202
+ }[];
203
+ }, {
204
+ order_id: string;
205
+ deliverables: {
206
+ type: "url" | "text" | "file";
207
+ value?: string | null | undefined;
208
+ token?: string | null | undefined;
209
+ }[];
210
+ }>;
211
+ readonly disconnect_stripe: null;
212
+ readonly get_account: null;
213
+ readonly get_customer: z.ZodObject<{
214
+ customer_id: z.ZodString;
215
+ }, "strict", z.ZodTypeAny, {
216
+ customer_id: string;
217
+ }, {
218
+ customer_id: string;
219
+ }>;
220
+ readonly get_listing: z.ZodObject<{
221
+ listing_id: z.ZodString;
222
+ }, "strict", z.ZodTypeAny, {
223
+ listing_id: string;
224
+ }, {
225
+ listing_id: string;
226
+ }>;
227
+ readonly get_order: z.ZodObject<{
228
+ order_id: z.ZodString;
229
+ }, "strict", z.ZodTypeAny, {
230
+ order_id: string;
231
+ }, {
232
+ order_id: string;
233
+ }>;
234
+ readonly list_api_keys: null;
235
+ readonly list_customers: z.ZodObject<{
236
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
237
+ created_after: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
238
+ created_before: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
239
+ cursor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
240
+ limit: z.ZodDefault<z.ZodNumber>;
241
+ }, "strict", z.ZodTypeAny, {
242
+ limit: number;
243
+ email?: string | null | undefined;
244
+ created_after?: string | null | undefined;
245
+ created_before?: string | null | undefined;
246
+ cursor?: string | null | undefined;
247
+ }, {
248
+ email?: string | null | undefined;
249
+ created_after?: string | null | undefined;
250
+ created_before?: string | null | undefined;
251
+ cursor?: string | null | undefined;
252
+ limit?: number | undefined;
253
+ }>;
254
+ readonly list_listings: z.ZodObject<{
255
+ status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["draft", "published"]>, z.ZodNull]>>;
256
+ cursor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
257
+ limit: z.ZodDefault<z.ZodNumber>;
258
+ }, "strict", z.ZodTypeAny, {
259
+ limit: number;
260
+ status?: "draft" | "published" | null | undefined;
261
+ cursor?: string | null | undefined;
262
+ }, {
263
+ status?: "draft" | "published" | null | undefined;
264
+ cursor?: string | null | undefined;
265
+ limit?: number | undefined;
266
+ }>;
267
+ readonly list_orders: z.ZodObject<{
268
+ status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pending", "paid", "fulfilled", "canceled", "failed"]>, z.ZodNull]>>;
269
+ listing: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
270
+ buyer_email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
271
+ created_after: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
272
+ created_before: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
273
+ cursor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
274
+ limit: z.ZodDefault<z.ZodNumber>;
275
+ }, "strict", z.ZodTypeAny, {
276
+ limit: number;
277
+ status?: "pending" | "paid" | "fulfilled" | "canceled" | "failed" | null | undefined;
278
+ created_after?: string | null | undefined;
279
+ created_before?: string | null | undefined;
280
+ cursor?: string | null | undefined;
281
+ listing?: string | null | undefined;
282
+ buyer_email?: string | null | undefined;
283
+ }, {
284
+ status?: "pending" | "paid" | "fulfilled" | "canceled" | "failed" | null | undefined;
285
+ created_after?: string | null | undefined;
286
+ created_before?: string | null | undefined;
287
+ cursor?: string | null | undefined;
288
+ limit?: number | undefined;
289
+ listing?: string | null | undefined;
290
+ buyer_email?: string | null | undefined;
291
+ }>;
292
+ readonly list_webhook_events: z.ZodObject<{
293
+ webhook_id: z.ZodString;
294
+ delivered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
295
+ cursor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
296
+ limit: z.ZodDefault<z.ZodNumber>;
297
+ }, "strict", z.ZodTypeAny, {
298
+ webhook_id: string;
299
+ limit: number;
300
+ cursor?: string | null | undefined;
301
+ delivered?: boolean | null | undefined;
302
+ }, {
303
+ webhook_id: string;
304
+ cursor?: string | null | undefined;
305
+ limit?: number | undefined;
306
+ delivered?: boolean | null | undefined;
307
+ }>;
308
+ readonly list_webhooks: null;
309
+ readonly publish_listing: z.ZodObject<{
310
+ listing_id: z.ZodString;
311
+ }, "strict", z.ZodTypeAny, {
312
+ listing_id: string;
313
+ }, {
314
+ listing_id: string;
315
+ }>;
316
+ readonly refund_order: z.ZodObject<{
317
+ order_id: z.ZodString;
318
+ }, "strict", z.ZodTypeAny, {
319
+ order_id: string;
320
+ }, {
321
+ order_id: string;
322
+ }>;
323
+ readonly remove_deliverables: z.ZodObject<{
324
+ listing_id: z.ZodString;
325
+ }, "strict", z.ZodTypeAny, {
326
+ listing_id: string;
327
+ }, {
328
+ listing_id: string;
329
+ }>;
330
+ readonly retry_webhook_event: z.ZodObject<{
331
+ webhook_id: z.ZodString;
332
+ event_id: z.ZodString;
333
+ }, "strict", z.ZodTypeAny, {
334
+ webhook_id: string;
335
+ event_id: string;
336
+ }, {
337
+ webhook_id: string;
338
+ event_id: string;
339
+ }>;
340
+ readonly set_deliverables: z.ZodObject<{
341
+ listing_id: z.ZodString;
342
+ deliverables: z.ZodArray<z.ZodObject<{
343
+ type: z.ZodEnum<["file", "url", "text"]>;
344
+ token: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
345
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ type: "url" | "text" | "file";
348
+ value?: string | null | undefined;
349
+ token?: string | null | undefined;
350
+ }, {
351
+ type: "url" | "text" | "file";
352
+ value?: string | null | undefined;
353
+ token?: string | null | undefined;
354
+ }>, "many">;
355
+ }, "strict", z.ZodTypeAny, {
356
+ listing_id: string;
357
+ deliverables: {
358
+ type: "url" | "text" | "file";
359
+ value?: string | null | undefined;
360
+ token?: string | null | undefined;
361
+ }[];
362
+ }, {
363
+ listing_id: string;
364
+ deliverables: {
365
+ type: "url" | "text" | "file";
366
+ value?: string | null | undefined;
367
+ token?: string | null | undefined;
368
+ }[];
369
+ }>;
370
+ readonly ship_order: z.ZodObject<{
371
+ order_id: z.ZodString;
372
+ carrier: z.ZodString;
373
+ tracking_code: z.ZodString;
374
+ seller_note: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
375
+ }, "strict", z.ZodTypeAny, {
376
+ order_id: string;
377
+ carrier: string;
378
+ tracking_code: string;
379
+ seller_note?: string | null | undefined;
380
+ }, {
381
+ order_id: string;
382
+ carrier: string;
383
+ tracking_code: string;
384
+ seller_note?: string | null | undefined;
385
+ }>;
386
+ readonly start_stripe_connect: null;
387
+ readonly test_webhook: z.ZodObject<{
388
+ webhook_id: z.ZodString;
389
+ }, "strict", z.ZodTypeAny, {
390
+ webhook_id: string;
391
+ }, {
392
+ webhook_id: string;
393
+ }>;
394
+ readonly update_account: z.ZodObject<{
395
+ display_name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
396
+ bio: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
397
+ avatar: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
398
+ ga_measurement_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
399
+ }, "strict", z.ZodTypeAny, {
400
+ display_name?: string | null | undefined;
401
+ bio?: string | null | undefined;
402
+ avatar?: string | null | undefined;
403
+ ga_measurement_id?: string | null | undefined;
404
+ }, {
405
+ display_name?: string | null | undefined;
406
+ bio?: string | null | undefined;
407
+ avatar?: string | null | undefined;
408
+ ga_measurement_id?: string | null | undefined;
409
+ }>;
410
+ readonly update_listing: z.ZodObject<{
411
+ listing_id: z.ZodString;
412
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
413
+ slug: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
414
+ price: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
415
+ stock: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
416
+ checkout_schema: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
417
+ key: z.ZodString;
418
+ type: z.ZodEnum<["address", "text", "select", "date"]>;
419
+ label: z.ZodString;
420
+ required: z.ZodDefault<z.ZodBoolean>;
421
+ options: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
422
+ }, "strip", z.ZodTypeAny, {
423
+ type: "text" | "date" | "address" | "select";
424
+ key: string;
425
+ label: string;
426
+ required: boolean;
427
+ options?: string[] | null | undefined;
428
+ }, {
429
+ type: "text" | "date" | "address" | "select";
430
+ key: string;
431
+ label: string;
432
+ options?: string[] | null | undefined;
433
+ required?: boolean | undefined;
434
+ }>, "many">, z.ZodNull]>>;
435
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
436
+ tagline: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
437
+ highlights: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
438
+ cta: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
439
+ cover: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
440
+ metadata: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
441
+ utm_source: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
442
+ utm_medium: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
443
+ utm_campaign: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
444
+ compare_at_price: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
445
+ badges: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
446
+ cover_blur: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["true", "false", "auto"]>, z.ZodNull]>>;
447
+ rating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
448
+ rating_count: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
449
+ reviews: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
450
+ name: z.ZodString;
451
+ rating: z.ZodNumber;
452
+ content: z.ZodString;
453
+ }, "strip", z.ZodTypeAny, {
454
+ content: string;
455
+ name: string;
456
+ rating: number;
457
+ }, {
458
+ content: string;
459
+ name: string;
460
+ rating: number;
461
+ }>, "many">, z.ZodNull]>>;
462
+ faqs: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
463
+ q: z.ZodString;
464
+ a: z.ZodString;
465
+ }, "strip", z.ZodTypeAny, {
466
+ q: string;
467
+ a: string;
468
+ }, {
469
+ q: string;
470
+ a: string;
471
+ }>, "many">, z.ZodNull]>>;
472
+ }, "strict", z.ZodTypeAny, {
473
+ listing_id: string;
474
+ description?: string | null | undefined;
475
+ name?: string | null | undefined;
476
+ checkout_schema?: {
477
+ type: "text" | "date" | "address" | "select";
478
+ key: string;
479
+ label: string;
480
+ required: boolean;
481
+ options?: string[] | null | undefined;
482
+ }[] | null | undefined;
483
+ price?: number | null | undefined;
484
+ stock?: number | null | undefined;
485
+ tagline?: string | null | undefined;
486
+ highlights?: string[] | null | undefined;
487
+ cta?: string | null | undefined;
488
+ cover?: string | null | undefined;
489
+ metadata?: Record<string, any> | null | undefined;
490
+ utm_source?: string | null | undefined;
491
+ utm_medium?: string | null | undefined;
492
+ utm_campaign?: string | null | undefined;
493
+ compare_at_price?: number | null | undefined;
494
+ badges?: string[] | null | undefined;
495
+ cover_blur?: "true" | "false" | "auto" | null | undefined;
496
+ rating?: number | null | undefined;
497
+ rating_count?: number | null | undefined;
498
+ reviews?: {
499
+ content: string;
500
+ name: string;
501
+ rating: number;
502
+ }[] | null | undefined;
503
+ faqs?: {
504
+ q: string;
505
+ a: string;
506
+ }[] | null | undefined;
507
+ slug?: string | null | undefined;
508
+ }, {
509
+ listing_id: string;
510
+ description?: string | null | undefined;
511
+ name?: string | null | undefined;
512
+ checkout_schema?: {
513
+ type: "text" | "date" | "address" | "select";
514
+ key: string;
515
+ label: string;
516
+ options?: string[] | null | undefined;
517
+ required?: boolean | undefined;
518
+ }[] | null | undefined;
519
+ price?: number | null | undefined;
520
+ stock?: number | null | undefined;
521
+ tagline?: string | null | undefined;
522
+ highlights?: string[] | null | undefined;
523
+ cta?: string | null | undefined;
524
+ cover?: string | null | undefined;
525
+ metadata?: Record<string, any> | null | undefined;
526
+ utm_source?: string | null | undefined;
527
+ utm_medium?: string | null | undefined;
528
+ utm_campaign?: string | null | undefined;
529
+ compare_at_price?: number | null | undefined;
530
+ badges?: string[] | null | undefined;
531
+ cover_blur?: "true" | "false" | "auto" | null | undefined;
532
+ rating?: number | null | undefined;
533
+ rating_count?: number | null | undefined;
534
+ reviews?: {
535
+ content: string;
536
+ name: string;
537
+ rating: number;
538
+ }[] | null | undefined;
539
+ faqs?: {
540
+ q: string;
541
+ a: string;
542
+ }[] | null | undefined;
543
+ slug?: string | null | undefined;
544
+ }>;
545
+ readonly update_webhook: z.ZodObject<{
546
+ webhook_id: z.ZodString;
547
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
548
+ url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
549
+ events: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["order.paid", "order.fulfilled", "order.shipped", "order.refunded", "order.disputed", "order.dispute_closed", "order.canceled", "listing.created", "listing.updated", "listing.out_of_stock", "listing.deleted", "customer.created"]>, "many">, z.ZodNull]>>;
550
+ enabled: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
551
+ }, "strict", z.ZodTypeAny, {
552
+ webhook_id: string;
553
+ url?: string | null | undefined;
554
+ name?: string | null | undefined;
555
+ events?: ("order.paid" | "order.fulfilled" | "order.shipped" | "order.refunded" | "order.disputed" | "order.dispute_closed" | "order.canceled" | "listing.created" | "listing.updated" | "listing.out_of_stock" | "listing.deleted" | "customer.created")[] | null | undefined;
556
+ enabled?: boolean | null | undefined;
557
+ }, {
558
+ webhook_id: string;
559
+ url?: string | null | undefined;
560
+ name?: string | null | undefined;
561
+ events?: ("order.paid" | "order.fulfilled" | "order.shipped" | "order.refunded" | "order.disputed" | "order.dispute_closed" | "order.canceled" | "listing.created" | "listing.updated" | "listing.out_of_stock" | "listing.deleted" | "customer.created")[] | null | undefined;
562
+ enabled?: boolean | null | undefined;
563
+ }>;
564
+ readonly upload_file: null;
565
+ readonly verify_otp: z.ZodObject<{
566
+ email: z.ZodString;
567
+ code: z.ZodString;
568
+ }, "strict", z.ZodTypeAny, {
569
+ email: string;
570
+ code: string;
571
+ }, {
572
+ email: string;
573
+ code: string;
574
+ }>;
575
+ };
576
+ export type SchemaMap = typeof schemas;
577
+ //# sourceMappingURL=schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/generated/schemas.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCV,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,OAAO,OAAO,CAAC"}
@@ -0,0 +1,44 @@
1
+ // GENERATED FILE — DO NOT EDIT
2
+ // source: openapi.json + mcp-tools.yaml
3
+ // Regenerate with: npm run generate
4
+ // openapi_version: 1.0.0
5
+ // generated_at: 2026-04-05T13:40:19.654Z
6
+ // sha256: c8b0d9640ed32ea12e64304dc6799ff00452ce0d57e332cd3eb4bd37042a3254
7
+ import { z } from "zod";
8
+ // Tool name → Zod schema (null means the tool takes no inputs)
9
+ export const schemas = {
10
+ create_account: z.object({ "email": z.string().email().describe("Account email. OTP will be sent here. Agent tip: use AgentMail or similar for autonomous OTP handling.") }).strict(),
11
+ create_api_key: z.object({ "name": z.string().describe("Human-readable label for this API key.") }).strict(),
12
+ create_listing: z.object({ "checkout_schema": z.union([z.array(z.object({ "key": z.string().max(50).describe("Unique key for this field"), "type": z.enum(["address", "text", "select", "date"]).describe("Types of fields that can be collected at checkout."), "label": z.string().max(100).describe("Label shown to buyer"), "required": z.boolean().describe("Whether this field is required").default(true), "options": z.union([z.array(z.string()).max(50), z.null()]).describe("Options for select fields").optional() }).describe("A field to collect from the buyer at checkout.")), z.null()]).describe("Custom fields to collect from the buyer at checkout (e.g. size, color, shipping address). Email is always collected.").optional(), "name": z.string().describe("Product name shown on the product page"), "price": z.number().int().gt(0).describe("Price in cents (smallest currency unit). Examples: $5 = 500, $29 = 2900, $99.99 = 9999."), "stock": z.union([z.number().int().gte(0), z.null()]).describe("Stock quantity. null = unlimited (default), 0 = out of stock, positive integer = sell N then stop. Auto-decrements on each order.").optional(), "description": z.union([z.string().max(5000), z.null()]).describe("Product description shown on the product page. Improves buyer conversion. Plain text, max 5000 chars.").optional(), "tagline": z.union([z.string().max(140), z.null()]).describe("Short tagline shown below the product name on the product page. Max 140 chars.").optional(), "highlights": z.union([z.array(z.string()), z.null()]).describe("Bullet-point features shown as badges on the product page. Max 10 items. Each should be short (2-4 words).").optional(), "cta": z.union([z.string().max(60), z.null()]).describe("Buy button text on the product page. Defaults to 'Buy Now' if omitted. Max 60 chars.").optional(), "cover": z.union([z.string(), z.null()]).describe("Cover image file token from POST /v1/files. Shown prominently on the product page. Recommended: 1200x630px.").optional(), "metadata": z.union([z.record(z.any()), z.null()]).describe("Arbitrary key-value pairs forwarded in webhook event payloads. Use for your own tracking (campaign IDs, source tags).").optional(), "utm_source": z.union([z.string().max(100), z.null()]).describe("UTM source tag for Google Analytics. Defaults to 'listbee' if omitted").optional(), "utm_medium": z.union([z.string().max(100), z.null()]).describe("UTM medium tag for Google Analytics. Defaults to 'product_page' if omitted").optional(), "utm_campaign": z.union([z.string().max(100), z.null()]).describe("UTM campaign tag for Google Analytics. Defaults to the listing slug if omitted").optional(), "compare_at_price": z.union([z.number().int().gt(0), z.null()]).describe("Strikethrough price in cents (smallest currency unit). Must be greater than price. Examples: $39 = 3900.").optional(), "badges": z.union([z.array(z.string()), z.null()]).describe("Short promotional badges shown on the product page (e.g. 'Best seller', 'Limited time'). Max 10 items.").optional(), "cover_blur": z.enum(["true", "false", "auto"]).optional(), "rating": z.union([z.number(), z.null()]).describe("Seller-provided aggregate star rating (1-5). Shown on the product page. Values outside range clamped.").optional(), "rating_count": z.union([z.number().int().gte(0), z.null()]).describe("Seller-provided review or purchase count shown alongside the rating on the product page.").optional(), "reviews": z.union([z.array(z.object({ "name": z.string().max(100).describe("Reviewer display name"), "rating": z.number().describe("Star rating (1–5). Values outside this range are clamped automatically"), "content": z.string().max(1000).describe("Review body text") })), z.null()]).describe("Featured review cards shown on the product page. Seller-provided, not buyer-submitted. Max 10.").optional(), "faqs": z.union([z.array(z.object({ "q": z.string().max(200).describe("Question text"), "a": z.string().max(1000).describe("Answer text") })), z.null()]).describe("FAQ accordion shown on the product page. Answers common buyer questions. Max 10 items.").optional() }).describe("All optional display fields (name, description, tagline, highlights, cta, badges, cover, reviews, faqs) appear on the product page buyers see.").strict(),
13
+ create_webhook: z.object({ "name": z.string().describe("A name to help you identify this endpoint in the dashboard"), "url": z.string().url().min(1).max(2083).describe("The HTTPS URL that will receive POST requests for each event"), "events": z.array(z.enum(["order.paid", "order.fulfilled", "order.shipped", "order.refunded", "order.disputed", "order.dispute_closed", "order.canceled", "listing.created", "listing.updated", "listing.out_of_stock", "listing.deleted", "customer.created"])).describe("Event types to subscribe to. Empty = all events. Available: order.paid, order.fulfilled, order.shipped, order.refunded, order.disputed, order.dispute_closed, order.canceled, listing.created, listing.updated, listing.out_of_stock, listing.deleted.").optional() }).strict(),
14
+ delete_account: null,
15
+ delete_api_key: z.object({ "key_id": z.string().describe("API key ID.") }).strict(),
16
+ delete_listing: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed).") }).strict(),
17
+ delete_webhook: z.object({ "webhook_id": z.string().describe("Webhook endpoint ID.") }).strict(),
18
+ deliver_order: z.object({ "order_id": z.string().describe("Order ID."), "deliverables": z.array(z.object({ "type": z.enum(["file", "url", "text"]), "token": z.union([z.string(), z.null()]).describe("File token from POST /v1/files. Required when type is `file`.").optional(), "value": z.union([z.string(), z.null()]).describe("URL (https required) or text content. Required when type is `url` or `text`.").optional() }).describe("Typed deliverable input. Shared by PUT /deliverables and POST /deliver.")).describe("Array of deliverables to attach. Max 3. Mixed types allowed.") }).strict(),
19
+ disconnect_stripe: null,
20
+ get_account: null,
21
+ get_customer: z.object({ "customer_id": z.string().describe("Customer ID.") }).strict(),
22
+ get_listing: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed).") }).strict(),
23
+ get_order: z.object({ "order_id": z.string().describe("Order ID.") }).strict(),
24
+ list_api_keys: null,
25
+ list_customers: z.object({ "email": z.union([z.string(), z.null()]).describe("Filter by exact buyer email address.").optional(), "created_after": z.union([z.string().datetime({ offset: true }), z.null()]).describe("Only customers created after this ISO 8601 datetime.").optional(), "created_before": z.union([z.string().datetime({ offset: true }), z.null()]).describe("Only customers created before this ISO 8601 datetime.").optional(), "cursor": z.union([z.string(), z.null()]).describe("Pagination cursor from a previous response.").optional(), "limit": z.number().int().gte(1).lte(100).describe("Maximum number of customers to return.").default(20) }).strict(),
26
+ list_listings: z.object({ "status": z.union([z.enum(["draft", "published"]), z.null()]).describe("Filter by listing status.").optional(), "cursor": z.union([z.string(), z.null()]).describe("Pagination cursor from a previous response.").optional(), "limit": z.number().int().gte(1).lte(100).describe("Maximum number of listings to return.").default(20) }).strict(),
27
+ list_orders: z.object({ "status": z.union([z.enum(["pending", "paid", "fulfilled", "canceled", "failed"]), z.null()]).describe("Filter orders by status.").optional(), "listing": z.union([z.string(), z.null()]).describe("Filter by listing ID (lst_ prefixed).").optional(), "buyer_email": z.union([z.string(), z.null()]).describe("Filter by exact buyer email address.").optional(), "created_after": z.union([z.string().datetime({ offset: true }), z.null()]).describe("Only orders created after this ISO 8601 datetime.").optional(), "created_before": z.union([z.string().datetime({ offset: true }), z.null()]).describe("Only orders created before this ISO 8601 datetime.").optional(), "cursor": z.union([z.string(), z.null()]).describe("Pagination cursor from a previous response.").optional(), "limit": z.number().int().gte(1).lte(100).describe("Maximum number of orders to return.").default(20) }).strict(),
28
+ list_webhook_events: z.object({ "webhook_id": z.string().describe("Webhook endpoint ID."), "delivered": z.union([z.boolean(), z.null()]).describe("Filter by delivery status. `true` for delivered, `false` for pending/failed.").optional(), "cursor": z.union([z.string(), z.null()]).describe("Pagination cursor from a previous response.").optional(), "limit": z.number().int().gte(1).lte(100).describe("Maximum number of events to return.").default(20) }).strict(),
29
+ list_webhooks: null,
30
+ publish_listing: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed).") }).strict(),
31
+ refund_order: z.object({ "order_id": z.string().describe("Order ID.") }).strict(),
32
+ remove_deliverables: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed).") }).strict(),
33
+ retry_webhook_event: z.object({ "webhook_id": z.string().describe("Webhook endpoint ID."), "event_id": z.string().describe("Webhook event ID.") }).strict(),
34
+ set_deliverables: z.object({ "listing_id": z.string().describe("Listing ID."), "deliverables": z.array(z.object({ "type": z.enum(["file", "url", "text"]), "token": z.union([z.string(), z.null()]).describe("File token from POST /v1/files. Required when type is `file`.").optional(), "value": z.union([z.string(), z.null()]).describe("URL (https required) or text content. Required when type is `url` or `text`.").optional() }).describe("Typed deliverable input. Shared by PUT /deliverables and POST /deliver.")).describe("Array of deliverables. Max 3. Mixed types allowed.") }).strict(),
35
+ ship_order: z.object({ "order_id": z.string().describe("Order ID."), "carrier": z.string().max(50).describe("Shipping carrier name"), "tracking_code": z.string().max(100).describe("Tracking number"), "seller_note": z.union([z.string().max(500), z.null()]).describe("Note to include with tracking notification").optional() }).strict(),
36
+ start_stripe_connect: null,
37
+ test_webhook: z.object({ "webhook_id": z.string().describe("Webhook endpoint ID.") }).strict(),
38
+ update_account: z.object({ "display_name": z.union([z.string().max(100), z.null()]).describe("Seller name shown on product pages. Improves buyer trust and conversion. If not set, buyers see a generic seller label.").optional(), "bio": z.union([z.string().max(500), z.null()]).describe("Short seller bio shown on product pages. Plain text. Helps buyers understand who they're buying from.").optional(), "avatar": z.union([z.string(), z.null()]).describe("Avatar image file token from POST /v1/files. Replaces any existing avatar. Shown on product pages next to seller name.").optional(), "ga_measurement_id": z.union([z.string(), z.null()]).describe("Google Analytics 4 Measurement ID (G-XXXXXXXXXX). Set to null to remove").optional() }).describe("Partial update for account settings.").strict(),
39
+ update_listing: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed)."), "name": z.union([z.string(), z.null()]).describe("Product name").optional(), "slug": z.union([z.string().max(80), z.null()]).describe("URL slug for the product page (e.g. 'seo-playbook'). Only changeable in draft. Auto-slugified. On conflict, random suffix appended.").optional(), "price": z.union([z.number().int().gt(0), z.null()]).describe("Price in cents (smallest currency unit). Examples: $5 = 500, $29 = 2900, $99.99 = 9999.").optional(), "stock": z.union([z.number().int().gte(0), z.null()]).describe("Stock quantity. null = unlimited, 0 = out of stock, positive integer = sell N then stop.").optional(), "checkout_schema": z.union([z.array(z.object({ "key": z.string().max(50).describe("Unique key for this field"), "type": z.enum(["address", "text", "select", "date"]).describe("Types of fields that can be collected at checkout."), "label": z.string().max(100).describe("Label shown to buyer"), "required": z.boolean().describe("Whether this field is required").default(true), "options": z.union([z.array(z.string()).max(50), z.null()]).describe("Options for select fields").optional() }).describe("A field to collect from the buyer at checkout.")), z.null()]).describe("Custom fields to collect from the buyer at checkout. Replaces existing schema.").optional(), "description": z.union([z.string().max(5000), z.null()]).describe("Product description shown on the product page. Improves buyer conversion. Plain text, max 5000 chars.").optional(), "tagline": z.union([z.string().max(140), z.null()]).describe("Short tagline shown below the product name on the product page. Max 140 chars.").optional(), "highlights": z.union([z.array(z.string()), z.null()]).describe("Bullet-point features shown as badges on the product page. Max 10 items. Each should be short (2-4 words).").optional(), "cta": z.union([z.string().max(60), z.null()]).describe("Buy button text on the product page. Defaults to 'Buy Now' if omitted. Max 60 chars.").optional(), "cover": z.union([z.string(), z.null()]).describe("Cover image file token from POST /v1/files. Shown prominently on the product page. Recommended: 1200x630px.").optional(), "metadata": z.union([z.record(z.any()), z.null()]).describe("Arbitrary key-value pairs forwarded in webhook event payloads. Use for your own tracking (campaign IDs, source tags).").optional(), "utm_source": z.union([z.string().max(100), z.null()]).describe("UTM source tag for Google Analytics").optional(), "utm_medium": z.union([z.string().max(100), z.null()]).describe("UTM medium tag for Google Analytics").optional(), "utm_campaign": z.union([z.string().max(100), z.null()]).describe("UTM campaign tag for Google Analytics").optional(), "compare_at_price": z.union([z.number().int().gt(0), z.null()]).describe("Strikethrough price in cents (smallest currency unit). Must be greater than price. Examples: $39 = 3900.").optional(), "badges": z.union([z.array(z.string()), z.null()]).describe("Short promotional badges shown on the product page (e.g. 'Best seller', 'Limited time'). Max 10 items.").optional(), "cover_blur": z.union([z.enum(["true", "false", "auto"]), z.null()]).describe("Cover image blur mode. 'true' always blurs, 'false' never blurs, 'auto' blurs when deliverable is an image file.").optional(), "rating": z.union([z.number(), z.null()]).describe("Seller-provided aggregate star rating (1-5). Shown on the product page. Values outside range clamped.").optional(), "rating_count": z.union([z.number().int().gte(0), z.null()]).describe("Seller-provided review or purchase count shown alongside the rating on the product page.").optional(), "reviews": z.union([z.array(z.object({ "name": z.string().max(100).describe("Reviewer display name"), "rating": z.number().describe("Star rating (1–5). Values outside this range are clamped automatically"), "content": z.string().max(1000).describe("Review body text") })), z.null()]).describe("Featured review cards shown on the product page. Seller-provided, not buyer-submitted. Max 10.").optional(), "faqs": z.union([z.array(z.object({ "q": z.string().max(200).describe("Question text"), "a": z.string().max(1000).describe("Answer text") })), z.null()]).describe("FAQ accordion shown on the product page. Answers common buyer questions. Max 10 items.").optional() }).strict(),
40
+ update_webhook: z.object({ "webhook_id": z.string().describe("Webhook endpoint ID."), "name": z.union([z.string(), z.null()]).describe("Display name").optional(), "url": z.union([z.string().url().min(1).max(2083), z.null()]).describe("HTTPS endpoint URL").optional(), "events": z.union([z.array(z.enum(["order.paid", "order.fulfilled", "order.shipped", "order.refunded", "order.disputed", "order.dispute_closed", "order.canceled", "listing.created", "listing.updated", "listing.out_of_stock", "listing.deleted", "customer.created"])), z.null()]).describe("Replaces the current event subscriptions. Empty list subscribes to all events").optional(), "enabled": z.union([z.boolean(), z.null()]).describe("Set to `false` to pause delivery without deleting the endpoint").optional() }).strict(),
41
+ upload_file: null,
42
+ verify_otp: z.object({ "email": z.string().email().describe("Email used in account creation."), "code": z.string().describe("6-digit OTP code from email.") }).strict(),
43
+ };
44
+ //# sourceMappingURL=schemas.js.map