@smartytalent/openai-tools 0.2.5-dev.1 → 0.3.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 +35 -4
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -110,7 +110,8 @@
110
110
  "type": "string"
111
111
  },
112
112
  "shortCode": {
113
- "type": "string"
113
+ "type": "string",
114
+ "description": "Tenant short code - the tenant's global handle. NEW codes must be 3-32 lowercase letters/digits (no hyphens; server-validated) and are globally unique (claim registry; duplicates are rejected with 400). Derives the virtual employee's default address boe.{shortCode}@ai.{domain}. Immutable after create. Legacy tenants may carry a '-{n}'-suffixed value."
114
115
  },
115
116
  "archivedAt": {
116
117
  "type": "string",
@@ -239,7 +240,7 @@
239
240
  },
240
241
  "boeEmail": {
241
242
  "type": "string",
242
- "description": "Email address assigned to the Boe AI agent for this tenant"
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."
243
244
  },
244
245
  "defaultFormId": {
245
246
  "type": "string",
@@ -427,7 +428,8 @@
427
428
  "type": "string"
428
429
  },
429
430
  "shortCode": {
430
- "type": "string"
431
+ "type": "string",
432
+ "description": "Tenant short code - the tenant's global handle. NEW codes must be 3-32 lowercase letters/digits (no hyphens; server-validated) and are globally unique (claim registry; duplicates are rejected with 400). Derives the virtual employee's default address boe.{shortCode}@ai.{domain}. Immutable after create. Legacy tenants may carry a '-{n}'-suffixed value."
431
433
  },
432
434
  "archivedAt": {
433
435
  "type": "string",
@@ -556,7 +558,7 @@
556
558
  },
557
559
  "boeEmail": {
558
560
  "type": "string",
559
- "description": "Email address assigned to the Boe AI agent for this tenant"
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."
560
562
  },
561
563
  "defaultFormId": {
562
564
  "type": "string",
@@ -13844,6 +13846,35 @@
13844
13846
  }
13845
13847
  }
13846
13848
  },
13849
+ {
13850
+ "type": "function",
13851
+ "function": {
13852
+ "name": "list_claims",
13853
+ "description": "Check Claim Availability",
13854
+ "parameters": {
13855
+ "type": "object",
13856
+ "properties": {
13857
+ "filterType": {
13858
+ "type": "string",
13859
+ "description": "filterType parameter",
13860
+ "enum": [
13861
+ "shortcode",
13862
+ "email",
13863
+ "phone"
13864
+ ]
13865
+ },
13866
+ "filterValue": {
13867
+ "type": "string",
13868
+ "description": "The exact name to check (email address, E.164 phone, or shortCode). Normalized to lowercase server-side."
13869
+ }
13870
+ },
13871
+ "required": [
13872
+ "filterType",
13873
+ "filterValue"
13874
+ ]
13875
+ }
13876
+ }
13877
+ },
13847
13878
  {
13848
13879
  "type": "function",
13849
13880
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.2.5-dev.1",
3
+ "version": "0.3.0",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",