@snokam/mcp-api 1.15.1 → 1.17.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 +90 -0
- package/specs/test/sales.json +90 -0
package/package.json
CHANGED
|
@@ -90,6 +90,37 @@
|
|
|
90
90
|
]
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
+
"/v1.0/admin/reprocess-emails": {
|
|
94
|
+
"post": {
|
|
95
|
+
"tags": [
|
|
96
|
+
"Admin"
|
|
97
|
+
],
|
|
98
|
+
"summary": "Re-fetch all emails since N days ago and re-ingest them so raw content is stored as source_email blobs",
|
|
99
|
+
"operationId": "ReprocessEmails",
|
|
100
|
+
"parameters": [
|
|
101
|
+
{
|
|
102
|
+
"name": "daysSince",
|
|
103
|
+
"in": "query",
|
|
104
|
+
"description": "Number of days back to fetch emails (default: 90)",
|
|
105
|
+
"schema": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"responses": {
|
|
111
|
+
"200": {
|
|
112
|
+
"description": "Payload of Object",
|
|
113
|
+
"content": {
|
|
114
|
+
"application/json": {
|
|
115
|
+
"schema": {
|
|
116
|
+
"type": "object"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
93
124
|
"/v1.0/tenders/{id}/documents": {
|
|
94
125
|
"get": {
|
|
95
126
|
"tags": [
|
|
@@ -423,6 +454,65 @@
|
|
|
423
454
|
]
|
|
424
455
|
}
|
|
425
456
|
},
|
|
457
|
+
"/v1.0/admin/tenders": {
|
|
458
|
+
"delete": {
|
|
459
|
+
"tags": [
|
|
460
|
+
"Admin"
|
|
461
|
+
],
|
|
462
|
+
"summary": "Delete all tenders",
|
|
463
|
+
"operationId": "DeleteAllTenders",
|
|
464
|
+
"responses": {
|
|
465
|
+
"200": {
|
|
466
|
+
"description": "Payload of Object",
|
|
467
|
+
"content": {
|
|
468
|
+
"application/json": {
|
|
469
|
+
"schema": {
|
|
470
|
+
"type": "object"
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"/v1.0/admin/reprocess-matches": {
|
|
479
|
+
"post": {
|
|
480
|
+
"tags": [
|
|
481
|
+
"Admin"
|
|
482
|
+
],
|
|
483
|
+
"summary": "Trigger CV matching on all tenders",
|
|
484
|
+
"operationId": "ReprocessMatches",
|
|
485
|
+
"parameters": [
|
|
486
|
+
{
|
|
487
|
+
"name": "unmatchedOnly",
|
|
488
|
+
"in": "query",
|
|
489
|
+
"description": "If true, only re-match tenders with no existing consultant matches",
|
|
490
|
+
"schema": {
|
|
491
|
+
"type": "boolean"
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
],
|
|
495
|
+
"responses": {
|
|
496
|
+
"200": {
|
|
497
|
+
"description": "Payload of Object",
|
|
498
|
+
"content": {
|
|
499
|
+
"application/json": {
|
|
500
|
+
"schema": {
|
|
501
|
+
"type": "object"
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"security": [
|
|
508
|
+
{
|
|
509
|
+
"Implicit": [
|
|
510
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
]
|
|
514
|
+
}
|
|
515
|
+
},
|
|
426
516
|
"/v1.0/tenders/{id}/runs": {
|
|
427
517
|
"get": {
|
|
428
518
|
"tags": [
|
package/specs/test/sales.json
CHANGED
|
@@ -90,6 +90,37 @@
|
|
|
90
90
|
]
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
+
"/v1.0/admin/reprocess-emails": {
|
|
94
|
+
"post": {
|
|
95
|
+
"tags": [
|
|
96
|
+
"Admin"
|
|
97
|
+
],
|
|
98
|
+
"summary": "Re-fetch all emails since N days ago and re-ingest them so raw content is stored as source_email blobs",
|
|
99
|
+
"operationId": "ReprocessEmails",
|
|
100
|
+
"parameters": [
|
|
101
|
+
{
|
|
102
|
+
"name": "daysSince",
|
|
103
|
+
"in": "query",
|
|
104
|
+
"description": "Number of days back to fetch emails (default: 90)",
|
|
105
|
+
"schema": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"responses": {
|
|
111
|
+
"200": {
|
|
112
|
+
"description": "Payload of Object",
|
|
113
|
+
"content": {
|
|
114
|
+
"application/json": {
|
|
115
|
+
"schema": {
|
|
116
|
+
"type": "object"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
93
124
|
"/v1.0/tenders/{id}/documents": {
|
|
94
125
|
"get": {
|
|
95
126
|
"tags": [
|
|
@@ -423,6 +454,65 @@
|
|
|
423
454
|
]
|
|
424
455
|
}
|
|
425
456
|
},
|
|
457
|
+
"/v1.0/admin/tenders": {
|
|
458
|
+
"delete": {
|
|
459
|
+
"tags": [
|
|
460
|
+
"Admin"
|
|
461
|
+
],
|
|
462
|
+
"summary": "Delete all tenders",
|
|
463
|
+
"operationId": "DeleteAllTenders",
|
|
464
|
+
"responses": {
|
|
465
|
+
"200": {
|
|
466
|
+
"description": "Payload of Object",
|
|
467
|
+
"content": {
|
|
468
|
+
"application/json": {
|
|
469
|
+
"schema": {
|
|
470
|
+
"type": "object"
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"/v1.0/admin/reprocess-matches": {
|
|
479
|
+
"post": {
|
|
480
|
+
"tags": [
|
|
481
|
+
"Admin"
|
|
482
|
+
],
|
|
483
|
+
"summary": "Trigger CV matching on all tenders",
|
|
484
|
+
"operationId": "ReprocessMatches",
|
|
485
|
+
"parameters": [
|
|
486
|
+
{
|
|
487
|
+
"name": "unmatchedOnly",
|
|
488
|
+
"in": "query",
|
|
489
|
+
"description": "If true, only re-match tenders with no existing consultant matches",
|
|
490
|
+
"schema": {
|
|
491
|
+
"type": "boolean"
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
],
|
|
495
|
+
"responses": {
|
|
496
|
+
"200": {
|
|
497
|
+
"description": "Payload of Object",
|
|
498
|
+
"content": {
|
|
499
|
+
"application/json": {
|
|
500
|
+
"schema": {
|
|
501
|
+
"type": "object"
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"security": [
|
|
508
|
+
{
|
|
509
|
+
"Implicit": [
|
|
510
|
+
"api://d7f15838-af74-4048-88b3-503089de0064/.default"
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
]
|
|
514
|
+
}
|
|
515
|
+
},
|
|
426
516
|
"/v1.0/tenders/{id}/runs": {
|
|
427
517
|
"get": {
|
|
428
518
|
"tags": [
|