@smartytalent/openai-tools 0.1.33-dev.48 → 0.1.33-dev.49
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 +134 -1
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -5855,6 +5855,57 @@
|
|
|
5855
5855
|
"type": {
|
|
5856
5856
|
"type": "string"
|
|
5857
5857
|
},
|
|
5858
|
+
"kind": {
|
|
5859
|
+
"type": "string",
|
|
5860
|
+
"enum": [
|
|
5861
|
+
"image",
|
|
5862
|
+
"pdf",
|
|
5863
|
+
"video",
|
|
5864
|
+
"audio",
|
|
5865
|
+
"text",
|
|
5866
|
+
"unknown"
|
|
5867
|
+
],
|
|
5868
|
+
"description": "Renderer hint derived from contentType + conversion outputs.\nSet by the file service after conversion. `unknown` for\ncontent types with no preview pipeline."
|
|
5869
|
+
},
|
|
5870
|
+
"sizeBytes": {
|
|
5871
|
+
"type": "integer",
|
|
5872
|
+
"description": "File size in bytes. Stable post-upload."
|
|
5873
|
+
},
|
|
5874
|
+
"durationSeconds": {
|
|
5875
|
+
"type": "number",
|
|
5876
|
+
"description": "Duration of media files (video/audio) in seconds. Set by ffmpeg conversion. Null for non-media."
|
|
5877
|
+
},
|
|
5878
|
+
"pages": {
|
|
5879
|
+
"type": "array",
|
|
5880
|
+
"description": "Per-page metadata for paginated content (PDFs converted to\nPNGs by Poppler, multi-page images). Stable structure - page\ndimensions don't change request-to-request. The presigned\nURL for each page render lives at\n`meta.previewUrls.pages[i]`, indexed by the same position.\nNull for non-paginated content (video, audio, single text).",
|
|
5881
|
+
"items": {
|
|
5882
|
+
"type": "object",
|
|
5883
|
+
"properties": {
|
|
5884
|
+
"page": {
|
|
5885
|
+
"type": "integer",
|
|
5886
|
+
"description": "1-indexed page number."
|
|
5887
|
+
},
|
|
5888
|
+
"width": {
|
|
5889
|
+
"type": "integer",
|
|
5890
|
+
"description": "Pixel width of the rendered page image."
|
|
5891
|
+
},
|
|
5892
|
+
"height": {
|
|
5893
|
+
"type": "integer",
|
|
5894
|
+
"description": "Pixel height of the rendered page image."
|
|
5895
|
+
}
|
|
5896
|
+
}
|
|
5897
|
+
}
|
|
5898
|
+
},
|
|
5899
|
+
"transcript": {
|
|
5900
|
+
"type": "object",
|
|
5901
|
+
"additionalProperties": true,
|
|
5902
|
+
"description": "Multilingual transcript of media content. Locale-keyed\n(e.g. {\"en-US\": \"...\", \"pl-PL\": \"...\"}). Set by ffmpeg\nextraction + downstream AI translation. Null for\nnon-media content."
|
|
5903
|
+
},
|
|
5904
|
+
"summary": {
|
|
5905
|
+
"type": "object",
|
|
5906
|
+
"additionalProperties": true,
|
|
5907
|
+
"description": "Multilingual AI-generated summary. Same shape as transcript.\nUseful for recruiter-side scan UIs that don't want to play\nback the full media."
|
|
5908
|
+
},
|
|
5858
5909
|
"timestamps": {
|
|
5859
5910
|
"title": "ResourceTimestampsSchema",
|
|
5860
5911
|
"type": "object",
|
|
@@ -5986,6 +6037,57 @@
|
|
|
5986
6037
|
"type": {
|
|
5987
6038
|
"type": "string"
|
|
5988
6039
|
},
|
|
6040
|
+
"kind": {
|
|
6041
|
+
"type": "string",
|
|
6042
|
+
"enum": [
|
|
6043
|
+
"image",
|
|
6044
|
+
"pdf",
|
|
6045
|
+
"video",
|
|
6046
|
+
"audio",
|
|
6047
|
+
"text",
|
|
6048
|
+
"unknown"
|
|
6049
|
+
],
|
|
6050
|
+
"description": "Renderer hint derived from contentType + conversion outputs.\nSet by the file service after conversion. `unknown` for\ncontent types with no preview pipeline."
|
|
6051
|
+
},
|
|
6052
|
+
"sizeBytes": {
|
|
6053
|
+
"type": "integer",
|
|
6054
|
+
"description": "File size in bytes. Stable post-upload."
|
|
6055
|
+
},
|
|
6056
|
+
"durationSeconds": {
|
|
6057
|
+
"type": "number",
|
|
6058
|
+
"description": "Duration of media files (video/audio) in seconds. Set by ffmpeg conversion. Null for non-media."
|
|
6059
|
+
},
|
|
6060
|
+
"pages": {
|
|
6061
|
+
"type": "array",
|
|
6062
|
+
"description": "Per-page metadata for paginated content (PDFs converted to\nPNGs by Poppler, multi-page images). Stable structure - page\ndimensions don't change request-to-request. The presigned\nURL for each page render lives at\n`meta.previewUrls.pages[i]`, indexed by the same position.\nNull for non-paginated content (video, audio, single text).",
|
|
6063
|
+
"items": {
|
|
6064
|
+
"type": "object",
|
|
6065
|
+
"properties": {
|
|
6066
|
+
"page": {
|
|
6067
|
+
"type": "integer",
|
|
6068
|
+
"description": "1-indexed page number."
|
|
6069
|
+
},
|
|
6070
|
+
"width": {
|
|
6071
|
+
"type": "integer",
|
|
6072
|
+
"description": "Pixel width of the rendered page image."
|
|
6073
|
+
},
|
|
6074
|
+
"height": {
|
|
6075
|
+
"type": "integer",
|
|
6076
|
+
"description": "Pixel height of the rendered page image."
|
|
6077
|
+
}
|
|
6078
|
+
}
|
|
6079
|
+
}
|
|
6080
|
+
},
|
|
6081
|
+
"transcript": {
|
|
6082
|
+
"type": "object",
|
|
6083
|
+
"additionalProperties": true,
|
|
6084
|
+
"description": "Multilingual transcript of media content. Locale-keyed\n(e.g. {\"en-US\": \"...\", \"pl-PL\": \"...\"}). Set by ffmpeg\nextraction + downstream AI translation. Null for\nnon-media content."
|
|
6085
|
+
},
|
|
6086
|
+
"summary": {
|
|
6087
|
+
"type": "object",
|
|
6088
|
+
"additionalProperties": true,
|
|
6089
|
+
"description": "Multilingual AI-generated summary. Same shape as transcript.\nUseful for recruiter-side scan UIs that don't want to play\nback the full media."
|
|
6090
|
+
},
|
|
5989
6091
|
"timestamps": {
|
|
5990
6092
|
"title": "ResourceTimestampsSchema",
|
|
5991
6093
|
"type": "object",
|
|
@@ -16828,6 +16930,28 @@
|
|
|
16828
16930
|
}
|
|
16829
16931
|
},
|
|
16830
16932
|
"description": "Generated PDF report for this attempt's evaluation. Populated post-evaluation."
|
|
16933
|
+
},
|
|
16934
|
+
"files": {
|
|
16935
|
+
"title": "AttemptRelationshipsFilesSchema",
|
|
16936
|
+
"type": "object",
|
|
16937
|
+
"description": "FileResources attached to this attempt - one per file the\ncandidate uploaded as a `file-upload` or `video-recording`\nanswer. Populated by the workflow's `trigger_evaluation`\nstep after `process_attachments` registers each file with\nthe file service. Use `?include=files` on `showAttempt` /\n`showGuestAttempt` to sideload the FileResources in\n`included[]` (single round-trip preview).\nThe answer-to-file mapping lives on `FileResource.meta.questionId`\n(set at `file:process` time), not on AnswerFileSchema -\nrelated-resource IDs in attributes would violate JSON:API.",
|
|
16938
|
+
"properties": {
|
|
16939
|
+
"data": {
|
|
16940
|
+
"type": "array",
|
|
16941
|
+
"items": {
|
|
16942
|
+
"title": "AttemptRelationshipsFilesDataSchema",
|
|
16943
|
+
"type": "object",
|
|
16944
|
+
"properties": {
|
|
16945
|
+
"type": {
|
|
16946
|
+
"type": "string"
|
|
16947
|
+
},
|
|
16948
|
+
"id": {
|
|
16949
|
+
"type": "string"
|
|
16950
|
+
}
|
|
16951
|
+
}
|
|
16952
|
+
}
|
|
16953
|
+
}
|
|
16954
|
+
}
|
|
16831
16955
|
}
|
|
16832
16956
|
}
|
|
16833
16957
|
}
|
|
@@ -16920,7 +17044,12 @@
|
|
|
16920
17044
|
"description": "Show Attempt",
|
|
16921
17045
|
"parameters": {
|
|
16922
17046
|
"type": "object",
|
|
16923
|
-
"properties": {
|
|
17047
|
+
"properties": {
|
|
17048
|
+
"include": {
|
|
17049
|
+
"type": "string",
|
|
17050
|
+
"description": "Comma-separated list of relationships to sideload. Currently\nsupports `files`. Sideloaded resources land in `included[]`.\nOmit (or pass empty) for a relationships-only response."
|
|
17051
|
+
}
|
|
17052
|
+
}
|
|
16924
17053
|
}
|
|
16925
17054
|
}
|
|
16926
17055
|
},
|
|
@@ -17439,6 +17568,10 @@
|
|
|
17439
17568
|
"token": {
|
|
17440
17569
|
"type": "string",
|
|
17441
17570
|
"description": "token parameter"
|
|
17571
|
+
},
|
|
17572
|
+
"include": {
|
|
17573
|
+
"type": "string",
|
|
17574
|
+
"description": "Comma-separated list of relationships to sideload. Currently\nsupports `files`. Sideloaded resources land in `included[]`."
|
|
17442
17575
|
}
|
|
17443
17576
|
},
|
|
17444
17577
|
"required": [
|