@smartytalent/mcp-tools 0.1.16 → 0.1.18

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 +445 -93
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -7170,143 +7170,508 @@
7170
7170
  }
7171
7171
  },
7172
7172
  {
7173
- "name": "upload_form_file",
7174
- "description": "Upload Form File",
7173
+ "name": "create_submission",
7174
+ "description": "Create Submission",
7175
7175
  "inputSchema": {
7176
7176
  "type": "object",
7177
+ "required": [
7178
+ "name",
7179
+ "email",
7180
+ "tenantId",
7181
+ "formId"
7182
+ ],
7177
7183
  "properties": {
7184
+ "tenantId": {
7185
+ "type": "string"
7186
+ },
7178
7187
  "formId": {
7179
- "type": "string",
7180
- "description": "formId parameter"
7188
+ "type": "string"
7181
7189
  },
7182
- "requestBody": {
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": {
7183
7223
  "type": "object",
7184
- "required": [
7185
- "fileName",
7186
- "contentType",
7187
- "tenantId"
7188
- ],
7189
7224
  "properties": {
7190
- "fileName": {
7225
+ "referrerName": {
7226
+ "type": "string"
7227
+ },
7228
+ "referrerEmail": {
7191
7229
  "type": "string"
7192
7230
  },
7193
- "contentType": {
7231
+ "relationship": {
7194
7232
  "type": "string"
7195
7233
  },
7196
- "tenantId": {
7234
+ "note": {
7197
7235
  "type": "string"
7198
7236
  }
7199
7237
  }
7238
+ },
7239
+ "consentCurrent": {
7240
+ "type": "boolean"
7241
+ },
7242
+ "consentFuture": {
7243
+ "type": "boolean"
7200
7244
  }
7201
- },
7202
- "required": [
7203
- "formId",
7204
- "requestBody"
7205
- ]
7245
+ }
7206
7246
  },
7207
7247
  "_meta": {
7208
7248
  "method": "POST",
7209
- "path": "/v1/forms/{formId}/uploads",
7210
- "operationId": "uploadFormFile"
7249
+ "path": "/v1/submissions",
7250
+ "operationId": "createSubmission"
7251
+ }
7252
+ },
7253
+ {
7254
+ "name": "list_submissions",
7255
+ "description": "List Submissions",
7256
+ "inputSchema": {
7257
+ "type": "object",
7258
+ "properties": {
7259
+ "filterStatus": {
7260
+ "type": "string",
7261
+ "description": "Returns submissions with the current status.",
7262
+ "enum": [
7263
+ "received",
7264
+ "processing",
7265
+ "processed",
7266
+ "failed"
7267
+ ]
7268
+ },
7269
+ "filterEmail": {
7270
+ "type": "string",
7271
+ "description": "Filter submissions by email address."
7272
+ },
7273
+ "filterCreatedFrom": {
7274
+ "type": "string",
7275
+ "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
7276
+ },
7277
+ "filterCreatedTo": {
7278
+ "type": "string",
7279
+ "description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
7280
+ },
7281
+ "filterModifiedFrom": {
7282
+ "type": "string",
7283
+ "description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
7284
+ },
7285
+ "filterModifiedTo": {
7286
+ "type": "string",
7287
+ "description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
7288
+ },
7289
+ "pageSize": {
7290
+ "type": "integer",
7291
+ "description": "Specifies the number of items to retrieve per page. The maximum value is 100."
7292
+ },
7293
+ "pageNumber": {
7294
+ "type": "integer",
7295
+ "description": "Specifies the page number to retrieve. Used for traditional pagination."
7296
+ },
7297
+ "pageAfter": {
7298
+ "type": "string",
7299
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
7300
+ },
7301
+ "pageBefore": {
7302
+ "type": "string",
7303
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
7304
+ }
7305
+ }
7306
+ },
7307
+ "_meta": {
7308
+ "method": "GET",
7309
+ "path": "/v1/submissions",
7310
+ "operationId": "listSubmissions"
7211
7311
  }
7212
7312
  },
7213
7313
  {
7214
- "name": "form_uploads_options",
7215
- "description": "Form Uploads Options",
7314
+ "name": "submissions_options",
7315
+ "description": "Submissions Options",
7216
7316
  "inputSchema": {
7217
7317
  "type": "object",
7218
7318
  "properties": {}
7219
7319
  },
7220
7320
  "_meta": {
7221
7321
  "method": "OPTIONS",
7222
- "path": "/v1/forms/{formId}/uploads",
7223
- "operationId": "formUploadsOptions"
7322
+ "path": "/v1/submissions",
7323
+ "operationId": "submissionsOptions"
7224
7324
  }
7225
7325
  },
7226
7326
  {
7227
- "name": "submit_form",
7228
- "description": "Submit Form",
7327
+ "name": "upload_submission_file",
7328
+ "description": "Upload Submission File",
7229
7329
  "inputSchema": {
7230
7330
  "type": "object",
7331
+ "required": [
7332
+ "fileName",
7333
+ "contentType",
7334
+ "tenantId",
7335
+ "formId"
7336
+ ],
7231
7337
  "properties": {
7338
+ "fileName": {
7339
+ "type": "string"
7340
+ },
7341
+ "contentType": {
7342
+ "type": "string"
7343
+ },
7344
+ "tenantId": {
7345
+ "type": "string"
7346
+ },
7232
7347
  "formId": {
7348
+ "type": "string"
7349
+ }
7350
+ }
7351
+ },
7352
+ "_meta": {
7353
+ "method": "POST",
7354
+ "path": "/v1/submissions/uploads",
7355
+ "operationId": "uploadSubmissionFile"
7356
+ }
7357
+ },
7358
+ {
7359
+ "name": "submission_uploads_options",
7360
+ "description": "Submission Uploads Options",
7361
+ "inputSchema": {
7362
+ "type": "object",
7363
+ "properties": {}
7364
+ },
7365
+ "_meta": {
7366
+ "method": "OPTIONS",
7367
+ "path": "/v1/submissions/uploads",
7368
+ "operationId": "submissionUploadsOptions"
7369
+ }
7370
+ },
7371
+ {
7372
+ "name": "show_submission",
7373
+ "description": "Show Submission",
7374
+ "inputSchema": {
7375
+ "type": "object",
7376
+ "properties": {
7377
+ "submissionId": {
7378
+ "type": "string",
7379
+ "description": "submissionId parameter"
7380
+ }
7381
+ },
7382
+ "required": [
7383
+ "submissionId"
7384
+ ]
7385
+ },
7386
+ "_meta": {
7387
+ "method": "GET",
7388
+ "path": "/v1/submissions/{submissionId}",
7389
+ "operationId": "showSubmission"
7390
+ }
7391
+ },
7392
+ {
7393
+ "name": "update_submission",
7394
+ "description": "Update Submission",
7395
+ "inputSchema": {
7396
+ "type": "object",
7397
+ "properties": {
7398
+ "submissionId": {
7233
7399
  "type": "string",
7234
- "description": "formId parameter"
7400
+ "description": "submissionId parameter"
7235
7401
  },
7236
7402
  "requestBody": {
7403
+ "title": "UpdateSubmissionRequestBody",
7237
7404
  "type": "object",
7238
7405
  "required": [
7239
- "name",
7240
- "email",
7241
- "tenantId"
7406
+ "data"
7242
7407
  ],
7243
7408
  "properties": {
7244
- "tenantId": {
7245
- "type": "string"
7246
- },
7247
- "name": {
7248
- "type": "string"
7249
- },
7250
- "email": {
7251
- "type": "string"
7252
- },
7253
- "phone": {
7254
- "type": "string"
7255
- },
7256
- "files": {
7257
- "type": "array",
7258
- "items": {
7259
- "type": "object",
7260
- "properties": {
7261
- "fileKey": {
7262
- "type": "string"
7263
- },
7264
- "originalFilename": {
7265
- "type": "string"
7409
+ "data": {
7410
+ "title": "UpdateSubmissionRequestBodyData",
7411
+ "type": "object",
7412
+ "required": [
7413
+ "type",
7414
+ "id",
7415
+ "attributes"
7416
+ ],
7417
+ "properties": {
7418
+ "type": {
7419
+ "type": "string",
7420
+ "enum": [
7421
+ "submissions"
7422
+ ]
7423
+ },
7424
+ "id": {
7425
+ "type": "string"
7426
+ },
7427
+ "attributes": {
7428
+ "title": "SubmissionAttributesSchema",
7429
+ "type": "object",
7430
+ "required": [
7431
+ "name",
7432
+ "email"
7433
+ ],
7434
+ "properties": {
7435
+ "name": {
7436
+ "type": "string"
7437
+ },
7438
+ "email": {
7439
+ "type": "string"
7440
+ },
7441
+ "phone": {
7442
+ "type": "string"
7443
+ },
7444
+ "source": {
7445
+ "type": "string",
7446
+ "enum": [
7447
+ "form",
7448
+ "email",
7449
+ "call",
7450
+ "api"
7451
+ ]
7452
+ },
7453
+ "status": {
7454
+ "type": "string",
7455
+ "enum": [
7456
+ "received",
7457
+ "processing",
7458
+ "processed",
7459
+ "failed"
7460
+ ]
7461
+ },
7462
+ "language": {
7463
+ "type": "string"
7464
+ },
7465
+ "fields": {
7466
+ "type": "object",
7467
+ "description": "Custom form field answers keyed by field identifier"
7468
+ },
7469
+ "files": {
7470
+ "type": "array",
7471
+ "items": {
7472
+ "type": "object",
7473
+ "properties": {
7474
+ "key": {
7475
+ "type": "string"
7476
+ },
7477
+ "bucket": {
7478
+ "type": "string"
7479
+ },
7480
+ "name": {
7481
+ "type": "string"
7482
+ },
7483
+ "contentType": {
7484
+ "type": "string"
7485
+ }
7486
+ }
7487
+ }
7488
+ },
7489
+ "referral": {
7490
+ "type": "object",
7491
+ "properties": {
7492
+ "referrerName": {
7493
+ "type": "string"
7494
+ },
7495
+ "referrerEmail": {
7496
+ "type": "string"
7497
+ },
7498
+ "relationship": {
7499
+ "type": "string"
7500
+ },
7501
+ "note": {
7502
+ "type": "string"
7503
+ }
7504
+ }
7505
+ },
7506
+ "consent": {
7507
+ "type": "object",
7508
+ "properties": {
7509
+ "current": {
7510
+ "type": "boolean"
7511
+ },
7512
+ "future": {
7513
+ "type": "boolean"
7514
+ }
7515
+ }
7516
+ },
7517
+ "timestamps": {
7518
+ "title": "ResourceTimestampsSchema",
7519
+ "type": "object",
7520
+ "properties": {
7521
+ "created": {
7522
+ "type": "string",
7523
+ "format": "date-time"
7524
+ },
7525
+ "modified": {
7526
+ "type": "string",
7527
+ "format": "date-time"
7528
+ }
7529
+ }
7530
+ }
7531
+ }
7532
+ },
7533
+ "relationships": {
7534
+ "title": "SubmissionRelationshipsSchema",
7535
+ "type": "object",
7536
+ "properties": {
7537
+ "forms": {
7538
+ "title": "SubmissionRelationshipsFormsSchema",
7539
+ "type": "object",
7540
+ "properties": {
7541
+ "data": {
7542
+ "type": "array",
7543
+ "items": {
7544
+ "type": "object",
7545
+ "properties": {
7546
+ "type": {
7547
+ "type": "string"
7548
+ },
7549
+ "id": {
7550
+ "type": "string"
7551
+ }
7552
+ }
7553
+ }
7554
+ }
7555
+ }
7556
+ },
7557
+ "jobs": {
7558
+ "title": "SubmissionRelationshipsJobsSchema",
7559
+ "type": "object",
7560
+ "properties": {
7561
+ "data": {
7562
+ "type": "array",
7563
+ "items": {
7564
+ "type": "object",
7565
+ "properties": {
7566
+ "type": {
7567
+ "type": "string"
7568
+ },
7569
+ "id": {
7570
+ "type": "string"
7571
+ }
7572
+ }
7573
+ }
7574
+ }
7575
+ }
7576
+ },
7577
+ "talents": {
7578
+ "title": "SubmissionRelationshipsTalentsSchema",
7579
+ "type": "object",
7580
+ "properties": {
7581
+ "data": {
7582
+ "type": "array",
7583
+ "items": {
7584
+ "type": "object",
7585
+ "properties": {
7586
+ "type": {
7587
+ "type": "string"
7588
+ },
7589
+ "id": {
7590
+ "type": "string"
7591
+ }
7592
+ }
7593
+ }
7594
+ }
7595
+ }
7596
+ },
7597
+ "candidates": {
7598
+ "title": "SubmissionRelationshipsCandidatesSchema",
7599
+ "type": "object",
7600
+ "properties": {
7601
+ "data": {
7602
+ "type": "array",
7603
+ "items": {
7604
+ "type": "object",
7605
+ "properties": {
7606
+ "type": {
7607
+ "type": "string"
7608
+ },
7609
+ "id": {
7610
+ "type": "string"
7611
+ }
7612
+ }
7613
+ }
7614
+ }
7615
+ }
7616
+ }
7266
7617
  }
7267
7618
  }
7268
7619
  }
7269
- },
7270
- "language": {
7271
- "type": "string"
7272
- },
7273
- "sourceJobShortCode": {
7274
- "type": "string"
7275
- },
7276
- "jobId": {
7277
- "type": "string"
7278
- },
7279
- "consentCurrent": {
7280
- "type": "boolean"
7281
- },
7282
- "consentFuture": {
7283
- "type": "boolean"
7284
7620
  }
7285
7621
  }
7286
7622
  }
7287
7623
  },
7288
7624
  "required": [
7289
- "formId",
7625
+ "submissionId",
7290
7626
  "requestBody"
7291
7627
  ]
7292
7628
  },
7293
7629
  "_meta": {
7294
- "method": "POST",
7295
- "path": "/v1/forms/{formId}/submissions",
7296
- "operationId": "submitForm"
7630
+ "method": "PATCH",
7631
+ "path": "/v1/submissions/{submissionId}",
7632
+ "operationId": "updateSubmission"
7633
+ }
7634
+ },
7635
+ {
7636
+ "name": "delete_submission",
7637
+ "description": "Delete Submission",
7638
+ "inputSchema": {
7639
+ "type": "object",
7640
+ "properties": {
7641
+ "submissionId": {
7642
+ "type": "string",
7643
+ "description": "submissionId parameter"
7644
+ },
7645
+ "permanentDelete": {
7646
+ "type": "string",
7647
+ "description": "Set to true for permanent deletion.",
7648
+ "enum": [
7649
+ "true",
7650
+ "false"
7651
+ ]
7652
+ }
7653
+ },
7654
+ "required": [
7655
+ "submissionId"
7656
+ ]
7657
+ },
7658
+ "_meta": {
7659
+ "method": "DELETE",
7660
+ "path": "/v1/submissions/{submissionId}",
7661
+ "operationId": "deleteSubmission"
7297
7662
  }
7298
7663
  },
7299
7664
  {
7300
- "name": "form_submissions_options",
7301
- "description": "Form Submissions Options",
7665
+ "name": "submission_options",
7666
+ "description": "Submission Options",
7302
7667
  "inputSchema": {
7303
7668
  "type": "object",
7304
7669
  "properties": {}
7305
7670
  },
7306
7671
  "_meta": {
7307
7672
  "method": "OPTIONS",
7308
- "path": "/v1/forms/{formId}/submissions",
7309
- "operationId": "formSubmissionsOptions"
7673
+ "path": "/v1/submissions/{submissionId}",
7674
+ "operationId": "submissionOptions"
7310
7675
  }
7311
7676
  },
7312
7677
  {
@@ -11642,29 +12007,16 @@
11642
12007
  }
11643
12008
  },
11644
12009
  {
11645
- "name": "cancel_run",
11646
- "description": "Cancel Run",
11647
- "inputSchema": {
11648
- "type": "object",
11649
- "properties": {}
11650
- },
11651
- "_meta": {
11652
- "method": "POST",
11653
- "path": "/v1/runs/{runId}/cancel",
11654
- "operationId": "cancelRun"
11655
- }
11656
- },
11657
- {
11658
- "name": "retry_run",
11659
- "description": "Retry Run",
12010
+ "name": "update_run",
12011
+ "description": "Update Run",
11660
12012
  "inputSchema": {
11661
12013
  "type": "object",
11662
12014
  "properties": {}
11663
12015
  },
11664
12016
  "_meta": {
11665
- "method": "POST",
11666
- "path": "/v1/runs/{runId}/retry",
11667
- "operationId": "retryRun"
12017
+ "method": "PATCH",
12018
+ "path": "/v1/runs/{runId}",
12019
+ "operationId": "updateRun"
11668
12020
  }
11669
12021
  },
11670
12022
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",