@smartytalent/mcp-tools 0.1.33-dev.99 → 0.2.1-dev.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 +331 -537
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -166,6 +166,10 @@
166
166
  "email": {
167
167
  "type": "object"
168
168
  },
169
+ "operation": {
170
+ "type": "object",
171
+ "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."
172
+ },
169
173
  "language": {
170
174
  "type": "string"
171
175
  },
@@ -475,6 +479,10 @@
475
479
  "email": {
476
480
  "type": "object"
477
481
  },
482
+ "operation": {
483
+ "type": "object",
484
+ "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."
485
+ },
478
486
  "language": {
479
487
  "type": "string"
480
488
  },
@@ -2808,27 +2816,6 @@
2808
2816
  }
2809
2817
  }
2810
2818
  },
2811
- "translations": {
2812
- "title": "TalentRelationshipsTranslationsSchema",
2813
- "type": "object",
2814
- "properties": {
2815
- "data": {
2816
- "type": "array",
2817
- "items": {
2818
- "title": "TalentRelationshipsTranslationsDataSchema",
2819
- "type": "object",
2820
- "properties": {
2821
- "type": {
2822
- "type": "string"
2823
- },
2824
- "id": {
2825
- "type": "string"
2826
- }
2827
- }
2828
- }
2829
- }
2830
- }
2831
- },
2832
2819
  "operations": {
2833
2820
  "title": "TalentRelationshipsOperationsSchema",
2834
2821
  "type": "object",
@@ -2887,7 +2874,7 @@
2887
2874
  "properties": {
2888
2875
  "language": {
2889
2876
  "type": "string",
2890
- "description": "Language code to retrieve translated content (e.g. en-US, pl-PL, de-DE, it-IT, he-IL). When provided, the response includes translated field values for the specified language.",
2877
+ "description": "Deprecated, ignored for content selection. Translated content is stored on the resource itself: translatable fields are returned as per-locale dictionaries (e.g. en-US, pl-PL) populated by the in-service AI translation pipeline.",
2891
2878
  "enum": [
2892
2879
  "en-US",
2893
2880
  "pl-PL",
@@ -3623,10 +3610,11 @@
3623
3610
  },
3624
3611
  "specialization": {
3625
3612
  "title": "JobAttributesSpecializationSchema",
3626
- "description": "Job specialization area. Language-keyed object.",
3613
+ "description": "Job specialization area. Language-keyed object. Values are nullable - real rows carry {locale: null} before the AI fill.",
3627
3614
  "type": "object",
3628
3615
  "additionalProperties": {
3629
- "type": "string"
3616
+ "type": "string",
3617
+ "nullable": true
3630
3618
  }
3631
3619
  },
3632
3620
  "companyCulture": {
@@ -4030,27 +4018,6 @@
4030
4018
  }
4031
4019
  }
4032
4020
  },
4033
- "translations": {
4034
- "title": "JobRelationshipsTranslationsSchema",
4035
- "type": "object",
4036
- "properties": {
4037
- "data": {
4038
- "type": "array",
4039
- "items": {
4040
- "title": "JobRelationshipsTranslationsDataSchema",
4041
- "type": "object",
4042
- "properties": {
4043
- "type": {
4044
- "type": "string"
4045
- },
4046
- "id": {
4047
- "type": "string"
4048
- }
4049
- }
4050
- }
4051
- }
4052
- }
4053
- },
4054
4021
  "operations": {
4055
4022
  "title": "JobRelationshipsOperationsSchema",
4056
4023
  "type": "object",
@@ -4256,7 +4223,7 @@
4256
4223
  "properties": {
4257
4224
  "language": {
4258
4225
  "type": "string",
4259
- "description": "Language code to retrieve translated content (e.g. en-US, pl-PL, de-DE, it-IT, he-IL). When provided, the response includes translated field values for the specified language.",
4226
+ "description": "Deprecated, ignored for content selection. Translated content is stored on the resource itself: translatable fields are returned as per-locale dictionaries (e.g. en-US, pl-PL) populated by the in-service AI translation pipeline.",
4260
4227
  "enum": [
4261
4228
  "en-US",
4262
4229
  "pl-PL",
@@ -4371,10 +4338,11 @@
4371
4338
  },
4372
4339
  "specialization": {
4373
4340
  "title": "JobAttributesSpecializationSchema",
4374
- "description": "Job specialization area. Language-keyed object.",
4341
+ "description": "Job specialization area. Language-keyed object. Values are nullable - real rows carry {locale: null} before the AI fill.",
4375
4342
  "type": "object",
4376
4343
  "additionalProperties": {
4377
- "type": "string"
4344
+ "type": "string",
4345
+ "nullable": true
4378
4346
  }
4379
4347
  },
4380
4348
  "companyCulture": {
@@ -5361,27 +5329,6 @@
5361
5329
  }
5362
5330
  }
5363
5331
  },
5364
- "translations": {
5365
- "title": "CandidateRelationshipsTranslationsSchema",
5366
- "type": "object",
5367
- "properties": {
5368
- "data": {
5369
- "type": "array",
5370
- "items": {
5371
- "title": "CandidateRelationshipsTranslationsDataSchema",
5372
- "type": "object",
5373
- "properties": {
5374
- "type": {
5375
- "type": "string"
5376
- },
5377
- "id": {
5378
- "type": "string"
5379
- }
5380
- }
5381
- }
5382
- }
5383
- }
5384
- },
5385
5332
  "operations": {
5386
5333
  "title": "CandidateRelationshipsOperationsSchema",
5387
5334
  "type": "object",
@@ -5440,7 +5387,7 @@
5440
5387
  "properties": {
5441
5388
  "language": {
5442
5389
  "type": "string",
5443
- "description": "Language code to retrieve translated content (e.g. en-US, pl-PL, de-DE, it-IT, he-IL). When provided, the response includes translated field values for the specified language.",
5390
+ "description": "Deprecated, ignored for content selection. Translated content is stored on the resource itself: translatable fields are returned as per-locale dictionaries (e.g. en-US, pl-PL) populated by the in-service AI translation pipeline.",
5444
5391
  "enum": [
5445
5392
  "en-US",
5446
5393
  "pl-PL",
@@ -5914,27 +5861,6 @@
5914
5861
  }
5915
5862
  }
5916
5863
  },
5917
- "translations": {
5918
- "title": "CandidateRelationshipsTranslationsSchema",
5919
- "type": "object",
5920
- "properties": {
5921
- "data": {
5922
- "type": "array",
5923
- "items": {
5924
- "title": "CandidateRelationshipsTranslationsDataSchema",
5925
- "type": "object",
5926
- "properties": {
5927
- "type": {
5928
- "type": "string"
5929
- },
5930
- "id": {
5931
- "type": "string"
5932
- }
5933
- }
5934
- }
5935
- }
5936
- }
5937
- },
5938
5864
  "operations": {
5939
5865
  "title": "CandidateRelationshipsOperationsSchema",
5940
5866
  "type": "object",
@@ -6274,19 +6200,67 @@
6274
6200
  "title": "FileRelationshipsSchema",
6275
6201
  "type": "object",
6276
6202
  "properties": {
6277
- "link": {
6278
- "title": "FileRelationshipsLinkSchema",
6203
+ "links": {
6204
+ "title": "FileRelationshipsLinksSchema",
6205
+ "description": "URLs found inside this file's content (e.g. a portfolio/LinkedIn URL in a CV), each fetched to markdown (Crawl4AI Link). To-many; container-owns-links. (Was to-one from the dead file<-screenshot<-link era; link and file are now independent.)",
6279
6206
  "type": "object",
6280
6207
  "properties": {
6281
6208
  "data": {
6282
- "title": "FileRelationshipsLinkDataSchema",
6283
- "type": "object",
6284
- "properties": {
6285
- "type": {
6286
- "type": "string"
6287
- },
6288
- "id": {
6289
- "type": "string"
6209
+ "type": "array",
6210
+ "items": {
6211
+ "title": "FileRelationshipsLinksDataSchema",
6212
+ "type": "object",
6213
+ "properties": {
6214
+ "type": {
6215
+ "type": "string"
6216
+ },
6217
+ "id": {
6218
+ "type": "string"
6219
+ }
6220
+ }
6221
+ }
6222
+ }
6223
+ }
6224
+ },
6225
+ "talents": {
6226
+ "title": "FileRelationshipsTalentsSchema",
6227
+ "description": "Talents this file belongs to (e.g. an ATS-imported CV). Set at create by workflow actions (file:process relationships input).",
6228
+ "type": "object",
6229
+ "properties": {
6230
+ "data": {
6231
+ "type": "array",
6232
+ "items": {
6233
+ "title": "FileRelationshipsTalentsDataSchema",
6234
+ "type": "object",
6235
+ "properties": {
6236
+ "type": {
6237
+ "type": "string"
6238
+ },
6239
+ "id": {
6240
+ "type": "string"
6241
+ }
6242
+ }
6243
+ }
6244
+ }
6245
+ }
6246
+ },
6247
+ "candidates": {
6248
+ "title": "FileRelationshipsCandidatesSchema",
6249
+ "description": "Candidates (applications) this file belongs to. Set at create by workflow actions (file:process relationships input).",
6250
+ "type": "object",
6251
+ "properties": {
6252
+ "data": {
6253
+ "type": "array",
6254
+ "items": {
6255
+ "title": "FileRelationshipsCandidatesDataSchema",
6256
+ "type": "object",
6257
+ "properties": {
6258
+ "type": {
6259
+ "type": "string"
6260
+ },
6261
+ "id": {
6262
+ "type": "string"
6263
+ }
6290
6264
  }
6291
6265
  }
6292
6266
  }
@@ -6658,322 +6632,6 @@
6658
6632
  "operationId": "linkOptions"
6659
6633
  }
6660
6634
  },
6661
- {
6662
- "name": "list_translations",
6663
- "description": "List Translations",
6664
- "inputSchema": {
6665
- "type": "object",
6666
- "properties": {
6667
- "filterStatus": {
6668
- "type": "string",
6669
- "description": "Returns translations with the current status (active, archived). If not provided, the default value will be set to 'active'.",
6670
- "enum": [
6671
- "active",
6672
- "archived"
6673
- ]
6674
- },
6675
- "filterCreatedFrom": {
6676
- "type": "string",
6677
- "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
6678
- },
6679
- "filterCreatedTo": {
6680
- "type": "string",
6681
- "description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
6682
- },
6683
- "filterModifiedFrom": {
6684
- "type": "string",
6685
- "description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
6686
- },
6687
- "filterModifiedTo": {
6688
- "type": "string",
6689
- "description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
6690
- },
6691
- "pageSize": {
6692
- "type": "integer",
6693
- "description": "Specifies the number of items to retrieve per page. The maximum value is 100."
6694
- },
6695
- "pageNumber": {
6696
- "type": "integer",
6697
- "description": "Specifies the page number to retrieve. Used for traditional pagination."
6698
- },
6699
- "pageAfter": {
6700
- "type": "string",
6701
- "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."
6702
- },
6703
- "pageBefore": {
6704
- "type": "string",
6705
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
6706
- }
6707
- }
6708
- },
6709
- "_meta": {
6710
- "method": "GET",
6711
- "path": "/v1/translations",
6712
- "operationId": "listTranslations"
6713
- }
6714
- },
6715
- {
6716
- "name": "create_translation",
6717
- "description": "Create Translation",
6718
- "inputSchema": {
6719
- "title": "CreateTranslationRequestBody",
6720
- "type": "object",
6721
- "required": [
6722
- "data"
6723
- ],
6724
- "properties": {
6725
- "data": {
6726
- "title": "CreateTranslationRequestBodyData",
6727
- "type": "object",
6728
- "required": [
6729
- "type",
6730
- "attributes"
6731
- ],
6732
- "properties": {
6733
- "type": {
6734
- "type": "string",
6735
- "enum": [
6736
- "translations"
6737
- ]
6738
- },
6739
- "attributes": {
6740
- "title": "TranslationAttributesSchema",
6741
- "type": "object",
6742
- "required": [
6743
- "name",
6744
- "email"
6745
- ],
6746
- "properties": {
6747
- "name": {
6748
- "type": "string"
6749
- },
6750
- "status": {
6751
- "type": "string"
6752
- },
6753
- "timestamps": {
6754
- "title": "ResourceTimestampsSchema",
6755
- "type": "object",
6756
- "properties": {
6757
- "created": {
6758
- "type": "string",
6759
- "format": "date-time"
6760
- },
6761
- "modified": {
6762
- "type": "string",
6763
- "format": "date-time"
6764
- }
6765
- }
6766
- }
6767
- }
6768
- },
6769
- "relationships": {
6770
- "title": "TranslationRelationshipsSchema",
6771
- "type": "object",
6772
- "properties": {
6773
- "talent": {
6774
- "title": "TranslationRelationshipsTalentSchema",
6775
- "type": "object",
6776
- "properties": {
6777
- "data": {
6778
- "title": "TranslationRelationshipsTalentDataSchema",
6779
- "type": "object",
6780
- "properties": {
6781
- "type": {
6782
- "type": "string"
6783
- },
6784
- "id": {
6785
- "type": "string"
6786
- }
6787
- }
6788
- }
6789
- }
6790
- },
6791
- "job": {
6792
- "title": "TranslationRelationshipsJobSchema",
6793
- "type": "object",
6794
- "properties": {
6795
- "data": {
6796
- "title": "TranslationRelationshipsJobDataSchema",
6797
- "type": "object",
6798
- "properties": {
6799
- "type": {
6800
- "type": "string"
6801
- },
6802
- "id": {
6803
- "type": "string"
6804
- }
6805
- }
6806
- }
6807
- }
6808
- },
6809
- "candidate": {
6810
- "title": "TranslationRelationshipsCandidateSchema",
6811
- "type": "object",
6812
- "properties": {
6813
- "data": {
6814
- "title": "TranslationRelationshipsCandidateDataSchema",
6815
- "type": "object",
6816
- "properties": {
6817
- "type": {
6818
- "type": "string"
6819
- },
6820
- "id": {
6821
- "type": "string"
6822
- }
6823
- }
6824
- }
6825
- }
6826
- },
6827
- "report": {
6828
- "title": "TranslationRelationshipsReportSchema",
6829
- "type": "object",
6830
- "properties": {
6831
- "data": {
6832
- "title": "TranslationRelationshipsReportDataSchema",
6833
- "type": "object",
6834
- "properties": {
6835
- "type": {
6836
- "type": "string"
6837
- },
6838
- "id": {
6839
- "type": "string"
6840
- }
6841
- }
6842
- }
6843
- }
6844
- }
6845
- }
6846
- }
6847
- }
6848
- }
6849
- }
6850
- },
6851
- "_meta": {
6852
- "method": "POST",
6853
- "path": "/v1/translations",
6854
- "operationId": "createTranslation"
6855
- }
6856
- },
6857
- {
6858
- "name": "translations_options",
6859
- "description": "Translations Options",
6860
- "inputSchema": {
6861
- "type": "object",
6862
- "properties": {}
6863
- },
6864
- "_meta": {
6865
- "method": "OPTIONS",
6866
- "path": "/v1/translations",
6867
- "operationId": "translationsOptions"
6868
- }
6869
- },
6870
- {
6871
- "name": "show_translation",
6872
- "description": "Show Translation",
6873
- "inputSchema": {
6874
- "type": "object",
6875
- "properties": {}
6876
- },
6877
- "_meta": {
6878
- "method": "GET",
6879
- "path": "/v1/translations/{translationId}",
6880
- "operationId": "showTranslation"
6881
- }
6882
- },
6883
- {
6884
- "name": "update_translation",
6885
- "description": "Update Translation",
6886
- "inputSchema": {
6887
- "title": "UpdateTranslationRequestBody",
6888
- "type": "object",
6889
- "required": [
6890
- "data"
6891
- ],
6892
- "properties": {
6893
- "data": {
6894
- "title": "UpdateTranslationRequestBodyData",
6895
- "type": "object",
6896
- "required": [
6897
- "type",
6898
- "id",
6899
- "attributes"
6900
- ],
6901
- "properties": {
6902
- "type": {
6903
- "type": "string",
6904
- "enum": [
6905
- "translations"
6906
- ]
6907
- },
6908
- "id": {
6909
- "type": "string"
6910
- },
6911
- "attributes": {
6912
- "title": "TranslationAttributesSchema",
6913
- "type": "object",
6914
- "required": [
6915
- "name",
6916
- "email"
6917
- ],
6918
- "properties": {
6919
- "name": {
6920
- "type": "string"
6921
- },
6922
- "status": {
6923
- "type": "string"
6924
- },
6925
- "timestamps": {
6926
- "title": "ResourceTimestampsSchema",
6927
- "type": "object",
6928
- "properties": {
6929
- "created": {
6930
- "type": "string",
6931
- "format": "date-time"
6932
- },
6933
- "modified": {
6934
- "type": "string",
6935
- "format": "date-time"
6936
- }
6937
- }
6938
- }
6939
- }
6940
- }
6941
- }
6942
- }
6943
- }
6944
- },
6945
- "_meta": {
6946
- "method": "PATCH",
6947
- "path": "/v1/translations/{translationId}",
6948
- "operationId": "updateTranslation"
6949
- }
6950
- },
6951
- {
6952
- "name": "delete_translation",
6953
- "description": "Delete Translation",
6954
- "inputSchema": {
6955
- "type": "object",
6956
- "properties": {}
6957
- },
6958
- "_meta": {
6959
- "method": "DELETE",
6960
- "path": "/v1/translations/{translationId}",
6961
- "operationId": "deleteTranslation"
6962
- }
6963
- },
6964
- {
6965
- "name": "translation_options",
6966
- "description": "Translation Options",
6967
- "inputSchema": {
6968
- "type": "object",
6969
- "properties": {}
6970
- },
6971
- "_meta": {
6972
- "method": "OPTIONS",
6973
- "path": "/v1/translations/{translationId}",
6974
- "operationId": "translationOptions"
6975
- }
6976
- },
6977
6635
  {
6978
6636
  "name": "list_emails",
6979
6637
  "description": "List Emails",
@@ -7264,32 +6922,37 @@
7264
6922
  "title": "EmailRelationshipsSchema",
7265
6923
  "type": "object",
7266
6924
  "properties": {
7267
- "candidate": {
7268
- "title": "EmailRelationshipsCandidateSchema",
6925
+ "files": {
6926
+ "title": "EmailRelationshipsFilesSchema",
6927
+ "description": "File attachments on this email (File entities). To-many; container-owns-files.",
7269
6928
  "type": "object",
7270
6929
  "properties": {
7271
6930
  "data": {
7272
- "title": "EmailRelationshipsCandidateDataSchema",
7273
- "type": "object",
7274
- "properties": {
7275
- "type": {
7276
- "type": "string"
7277
- },
7278
- "id": {
7279
- "type": "string"
6931
+ "type": "array",
6932
+ "items": {
6933
+ "title": "EmailRelationshipsFilesDataSchema",
6934
+ "type": "object",
6935
+ "properties": {
6936
+ "type": {
6937
+ "type": "string"
6938
+ },
6939
+ "id": {
6940
+ "type": "string"
6941
+ }
7280
6942
  }
7281
6943
  }
7282
6944
  }
7283
6945
  }
7284
6946
  },
7285
- "conversations": {
7286
- "title": "EmailRelationshipsConversationsSchema",
6947
+ "links": {
6948
+ "title": "EmailRelationshipsLinksSchema",
6949
+ "description": "URLs shared in this email, each fetched to markdown (Crawl4AI Link). To-many; container-owns-links.",
7287
6950
  "type": "object",
7288
6951
  "properties": {
7289
6952
  "data": {
7290
6953
  "type": "array",
7291
6954
  "items": {
7292
- "title": "EmailRelationshipsConversationsDataSchema",
6955
+ "title": "EmailRelationshipsLinksDataSchema",
7293
6956
  "type": "object",
7294
6957
  "properties": {
7295
6958
  "type": {
@@ -7303,14 +6966,32 @@
7303
6966
  }
7304
6967
  }
7305
6968
  },
7306
- "translations": {
7307
- "title": "EmailRelationshipsTranslationsSchema",
6969
+ "candidate": {
6970
+ "title": "EmailRelationshipsCandidateSchema",
6971
+ "type": "object",
6972
+ "properties": {
6973
+ "data": {
6974
+ "title": "EmailRelationshipsCandidateDataSchema",
6975
+ "type": "object",
6976
+ "properties": {
6977
+ "type": {
6978
+ "type": "string"
6979
+ },
6980
+ "id": {
6981
+ "type": "string"
6982
+ }
6983
+ }
6984
+ }
6985
+ }
6986
+ },
6987
+ "conversations": {
6988
+ "title": "EmailRelationshipsConversationsSchema",
7308
6989
  "type": "object",
7309
6990
  "properties": {
7310
6991
  "data": {
7311
6992
  "type": "array",
7312
6993
  "items": {
7313
- "title": "EmailRelationshipsTranslationsDataSchema",
6994
+ "title": "EmailRelationshipsConversationsDataSchema",
7314
6995
  "type": "object",
7315
6996
  "properties": {
7316
6997
  "type": {
@@ -7799,29 +7480,7 @@
7799
7480
  "relationships": {
7800
7481
  "title": "FormRelationshipsSchema",
7801
7482
  "type": "object",
7802
- "properties": {
7803
- "translations": {
7804
- "title": "FormRelationshipsTranslationsSchema",
7805
- "type": "object",
7806
- "properties": {
7807
- "data": {
7808
- "type": "array",
7809
- "items": {
7810
- "title": "FormRelationshipsTranslationsDataSchema",
7811
- "type": "object",
7812
- "properties": {
7813
- "type": {
7814
- "type": "string"
7815
- },
7816
- "id": {
7817
- "type": "string"
7818
- }
7819
- }
7820
- }
7821
- }
7822
- }
7823
- }
7824
- }
7483
+ "properties": {}
7825
7484
  }
7826
7485
  }
7827
7486
  }
@@ -9519,7 +9178,8 @@
9519
9178
  "received",
9520
9179
  "processing",
9521
9180
  "processed",
9522
- "failed"
9181
+ "failed",
9182
+ "waiting"
9523
9183
  ]
9524
9184
  },
9525
9185
  "language": {
@@ -9551,6 +9211,14 @@
9551
9211
  },
9552
9212
  "contentType": {
9553
9213
  "type": "string"
9214
+ },
9215
+ "fileKey": {
9216
+ "type": "string",
9217
+ "description": "S3 key in the submission bucket. The screening workflow reads files.N.fileKey."
9218
+ },
9219
+ "originalFilename": {
9220
+ "type": "string",
9221
+ "description": "Original filename as uploaded/imported. The screening workflow reads files.N.originalFilename."
9554
9222
  }
9555
9223
  }
9556
9224
  }
@@ -9583,6 +9251,10 @@
9583
9251
  }
9584
9252
  }
9585
9253
  },
9254
+ "meta": {
9255
+ "type": "object",
9256
+ "description": "Free-form metadata. meta.external carries ATS import correlation ({source, jobShortCode, talentShortCode, applicationShortCode, ttl}); meta.userId is stamped server-side on create. CREATE-ONLY today: the update path ignores meta."
9257
+ },
9586
9258
  "timestamps": {
9587
9259
  "title": "ResourceTimestampsSchema",
9588
9260
  "type": "object",
@@ -9703,12 +9375,13 @@
9703
9375
  "properties": {
9704
9376
  "filterStatus": {
9705
9377
  "type": "string",
9706
- "description": "Returns submissions with the current status.",
9378
+ "description": "Returns submissions with the current status. `waiting` = parked until the target job activates (released by submission:release).",
9707
9379
  "enum": [
9708
9380
  "received",
9709
9381
  "processing",
9710
9382
  "processed",
9711
- "failed"
9383
+ "failed",
9384
+ "waiting"
9712
9385
  ]
9713
9386
  },
9714
9387
  "filterEmail": {
@@ -10020,7 +9693,8 @@
10020
9693
  "received",
10021
9694
  "processing",
10022
9695
  "processed",
10023
- "failed"
9696
+ "failed",
9697
+ "waiting"
10024
9698
  ]
10025
9699
  },
10026
9700
  "language": {
@@ -10052,6 +9726,14 @@
10052
9726
  },
10053
9727
  "contentType": {
10054
9728
  "type": "string"
9729
+ },
9730
+ "fileKey": {
9731
+ "type": "string",
9732
+ "description": "S3 key in the submission bucket. The screening workflow reads files.N.fileKey."
9733
+ },
9734
+ "originalFilename": {
9735
+ "type": "string",
9736
+ "description": "Original filename as uploaded/imported. The screening workflow reads files.N.originalFilename."
10055
9737
  }
10056
9738
  }
10057
9739
  }
@@ -10084,6 +9766,10 @@
10084
9766
  }
10085
9767
  }
10086
9768
  },
9769
+ "meta": {
9770
+ "type": "object",
9771
+ "description": "Free-form metadata. meta.external carries ATS import correlation ({source, jobShortCode, talentShortCode, applicationShortCode, ttl}); meta.userId is stamped server-side on create. CREATE-ONLY today: the update path ignores meta."
9772
+ },
10087
9773
  "timestamps": {
10088
9774
  "title": "ResourceTimestampsSchema",
10089
9775
  "type": "object",
@@ -11142,29 +10828,7 @@
11142
10828
  "relationships": {
11143
10829
  "title": "BrowserRelationshipsSchema",
11144
10830
  "type": "object",
11145
- "properties": {
11146
- "translations": {
11147
- "title": "BrowserRelationshipsTranslationsSchema",
11148
- "type": "object",
11149
- "properties": {
11150
- "data": {
11151
- "type": "array",
11152
- "items": {
11153
- "title": "BrowserRelationshipsTranslationsDataSchema",
11154
- "type": "object",
11155
- "properties": {
11156
- "type": {
11157
- "type": "string"
11158
- },
11159
- "id": {
11160
- "type": "string"
11161
- }
11162
- }
11163
- }
11164
- }
11165
- }
11166
- }
11167
- }
10831
+ "properties": {}
11168
10832
  }
11169
10833
  }
11170
10834
  }
@@ -11784,8 +11448,52 @@
11784
11448
  "relationships": {
11785
11449
  "title": "CallRelationshipsSchema",
11786
11450
  "type": "object",
11787
- "description": "Relationship slots on the call resource. All to-one. Direction\n+ attributes.fromType / toType tell you which side of the\nconversation each principal occupies. Mirror of chat's slot\nset with two voice-specific additions: `job` (call about a\nspecific opening) and `brief` (call collecting / clarifying\na specific brief). `boeUser` is split from `user` so the AI\nagent has a dedicated slot - `user` is reserved for human\ncounterparties (3-way conference recruiter, future user-to-\nuser webapp/Teams chat).",
11451
+ "description": "Relationship slots on the call resource. Principal slots are\nto-one (`links`, shared URLs, is to-many). Direction\n+ attributes.fromType / toType tell you which side of the\nconversation each principal occupies. Mirror of chat's slot\nset with two voice-specific additions: `job` (call about a\nspecific opening) and `brief` (call collecting / clarifying\na specific brief). `boeUser` is split from `user` so the AI\nagent has a dedicated slot - `user` is reserved for human\ncounterparties (3-way conference recruiter, future user-to-\nuser webapp/Teams chat).",
11788
11452
  "properties": {
11453
+ "files": {
11454
+ "title": "CallRelationshipsFilesSchema",
11455
+ "description": "File attachments shared on this call (File entities). To-many; container-owns-files.",
11456
+ "type": "object",
11457
+ "properties": {
11458
+ "data": {
11459
+ "type": "array",
11460
+ "items": {
11461
+ "title": "CallRelationshipsFilesDataSchema",
11462
+ "type": "object",
11463
+ "properties": {
11464
+ "type": {
11465
+ "type": "string"
11466
+ },
11467
+ "id": {
11468
+ "type": "string"
11469
+ }
11470
+ }
11471
+ }
11472
+ }
11473
+ }
11474
+ },
11475
+ "links": {
11476
+ "title": "CallRelationshipsLinksSchema",
11477
+ "description": "URLs shared during this call, each fetched to markdown (Crawl4AI Link). To-many; container-owns-links.",
11478
+ "type": "object",
11479
+ "properties": {
11480
+ "data": {
11481
+ "type": "array",
11482
+ "items": {
11483
+ "title": "CallRelationshipsLinksDataSchema",
11484
+ "type": "object",
11485
+ "properties": {
11486
+ "type": {
11487
+ "type": "string"
11488
+ },
11489
+ "id": {
11490
+ "type": "string"
11491
+ }
11492
+ }
11493
+ }
11494
+ }
11495
+ }
11496
+ },
11789
11497
  "conversation": {
11790
11498
  "title": "CallRelationshipsConversationSchema",
11791
11499
  "description": "Thread the call belongs to. Phone calls in the same workflow run share a conversation; per-thread queries via ConversationIdIndex.",
@@ -12877,8 +12585,52 @@
12877
12585
  "relationships": {
12878
12586
  "title": "ChatRelationshipsSchema",
12879
12587
  "type": "object",
12880
- "description": "Relationship slots for a chat row. All to-one. Direction +\nattributes.fromType / toType tell you which side of the\nconversation each principal is on - we don't duplicate that\ninto directional relationship names. For boe-mediated flows\nat most two of {user, candidate, talent} are populated per\nrow: the external party (candidate or talent) and, on outbound,\nthe boe user that signed the message.",
12588
+ "description": "Relationship slots for a chat row. Principal slots are to-one\n(`links`, shared URLs, is to-many). Direction +\nattributes.fromType / toType tell you which side of the\nconversation each principal is on - we don't duplicate that\ninto directional relationship names. For boe-mediated flows\nat most two of {user, candidate, talent} are populated per\nrow: the external party (candidate or talent) and, on outbound,\nthe boe user that signed the message.",
12881
12589
  "properties": {
12590
+ "files": {
12591
+ "title": "ChatRelationshipsFilesSchema",
12592
+ "description": "File attachments sent in this chat (File entities). To-many; container-owns-files.",
12593
+ "type": "object",
12594
+ "properties": {
12595
+ "data": {
12596
+ "type": "array",
12597
+ "items": {
12598
+ "title": "ChatRelationshipsFilesDataSchema",
12599
+ "type": "object",
12600
+ "properties": {
12601
+ "type": {
12602
+ "type": "string"
12603
+ },
12604
+ "id": {
12605
+ "type": "string"
12606
+ }
12607
+ }
12608
+ }
12609
+ }
12610
+ }
12611
+ },
12612
+ "links": {
12613
+ "title": "ChatRelationshipsLinksSchema",
12614
+ "description": "URLs shared in this chat, each fetched to markdown (Crawl4AI Link). To-many; container-owns-links.",
12615
+ "type": "object",
12616
+ "properties": {
12617
+ "data": {
12618
+ "type": "array",
12619
+ "items": {
12620
+ "title": "ChatRelationshipsLinksDataSchema",
12621
+ "type": "object",
12622
+ "properties": {
12623
+ "type": {
12624
+ "type": "string"
12625
+ },
12626
+ "id": {
12627
+ "type": "string"
12628
+ }
12629
+ }
12630
+ }
12631
+ }
12632
+ }
12633
+ },
12882
12634
  "conversation": {
12883
12635
  "title": "ChatRelationshipsConversationSchema",
12884
12636
  "description": "Thread the chat row belongs to. SMS replies on the same boe\nnumber share a conversation; the workflow engine parks runs\non the conversation's meta and reads parkedRunContext to\nresume on inbound. The conversation id is denormalised onto\nthe chat row's internal `conversationId` attribute (indexed\nby ConversationIdIndex) for cheap per-thread history queries\n- API consumers should read it from this relationship, not\nfrom attributes.",
@@ -13367,27 +13119,6 @@
13367
13119
  }
13368
13120
  }
13369
13121
  },
13370
- "translations": {
13371
- "title": "PersonaRelationshipsTranslationsSchema",
13372
- "type": "object",
13373
- "properties": {
13374
- "data": {
13375
- "type": "array",
13376
- "items": {
13377
- "title": "PersonaRelationshipsTranslationsDataSchema",
13378
- "type": "object",
13379
- "properties": {
13380
- "type": {
13381
- "type": "string"
13382
- },
13383
- "id": {
13384
- "type": "string"
13385
- }
13386
- }
13387
- }
13388
- }
13389
- }
13390
- },
13391
13122
  "operations": {
13392
13123
  "title": "PersonaRelationshipsOperationsSchema",
13393
13124
  "type": "object",
@@ -13686,27 +13417,6 @@
13686
13417
  }
13687
13418
  }
13688
13419
  },
13689
- "translations": {
13690
- "title": "NoteRelationshipsTranslationsSchema",
13691
- "type": "object",
13692
- "properties": {
13693
- "data": {
13694
- "type": "array",
13695
- "items": {
13696
- "title": "NoteRelationshipsTranslationsDataSchema",
13697
- "type": "object",
13698
- "properties": {
13699
- "type": {
13700
- "type": "string"
13701
- },
13702
- "id": {
13703
- "type": "string"
13704
- }
13705
- }
13706
- }
13707
- }
13708
- }
13709
- },
13710
13420
  "report": {
13711
13421
  "title": "NoteRelationshipsReportSchema",
13712
13422
  "type": "object",
@@ -15303,6 +15013,50 @@
15303
15013
  "title": "MeetingRelationshipsSchema",
15304
15014
  "type": "object",
15305
15015
  "properties": {
15016
+ "files": {
15017
+ "title": "MeetingRelationshipsFilesSchema",
15018
+ "description": "File attachments shared in this meeting (File entities). To-many; container-owns-files.",
15019
+ "type": "object",
15020
+ "properties": {
15021
+ "data": {
15022
+ "type": "array",
15023
+ "items": {
15024
+ "title": "MeetingRelationshipsFilesDataSchema",
15025
+ "type": "object",
15026
+ "properties": {
15027
+ "type": {
15028
+ "type": "string"
15029
+ },
15030
+ "id": {
15031
+ "type": "string"
15032
+ }
15033
+ }
15034
+ }
15035
+ }
15036
+ }
15037
+ },
15038
+ "links": {
15039
+ "title": "MeetingRelationshipsLinksSchema",
15040
+ "description": "URLs shared in this meeting, each fetched to markdown (Crawl4AI Link). To-many; container-owns-links.",
15041
+ "type": "object",
15042
+ "properties": {
15043
+ "data": {
15044
+ "type": "array",
15045
+ "items": {
15046
+ "title": "MeetingRelationshipsLinksDataSchema",
15047
+ "type": "object",
15048
+ "properties": {
15049
+ "type": {
15050
+ "type": "string"
15051
+ },
15052
+ "id": {
15053
+ "type": "string"
15054
+ }
15055
+ }
15056
+ }
15057
+ }
15058
+ }
15059
+ },
15306
15060
  "team": {
15307
15061
  "title": "MeetingRelationshipsTeamSchema",
15308
15062
  "type": "object",
@@ -18181,15 +17935,35 @@
18181
17935
  "attributes": {
18182
17936
  "title": "OperationAttributesSchema",
18183
17937
  "type": "object",
18184
- "required": [
18185
- "name",
18186
- "email"
18187
- ],
18188
17938
  "properties": {
18189
17939
  "name": {
18190
- "type": "string"
17940
+ "type": "string",
17941
+ "description": "Required on create. Human-readable operation name."
17942
+ },
17943
+ "event": {
17944
+ "type": "string",
17945
+ "description": "Required on create. Colon-notation ATS event code (e.g. rcrt:event:candidate:created); the prefix derives source."
17946
+ },
17947
+ "eventDetails": {
17948
+ "type": "string",
17949
+ "description": "Required on create. JSON STRING (max 4096) carrying the per-event payload, e.g. {\"talent\":{\"shortCode\":\"123\"},\"job\":{\"shortCode\":\"456\"}}. Parsed to an object in the service:operation:created event copy."
17950
+ },
17951
+ "source": {
17952
+ "type": "string",
17953
+ "description": "Derived server-side from the event prefix (erecruiter, lever). Read-only."
18191
17954
  },
18192
17955
  "status": {
17956
+ "type": "string",
17957
+ "enum": [
17958
+ "active",
17959
+ "inactive",
17960
+ "pending",
17961
+ "hold",
17962
+ "archived",
17963
+ "failed"
17964
+ ]
17965
+ },
17966
+ "parentOperationId": {
18193
17967
  "type": "string"
18194
17968
  },
18195
17969
  "timestamps": {
@@ -18317,15 +18091,35 @@
18317
18091
  "attributes": {
18318
18092
  "title": "OperationAttributesSchema",
18319
18093
  "type": "object",
18320
- "required": [
18321
- "name",
18322
- "email"
18323
- ],
18324
18094
  "properties": {
18325
18095
  "name": {
18326
- "type": "string"
18096
+ "type": "string",
18097
+ "description": "Required on create. Human-readable operation name."
18098
+ },
18099
+ "event": {
18100
+ "type": "string",
18101
+ "description": "Required on create. Colon-notation ATS event code (e.g. rcrt:event:candidate:created); the prefix derives source."
18102
+ },
18103
+ "eventDetails": {
18104
+ "type": "string",
18105
+ "description": "Required on create. JSON STRING (max 4096) carrying the per-event payload, e.g. {\"talent\":{\"shortCode\":\"123\"},\"job\":{\"shortCode\":\"456\"}}. Parsed to an object in the service:operation:created event copy."
18106
+ },
18107
+ "source": {
18108
+ "type": "string",
18109
+ "description": "Derived server-side from the event prefix (erecruiter, lever). Read-only."
18327
18110
  },
18328
18111
  "status": {
18112
+ "type": "string",
18113
+ "enum": [
18114
+ "active",
18115
+ "inactive",
18116
+ "pending",
18117
+ "hold",
18118
+ "archived",
18119
+ "failed"
18120
+ ]
18121
+ },
18122
+ "parentOperationId": {
18329
18123
  "type": "string"
18330
18124
  },
18331
18125
  "timestamps": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.1.33-dev.99",
3
+ "version": "0.2.1-dev.1",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",