mcp-zenskar 1.1.3 → 1.1.4
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/package.json +1 -1
- package/src/mcp-config.json +21 -7
package/package.json
CHANGED
package/src/mcp-config.json
CHANGED
|
@@ -2568,7 +2568,7 @@
|
|
|
2568
2568
|
},
|
|
2569
2569
|
{
|
|
2570
2570
|
"name": "updateContract",
|
|
2571
|
-
"description": "Update an existing contract.
|
|
2571
|
+
"description": "Update an existing contract. This is a PUT endpoint — you MUST fetch the contract first with getContractById, then send ALL required fields including phases. Without phases the API returns 500. Copy phases from the GET response (each phase needs name, start_date, end_date at minimum). Status: draft, active, paused, expired, disputed. Renewal: renew_with_default_contract, renew_with_existing, do_not_renew.",
|
|
2572
2572
|
"args": [
|
|
2573
2573
|
{
|
|
2574
2574
|
"name": "contractId",
|
|
@@ -2656,9 +2656,9 @@
|
|
|
2656
2656
|
},
|
|
2657
2657
|
{
|
|
2658
2658
|
"name": "phases",
|
|
2659
|
-
"description": "Array of contract phases
|
|
2659
|
+
"description": "REQUIRED — Array of contract phases. Without this the API returns 500. Copy phases from getContractById response. Each phase needs at minimum: name, start_date, end_date. Include pricings array if the phase has pricing.",
|
|
2660
2660
|
"type": "array",
|
|
2661
|
-
"required":
|
|
2661
|
+
"required": true,
|
|
2662
2662
|
"position": "body"
|
|
2663
2663
|
},
|
|
2664
2664
|
{
|
|
@@ -4647,7 +4647,7 @@
|
|
|
4647
4647
|
},
|
|
4648
4648
|
{
|
|
4649
4649
|
"name": "previewQuoteEstimate",
|
|
4650
|
-
"description": "Preview the estimated billing for a quote before creating it.",
|
|
4650
|
+
"description": "Preview the estimated billing for a quote before creating it. Requires customer_id, currency, and line_items at minimum. Use getProductPricings to find valid product_id + pricing_id combos for line_items.",
|
|
4651
4651
|
"args": [
|
|
4652
4652
|
{
|
|
4653
4653
|
"name": "customer_id",
|
|
@@ -4656,9 +4656,23 @@
|
|
|
4656
4656
|
"required": true,
|
|
4657
4657
|
"position": "body"
|
|
4658
4658
|
},
|
|
4659
|
+
{
|
|
4660
|
+
"name": "currency",
|
|
4661
|
+
"description": "Three-letter ISO 4217 currency code (e.g. USD).",
|
|
4662
|
+
"type": "string",
|
|
4663
|
+
"required": true,
|
|
4664
|
+
"position": "body"
|
|
4665
|
+
},
|
|
4666
|
+
{
|
|
4667
|
+
"name": "line_items",
|
|
4668
|
+
"description": "Array of line items. Each item: {product_id, pricing_id}. The pricing_id must belong to the product_id — use getProductPricings to find valid combos.",
|
|
4669
|
+
"type": "array",
|
|
4670
|
+
"required": true,
|
|
4671
|
+
"position": "body"
|
|
4672
|
+
},
|
|
4659
4673
|
{
|
|
4660
4674
|
"name": "plan_id",
|
|
4661
|
-
"description": "Plan ID to estimate.",
|
|
4675
|
+
"description": "Plan ID to estimate (alternative to line_items).",
|
|
4662
4676
|
"type": "string",
|
|
4663
4677
|
"required": false,
|
|
4664
4678
|
"position": "body"
|
|
@@ -4667,14 +4681,14 @@
|
|
|
4667
4681
|
"name": "start_date",
|
|
4668
4682
|
"description": "Start date (YYYY-MM-DD).",
|
|
4669
4683
|
"type": "string",
|
|
4670
|
-
"required":
|
|
4684
|
+
"required": true,
|
|
4671
4685
|
"position": "body"
|
|
4672
4686
|
},
|
|
4673
4687
|
{
|
|
4674
4688
|
"name": "end_date",
|
|
4675
4689
|
"description": "End date (YYYY-MM-DD).",
|
|
4676
4690
|
"type": "string",
|
|
4677
|
-
"required":
|
|
4691
|
+
"required": true,
|
|
4678
4692
|
"position": "body"
|
|
4679
4693
|
},
|
|
4680
4694
|
{
|