@smartytalent/openai-tools 0.9.23 → 0.9.25

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 +287 -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
  }
@@ -17126,6 +17194,65 @@
17126
17194
  "additionalProperties": true,
17127
17195
  "description": "Multilingual task context keyed by language code"
17128
17196
  },
17197
+ "changes": {
17198
+ "type": "array",
17199
+ "description": "jobs:update orders only (2026-09-03): the requested changes as\nSTRUCTURE instead of (or next to) the free text in `content`. When\npresent the proposal is built from it deterministically - no model\ncall, exact items - and `meta.proposal.source = structured`.\nCreate-only (a PATCH carrying it is a 400). Validated at create:\n1-50 entries, criteriaKey one of the 16 criteria or `basic` /\n`title`, action add|remove|update, `name` required, `field` required\nfor basic (one of department, description, seniority,\nspecialization, benefits, responsibilities, keywords, companyCulture,\nlocations, sites), importance required|preferred|optional when\ngiven. `target` names the EXISTING item an update/remove refers to\n(defaults to name). Not accepted on any other route.",
17200
+ "items": {
17201
+ "title": "TaskChangeSchema",
17202
+ "type": "object",
17203
+ "required": [
17204
+ "criteriaKey",
17205
+ "action",
17206
+ "name"
17207
+ ],
17208
+ "properties": {
17209
+ "criteriaKey": {
17210
+ "type": "string",
17211
+ "description": "One of the 16 criteria (availability, certifications, companyTypeExperience, education, experienceAndSeniority, industryExperience, jobPositions, jobTendencies, languagesSpoken, licenses, locationPreferences, personalityAndSoftSkills, salaryExpectation, skillsAndExpertise, workAuthorization, workPreferences), `basic` (the job's own fields, with `field`) or `title`."
17212
+ },
17213
+ "action": {
17214
+ "type": "string",
17215
+ "enum": [
17216
+ "add",
17217
+ "remove",
17218
+ "update"
17219
+ ]
17220
+ },
17221
+ "name": {
17222
+ "type": "string",
17223
+ "maxLength": 200,
17224
+ "description": "The item (skill, language, certification, value...) as the operator names it; for basic/title the new value."
17225
+ },
17226
+ "target": {
17227
+ "type": "string",
17228
+ "maxLength": 200,
17229
+ "description": "For update/remove: the existing item's name when it differs from `name` (e.g. rename)."
17230
+ },
17231
+ "field": {
17232
+ "type": "string",
17233
+ "description": "basic only: department|description|seniority|specialization|benefits|responsibilities|keywords|companyCulture|locations|sites"
17234
+ },
17235
+ "importance": {
17236
+ "type": "string",
17237
+ "enum": [
17238
+ "required",
17239
+ "preferred",
17240
+ "optional"
17241
+ ]
17242
+ },
17243
+ "proficiencyLevel": {
17244
+ "type": "string",
17245
+ "maxLength": 60,
17246
+ "description": "A level when the item has one (B2, senior, 3 years)."
17247
+ },
17248
+ "reason": {
17249
+ "type": "string",
17250
+ "maxLength": 500,
17251
+ "description": "The operator's why - shown to the reviewer, never applied as content."
17252
+ }
17253
+ }
17254
+ }
17255
+ },
17129
17256
  "status": {
17130
17257
  "type": "string",
17131
17258
  "enum": [
@@ -17370,6 +17497,65 @@
17370
17497
  "additionalProperties": true,
17371
17498
  "description": "Multilingual task context keyed by language code"
17372
17499
  },
17500
+ "changes": {
17501
+ "type": "array",
17502
+ "description": "jobs:update orders only (2026-09-03): the requested changes as\nSTRUCTURE instead of (or next to) the free text in `content`. When\npresent the proposal is built from it deterministically - no model\ncall, exact items - and `meta.proposal.source = structured`.\nCreate-only (a PATCH carrying it is a 400). Validated at create:\n1-50 entries, criteriaKey one of the 16 criteria or `basic` /\n`title`, action add|remove|update, `name` required, `field` required\nfor basic (one of department, description, seniority,\nspecialization, benefits, responsibilities, keywords, companyCulture,\nlocations, sites), importance required|preferred|optional when\ngiven. `target` names the EXISTING item an update/remove refers to\n(defaults to name). Not accepted on any other route.",
17503
+ "items": {
17504
+ "title": "TaskChangeSchema",
17505
+ "type": "object",
17506
+ "required": [
17507
+ "criteriaKey",
17508
+ "action",
17509
+ "name"
17510
+ ],
17511
+ "properties": {
17512
+ "criteriaKey": {
17513
+ "type": "string",
17514
+ "description": "One of the 16 criteria (availability, certifications, companyTypeExperience, education, experienceAndSeniority, industryExperience, jobPositions, jobTendencies, languagesSpoken, licenses, locationPreferences, personalityAndSoftSkills, salaryExpectation, skillsAndExpertise, workAuthorization, workPreferences), `basic` (the job's own fields, with `field`) or `title`."
17515
+ },
17516
+ "action": {
17517
+ "type": "string",
17518
+ "enum": [
17519
+ "add",
17520
+ "remove",
17521
+ "update"
17522
+ ]
17523
+ },
17524
+ "name": {
17525
+ "type": "string",
17526
+ "maxLength": 200,
17527
+ "description": "The item (skill, language, certification, value...) as the operator names it; for basic/title the new value."
17528
+ },
17529
+ "target": {
17530
+ "type": "string",
17531
+ "maxLength": 200,
17532
+ "description": "For update/remove: the existing item's name when it differs from `name` (e.g. rename)."
17533
+ },
17534
+ "field": {
17535
+ "type": "string",
17536
+ "description": "basic only: department|description|seniority|specialization|benefits|responsibilities|keywords|companyCulture|locations|sites"
17537
+ },
17538
+ "importance": {
17539
+ "type": "string",
17540
+ "enum": [
17541
+ "required",
17542
+ "preferred",
17543
+ "optional"
17544
+ ]
17545
+ },
17546
+ "proficiencyLevel": {
17547
+ "type": "string",
17548
+ "maxLength": 60,
17549
+ "description": "A level when the item has one (B2, senior, 3 years)."
17550
+ },
17551
+ "reason": {
17552
+ "type": "string",
17553
+ "maxLength": 500,
17554
+ "description": "The operator's why - shown to the reviewer, never applied as content."
17555
+ }
17556
+ }
17557
+ }
17558
+ },
17373
17559
  "status": {
17374
17560
  "type": "string",
17375
17561
  "enum": [
@@ -18483,7 +18669,7 @@
18483
18669
  },
18484
18670
  "sort": {
18485
18671
  "type": "string",
18486
- "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.",
18487
18673
  "enum": [
18488
18674
  "-created",
18489
18675
  "created",
@@ -25426,6 +25612,106 @@
25426
25612
  }
25427
25613
  }
25428
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
+ }
25632
+ }
25633
+ }
25634
+ },
25635
+ {
25636
+ "type": "function",
25637
+ "function": {
25638
+ "name": "invitations_options",
25639
+ "description": "CORS support",
25640
+ "parameters": {
25641
+ "type": "object",
25642
+ "properties": {}
25643
+ }
25644
+ }
25645
+ },
25646
+ {
25647
+ "type": "function",
25648
+ "function": {
25649
+ "name": "show_invitation",
25650
+ "description": "Show Invitation",
25651
+ "parameters": {
25652
+ "type": "object",
25653
+ "properties": {}
25654
+ }
25655
+ }
25656
+ },
25657
+ {
25658
+ "type": "function",
25659
+ "function": {
25660
+ "name": "update_invitation",
25661
+ "description": "Update Invitation",
25662
+ "parameters": {
25663
+ "title": "UpdateInvitationRequestBody",
25664
+ "type": "object",
25665
+ "required": [
25666
+ "data"
25667
+ ],
25668
+ "properties": {
25669
+ "data": {
25670
+ "title": "UpdateInvitationRequestBodyData",
25671
+ "type": "object",
25672
+ "required": [
25673
+ "type",
25674
+ "attributes"
25675
+ ],
25676
+ "properties": {
25677
+ "type": {
25678
+ "type": "string",
25679
+ "enum": [
25680
+ "invitations"
25681
+ ]
25682
+ },
25683
+ "attributes": {
25684
+ "title": "UpdateInvitationRequestBodyAttributes",
25685
+ "type": "object",
25686
+ "required": [
25687
+ "status"
25688
+ ],
25689
+ "properties": {
25690
+ "status": {
25691
+ "type": "string",
25692
+ "enum": [
25693
+ "declined"
25694
+ ]
25695
+ }
25696
+ }
25697
+ }
25698
+ }
25699
+ }
25700
+ }
25701
+ }
25702
+ }
25703
+ },
25704
+ {
25705
+ "type": "function",
25706
+ "function": {
25707
+ "name": "invitation_options",
25708
+ "description": "CORS support",
25709
+ "parameters": {
25710
+ "type": "object",
25711
+ "properties": {}
25712
+ }
25713
+ }
25714
+ },
25429
25715
  {
25430
25716
  "type": "function",
25431
25717
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.9.23",
3
+ "version": "0.9.25",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",