@smartytalent/openai-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
@@ -6509,6 +6509,22 @@
6509
6509
  "type": "string",
6510
6510
  "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`)."
6511
6511
  },
6512
+ "filterDirection": {
6513
+ "type": "string",
6514
+ "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.",
6515
+ "enum": [
6516
+ "inbound",
6517
+ "outbound"
6518
+ ]
6519
+ },
6520
+ "filterIds": {
6521
+ "type": "string",
6522
+ "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."
6523
+ },
6524
+ "filterIsSystemSpam": {
6525
+ "type": "boolean",
6526
+ "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."
6527
+ },
6512
6528
  "filterCreatedFrom": {
6513
6529
  "type": "string",
6514
6530
  "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
@@ -11738,7 +11754,7 @@
11738
11754
  },
11739
11755
  "folder": {
11740
11756
  "type": "string",
11741
- "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"
11757
+ "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."
11742
11758
  },
11743
11759
  "pageSize": {
11744
11760
  "type": "integer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.5",
3
+ "version": "0.1.33-dev.6",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",