@snokam/mcp-api 2.28.0 → 2.29.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 +51 -1
- package/specs/test/sales.json +51 -1
package/package.json
CHANGED
|
@@ -2011,12 +2011,13 @@
|
|
|
2011
2011
|
"tags": [
|
|
2012
2012
|
"Tenders"
|
|
2013
2013
|
],
|
|
2014
|
-
"summary": "Get a tender by
|
|
2014
|
+
"summary": "Get a tender by its URL slug (or internal id for admin use).",
|
|
2015
2015
|
"operationId": "GetTender",
|
|
2016
2016
|
"parameters": [
|
|
2017
2017
|
{
|
|
2018
2018
|
"name": "id",
|
|
2019
2019
|
"in": "path",
|
|
2020
|
+
"description": "URL slug (canonical) or the internal guid id (admin/legacy).",
|
|
2020
2021
|
"required": true,
|
|
2021
2022
|
"schema": {
|
|
2022
2023
|
"type": "string"
|
|
@@ -2128,6 +2129,34 @@
|
|
|
2128
2129
|
]
|
|
2129
2130
|
}
|
|
2130
2131
|
},
|
|
2132
|
+
"/v1.0/tenders/backfill-slugs": {
|
|
2133
|
+
"post": {
|
|
2134
|
+
"tags": [
|
|
2135
|
+
"Tenders"
|
|
2136
|
+
],
|
|
2137
|
+
"summary": "Assign a slug to every tender that doesn't have one yet. Idempotent — safe to re-run.",
|
|
2138
|
+
"operationId": "BackfillTenderSlugs",
|
|
2139
|
+
"responses": {
|
|
2140
|
+
"200": {
|
|
2141
|
+
"description": "Payload of BackfillSlugsResult",
|
|
2142
|
+
"content": {
|
|
2143
|
+
"application/json": {
|
|
2144
|
+
"schema": {
|
|
2145
|
+
"$ref": "#/components/schemas/backfillSlugsResult"
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
},
|
|
2151
|
+
"security": [
|
|
2152
|
+
{
|
|
2153
|
+
"Implicit": [
|
|
2154
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
2155
|
+
]
|
|
2156
|
+
}
|
|
2157
|
+
]
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2131
2160
|
"/v1.0/tenders/{id}/reingest": {
|
|
2132
2161
|
"post": {
|
|
2133
2162
|
"tags": [
|
|
@@ -2858,6 +2887,23 @@
|
|
|
2858
2887
|
},
|
|
2859
2888
|
"nullable": true
|
|
2860
2889
|
},
|
|
2890
|
+
"backfillSlugsResult": {
|
|
2891
|
+
"type": "object",
|
|
2892
|
+
"properties": {
|
|
2893
|
+
"total": {
|
|
2894
|
+
"type": "integer",
|
|
2895
|
+
"format": "int32"
|
|
2896
|
+
},
|
|
2897
|
+
"alreadyHad": {
|
|
2898
|
+
"type": "integer",
|
|
2899
|
+
"format": "int32"
|
|
2900
|
+
},
|
|
2901
|
+
"updated": {
|
|
2902
|
+
"type": "integer",
|
|
2903
|
+
"format": "int32"
|
|
2904
|
+
}
|
|
2905
|
+
}
|
|
2906
|
+
},
|
|
2861
2907
|
"bulkDeleteJobError": {
|
|
2862
2908
|
"type": "object",
|
|
2863
2909
|
"properties": {
|
|
@@ -3783,6 +3829,10 @@
|
|
|
3783
3829
|
"type": "string",
|
|
3784
3830
|
"nullable": true
|
|
3785
3831
|
},
|
|
3832
|
+
"slug": {
|
|
3833
|
+
"type": "string",
|
|
3834
|
+
"nullable": true
|
|
3835
|
+
},
|
|
3786
3836
|
"source": {
|
|
3787
3837
|
"$ref": "#/components/schemas/tenderSource"
|
|
3788
3838
|
},
|
package/specs/test/sales.json
CHANGED
|
@@ -2011,12 +2011,13 @@
|
|
|
2011
2011
|
"tags": [
|
|
2012
2012
|
"Tenders"
|
|
2013
2013
|
],
|
|
2014
|
-
"summary": "Get a tender by
|
|
2014
|
+
"summary": "Get a tender by its URL slug (or internal id for admin use).",
|
|
2015
2015
|
"operationId": "GetTender",
|
|
2016
2016
|
"parameters": [
|
|
2017
2017
|
{
|
|
2018
2018
|
"name": "id",
|
|
2019
2019
|
"in": "path",
|
|
2020
|
+
"description": "URL slug (canonical) or the internal guid id (admin/legacy).",
|
|
2020
2021
|
"required": true,
|
|
2021
2022
|
"schema": {
|
|
2022
2023
|
"type": "string"
|
|
@@ -2128,6 +2129,34 @@
|
|
|
2128
2129
|
]
|
|
2129
2130
|
}
|
|
2130
2131
|
},
|
|
2132
|
+
"/v1.0/tenders/backfill-slugs": {
|
|
2133
|
+
"post": {
|
|
2134
|
+
"tags": [
|
|
2135
|
+
"Tenders"
|
|
2136
|
+
],
|
|
2137
|
+
"summary": "Assign a slug to every tender that doesn't have one yet. Idempotent — safe to re-run.",
|
|
2138
|
+
"operationId": "BackfillTenderSlugs",
|
|
2139
|
+
"responses": {
|
|
2140
|
+
"200": {
|
|
2141
|
+
"description": "Payload of BackfillSlugsResult",
|
|
2142
|
+
"content": {
|
|
2143
|
+
"application/json": {
|
|
2144
|
+
"schema": {
|
|
2145
|
+
"$ref": "#/components/schemas/backfillSlugsResult"
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
},
|
|
2151
|
+
"security": [
|
|
2152
|
+
{
|
|
2153
|
+
"Implicit": [
|
|
2154
|
+
"api://d7f15838-af74-4048-88b3-503089de0064/.default"
|
|
2155
|
+
]
|
|
2156
|
+
}
|
|
2157
|
+
]
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2131
2160
|
"/v1.0/tenders/{id}/reingest": {
|
|
2132
2161
|
"post": {
|
|
2133
2162
|
"tags": [
|
|
@@ -2858,6 +2887,23 @@
|
|
|
2858
2887
|
},
|
|
2859
2888
|
"nullable": true
|
|
2860
2889
|
},
|
|
2890
|
+
"backfillSlugsResult": {
|
|
2891
|
+
"type": "object",
|
|
2892
|
+
"properties": {
|
|
2893
|
+
"total": {
|
|
2894
|
+
"type": "integer",
|
|
2895
|
+
"format": "int32"
|
|
2896
|
+
},
|
|
2897
|
+
"alreadyHad": {
|
|
2898
|
+
"type": "integer",
|
|
2899
|
+
"format": "int32"
|
|
2900
|
+
},
|
|
2901
|
+
"updated": {
|
|
2902
|
+
"type": "integer",
|
|
2903
|
+
"format": "int32"
|
|
2904
|
+
}
|
|
2905
|
+
}
|
|
2906
|
+
},
|
|
2861
2907
|
"bulkDeleteJobError": {
|
|
2862
2908
|
"type": "object",
|
|
2863
2909
|
"properties": {
|
|
@@ -3783,6 +3829,10 @@
|
|
|
3783
3829
|
"type": "string",
|
|
3784
3830
|
"nullable": true
|
|
3785
3831
|
},
|
|
3832
|
+
"slug": {
|
|
3833
|
+
"type": "string",
|
|
3834
|
+
"nullable": true
|
|
3835
|
+
},
|
|
3786
3836
|
"source": {
|
|
3787
3837
|
"$ref": "#/components/schemas/tenderSource"
|
|
3788
3838
|
},
|