@smartytalent/openai-tools 0.8.18 → 0.9.1

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 +239 -19
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -2667,12 +2667,12 @@
2667
2667
  },
2668
2668
  "permissions": {
2669
2669
  "title": "RoleRelationshipsPermissionsSchema",
2670
+ "description": "Written only by the system-tenant bootstrap (sysowner roles); empty for every tenant-created role. The permission service itself is an unwired scaffold.",
2670
2671
  "type": "object",
2671
2672
  "properties": {
2672
2673
  "data": {
2673
2674
  "type": "array",
2674
2675
  "items": {
2675
- "title": "RoleRelationshipsPermissionsDataSchema",
2676
2676
  "type": "object",
2677
2677
  "properties": {
2678
2678
  "type": {
@@ -2976,6 +2976,8 @@
2976
2976
  "properties": {
2977
2977
  "data": {
2978
2978
  "type": "array",
2979
+ "maxItems": 1,
2980
+ "description": "Exactly one entry: the key authenticates AS this single user. Kept as an array (maxItems 1) for wire compatibility - decision 2026-08-14, PLAN_RELATIONSHIP_CONTRACT.md.",
2979
2981
  "items": {
2980
2982
  "title": "ApikeyRelationshipsUsersDataSchema",
2981
2983
  "type": "object",
@@ -3744,6 +3746,26 @@
3744
3746
  }
3745
3747
  }
3746
3748
  }
3749
+ },
3750
+ "tasks": {
3751
+ "title": "TalentRelationshipsTasksSchema",
3752
+ "type": "object",
3753
+ "properties": {
3754
+ "data": {
3755
+ "type": "array",
3756
+ "items": {
3757
+ "type": "object",
3758
+ "properties": {
3759
+ "type": {
3760
+ "type": "string"
3761
+ },
3762
+ "id": {
3763
+ "type": "string"
3764
+ }
3765
+ }
3766
+ }
3767
+ }
3768
+ }
3747
3769
  }
3748
3770
  }
3749
3771
  },
@@ -4919,6 +4941,48 @@
4919
4941
  }
4920
4942
  }
4921
4943
  }
4944
+ },
4945
+ "meta": {
4946
+ "title": "JobRelationshipsCandidatesMetaSchema",
4947
+ "type": "object",
4948
+ "description": "Live candidate counters maintained on the job row by the candidate\nlifecycle events (created/stage-changed/deleted), clamped to >= 0.\nPresent on both list and show responses. Server-maintained: any\nvalue sent in a request body is ignored. The scalable companion to\n`GET /v1/candidates?filterJobId=` - render badges from here, rows\nfrom the list.",
4949
+ "properties": {
4950
+ "total": {
4951
+ "type": "integer",
4952
+ "description": "Number of candidates on this job."
4953
+ },
4954
+ "byStage": {
4955
+ "title": "JobRelationshipsCandidatesMetaByStageSchema",
4956
+ "type": "object",
4957
+ "description": "Candidate count per v2 pipeline stage, in funnel order.\nDeprecated v1 stage values still stored on older candidate\nrows are folded into their v2 bucket by the counter\n(screened -> screening, interviewed -> interview, ...), so\nthese eight keys are the complete vocabulary. A missing key\nmeans zero. The values are designed to sum to `total`; a\npersistent mismatch means counter drift and is worth\nsurfacing, not hiding.",
4958
+ "properties": {
4959
+ "sourcing": {
4960
+ "type": "integer"
4961
+ },
4962
+ "screening": {
4963
+ "type": "integer"
4964
+ },
4965
+ "assessment": {
4966
+ "type": "integer"
4967
+ },
4968
+ "interview": {
4969
+ "type": "integer"
4970
+ },
4971
+ "offer": {
4972
+ "type": "integer"
4973
+ },
4974
+ "hired": {
4975
+ "type": "integer"
4976
+ },
4977
+ "onboarding": {
4978
+ "type": "integer"
4979
+ },
4980
+ "evaluation": {
4981
+ "type": "integer"
4982
+ }
4983
+ }
4984
+ }
4985
+ }
4922
4986
  }
4923
4987
  }
4924
4988
  },
@@ -6287,6 +6351,26 @@
6287
6351
  }
6288
6352
  }
6289
6353
  }
6354
+ },
6355
+ "tasks": {
6356
+ "title": "CandidateRelationshipsTasksSchema",
6357
+ "type": "object",
6358
+ "properties": {
6359
+ "data": {
6360
+ "type": "array",
6361
+ "items": {
6362
+ "type": "object",
6363
+ "properties": {
6364
+ "type": {
6365
+ "type": "string"
6366
+ },
6367
+ "id": {
6368
+ "type": "string"
6369
+ }
6370
+ }
6371
+ }
6372
+ }
6373
+ }
6290
6374
  }
6291
6375
  }
6292
6376
  },
@@ -6815,6 +6899,26 @@
6815
6899
  }
6816
6900
  }
6817
6901
  }
6902
+ },
6903
+ "tasks": {
6904
+ "title": "CandidateRelationshipsTasksSchema",
6905
+ "type": "object",
6906
+ "properties": {
6907
+ "data": {
6908
+ "type": "array",
6909
+ "items": {
6910
+ "type": "object",
6911
+ "properties": {
6912
+ "type": {
6913
+ "type": "string"
6914
+ },
6915
+ "id": {
6916
+ "type": "string"
6917
+ }
6918
+ }
6919
+ }
6920
+ }
6921
+ }
6818
6922
  }
6819
6923
  }
6820
6924
  }
@@ -7941,6 +8045,86 @@
7941
8045
  }
7942
8046
  }
7943
8047
  }
8048
+ },
8049
+ "users": {
8050
+ "title": "EmailRelationshipsUsersSchema",
8051
+ "type": "object",
8052
+ "properties": {
8053
+ "data": {
8054
+ "type": "array",
8055
+ "items": {
8056
+ "type": "object",
8057
+ "properties": {
8058
+ "type": {
8059
+ "type": "string"
8060
+ },
8061
+ "id": {
8062
+ "type": "string"
8063
+ }
8064
+ }
8065
+ }
8066
+ }
8067
+ }
8068
+ },
8069
+ "jobs": {
8070
+ "title": "EmailRelationshipsJobsSchema",
8071
+ "type": "object",
8072
+ "properties": {
8073
+ "data": {
8074
+ "type": "array",
8075
+ "items": {
8076
+ "type": "object",
8077
+ "properties": {
8078
+ "type": {
8079
+ "type": "string"
8080
+ },
8081
+ "id": {
8082
+ "type": "string"
8083
+ }
8084
+ }
8085
+ }
8086
+ }
8087
+ }
8088
+ },
8089
+ "assessments": {
8090
+ "title": "EmailRelationshipsAssessmentsSchema",
8091
+ "type": "object",
8092
+ "properties": {
8093
+ "data": {
8094
+ "type": "array",
8095
+ "items": {
8096
+ "type": "object",
8097
+ "properties": {
8098
+ "type": {
8099
+ "type": "string"
8100
+ },
8101
+ "id": {
8102
+ "type": "string"
8103
+ }
8104
+ }
8105
+ }
8106
+ }
8107
+ }
8108
+ },
8109
+ "ads": {
8110
+ "title": "EmailRelationshipsAdsSchema",
8111
+ "type": "object",
8112
+ "properties": {
8113
+ "data": {
8114
+ "type": "array",
8115
+ "items": {
8116
+ "type": "object",
8117
+ "properties": {
8118
+ "type": {
8119
+ "type": "string"
8120
+ },
8121
+ "id": {
8122
+ "type": "string"
8123
+ }
8124
+ }
8125
+ }
8126
+ }
8127
+ }
7944
8128
  }
7945
8129
  }
7946
8130
  },
@@ -8377,8 +8561,9 @@
8377
8561
  }
8378
8562
  },
8379
8563
  "relationships": {
8380
- "title": "FormRelationshipsSchema",
8564
+ "title": "FormWriteRelationshipsSchema",
8381
8565
  "type": "object",
8566
+ "description": "WRITE shape for request bodies: the storage-convention plural keys the services and the existing SDK writer classes use. Responses use the wire-shaped <X>RelationshipsSchema instead - the two deliberately differ (PLAN_RELATIONSHIP_CONTRACT.md).",
8382
8567
  "properties": {}
8383
8568
  }
8384
8569
  }
@@ -8934,8 +9119,9 @@
8934
9119
  }
8935
9120
  },
8936
9121
  "relationships": {
8937
- "title": "FeedbackRelationshipsSchema",
9122
+ "title": "FeedbackWriteRelationshipsSchema",
8938
9123
  "type": "object",
9124
+ "description": "WRITE shape for request bodies: the storage-convention plural keys the services and the existing SDK writer classes use. Responses use the wire-shaped <X>RelationshipsSchema instead - the two deliberately differ (PLAN_RELATIONSHIP_CONTRACT.md).",
8939
9125
  "properties": {
8940
9126
  "jobs": {
8941
9127
  "title": "FeedbackRelationshipsJobsSchema",
@@ -9343,8 +9529,9 @@
9343
9529
  }
9344
9530
  },
9345
9531
  "relationships": {
9346
- "title": "FeedbackRelationshipsSchema",
9532
+ "title": "FeedbackWriteRelationshipsSchema",
9347
9533
  "type": "object",
9534
+ "description": "WRITE shape for request bodies: the storage-convention plural keys the services and the existing SDK writer classes use. Responses use the wire-shaped <X>RelationshipsSchema instead - the two deliberately differ (PLAN_RELATIONSHIP_CONTRACT.md).",
9348
9535
  "properties": {
9349
9536
  "jobs": {
9350
9537
  "title": "FeedbackRelationshipsJobsSchema",
@@ -11791,8 +11978,9 @@
11791
11978
  }
11792
11979
  },
11793
11980
  "relationships": {
11794
- "title": "SubmissionRelationshipsSchema",
11981
+ "title": "SubmissionWriteRelationshipsSchema",
11795
11982
  "type": "object",
11983
+ "description": "WRITE shape for request bodies: the storage-convention plural keys the services and the existing SDK writer classes use. Responses use the wire-shaped <X>RelationshipsSchema instead - the two deliberately differ (PLAN_RELATIONSHIP_CONTRACT.md).",
11796
11984
  "properties": {
11797
11985
  "forms": {
11798
11986
  "title": "SubmissionRelationshipsFormsSchema",
@@ -12290,8 +12478,9 @@
12290
12478
  }
12291
12479
  },
12292
12480
  "relationships": {
12293
- "title": "SubmissionRelationshipsSchema",
12481
+ "title": "SubmissionWriteRelationshipsSchema",
12294
12482
  "type": "object",
12483
+ "description": "WRITE shape for request bodies: the storage-convention plural keys the services and the existing SDK writer classes use. Responses use the wire-shaped <X>RelationshipsSchema instead - the two deliberately differ (PLAN_RELATIONSHIP_CONTRACT.md).",
12295
12484
  "properties": {
12296
12485
  "forms": {
12297
12486
  "title": "SubmissionRelationshipsFormsSchema",
@@ -12685,8 +12874,9 @@
12685
12874
  }
12686
12875
  },
12687
12876
  "relationships": {
12688
- "title": "BriefRelationshipsSchema",
12877
+ "title": "BriefWriteRelationshipsSchema",
12689
12878
  "type": "object",
12879
+ "description": "WRITE shape for request bodies: the storage-convention plural keys the services and the existing SDK writer classes use. Responses use the wire-shaped <X>RelationshipsSchema instead - the two deliberately differ (PLAN_RELATIONSHIP_CONTRACT.md).",
12690
12880
  "properties": {
12691
12881
  "jobs": {
12692
12882
  "title": "BriefRelationshipsJobsSchema",
@@ -13103,8 +13293,9 @@
13103
13293
  }
13104
13294
  },
13105
13295
  "relationships": {
13106
- "title": "BriefRelationshipsSchema",
13296
+ "title": "BriefWriteRelationshipsSchema",
13107
13297
  "type": "object",
13298
+ "description": "WRITE shape for request bodies: the storage-convention plural keys the services and the existing SDK writer classes use. Responses use the wire-shaped <X>RelationshipsSchema instead - the two deliberately differ (PLAN_RELATIONSHIP_CONTRACT.md).",
13108
13299
  "properties": {
13109
13300
  "jobs": {
13110
13301
  "title": "BriefRelationshipsJobsSchema",
@@ -20103,8 +20294,9 @@
20103
20294
  }
20104
20295
  },
20105
20296
  "relationships": {
20106
- "title": "ReportRelationshipsSchema",
20297
+ "title": "ReportWriteRelationshipsSchema",
20107
20298
  "type": "object",
20299
+ "description": "WRITE shape for request bodies: the storage-convention plural keys the services and the existing SDK writer classes use. Responses use the wire-shaped <X>RelationshipsSchema instead - the two deliberately differ (PLAN_RELATIONSHIP_CONTRACT.md).",
20108
20300
  "properties": {
20109
20301
  "tenants": {
20110
20302
  "title": "ReportRelationshipsTenantsSchema",
@@ -20306,6 +20498,10 @@
20306
20498
  "archived"
20307
20499
  ]
20308
20500
  },
20501
+ "filterJobId": {
20502
+ "type": "string",
20503
+ "description": "Returns the ads generated for the given job (JobIndex lookup)."
20504
+ },
20309
20505
  "filterCreatedFrom": {
20310
20506
  "type": "string",
20311
20507
  "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
@@ -21317,19 +21513,23 @@
21317
21513
  "title": "AssessmentRelationshipsSchema",
21318
21514
  "type": "object",
21319
21515
  "properties": {
21320
- "candidate": {
21321
- "title": "AssessmentRelationshipsCandidateSchema",
21516
+ "candidates": {
21517
+ "title": "AssessmentRelationshipsCandidatesSchema",
21518
+ "description": "Candidate-mode assessments stamp the candidates they screen; to-many on rows and on the wire.",
21322
21519
  "type": "object",
21323
21520
  "properties": {
21324
21521
  "data": {
21325
- "title": "AssessmentRelationshipsCandidateDataSchema",
21326
- "type": "object",
21327
- "properties": {
21328
- "type": {
21329
- "type": "string"
21330
- },
21331
- "id": {
21332
- "type": "string"
21522
+ "type": "array",
21523
+ "items": {
21524
+ "title": "AssessmentRelationshipsCandidatesDataSchema",
21525
+ "type": "object",
21526
+ "properties": {
21527
+ "type": {
21528
+ "type": "string"
21529
+ },
21530
+ "id": {
21531
+ "type": "string"
21532
+ }
21333
21533
  }
21334
21534
  }
21335
21535
  }
@@ -24461,6 +24661,26 @@
24461
24661
  }
24462
24662
  }
24463
24663
  }
24664
+ },
24665
+ "calls": {
24666
+ "title": "NotificationRelationshipsCallsSchema",
24667
+ "type": "object",
24668
+ "properties": {
24669
+ "data": {
24670
+ "type": "array",
24671
+ "items": {
24672
+ "type": "object",
24673
+ "properties": {
24674
+ "type": {
24675
+ "type": "string"
24676
+ },
24677
+ "id": {
24678
+ "type": "string"
24679
+ }
24680
+ }
24681
+ }
24682
+ }
24683
+ }
24464
24684
  }
24465
24685
  }
24466
24686
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.8.18",
3
+ "version": "0.9.1",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",