@smartytalent/openai-tools 0.1.33-dev.102 → 0.1.33-dev.103

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 +50 -10
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -17849,15 +17849,35 @@
17849
17849
  "attributes": {
17850
17850
  "title": "OperationAttributesSchema",
17851
17851
  "type": "object",
17852
- "required": [
17853
- "name",
17854
- "email"
17855
- ],
17856
17852
  "properties": {
17857
17853
  "name": {
17858
- "type": "string"
17854
+ "type": "string",
17855
+ "description": "Required on create. Human-readable operation name."
17856
+ },
17857
+ "event": {
17858
+ "type": "string",
17859
+ "description": "Required on create. Colon-notation ATS event code (e.g. rcrt:event:candidate:created); the prefix derives source."
17860
+ },
17861
+ "eventDetails": {
17862
+ "type": "string",
17863
+ "description": "Required on create. JSON STRING (max 4096) carrying the per-event payload, e.g. {\"talent\":{\"shortCode\":\"123\"},\"job\":{\"shortCode\":\"456\"}}. Parsed to an object in the service:operation:created event copy."
17864
+ },
17865
+ "source": {
17866
+ "type": "string",
17867
+ "description": "Derived server-side from the event prefix (erecruiter, lever). Read-only."
17859
17868
  },
17860
17869
  "status": {
17870
+ "type": "string",
17871
+ "enum": [
17872
+ "active",
17873
+ "inactive",
17874
+ "pending",
17875
+ "hold",
17876
+ "archived",
17877
+ "failed"
17878
+ ]
17879
+ },
17880
+ "parentOperationId": {
17861
17881
  "type": "string"
17862
17882
  },
17863
17883
  "timestamps": {
@@ -17979,15 +17999,35 @@
17979
17999
  "attributes": {
17980
18000
  "title": "OperationAttributesSchema",
17981
18001
  "type": "object",
17982
- "required": [
17983
- "name",
17984
- "email"
17985
- ],
17986
18002
  "properties": {
17987
18003
  "name": {
17988
- "type": "string"
18004
+ "type": "string",
18005
+ "description": "Required on create. Human-readable operation name."
18006
+ },
18007
+ "event": {
18008
+ "type": "string",
18009
+ "description": "Required on create. Colon-notation ATS event code (e.g. rcrt:event:candidate:created); the prefix derives source."
18010
+ },
18011
+ "eventDetails": {
18012
+ "type": "string",
18013
+ "description": "Required on create. JSON STRING (max 4096) carrying the per-event payload, e.g. {\"talent\":{\"shortCode\":\"123\"},\"job\":{\"shortCode\":\"456\"}}. Parsed to an object in the service:operation:created event copy."
18014
+ },
18015
+ "source": {
18016
+ "type": "string",
18017
+ "description": "Derived server-side from the event prefix (erecruiter, lever). Read-only."
17989
18018
  },
17990
18019
  "status": {
18020
+ "type": "string",
18021
+ "enum": [
18022
+ "active",
18023
+ "inactive",
18024
+ "pending",
18025
+ "hold",
18026
+ "archived",
18027
+ "failed"
18028
+ ]
18029
+ },
18030
+ "parentOperationId": {
17991
18031
  "type": "string"
17992
18032
  },
17993
18033
  "timestamps": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.102",
3
+ "version": "0.1.33-dev.103",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",