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

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 +52 -4
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -236,11 +236,13 @@
236
236
  },
237
237
  "boePhone": {
238
238
  "type": "string",
239
- "description": "Twilio phone number assigned to the Boe AI agent for this tenant"
239
+ "deprecated": true,
240
+ "description": "DEPRECATED (Arc B B3d): the virtual employee's phone lives on its USER row - read it via the tenant's boeUser relationship. Tenant responses no longer carry this attribute."
240
241
  },
241
242
  "boeEmail": {
242
243
  "type": "string",
243
- "description": "Email address of the tenant's virtual employee (Boe). SERVER-DERIVED at tenant create as boe.{shortCode}@ai.{domain} - client-supplied values on POST are ignored. The user row is becoming the source of truth (Arc B); treat this attribute as read-only."
244
+ "deprecated": true,
245
+ "description": "DEPRECATED (Arc B B3d): the virtual employee's email lives on its USER row - read it via the tenant's boeUser relationship. Tenant responses no longer carry this attribute; client-supplied values are ignored."
244
246
  },
245
247
  "defaultFormId": {
246
248
  "type": "string",
@@ -554,11 +556,13 @@
554
556
  },
555
557
  "boePhone": {
556
558
  "type": "string",
557
- "description": "Twilio phone number assigned to the Boe AI agent for this tenant"
559
+ "deprecated": true,
560
+ "description": "DEPRECATED (Arc B B3d): the virtual employee's phone lives on its USER row - read it via the tenant's boeUser relationship. Tenant responses no longer carry this attribute."
558
561
  },
559
562
  "boeEmail": {
560
563
  "type": "string",
561
- "description": "Email address of the tenant's virtual employee (Boe). SERVER-DERIVED at tenant create as boe.{shortCode}@ai.{domain} - client-supplied values on POST are ignored. The user row is becoming the source of truth (Arc B); treat this attribute as read-only."
564
+ "deprecated": true,
565
+ "description": "DEPRECATED (Arc B B3d): the virtual employee's email lives on its USER row - read it via the tenant's boeUser relationship. Tenant responses no longer carry this attribute; client-supplied values are ignored."
562
566
  },
563
567
  "defaultFormId": {
564
568
  "type": "string",
@@ -793,6 +797,50 @@
793
797
  }
794
798
  }
795
799
  },
800
+ {
801
+ "type": "function",
802
+ "function": {
803
+ "name": "assign_tenant_phone_number",
804
+ "description": "Assign Existing Phone Number",
805
+ "parameters": {
806
+ "type": "object",
807
+ "properties": {
808
+ "data": {
809
+ "type": "object",
810
+ "properties": {
811
+ "type": {
812
+ "type": "string",
813
+ "enum": [
814
+ "tenant-phone-numbers"
815
+ ]
816
+ },
817
+ "attributes": {
818
+ "type": "object",
819
+ "properties": {
820
+ "phoneNumber": {
821
+ "type": "string",
822
+ "description": "The phone number to assign (E.164 format)"
823
+ },
824
+ "provider": {
825
+ "type": "string",
826
+ "enum": [
827
+ "twilio",
828
+ "external"
829
+ ],
830
+ "default": "twilio",
831
+ "description": "Where the number is hosted"
832
+ }
833
+ },
834
+ "required": [
835
+ "phoneNumber"
836
+ ]
837
+ }
838
+ }
839
+ }
840
+ }
841
+ }
842
+ }
843
+ },
796
844
  {
797
845
  "type": "function",
798
846
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.3.1-rc.1",
3
+ "version": "0.4.0",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",