@smartytalent/openai-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.
- package/dist/tools.json +265 -11
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
},
|
|
333
333
|
"include": {
|
|
334
334
|
"type": "string",
|
|
335
|
-
"description": "JSON:API compound document request
|
|
335
|
+
"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."
|
|
336
336
|
}
|
|
337
337
|
},
|
|
338
338
|
"required": [
|
|
@@ -7627,7 +7627,7 @@
|
|
|
7627
7627
|
"outcomes": {
|
|
7628
7628
|
"title": "FeedbackOutcomesSchema",
|
|
7629
7629
|
"type": "object",
|
|
7630
|
-
"description": "Per-outcome feedback rules. Outcome keys map to candidate.recommendationStatusCode: 1=notFit, 2=maybe, 3=fit. Code 0 (not evaluated) never triggers feedback
|
|
7630
|
+
"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.",
|
|
7631
7631
|
"properties": {
|
|
7632
7632
|
"notFit": {
|
|
7633
7633
|
"title": "FeedbackOutcomeRuleSchema",
|
|
@@ -8035,7 +8035,7 @@
|
|
|
8035
8035
|
"outcomes": {
|
|
8036
8036
|
"title": "FeedbackOutcomesSchema",
|
|
8037
8037
|
"type": "object",
|
|
8038
|
-
"description": "Per-outcome feedback rules. Outcome keys map to candidate.recommendationStatusCode: 1=notFit, 2=maybe, 3=fit. Code 0 (not evaluated) never triggers feedback
|
|
8038
|
+
"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.",
|
|
8039
8039
|
"properties": {
|
|
8040
8040
|
"notFit": {
|
|
8041
8041
|
"title": "FeedbackOutcomeRuleSchema",
|
|
@@ -8513,7 +8513,7 @@
|
|
|
8513
8513
|
},
|
|
8514
8514
|
"actionName": {
|
|
8515
8515
|
"type": "string",
|
|
8516
|
-
"description": "Action identifier (e.g. `email:send`, `call:initiate`). Resolved by the same convention the workflow engine uses
|
|
8516
|
+
"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}`."
|
|
8517
8517
|
},
|
|
8518
8518
|
"input": {
|
|
8519
8519
|
"type": "object",
|
|
@@ -8770,7 +8770,7 @@
|
|
|
8770
8770
|
},
|
|
8771
8771
|
"actionName": {
|
|
8772
8772
|
"type": "string",
|
|
8773
|
-
"description": "Action identifier (e.g. `email:send`, `call:initiate`). Resolved by the same convention the workflow engine uses
|
|
8773
|
+
"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}`."
|
|
8774
8774
|
},
|
|
8775
8775
|
"input": {
|
|
8776
8776
|
"type": "object",
|
|
@@ -9021,7 +9021,7 @@
|
|
|
9021
9021
|
"candidate",
|
|
9022
9022
|
"talent"
|
|
9023
9023
|
],
|
|
9024
|
-
"description": "Submission type
|
|
9024
|
+
"description": "Submission type - determines which workflow to trigger"
|
|
9025
9025
|
},
|
|
9026
9026
|
"status": {
|
|
9027
9027
|
"type": "string",
|
|
@@ -9329,7 +9329,7 @@
|
|
|
9329
9329
|
"candidate",
|
|
9330
9330
|
"talent"
|
|
9331
9331
|
],
|
|
9332
|
-
"description": "Submission type
|
|
9332
|
+
"description": "Submission type - determines which workflow to trigger. Auto-derived from jobId if omitted."
|
|
9333
9333
|
},
|
|
9334
9334
|
"referral": {
|
|
9335
9335
|
"type": "object",
|
|
@@ -9506,7 +9506,7 @@
|
|
|
9506
9506
|
"candidate",
|
|
9507
9507
|
"talent"
|
|
9508
9508
|
],
|
|
9509
|
-
"description": "Submission type
|
|
9509
|
+
"description": "Submission type - determines which workflow to trigger"
|
|
9510
9510
|
},
|
|
9511
9511
|
"status": {
|
|
9512
9512
|
"type": "string",
|
|
@@ -10541,6 +10541,10 @@
|
|
|
10541
10541
|
"type": "string",
|
|
10542
10542
|
"description": "Filter by caller's protocol-native handle (E.164 phone for PSTN). Indexed via FromIdentifierIndex GSI."
|
|
10543
10543
|
},
|
|
10544
|
+
"filterToIdentifier": {
|
|
10545
|
+
"type": "string",
|
|
10546
|
+
"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."
|
|
10547
|
+
},
|
|
10544
10548
|
"filterConversationId": {
|
|
10545
10549
|
"type": "string",
|
|
10546
10550
|
"description": "Filter all calls in a conversation thread. Indexed via ConversationIdIndex GSI."
|
|
@@ -10555,6 +10559,10 @@
|
|
|
10555
10559
|
"other"
|
|
10556
10560
|
]
|
|
10557
10561
|
},
|
|
10562
|
+
"include": {
|
|
10563
|
+
"type": "string",
|
|
10564
|
+
"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)."
|
|
10565
|
+
},
|
|
10558
10566
|
"filterCreatedFrom": {
|
|
10559
10567
|
"type": "string",
|
|
10560
10568
|
"description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
|
|
@@ -11120,7 +11128,12 @@
|
|
|
11120
11128
|
"description": "Show Call",
|
|
11121
11129
|
"parameters": {
|
|
11122
11130
|
"type": "object",
|
|
11123
|
-
"properties": {
|
|
11131
|
+
"properties": {
|
|
11132
|
+
"include": {
|
|
11133
|
+
"type": "string",
|
|
11134
|
+
"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."
|
|
11135
|
+
}
|
|
11136
|
+
}
|
|
11124
11137
|
}
|
|
11125
11138
|
}
|
|
11126
11139
|
},
|
|
@@ -11492,6 +11505,245 @@
|
|
|
11492
11505
|
}
|
|
11493
11506
|
}
|
|
11494
11507
|
},
|
|
11508
|
+
{
|
|
11509
|
+
"type": "function",
|
|
11510
|
+
"function": {
|
|
11511
|
+
"name": "list_comments",
|
|
11512
|
+
"description": "List Comments",
|
|
11513
|
+
"parameters": {
|
|
11514
|
+
"type": "object",
|
|
11515
|
+
"properties": {
|
|
11516
|
+
"filterTargetType": {
|
|
11517
|
+
"type": "string",
|
|
11518
|
+
"description": "Limit to comments on this resource type. Pair with filterTargetId.",
|
|
11519
|
+
"enum": [
|
|
11520
|
+
"calls",
|
|
11521
|
+
"chats",
|
|
11522
|
+
"emails",
|
|
11523
|
+
"candidates",
|
|
11524
|
+
"jobs",
|
|
11525
|
+
"talents",
|
|
11526
|
+
"briefs",
|
|
11527
|
+
"tasks"
|
|
11528
|
+
]
|
|
11529
|
+
},
|
|
11530
|
+
"filterTargetId": {
|
|
11531
|
+
"type": "string",
|
|
11532
|
+
"description": "Limit to comments on this specific target id. Requires filterTargetType."
|
|
11533
|
+
},
|
|
11534
|
+
"filterAuthorId": {
|
|
11535
|
+
"type": "string",
|
|
11536
|
+
"description": "Limit to comments authored by this user. Indexed via AuthorIndex."
|
|
11537
|
+
},
|
|
11538
|
+
"filterIsResolved": {
|
|
11539
|
+
"type": "boolean",
|
|
11540
|
+
"description": "Filter by `isResolved` flag (true/false). Post-filtered after pagination - acceptable while resolution is rare."
|
|
11541
|
+
},
|
|
11542
|
+
"include": {
|
|
11543
|
+
"type": "string",
|
|
11544
|
+
"description": "JSON:API sideload. Currently supports `author` (resolves to the user row with name + avatarUrl + isBoe)."
|
|
11545
|
+
},
|
|
11546
|
+
"filterCreatedFrom": {
|
|
11547
|
+
"type": "string",
|
|
11548
|
+
"description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
|
|
11549
|
+
},
|
|
11550
|
+
"filterCreatedTo": {
|
|
11551
|
+
"type": "string",
|
|
11552
|
+
"description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
|
|
11553
|
+
},
|
|
11554
|
+
"filterModifiedFrom": {
|
|
11555
|
+
"type": "string",
|
|
11556
|
+
"description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
|
|
11557
|
+
},
|
|
11558
|
+
"filterModifiedTo": {
|
|
11559
|
+
"type": "string",
|
|
11560
|
+
"description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
|
|
11561
|
+
},
|
|
11562
|
+
"pageSize": {
|
|
11563
|
+
"type": "integer",
|
|
11564
|
+
"description": "Specifies the number of items to retrieve per page. The maximum value is 100."
|
|
11565
|
+
},
|
|
11566
|
+
"pageNumber": {
|
|
11567
|
+
"type": "integer",
|
|
11568
|
+
"description": "Specifies the page number to retrieve. Used for traditional pagination."
|
|
11569
|
+
},
|
|
11570
|
+
"pageAfter": {
|
|
11571
|
+
"type": "string",
|
|
11572
|
+
"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."
|
|
11573
|
+
},
|
|
11574
|
+
"pageBefore": {
|
|
11575
|
+
"type": "string",
|
|
11576
|
+
"description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
|
|
11577
|
+
},
|
|
11578
|
+
"sort": {
|
|
11579
|
+
"type": "string",
|
|
11580
|
+
"description": "Sort order. Default `-created` (newest first).",
|
|
11581
|
+
"enum": [
|
|
11582
|
+
"-created",
|
|
11583
|
+
"created",
|
|
11584
|
+
"-modified",
|
|
11585
|
+
"modified"
|
|
11586
|
+
]
|
|
11587
|
+
}
|
|
11588
|
+
}
|
|
11589
|
+
}
|
|
11590
|
+
}
|
|
11591
|
+
},
|
|
11592
|
+
{
|
|
11593
|
+
"type": "function",
|
|
11594
|
+
"function": {
|
|
11595
|
+
"name": "create_comment",
|
|
11596
|
+
"description": "Create Comment",
|
|
11597
|
+
"parameters": {
|
|
11598
|
+
"title": "CreateCommentRequestSchema",
|
|
11599
|
+
"type": "object",
|
|
11600
|
+
"properties": {
|
|
11601
|
+
"data": {
|
|
11602
|
+
"type": "object",
|
|
11603
|
+
"required": [
|
|
11604
|
+
"type",
|
|
11605
|
+
"attributes"
|
|
11606
|
+
],
|
|
11607
|
+
"properties": {
|
|
11608
|
+
"type": {
|
|
11609
|
+
"type": "string",
|
|
11610
|
+
"enum": [
|
|
11611
|
+
"comments"
|
|
11612
|
+
]
|
|
11613
|
+
},
|
|
11614
|
+
"attributes": {
|
|
11615
|
+
"type": "object",
|
|
11616
|
+
"required": [
|
|
11617
|
+
"body",
|
|
11618
|
+
"targetType",
|
|
11619
|
+
"targetId"
|
|
11620
|
+
],
|
|
11621
|
+
"properties": {
|
|
11622
|
+
"body": {
|
|
11623
|
+
"type": "string",
|
|
11624
|
+
"maxLength": 5000
|
|
11625
|
+
},
|
|
11626
|
+
"targetType": {
|
|
11627
|
+
"type": "string",
|
|
11628
|
+
"enum": [
|
|
11629
|
+
"calls",
|
|
11630
|
+
"chats",
|
|
11631
|
+
"emails",
|
|
11632
|
+
"candidates",
|
|
11633
|
+
"jobs",
|
|
11634
|
+
"talents",
|
|
11635
|
+
"briefs",
|
|
11636
|
+
"tasks"
|
|
11637
|
+
]
|
|
11638
|
+
},
|
|
11639
|
+
"targetId": {
|
|
11640
|
+
"type": "string"
|
|
11641
|
+
},
|
|
11642
|
+
"parentCommentId": {
|
|
11643
|
+
"type": "string"
|
|
11644
|
+
},
|
|
11645
|
+
"mentionedUserIds": {
|
|
11646
|
+
"type": "array",
|
|
11647
|
+
"items": {
|
|
11648
|
+
"type": "string"
|
|
11649
|
+
}
|
|
11650
|
+
},
|
|
11651
|
+
"isResolved": {
|
|
11652
|
+
"type": "boolean"
|
|
11653
|
+
}
|
|
11654
|
+
}
|
|
11655
|
+
}
|
|
11656
|
+
}
|
|
11657
|
+
}
|
|
11658
|
+
}
|
|
11659
|
+
}
|
|
11660
|
+
}
|
|
11661
|
+
},
|
|
11662
|
+
{
|
|
11663
|
+
"type": "function",
|
|
11664
|
+
"function": {
|
|
11665
|
+
"name": "show_comment",
|
|
11666
|
+
"description": "Show Comment",
|
|
11667
|
+
"parameters": {
|
|
11668
|
+
"type": "object",
|
|
11669
|
+
"properties": {
|
|
11670
|
+
"include": {
|
|
11671
|
+
"type": "string",
|
|
11672
|
+
"description": "JSON:API sideload. `author` resolves the user row."
|
|
11673
|
+
}
|
|
11674
|
+
}
|
|
11675
|
+
}
|
|
11676
|
+
}
|
|
11677
|
+
},
|
|
11678
|
+
{
|
|
11679
|
+
"type": "function",
|
|
11680
|
+
"function": {
|
|
11681
|
+
"name": "update_comment",
|
|
11682
|
+
"description": "Update Comment",
|
|
11683
|
+
"parameters": {
|
|
11684
|
+
"title": "UpdateCommentRequestSchema",
|
|
11685
|
+
"type": "object",
|
|
11686
|
+
"properties": {
|
|
11687
|
+
"data": {
|
|
11688
|
+
"type": "object",
|
|
11689
|
+
"required": [
|
|
11690
|
+
"type"
|
|
11691
|
+
],
|
|
11692
|
+
"properties": {
|
|
11693
|
+
"type": {
|
|
11694
|
+
"type": "string",
|
|
11695
|
+
"enum": [
|
|
11696
|
+
"comments"
|
|
11697
|
+
]
|
|
11698
|
+
},
|
|
11699
|
+
"id": {
|
|
11700
|
+
"type": "string"
|
|
11701
|
+
},
|
|
11702
|
+
"attributes": {
|
|
11703
|
+
"type": "object",
|
|
11704
|
+
"description": "Patchable fields. Only `body`, `isResolved`, and `mentionedUserIds` are editable. Edit by author OR tenant admin/owner; others get 403.",
|
|
11705
|
+
"properties": {
|
|
11706
|
+
"body": {
|
|
11707
|
+
"type": "string",
|
|
11708
|
+
"maxLength": 5000
|
|
11709
|
+
},
|
|
11710
|
+
"isResolved": {
|
|
11711
|
+
"type": "boolean"
|
|
11712
|
+
},
|
|
11713
|
+
"mentionedUserIds": {
|
|
11714
|
+
"type": "array",
|
|
11715
|
+
"items": {
|
|
11716
|
+
"type": "string"
|
|
11717
|
+
}
|
|
11718
|
+
}
|
|
11719
|
+
}
|
|
11720
|
+
}
|
|
11721
|
+
}
|
|
11722
|
+
}
|
|
11723
|
+
}
|
|
11724
|
+
}
|
|
11725
|
+
}
|
|
11726
|
+
},
|
|
11727
|
+
{
|
|
11728
|
+
"type": "function",
|
|
11729
|
+
"function": {
|
|
11730
|
+
"name": "delete_comment",
|
|
11731
|
+
"description": "Delete Comment",
|
|
11732
|
+
"parameters": {
|
|
11733
|
+
"type": "object",
|
|
11734
|
+
"properties": {
|
|
11735
|
+
"permanentDelete": {
|
|
11736
|
+
"type": "string",
|
|
11737
|
+
"description": "Set to `true` for hard-delete. Default is soft-delete (status=archived).",
|
|
11738
|
+
"enum": [
|
|
11739
|
+
"true",
|
|
11740
|
+
"false"
|
|
11741
|
+
]
|
|
11742
|
+
}
|
|
11743
|
+
}
|
|
11744
|
+
}
|
|
11745
|
+
}
|
|
11746
|
+
},
|
|
11495
11747
|
{
|
|
11496
11748
|
"type": "function",
|
|
11497
11749
|
"function": {
|
|
@@ -12685,6 +12937,7 @@
|
|
|
12685
12937
|
"emails",
|
|
12686
12938
|
"chats",
|
|
12687
12939
|
"calls",
|
|
12940
|
+
"comments",
|
|
12688
12941
|
"candidates",
|
|
12689
12942
|
"conversations",
|
|
12690
12943
|
"jobs",
|
|
@@ -12992,11 +13245,12 @@
|
|
|
12992
13245
|
"properties": {
|
|
12993
13246
|
"filterResourceType": {
|
|
12994
13247
|
"type": "string",
|
|
12995
|
-
"description": "Only return aggregates for this resource type (e.g. emails, chats, calls).",
|
|
13248
|
+
"description": "Only return aggregates for this resource type (e.g. emails, chats, calls, comments).",
|
|
12996
13249
|
"enum": [
|
|
12997
13250
|
"emails",
|
|
12998
13251
|
"chats",
|
|
12999
13252
|
"calls",
|
|
13253
|
+
"comments",
|
|
13000
13254
|
"candidates",
|
|
13001
13255
|
"conversations",
|
|
13002
13256
|
"jobs",
|
|
@@ -15700,7 +15954,7 @@
|
|
|
15700
15954
|
},
|
|
15701
15955
|
"filterCategory": {
|
|
15702
15956
|
"type": "string",
|
|
15703
|
-
"description": "Filter by category (sourcing, screening, assessment, onboarding, operational, general). Uses CategoryIndex GSI
|
|
15957
|
+
"description": "Filter by category (sourcing, screening, assessment, onboarding, operational, general). Uses CategoryIndex GSI - efficient at scale.",
|
|
15704
15958
|
"enum": [
|
|
15705
15959
|
"sourcing",
|
|
15706
15960
|
"screening",
|