@smartytalent/openai-tools 0.9.24 → 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.
Files changed (2) hide show
  1. package/dist/tools.json +460 -1
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -3689,6 +3689,24 @@
3689
3689
  "isTalentPool": {
3690
3690
  "type": "boolean"
3691
3691
  },
3692
+ "lastActivityAt": {
3693
+ "type": "string",
3694
+ "format": "date-time",
3695
+ "description": "The last time something happened with this person on our side - an application, an email sent to or received from them (stamped by the talent service from events, 2026-09-07). On the row and here only, not in the finder document."
3696
+ },
3697
+ "lastActivityType": {
3698
+ "type": "string",
3699
+ "enum": [
3700
+ "application",
3701
+ "email"
3702
+ ],
3703
+ "description": "What lastActivityAt refers to."
3704
+ },
3705
+ "availabilityDeclaredAt": {
3706
+ "type": "string",
3707
+ "format": "date-time",
3708
+ "description": "When the person last stated their availability - the analysis that wrote the criterion (CV, application, an applied talents:update) or a PATCH carrying it (2026-09-07). Also on the finder tile as summary.availability.declaredAt."
3709
+ },
3692
3710
  "ttl": {
3693
3711
  "type": "string"
3694
3712
  },
@@ -4334,6 +4352,24 @@
4334
4352
  "isTalentPool": {
4335
4353
  "type": "boolean"
4336
4354
  },
4355
+ "lastActivityAt": {
4356
+ "type": "string",
4357
+ "format": "date-time",
4358
+ "description": "The last time something happened with this person on our side - an application, an email sent to or received from them (stamped by the talent service from events, 2026-09-07). On the row and here only, not in the finder document."
4359
+ },
4360
+ "lastActivityType": {
4361
+ "type": "string",
4362
+ "enum": [
4363
+ "application",
4364
+ "email"
4365
+ ],
4366
+ "description": "What lastActivityAt refers to."
4367
+ },
4368
+ "availabilityDeclaredAt": {
4369
+ "type": "string",
4370
+ "format": "date-time",
4371
+ "description": "When the person last stated their availability - the analysis that wrote the criterion (CV, application, an applied talents:update) or a PATCH carrying it (2026-09-07). Also on the finder tile as summary.availability.declaredAt."
4372
+ },
4337
4373
  "ttl": {
4338
4374
  "type": "string"
4339
4375
  },
@@ -4458,6 +4494,28 @@
4458
4494
  }
4459
4495
  }
4460
4496
  },
4497
+ {
4498
+ "type": "function",
4499
+ "function": {
4500
+ "name": "show_talent_report",
4501
+ "description": "Show Talent Report",
4502
+ "parameters": {
4503
+ "type": "object",
4504
+ "properties": {}
4505
+ }
4506
+ }
4507
+ },
4508
+ {
4509
+ "type": "function",
4510
+ "function": {
4511
+ "name": "talent_report_options",
4512
+ "description": "CORS support",
4513
+ "parameters": {
4514
+ "type": "object",
4515
+ "properties": {}
4516
+ }
4517
+ }
4518
+ },
4461
4519
  {
4462
4520
  "type": "function",
4463
4521
  "function": {
@@ -4566,6 +4624,16 @@
4566
4624
  "pageBefore": {
4567
4625
  "type": "string",
4568
4626
  "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
4627
+ },
4628
+ "sort": {
4629
+ "type": "string",
4630
+ "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.",
4631
+ "enum": [
4632
+ "-created",
4633
+ "created",
4634
+ "-modified",
4635
+ "modified"
4636
+ ]
4569
4637
  }
4570
4638
  }
4571
4639
  }
@@ -18601,7 +18669,7 @@
18601
18669
  },
18602
18670
  "sort": {
18603
18671
  "type": "string",
18604
- "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\nTakes effect only when no equality filter (filterStatus,\nfilterCandidate, filterHost, filterJob, etc.) dictates a\ndifferent index; equality filters win. Compatible with\ndate-range filters (filterCreatedFrom/To, filterModifiedFrom/To)\nwhich already use the same indexes; sort just picks the\ndirection.",
18672
+ "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.",
18605
18673
  "enum": [
18606
18674
  "-created",
18607
18675
  "created",
@@ -25544,6 +25612,397 @@
25544
25612
  }
25545
25613
  }
25546
25614
  },
25615
+ {
25616
+ "type": "function",
25617
+ "function": {
25618
+ "name": "list_invitations",
25619
+ "description": "List Invitations",
25620
+ "parameters": {
25621
+ "type": "object",
25622
+ "properties": {
25623
+ "filterJobId": {
25624
+ "type": "string",
25625
+ "description": "filterJobId parameter"
25626
+ },
25627
+ "filterTalentId": {
25628
+ "type": "string",
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
+ }
25819
+ }
25820
+ }
25821
+ }
25822
+ }
25823
+ },
25824
+ {
25825
+ "type": "function",
25826
+ "function": {
25827
+ "name": "invitations_options",
25828
+ "description": "CORS support",
25829
+ "parameters": {
25830
+ "type": "object",
25831
+ "properties": {}
25832
+ }
25833
+ }
25834
+ },
25835
+ {
25836
+ "type": "function",
25837
+ "function": {
25838
+ "name": "show_invitation",
25839
+ "description": "Show Invitation",
25840
+ "parameters": {
25841
+ "type": "object",
25842
+ "properties": {}
25843
+ }
25844
+ }
25845
+ },
25846
+ {
25847
+ "type": "function",
25848
+ "function": {
25849
+ "name": "update_invitation",
25850
+ "description": "Update Invitation",
25851
+ "parameters": {
25852
+ "title": "UpdateInvitationRequestBody",
25853
+ "type": "object",
25854
+ "required": [
25855
+ "data"
25856
+ ],
25857
+ "properties": {
25858
+ "data": {
25859
+ "title": "UpdateInvitationRequestBodyData",
25860
+ "type": "object",
25861
+ "required": [
25862
+ "type",
25863
+ "id"
25864
+ ],
25865
+ "properties": {
25866
+ "type": {
25867
+ "type": "string",
25868
+ "enum": [
25869
+ "invitations"
25870
+ ]
25871
+ },
25872
+ "id": {
25873
+ "type": "string"
25874
+ },
25875
+ "attributes": {
25876
+ "title": "UpdateInvitationRequestBodyAttributes",
25877
+ "type": "object",
25878
+ "properties": {
25879
+ "name": {
25880
+ "type": "string",
25881
+ "maxLength": 160
25882
+ },
25883
+ "status": {
25884
+ "type": "string",
25885
+ "enum": [
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
+ }
25953
+ }
25954
+ }
25955
+ }
25956
+ }
25957
+ }
25958
+ }
25959
+ }
25960
+ }
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
+ },
25973
+ {
25974
+ "type": "function",
25975
+ "function": {
25976
+ "name": "invitation_options",
25977
+ "description": "CORS support",
25978
+ "parameters": {
25979
+ "type": "object",
25980
+ "properties": {}
25981
+ }
25982
+ }
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
+ },
25547
26006
  {
25548
26007
  "type": "function",
25549
26008
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.9.24",
3
+ "version": "0.9.26",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",