katyayani-core-mcp 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/docs.js +6 -1
- package/package.json +1 -1
package/dist/docs.js
CHANGED
|
@@ -78,7 +78,12 @@ auto-computes from items (sum qty*rate) if omitted; params takes any custom key-
|
|
|
78
78
|
final items = [KCItem(sku:'SKU-NEEM-1L', qty:2, rate:499, name:'Neem Oil 1L', category:'Pesticides')];
|
|
79
79
|
KatyayaniCore.purchase(transactionId:'ORD-016', items:items, tax:70, coupon:'SAVE10',
|
|
80
80
|
params:{'salesman_id':'EMP-42','payment_mode':'COD'});
|
|
81
|
-
|
|
81
|
+
REACT NATIVE v2.0.0+ mirrors this with an options object + KCItem:
|
|
82
|
+
KatyayaniCore.purchase({ transactionId:'ORD-016', items:[{sku:'SKU1', qty:2, rate:499}], coupon:'SAVE10' });
|
|
83
|
+
Plus search(searchTerm)/signUp(method)/login(method). Exports the KCItem type.
|
|
84
|
+
WEB v1.2.0+ accepts the same item shape (sku/qty/rate/subCategory/otherCategories/extra) — items
|
|
85
|
+
auto-normalize and value auto-computes: nc('purchase', {transaction_id:'ORD1', items:[{sku,qty,rate}]}).
|
|
86
|
+
Web also has nc('search'|'signUp'|'login', {...}).
|
|
82
87
|
|
|
83
88
|
track() = product analytics (Analytics/Events pages). For revenue attribution use capturePayment().`,
|
|
84
89
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "katyayani-core-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "MCP server for Katyayani Core (Customer Engagement Platform). Ask anything about your CEP — users, events, attribution (Meta/Google/organic/referral), revenue/ROAS, referrals, funnels — plus full SDK & platform how-to docs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|