@smartytalent/openai-tools 0.4.0 → 0.4.1-rc.1

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 +119 -8
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -841,6 +841,17 @@
841
841
  }
842
842
  }
843
843
  },
844
+ {
845
+ "type": "function",
846
+ "function": {
847
+ "name": "tenant_phone_numbers_assign_options",
848
+ "description": "Assign Phone Number Options",
849
+ "parameters": {
850
+ "type": "object",
851
+ "properties": {}
852
+ }
853
+ }
854
+ },
844
855
  {
845
856
  "type": "function",
846
857
  "function": {
@@ -1018,14 +1029,44 @@
1018
1029
  },
1019
1030
  "settings": {
1020
1031
  "type": "object",
1021
- "additionalProperties": true
1032
+ "additionalProperties": true,
1033
+ "description": "Free-form user settings map. PATCH replaces the WHOLE object -\nclients must read-merge-write. On the virtual employee\n(type='ai') the `presence` key is the canonical audio-visual\nidentity contract (Arc B B4.2), sparse by design: an absent\nkey means \"use the channel's default\".",
1034
+ "properties": {
1035
+ "presence": {
1036
+ "type": "object",
1037
+ "description": "Virtual-employee AV identity. Read-side resolver\n(presence_utils) sanitizes: voiceId/liveAvatarId must be\nplain tokens ([A-Za-z0-9._-], max 64/128) else they degrade\nto the channel default; intro is capped at 300 code points\non read. Consumed by meeting dispatch, the webapp realtime\nmint and call TwiML.",
1038
+ "properties": {
1039
+ "voiceId": {
1040
+ "type": "string",
1041
+ "description": "Realtime voice for EVERY channel the employee speaks in: alloy, ash, ballad, coral, echo, sage, shimmer, verse, marin, cedar. Backend only format-validates - FE should offer the hard list."
1042
+ },
1043
+ "voiceGender": {
1044
+ "type": "string",
1045
+ "enum": [
1046
+ "male",
1047
+ "female"
1048
+ ]
1049
+ },
1050
+ "liveAvatarId": {
1051
+ "type": "string",
1052
+ "description": "HeyGen LiveAvatar id for on-grid video."
1053
+ },
1054
+ "intro": {
1055
+ "type": "string",
1056
+ "maxLength": 300,
1057
+ "description": "Character sketch appended to voice prompts. NOT a role prompt (persona service owns prompt configs)."
1058
+ }
1059
+ }
1060
+ }
1061
+ }
1022
1062
  },
1023
1063
  "connections": {
1024
1064
  "type": "object",
1025
1065
  "additionalProperties": true
1026
1066
  },
1027
1067
  "avatarUrl": {
1028
- "type": "string"
1068
+ "type": "string",
1069
+ "description": "CDN URL of the profile picture. Either a per-user upload (users/... key, minted via the upload door) or a shared gallery image (avatars/...). Must point at an existing CDN object - updateUser head-checks it."
1029
1070
  },
1030
1071
  "status": {
1031
1072
  "type": "string"
@@ -1286,14 +1327,44 @@
1286
1327
  },
1287
1328
  "settings": {
1288
1329
  "type": "object",
1289
- "additionalProperties": true
1330
+ "additionalProperties": true,
1331
+ "description": "Free-form user settings map. PATCH replaces the WHOLE object -\nclients must read-merge-write. On the virtual employee\n(type='ai') the `presence` key is the canonical audio-visual\nidentity contract (Arc B B4.2), sparse by design: an absent\nkey means \"use the channel's default\".",
1332
+ "properties": {
1333
+ "presence": {
1334
+ "type": "object",
1335
+ "description": "Virtual-employee AV identity. Read-side resolver\n(presence_utils) sanitizes: voiceId/liveAvatarId must be\nplain tokens ([A-Za-z0-9._-], max 64/128) else they degrade\nto the channel default; intro is capped at 300 code points\non read. Consumed by meeting dispatch, the webapp realtime\nmint and call TwiML.",
1336
+ "properties": {
1337
+ "voiceId": {
1338
+ "type": "string",
1339
+ "description": "Realtime voice for EVERY channel the employee speaks in: alloy, ash, ballad, coral, echo, sage, shimmer, verse, marin, cedar. Backend only format-validates - FE should offer the hard list."
1340
+ },
1341
+ "voiceGender": {
1342
+ "type": "string",
1343
+ "enum": [
1344
+ "male",
1345
+ "female"
1346
+ ]
1347
+ },
1348
+ "liveAvatarId": {
1349
+ "type": "string",
1350
+ "description": "HeyGen LiveAvatar id for on-grid video."
1351
+ },
1352
+ "intro": {
1353
+ "type": "string",
1354
+ "maxLength": 300,
1355
+ "description": "Character sketch appended to voice prompts. NOT a role prompt (persona service owns prompt configs)."
1356
+ }
1357
+ }
1358
+ }
1359
+ }
1290
1360
  },
1291
1361
  "connections": {
1292
1362
  "type": "object",
1293
1363
  "additionalProperties": true
1294
1364
  },
1295
1365
  "avatarUrl": {
1296
- "type": "string"
1366
+ "type": "string",
1367
+ "description": "CDN URL of the profile picture. Either a per-user upload (users/... key, minted via the upload door) or a shared gallery image (avatars/...). Must point at an existing CDN object - updateUser head-checks it."
1297
1368
  },
1298
1369
  "status": {
1299
1370
  "type": "string"
@@ -13080,6 +13151,10 @@
13080
13151
  "type": "string",
13081
13152
  "description": "Source of the note"
13082
13153
  },
13154
+ "authorUserId": {
13155
+ "type": "string",
13156
+ "description": "Denormalized user id of the note's author (mirror of email.fromUserId): the boe workflow user for AI-written notes, the human creator for manual ones. Server-stamped at create from the caller identity; FE joins against its local user cache to render name + avatar without a per-row API call. Null on legacy rows."
13157
+ },
13083
13158
  "ttl": {
13084
13159
  "type": "string",
13085
13160
  "description": "Time-to-live expiration timestamp"
@@ -13243,6 +13318,10 @@
13243
13318
  "type": "string",
13244
13319
  "description": "Source of the note"
13245
13320
  },
13321
+ "authorUserId": {
13322
+ "type": "string",
13323
+ "description": "Denormalized user id of the note's author (mirror of email.fromUserId): the boe workflow user for AI-written notes, the human creator for manual ones. Server-stamped at create from the caller identity; FE joins against its local user cache to render name + avatar without a per-row API call. Null on legacy rows."
13324
+ },
13246
13325
  "ttl": {
13247
13326
  "type": "string",
13248
13327
  "description": "Time-to-live expiration timestamp"
@@ -15504,7 +15583,15 @@
15504
15583
  },
15505
15584
  "avatarId": {
15506
15585
  "type": "string",
15507
- "description": "AI only. HeyGen LiveAvatar avatar id for Boe's on-grid video, used at dispatch. Overrides the server default avatar; omit to use the default."
15586
+ "description": "AI only. HeyGen LiveAvatar avatar id for Boe's on-grid video, used at dispatch. Overrides the server default avatar; omit to use the default. Persisted on the attendee row and returned on reads (resolution at dispatch: request avatarId -> boe user settings.presence.liveAvatarId -> server default)."
15587
+ },
15588
+ "voiceGender": {
15589
+ "type": "string",
15590
+ "enum": [
15591
+ "male",
15592
+ "female"
15593
+ ],
15594
+ "description": "AI only, server-stamped at dispatch when the voice came from the boe user's settings.presence (request-picked voices fall back to the container's voice-derived gender). Returned on reads so FE can mirror the bot's presenting gender."
15508
15595
  },
15509
15596
  "config": {
15510
15597
  "type": "object",
@@ -15683,7 +15770,15 @@
15683
15770
  },
15684
15771
  "avatarId": {
15685
15772
  "type": "string",
15686
- "description": "AI only. HeyGen LiveAvatar avatar id for Boe's on-grid video, used at dispatch. Overrides the server default avatar; omit to use the default."
15773
+ "description": "AI only. HeyGen LiveAvatar avatar id for Boe's on-grid video, used at dispatch. Overrides the server default avatar; omit to use the default. Persisted on the attendee row and returned on reads (resolution at dispatch: request avatarId -> boe user settings.presence.liveAvatarId -> server default)."
15774
+ },
15775
+ "voiceGender": {
15776
+ "type": "string",
15777
+ "enum": [
15778
+ "male",
15779
+ "female"
15780
+ ],
15781
+ "description": "AI only, server-stamped at dispatch when the voice came from the boe user's settings.presence (request-picked voices fall back to the container's voice-derived gender). Returned on reads so FE can mirror the bot's presenting gender."
15687
15782
  },
15688
15783
  "config": {
15689
15784
  "type": "object",
@@ -15851,7 +15946,15 @@
15851
15946
  },
15852
15947
  "avatarId": {
15853
15948
  "type": "string",
15854
- "description": "AI only. HeyGen LiveAvatar avatar id for Boe's on-grid video, used at dispatch. Overrides the server default avatar; omit to use the default."
15949
+ "description": "AI only. HeyGen LiveAvatar avatar id for Boe's on-grid video, used at dispatch. Overrides the server default avatar; omit to use the default. Persisted on the attendee row and returned on reads (resolution at dispatch: request avatarId -> boe user settings.presence.liveAvatarId -> server default)."
15950
+ },
15951
+ "voiceGender": {
15952
+ "type": "string",
15953
+ "enum": [
15954
+ "male",
15955
+ "female"
15956
+ ],
15957
+ "description": "AI only, server-stamped at dispatch when the voice came from the boe user's settings.presence (request-picked voices fall back to the container's voice-derived gender). Returned on reads so FE can mirror the bot's presenting gender."
15855
15958
  },
15856
15959
  "config": {
15857
15960
  "type": "object",
@@ -16181,7 +16284,15 @@
16181
16284
  },
16182
16285
  "avatarId": {
16183
16286
  "type": "string",
16184
- "description": "AI only. HeyGen LiveAvatar avatar id for Boe's on-grid video, used at dispatch. Overrides the server default avatar; omit to use the default."
16287
+ "description": "AI only. HeyGen LiveAvatar avatar id for Boe's on-grid video, used at dispatch. Overrides the server default avatar; omit to use the default. Persisted on the attendee row and returned on reads (resolution at dispatch: request avatarId -> boe user settings.presence.liveAvatarId -> server default)."
16288
+ },
16289
+ "voiceGender": {
16290
+ "type": "string",
16291
+ "enum": [
16292
+ "male",
16293
+ "female"
16294
+ ],
16295
+ "description": "AI only, server-stamped at dispatch when the voice came from the boe user's settings.presence (request-picked voices fall back to the container's voice-derived gender). Returned on reads so FE can mirror the bot's presenting gender."
16185
16296
  },
16186
16297
  "config": {
16187
16298
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.4.0",
3
+ "version": "0.4.1-rc.1",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",