@smartytalent/mcp-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.
Files changed (2) hide show
  1. package/dist/tools.json +71 -28
  2. 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",
@@ -659,6 +669,16 @@
659
669
  "type": "object",
660
670
  "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."
661
671
  },
672
+ "feedback": {
673
+ "title": "TenantAttributesSettingsFeedbackSchema",
674
+ "type": "object",
675
+ "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.",
676
+ "properties": {
677
+ "enabled": {
678
+ "type": "boolean"
679
+ }
680
+ }
681
+ },
662
682
  "sso": {
663
683
  "type": "object",
664
684
  "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).",
@@ -915,7 +935,7 @@
915
935
  "feedbacks": {
916
936
  "title": "TenantRelationshipsFeedbacksSchema",
917
937
  "type": "object",
918
- "description": "Tenant-wide default feedback configurations. Up to one per stage (screening, assessment). Used when the job has no stage-specific feedback override.",
938
+ "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.",
919
939
  "properties": {
920
940
  "data": {
921
941
  "type": "array",
@@ -5076,6 +5096,16 @@
5076
5096
  "ratingRestrictiveness": {
5077
5097
  "type": "string",
5078
5098
  "description": "Rating restrictiveness level (e.g. MODERATE, STRICT, LENIENT)"
5099
+ },
5100
+ "feedback": {
5101
+ "title": "JobAttributesSettingsFeedbackSchema",
5102
+ "type": "object",
5103
+ "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.",
5104
+ "properties": {
5105
+ "enabled": {
5106
+ "type": "boolean"
5107
+ }
5108
+ }
5079
5109
  }
5080
5110
  }
5081
5111
  }
@@ -5898,6 +5928,16 @@
5898
5928
  "ratingRestrictiveness": {
5899
5929
  "type": "string",
5900
5930
  "description": "Rating restrictiveness level (e.g. MODERATE, STRICT, LENIENT)"
5931
+ },
5932
+ "feedback": {
5933
+ "title": "JobAttributesSettingsFeedbackSchema",
5934
+ "type": "object",
5935
+ "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.",
5936
+ "properties": {
5937
+ "enabled": {
5938
+ "type": "boolean"
5939
+ }
5940
+ }
5901
5941
  }
5902
5942
  }
5903
5943
  }
@@ -9011,14 +9051,28 @@
9011
9051
  "properties": {
9012
9052
  "filterStatus": {
9013
9053
  "type": "string",
9014
- "description": "Returns feedbacks with the current status.",
9054
+ "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.",
9015
9055
  "enum": [
9016
9056
  "active",
9017
9057
  "draft",
9058
+ "accepted",
9018
9059
  "archived",
9019
9060
  "failed"
9020
9061
  ]
9021
9062
  },
9063
+ "filterStage": {
9064
+ "type": "string",
9065
+ "description": "Returns feedbacks for the given pipeline stage (StageIndex lookup). One filter at a time.",
9066
+ "enum": [
9067
+ "screening",
9068
+ "assessment",
9069
+ "interview"
9070
+ ]
9071
+ },
9072
+ "filterJobId": {
9073
+ "type": "string",
9074
+ "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."
9075
+ },
9022
9076
  "filterCreatedFrom": {
9023
9077
  "type": "string",
9024
9078
  "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
@@ -9098,9 +9152,10 @@
9098
9152
  "type": "string",
9099
9153
  "enum": [
9100
9154
  "screening",
9101
- "assessment"
9155
+ "assessment",
9156
+ "interview"
9102
9157
  ],
9103
- "description": "Pipeline stage this feedback configuration applies to. Matches candidate.stage."
9158
+ "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)."
9104
9159
  },
9105
9160
  "status": {
9106
9161
  "type": "string",
@@ -9110,11 +9165,16 @@
9110
9165
  "accepted",
9111
9166
  "archived",
9112
9167
  "failed"
9113
- ]
9168
+ ],
9169
+ "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)."
9114
9170
  },
9115
9171
  "source": {
9116
9172
  "type": "string"
9117
9173
  },
9174
+ "jobId": {
9175
+ "type": "string",
9176
+ "description": "Mirror of relationships.jobs[0].id for per-job overrides (server-maintained; absent on tenant defaults). Filter with filterJobId (JobIndex)."
9177
+ },
9118
9178
  "outcomes": {
9119
9179
  "title": "FeedbackOutcomesSchema",
9120
9180
  "type": "object",
@@ -9500,12 +9560,9 @@
9500
9560
  "type": "string"
9501
9561
  },
9502
9562
  "attributes": {
9503
- "title": "FeedbackAttributesSchema",
9563
+ "title": "UpdateFeedbackRequestBodyDataAttributes",
9504
9564
  "type": "object",
9505
- "required": [
9506
- "name",
9507
- "stage"
9508
- ],
9565
+ "description": "Partial update: only the fields present are merged (no field is required, unlike FeedbackAttributesSchema on create). Omitting a field leaves it unchanged.",
9509
9566
  "properties": {
9510
9567
  "name": {
9511
9568
  "type": "string"
@@ -9514,9 +9571,9 @@
9514
9571
  "type": "string",
9515
9572
  "enum": [
9516
9573
  "screening",
9517
- "assessment"
9518
- ],
9519
- "description": "Pipeline stage this feedback configuration applies to. Matches candidate.stage."
9574
+ "assessment",
9575
+ "interview"
9576
+ ]
9520
9577
  },
9521
9578
  "status": {
9522
9579
  "type": "string",
@@ -9795,20 +9852,6 @@
9795
9852
  }
9796
9853
  }
9797
9854
  }
9798
- },
9799
- "timestamps": {
9800
- "title": "ResourceTimestampsSchema",
9801
- "type": "object",
9802
- "properties": {
9803
- "created": {
9804
- "type": "string",
9805
- "format": "date-time"
9806
- },
9807
- "modified": {
9808
- "type": "string",
9809
- "format": "date-time"
9810
- }
9811
- }
9812
9855
  }
9813
9856
  }
9814
9857
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",