lemonsqueezy-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 (97) hide show
  1. package/ENV_EXAMPLE.md +83 -0
  2. package/LICENSE +21 -0
  3. package/README.md +141 -0
  4. package/SETUP.md +244 -0
  5. package/dist/config.d.ts +25 -0
  6. package/dist/config.d.ts.map +1 -0
  7. package/dist/config.js +80 -0
  8. package/dist/config.js.map +1 -0
  9. package/dist/config.test.d.ts +2 -0
  10. package/dist/config.test.d.ts.map +1 -0
  11. package/dist/config.test.js +55 -0
  12. package/dist/config.test.js.map +1 -0
  13. package/dist/connections/firebase.d.ts +3 -0
  14. package/dist/connections/firebase.d.ts.map +1 -0
  15. package/dist/connections/firebase.js +62 -0
  16. package/dist/connections/firebase.js.map +1 -0
  17. package/dist/connections/salesforce.d.ts +3 -0
  18. package/dist/connections/salesforce.d.ts.map +1 -0
  19. package/dist/connections/salesforce.js +307 -0
  20. package/dist/connections/salesforce.js.map +1 -0
  21. package/dist/index.d.ts +3 -0
  22. package/dist/index.d.ts.map +1 -0
  23. package/dist/index.js +101 -0
  24. package/dist/index.js.map +1 -0
  25. package/dist/resources/payment-context.d.ts +14 -0
  26. package/dist/resources/payment-context.d.ts.map +1 -0
  27. package/dist/resources/payment-context.js +111 -0
  28. package/dist/resources/payment-context.js.map +1 -0
  29. package/dist/server.d.ts +36 -0
  30. package/dist/server.d.ts.map +1 -0
  31. package/dist/server.js +14 -0
  32. package/dist/server.js.map +1 -0
  33. package/dist/sync-last-purchase.d.ts +3 -0
  34. package/dist/sync-last-purchase.d.ts.map +1 -0
  35. package/dist/sync-last-purchase.js +113 -0
  36. package/dist/sync-last-purchase.js.map +1 -0
  37. package/dist/tools/definitions.d.ts +3768 -0
  38. package/dist/tools/definitions.d.ts.map +1 -0
  39. package/dist/tools/definitions.js +753 -0
  40. package/dist/tools/definitions.js.map +1 -0
  41. package/dist/tools/handlers/analytics.d.ts +21 -0
  42. package/dist/tools/handlers/analytics.d.ts.map +1 -0
  43. package/dist/tools/handlers/analytics.js +398 -0
  44. package/dist/tools/handlers/analytics.js.map +1 -0
  45. package/dist/tools/handlers/lemonsqueezy.d.ts +436 -0
  46. package/dist/tools/handlers/lemonsqueezy.d.ts.map +1 -0
  47. package/dist/tools/handlers/lemonsqueezy.js +481 -0
  48. package/dist/tools/handlers/lemonsqueezy.js.map +1 -0
  49. package/dist/tools/handlers/salesforce.d.ts +13 -0
  50. package/dist/tools/handlers/salesforce.d.ts.map +1 -0
  51. package/dist/tools/handlers/salesforce.js +54 -0
  52. package/dist/tools/handlers/salesforce.js.map +1 -0
  53. package/dist/tools/handlers/vos.d.ts +26 -0
  54. package/dist/tools/handlers/vos.d.ts.map +1 -0
  55. package/dist/tools/handlers/vos.js +207 -0
  56. package/dist/tools/handlers/vos.js.map +1 -0
  57. package/dist/tools/index.d.ts +7 -0
  58. package/dist/tools/index.d.ts.map +1 -0
  59. package/dist/tools/index.js +202 -0
  60. package/dist/tools/index.js.map +1 -0
  61. package/dist/types.d.ts +24 -0
  62. package/dist/types.d.ts.map +1 -0
  63. package/dist/types.js +2 -0
  64. package/dist/types.js.map +1 -0
  65. package/dist/utils/logger.d.ts +3 -0
  66. package/dist/utils/logger.d.ts.map +1 -0
  67. package/dist/utils/logger.js +8 -0
  68. package/dist/utils/logger.js.map +1 -0
  69. package/dist/utils/response.d.ts +14 -0
  70. package/dist/utils/response.d.ts.map +1 -0
  71. package/dist/utils/response.js +17 -0
  72. package/dist/utils/response.js.map +1 -0
  73. package/dist/utils/retry.d.ts +11 -0
  74. package/dist/utils/retry.d.ts.map +1 -0
  75. package/dist/utils/retry.js +36 -0
  76. package/dist/utils/retry.js.map +1 -0
  77. package/dist/utils/secrets/provider.d.ts +30 -0
  78. package/dist/utils/secrets/provider.d.ts.map +1 -0
  79. package/dist/utils/secrets/provider.js +51 -0
  80. package/dist/utils/secrets/provider.js.map +1 -0
  81. package/dist/utils/secrets.d.ts +7 -0
  82. package/dist/utils/secrets.d.ts.map +1 -0
  83. package/dist/utils/secrets.js +16 -0
  84. package/dist/utils/secrets.js.map +1 -0
  85. package/dist/utils/validation.d.ts +580 -0
  86. package/dist/utils/validation.d.ts.map +1 -0
  87. package/dist/utils/validation.js +250 -0
  88. package/dist/utils/validation.js.map +1 -0
  89. package/dist/webhooks/listener.d.ts +17 -0
  90. package/dist/webhooks/listener.d.ts.map +1 -0
  91. package/dist/webhooks/listener.js +140 -0
  92. package/dist/webhooks/listener.js.map +1 -0
  93. package/dist/webhooks/ngrok.d.ts +8 -0
  94. package/dist/webhooks/ngrok.d.ts.map +1 -0
  95. package/dist/webhooks/ngrok.js +50 -0
  96. package/dist/webhooks/ngrok.js.map +1 -0
  97. package/package.json +68 -0
@@ -0,0 +1,3768 @@
1
+ export declare const TOOLS: {
2
+ readonly GET_STORE: "get_store";
3
+ readonly LIST_STORES: "list_stores";
4
+ readonly GET_CUSTOMER: "get_customer";
5
+ readonly LIST_CUSTOMERS: "list_customers";
6
+ readonly CREATE_CUSTOMER: "create_customer";
7
+ readonly UPDATE_CUSTOMER: "update_customer";
8
+ readonly ARCHIVE_CUSTOMER: "archive_customer";
9
+ readonly GET_PRODUCT: "get_product";
10
+ readonly LIST_PRODUCTS: "list_products";
11
+ readonly GET_VARIANT: "get_variant";
12
+ readonly LIST_VARIANTS: "list_variants";
13
+ readonly GET_ORDER: "get_order";
14
+ readonly LIST_ORDERS: "list_orders";
15
+ readonly SEARCH_ORDERS: "search_orders";
16
+ readonly GET_ORDER_ITEM: "get_order_item";
17
+ readonly LIST_ORDER_ITEMS: "list_order_items";
18
+ readonly GENERATE_ORDER_INVOICE: "generate_order_invoice";
19
+ readonly ISSUE_ORDER_REFUND: "issue_order_refund";
20
+ readonly GET_SUBSCRIPTION: "get_subscription";
21
+ readonly LIST_SUBSCRIPTIONS: "list_subscriptions";
22
+ readonly UPDATE_SUBSCRIPTION: "update_subscription";
23
+ readonly CANCEL_SUBSCRIPTION: "cancel_subscription";
24
+ readonly GET_SUBSCRIPTION_ITEM: "get_subscription_item";
25
+ readonly LIST_SUBSCRIPTION_ITEMS: "list_subscription_items";
26
+ readonly GET_SUBSCRIPTION_ITEM_USAGE: "get_subscription_item_usage";
27
+ readonly GET_SUBSCRIPTION_INVOICE: "get_subscription_invoice";
28
+ readonly LIST_SUBSCRIPTION_INVOICES: "list_subscription_invoices";
29
+ readonly GENERATE_SUBSCRIPTION_INVOICE: "generate_subscription_invoice";
30
+ readonly ISSUE_SUBSCRIPTION_INVOICE_REFUND: "issue_subscription_invoice_refund";
31
+ readonly GET_DISCOUNT: "get_discount";
32
+ readonly LIST_DISCOUNTS: "list_discounts";
33
+ readonly CREATE_DISCOUNT: "create_discount";
34
+ readonly DELETE_DISCOUNT: "delete_discount";
35
+ readonly GET_LICENSE_KEY: "get_license_key";
36
+ readonly LIST_LICENSE_KEYS: "list_license_keys";
37
+ readonly UPDATE_LICENSE_KEY: "update_license_key";
38
+ readonly GET_FILE: "get_file";
39
+ readonly LIST_FILES: "list_files";
40
+ readonly GET_USAGE_RECORD: "get_usage_record";
41
+ readonly LIST_USAGE_RECORDS: "list_usage_records";
42
+ readonly CREATE_USAGE_RECORD: "create_usage_record";
43
+ readonly CREATE_CHECKOUT: "create_checkout";
44
+ readonly GET_WEBHOOK: "get_webhook";
45
+ readonly LIST_WEBHOOKS: "list_webhooks";
46
+ readonly CREATE_WEBHOOK: "create_webhook";
47
+ readonly UPDATE_WEBHOOK: "update_webhook";
48
+ readonly DELETE_WEBHOOK: "delete_webhook";
49
+ readonly SYNC_CUSTOMER_TO_CRM: "sync_customer_to_crm";
50
+ readonly SEARCH_TRANSACTIONS_NATURAL: "search_transactions_natural";
51
+ readonly ANALYZE_CHURN_RISK: "analyze_churn_risk";
52
+ readonly CANONIZE_DECISION: "canonize_decision";
53
+ readonly GET_FINANCIAL_METRICS: "get_financial_metrics";
54
+ readonly PREDICT_CHURN_RISK: "predict_churn_risk";
55
+ };
56
+ export declare function getToolDefinitions(): ({
57
+ name: "get_store";
58
+ description: string;
59
+ inputSchema: {
60
+ type: string;
61
+ properties: {
62
+ storeId: {
63
+ type: string;
64
+ description: string;
65
+ };
66
+ page?: undefined;
67
+ customerId?: undefined;
68
+ email?: undefined;
69
+ name?: undefined;
70
+ city?: undefined;
71
+ country?: undefined;
72
+ region?: undefined;
73
+ productId?: undefined;
74
+ variantId?: undefined;
75
+ orderId?: undefined;
76
+ userEmail?: undefined;
77
+ orderItemId?: undefined;
78
+ address?: undefined;
79
+ state?: undefined;
80
+ zip?: undefined;
81
+ amount?: undefined;
82
+ subscriptionId?: undefined;
83
+ billingAnchor?: undefined;
84
+ subscriptionItemId?: undefined;
85
+ subscriptionInvoiceId?: undefined;
86
+ discountId?: undefined;
87
+ code?: undefined;
88
+ amountType?: undefined;
89
+ duration?: undefined;
90
+ durationInMonths?: undefined;
91
+ licenseKeyId?: undefined;
92
+ status?: undefined;
93
+ fileId?: undefined;
94
+ usageRecordId?: undefined;
95
+ quantity?: undefined;
96
+ action?: undefined;
97
+ customPrice?: undefined;
98
+ productOptions?: undefined;
99
+ checkoutOptions?: undefined;
100
+ checkoutData?: undefined;
101
+ preview?: undefined;
102
+ expiresAt?: undefined;
103
+ webhookId?: undefined;
104
+ url?: undefined;
105
+ events?: undefined;
106
+ secret?: undefined;
107
+ revenue?: undefined;
108
+ company?: undefined;
109
+ title?: undefined;
110
+ query?: undefined;
111
+ decision?: undefined;
112
+ rationale?: undefined;
113
+ expectedOutcome?: undefined;
114
+ category?: undefined;
115
+ startDate?: undefined;
116
+ endDate?: undefined;
117
+ minRiskScore?: undefined;
118
+ limit?: undefined;
119
+ };
120
+ required: string[];
121
+ };
122
+ } | {
123
+ name: "list_stores";
124
+ description: string;
125
+ inputSchema: {
126
+ type: string;
127
+ properties: {
128
+ page: {
129
+ type: string;
130
+ description: string;
131
+ };
132
+ storeId?: undefined;
133
+ customerId?: undefined;
134
+ email?: undefined;
135
+ name?: undefined;
136
+ city?: undefined;
137
+ country?: undefined;
138
+ region?: undefined;
139
+ productId?: undefined;
140
+ variantId?: undefined;
141
+ orderId?: undefined;
142
+ userEmail?: undefined;
143
+ orderItemId?: undefined;
144
+ address?: undefined;
145
+ state?: undefined;
146
+ zip?: undefined;
147
+ amount?: undefined;
148
+ subscriptionId?: undefined;
149
+ billingAnchor?: undefined;
150
+ subscriptionItemId?: undefined;
151
+ subscriptionInvoiceId?: undefined;
152
+ discountId?: undefined;
153
+ code?: undefined;
154
+ amountType?: undefined;
155
+ duration?: undefined;
156
+ durationInMonths?: undefined;
157
+ licenseKeyId?: undefined;
158
+ status?: undefined;
159
+ fileId?: undefined;
160
+ usageRecordId?: undefined;
161
+ quantity?: undefined;
162
+ action?: undefined;
163
+ customPrice?: undefined;
164
+ productOptions?: undefined;
165
+ checkoutOptions?: undefined;
166
+ checkoutData?: undefined;
167
+ preview?: undefined;
168
+ expiresAt?: undefined;
169
+ webhookId?: undefined;
170
+ url?: undefined;
171
+ events?: undefined;
172
+ secret?: undefined;
173
+ revenue?: undefined;
174
+ company?: undefined;
175
+ title?: undefined;
176
+ query?: undefined;
177
+ decision?: undefined;
178
+ rationale?: undefined;
179
+ expectedOutcome?: undefined;
180
+ category?: undefined;
181
+ startDate?: undefined;
182
+ endDate?: undefined;
183
+ minRiskScore?: undefined;
184
+ limit?: undefined;
185
+ };
186
+ required: never[];
187
+ };
188
+ } | {
189
+ name: "get_customer";
190
+ description: string;
191
+ inputSchema: {
192
+ type: string;
193
+ properties: {
194
+ customerId: {
195
+ type: string;
196
+ description: string;
197
+ };
198
+ storeId?: undefined;
199
+ page?: undefined;
200
+ email?: undefined;
201
+ name?: undefined;
202
+ city?: undefined;
203
+ country?: undefined;
204
+ region?: undefined;
205
+ productId?: undefined;
206
+ variantId?: undefined;
207
+ orderId?: undefined;
208
+ userEmail?: undefined;
209
+ orderItemId?: undefined;
210
+ address?: undefined;
211
+ state?: undefined;
212
+ zip?: undefined;
213
+ amount?: undefined;
214
+ subscriptionId?: undefined;
215
+ billingAnchor?: undefined;
216
+ subscriptionItemId?: undefined;
217
+ subscriptionInvoiceId?: undefined;
218
+ discountId?: undefined;
219
+ code?: undefined;
220
+ amountType?: undefined;
221
+ duration?: undefined;
222
+ durationInMonths?: undefined;
223
+ licenseKeyId?: undefined;
224
+ status?: undefined;
225
+ fileId?: undefined;
226
+ usageRecordId?: undefined;
227
+ quantity?: undefined;
228
+ action?: undefined;
229
+ customPrice?: undefined;
230
+ productOptions?: undefined;
231
+ checkoutOptions?: undefined;
232
+ checkoutData?: undefined;
233
+ preview?: undefined;
234
+ expiresAt?: undefined;
235
+ webhookId?: undefined;
236
+ url?: undefined;
237
+ events?: undefined;
238
+ secret?: undefined;
239
+ revenue?: undefined;
240
+ company?: undefined;
241
+ title?: undefined;
242
+ query?: undefined;
243
+ decision?: undefined;
244
+ rationale?: undefined;
245
+ expectedOutcome?: undefined;
246
+ category?: undefined;
247
+ startDate?: undefined;
248
+ endDate?: undefined;
249
+ minRiskScore?: undefined;
250
+ limit?: undefined;
251
+ };
252
+ required: string[];
253
+ };
254
+ } | {
255
+ name: "list_customers";
256
+ description: string;
257
+ inputSchema: {
258
+ type: string;
259
+ properties: {
260
+ email: {
261
+ type: string;
262
+ description: string;
263
+ };
264
+ page: {
265
+ type: string;
266
+ description: string;
267
+ };
268
+ storeId?: undefined;
269
+ customerId?: undefined;
270
+ name?: undefined;
271
+ city?: undefined;
272
+ country?: undefined;
273
+ region?: undefined;
274
+ productId?: undefined;
275
+ variantId?: undefined;
276
+ orderId?: undefined;
277
+ userEmail?: undefined;
278
+ orderItemId?: undefined;
279
+ address?: undefined;
280
+ state?: undefined;
281
+ zip?: undefined;
282
+ amount?: undefined;
283
+ subscriptionId?: undefined;
284
+ billingAnchor?: undefined;
285
+ subscriptionItemId?: undefined;
286
+ subscriptionInvoiceId?: undefined;
287
+ discountId?: undefined;
288
+ code?: undefined;
289
+ amountType?: undefined;
290
+ duration?: undefined;
291
+ durationInMonths?: undefined;
292
+ licenseKeyId?: undefined;
293
+ status?: undefined;
294
+ fileId?: undefined;
295
+ usageRecordId?: undefined;
296
+ quantity?: undefined;
297
+ action?: undefined;
298
+ customPrice?: undefined;
299
+ productOptions?: undefined;
300
+ checkoutOptions?: undefined;
301
+ checkoutData?: undefined;
302
+ preview?: undefined;
303
+ expiresAt?: undefined;
304
+ webhookId?: undefined;
305
+ url?: undefined;
306
+ events?: undefined;
307
+ secret?: undefined;
308
+ revenue?: undefined;
309
+ company?: undefined;
310
+ title?: undefined;
311
+ query?: undefined;
312
+ decision?: undefined;
313
+ rationale?: undefined;
314
+ expectedOutcome?: undefined;
315
+ category?: undefined;
316
+ startDate?: undefined;
317
+ endDate?: undefined;
318
+ minRiskScore?: undefined;
319
+ limit?: undefined;
320
+ };
321
+ required: never[];
322
+ };
323
+ } | {
324
+ name: "create_customer";
325
+ description: string;
326
+ inputSchema: {
327
+ type: string;
328
+ properties: {
329
+ storeId: {
330
+ type: string;
331
+ description: string;
332
+ };
333
+ name: {
334
+ type: string;
335
+ description: string;
336
+ };
337
+ email: {
338
+ type: string;
339
+ description: string;
340
+ };
341
+ city: {
342
+ type: string;
343
+ description: string;
344
+ };
345
+ country: {
346
+ type: string;
347
+ description: string;
348
+ };
349
+ region: {
350
+ type: string;
351
+ description: string;
352
+ };
353
+ page?: undefined;
354
+ customerId?: undefined;
355
+ productId?: undefined;
356
+ variantId?: undefined;
357
+ orderId?: undefined;
358
+ userEmail?: undefined;
359
+ orderItemId?: undefined;
360
+ address?: undefined;
361
+ state?: undefined;
362
+ zip?: undefined;
363
+ amount?: undefined;
364
+ subscriptionId?: undefined;
365
+ billingAnchor?: undefined;
366
+ subscriptionItemId?: undefined;
367
+ subscriptionInvoiceId?: undefined;
368
+ discountId?: undefined;
369
+ code?: undefined;
370
+ amountType?: undefined;
371
+ duration?: undefined;
372
+ durationInMonths?: undefined;
373
+ licenseKeyId?: undefined;
374
+ status?: undefined;
375
+ fileId?: undefined;
376
+ usageRecordId?: undefined;
377
+ quantity?: undefined;
378
+ action?: undefined;
379
+ customPrice?: undefined;
380
+ productOptions?: undefined;
381
+ checkoutOptions?: undefined;
382
+ checkoutData?: undefined;
383
+ preview?: undefined;
384
+ expiresAt?: undefined;
385
+ webhookId?: undefined;
386
+ url?: undefined;
387
+ events?: undefined;
388
+ secret?: undefined;
389
+ revenue?: undefined;
390
+ company?: undefined;
391
+ title?: undefined;
392
+ query?: undefined;
393
+ decision?: undefined;
394
+ rationale?: undefined;
395
+ expectedOutcome?: undefined;
396
+ category?: undefined;
397
+ startDate?: undefined;
398
+ endDate?: undefined;
399
+ minRiskScore?: undefined;
400
+ limit?: undefined;
401
+ };
402
+ required: string[];
403
+ };
404
+ } | {
405
+ name: "update_customer";
406
+ description: string;
407
+ inputSchema: {
408
+ type: string;
409
+ properties: {
410
+ customerId: {
411
+ type: string;
412
+ description: string;
413
+ };
414
+ name: {
415
+ type: string;
416
+ description: string;
417
+ };
418
+ email: {
419
+ type: string;
420
+ description: string;
421
+ };
422
+ city: {
423
+ type: string;
424
+ description: string;
425
+ };
426
+ country: {
427
+ type: string;
428
+ description: string;
429
+ };
430
+ region: {
431
+ type: string;
432
+ description: string;
433
+ };
434
+ storeId?: undefined;
435
+ page?: undefined;
436
+ productId?: undefined;
437
+ variantId?: undefined;
438
+ orderId?: undefined;
439
+ userEmail?: undefined;
440
+ orderItemId?: undefined;
441
+ address?: undefined;
442
+ state?: undefined;
443
+ zip?: undefined;
444
+ amount?: undefined;
445
+ subscriptionId?: undefined;
446
+ billingAnchor?: undefined;
447
+ subscriptionItemId?: undefined;
448
+ subscriptionInvoiceId?: undefined;
449
+ discountId?: undefined;
450
+ code?: undefined;
451
+ amountType?: undefined;
452
+ duration?: undefined;
453
+ durationInMonths?: undefined;
454
+ licenseKeyId?: undefined;
455
+ status?: undefined;
456
+ fileId?: undefined;
457
+ usageRecordId?: undefined;
458
+ quantity?: undefined;
459
+ action?: undefined;
460
+ customPrice?: undefined;
461
+ productOptions?: undefined;
462
+ checkoutOptions?: undefined;
463
+ checkoutData?: undefined;
464
+ preview?: undefined;
465
+ expiresAt?: undefined;
466
+ webhookId?: undefined;
467
+ url?: undefined;
468
+ events?: undefined;
469
+ secret?: undefined;
470
+ revenue?: undefined;
471
+ company?: undefined;
472
+ title?: undefined;
473
+ query?: undefined;
474
+ decision?: undefined;
475
+ rationale?: undefined;
476
+ expectedOutcome?: undefined;
477
+ category?: undefined;
478
+ startDate?: undefined;
479
+ endDate?: undefined;
480
+ minRiskScore?: undefined;
481
+ limit?: undefined;
482
+ };
483
+ required: string[];
484
+ };
485
+ } | {
486
+ name: "archive_customer";
487
+ description: string;
488
+ inputSchema: {
489
+ type: string;
490
+ properties: {
491
+ customerId: {
492
+ type: string;
493
+ description: string;
494
+ };
495
+ storeId?: undefined;
496
+ page?: undefined;
497
+ email?: undefined;
498
+ name?: undefined;
499
+ city?: undefined;
500
+ country?: undefined;
501
+ region?: undefined;
502
+ productId?: undefined;
503
+ variantId?: undefined;
504
+ orderId?: undefined;
505
+ userEmail?: undefined;
506
+ orderItemId?: undefined;
507
+ address?: undefined;
508
+ state?: undefined;
509
+ zip?: undefined;
510
+ amount?: undefined;
511
+ subscriptionId?: undefined;
512
+ billingAnchor?: undefined;
513
+ subscriptionItemId?: undefined;
514
+ subscriptionInvoiceId?: undefined;
515
+ discountId?: undefined;
516
+ code?: undefined;
517
+ amountType?: undefined;
518
+ duration?: undefined;
519
+ durationInMonths?: undefined;
520
+ licenseKeyId?: undefined;
521
+ status?: undefined;
522
+ fileId?: undefined;
523
+ usageRecordId?: undefined;
524
+ quantity?: undefined;
525
+ action?: undefined;
526
+ customPrice?: undefined;
527
+ productOptions?: undefined;
528
+ checkoutOptions?: undefined;
529
+ checkoutData?: undefined;
530
+ preview?: undefined;
531
+ expiresAt?: undefined;
532
+ webhookId?: undefined;
533
+ url?: undefined;
534
+ events?: undefined;
535
+ secret?: undefined;
536
+ revenue?: undefined;
537
+ company?: undefined;
538
+ title?: undefined;
539
+ query?: undefined;
540
+ decision?: undefined;
541
+ rationale?: undefined;
542
+ expectedOutcome?: undefined;
543
+ category?: undefined;
544
+ startDate?: undefined;
545
+ endDate?: undefined;
546
+ minRiskScore?: undefined;
547
+ limit?: undefined;
548
+ };
549
+ required: string[];
550
+ };
551
+ } | {
552
+ name: "get_product";
553
+ description: string;
554
+ inputSchema: {
555
+ type: string;
556
+ properties: {
557
+ productId: {
558
+ type: string;
559
+ description: string;
560
+ };
561
+ storeId?: undefined;
562
+ page?: undefined;
563
+ customerId?: undefined;
564
+ email?: undefined;
565
+ name?: undefined;
566
+ city?: undefined;
567
+ country?: undefined;
568
+ region?: undefined;
569
+ variantId?: undefined;
570
+ orderId?: undefined;
571
+ userEmail?: undefined;
572
+ orderItemId?: undefined;
573
+ address?: undefined;
574
+ state?: undefined;
575
+ zip?: undefined;
576
+ amount?: undefined;
577
+ subscriptionId?: undefined;
578
+ billingAnchor?: undefined;
579
+ subscriptionItemId?: undefined;
580
+ subscriptionInvoiceId?: undefined;
581
+ discountId?: undefined;
582
+ code?: undefined;
583
+ amountType?: undefined;
584
+ duration?: undefined;
585
+ durationInMonths?: undefined;
586
+ licenseKeyId?: undefined;
587
+ status?: undefined;
588
+ fileId?: undefined;
589
+ usageRecordId?: undefined;
590
+ quantity?: undefined;
591
+ action?: undefined;
592
+ customPrice?: undefined;
593
+ productOptions?: undefined;
594
+ checkoutOptions?: undefined;
595
+ checkoutData?: undefined;
596
+ preview?: undefined;
597
+ expiresAt?: undefined;
598
+ webhookId?: undefined;
599
+ url?: undefined;
600
+ events?: undefined;
601
+ secret?: undefined;
602
+ revenue?: undefined;
603
+ company?: undefined;
604
+ title?: undefined;
605
+ query?: undefined;
606
+ decision?: undefined;
607
+ rationale?: undefined;
608
+ expectedOutcome?: undefined;
609
+ category?: undefined;
610
+ startDate?: undefined;
611
+ endDate?: undefined;
612
+ minRiskScore?: undefined;
613
+ limit?: undefined;
614
+ };
615
+ required: string[];
616
+ };
617
+ } | {
618
+ name: "list_products";
619
+ description: string;
620
+ inputSchema: {
621
+ type: string;
622
+ properties: {
623
+ storeId: {
624
+ type: string;
625
+ description: string;
626
+ };
627
+ page: {
628
+ type: string;
629
+ description: string;
630
+ };
631
+ customerId?: undefined;
632
+ email?: undefined;
633
+ name?: undefined;
634
+ city?: undefined;
635
+ country?: undefined;
636
+ region?: undefined;
637
+ productId?: undefined;
638
+ variantId?: undefined;
639
+ orderId?: undefined;
640
+ userEmail?: undefined;
641
+ orderItemId?: undefined;
642
+ address?: undefined;
643
+ state?: undefined;
644
+ zip?: undefined;
645
+ amount?: undefined;
646
+ subscriptionId?: undefined;
647
+ billingAnchor?: undefined;
648
+ subscriptionItemId?: undefined;
649
+ subscriptionInvoiceId?: undefined;
650
+ discountId?: undefined;
651
+ code?: undefined;
652
+ amountType?: undefined;
653
+ duration?: undefined;
654
+ durationInMonths?: undefined;
655
+ licenseKeyId?: undefined;
656
+ status?: undefined;
657
+ fileId?: undefined;
658
+ usageRecordId?: undefined;
659
+ quantity?: undefined;
660
+ action?: undefined;
661
+ customPrice?: undefined;
662
+ productOptions?: undefined;
663
+ checkoutOptions?: undefined;
664
+ checkoutData?: undefined;
665
+ preview?: undefined;
666
+ expiresAt?: undefined;
667
+ webhookId?: undefined;
668
+ url?: undefined;
669
+ events?: undefined;
670
+ secret?: undefined;
671
+ revenue?: undefined;
672
+ company?: undefined;
673
+ title?: undefined;
674
+ query?: undefined;
675
+ decision?: undefined;
676
+ rationale?: undefined;
677
+ expectedOutcome?: undefined;
678
+ category?: undefined;
679
+ startDate?: undefined;
680
+ endDate?: undefined;
681
+ minRiskScore?: undefined;
682
+ limit?: undefined;
683
+ };
684
+ required: never[];
685
+ };
686
+ } | {
687
+ name: "get_variant";
688
+ description: string;
689
+ inputSchema: {
690
+ type: string;
691
+ properties: {
692
+ variantId: {
693
+ type: string;
694
+ description: string;
695
+ };
696
+ storeId?: undefined;
697
+ page?: undefined;
698
+ customerId?: undefined;
699
+ email?: undefined;
700
+ name?: undefined;
701
+ city?: undefined;
702
+ country?: undefined;
703
+ region?: undefined;
704
+ productId?: undefined;
705
+ orderId?: undefined;
706
+ userEmail?: undefined;
707
+ orderItemId?: undefined;
708
+ address?: undefined;
709
+ state?: undefined;
710
+ zip?: undefined;
711
+ amount?: undefined;
712
+ subscriptionId?: undefined;
713
+ billingAnchor?: undefined;
714
+ subscriptionItemId?: undefined;
715
+ subscriptionInvoiceId?: undefined;
716
+ discountId?: undefined;
717
+ code?: undefined;
718
+ amountType?: undefined;
719
+ duration?: undefined;
720
+ durationInMonths?: undefined;
721
+ licenseKeyId?: undefined;
722
+ status?: undefined;
723
+ fileId?: undefined;
724
+ usageRecordId?: undefined;
725
+ quantity?: undefined;
726
+ action?: undefined;
727
+ customPrice?: undefined;
728
+ productOptions?: undefined;
729
+ checkoutOptions?: undefined;
730
+ checkoutData?: undefined;
731
+ preview?: undefined;
732
+ expiresAt?: undefined;
733
+ webhookId?: undefined;
734
+ url?: undefined;
735
+ events?: undefined;
736
+ secret?: undefined;
737
+ revenue?: undefined;
738
+ company?: undefined;
739
+ title?: undefined;
740
+ query?: undefined;
741
+ decision?: undefined;
742
+ rationale?: undefined;
743
+ expectedOutcome?: undefined;
744
+ category?: undefined;
745
+ startDate?: undefined;
746
+ endDate?: undefined;
747
+ minRiskScore?: undefined;
748
+ limit?: undefined;
749
+ };
750
+ required: string[];
751
+ };
752
+ } | {
753
+ name: "list_variants";
754
+ description: string;
755
+ inputSchema: {
756
+ type: string;
757
+ properties: {
758
+ productId: {
759
+ type: string;
760
+ description: string;
761
+ };
762
+ page: {
763
+ type: string;
764
+ description: string;
765
+ };
766
+ storeId?: undefined;
767
+ customerId?: undefined;
768
+ email?: undefined;
769
+ name?: undefined;
770
+ city?: undefined;
771
+ country?: undefined;
772
+ region?: undefined;
773
+ variantId?: undefined;
774
+ orderId?: undefined;
775
+ userEmail?: undefined;
776
+ orderItemId?: undefined;
777
+ address?: undefined;
778
+ state?: undefined;
779
+ zip?: undefined;
780
+ amount?: undefined;
781
+ subscriptionId?: undefined;
782
+ billingAnchor?: undefined;
783
+ subscriptionItemId?: undefined;
784
+ subscriptionInvoiceId?: undefined;
785
+ discountId?: undefined;
786
+ code?: undefined;
787
+ amountType?: undefined;
788
+ duration?: undefined;
789
+ durationInMonths?: undefined;
790
+ licenseKeyId?: undefined;
791
+ status?: undefined;
792
+ fileId?: undefined;
793
+ usageRecordId?: undefined;
794
+ quantity?: undefined;
795
+ action?: undefined;
796
+ customPrice?: undefined;
797
+ productOptions?: undefined;
798
+ checkoutOptions?: undefined;
799
+ checkoutData?: undefined;
800
+ preview?: undefined;
801
+ expiresAt?: undefined;
802
+ webhookId?: undefined;
803
+ url?: undefined;
804
+ events?: undefined;
805
+ secret?: undefined;
806
+ revenue?: undefined;
807
+ company?: undefined;
808
+ title?: undefined;
809
+ query?: undefined;
810
+ decision?: undefined;
811
+ rationale?: undefined;
812
+ expectedOutcome?: undefined;
813
+ category?: undefined;
814
+ startDate?: undefined;
815
+ endDate?: undefined;
816
+ minRiskScore?: undefined;
817
+ limit?: undefined;
818
+ };
819
+ required: never[];
820
+ };
821
+ } | {
822
+ name: "get_order";
823
+ description: string;
824
+ inputSchema: {
825
+ type: string;
826
+ properties: {
827
+ orderId: {
828
+ type: string;
829
+ description: string;
830
+ };
831
+ storeId?: undefined;
832
+ page?: undefined;
833
+ customerId?: undefined;
834
+ email?: undefined;
835
+ name?: undefined;
836
+ city?: undefined;
837
+ country?: undefined;
838
+ region?: undefined;
839
+ productId?: undefined;
840
+ variantId?: undefined;
841
+ userEmail?: undefined;
842
+ orderItemId?: undefined;
843
+ address?: undefined;
844
+ state?: undefined;
845
+ zip?: undefined;
846
+ amount?: undefined;
847
+ subscriptionId?: undefined;
848
+ billingAnchor?: undefined;
849
+ subscriptionItemId?: undefined;
850
+ subscriptionInvoiceId?: undefined;
851
+ discountId?: undefined;
852
+ code?: undefined;
853
+ amountType?: undefined;
854
+ duration?: undefined;
855
+ durationInMonths?: undefined;
856
+ licenseKeyId?: undefined;
857
+ status?: undefined;
858
+ fileId?: undefined;
859
+ usageRecordId?: undefined;
860
+ quantity?: undefined;
861
+ action?: undefined;
862
+ customPrice?: undefined;
863
+ productOptions?: undefined;
864
+ checkoutOptions?: undefined;
865
+ checkoutData?: undefined;
866
+ preview?: undefined;
867
+ expiresAt?: undefined;
868
+ webhookId?: undefined;
869
+ url?: undefined;
870
+ events?: undefined;
871
+ secret?: undefined;
872
+ revenue?: undefined;
873
+ company?: undefined;
874
+ title?: undefined;
875
+ query?: undefined;
876
+ decision?: undefined;
877
+ rationale?: undefined;
878
+ expectedOutcome?: undefined;
879
+ category?: undefined;
880
+ startDate?: undefined;
881
+ endDate?: undefined;
882
+ minRiskScore?: undefined;
883
+ limit?: undefined;
884
+ };
885
+ required: string[];
886
+ };
887
+ } | {
888
+ name: "list_orders";
889
+ description: string;
890
+ inputSchema: {
891
+ type: string;
892
+ properties: {
893
+ page: {
894
+ type: string;
895
+ description: string;
896
+ };
897
+ storeId: {
898
+ type: string;
899
+ description: string;
900
+ };
901
+ customerId?: undefined;
902
+ email?: undefined;
903
+ name?: undefined;
904
+ city?: undefined;
905
+ country?: undefined;
906
+ region?: undefined;
907
+ productId?: undefined;
908
+ variantId?: undefined;
909
+ orderId?: undefined;
910
+ userEmail?: undefined;
911
+ orderItemId?: undefined;
912
+ address?: undefined;
913
+ state?: undefined;
914
+ zip?: undefined;
915
+ amount?: undefined;
916
+ subscriptionId?: undefined;
917
+ billingAnchor?: undefined;
918
+ subscriptionItemId?: undefined;
919
+ subscriptionInvoiceId?: undefined;
920
+ discountId?: undefined;
921
+ code?: undefined;
922
+ amountType?: undefined;
923
+ duration?: undefined;
924
+ durationInMonths?: undefined;
925
+ licenseKeyId?: undefined;
926
+ status?: undefined;
927
+ fileId?: undefined;
928
+ usageRecordId?: undefined;
929
+ quantity?: undefined;
930
+ action?: undefined;
931
+ customPrice?: undefined;
932
+ productOptions?: undefined;
933
+ checkoutOptions?: undefined;
934
+ checkoutData?: undefined;
935
+ preview?: undefined;
936
+ expiresAt?: undefined;
937
+ webhookId?: undefined;
938
+ url?: undefined;
939
+ events?: undefined;
940
+ secret?: undefined;
941
+ revenue?: undefined;
942
+ company?: undefined;
943
+ title?: undefined;
944
+ query?: undefined;
945
+ decision?: undefined;
946
+ rationale?: undefined;
947
+ expectedOutcome?: undefined;
948
+ category?: undefined;
949
+ startDate?: undefined;
950
+ endDate?: undefined;
951
+ minRiskScore?: undefined;
952
+ limit?: undefined;
953
+ };
954
+ required: never[];
955
+ };
956
+ } | {
957
+ name: "search_orders";
958
+ description: string;
959
+ inputSchema: {
960
+ type: string;
961
+ properties: {
962
+ userEmail: {
963
+ type: string;
964
+ description: string;
965
+ };
966
+ storeId?: undefined;
967
+ page?: undefined;
968
+ customerId?: undefined;
969
+ email?: undefined;
970
+ name?: undefined;
971
+ city?: undefined;
972
+ country?: undefined;
973
+ region?: undefined;
974
+ productId?: undefined;
975
+ variantId?: undefined;
976
+ orderId?: undefined;
977
+ orderItemId?: undefined;
978
+ address?: undefined;
979
+ state?: undefined;
980
+ zip?: undefined;
981
+ amount?: undefined;
982
+ subscriptionId?: undefined;
983
+ billingAnchor?: undefined;
984
+ subscriptionItemId?: undefined;
985
+ subscriptionInvoiceId?: undefined;
986
+ discountId?: undefined;
987
+ code?: undefined;
988
+ amountType?: undefined;
989
+ duration?: undefined;
990
+ durationInMonths?: undefined;
991
+ licenseKeyId?: undefined;
992
+ status?: undefined;
993
+ fileId?: undefined;
994
+ usageRecordId?: undefined;
995
+ quantity?: undefined;
996
+ action?: undefined;
997
+ customPrice?: undefined;
998
+ productOptions?: undefined;
999
+ checkoutOptions?: undefined;
1000
+ checkoutData?: undefined;
1001
+ preview?: undefined;
1002
+ expiresAt?: undefined;
1003
+ webhookId?: undefined;
1004
+ url?: undefined;
1005
+ events?: undefined;
1006
+ secret?: undefined;
1007
+ revenue?: undefined;
1008
+ company?: undefined;
1009
+ title?: undefined;
1010
+ query?: undefined;
1011
+ decision?: undefined;
1012
+ rationale?: undefined;
1013
+ expectedOutcome?: undefined;
1014
+ category?: undefined;
1015
+ startDate?: undefined;
1016
+ endDate?: undefined;
1017
+ minRiskScore?: undefined;
1018
+ limit?: undefined;
1019
+ };
1020
+ required: string[];
1021
+ };
1022
+ } | {
1023
+ name: "get_order_item";
1024
+ description: string;
1025
+ inputSchema: {
1026
+ type: string;
1027
+ properties: {
1028
+ orderItemId: {
1029
+ type: string;
1030
+ description: string;
1031
+ };
1032
+ storeId?: undefined;
1033
+ page?: undefined;
1034
+ customerId?: undefined;
1035
+ email?: undefined;
1036
+ name?: undefined;
1037
+ city?: undefined;
1038
+ country?: undefined;
1039
+ region?: undefined;
1040
+ productId?: undefined;
1041
+ variantId?: undefined;
1042
+ orderId?: undefined;
1043
+ userEmail?: undefined;
1044
+ address?: undefined;
1045
+ state?: undefined;
1046
+ zip?: undefined;
1047
+ amount?: undefined;
1048
+ subscriptionId?: undefined;
1049
+ billingAnchor?: undefined;
1050
+ subscriptionItemId?: undefined;
1051
+ subscriptionInvoiceId?: undefined;
1052
+ discountId?: undefined;
1053
+ code?: undefined;
1054
+ amountType?: undefined;
1055
+ duration?: undefined;
1056
+ durationInMonths?: undefined;
1057
+ licenseKeyId?: undefined;
1058
+ status?: undefined;
1059
+ fileId?: undefined;
1060
+ usageRecordId?: undefined;
1061
+ quantity?: undefined;
1062
+ action?: undefined;
1063
+ customPrice?: undefined;
1064
+ productOptions?: undefined;
1065
+ checkoutOptions?: undefined;
1066
+ checkoutData?: undefined;
1067
+ preview?: undefined;
1068
+ expiresAt?: undefined;
1069
+ webhookId?: undefined;
1070
+ url?: undefined;
1071
+ events?: undefined;
1072
+ secret?: undefined;
1073
+ revenue?: undefined;
1074
+ company?: undefined;
1075
+ title?: undefined;
1076
+ query?: undefined;
1077
+ decision?: undefined;
1078
+ rationale?: undefined;
1079
+ expectedOutcome?: undefined;
1080
+ category?: undefined;
1081
+ startDate?: undefined;
1082
+ endDate?: undefined;
1083
+ minRiskScore?: undefined;
1084
+ limit?: undefined;
1085
+ };
1086
+ required: string[];
1087
+ };
1088
+ } | {
1089
+ name: "list_order_items";
1090
+ description: string;
1091
+ inputSchema: {
1092
+ type: string;
1093
+ properties: {
1094
+ orderId: {
1095
+ type: string;
1096
+ description: string;
1097
+ };
1098
+ page: {
1099
+ type: string;
1100
+ description: string;
1101
+ };
1102
+ storeId?: undefined;
1103
+ customerId?: undefined;
1104
+ email?: undefined;
1105
+ name?: undefined;
1106
+ city?: undefined;
1107
+ country?: undefined;
1108
+ region?: undefined;
1109
+ productId?: undefined;
1110
+ variantId?: undefined;
1111
+ userEmail?: undefined;
1112
+ orderItemId?: undefined;
1113
+ address?: undefined;
1114
+ state?: undefined;
1115
+ zip?: undefined;
1116
+ amount?: undefined;
1117
+ subscriptionId?: undefined;
1118
+ billingAnchor?: undefined;
1119
+ subscriptionItemId?: undefined;
1120
+ subscriptionInvoiceId?: undefined;
1121
+ discountId?: undefined;
1122
+ code?: undefined;
1123
+ amountType?: undefined;
1124
+ duration?: undefined;
1125
+ durationInMonths?: undefined;
1126
+ licenseKeyId?: undefined;
1127
+ status?: undefined;
1128
+ fileId?: undefined;
1129
+ usageRecordId?: undefined;
1130
+ quantity?: undefined;
1131
+ action?: undefined;
1132
+ customPrice?: undefined;
1133
+ productOptions?: undefined;
1134
+ checkoutOptions?: undefined;
1135
+ checkoutData?: undefined;
1136
+ preview?: undefined;
1137
+ expiresAt?: undefined;
1138
+ webhookId?: undefined;
1139
+ url?: undefined;
1140
+ events?: undefined;
1141
+ secret?: undefined;
1142
+ revenue?: undefined;
1143
+ company?: undefined;
1144
+ title?: undefined;
1145
+ query?: undefined;
1146
+ decision?: undefined;
1147
+ rationale?: undefined;
1148
+ expectedOutcome?: undefined;
1149
+ category?: undefined;
1150
+ startDate?: undefined;
1151
+ endDate?: undefined;
1152
+ minRiskScore?: undefined;
1153
+ limit?: undefined;
1154
+ };
1155
+ required: never[];
1156
+ };
1157
+ } | {
1158
+ name: "generate_order_invoice";
1159
+ description: string;
1160
+ inputSchema: {
1161
+ type: string;
1162
+ properties: {
1163
+ orderId: {
1164
+ type: string;
1165
+ description: string;
1166
+ };
1167
+ name: {
1168
+ type: string;
1169
+ description: string;
1170
+ };
1171
+ email: {
1172
+ type: string;
1173
+ description: string;
1174
+ };
1175
+ address: {
1176
+ type: string;
1177
+ description: string;
1178
+ };
1179
+ city: {
1180
+ type: string;
1181
+ description: string;
1182
+ };
1183
+ state: {
1184
+ type: string;
1185
+ description: string;
1186
+ };
1187
+ zip: {
1188
+ type: string;
1189
+ description: string;
1190
+ };
1191
+ country: {
1192
+ type: string;
1193
+ description: string;
1194
+ };
1195
+ storeId?: undefined;
1196
+ page?: undefined;
1197
+ customerId?: undefined;
1198
+ region?: undefined;
1199
+ productId?: undefined;
1200
+ variantId?: undefined;
1201
+ userEmail?: undefined;
1202
+ orderItemId?: undefined;
1203
+ amount?: undefined;
1204
+ subscriptionId?: undefined;
1205
+ billingAnchor?: undefined;
1206
+ subscriptionItemId?: undefined;
1207
+ subscriptionInvoiceId?: undefined;
1208
+ discountId?: undefined;
1209
+ code?: undefined;
1210
+ amountType?: undefined;
1211
+ duration?: undefined;
1212
+ durationInMonths?: undefined;
1213
+ licenseKeyId?: undefined;
1214
+ status?: undefined;
1215
+ fileId?: undefined;
1216
+ usageRecordId?: undefined;
1217
+ quantity?: undefined;
1218
+ action?: undefined;
1219
+ customPrice?: undefined;
1220
+ productOptions?: undefined;
1221
+ checkoutOptions?: undefined;
1222
+ checkoutData?: undefined;
1223
+ preview?: undefined;
1224
+ expiresAt?: undefined;
1225
+ webhookId?: undefined;
1226
+ url?: undefined;
1227
+ events?: undefined;
1228
+ secret?: undefined;
1229
+ revenue?: undefined;
1230
+ company?: undefined;
1231
+ title?: undefined;
1232
+ query?: undefined;
1233
+ decision?: undefined;
1234
+ rationale?: undefined;
1235
+ expectedOutcome?: undefined;
1236
+ category?: undefined;
1237
+ startDate?: undefined;
1238
+ endDate?: undefined;
1239
+ minRiskScore?: undefined;
1240
+ limit?: undefined;
1241
+ };
1242
+ required: string[];
1243
+ };
1244
+ } | {
1245
+ name: "issue_order_refund";
1246
+ description: string;
1247
+ inputSchema: {
1248
+ type: string;
1249
+ properties: {
1250
+ orderId: {
1251
+ type: string;
1252
+ description: string;
1253
+ };
1254
+ amount: {
1255
+ type: string;
1256
+ description: string;
1257
+ };
1258
+ storeId?: undefined;
1259
+ page?: undefined;
1260
+ customerId?: undefined;
1261
+ email?: undefined;
1262
+ name?: undefined;
1263
+ city?: undefined;
1264
+ country?: undefined;
1265
+ region?: undefined;
1266
+ productId?: undefined;
1267
+ variantId?: undefined;
1268
+ userEmail?: undefined;
1269
+ orderItemId?: undefined;
1270
+ address?: undefined;
1271
+ state?: undefined;
1272
+ zip?: undefined;
1273
+ subscriptionId?: undefined;
1274
+ billingAnchor?: undefined;
1275
+ subscriptionItemId?: undefined;
1276
+ subscriptionInvoiceId?: undefined;
1277
+ discountId?: undefined;
1278
+ code?: undefined;
1279
+ amountType?: undefined;
1280
+ duration?: undefined;
1281
+ durationInMonths?: undefined;
1282
+ licenseKeyId?: undefined;
1283
+ status?: undefined;
1284
+ fileId?: undefined;
1285
+ usageRecordId?: undefined;
1286
+ quantity?: undefined;
1287
+ action?: undefined;
1288
+ customPrice?: undefined;
1289
+ productOptions?: undefined;
1290
+ checkoutOptions?: undefined;
1291
+ checkoutData?: undefined;
1292
+ preview?: undefined;
1293
+ expiresAt?: undefined;
1294
+ webhookId?: undefined;
1295
+ url?: undefined;
1296
+ events?: undefined;
1297
+ secret?: undefined;
1298
+ revenue?: undefined;
1299
+ company?: undefined;
1300
+ title?: undefined;
1301
+ query?: undefined;
1302
+ decision?: undefined;
1303
+ rationale?: undefined;
1304
+ expectedOutcome?: undefined;
1305
+ category?: undefined;
1306
+ startDate?: undefined;
1307
+ endDate?: undefined;
1308
+ minRiskScore?: undefined;
1309
+ limit?: undefined;
1310
+ };
1311
+ required: string[];
1312
+ };
1313
+ } | {
1314
+ name: "get_subscription";
1315
+ description: string;
1316
+ inputSchema: {
1317
+ type: string;
1318
+ properties: {
1319
+ subscriptionId: {
1320
+ type: string;
1321
+ description: string;
1322
+ };
1323
+ storeId?: undefined;
1324
+ page?: undefined;
1325
+ customerId?: undefined;
1326
+ email?: undefined;
1327
+ name?: undefined;
1328
+ city?: undefined;
1329
+ country?: undefined;
1330
+ region?: undefined;
1331
+ productId?: undefined;
1332
+ variantId?: undefined;
1333
+ orderId?: undefined;
1334
+ userEmail?: undefined;
1335
+ orderItemId?: undefined;
1336
+ address?: undefined;
1337
+ state?: undefined;
1338
+ zip?: undefined;
1339
+ amount?: undefined;
1340
+ billingAnchor?: undefined;
1341
+ subscriptionItemId?: undefined;
1342
+ subscriptionInvoiceId?: undefined;
1343
+ discountId?: undefined;
1344
+ code?: undefined;
1345
+ amountType?: undefined;
1346
+ duration?: undefined;
1347
+ durationInMonths?: undefined;
1348
+ licenseKeyId?: undefined;
1349
+ status?: undefined;
1350
+ fileId?: undefined;
1351
+ usageRecordId?: undefined;
1352
+ quantity?: undefined;
1353
+ action?: undefined;
1354
+ customPrice?: undefined;
1355
+ productOptions?: undefined;
1356
+ checkoutOptions?: undefined;
1357
+ checkoutData?: undefined;
1358
+ preview?: undefined;
1359
+ expiresAt?: undefined;
1360
+ webhookId?: undefined;
1361
+ url?: undefined;
1362
+ events?: undefined;
1363
+ secret?: undefined;
1364
+ revenue?: undefined;
1365
+ company?: undefined;
1366
+ title?: undefined;
1367
+ query?: undefined;
1368
+ decision?: undefined;
1369
+ rationale?: undefined;
1370
+ expectedOutcome?: undefined;
1371
+ category?: undefined;
1372
+ startDate?: undefined;
1373
+ endDate?: undefined;
1374
+ minRiskScore?: undefined;
1375
+ limit?: undefined;
1376
+ };
1377
+ required: string[];
1378
+ };
1379
+ } | {
1380
+ name: "list_subscriptions";
1381
+ description: string;
1382
+ inputSchema: {
1383
+ type: string;
1384
+ properties: {
1385
+ storeId: {
1386
+ type: string;
1387
+ description: string;
1388
+ };
1389
+ page: {
1390
+ type: string;
1391
+ description: string;
1392
+ };
1393
+ customerId?: undefined;
1394
+ email?: undefined;
1395
+ name?: undefined;
1396
+ city?: undefined;
1397
+ country?: undefined;
1398
+ region?: undefined;
1399
+ productId?: undefined;
1400
+ variantId?: undefined;
1401
+ orderId?: undefined;
1402
+ userEmail?: undefined;
1403
+ orderItemId?: undefined;
1404
+ address?: undefined;
1405
+ state?: undefined;
1406
+ zip?: undefined;
1407
+ amount?: undefined;
1408
+ subscriptionId?: undefined;
1409
+ billingAnchor?: undefined;
1410
+ subscriptionItemId?: undefined;
1411
+ subscriptionInvoiceId?: undefined;
1412
+ discountId?: undefined;
1413
+ code?: undefined;
1414
+ amountType?: undefined;
1415
+ duration?: undefined;
1416
+ durationInMonths?: undefined;
1417
+ licenseKeyId?: undefined;
1418
+ status?: undefined;
1419
+ fileId?: undefined;
1420
+ usageRecordId?: undefined;
1421
+ quantity?: undefined;
1422
+ action?: undefined;
1423
+ customPrice?: undefined;
1424
+ productOptions?: undefined;
1425
+ checkoutOptions?: undefined;
1426
+ checkoutData?: undefined;
1427
+ preview?: undefined;
1428
+ expiresAt?: undefined;
1429
+ webhookId?: undefined;
1430
+ url?: undefined;
1431
+ events?: undefined;
1432
+ secret?: undefined;
1433
+ revenue?: undefined;
1434
+ company?: undefined;
1435
+ title?: undefined;
1436
+ query?: undefined;
1437
+ decision?: undefined;
1438
+ rationale?: undefined;
1439
+ expectedOutcome?: undefined;
1440
+ category?: undefined;
1441
+ startDate?: undefined;
1442
+ endDate?: undefined;
1443
+ minRiskScore?: undefined;
1444
+ limit?: undefined;
1445
+ };
1446
+ required: never[];
1447
+ };
1448
+ } | {
1449
+ name: "update_subscription";
1450
+ description: string;
1451
+ inputSchema: {
1452
+ type: string;
1453
+ properties: {
1454
+ subscriptionId: {
1455
+ type: string;
1456
+ description: string;
1457
+ };
1458
+ variantId: {
1459
+ type: string;
1460
+ description: string;
1461
+ };
1462
+ productId: {
1463
+ type: string;
1464
+ description: string;
1465
+ };
1466
+ billingAnchor: {
1467
+ type: string;
1468
+ description: string;
1469
+ };
1470
+ storeId?: undefined;
1471
+ page?: undefined;
1472
+ customerId?: undefined;
1473
+ email?: undefined;
1474
+ name?: undefined;
1475
+ city?: undefined;
1476
+ country?: undefined;
1477
+ region?: undefined;
1478
+ orderId?: undefined;
1479
+ userEmail?: undefined;
1480
+ orderItemId?: undefined;
1481
+ address?: undefined;
1482
+ state?: undefined;
1483
+ zip?: undefined;
1484
+ amount?: undefined;
1485
+ subscriptionItemId?: undefined;
1486
+ subscriptionInvoiceId?: undefined;
1487
+ discountId?: undefined;
1488
+ code?: undefined;
1489
+ amountType?: undefined;
1490
+ duration?: undefined;
1491
+ durationInMonths?: undefined;
1492
+ licenseKeyId?: undefined;
1493
+ status?: undefined;
1494
+ fileId?: undefined;
1495
+ usageRecordId?: undefined;
1496
+ quantity?: undefined;
1497
+ action?: undefined;
1498
+ customPrice?: undefined;
1499
+ productOptions?: undefined;
1500
+ checkoutOptions?: undefined;
1501
+ checkoutData?: undefined;
1502
+ preview?: undefined;
1503
+ expiresAt?: undefined;
1504
+ webhookId?: undefined;
1505
+ url?: undefined;
1506
+ events?: undefined;
1507
+ secret?: undefined;
1508
+ revenue?: undefined;
1509
+ company?: undefined;
1510
+ title?: undefined;
1511
+ query?: undefined;
1512
+ decision?: undefined;
1513
+ rationale?: undefined;
1514
+ expectedOutcome?: undefined;
1515
+ category?: undefined;
1516
+ startDate?: undefined;
1517
+ endDate?: undefined;
1518
+ minRiskScore?: undefined;
1519
+ limit?: undefined;
1520
+ };
1521
+ required: string[];
1522
+ };
1523
+ } | {
1524
+ name: "cancel_subscription";
1525
+ description: string;
1526
+ inputSchema: {
1527
+ type: string;
1528
+ properties: {
1529
+ subscriptionId: {
1530
+ type: string;
1531
+ description: string;
1532
+ };
1533
+ storeId?: undefined;
1534
+ page?: undefined;
1535
+ customerId?: undefined;
1536
+ email?: undefined;
1537
+ name?: undefined;
1538
+ city?: undefined;
1539
+ country?: undefined;
1540
+ region?: undefined;
1541
+ productId?: undefined;
1542
+ variantId?: undefined;
1543
+ orderId?: undefined;
1544
+ userEmail?: undefined;
1545
+ orderItemId?: undefined;
1546
+ address?: undefined;
1547
+ state?: undefined;
1548
+ zip?: undefined;
1549
+ amount?: undefined;
1550
+ billingAnchor?: undefined;
1551
+ subscriptionItemId?: undefined;
1552
+ subscriptionInvoiceId?: undefined;
1553
+ discountId?: undefined;
1554
+ code?: undefined;
1555
+ amountType?: undefined;
1556
+ duration?: undefined;
1557
+ durationInMonths?: undefined;
1558
+ licenseKeyId?: undefined;
1559
+ status?: undefined;
1560
+ fileId?: undefined;
1561
+ usageRecordId?: undefined;
1562
+ quantity?: undefined;
1563
+ action?: undefined;
1564
+ customPrice?: undefined;
1565
+ productOptions?: undefined;
1566
+ checkoutOptions?: undefined;
1567
+ checkoutData?: undefined;
1568
+ preview?: undefined;
1569
+ expiresAt?: undefined;
1570
+ webhookId?: undefined;
1571
+ url?: undefined;
1572
+ events?: undefined;
1573
+ secret?: undefined;
1574
+ revenue?: undefined;
1575
+ company?: undefined;
1576
+ title?: undefined;
1577
+ query?: undefined;
1578
+ decision?: undefined;
1579
+ rationale?: undefined;
1580
+ expectedOutcome?: undefined;
1581
+ category?: undefined;
1582
+ startDate?: undefined;
1583
+ endDate?: undefined;
1584
+ minRiskScore?: undefined;
1585
+ limit?: undefined;
1586
+ };
1587
+ required: string[];
1588
+ };
1589
+ } | {
1590
+ name: "get_subscription_item";
1591
+ description: string;
1592
+ inputSchema: {
1593
+ type: string;
1594
+ properties: {
1595
+ subscriptionItemId: {
1596
+ type: string;
1597
+ description: string;
1598
+ };
1599
+ storeId?: undefined;
1600
+ page?: undefined;
1601
+ customerId?: undefined;
1602
+ email?: undefined;
1603
+ name?: undefined;
1604
+ city?: undefined;
1605
+ country?: undefined;
1606
+ region?: undefined;
1607
+ productId?: undefined;
1608
+ variantId?: undefined;
1609
+ orderId?: undefined;
1610
+ userEmail?: undefined;
1611
+ orderItemId?: undefined;
1612
+ address?: undefined;
1613
+ state?: undefined;
1614
+ zip?: undefined;
1615
+ amount?: undefined;
1616
+ subscriptionId?: undefined;
1617
+ billingAnchor?: undefined;
1618
+ subscriptionInvoiceId?: undefined;
1619
+ discountId?: undefined;
1620
+ code?: undefined;
1621
+ amountType?: undefined;
1622
+ duration?: undefined;
1623
+ durationInMonths?: undefined;
1624
+ licenseKeyId?: undefined;
1625
+ status?: undefined;
1626
+ fileId?: undefined;
1627
+ usageRecordId?: undefined;
1628
+ quantity?: undefined;
1629
+ action?: undefined;
1630
+ customPrice?: undefined;
1631
+ productOptions?: undefined;
1632
+ checkoutOptions?: undefined;
1633
+ checkoutData?: undefined;
1634
+ preview?: undefined;
1635
+ expiresAt?: undefined;
1636
+ webhookId?: undefined;
1637
+ url?: undefined;
1638
+ events?: undefined;
1639
+ secret?: undefined;
1640
+ revenue?: undefined;
1641
+ company?: undefined;
1642
+ title?: undefined;
1643
+ query?: undefined;
1644
+ decision?: undefined;
1645
+ rationale?: undefined;
1646
+ expectedOutcome?: undefined;
1647
+ category?: undefined;
1648
+ startDate?: undefined;
1649
+ endDate?: undefined;
1650
+ minRiskScore?: undefined;
1651
+ limit?: undefined;
1652
+ };
1653
+ required: string[];
1654
+ };
1655
+ } | {
1656
+ name: "list_subscription_items";
1657
+ description: string;
1658
+ inputSchema: {
1659
+ type: string;
1660
+ properties: {
1661
+ subscriptionId: {
1662
+ type: string;
1663
+ description: string;
1664
+ };
1665
+ page: {
1666
+ type: string;
1667
+ description: string;
1668
+ };
1669
+ storeId?: undefined;
1670
+ customerId?: undefined;
1671
+ email?: undefined;
1672
+ name?: undefined;
1673
+ city?: undefined;
1674
+ country?: undefined;
1675
+ region?: undefined;
1676
+ productId?: undefined;
1677
+ variantId?: undefined;
1678
+ orderId?: undefined;
1679
+ userEmail?: undefined;
1680
+ orderItemId?: undefined;
1681
+ address?: undefined;
1682
+ state?: undefined;
1683
+ zip?: undefined;
1684
+ amount?: undefined;
1685
+ billingAnchor?: undefined;
1686
+ subscriptionItemId?: undefined;
1687
+ subscriptionInvoiceId?: undefined;
1688
+ discountId?: undefined;
1689
+ code?: undefined;
1690
+ amountType?: undefined;
1691
+ duration?: undefined;
1692
+ durationInMonths?: undefined;
1693
+ licenseKeyId?: undefined;
1694
+ status?: undefined;
1695
+ fileId?: undefined;
1696
+ usageRecordId?: undefined;
1697
+ quantity?: undefined;
1698
+ action?: undefined;
1699
+ customPrice?: undefined;
1700
+ productOptions?: undefined;
1701
+ checkoutOptions?: undefined;
1702
+ checkoutData?: undefined;
1703
+ preview?: undefined;
1704
+ expiresAt?: undefined;
1705
+ webhookId?: undefined;
1706
+ url?: undefined;
1707
+ events?: undefined;
1708
+ secret?: undefined;
1709
+ revenue?: undefined;
1710
+ company?: undefined;
1711
+ title?: undefined;
1712
+ query?: undefined;
1713
+ decision?: undefined;
1714
+ rationale?: undefined;
1715
+ expectedOutcome?: undefined;
1716
+ category?: undefined;
1717
+ startDate?: undefined;
1718
+ endDate?: undefined;
1719
+ minRiskScore?: undefined;
1720
+ limit?: undefined;
1721
+ };
1722
+ required: never[];
1723
+ };
1724
+ } | {
1725
+ name: "get_subscription_item_usage";
1726
+ description: string;
1727
+ inputSchema: {
1728
+ type: string;
1729
+ properties: {
1730
+ subscriptionItemId: {
1731
+ type: string;
1732
+ description: string;
1733
+ };
1734
+ storeId?: undefined;
1735
+ page?: undefined;
1736
+ customerId?: undefined;
1737
+ email?: undefined;
1738
+ name?: undefined;
1739
+ city?: undefined;
1740
+ country?: undefined;
1741
+ region?: undefined;
1742
+ productId?: undefined;
1743
+ variantId?: undefined;
1744
+ orderId?: undefined;
1745
+ userEmail?: undefined;
1746
+ orderItemId?: undefined;
1747
+ address?: undefined;
1748
+ state?: undefined;
1749
+ zip?: undefined;
1750
+ amount?: undefined;
1751
+ subscriptionId?: undefined;
1752
+ billingAnchor?: undefined;
1753
+ subscriptionInvoiceId?: undefined;
1754
+ discountId?: undefined;
1755
+ code?: undefined;
1756
+ amountType?: undefined;
1757
+ duration?: undefined;
1758
+ durationInMonths?: undefined;
1759
+ licenseKeyId?: undefined;
1760
+ status?: undefined;
1761
+ fileId?: undefined;
1762
+ usageRecordId?: undefined;
1763
+ quantity?: undefined;
1764
+ action?: undefined;
1765
+ customPrice?: undefined;
1766
+ productOptions?: undefined;
1767
+ checkoutOptions?: undefined;
1768
+ checkoutData?: undefined;
1769
+ preview?: undefined;
1770
+ expiresAt?: undefined;
1771
+ webhookId?: undefined;
1772
+ url?: undefined;
1773
+ events?: undefined;
1774
+ secret?: undefined;
1775
+ revenue?: undefined;
1776
+ company?: undefined;
1777
+ title?: undefined;
1778
+ query?: undefined;
1779
+ decision?: undefined;
1780
+ rationale?: undefined;
1781
+ expectedOutcome?: undefined;
1782
+ category?: undefined;
1783
+ startDate?: undefined;
1784
+ endDate?: undefined;
1785
+ minRiskScore?: undefined;
1786
+ limit?: undefined;
1787
+ };
1788
+ required: string[];
1789
+ };
1790
+ } | {
1791
+ name: "get_subscription_invoice";
1792
+ description: string;
1793
+ inputSchema: {
1794
+ type: string;
1795
+ properties: {
1796
+ subscriptionInvoiceId: {
1797
+ type: string;
1798
+ description: string;
1799
+ };
1800
+ storeId?: undefined;
1801
+ page?: undefined;
1802
+ customerId?: undefined;
1803
+ email?: undefined;
1804
+ name?: undefined;
1805
+ city?: undefined;
1806
+ country?: undefined;
1807
+ region?: undefined;
1808
+ productId?: undefined;
1809
+ variantId?: undefined;
1810
+ orderId?: undefined;
1811
+ userEmail?: undefined;
1812
+ orderItemId?: undefined;
1813
+ address?: undefined;
1814
+ state?: undefined;
1815
+ zip?: undefined;
1816
+ amount?: undefined;
1817
+ subscriptionId?: undefined;
1818
+ billingAnchor?: undefined;
1819
+ subscriptionItemId?: undefined;
1820
+ discountId?: undefined;
1821
+ code?: undefined;
1822
+ amountType?: undefined;
1823
+ duration?: undefined;
1824
+ durationInMonths?: undefined;
1825
+ licenseKeyId?: undefined;
1826
+ status?: undefined;
1827
+ fileId?: undefined;
1828
+ usageRecordId?: undefined;
1829
+ quantity?: undefined;
1830
+ action?: undefined;
1831
+ customPrice?: undefined;
1832
+ productOptions?: undefined;
1833
+ checkoutOptions?: undefined;
1834
+ checkoutData?: undefined;
1835
+ preview?: undefined;
1836
+ expiresAt?: undefined;
1837
+ webhookId?: undefined;
1838
+ url?: undefined;
1839
+ events?: undefined;
1840
+ secret?: undefined;
1841
+ revenue?: undefined;
1842
+ company?: undefined;
1843
+ title?: undefined;
1844
+ query?: undefined;
1845
+ decision?: undefined;
1846
+ rationale?: undefined;
1847
+ expectedOutcome?: undefined;
1848
+ category?: undefined;
1849
+ startDate?: undefined;
1850
+ endDate?: undefined;
1851
+ minRiskScore?: undefined;
1852
+ limit?: undefined;
1853
+ };
1854
+ required: string[];
1855
+ };
1856
+ } | {
1857
+ name: "list_subscription_invoices";
1858
+ description: string;
1859
+ inputSchema: {
1860
+ type: string;
1861
+ properties: {
1862
+ subscriptionId: {
1863
+ type: string;
1864
+ description: string;
1865
+ };
1866
+ page: {
1867
+ type: string;
1868
+ description: string;
1869
+ };
1870
+ storeId?: undefined;
1871
+ customerId?: undefined;
1872
+ email?: undefined;
1873
+ name?: undefined;
1874
+ city?: undefined;
1875
+ country?: undefined;
1876
+ region?: undefined;
1877
+ productId?: undefined;
1878
+ variantId?: undefined;
1879
+ orderId?: undefined;
1880
+ userEmail?: undefined;
1881
+ orderItemId?: undefined;
1882
+ address?: undefined;
1883
+ state?: undefined;
1884
+ zip?: undefined;
1885
+ amount?: undefined;
1886
+ billingAnchor?: undefined;
1887
+ subscriptionItemId?: undefined;
1888
+ subscriptionInvoiceId?: undefined;
1889
+ discountId?: undefined;
1890
+ code?: undefined;
1891
+ amountType?: undefined;
1892
+ duration?: undefined;
1893
+ durationInMonths?: undefined;
1894
+ licenseKeyId?: undefined;
1895
+ status?: undefined;
1896
+ fileId?: undefined;
1897
+ usageRecordId?: undefined;
1898
+ quantity?: undefined;
1899
+ action?: undefined;
1900
+ customPrice?: undefined;
1901
+ productOptions?: undefined;
1902
+ checkoutOptions?: undefined;
1903
+ checkoutData?: undefined;
1904
+ preview?: undefined;
1905
+ expiresAt?: undefined;
1906
+ webhookId?: undefined;
1907
+ url?: undefined;
1908
+ events?: undefined;
1909
+ secret?: undefined;
1910
+ revenue?: undefined;
1911
+ company?: undefined;
1912
+ title?: undefined;
1913
+ query?: undefined;
1914
+ decision?: undefined;
1915
+ rationale?: undefined;
1916
+ expectedOutcome?: undefined;
1917
+ category?: undefined;
1918
+ startDate?: undefined;
1919
+ endDate?: undefined;
1920
+ minRiskScore?: undefined;
1921
+ limit?: undefined;
1922
+ };
1923
+ required: never[];
1924
+ };
1925
+ } | {
1926
+ name: "generate_subscription_invoice";
1927
+ description: string;
1928
+ inputSchema: {
1929
+ type: string;
1930
+ properties: {
1931
+ subscriptionInvoiceId: {
1932
+ type: string;
1933
+ description: string;
1934
+ };
1935
+ storeId?: undefined;
1936
+ page?: undefined;
1937
+ customerId?: undefined;
1938
+ email?: undefined;
1939
+ name?: undefined;
1940
+ city?: undefined;
1941
+ country?: undefined;
1942
+ region?: undefined;
1943
+ productId?: undefined;
1944
+ variantId?: undefined;
1945
+ orderId?: undefined;
1946
+ userEmail?: undefined;
1947
+ orderItemId?: undefined;
1948
+ address?: undefined;
1949
+ state?: undefined;
1950
+ zip?: undefined;
1951
+ amount?: undefined;
1952
+ subscriptionId?: undefined;
1953
+ billingAnchor?: undefined;
1954
+ subscriptionItemId?: undefined;
1955
+ discountId?: undefined;
1956
+ code?: undefined;
1957
+ amountType?: undefined;
1958
+ duration?: undefined;
1959
+ durationInMonths?: undefined;
1960
+ licenseKeyId?: undefined;
1961
+ status?: undefined;
1962
+ fileId?: undefined;
1963
+ usageRecordId?: undefined;
1964
+ quantity?: undefined;
1965
+ action?: undefined;
1966
+ customPrice?: undefined;
1967
+ productOptions?: undefined;
1968
+ checkoutOptions?: undefined;
1969
+ checkoutData?: undefined;
1970
+ preview?: undefined;
1971
+ expiresAt?: undefined;
1972
+ webhookId?: undefined;
1973
+ url?: undefined;
1974
+ events?: undefined;
1975
+ secret?: undefined;
1976
+ revenue?: undefined;
1977
+ company?: undefined;
1978
+ title?: undefined;
1979
+ query?: undefined;
1980
+ decision?: undefined;
1981
+ rationale?: undefined;
1982
+ expectedOutcome?: undefined;
1983
+ category?: undefined;
1984
+ startDate?: undefined;
1985
+ endDate?: undefined;
1986
+ minRiskScore?: undefined;
1987
+ limit?: undefined;
1988
+ };
1989
+ required: string[];
1990
+ };
1991
+ } | {
1992
+ name: "issue_subscription_invoice_refund";
1993
+ description: string;
1994
+ inputSchema: {
1995
+ type: string;
1996
+ properties: {
1997
+ subscriptionInvoiceId: {
1998
+ type: string;
1999
+ description: string;
2000
+ };
2001
+ amount: {
2002
+ type: string;
2003
+ description: string;
2004
+ };
2005
+ storeId?: undefined;
2006
+ page?: undefined;
2007
+ customerId?: undefined;
2008
+ email?: undefined;
2009
+ name?: undefined;
2010
+ city?: undefined;
2011
+ country?: undefined;
2012
+ region?: undefined;
2013
+ productId?: undefined;
2014
+ variantId?: undefined;
2015
+ orderId?: undefined;
2016
+ userEmail?: undefined;
2017
+ orderItemId?: undefined;
2018
+ address?: undefined;
2019
+ state?: undefined;
2020
+ zip?: undefined;
2021
+ subscriptionId?: undefined;
2022
+ billingAnchor?: undefined;
2023
+ subscriptionItemId?: undefined;
2024
+ discountId?: undefined;
2025
+ code?: undefined;
2026
+ amountType?: undefined;
2027
+ duration?: undefined;
2028
+ durationInMonths?: undefined;
2029
+ licenseKeyId?: undefined;
2030
+ status?: undefined;
2031
+ fileId?: undefined;
2032
+ usageRecordId?: undefined;
2033
+ quantity?: undefined;
2034
+ action?: undefined;
2035
+ customPrice?: undefined;
2036
+ productOptions?: undefined;
2037
+ checkoutOptions?: undefined;
2038
+ checkoutData?: undefined;
2039
+ preview?: undefined;
2040
+ expiresAt?: undefined;
2041
+ webhookId?: undefined;
2042
+ url?: undefined;
2043
+ events?: undefined;
2044
+ secret?: undefined;
2045
+ revenue?: undefined;
2046
+ company?: undefined;
2047
+ title?: undefined;
2048
+ query?: undefined;
2049
+ decision?: undefined;
2050
+ rationale?: undefined;
2051
+ expectedOutcome?: undefined;
2052
+ category?: undefined;
2053
+ startDate?: undefined;
2054
+ endDate?: undefined;
2055
+ minRiskScore?: undefined;
2056
+ limit?: undefined;
2057
+ };
2058
+ required: string[];
2059
+ };
2060
+ } | {
2061
+ name: "get_discount";
2062
+ description: string;
2063
+ inputSchema: {
2064
+ type: string;
2065
+ properties: {
2066
+ discountId: {
2067
+ type: string;
2068
+ description: string;
2069
+ };
2070
+ storeId?: undefined;
2071
+ page?: undefined;
2072
+ customerId?: undefined;
2073
+ email?: undefined;
2074
+ name?: undefined;
2075
+ city?: undefined;
2076
+ country?: undefined;
2077
+ region?: undefined;
2078
+ productId?: undefined;
2079
+ variantId?: undefined;
2080
+ orderId?: undefined;
2081
+ userEmail?: undefined;
2082
+ orderItemId?: undefined;
2083
+ address?: undefined;
2084
+ state?: undefined;
2085
+ zip?: undefined;
2086
+ amount?: undefined;
2087
+ subscriptionId?: undefined;
2088
+ billingAnchor?: undefined;
2089
+ subscriptionItemId?: undefined;
2090
+ subscriptionInvoiceId?: undefined;
2091
+ code?: undefined;
2092
+ amountType?: undefined;
2093
+ duration?: undefined;
2094
+ durationInMonths?: undefined;
2095
+ licenseKeyId?: undefined;
2096
+ status?: undefined;
2097
+ fileId?: undefined;
2098
+ usageRecordId?: undefined;
2099
+ quantity?: undefined;
2100
+ action?: undefined;
2101
+ customPrice?: undefined;
2102
+ productOptions?: undefined;
2103
+ checkoutOptions?: undefined;
2104
+ checkoutData?: undefined;
2105
+ preview?: undefined;
2106
+ expiresAt?: undefined;
2107
+ webhookId?: undefined;
2108
+ url?: undefined;
2109
+ events?: undefined;
2110
+ secret?: undefined;
2111
+ revenue?: undefined;
2112
+ company?: undefined;
2113
+ title?: undefined;
2114
+ query?: undefined;
2115
+ decision?: undefined;
2116
+ rationale?: undefined;
2117
+ expectedOutcome?: undefined;
2118
+ category?: undefined;
2119
+ startDate?: undefined;
2120
+ endDate?: undefined;
2121
+ minRiskScore?: undefined;
2122
+ limit?: undefined;
2123
+ };
2124
+ required: string[];
2125
+ };
2126
+ } | {
2127
+ name: "list_discounts";
2128
+ description: string;
2129
+ inputSchema: {
2130
+ type: string;
2131
+ properties: {
2132
+ storeId: {
2133
+ type: string;
2134
+ description: string;
2135
+ };
2136
+ page: {
2137
+ type: string;
2138
+ description: string;
2139
+ };
2140
+ customerId?: undefined;
2141
+ email?: undefined;
2142
+ name?: undefined;
2143
+ city?: undefined;
2144
+ country?: undefined;
2145
+ region?: undefined;
2146
+ productId?: undefined;
2147
+ variantId?: undefined;
2148
+ orderId?: undefined;
2149
+ userEmail?: undefined;
2150
+ orderItemId?: undefined;
2151
+ address?: undefined;
2152
+ state?: undefined;
2153
+ zip?: undefined;
2154
+ amount?: undefined;
2155
+ subscriptionId?: undefined;
2156
+ billingAnchor?: undefined;
2157
+ subscriptionItemId?: undefined;
2158
+ subscriptionInvoiceId?: undefined;
2159
+ discountId?: undefined;
2160
+ code?: undefined;
2161
+ amountType?: undefined;
2162
+ duration?: undefined;
2163
+ durationInMonths?: undefined;
2164
+ licenseKeyId?: undefined;
2165
+ status?: undefined;
2166
+ fileId?: undefined;
2167
+ usageRecordId?: undefined;
2168
+ quantity?: undefined;
2169
+ action?: undefined;
2170
+ customPrice?: undefined;
2171
+ productOptions?: undefined;
2172
+ checkoutOptions?: undefined;
2173
+ checkoutData?: undefined;
2174
+ preview?: undefined;
2175
+ expiresAt?: undefined;
2176
+ webhookId?: undefined;
2177
+ url?: undefined;
2178
+ events?: undefined;
2179
+ secret?: undefined;
2180
+ revenue?: undefined;
2181
+ company?: undefined;
2182
+ title?: undefined;
2183
+ query?: undefined;
2184
+ decision?: undefined;
2185
+ rationale?: undefined;
2186
+ expectedOutcome?: undefined;
2187
+ category?: undefined;
2188
+ startDate?: undefined;
2189
+ endDate?: undefined;
2190
+ minRiskScore?: undefined;
2191
+ limit?: undefined;
2192
+ };
2193
+ required: never[];
2194
+ };
2195
+ } | {
2196
+ name: "create_discount";
2197
+ description: string;
2198
+ inputSchema: {
2199
+ type: string;
2200
+ properties: {
2201
+ storeId: {
2202
+ type: string;
2203
+ description: string;
2204
+ };
2205
+ name: {
2206
+ type: string;
2207
+ description: string;
2208
+ };
2209
+ code: {
2210
+ type: string;
2211
+ description: string;
2212
+ };
2213
+ amount: {
2214
+ type: string;
2215
+ description: string;
2216
+ };
2217
+ amountType: {
2218
+ type: string;
2219
+ description: string;
2220
+ };
2221
+ duration: {
2222
+ type: string;
2223
+ description: string;
2224
+ };
2225
+ durationInMonths: {
2226
+ type: string;
2227
+ description: string;
2228
+ };
2229
+ page?: undefined;
2230
+ customerId?: undefined;
2231
+ email?: undefined;
2232
+ city?: undefined;
2233
+ country?: undefined;
2234
+ region?: undefined;
2235
+ productId?: undefined;
2236
+ variantId?: undefined;
2237
+ orderId?: undefined;
2238
+ userEmail?: undefined;
2239
+ orderItemId?: undefined;
2240
+ address?: undefined;
2241
+ state?: undefined;
2242
+ zip?: undefined;
2243
+ subscriptionId?: undefined;
2244
+ billingAnchor?: undefined;
2245
+ subscriptionItemId?: undefined;
2246
+ subscriptionInvoiceId?: undefined;
2247
+ discountId?: undefined;
2248
+ licenseKeyId?: undefined;
2249
+ status?: undefined;
2250
+ fileId?: undefined;
2251
+ usageRecordId?: undefined;
2252
+ quantity?: undefined;
2253
+ action?: undefined;
2254
+ customPrice?: undefined;
2255
+ productOptions?: undefined;
2256
+ checkoutOptions?: undefined;
2257
+ checkoutData?: undefined;
2258
+ preview?: undefined;
2259
+ expiresAt?: undefined;
2260
+ webhookId?: undefined;
2261
+ url?: undefined;
2262
+ events?: undefined;
2263
+ secret?: undefined;
2264
+ revenue?: undefined;
2265
+ company?: undefined;
2266
+ title?: undefined;
2267
+ query?: undefined;
2268
+ decision?: undefined;
2269
+ rationale?: undefined;
2270
+ expectedOutcome?: undefined;
2271
+ category?: undefined;
2272
+ startDate?: undefined;
2273
+ endDate?: undefined;
2274
+ minRiskScore?: undefined;
2275
+ limit?: undefined;
2276
+ };
2277
+ required: string[];
2278
+ };
2279
+ } | {
2280
+ name: "delete_discount";
2281
+ description: string;
2282
+ inputSchema: {
2283
+ type: string;
2284
+ properties: {
2285
+ discountId: {
2286
+ type: string;
2287
+ description: string;
2288
+ };
2289
+ storeId?: undefined;
2290
+ page?: undefined;
2291
+ customerId?: undefined;
2292
+ email?: undefined;
2293
+ name?: undefined;
2294
+ city?: undefined;
2295
+ country?: undefined;
2296
+ region?: undefined;
2297
+ productId?: undefined;
2298
+ variantId?: undefined;
2299
+ orderId?: undefined;
2300
+ userEmail?: undefined;
2301
+ orderItemId?: undefined;
2302
+ address?: undefined;
2303
+ state?: undefined;
2304
+ zip?: undefined;
2305
+ amount?: undefined;
2306
+ subscriptionId?: undefined;
2307
+ billingAnchor?: undefined;
2308
+ subscriptionItemId?: undefined;
2309
+ subscriptionInvoiceId?: undefined;
2310
+ code?: undefined;
2311
+ amountType?: undefined;
2312
+ duration?: undefined;
2313
+ durationInMonths?: undefined;
2314
+ licenseKeyId?: undefined;
2315
+ status?: undefined;
2316
+ fileId?: undefined;
2317
+ usageRecordId?: undefined;
2318
+ quantity?: undefined;
2319
+ action?: undefined;
2320
+ customPrice?: undefined;
2321
+ productOptions?: undefined;
2322
+ checkoutOptions?: undefined;
2323
+ checkoutData?: undefined;
2324
+ preview?: undefined;
2325
+ expiresAt?: undefined;
2326
+ webhookId?: undefined;
2327
+ url?: undefined;
2328
+ events?: undefined;
2329
+ secret?: undefined;
2330
+ revenue?: undefined;
2331
+ company?: undefined;
2332
+ title?: undefined;
2333
+ query?: undefined;
2334
+ decision?: undefined;
2335
+ rationale?: undefined;
2336
+ expectedOutcome?: undefined;
2337
+ category?: undefined;
2338
+ startDate?: undefined;
2339
+ endDate?: undefined;
2340
+ minRiskScore?: undefined;
2341
+ limit?: undefined;
2342
+ };
2343
+ required: string[];
2344
+ };
2345
+ } | {
2346
+ name: "get_license_key";
2347
+ description: string;
2348
+ inputSchema: {
2349
+ type: string;
2350
+ properties: {
2351
+ licenseKeyId: {
2352
+ type: string;
2353
+ description: string;
2354
+ };
2355
+ storeId?: undefined;
2356
+ page?: undefined;
2357
+ customerId?: undefined;
2358
+ email?: undefined;
2359
+ name?: undefined;
2360
+ city?: undefined;
2361
+ country?: undefined;
2362
+ region?: undefined;
2363
+ productId?: undefined;
2364
+ variantId?: undefined;
2365
+ orderId?: undefined;
2366
+ userEmail?: undefined;
2367
+ orderItemId?: undefined;
2368
+ address?: undefined;
2369
+ state?: undefined;
2370
+ zip?: undefined;
2371
+ amount?: undefined;
2372
+ subscriptionId?: undefined;
2373
+ billingAnchor?: undefined;
2374
+ subscriptionItemId?: undefined;
2375
+ subscriptionInvoiceId?: undefined;
2376
+ discountId?: undefined;
2377
+ code?: undefined;
2378
+ amountType?: undefined;
2379
+ duration?: undefined;
2380
+ durationInMonths?: undefined;
2381
+ status?: undefined;
2382
+ fileId?: undefined;
2383
+ usageRecordId?: undefined;
2384
+ quantity?: undefined;
2385
+ action?: undefined;
2386
+ customPrice?: undefined;
2387
+ productOptions?: undefined;
2388
+ checkoutOptions?: undefined;
2389
+ checkoutData?: undefined;
2390
+ preview?: undefined;
2391
+ expiresAt?: undefined;
2392
+ webhookId?: undefined;
2393
+ url?: undefined;
2394
+ events?: undefined;
2395
+ secret?: undefined;
2396
+ revenue?: undefined;
2397
+ company?: undefined;
2398
+ title?: undefined;
2399
+ query?: undefined;
2400
+ decision?: undefined;
2401
+ rationale?: undefined;
2402
+ expectedOutcome?: undefined;
2403
+ category?: undefined;
2404
+ startDate?: undefined;
2405
+ endDate?: undefined;
2406
+ minRiskScore?: undefined;
2407
+ limit?: undefined;
2408
+ };
2409
+ required: string[];
2410
+ };
2411
+ } | {
2412
+ name: "list_license_keys";
2413
+ description: string;
2414
+ inputSchema: {
2415
+ type: string;
2416
+ properties: {
2417
+ storeId: {
2418
+ type: string;
2419
+ description: string;
2420
+ };
2421
+ orderId: {
2422
+ type: string;
2423
+ description: string;
2424
+ };
2425
+ page: {
2426
+ type: string;
2427
+ description: string;
2428
+ };
2429
+ customerId?: undefined;
2430
+ email?: undefined;
2431
+ name?: undefined;
2432
+ city?: undefined;
2433
+ country?: undefined;
2434
+ region?: undefined;
2435
+ productId?: undefined;
2436
+ variantId?: undefined;
2437
+ userEmail?: undefined;
2438
+ orderItemId?: undefined;
2439
+ address?: undefined;
2440
+ state?: undefined;
2441
+ zip?: undefined;
2442
+ amount?: undefined;
2443
+ subscriptionId?: undefined;
2444
+ billingAnchor?: undefined;
2445
+ subscriptionItemId?: undefined;
2446
+ subscriptionInvoiceId?: undefined;
2447
+ discountId?: undefined;
2448
+ code?: undefined;
2449
+ amountType?: undefined;
2450
+ duration?: undefined;
2451
+ durationInMonths?: undefined;
2452
+ licenseKeyId?: undefined;
2453
+ status?: undefined;
2454
+ fileId?: undefined;
2455
+ usageRecordId?: undefined;
2456
+ quantity?: undefined;
2457
+ action?: undefined;
2458
+ customPrice?: undefined;
2459
+ productOptions?: undefined;
2460
+ checkoutOptions?: undefined;
2461
+ checkoutData?: undefined;
2462
+ preview?: undefined;
2463
+ expiresAt?: undefined;
2464
+ webhookId?: undefined;
2465
+ url?: undefined;
2466
+ events?: undefined;
2467
+ secret?: undefined;
2468
+ revenue?: undefined;
2469
+ company?: undefined;
2470
+ title?: undefined;
2471
+ query?: undefined;
2472
+ decision?: undefined;
2473
+ rationale?: undefined;
2474
+ expectedOutcome?: undefined;
2475
+ category?: undefined;
2476
+ startDate?: undefined;
2477
+ endDate?: undefined;
2478
+ minRiskScore?: undefined;
2479
+ limit?: undefined;
2480
+ };
2481
+ required: never[];
2482
+ };
2483
+ } | {
2484
+ name: "update_license_key";
2485
+ description: string;
2486
+ inputSchema: {
2487
+ type: string;
2488
+ properties: {
2489
+ licenseKeyId: {
2490
+ type: string;
2491
+ description: string;
2492
+ };
2493
+ status: {
2494
+ type: string;
2495
+ description: string;
2496
+ };
2497
+ storeId?: undefined;
2498
+ page?: undefined;
2499
+ customerId?: undefined;
2500
+ email?: undefined;
2501
+ name?: undefined;
2502
+ city?: undefined;
2503
+ country?: undefined;
2504
+ region?: undefined;
2505
+ productId?: undefined;
2506
+ variantId?: undefined;
2507
+ orderId?: undefined;
2508
+ userEmail?: undefined;
2509
+ orderItemId?: undefined;
2510
+ address?: undefined;
2511
+ state?: undefined;
2512
+ zip?: undefined;
2513
+ amount?: undefined;
2514
+ subscriptionId?: undefined;
2515
+ billingAnchor?: undefined;
2516
+ subscriptionItemId?: undefined;
2517
+ subscriptionInvoiceId?: undefined;
2518
+ discountId?: undefined;
2519
+ code?: undefined;
2520
+ amountType?: undefined;
2521
+ duration?: undefined;
2522
+ durationInMonths?: undefined;
2523
+ fileId?: undefined;
2524
+ usageRecordId?: undefined;
2525
+ quantity?: undefined;
2526
+ action?: undefined;
2527
+ customPrice?: undefined;
2528
+ productOptions?: undefined;
2529
+ checkoutOptions?: undefined;
2530
+ checkoutData?: undefined;
2531
+ preview?: undefined;
2532
+ expiresAt?: undefined;
2533
+ webhookId?: undefined;
2534
+ url?: undefined;
2535
+ events?: undefined;
2536
+ secret?: undefined;
2537
+ revenue?: undefined;
2538
+ company?: undefined;
2539
+ title?: undefined;
2540
+ query?: undefined;
2541
+ decision?: undefined;
2542
+ rationale?: undefined;
2543
+ expectedOutcome?: undefined;
2544
+ category?: undefined;
2545
+ startDate?: undefined;
2546
+ endDate?: undefined;
2547
+ minRiskScore?: undefined;
2548
+ limit?: undefined;
2549
+ };
2550
+ required: string[];
2551
+ };
2552
+ } | {
2553
+ name: "get_file";
2554
+ description: string;
2555
+ inputSchema: {
2556
+ type: string;
2557
+ properties: {
2558
+ fileId: {
2559
+ type: string;
2560
+ description: string;
2561
+ };
2562
+ storeId?: undefined;
2563
+ page?: undefined;
2564
+ customerId?: undefined;
2565
+ email?: undefined;
2566
+ name?: undefined;
2567
+ city?: undefined;
2568
+ country?: undefined;
2569
+ region?: undefined;
2570
+ productId?: undefined;
2571
+ variantId?: undefined;
2572
+ orderId?: undefined;
2573
+ userEmail?: undefined;
2574
+ orderItemId?: undefined;
2575
+ address?: undefined;
2576
+ state?: undefined;
2577
+ zip?: undefined;
2578
+ amount?: undefined;
2579
+ subscriptionId?: undefined;
2580
+ billingAnchor?: undefined;
2581
+ subscriptionItemId?: undefined;
2582
+ subscriptionInvoiceId?: undefined;
2583
+ discountId?: undefined;
2584
+ code?: undefined;
2585
+ amountType?: undefined;
2586
+ duration?: undefined;
2587
+ durationInMonths?: undefined;
2588
+ licenseKeyId?: undefined;
2589
+ status?: undefined;
2590
+ usageRecordId?: undefined;
2591
+ quantity?: undefined;
2592
+ action?: undefined;
2593
+ customPrice?: undefined;
2594
+ productOptions?: undefined;
2595
+ checkoutOptions?: undefined;
2596
+ checkoutData?: undefined;
2597
+ preview?: undefined;
2598
+ expiresAt?: undefined;
2599
+ webhookId?: undefined;
2600
+ url?: undefined;
2601
+ events?: undefined;
2602
+ secret?: undefined;
2603
+ revenue?: undefined;
2604
+ company?: undefined;
2605
+ title?: undefined;
2606
+ query?: undefined;
2607
+ decision?: undefined;
2608
+ rationale?: undefined;
2609
+ expectedOutcome?: undefined;
2610
+ category?: undefined;
2611
+ startDate?: undefined;
2612
+ endDate?: undefined;
2613
+ minRiskScore?: undefined;
2614
+ limit?: undefined;
2615
+ };
2616
+ required: string[];
2617
+ };
2618
+ } | {
2619
+ name: "list_files";
2620
+ description: string;
2621
+ inputSchema: {
2622
+ type: string;
2623
+ properties: {
2624
+ productId: {
2625
+ type: string;
2626
+ description: string;
2627
+ };
2628
+ variantId: {
2629
+ type: string;
2630
+ description: string;
2631
+ };
2632
+ page: {
2633
+ type: string;
2634
+ description: string;
2635
+ };
2636
+ storeId?: undefined;
2637
+ customerId?: undefined;
2638
+ email?: undefined;
2639
+ name?: undefined;
2640
+ city?: undefined;
2641
+ country?: undefined;
2642
+ region?: undefined;
2643
+ orderId?: undefined;
2644
+ userEmail?: undefined;
2645
+ orderItemId?: undefined;
2646
+ address?: undefined;
2647
+ state?: undefined;
2648
+ zip?: undefined;
2649
+ amount?: undefined;
2650
+ subscriptionId?: undefined;
2651
+ billingAnchor?: undefined;
2652
+ subscriptionItemId?: undefined;
2653
+ subscriptionInvoiceId?: undefined;
2654
+ discountId?: undefined;
2655
+ code?: undefined;
2656
+ amountType?: undefined;
2657
+ duration?: undefined;
2658
+ durationInMonths?: undefined;
2659
+ licenseKeyId?: undefined;
2660
+ status?: undefined;
2661
+ fileId?: undefined;
2662
+ usageRecordId?: undefined;
2663
+ quantity?: undefined;
2664
+ action?: undefined;
2665
+ customPrice?: undefined;
2666
+ productOptions?: undefined;
2667
+ checkoutOptions?: undefined;
2668
+ checkoutData?: undefined;
2669
+ preview?: undefined;
2670
+ expiresAt?: undefined;
2671
+ webhookId?: undefined;
2672
+ url?: undefined;
2673
+ events?: undefined;
2674
+ secret?: undefined;
2675
+ revenue?: undefined;
2676
+ company?: undefined;
2677
+ title?: undefined;
2678
+ query?: undefined;
2679
+ decision?: undefined;
2680
+ rationale?: undefined;
2681
+ expectedOutcome?: undefined;
2682
+ category?: undefined;
2683
+ startDate?: undefined;
2684
+ endDate?: undefined;
2685
+ minRiskScore?: undefined;
2686
+ limit?: undefined;
2687
+ };
2688
+ required: never[];
2689
+ };
2690
+ } | {
2691
+ name: "get_usage_record";
2692
+ description: string;
2693
+ inputSchema: {
2694
+ type: string;
2695
+ properties: {
2696
+ usageRecordId: {
2697
+ type: string;
2698
+ description: string;
2699
+ };
2700
+ storeId?: undefined;
2701
+ page?: undefined;
2702
+ customerId?: undefined;
2703
+ email?: undefined;
2704
+ name?: undefined;
2705
+ city?: undefined;
2706
+ country?: undefined;
2707
+ region?: undefined;
2708
+ productId?: undefined;
2709
+ variantId?: undefined;
2710
+ orderId?: undefined;
2711
+ userEmail?: undefined;
2712
+ orderItemId?: undefined;
2713
+ address?: undefined;
2714
+ state?: undefined;
2715
+ zip?: undefined;
2716
+ amount?: undefined;
2717
+ subscriptionId?: undefined;
2718
+ billingAnchor?: undefined;
2719
+ subscriptionItemId?: undefined;
2720
+ subscriptionInvoiceId?: undefined;
2721
+ discountId?: undefined;
2722
+ code?: undefined;
2723
+ amountType?: undefined;
2724
+ duration?: undefined;
2725
+ durationInMonths?: undefined;
2726
+ licenseKeyId?: undefined;
2727
+ status?: undefined;
2728
+ fileId?: undefined;
2729
+ quantity?: undefined;
2730
+ action?: undefined;
2731
+ customPrice?: undefined;
2732
+ productOptions?: undefined;
2733
+ checkoutOptions?: undefined;
2734
+ checkoutData?: undefined;
2735
+ preview?: undefined;
2736
+ expiresAt?: undefined;
2737
+ webhookId?: undefined;
2738
+ url?: undefined;
2739
+ events?: undefined;
2740
+ secret?: undefined;
2741
+ revenue?: undefined;
2742
+ company?: undefined;
2743
+ title?: undefined;
2744
+ query?: undefined;
2745
+ decision?: undefined;
2746
+ rationale?: undefined;
2747
+ expectedOutcome?: undefined;
2748
+ category?: undefined;
2749
+ startDate?: undefined;
2750
+ endDate?: undefined;
2751
+ minRiskScore?: undefined;
2752
+ limit?: undefined;
2753
+ };
2754
+ required: string[];
2755
+ };
2756
+ } | {
2757
+ name: "list_usage_records";
2758
+ description: string;
2759
+ inputSchema: {
2760
+ type: string;
2761
+ properties: {
2762
+ subscriptionItemId: {
2763
+ type: string;
2764
+ description: string;
2765
+ };
2766
+ page: {
2767
+ type: string;
2768
+ description: string;
2769
+ };
2770
+ storeId?: undefined;
2771
+ customerId?: undefined;
2772
+ email?: undefined;
2773
+ name?: undefined;
2774
+ city?: undefined;
2775
+ country?: undefined;
2776
+ region?: undefined;
2777
+ productId?: undefined;
2778
+ variantId?: undefined;
2779
+ orderId?: undefined;
2780
+ userEmail?: undefined;
2781
+ orderItemId?: undefined;
2782
+ address?: undefined;
2783
+ state?: undefined;
2784
+ zip?: undefined;
2785
+ amount?: undefined;
2786
+ subscriptionId?: undefined;
2787
+ billingAnchor?: undefined;
2788
+ subscriptionInvoiceId?: undefined;
2789
+ discountId?: undefined;
2790
+ code?: undefined;
2791
+ amountType?: undefined;
2792
+ duration?: undefined;
2793
+ durationInMonths?: undefined;
2794
+ licenseKeyId?: undefined;
2795
+ status?: undefined;
2796
+ fileId?: undefined;
2797
+ usageRecordId?: undefined;
2798
+ quantity?: undefined;
2799
+ action?: undefined;
2800
+ customPrice?: undefined;
2801
+ productOptions?: undefined;
2802
+ checkoutOptions?: undefined;
2803
+ checkoutData?: undefined;
2804
+ preview?: undefined;
2805
+ expiresAt?: undefined;
2806
+ webhookId?: undefined;
2807
+ url?: undefined;
2808
+ events?: undefined;
2809
+ secret?: undefined;
2810
+ revenue?: undefined;
2811
+ company?: undefined;
2812
+ title?: undefined;
2813
+ query?: undefined;
2814
+ decision?: undefined;
2815
+ rationale?: undefined;
2816
+ expectedOutcome?: undefined;
2817
+ category?: undefined;
2818
+ startDate?: undefined;
2819
+ endDate?: undefined;
2820
+ minRiskScore?: undefined;
2821
+ limit?: undefined;
2822
+ };
2823
+ required: never[];
2824
+ };
2825
+ } | {
2826
+ name: "create_usage_record";
2827
+ description: string;
2828
+ inputSchema: {
2829
+ type: string;
2830
+ properties: {
2831
+ subscriptionItemId: {
2832
+ type: string;
2833
+ description: string;
2834
+ };
2835
+ quantity: {
2836
+ type: string;
2837
+ description: string;
2838
+ };
2839
+ action: {
2840
+ type: string;
2841
+ description: string;
2842
+ };
2843
+ storeId?: undefined;
2844
+ page?: undefined;
2845
+ customerId?: undefined;
2846
+ email?: undefined;
2847
+ name?: undefined;
2848
+ city?: undefined;
2849
+ country?: undefined;
2850
+ region?: undefined;
2851
+ productId?: undefined;
2852
+ variantId?: undefined;
2853
+ orderId?: undefined;
2854
+ userEmail?: undefined;
2855
+ orderItemId?: undefined;
2856
+ address?: undefined;
2857
+ state?: undefined;
2858
+ zip?: undefined;
2859
+ amount?: undefined;
2860
+ subscriptionId?: undefined;
2861
+ billingAnchor?: undefined;
2862
+ subscriptionInvoiceId?: undefined;
2863
+ discountId?: undefined;
2864
+ code?: undefined;
2865
+ amountType?: undefined;
2866
+ duration?: undefined;
2867
+ durationInMonths?: undefined;
2868
+ licenseKeyId?: undefined;
2869
+ status?: undefined;
2870
+ fileId?: undefined;
2871
+ usageRecordId?: undefined;
2872
+ customPrice?: undefined;
2873
+ productOptions?: undefined;
2874
+ checkoutOptions?: undefined;
2875
+ checkoutData?: undefined;
2876
+ preview?: undefined;
2877
+ expiresAt?: undefined;
2878
+ webhookId?: undefined;
2879
+ url?: undefined;
2880
+ events?: undefined;
2881
+ secret?: undefined;
2882
+ revenue?: undefined;
2883
+ company?: undefined;
2884
+ title?: undefined;
2885
+ query?: undefined;
2886
+ decision?: undefined;
2887
+ rationale?: undefined;
2888
+ expectedOutcome?: undefined;
2889
+ category?: undefined;
2890
+ startDate?: undefined;
2891
+ endDate?: undefined;
2892
+ minRiskScore?: undefined;
2893
+ limit?: undefined;
2894
+ };
2895
+ required: string[];
2896
+ };
2897
+ } | {
2898
+ name: "create_checkout";
2899
+ description: string;
2900
+ inputSchema: {
2901
+ type: string;
2902
+ properties: {
2903
+ storeId: {
2904
+ type: string;
2905
+ description: string;
2906
+ };
2907
+ variantId: {
2908
+ type: string;
2909
+ description: string;
2910
+ };
2911
+ customPrice: {
2912
+ type: string;
2913
+ description: string;
2914
+ };
2915
+ productOptions: {
2916
+ type: string;
2917
+ description: string;
2918
+ };
2919
+ checkoutOptions: {
2920
+ type: string;
2921
+ description: string;
2922
+ };
2923
+ checkoutData: {
2924
+ type: string;
2925
+ description: string;
2926
+ };
2927
+ preview: {
2928
+ type: string;
2929
+ description: string;
2930
+ };
2931
+ expiresAt: {
2932
+ type: string;
2933
+ description: string;
2934
+ };
2935
+ page?: undefined;
2936
+ customerId?: undefined;
2937
+ email?: undefined;
2938
+ name?: undefined;
2939
+ city?: undefined;
2940
+ country?: undefined;
2941
+ region?: undefined;
2942
+ productId?: undefined;
2943
+ orderId?: undefined;
2944
+ userEmail?: undefined;
2945
+ orderItemId?: undefined;
2946
+ address?: undefined;
2947
+ state?: undefined;
2948
+ zip?: undefined;
2949
+ amount?: undefined;
2950
+ subscriptionId?: undefined;
2951
+ billingAnchor?: undefined;
2952
+ subscriptionItemId?: undefined;
2953
+ subscriptionInvoiceId?: undefined;
2954
+ discountId?: undefined;
2955
+ code?: undefined;
2956
+ amountType?: undefined;
2957
+ duration?: undefined;
2958
+ durationInMonths?: undefined;
2959
+ licenseKeyId?: undefined;
2960
+ status?: undefined;
2961
+ fileId?: undefined;
2962
+ usageRecordId?: undefined;
2963
+ quantity?: undefined;
2964
+ action?: undefined;
2965
+ webhookId?: undefined;
2966
+ url?: undefined;
2967
+ events?: undefined;
2968
+ secret?: undefined;
2969
+ revenue?: undefined;
2970
+ company?: undefined;
2971
+ title?: undefined;
2972
+ query?: undefined;
2973
+ decision?: undefined;
2974
+ rationale?: undefined;
2975
+ expectedOutcome?: undefined;
2976
+ category?: undefined;
2977
+ startDate?: undefined;
2978
+ endDate?: undefined;
2979
+ minRiskScore?: undefined;
2980
+ limit?: undefined;
2981
+ };
2982
+ required: string[];
2983
+ };
2984
+ } | {
2985
+ name: "get_webhook";
2986
+ description: string;
2987
+ inputSchema: {
2988
+ type: string;
2989
+ properties: {
2990
+ webhookId: {
2991
+ type: string;
2992
+ description: string;
2993
+ };
2994
+ storeId?: undefined;
2995
+ page?: undefined;
2996
+ customerId?: undefined;
2997
+ email?: undefined;
2998
+ name?: undefined;
2999
+ city?: undefined;
3000
+ country?: undefined;
3001
+ region?: undefined;
3002
+ productId?: undefined;
3003
+ variantId?: undefined;
3004
+ orderId?: undefined;
3005
+ userEmail?: undefined;
3006
+ orderItemId?: undefined;
3007
+ address?: undefined;
3008
+ state?: undefined;
3009
+ zip?: undefined;
3010
+ amount?: undefined;
3011
+ subscriptionId?: undefined;
3012
+ billingAnchor?: undefined;
3013
+ subscriptionItemId?: undefined;
3014
+ subscriptionInvoiceId?: undefined;
3015
+ discountId?: undefined;
3016
+ code?: undefined;
3017
+ amountType?: undefined;
3018
+ duration?: undefined;
3019
+ durationInMonths?: undefined;
3020
+ licenseKeyId?: undefined;
3021
+ status?: undefined;
3022
+ fileId?: undefined;
3023
+ usageRecordId?: undefined;
3024
+ quantity?: undefined;
3025
+ action?: undefined;
3026
+ customPrice?: undefined;
3027
+ productOptions?: undefined;
3028
+ checkoutOptions?: undefined;
3029
+ checkoutData?: undefined;
3030
+ preview?: undefined;
3031
+ expiresAt?: undefined;
3032
+ url?: undefined;
3033
+ events?: undefined;
3034
+ secret?: undefined;
3035
+ revenue?: undefined;
3036
+ company?: undefined;
3037
+ title?: undefined;
3038
+ query?: undefined;
3039
+ decision?: undefined;
3040
+ rationale?: undefined;
3041
+ expectedOutcome?: undefined;
3042
+ category?: undefined;
3043
+ startDate?: undefined;
3044
+ endDate?: undefined;
3045
+ minRiskScore?: undefined;
3046
+ limit?: undefined;
3047
+ };
3048
+ required: string[];
3049
+ };
3050
+ } | {
3051
+ name: "list_webhooks";
3052
+ description: string;
3053
+ inputSchema: {
3054
+ type: string;
3055
+ properties: {
3056
+ storeId: {
3057
+ type: string;
3058
+ description: string;
3059
+ };
3060
+ page: {
3061
+ type: string;
3062
+ description: string;
3063
+ };
3064
+ customerId?: undefined;
3065
+ email?: undefined;
3066
+ name?: undefined;
3067
+ city?: undefined;
3068
+ country?: undefined;
3069
+ region?: undefined;
3070
+ productId?: undefined;
3071
+ variantId?: undefined;
3072
+ orderId?: undefined;
3073
+ userEmail?: undefined;
3074
+ orderItemId?: undefined;
3075
+ address?: undefined;
3076
+ state?: undefined;
3077
+ zip?: undefined;
3078
+ amount?: undefined;
3079
+ subscriptionId?: undefined;
3080
+ billingAnchor?: undefined;
3081
+ subscriptionItemId?: undefined;
3082
+ subscriptionInvoiceId?: undefined;
3083
+ discountId?: undefined;
3084
+ code?: undefined;
3085
+ amountType?: undefined;
3086
+ duration?: undefined;
3087
+ durationInMonths?: undefined;
3088
+ licenseKeyId?: undefined;
3089
+ status?: undefined;
3090
+ fileId?: undefined;
3091
+ usageRecordId?: undefined;
3092
+ quantity?: undefined;
3093
+ action?: undefined;
3094
+ customPrice?: undefined;
3095
+ productOptions?: undefined;
3096
+ checkoutOptions?: undefined;
3097
+ checkoutData?: undefined;
3098
+ preview?: undefined;
3099
+ expiresAt?: undefined;
3100
+ webhookId?: undefined;
3101
+ url?: undefined;
3102
+ events?: undefined;
3103
+ secret?: undefined;
3104
+ revenue?: undefined;
3105
+ company?: undefined;
3106
+ title?: undefined;
3107
+ query?: undefined;
3108
+ decision?: undefined;
3109
+ rationale?: undefined;
3110
+ expectedOutcome?: undefined;
3111
+ category?: undefined;
3112
+ startDate?: undefined;
3113
+ endDate?: undefined;
3114
+ minRiskScore?: undefined;
3115
+ limit?: undefined;
3116
+ };
3117
+ required: never[];
3118
+ };
3119
+ } | {
3120
+ name: "create_webhook";
3121
+ description: string;
3122
+ inputSchema: {
3123
+ type: string;
3124
+ properties: {
3125
+ storeId: {
3126
+ type: string;
3127
+ description: string;
3128
+ };
3129
+ url: {
3130
+ type: string;
3131
+ description: string;
3132
+ };
3133
+ events: {
3134
+ type: string;
3135
+ items: {
3136
+ type: string;
3137
+ };
3138
+ description: string;
3139
+ };
3140
+ secret: {
3141
+ type: string;
3142
+ description: string;
3143
+ };
3144
+ page?: undefined;
3145
+ customerId?: undefined;
3146
+ email?: undefined;
3147
+ name?: undefined;
3148
+ city?: undefined;
3149
+ country?: undefined;
3150
+ region?: undefined;
3151
+ productId?: undefined;
3152
+ variantId?: undefined;
3153
+ orderId?: undefined;
3154
+ userEmail?: undefined;
3155
+ orderItemId?: undefined;
3156
+ address?: undefined;
3157
+ state?: undefined;
3158
+ zip?: undefined;
3159
+ amount?: undefined;
3160
+ subscriptionId?: undefined;
3161
+ billingAnchor?: undefined;
3162
+ subscriptionItemId?: undefined;
3163
+ subscriptionInvoiceId?: undefined;
3164
+ discountId?: undefined;
3165
+ code?: undefined;
3166
+ amountType?: undefined;
3167
+ duration?: undefined;
3168
+ durationInMonths?: undefined;
3169
+ licenseKeyId?: undefined;
3170
+ status?: undefined;
3171
+ fileId?: undefined;
3172
+ usageRecordId?: undefined;
3173
+ quantity?: undefined;
3174
+ action?: undefined;
3175
+ customPrice?: undefined;
3176
+ productOptions?: undefined;
3177
+ checkoutOptions?: undefined;
3178
+ checkoutData?: undefined;
3179
+ preview?: undefined;
3180
+ expiresAt?: undefined;
3181
+ webhookId?: undefined;
3182
+ revenue?: undefined;
3183
+ company?: undefined;
3184
+ title?: undefined;
3185
+ query?: undefined;
3186
+ decision?: undefined;
3187
+ rationale?: undefined;
3188
+ expectedOutcome?: undefined;
3189
+ category?: undefined;
3190
+ startDate?: undefined;
3191
+ endDate?: undefined;
3192
+ minRiskScore?: undefined;
3193
+ limit?: undefined;
3194
+ };
3195
+ required: string[];
3196
+ };
3197
+ } | {
3198
+ name: "update_webhook";
3199
+ description: string;
3200
+ inputSchema: {
3201
+ type: string;
3202
+ properties: {
3203
+ webhookId: {
3204
+ type: string;
3205
+ description: string;
3206
+ };
3207
+ url: {
3208
+ type: string;
3209
+ description: string;
3210
+ };
3211
+ events: {
3212
+ type: string;
3213
+ items: {
3214
+ type: string;
3215
+ };
3216
+ description: string;
3217
+ };
3218
+ secret: {
3219
+ type: string;
3220
+ description: string;
3221
+ };
3222
+ storeId?: undefined;
3223
+ page?: undefined;
3224
+ customerId?: undefined;
3225
+ email?: undefined;
3226
+ name?: undefined;
3227
+ city?: undefined;
3228
+ country?: undefined;
3229
+ region?: undefined;
3230
+ productId?: undefined;
3231
+ variantId?: undefined;
3232
+ orderId?: undefined;
3233
+ userEmail?: undefined;
3234
+ orderItemId?: undefined;
3235
+ address?: undefined;
3236
+ state?: undefined;
3237
+ zip?: undefined;
3238
+ amount?: undefined;
3239
+ subscriptionId?: undefined;
3240
+ billingAnchor?: undefined;
3241
+ subscriptionItemId?: undefined;
3242
+ subscriptionInvoiceId?: undefined;
3243
+ discountId?: undefined;
3244
+ code?: undefined;
3245
+ amountType?: undefined;
3246
+ duration?: undefined;
3247
+ durationInMonths?: undefined;
3248
+ licenseKeyId?: undefined;
3249
+ status?: undefined;
3250
+ fileId?: undefined;
3251
+ usageRecordId?: undefined;
3252
+ quantity?: undefined;
3253
+ action?: undefined;
3254
+ customPrice?: undefined;
3255
+ productOptions?: undefined;
3256
+ checkoutOptions?: undefined;
3257
+ checkoutData?: undefined;
3258
+ preview?: undefined;
3259
+ expiresAt?: undefined;
3260
+ revenue?: undefined;
3261
+ company?: undefined;
3262
+ title?: undefined;
3263
+ query?: undefined;
3264
+ decision?: undefined;
3265
+ rationale?: undefined;
3266
+ expectedOutcome?: undefined;
3267
+ category?: undefined;
3268
+ startDate?: undefined;
3269
+ endDate?: undefined;
3270
+ minRiskScore?: undefined;
3271
+ limit?: undefined;
3272
+ };
3273
+ required: string[];
3274
+ };
3275
+ } | {
3276
+ name: "delete_webhook";
3277
+ description: string;
3278
+ inputSchema: {
3279
+ type: string;
3280
+ properties: {
3281
+ webhookId: {
3282
+ type: string;
3283
+ description: string;
3284
+ };
3285
+ storeId?: undefined;
3286
+ page?: undefined;
3287
+ customerId?: undefined;
3288
+ email?: undefined;
3289
+ name?: undefined;
3290
+ city?: undefined;
3291
+ country?: undefined;
3292
+ region?: undefined;
3293
+ productId?: undefined;
3294
+ variantId?: undefined;
3295
+ orderId?: undefined;
3296
+ userEmail?: undefined;
3297
+ orderItemId?: undefined;
3298
+ address?: undefined;
3299
+ state?: undefined;
3300
+ zip?: undefined;
3301
+ amount?: undefined;
3302
+ subscriptionId?: undefined;
3303
+ billingAnchor?: undefined;
3304
+ subscriptionItemId?: undefined;
3305
+ subscriptionInvoiceId?: undefined;
3306
+ discountId?: undefined;
3307
+ code?: undefined;
3308
+ amountType?: undefined;
3309
+ duration?: undefined;
3310
+ durationInMonths?: undefined;
3311
+ licenseKeyId?: undefined;
3312
+ status?: undefined;
3313
+ fileId?: undefined;
3314
+ usageRecordId?: undefined;
3315
+ quantity?: undefined;
3316
+ action?: undefined;
3317
+ customPrice?: undefined;
3318
+ productOptions?: undefined;
3319
+ checkoutOptions?: undefined;
3320
+ checkoutData?: undefined;
3321
+ preview?: undefined;
3322
+ expiresAt?: undefined;
3323
+ url?: undefined;
3324
+ events?: undefined;
3325
+ secret?: undefined;
3326
+ revenue?: undefined;
3327
+ company?: undefined;
3328
+ title?: undefined;
3329
+ query?: undefined;
3330
+ decision?: undefined;
3331
+ rationale?: undefined;
3332
+ expectedOutcome?: undefined;
3333
+ category?: undefined;
3334
+ startDate?: undefined;
3335
+ endDate?: undefined;
3336
+ minRiskScore?: undefined;
3337
+ limit?: undefined;
3338
+ };
3339
+ required: string[];
3340
+ };
3341
+ } | {
3342
+ name: "sync_customer_to_crm";
3343
+ description: string;
3344
+ inputSchema: {
3345
+ type: string;
3346
+ properties: {
3347
+ email: {
3348
+ type: string;
3349
+ description: string;
3350
+ };
3351
+ name: {
3352
+ type: string;
3353
+ description: string;
3354
+ };
3355
+ revenue: {
3356
+ type: string;
3357
+ description: string;
3358
+ };
3359
+ company: {
3360
+ type: string;
3361
+ description: string;
3362
+ };
3363
+ title: {
3364
+ type: string;
3365
+ description: string;
3366
+ };
3367
+ storeId?: undefined;
3368
+ page?: undefined;
3369
+ customerId?: undefined;
3370
+ city?: undefined;
3371
+ country?: undefined;
3372
+ region?: undefined;
3373
+ productId?: undefined;
3374
+ variantId?: undefined;
3375
+ orderId?: undefined;
3376
+ userEmail?: undefined;
3377
+ orderItemId?: undefined;
3378
+ address?: undefined;
3379
+ state?: undefined;
3380
+ zip?: undefined;
3381
+ amount?: undefined;
3382
+ subscriptionId?: undefined;
3383
+ billingAnchor?: undefined;
3384
+ subscriptionItemId?: undefined;
3385
+ subscriptionInvoiceId?: undefined;
3386
+ discountId?: undefined;
3387
+ code?: undefined;
3388
+ amountType?: undefined;
3389
+ duration?: undefined;
3390
+ durationInMonths?: undefined;
3391
+ licenseKeyId?: undefined;
3392
+ status?: undefined;
3393
+ fileId?: undefined;
3394
+ usageRecordId?: undefined;
3395
+ quantity?: undefined;
3396
+ action?: undefined;
3397
+ customPrice?: undefined;
3398
+ productOptions?: undefined;
3399
+ checkoutOptions?: undefined;
3400
+ checkoutData?: undefined;
3401
+ preview?: undefined;
3402
+ expiresAt?: undefined;
3403
+ webhookId?: undefined;
3404
+ url?: undefined;
3405
+ events?: undefined;
3406
+ secret?: undefined;
3407
+ query?: undefined;
3408
+ decision?: undefined;
3409
+ rationale?: undefined;
3410
+ expectedOutcome?: undefined;
3411
+ category?: undefined;
3412
+ startDate?: undefined;
3413
+ endDate?: undefined;
3414
+ minRiskScore?: undefined;
3415
+ limit?: undefined;
3416
+ };
3417
+ required: string[];
3418
+ };
3419
+ } | {
3420
+ name: "search_transactions_natural";
3421
+ description: string;
3422
+ inputSchema: {
3423
+ type: string;
3424
+ properties: {
3425
+ query: {
3426
+ type: string;
3427
+ description: string;
3428
+ };
3429
+ storeId?: undefined;
3430
+ page?: undefined;
3431
+ customerId?: undefined;
3432
+ email?: undefined;
3433
+ name?: undefined;
3434
+ city?: undefined;
3435
+ country?: undefined;
3436
+ region?: undefined;
3437
+ productId?: undefined;
3438
+ variantId?: undefined;
3439
+ orderId?: undefined;
3440
+ userEmail?: undefined;
3441
+ orderItemId?: undefined;
3442
+ address?: undefined;
3443
+ state?: undefined;
3444
+ zip?: undefined;
3445
+ amount?: undefined;
3446
+ subscriptionId?: undefined;
3447
+ billingAnchor?: undefined;
3448
+ subscriptionItemId?: undefined;
3449
+ subscriptionInvoiceId?: undefined;
3450
+ discountId?: undefined;
3451
+ code?: undefined;
3452
+ amountType?: undefined;
3453
+ duration?: undefined;
3454
+ durationInMonths?: undefined;
3455
+ licenseKeyId?: undefined;
3456
+ status?: undefined;
3457
+ fileId?: undefined;
3458
+ usageRecordId?: undefined;
3459
+ quantity?: undefined;
3460
+ action?: undefined;
3461
+ customPrice?: undefined;
3462
+ productOptions?: undefined;
3463
+ checkoutOptions?: undefined;
3464
+ checkoutData?: undefined;
3465
+ preview?: undefined;
3466
+ expiresAt?: undefined;
3467
+ webhookId?: undefined;
3468
+ url?: undefined;
3469
+ events?: undefined;
3470
+ secret?: undefined;
3471
+ revenue?: undefined;
3472
+ company?: undefined;
3473
+ title?: undefined;
3474
+ decision?: undefined;
3475
+ rationale?: undefined;
3476
+ expectedOutcome?: undefined;
3477
+ category?: undefined;
3478
+ startDate?: undefined;
3479
+ endDate?: undefined;
3480
+ minRiskScore?: undefined;
3481
+ limit?: undefined;
3482
+ };
3483
+ required: string[];
3484
+ };
3485
+ } | {
3486
+ name: "analyze_churn_risk";
3487
+ description: string;
3488
+ inputSchema: {
3489
+ type: string;
3490
+ properties: {
3491
+ storeId?: undefined;
3492
+ page?: undefined;
3493
+ customerId?: undefined;
3494
+ email?: undefined;
3495
+ name?: undefined;
3496
+ city?: undefined;
3497
+ country?: undefined;
3498
+ region?: undefined;
3499
+ productId?: undefined;
3500
+ variantId?: undefined;
3501
+ orderId?: undefined;
3502
+ userEmail?: undefined;
3503
+ orderItemId?: undefined;
3504
+ address?: undefined;
3505
+ state?: undefined;
3506
+ zip?: undefined;
3507
+ amount?: undefined;
3508
+ subscriptionId?: undefined;
3509
+ billingAnchor?: undefined;
3510
+ subscriptionItemId?: undefined;
3511
+ subscriptionInvoiceId?: undefined;
3512
+ discountId?: undefined;
3513
+ code?: undefined;
3514
+ amountType?: undefined;
3515
+ duration?: undefined;
3516
+ durationInMonths?: undefined;
3517
+ licenseKeyId?: undefined;
3518
+ status?: undefined;
3519
+ fileId?: undefined;
3520
+ usageRecordId?: undefined;
3521
+ quantity?: undefined;
3522
+ action?: undefined;
3523
+ customPrice?: undefined;
3524
+ productOptions?: undefined;
3525
+ checkoutOptions?: undefined;
3526
+ checkoutData?: undefined;
3527
+ preview?: undefined;
3528
+ expiresAt?: undefined;
3529
+ webhookId?: undefined;
3530
+ url?: undefined;
3531
+ events?: undefined;
3532
+ secret?: undefined;
3533
+ revenue?: undefined;
3534
+ company?: undefined;
3535
+ title?: undefined;
3536
+ query?: undefined;
3537
+ decision?: undefined;
3538
+ rationale?: undefined;
3539
+ expectedOutcome?: undefined;
3540
+ category?: undefined;
3541
+ startDate?: undefined;
3542
+ endDate?: undefined;
3543
+ minRiskScore?: undefined;
3544
+ limit?: undefined;
3545
+ };
3546
+ required?: undefined;
3547
+ };
3548
+ } | {
3549
+ name: "canonize_decision";
3550
+ description: string;
3551
+ inputSchema: {
3552
+ type: string;
3553
+ properties: {
3554
+ decision: {
3555
+ type: string;
3556
+ description: string;
3557
+ };
3558
+ rationale: {
3559
+ type: string;
3560
+ description: string;
3561
+ };
3562
+ expectedOutcome: {
3563
+ type: string;
3564
+ description: string;
3565
+ };
3566
+ category: {
3567
+ type: string;
3568
+ description: string;
3569
+ };
3570
+ storeId?: undefined;
3571
+ page?: undefined;
3572
+ customerId?: undefined;
3573
+ email?: undefined;
3574
+ name?: undefined;
3575
+ city?: undefined;
3576
+ country?: undefined;
3577
+ region?: undefined;
3578
+ productId?: undefined;
3579
+ variantId?: undefined;
3580
+ orderId?: undefined;
3581
+ userEmail?: undefined;
3582
+ orderItemId?: undefined;
3583
+ address?: undefined;
3584
+ state?: undefined;
3585
+ zip?: undefined;
3586
+ amount?: undefined;
3587
+ subscriptionId?: undefined;
3588
+ billingAnchor?: undefined;
3589
+ subscriptionItemId?: undefined;
3590
+ subscriptionInvoiceId?: undefined;
3591
+ discountId?: undefined;
3592
+ code?: undefined;
3593
+ amountType?: undefined;
3594
+ duration?: undefined;
3595
+ durationInMonths?: undefined;
3596
+ licenseKeyId?: undefined;
3597
+ status?: undefined;
3598
+ fileId?: undefined;
3599
+ usageRecordId?: undefined;
3600
+ quantity?: undefined;
3601
+ action?: undefined;
3602
+ customPrice?: undefined;
3603
+ productOptions?: undefined;
3604
+ checkoutOptions?: undefined;
3605
+ checkoutData?: undefined;
3606
+ preview?: undefined;
3607
+ expiresAt?: undefined;
3608
+ webhookId?: undefined;
3609
+ url?: undefined;
3610
+ events?: undefined;
3611
+ secret?: undefined;
3612
+ revenue?: undefined;
3613
+ company?: undefined;
3614
+ title?: undefined;
3615
+ query?: undefined;
3616
+ startDate?: undefined;
3617
+ endDate?: undefined;
3618
+ minRiskScore?: undefined;
3619
+ limit?: undefined;
3620
+ };
3621
+ required: string[];
3622
+ };
3623
+ } | {
3624
+ name: "get_financial_metrics";
3625
+ description: string;
3626
+ inputSchema: {
3627
+ type: string;
3628
+ properties: {
3629
+ storeId: {
3630
+ type: string;
3631
+ description: string;
3632
+ };
3633
+ startDate: {
3634
+ type: string;
3635
+ description: string;
3636
+ };
3637
+ endDate: {
3638
+ type: string;
3639
+ description: string;
3640
+ };
3641
+ page?: undefined;
3642
+ customerId?: undefined;
3643
+ email?: undefined;
3644
+ name?: undefined;
3645
+ city?: undefined;
3646
+ country?: undefined;
3647
+ region?: undefined;
3648
+ productId?: undefined;
3649
+ variantId?: undefined;
3650
+ orderId?: undefined;
3651
+ userEmail?: undefined;
3652
+ orderItemId?: undefined;
3653
+ address?: undefined;
3654
+ state?: undefined;
3655
+ zip?: undefined;
3656
+ amount?: undefined;
3657
+ subscriptionId?: undefined;
3658
+ billingAnchor?: undefined;
3659
+ subscriptionItemId?: undefined;
3660
+ subscriptionInvoiceId?: undefined;
3661
+ discountId?: undefined;
3662
+ code?: undefined;
3663
+ amountType?: undefined;
3664
+ duration?: undefined;
3665
+ durationInMonths?: undefined;
3666
+ licenseKeyId?: undefined;
3667
+ status?: undefined;
3668
+ fileId?: undefined;
3669
+ usageRecordId?: undefined;
3670
+ quantity?: undefined;
3671
+ action?: undefined;
3672
+ customPrice?: undefined;
3673
+ productOptions?: undefined;
3674
+ checkoutOptions?: undefined;
3675
+ checkoutData?: undefined;
3676
+ preview?: undefined;
3677
+ expiresAt?: undefined;
3678
+ webhookId?: undefined;
3679
+ url?: undefined;
3680
+ events?: undefined;
3681
+ secret?: undefined;
3682
+ revenue?: undefined;
3683
+ company?: undefined;
3684
+ title?: undefined;
3685
+ query?: undefined;
3686
+ decision?: undefined;
3687
+ rationale?: undefined;
3688
+ expectedOutcome?: undefined;
3689
+ category?: undefined;
3690
+ minRiskScore?: undefined;
3691
+ limit?: undefined;
3692
+ };
3693
+ required: never[];
3694
+ };
3695
+ } | {
3696
+ name: "predict_churn_risk";
3697
+ description: string;
3698
+ inputSchema: {
3699
+ type: string;
3700
+ properties: {
3701
+ storeId: {
3702
+ type: string;
3703
+ description: string;
3704
+ };
3705
+ minRiskScore: {
3706
+ type: string;
3707
+ description: string;
3708
+ };
3709
+ limit: {
3710
+ type: string;
3711
+ description: string;
3712
+ };
3713
+ page?: undefined;
3714
+ customerId?: undefined;
3715
+ email?: undefined;
3716
+ name?: undefined;
3717
+ city?: undefined;
3718
+ country?: undefined;
3719
+ region?: undefined;
3720
+ productId?: undefined;
3721
+ variantId?: undefined;
3722
+ orderId?: undefined;
3723
+ userEmail?: undefined;
3724
+ orderItemId?: undefined;
3725
+ address?: undefined;
3726
+ state?: undefined;
3727
+ zip?: undefined;
3728
+ amount?: undefined;
3729
+ subscriptionId?: undefined;
3730
+ billingAnchor?: undefined;
3731
+ subscriptionItemId?: undefined;
3732
+ subscriptionInvoiceId?: undefined;
3733
+ discountId?: undefined;
3734
+ code?: undefined;
3735
+ amountType?: undefined;
3736
+ duration?: undefined;
3737
+ durationInMonths?: undefined;
3738
+ licenseKeyId?: undefined;
3739
+ status?: undefined;
3740
+ fileId?: undefined;
3741
+ usageRecordId?: undefined;
3742
+ quantity?: undefined;
3743
+ action?: undefined;
3744
+ customPrice?: undefined;
3745
+ productOptions?: undefined;
3746
+ checkoutOptions?: undefined;
3747
+ checkoutData?: undefined;
3748
+ preview?: undefined;
3749
+ expiresAt?: undefined;
3750
+ webhookId?: undefined;
3751
+ url?: undefined;
3752
+ events?: undefined;
3753
+ secret?: undefined;
3754
+ revenue?: undefined;
3755
+ company?: undefined;
3756
+ title?: undefined;
3757
+ query?: undefined;
3758
+ decision?: undefined;
3759
+ rationale?: undefined;
3760
+ expectedOutcome?: undefined;
3761
+ category?: undefined;
3762
+ startDate?: undefined;
3763
+ endDate?: undefined;
3764
+ };
3765
+ required: never[];
3766
+ };
3767
+ })[];
3768
+ //# sourceMappingURL=definitions.d.ts.map