@smartytalent/mcp-tools 0.9.3 → 0.9.4

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 +67 -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,24 @@
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 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
+ },
9022
9072
  "filterCreatedFrom": {
9023
9073
  "type": "string",
9024
9074
  "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
@@ -9098,9 +9148,10 @@
9098
9148
  "type": "string",
9099
9149
  "enum": [
9100
9150
  "screening",
9101
- "assessment"
9151
+ "assessment",
9152
+ "interview"
9102
9153
  ],
9103
- "description": "Pipeline stage this feedback configuration applies to. Matches candidate.stage."
9154
+ "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
9155
  },
9105
9156
  "status": {
9106
9157
  "type": "string",
@@ -9110,11 +9161,16 @@
9110
9161
  "accepted",
9111
9162
  "archived",
9112
9163
  "failed"
9113
- ]
9164
+ ],
9165
+ "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
9166
  },
9115
9167
  "source": {
9116
9168
  "type": "string"
9117
9169
  },
9170
+ "jobId": {
9171
+ "type": "string",
9172
+ "description": "Mirror of relationships.jobs[0].id for per-job overrides (server-maintained; absent on tenant defaults). A filterJobId query parameter arrives together with the JobIndex GSI in a later release."
9173
+ },
9118
9174
  "outcomes": {
9119
9175
  "title": "FeedbackOutcomesSchema",
9120
9176
  "type": "object",
@@ -9500,12 +9556,9 @@
9500
9556
  "type": "string"
9501
9557
  },
9502
9558
  "attributes": {
9503
- "title": "FeedbackAttributesSchema",
9559
+ "title": "UpdateFeedbackRequestBodyDataAttributes",
9504
9560
  "type": "object",
9505
- "required": [
9506
- "name",
9507
- "stage"
9508
- ],
9561
+ "description": "Partial update: only the fields present are merged (no field is required, unlike FeedbackAttributesSchema on create). Omitting a field leaves it unchanged.",
9509
9562
  "properties": {
9510
9563
  "name": {
9511
9564
  "type": "string"
@@ -9514,9 +9567,9 @@
9514
9567
  "type": "string",
9515
9568
  "enum": [
9516
9569
  "screening",
9517
- "assessment"
9518
- ],
9519
- "description": "Pipeline stage this feedback configuration applies to. Matches candidate.stage."
9570
+ "assessment",
9571
+ "interview"
9572
+ ]
9520
9573
  },
9521
9574
  "status": {
9522
9575
  "type": "string",
@@ -9795,20 +9848,6 @@
9795
9848
  }
9796
9849
  }
9797
9850
  }
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
9851
  }
9813
9852
  }
9814
9853
  },
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.4",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",