mcp-zenskar 1.1.3 → 1.1.5
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 +168 -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
|
{
|
|
@@ -5290,6 +5304,153 @@
|
|
|
5290
5304
|
"responseTemplate": {
|
|
5291
5305
|
"prependBody": "## Attached Payment Method\n\n"
|
|
5292
5306
|
}
|
|
5307
|
+
},
|
|
5308
|
+
{
|
|
5309
|
+
"name": "deleteCustomer",
|
|
5310
|
+
"description": "Delete a customer by ID. This is permanent and cannot be undone. The customer must not have active contracts or unpaid invoices.",
|
|
5311
|
+
"args": [
|
|
5312
|
+
{
|
|
5313
|
+
"name": "customerId",
|
|
5314
|
+
"description": "The unique identifier (UUID) of the customer to delete.",
|
|
5315
|
+
"type": "string",
|
|
5316
|
+
"required": true,
|
|
5317
|
+
"position": "path"
|
|
5318
|
+
}
|
|
5319
|
+
],
|
|
5320
|
+
"requestTemplate": {
|
|
5321
|
+
"url": "/customers/{customerId}",
|
|
5322
|
+
"method": "DELETE",
|
|
5323
|
+
"headers": {
|
|
5324
|
+
"Content-Type": "application/json"
|
|
5325
|
+
}
|
|
5326
|
+
},
|
|
5327
|
+
"responseTemplate": {
|
|
5328
|
+
"prependBody": "## Customer Deleted\n\n"
|
|
5329
|
+
}
|
|
5330
|
+
},
|
|
5331
|
+
{
|
|
5332
|
+
"name": "deleteContact",
|
|
5333
|
+
"description": "Delete a contact by ID.",
|
|
5334
|
+
"args": [
|
|
5335
|
+
{
|
|
5336
|
+
"name": "contactId",
|
|
5337
|
+
"description": "The unique identifier (UUID) of the contact to delete.",
|
|
5338
|
+
"type": "string",
|
|
5339
|
+
"required": true,
|
|
5340
|
+
"position": "path"
|
|
5341
|
+
}
|
|
5342
|
+
],
|
|
5343
|
+
"requestTemplate": {
|
|
5344
|
+
"url": "/contacts/{contactId}",
|
|
5345
|
+
"method": "DELETE",
|
|
5346
|
+
"headers": {
|
|
5347
|
+
"Content-Type": "application/json"
|
|
5348
|
+
}
|
|
5349
|
+
},
|
|
5350
|
+
"responseTemplate": {
|
|
5351
|
+
"prependBody": "## Contact Deleted\n\n"
|
|
5352
|
+
}
|
|
5353
|
+
},
|
|
5354
|
+
{
|
|
5355
|
+
"name": "deletePaymentMethod",
|
|
5356
|
+
"description": "Delete a payment method from a customer.",
|
|
5357
|
+
"args": [
|
|
5358
|
+
{
|
|
5359
|
+
"name": "customerId",
|
|
5360
|
+
"description": "The unique identifier (UUID) of the customer.",
|
|
5361
|
+
"type": "string",
|
|
5362
|
+
"required": true,
|
|
5363
|
+
"position": "path"
|
|
5364
|
+
},
|
|
5365
|
+
{
|
|
5366
|
+
"name": "paymentMethodId",
|
|
5367
|
+
"description": "The unique identifier (UUID) of the payment method to delete.",
|
|
5368
|
+
"type": "string",
|
|
5369
|
+
"required": true,
|
|
5370
|
+
"position": "path"
|
|
5371
|
+
}
|
|
5372
|
+
],
|
|
5373
|
+
"requestTemplate": {
|
|
5374
|
+
"url": "/customers/{customerId}/payment_methods/{paymentMethodId}",
|
|
5375
|
+
"method": "DELETE",
|
|
5376
|
+
"headers": {
|
|
5377
|
+
"Content-Type": "application/json"
|
|
5378
|
+
}
|
|
5379
|
+
},
|
|
5380
|
+
"responseTemplate": {
|
|
5381
|
+
"prependBody": "## Payment Method Deleted\n\n"
|
|
5382
|
+
}
|
|
5383
|
+
},
|
|
5384
|
+
{
|
|
5385
|
+
"name": "pauseContract",
|
|
5386
|
+
"description": "Pause an active contract. Requires a start_date for the pause and an unpause_extension_policy.",
|
|
5387
|
+
"args": [
|
|
5388
|
+
{
|
|
5389
|
+
"name": "contractId",
|
|
5390
|
+
"description": "The unique identifier (UUID) of the contract to pause.",
|
|
5391
|
+
"type": "string",
|
|
5392
|
+
"required": true,
|
|
5393
|
+
"position": "path"
|
|
5394
|
+
},
|
|
5395
|
+
{
|
|
5396
|
+
"name": "start_date",
|
|
5397
|
+
"description": "Date when the pause begins (ISO 8601 format, e.g. 2026-04-01T00:00:00).",
|
|
5398
|
+
"type": "string",
|
|
5399
|
+
"required": true,
|
|
5400
|
+
"position": "body"
|
|
5401
|
+
},
|
|
5402
|
+
{
|
|
5403
|
+
"name": "unpause_extension_policy",
|
|
5404
|
+
"description": "How to handle the contract end date when unpaused.",
|
|
5405
|
+
"type": "string",
|
|
5406
|
+
"required": true,
|
|
5407
|
+
"position": "body",
|
|
5408
|
+
"enum": [
|
|
5409
|
+
"extend",
|
|
5410
|
+
"overlap"
|
|
5411
|
+
]
|
|
5412
|
+
},
|
|
5413
|
+
{
|
|
5414
|
+
"name": "end_date",
|
|
5415
|
+
"description": "Optional date when the pause ends and contract auto-resumes (ISO 8601).",
|
|
5416
|
+
"type": "string",
|
|
5417
|
+
"required": false,
|
|
5418
|
+
"position": "body"
|
|
5419
|
+
}
|
|
5420
|
+
],
|
|
5421
|
+
"requestTemplate": {
|
|
5422
|
+
"url": "/contract_v2/{contractId}/pause",
|
|
5423
|
+
"method": "POST",
|
|
5424
|
+
"headers": {
|
|
5425
|
+
"Content-Type": "application/json"
|
|
5426
|
+
}
|
|
5427
|
+
},
|
|
5428
|
+
"responseTemplate": {
|
|
5429
|
+
"prependBody": "## Contract Paused\n\n"
|
|
5430
|
+
}
|
|
5431
|
+
},
|
|
5432
|
+
{
|
|
5433
|
+
"name": "resumeContract",
|
|
5434
|
+
"description": "Resume a paused contract. No request body needed.",
|
|
5435
|
+
"args": [
|
|
5436
|
+
{
|
|
5437
|
+
"name": "contractId",
|
|
5438
|
+
"description": "The unique identifier (UUID) of the contract to resume.",
|
|
5439
|
+
"type": "string",
|
|
5440
|
+
"required": true,
|
|
5441
|
+
"position": "path"
|
|
5442
|
+
}
|
|
5443
|
+
],
|
|
5444
|
+
"requestTemplate": {
|
|
5445
|
+
"url": "/contract_v2/{contractId}/resume",
|
|
5446
|
+
"method": "PATCH",
|
|
5447
|
+
"headers": {
|
|
5448
|
+
"Content-Type": "application/json"
|
|
5449
|
+
}
|
|
5450
|
+
},
|
|
5451
|
+
"responseTemplate": {
|
|
5452
|
+
"prependBody": "## Contract Resumed\n\n"
|
|
5453
|
+
}
|
|
5293
5454
|
}
|
|
5294
5455
|
]
|
|
5295
5456
|
}
|