@snokam/mcp-api 2.17.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 +346 -0
- package/specs/test/employees.json +579 -0
- package/specs/test/sales.json +346 -0
|
@@ -2132,6 +2132,257 @@
|
|
|
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://7e877854-e62d-4637-a655-1da7141f7ac9/.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://7e877854-e62d-4637-a655-1da7141f7ac9/.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://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
2281
|
+
]
|
|
2282
|
+
}
|
|
2283
|
+
]
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
"/v1.0/tenders/{id}/consultants": {
|
|
2287
|
+
"post": {
|
|
2288
|
+
"tags": [
|
|
2289
|
+
"Tenders"
|
|
2290
|
+
],
|
|
2291
|
+
"summary": "Assign a consultant to a tender. Idempotent: assigning the same email twice refreshes Name/Note but does not create duplicates.",
|
|
2292
|
+
"operationId": "AssignConsultant",
|
|
2293
|
+
"parameters": [
|
|
2294
|
+
{
|
|
2295
|
+
"name": "id",
|
|
2296
|
+
"in": "path",
|
|
2297
|
+
"required": true,
|
|
2298
|
+
"schema": {
|
|
2299
|
+
"type": "string"
|
|
2300
|
+
}
|
|
2301
|
+
}
|
|
2302
|
+
],
|
|
2303
|
+
"requestBody": {
|
|
2304
|
+
"content": {
|
|
2305
|
+
"application/json": {
|
|
2306
|
+
"schema": {
|
|
2307
|
+
"$ref": "#/components/schemas/assignedConsultant"
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
},
|
|
2311
|
+
"required": true
|
|
2312
|
+
},
|
|
2313
|
+
"responses": {
|
|
2314
|
+
"200": {
|
|
2315
|
+
"description": "Payload of Tender",
|
|
2316
|
+
"content": {
|
|
2317
|
+
"application/json": {
|
|
2318
|
+
"schema": {
|
|
2319
|
+
"$ref": "#/components/schemas/tender"
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
"404": {
|
|
2325
|
+
"description": "No description"
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
"security": [
|
|
2329
|
+
{
|
|
2330
|
+
"Implicit": [
|
|
2331
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
2332
|
+
]
|
|
2333
|
+
}
|
|
2334
|
+
]
|
|
2335
|
+
}
|
|
2336
|
+
},
|
|
2337
|
+
"/v1.0/tenders/{id}/consultants/{email}": {
|
|
2338
|
+
"delete": {
|
|
2339
|
+
"tags": [
|
|
2340
|
+
"Tenders"
|
|
2341
|
+
],
|
|
2342
|
+
"summary": "Remove a consultant assignment from a tender. No-op if the email isn't assigned.",
|
|
2343
|
+
"operationId": "UnassignConsultant",
|
|
2344
|
+
"parameters": [
|
|
2345
|
+
{
|
|
2346
|
+
"name": "id",
|
|
2347
|
+
"in": "path",
|
|
2348
|
+
"required": true,
|
|
2349
|
+
"schema": {
|
|
2350
|
+
"type": "string"
|
|
2351
|
+
}
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
"name": "email",
|
|
2355
|
+
"in": "path",
|
|
2356
|
+
"required": true,
|
|
2357
|
+
"schema": {
|
|
2358
|
+
"type": "string"
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
],
|
|
2362
|
+
"responses": {
|
|
2363
|
+
"200": {
|
|
2364
|
+
"description": "Payload of Tender",
|
|
2365
|
+
"content": {
|
|
2366
|
+
"application/json": {
|
|
2367
|
+
"schema": {
|
|
2368
|
+
"$ref": "#/components/schemas/tender"
|
|
2369
|
+
}
|
|
2370
|
+
}
|
|
2371
|
+
}
|
|
2372
|
+
},
|
|
2373
|
+
"404": {
|
|
2374
|
+
"description": "No description"
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
"security": [
|
|
2378
|
+
{
|
|
2379
|
+
"Implicit": [
|
|
2380
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
2381
|
+
]
|
|
2382
|
+
}
|
|
2383
|
+
]
|
|
2384
|
+
}
|
|
2385
|
+
},
|
|
2135
2386
|
"/v1.0/tenders/{id}/jobs": {
|
|
2136
2387
|
"get": {
|
|
2137
2388
|
"tags": [
|
|
@@ -2429,6 +2680,32 @@
|
|
|
2429
2680
|
}
|
|
2430
2681
|
}
|
|
2431
2682
|
},
|
|
2683
|
+
"assignedConsultant": {
|
|
2684
|
+
"type": "object",
|
|
2685
|
+
"properties": {
|
|
2686
|
+
"email": {
|
|
2687
|
+
"type": "string",
|
|
2688
|
+
"nullable": true
|
|
2689
|
+
},
|
|
2690
|
+
"name": {
|
|
2691
|
+
"type": "string",
|
|
2692
|
+
"nullable": true
|
|
2693
|
+
},
|
|
2694
|
+
"assignedAt": {
|
|
2695
|
+
"type": "string",
|
|
2696
|
+
"format": "date-time",
|
|
2697
|
+
"nullable": true
|
|
2698
|
+
},
|
|
2699
|
+
"assignedBy": {
|
|
2700
|
+
"type": "string",
|
|
2701
|
+
"nullable": true
|
|
2702
|
+
},
|
|
2703
|
+
"note": {
|
|
2704
|
+
"type": "string",
|
|
2705
|
+
"nullable": true
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
},
|
|
2432
2709
|
"auditEvent": {
|
|
2433
2710
|
"type": "object",
|
|
2434
2711
|
"properties": {
|
|
@@ -3319,6 +3596,10 @@
|
|
|
3319
3596
|
"Id": {
|
|
3320
3597
|
"type": "string",
|
|
3321
3598
|
"nullable": true
|
|
3599
|
+
},
|
|
3600
|
+
"Email": {
|
|
3601
|
+
"type": "string",
|
|
3602
|
+
"nullable": true
|
|
3322
3603
|
}
|
|
3323
3604
|
},
|
|
3324
3605
|
"nullable": true
|
|
@@ -3425,6 +3706,16 @@
|
|
|
3425
3706
|
},
|
|
3426
3707
|
"nullable": true
|
|
3427
3708
|
},
|
|
3709
|
+
"assignedConsultants": {
|
|
3710
|
+
"type": "array",
|
|
3711
|
+
"items": {
|
|
3712
|
+
"$ref": "#/components/schemas/assignedConsultant"
|
|
3713
|
+
},
|
|
3714
|
+
"nullable": true
|
|
3715
|
+
},
|
|
3716
|
+
"cvProposal": {
|
|
3717
|
+
"$ref": "#/components/schemas/tenderCvProposal"
|
|
3718
|
+
},
|
|
3428
3719
|
"audit": {
|
|
3429
3720
|
"$ref": "#/components/schemas/tenderAudit"
|
|
3430
3721
|
},
|
|
@@ -3520,6 +3811,61 @@
|
|
|
3520
3811
|
},
|
|
3521
3812
|
"nullable": true
|
|
3522
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
|
+
},
|
|
3523
3869
|
"tenderDates": {
|
|
3524
3870
|
"type": "object",
|
|
3525
3871
|
"properties": {
|