@smartytalent/openai-tools 0.1.25 → 0.1.27

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 +227 -53
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -4416,14 +4416,10 @@
4416
4416
  "attributes": {
4417
4417
  "title": "CandidateAttributesSchema",
4418
4418
  "type": "object",
4419
- "required": [
4420
- "name",
4421
- "email"
4422
- ],
4423
4419
  "properties": {
4424
4420
  "name": {
4425
4421
  "type": "string",
4426
- "description": "Full name of the candidate"
4422
+ "description": "Full name of the candidate. Required on create."
4427
4423
  },
4428
4424
  "email": {
4429
4425
  "type": "string",
@@ -4950,8 +4946,7 @@
4950
4946
  "type": "object",
4951
4947
  "required": [
4952
4948
  "type",
4953
- "id",
4954
- "attributes"
4949
+ "id"
4955
4950
  ],
4956
4951
  "properties": {
4957
4952
  "type": {
@@ -4966,14 +4961,10 @@
4966
4961
  "attributes": {
4967
4962
  "title": "CandidateAttributesSchema",
4968
4963
  "type": "object",
4969
- "required": [
4970
- "name",
4971
- "email"
4972
- ],
4973
4964
  "properties": {
4974
4965
  "name": {
4975
4966
  "type": "string",
4976
- "description": "Full name of the candidate"
4967
+ "description": "Full name of the candidate. Required on create."
4977
4968
  },
4978
4969
  "email": {
4979
4970
  "type": "string",
@@ -5312,6 +5303,132 @@
5312
5303
  "additionalProperties": true
5313
5304
  }
5314
5305
  }
5306
+ },
5307
+ "relationships": {
5308
+ "title": "CandidateRelationshipsSchema",
5309
+ "type": "object",
5310
+ "properties": {
5311
+ "job": {
5312
+ "title": "CandidateRelationshipsJobSchema",
5313
+ "type": "object",
5314
+ "properties": {
5315
+ "data": {
5316
+ "title": "CandidateRelationshipsJobDataSchema",
5317
+ "type": "object",
5318
+ "properties": {
5319
+ "type": {
5320
+ "type": "string"
5321
+ },
5322
+ "id": {
5323
+ "type": "string"
5324
+ }
5325
+ }
5326
+ }
5327
+ }
5328
+ },
5329
+ "talent": {
5330
+ "title": "CandidateRelationshipsTalentSchema",
5331
+ "type": "object",
5332
+ "properties": {
5333
+ "data": {
5334
+ "title": "CandidateRelationshipsTalentDataSchema",
5335
+ "type": "object",
5336
+ "properties": {
5337
+ "type": {
5338
+ "type": "string"
5339
+ },
5340
+ "id": {
5341
+ "type": "string"
5342
+ }
5343
+ }
5344
+ }
5345
+ }
5346
+ },
5347
+ "files": {
5348
+ "title": "CandidateRelationshipsFilesSchema",
5349
+ "type": "object",
5350
+ "properties": {
5351
+ "data": {
5352
+ "type": "array",
5353
+ "items": {
5354
+ "title": "CandidateRelationshipsFilesDataSchema",
5355
+ "type": "object",
5356
+ "properties": {
5357
+ "type": {
5358
+ "type": "string"
5359
+ },
5360
+ "id": {
5361
+ "type": "string"
5362
+ }
5363
+ }
5364
+ }
5365
+ }
5366
+ }
5367
+ },
5368
+ "forms": {
5369
+ "title": "CandidateRelationshipsFormsSchema",
5370
+ "type": "object",
5371
+ "properties": {
5372
+ "data": {
5373
+ "type": "array",
5374
+ "items": {
5375
+ "title": "CandidateRelationshipsFormsDataSchema",
5376
+ "type": "object",
5377
+ "properties": {
5378
+ "type": {
5379
+ "type": "string"
5380
+ },
5381
+ "id": {
5382
+ "type": "string"
5383
+ }
5384
+ }
5385
+ }
5386
+ }
5387
+ }
5388
+ },
5389
+ "translations": {
5390
+ "title": "CandidateRelationshipsTranslationsSchema",
5391
+ "type": "object",
5392
+ "properties": {
5393
+ "data": {
5394
+ "type": "array",
5395
+ "items": {
5396
+ "title": "CandidateRelationshipsTranslationsDataSchema",
5397
+ "type": "object",
5398
+ "properties": {
5399
+ "type": {
5400
+ "type": "string"
5401
+ },
5402
+ "id": {
5403
+ "type": "string"
5404
+ }
5405
+ }
5406
+ }
5407
+ }
5408
+ }
5409
+ },
5410
+ "operations": {
5411
+ "title": "CandidateRelationshipsOperationsSchema",
5412
+ "type": "object",
5413
+ "properties": {
5414
+ "data": {
5415
+ "type": "array",
5416
+ "items": {
5417
+ "title": "CandidateRelationshipsOperationsDataSchema",
5418
+ "type": "object",
5419
+ "properties": {
5420
+ "type": {
5421
+ "type": "string"
5422
+ },
5423
+ "id": {
5424
+ "type": "string"
5425
+ }
5426
+ }
5427
+ }
5428
+ }
5429
+ }
5430
+ }
5431
+ }
5315
5432
  }
5316
5433
  }
5317
5434
  }
@@ -7463,28 +7580,33 @@
7463
7580
  "attributes": {
7464
7581
  "title": "SubmissionAttributesSchema",
7465
7582
  "type": "object",
7466
- "required": [
7467
- "name",
7468
- "email"
7469
- ],
7470
7583
  "properties": {
7471
7584
  "name": {
7472
- "type": "string"
7585
+ "type": "string",
7586
+ "description": "Required on create"
7473
7587
  },
7474
7588
  "email": {
7475
- "type": "string"
7589
+ "type": "string",
7590
+ "description": "Required on create"
7476
7591
  },
7477
7592
  "phone": {
7478
7593
  "type": "string"
7479
7594
  },
7480
- "source": {
7595
+ "channel": {
7481
7596
  "type": "string",
7482
7597
  "enum": [
7483
7598
  "form",
7484
7599
  "email",
7485
7600
  "call",
7486
- "api"
7487
- ]
7601
+ "chat",
7602
+ "api",
7603
+ "agent"
7604
+ ],
7605
+ "description": "How the submission entered the system"
7606
+ },
7607
+ "source": {
7608
+ "type": "string",
7609
+ "description": "Where the candidate originated (e.g., careerPage, jobBoard, linkedin, talentPool)"
7488
7610
  },
7489
7611
  "type": {
7490
7612
  "type": "string",
@@ -7819,6 +7941,10 @@
7819
7941
  }
7820
7942
  }
7821
7943
  },
7944
+ "source": {
7945
+ "type": "string",
7946
+ "description": "Where the candidate found the job (e.g., careerPage, jobBoard, linkedin)"
7947
+ },
7822
7948
  "consentCurrent": {
7823
7949
  "type": "boolean"
7824
7950
  },
@@ -7924,8 +8050,7 @@
7924
8050
  "type": "object",
7925
8051
  "required": [
7926
8052
  "type",
7927
- "id",
7928
- "attributes"
8053
+ "id"
7929
8054
  ],
7930
8055
  "properties": {
7931
8056
  "type": {
@@ -7940,28 +8065,33 @@
7940
8065
  "attributes": {
7941
8066
  "title": "SubmissionAttributesSchema",
7942
8067
  "type": "object",
7943
- "required": [
7944
- "name",
7945
- "email"
7946
- ],
7947
8068
  "properties": {
7948
8069
  "name": {
7949
- "type": "string"
8070
+ "type": "string",
8071
+ "description": "Required on create"
7950
8072
  },
7951
8073
  "email": {
7952
- "type": "string"
8074
+ "type": "string",
8075
+ "description": "Required on create"
7953
8076
  },
7954
8077
  "phone": {
7955
8078
  "type": "string"
7956
8079
  },
7957
- "source": {
8080
+ "channel": {
7958
8081
  "type": "string",
7959
8082
  "enum": [
7960
8083
  "form",
7961
8084
  "email",
7962
8085
  "call",
7963
- "api"
7964
- ]
8086
+ "chat",
8087
+ "api",
8088
+ "agent"
8089
+ ],
8090
+ "description": "How the submission entered the system"
8091
+ },
8092
+ "source": {
8093
+ "type": "string",
8094
+ "description": "Where the candidate originated (e.g., careerPage, jobBoard, linkedin, talentPool)"
7965
8095
  },
7966
8096
  "type": {
7967
8097
  "type": "string",
@@ -12770,31 +12900,28 @@
12770
12900
  "title": "RunRelationshipsSchema",
12771
12901
  "type": "object",
12772
12902
  "required": [
12773
- "workflows"
12903
+ "workflow"
12774
12904
  ],
12775
12905
  "properties": {
12776
- "workflows": {
12906
+ "workflow": {
12777
12907
  "type": "object",
12778
12908
  "properties": {
12779
12909
  "data": {
12780
- "type": "array",
12781
- "items": {
12782
- "type": "object",
12783
- "required": [
12784
- "type",
12785
- "id"
12786
- ],
12787
- "properties": {
12788
- "type": {
12789
- "type": "string",
12790
- "enum": [
12791
- "workflows"
12792
- ]
12793
- },
12794
- "id": {
12795
- "type": "string",
12796
- "description": "The workflow ID to run."
12797
- }
12910
+ "type": "object",
12911
+ "required": [
12912
+ "type",
12913
+ "id"
12914
+ ],
12915
+ "properties": {
12916
+ "type": {
12917
+ "type": "string",
12918
+ "enum": [
12919
+ "workflows"
12920
+ ]
12921
+ },
12922
+ "id": {
12923
+ "type": "string",
12924
+ "description": "The workflow ID to run."
12798
12925
  }
12799
12926
  }
12800
12927
  }
@@ -12825,8 +12952,55 @@
12825
12952
  "name": "update_run",
12826
12953
  "description": "Update Run",
12827
12954
  "parameters": {
12955
+ "title": "UpdateRunRequestBody",
12828
12956
  "type": "object",
12829
- "properties": {}
12957
+ "required": [
12958
+ "data"
12959
+ ],
12960
+ "properties": {
12961
+ "data": {
12962
+ "title": "UpdateRunRequestBodyData",
12963
+ "type": "object",
12964
+ "required": [
12965
+ "type",
12966
+ "id",
12967
+ "attributes"
12968
+ ],
12969
+ "properties": {
12970
+ "type": {
12971
+ "type": "string",
12972
+ "enum": [
12973
+ "runs"
12974
+ ]
12975
+ },
12976
+ "id": {
12977
+ "type": "string"
12978
+ },
12979
+ "attributes": {
12980
+ "title": "UpdateRunAttributesSchema",
12981
+ "type": "object",
12982
+ "required": [
12983
+ "status"
12984
+ ],
12985
+ "properties": {
12986
+ "status": {
12987
+ "type": "string",
12988
+ "enum": [
12989
+ "running",
12990
+ "aborted"
12991
+ ],
12992
+ "description": "Target status. 'running' redrives a failed/paused/completed run; 'aborted' cancels a pending/running run."
12993
+ },
12994
+ "fromStep": {
12995
+ "type": "integer",
12996
+ "minimum": 0,
12997
+ "description": "Only valid when status=running. Zero-based index of the step to redrive from. All step results from this index onwards are discarded. If omitted, resumes from the last failed/paused step (legacy behavior)."
12998
+ }
12999
+ }
13000
+ }
13001
+ }
13002
+ }
13003
+ }
12830
13004
  }
12831
13005
  }
12832
13006
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",