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

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 +109 -74
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -255,6 +255,24 @@
255
255
  }
256
256
  }
257
257
  },
258
+ "boeCalendar": {
259
+ "title": "TenantRelationshipsBoeCalendarSchema",
260
+ "type": "object",
261
+ "description": "Boe's primary calendar. Denormalized here so workflow seeds and FE can resolve it in one tenant fetch instead of a list_calendars round trip. Mirror of boeUser semantics: written by tenant onboarding / workflow seeding, not client-writable via tenant PATCH. May be null on tenants provisioned before boe calendars existed - fall back to GET /v1/calendars?filterOwnerId=boeUserId.",
262
+ "properties": {
263
+ "data": {
264
+ "type": "object",
265
+ "properties": {
266
+ "type": {
267
+ "type": "string"
268
+ },
269
+ "id": {
270
+ "type": "string"
271
+ }
272
+ }
273
+ }
274
+ }
275
+ },
258
276
  "feedbacks": {
259
277
  "title": "TenantRelationshipsFeedbacksSchema",
260
278
  "type": "object",
@@ -540,6 +558,24 @@
540
558
  }
541
559
  }
542
560
  },
561
+ "boeCalendar": {
562
+ "title": "TenantRelationshipsBoeCalendarSchema",
563
+ "type": "object",
564
+ "description": "Boe's primary calendar. Denormalized here so workflow seeds and FE can resolve it in one tenant fetch instead of a list_calendars round trip. Mirror of boeUser semantics: written by tenant onboarding / workflow seeding, not client-writable via tenant PATCH. May be null on tenants provisioned before boe calendars existed - fall back to GET /v1/calendars?filterOwnerId=boeUserId.",
565
+ "properties": {
566
+ "data": {
567
+ "type": "object",
568
+ "properties": {
569
+ "type": {
570
+ "type": "string"
571
+ },
572
+ "id": {
573
+ "type": "string"
574
+ }
575
+ }
576
+ }
577
+ }
578
+ },
543
579
  "feedbacks": {
544
580
  "title": "TenantRelationshipsFeedbacksSchema",
545
581
  "type": "object",
@@ -10488,11 +10524,11 @@
10488
10524
  "parameters": {
10489
10525
  "type": "object",
10490
10526
  "properties": {
10491
- "filterFolder": {
10527
+ "filterStatus": {
10492
10528
  "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).",
10529
+ "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
10530
  "enum": [
10495
- "drafts",
10531
+ "draft",
10496
10532
  "scheduled",
10497
10533
  "active",
10498
10534
  "incoming",
@@ -10502,25 +10538,6 @@
10502
10538
  "archived"
10503
10539
  ]
10504
10540
  },
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
10541
  "filterDirection": {
10525
10542
  "type": "string",
10526
10543
  "description": "Filter by direction (inbound or outbound).",
@@ -10661,19 +10678,14 @@
10661
10678
  "enum": [
10662
10679
  "draft",
10663
10680
  "scheduled",
10681
+ "active",
10682
+ "incoming",
10683
+ "outgoing",
10684
+ "missed",
10664
10685
  "cancelled",
10665
- "queued",
10666
- "ringing",
10667
- "in-progress",
10668
- "completed",
10669
- "failed",
10670
- "no-answer",
10671
- "busy",
10672
- "voicemail",
10673
- "abandoned",
10674
10686
  "archived"
10675
10687
  ],
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."
10688
+ "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
10689
  },
10678
10690
  "fromIdentifier": {
10679
10691
  "type": "string",
@@ -10903,23 +10915,9 @@
10903
10915
  "type": "string",
10904
10916
  "description": "ISO 8601 timestamp when the AI summary pipeline (keyNotes + topicsDiscussed + sentiment + summary) finalized. Null until the post-call AI Step Function completes."
10905
10917
  },
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
10918
  "isLive": {
10921
10919
  "type": "boolean",
10922
- "description": "Server-derived: true when status is in {queued, ringing, in-progress}. Drives the live indicator + polling decision in the UI."
10920
+ "description": "Server-derived: true when status==`active`. Drives the live indicator + polling decision in the UI."
10923
10921
  },
10924
10922
  "hasRecording": {
10925
10923
  "type": "boolean",
@@ -11193,19 +11191,14 @@
11193
11191
  "enum": [
11194
11192
  "draft",
11195
11193
  "scheduled",
11194
+ "active",
11195
+ "incoming",
11196
+ "outgoing",
11197
+ "missed",
11196
11198
  "cancelled",
11197
- "queued",
11198
- "ringing",
11199
- "in-progress",
11200
- "completed",
11201
- "failed",
11202
- "no-answer",
11203
- "busy",
11204
- "voicemail",
11205
- "abandoned",
11206
11199
  "archived"
11207
11200
  ],
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."
11201
+ "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
11202
  },
11210
11203
  "fromIdentifier": {
11211
11204
  "type": "string",
@@ -11435,23 +11428,9 @@
11435
11428
  "type": "string",
11436
11429
  "description": "ISO 8601 timestamp when the AI summary pipeline (keyNotes + topicsDiscussed + sentiment + summary) finalized. Null until the post-call AI Step Function completes."
11437
11430
  },
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
11431
  "isLive": {
11453
11432
  "type": "boolean",
11454
- "description": "Server-derived: true when status is in {queued, ringing, in-progress}. Drives the live indicator + polling decision in the UI."
11433
+ "description": "Server-derived: true when status==`active`. Drives the live indicator + polling decision in the UI."
11455
11434
  },
11456
11435
  "hasRecording": {
11457
11436
  "type": "boolean",
@@ -17559,7 +17538,35 @@
17559
17538
  "type": "integer"
17560
17539
  },
17561
17540
  "workingHours": {
17562
- "type": "object"
17541
+ "title": "CalendarWorkingHoursSchema",
17542
+ "type": "object",
17543
+ "description": "Recurring weekly schedule. days[] uses tokens (mon/tue/wed/thu/fri/sat/sun); startHour/endHour are local 24h numbers. Single type used by Calendar read/create/update so PATCH callers get the same autocomplete as readers.",
17544
+ "properties": {
17545
+ "timezone": {
17546
+ "type": "string"
17547
+ },
17548
+ "days": {
17549
+ "type": "array",
17550
+ "items": {
17551
+ "type": "string",
17552
+ "enum": [
17553
+ "mon",
17554
+ "tue",
17555
+ "wed",
17556
+ "thu",
17557
+ "fri",
17558
+ "sat",
17559
+ "sun"
17560
+ ]
17561
+ }
17562
+ },
17563
+ "startHour": {
17564
+ "type": "integer"
17565
+ },
17566
+ "endHour": {
17567
+ "type": "integer"
17568
+ }
17569
+ }
17563
17570
  }
17564
17571
  }
17565
17572
  }
@@ -17627,7 +17634,35 @@
17627
17634
  "type": "integer"
17628
17635
  },
17629
17636
  "workingHours": {
17630
- "type": "object"
17637
+ "title": "CalendarWorkingHoursSchema",
17638
+ "type": "object",
17639
+ "description": "Recurring weekly schedule. days[] uses tokens (mon/tue/wed/thu/fri/sat/sun); startHour/endHour are local 24h numbers. Single type used by Calendar read/create/update so PATCH callers get the same autocomplete as readers.",
17640
+ "properties": {
17641
+ "timezone": {
17642
+ "type": "string"
17643
+ },
17644
+ "days": {
17645
+ "type": "array",
17646
+ "items": {
17647
+ "type": "string",
17648
+ "enum": [
17649
+ "mon",
17650
+ "tue",
17651
+ "wed",
17652
+ "thu",
17653
+ "fri",
17654
+ "sat",
17655
+ "sun"
17656
+ ]
17657
+ }
17658
+ },
17659
+ "startHour": {
17660
+ "type": "integer"
17661
+ },
17662
+ "endHour": {
17663
+ "type": "integer"
17664
+ }
17665
+ }
17631
17666
  }
17632
17667
  }
17633
17668
  }
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.32",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",