@snokam/mcp-api 2.23.0 → 2.25.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.
- package/package.json +1 -1
- package/specs/production/sales.json +63 -0
- package/specs/test/sales.json +63 -0
package/package.json
CHANGED
|
@@ -1754,6 +1754,61 @@
|
|
|
1754
1754
|
]
|
|
1755
1755
|
}
|
|
1756
1756
|
},
|
|
1757
|
+
"/v1.0/tenders/{id}/salesforce/stage": {
|
|
1758
|
+
"post": {
|
|
1759
|
+
"tags": [
|
|
1760
|
+
"Salesforce"
|
|
1761
|
+
],
|
|
1762
|
+
"summary": "Move the linked SF Opportunity to a new stage and refresh the cache.",
|
|
1763
|
+
"operationId": "UpdateTenderSalesforceStage",
|
|
1764
|
+
"parameters": [
|
|
1765
|
+
{
|
|
1766
|
+
"name": "id",
|
|
1767
|
+
"in": "path",
|
|
1768
|
+
"required": true,
|
|
1769
|
+
"schema": {
|
|
1770
|
+
"type": "string"
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
],
|
|
1774
|
+
"requestBody": {
|
|
1775
|
+
"description": "The SF stage masterLabel/apiName to switch to.",
|
|
1776
|
+
"content": {
|
|
1777
|
+
"application/json": {
|
|
1778
|
+
"schema": {
|
|
1779
|
+
"$ref": "#/components/schemas/updateSalesforceStageRequest"
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
"required": true
|
|
1784
|
+
},
|
|
1785
|
+
"responses": {
|
|
1786
|
+
"200": {
|
|
1787
|
+
"description": "Payload of Tender",
|
|
1788
|
+
"content": {
|
|
1789
|
+
"application/json": {
|
|
1790
|
+
"schema": {
|
|
1791
|
+
"$ref": "#/components/schemas/tender"
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1795
|
+
},
|
|
1796
|
+
"400": {
|
|
1797
|
+
"description": "Tender has no Salesforce link, or stageName is missing."
|
|
1798
|
+
},
|
|
1799
|
+
"404": {
|
|
1800
|
+
"description": "No description"
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
"security": [
|
|
1804
|
+
{
|
|
1805
|
+
"Implicit": [
|
|
1806
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1807
|
+
]
|
|
1808
|
+
}
|
|
1809
|
+
]
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1757
1812
|
"/v1.0/salesforce/opportunities/{sfId}/import": {
|
|
1758
1813
|
"post": {
|
|
1759
1814
|
"tags": [
|
|
@@ -4323,6 +4378,14 @@
|
|
|
4323
4378
|
}
|
|
4324
4379
|
}
|
|
4325
4380
|
},
|
|
4381
|
+
"updateSalesforceStageRequest": {
|
|
4382
|
+
"type": "object",
|
|
4383
|
+
"properties": {
|
|
4384
|
+
"stageName": {
|
|
4385
|
+
"type": "string"
|
|
4386
|
+
}
|
|
4387
|
+
}
|
|
4388
|
+
},
|
|
4326
4389
|
"zombieReapResult": {
|
|
4327
4390
|
"type": "object",
|
|
4328
4391
|
"properties": {
|
package/specs/test/sales.json
CHANGED
|
@@ -1754,6 +1754,61 @@
|
|
|
1754
1754
|
]
|
|
1755
1755
|
}
|
|
1756
1756
|
},
|
|
1757
|
+
"/v1.0/tenders/{id}/salesforce/stage": {
|
|
1758
|
+
"post": {
|
|
1759
|
+
"tags": [
|
|
1760
|
+
"Salesforce"
|
|
1761
|
+
],
|
|
1762
|
+
"summary": "Move the linked SF Opportunity to a new stage and refresh the cache.",
|
|
1763
|
+
"operationId": "UpdateTenderSalesforceStage",
|
|
1764
|
+
"parameters": [
|
|
1765
|
+
{
|
|
1766
|
+
"name": "id",
|
|
1767
|
+
"in": "path",
|
|
1768
|
+
"required": true,
|
|
1769
|
+
"schema": {
|
|
1770
|
+
"type": "string"
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
],
|
|
1774
|
+
"requestBody": {
|
|
1775
|
+
"description": "The SF stage masterLabel/apiName to switch to.",
|
|
1776
|
+
"content": {
|
|
1777
|
+
"application/json": {
|
|
1778
|
+
"schema": {
|
|
1779
|
+
"$ref": "#/components/schemas/updateSalesforceStageRequest"
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
"required": true
|
|
1784
|
+
},
|
|
1785
|
+
"responses": {
|
|
1786
|
+
"200": {
|
|
1787
|
+
"description": "Payload of Tender",
|
|
1788
|
+
"content": {
|
|
1789
|
+
"application/json": {
|
|
1790
|
+
"schema": {
|
|
1791
|
+
"$ref": "#/components/schemas/tender"
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1795
|
+
},
|
|
1796
|
+
"400": {
|
|
1797
|
+
"description": "Tender has no Salesforce link, or stageName is missing."
|
|
1798
|
+
},
|
|
1799
|
+
"404": {
|
|
1800
|
+
"description": "No description"
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
"security": [
|
|
1804
|
+
{
|
|
1805
|
+
"Implicit": [
|
|
1806
|
+
"api://d7f15838-af74-4048-88b3-503089de0064/.default"
|
|
1807
|
+
]
|
|
1808
|
+
}
|
|
1809
|
+
]
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1757
1812
|
"/v1.0/salesforce/opportunities/{sfId}/import": {
|
|
1758
1813
|
"post": {
|
|
1759
1814
|
"tags": [
|
|
@@ -4323,6 +4378,14 @@
|
|
|
4323
4378
|
}
|
|
4324
4379
|
}
|
|
4325
4380
|
},
|
|
4381
|
+
"updateSalesforceStageRequest": {
|
|
4382
|
+
"type": "object",
|
|
4383
|
+
"properties": {
|
|
4384
|
+
"stageName": {
|
|
4385
|
+
"type": "string"
|
|
4386
|
+
}
|
|
4387
|
+
}
|
|
4388
|
+
},
|
|
4326
4389
|
"zombieReapResult": {
|
|
4327
4390
|
"type": "object",
|
|
4328
4391
|
"properties": {
|