@wplaunchify/ml-mcp-server 1.0.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 (49) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +220 -0
  3. package/build/cli.d.ts +2 -0
  4. package/build/cli.js +52 -0
  5. package/build/server.d.ts +2 -0
  6. package/build/server.js +97 -0
  7. package/build/tools/comments.d.ts +212 -0
  8. package/build/tools/comments.js +181 -0
  9. package/build/tools/fluent-affiliate.d.ts +2 -0
  10. package/build/tools/fluent-affiliate.js +3 -0
  11. package/build/tools/fluent-cart.d.ts +706 -0
  12. package/build/tools/fluent-cart.js +642 -0
  13. package/build/tools/fluent-community-BACKUP.d.ts +364 -0
  14. package/build/tools/fluent-community-BACKUP.js +883 -0
  15. package/build/tools/fluent-community-MINIMAL.d.ts +69 -0
  16. package/build/tools/fluent-community-MINIMAL.js +92 -0
  17. package/build/tools/fluent-community-design.d.ts +3 -0
  18. package/build/tools/fluent-community-design.js +150 -0
  19. package/build/tools/fluent-community-layout.d.ts +119 -0
  20. package/build/tools/fluent-community-layout.js +88 -0
  21. package/build/tools/fluent-community.d.ts +364 -0
  22. package/build/tools/fluent-community.js +528 -0
  23. package/build/tools/fluent-crm.d.ts +3 -0
  24. package/build/tools/fluent-crm.js +392 -0
  25. package/build/tools/index.d.ts +2205 -0
  26. package/build/tools/index.js +54 -0
  27. package/build/tools/media.d.ts +135 -0
  28. package/build/tools/media.js +168 -0
  29. package/build/tools/ml-canvas.d.ts +91 -0
  30. package/build/tools/ml-canvas.js +109 -0
  31. package/build/tools/ml-image-editor.d.ts +230 -0
  32. package/build/tools/ml-image-editor.js +270 -0
  33. package/build/tools/ml-media-hub.d.ts +575 -0
  34. package/build/tools/ml-media-hub.js +714 -0
  35. package/build/tools/plugin-repository.d.ts +62 -0
  36. package/build/tools/plugin-repository.js +149 -0
  37. package/build/tools/plugins.d.ts +129 -0
  38. package/build/tools/plugins.js +148 -0
  39. package/build/tools/unified-content.d.ts +313 -0
  40. package/build/tools/unified-content.js +615 -0
  41. package/build/tools/unified-taxonomies.d.ts +229 -0
  42. package/build/tools/unified-taxonomies.js +479 -0
  43. package/build/tools/users.d.ts +227 -0
  44. package/build/tools/users.js +182 -0
  45. package/build/types/wordpress-types.d.ts +151 -0
  46. package/build/types/wordpress-types.js +2 -0
  47. package/build/wordpress.d.ts +26 -0
  48. package/build/wordpress.js +223 -0
  49. package/package.json +67 -0
@@ -0,0 +1,706 @@
1
+ import { z } from 'zod';
2
+ export declare const fluentCartTools: ({
3
+ name: string;
4
+ description: string;
5
+ inputSchema: {
6
+ type: "object";
7
+ properties: {
8
+ product_id: z.ZodNumber;
9
+ };
10
+ };
11
+ } | {
12
+ name: string;
13
+ description: string;
14
+ inputSchema: {
15
+ type: "object";
16
+ properties: {
17
+ name: z.ZodString;
18
+ description: z.ZodOptional<z.ZodString>;
19
+ price: z.ZodNumber;
20
+ sale_price: z.ZodOptional<z.ZodNumber>;
21
+ sku: z.ZodOptional<z.ZodString>;
22
+ stock_quantity: z.ZodOptional<z.ZodNumber>;
23
+ categories: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
24
+ images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25
+ status: z.ZodOptional<z.ZodEnum<["publish", "draft"]>>;
26
+ };
27
+ };
28
+ } | {
29
+ name: string;
30
+ description: string;
31
+ inputSchema: {
32
+ type: "object";
33
+ properties: {
34
+ variant_id: z.ZodNumber;
35
+ };
36
+ };
37
+ } | {
38
+ name: string;
39
+ description: string;
40
+ inputSchema: {
41
+ type: "object";
42
+ properties: {
43
+ page: z.ZodOptional<z.ZodNumber>;
44
+ per_page: z.ZodOptional<z.ZodNumber>;
45
+ status: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "cancelled", "refunded"]>>;
46
+ customer_id: z.ZodOptional<z.ZodNumber>;
47
+ date_from: z.ZodOptional<z.ZodString>;
48
+ date_to: z.ZodOptional<z.ZodString>;
49
+ };
50
+ };
51
+ } | {
52
+ name: string;
53
+ description: string;
54
+ inputSchema: {
55
+ type: "object";
56
+ properties: {
57
+ order_id: z.ZodNumber;
58
+ };
59
+ };
60
+ } | {
61
+ name: string;
62
+ description: string;
63
+ inputSchema: {
64
+ type: "object";
65
+ properties: {
66
+ order_ids: z.ZodArray<z.ZodNumber, "many">;
67
+ status: z.ZodEnum<["pending", "processing", "completed", "cancelled", "refunded"]>;
68
+ };
69
+ };
70
+ } | {
71
+ name: string;
72
+ description: string;
73
+ inputSchema: {
74
+ type: "object";
75
+ properties: {
76
+ page: z.ZodOptional<z.ZodNumber>;
77
+ per_page: z.ZodOptional<z.ZodNumber>;
78
+ search: z.ZodOptional<z.ZodString>;
79
+ };
80
+ };
81
+ } | {
82
+ name: string;
83
+ description: string;
84
+ inputSchema: {
85
+ type: "object";
86
+ properties: {
87
+ customer_id: z.ZodNumber;
88
+ };
89
+ };
90
+ } | {
91
+ name: string;
92
+ description: string;
93
+ inputSchema: {
94
+ type: "object";
95
+ properties: {
96
+ email: z.ZodString;
97
+ first_name: z.ZodOptional<z.ZodString>;
98
+ last_name: z.ZodOptional<z.ZodString>;
99
+ };
100
+ };
101
+ } | {
102
+ name: string;
103
+ description: string;
104
+ inputSchema: {
105
+ type: "object";
106
+ properties: {
107
+ page: z.ZodOptional<z.ZodNumber>;
108
+ per_page: z.ZodOptional<z.ZodNumber>;
109
+ status: z.ZodOptional<z.ZodEnum<["active", "expired", "disabled"]>>;
110
+ };
111
+ };
112
+ } | {
113
+ name: string;
114
+ description: string;
115
+ inputSchema: {
116
+ type: "object";
117
+ properties: {
118
+ code: z.ZodString;
119
+ discount_type: z.ZodEnum<["percentage", "fixed"]>;
120
+ amount: z.ZodNumber;
121
+ expiry_date: z.ZodOptional<z.ZodString>;
122
+ usage_limit: z.ZodOptional<z.ZodNumber>;
123
+ minimum_amount: z.ZodOptional<z.ZodNumber>;
124
+ };
125
+ };
126
+ } | {
127
+ name: string;
128
+ description: string;
129
+ inputSchema: {
130
+ type: "object";
131
+ properties: {
132
+ coupon_id: z.ZodNumber;
133
+ };
134
+ };
135
+ } | {
136
+ name: string;
137
+ description: string;
138
+ inputSchema: {
139
+ type: "object";
140
+ properties: {
141
+ coupon_code: z.ZodString;
142
+ order_id: z.ZodOptional<z.ZodNumber>;
143
+ };
144
+ };
145
+ } | {
146
+ name: string;
147
+ description: string;
148
+ inputSchema: {
149
+ type: "object";
150
+ properties: {
151
+ page: z.ZodOptional<z.ZodNumber>;
152
+ per_page: z.ZodOptional<z.ZodNumber>;
153
+ status: z.ZodOptional<z.ZodString>;
154
+ customer_id: z.ZodOptional<z.ZodNumber>;
155
+ };
156
+ };
157
+ } | {
158
+ name: string;
159
+ description: string;
160
+ inputSchema: {
161
+ type: "object";
162
+ properties: {
163
+ subscription_id: z.ZodNumber;
164
+ };
165
+ };
166
+ } | {
167
+ name: string;
168
+ description: string;
169
+ inputSchema: {
170
+ type: "object";
171
+ properties: {
172
+ date_from: z.ZodOptional<z.ZodString>;
173
+ date_to: z.ZodOptional<z.ZodString>;
174
+ metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<["revenue", "orders", "customers", "products_sold"]>, "many">>;
175
+ };
176
+ };
177
+ })[];
178
+ export declare const fluentCartHandlers: {
179
+ fcart_list_products: (args: any) => Promise<{
180
+ toolResult: {
181
+ content: {
182
+ type: string;
183
+ text: string;
184
+ }[];
185
+ isError?: undefined;
186
+ };
187
+ } | {
188
+ toolResult: {
189
+ isError: boolean;
190
+ content: {
191
+ type: string;
192
+ text: string;
193
+ }[];
194
+ };
195
+ }>;
196
+ fcart_get_product: (args: any) => Promise<{
197
+ toolResult: {
198
+ content: {
199
+ type: string;
200
+ text: string;
201
+ }[];
202
+ isError?: undefined;
203
+ };
204
+ } | {
205
+ toolResult: {
206
+ isError: boolean;
207
+ content: {
208
+ type: string;
209
+ text: string;
210
+ }[];
211
+ };
212
+ }>;
213
+ fcart_create_product: (args: any) => Promise<{
214
+ toolResult: {
215
+ content: {
216
+ type: string;
217
+ text: string;
218
+ }[];
219
+ isError?: undefined;
220
+ };
221
+ } | {
222
+ toolResult: {
223
+ isError: boolean;
224
+ content: {
225
+ type: string;
226
+ text: string;
227
+ }[];
228
+ };
229
+ }>;
230
+ fcart_update_product: (args: any) => Promise<{
231
+ toolResult: {
232
+ content: {
233
+ type: string;
234
+ text: string;
235
+ }[];
236
+ isError?: undefined;
237
+ };
238
+ } | {
239
+ toolResult: {
240
+ isError: boolean;
241
+ content: {
242
+ type: string;
243
+ text: string;
244
+ }[];
245
+ };
246
+ }>;
247
+ fcart_delete_product: (args: any) => Promise<{
248
+ toolResult: {
249
+ content: {
250
+ type: string;
251
+ text: string;
252
+ }[];
253
+ isError?: undefined;
254
+ };
255
+ } | {
256
+ toolResult: {
257
+ isError: boolean;
258
+ content: {
259
+ type: string;
260
+ text: string;
261
+ }[];
262
+ };
263
+ }>;
264
+ fcart_update_product_pricing: (args: any) => Promise<{
265
+ toolResult: {
266
+ content: {
267
+ type: string;
268
+ text: string;
269
+ }[];
270
+ isError?: undefined;
271
+ };
272
+ } | {
273
+ toolResult: {
274
+ isError: boolean;
275
+ content: {
276
+ type: string;
277
+ text: string;
278
+ }[];
279
+ };
280
+ }>;
281
+ fcart_get_product_thumbnail: (args: any) => Promise<{
282
+ toolResult: {
283
+ content: {
284
+ type: string;
285
+ text: string;
286
+ }[];
287
+ isError?: undefined;
288
+ };
289
+ } | {
290
+ toolResult: {
291
+ isError: boolean;
292
+ content: {
293
+ type: string;
294
+ text: string;
295
+ }[];
296
+ };
297
+ }>;
298
+ fcart_set_product_thumbnail: (args: any) => Promise<{
299
+ toolResult: {
300
+ content: {
301
+ type: string;
302
+ text: string;
303
+ }[];
304
+ isError?: undefined;
305
+ };
306
+ } | {
307
+ toolResult: {
308
+ isError: boolean;
309
+ content: {
310
+ type: string;
311
+ text: string;
312
+ }[];
313
+ };
314
+ }>;
315
+ fcart_list_orders: (args: any) => Promise<{
316
+ toolResult: {
317
+ content: {
318
+ type: string;
319
+ text: string;
320
+ }[];
321
+ isError?: undefined;
322
+ };
323
+ } | {
324
+ toolResult: {
325
+ isError: boolean;
326
+ content: {
327
+ type: string;
328
+ text: string;
329
+ }[];
330
+ };
331
+ }>;
332
+ fcart_get_order: (args: any) => Promise<{
333
+ toolResult: {
334
+ content: {
335
+ type: string;
336
+ text: string;
337
+ }[];
338
+ isError?: undefined;
339
+ };
340
+ } | {
341
+ toolResult: {
342
+ isError: boolean;
343
+ content: {
344
+ type: string;
345
+ text: string;
346
+ }[];
347
+ };
348
+ }>;
349
+ fcart_create_order: (args: any) => Promise<{
350
+ toolResult: {
351
+ content: {
352
+ type: string;
353
+ text: string;
354
+ }[];
355
+ isError?: undefined;
356
+ };
357
+ } | {
358
+ toolResult: {
359
+ isError: boolean;
360
+ content: {
361
+ type: string;
362
+ text: string;
363
+ }[];
364
+ };
365
+ }>;
366
+ fcart_update_order: (args: any) => Promise<{
367
+ toolResult: {
368
+ content: {
369
+ type: string;
370
+ text: string;
371
+ }[];
372
+ isError?: undefined;
373
+ };
374
+ } | {
375
+ toolResult: {
376
+ isError: boolean;
377
+ content: {
378
+ type: string;
379
+ text: string;
380
+ }[];
381
+ };
382
+ }>;
383
+ fcart_mark_order_paid: (args: any) => Promise<{
384
+ toolResult: {
385
+ content: {
386
+ type: string;
387
+ text: string;
388
+ }[];
389
+ isError?: undefined;
390
+ };
391
+ } | {
392
+ toolResult: {
393
+ isError: boolean;
394
+ content: {
395
+ type: string;
396
+ text: string;
397
+ }[];
398
+ };
399
+ }>;
400
+ fcart_refund_order: (args: any) => Promise<{
401
+ toolResult: {
402
+ content: {
403
+ type: string;
404
+ text: string;
405
+ }[];
406
+ isError?: undefined;
407
+ };
408
+ } | {
409
+ toolResult: {
410
+ isError: boolean;
411
+ content: {
412
+ type: string;
413
+ text: string;
414
+ }[];
415
+ };
416
+ }>;
417
+ fcart_update_order_statuses: (args: any) => Promise<{
418
+ toolResult: {
419
+ content: {
420
+ type: string;
421
+ text: string;
422
+ }[];
423
+ isError?: undefined;
424
+ };
425
+ } | {
426
+ toolResult: {
427
+ isError: boolean;
428
+ content: {
429
+ type: string;
430
+ text: string;
431
+ }[];
432
+ };
433
+ }>;
434
+ fcart_delete_order: (args: any) => Promise<{
435
+ toolResult: {
436
+ content: {
437
+ type: string;
438
+ text: string;
439
+ }[];
440
+ isError?: undefined;
441
+ };
442
+ } | {
443
+ toolResult: {
444
+ isError: boolean;
445
+ content: {
446
+ type: string;
447
+ text: string;
448
+ }[];
449
+ };
450
+ }>;
451
+ fcart_list_customers: (args: any) => Promise<{
452
+ toolResult: {
453
+ content: {
454
+ type: string;
455
+ text: string;
456
+ }[];
457
+ isError?: undefined;
458
+ };
459
+ } | {
460
+ toolResult: {
461
+ isError: boolean;
462
+ content: {
463
+ type: string;
464
+ text: string;
465
+ }[];
466
+ };
467
+ }>;
468
+ fcart_get_customer: (args: any) => Promise<{
469
+ toolResult: {
470
+ content: {
471
+ type: string;
472
+ text: string;
473
+ }[];
474
+ isError?: undefined;
475
+ };
476
+ } | {
477
+ toolResult: {
478
+ isError: boolean;
479
+ content: {
480
+ type: string;
481
+ text: string;
482
+ }[];
483
+ };
484
+ }>;
485
+ fcart_create_customer: (args: any) => Promise<{
486
+ toolResult: {
487
+ content: {
488
+ type: string;
489
+ text: string;
490
+ }[];
491
+ isError?: undefined;
492
+ };
493
+ } | {
494
+ toolResult: {
495
+ isError: boolean;
496
+ content: {
497
+ type: string;
498
+ text: string;
499
+ }[];
500
+ };
501
+ }>;
502
+ fcart_update_customer: (args: any) => Promise<{
503
+ toolResult: {
504
+ content: {
505
+ type: string;
506
+ text: string;
507
+ }[];
508
+ isError?: undefined;
509
+ };
510
+ } | {
511
+ toolResult: {
512
+ isError: boolean;
513
+ content: {
514
+ type: string;
515
+ text: string;
516
+ }[];
517
+ };
518
+ }>;
519
+ fcart_list_coupons: (args: any) => Promise<{
520
+ toolResult: {
521
+ content: {
522
+ type: string;
523
+ text: string;
524
+ }[];
525
+ isError?: undefined;
526
+ };
527
+ } | {
528
+ toolResult: {
529
+ isError: boolean;
530
+ content: {
531
+ type: string;
532
+ text: string;
533
+ }[];
534
+ };
535
+ }>;
536
+ fcart_create_coupon: (args: any) => Promise<{
537
+ toolResult: {
538
+ content: {
539
+ type: string;
540
+ text: string;
541
+ }[];
542
+ isError?: undefined;
543
+ };
544
+ } | {
545
+ toolResult: {
546
+ isError: boolean;
547
+ content: {
548
+ type: string;
549
+ text: string;
550
+ }[];
551
+ };
552
+ }>;
553
+ fcart_update_coupon: (args: any) => Promise<{
554
+ toolResult: {
555
+ content: {
556
+ type: string;
557
+ text: string;
558
+ }[];
559
+ isError?: undefined;
560
+ };
561
+ } | {
562
+ toolResult: {
563
+ isError: boolean;
564
+ content: {
565
+ type: string;
566
+ text: string;
567
+ }[];
568
+ };
569
+ }>;
570
+ fcart_delete_coupon: (args: any) => Promise<{
571
+ toolResult: {
572
+ content: {
573
+ type: string;
574
+ text: string;
575
+ }[];
576
+ isError?: undefined;
577
+ };
578
+ } | {
579
+ toolResult: {
580
+ isError: boolean;
581
+ content: {
582
+ type: string;
583
+ text: string;
584
+ }[];
585
+ };
586
+ }>;
587
+ fcart_get_coupon: (args: any) => Promise<{
588
+ toolResult: {
589
+ content: {
590
+ type: string;
591
+ text: string;
592
+ }[];
593
+ isError?: undefined;
594
+ };
595
+ } | {
596
+ toolResult: {
597
+ isError: boolean;
598
+ content: {
599
+ type: string;
600
+ text: string;
601
+ }[];
602
+ };
603
+ }>;
604
+ fcart_apply_coupon: (args: any) => Promise<{
605
+ toolResult: {
606
+ content: {
607
+ type: string;
608
+ text: string;
609
+ }[];
610
+ isError?: undefined;
611
+ };
612
+ } | {
613
+ toolResult: {
614
+ isError: boolean;
615
+ content: {
616
+ type: string;
617
+ text: string;
618
+ }[];
619
+ };
620
+ }>;
621
+ fcart_list_subscriptions: (args: any) => Promise<{
622
+ toolResult: {
623
+ content: {
624
+ type: string;
625
+ text: string;
626
+ }[];
627
+ isError?: undefined;
628
+ };
629
+ } | {
630
+ toolResult: {
631
+ isError: boolean;
632
+ content: {
633
+ type: string;
634
+ text: string;
635
+ }[];
636
+ };
637
+ }>;
638
+ fcart_get_subscription: (args: any) => Promise<{
639
+ toolResult: {
640
+ content: {
641
+ type: string;
642
+ text: string;
643
+ }[];
644
+ isError?: undefined;
645
+ };
646
+ } | {
647
+ toolResult: {
648
+ isError: boolean;
649
+ content: {
650
+ type: string;
651
+ text: string;
652
+ }[];
653
+ };
654
+ }>;
655
+ fcart_cancel_subscription: (args: any) => Promise<{
656
+ toolResult: {
657
+ content: {
658
+ type: string;
659
+ text: string;
660
+ }[];
661
+ isError?: undefined;
662
+ };
663
+ } | {
664
+ toolResult: {
665
+ isError: boolean;
666
+ content: {
667
+ type: string;
668
+ text: string;
669
+ }[];
670
+ };
671
+ }>;
672
+ fcart_reactivate_subscription: (args: any) => Promise<{
673
+ toolResult: {
674
+ content: {
675
+ type: string;
676
+ text: string;
677
+ }[];
678
+ isError?: undefined;
679
+ };
680
+ } | {
681
+ toolResult: {
682
+ isError: boolean;
683
+ content: {
684
+ type: string;
685
+ text: string;
686
+ }[];
687
+ };
688
+ }>;
689
+ fcart_get_analytics: (args: any) => Promise<{
690
+ toolResult: {
691
+ content: {
692
+ type: string;
693
+ text: string;
694
+ }[];
695
+ isError?: undefined;
696
+ };
697
+ } | {
698
+ toolResult: {
699
+ isError: boolean;
700
+ content: {
701
+ type: string;
702
+ text: string;
703
+ }[];
704
+ };
705
+ }>;
706
+ };