@smartytalent/openai-tools 0.4.3 → 0.4.4

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 +51 -0
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -11487,6 +11487,57 @@
11487
11487
  }
11488
11488
  }
11489
11489
  }
11490
+ },
11491
+ "meta": {
11492
+ "title": "CallMetaSchema",
11493
+ "type": "object",
11494
+ "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.",
11495
+ "properties": {
11496
+ "providerCallSid": {
11497
+ "type": "string",
11498
+ "description": "Provider-side call id (Twilio CallSid for phone)."
11499
+ },
11500
+ "providerStreamSid": {
11501
+ "type": "string",
11502
+ "description": "Provider-side media stream id (Twilio Media Stream SID)."
11503
+ },
11504
+ "providerStatus": {
11505
+ "type": "string",
11506
+ "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."
11507
+ },
11508
+ "reasonCode": {
11509
+ "type": "string",
11510
+ "enum": [
11511
+ "call_already_active",
11512
+ "lockout_window",
11513
+ "not_in_review_window"
11514
+ ],
11515
+ "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."
11516
+ },
11517
+ "intent": {
11518
+ "type": "string",
11519
+ "enum": [
11520
+ "brief_request",
11521
+ "job_application",
11522
+ "talent_pool",
11523
+ "status_inquiry",
11524
+ "wrong_number",
11525
+ "sales_chat",
11526
+ "faq",
11527
+ "other"
11528
+ ],
11529
+ "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."
11530
+ },
11531
+ "intentReasoning": {
11532
+ "type": "string",
11533
+ "description": "One-sentence explanation of the intent classifier's choice. Inbound calls only."
11534
+ },
11535
+ "isReply": {
11536
+ "type": "boolean",
11537
+ "description": "True when this call is a workflow-driven follow-up (e.g. boe calling back to clarify a brief)."
11538
+ }
11539
+ },
11540
+ "additionalProperties": true
11490
11541
  }
11491
11542
  }
11492
11543
  }
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.4",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",