@smartytalent/openai-tools 0.1.33-dev.101 → 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 +74 -10
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -9323,6 +9323,14 @@
9323
9323
  },
9324
9324
  "contentType": {
9325
9325
  "type": "string"
9326
+ },
9327
+ "fileKey": {
9328
+ "type": "string",
9329
+ "description": "S3 key in the submission bucket. The screening workflow reads files.N.fileKey."
9330
+ },
9331
+ "originalFilename": {
9332
+ "type": "string",
9333
+ "description": "Original filename as uploaded/imported. The screening workflow reads files.N.originalFilename."
9326
9334
  }
9327
9335
  }
9328
9336
  }
@@ -9355,6 +9363,10 @@
9355
9363
  }
9356
9364
  }
9357
9365
  },
9366
+ "meta": {
9367
+ "type": "object",
9368
+ "description": "Free-form metadata. meta.external carries ATS import correlation ({source, jobShortCode, talentShortCode, applicationShortCode, ttl}); meta.userId is stamped server-side on create. CREATE-ONLY today: the update path ignores meta."
9369
+ },
9358
9370
  "timestamps": {
9359
9371
  "title": "ResourceTimestampsSchema",
9360
9372
  "type": "object",
@@ -9808,6 +9820,14 @@
9808
9820
  },
9809
9821
  "contentType": {
9810
9822
  "type": "string"
9823
+ },
9824
+ "fileKey": {
9825
+ "type": "string",
9826
+ "description": "S3 key in the submission bucket. The screening workflow reads files.N.fileKey."
9827
+ },
9828
+ "originalFilename": {
9829
+ "type": "string",
9830
+ "description": "Original filename as uploaded/imported. The screening workflow reads files.N.originalFilename."
9811
9831
  }
9812
9832
  }
9813
9833
  }
@@ -9840,6 +9860,10 @@
9840
9860
  }
9841
9861
  }
9842
9862
  },
9863
+ "meta": {
9864
+ "type": "object",
9865
+ "description": "Free-form metadata. meta.external carries ATS import correlation ({source, jobShortCode, talentShortCode, applicationShortCode, ttl}); meta.userId is stamped server-side on create. CREATE-ONLY today: the update path ignores meta."
9866
+ },
9843
9867
  "timestamps": {
9844
9868
  "title": "ResourceTimestampsSchema",
9845
9869
  "type": "object",
@@ -17825,15 +17849,35 @@
17825
17849
  "attributes": {
17826
17850
  "title": "OperationAttributesSchema",
17827
17851
  "type": "object",
17828
- "required": [
17829
- "name",
17830
- "email"
17831
- ],
17832
17852
  "properties": {
17833
17853
  "name": {
17834
- "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."
17835
17868
  },
17836
17869
  "status": {
17870
+ "type": "string",
17871
+ "enum": [
17872
+ "active",
17873
+ "inactive",
17874
+ "pending",
17875
+ "hold",
17876
+ "archived",
17877
+ "failed"
17878
+ ]
17879
+ },
17880
+ "parentOperationId": {
17837
17881
  "type": "string"
17838
17882
  },
17839
17883
  "timestamps": {
@@ -17955,15 +17999,35 @@
17955
17999
  "attributes": {
17956
18000
  "title": "OperationAttributesSchema",
17957
18001
  "type": "object",
17958
- "required": [
17959
- "name",
17960
- "email"
17961
- ],
17962
18002
  "properties": {
17963
18003
  "name": {
17964
- "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."
17965
18018
  },
17966
18019
  "status": {
18020
+ "type": "string",
18021
+ "enum": [
18022
+ "active",
18023
+ "inactive",
18024
+ "pending",
18025
+ "hold",
18026
+ "archived",
18027
+ "failed"
18028
+ ]
18029
+ },
18030
+ "parentOperationId": {
17967
18031
  "type": "string"
17968
18032
  },
17969
18033
  "timestamps": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.101",
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",