@smartytalent/mcp-tools 0.1.18 → 0.1.19

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 +305 -66
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -7173,74 +7173,219 @@
7173
7173
  "name": "create_submission",
7174
7174
  "description": "Create Submission",
7175
7175
  "inputSchema": {
7176
+ "title": "CreateSubmissionRequestBody",
7176
7177
  "type": "object",
7177
7178
  "required": [
7178
- "name",
7179
- "email",
7180
- "tenantId",
7181
- "formId"
7179
+ "data"
7182
7180
  ],
7183
7181
  "properties": {
7184
- "tenantId": {
7185
- "type": "string"
7186
- },
7187
- "formId": {
7188
- "type": "string"
7189
- },
7190
- "name": {
7191
- "type": "string"
7192
- },
7193
- "email": {
7194
- "type": "string"
7195
- },
7196
- "phone": {
7197
- "type": "string"
7198
- },
7199
- "files": {
7200
- "type": "array",
7201
- "items": {
7202
- "type": "object",
7203
- "properties": {
7204
- "fileKey": {
7205
- "type": "string"
7206
- },
7207
- "originalFilename": {
7208
- "type": "string"
7209
- }
7210
- }
7211
- }
7212
- },
7213
- "fields": {
7214
- "type": "object"
7215
- },
7216
- "language": {
7217
- "type": "string"
7218
- },
7219
- "jobId": {
7220
- "type": "string"
7221
- },
7222
- "referral": {
7182
+ "data": {
7183
+ "title": "CreateSubmissionRequestBodyData",
7223
7184
  "type": "object",
7185
+ "required": [
7186
+ "type",
7187
+ "attributes"
7188
+ ],
7224
7189
  "properties": {
7225
- "referrerName": {
7226
- "type": "string"
7227
- },
7228
- "referrerEmail": {
7229
- "type": "string"
7190
+ "type": {
7191
+ "type": "string",
7192
+ "enum": [
7193
+ "submissions"
7194
+ ]
7230
7195
  },
7231
- "relationship": {
7232
- "type": "string"
7196
+ "attributes": {
7197
+ "title": "SubmissionAttributesSchema",
7198
+ "type": "object",
7199
+ "required": [
7200
+ "name",
7201
+ "email"
7202
+ ],
7203
+ "properties": {
7204
+ "name": {
7205
+ "type": "string"
7206
+ },
7207
+ "email": {
7208
+ "type": "string"
7209
+ },
7210
+ "phone": {
7211
+ "type": "string"
7212
+ },
7213
+ "source": {
7214
+ "type": "string",
7215
+ "enum": [
7216
+ "form",
7217
+ "email",
7218
+ "call",
7219
+ "api"
7220
+ ]
7221
+ },
7222
+ "status": {
7223
+ "type": "string",
7224
+ "enum": [
7225
+ "received",
7226
+ "processing",
7227
+ "processed",
7228
+ "failed"
7229
+ ]
7230
+ },
7231
+ "language": {
7232
+ "type": "string"
7233
+ },
7234
+ "fields": {
7235
+ "type": "object",
7236
+ "description": "Custom form field answers keyed by field identifier"
7237
+ },
7238
+ "files": {
7239
+ "type": "array",
7240
+ "items": {
7241
+ "type": "object",
7242
+ "properties": {
7243
+ "key": {
7244
+ "type": "string"
7245
+ },
7246
+ "bucket": {
7247
+ "type": "string"
7248
+ },
7249
+ "name": {
7250
+ "type": "string"
7251
+ },
7252
+ "contentType": {
7253
+ "type": "string"
7254
+ }
7255
+ }
7256
+ }
7257
+ },
7258
+ "referral": {
7259
+ "type": "object",
7260
+ "properties": {
7261
+ "referrerName": {
7262
+ "type": "string"
7263
+ },
7264
+ "referrerEmail": {
7265
+ "type": "string"
7266
+ },
7267
+ "relationship": {
7268
+ "type": "string"
7269
+ },
7270
+ "note": {
7271
+ "type": "string"
7272
+ }
7273
+ }
7274
+ },
7275
+ "consent": {
7276
+ "type": "object",
7277
+ "properties": {
7278
+ "current": {
7279
+ "type": "boolean"
7280
+ },
7281
+ "future": {
7282
+ "type": "boolean"
7283
+ }
7284
+ }
7285
+ },
7286
+ "timestamps": {
7287
+ "title": "ResourceTimestampsSchema",
7288
+ "type": "object",
7289
+ "properties": {
7290
+ "created": {
7291
+ "type": "string",
7292
+ "format": "date-time"
7293
+ },
7294
+ "modified": {
7295
+ "type": "string",
7296
+ "format": "date-time"
7297
+ }
7298
+ }
7299
+ }
7300
+ }
7233
7301
  },
7234
- "note": {
7235
- "type": "string"
7302
+ "relationships": {
7303
+ "title": "SubmissionRelationshipsSchema",
7304
+ "type": "object",
7305
+ "properties": {
7306
+ "forms": {
7307
+ "title": "SubmissionRelationshipsFormsSchema",
7308
+ "type": "object",
7309
+ "properties": {
7310
+ "data": {
7311
+ "type": "array",
7312
+ "items": {
7313
+ "type": "object",
7314
+ "properties": {
7315
+ "type": {
7316
+ "type": "string"
7317
+ },
7318
+ "id": {
7319
+ "type": "string"
7320
+ }
7321
+ }
7322
+ }
7323
+ }
7324
+ }
7325
+ },
7326
+ "jobs": {
7327
+ "title": "SubmissionRelationshipsJobsSchema",
7328
+ "type": "object",
7329
+ "properties": {
7330
+ "data": {
7331
+ "type": "array",
7332
+ "items": {
7333
+ "type": "object",
7334
+ "properties": {
7335
+ "type": {
7336
+ "type": "string"
7337
+ },
7338
+ "id": {
7339
+ "type": "string"
7340
+ }
7341
+ }
7342
+ }
7343
+ }
7344
+ }
7345
+ },
7346
+ "talents": {
7347
+ "title": "SubmissionRelationshipsTalentsSchema",
7348
+ "type": "object",
7349
+ "properties": {
7350
+ "data": {
7351
+ "type": "array",
7352
+ "items": {
7353
+ "type": "object",
7354
+ "properties": {
7355
+ "type": {
7356
+ "type": "string"
7357
+ },
7358
+ "id": {
7359
+ "type": "string"
7360
+ }
7361
+ }
7362
+ }
7363
+ }
7364
+ }
7365
+ },
7366
+ "candidates": {
7367
+ "title": "SubmissionRelationshipsCandidatesSchema",
7368
+ "type": "object",
7369
+ "properties": {
7370
+ "data": {
7371
+ "type": "array",
7372
+ "items": {
7373
+ "type": "object",
7374
+ "properties": {
7375
+ "type": {
7376
+ "type": "string"
7377
+ },
7378
+ "id": {
7379
+ "type": "string"
7380
+ }
7381
+ }
7382
+ }
7383
+ }
7384
+ }
7385
+ }
7386
+ }
7236
7387
  }
7237
7388
  }
7238
- },
7239
- "consentCurrent": {
7240
- "type": "boolean"
7241
- },
7242
- "consentFuture": {
7243
- "type": "boolean"
7244
7389
  }
7245
7390
  }
7246
7391
  },
@@ -7324,8 +7469,102 @@
7324
7469
  }
7325
7470
  },
7326
7471
  {
7327
- "name": "upload_submission_file",
7328
- "description": "Upload Submission File",
7472
+ "name": "create_guest_submission",
7473
+ "description": "Create Submission (Guest)",
7474
+ "inputSchema": {
7475
+ "type": "object",
7476
+ "required": [
7477
+ "name",
7478
+ "email",
7479
+ "tenantId",
7480
+ "formId"
7481
+ ],
7482
+ "properties": {
7483
+ "tenantId": {
7484
+ "type": "string"
7485
+ },
7486
+ "formId": {
7487
+ "type": "string"
7488
+ },
7489
+ "name": {
7490
+ "type": "string"
7491
+ },
7492
+ "email": {
7493
+ "type": "string"
7494
+ },
7495
+ "phone": {
7496
+ "type": "string"
7497
+ },
7498
+ "files": {
7499
+ "type": "array",
7500
+ "items": {
7501
+ "type": "object",
7502
+ "properties": {
7503
+ "fileKey": {
7504
+ "type": "string"
7505
+ },
7506
+ "originalFilename": {
7507
+ "type": "string"
7508
+ }
7509
+ }
7510
+ }
7511
+ },
7512
+ "fields": {
7513
+ "type": "object"
7514
+ },
7515
+ "language": {
7516
+ "type": "string"
7517
+ },
7518
+ "jobId": {
7519
+ "type": "string"
7520
+ },
7521
+ "referral": {
7522
+ "type": "object",
7523
+ "properties": {
7524
+ "referrerName": {
7525
+ "type": "string"
7526
+ },
7527
+ "referrerEmail": {
7528
+ "type": "string"
7529
+ },
7530
+ "relationship": {
7531
+ "type": "string"
7532
+ },
7533
+ "note": {
7534
+ "type": "string"
7535
+ }
7536
+ }
7537
+ },
7538
+ "consentCurrent": {
7539
+ "type": "boolean"
7540
+ },
7541
+ "consentFuture": {
7542
+ "type": "boolean"
7543
+ }
7544
+ }
7545
+ },
7546
+ "_meta": {
7547
+ "method": "POST",
7548
+ "path": "/v1/guest/submissions",
7549
+ "operationId": "createGuestSubmission"
7550
+ }
7551
+ },
7552
+ {
7553
+ "name": "guest_submissions_options",
7554
+ "description": "Guest Submissions Options",
7555
+ "inputSchema": {
7556
+ "type": "object",
7557
+ "properties": {}
7558
+ },
7559
+ "_meta": {
7560
+ "method": "OPTIONS",
7561
+ "path": "/v1/guest/submissions",
7562
+ "operationId": "guestSubmissionsOptions"
7563
+ }
7564
+ },
7565
+ {
7566
+ "name": "upload_guest_submission_file",
7567
+ "description": "Upload Submission File (Guest)",
7329
7568
  "inputSchema": {
7330
7569
  "type": "object",
7331
7570
  "required": [
@@ -7351,21 +7590,21 @@
7351
7590
  },
7352
7591
  "_meta": {
7353
7592
  "method": "POST",
7354
- "path": "/v1/submissions/uploads",
7355
- "operationId": "uploadSubmissionFile"
7593
+ "path": "/v1/guest/submissions/uploads",
7594
+ "operationId": "uploadGuestSubmissionFile"
7356
7595
  }
7357
7596
  },
7358
7597
  {
7359
- "name": "submission_uploads_options",
7360
- "description": "Submission Uploads Options",
7598
+ "name": "guest_submission_uploads_options",
7599
+ "description": "Guest Submission Uploads Options",
7361
7600
  "inputSchema": {
7362
7601
  "type": "object",
7363
7602
  "properties": {}
7364
7603
  },
7365
7604
  "_meta": {
7366
7605
  "method": "OPTIONS",
7367
- "path": "/v1/submissions/uploads",
7368
- "operationId": "submissionUploadsOptions"
7606
+ "path": "/v1/guest/submissions/uploads",
7607
+ "operationId": "guestSubmissionUploadsOptions"
7369
7608
  }
7370
7609
  },
7371
7610
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",