@smartytalent/mcp-tools 0.1.33-dev.28 → 0.1.33-dev.29

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 +275 -11
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -336,7 +336,7 @@
336
336
  },
337
337
  "include": {
338
338
  "type": "string",
339
- "description": "JSON:API compound document request comma-separated list of relationship paths to include in the response (e.g. `feedbacks`, `feedbacks,boeUser`). Currently advisory: the service always returns all declared relationships with empty defaults."
339
+ "description": "JSON:API compound document request - comma-separated list of relationship paths to include in the response (e.g. `feedbacks`, `feedbacks,boeUser`). Currently advisory: the service always returns all declared relationships with empty defaults."
340
340
  }
341
341
  },
342
342
  "required": [
@@ -7877,7 +7877,7 @@
7877
7877
  "outcomes": {
7878
7878
  "title": "FeedbackOutcomesSchema",
7879
7879
  "type": "object",
7880
- "description": "Per-outcome feedback rules. Outcome keys map to candidate.recommendationStatusCode: 1=notFit, 2=maybe, 3=fit. Code 0 (not evaluated) never triggers feedback the workflow pauses instead.",
7880
+ "description": "Per-outcome feedback rules. Outcome keys map to candidate.recommendationStatusCode: 1=notFit, 2=maybe, 3=fit. Code 0 (not evaluated) never triggers feedback - the workflow pauses instead.",
7881
7881
  "properties": {
7882
7882
  "notFit": {
7883
7883
  "title": "FeedbackOutcomeRuleSchema",
@@ -8291,7 +8291,7 @@
8291
8291
  "outcomes": {
8292
8292
  "title": "FeedbackOutcomesSchema",
8293
8293
  "type": "object",
8294
- "description": "Per-outcome feedback rules. Outcome keys map to candidate.recommendationStatusCode: 1=notFit, 2=maybe, 3=fit. Code 0 (not evaluated) never triggers feedback the workflow pauses instead.",
8294
+ "description": "Per-outcome feedback rules. Outcome keys map to candidate.recommendationStatusCode: 1=notFit, 2=maybe, 3=fit. Code 0 (not evaluated) never triggers feedback - the workflow pauses instead.",
8295
8295
  "properties": {
8296
8296
  "notFit": {
8297
8297
  "title": "FeedbackOutcomeRuleSchema",
@@ -8777,7 +8777,7 @@
8777
8777
  },
8778
8778
  "actionName": {
8779
8779
  "type": "string",
8780
- "description": "Action identifier (e.g. `email:send`, `call:initiate`). Resolved by the same convention the workflow engine uses `resource:verb` maps to `sm-${env}-tb-service-action-function-${resource}-${verb}`."
8780
+ "description": "Action identifier (e.g. `email:send`, `call:initiate`). Resolved by the same convention the workflow engine uses - `resource:verb` maps to `sm-${env}-tb-service-action-function-${resource}-${verb}`."
8781
8781
  },
8782
8782
  "input": {
8783
8783
  "type": "object",
@@ -9040,7 +9040,7 @@
9040
9040
  },
9041
9041
  "actionName": {
9042
9042
  "type": "string",
9043
- "description": "Action identifier (e.g. `email:send`, `call:initiate`). Resolved by the same convention the workflow engine uses `resource:verb` maps to `sm-${env}-tb-service-action-function-${resource}-${verb}`."
9043
+ "description": "Action identifier (e.g. `email:send`, `call:initiate`). Resolved by the same convention the workflow engine uses - `resource:verb` maps to `sm-${env}-tb-service-action-function-${resource}-${verb}`."
9044
9044
  },
9045
9045
  "input": {
9046
9046
  "type": "object",
@@ -9297,7 +9297,7 @@
9297
9297
  "candidate",
9298
9298
  "talent"
9299
9299
  ],
9300
- "description": "Submission type determines which workflow to trigger"
9300
+ "description": "Submission type - determines which workflow to trigger"
9301
9301
  },
9302
9302
  "status": {
9303
9303
  "type": "string",
@@ -9611,7 +9611,7 @@
9611
9611
  "candidate",
9612
9612
  "talent"
9613
9613
  ],
9614
- "description": "Submission type determines which workflow to trigger. Auto-derived from jobId if omitted."
9614
+ "description": "Submission type - determines which workflow to trigger. Auto-derived from jobId if omitted."
9615
9615
  },
9616
9616
  "referral": {
9617
9617
  "type": "object",
@@ -9798,7 +9798,7 @@
9798
9798
  "candidate",
9799
9799
  "talent"
9800
9800
  ],
9801
- "description": "Submission type determines which workflow to trigger"
9801
+ "description": "Submission type - determines which workflow to trigger"
9802
9802
  },
9803
9803
  "status": {
9804
9804
  "type": "string",
@@ -10867,6 +10867,10 @@
10867
10867
  "type": "string",
10868
10868
  "description": "Filter by caller's protocol-native handle (E.164 phone for PSTN). Indexed via FromIdentifierIndex GSI."
10869
10869
  },
10870
+ "filterToIdentifier": {
10871
+ "type": "string",
10872
+ "description": "Filter by callee's protocol-native handle (E.164 phone for PSTN). Indexed via ToIdentifierIndex GSI. Use for 'all calls to this number' views."
10873
+ },
10870
10874
  "filterConversationId": {
10871
10875
  "type": "string",
10872
10876
  "description": "Filter all calls in a conversation thread. Indexed via ConversationIdIndex GSI."
@@ -10881,6 +10885,10 @@
10881
10885
  "other"
10882
10886
  ]
10883
10887
  },
10888
+ "include": {
10889
+ "type": "string",
10890
+ "description": "JSON:API `?include=` sideloads. Comma-list of relationship\nslots; each resolved to a per-resource entry in the response\n`included[]` array. Eliminates N+1 lookups for avatars /\nnames. Allowed slots: conversation, candidate, talent, user,\nboeUser, job, brief, schedule. Each included resource carries\n`attributes.name` plus type-specific extras (`avatarUrl` +\n`isBoe` for users, `company` for candidate/talent, `title` +\n`shortCode` for job, `subject` + `type` for conversation,\n`fireAt` + `status` for schedule)."
10891
+ },
10884
10892
  "filterCreatedFrom": {
10885
10893
  "type": "string",
10886
10894
  "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
@@ -11452,7 +11460,12 @@
11452
11460
  "description": "Show Call",
11453
11461
  "inputSchema": {
11454
11462
  "type": "object",
11455
- "properties": {}
11463
+ "properties": {
11464
+ "include": {
11465
+ "type": "string",
11466
+ "description": "JSON:API `?include=` sideloads. Comma-list of relationship\nslots; each resolved entry is added to the response\n`included[]` array. Allowed slots: conversation, candidate,\ntalent, user, boeUser, job, brief, schedule."
11467
+ }
11468
+ }
11456
11469
  },
11457
11470
  "_meta": {
11458
11471
  "method": "GET",
@@ -11834,6 +11847,255 @@
11834
11847
  "operationId": "callOptions"
11835
11848
  }
11836
11849
  },
11850
+ {
11851
+ "name": "list_comments",
11852
+ "description": "List Comments",
11853
+ "inputSchema": {
11854
+ "type": "object",
11855
+ "properties": {
11856
+ "filterTargetType": {
11857
+ "type": "string",
11858
+ "description": "Limit to comments on this resource type. Pair with filterTargetId.",
11859
+ "enum": [
11860
+ "calls",
11861
+ "chats",
11862
+ "emails",
11863
+ "candidates",
11864
+ "jobs",
11865
+ "talents",
11866
+ "briefs",
11867
+ "tasks"
11868
+ ]
11869
+ },
11870
+ "filterTargetId": {
11871
+ "type": "string",
11872
+ "description": "Limit to comments on this specific target id. Requires filterTargetType."
11873
+ },
11874
+ "filterAuthorId": {
11875
+ "type": "string",
11876
+ "description": "Limit to comments authored by this user. Indexed via AuthorIndex."
11877
+ },
11878
+ "filterIsResolved": {
11879
+ "type": "boolean",
11880
+ "description": "Filter by `isResolved` flag (true/false). Post-filtered after pagination - acceptable while resolution is rare."
11881
+ },
11882
+ "include": {
11883
+ "type": "string",
11884
+ "description": "JSON:API sideload. Currently supports `author` (resolves to the user row with name + avatarUrl + isBoe)."
11885
+ },
11886
+ "filterCreatedFrom": {
11887
+ "type": "string",
11888
+ "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
11889
+ },
11890
+ "filterCreatedTo": {
11891
+ "type": "string",
11892
+ "description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
11893
+ },
11894
+ "filterModifiedFrom": {
11895
+ "type": "string",
11896
+ "description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
11897
+ },
11898
+ "filterModifiedTo": {
11899
+ "type": "string",
11900
+ "description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
11901
+ },
11902
+ "pageSize": {
11903
+ "type": "integer",
11904
+ "description": "Specifies the number of items to retrieve per page. The maximum value is 100."
11905
+ },
11906
+ "pageNumber": {
11907
+ "type": "integer",
11908
+ "description": "Specifies the page number to retrieve. Used for traditional pagination."
11909
+ },
11910
+ "pageAfter": {
11911
+ "type": "string",
11912
+ "description": "Opaque base64-encoded cursor returned by a previous list response, used for forward cursor-based pagination. Pass the value verbatim; do not decode or mutate it."
11913
+ },
11914
+ "pageBefore": {
11915
+ "type": "string",
11916
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
11917
+ },
11918
+ "sort": {
11919
+ "type": "string",
11920
+ "description": "Sort order. Default `-created` (newest first).",
11921
+ "enum": [
11922
+ "-created",
11923
+ "created",
11924
+ "-modified",
11925
+ "modified"
11926
+ ]
11927
+ }
11928
+ }
11929
+ },
11930
+ "_meta": {
11931
+ "method": "GET",
11932
+ "path": "/v1/comments",
11933
+ "operationId": "listComments"
11934
+ }
11935
+ },
11936
+ {
11937
+ "name": "create_comment",
11938
+ "description": "Create Comment",
11939
+ "inputSchema": {
11940
+ "title": "CreateCommentRequestSchema",
11941
+ "type": "object",
11942
+ "properties": {
11943
+ "data": {
11944
+ "type": "object",
11945
+ "required": [
11946
+ "type",
11947
+ "attributes"
11948
+ ],
11949
+ "properties": {
11950
+ "type": {
11951
+ "type": "string",
11952
+ "enum": [
11953
+ "comments"
11954
+ ]
11955
+ },
11956
+ "attributes": {
11957
+ "type": "object",
11958
+ "required": [
11959
+ "body",
11960
+ "targetType",
11961
+ "targetId"
11962
+ ],
11963
+ "properties": {
11964
+ "body": {
11965
+ "type": "string",
11966
+ "maxLength": 5000
11967
+ },
11968
+ "targetType": {
11969
+ "type": "string",
11970
+ "enum": [
11971
+ "calls",
11972
+ "chats",
11973
+ "emails",
11974
+ "candidates",
11975
+ "jobs",
11976
+ "talents",
11977
+ "briefs",
11978
+ "tasks"
11979
+ ]
11980
+ },
11981
+ "targetId": {
11982
+ "type": "string"
11983
+ },
11984
+ "parentCommentId": {
11985
+ "type": "string"
11986
+ },
11987
+ "mentionedUserIds": {
11988
+ "type": "array",
11989
+ "items": {
11990
+ "type": "string"
11991
+ }
11992
+ },
11993
+ "isResolved": {
11994
+ "type": "boolean"
11995
+ }
11996
+ }
11997
+ }
11998
+ }
11999
+ }
12000
+ }
12001
+ },
12002
+ "_meta": {
12003
+ "method": "POST",
12004
+ "path": "/v1/comments",
12005
+ "operationId": "createComment"
12006
+ }
12007
+ },
12008
+ {
12009
+ "name": "show_comment",
12010
+ "description": "Show Comment",
12011
+ "inputSchema": {
12012
+ "type": "object",
12013
+ "properties": {
12014
+ "include": {
12015
+ "type": "string",
12016
+ "description": "JSON:API sideload. `author` resolves the user row."
12017
+ }
12018
+ }
12019
+ },
12020
+ "_meta": {
12021
+ "method": "GET",
12022
+ "path": "/v1/comments/{commentId}",
12023
+ "operationId": "showComment"
12024
+ }
12025
+ },
12026
+ {
12027
+ "name": "update_comment",
12028
+ "description": "Update Comment",
12029
+ "inputSchema": {
12030
+ "title": "UpdateCommentRequestSchema",
12031
+ "type": "object",
12032
+ "properties": {
12033
+ "data": {
12034
+ "type": "object",
12035
+ "required": [
12036
+ "type"
12037
+ ],
12038
+ "properties": {
12039
+ "type": {
12040
+ "type": "string",
12041
+ "enum": [
12042
+ "comments"
12043
+ ]
12044
+ },
12045
+ "id": {
12046
+ "type": "string"
12047
+ },
12048
+ "attributes": {
12049
+ "type": "object",
12050
+ "description": "Patchable fields. Only `body`, `isResolved`, and `mentionedUserIds` are editable. Edit by author OR tenant admin/owner; others get 403.",
12051
+ "properties": {
12052
+ "body": {
12053
+ "type": "string",
12054
+ "maxLength": 5000
12055
+ },
12056
+ "isResolved": {
12057
+ "type": "boolean"
12058
+ },
12059
+ "mentionedUserIds": {
12060
+ "type": "array",
12061
+ "items": {
12062
+ "type": "string"
12063
+ }
12064
+ }
12065
+ }
12066
+ }
12067
+ }
12068
+ }
12069
+ }
12070
+ },
12071
+ "_meta": {
12072
+ "method": "PATCH",
12073
+ "path": "/v1/comments/{commentId}",
12074
+ "operationId": "updateComment"
12075
+ }
12076
+ },
12077
+ {
12078
+ "name": "delete_comment",
12079
+ "description": "Delete Comment",
12080
+ "inputSchema": {
12081
+ "type": "object",
12082
+ "properties": {
12083
+ "permanentDelete": {
12084
+ "type": "string",
12085
+ "description": "Set to `true` for hard-delete. Default is soft-delete (status=archived).",
12086
+ "enum": [
12087
+ "true",
12088
+ "false"
12089
+ ]
12090
+ }
12091
+ }
12092
+ },
12093
+ "_meta": {
12094
+ "method": "DELETE",
12095
+ "path": "/v1/comments/{commentId}",
12096
+ "operationId": "deleteComment"
12097
+ }
12098
+ },
11837
12099
  {
11838
12100
  "name": "list_chats",
11839
12101
  "description": "List Chats",
@@ -13067,6 +13329,7 @@
13067
13329
  "emails",
13068
13330
  "chats",
13069
13331
  "calls",
13332
+ "comments",
13070
13333
  "candidates",
13071
13334
  "conversations",
13072
13335
  "jobs",
@@ -13388,11 +13651,12 @@
13388
13651
  "properties": {
13389
13652
  "filterResourceType": {
13390
13653
  "type": "string",
13391
- "description": "Only return aggregates for this resource type (e.g. emails, chats, calls).",
13654
+ "description": "Only return aggregates for this resource type (e.g. emails, chats, calls, comments).",
13392
13655
  "enum": [
13393
13656
  "emails",
13394
13657
  "chats",
13395
13658
  "calls",
13659
+ "comments",
13396
13660
  "candidates",
13397
13661
  "conversations",
13398
13662
  "jobs",
@@ -16238,7 +16502,7 @@
16238
16502
  },
16239
16503
  "filterCategory": {
16240
16504
  "type": "string",
16241
- "description": "Filter by category (sourcing, screening, assessment, onboarding, operational, general). Uses CategoryIndex GSI efficient at scale.",
16505
+ "description": "Filter by category (sourcing, screening, assessment, onboarding, operational, general). Uses CategoryIndex GSI - efficient at scale.",
16242
16506
  "enum": [
16243
16507
  "sourcing",
16244
16508
  "screening",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.1.33-dev.28",
3
+ "version": "0.1.33-dev.29",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",