@smartytalent/openai-tools 0.1.19 → 0.1.21

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 +1264 -292
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -6919,20 +6919,1215 @@
6919
6919
  }
6920
6920
  }
6921
6921
  },
6922
+ {
6923
+ "type": "function",
6924
+ "function": {
6925
+ "name": "list_feedbacks",
6926
+ "description": "List Feedbacks",
6927
+ "parameters": {
6928
+ "type": "object",
6929
+ "properties": {
6930
+ "filterStatus": {
6931
+ "type": "string",
6932
+ "description": "Returns feedbacks with the current status.",
6933
+ "enum": [
6934
+ "active",
6935
+ "draft",
6936
+ "archived",
6937
+ "failed"
6938
+ ]
6939
+ },
6940
+ "filterCreatedFrom": {
6941
+ "type": "string",
6942
+ "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
6943
+ },
6944
+ "filterCreatedTo": {
6945
+ "type": "string",
6946
+ "description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
6947
+ },
6948
+ "filterModifiedFrom": {
6949
+ "type": "string",
6950
+ "description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
6951
+ },
6952
+ "filterModifiedTo": {
6953
+ "type": "string",
6954
+ "description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
6955
+ },
6956
+ "pageSize": {
6957
+ "type": "integer",
6958
+ "description": "Specifies the number of items to retrieve per page. The maximum value is 100."
6959
+ },
6960
+ "pageNumber": {
6961
+ "type": "integer",
6962
+ "description": "Specifies the page number to retrieve. Used for traditional pagination."
6963
+ },
6964
+ "pageAfter": {
6965
+ "type": "string",
6966
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
6967
+ },
6968
+ "pageBefore": {
6969
+ "type": "string",
6970
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
6971
+ }
6972
+ }
6973
+ }
6974
+ }
6975
+ },
6976
+ {
6977
+ "type": "function",
6978
+ "function": {
6979
+ "name": "create_feedback",
6980
+ "description": "Create Feedback",
6981
+ "parameters": {
6982
+ "title": "CreateFeedbackRequestBody",
6983
+ "type": "object",
6984
+ "required": [
6985
+ "data"
6986
+ ],
6987
+ "properties": {
6988
+ "data": {
6989
+ "title": "CreateFeedbackRequestBodyData",
6990
+ "type": "object",
6991
+ "required": [
6992
+ "type",
6993
+ "attributes"
6994
+ ],
6995
+ "properties": {
6996
+ "type": {
6997
+ "type": "string",
6998
+ "enum": [
6999
+ "feedbacks"
7000
+ ]
7001
+ },
7002
+ "attributes": {
7003
+ "title": "FeedbackAttributesSchema",
7004
+ "type": "object",
7005
+ "required": [
7006
+ "name"
7007
+ ],
7008
+ "properties": {
7009
+ "name": {
7010
+ "type": "string"
7011
+ },
7012
+ "transparency": {
7013
+ "type": "string",
7014
+ "enum": [
7015
+ "generic",
7016
+ "category",
7017
+ "specific"
7018
+ ]
7019
+ },
7020
+ "tone": {
7021
+ "type": "string",
7022
+ "enum": [
7023
+ "casual",
7024
+ "formal",
7025
+ "superFormal"
7026
+ ]
7027
+ },
7028
+ "delay": {
7029
+ "type": "integer",
7030
+ "default": 72
7031
+ },
7032
+ "respectBusinessDays": {
7033
+ "type": "boolean",
7034
+ "default": false
7035
+ },
7036
+ "signature": {
7037
+ "type": "object",
7038
+ "properties": {
7039
+ "name": {
7040
+ "type": "string"
7041
+ },
7042
+ "title": {
7043
+ "type": "string"
7044
+ },
7045
+ "company": {
7046
+ "type": "string"
7047
+ }
7048
+ }
7049
+ },
7050
+ "aiDisclosure": {
7051
+ "type": "boolean",
7052
+ "default": true
7053
+ },
7054
+ "instructions": {
7055
+ "type": "string"
7056
+ },
7057
+ "categories": {
7058
+ "type": "array",
7059
+ "items": {
7060
+ "type": "string"
7061
+ }
7062
+ },
7063
+ "reasons": {
7064
+ "type": "array",
7065
+ "items": {
7066
+ "type": "string"
7067
+ }
7068
+ },
7069
+ "links": {
7070
+ "type": "array",
7071
+ "items": {
7072
+ "type": "object",
7073
+ "properties": {
7074
+ "label": {
7075
+ "type": "string"
7076
+ },
7077
+ "url": {
7078
+ "type": "string"
7079
+ }
7080
+ }
7081
+ }
7082
+ },
7083
+ "feedbackFormUrl": {
7084
+ "type": "string"
7085
+ },
7086
+ "status": {
7087
+ "type": "string",
7088
+ "enum": [
7089
+ "active",
7090
+ "draft",
7091
+ "archived",
7092
+ "failed"
7093
+ ]
7094
+ },
7095
+ "source": {
7096
+ "type": "string"
7097
+ },
7098
+ "timestamps": {
7099
+ "title": "ResourceTimestampsSchema",
7100
+ "type": "object",
7101
+ "properties": {
7102
+ "created": {
7103
+ "type": "string",
7104
+ "format": "date-time"
7105
+ },
7106
+ "modified": {
7107
+ "type": "string",
7108
+ "format": "date-time"
7109
+ }
7110
+ }
7111
+ }
7112
+ }
7113
+ },
7114
+ "relationships": {
7115
+ "title": "FeedbackRelationshipsSchema",
7116
+ "type": "object",
7117
+ "properties": {
7118
+ "jobs": {
7119
+ "title": "FeedbackRelationshipsJobsSchema",
7120
+ "type": "object",
7121
+ "properties": {
7122
+ "data": {
7123
+ "type": "object",
7124
+ "properties": {
7125
+ "type": {
7126
+ "type": "string"
7127
+ },
7128
+ "id": {
7129
+ "type": "string"
7130
+ }
7131
+ }
7132
+ }
7133
+ }
7134
+ }
7135
+ }
7136
+ }
7137
+ }
7138
+ }
7139
+ }
7140
+ }
7141
+ }
7142
+ },
7143
+ {
7144
+ "type": "function",
7145
+ "function": {
7146
+ "name": "feedbacks_options",
7147
+ "description": "Feedbacks Options",
7148
+ "parameters": {
7149
+ "type": "object",
7150
+ "properties": {}
7151
+ }
7152
+ }
7153
+ },
7154
+ {
7155
+ "type": "function",
7156
+ "function": {
7157
+ "name": "show_feedback",
7158
+ "description": "Show Feedback",
7159
+ "parameters": {
7160
+ "type": "object",
7161
+ "properties": {
7162
+ "feedbackId": {
7163
+ "type": "string",
7164
+ "description": "feedbackId parameter"
7165
+ }
7166
+ },
7167
+ "required": [
7168
+ "feedbackId"
7169
+ ]
7170
+ }
7171
+ }
7172
+ },
7173
+ {
7174
+ "type": "function",
7175
+ "function": {
7176
+ "name": "update_feedback",
7177
+ "description": "Update Feedback",
7178
+ "parameters": {
7179
+ "type": "object",
7180
+ "properties": {
7181
+ "feedbackId": {
7182
+ "type": "string",
7183
+ "description": "feedbackId parameter"
7184
+ },
7185
+ "requestBody": {
7186
+ "title": "UpdateFeedbackRequestBody",
7187
+ "type": "object",
7188
+ "required": [
7189
+ "data"
7190
+ ],
7191
+ "properties": {
7192
+ "data": {
7193
+ "title": "UpdateFeedbackRequestBodyData",
7194
+ "type": "object",
7195
+ "required": [
7196
+ "type",
7197
+ "id",
7198
+ "attributes"
7199
+ ],
7200
+ "properties": {
7201
+ "type": {
7202
+ "type": "string",
7203
+ "enum": [
7204
+ "feedbacks"
7205
+ ]
7206
+ },
7207
+ "id": {
7208
+ "type": "string"
7209
+ },
7210
+ "attributes": {
7211
+ "title": "FeedbackAttributesSchema",
7212
+ "type": "object",
7213
+ "required": [
7214
+ "name"
7215
+ ],
7216
+ "properties": {
7217
+ "name": {
7218
+ "type": "string"
7219
+ },
7220
+ "transparency": {
7221
+ "type": "string",
7222
+ "enum": [
7223
+ "generic",
7224
+ "category",
7225
+ "specific"
7226
+ ]
7227
+ },
7228
+ "tone": {
7229
+ "type": "string",
7230
+ "enum": [
7231
+ "casual",
7232
+ "formal",
7233
+ "superFormal"
7234
+ ]
7235
+ },
7236
+ "delay": {
7237
+ "type": "integer",
7238
+ "default": 72
7239
+ },
7240
+ "respectBusinessDays": {
7241
+ "type": "boolean",
7242
+ "default": false
7243
+ },
7244
+ "signature": {
7245
+ "type": "object",
7246
+ "properties": {
7247
+ "name": {
7248
+ "type": "string"
7249
+ },
7250
+ "title": {
7251
+ "type": "string"
7252
+ },
7253
+ "company": {
7254
+ "type": "string"
7255
+ }
7256
+ }
7257
+ },
7258
+ "aiDisclosure": {
7259
+ "type": "boolean",
7260
+ "default": true
7261
+ },
7262
+ "instructions": {
7263
+ "type": "string"
7264
+ },
7265
+ "categories": {
7266
+ "type": "array",
7267
+ "items": {
7268
+ "type": "string"
7269
+ }
7270
+ },
7271
+ "reasons": {
7272
+ "type": "array",
7273
+ "items": {
7274
+ "type": "string"
7275
+ }
7276
+ },
7277
+ "links": {
7278
+ "type": "array",
7279
+ "items": {
7280
+ "type": "object",
7281
+ "properties": {
7282
+ "label": {
7283
+ "type": "string"
7284
+ },
7285
+ "url": {
7286
+ "type": "string"
7287
+ }
7288
+ }
7289
+ }
7290
+ },
7291
+ "feedbackFormUrl": {
7292
+ "type": "string"
7293
+ },
7294
+ "status": {
7295
+ "type": "string",
7296
+ "enum": [
7297
+ "active",
7298
+ "draft",
7299
+ "archived",
7300
+ "failed"
7301
+ ]
7302
+ },
7303
+ "source": {
7304
+ "type": "string"
7305
+ },
7306
+ "timestamps": {
7307
+ "title": "ResourceTimestampsSchema",
7308
+ "type": "object",
7309
+ "properties": {
7310
+ "created": {
7311
+ "type": "string",
7312
+ "format": "date-time"
7313
+ },
7314
+ "modified": {
7315
+ "type": "string",
7316
+ "format": "date-time"
7317
+ }
7318
+ }
7319
+ }
7320
+ }
7321
+ },
7322
+ "relationships": {
7323
+ "title": "FeedbackRelationshipsSchema",
7324
+ "type": "object",
7325
+ "properties": {
7326
+ "jobs": {
7327
+ "title": "FeedbackRelationshipsJobsSchema",
7328
+ "type": "object",
7329
+ "properties": {
7330
+ "data": {
7331
+ "type": "object",
7332
+ "properties": {
7333
+ "type": {
7334
+ "type": "string"
7335
+ },
7336
+ "id": {
7337
+ "type": "string"
7338
+ }
7339
+ }
7340
+ }
7341
+ }
7342
+ }
7343
+ }
7344
+ }
7345
+ }
7346
+ }
7347
+ }
7348
+ }
7349
+ },
7350
+ "required": [
7351
+ "feedbackId",
7352
+ "requestBody"
7353
+ ]
7354
+ }
7355
+ }
7356
+ },
7357
+ {
7358
+ "type": "function",
7359
+ "function": {
7360
+ "name": "delete_feedback",
7361
+ "description": "Delete Feedback",
7362
+ "parameters": {
7363
+ "type": "object",
7364
+ "properties": {
7365
+ "feedbackId": {
7366
+ "type": "string",
7367
+ "description": "feedbackId parameter"
7368
+ },
7369
+ "permanentDelete": {
7370
+ "type": "string",
7371
+ "description": "Set to true for permanent deletion.",
7372
+ "enum": [
7373
+ "true",
7374
+ "false"
7375
+ ]
7376
+ }
7377
+ },
7378
+ "required": [
7379
+ "feedbackId"
7380
+ ]
7381
+ }
7382
+ }
7383
+ },
7384
+ {
7385
+ "type": "function",
7386
+ "function": {
7387
+ "name": "feedback_options",
7388
+ "description": "Feedback Options",
7389
+ "parameters": {
7390
+ "type": "object",
7391
+ "properties": {}
7392
+ }
7393
+ }
7394
+ },
6922
7395
  {
6923
7396
  "type": "function",
6924
7397
  "function": {
6925
7398
  "name": "create_submission",
6926
7399
  "description": "Create Submission",
6927
7400
  "parameters": {
6928
- "title": "CreateSubmissionRequestBody",
7401
+ "title": "CreateSubmissionRequestBody",
7402
+ "type": "object",
7403
+ "required": [
7404
+ "data"
7405
+ ],
7406
+ "properties": {
7407
+ "data": {
7408
+ "title": "CreateSubmissionRequestBodyData",
7409
+ "type": "object",
7410
+ "required": [
7411
+ "type",
7412
+ "attributes"
7413
+ ],
7414
+ "properties": {
7415
+ "type": {
7416
+ "type": "string",
7417
+ "enum": [
7418
+ "submissions"
7419
+ ]
7420
+ },
7421
+ "attributes": {
7422
+ "title": "SubmissionAttributesSchema",
7423
+ "type": "object",
7424
+ "required": [
7425
+ "name",
7426
+ "email"
7427
+ ],
7428
+ "properties": {
7429
+ "name": {
7430
+ "type": "string"
7431
+ },
7432
+ "email": {
7433
+ "type": "string"
7434
+ },
7435
+ "phone": {
7436
+ "type": "string"
7437
+ },
7438
+ "source": {
7439
+ "type": "string",
7440
+ "enum": [
7441
+ "form",
7442
+ "email",
7443
+ "call",
7444
+ "api"
7445
+ ]
7446
+ },
7447
+ "status": {
7448
+ "type": "string",
7449
+ "enum": [
7450
+ "received",
7451
+ "processing",
7452
+ "processed",
7453
+ "failed"
7454
+ ]
7455
+ },
7456
+ "language": {
7457
+ "type": "string"
7458
+ },
7459
+ "fields": {
7460
+ "type": "object",
7461
+ "description": "Custom form field answers keyed by field identifier"
7462
+ },
7463
+ "files": {
7464
+ "type": "array",
7465
+ "items": {
7466
+ "type": "object",
7467
+ "properties": {
7468
+ "key": {
7469
+ "type": "string"
7470
+ },
7471
+ "bucket": {
7472
+ "type": "string"
7473
+ },
7474
+ "name": {
7475
+ "type": "string"
7476
+ },
7477
+ "contentType": {
7478
+ "type": "string"
7479
+ }
7480
+ }
7481
+ }
7482
+ },
7483
+ "referral": {
7484
+ "type": "object",
7485
+ "properties": {
7486
+ "referrerName": {
7487
+ "type": "string"
7488
+ },
7489
+ "referrerEmail": {
7490
+ "type": "string"
7491
+ },
7492
+ "relationship": {
7493
+ "type": "string"
7494
+ },
7495
+ "note": {
7496
+ "type": "string"
7497
+ }
7498
+ }
7499
+ },
7500
+ "consent": {
7501
+ "type": "object",
7502
+ "properties": {
7503
+ "current": {
7504
+ "type": "boolean"
7505
+ },
7506
+ "future": {
7507
+ "type": "boolean"
7508
+ }
7509
+ }
7510
+ },
7511
+ "timestamps": {
7512
+ "title": "ResourceTimestampsSchema",
7513
+ "type": "object",
7514
+ "properties": {
7515
+ "created": {
7516
+ "type": "string",
7517
+ "format": "date-time"
7518
+ },
7519
+ "modified": {
7520
+ "type": "string",
7521
+ "format": "date-time"
7522
+ }
7523
+ }
7524
+ }
7525
+ }
7526
+ },
7527
+ "relationships": {
7528
+ "title": "SubmissionRelationshipsSchema",
7529
+ "type": "object",
7530
+ "properties": {
7531
+ "forms": {
7532
+ "title": "SubmissionRelationshipsFormsSchema",
7533
+ "type": "object",
7534
+ "properties": {
7535
+ "data": {
7536
+ "type": "array",
7537
+ "items": {
7538
+ "type": "object",
7539
+ "properties": {
7540
+ "type": {
7541
+ "type": "string"
7542
+ },
7543
+ "id": {
7544
+ "type": "string"
7545
+ }
7546
+ }
7547
+ }
7548
+ }
7549
+ }
7550
+ },
7551
+ "jobs": {
7552
+ "title": "SubmissionRelationshipsJobsSchema",
7553
+ "type": "object",
7554
+ "properties": {
7555
+ "data": {
7556
+ "type": "array",
7557
+ "items": {
7558
+ "type": "object",
7559
+ "properties": {
7560
+ "type": {
7561
+ "type": "string"
7562
+ },
7563
+ "id": {
7564
+ "type": "string"
7565
+ }
7566
+ }
7567
+ }
7568
+ }
7569
+ }
7570
+ },
7571
+ "talents": {
7572
+ "title": "SubmissionRelationshipsTalentsSchema",
7573
+ "type": "object",
7574
+ "properties": {
7575
+ "data": {
7576
+ "type": "array",
7577
+ "items": {
7578
+ "type": "object",
7579
+ "properties": {
7580
+ "type": {
7581
+ "type": "string"
7582
+ },
7583
+ "id": {
7584
+ "type": "string"
7585
+ }
7586
+ }
7587
+ }
7588
+ }
7589
+ }
7590
+ },
7591
+ "candidates": {
7592
+ "title": "SubmissionRelationshipsCandidatesSchema",
7593
+ "type": "object",
7594
+ "properties": {
7595
+ "data": {
7596
+ "type": "array",
7597
+ "items": {
7598
+ "type": "object",
7599
+ "properties": {
7600
+ "type": {
7601
+ "type": "string"
7602
+ },
7603
+ "id": {
7604
+ "type": "string"
7605
+ }
7606
+ }
7607
+ }
7608
+ }
7609
+ }
7610
+ }
7611
+ }
7612
+ }
7613
+ }
7614
+ }
7615
+ }
7616
+ }
7617
+ }
7618
+ },
7619
+ {
7620
+ "type": "function",
7621
+ "function": {
7622
+ "name": "list_submissions",
7623
+ "description": "List Submissions",
7624
+ "parameters": {
7625
+ "type": "object",
7626
+ "properties": {
7627
+ "filterStatus": {
7628
+ "type": "string",
7629
+ "description": "Returns submissions with the current status.",
7630
+ "enum": [
7631
+ "received",
7632
+ "processing",
7633
+ "processed",
7634
+ "failed"
7635
+ ]
7636
+ },
7637
+ "filterEmail": {
7638
+ "type": "string",
7639
+ "description": "Filter submissions by email address."
7640
+ },
7641
+ "filterCreatedFrom": {
7642
+ "type": "string",
7643
+ "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
7644
+ },
7645
+ "filterCreatedTo": {
7646
+ "type": "string",
7647
+ "description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
7648
+ },
7649
+ "filterModifiedFrom": {
7650
+ "type": "string",
7651
+ "description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
7652
+ },
7653
+ "filterModifiedTo": {
7654
+ "type": "string",
7655
+ "description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
7656
+ },
7657
+ "pageSize": {
7658
+ "type": "integer",
7659
+ "description": "Specifies the number of items to retrieve per page. The maximum value is 100."
7660
+ },
7661
+ "pageNumber": {
7662
+ "type": "integer",
7663
+ "description": "Specifies the page number to retrieve. Used for traditional pagination."
7664
+ },
7665
+ "pageAfter": {
7666
+ "type": "string",
7667
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
7668
+ },
7669
+ "pageBefore": {
7670
+ "type": "string",
7671
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
7672
+ }
7673
+ }
7674
+ }
7675
+ }
7676
+ },
7677
+ {
7678
+ "type": "function",
7679
+ "function": {
7680
+ "name": "submissions_options",
7681
+ "description": "Submissions Options",
7682
+ "parameters": {
7683
+ "type": "object",
7684
+ "properties": {}
7685
+ }
7686
+ }
7687
+ },
7688
+ {
7689
+ "type": "function",
7690
+ "function": {
7691
+ "name": "create_guest_submission",
7692
+ "description": "Create Submission (Guest)",
7693
+ "parameters": {
7694
+ "type": "object",
7695
+ "required": [
7696
+ "name",
7697
+ "email",
7698
+ "tenantId",
7699
+ "formId"
7700
+ ],
7701
+ "properties": {
7702
+ "tenantId": {
7703
+ "type": "string"
7704
+ },
7705
+ "formId": {
7706
+ "type": "string"
7707
+ },
7708
+ "name": {
7709
+ "type": "string"
7710
+ },
7711
+ "email": {
7712
+ "type": "string"
7713
+ },
7714
+ "phone": {
7715
+ "type": "string"
7716
+ },
7717
+ "files": {
7718
+ "type": "array",
7719
+ "items": {
7720
+ "type": "object",
7721
+ "properties": {
7722
+ "fileKey": {
7723
+ "type": "string"
7724
+ },
7725
+ "originalFilename": {
7726
+ "type": "string"
7727
+ }
7728
+ }
7729
+ }
7730
+ },
7731
+ "fields": {
7732
+ "type": "object"
7733
+ },
7734
+ "language": {
7735
+ "type": "string"
7736
+ },
7737
+ "jobId": {
7738
+ "type": "string"
7739
+ },
7740
+ "referral": {
7741
+ "type": "object",
7742
+ "properties": {
7743
+ "referrerName": {
7744
+ "type": "string"
7745
+ },
7746
+ "referrerEmail": {
7747
+ "type": "string"
7748
+ },
7749
+ "relationship": {
7750
+ "type": "string"
7751
+ },
7752
+ "note": {
7753
+ "type": "string"
7754
+ }
7755
+ }
7756
+ },
7757
+ "consentCurrent": {
7758
+ "type": "boolean"
7759
+ },
7760
+ "consentFuture": {
7761
+ "type": "boolean"
7762
+ }
7763
+ }
7764
+ }
7765
+ }
7766
+ },
7767
+ {
7768
+ "type": "function",
7769
+ "function": {
7770
+ "name": "guest_submissions_options",
7771
+ "description": "Guest Submissions Options",
7772
+ "parameters": {
7773
+ "type": "object",
7774
+ "properties": {}
7775
+ }
7776
+ }
7777
+ },
7778
+ {
7779
+ "type": "function",
7780
+ "function": {
7781
+ "name": "upload_guest_submission_file",
7782
+ "description": "Upload Submission File (Guest)",
7783
+ "parameters": {
7784
+ "type": "object",
7785
+ "required": [
7786
+ "fileName",
7787
+ "contentType",
7788
+ "tenantId",
7789
+ "formId"
7790
+ ],
7791
+ "properties": {
7792
+ "fileName": {
7793
+ "type": "string"
7794
+ },
7795
+ "contentType": {
7796
+ "type": "string"
7797
+ },
7798
+ "tenantId": {
7799
+ "type": "string"
7800
+ },
7801
+ "formId": {
7802
+ "type": "string"
7803
+ }
7804
+ }
7805
+ }
7806
+ }
7807
+ },
7808
+ {
7809
+ "type": "function",
7810
+ "function": {
7811
+ "name": "guest_submission_uploads_options",
7812
+ "description": "Guest Submission Uploads Options",
7813
+ "parameters": {
7814
+ "type": "object",
7815
+ "properties": {}
7816
+ }
7817
+ }
7818
+ },
7819
+ {
7820
+ "type": "function",
7821
+ "function": {
7822
+ "name": "show_submission",
7823
+ "description": "Show Submission",
7824
+ "parameters": {
7825
+ "type": "object",
7826
+ "properties": {
7827
+ "submissionId": {
7828
+ "type": "string",
7829
+ "description": "submissionId parameter"
7830
+ }
7831
+ },
7832
+ "required": [
7833
+ "submissionId"
7834
+ ]
7835
+ }
7836
+ }
7837
+ },
7838
+ {
7839
+ "type": "function",
7840
+ "function": {
7841
+ "name": "update_submission",
7842
+ "description": "Update Submission",
7843
+ "parameters": {
7844
+ "type": "object",
7845
+ "properties": {
7846
+ "submissionId": {
7847
+ "type": "string",
7848
+ "description": "submissionId parameter"
7849
+ },
7850
+ "requestBody": {
7851
+ "title": "UpdateSubmissionRequestBody",
7852
+ "type": "object",
7853
+ "required": [
7854
+ "data"
7855
+ ],
7856
+ "properties": {
7857
+ "data": {
7858
+ "title": "UpdateSubmissionRequestBodyData",
7859
+ "type": "object",
7860
+ "required": [
7861
+ "type",
7862
+ "id",
7863
+ "attributes"
7864
+ ],
7865
+ "properties": {
7866
+ "type": {
7867
+ "type": "string",
7868
+ "enum": [
7869
+ "submissions"
7870
+ ]
7871
+ },
7872
+ "id": {
7873
+ "type": "string"
7874
+ },
7875
+ "attributes": {
7876
+ "title": "SubmissionAttributesSchema",
7877
+ "type": "object",
7878
+ "required": [
7879
+ "name",
7880
+ "email"
7881
+ ],
7882
+ "properties": {
7883
+ "name": {
7884
+ "type": "string"
7885
+ },
7886
+ "email": {
7887
+ "type": "string"
7888
+ },
7889
+ "phone": {
7890
+ "type": "string"
7891
+ },
7892
+ "source": {
7893
+ "type": "string",
7894
+ "enum": [
7895
+ "form",
7896
+ "email",
7897
+ "call",
7898
+ "api"
7899
+ ]
7900
+ },
7901
+ "status": {
7902
+ "type": "string",
7903
+ "enum": [
7904
+ "received",
7905
+ "processing",
7906
+ "processed",
7907
+ "failed"
7908
+ ]
7909
+ },
7910
+ "language": {
7911
+ "type": "string"
7912
+ },
7913
+ "fields": {
7914
+ "type": "object",
7915
+ "description": "Custom form field answers keyed by field identifier"
7916
+ },
7917
+ "files": {
7918
+ "type": "array",
7919
+ "items": {
7920
+ "type": "object",
7921
+ "properties": {
7922
+ "key": {
7923
+ "type": "string"
7924
+ },
7925
+ "bucket": {
7926
+ "type": "string"
7927
+ },
7928
+ "name": {
7929
+ "type": "string"
7930
+ },
7931
+ "contentType": {
7932
+ "type": "string"
7933
+ }
7934
+ }
7935
+ }
7936
+ },
7937
+ "referral": {
7938
+ "type": "object",
7939
+ "properties": {
7940
+ "referrerName": {
7941
+ "type": "string"
7942
+ },
7943
+ "referrerEmail": {
7944
+ "type": "string"
7945
+ },
7946
+ "relationship": {
7947
+ "type": "string"
7948
+ },
7949
+ "note": {
7950
+ "type": "string"
7951
+ }
7952
+ }
7953
+ },
7954
+ "consent": {
7955
+ "type": "object",
7956
+ "properties": {
7957
+ "current": {
7958
+ "type": "boolean"
7959
+ },
7960
+ "future": {
7961
+ "type": "boolean"
7962
+ }
7963
+ }
7964
+ },
7965
+ "timestamps": {
7966
+ "title": "ResourceTimestampsSchema",
7967
+ "type": "object",
7968
+ "properties": {
7969
+ "created": {
7970
+ "type": "string",
7971
+ "format": "date-time"
7972
+ },
7973
+ "modified": {
7974
+ "type": "string",
7975
+ "format": "date-time"
7976
+ }
7977
+ }
7978
+ }
7979
+ }
7980
+ },
7981
+ "relationships": {
7982
+ "title": "SubmissionRelationshipsSchema",
7983
+ "type": "object",
7984
+ "properties": {
7985
+ "forms": {
7986
+ "title": "SubmissionRelationshipsFormsSchema",
7987
+ "type": "object",
7988
+ "properties": {
7989
+ "data": {
7990
+ "type": "array",
7991
+ "items": {
7992
+ "type": "object",
7993
+ "properties": {
7994
+ "type": {
7995
+ "type": "string"
7996
+ },
7997
+ "id": {
7998
+ "type": "string"
7999
+ }
8000
+ }
8001
+ }
8002
+ }
8003
+ }
8004
+ },
8005
+ "jobs": {
8006
+ "title": "SubmissionRelationshipsJobsSchema",
8007
+ "type": "object",
8008
+ "properties": {
8009
+ "data": {
8010
+ "type": "array",
8011
+ "items": {
8012
+ "type": "object",
8013
+ "properties": {
8014
+ "type": {
8015
+ "type": "string"
8016
+ },
8017
+ "id": {
8018
+ "type": "string"
8019
+ }
8020
+ }
8021
+ }
8022
+ }
8023
+ }
8024
+ },
8025
+ "talents": {
8026
+ "title": "SubmissionRelationshipsTalentsSchema",
8027
+ "type": "object",
8028
+ "properties": {
8029
+ "data": {
8030
+ "type": "array",
8031
+ "items": {
8032
+ "type": "object",
8033
+ "properties": {
8034
+ "type": {
8035
+ "type": "string"
8036
+ },
8037
+ "id": {
8038
+ "type": "string"
8039
+ }
8040
+ }
8041
+ }
8042
+ }
8043
+ }
8044
+ },
8045
+ "candidates": {
8046
+ "title": "SubmissionRelationshipsCandidatesSchema",
8047
+ "type": "object",
8048
+ "properties": {
8049
+ "data": {
8050
+ "type": "array",
8051
+ "items": {
8052
+ "type": "object",
8053
+ "properties": {
8054
+ "type": {
8055
+ "type": "string"
8056
+ },
8057
+ "id": {
8058
+ "type": "string"
8059
+ }
8060
+ }
8061
+ }
8062
+ }
8063
+ }
8064
+ }
8065
+ }
8066
+ }
8067
+ }
8068
+ }
8069
+ }
8070
+ }
8071
+ },
8072
+ "required": [
8073
+ "submissionId",
8074
+ "requestBody"
8075
+ ]
8076
+ }
8077
+ }
8078
+ },
8079
+ {
8080
+ "type": "function",
8081
+ "function": {
8082
+ "name": "delete_submission",
8083
+ "description": "Delete Submission",
8084
+ "parameters": {
8085
+ "type": "object",
8086
+ "properties": {
8087
+ "submissionId": {
8088
+ "type": "string",
8089
+ "description": "submissionId parameter"
8090
+ },
8091
+ "permanentDelete": {
8092
+ "type": "string",
8093
+ "description": "Set to true for permanent deletion.",
8094
+ "enum": [
8095
+ "true",
8096
+ "false"
8097
+ ]
8098
+ }
8099
+ },
8100
+ "required": [
8101
+ "submissionId"
8102
+ ]
8103
+ }
8104
+ }
8105
+ },
8106
+ {
8107
+ "type": "function",
8108
+ "function": {
8109
+ "name": "submission_options",
8110
+ "description": "Submission Options",
8111
+ "parameters": {
8112
+ "type": "object",
8113
+ "properties": {}
8114
+ }
8115
+ }
8116
+ },
8117
+ {
8118
+ "type": "function",
8119
+ "function": {
8120
+ "name": "create_brief",
8121
+ "description": "Create Brief",
8122
+ "parameters": {
8123
+ "title": "CreateBriefRequestBody",
6929
8124
  "type": "object",
6930
8125
  "required": [
6931
8126
  "data"
6932
8127
  ],
6933
8128
  "properties": {
6934
8129
  "data": {
6935
- "title": "CreateSubmissionRequestBodyData",
8130
+ "title": "CreateBriefRequestBodyData",
6936
8131
  "type": "object",
6937
8132
  "required": [
6938
8133
  "type",
@@ -6942,24 +8137,20 @@
6942
8137
  "type": {
6943
8138
  "type": "string",
6944
8139
  "enum": [
6945
- "submissions"
8140
+ "briefs"
6946
8141
  ]
6947
8142
  },
6948
8143
  "attributes": {
6949
- "title": "SubmissionAttributesSchema",
8144
+ "title": "BriefAttributesSchema",
6950
8145
  "type": "object",
6951
8146
  "required": [
6952
- "name",
6953
- "email"
8147
+ "title"
6954
8148
  ],
6955
8149
  "properties": {
6956
- "name": {
6957
- "type": "string"
6958
- },
6959
- "email": {
8150
+ "title": {
6960
8151
  "type": "string"
6961
8152
  },
6962
- "phone": {
8153
+ "description": {
6963
8154
  "type": "string"
6964
8155
  },
6965
8156
  "source": {
@@ -6968,6 +8159,8 @@
6968
8159
  "form",
6969
8160
  "email",
6970
8161
  "call",
8162
+ "sms",
8163
+ "ats",
6971
8164
  "api"
6972
8165
  ]
6973
8166
  },
@@ -6995,43 +8188,15 @@
6995
8188
  "key": {
6996
8189
  "type": "string"
6997
8190
  },
6998
- "bucket": {
6999
- "type": "string"
7000
- },
7001
- "name": {
7002
- "type": "string"
7003
- },
7004
- "contentType": {
7005
- "type": "string"
7006
- }
7007
- }
7008
- }
7009
- },
7010
- "referral": {
7011
- "type": "object",
7012
- "properties": {
7013
- "referrerName": {
7014
- "type": "string"
7015
- },
7016
- "referrerEmail": {
7017
- "type": "string"
7018
- },
7019
- "relationship": {
7020
- "type": "string"
7021
- },
7022
- "note": {
7023
- "type": "string"
7024
- }
7025
- }
7026
- },
7027
- "consent": {
7028
- "type": "object",
7029
- "properties": {
7030
- "current": {
7031
- "type": "boolean"
7032
- },
7033
- "future": {
7034
- "type": "boolean"
8191
+ "bucket": {
8192
+ "type": "string"
8193
+ },
8194
+ "name": {
8195
+ "type": "string"
8196
+ },
8197
+ "contentType": {
8198
+ "type": "string"
8199
+ }
7035
8200
  }
7036
8201
  }
7037
8202
  },
@@ -7052,11 +8217,11 @@
7052
8217
  }
7053
8218
  },
7054
8219
  "relationships": {
7055
- "title": "SubmissionRelationshipsSchema",
8220
+ "title": "BriefRelationshipsSchema",
7056
8221
  "type": "object",
7057
8222
  "properties": {
7058
8223
  "forms": {
7059
- "title": "SubmissionRelationshipsFormsSchema",
8224
+ "title": "BriefRelationshipsFormsSchema",
7060
8225
  "type": "object",
7061
8226
  "properties": {
7062
8227
  "data": {
@@ -7076,27 +8241,7 @@
7076
8241
  }
7077
8242
  },
7078
8243
  "jobs": {
7079
- "title": "SubmissionRelationshipsJobsSchema",
7080
- "type": "object",
7081
- "properties": {
7082
- "data": {
7083
- "type": "array",
7084
- "items": {
7085
- "type": "object",
7086
- "properties": {
7087
- "type": {
7088
- "type": "string"
7089
- },
7090
- "id": {
7091
- "type": "string"
7092
- }
7093
- }
7094
- }
7095
- }
7096
- }
7097
- },
7098
- "talents": {
7099
- "title": "SubmissionRelationshipsTalentsSchema",
8244
+ "title": "BriefRelationshipsJobsSchema",
7100
8245
  "type": "object",
7101
8246
  "properties": {
7102
8247
  "data": {
@@ -7115,8 +8260,8 @@
7115
8260
  }
7116
8261
  }
7117
8262
  },
7118
- "candidates": {
7119
- "title": "SubmissionRelationshipsCandidatesSchema",
8263
+ "users": {
8264
+ "title": "BriefRelationshipsUsersSchema",
7120
8265
  "type": "object",
7121
8266
  "properties": {
7122
8267
  "data": {
@@ -7146,14 +8291,14 @@
7146
8291
  {
7147
8292
  "type": "function",
7148
8293
  "function": {
7149
- "name": "list_submissions",
7150
- "description": "List Submissions",
8294
+ "name": "list_briefs",
8295
+ "description": "List Briefs",
7151
8296
  "parameters": {
7152
8297
  "type": "object",
7153
8298
  "properties": {
7154
8299
  "filterStatus": {
7155
8300
  "type": "string",
7156
- "description": "Returns submissions with the current status.",
8301
+ "description": "Returns briefs with the current status.",
7157
8302
  "enum": [
7158
8303
  "received",
7159
8304
  "processing",
@@ -7161,9 +8306,17 @@
7161
8306
  "failed"
7162
8307
  ]
7163
8308
  },
7164
- "filterEmail": {
8309
+ "filterSource": {
7165
8310
  "type": "string",
7166
- "description": "Filter submissions by email address."
8311
+ "description": "Filter briefs by source channel.",
8312
+ "enum": [
8313
+ "form",
8314
+ "email",
8315
+ "call",
8316
+ "sms",
8317
+ "ats",
8318
+ "api"
8319
+ ]
7167
8320
  },
7168
8321
  "filterCreatedFrom": {
7169
8322
  "type": "string",
@@ -7204,139 +8357,8 @@
7204
8357
  {
7205
8358
  "type": "function",
7206
8359
  "function": {
7207
- "name": "submissions_options",
7208
- "description": "Submissions Options",
7209
- "parameters": {
7210
- "type": "object",
7211
- "properties": {}
7212
- }
7213
- }
7214
- },
7215
- {
7216
- "type": "function",
7217
- "function": {
7218
- "name": "create_guest_submission",
7219
- "description": "Create Submission (Guest)",
7220
- "parameters": {
7221
- "type": "object",
7222
- "required": [
7223
- "name",
7224
- "email",
7225
- "tenantId",
7226
- "formId"
7227
- ],
7228
- "properties": {
7229
- "tenantId": {
7230
- "type": "string"
7231
- },
7232
- "formId": {
7233
- "type": "string"
7234
- },
7235
- "name": {
7236
- "type": "string"
7237
- },
7238
- "email": {
7239
- "type": "string"
7240
- },
7241
- "phone": {
7242
- "type": "string"
7243
- },
7244
- "files": {
7245
- "type": "array",
7246
- "items": {
7247
- "type": "object",
7248
- "properties": {
7249
- "fileKey": {
7250
- "type": "string"
7251
- },
7252
- "originalFilename": {
7253
- "type": "string"
7254
- }
7255
- }
7256
- }
7257
- },
7258
- "fields": {
7259
- "type": "object"
7260
- },
7261
- "language": {
7262
- "type": "string"
7263
- },
7264
- "jobId": {
7265
- "type": "string"
7266
- },
7267
- "referral": {
7268
- "type": "object",
7269
- "properties": {
7270
- "referrerName": {
7271
- "type": "string"
7272
- },
7273
- "referrerEmail": {
7274
- "type": "string"
7275
- },
7276
- "relationship": {
7277
- "type": "string"
7278
- },
7279
- "note": {
7280
- "type": "string"
7281
- }
7282
- }
7283
- },
7284
- "consentCurrent": {
7285
- "type": "boolean"
7286
- },
7287
- "consentFuture": {
7288
- "type": "boolean"
7289
- }
7290
- }
7291
- }
7292
- }
7293
- },
7294
- {
7295
- "type": "function",
7296
- "function": {
7297
- "name": "guest_submissions_options",
7298
- "description": "Guest Submissions Options",
7299
- "parameters": {
7300
- "type": "object",
7301
- "properties": {}
7302
- }
7303
- }
7304
- },
7305
- {
7306
- "type": "function",
7307
- "function": {
7308
- "name": "upload_guest_submission_file",
7309
- "description": "Upload Submission File (Guest)",
7310
- "parameters": {
7311
- "type": "object",
7312
- "required": [
7313
- "fileName",
7314
- "contentType",
7315
- "tenantId",
7316
- "formId"
7317
- ],
7318
- "properties": {
7319
- "fileName": {
7320
- "type": "string"
7321
- },
7322
- "contentType": {
7323
- "type": "string"
7324
- },
7325
- "tenantId": {
7326
- "type": "string"
7327
- },
7328
- "formId": {
7329
- "type": "string"
7330
- }
7331
- }
7332
- }
7333
- }
7334
- },
7335
- {
7336
- "type": "function",
7337
- "function": {
7338
- "name": "guest_submission_uploads_options",
7339
- "description": "Guest Submission Uploads Options",
8360
+ "name": "briefs_options",
8361
+ "description": "Briefs Options",
7340
8362
  "parameters": {
7341
8363
  "type": "object",
7342
8364
  "properties": {}
@@ -7346,18 +8368,18 @@
7346
8368
  {
7347
8369
  "type": "function",
7348
8370
  "function": {
7349
- "name": "show_submission",
7350
- "description": "Show Submission",
8371
+ "name": "show_brief",
8372
+ "description": "Show Brief",
7351
8373
  "parameters": {
7352
8374
  "type": "object",
7353
8375
  "properties": {
7354
- "submissionId": {
8376
+ "briefId": {
7355
8377
  "type": "string",
7356
- "description": "submissionId parameter"
8378
+ "description": "briefId parameter"
7357
8379
  }
7358
8380
  },
7359
8381
  "required": [
7360
- "submissionId"
8382
+ "briefId"
7361
8383
  ]
7362
8384
  }
7363
8385
  }
@@ -7365,24 +8387,24 @@
7365
8387
  {
7366
8388
  "type": "function",
7367
8389
  "function": {
7368
- "name": "update_submission",
7369
- "description": "Update Submission",
8390
+ "name": "update_brief",
8391
+ "description": "Update Brief",
7370
8392
  "parameters": {
7371
8393
  "type": "object",
7372
8394
  "properties": {
7373
- "submissionId": {
8395
+ "briefId": {
7374
8396
  "type": "string",
7375
- "description": "submissionId parameter"
8397
+ "description": "briefId parameter"
7376
8398
  },
7377
8399
  "requestBody": {
7378
- "title": "UpdateSubmissionRequestBody",
8400
+ "title": "UpdateBriefRequestBody",
7379
8401
  "type": "object",
7380
8402
  "required": [
7381
8403
  "data"
7382
8404
  ],
7383
8405
  "properties": {
7384
8406
  "data": {
7385
- "title": "UpdateSubmissionRequestBodyData",
8407
+ "title": "UpdateBriefRequestBodyData",
7386
8408
  "type": "object",
7387
8409
  "required": [
7388
8410
  "type",
@@ -7393,27 +8415,23 @@
7393
8415
  "type": {
7394
8416
  "type": "string",
7395
8417
  "enum": [
7396
- "submissions"
8418
+ "briefs"
7397
8419
  ]
7398
8420
  },
7399
8421
  "id": {
7400
8422
  "type": "string"
7401
8423
  },
7402
8424
  "attributes": {
7403
- "title": "SubmissionAttributesSchema",
8425
+ "title": "BriefAttributesSchema",
7404
8426
  "type": "object",
7405
8427
  "required": [
7406
- "name",
7407
- "email"
8428
+ "title"
7408
8429
  ],
7409
8430
  "properties": {
7410
- "name": {
7411
- "type": "string"
7412
- },
7413
- "email": {
8431
+ "title": {
7414
8432
  "type": "string"
7415
8433
  },
7416
- "phone": {
8434
+ "description": {
7417
8435
  "type": "string"
7418
8436
  },
7419
8437
  "source": {
@@ -7422,6 +8440,8 @@
7422
8440
  "form",
7423
8441
  "email",
7424
8442
  "call",
8443
+ "sms",
8444
+ "ats",
7425
8445
  "api"
7426
8446
  ]
7427
8447
  },
@@ -7461,34 +8481,6 @@
7461
8481
  }
7462
8482
  }
7463
8483
  },
7464
- "referral": {
7465
- "type": "object",
7466
- "properties": {
7467
- "referrerName": {
7468
- "type": "string"
7469
- },
7470
- "referrerEmail": {
7471
- "type": "string"
7472
- },
7473
- "relationship": {
7474
- "type": "string"
7475
- },
7476
- "note": {
7477
- "type": "string"
7478
- }
7479
- }
7480
- },
7481
- "consent": {
7482
- "type": "object",
7483
- "properties": {
7484
- "current": {
7485
- "type": "boolean"
7486
- },
7487
- "future": {
7488
- "type": "boolean"
7489
- }
7490
- }
7491
- },
7492
8484
  "timestamps": {
7493
8485
  "title": "ResourceTimestampsSchema",
7494
8486
  "type": "object",
@@ -7506,11 +8498,11 @@
7506
8498
  }
7507
8499
  },
7508
8500
  "relationships": {
7509
- "title": "SubmissionRelationshipsSchema",
8501
+ "title": "BriefRelationshipsSchema",
7510
8502
  "type": "object",
7511
8503
  "properties": {
7512
8504
  "forms": {
7513
- "title": "SubmissionRelationshipsFormsSchema",
8505
+ "title": "BriefRelationshipsFormsSchema",
7514
8506
  "type": "object",
7515
8507
  "properties": {
7516
8508
  "data": {
@@ -7530,27 +8522,7 @@
7530
8522
  }
7531
8523
  },
7532
8524
  "jobs": {
7533
- "title": "SubmissionRelationshipsJobsSchema",
7534
- "type": "object",
7535
- "properties": {
7536
- "data": {
7537
- "type": "array",
7538
- "items": {
7539
- "type": "object",
7540
- "properties": {
7541
- "type": {
7542
- "type": "string"
7543
- },
7544
- "id": {
7545
- "type": "string"
7546
- }
7547
- }
7548
- }
7549
- }
7550
- }
7551
- },
7552
- "talents": {
7553
- "title": "SubmissionRelationshipsTalentsSchema",
8525
+ "title": "BriefRelationshipsJobsSchema",
7554
8526
  "type": "object",
7555
8527
  "properties": {
7556
8528
  "data": {
@@ -7569,8 +8541,8 @@
7569
8541
  }
7570
8542
  }
7571
8543
  },
7572
- "candidates": {
7573
- "title": "SubmissionRelationshipsCandidatesSchema",
8544
+ "users": {
8545
+ "title": "BriefRelationshipsUsersSchema",
7574
8546
  "type": "object",
7575
8547
  "properties": {
7576
8548
  "data": {
@@ -7597,7 +8569,7 @@
7597
8569
  }
7598
8570
  },
7599
8571
  "required": [
7600
- "submissionId",
8572
+ "briefId",
7601
8573
  "requestBody"
7602
8574
  ]
7603
8575
  }
@@ -7606,14 +8578,14 @@
7606
8578
  {
7607
8579
  "type": "function",
7608
8580
  "function": {
7609
- "name": "delete_submission",
7610
- "description": "Delete Submission",
8581
+ "name": "delete_brief",
8582
+ "description": "Delete Brief",
7611
8583
  "parameters": {
7612
8584
  "type": "object",
7613
8585
  "properties": {
7614
- "submissionId": {
8586
+ "briefId": {
7615
8587
  "type": "string",
7616
- "description": "submissionId parameter"
8588
+ "description": "briefId parameter"
7617
8589
  },
7618
8590
  "permanentDelete": {
7619
8591
  "type": "string",
@@ -7625,7 +8597,7 @@
7625
8597
  }
7626
8598
  },
7627
8599
  "required": [
7628
- "submissionId"
8600
+ "briefId"
7629
8601
  ]
7630
8602
  }
7631
8603
  }
@@ -7633,8 +8605,8 @@
7633
8605
  {
7634
8606
  "type": "function",
7635
8607
  "function": {
7636
- "name": "submission_options",
7637
- "description": "Submission Options",
8608
+ "name": "brief_options",
8609
+ "description": "Brief Options",
7638
8610
  "parameters": {
7639
8611
  "type": "object",
7640
8612
  "properties": {}