@smartytalent/openai-tools 0.8.6 → 0.8.8

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 +382 -1
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -1024,7 +1024,8 @@
1024
1024
  "enum": [
1025
1025
  "logo",
1026
1026
  "background",
1027
- "favicon"
1027
+ "favicon",
1028
+ "careers"
1028
1029
  ]
1029
1030
  }
1030
1031
  }
@@ -8156,6 +8157,16 @@
8156
8157
  "archived"
8157
8158
  ]
8158
8159
  },
8160
+ "filterKind": {
8161
+ "type": "string",
8162
+ "description": "Returns forms of one kind (e.g. candidateSubmission) - the careers/apply editors resolve the application form without paging everything.",
8163
+ "enum": [
8164
+ "jobBrief",
8165
+ "candidateSubmission",
8166
+ "talentSubmission",
8167
+ "general"
8168
+ ]
8169
+ },
8159
8170
  "filterCreatedFrom": {
8160
8171
  "type": "string",
8161
8172
  "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
@@ -10513,6 +10524,368 @@
10513
10524
  }
10514
10525
  }
10515
10526
  },
10527
+ {
10528
+ "type": "function",
10529
+ "function": {
10530
+ "name": "list_careers",
10531
+ "description": "List Careers",
10532
+ "parameters": {
10533
+ "type": "object",
10534
+ "properties": {
10535
+ "filterStatus": {
10536
+ "type": "string",
10537
+ "description": "filterStatus parameter",
10538
+ "enum": [
10539
+ "draft",
10540
+ "active",
10541
+ "archived"
10542
+ ]
10543
+ },
10544
+ "filterCreatedFrom": {
10545
+ "type": "string",
10546
+ "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
10547
+ },
10548
+ "filterCreatedTo": {
10549
+ "type": "string",
10550
+ "description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
10551
+ },
10552
+ "filterModifiedFrom": {
10553
+ "type": "string",
10554
+ "description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
10555
+ },
10556
+ "filterModifiedTo": {
10557
+ "type": "string",
10558
+ "description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
10559
+ },
10560
+ "pageSize": {
10561
+ "type": "integer",
10562
+ "description": "Specifies the number of items to retrieve per page. The maximum value is 100."
10563
+ },
10564
+ "pageNumber": {
10565
+ "type": "integer",
10566
+ "description": "Specifies the page number to retrieve. Used for traditional pagination."
10567
+ },
10568
+ "pageAfter": {
10569
+ "type": "string",
10570
+ "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."
10571
+ },
10572
+ "pageBefore": {
10573
+ "type": "string",
10574
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
10575
+ }
10576
+ }
10577
+ }
10578
+ }
10579
+ },
10580
+ {
10581
+ "type": "function",
10582
+ "function": {
10583
+ "name": "create_career",
10584
+ "description": "Create Career",
10585
+ "parameters": {
10586
+ "title": "CreateCareerRequestBody",
10587
+ "type": "object",
10588
+ "required": [
10589
+ "data"
10590
+ ],
10591
+ "properties": {
10592
+ "data": {
10593
+ "title": "CreateCareerRequestBodyData",
10594
+ "type": "object",
10595
+ "required": [
10596
+ "type"
10597
+ ],
10598
+ "properties": {
10599
+ "type": {
10600
+ "type": "string",
10601
+ "enum": [
10602
+ "careers"
10603
+ ]
10604
+ },
10605
+ "attributes": {
10606
+ "title": "CreateCareerRequestBodyDataAttributes",
10607
+ "type": "object",
10608
+ "properties": {
10609
+ "name": {
10610
+ "type": "string",
10611
+ "minLength": 1,
10612
+ "maxLength": 255
10613
+ },
10614
+ "sourceLanguage": {
10615
+ "type": "string",
10616
+ "description": "BCP-47 tag; defaults to en-US. Seeds the skeleton's locale."
10617
+ },
10618
+ "content": {
10619
+ "title": "CareersContentSchema",
10620
+ "type": "object",
10621
+ "description": "Ordered-blocks careers document. Locale keys are BCP-47 (en-US,\npl-PL, ...). Publish rules (mirrored by the editor): schemaVersion\n1; 1-24 blocks with unique ids; exactly one enabled hero (FIRST\namong enabled blocks) and one enabled positions; <=12 items per\nrepeater; every locale-map string of an ENABLED block non-empty for\nevery locale in `locales`; `locales` is a non-empty subset of the\ntenant's activeLanguages plus sourceLanguage and must contain\nsourceLanguage; absolute URLs only under the tenant's OWN CDN\nprefixes (tenants/{shortCode}/ or tenants/{tenantId}/); no < or >\nin text; <=131072 BYTES (UTF-8).",
10622
+ "properties": {
10623
+ "schemaVersion": {
10624
+ "type": "integer",
10625
+ "enum": [
10626
+ 1
10627
+ ]
10628
+ },
10629
+ "sourceLanguage": {
10630
+ "type": "string",
10631
+ "description": "BCP-47 tag."
10632
+ },
10633
+ "locales": {
10634
+ "type": "array",
10635
+ "items": {
10636
+ "type": "string"
10637
+ },
10638
+ "description": "The locales the page publishes in. The public language switcher offers exactly these."
10639
+ },
10640
+ "blocks": {
10641
+ "type": "array",
10642
+ "minItems": 1,
10643
+ "maxItems": 24,
10644
+ "items": {
10645
+ "title": "CareersBlockSchema",
10646
+ "type": "object",
10647
+ "description": "One page section. `data` is the block-type-specific payload: plain\nfields (icon names, urls) plus locale maps\n({\"en-US\": \"...\", \"pl-PL\": \"...\"}) for every visitor-facing string;\nrepeaters are arrays of such objects (<=12 items). The catalog is\nCLOSED - there is no free-form HTML block (XSS door on a public\npage).",
10648
+ "properties": {
10649
+ "id": {
10650
+ "type": "string",
10651
+ "maxLength": 64,
10652
+ "description": "Stable within the document; [A-Za-z0-9_-]."
10653
+ },
10654
+ "type": {
10655
+ "type": "string",
10656
+ "enum": [
10657
+ "hero",
10658
+ "stats",
10659
+ "positions",
10660
+ "features",
10661
+ "team",
10662
+ "testimonials",
10663
+ "faq",
10664
+ "gallery",
10665
+ "cta",
10666
+ "richText"
10667
+ ]
10668
+ },
10669
+ "enabled": {
10670
+ "type": "boolean",
10671
+ "description": "Disabled blocks stay in the draft (and keep translations) but never ship to the public doc and are locale-exempt at publish."
10672
+ },
10673
+ "data": {
10674
+ "type": "object",
10675
+ "additionalProperties": true
10676
+ }
10677
+ }
10678
+ }
10679
+ }
10680
+ }
10681
+ }
10682
+ }
10683
+ }
10684
+ }
10685
+ }
10686
+ }
10687
+ }
10688
+ }
10689
+ },
10690
+ {
10691
+ "type": "function",
10692
+ "function": {
10693
+ "name": "careers_options",
10694
+ "description": "Careers Options",
10695
+ "parameters": {
10696
+ "type": "object",
10697
+ "properties": {}
10698
+ }
10699
+ }
10700
+ },
10701
+ {
10702
+ "type": "function",
10703
+ "function": {
10704
+ "name": "show_career",
10705
+ "description": "Show Career",
10706
+ "parameters": {
10707
+ "type": "object",
10708
+ "properties": {
10709
+ "careerId": {
10710
+ "type": "string",
10711
+ "description": "careerId parameter"
10712
+ }
10713
+ },
10714
+ "required": [
10715
+ "careerId"
10716
+ ]
10717
+ }
10718
+ }
10719
+ },
10720
+ {
10721
+ "type": "function",
10722
+ "function": {
10723
+ "name": "update_career",
10724
+ "description": "Update Career",
10725
+ "parameters": {
10726
+ "type": "object",
10727
+ "properties": {
10728
+ "careerId": {
10729
+ "type": "string",
10730
+ "description": "careerId parameter"
10731
+ },
10732
+ "requestBody": {
10733
+ "title": "UpdateCareerRequestBody",
10734
+ "type": "object",
10735
+ "required": [
10736
+ "data"
10737
+ ],
10738
+ "properties": {
10739
+ "data": {
10740
+ "title": "UpdateCareerRequestBodyData",
10741
+ "type": "object",
10742
+ "required": [
10743
+ "type"
10744
+ ],
10745
+ "properties": {
10746
+ "type": {
10747
+ "type": "string",
10748
+ "enum": [
10749
+ "careers"
10750
+ ]
10751
+ },
10752
+ "id": {
10753
+ "type": "string"
10754
+ },
10755
+ "attributes": {
10756
+ "title": "UpdateCareerRequestBodyDataAttributes",
10757
+ "type": "object",
10758
+ "properties": {
10759
+ "name": {
10760
+ "type": "string",
10761
+ "minLength": 1,
10762
+ "maxLength": 255
10763
+ },
10764
+ "status": {
10765
+ "type": "string",
10766
+ "enum": [
10767
+ "draft",
10768
+ "active",
10769
+ "archived"
10770
+ ],
10771
+ "description": "active = publish (writes the CDN doc). archived = takedown (removes it; repeat to retry). Allowed transitions: draft->active, draft->archived, active->archived, archived->active."
10772
+ },
10773
+ "sourceLanguage": {
10774
+ "type": "string",
10775
+ "description": "BCP-47 tag."
10776
+ },
10777
+ "translate": {
10778
+ "type": "boolean",
10779
+ "description": "Write-only: async-fill missing locale entries of the draft from sourceLanguage."
10780
+ },
10781
+ "content": {
10782
+ "title": "CareersContentSchema",
10783
+ "type": "object",
10784
+ "description": "Ordered-blocks careers document. Locale keys are BCP-47 (en-US,\npl-PL, ...). Publish rules (mirrored by the editor): schemaVersion\n1; 1-24 blocks with unique ids; exactly one enabled hero (FIRST\namong enabled blocks) and one enabled positions; <=12 items per\nrepeater; every locale-map string of an ENABLED block non-empty for\nevery locale in `locales`; `locales` is a non-empty subset of the\ntenant's activeLanguages plus sourceLanguage and must contain\nsourceLanguage; absolute URLs only under the tenant's OWN CDN\nprefixes (tenants/{shortCode}/ or tenants/{tenantId}/); no < or >\nin text; <=131072 BYTES (UTF-8).",
10785
+ "properties": {
10786
+ "schemaVersion": {
10787
+ "type": "integer",
10788
+ "enum": [
10789
+ 1
10790
+ ]
10791
+ },
10792
+ "sourceLanguage": {
10793
+ "type": "string",
10794
+ "description": "BCP-47 tag."
10795
+ },
10796
+ "locales": {
10797
+ "type": "array",
10798
+ "items": {
10799
+ "type": "string"
10800
+ },
10801
+ "description": "The locales the page publishes in. The public language switcher offers exactly these."
10802
+ },
10803
+ "blocks": {
10804
+ "type": "array",
10805
+ "minItems": 1,
10806
+ "maxItems": 24,
10807
+ "items": {
10808
+ "title": "CareersBlockSchema",
10809
+ "type": "object",
10810
+ "description": "One page section. `data` is the block-type-specific payload: plain\nfields (icon names, urls) plus locale maps\n({\"en-US\": \"...\", \"pl-PL\": \"...\"}) for every visitor-facing string;\nrepeaters are arrays of such objects (<=12 items). The catalog is\nCLOSED - there is no free-form HTML block (XSS door on a public\npage).",
10811
+ "properties": {
10812
+ "id": {
10813
+ "type": "string",
10814
+ "maxLength": 64,
10815
+ "description": "Stable within the document; [A-Za-z0-9_-]."
10816
+ },
10817
+ "type": {
10818
+ "type": "string",
10819
+ "enum": [
10820
+ "hero",
10821
+ "stats",
10822
+ "positions",
10823
+ "features",
10824
+ "team",
10825
+ "testimonials",
10826
+ "faq",
10827
+ "gallery",
10828
+ "cta",
10829
+ "richText"
10830
+ ]
10831
+ },
10832
+ "enabled": {
10833
+ "type": "boolean",
10834
+ "description": "Disabled blocks stay in the draft (and keep translations) but never ship to the public doc and are locale-exempt at publish."
10835
+ },
10836
+ "data": {
10837
+ "type": "object",
10838
+ "additionalProperties": true
10839
+ }
10840
+ }
10841
+ }
10842
+ }
10843
+ }
10844
+ }
10845
+ }
10846
+ }
10847
+ }
10848
+ }
10849
+ }
10850
+ }
10851
+ },
10852
+ "required": [
10853
+ "careerId",
10854
+ "requestBody"
10855
+ ]
10856
+ }
10857
+ }
10858
+ },
10859
+ {
10860
+ "type": "function",
10861
+ "function": {
10862
+ "name": "delete_career",
10863
+ "description": "Delete Career",
10864
+ "parameters": {
10865
+ "type": "object",
10866
+ "properties": {
10867
+ "careerId": {
10868
+ "type": "string",
10869
+ "description": "careerId parameter"
10870
+ }
10871
+ },
10872
+ "required": [
10873
+ "careerId"
10874
+ ]
10875
+ }
10876
+ }
10877
+ },
10878
+ {
10879
+ "type": "function",
10880
+ "function": {
10881
+ "name": "career_options",
10882
+ "description": "Career Options",
10883
+ "parameters": {
10884
+ "type": "object",
10885
+ "properties": {}
10886
+ }
10887
+ }
10888
+ },
10516
10889
  {
10517
10890
  "type": "function",
10518
10891
  "function": {
@@ -15055,6 +15428,10 @@
15055
15428
  "type": "integer",
15056
15429
  "description": "How many members actually fed the profile on this row (diagnostic; can be lower than memberCount)."
15057
15430
  },
15431
+ "provenCount": {
15432
+ "type": "integer",
15433
+ "description": "How many cohort members the hiring manager CONFIRMED at the\n90-day probation mark. \"3 hires, 2 proven\" is the number that\nturns the persona from \"whom we hired\" into \"who worked out\".\nCounted in code, never by a model."
15434
+ },
15058
15435
  "talentCount": {
15059
15436
  "type": "integer",
15060
15437
  "description": "Legacy mirror of memberCount."
@@ -15416,6 +15793,10 @@
15416
15793
  "type": "integer",
15417
15794
  "description": "How many members actually fed the profile on this row (diagnostic; can be lower than memberCount)."
15418
15795
  },
15796
+ "provenCount": {
15797
+ "type": "integer",
15798
+ "description": "How many cohort members the hiring manager CONFIRMED at the\n90-day probation mark. \"3 hires, 2 proven\" is the number that\nturns the persona from \"whom we hired\" into \"who worked out\".\nCounted in code, never by a model."
15799
+ },
15419
15800
  "talentCount": {
15420
15801
  "type": "integer",
15421
15802
  "description": "Legacy mirror of memberCount."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",