@smartytalent/openai-tools 0.1.33-dev.63 → 0.1.33-dev.65

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 +166 -2
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -914,7 +914,16 @@
914
914
  "type": "string"
915
915
  },
916
916
  "isSystem": {
917
- "type": "boolean"
917
+ "type": "boolean",
918
+ "description": "Marks tenant-internal system users (admins, integrations, the Boe bot). Distinct from `type` - `isSystem=true` only means 'not a regular end-user'; the human-vs-bot split lives in `type`."
919
+ },
920
+ "type": {
921
+ "type": "string",
922
+ "enum": [
923
+ "human",
924
+ "ai"
925
+ ],
926
+ "description": "Discriminator for human-vs-bot users.\n 'ai' - Boe bot user. tenant.relationships.boeUser points at one\n of these per tenant. Drives the createMeetingAttendee\n AI-dispatch decision: principalType=user + user.type='ai'\n makes the meeting service spawn a Fargate bot instead of\n returning Chime join credentials.\n 'human' - regular user (recruiter, observer, candidate-with-account).\n null - legacy rows without the field; treated as 'human' by the\n server (safer default - we'd rather miss a bot dispatch\n than accidentally dispatch a Fargate task for a real human)."
918
927
  },
919
928
  "address": {
920
929
  "type": "object",
@@ -1173,7 +1182,16 @@
1173
1182
  "type": "string"
1174
1183
  },
1175
1184
  "isSystem": {
1176
- "type": "boolean"
1185
+ "type": "boolean",
1186
+ "description": "Marks tenant-internal system users (admins, integrations, the Boe bot). Distinct from `type` - `isSystem=true` only means 'not a regular end-user'; the human-vs-bot split lives in `type`."
1187
+ },
1188
+ "type": {
1189
+ "type": "string",
1190
+ "enum": [
1191
+ "human",
1192
+ "ai"
1193
+ ],
1194
+ "description": "Discriminator for human-vs-bot users.\n 'ai' - Boe bot user. tenant.relationships.boeUser points at one\n of these per tenant. Drives the createMeetingAttendee\n AI-dispatch decision: principalType=user + user.type='ai'\n makes the meeting service spawn a Fargate bot instead of\n returning Chime join credentials.\n 'human' - regular user (recruiter, observer, candidate-with-account).\n null - legacy rows without the field; treated as 'human' by the\n server (safer default - we'd rather miss a bot dispatch\n than accidentally dispatch a Fargate task for a real human)."
1177
1195
  },
1178
1196
  "address": {
1179
1197
  "type": "object",
@@ -15054,6 +15072,152 @@
15054
15072
  }
15055
15073
  }
15056
15074
  },
15075
+ {
15076
+ "type": "function",
15077
+ "function": {
15078
+ "name": "create_guest_meeting_attendee",
15079
+ "description": "Create Guest Meeting Attendee",
15080
+ "parameters": {
15081
+ "title": "CreateMeetingAttendeeRequestBody",
15082
+ "type": "object",
15083
+ "required": [
15084
+ "data"
15085
+ ],
15086
+ "properties": {
15087
+ "data": {
15088
+ "title": "CreateMeetingAttendeeRequestBodyData",
15089
+ "type": "object",
15090
+ "required": [
15091
+ "type",
15092
+ "attributes"
15093
+ ],
15094
+ "properties": {
15095
+ "type": {
15096
+ "type": "string",
15097
+ "enum": [
15098
+ "attendees"
15099
+ ]
15100
+ },
15101
+ "attributes": {
15102
+ "title": "MeetingAttendeeAttributesSchema",
15103
+ "type": "object",
15104
+ "description": "Chime attendee record - someone (or some bot) with a live or terminated\nChime SDK attendee for this meeting. Unified across human-auth +\nhuman-guest + AI; principalType + the optional relationships disambiguate.\nUsed both as the createMeetingAttendee request body shape (subset of fields\naccepted - server ignores fields it sets itself) and as the response shape.",
15105
+ "properties": {
15106
+ "chimeAttendeeId": {
15107
+ "type": "string",
15108
+ "description": "Chime SDK attendee id. Server-generated, immutable. Also the resource id of this attendee. Not accepted on the request - server allocates."
15109
+ },
15110
+ "externalUserId": {
15111
+ "type": "string",
15112
+ "description": "Namespace-prefixed identifier sent to Chime CreateAttendee. Format: `user:<userId>` for auth humans, `guest:<guestId>` for lobby walk-ins, `boe:<userId>` for AI users. Visible in Chime State Change events so any consumer can identify the principal type without a DB join. Derived server-side from principalType / user.type - do not set on the request."
15113
+ },
15114
+ "joinToken": {
15115
+ "type": "string",
15116
+ "description": "One-time Chime SDK join token. Present only on the createMeetingAttendee response; do NOT cache or re-use - request a fresh attendee if the join fails."
15117
+ },
15118
+ "principalType": {
15119
+ "type": "string",
15120
+ "enum": [
15121
+ "user",
15122
+ "candidate",
15123
+ "talent",
15124
+ "guest"
15125
+ ],
15126
+ "description": "Type of the underlying principal who owns this attendance. Mirrors call.fromType / call.toType taxonomy so the same vocabulary spans channels. Required on createMeetingAttendee request."
15127
+ },
15128
+ "principalId": {
15129
+ "type": "string",
15130
+ "description": "Stable id of the principal (e.g. usr-anna, cnd-tomek, gst-xyz). For namespace `boe:` attendees this is the boe user's id - Boe is a user just like a human, the principalType is still 'user'. Required on createMeetingAttendee request unless principalType=guest (then the server allocates a guest id)."
15131
+ },
15132
+ "name": {
15133
+ "type": "string",
15134
+ "description": "Display name shown in the roster. Source: user.name for principalType=user (auth or boe), lobby-typed name for guest, candidate/talent name for those types. Accepted on the request as an override; otherwise server resolves it from the principal."
15135
+ },
15136
+ "role": {
15137
+ "type": "string",
15138
+ "enum": [
15139
+ "host",
15140
+ "attendee",
15141
+ "candidate",
15142
+ "observer",
15143
+ "interviewer",
15144
+ "notetaker",
15145
+ "sales",
15146
+ "other"
15147
+ ],
15148
+ "description": "Function this attendee plays in THIS meeting. Distinct from user.type (which says human-vs-bot at the user level). At most one `host` per meeting. AI bot roles (interviewer / notetaker / sales) drive prompt template selection in the bot container."
15149
+ },
15150
+ "status": {
15151
+ "type": "string",
15152
+ "enum": [
15153
+ "joining",
15154
+ "active",
15155
+ "left",
15156
+ "dropped",
15157
+ "ended",
15158
+ "error"
15159
+ ],
15160
+ "description": "Lifecycle on the attendee record.\n joining - row created, attendee not yet on Chime grid (typical for bots between dispatch and Chime ack, or for fresh createMeetingAttendee responses pre-join)\n active - present on the Chime grid, audio bridging\n left - left cleanly (clicked leave or natural end)\n dropped - lost connection or network drop (per Chime AttendeeDropped event)\n ended - bot path: server-initiated dismiss (DELETE) or natural completion\n error - bot dispatch / join failed; see errorMessage\nServer-managed - do not set on the request."
15161
+ },
15162
+ "email": {
15163
+ "type": "string",
15164
+ "description": "Optional. Auth humans: from user profile (server-resolved). Guests: from lobby form (accepted on request)."
15165
+ },
15166
+ "phone": {
15167
+ "type": "string",
15168
+ "description": "Optional. Typed in lobby form when present (guest only)."
15169
+ },
15170
+ "voice": {
15171
+ "type": "string",
15172
+ "description": "AI only. Realtime model voice (alloy / echo / fable / onyx / nova / shimmer). Used at dispatch."
15173
+ },
15174
+ "config": {
15175
+ "type": "object",
15176
+ "additionalProperties": true,
15177
+ "description": "AI only. Per-bot runtime config: mode, language, targetLanguage, persona, faceId, context (job-context auto-enrichment seed). Echoed back so FE can confirm what the bot received."
15178
+ },
15179
+ "taskArn": {
15180
+ "type": "string",
15181
+ "description": "AI only. ECS task ARN for the bot (operational). Server-managed."
15182
+ },
15183
+ "errorMessage": {
15184
+ "type": "string",
15185
+ "description": "Populated when status=error."
15186
+ },
15187
+ "joinedAt": {
15188
+ "type": "string",
15189
+ "format": "date-time",
15190
+ "description": "Server-stamped from chime:AttendeeJoined event."
15191
+ },
15192
+ "leftAt": {
15193
+ "type": "string",
15194
+ "format": "date-time",
15195
+ "description": "Server-stamped from chime:AttendeeLeft / Dropped event."
15196
+ },
15197
+ "chimeMeetingData": {
15198
+ "type": "object",
15199
+ "additionalProperties": true,
15200
+ "description": "Raw AWS Chime CreateMeeting `Meeting` object - passed verbatim to chime-sdk-js. Only on the createMeetingAttendee response (so the joining client gets everything it needs in one round-trip); not stored on the row."
15201
+ }
15202
+ }
15203
+ }
15204
+ }
15205
+ }
15206
+ }
15207
+ }
15208
+ }
15209
+ },
15210
+ {
15211
+ "type": "function",
15212
+ "function": {
15213
+ "name": "guest_meeting_attendees_options",
15214
+ "description": "Guest Meeting Attendees Options",
15215
+ "parameters": {
15216
+ "type": "object",
15217
+ "properties": {}
15218
+ }
15219
+ }
15220
+ },
15057
15221
  {
15058
15222
  "type": "function",
15059
15223
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.63",
3
+ "version": "0.1.33-dev.65",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",