@snokam/mcp-api 2.18.0 → 2.19.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/employees.json +579 -0
- package/specs/production/sales.json +209 -0
- package/specs/test/employees.json +579 -0
- package/specs/test/sales.json +209 -0
package/specs/test/sales.json
CHANGED
|
@@ -2132,6 +2132,157 @@
|
|
|
2132
2132
|
]
|
|
2133
2133
|
}
|
|
2134
2134
|
},
|
|
2135
|
+
"/v1.0/tenders/{id}/cv-proposal": {
|
|
2136
|
+
"put": {
|
|
2137
|
+
"tags": [
|
|
2138
|
+
"Tenders"
|
|
2139
|
+
],
|
|
2140
|
+
"summary": "Set or replace the Flowcase proposal + tailored-CV mapping attached to a tender.",
|
|
2141
|
+
"operationId": "SetTenderCvProposal",
|
|
2142
|
+
"parameters": [
|
|
2143
|
+
{
|
|
2144
|
+
"name": "id",
|
|
2145
|
+
"in": "path",
|
|
2146
|
+
"required": true,
|
|
2147
|
+
"schema": {
|
|
2148
|
+
"type": "string"
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
],
|
|
2152
|
+
"requestBody": {
|
|
2153
|
+
"content": {
|
|
2154
|
+
"application/json": {
|
|
2155
|
+
"schema": {
|
|
2156
|
+
"$ref": "#/components/schemas/tenderCvProposal"
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2160
|
+
"required": true
|
|
2161
|
+
},
|
|
2162
|
+
"responses": {
|
|
2163
|
+
"200": {
|
|
2164
|
+
"description": "Payload of Tender",
|
|
2165
|
+
"content": {
|
|
2166
|
+
"application/json": {
|
|
2167
|
+
"schema": {
|
|
2168
|
+
"$ref": "#/components/schemas/tender"
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
},
|
|
2173
|
+
"404": {
|
|
2174
|
+
"description": "No description"
|
|
2175
|
+
}
|
|
2176
|
+
},
|
|
2177
|
+
"security": [
|
|
2178
|
+
{
|
|
2179
|
+
"Implicit": [
|
|
2180
|
+
"api://d7f15838-af74-4048-88b3-503089de0064/.default"
|
|
2181
|
+
]
|
|
2182
|
+
}
|
|
2183
|
+
]
|
|
2184
|
+
}
|
|
2185
|
+
},
|
|
2186
|
+
"/v1.0/tenders/{id}/cv-proposal/variants": {
|
|
2187
|
+
"post": {
|
|
2188
|
+
"tags": [
|
|
2189
|
+
"Tenders"
|
|
2190
|
+
],
|
|
2191
|
+
"summary": "Upsert a single tailored-CV variant on a tender's proposal (per consultant).",
|
|
2192
|
+
"operationId": "UpsertTenderCvVariant",
|
|
2193
|
+
"parameters": [
|
|
2194
|
+
{
|
|
2195
|
+
"name": "id",
|
|
2196
|
+
"in": "path",
|
|
2197
|
+
"required": true,
|
|
2198
|
+
"schema": {
|
|
2199
|
+
"type": "string"
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
],
|
|
2203
|
+
"requestBody": {
|
|
2204
|
+
"content": {
|
|
2205
|
+
"application/json": {
|
|
2206
|
+
"schema": {
|
|
2207
|
+
"$ref": "#/components/schemas/tenderCvVariant"
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
},
|
|
2211
|
+
"required": true
|
|
2212
|
+
},
|
|
2213
|
+
"responses": {
|
|
2214
|
+
"200": {
|
|
2215
|
+
"description": "Payload of Tender",
|
|
2216
|
+
"content": {
|
|
2217
|
+
"application/json": {
|
|
2218
|
+
"schema": {
|
|
2219
|
+
"$ref": "#/components/schemas/tender"
|
|
2220
|
+
}
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
},
|
|
2224
|
+
"404": {
|
|
2225
|
+
"description": "No description"
|
|
2226
|
+
}
|
|
2227
|
+
},
|
|
2228
|
+
"security": [
|
|
2229
|
+
{
|
|
2230
|
+
"Implicit": [
|
|
2231
|
+
"api://d7f15838-af74-4048-88b3-503089de0064/.default"
|
|
2232
|
+
]
|
|
2233
|
+
}
|
|
2234
|
+
]
|
|
2235
|
+
}
|
|
2236
|
+
},
|
|
2237
|
+
"/v1.0/tenders/{id}/cv-proposal/variants/{email}": {
|
|
2238
|
+
"delete": {
|
|
2239
|
+
"tags": [
|
|
2240
|
+
"Tenders"
|
|
2241
|
+
],
|
|
2242
|
+
"summary": "Remove a tailored-CV variant from a tender's proposal by consultant email.",
|
|
2243
|
+
"operationId": "RemoveTenderCvVariant",
|
|
2244
|
+
"parameters": [
|
|
2245
|
+
{
|
|
2246
|
+
"name": "id",
|
|
2247
|
+
"in": "path",
|
|
2248
|
+
"required": true,
|
|
2249
|
+
"schema": {
|
|
2250
|
+
"type": "string"
|
|
2251
|
+
}
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
"name": "email",
|
|
2255
|
+
"in": "path",
|
|
2256
|
+
"required": true,
|
|
2257
|
+
"schema": {
|
|
2258
|
+
"type": "string"
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
],
|
|
2262
|
+
"responses": {
|
|
2263
|
+
"200": {
|
|
2264
|
+
"description": "Payload of Tender",
|
|
2265
|
+
"content": {
|
|
2266
|
+
"application/json": {
|
|
2267
|
+
"schema": {
|
|
2268
|
+
"$ref": "#/components/schemas/tender"
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
},
|
|
2273
|
+
"404": {
|
|
2274
|
+
"description": "No description"
|
|
2275
|
+
}
|
|
2276
|
+
},
|
|
2277
|
+
"security": [
|
|
2278
|
+
{
|
|
2279
|
+
"Implicit": [
|
|
2280
|
+
"api://d7f15838-af74-4048-88b3-503089de0064/.default"
|
|
2281
|
+
]
|
|
2282
|
+
}
|
|
2283
|
+
]
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2135
2286
|
"/v1.0/tenders/{id}/consultants": {
|
|
2136
2287
|
"post": {
|
|
2137
2288
|
"tags": [
|
|
@@ -3562,6 +3713,9 @@
|
|
|
3562
3713
|
},
|
|
3563
3714
|
"nullable": true
|
|
3564
3715
|
},
|
|
3716
|
+
"cvProposal": {
|
|
3717
|
+
"$ref": "#/components/schemas/tenderCvProposal"
|
|
3718
|
+
},
|
|
3565
3719
|
"audit": {
|
|
3566
3720
|
"$ref": "#/components/schemas/tenderAudit"
|
|
3567
3721
|
},
|
|
@@ -3657,6 +3811,61 @@
|
|
|
3657
3811
|
},
|
|
3658
3812
|
"nullable": true
|
|
3659
3813
|
},
|
|
3814
|
+
"tenderCvProposal": {
|
|
3815
|
+
"type": "object",
|
|
3816
|
+
"properties": {
|
|
3817
|
+
"proposalId": {
|
|
3818
|
+
"type": "string",
|
|
3819
|
+
"nullable": true
|
|
3820
|
+
},
|
|
3821
|
+
"createdAt": {
|
|
3822
|
+
"type": "string",
|
|
3823
|
+
"format": "date-time",
|
|
3824
|
+
"nullable": true
|
|
3825
|
+
},
|
|
3826
|
+
"createdBy": {
|
|
3827
|
+
"type": "string",
|
|
3828
|
+
"nullable": true
|
|
3829
|
+
},
|
|
3830
|
+
"variants": {
|
|
3831
|
+
"type": "array",
|
|
3832
|
+
"items": {
|
|
3833
|
+
"$ref": "#/components/schemas/tenderCvVariant"
|
|
3834
|
+
},
|
|
3835
|
+
"nullable": true
|
|
3836
|
+
}
|
|
3837
|
+
}
|
|
3838
|
+
},
|
|
3839
|
+
"tenderCvVariant": {
|
|
3840
|
+
"type": "object",
|
|
3841
|
+
"properties": {
|
|
3842
|
+
"consultantEmail": {
|
|
3843
|
+
"type": "string",
|
|
3844
|
+
"nullable": true
|
|
3845
|
+
},
|
|
3846
|
+
"consultantName": {
|
|
3847
|
+
"type": "string",
|
|
3848
|
+
"nullable": true
|
|
3849
|
+
},
|
|
3850
|
+
"userId": {
|
|
3851
|
+
"type": "string",
|
|
3852
|
+
"nullable": true
|
|
3853
|
+
},
|
|
3854
|
+
"tailoredCvId": {
|
|
3855
|
+
"type": "string",
|
|
3856
|
+
"nullable": true
|
|
3857
|
+
},
|
|
3858
|
+
"attachmentId": {
|
|
3859
|
+
"type": "string",
|
|
3860
|
+
"nullable": true
|
|
3861
|
+
},
|
|
3862
|
+
"createdAt": {
|
|
3863
|
+
"type": "string",
|
|
3864
|
+
"format": "date-time",
|
|
3865
|
+
"nullable": true
|
|
3866
|
+
}
|
|
3867
|
+
}
|
|
3868
|
+
},
|
|
3660
3869
|
"tenderDates": {
|
|
3661
3870
|
"type": "object",
|
|
3662
3871
|
"properties": {
|