@smartytalent/openai-tools 0.9.49 → 0.9.51

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 +201 -11
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -18807,7 +18807,7 @@
18807
18807
  "properties": {
18808
18808
  "filterResourceType": {
18809
18809
  "type": "string",
18810
- "description": "Only return aggregates for this resource type (e.g. emails, chats, calls, comments).",
18810
+ "description": "Only return aggregates for this resource type (e.g. emails, chats, calls, comments, meetings).",
18811
18811
  "enum": [
18812
18812
  "emails",
18813
18813
  "chats",
@@ -18819,9 +18819,18 @@
18819
18819
  "talents",
18820
18820
  "personas",
18821
18821
  "reports",
18822
- "tasks"
18822
+ "tasks",
18823
+ "meetings"
18823
18824
  ]
18824
18825
  },
18826
+ "filterDayFrom": {
18827
+ "type": "string",
18828
+ "description": "Day buckets from this UTC day on (YYYY-MM-DD, inclusive). Needs filterResourceType and filterDimension."
18829
+ },
18830
+ "filterDayTo": {
18831
+ "type": "string",
18832
+ "description": "Day buckets up to this UTC day (YYYY-MM-DD, inclusive). Needs filterResourceType and filterDimension."
18833
+ },
18825
18834
  "filterDimension": {
18826
18835
  "type": "string",
18827
18836
  "description": "Only return aggregates for this dimension (e.g. byFolder, byStatus). Triggers the `meta.by{Dimension}` overlay in the response."
@@ -18936,6 +18945,11 @@
18936
18945
  "type": "integer",
18937
18946
  "description": "Current counter value. Updated via atomic ADD on event consumption; admin PATCH allows manual correction for drift recovery."
18938
18947
  },
18948
+ "day": {
18949
+ "type": "string",
18950
+ "format": "date",
18951
+ "description": "The UTC day of a day bucket (event counts read with filterDayFrom / filterDayTo, e.g. the meet home's `meetings` counters, 2026-10-06). Absent on every other row."
18952
+ },
18939
18953
  "timestamps": {
18940
18954
  "title": "ResourceTimestampsSchema",
18941
18955
  "type": "object",
@@ -19384,7 +19398,7 @@
19384
19398
  "properties": {
19385
19399
  "filterStatus": {
19386
19400
  "type": "string",
19387
- "description": "Returns meetings with the current status (active, scheduled, ended, archived). If not provided, the default value will be set to 'active'.",
19401
+ "description": "Returns meetings with the current status (active, scheduled, ended, archived), ordered by `sort`. Without it every status is listed.",
19388
19402
  "enum": [
19389
19403
  "active",
19390
19404
  "scheduled",
@@ -19420,14 +19434,24 @@
19420
19434
  "type": "string",
19421
19435
  "description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
19422
19436
  },
19437
+ "filterScheduledFrom": {
19438
+ "type": "string",
19439
+ "description": "Meetings whose `scheduledAt` is at or after this time (ISO 8601; no zone = UTC), of `filterStatus` or `scheduled`."
19440
+ },
19441
+ "filterScheduledTo": {
19442
+ "type": "string",
19443
+ "description": "Meetings whose `scheduledAt` is before this time (ISO 8601; no zone = UTC), of `filterStatus` or `scheduled`."
19444
+ },
19423
19445
  "sort": {
19424
19446
  "type": "string",
19425
- "description": "Order results by a time field. Leading `-` means descending\n(newest-first). Accepted values:\n `-created` newest-first by creation time (CreatedIndex)\n `created` oldest-first by creation time\n `-modified` most-recently-modified first (ModifiedIndex)\n `modified` least-recently-modified first\nWith `filterStatus` the order is honoured on page-number\npagination (pageNumber): the matching ids are read from the\nstatus index with the sort field and ordered globally before the\npage is cut (since 2026-09-06). Cursor pagination (pageAfter /\npageBefore) and the other equality filters (filterCandidate,\nfilterHost, filterJob, filterShortCode, etc.) keep their own\nindex order; there sort has no effect. Compatible with\ndate-range filters (filterCreatedFrom/To, filterModifiedFrom/To)\nwhich already use the same indexes; sort just picks the\ndirection. On a capped list (meta.page.totalItemsCapped) the\norder applies within the capped window.",
19447
+ "description": "`-created` (the default) / `created`, `-modified` / `modified`, or\n`scheduledAt` / `-scheduledAt` (the meeting's time, of\n`filterStatus` or `scheduled`; a meeting without one sorts first\nascending, last descending). A leading `-` is descending.",
19426
19448
  "enum": [
19427
19449
  "-created",
19428
19450
  "created",
19429
19451
  "-modified",
19430
- "modified"
19452
+ "modified",
19453
+ "scheduledAt",
19454
+ "-scheduledAt"
19431
19455
  ]
19432
19456
  },
19433
19457
  "pageSize": {
@@ -19592,11 +19616,11 @@
19592
19616
  },
19593
19617
  "recordingUrl": {
19594
19618
  "type": "string",
19595
- "description": "Post-meeting recording URL. Populated by different paths\ndepending on meetingType:\n - `chime`: presigned S3 URL minted on read (in showMeeting)\n once `concatenationStatus=success`. Null until then.\n - `recall`: written by the recall.ai webhook handler with\n the recall.ai-hosted recording URL.\n - `external`: null - no recording captured.\nFE should treat presence-not-null as \"playable\" regardless\nof meetingType."
19619
+ "description": "Post-meeting recording URL. Populated by different paths\ndepending on meetingType:\n - `chime`: presigned S3 URL minted on read (in showMeeting) - of the copy cut where the room emptied (2026-10-06) when the post-meeting pipeline made one, of the merged recording otherwise -\n once `concatenationStatus=success`. Null until then.\n - `recall`: written by the recall.ai webhook handler with\n the recall.ai-hosted recording URL.\n - `external`: null - no recording captured.\nFE should treat presence-not-null as \"playable\" regardless\nof meetingType."
19596
19620
  },
19597
19621
  "transcript": {
19598
19622
  "type": "object",
19599
- "description": "Post-meeting transcript. Multilingual dict like calls: { langCode: text }.",
19623
+ "description": "Post-meeting transcript. Multilingual dict like calls: { langCode: text }. showMeeting only: listMeetings rows leave it out (2026-10-06, the meet home).",
19600
19624
  "additionalProperties": {
19601
19625
  "type": "string"
19602
19626
  }
@@ -19716,7 +19740,7 @@
19716
19740
  },
19717
19741
  "transcriptSegments": {
19718
19742
  "type": "array",
19719
- "description": "Time-coded transcript turns. Same shape as call transcriptSegments + adds attendeeId so FE can colour-code participants.",
19743
+ "description": "Time-coded transcript turns. Same shape as call transcriptSegments + adds attendeeId so FE can colour-code participants. showMeeting only: listMeetings rows leave it out (2026-10-06, the meet home).",
19720
19744
  "items": {
19721
19745
  "title": "MeetingTranscriptSegmentSchema",
19722
19746
  "type": "object",
@@ -19861,6 +19885,80 @@
19861
19885
  }
19862
19886
  }
19863
19887
  },
19888
+ "candidateName": {
19889
+ "type": "string",
19890
+ "description": "The name of the candidate the meeting is with (`candidateId`), read with the meeting on every read (2026-10-06, the meet home), so never stale. Absent without a candidate, when the candidate is gone, and for a hiring manager (his meeting list is not scoped to his team yet)."
19891
+ },
19892
+ "conversationSeconds": {
19893
+ "type": "integer",
19894
+ "description": "The conversation's length in seconds, from the first word to the last on the recording's clock (written by the post-meeting pipeline, 2026-10-06). Not the recording's length, which also holds the virtual employee waiting for the manager. Absent until the transcript is made."
19895
+ },
19896
+ "intakeConsent": {
19897
+ "type": "object",
19898
+ "description": "A brief's conversation: the manager's consent to the recording, stored once when he entered (the first stamp stays). Absent when none was given (meetings before the consent door, or he never entered).",
19899
+ "properties": {
19900
+ "recording": {
19901
+ "type": "boolean"
19902
+ },
19903
+ "text": {
19904
+ "type": "string",
19905
+ "description": "The words of the button he pressed, as the page showed them."
19906
+ },
19907
+ "locale": {
19908
+ "type": "string",
19909
+ "description": "The page's language."
19910
+ },
19911
+ "at": {
19912
+ "type": "string",
19913
+ "format": "date-time",
19914
+ "description": "The server's time of the consent."
19915
+ },
19916
+ "userId": {
19917
+ "type": "string",
19918
+ "description": "Who gave it."
19919
+ }
19920
+ }
19921
+ },
19922
+ "issues": {
19923
+ "type": "array",
19924
+ "description": "What went wrong with the meeting, computed from the row on every read (never stored); empty when nothing did. See MeetingIssueSchema for the codes.",
19925
+ "items": {
19926
+ "title": "MeetingIssueSchema",
19927
+ "type": "object",
19928
+ "description": "One thing that went wrong with a meeting (2026-10-06, the meet home):\n - `recordingFailed`: the capture of the recording failed (`detail` = the error).\n - `concatenationFailed`: merging the recording's chunks failed (`detail` = the error).\n - `transcriptMissing`: the recording was merged and no transcript came within an hour of it (the analysis failed or never ran); `at` = an hour after the merge.\n - `botFailed`: the virtual employee ended in an error (`attendeeId`, `detail`).\n - `botNeverJoined`: the meeting ended and the virtual employee never came into the room (`attendeeId`).\n - `avatarGivenUp`: the virtual employee's face was given up for good and the camera stayed off (`attendeeId`, `recoveries`).\n - `managerNeverEntered`: a brief's conversation ended and no signed-in person ever came in (a guest may have).\n - `nobodyEntered`: any other meeting with the virtual employee ended and no person ever came in.",
19929
+ "properties": {
19930
+ "code": {
19931
+ "type": "string",
19932
+ "enum": [
19933
+ "recordingFailed",
19934
+ "concatenationFailed",
19935
+ "transcriptMissing",
19936
+ "botFailed",
19937
+ "botNeverJoined",
19938
+ "avatarGivenUp",
19939
+ "managerNeverEntered",
19940
+ "nobodyEntered"
19941
+ ]
19942
+ },
19943
+ "at": {
19944
+ "type": "string",
19945
+ "description": "When it was known (ISO 8601, as stored)."
19946
+ },
19947
+ "detail": {
19948
+ "type": "string",
19949
+ "description": "The error, cut to 300 characters, where there is one."
19950
+ },
19951
+ "attendeeId": {
19952
+ "type": "string",
19953
+ "description": "The Chime attendee it concerns (the virtual employee)."
19954
+ },
19955
+ "recoveries": {
19956
+ "type": "integer",
19957
+ "description": "avatarGivenUp: how many times the face was raised again before it was given up."
19958
+ }
19959
+ }
19960
+ }
19961
+ },
19864
19962
  "status": {
19865
19963
  "type": "string",
19866
19964
  "enum": [
@@ -20046,6 +20144,24 @@
20046
20144
  }
20047
20145
  }
20048
20146
  },
20147
+ "brief": {
20148
+ "title": "MeetingRelationshipsBriefSchema",
20149
+ "type": "object",
20150
+ "description": "The brief this meeting is the intake conversation of (2026-10-06, the meet home), derived on read from `sourceType: briefs` + `sourceId`; `data: null` for any other meeting.",
20151
+ "properties": {
20152
+ "data": {
20153
+ "type": "object",
20154
+ "properties": {
20155
+ "type": {
20156
+ "type": "string"
20157
+ },
20158
+ "id": {
20159
+ "type": "string"
20160
+ }
20161
+ }
20162
+ }
20163
+ }
20164
+ },
20049
20165
  "job": {
20050
20166
  "title": "MeetingRelationshipsJobSchema",
20051
20167
  "type": "object",
@@ -20263,11 +20379,11 @@
20263
20379
  },
20264
20380
  "recordingUrl": {
20265
20381
  "type": "string",
20266
- "description": "Post-meeting recording URL. Populated by different paths\ndepending on meetingType:\n - `chime`: presigned S3 URL minted on read (in showMeeting)\n once `concatenationStatus=success`. Null until then.\n - `recall`: written by the recall.ai webhook handler with\n the recall.ai-hosted recording URL.\n - `external`: null - no recording captured.\nFE should treat presence-not-null as \"playable\" regardless\nof meetingType."
20382
+ "description": "Post-meeting recording URL. Populated by different paths\ndepending on meetingType:\n - `chime`: presigned S3 URL minted on read (in showMeeting) - of the copy cut where the room emptied (2026-10-06) when the post-meeting pipeline made one, of the merged recording otherwise -\n once `concatenationStatus=success`. Null until then.\n - `recall`: written by the recall.ai webhook handler with\n the recall.ai-hosted recording URL.\n - `external`: null - no recording captured.\nFE should treat presence-not-null as \"playable\" regardless\nof meetingType."
20267
20383
  },
20268
20384
  "transcript": {
20269
20385
  "type": "object",
20270
- "description": "Post-meeting transcript. Multilingual dict like calls: { langCode: text }.",
20386
+ "description": "Post-meeting transcript. Multilingual dict like calls: { langCode: text }. showMeeting only: listMeetings rows leave it out (2026-10-06, the meet home).",
20271
20387
  "additionalProperties": {
20272
20388
  "type": "string"
20273
20389
  }
@@ -20387,7 +20503,7 @@
20387
20503
  },
20388
20504
  "transcriptSegments": {
20389
20505
  "type": "array",
20390
- "description": "Time-coded transcript turns. Same shape as call transcriptSegments + adds attendeeId so FE can colour-code participants.",
20506
+ "description": "Time-coded transcript turns. Same shape as call transcriptSegments + adds attendeeId so FE can colour-code participants. showMeeting only: listMeetings rows leave it out (2026-10-06, the meet home).",
20391
20507
  "items": {
20392
20508
  "title": "MeetingTranscriptSegmentSchema",
20393
20509
  "type": "object",
@@ -20532,6 +20648,80 @@
20532
20648
  }
20533
20649
  }
20534
20650
  },
20651
+ "candidateName": {
20652
+ "type": "string",
20653
+ "description": "The name of the candidate the meeting is with (`candidateId`), read with the meeting on every read (2026-10-06, the meet home), so never stale. Absent without a candidate, when the candidate is gone, and for a hiring manager (his meeting list is not scoped to his team yet)."
20654
+ },
20655
+ "conversationSeconds": {
20656
+ "type": "integer",
20657
+ "description": "The conversation's length in seconds, from the first word to the last on the recording's clock (written by the post-meeting pipeline, 2026-10-06). Not the recording's length, which also holds the virtual employee waiting for the manager. Absent until the transcript is made."
20658
+ },
20659
+ "intakeConsent": {
20660
+ "type": "object",
20661
+ "description": "A brief's conversation: the manager's consent to the recording, stored once when he entered (the first stamp stays). Absent when none was given (meetings before the consent door, or he never entered).",
20662
+ "properties": {
20663
+ "recording": {
20664
+ "type": "boolean"
20665
+ },
20666
+ "text": {
20667
+ "type": "string",
20668
+ "description": "The words of the button he pressed, as the page showed them."
20669
+ },
20670
+ "locale": {
20671
+ "type": "string",
20672
+ "description": "The page's language."
20673
+ },
20674
+ "at": {
20675
+ "type": "string",
20676
+ "format": "date-time",
20677
+ "description": "The server's time of the consent."
20678
+ },
20679
+ "userId": {
20680
+ "type": "string",
20681
+ "description": "Who gave it."
20682
+ }
20683
+ }
20684
+ },
20685
+ "issues": {
20686
+ "type": "array",
20687
+ "description": "What went wrong with the meeting, computed from the row on every read (never stored); empty when nothing did. See MeetingIssueSchema for the codes.",
20688
+ "items": {
20689
+ "title": "MeetingIssueSchema",
20690
+ "type": "object",
20691
+ "description": "One thing that went wrong with a meeting (2026-10-06, the meet home):\n - `recordingFailed`: the capture of the recording failed (`detail` = the error).\n - `concatenationFailed`: merging the recording's chunks failed (`detail` = the error).\n - `transcriptMissing`: the recording was merged and no transcript came within an hour of it (the analysis failed or never ran); `at` = an hour after the merge.\n - `botFailed`: the virtual employee ended in an error (`attendeeId`, `detail`).\n - `botNeverJoined`: the meeting ended and the virtual employee never came into the room (`attendeeId`).\n - `avatarGivenUp`: the virtual employee's face was given up for good and the camera stayed off (`attendeeId`, `recoveries`).\n - `managerNeverEntered`: a brief's conversation ended and no signed-in person ever came in (a guest may have).\n - `nobodyEntered`: any other meeting with the virtual employee ended and no person ever came in.",
20692
+ "properties": {
20693
+ "code": {
20694
+ "type": "string",
20695
+ "enum": [
20696
+ "recordingFailed",
20697
+ "concatenationFailed",
20698
+ "transcriptMissing",
20699
+ "botFailed",
20700
+ "botNeverJoined",
20701
+ "avatarGivenUp",
20702
+ "managerNeverEntered",
20703
+ "nobodyEntered"
20704
+ ]
20705
+ },
20706
+ "at": {
20707
+ "type": "string",
20708
+ "description": "When it was known (ISO 8601, as stored)."
20709
+ },
20710
+ "detail": {
20711
+ "type": "string",
20712
+ "description": "The error, cut to 300 characters, where there is one."
20713
+ },
20714
+ "attendeeId": {
20715
+ "type": "string",
20716
+ "description": "The Chime attendee it concerns (the virtual employee)."
20717
+ },
20718
+ "recoveries": {
20719
+ "type": "integer",
20720
+ "description": "avatarGivenUp: how many times the face was raised again before it was given up."
20721
+ }
20722
+ }
20723
+ }
20724
+ },
20535
20725
  "status": {
20536
20726
  "type": "string",
20537
20727
  "enum": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.9.49",
3
+ "version": "0.9.51",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",