@smartytalent/openai-tools 0.1.33-dev.7 → 0.1.33-dev.8

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 +20 -36
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -6646,26 +6646,18 @@
6646
6646
  "description": "BCC recipients. Each entry is an RFC 5322 address string."
6647
6647
  },
6648
6648
  "subject": {
6649
- "oneOf": [
6650
- {
6651
- "type": "string"
6652
- },
6653
- {
6654
- "type": "object",
6655
- "additionalProperties": true
6656
- }
6657
- ]
6649
+ "type": "object",
6650
+ "additionalProperties": {
6651
+ "type": "string"
6652
+ },
6653
+ "description": "Multilingual subject keyed by IETF BCP 47 locale code (e.g. `en-US`, `pl-PL`). The DAL writes per-locale entries from the AI analyze + translate steps; the UI picks the right key based on `conversationLanguageCode`."
6658
6654
  },
6659
6655
  "body": {
6660
- "oneOf": [
6661
- {
6662
- "type": "string"
6663
- },
6664
- {
6665
- "type": "object",
6666
- "additionalProperties": true
6667
- }
6668
- ]
6656
+ "type": "object",
6657
+ "additionalProperties": {
6658
+ "type": "string"
6659
+ },
6660
+ "description": "Multilingual HTML body keyed by IETF BCP 47 locale code. Same shape as `subject`. Body values are HTML strings; plain-text fallback is derived on send."
6669
6661
  },
6670
6662
  "shortCode": {
6671
6663
  "type": "string"
@@ -6980,26 +6972,18 @@
6980
6972
  "description": "BCC recipients. Each entry is an RFC 5322 address string."
6981
6973
  },
6982
6974
  "subject": {
6983
- "oneOf": [
6984
- {
6985
- "type": "string"
6986
- },
6987
- {
6988
- "type": "object",
6989
- "additionalProperties": true
6990
- }
6991
- ]
6975
+ "type": "object",
6976
+ "additionalProperties": {
6977
+ "type": "string"
6978
+ },
6979
+ "description": "Multilingual subject keyed by IETF BCP 47 locale code (e.g. `en-US`, `pl-PL`). The DAL writes per-locale entries from the AI analyze + translate steps; the UI picks the right key based on `conversationLanguageCode`."
6992
6980
  },
6993
6981
  "body": {
6994
- "oneOf": [
6995
- {
6996
- "type": "string"
6997
- },
6998
- {
6999
- "type": "object",
7000
- "additionalProperties": true
7001
- }
7002
- ]
6982
+ "type": "object",
6983
+ "additionalProperties": {
6984
+ "type": "string"
6985
+ },
6986
+ "description": "Multilingual HTML body keyed by IETF BCP 47 locale code. Same shape as `subject`. Body values are HTML strings; plain-text fallback is derived on send."
7003
6987
  },
7004
6988
  "shortCode": {
7005
6989
  "type": "string"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.7",
3
+ "version": "0.1.33-dev.8",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",