@smartytalent/openai-tools 0.9.44 → 0.9.46

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 +215 -4
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -13605,7 +13605,8 @@
13605
13605
  "processed",
13606
13606
  "accepted",
13607
13607
  "failed"
13608
- ]
13608
+ ],
13609
+ "description": "Where the brief stands. `accepted` is written by the confirmation workflow only (the hiring manager's written acceptance, which also stamps meta.acceptedAt / acceptedBy and starts the job build): a PATCH that carries `accepted` is refused with 400, and so is a value outside the enum. `processed` is written by the job build once the job is made from an accepted brief."
13609
13610
  },
13610
13611
  "language": {
13611
13612
  "type": "string"
@@ -13686,6 +13687,25 @@
13686
13687
  "locationPreferences",
13687
13688
  "salaryExpectation"
13688
13689
  ]
13690
+ },
13691
+ "source": {
13692
+ "type": "string",
13693
+ "description": "Where the requirement came from: the hiring manager's own words (hm; an absent field means the same), a file or a web page he sent (document, link; named by sourceLabel), or the previous process (baseline, reserved).",
13694
+ "enum": [
13695
+ "hm",
13696
+ "document",
13697
+ "link",
13698
+ "baseline"
13699
+ ]
13700
+ },
13701
+ "sourceLabel": {
13702
+ "type": "string",
13703
+ "maxLength": 120,
13704
+ "description": "The label of the document or the page the requirement was read from (the file name, the page title). Present only with source document or link."
13705
+ },
13706
+ "toConfirm": {
13707
+ "type": "boolean",
13708
+ "description": "True while the requirement stands only in a document and the hiring manager has not spoken about it; its tier is preferred at most until he does. Stored only as true: his later word on the criterion sets source to hm and removes this field."
13689
13709
  }
13690
13710
  }
13691
13711
  }
@@ -14061,7 +14081,8 @@
14061
14081
  "processed",
14062
14082
  "accepted",
14063
14083
  "failed"
14064
- ]
14084
+ ],
14085
+ "description": "Where the brief stands. `accepted` is written by the confirmation workflow only (the hiring manager's written acceptance, which also stamps meta.acceptedAt / acceptedBy and starts the job build): a PATCH that carries `accepted` is refused with 400, and so is a value outside the enum. `processed` is written by the job build once the job is made from an accepted brief."
14065
14086
  },
14066
14087
  "language": {
14067
14088
  "type": "string"
@@ -14142,6 +14163,25 @@
14142
14163
  "locationPreferences",
14143
14164
  "salaryExpectation"
14144
14165
  ]
14166
+ },
14167
+ "source": {
14168
+ "type": "string",
14169
+ "description": "Where the requirement came from: the hiring manager's own words (hm; an absent field means the same), a file or a web page he sent (document, link; named by sourceLabel), or the previous process (baseline, reserved).",
14170
+ "enum": [
14171
+ "hm",
14172
+ "document",
14173
+ "link",
14174
+ "baseline"
14175
+ ]
14176
+ },
14177
+ "sourceLabel": {
14178
+ "type": "string",
14179
+ "maxLength": 120,
14180
+ "description": "The label of the document or the page the requirement was read from (the file name, the page title). Present only with source document or link."
14181
+ },
14182
+ "toConfirm": {
14183
+ "type": "boolean",
14184
+ "description": "True while the requirement stands only in a document and the hiring manager has not spoken about it; its tier is preferred at most until he does. Stored only as true: his later word on the criterion sets source to hm and removes this field."
14145
14185
  }
14146
14186
  }
14147
14187
  }
@@ -17778,7 +17818,7 @@
17778
17818
  "route": {
17779
17819
  "type": "string",
17780
17820
  "maxLength": 64,
17781
- "description": "Workflow routing key (`namespace:verb`). The operator e-mail lane has exactly three: `emails:reply`, `emails:compose`, `emails:send` - nothing else. Optional, normalised to lowercase and shape-validated at create, stamped on the row and IMMUTABLE afterwards - a PATCH carrying route is rejected with 400. Creating a task whose route matches emails:* requires role recruiter/recops/admin/owner (hiringmanager and user are denied); the same gate guards a PATCH of an emails:* row."
17821
+ "description": "Workflow routing key (`namespace:verb`). The operator e-mail lane has exactly three: `emails:reply`, `emails:compose`, `emails:send` - nothing else. Optional, normalised to lowercase and shape-validated at create, stamped on the row and IMMUTABLE afterwards - a PATCH carrying route is rejected with 400. Creating a task whose route matches emails:* requires role recruiter/recops/admin/owner (hiringmanager and auditor are denied); the same gate guards a PATCH of an emails:* row."
17782
17822
  },
17783
17823
  "kind": {
17784
17824
  "type": "string",
@@ -18081,7 +18121,7 @@
18081
18121
  "route": {
18082
18122
  "type": "string",
18083
18123
  "maxLength": 64,
18084
- "description": "Workflow routing key (`namespace:verb`). The operator e-mail lane has exactly three: `emails:reply`, `emails:compose`, `emails:send` - nothing else. Optional, normalised to lowercase and shape-validated at create, stamped on the row and IMMUTABLE afterwards - a PATCH carrying route is rejected with 400. Creating a task whose route matches emails:* requires role recruiter/recops/admin/owner (hiringmanager and user are denied); the same gate guards a PATCH of an emails:* row."
18124
+ "description": "Workflow routing key (`namespace:verb`). The operator e-mail lane has exactly three: `emails:reply`, `emails:compose`, `emails:send` - nothing else. Optional, normalised to lowercase and shape-validated at create, stamped on the row and IMMUTABLE afterwards - a PATCH carrying route is rejected with 400. Creating a task whose route matches emails:* requires role recruiter/recops/admin/owner (hiringmanager and auditor are denied); the same gate guards a PATCH of an emails:* row."
18085
18125
  },
18086
18126
  "kind": {
18087
18127
  "type": "string",
@@ -27547,6 +27587,177 @@
27547
27587
  }
27548
27588
  }
27549
27589
  },
27590
+ {
27591
+ "type": "function",
27592
+ "function": {
27593
+ "name": "show_booking_page",
27594
+ "description": "Show Booking Page",
27595
+ "parameters": {
27596
+ "type": "object",
27597
+ "properties": {
27598
+ "brief": {
27599
+ "type": "string",
27600
+ "description": "One matter only (the link's `?brief=`); never a credential."
27601
+ }
27602
+ }
27603
+ }
27604
+ }
27605
+ },
27606
+ {
27607
+ "type": "function",
27608
+ "function": {
27609
+ "name": "create_booking_page_appointment",
27610
+ "description": "Create Booking Page Appointment",
27611
+ "parameters": {
27612
+ "title": "CreateBookingPageAppointmentRequestSchema",
27613
+ "type": "object",
27614
+ "required": [
27615
+ "data"
27616
+ ],
27617
+ "properties": {
27618
+ "data": {
27619
+ "type": "object",
27620
+ "title": "CreateBookingPageAppointmentRequestData",
27621
+ "required": [
27622
+ "type",
27623
+ "attributes",
27624
+ "relationships"
27625
+ ],
27626
+ "properties": {
27627
+ "type": {
27628
+ "type": "string",
27629
+ "enum": [
27630
+ "appointments"
27631
+ ]
27632
+ },
27633
+ "attributes": {
27634
+ "type": "object",
27635
+ "title": "CreateBookingPageAppointmentRequestAttributes",
27636
+ "required": [
27637
+ "action",
27638
+ "startAt"
27639
+ ],
27640
+ "properties": {
27641
+ "action": {
27642
+ "type": "string",
27643
+ "enum": [
27644
+ "book",
27645
+ "move"
27646
+ ]
27647
+ },
27648
+ "startAt": {
27649
+ "type": "string",
27650
+ "format": "date-time"
27651
+ }
27652
+ }
27653
+ },
27654
+ "relationships": {
27655
+ "type": "object",
27656
+ "title": "CreateBookingPageAppointmentRequestRelationships",
27657
+ "required": [
27658
+ "brief"
27659
+ ],
27660
+ "properties": {
27661
+ "brief": {
27662
+ "type": "object",
27663
+ "title": "CreateBookingPageAppointmentRequestBrief",
27664
+ "required": [
27665
+ "data"
27666
+ ],
27667
+ "properties": {
27668
+ "data": {
27669
+ "type": "object",
27670
+ "title": "CreateBookingPageAppointmentRequestBriefData",
27671
+ "required": [
27672
+ "type",
27673
+ "id"
27674
+ ],
27675
+ "properties": {
27676
+ "type": {
27677
+ "type": "string",
27678
+ "enum": [
27679
+ "briefs"
27680
+ ]
27681
+ },
27682
+ "id": {
27683
+ "type": "string"
27684
+ }
27685
+ }
27686
+ }
27687
+ }
27688
+ }
27689
+ }
27690
+ }
27691
+ }
27692
+ }
27693
+ }
27694
+ }
27695
+ }
27696
+ },
27697
+ {
27698
+ "type": "function",
27699
+ "function": {
27700
+ "name": "show_guest_booking_page",
27701
+ "description": "Show Guest Booking Page",
27702
+ "parameters": {
27703
+ "type": "object",
27704
+ "properties": {}
27705
+ }
27706
+ }
27707
+ },
27708
+ {
27709
+ "type": "function",
27710
+ "function": {
27711
+ "name": "create_guest_booking_page_appointment",
27712
+ "description": "Create Guest Booking Page Appointment",
27713
+ "parameters": {
27714
+ "title": "CreateGuestBookingPageAppointmentRequestSchema",
27715
+ "type": "object",
27716
+ "required": [
27717
+ "data"
27718
+ ],
27719
+ "properties": {
27720
+ "data": {
27721
+ "type": "object",
27722
+ "title": "CreateGuestBookingPageAppointmentRequestData",
27723
+ "required": [
27724
+ "type",
27725
+ "attributes"
27726
+ ],
27727
+ "properties": {
27728
+ "type": {
27729
+ "type": "string",
27730
+ "enum": [
27731
+ "appointments"
27732
+ ]
27733
+ },
27734
+ "attributes": {
27735
+ "type": "object",
27736
+ "title": "CreateGuestBookingPageAppointmentRequestAttributes",
27737
+ "required": [
27738
+ "action",
27739
+ "startAt"
27740
+ ],
27741
+ "properties": {
27742
+ "action": {
27743
+ "type": "string",
27744
+ "enum": [
27745
+ "book",
27746
+ "move"
27747
+ ]
27748
+ },
27749
+ "startAt": {
27750
+ "type": "string",
27751
+ "format": "date-time"
27752
+ }
27753
+ }
27754
+ }
27755
+ }
27756
+ }
27757
+ }
27758
+ }
27759
+ }
27760
+ },
27550
27761
  {
27551
27762
  "type": "function",
27552
27763
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.9.44",
3
+ "version": "0.9.46",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",