@smartytalent/mcp-tools 0.8.7 → 0.8.9

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 +432 -1
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -1036,7 +1036,8 @@
1036
1036
  "enum": [
1037
1037
  "logo",
1038
1038
  "background",
1039
- "favicon"
1039
+ "favicon",
1040
+ "careers"
1040
1041
  ]
1041
1042
  }
1042
1043
  }
@@ -8410,6 +8411,16 @@
8410
8411
  "archived"
8411
8412
  ]
8412
8413
  },
8414
+ "filterKind": {
8415
+ "type": "string",
8416
+ "description": "Returns forms of one kind (e.g. candidateSubmission) - the careers/apply editors resolve the application form without paging everything.",
8417
+ "enum": [
8418
+ "jobBrief",
8419
+ "candidateSubmission",
8420
+ "talentSubmission",
8421
+ "general"
8422
+ ]
8423
+ },
8413
8424
  "filterCreatedFrom": {
8414
8425
  "type": "string",
8415
8426
  "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
@@ -10845,6 +10856,426 @@
10845
10856
  "operationId": "guestDocumentOptions"
10846
10857
  }
10847
10858
  },
10859
+ {
10860
+ "name": "list_careers",
10861
+ "description": "List Careers",
10862
+ "inputSchema": {
10863
+ "type": "object",
10864
+ "properties": {
10865
+ "filterStatus": {
10866
+ "type": "string",
10867
+ "description": "filterStatus parameter",
10868
+ "enum": [
10869
+ "draft",
10870
+ "active",
10871
+ "archived"
10872
+ ]
10873
+ },
10874
+ "filterCreatedFrom": {
10875
+ "type": "string",
10876
+ "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
10877
+ },
10878
+ "filterCreatedTo": {
10879
+ "type": "string",
10880
+ "description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
10881
+ },
10882
+ "filterModifiedFrom": {
10883
+ "type": "string",
10884
+ "description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
10885
+ },
10886
+ "filterModifiedTo": {
10887
+ "type": "string",
10888
+ "description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
10889
+ },
10890
+ "pageSize": {
10891
+ "type": "integer",
10892
+ "description": "Specifies the number of items to retrieve per page. The maximum value is 100."
10893
+ },
10894
+ "pageNumber": {
10895
+ "type": "integer",
10896
+ "description": "Specifies the page number to retrieve. Used for traditional pagination."
10897
+ },
10898
+ "pageAfter": {
10899
+ "type": "string",
10900
+ "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."
10901
+ },
10902
+ "pageBefore": {
10903
+ "type": "string",
10904
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
10905
+ }
10906
+ }
10907
+ },
10908
+ "_meta": {
10909
+ "method": "GET",
10910
+ "path": "/v1/careers",
10911
+ "operationId": "listCareers"
10912
+ }
10913
+ },
10914
+ {
10915
+ "name": "create_career",
10916
+ "description": "Create Career",
10917
+ "inputSchema": {
10918
+ "title": "CreateCareerRequestBody",
10919
+ "type": "object",
10920
+ "required": [
10921
+ "data"
10922
+ ],
10923
+ "properties": {
10924
+ "data": {
10925
+ "title": "CreateCareerRequestBodyData",
10926
+ "type": "object",
10927
+ "required": [
10928
+ "type"
10929
+ ],
10930
+ "properties": {
10931
+ "type": {
10932
+ "type": "string",
10933
+ "enum": [
10934
+ "careers"
10935
+ ]
10936
+ },
10937
+ "attributes": {
10938
+ "title": "CreateCareerRequestBodyDataAttributes",
10939
+ "type": "object",
10940
+ "properties": {
10941
+ "name": {
10942
+ "type": "string",
10943
+ "minLength": 1,
10944
+ "maxLength": 255
10945
+ },
10946
+ "sourceLanguage": {
10947
+ "type": "string",
10948
+ "description": "BCP-47 tag; defaults to en-US. Seeds the skeleton's locale."
10949
+ },
10950
+ "content": {
10951
+ "title": "CareersContentSchema",
10952
+ "type": "object",
10953
+ "description": "Ordered-blocks careers document. Locale keys are BCP-47 (en-US,\npl-PL, ...). Publish rules (mirrored by the editor): schemaVersion\n1; 1-24 blocks with unique ids; exactly one enabled hero (FIRST\namong enabled blocks) and one enabled positions; <=12 items per\nrepeater; every locale-map string of an ENABLED block non-empty for\nevery locale in `locales`; `locales` is a non-empty subset of the\ntenant's activeLanguages plus sourceLanguage and must contain\nsourceLanguage; absolute URLs only under the tenant's OWN CDN\nprefixes (tenants/{shortCode}/ or tenants/{tenantId}/) OR an https\nvideo embed on youtube.com / www.youtube.com / youtu.be /\nyoutube-nocookie.com / vimeo.com / player.vimeo.com - the embed\nallowlist applies ANYWHERE in the tree, is matched on the parsed\nHOST (not a string prefix) and never accepts http; no < or > in\ntext; <=131072 BYTES (UTF-8).",
10954
+ "properties": {
10955
+ "schemaVersion": {
10956
+ "type": "integer",
10957
+ "enum": [
10958
+ 1
10959
+ ]
10960
+ },
10961
+ "sourceLanguage": {
10962
+ "type": "string",
10963
+ "description": "BCP-47 tag."
10964
+ },
10965
+ "locales": {
10966
+ "type": "array",
10967
+ "items": {
10968
+ "type": "string"
10969
+ },
10970
+ "description": "The locales the page publishes in. The public language switcher offers exactly these."
10971
+ },
10972
+ "theme": {
10973
+ "title": "CareersThemeSchema",
10974
+ "type": "object",
10975
+ "description": "Optional per-tenant palette, published alongside `branding` in\nthe public document. Absent means the page renders the product\ndefaults. Values are interpolated into CSS custom properties on\na PUBLIC page, so each is pattern-bounded rather than free-form\nCSS. Unknown keys are ignored (forward-compatible), but\n`primaryColor` is required once the object is present.",
10976
+ "properties": {
10977
+ "primaryColor": {
10978
+ "type": "string",
10979
+ "pattern": "^#[0-9a-fA-F]{6}$",
10980
+ "description": "6-digit hex, e.g. #1a73e8."
10981
+ },
10982
+ "secondaryColor": {
10983
+ "type": "string",
10984
+ "pattern": "^#[0-9a-fA-F]{6}$"
10985
+ },
10986
+ "buttonRadius": {
10987
+ "type": "integer",
10988
+ "minimum": 0,
10989
+ "maximum": 32,
10990
+ "description": "Corner radius in PIXELS. A bounded number, not a CSS length string."
10991
+ }
10992
+ }
10993
+ },
10994
+ "blocks": {
10995
+ "type": "array",
10996
+ "minItems": 1,
10997
+ "maxItems": 24,
10998
+ "items": {
10999
+ "title": "CareersBlockSchema",
11000
+ "type": "object",
11001
+ "description": "One page section. `data` is the block-type-specific payload: plain\nfields (icon names, urls) plus locale maps\n({\"en-US\": \"...\", \"pl-PL\": \"...\"}) for every visitor-facing string;\nrepeaters are arrays of such objects (<=12 items). The catalog is\nCLOSED - there is no free-form HTML block (XSS door on a public\npage).",
11002
+ "properties": {
11003
+ "id": {
11004
+ "type": "string",
11005
+ "maxLength": 64,
11006
+ "description": "Stable within the document; [A-Za-z0-9_-]."
11007
+ },
11008
+ "type": {
11009
+ "type": "string",
11010
+ "enum": [
11011
+ "hero",
11012
+ "stats",
11013
+ "positions",
11014
+ "features",
11015
+ "team",
11016
+ "testimonials",
11017
+ "faq",
11018
+ "gallery",
11019
+ "cta",
11020
+ "richText"
11021
+ ]
11022
+ },
11023
+ "enabled": {
11024
+ "type": "boolean",
11025
+ "description": "Disabled blocks stay in the draft (and keep translations) but never ship to the public doc and are locale-exempt at publish."
11026
+ },
11027
+ "data": {
11028
+ "type": "object",
11029
+ "additionalProperties": true
11030
+ }
11031
+ }
11032
+ }
11033
+ }
11034
+ }
11035
+ }
11036
+ }
11037
+ }
11038
+ }
11039
+ }
11040
+ }
11041
+ },
11042
+ "_meta": {
11043
+ "method": "POST",
11044
+ "path": "/v1/careers",
11045
+ "operationId": "createCareer"
11046
+ }
11047
+ },
11048
+ {
11049
+ "name": "careers_options",
11050
+ "description": "Careers Options",
11051
+ "inputSchema": {
11052
+ "type": "object",
11053
+ "properties": {}
11054
+ },
11055
+ "_meta": {
11056
+ "method": "OPTIONS",
11057
+ "path": "/v1/careers",
11058
+ "operationId": "careersOptions"
11059
+ }
11060
+ },
11061
+ {
11062
+ "name": "show_career",
11063
+ "description": "Show Career",
11064
+ "inputSchema": {
11065
+ "type": "object",
11066
+ "properties": {
11067
+ "careerId": {
11068
+ "type": "string",
11069
+ "description": "careerId parameter"
11070
+ }
11071
+ },
11072
+ "required": [
11073
+ "careerId"
11074
+ ]
11075
+ },
11076
+ "_meta": {
11077
+ "method": "GET",
11078
+ "path": "/v1/careers/{careerId}",
11079
+ "operationId": "showCareer"
11080
+ }
11081
+ },
11082
+ {
11083
+ "name": "update_career",
11084
+ "description": "Update Career",
11085
+ "inputSchema": {
11086
+ "type": "object",
11087
+ "properties": {
11088
+ "careerId": {
11089
+ "type": "string",
11090
+ "description": "careerId parameter"
11091
+ },
11092
+ "requestBody": {
11093
+ "title": "UpdateCareerRequestBody",
11094
+ "type": "object",
11095
+ "required": [
11096
+ "data"
11097
+ ],
11098
+ "properties": {
11099
+ "data": {
11100
+ "title": "UpdateCareerRequestBodyData",
11101
+ "type": "object",
11102
+ "required": [
11103
+ "type"
11104
+ ],
11105
+ "properties": {
11106
+ "type": {
11107
+ "type": "string",
11108
+ "enum": [
11109
+ "careers"
11110
+ ]
11111
+ },
11112
+ "id": {
11113
+ "type": "string"
11114
+ },
11115
+ "attributes": {
11116
+ "title": "UpdateCareerRequestBodyDataAttributes",
11117
+ "type": "object",
11118
+ "properties": {
11119
+ "name": {
11120
+ "type": "string",
11121
+ "minLength": 1,
11122
+ "maxLength": 255
11123
+ },
11124
+ "status": {
11125
+ "type": "string",
11126
+ "enum": [
11127
+ "draft",
11128
+ "active",
11129
+ "archived"
11130
+ ],
11131
+ "description": "active = publish (writes the CDN doc). archived = takedown (removes it; repeat to retry). Allowed transitions: draft->active, draft->archived, active->archived, archived->active."
11132
+ },
11133
+ "sourceLanguage": {
11134
+ "type": "string",
11135
+ "description": "BCP-47 tag."
11136
+ },
11137
+ "translate": {
11138
+ "type": "boolean",
11139
+ "description": "Write-only: async-fill missing locale entries of the draft from sourceLanguage."
11140
+ },
11141
+ "content": {
11142
+ "title": "CareersContentSchema",
11143
+ "type": "object",
11144
+ "description": "Ordered-blocks careers document. Locale keys are BCP-47 (en-US,\npl-PL, ...). Publish rules (mirrored by the editor): schemaVersion\n1; 1-24 blocks with unique ids; exactly one enabled hero (FIRST\namong enabled blocks) and one enabled positions; <=12 items per\nrepeater; every locale-map string of an ENABLED block non-empty for\nevery locale in `locales`; `locales` is a non-empty subset of the\ntenant's activeLanguages plus sourceLanguage and must contain\nsourceLanguage; absolute URLs only under the tenant's OWN CDN\nprefixes (tenants/{shortCode}/ or tenants/{tenantId}/) OR an https\nvideo embed on youtube.com / www.youtube.com / youtu.be /\nyoutube-nocookie.com / vimeo.com / player.vimeo.com - the embed\nallowlist applies ANYWHERE in the tree, is matched on the parsed\nHOST (not a string prefix) and never accepts http; no < or > in\ntext; <=131072 BYTES (UTF-8).",
11145
+ "properties": {
11146
+ "schemaVersion": {
11147
+ "type": "integer",
11148
+ "enum": [
11149
+ 1
11150
+ ]
11151
+ },
11152
+ "sourceLanguage": {
11153
+ "type": "string",
11154
+ "description": "BCP-47 tag."
11155
+ },
11156
+ "locales": {
11157
+ "type": "array",
11158
+ "items": {
11159
+ "type": "string"
11160
+ },
11161
+ "description": "The locales the page publishes in. The public language switcher offers exactly these."
11162
+ },
11163
+ "theme": {
11164
+ "title": "CareersThemeSchema",
11165
+ "type": "object",
11166
+ "description": "Optional per-tenant palette, published alongside `branding` in\nthe public document. Absent means the page renders the product\ndefaults. Values are interpolated into CSS custom properties on\na PUBLIC page, so each is pattern-bounded rather than free-form\nCSS. Unknown keys are ignored (forward-compatible), but\n`primaryColor` is required once the object is present.",
11167
+ "properties": {
11168
+ "primaryColor": {
11169
+ "type": "string",
11170
+ "pattern": "^#[0-9a-fA-F]{6}$",
11171
+ "description": "6-digit hex, e.g. #1a73e8."
11172
+ },
11173
+ "secondaryColor": {
11174
+ "type": "string",
11175
+ "pattern": "^#[0-9a-fA-F]{6}$"
11176
+ },
11177
+ "buttonRadius": {
11178
+ "type": "integer",
11179
+ "minimum": 0,
11180
+ "maximum": 32,
11181
+ "description": "Corner radius in PIXELS. A bounded number, not a CSS length string."
11182
+ }
11183
+ }
11184
+ },
11185
+ "blocks": {
11186
+ "type": "array",
11187
+ "minItems": 1,
11188
+ "maxItems": 24,
11189
+ "items": {
11190
+ "title": "CareersBlockSchema",
11191
+ "type": "object",
11192
+ "description": "One page section. `data` is the block-type-specific payload: plain\nfields (icon names, urls) plus locale maps\n({\"en-US\": \"...\", \"pl-PL\": \"...\"}) for every visitor-facing string;\nrepeaters are arrays of such objects (<=12 items). The catalog is\nCLOSED - there is no free-form HTML block (XSS door on a public\npage).",
11193
+ "properties": {
11194
+ "id": {
11195
+ "type": "string",
11196
+ "maxLength": 64,
11197
+ "description": "Stable within the document; [A-Za-z0-9_-]."
11198
+ },
11199
+ "type": {
11200
+ "type": "string",
11201
+ "enum": [
11202
+ "hero",
11203
+ "stats",
11204
+ "positions",
11205
+ "features",
11206
+ "team",
11207
+ "testimonials",
11208
+ "faq",
11209
+ "gallery",
11210
+ "cta",
11211
+ "richText"
11212
+ ]
11213
+ },
11214
+ "enabled": {
11215
+ "type": "boolean",
11216
+ "description": "Disabled blocks stay in the draft (and keep translations) but never ship to the public doc and are locale-exempt at publish."
11217
+ },
11218
+ "data": {
11219
+ "type": "object",
11220
+ "additionalProperties": true
11221
+ }
11222
+ }
11223
+ }
11224
+ }
11225
+ }
11226
+ }
11227
+ }
11228
+ }
11229
+ }
11230
+ }
11231
+ }
11232
+ }
11233
+ },
11234
+ "required": [
11235
+ "careerId",
11236
+ "requestBody"
11237
+ ]
11238
+ },
11239
+ "_meta": {
11240
+ "method": "PATCH",
11241
+ "path": "/v1/careers/{careerId}",
11242
+ "operationId": "updateCareer"
11243
+ }
11244
+ },
11245
+ {
11246
+ "name": "delete_career",
11247
+ "description": "Delete Career",
11248
+ "inputSchema": {
11249
+ "type": "object",
11250
+ "properties": {
11251
+ "careerId": {
11252
+ "type": "string",
11253
+ "description": "careerId parameter"
11254
+ }
11255
+ },
11256
+ "required": [
11257
+ "careerId"
11258
+ ]
11259
+ },
11260
+ "_meta": {
11261
+ "method": "DELETE",
11262
+ "path": "/v1/careers/{careerId}",
11263
+ "operationId": "deleteCareer"
11264
+ }
11265
+ },
11266
+ {
11267
+ "name": "career_options",
11268
+ "description": "Career Options",
11269
+ "inputSchema": {
11270
+ "type": "object",
11271
+ "properties": {}
11272
+ },
11273
+ "_meta": {
11274
+ "method": "OPTIONS",
11275
+ "path": "/v1/careers/{careerId}",
11276
+ "operationId": "careerOptions"
11277
+ }
11278
+ },
10848
11279
  {
10849
11280
  "name": "list_schedules",
10850
11281
  "description": "List Schedules",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.8.7",
3
+ "version": "0.8.9",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",