@smartytalent/openai-tools 0.1.33-dev.15 → 0.1.33-dev.17

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 +169 -0
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -12097,6 +12097,175 @@
12097
12097
  }
12098
12098
  }
12099
12099
  },
12100
+ {
12101
+ "type": "function",
12102
+ "function": {
12103
+ "name": "list_aggregates",
12104
+ "description": "List Aggregates",
12105
+ "parameters": {
12106
+ "type": "object",
12107
+ "properties": {
12108
+ "filterResourceType": {
12109
+ "type": "string",
12110
+ "description": "Only return aggregates for this resource type (e.g. emails).",
12111
+ "enum": [
12112
+ "emails",
12113
+ "candidates",
12114
+ "conversations",
12115
+ "jobs",
12116
+ "talents",
12117
+ "personas",
12118
+ "reports",
12119
+ "tasks"
12120
+ ]
12121
+ },
12122
+ "filterDimension": {
12123
+ "type": "string",
12124
+ "description": "Only return aggregates for this dimension (e.g. byFolder, byStatus). Triggers the `meta.by{Dimension}` overlay in the response."
12125
+ },
12126
+ "filterCategory": {
12127
+ "type": "string",
12128
+ "description": "Only return aggregates for this category within the dimension (e.g. received, sent)."
12129
+ },
12130
+ "filterKind": {
12131
+ "type": "string",
12132
+ "description": "Only return aggregates for this projection kind.",
12133
+ "enum": [
12134
+ "total",
12135
+ "seen",
12136
+ "unseen"
12137
+ ]
12138
+ },
12139
+ "pageSize": {
12140
+ "type": "integer",
12141
+ "description": "Specifies the number of items to retrieve per page. The maximum value is 100."
12142
+ },
12143
+ "pageAfter": {
12144
+ "type": "string",
12145
+ "description": "Opaque base64-encoded cursor returned by a previous list response, used for forward cursor-based pagination. Pass the value verbatim; do not decode or mutate it."
12146
+ },
12147
+ "pageBefore": {
12148
+ "type": "string",
12149
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
12150
+ }
12151
+ }
12152
+ }
12153
+ }
12154
+ },
12155
+ {
12156
+ "type": "function",
12157
+ "function": {
12158
+ "name": "aggregates_options",
12159
+ "description": "Aggregates Options",
12160
+ "parameters": {
12161
+ "type": "object",
12162
+ "properties": {}
12163
+ }
12164
+ }
12165
+ },
12166
+ {
12167
+ "type": "function",
12168
+ "function": {
12169
+ "name": "show_aggregate",
12170
+ "description": "Show Aggregate",
12171
+ "parameters": {
12172
+ "type": "object",
12173
+ "properties": {}
12174
+ }
12175
+ }
12176
+ },
12177
+ {
12178
+ "type": "function",
12179
+ "function": {
12180
+ "name": "update_aggregate",
12181
+ "description": "Update Aggregate (admin)",
12182
+ "parameters": {
12183
+ "title": "UpdateAggregateRequestBody",
12184
+ "type": "object",
12185
+ "required": [
12186
+ "data"
12187
+ ],
12188
+ "properties": {
12189
+ "data": {
12190
+ "title": "UpdateAggregateRequestBodyData",
12191
+ "type": "object",
12192
+ "required": [
12193
+ "type",
12194
+ "id",
12195
+ "attributes"
12196
+ ],
12197
+ "properties": {
12198
+ "type": {
12199
+ "type": "string",
12200
+ "enum": [
12201
+ "aggregates"
12202
+ ]
12203
+ },
12204
+ "id": {
12205
+ "type": "string"
12206
+ },
12207
+ "attributes": {
12208
+ "title": "AggregateAttributesSchema",
12209
+ "type": "object",
12210
+ "properties": {
12211
+ "resourceType": {
12212
+ "type": "string",
12213
+ "description": "The resource being counted (e.g. `emails`, `candidates`). Matches the `resourceType` enum used by the state service."
12214
+ },
12215
+ "dimension": {
12216
+ "type": "string",
12217
+ "description": "The categorisation axis (e.g. `byFolder` for emails, `byStatus` for candidates). Each owning service publishes its own dimensions."
12218
+ },
12219
+ "category": {
12220
+ "type": "string",
12221
+ "description": "A specific value within the dimension (e.g. `received`, `sent`, `draft` when dimension=byFolder). Lives in the composite id between dimension and kind."
12222
+ },
12223
+ "kind": {
12224
+ "type": "string",
12225
+ "enum": [
12226
+ "total",
12227
+ "unseen",
12228
+ "seen"
12229
+ ],
12230
+ "description": "Which projection of the category this row holds. `total` counts every resource; `seen` counts states with isSeen=true; `unseen` is total minus seen."
12231
+ },
12232
+ "value": {
12233
+ "type": "integer",
12234
+ "description": "Current counter value. Updated via atomic ADD on event consumption; admin PATCH allows manual correction for drift recovery."
12235
+ },
12236
+ "timestamps": {
12237
+ "title": "ResourceTimestampsSchema",
12238
+ "type": "object",
12239
+ "properties": {
12240
+ "created": {
12241
+ "type": "string",
12242
+ "format": "date-time"
12243
+ },
12244
+ "modified": {
12245
+ "type": "string",
12246
+ "format": "date-time"
12247
+ }
12248
+ }
12249
+ }
12250
+ }
12251
+ }
12252
+ }
12253
+ }
12254
+ }
12255
+ }
12256
+ }
12257
+ },
12258
+ {
12259
+ "type": "function",
12260
+ "function": {
12261
+ "name": "aggregate_options",
12262
+ "description": "Aggregate Options",
12263
+ "parameters": {
12264
+ "type": "object",
12265
+ "properties": {}
12266
+ }
12267
+ }
12268
+ },
12100
12269
  {
12101
12270
  "type": "function",
12102
12271
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.15",
3
+ "version": "0.1.33-dev.17",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",