@smartytalent/openai-tools 0.9.3 → 0.9.5
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.
- package/dist/tools.json +71 -28
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -185,6 +185,16 @@
|
|
|
185
185
|
"type": "object",
|
|
186
186
|
"description": "Tenant-level outbound-sync defaults (ATS integrations): {syncStage, syncNotes, syncRatings, syncTags, syncReports, syncConversationReports, syncMessages} - overridden per job by job.settings.operation. NOTE: the generated model whitelists keys, so this property MUST be declared for the SDK to carry it."
|
|
187
187
|
},
|
|
188
|
+
"feedback": {
|
|
189
|
+
"title": "TenantAttributesSettingsFeedbackSchema",
|
|
190
|
+
"type": "object",
|
|
191
|
+
"description": "Organisation-wide switch for outbound candidate feedback. Absent = enabled. enabled=false makes feedback:resolve return enabled=false with reason disabled:tenant BEFORE any policy lookup; default and per-job feedback rows stay stored and come back to life when re-enabled. Explicitly validated: enabled must be a JSON boolean (a string is a 400). NOTE: the generated model whitelists keys, so this property MUST be declared for the SDK to carry it.",
|
|
192
|
+
"properties": {
|
|
193
|
+
"enabled": {
|
|
194
|
+
"type": "boolean"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
},
|
|
188
198
|
"sso": {
|
|
189
199
|
"type": "object",
|
|
190
200
|
"description": "Enterprise SSO configuration. READ-ONLY here: the generic tenant PATCH strips this key, the only writers are the /v1/tenants/{tenantId}/sso doors. Sending it in a PATCH is ignored (not an error).",
|
|
@@ -441,7 +451,7 @@
|
|
|
441
451
|
"feedbacks": {
|
|
442
452
|
"title": "TenantRelationshipsFeedbacksSchema",
|
|
443
453
|
"type": "object",
|
|
444
|
-
"description": "Tenant-wide default feedback configurations. Up to one per stage (screening, assessment). Used when the job has no stage-specific feedback override.",
|
|
454
|
+
"description": "Tenant-wide default feedback configurations. Up to one per stage (screening, assessment, interview). Used when the job has no stage-specific feedback override. Only sendable rows (status active or accepted) may be pinned here; archived/draft/failed ids are rejected with 400.",
|
|
445
455
|
"properties": {
|
|
446
456
|
"data": {
|
|
447
457
|
"type": "array",
|
|
@@ -653,6 +663,16 @@
|
|
|
653
663
|
"type": "object",
|
|
654
664
|
"description": "Tenant-level outbound-sync defaults (ATS integrations): {syncStage, syncNotes, syncRatings, syncTags, syncReports, syncConversationReports, syncMessages} - overridden per job by job.settings.operation. NOTE: the generated model whitelists keys, so this property MUST be declared for the SDK to carry it."
|
|
655
665
|
},
|
|
666
|
+
"feedback": {
|
|
667
|
+
"title": "TenantAttributesSettingsFeedbackSchema",
|
|
668
|
+
"type": "object",
|
|
669
|
+
"description": "Organisation-wide switch for outbound candidate feedback. Absent = enabled. enabled=false makes feedback:resolve return enabled=false with reason disabled:tenant BEFORE any policy lookup; default and per-job feedback rows stay stored and come back to life when re-enabled. Explicitly validated: enabled must be a JSON boolean (a string is a 400). NOTE: the generated model whitelists keys, so this property MUST be declared for the SDK to carry it.",
|
|
670
|
+
"properties": {
|
|
671
|
+
"enabled": {
|
|
672
|
+
"type": "boolean"
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
},
|
|
656
676
|
"sso": {
|
|
657
677
|
"type": "object",
|
|
658
678
|
"description": "Enterprise SSO configuration. READ-ONLY here: the generic tenant PATCH strips this key, the only writers are the /v1/tenants/{tenantId}/sso doors. Sending it in a PATCH is ignored (not an error).",
|
|
@@ -909,7 +929,7 @@
|
|
|
909
929
|
"feedbacks": {
|
|
910
930
|
"title": "TenantRelationshipsFeedbacksSchema",
|
|
911
931
|
"type": "object",
|
|
912
|
-
"description": "Tenant-wide default feedback configurations. Up to one per stage (screening, assessment). Used when the job has no stage-specific feedback override.",
|
|
932
|
+
"description": "Tenant-wide default feedback configurations. Up to one per stage (screening, assessment, interview). Used when the job has no stage-specific feedback override. Only sendable rows (status active or accepted) may be pinned here; archived/draft/failed ids are rejected with 400.",
|
|
913
933
|
"properties": {
|
|
914
934
|
"data": {
|
|
915
935
|
"type": "array",
|
|
@@ -4914,6 +4934,16 @@
|
|
|
4914
4934
|
"ratingRestrictiveness": {
|
|
4915
4935
|
"type": "string",
|
|
4916
4936
|
"description": "Rating restrictiveness level (e.g. MODERATE, STRICT, LENIENT)"
|
|
4937
|
+
},
|
|
4938
|
+
"feedback": {
|
|
4939
|
+
"title": "JobAttributesSettingsFeedbackSchema",
|
|
4940
|
+
"type": "object",
|
|
4941
|
+
"description": "Per-job switch for outbound candidate feedback. Absent = enabled. enabled=false makes feedback:resolve return enabled=false with reason disabled:job for candidates of this job, before the job override / tenant default lookup. The tenant-level switch (tenant.settings.feedback.enabled) wins over this one. Explicitly validated: enabled must be a JSON boolean.",
|
|
4942
|
+
"properties": {
|
|
4943
|
+
"enabled": {
|
|
4944
|
+
"type": "boolean"
|
|
4945
|
+
}
|
|
4946
|
+
}
|
|
4917
4947
|
}
|
|
4918
4948
|
}
|
|
4919
4949
|
}
|
|
@@ -5730,6 +5760,16 @@
|
|
|
5730
5760
|
"ratingRestrictiveness": {
|
|
5731
5761
|
"type": "string",
|
|
5732
5762
|
"description": "Rating restrictiveness level (e.g. MODERATE, STRICT, LENIENT)"
|
|
5763
|
+
},
|
|
5764
|
+
"feedback": {
|
|
5765
|
+
"title": "JobAttributesSettingsFeedbackSchema",
|
|
5766
|
+
"type": "object",
|
|
5767
|
+
"description": "Per-job switch for outbound candidate feedback. Absent = enabled. enabled=false makes feedback:resolve return enabled=false with reason disabled:job for candidates of this job, before the job override / tenant default lookup. The tenant-level switch (tenant.settings.feedback.enabled) wins over this one. Explicitly validated: enabled must be a JSON boolean.",
|
|
5768
|
+
"properties": {
|
|
5769
|
+
"enabled": {
|
|
5770
|
+
"type": "boolean"
|
|
5771
|
+
}
|
|
5772
|
+
}
|
|
5733
5773
|
}
|
|
5734
5774
|
}
|
|
5735
5775
|
}
|
|
@@ -8743,14 +8783,28 @@
|
|
|
8743
8783
|
"properties": {
|
|
8744
8784
|
"filterStatus": {
|
|
8745
8785
|
"type": "string",
|
|
8746
|
-
"description": "Returns feedbacks with the
|
|
8786
|
+
"description": "Returns feedbacks with the given status. No default: omit it to list every status (SLA overrides are draft before gate 2 and accepted after it, so a fixed active default would hide them). One filter at a time: combine with filterStage or filterJobId and the request is a 400.",
|
|
8747
8787
|
"enum": [
|
|
8748
8788
|
"active",
|
|
8749
8789
|
"draft",
|
|
8790
|
+
"accepted",
|
|
8750
8791
|
"archived",
|
|
8751
8792
|
"failed"
|
|
8752
8793
|
]
|
|
8753
8794
|
},
|
|
8795
|
+
"filterStage": {
|
|
8796
|
+
"type": "string",
|
|
8797
|
+
"description": "Returns feedbacks for the given pipeline stage (StageIndex lookup). One filter at a time.",
|
|
8798
|
+
"enum": [
|
|
8799
|
+
"screening",
|
|
8800
|
+
"assessment",
|
|
8801
|
+
"interview"
|
|
8802
|
+
]
|
|
8803
|
+
},
|
|
8804
|
+
"filterJobId": {
|
|
8805
|
+
"type": "string",
|
|
8806
|
+
"description": "Returns the per-job feedback overrides of the given job (JobIndex lookup on the mirrored jobId; tenant defaults never match). One filter at a time."
|
|
8807
|
+
},
|
|
8754
8808
|
"filterCreatedFrom": {
|
|
8755
8809
|
"type": "string",
|
|
8756
8810
|
"description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
|
|
@@ -8828,9 +8882,10 @@
|
|
|
8828
8882
|
"type": "string",
|
|
8829
8883
|
"enum": [
|
|
8830
8884
|
"screening",
|
|
8831
|
-
"assessment"
|
|
8885
|
+
"assessment",
|
|
8886
|
+
"interview"
|
|
8832
8887
|
],
|
|
8833
|
-
"description": "Pipeline stage this feedback configuration applies to. Matches candidate.stage."
|
|
8888
|
+
"description": "Pipeline stage this feedback configuration applies to. Matches candidate.stage. interview covers both hiring-manager refusals at candidate.stage=interview (declined before the interview, declined after it)."
|
|
8834
8889
|
},
|
|
8835
8890
|
"status": {
|
|
8836
8891
|
"type": "string",
|
|
@@ -8840,11 +8895,16 @@
|
|
|
8840
8895
|
"accepted",
|
|
8841
8896
|
"archived",
|
|
8842
8897
|
"failed"
|
|
8843
|
-
]
|
|
8898
|
+
],
|
|
8899
|
+
"description": "active / accepted = sendable (feedback:resolve uses the row; accepted is the gate-2 stamp written by job:accept-artifacts). draft = authored, not sent. archived = soft-deleted, never sent, cannot be pinned as a tenant default. failed = reserved. On create only active or draft are accepted (default active); on update the value must be one of the enum (validated server-side, a bad value is a 400)."
|
|
8844
8900
|
},
|
|
8845
8901
|
"source": {
|
|
8846
8902
|
"type": "string"
|
|
8847
8903
|
},
|
|
8904
|
+
"jobId": {
|
|
8905
|
+
"type": "string",
|
|
8906
|
+
"description": "Mirror of relationships.jobs[0].id for per-job overrides (server-maintained; absent on tenant defaults). Filter with filterJobId (JobIndex)."
|
|
8907
|
+
},
|
|
8848
8908
|
"outcomes": {
|
|
8849
8909
|
"title": "FeedbackOutcomesSchema",
|
|
8850
8910
|
"type": "object",
|
|
@@ -9224,12 +9284,9 @@
|
|
|
9224
9284
|
"type": "string"
|
|
9225
9285
|
},
|
|
9226
9286
|
"attributes": {
|
|
9227
|
-
"title": "
|
|
9287
|
+
"title": "UpdateFeedbackRequestBodyDataAttributes",
|
|
9228
9288
|
"type": "object",
|
|
9229
|
-
"
|
|
9230
|
-
"name",
|
|
9231
|
-
"stage"
|
|
9232
|
-
],
|
|
9289
|
+
"description": "Partial update: only the fields present are merged (no field is required, unlike FeedbackAttributesSchema on create). Omitting a field leaves it unchanged.",
|
|
9233
9290
|
"properties": {
|
|
9234
9291
|
"name": {
|
|
9235
9292
|
"type": "string"
|
|
@@ -9238,9 +9295,9 @@
|
|
|
9238
9295
|
"type": "string",
|
|
9239
9296
|
"enum": [
|
|
9240
9297
|
"screening",
|
|
9241
|
-
"assessment"
|
|
9242
|
-
|
|
9243
|
-
|
|
9298
|
+
"assessment",
|
|
9299
|
+
"interview"
|
|
9300
|
+
]
|
|
9244
9301
|
},
|
|
9245
9302
|
"status": {
|
|
9246
9303
|
"type": "string",
|
|
@@ -9519,20 +9576,6 @@
|
|
|
9519
9576
|
}
|
|
9520
9577
|
}
|
|
9521
9578
|
}
|
|
9522
|
-
},
|
|
9523
|
-
"timestamps": {
|
|
9524
|
-
"title": "ResourceTimestampsSchema",
|
|
9525
|
-
"type": "object",
|
|
9526
|
-
"properties": {
|
|
9527
|
-
"created": {
|
|
9528
|
-
"type": "string",
|
|
9529
|
-
"format": "date-time"
|
|
9530
|
-
},
|
|
9531
|
-
"modified": {
|
|
9532
|
-
"type": "string",
|
|
9533
|
-
"format": "date-time"
|
|
9534
|
-
}
|
|
9535
|
-
}
|
|
9536
9579
|
}
|
|
9537
9580
|
}
|
|
9538
9581
|
},
|