@smartytalent/mcp-tools 0.1.33-dev.25 → 0.1.33-dev.26

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 +45 -2
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -11410,13 +11410,24 @@
11410
11410
  "type": "string",
11411
11411
  "enum": [
11412
11412
  "received",
11413
+ "draft",
11414
+ "scheduled",
11415
+ "cancelled",
11413
11416
  "queued",
11414
11417
  "sent",
11415
11418
  "delivered",
11416
11419
  "failed",
11417
11420
  "archived"
11418
11421
  ],
11419
- "description": "Lifecycle state. Inbound rows go straight to `received`. Outbound progresses queued -> sent -> delivered (or failed). `archived` is a terminal soft-delete for both directions."
11422
+ "description": "Lifecycle state. Inbound rows go straight to `received`. 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 -> sent -> delivered (or failed). `cancelled` is the terminal state when an operator hard-killed a draft / scheduled row before fire. `archived` is a terminal soft-delete for both directions."
11423
+ },
11424
+ "scheduledFireAt": {
11425
+ "type": "string",
11426
+ "description": "ISO 8601 timestamp at which the Schedule row armed for this chat will fire. Set on direction=outbound rows that go through a review window or explicit scheduling. Operators can PATCH this to reschedule; the eventbus PATCHes the underlying Schedule row in lockstep. Mirror of email.attributes.scheduledFireAt."
11427
+ },
11428
+ "scheduleId": {
11429
+ "type": "string",
11430
+ "description": "FK denormalisation of relationships.schedule for cheap read paths. Populated by the chat eventbus after it arms a Schedule row in response to chat:created with scheduledFireAt set. Mirror of email.attributes.scheduleId."
11420
11431
  },
11421
11432
  "languageCode": {
11422
11433
  "type": "string",
@@ -11541,6 +11552,25 @@
11541
11552
  }
11542
11553
  }
11543
11554
  }
11555
+ },
11556
+ "schedule": {
11557
+ "title": "ChatRelationshipsScheduleSchema",
11558
+ "description": "Schedule row armed for this chat's outbound dispatch. Set when scheduledFireAt is populated; null on inbound rows or on outbound rows that bypass the review window. Operators reschedule/cancel via PATCH/DELETE on the chat resource - the eventbus reflects those changes onto the Schedule row, never the other way around.",
11559
+ "type": "object",
11560
+ "properties": {
11561
+ "data": {
11562
+ "title": "ChatRelationshipsScheduleDataSchema",
11563
+ "type": "object",
11564
+ "properties": {
11565
+ "type": {
11566
+ "type": "string"
11567
+ },
11568
+ "id": {
11569
+ "type": "string"
11570
+ }
11571
+ }
11572
+ }
11573
+ }
11544
11574
  }
11545
11575
  }
11546
11576
  },
@@ -11683,13 +11713,24 @@
11683
11713
  "type": "string",
11684
11714
  "enum": [
11685
11715
  "received",
11716
+ "draft",
11717
+ "scheduled",
11718
+ "cancelled",
11686
11719
  "queued",
11687
11720
  "sent",
11688
11721
  "delivered",
11689
11722
  "failed",
11690
11723
  "archived"
11691
11724
  ],
11692
- "description": "Lifecycle state. Inbound rows go straight to `received`. Outbound progresses queued -> sent -> delivered (or failed). `archived` is a terminal soft-delete for both directions."
11725
+ "description": "Lifecycle state. Inbound rows go straight to `received`. 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 -> sent -> delivered (or failed). `cancelled` is the terminal state when an operator hard-killed a draft / scheduled row before fire. `archived` is a terminal soft-delete for both directions."
11726
+ },
11727
+ "scheduledFireAt": {
11728
+ "type": "string",
11729
+ "description": "ISO 8601 timestamp at which the Schedule row armed for this chat will fire. Set on direction=outbound rows that go through a review window or explicit scheduling. Operators can PATCH this to reschedule; the eventbus PATCHes the underlying Schedule row in lockstep. Mirror of email.attributes.scheduledFireAt."
11730
+ },
11731
+ "scheduleId": {
11732
+ "type": "string",
11733
+ "description": "FK denormalisation of relationships.schedule for cheap read paths. Populated by the chat eventbus after it arms a Schedule row in response to chat:created with scheduledFireAt set. Mirror of email.attributes.scheduleId."
11693
11734
  },
11694
11735
  "languageCode": {
11695
11736
  "type": "string",
@@ -12512,6 +12553,7 @@
12512
12553
  "type": "string",
12513
12554
  "enum": [
12514
12555
  "emails",
12556
+ "chats",
12515
12557
  "candidates",
12516
12558
  "conversations",
12517
12559
  "jobs",
@@ -12651,6 +12693,7 @@
12651
12693
  "type": "string",
12652
12694
  "enum": [
12653
12695
  "emails",
12696
+ "chats",
12654
12697
  "candidates",
12655
12698
  "conversations",
12656
12699
  "jobs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.1.33-dev.25",
3
+ "version": "0.1.33-dev.26",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",