@smartytalent/mcp-tools 0.1.33-dev.24 → 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.
- package/dist/tools.json +241 -63
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -11342,6 +11342,7 @@
|
|
|
11342
11342
|
"attributes": {
|
|
11343
11343
|
"title": "ChatAttributesSchema",
|
|
11344
11344
|
"type": "object",
|
|
11345
|
+
"description": "Cross-protocol chat message attributes. One row per direction:\ninbound and outbound replies on the same conversation are separate\nrows, joined by relationships.conversation. `protocol` is the wire\nformat (sms/whatsapp/teams/googlechat/webapp). `fromIdentifier`\nand `toIdentifier` are protocol-native handles (E.164 phone for\nSMS/WhatsApp, Teams AAD object id, Google Chat user id, etc.) so\nthe row carries the literal sender/receiver without joins. The\nresolved principals (candidate / talent / user) live in\nrelationships - direction tells you which side of the\nconversation each principal is on (inbound: from-side is the\nexternal party; outbound: to-side is the external party, plus an\noptional user relationship for the boe agent that signed it).\n`body` is a multilingual dict {locale: text} mirroring the email\npattern - the chat AI step function translates user-facing\ncontent into the tenant's active locales for admin display.",
|
|
11345
11346
|
"properties": {
|
|
11346
11347
|
"direction": {
|
|
11347
11348
|
"type": "string",
|
|
@@ -11349,41 +11350,92 @@
|
|
|
11349
11350
|
"inbound",
|
|
11350
11351
|
"outbound"
|
|
11351
11352
|
],
|
|
11352
|
-
"description": "Message direction"
|
|
11353
|
+
"description": "Message direction relative to boe (inbound from external, outbound to external)."
|
|
11353
11354
|
},
|
|
11354
|
-
"
|
|
11355
|
+
"protocol": {
|
|
11355
11356
|
"type": "string",
|
|
11356
|
-
"
|
|
11357
|
+
"enum": [
|
|
11358
|
+
"sms",
|
|
11359
|
+
"whatsapp",
|
|
11360
|
+
"teams",
|
|
11361
|
+
"googlechat",
|
|
11362
|
+
"webapp"
|
|
11363
|
+
],
|
|
11364
|
+
"description": "Wire protocol. Adapter Lambdas set this on write so downstream code can branch on rendering / status callback handling."
|
|
11357
11365
|
},
|
|
11358
|
-
"
|
|
11366
|
+
"fromIdentifier": {
|
|
11359
11367
|
"type": "string",
|
|
11360
|
-
"description": "
|
|
11368
|
+
"description": "Sender's protocol-native handle (E.164 phone for SMS/WhatsApp, AAD object id for Teams, etc.)."
|
|
11361
11369
|
},
|
|
11362
|
-
"
|
|
11370
|
+
"fromName": {
|
|
11363
11371
|
"type": "string",
|
|
11364
|
-
"description": "
|
|
11372
|
+
"description": "Display name of the sender at write time. Denormalised from the resolved principal."
|
|
11365
11373
|
},
|
|
11366
|
-
"
|
|
11374
|
+
"fromType": {
|
|
11375
|
+
"type": "string",
|
|
11376
|
+
"enum": [
|
|
11377
|
+
"user",
|
|
11378
|
+
"candidate",
|
|
11379
|
+
"talent",
|
|
11380
|
+
"guest"
|
|
11381
|
+
],
|
|
11382
|
+
"description": "Principal type of the sender. Maps the platform's principal tables. `guest` for unknown senders (typically rejected by the inbound gate)."
|
|
11383
|
+
},
|
|
11384
|
+
"toIdentifier": {
|
|
11367
11385
|
"type": "string",
|
|
11368
|
-
"description": "
|
|
11386
|
+
"description": "Recipient's protocol-native handle."
|
|
11369
11387
|
},
|
|
11370
|
-
"
|
|
11388
|
+
"toName": {
|
|
11371
11389
|
"type": "string",
|
|
11372
|
-
"description": "
|
|
11390
|
+
"description": "Display name of the recipient at write time."
|
|
11373
11391
|
},
|
|
11374
|
-
"
|
|
11392
|
+
"toType": {
|
|
11375
11393
|
"type": "string",
|
|
11376
|
-
"
|
|
11394
|
+
"enum": [
|
|
11395
|
+
"user",
|
|
11396
|
+
"candidate",
|
|
11397
|
+
"talent",
|
|
11398
|
+
"guest"
|
|
11399
|
+
],
|
|
11400
|
+
"description": "Principal type of the recipient."
|
|
11401
|
+
},
|
|
11402
|
+
"body": {
|
|
11403
|
+
"type": "object",
|
|
11404
|
+
"description": "Multilingual message body keyed by BCP 47 locale (e.g. {`en-US`: `Hi`, `pl-PL`: `Cześć`}). Inbound writers stamp a single locale; the chat AI step function fills the rest.",
|
|
11405
|
+
"additionalProperties": {
|
|
11406
|
+
"type": "string"
|
|
11407
|
+
}
|
|
11377
11408
|
},
|
|
11378
11409
|
"status": {
|
|
11379
11410
|
"type": "string",
|
|
11380
11411
|
"enum": [
|
|
11381
|
-
"
|
|
11382
|
-
"
|
|
11383
|
-
"
|
|
11384
|
-
"
|
|
11412
|
+
"received",
|
|
11413
|
+
"draft",
|
|
11414
|
+
"scheduled",
|
|
11415
|
+
"cancelled",
|
|
11416
|
+
"queued",
|
|
11417
|
+
"sent",
|
|
11418
|
+
"delivered",
|
|
11419
|
+
"failed",
|
|
11420
|
+
"archived"
|
|
11385
11421
|
],
|
|
11386
|
-
"description": "
|
|
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."
|
|
11431
|
+
},
|
|
11432
|
+
"languageCode": {
|
|
11433
|
+
"type": "string",
|
|
11434
|
+
"description": "BCP 47 locale of the original message (the locale key initially populated in `body`). Detected at the inbound gate, set by the writer on outbound."
|
|
11435
|
+
},
|
|
11436
|
+
"shortCode": {
|
|
11437
|
+
"type": "string",
|
|
11438
|
+
"description": "Unique short identifier (provider/lookup correlation)."
|
|
11387
11439
|
},
|
|
11388
11440
|
"timestamps": {
|
|
11389
11441
|
"title": "ResourceTimestampsSchema",
|
|
@@ -11404,45 +11456,117 @@
|
|
|
11404
11456
|
"relationships": {
|
|
11405
11457
|
"title": "ChatRelationshipsSchema",
|
|
11406
11458
|
"type": "object",
|
|
11459
|
+
"description": "Relationship slots for a chat row. All to-one. Direction +\nattributes.fromType / toType tell you which side of the\nconversation each principal is on - we don't duplicate that\ninto directional relationship names. For boe-mediated flows\nat most two of {user, candidate, talent} are populated per\nrow: the external party (candidate or talent) and, on outbound,\nthe boe user that signed the message.",
|
|
11407
11460
|
"properties": {
|
|
11408
|
-
"
|
|
11409
|
-
"title": "
|
|
11461
|
+
"conversation": {
|
|
11462
|
+
"title": "ChatRelationshipsConversationSchema",
|
|
11463
|
+
"description": "Thread the chat row belongs to. SMS replies on the same boe\nnumber share a conversation; the workflow engine parks runs\non the conversation's meta and reads parkedRunContext to\nresume on inbound. The conversation id is denormalised onto\nthe chat row's internal `conversationId` attribute (indexed\nby ConversationIdIndex) for cheap per-thread history queries\n- API consumers should read it from this relationship, not\nfrom attributes.",
|
|
11410
11464
|
"type": "object",
|
|
11411
11465
|
"properties": {
|
|
11412
11466
|
"data": {
|
|
11413
|
-
"
|
|
11414
|
-
"
|
|
11415
|
-
|
|
11416
|
-
"type":
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
"id": {
|
|
11422
|
-
"type": "string"
|
|
11423
|
-
}
|
|
11467
|
+
"title": "ChatRelationshipsConversationDataSchema",
|
|
11468
|
+
"type": "object",
|
|
11469
|
+
"properties": {
|
|
11470
|
+
"type": {
|
|
11471
|
+
"type": "string"
|
|
11472
|
+
},
|
|
11473
|
+
"id": {
|
|
11474
|
+
"type": "string"
|
|
11424
11475
|
}
|
|
11425
11476
|
}
|
|
11426
11477
|
}
|
|
11427
11478
|
}
|
|
11428
11479
|
},
|
|
11429
|
-
"
|
|
11430
|
-
"title": "
|
|
11431
|
-
"description": "
|
|
11480
|
+
"candidate": {
|
|
11481
|
+
"title": "ChatRelationshipsCandidateSchema",
|
|
11482
|
+
"description": "External candidate principal. Set when fromType=candidate (inbound) or toType=candidate (outbound).",
|
|
11432
11483
|
"type": "object",
|
|
11433
11484
|
"properties": {
|
|
11434
11485
|
"data": {
|
|
11435
|
-
"
|
|
11436
|
-
"
|
|
11437
|
-
|
|
11438
|
-
"type":
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11443
|
-
|
|
11444
|
-
|
|
11445
|
-
|
|
11486
|
+
"title": "ChatRelationshipsCandidateDataSchema",
|
|
11487
|
+
"type": "object",
|
|
11488
|
+
"properties": {
|
|
11489
|
+
"type": {
|
|
11490
|
+
"type": "string"
|
|
11491
|
+
},
|
|
11492
|
+
"id": {
|
|
11493
|
+
"type": "string"
|
|
11494
|
+
}
|
|
11495
|
+
}
|
|
11496
|
+
}
|
|
11497
|
+
}
|
|
11498
|
+
},
|
|
11499
|
+
"talent": {
|
|
11500
|
+
"title": "ChatRelationshipsTalentSchema",
|
|
11501
|
+
"description": "External talent principal. Set when fromType=talent (inbound) or toType=talent (outbound).",
|
|
11502
|
+
"type": "object",
|
|
11503
|
+
"properties": {
|
|
11504
|
+
"data": {
|
|
11505
|
+
"title": "ChatRelationshipsTalentDataSchema",
|
|
11506
|
+
"type": "object",
|
|
11507
|
+
"properties": {
|
|
11508
|
+
"type": {
|
|
11509
|
+
"type": "string"
|
|
11510
|
+
},
|
|
11511
|
+
"id": {
|
|
11512
|
+
"type": "string"
|
|
11513
|
+
}
|
|
11514
|
+
}
|
|
11515
|
+
}
|
|
11516
|
+
}
|
|
11517
|
+
},
|
|
11518
|
+
"user": {
|
|
11519
|
+
"title": "ChatRelationshipsUserSchema",
|
|
11520
|
+
"description": "Internal human user (employee). Reserved for user-to-user webapp/Teams chat counterparties. Today this is typically null - boe-signed outbound rows put the boe AI in `boeUser`, not here.",
|
|
11521
|
+
"type": "object",
|
|
11522
|
+
"properties": {
|
|
11523
|
+
"data": {
|
|
11524
|
+
"title": "ChatRelationshipsUserDataSchema",
|
|
11525
|
+
"type": "object",
|
|
11526
|
+
"properties": {
|
|
11527
|
+
"type": {
|
|
11528
|
+
"type": "string"
|
|
11529
|
+
},
|
|
11530
|
+
"id": {
|
|
11531
|
+
"type": "string"
|
|
11532
|
+
}
|
|
11533
|
+
}
|
|
11534
|
+
}
|
|
11535
|
+
}
|
|
11536
|
+
},
|
|
11537
|
+
"boeUser": {
|
|
11538
|
+
"title": "ChatRelationshipsBoeUserSchema",
|
|
11539
|
+
"description": "Boe AI agent involved in this message. Mirror of tenant.relationships.boeUser - always populated when boe is on either side of the conversation (today: every row). Splitting this from the generic `user` slot keeps the semantics clean: `user` is for human counterparties, `boeUser` is the AI agent.",
|
|
11540
|
+
"type": "object",
|
|
11541
|
+
"properties": {
|
|
11542
|
+
"data": {
|
|
11543
|
+
"title": "ChatRelationshipsBoeUserDataSchema",
|
|
11544
|
+
"type": "object",
|
|
11545
|
+
"properties": {
|
|
11546
|
+
"type": {
|
|
11547
|
+
"type": "string"
|
|
11548
|
+
},
|
|
11549
|
+
"id": {
|
|
11550
|
+
"type": "string"
|
|
11551
|
+
}
|
|
11552
|
+
}
|
|
11553
|
+
}
|
|
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"
|
|
11446
11570
|
}
|
|
11447
11571
|
}
|
|
11448
11572
|
}
|
|
@@ -11521,6 +11645,7 @@
|
|
|
11521
11645
|
"attributes": {
|
|
11522
11646
|
"title": "ChatAttributesSchema",
|
|
11523
11647
|
"type": "object",
|
|
11648
|
+
"description": "Cross-protocol chat message attributes. One row per direction:\ninbound and outbound replies on the same conversation are separate\nrows, joined by relationships.conversation. `protocol` is the wire\nformat (sms/whatsapp/teams/googlechat/webapp). `fromIdentifier`\nand `toIdentifier` are protocol-native handles (E.164 phone for\nSMS/WhatsApp, Teams AAD object id, Google Chat user id, etc.) so\nthe row carries the literal sender/receiver without joins. The\nresolved principals (candidate / talent / user) live in\nrelationships - direction tells you which side of the\nconversation each principal is on (inbound: from-side is the\nexternal party; outbound: to-side is the external party, plus an\noptional user relationship for the boe agent that signed it).\n`body` is a multilingual dict {locale: text} mirroring the email\npattern - the chat AI step function translates user-facing\ncontent into the tenant's active locales for admin display.",
|
|
11524
11649
|
"properties": {
|
|
11525
11650
|
"direction": {
|
|
11526
11651
|
"type": "string",
|
|
@@ -11528,41 +11653,92 @@
|
|
|
11528
11653
|
"inbound",
|
|
11529
11654
|
"outbound"
|
|
11530
11655
|
],
|
|
11531
|
-
"description": "Message direction"
|
|
11656
|
+
"description": "Message direction relative to boe (inbound from external, outbound to external)."
|
|
11532
11657
|
},
|
|
11533
|
-
"
|
|
11658
|
+
"protocol": {
|
|
11534
11659
|
"type": "string",
|
|
11535
|
-
"
|
|
11660
|
+
"enum": [
|
|
11661
|
+
"sms",
|
|
11662
|
+
"whatsapp",
|
|
11663
|
+
"teams",
|
|
11664
|
+
"googlechat",
|
|
11665
|
+
"webapp"
|
|
11666
|
+
],
|
|
11667
|
+
"description": "Wire protocol. Adapter Lambdas set this on write so downstream code can branch on rendering / status callback handling."
|
|
11536
11668
|
},
|
|
11537
|
-
"
|
|
11669
|
+
"fromIdentifier": {
|
|
11538
11670
|
"type": "string",
|
|
11539
|
-
"description": "
|
|
11671
|
+
"description": "Sender's protocol-native handle (E.164 phone for SMS/WhatsApp, AAD object id for Teams, etc.)."
|
|
11540
11672
|
},
|
|
11541
|
-
"
|
|
11673
|
+
"fromName": {
|
|
11542
11674
|
"type": "string",
|
|
11543
|
-
"description": "
|
|
11675
|
+
"description": "Display name of the sender at write time. Denormalised from the resolved principal."
|
|
11544
11676
|
},
|
|
11545
|
-
"
|
|
11677
|
+
"fromType": {
|
|
11546
11678
|
"type": "string",
|
|
11547
|
-
"
|
|
11679
|
+
"enum": [
|
|
11680
|
+
"user",
|
|
11681
|
+
"candidate",
|
|
11682
|
+
"talent",
|
|
11683
|
+
"guest"
|
|
11684
|
+
],
|
|
11685
|
+
"description": "Principal type of the sender. Maps the platform's principal tables. `guest` for unknown senders (typically rejected by the inbound gate)."
|
|
11548
11686
|
},
|
|
11549
|
-
"
|
|
11687
|
+
"toIdentifier": {
|
|
11550
11688
|
"type": "string",
|
|
11551
|
-
"description": "
|
|
11689
|
+
"description": "Recipient's protocol-native handle."
|
|
11552
11690
|
},
|
|
11553
|
-
"
|
|
11691
|
+
"toName": {
|
|
11554
11692
|
"type": "string",
|
|
11555
|
-
"description": "
|
|
11693
|
+
"description": "Display name of the recipient at write time."
|
|
11694
|
+
},
|
|
11695
|
+
"toType": {
|
|
11696
|
+
"type": "string",
|
|
11697
|
+
"enum": [
|
|
11698
|
+
"user",
|
|
11699
|
+
"candidate",
|
|
11700
|
+
"talent",
|
|
11701
|
+
"guest"
|
|
11702
|
+
],
|
|
11703
|
+
"description": "Principal type of the recipient."
|
|
11704
|
+
},
|
|
11705
|
+
"body": {
|
|
11706
|
+
"type": "object",
|
|
11707
|
+
"description": "Multilingual message body keyed by BCP 47 locale (e.g. {`en-US`: `Hi`, `pl-PL`: `Cześć`}). Inbound writers stamp a single locale; the chat AI step function fills the rest.",
|
|
11708
|
+
"additionalProperties": {
|
|
11709
|
+
"type": "string"
|
|
11710
|
+
}
|
|
11556
11711
|
},
|
|
11557
11712
|
"status": {
|
|
11558
11713
|
"type": "string",
|
|
11559
11714
|
"enum": [
|
|
11560
|
-
"
|
|
11561
|
-
"
|
|
11562
|
-
"
|
|
11563
|
-
"
|
|
11715
|
+
"received",
|
|
11716
|
+
"draft",
|
|
11717
|
+
"scheduled",
|
|
11718
|
+
"cancelled",
|
|
11719
|
+
"queued",
|
|
11720
|
+
"sent",
|
|
11721
|
+
"delivered",
|
|
11722
|
+
"failed",
|
|
11723
|
+
"archived"
|
|
11564
11724
|
],
|
|
11565
|
-
"description": "
|
|
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."
|
|
11734
|
+
},
|
|
11735
|
+
"languageCode": {
|
|
11736
|
+
"type": "string",
|
|
11737
|
+
"description": "BCP 47 locale of the original message (the locale key initially populated in `body`). Detected at the inbound gate, set by the writer on outbound."
|
|
11738
|
+
},
|
|
11739
|
+
"shortCode": {
|
|
11740
|
+
"type": "string",
|
|
11741
|
+
"description": "Unique short identifier (provider/lookup correlation)."
|
|
11566
11742
|
},
|
|
11567
11743
|
"timestamps": {
|
|
11568
11744
|
"title": "ResourceTimestampsSchema",
|
|
@@ -12377,6 +12553,7 @@
|
|
|
12377
12553
|
"type": "string",
|
|
12378
12554
|
"enum": [
|
|
12379
12555
|
"emails",
|
|
12556
|
+
"chats",
|
|
12380
12557
|
"candidates",
|
|
12381
12558
|
"conversations",
|
|
12382
12559
|
"jobs",
|
|
@@ -12516,6 +12693,7 @@
|
|
|
12516
12693
|
"type": "string",
|
|
12517
12694
|
"enum": [
|
|
12518
12695
|
"emails",
|
|
12696
|
+
"chats",
|
|
12519
12697
|
"candidates",
|
|
12520
12698
|
"conversations",
|
|
12521
12699
|
"jobs",
|