@smartytalent/mcp-tools 0.1.33-dev.4 → 0.1.33-dev.6
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/dist/tools.json +125 -17
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -6729,6 +6729,22 @@
|
|
|
6729
6729
|
"type": "string",
|
|
6730
6730
|
"description": "Return only emails belonging to this conversation. Resolved via the ConversationIdIndex GSI (top-level denormalisation of relationships.conversations[0].data.id). Pass the full conversation id (e.g. `980434e7...-2`)."
|
|
6731
6731
|
},
|
|
6732
|
+
"filterDirection": {
|
|
6733
|
+
"type": "string",
|
|
6734
|
+
"description": "Return only emails with this direction. `inbound` = received from an external sender (Inbox), `outbound` = composed by the tenant (Sent). Resolved via the DirectionIndex GSI. Mutually exclusive with `filterStatus` and `filterConversationId` at the pagination layer.",
|
|
6735
|
+
"enum": [
|
|
6736
|
+
"inbound",
|
|
6737
|
+
"outbound"
|
|
6738
|
+
]
|
|
6739
|
+
},
|
|
6740
|
+
"filterIds": {
|
|
6741
|
+
"type": "string",
|
|
6742
|
+
"description": "Batch-fetch emails by id. Pass a comma-separated list (e.g. `abc-1,def-2,ghi-3`). Resolves each id's shard from its suffix and issues a BatchGetItem. Used by the inbox UI to hydrate emails referenced by state rows (folder=unseen / starred / spam) without N showEmail calls. Cap: 500 ids per request; beyond that, page the state list and batch again. Bypasses pagination - the returned `data` is the full batch result with no `nextPage` cursor."
|
|
6743
|
+
},
|
|
6744
|
+
"filterIsSystemSpam": {
|
|
6745
|
+
"type": "boolean",
|
|
6746
|
+
"description": "Return only emails the system (broker / classifier) flagged as spam. Used by the Spam folder's `isSystemSpam=true` leg - the other leg comes from `/v1/states?folder=spam`. Backed by a filter-expression scan across shards for v1; promote to a sparse `SystemSpamIndex` if load warrants. Mutually exclusive with the other index-backed filters at the pagination layer."
|
|
6747
|
+
},
|
|
6732
6748
|
"filterCreatedFrom": {
|
|
6733
6749
|
"type": "string",
|
|
6734
6750
|
"description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
|
|
@@ -12118,17 +12134,9 @@
|
|
|
12118
12134
|
"type": "string",
|
|
12119
12135
|
"description": "Comma-separated list of resource ids to batch-fetch. Requires `filterResourceType`."
|
|
12120
12136
|
},
|
|
12121
|
-
"
|
|
12122
|
-
"type": "
|
|
12123
|
-
"description": "
|
|
12124
|
-
},
|
|
12125
|
-
"filterIsSeen": {
|
|
12126
|
-
"type": "boolean",
|
|
12127
|
-
"description": "Only return seen (true) or unseen (false) states."
|
|
12128
|
-
},
|
|
12129
|
-
"filterIsSpam": {
|
|
12130
|
-
"type": "boolean",
|
|
12131
|
-
"description": "Only return spam-marked states. Reads from the SpamIndex."
|
|
12137
|
+
"folder": {
|
|
12138
|
+
"type": "string",
|
|
12139
|
+
"description": "Folder-style filter. Tagged-union: the fixed folders are an enum,\nand the label folder is a `label:<labelId>` template. Orthogonal\nto filterResourceType and filterResourceIds which scope within\nthe folder.\n\nFixed folders:\n `all` - default, no folder filter\n `unseen` - only unread rows (sparse UnseenIndex)\n `starred` - only starred rows (sparse StarredIndex)\n `spam` - only user-spam-marked rows (sparse SpamIndex)\n\nLabel folder:\n `label:<labelId>` - rows whose `flags.labels` contains labelId\n\nTypeScript callers should narrow this to\n`'all' | 'unseen' | 'starred' | 'spam' | \\`label:${string}\\``\nin their client wrapper; OpenAPI cannot express template-literal\nunions natively."
|
|
12132
12140
|
},
|
|
12133
12141
|
"pageSize": {
|
|
12134
12142
|
"type": "integer",
|
|
@@ -15732,12 +15740,62 @@
|
|
|
15732
15740
|
"description": "The type of search to perform"
|
|
15733
15741
|
},
|
|
15734
15742
|
"query": {
|
|
15735
|
-
"
|
|
15736
|
-
"
|
|
15743
|
+
"description": "Search query parameters sent to OpenSearch. Shape varies by finder `type`. OpenAPI can't express the full type/query correlation as a strict discriminated union (the discriminator lives on the sibling `type` field, not on `query` itself), so this is encoded as `oneOf` over per-type query schemas. Clients should pick the shape matching the `type` they are posting.",
|
|
15744
|
+
"oneOf": [
|
|
15745
|
+
{
|
|
15746
|
+
"$ref": "#/components/schemas/FinderQueryTalentsSchema"
|
|
15747
|
+
},
|
|
15748
|
+
{
|
|
15749
|
+
"$ref": "#/components/schemas/FinderQueryCandidatesSchema"
|
|
15750
|
+
},
|
|
15751
|
+
{
|
|
15752
|
+
"$ref": "#/components/schemas/FinderQueryJobsSchema"
|
|
15753
|
+
},
|
|
15754
|
+
{
|
|
15755
|
+
"$ref": "#/components/schemas/FinderQueryEmailsSchema"
|
|
15756
|
+
}
|
|
15757
|
+
]
|
|
15737
15758
|
},
|
|
15738
15759
|
"results": {
|
|
15760
|
+
"title": "FinderResultsSchema",
|
|
15739
15761
|
"type": "object",
|
|
15740
|
-
"description": "
|
|
15762
|
+
"description": "OpenSearch-shaped results attached to the finder record after the search runs. Hits array items carry whatever subset of the index schema was projected.",
|
|
15763
|
+
"properties": {
|
|
15764
|
+
"total": {
|
|
15765
|
+
"type": "integer",
|
|
15766
|
+
"description": "Count of matching documents before pagination."
|
|
15767
|
+
},
|
|
15768
|
+
"hits": {
|
|
15769
|
+
"type": "array",
|
|
15770
|
+
"items": {
|
|
15771
|
+
"title": "FinderResultHitSchema",
|
|
15772
|
+
"type": "object",
|
|
15773
|
+
"description": "Single hit from the OpenSearch query. The `id` equals the underlying resource id (emailId, talentId, candidateId, jobId, ...) so the frontend can navigate directly to that resource. Additional fields vary by finder `type`.",
|
|
15774
|
+
"properties": {
|
|
15775
|
+
"id": {
|
|
15776
|
+
"type": "string",
|
|
15777
|
+
"description": "The underlying resource id (emailId / talentId / candidateId / jobId)."
|
|
15778
|
+
},
|
|
15779
|
+
"tenantId": {
|
|
15780
|
+
"type": "string"
|
|
15781
|
+
},
|
|
15782
|
+
"status": {
|
|
15783
|
+
"type": "string"
|
|
15784
|
+
},
|
|
15785
|
+
"source": {
|
|
15786
|
+
"type": "string"
|
|
15787
|
+
},
|
|
15788
|
+
"created": {
|
|
15789
|
+
"type": "string"
|
|
15790
|
+
},
|
|
15791
|
+
"shortCode": {
|
|
15792
|
+
"type": "string"
|
|
15793
|
+
}
|
|
15794
|
+
},
|
|
15795
|
+
"additionalProperties": true
|
|
15796
|
+
}
|
|
15797
|
+
}
|
|
15798
|
+
}
|
|
15741
15799
|
},
|
|
15742
15800
|
"status": {
|
|
15743
15801
|
"type": "string",
|
|
@@ -15965,12 +16023,62 @@
|
|
|
15965
16023
|
"description": "The type of search to perform"
|
|
15966
16024
|
},
|
|
15967
16025
|
"query": {
|
|
15968
|
-
"
|
|
15969
|
-
"
|
|
16026
|
+
"description": "Search query parameters sent to OpenSearch. Shape varies by finder `type`. OpenAPI can't express the full type/query correlation as a strict discriminated union (the discriminator lives on the sibling `type` field, not on `query` itself), so this is encoded as `oneOf` over per-type query schemas. Clients should pick the shape matching the `type` they are posting.",
|
|
16027
|
+
"oneOf": [
|
|
16028
|
+
{
|
|
16029
|
+
"$ref": "#/components/schemas/FinderQueryTalentsSchema"
|
|
16030
|
+
},
|
|
16031
|
+
{
|
|
16032
|
+
"$ref": "#/components/schemas/FinderQueryCandidatesSchema"
|
|
16033
|
+
},
|
|
16034
|
+
{
|
|
16035
|
+
"$ref": "#/components/schemas/FinderQueryJobsSchema"
|
|
16036
|
+
},
|
|
16037
|
+
{
|
|
16038
|
+
"$ref": "#/components/schemas/FinderQueryEmailsSchema"
|
|
16039
|
+
}
|
|
16040
|
+
]
|
|
15970
16041
|
},
|
|
15971
16042
|
"results": {
|
|
16043
|
+
"title": "FinderResultsSchema",
|
|
15972
16044
|
"type": "object",
|
|
15973
|
-
"description": "
|
|
16045
|
+
"description": "OpenSearch-shaped results attached to the finder record after the search runs. Hits array items carry whatever subset of the index schema was projected.",
|
|
16046
|
+
"properties": {
|
|
16047
|
+
"total": {
|
|
16048
|
+
"type": "integer",
|
|
16049
|
+
"description": "Count of matching documents before pagination."
|
|
16050
|
+
},
|
|
16051
|
+
"hits": {
|
|
16052
|
+
"type": "array",
|
|
16053
|
+
"items": {
|
|
16054
|
+
"title": "FinderResultHitSchema",
|
|
16055
|
+
"type": "object",
|
|
16056
|
+
"description": "Single hit from the OpenSearch query. The `id` equals the underlying resource id (emailId, talentId, candidateId, jobId, ...) so the frontend can navigate directly to that resource. Additional fields vary by finder `type`.",
|
|
16057
|
+
"properties": {
|
|
16058
|
+
"id": {
|
|
16059
|
+
"type": "string",
|
|
16060
|
+
"description": "The underlying resource id (emailId / talentId / candidateId / jobId)."
|
|
16061
|
+
},
|
|
16062
|
+
"tenantId": {
|
|
16063
|
+
"type": "string"
|
|
16064
|
+
},
|
|
16065
|
+
"status": {
|
|
16066
|
+
"type": "string"
|
|
16067
|
+
},
|
|
16068
|
+
"source": {
|
|
16069
|
+
"type": "string"
|
|
16070
|
+
},
|
|
16071
|
+
"created": {
|
|
16072
|
+
"type": "string"
|
|
16073
|
+
},
|
|
16074
|
+
"shortCode": {
|
|
16075
|
+
"type": "string"
|
|
16076
|
+
}
|
|
16077
|
+
},
|
|
16078
|
+
"additionalProperties": true
|
|
16079
|
+
}
|
|
16080
|
+
}
|
|
16081
|
+
}
|
|
15974
16082
|
},
|
|
15975
16083
|
"status": {
|
|
15976
16084
|
"type": "string",
|