listbee-mcp 0.2.0 → 0.4.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 +76 -12
- package/dist/generated/meta.d.ts.map +1 -1
- package/dist/generated/meta.js +119 -5
- package/dist/generated/meta.js.map +1 -1
- package/dist/generated/schemas.d.ts +209 -13
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +24 -5
- package/dist/generated/schemas.js.map +1 -1
- package/dist/handlers/stripe-connect.d.ts +9 -0
- package/dist/handlers/stripe-connect.d.ts.map +1 -0
- package/dist/{tools/stripe.js → handlers/stripe-connect.js} +8 -4
- package/dist/handlers/stripe-connect.js.map +1 -0
- package/dist/handlers/upload-file.d.ts +7 -0
- package/dist/handlers/upload-file.d.ts.map +1 -0
- package/dist/handlers/upload-file.js +38 -0
- package/dist/handlers/upload-file.js.map +1 -0
- package/dist/handlers.d.ts +4 -0
- package/dist/handlers.d.ts.map +1 -0
- package/dist/handlers.js +41 -0
- package/dist/handlers.js.map +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +31 -33
- package/dist/server.js.map +1 -1
- package/dist/transports/http.d.ts.map +1 -1
- package/dist/transports/http.js +25 -1
- package/dist/transports/http.js.map +1 -1
- package/dist/types.d.ts +1 -8
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +18 -18
- package/dist/types.js.map +1 -1
- package/dist/{tools/shared.d.ts → utils.d.ts} +2 -2
- package/dist/utils.d.ts.map +1 -0
- package/dist/{tools/shared.js → utils.js} +1 -1
- package/dist/utils.js.map +1 -0
- package/mcp-tools.yaml +255 -1
- package/package.json +7 -1
- package/dist/client.d.ts +0 -18
- package/dist/client.d.ts.map +0 -1
- package/dist/client.js +0 -61
- package/dist/client.js.map +0 -1
- package/dist/tools/files.d.ts +0 -7
- package/dist/tools/files.d.ts.map +0 -1
- package/dist/tools/files.js +0 -34
- package/dist/tools/files.js.map +0 -1
- package/dist/tools/listings.d.ts +0 -44
- package/dist/tools/listings.d.ts.map +0 -1
- package/dist/tools/listings.js +0 -83
- package/dist/tools/listings.js.map +0 -1
- package/dist/tools/orders.d.ts +0 -16
- package/dist/tools/orders.d.ts.map +0 -1
- package/dist/tools/orders.js +0 -41
- package/dist/tools/orders.js.map +0 -1
- package/dist/tools/shared.d.ts.map +0 -1
- package/dist/tools/shared.js.map +0 -1
- package/dist/tools/stripe.d.ts +0 -4
- package/dist/tools/stripe.d.ts.map +0 -1
- package/dist/tools/stripe.js.map +0 -1
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
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
|
+
}>;
|
|
3
17
|
readonly create_listing: z.ZodObject<{
|
|
4
18
|
checkout_schema: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
5
19
|
key: z.ZodString;
|
|
@@ -22,11 +36,12 @@ export declare const schemas: {
|
|
|
22
36
|
}>, "many">, z.ZodNull]>>;
|
|
23
37
|
name: z.ZodString;
|
|
24
38
|
price: z.ZodNumber;
|
|
39
|
+
stock: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
25
40
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
26
41
|
tagline: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
27
42
|
highlights: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
28
43
|
cta: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
29
|
-
|
|
44
|
+
cover: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
30
45
|
metadata: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
|
|
31
46
|
utm_source: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
32
47
|
utm_medium: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -70,10 +85,11 @@ export declare const schemas: {
|
|
|
70
85
|
required: boolean;
|
|
71
86
|
options?: string[] | null | undefined;
|
|
72
87
|
}[] | null | undefined;
|
|
88
|
+
stock?: number | null | undefined;
|
|
73
89
|
tagline?: string | null | undefined;
|
|
74
90
|
highlights?: string[] | null | undefined;
|
|
75
91
|
cta?: string | null | undefined;
|
|
76
|
-
|
|
92
|
+
cover?: string | null | undefined;
|
|
77
93
|
metadata?: Record<string, any> | null | undefined;
|
|
78
94
|
utm_source?: string | null | undefined;
|
|
79
95
|
utm_medium?: string | null | undefined;
|
|
@@ -103,10 +119,11 @@ export declare const schemas: {
|
|
|
103
119
|
options?: string[] | null | undefined;
|
|
104
120
|
required?: boolean | undefined;
|
|
105
121
|
}[] | null | undefined;
|
|
122
|
+
stock?: number | null | undefined;
|
|
106
123
|
tagline?: string | null | undefined;
|
|
107
124
|
highlights?: string[] | null | undefined;
|
|
108
125
|
cta?: string | null | undefined;
|
|
109
|
-
|
|
126
|
+
cover?: string | null | undefined;
|
|
110
127
|
metadata?: Record<string, any> | null | undefined;
|
|
111
128
|
utm_source?: string | null | undefined;
|
|
112
129
|
utm_medium?: string | null | undefined;
|
|
@@ -126,6 +143,27 @@ export declare const schemas: {
|
|
|
126
143
|
a: string;
|
|
127
144
|
}[] | null | undefined;
|
|
128
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
|
+
}>;
|
|
129
167
|
readonly delete_listing: z.ZodObject<{
|
|
130
168
|
listing_id: z.ZodString;
|
|
131
169
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -133,6 +171,13 @@ export declare const schemas: {
|
|
|
133
171
|
}, {
|
|
134
172
|
listing_id: string;
|
|
135
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
|
+
}>;
|
|
136
181
|
readonly deliver_order: z.ZodObject<{
|
|
137
182
|
order_id: z.ZodString;
|
|
138
183
|
deliverables: z.ZodArray<z.ZodObject<{
|
|
@@ -163,6 +208,15 @@ export declare const schemas: {
|
|
|
163
208
|
token?: string | null | undefined;
|
|
164
209
|
}[];
|
|
165
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
|
+
}>;
|
|
166
220
|
readonly get_listing: z.ZodObject<{
|
|
167
221
|
listing_id: z.ZodString;
|
|
168
222
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -177,16 +231,36 @@ export declare const schemas: {
|
|
|
177
231
|
}, {
|
|
178
232
|
order_id: string;
|
|
179
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
|
+
}>;
|
|
180
254
|
readonly list_listings: z.ZodObject<{
|
|
181
|
-
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["draft", "published"
|
|
255
|
+
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["draft", "published"]>, z.ZodNull]>>;
|
|
182
256
|
cursor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
183
257
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
184
258
|
}, "strict", z.ZodTypeAny, {
|
|
185
259
|
limit: number;
|
|
186
|
-
status?: "draft" | "published" |
|
|
260
|
+
status?: "draft" | "published" | null | undefined;
|
|
187
261
|
cursor?: string | null | undefined;
|
|
188
262
|
}, {
|
|
189
|
-
status?: "draft" | "published" |
|
|
263
|
+
status?: "draft" | "published" | null | undefined;
|
|
190
264
|
cursor?: string | null | undefined;
|
|
191
265
|
limit?: number | undefined;
|
|
192
266
|
}>;
|
|
@@ -201,20 +275,37 @@ export declare const schemas: {
|
|
|
201
275
|
}, "strict", z.ZodTypeAny, {
|
|
202
276
|
limit: number;
|
|
203
277
|
status?: "pending" | "paid" | "fulfilled" | "canceled" | "failed" | null | undefined;
|
|
278
|
+
created_after?: string | null | undefined;
|
|
279
|
+
created_before?: string | null | undefined;
|
|
204
280
|
cursor?: string | null | undefined;
|
|
205
281
|
listing?: string | null | undefined;
|
|
206
282
|
buyer_email?: string | null | undefined;
|
|
207
|
-
created_after?: string | null | undefined;
|
|
208
|
-
created_before?: string | null | undefined;
|
|
209
283
|
}, {
|
|
210
284
|
status?: "pending" | "paid" | "fulfilled" | "canceled" | "failed" | null | undefined;
|
|
285
|
+
created_after?: string | null | undefined;
|
|
286
|
+
created_before?: string | null | undefined;
|
|
211
287
|
cursor?: string | null | undefined;
|
|
212
288
|
limit?: number | undefined;
|
|
213
289
|
listing?: string | null | undefined;
|
|
214
290
|
buyer_email?: string | null | undefined;
|
|
215
|
-
created_after?: string | null | undefined;
|
|
216
|
-
created_before?: string | null | undefined;
|
|
217
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;
|
|
218
309
|
readonly publish_listing: z.ZodObject<{
|
|
219
310
|
listing_id: z.ZodString;
|
|
220
311
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -222,6 +313,13 @@ export declare const schemas: {
|
|
|
222
313
|
}, {
|
|
223
314
|
listing_id: string;
|
|
224
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
|
+
}>;
|
|
225
323
|
readonly remove_deliverables: z.ZodObject<{
|
|
226
324
|
listing_id: z.ZodString;
|
|
227
325
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -229,6 +327,16 @@ export declare const schemas: {
|
|
|
229
327
|
}, {
|
|
230
328
|
listing_id: string;
|
|
231
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
|
+
}>;
|
|
232
340
|
readonly set_deliverables: z.ZodObject<{
|
|
233
341
|
listing_id: z.ZodString;
|
|
234
342
|
deliverables: z.ZodArray<z.ZodObject<{
|
|
@@ -276,16 +384,59 @@ export declare const schemas: {
|
|
|
276
384
|
seller_note?: string | null | undefined;
|
|
277
385
|
}>;
|
|
278
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
|
+
}>;
|
|
279
410
|
readonly update_listing: z.ZodObject<{
|
|
280
411
|
listing_id: z.ZodString;
|
|
281
412
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
282
413
|
slug: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
283
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]>>;
|
|
284
435
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
285
436
|
tagline: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
286
437
|
highlights: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
287
438
|
cta: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
288
|
-
|
|
439
|
+
cover: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
289
440
|
metadata: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
|
|
290
441
|
utm_source: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
291
442
|
utm_medium: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -322,11 +473,19 @@ export declare const schemas: {
|
|
|
322
473
|
listing_id: string;
|
|
323
474
|
description?: string | null | undefined;
|
|
324
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;
|
|
325
483
|
price?: number | null | undefined;
|
|
484
|
+
stock?: number | null | undefined;
|
|
326
485
|
tagline?: string | null | undefined;
|
|
327
486
|
highlights?: string[] | null | undefined;
|
|
328
487
|
cta?: string | null | undefined;
|
|
329
|
-
|
|
488
|
+
cover?: string | null | undefined;
|
|
330
489
|
metadata?: Record<string, any> | null | undefined;
|
|
331
490
|
utm_source?: string | null | undefined;
|
|
332
491
|
utm_medium?: string | null | undefined;
|
|
@@ -350,11 +509,19 @@ export declare const schemas: {
|
|
|
350
509
|
listing_id: string;
|
|
351
510
|
description?: string | null | undefined;
|
|
352
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;
|
|
353
519
|
price?: number | null | undefined;
|
|
520
|
+
stock?: number | null | undefined;
|
|
354
521
|
tagline?: string | null | undefined;
|
|
355
522
|
highlights?: string[] | null | undefined;
|
|
356
523
|
cta?: string | null | undefined;
|
|
357
|
-
|
|
524
|
+
cover?: string | null | undefined;
|
|
358
525
|
metadata?: Record<string, any> | null | undefined;
|
|
359
526
|
utm_source?: string | null | undefined;
|
|
360
527
|
utm_medium?: string | null | undefined;
|
|
@@ -375,7 +542,36 @@ export declare const schemas: {
|
|
|
375
542
|
}[] | null | undefined;
|
|
376
543
|
slug?: string | null | undefined;
|
|
377
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
|
+
}>;
|
|
378
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
|
+
}>;
|
|
379
575
|
};
|
|
380
576
|
export type SchemaMap = typeof schemas;
|
|
381
577
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +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
|
|
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"}
|
|
@@ -2,24 +2,43 @@
|
|
|
2
2
|
// source: openapi.json + mcp-tools.yaml
|
|
3
3
|
// Regenerate with: npm run generate
|
|
4
4
|
// openapi_version: 1.0.0
|
|
5
|
-
// generated_at: 2026-04-
|
|
6
|
-
// sha256:
|
|
5
|
+
// generated_at: 2026-04-06T07:16:33.004Z
|
|
6
|
+
// sha256: c8b0d9640ed32ea12e64304dc6799ff00452ce0d57e332cd3eb4bd37042a3254
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
// Tool name → Zod schema (null means the tool takes no inputs)
|
|
9
9
|
export const schemas = {
|
|
10
|
-
|
|
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(),
|
|
11
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(),
|
|
12
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(),
|
|
13
22
|
get_listing: z.object({ "listing_id": z.string().describe("Listing ID (lst_ prefixed).") }).strict(),
|
|
14
23
|
get_order: z.object({ "order_id": z.string().describe("Order ID.") }).strict(),
|
|
15
|
-
|
|
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(),
|
|
16
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,
|
|
17
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(),
|
|
18
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(),
|
|
19
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(),
|
|
20
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(),
|
|
21
36
|
start_stripe_connect: null,
|
|
22
|
-
|
|
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(),
|
|
23
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(),
|
|
24
43
|
};
|
|
25
44
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/generated/schemas.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,wCAAwC;AACxC,oCAAoC;AACpC,yBAAyB;AACzB,yCAAyC;AACzC,2EAA2E;AAE3E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,+DAA+D;AAC/D,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,2BAA2B,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAC,MAAM,EAAC,QAAQ,EAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,oDAAoD,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC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AAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,+EAA+E,CAAC,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,gEAAgE,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1wB,WAAW,EAAE,IAAI;IACjB,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;CAC/J,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
|
|
2
|
+
import type { ListBee } from "listbee";
|
|
3
|
+
/**
|
|
4
|
+
* Start Stripe Connect onboarding.
|
|
5
|
+
* Returns a custom CallToolResult with the URL and human instruction text.
|
|
6
|
+
* This handler catches its own errors and returns CallToolResult directly.
|
|
7
|
+
*/
|
|
8
|
+
export declare function handleStripeConnect(client: ListBee): Promise<CallToolResult>;
|
|
9
|
+
//# sourceMappingURL=stripe-connect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stripe-connect.d.ts","sourceRoot":"","sources":["../../src/handlers/stripe-connect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGvC;;;;GAIG;AACH,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,cAAc,CAAC,CAiBzB"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { errorResult } from "../types.js";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Start Stripe Connect onboarding.
|
|
4
|
+
* Returns a custom CallToolResult with the URL and human instruction text.
|
|
5
|
+
* This handler catches its own errors and returns CallToolResult directly.
|
|
6
|
+
*/
|
|
7
|
+
export async function handleStripeConnect(client) {
|
|
4
8
|
try {
|
|
5
|
-
const data = await client.
|
|
9
|
+
const data = await client.stripe.connect();
|
|
6
10
|
const url = data.url;
|
|
7
11
|
return {
|
|
8
12
|
content: [
|
|
@@ -18,4 +22,4 @@ export async function handleStartStripeConnect(client) {
|
|
|
18
22
|
return errorResult(err);
|
|
19
23
|
}
|
|
20
24
|
}
|
|
21
|
-
//# sourceMappingURL=stripe.js.map
|
|
25
|
+
//# sourceMappingURL=stripe-connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stripe-connect.js","sourceRoot":"","sources":["../../src/handlers/stripe-connect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,MAAe;IAEf,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QAC3C,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC;QAErB,OAAO;YACL,OAAO,EAAE;gBACP,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE;gBACrD;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,4HAA4H,GAAG,EAAE;iBACxI;aACF;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,WAAW,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ListBee } from "listbee";
|
|
2
|
+
/**
|
|
3
|
+
* Upload a file from a URL.
|
|
4
|
+
* Fetches the URL, converts to Buffer, uploads via SDK.
|
|
5
|
+
*/
|
|
6
|
+
export declare function handleUploadFile(client: ListBee, args: Record<string, unknown>): Promise<unknown>;
|
|
7
|
+
//# sourceMappingURL=upload-file.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload-file.d.ts","sourceRoot":"","sources":["../../src/handlers/upload-file.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAmBvC;;;GAGG;AACH,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,OAAO,EACf,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC5B,OAAO,CAAC,OAAO,CAAC,CAqBlB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extract a reasonable filename from a URL path.
|
|
3
|
+
*/
|
|
4
|
+
function deriveFilename(url) {
|
|
5
|
+
try {
|
|
6
|
+
const pathname = new URL(url).pathname;
|
|
7
|
+
const segments = pathname.split("/").filter(Boolean);
|
|
8
|
+
const last = segments[segments.length - 1];
|
|
9
|
+
if (last && last.includes(".")) {
|
|
10
|
+
return decodeURIComponent(last);
|
|
11
|
+
}
|
|
12
|
+
return undefined;
|
|
13
|
+
}
|
|
14
|
+
catch {
|
|
15
|
+
return undefined;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Upload a file from a URL.
|
|
20
|
+
* Fetches the URL, converts to Buffer, uploads via SDK.
|
|
21
|
+
*/
|
|
22
|
+
export async function handleUploadFile(client, args) {
|
|
23
|
+
const url = args.url;
|
|
24
|
+
const providedFilename = args.filename;
|
|
25
|
+
// Fetch the file from the provided URL
|
|
26
|
+
const res = await fetch(url);
|
|
27
|
+
if (!res.ok) {
|
|
28
|
+
throw new Error(`Failed to fetch file from ${url}: ${res.status} ${res.statusText}`);
|
|
29
|
+
}
|
|
30
|
+
const arrayBuffer = await res.arrayBuffer();
|
|
31
|
+
const buffer = Buffer.from(arrayBuffer);
|
|
32
|
+
// Derive filename from URL if not provided
|
|
33
|
+
const filename = providedFilename ?? deriveFilename(url) ?? "uploaded-file";
|
|
34
|
+
// Use File to preserve filename in multipart upload
|
|
35
|
+
const file = new File([buffer], filename);
|
|
36
|
+
return client.files.upload(file);
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=upload-file.js.map
|