@smartytalent/openai-tools 0.1.33-dev.30 → 0.1.33-dev.31

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 +15 -72
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -10488,11 +10488,11 @@
10488
10488
  "parameters": {
10489
10489
  "type": "object",
10490
10490
  "properties": {
10491
- "filterFolder": {
10491
+ "filterStatus": {
10492
10492
  "type": "string",
10493
- "description": "Filter by folder bucket. Mirrors the left-nav chips. Single-status\nfolders translate to filterStatus + filterDirection internally\n(drafts/scheduled/cancelled/archived/incoming/outgoing). Multi-\nstatus folders (active, missed) use a Scan path. Conflicts with\nexplicit filterStatus / filterDirection (request returns 400).",
10493
+ "description": "Filter by status bucket. Status IS the folder (email-style):\none value per FE chip nav entry. Accepts single value or\ncomma-separated list (e.g. `incoming,outgoing`). Comma-list\nroutes to the Scan path (slower, no cursor pagination).\nThe granular Twilio status (queued / ringing / no-answer /\nbusy / voicemail) is preserved in `meta.providerStatus` for\nretry / analytics, not exposed as the row status.",
10494
10494
  "enum": [
10495
- "drafts",
10495
+ "draft",
10496
10496
  "scheduled",
10497
10497
  "active",
10498
10498
  "incoming",
@@ -10502,25 +10502,6 @@
10502
10502
  "archived"
10503
10503
  ]
10504
10504
  },
10505
- "filterStatus": {
10506
- "type": "string",
10507
- "description": "Filter by status. Accepts single value or comma-separated list\n(e.g. `queued,ringing,in-progress`). Comma-list routes to the\nScan path (slower, no cursor pagination).",
10508
- "enum": [
10509
- "draft",
10510
- "scheduled",
10511
- "cancelled",
10512
- "queued",
10513
- "ringing",
10514
- "in-progress",
10515
- "completed",
10516
- "failed",
10517
- "no-answer",
10518
- "busy",
10519
- "voicemail",
10520
- "abandoned",
10521
- "archived"
10522
- ]
10523
- },
10524
10505
  "filterDirection": {
10525
10506
  "type": "string",
10526
10507
  "description": "Filter by direction (inbound or outbound).",
@@ -10661,19 +10642,14 @@
10661
10642
  "enum": [
10662
10643
  "draft",
10663
10644
  "scheduled",
10645
+ "active",
10646
+ "incoming",
10647
+ "outgoing",
10648
+ "missed",
10664
10649
  "cancelled",
10665
- "queued",
10666
- "ringing",
10667
- "in-progress",
10668
- "completed",
10669
- "failed",
10670
- "no-answer",
10671
- "busy",
10672
- "voicemail",
10673
- "abandoned",
10674
10650
  "archived"
10675
10651
  ],
10676
- "description": "Lifecycle state. Outbound rows that go through an operator review window or explicit scheduling start at `draft` (editable) or `scheduled` (Schedule armed for fireAt); on Schedule fire they progress queued -> ringing -> in-progress -> completed (or failed / no-answer / busy / voicemail). `abandoned` covers inbound calls where the caller hung up before the AI answered. `cancelled` is operator hard-kill before dial. `archived` is a terminal soft-delete."
10652
+ "description": "Lifecycle state - one value per FE chip nav bucket\n(email-style; status IS the folder, no separate folder\nfield). The granular Twilio status (queued / ringing /\nin-progress / no-answer / busy / voicemail / abandoned /\nfailed / Twilio's `canceled`) is preserved on\n`meta.providerStatus` for retry logic and analytics.\n- `draft` - operator editing, no Schedule armed\n- `scheduled` - Schedule armed for fireAt\n- `active` - live (Twilio queued / ringing / in-progress)\n- `incoming` - completed inbound call\n- `outgoing` - completed outbound call\n- `missed` - any failure terminal (no-answer / busy / failed /\n voicemail / abandoned / Twilio's mid-call canceled)\n- `cancelled` - operator-initiated DELETE before dial\n- `archived` - terminal soft-delete"
10677
10653
  },
10678
10654
  "fromIdentifier": {
10679
10655
  "type": "string",
@@ -10903,23 +10879,9 @@
10903
10879
  "type": "string",
10904
10880
  "description": "ISO 8601 timestamp when the AI summary pipeline (keyNotes + topicsDiscussed + sentiment + summary) finalized. Null until the post-call AI Step Function completes."
10905
10881
  },
10906
- "folder": {
10907
- "type": "string",
10908
- "enum": [
10909
- "drafts",
10910
- "scheduled",
10911
- "active",
10912
- "incoming",
10913
- "outgoing",
10914
- "missed",
10915
- "cancelled",
10916
- "archived"
10917
- ],
10918
- "description": "Server-derived bucket for the left-nav / filter chips, computed from (direction, status). Mirror of email/chat folder. UI uses this directly; do NOT compute on the client."
10919
- },
10920
10882
  "isLive": {
10921
10883
  "type": "boolean",
10922
- "description": "Server-derived: true when status is in {queued, ringing, in-progress}. Drives the live indicator + polling decision in the UI."
10884
+ "description": "Server-derived: true when status==`active`. Drives the live indicator + polling decision in the UI."
10923
10885
  },
10924
10886
  "hasRecording": {
10925
10887
  "type": "boolean",
@@ -11193,19 +11155,14 @@
11193
11155
  "enum": [
11194
11156
  "draft",
11195
11157
  "scheduled",
11158
+ "active",
11159
+ "incoming",
11160
+ "outgoing",
11161
+ "missed",
11196
11162
  "cancelled",
11197
- "queued",
11198
- "ringing",
11199
- "in-progress",
11200
- "completed",
11201
- "failed",
11202
- "no-answer",
11203
- "busy",
11204
- "voicemail",
11205
- "abandoned",
11206
11163
  "archived"
11207
11164
  ],
11208
- "description": "Lifecycle state. Outbound rows that go through an operator review window or explicit scheduling start at `draft` (editable) or `scheduled` (Schedule armed for fireAt); on Schedule fire they progress queued -> ringing -> in-progress -> completed (or failed / no-answer / busy / voicemail). `abandoned` covers inbound calls where the caller hung up before the AI answered. `cancelled` is operator hard-kill before dial. `archived` is a terminal soft-delete."
11165
+ "description": "Lifecycle state - one value per FE chip nav bucket\n(email-style; status IS the folder, no separate folder\nfield). The granular Twilio status (queued / ringing /\nin-progress / no-answer / busy / voicemail / abandoned /\nfailed / Twilio's `canceled`) is preserved on\n`meta.providerStatus` for retry logic and analytics.\n- `draft` - operator editing, no Schedule armed\n- `scheduled` - Schedule armed for fireAt\n- `active` - live (Twilio queued / ringing / in-progress)\n- `incoming` - completed inbound call\n- `outgoing` - completed outbound call\n- `missed` - any failure terminal (no-answer / busy / failed /\n voicemail / abandoned / Twilio's mid-call canceled)\n- `cancelled` - operator-initiated DELETE before dial\n- `archived` - terminal soft-delete"
11209
11166
  },
11210
11167
  "fromIdentifier": {
11211
11168
  "type": "string",
@@ -11435,23 +11392,9 @@
11435
11392
  "type": "string",
11436
11393
  "description": "ISO 8601 timestamp when the AI summary pipeline (keyNotes + topicsDiscussed + sentiment + summary) finalized. Null until the post-call AI Step Function completes."
11437
11394
  },
11438
- "folder": {
11439
- "type": "string",
11440
- "enum": [
11441
- "drafts",
11442
- "scheduled",
11443
- "active",
11444
- "incoming",
11445
- "outgoing",
11446
- "missed",
11447
- "cancelled",
11448
- "archived"
11449
- ],
11450
- "description": "Server-derived bucket for the left-nav / filter chips, computed from (direction, status). Mirror of email/chat folder. UI uses this directly; do NOT compute on the client."
11451
- },
11452
11395
  "isLive": {
11453
11396
  "type": "boolean",
11454
- "description": "Server-derived: true when status is in {queued, ringing, in-progress}. Drives the live indicator + polling decision in the UI."
11397
+ "description": "Server-derived: true when status==`active`. Drives the live indicator + polling decision in the UI."
11455
11398
  },
11456
11399
  "hasRecording": {
11457
11400
  "type": "boolean",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.30",
3
+ "version": "0.1.33-dev.31",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",