@smartytalent/openai-tools 0.8.18 → 0.9.0

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 +193 -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
  },
@@ -6287,6 +6309,26 @@
6287
6309
  }
6288
6310
  }
6289
6311
  }
6312
+ },
6313
+ "tasks": {
6314
+ "title": "CandidateRelationshipsTasksSchema",
6315
+ "type": "object",
6316
+ "properties": {
6317
+ "data": {
6318
+ "type": "array",
6319
+ "items": {
6320
+ "type": "object",
6321
+ "properties": {
6322
+ "type": {
6323
+ "type": "string"
6324
+ },
6325
+ "id": {
6326
+ "type": "string"
6327
+ }
6328
+ }
6329
+ }
6330
+ }
6331
+ }
6290
6332
  }
6291
6333
  }
6292
6334
  },
@@ -6815,6 +6857,26 @@
6815
6857
  }
6816
6858
  }
6817
6859
  }
6860
+ },
6861
+ "tasks": {
6862
+ "title": "CandidateRelationshipsTasksSchema",
6863
+ "type": "object",
6864
+ "properties": {
6865
+ "data": {
6866
+ "type": "array",
6867
+ "items": {
6868
+ "type": "object",
6869
+ "properties": {
6870
+ "type": {
6871
+ "type": "string"
6872
+ },
6873
+ "id": {
6874
+ "type": "string"
6875
+ }
6876
+ }
6877
+ }
6878
+ }
6879
+ }
6818
6880
  }
6819
6881
  }
6820
6882
  }
@@ -7941,6 +8003,86 @@
7941
8003
  }
7942
8004
  }
7943
8005
  }
8006
+ },
8007
+ "users": {
8008
+ "title": "EmailRelationshipsUsersSchema",
8009
+ "type": "object",
8010
+ "properties": {
8011
+ "data": {
8012
+ "type": "array",
8013
+ "items": {
8014
+ "type": "object",
8015
+ "properties": {
8016
+ "type": {
8017
+ "type": "string"
8018
+ },
8019
+ "id": {
8020
+ "type": "string"
8021
+ }
8022
+ }
8023
+ }
8024
+ }
8025
+ }
8026
+ },
8027
+ "jobs": {
8028
+ "title": "EmailRelationshipsJobsSchema",
8029
+ "type": "object",
8030
+ "properties": {
8031
+ "data": {
8032
+ "type": "array",
8033
+ "items": {
8034
+ "type": "object",
8035
+ "properties": {
8036
+ "type": {
8037
+ "type": "string"
8038
+ },
8039
+ "id": {
8040
+ "type": "string"
8041
+ }
8042
+ }
8043
+ }
8044
+ }
8045
+ }
8046
+ },
8047
+ "assessments": {
8048
+ "title": "EmailRelationshipsAssessmentsSchema",
8049
+ "type": "object",
8050
+ "properties": {
8051
+ "data": {
8052
+ "type": "array",
8053
+ "items": {
8054
+ "type": "object",
8055
+ "properties": {
8056
+ "type": {
8057
+ "type": "string"
8058
+ },
8059
+ "id": {
8060
+ "type": "string"
8061
+ }
8062
+ }
8063
+ }
8064
+ }
8065
+ }
8066
+ },
8067
+ "ads": {
8068
+ "title": "EmailRelationshipsAdsSchema",
8069
+ "type": "object",
8070
+ "properties": {
8071
+ "data": {
8072
+ "type": "array",
8073
+ "items": {
8074
+ "type": "object",
8075
+ "properties": {
8076
+ "type": {
8077
+ "type": "string"
8078
+ },
8079
+ "id": {
8080
+ "type": "string"
8081
+ }
8082
+ }
8083
+ }
8084
+ }
8085
+ }
7944
8086
  }
7945
8087
  }
7946
8088
  },
@@ -8377,8 +8519,9 @@
8377
8519
  }
8378
8520
  },
8379
8521
  "relationships": {
8380
- "title": "FormRelationshipsSchema",
8522
+ "title": "FormWriteRelationshipsSchema",
8381
8523
  "type": "object",
8524
+ "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
8525
  "properties": {}
8383
8526
  }
8384
8527
  }
@@ -8934,8 +9077,9 @@
8934
9077
  }
8935
9078
  },
8936
9079
  "relationships": {
8937
- "title": "FeedbackRelationshipsSchema",
9080
+ "title": "FeedbackWriteRelationshipsSchema",
8938
9081
  "type": "object",
9082
+ "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
9083
  "properties": {
8940
9084
  "jobs": {
8941
9085
  "title": "FeedbackRelationshipsJobsSchema",
@@ -9343,8 +9487,9 @@
9343
9487
  }
9344
9488
  },
9345
9489
  "relationships": {
9346
- "title": "FeedbackRelationshipsSchema",
9490
+ "title": "FeedbackWriteRelationshipsSchema",
9347
9491
  "type": "object",
9492
+ "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
9493
  "properties": {
9349
9494
  "jobs": {
9350
9495
  "title": "FeedbackRelationshipsJobsSchema",
@@ -11791,8 +11936,9 @@
11791
11936
  }
11792
11937
  },
11793
11938
  "relationships": {
11794
- "title": "SubmissionRelationshipsSchema",
11939
+ "title": "SubmissionWriteRelationshipsSchema",
11795
11940
  "type": "object",
11941
+ "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
11942
  "properties": {
11797
11943
  "forms": {
11798
11944
  "title": "SubmissionRelationshipsFormsSchema",
@@ -12290,8 +12436,9 @@
12290
12436
  }
12291
12437
  },
12292
12438
  "relationships": {
12293
- "title": "SubmissionRelationshipsSchema",
12439
+ "title": "SubmissionWriteRelationshipsSchema",
12294
12440
  "type": "object",
12441
+ "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
12442
  "properties": {
12296
12443
  "forms": {
12297
12444
  "title": "SubmissionRelationshipsFormsSchema",
@@ -12685,8 +12832,9 @@
12685
12832
  }
12686
12833
  },
12687
12834
  "relationships": {
12688
- "title": "BriefRelationshipsSchema",
12835
+ "title": "BriefWriteRelationshipsSchema",
12689
12836
  "type": "object",
12837
+ "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
12838
  "properties": {
12691
12839
  "jobs": {
12692
12840
  "title": "BriefRelationshipsJobsSchema",
@@ -13103,8 +13251,9 @@
13103
13251
  }
13104
13252
  },
13105
13253
  "relationships": {
13106
- "title": "BriefRelationshipsSchema",
13254
+ "title": "BriefWriteRelationshipsSchema",
13107
13255
  "type": "object",
13256
+ "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
13257
  "properties": {
13109
13258
  "jobs": {
13110
13259
  "title": "BriefRelationshipsJobsSchema",
@@ -20103,8 +20252,9 @@
20103
20252
  }
20104
20253
  },
20105
20254
  "relationships": {
20106
- "title": "ReportRelationshipsSchema",
20255
+ "title": "ReportWriteRelationshipsSchema",
20107
20256
  "type": "object",
20257
+ "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
20258
  "properties": {
20109
20259
  "tenants": {
20110
20260
  "title": "ReportRelationshipsTenantsSchema",
@@ -21317,19 +21467,23 @@
21317
21467
  "title": "AssessmentRelationshipsSchema",
21318
21468
  "type": "object",
21319
21469
  "properties": {
21320
- "candidate": {
21321
- "title": "AssessmentRelationshipsCandidateSchema",
21470
+ "candidates": {
21471
+ "title": "AssessmentRelationshipsCandidatesSchema",
21472
+ "description": "Candidate-mode assessments stamp the candidates they screen; to-many on rows and on the wire.",
21322
21473
  "type": "object",
21323
21474
  "properties": {
21324
21475
  "data": {
21325
- "title": "AssessmentRelationshipsCandidateDataSchema",
21326
- "type": "object",
21327
- "properties": {
21328
- "type": {
21329
- "type": "string"
21330
- },
21331
- "id": {
21332
- "type": "string"
21476
+ "type": "array",
21477
+ "items": {
21478
+ "title": "AssessmentRelationshipsCandidatesDataSchema",
21479
+ "type": "object",
21480
+ "properties": {
21481
+ "type": {
21482
+ "type": "string"
21483
+ },
21484
+ "id": {
21485
+ "type": "string"
21486
+ }
21333
21487
  }
21334
21488
  }
21335
21489
  }
@@ -24461,6 +24615,26 @@
24461
24615
  }
24462
24616
  }
24463
24617
  }
24618
+ },
24619
+ "calls": {
24620
+ "title": "NotificationRelationshipsCallsSchema",
24621
+ "type": "object",
24622
+ "properties": {
24623
+ "data": {
24624
+ "type": "array",
24625
+ "items": {
24626
+ "type": "object",
24627
+ "properties": {
24628
+ "type": {
24629
+ "type": "string"
24630
+ },
24631
+ "id": {
24632
+ "type": "string"
24633
+ }
24634
+ }
24635
+ }
24636
+ }
24637
+ }
24464
24638
  }
24465
24639
  }
24466
24640
  }
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.0",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",