@smartytalent/openai-tools 0.9.43 → 0.9.45

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 +160 -10
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -1681,11 +1681,12 @@
1681
1681
  "properties": {
1682
1682
  "filterStatus": {
1683
1683
  "type": "string",
1684
- "description": "Returns users with this status. Omitting it returns EVERY status - the server applies no default, so `pending` accounts already appear in an unfiltered list. `pending` is the approval queue: a JIT user provisioned through enterprise SSO lands there and holds no tenant claims at all until an owner or admin flips them to active.",
1684
+ "description": "Returns users with this status. Omitting it returns every status EXCEPT `deleted` - the server applies no other default, so `pending` accounts already appear in an unfiltered list. `pending` is the approval queue: a JIT user provisioned through enterprise SSO lands there and holds no tenant claims at all until an owner or admin flips them to active. `deleted` (2026-09-28) lists the tombstones of permanently deleted users - the audit view; they never appear otherwise.",
1685
1685
  "enum": [
1686
1686
  "active",
1687
1687
  "archived",
1688
- "pending"
1688
+ "pending",
1689
+ "deleted"
1689
1690
  ]
1690
1691
  },
1691
1692
  "filterCreatedFrom": {
@@ -1770,7 +1771,7 @@
1770
1771
  },
1771
1772
  "locale": {
1772
1773
  "type": "string",
1773
- "description": "The user's language as a BCP-47 tag (the Cognito `locale`). British English is stored as the full `en-GB`, Arabic (Modern Standard, UAE) as `ar-AE`, Spanish (Spain) as `es-ES` - every variant is its own language, `ar-SA` is not ar-AE and `es-MX` is not es-ES; legacy 2-letter values (`en`, `pl`, ...) exist and mean the base locale (`en` = en-US). Clients derive their URL segment from it (`en-GB` -> `en-gb`, `ar-AE` -> `ar`, `he-IL` -> `he`, `es-ES` -> `es`)."
1774
+ "description": "The user's language as a BCP-47 tag (the Cognito `locale`). British English is stored as the full `en-GB`, Arabic (Modern Standard, UAE) as `ar-AE`, Spanish (Spain) as `es-ES` - every variant is its own language, `ar-SA` is not ar-AE and `es-MX` is not es-ES; legacy 2-letter values (`en`, `pl`, ...) exist and mean the base locale (`en` = en-US). Clients use the tag itself as the URL segment (`/en-GB/`, `/ar-AE/`, `/es-ES/`), a legacy value read through the canonical rule first (`pl` -> `pl-PL`, `en` -> `en-US`)."
1774
1775
  },
1775
1776
  "phone": {
1776
1777
  "type": "string"
@@ -1877,7 +1878,8 @@
1877
1878
  "description": "CREATE-ONLY. False (default): the account lands in FORCE_CHANGE_PASSWORD and the user must change the password at first sign-in. True: the password is permanent and the account is active immediately (audited)."
1878
1879
  },
1879
1880
  "status": {
1880
- "type": "string"
1881
+ "type": "string",
1882
+ "description": "`active` or `archived` (the two a client may set: DELETE without a flag archives, PATCH status=active restores), `pending` (a JIT SSO account awaiting approval), or `deleted` - the TOMBSTONE (2026-09-28): a permanently deleted user keeps its row under the same id with the personal data cleared (name and email empty, no phone, address, avatar, settings, connections or history) and `meta.deletedAt`, `meta.deletedBy` (the deleting user's id) and `meta.deletedRole` (the role at deletion), so every job, note, comment and timeline entry that names the user keeps resolving; clients render it as a former user with the id prefix. A tombstone takes no PATCH (400), no second DELETE (400) and no invitation (400); GET /v1/users hides it unless `filterStatus=deleted`; its e-mail is free for a new account. Never settable by a client."
1881
1883
  },
1882
1884
  "historyEvents": {
1883
1885
  "type": "array",
@@ -2113,7 +2115,7 @@
2113
2115
  },
2114
2116
  "locale": {
2115
2117
  "type": "string",
2116
- "description": "The user's language as a BCP-47 tag (the Cognito `locale`). British English is stored as the full `en-GB`, Arabic (Modern Standard, UAE) as `ar-AE`, Spanish (Spain) as `es-ES` - every variant is its own language, `ar-SA` is not ar-AE and `es-MX` is not es-ES; legacy 2-letter values (`en`, `pl`, ...) exist and mean the base locale (`en` = en-US). Clients derive their URL segment from it (`en-GB` -> `en-gb`, `ar-AE` -> `ar`, `he-IL` -> `he`, `es-ES` -> `es`)."
2118
+ "description": "The user's language as a BCP-47 tag (the Cognito `locale`). British English is stored as the full `en-GB`, Arabic (Modern Standard, UAE) as `ar-AE`, Spanish (Spain) as `es-ES` - every variant is its own language, `ar-SA` is not ar-AE and `es-MX` is not es-ES; legacy 2-letter values (`en`, `pl`, ...) exist and mean the base locale (`en` = en-US). Clients use the tag itself as the URL segment (`/en-GB/`, `/ar-AE/`, `/es-ES/`), a legacy value read through the canonical rule first (`pl` -> `pl-PL`, `en` -> `en-US`)."
2117
2119
  },
2118
2120
  "phone": {
2119
2121
  "type": "string"
@@ -2220,7 +2222,8 @@
2220
2222
  "description": "CREATE-ONLY. False (default): the account lands in FORCE_CHANGE_PASSWORD and the user must change the password at first sign-in. True: the password is permanent and the account is active immediately (audited)."
2221
2223
  },
2222
2224
  "status": {
2223
- "type": "string"
2225
+ "type": "string",
2226
+ "description": "`active` or `archived` (the two a client may set: DELETE without a flag archives, PATCH status=active restores), `pending` (a JIT SSO account awaiting approval), or `deleted` - the TOMBSTONE (2026-09-28): a permanently deleted user keeps its row under the same id with the personal data cleared (name and email empty, no phone, address, avatar, settings, connections or history) and `meta.deletedAt`, `meta.deletedBy` (the deleting user's id) and `meta.deletedRole` (the role at deletion), so every job, note, comment and timeline entry that names the user keeps resolving; clients render it as a former user with the id prefix. A tombstone takes no PATCH (400), no second DELETE (400) and no invitation (400); GET /v1/users hides it unless `filterStatus=deleted`; its e-mail is free for a new account. Never settable by a client."
2224
2227
  },
2225
2228
  "historyEvents": {
2226
2229
  "type": "array",
@@ -13602,7 +13605,8 @@
13602
13605
  "processed",
13603
13606
  "accepted",
13604
13607
  "failed"
13605
- ]
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."
13606
13610
  },
13607
13611
  "language": {
13608
13612
  "type": "string"
@@ -13683,6 +13687,25 @@
13683
13687
  "locationPreferences",
13684
13688
  "salaryExpectation"
13685
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."
13686
13709
  }
13687
13710
  }
13688
13711
  }
@@ -14058,7 +14081,8 @@
14058
14081
  "processed",
14059
14082
  "accepted",
14060
14083
  "failed"
14061
- ]
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."
14062
14086
  },
14063
14087
  "language": {
14064
14088
  "type": "string"
@@ -14139,6 +14163,25 @@
14139
14163
  "locationPreferences",
14140
14164
  "salaryExpectation"
14141
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."
14142
14185
  }
14143
14186
  }
14144
14187
  }
@@ -17775,7 +17818,7 @@
17775
17818
  "route": {
17776
17819
  "type": "string",
17777
17820
  "maxLength": 64,
17778
- "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."
17779
17822
  },
17780
17823
  "kind": {
17781
17824
  "type": "string",
@@ -18078,7 +18121,7 @@
18078
18121
  "route": {
18079
18122
  "type": "string",
18080
18123
  "maxLength": 64,
18081
- "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."
18082
18125
  },
18083
18126
  "kind": {
18084
18127
  "type": "string",
@@ -27544,6 +27587,113 @@
27544
27587
  }
27545
27588
  }
27546
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
+ },
27547
27697
  {
27548
27698
  "type": "function",
27549
27699
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.9.43",
3
+ "version": "0.9.45",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",