@smartytalent/mcp-tools 0.7.12 → 0.8.1

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 +236 -0
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -3773,6 +3773,14 @@
3773
3773
  "meta": {
3774
3774
  "type": "object",
3775
3775
  "additionalProperties": true
3776
+ },
3777
+ "consentCurrent": {
3778
+ "type": "boolean",
3779
+ "description": "Write-only, honoured on PATCH. Consent to process for the current recruitment. Merges into `consent.current`, which is what reads return."
3780
+ },
3781
+ "consentFuture": {
3782
+ "type": "boolean",
3783
+ "description": "Write-only, honoured on PATCH. Consent to be kept for future recruitments (TalentPool). The TalentPool search hard-gates on it, so changing this flag re-indexes the talent - set it false to honour a withdrawal."
3776
3784
  }
3777
3785
  }
3778
3786
  },
@@ -4396,6 +4404,14 @@
4396
4404
  "meta": {
4397
4405
  "type": "object",
4398
4406
  "additionalProperties": true
4407
+ },
4408
+ "consentCurrent": {
4409
+ "type": "boolean",
4410
+ "description": "Write-only, honoured on PATCH. Consent to process for the current recruitment. Merges into `consent.current`, which is what reads return."
4411
+ },
4412
+ "consentFuture": {
4413
+ "type": "boolean",
4414
+ "description": "Write-only, honoured on PATCH. Consent to be kept for future recruitments (TalentPool). The TalentPool search hard-gates on it, so changing this flag re-indexes the talent - set it false to honour a withdrawal."
4399
4415
  }
4400
4416
  }
4401
4417
  }
@@ -9556,6 +9572,226 @@
9556
9572
  "operationId": "feedbackOptions"
9557
9573
  }
9558
9574
  },
9575
+ {
9576
+ "name": "list_surveys",
9577
+ "description": "List Surveys",
9578
+ "inputSchema": {
9579
+ "type": "object",
9580
+ "properties": {
9581
+ "filterStatus": {
9582
+ "type": "string",
9583
+ "description": "Returns surveys with the current status.",
9584
+ "enum": [
9585
+ "pending",
9586
+ "completed",
9587
+ "expired"
9588
+ ]
9589
+ },
9590
+ "filterCandidateId": {
9591
+ "type": "string",
9592
+ "description": "Filter by the candidate the survey was sent to."
9593
+ },
9594
+ "filterCreatedFrom": {
9595
+ "type": "string",
9596
+ "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
9597
+ },
9598
+ "filterCreatedTo": {
9599
+ "type": "string",
9600
+ "description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
9601
+ },
9602
+ "filterModifiedFrom": {
9603
+ "type": "string",
9604
+ "description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
9605
+ },
9606
+ "filterModifiedTo": {
9607
+ "type": "string",
9608
+ "description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
9609
+ },
9610
+ "pageSize": {
9611
+ "type": "integer",
9612
+ "description": "Specifies the number of items to retrieve per page. The maximum value is 100."
9613
+ },
9614
+ "pageNumber": {
9615
+ "type": "integer",
9616
+ "description": "Specifies the page number to retrieve. Used for traditional pagination."
9617
+ },
9618
+ "pageAfter": {
9619
+ "type": "string",
9620
+ "description": "Opaque base64-encoded cursor returned by a previous list response, used for forward cursor-based pagination. Pass the value verbatim; do not decode or mutate it."
9621
+ },
9622
+ "pageBefore": {
9623
+ "type": "string",
9624
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
9625
+ }
9626
+ }
9627
+ },
9628
+ "_meta": {
9629
+ "method": "GET",
9630
+ "path": "/v1/surveys",
9631
+ "operationId": "listSurveys"
9632
+ }
9633
+ },
9634
+ {
9635
+ "name": "surveys_options",
9636
+ "description": "Surveys Options",
9637
+ "inputSchema": {
9638
+ "type": "object",
9639
+ "properties": {}
9640
+ },
9641
+ "_meta": {
9642
+ "method": "OPTIONS",
9643
+ "path": "/v1/surveys",
9644
+ "operationId": "surveysOptions"
9645
+ }
9646
+ },
9647
+ {
9648
+ "name": "show_survey",
9649
+ "description": "Show Survey",
9650
+ "inputSchema": {
9651
+ "type": "object",
9652
+ "properties": {
9653
+ "surveyId": {
9654
+ "type": "string",
9655
+ "description": "surveyId parameter"
9656
+ }
9657
+ },
9658
+ "required": [
9659
+ "surveyId"
9660
+ ]
9661
+ },
9662
+ "_meta": {
9663
+ "method": "GET",
9664
+ "path": "/v1/surveys/{surveyId}",
9665
+ "operationId": "showSurvey"
9666
+ }
9667
+ },
9668
+ {
9669
+ "name": "survey_options",
9670
+ "description": "Survey Options",
9671
+ "inputSchema": {
9672
+ "type": "object",
9673
+ "properties": {}
9674
+ },
9675
+ "_meta": {
9676
+ "method": "OPTIONS",
9677
+ "path": "/v1/surveys/{surveyId}",
9678
+ "operationId": "surveyOptions"
9679
+ }
9680
+ },
9681
+ {
9682
+ "name": "show_guest_survey",
9683
+ "description": "Show Guest Survey",
9684
+ "inputSchema": {
9685
+ "type": "object",
9686
+ "properties": {
9687
+ "tenantId": {
9688
+ "type": "string",
9689
+ "description": "Base tenant id from the emailed link. Half of the guest auth pair."
9690
+ },
9691
+ "token": {
9692
+ "type": "string",
9693
+ "description": "Per-survey accessToken from the emailed link. Compared with hmac.compare_digest; mismatch returns 404."
9694
+ }
9695
+ },
9696
+ "required": [
9697
+ "tenantId",
9698
+ "token"
9699
+ ]
9700
+ },
9701
+ "_meta": {
9702
+ "method": "GET",
9703
+ "path": "/v1/guest/surveys/{surveyId}",
9704
+ "operationId": "showGuestSurvey"
9705
+ }
9706
+ },
9707
+ {
9708
+ "name": "submit_guest_survey",
9709
+ "description": "Submit Guest Survey",
9710
+ "inputSchema": {
9711
+ "title": "SubmitGuestSurveyRequestBody",
9712
+ "type": "object",
9713
+ "required": [
9714
+ "data",
9715
+ "meta"
9716
+ ],
9717
+ "properties": {
9718
+ "data": {
9719
+ "title": "SubmitGuestSurveyRequestBodyData",
9720
+ "type": "object",
9721
+ "required": [
9722
+ "type",
9723
+ "attributes"
9724
+ ],
9725
+ "properties": {
9726
+ "type": {
9727
+ "type": "string",
9728
+ "enum": [
9729
+ "surveys"
9730
+ ]
9731
+ },
9732
+ "id": {
9733
+ "type": "string"
9734
+ },
9735
+ "attributes": {
9736
+ "title": "SubmitGuestSurveyRequestBodyDataAttributes",
9737
+ "type": "object",
9738
+ "required": [
9739
+ "score"
9740
+ ],
9741
+ "properties": {
9742
+ "score": {
9743
+ "type": "integer",
9744
+ "minimum": 0,
9745
+ "maximum": 10,
9746
+ "description": "The NPS answer. 0-6 buckets to detractor, 7-8 passive, 9-10 promoter - the bucketing happens server-side."
9747
+ },
9748
+ "comment": {
9749
+ "type": "string",
9750
+ "maxLength": 2000,
9751
+ "description": "Optional free text. Trimmed server-side; an empty string is stored as absent."
9752
+ }
9753
+ }
9754
+ }
9755
+ }
9756
+ },
9757
+ "meta": {
9758
+ "title": "GuestSurveyMetaSchema",
9759
+ "description": "Auth context for the unauthenticated PATCH /v1/guest/surveys/{id}.\nBoth values come from the emailed link, never from a session -\nthere is no authorizer on the guest path. tenantId is the BASE\ntenant id; accessToken is the per-survey token minted at create and\ncompared with hmac.compare_digest. Any mismatch returns 404,\nintentionally indistinguishable from \"survey not found\" so survey\nexistence is never leaked.",
9760
+ "type": "object",
9761
+ "required": [
9762
+ "tenantId",
9763
+ "accessToken"
9764
+ ],
9765
+ "properties": {
9766
+ "tenantId": {
9767
+ "type": "string"
9768
+ },
9769
+ "accessToken": {
9770
+ "type": "string"
9771
+ }
9772
+ }
9773
+ }
9774
+ }
9775
+ },
9776
+ "_meta": {
9777
+ "method": "PATCH",
9778
+ "path": "/v1/guest/surveys/{surveyId}",
9779
+ "operationId": "submitGuestSurvey"
9780
+ }
9781
+ },
9782
+ {
9783
+ "name": "guest_survey_options",
9784
+ "description": "Guest Survey Options",
9785
+ "inputSchema": {
9786
+ "type": "object",
9787
+ "properties": {}
9788
+ },
9789
+ "_meta": {
9790
+ "method": "OPTIONS",
9791
+ "path": "/v1/guest/surveys/{surveyId}",
9792
+ "operationId": "guestSurveyOptions"
9793
+ }
9794
+ },
9559
9795
  {
9560
9796
  "name": "list_schedules",
9561
9797
  "description": "List Schedules",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.7.12",
3
+ "version": "0.8.1",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",