@smartytalent/mcp-tools 0.1.33-dev.5 → 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.
Files changed (2) hide show
  1. package/dist/tools.json +17 -1
  2. 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."
@@ -12120,7 +12136,7 @@
12120
12136
  },
12121
12137
  "folder": {
12122
12138
  "type": "string",
12123
- "description": "Folder-style filter. Exactly one value at a time (tagged-union\nsemantics - the SDK enforces this at compile time via string\nliteral union). Orthogonal to filterResourceType and\nfilterResourceIds, which scope the query but don't pick a folder.\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 `label:<labelId>` - rows whose flags.labels contains the labelId"
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."
12124
12140
  },
12125
12141
  "pageSize": {
12126
12142
  "type": "integer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.1.33-dev.5",
3
+ "version": "0.1.33-dev.6",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",