@smartytalent/openai-tools 0.4.3 → 0.4.5

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 +60 -3
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -2920,7 +2920,9 @@
2920
2920
  "pl-PL",
2921
2921
  "de-DE",
2922
2922
  "it-IT",
2923
- "he-IL"
2923
+ "he-IL",
2924
+ "fr-FR",
2925
+ "cs-CZ"
2924
2926
  ]
2925
2927
  }
2926
2928
  }
@@ -4247,7 +4249,9 @@
4247
4249
  "pl-PL",
4248
4250
  "de-DE",
4249
4251
  "it-IT",
4250
- "he-IL"
4252
+ "he-IL",
4253
+ "fr-FR",
4254
+ "cs-CZ"
4251
4255
  ]
4252
4256
  }
4253
4257
  }
@@ -5389,7 +5393,9 @@
5389
5393
  "pl-PL",
5390
5394
  "de-DE",
5391
5395
  "it-IT",
5392
- "he-IL"
5396
+ "he-IL",
5397
+ "fr-FR",
5398
+ "cs-CZ"
5393
5399
  ]
5394
5400
  }
5395
5401
  }
@@ -11487,6 +11493,57 @@
11487
11493
  }
11488
11494
  }
11489
11495
  }
11496
+ },
11497
+ "meta": {
11498
+ "title": "CallMetaSchema",
11499
+ "type": "object",
11500
+ "description": "Resource-level meta for call rows. Provider-specific identifiers\nlive here (Twilio CallSid is also surfaced top-level for the\nProviderCallSidIndex GSI; this is the canonical record). Forward-\ncompatible (additionalProperties: true) so transport adapters can\nstash protocol-specific fields without schema churn.",
11501
+ "properties": {
11502
+ "providerCallSid": {
11503
+ "type": "string",
11504
+ "description": "Provider-side call id (Twilio CallSid for phone)."
11505
+ },
11506
+ "providerStreamSid": {
11507
+ "type": "string",
11508
+ "description": "Provider-side media stream id (Twilio Media Stream SID)."
11509
+ },
11510
+ "providerStatus": {
11511
+ "type": "string",
11512
+ "description": "Granular provider status, preserved separately from the\nrow's bucket `status`. Drives retry / analytics decisions\n(e.g. `busy` retries faster than `no-answer`; `failed`\ndoesn't retry). Twilio CallStatus values: queued, initiated,\nringing, in-progress, completed, busy, no-answer, failed,\ncanceled."
11513
+ },
11514
+ "reasonCode": {
11515
+ "type": "string",
11516
+ "enum": [
11517
+ "call_already_active",
11518
+ "lockout_window",
11519
+ "not_in_review_window"
11520
+ ],
11521
+ "description": "Set on 409 responses for non-actionable transitions. call_already_active=DELETE on active rows; lockout_window=DELETE within 30s of scheduledFireAt; not_in_review_window=PATCH systemPrompt/plannedTopics/scheduledFireAt outside draft|scheduled."
11522
+ },
11523
+ "intent": {
11524
+ "type": "string",
11525
+ "enum": [
11526
+ "brief_request",
11527
+ "job_application",
11528
+ "talent_pool",
11529
+ "status_inquiry",
11530
+ "wrong_number",
11531
+ "sales_chat",
11532
+ "faq",
11533
+ "other"
11534
+ ],
11535
+ "description": "AI classifier output, inbound calls only - the fast hangup verdict; the accurate pass reruns on the analyzed transcript (Discover Intent From Call on service:call:analyzed). intent=brief_request opens the phone-brief conversation. Not present on outbound rows."
11536
+ },
11537
+ "intentReasoning": {
11538
+ "type": "string",
11539
+ "description": "One-sentence explanation of the intent classifier's choice. Inbound calls only."
11540
+ },
11541
+ "isReply": {
11542
+ "type": "boolean",
11543
+ "description": "True when this call is a workflow-driven follow-up (e.g. boe calling back to clarify a brief)."
11544
+ }
11545
+ },
11546
+ "additionalProperties": true
11490
11547
  }
11491
11548
  }
11492
11549
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",