@smartytalent/openai-tools 0.9.25 → 0.9.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 +297 -6
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -25627,6 +25627,195 @@
|
|
|
25627
25627
|
"filterTalentId": {
|
|
25628
25628
|
"type": "string",
|
|
25629
25629
|
"description": "filterTalentId parameter"
|
|
25630
|
+
},
|
|
25631
|
+
"filterStatus": {
|
|
25632
|
+
"type": "string",
|
|
25633
|
+
"description": "filterStatus parameter",
|
|
25634
|
+
"enum": [
|
|
25635
|
+
"draft",
|
|
25636
|
+
"active",
|
|
25637
|
+
"closed"
|
|
25638
|
+
]
|
|
25639
|
+
},
|
|
25640
|
+
"pageSize": {
|
|
25641
|
+
"type": "integer",
|
|
25642
|
+
"description": "Specifies the number of items to retrieve per page. The maximum value is 100."
|
|
25643
|
+
},
|
|
25644
|
+
"pageNumber": {
|
|
25645
|
+
"type": "integer",
|
|
25646
|
+
"description": "Specifies the page number to retrieve. Used for traditional pagination."
|
|
25647
|
+
},
|
|
25648
|
+
"pageAfter": {
|
|
25649
|
+
"type": "string",
|
|
25650
|
+
"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."
|
|
25651
|
+
},
|
|
25652
|
+
"pageBefore": {
|
|
25653
|
+
"type": "string",
|
|
25654
|
+
"description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
|
|
25655
|
+
},
|
|
25656
|
+
"sort": {
|
|
25657
|
+
"type": "string",
|
|
25658
|
+
"description": "Order results by a time field. Leading `-` means descending\n(newest-first). Accepted values:\n `-created` newest-first by creation time (CreatedIndex)\n `created` oldest-first by creation time\n `-modified` most-recently-modified first (ModifiedIndex)\n `modified` least-recently-modified first\nWith `filterStatus` the order is honoured on page-number\npagination (pageNumber): the matching ids are read from the\nstatus index with the sort field and ordered globally before the\npage is cut (since 2026-09-06). Cursor pagination (pageAfter /\npageBefore) and the other equality filters (filterCandidate,\nfilterHost, filterJob, filterShortCode, etc.) keep their own\nindex order; there sort has no effect. Compatible with\ndate-range filters (filterCreatedFrom/To, filterModifiedFrom/To)\nwhich already use the same indexes; sort just picks the\ndirection. On a capped list (meta.page.totalItemsCapped) the\norder applies within the capped window.",
|
|
25659
|
+
"enum": [
|
|
25660
|
+
"-created",
|
|
25661
|
+
"created",
|
|
25662
|
+
"-modified",
|
|
25663
|
+
"modified"
|
|
25664
|
+
]
|
|
25665
|
+
}
|
|
25666
|
+
}
|
|
25667
|
+
}
|
|
25668
|
+
}
|
|
25669
|
+
},
|
|
25670
|
+
{
|
|
25671
|
+
"type": "function",
|
|
25672
|
+
"function": {
|
|
25673
|
+
"name": "create_invitation",
|
|
25674
|
+
"description": "Create Invitation",
|
|
25675
|
+
"parameters": {
|
|
25676
|
+
"title": "CreateInvitationRequestBody",
|
|
25677
|
+
"type": "object",
|
|
25678
|
+
"required": [
|
|
25679
|
+
"data"
|
|
25680
|
+
],
|
|
25681
|
+
"properties": {
|
|
25682
|
+
"data": {
|
|
25683
|
+
"title": "CreateInvitationRequestBodyData",
|
|
25684
|
+
"type": "object",
|
|
25685
|
+
"required": [
|
|
25686
|
+
"type",
|
|
25687
|
+
"relationships"
|
|
25688
|
+
],
|
|
25689
|
+
"properties": {
|
|
25690
|
+
"type": {
|
|
25691
|
+
"type": "string",
|
|
25692
|
+
"enum": [
|
|
25693
|
+
"invitations"
|
|
25694
|
+
]
|
|
25695
|
+
},
|
|
25696
|
+
"attributes": {
|
|
25697
|
+
"title": "CreateInvitationRequestBodyAttributes",
|
|
25698
|
+
"type": "object",
|
|
25699
|
+
"properties": {
|
|
25700
|
+
"name": {
|
|
25701
|
+
"type": "string",
|
|
25702
|
+
"maxLength": 160
|
|
25703
|
+
},
|
|
25704
|
+
"status": {
|
|
25705
|
+
"type": "string",
|
|
25706
|
+
"enum": [
|
|
25707
|
+
"draft",
|
|
25708
|
+
"active"
|
|
25709
|
+
],
|
|
25710
|
+
"description": "draft (default) to compose first, active to send right away."
|
|
25711
|
+
},
|
|
25712
|
+
"channels": {
|
|
25713
|
+
"type": "array",
|
|
25714
|
+
"items": {
|
|
25715
|
+
"type": "string",
|
|
25716
|
+
"enum": [
|
|
25717
|
+
"email",
|
|
25718
|
+
"sms",
|
|
25719
|
+
"call"
|
|
25720
|
+
]
|
|
25721
|
+
}
|
|
25722
|
+
},
|
|
25723
|
+
"languageCode": {
|
|
25724
|
+
"type": "string"
|
|
25725
|
+
},
|
|
25726
|
+
"source": {
|
|
25727
|
+
"type": "string",
|
|
25728
|
+
"enum": [
|
|
25729
|
+
"sourcing",
|
|
25730
|
+
"manual"
|
|
25731
|
+
]
|
|
25732
|
+
}
|
|
25733
|
+
}
|
|
25734
|
+
},
|
|
25735
|
+
"relationships": {
|
|
25736
|
+
"title": "CreateInvitationRequestBodyRelationships",
|
|
25737
|
+
"type": "object",
|
|
25738
|
+
"required": [
|
|
25739
|
+
"job"
|
|
25740
|
+
],
|
|
25741
|
+
"properties": {
|
|
25742
|
+
"job": {
|
|
25743
|
+
"title": "InvitationRelationshipsJobSchema",
|
|
25744
|
+
"type": "object",
|
|
25745
|
+
"properties": {
|
|
25746
|
+
"data": {
|
|
25747
|
+
"title": "InvitationRelationshipsJobDataSchema",
|
|
25748
|
+
"type": "object",
|
|
25749
|
+
"properties": {
|
|
25750
|
+
"type": {
|
|
25751
|
+
"type": "string",
|
|
25752
|
+
"enum": [
|
|
25753
|
+
"jobs"
|
|
25754
|
+
]
|
|
25755
|
+
},
|
|
25756
|
+
"id": {
|
|
25757
|
+
"type": "string"
|
|
25758
|
+
}
|
|
25759
|
+
}
|
|
25760
|
+
}
|
|
25761
|
+
}
|
|
25762
|
+
},
|
|
25763
|
+
"task": {
|
|
25764
|
+
"title": "InvitationRelationshipsTaskSchema",
|
|
25765
|
+
"type": "object",
|
|
25766
|
+
"properties": {
|
|
25767
|
+
"data": {
|
|
25768
|
+
"title": "InvitationRelationshipsTaskDataSchema",
|
|
25769
|
+
"type": "object",
|
|
25770
|
+
"properties": {
|
|
25771
|
+
"type": {
|
|
25772
|
+
"type": "string",
|
|
25773
|
+
"enum": [
|
|
25774
|
+
"tasks"
|
|
25775
|
+
]
|
|
25776
|
+
},
|
|
25777
|
+
"id": {
|
|
25778
|
+
"type": "string"
|
|
25779
|
+
}
|
|
25780
|
+
}
|
|
25781
|
+
}
|
|
25782
|
+
}
|
|
25783
|
+
},
|
|
25784
|
+
"talents": {
|
|
25785
|
+
"title": "CreateInvitationRequestBodyTalents",
|
|
25786
|
+
"type": "object",
|
|
25787
|
+
"description": "The people to put on the list (identifiers, no meta).",
|
|
25788
|
+
"properties": {
|
|
25789
|
+
"data": {
|
|
25790
|
+
"type": "array",
|
|
25791
|
+
"items": {
|
|
25792
|
+
"title": "ResourceIdentifierSchema",
|
|
25793
|
+
"type": "object",
|
|
25794
|
+
"required": [
|
|
25795
|
+
"type",
|
|
25796
|
+
"id"
|
|
25797
|
+
],
|
|
25798
|
+
"properties": {
|
|
25799
|
+
"type": {
|
|
25800
|
+
"type": "string"
|
|
25801
|
+
},
|
|
25802
|
+
"id": {
|
|
25803
|
+
"type": "string",
|
|
25804
|
+
"pattern": "^[a-f0-9]{32}-[1-9]$"
|
|
25805
|
+
},
|
|
25806
|
+
"meta": {
|
|
25807
|
+
"title": "ResourceMetaSchema",
|
|
25808
|
+
"type": "object",
|
|
25809
|
+
"additionalProperties": true
|
|
25810
|
+
}
|
|
25811
|
+
}
|
|
25812
|
+
}
|
|
25813
|
+
}
|
|
25814
|
+
}
|
|
25815
|
+
}
|
|
25816
|
+
}
|
|
25817
|
+
}
|
|
25818
|
+
}
|
|
25630
25819
|
}
|
|
25631
25820
|
}
|
|
25632
25821
|
}
|
|
@@ -25671,7 +25860,7 @@
|
|
|
25671
25860
|
"type": "object",
|
|
25672
25861
|
"required": [
|
|
25673
25862
|
"type",
|
|
25674
|
-
"
|
|
25863
|
+
"id"
|
|
25675
25864
|
],
|
|
25676
25865
|
"properties": {
|
|
25677
25866
|
"type": {
|
|
@@ -25680,18 +25869,87 @@
|
|
|
25680
25869
|
"invitations"
|
|
25681
25870
|
]
|
|
25682
25871
|
},
|
|
25872
|
+
"id": {
|
|
25873
|
+
"type": "string"
|
|
25874
|
+
},
|
|
25683
25875
|
"attributes": {
|
|
25684
25876
|
"title": "UpdateInvitationRequestBodyAttributes",
|
|
25685
25877
|
"type": "object",
|
|
25686
|
-
"required": [
|
|
25687
|
-
"status"
|
|
25688
|
-
],
|
|
25689
25878
|
"properties": {
|
|
25879
|
+
"name": {
|
|
25880
|
+
"type": "string",
|
|
25881
|
+
"maxLength": 160
|
|
25882
|
+
},
|
|
25690
25883
|
"status": {
|
|
25691
25884
|
"type": "string",
|
|
25692
25885
|
"enum": [
|
|
25693
|
-
"
|
|
25694
|
-
|
|
25886
|
+
"active",
|
|
25887
|
+
"closed"
|
|
25888
|
+
],
|
|
25889
|
+
"description": "active starts the sending (draft -> active), closed ends it."
|
|
25890
|
+
},
|
|
25891
|
+
"channels": {
|
|
25892
|
+
"type": "array",
|
|
25893
|
+
"items": {
|
|
25894
|
+
"type": "string",
|
|
25895
|
+
"enum": [
|
|
25896
|
+
"email",
|
|
25897
|
+
"sms",
|
|
25898
|
+
"call"
|
|
25899
|
+
]
|
|
25900
|
+
}
|
|
25901
|
+
},
|
|
25902
|
+
"languageCode": {
|
|
25903
|
+
"type": "string"
|
|
25904
|
+
},
|
|
25905
|
+
"claimTalentIds": {
|
|
25906
|
+
"type": "array",
|
|
25907
|
+
"items": {
|
|
25908
|
+
"type": "string"
|
|
25909
|
+
},
|
|
25910
|
+
"description": "The send action's claim - each named person flips queued -> sending in its own conditional write (the invitation must be active in that same write); the response's `meta.claimed` lists the ids THIS call claimed (a second run of the same activation claims none). Not for the FE."
|
|
25911
|
+
},
|
|
25912
|
+
"claimOwner": {
|
|
25913
|
+
"type": "string",
|
|
25914
|
+
"description": "Who claims (the send action's run and step). A retry of the same run takes its own `sending` people back at once; anyone may take a `sending` person whose claim is older than the 5-minute lease (a run that never finished). Not for the FE."
|
|
25915
|
+
}
|
|
25916
|
+
}
|
|
25917
|
+
},
|
|
25918
|
+
"relationships": {
|
|
25919
|
+
"title": "UpdateInvitationRequestBodyRelationships",
|
|
25920
|
+
"type": "object",
|
|
25921
|
+
"properties": {
|
|
25922
|
+
"talents": {
|
|
25923
|
+
"title": "UpdateInvitationRequestBodyTalents",
|
|
25924
|
+
"type": "object",
|
|
25925
|
+
"description": "The FULL list of people wanted on the list; a contacted person cannot be left out (409).",
|
|
25926
|
+
"properties": {
|
|
25927
|
+
"data": {
|
|
25928
|
+
"type": "array",
|
|
25929
|
+
"items": {
|
|
25930
|
+
"title": "ResourceIdentifierSchema",
|
|
25931
|
+
"type": "object",
|
|
25932
|
+
"required": [
|
|
25933
|
+
"type",
|
|
25934
|
+
"id"
|
|
25935
|
+
],
|
|
25936
|
+
"properties": {
|
|
25937
|
+
"type": {
|
|
25938
|
+
"type": "string"
|
|
25939
|
+
},
|
|
25940
|
+
"id": {
|
|
25941
|
+
"type": "string",
|
|
25942
|
+
"pattern": "^[a-f0-9]{32}-[1-9]$"
|
|
25943
|
+
},
|
|
25944
|
+
"meta": {
|
|
25945
|
+
"title": "ResourceMetaSchema",
|
|
25946
|
+
"type": "object",
|
|
25947
|
+
"additionalProperties": true
|
|
25948
|
+
}
|
|
25949
|
+
}
|
|
25950
|
+
}
|
|
25951
|
+
}
|
|
25952
|
+
}
|
|
25695
25953
|
}
|
|
25696
25954
|
}
|
|
25697
25955
|
}
|
|
@@ -25701,6 +25959,17 @@
|
|
|
25701
25959
|
}
|
|
25702
25960
|
}
|
|
25703
25961
|
},
|
|
25962
|
+
{
|
|
25963
|
+
"type": "function",
|
|
25964
|
+
"function": {
|
|
25965
|
+
"name": "delete_invitation",
|
|
25966
|
+
"description": "Delete Invitation",
|
|
25967
|
+
"parameters": {
|
|
25968
|
+
"type": "object",
|
|
25969
|
+
"properties": {}
|
|
25970
|
+
}
|
|
25971
|
+
}
|
|
25972
|
+
},
|
|
25704
25973
|
{
|
|
25705
25974
|
"type": "function",
|
|
25706
25975
|
"function": {
|
|
@@ -25712,6 +25981,28 @@
|
|
|
25712
25981
|
}
|
|
25713
25982
|
}
|
|
25714
25983
|
},
|
|
25984
|
+
{
|
|
25985
|
+
"type": "function",
|
|
25986
|
+
"function": {
|
|
25987
|
+
"name": "list_invitation_talents_relationship",
|
|
25988
|
+
"description": "List Invitation Talents Relationship",
|
|
25989
|
+
"parameters": {
|
|
25990
|
+
"type": "object",
|
|
25991
|
+
"properties": {}
|
|
25992
|
+
}
|
|
25993
|
+
}
|
|
25994
|
+
},
|
|
25995
|
+
{
|
|
25996
|
+
"type": "function",
|
|
25997
|
+
"function": {
|
|
25998
|
+
"name": "invitation_talents_relationship_options",
|
|
25999
|
+
"description": "CORS support",
|
|
26000
|
+
"parameters": {
|
|
26001
|
+
"type": "object",
|
|
26002
|
+
"properties": {}
|
|
26003
|
+
}
|
|
26004
|
+
}
|
|
26005
|
+
},
|
|
25715
26006
|
{
|
|
25716
26007
|
"type": "function",
|
|
25717
26008
|
"function": {
|