@smartytalent/openai-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
|
@@ -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."
|
|
@@ -11736,17 +11752,9 @@
|
|
|
11736
11752
|
"type": "string",
|
|
11737
11753
|
"description": "Comma-separated list of resource ids to batch-fetch. Requires `filterResourceType`."
|
|
11738
11754
|
},
|
|
11739
|
-
"
|
|
11740
|
-
"type": "
|
|
11741
|
-
"description": "
|
|
11742
|
-
},
|
|
11743
|
-
"filterIsSeen": {
|
|
11744
|
-
"type": "boolean",
|
|
11745
|
-
"description": "Only return seen (true) or unseen (false) states."
|
|
11746
|
-
},
|
|
11747
|
-
"filterIsSpam": {
|
|
11748
|
-
"type": "boolean",
|
|
11749
|
-
"description": "Only return spam-marked states. Reads from the SpamIndex."
|
|
11755
|
+
"folder": {
|
|
11756
|
+
"type": "string",
|
|
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."
|
|
11750
11758
|
},
|
|
11751
11759
|
"pageSize": {
|
|
11752
11760
|
"type": "integer",
|
|
@@ -15168,12 +15176,62 @@
|
|
|
15168
15176
|
"description": "The type of search to perform"
|
|
15169
15177
|
},
|
|
15170
15178
|
"query": {
|
|
15171
|
-
"
|
|
15172
|
-
"
|
|
15179
|
+
"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.",
|
|
15180
|
+
"oneOf": [
|
|
15181
|
+
{
|
|
15182
|
+
"$ref": "#/components/schemas/FinderQueryTalentsSchema"
|
|
15183
|
+
},
|
|
15184
|
+
{
|
|
15185
|
+
"$ref": "#/components/schemas/FinderQueryCandidatesSchema"
|
|
15186
|
+
},
|
|
15187
|
+
{
|
|
15188
|
+
"$ref": "#/components/schemas/FinderQueryJobsSchema"
|
|
15189
|
+
},
|
|
15190
|
+
{
|
|
15191
|
+
"$ref": "#/components/schemas/FinderQueryEmailsSchema"
|
|
15192
|
+
}
|
|
15193
|
+
]
|
|
15173
15194
|
},
|
|
15174
15195
|
"results": {
|
|
15196
|
+
"title": "FinderResultsSchema",
|
|
15175
15197
|
"type": "object",
|
|
15176
|
-
"description": "
|
|
15198
|
+
"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.",
|
|
15199
|
+
"properties": {
|
|
15200
|
+
"total": {
|
|
15201
|
+
"type": "integer",
|
|
15202
|
+
"description": "Count of matching documents before pagination."
|
|
15203
|
+
},
|
|
15204
|
+
"hits": {
|
|
15205
|
+
"type": "array",
|
|
15206
|
+
"items": {
|
|
15207
|
+
"title": "FinderResultHitSchema",
|
|
15208
|
+
"type": "object",
|
|
15209
|
+
"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`.",
|
|
15210
|
+
"properties": {
|
|
15211
|
+
"id": {
|
|
15212
|
+
"type": "string",
|
|
15213
|
+
"description": "The underlying resource id (emailId / talentId / candidateId / jobId)."
|
|
15214
|
+
},
|
|
15215
|
+
"tenantId": {
|
|
15216
|
+
"type": "string"
|
|
15217
|
+
},
|
|
15218
|
+
"status": {
|
|
15219
|
+
"type": "string"
|
|
15220
|
+
},
|
|
15221
|
+
"source": {
|
|
15222
|
+
"type": "string"
|
|
15223
|
+
},
|
|
15224
|
+
"created": {
|
|
15225
|
+
"type": "string"
|
|
15226
|
+
},
|
|
15227
|
+
"shortCode": {
|
|
15228
|
+
"type": "string"
|
|
15229
|
+
}
|
|
15230
|
+
},
|
|
15231
|
+
"additionalProperties": true
|
|
15232
|
+
}
|
|
15233
|
+
}
|
|
15234
|
+
}
|
|
15177
15235
|
},
|
|
15178
15236
|
"status": {
|
|
15179
15237
|
"type": "string",
|
|
@@ -15395,12 +15453,62 @@
|
|
|
15395
15453
|
"description": "The type of search to perform"
|
|
15396
15454
|
},
|
|
15397
15455
|
"query": {
|
|
15398
|
-
"
|
|
15399
|
-
"
|
|
15456
|
+
"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.",
|
|
15457
|
+
"oneOf": [
|
|
15458
|
+
{
|
|
15459
|
+
"$ref": "#/components/schemas/FinderQueryTalentsSchema"
|
|
15460
|
+
},
|
|
15461
|
+
{
|
|
15462
|
+
"$ref": "#/components/schemas/FinderQueryCandidatesSchema"
|
|
15463
|
+
},
|
|
15464
|
+
{
|
|
15465
|
+
"$ref": "#/components/schemas/FinderQueryJobsSchema"
|
|
15466
|
+
},
|
|
15467
|
+
{
|
|
15468
|
+
"$ref": "#/components/schemas/FinderQueryEmailsSchema"
|
|
15469
|
+
}
|
|
15470
|
+
]
|
|
15400
15471
|
},
|
|
15401
15472
|
"results": {
|
|
15473
|
+
"title": "FinderResultsSchema",
|
|
15402
15474
|
"type": "object",
|
|
15403
|
-
"description": "
|
|
15475
|
+
"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.",
|
|
15476
|
+
"properties": {
|
|
15477
|
+
"total": {
|
|
15478
|
+
"type": "integer",
|
|
15479
|
+
"description": "Count of matching documents before pagination."
|
|
15480
|
+
},
|
|
15481
|
+
"hits": {
|
|
15482
|
+
"type": "array",
|
|
15483
|
+
"items": {
|
|
15484
|
+
"title": "FinderResultHitSchema",
|
|
15485
|
+
"type": "object",
|
|
15486
|
+
"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`.",
|
|
15487
|
+
"properties": {
|
|
15488
|
+
"id": {
|
|
15489
|
+
"type": "string",
|
|
15490
|
+
"description": "The underlying resource id (emailId / talentId / candidateId / jobId)."
|
|
15491
|
+
},
|
|
15492
|
+
"tenantId": {
|
|
15493
|
+
"type": "string"
|
|
15494
|
+
},
|
|
15495
|
+
"status": {
|
|
15496
|
+
"type": "string"
|
|
15497
|
+
},
|
|
15498
|
+
"source": {
|
|
15499
|
+
"type": "string"
|
|
15500
|
+
},
|
|
15501
|
+
"created": {
|
|
15502
|
+
"type": "string"
|
|
15503
|
+
},
|
|
15504
|
+
"shortCode": {
|
|
15505
|
+
"type": "string"
|
|
15506
|
+
}
|
|
15507
|
+
},
|
|
15508
|
+
"additionalProperties": true
|
|
15509
|
+
}
|
|
15510
|
+
}
|
|
15511
|
+
}
|
|
15404
15512
|
},
|
|
15405
15513
|
"status": {
|
|
15406
15514
|
"type": "string",
|