@smartytalent/mcp-tools 0.9.2 → 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 +75 -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
  }
@@ -6187,6 +6227,10 @@
6187
6227
  "type": "string",
6188
6228
  "description": "Preferred language code (e.g., en-US, pl-PL)"
6189
6229
  },
6230
+ "profilePictureUrl": {
6231
+ "type": "string",
6232
+ "description": "Public CDN URL of the applicant's photo, snapshotted ONCE from talent.profilePictureUrl when the candidature is created (the CV photo the applicant sent for this application). Read-only here - the talent is the source of truth and later talent photo changes do not propagate. Null when the CV carried no usable portrait or the talent has no future-recruitment consent."
6233
+ },
6190
6234
  "recommendationStatusCode": {
6191
6235
  "oneOf": [
6192
6236
  {
@@ -6741,6 +6785,10 @@
6741
6785
  "type": "string",
6742
6786
  "description": "Preferred language code (e.g., en-US, pl-PL)"
6743
6787
  },
6788
+ "profilePictureUrl": {
6789
+ "type": "string",
6790
+ "description": "Public CDN URL of the applicant's photo, snapshotted ONCE from talent.profilePictureUrl when the candidature is created (the CV photo the applicant sent for this application). Read-only here - the talent is the source of truth and later talent photo changes do not propagate. Null when the CV carried no usable portrait or the talent has no future-recruitment consent."
6791
+ },
6744
6792
  "recommendationStatusCode": {
6745
6793
  "oneOf": [
6746
6794
  {
@@ -9003,14 +9051,24 @@
9003
9051
  "properties": {
9004
9052
  "filterStatus": {
9005
9053
  "type": "string",
9006
- "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.",
9007
9055
  "enum": [
9008
9056
  "active",
9009
9057
  "draft",
9058
+ "accepted",
9010
9059
  "archived",
9011
9060
  "failed"
9012
9061
  ]
9013
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
+ },
9014
9072
  "filterCreatedFrom": {
9015
9073
  "type": "string",
9016
9074
  "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
@@ -9090,9 +9148,10 @@
9090
9148
  "type": "string",
9091
9149
  "enum": [
9092
9150
  "screening",
9093
- "assessment"
9151
+ "assessment",
9152
+ "interview"
9094
9153
  ],
9095
- "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)."
9096
9155
  },
9097
9156
  "status": {
9098
9157
  "type": "string",
@@ -9102,11 +9161,16 @@
9102
9161
  "accepted",
9103
9162
  "archived",
9104
9163
  "failed"
9105
- ]
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)."
9106
9166
  },
9107
9167
  "source": {
9108
9168
  "type": "string"
9109
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
+ },
9110
9174
  "outcomes": {
9111
9175
  "title": "FeedbackOutcomesSchema",
9112
9176
  "type": "object",
@@ -9492,12 +9556,9 @@
9492
9556
  "type": "string"
9493
9557
  },
9494
9558
  "attributes": {
9495
- "title": "FeedbackAttributesSchema",
9559
+ "title": "UpdateFeedbackRequestBodyDataAttributes",
9496
9560
  "type": "object",
9497
- "required": [
9498
- "name",
9499
- "stage"
9500
- ],
9561
+ "description": "Partial update: only the fields present are merged (no field is required, unlike FeedbackAttributesSchema on create). Omitting a field leaves it unchanged.",
9501
9562
  "properties": {
9502
9563
  "name": {
9503
9564
  "type": "string"
@@ -9506,9 +9567,9 @@
9506
9567
  "type": "string",
9507
9568
  "enum": [
9508
9569
  "screening",
9509
- "assessment"
9510
- ],
9511
- "description": "Pipeline stage this feedback configuration applies to. Matches candidate.stage."
9570
+ "assessment",
9571
+ "interview"
9572
+ ]
9512
9573
  },
9513
9574
  "status": {
9514
9575
  "type": "string",
@@ -9787,20 +9848,6 @@
9787
9848
  }
9788
9849
  }
9789
9850
  }
9790
- },
9791
- "timestamps": {
9792
- "title": "ResourceTimestampsSchema",
9793
- "type": "object",
9794
- "properties": {
9795
- "created": {
9796
- "type": "string",
9797
- "format": "date-time"
9798
- },
9799
- "modified": {
9800
- "type": "string",
9801
- "format": "date-time"
9802
- }
9803
- }
9804
9851
  }
9805
9852
  }
9806
9853
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.9.2",
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",