@smartytalent/openai-tools 0.1.33-dev.2 → 0.1.33-dev.3
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 +68 -8
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -6662,23 +6662,53 @@
|
|
|
6662
6662
|
"type": "object",
|
|
6663
6663
|
"properties": {
|
|
6664
6664
|
"fileName": {
|
|
6665
|
-
"type": "string"
|
|
6665
|
+
"type": "string",
|
|
6666
|
+
"description": "Display name shown in the mail client and used as the attachment filename on send."
|
|
6666
6667
|
},
|
|
6667
6668
|
"url": {
|
|
6668
|
-
"type": "string"
|
|
6669
|
+
"type": "string",
|
|
6670
|
+
"description": "S3 URL of the stored file. For user-uploaded attachments this is the path returned by POST /v1/files; for system-generated attachments (job/persona/report PDFs) it is the resource's own S3 path."
|
|
6669
6671
|
},
|
|
6670
6672
|
"type": {
|
|
6671
6673
|
"type": "string",
|
|
6672
|
-
"description": "Resource type this attachment belongs to: jobs
|
|
6674
|
+
"description": "Resource type this attachment belongs to. User-uploaded attachments use `files`; system-generated attachments use the owning resource type: `jobs`, `personas`, `talents`, `candidates`, `reports`, `ads`."
|
|
6675
|
+
},
|
|
6676
|
+
"fileId": {
|
|
6677
|
+
"type": "string",
|
|
6678
|
+
"description": "When `type == \"files\"`, the file resource ID so the frontend can resolve the latest file metadata (status, processing state) without parsing the URL."
|
|
6679
|
+
},
|
|
6680
|
+
"size": {
|
|
6681
|
+
"type": "integer",
|
|
6682
|
+
"description": "File size in bytes. Frontend displays it in the compose preview and mail list. Set by the upload flow from the Content-Length of the S3 object; absent on legacy rows."
|
|
6683
|
+
},
|
|
6684
|
+
"contentType": {
|
|
6685
|
+
"type": "string",
|
|
6686
|
+
"description": "MIME type (e.g. `application/pdf`, `image/png`). Drives icon selection in the UI and the Content-Type header in the outbound MIME part. Absent on legacy rows; frontend should fall back to extension inference."
|
|
6687
|
+
},
|
|
6688
|
+
"thumbnailUrl": {
|
|
6689
|
+
"type": "string",
|
|
6690
|
+
"description": "Optional S3 URL of a PNG preview (first-page render for PDFs/DOCX). Populated by the file service's conversion pipeline when a preview is available. Absent for non-previewable types."
|
|
6673
6691
|
}
|
|
6674
6692
|
}
|
|
6675
6693
|
},
|
|
6676
|
-
"description": "Attachments
|
|
6694
|
+
"description": "Attachments on the email. For user-uploaded attachments: frontend creates a File via POST /v1/files (which returns a presigned PUT URL), uploads to S3, then references the File here with `type: \"files\"` and the returned `url`/`fileId`. For system-generated attachments (job/persona/report PDFs) the eventbus / outbound path populates these automatically."
|
|
6677
6695
|
},
|
|
6678
6696
|
"conversationLanguageCode": {
|
|
6679
6697
|
"type": "string",
|
|
6680
6698
|
"description": "Denormalised copy of the related conversation's languageCode (e.g. `pl-PL`, `en-US`). Avoids an N+1 fetch when the list/detail view needs to pick the right locale for the multilingual subject/body dicts. Source of truth is the conversation row; read-only from the email's perspective."
|
|
6681
6699
|
},
|
|
6700
|
+
"parentEmailId": {
|
|
6701
|
+
"type": "string",
|
|
6702
|
+
"description": "Application-layer pointer to the email this one replies to. Used by the UI to render an 'in reply to' link in thread views. Set by the compose flow (frontend passes the parent on Reply) and by the broker when an inbound email matches an outbound via RFC 5322 In-Reply-To. Separate from meta.reference which carries the raw SMTP header chain."
|
|
6703
|
+
},
|
|
6704
|
+
"fromUserId": {
|
|
6705
|
+
"type": "string",
|
|
6706
|
+
"description": "Denormalised user id of the sender for outbound emails (the boe workflow user, or the human composer). Frontend joins this against its local user cache to render avatar + display name without a per-row API call. Null on inbound mail."
|
|
6707
|
+
},
|
|
6708
|
+
"fromCandidateId": {
|
|
6709
|
+
"type": "string",
|
|
6710
|
+
"description": "Denormalised candidate id of the sender for inbound replies from a candidate in an active conversation. Frontend joins this against its local candidate cache to render initials and the candidate name. Null on outbound mail and on anonymous inbound that didn't match a candidate."
|
|
6711
|
+
},
|
|
6682
6712
|
"ttl": {
|
|
6683
6713
|
"type": "string"
|
|
6684
6714
|
},
|
|
@@ -6962,23 +6992,53 @@
|
|
|
6962
6992
|
"type": "object",
|
|
6963
6993
|
"properties": {
|
|
6964
6994
|
"fileName": {
|
|
6965
|
-
"type": "string"
|
|
6995
|
+
"type": "string",
|
|
6996
|
+
"description": "Display name shown in the mail client and used as the attachment filename on send."
|
|
6966
6997
|
},
|
|
6967
6998
|
"url": {
|
|
6968
|
-
"type": "string"
|
|
6999
|
+
"type": "string",
|
|
7000
|
+
"description": "S3 URL of the stored file. For user-uploaded attachments this is the path returned by POST /v1/files; for system-generated attachments (job/persona/report PDFs) it is the resource's own S3 path."
|
|
6969
7001
|
},
|
|
6970
7002
|
"type": {
|
|
6971
7003
|
"type": "string",
|
|
6972
|
-
"description": "Resource type this attachment belongs to: jobs
|
|
7004
|
+
"description": "Resource type this attachment belongs to. User-uploaded attachments use `files`; system-generated attachments use the owning resource type: `jobs`, `personas`, `talents`, `candidates`, `reports`, `ads`."
|
|
7005
|
+
},
|
|
7006
|
+
"fileId": {
|
|
7007
|
+
"type": "string",
|
|
7008
|
+
"description": "When `type == \"files\"`, the file resource ID so the frontend can resolve the latest file metadata (status, processing state) without parsing the URL."
|
|
7009
|
+
},
|
|
7010
|
+
"size": {
|
|
7011
|
+
"type": "integer",
|
|
7012
|
+
"description": "File size in bytes. Frontend displays it in the compose preview and mail list. Set by the upload flow from the Content-Length of the S3 object; absent on legacy rows."
|
|
7013
|
+
},
|
|
7014
|
+
"contentType": {
|
|
7015
|
+
"type": "string",
|
|
7016
|
+
"description": "MIME type (e.g. `application/pdf`, `image/png`). Drives icon selection in the UI and the Content-Type header in the outbound MIME part. Absent on legacy rows; frontend should fall back to extension inference."
|
|
7017
|
+
},
|
|
7018
|
+
"thumbnailUrl": {
|
|
7019
|
+
"type": "string",
|
|
7020
|
+
"description": "Optional S3 URL of a PNG preview (first-page render for PDFs/DOCX). Populated by the file service's conversion pipeline when a preview is available. Absent for non-previewable types."
|
|
6973
7021
|
}
|
|
6974
7022
|
}
|
|
6975
7023
|
},
|
|
6976
|
-
"description": "Attachments
|
|
7024
|
+
"description": "Attachments on the email. For user-uploaded attachments: frontend creates a File via POST /v1/files (which returns a presigned PUT URL), uploads to S3, then references the File here with `type: \"files\"` and the returned `url`/`fileId`. For system-generated attachments (job/persona/report PDFs) the eventbus / outbound path populates these automatically."
|
|
6977
7025
|
},
|
|
6978
7026
|
"conversationLanguageCode": {
|
|
6979
7027
|
"type": "string",
|
|
6980
7028
|
"description": "Denormalised copy of the related conversation's languageCode (e.g. `pl-PL`, `en-US`). Avoids an N+1 fetch when the list/detail view needs to pick the right locale for the multilingual subject/body dicts. Source of truth is the conversation row; read-only from the email's perspective."
|
|
6981
7029
|
},
|
|
7030
|
+
"parentEmailId": {
|
|
7031
|
+
"type": "string",
|
|
7032
|
+
"description": "Application-layer pointer to the email this one replies to. Used by the UI to render an 'in reply to' link in thread views. Set by the compose flow (frontend passes the parent on Reply) and by the broker when an inbound email matches an outbound via RFC 5322 In-Reply-To. Separate from meta.reference which carries the raw SMTP header chain."
|
|
7033
|
+
},
|
|
7034
|
+
"fromUserId": {
|
|
7035
|
+
"type": "string",
|
|
7036
|
+
"description": "Denormalised user id of the sender for outbound emails (the boe workflow user, or the human composer). Frontend joins this against its local user cache to render avatar + display name without a per-row API call. Null on inbound mail."
|
|
7037
|
+
},
|
|
7038
|
+
"fromCandidateId": {
|
|
7039
|
+
"type": "string",
|
|
7040
|
+
"description": "Denormalised candidate id of the sender for inbound replies from a candidate in an active conversation. Frontend joins this against its local candidate cache to render initials and the candidate name. Null on outbound mail and on anonymous inbound that didn't match a candidate."
|
|
7041
|
+
},
|
|
6982
7042
|
"ttl": {
|
|
6983
7043
|
"type": "string"
|
|
6984
7044
|
},
|