@smartytalent/openai-tools 0.1.20 → 0.1.22
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.
- package/dist/tools.json +517 -1
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -7444,6 +7444,14 @@
|
|
|
7444
7444
|
"api"
|
|
7445
7445
|
]
|
|
7446
7446
|
},
|
|
7447
|
+
"type": {
|
|
7448
|
+
"type": "string",
|
|
7449
|
+
"enum": [
|
|
7450
|
+
"candidate",
|
|
7451
|
+
"talent"
|
|
7452
|
+
],
|
|
7453
|
+
"description": "Submission type — determines which workflow to trigger"
|
|
7454
|
+
},
|
|
7447
7455
|
"status": {
|
|
7448
7456
|
"type": "string",
|
|
7449
7457
|
"enum": [
|
|
@@ -7898,6 +7906,14 @@
|
|
|
7898
7906
|
"api"
|
|
7899
7907
|
]
|
|
7900
7908
|
},
|
|
7909
|
+
"type": {
|
|
7910
|
+
"type": "string",
|
|
7911
|
+
"enum": [
|
|
7912
|
+
"candidate",
|
|
7913
|
+
"talent"
|
|
7914
|
+
],
|
|
7915
|
+
"description": "Submission type — determines which workflow to trigger"
|
|
7916
|
+
},
|
|
7901
7917
|
"status": {
|
|
7902
7918
|
"type": "string",
|
|
7903
7919
|
"enum": [
|
|
@@ -8114,6 +8130,505 @@
|
|
|
8114
8130
|
}
|
|
8115
8131
|
}
|
|
8116
8132
|
},
|
|
8133
|
+
{
|
|
8134
|
+
"type": "function",
|
|
8135
|
+
"function": {
|
|
8136
|
+
"name": "create_brief",
|
|
8137
|
+
"description": "Create Brief",
|
|
8138
|
+
"parameters": {
|
|
8139
|
+
"title": "CreateBriefRequestBody",
|
|
8140
|
+
"type": "object",
|
|
8141
|
+
"required": [
|
|
8142
|
+
"data"
|
|
8143
|
+
],
|
|
8144
|
+
"properties": {
|
|
8145
|
+
"data": {
|
|
8146
|
+
"title": "CreateBriefRequestBodyData",
|
|
8147
|
+
"type": "object",
|
|
8148
|
+
"required": [
|
|
8149
|
+
"type",
|
|
8150
|
+
"attributes"
|
|
8151
|
+
],
|
|
8152
|
+
"properties": {
|
|
8153
|
+
"type": {
|
|
8154
|
+
"type": "string",
|
|
8155
|
+
"enum": [
|
|
8156
|
+
"briefs"
|
|
8157
|
+
]
|
|
8158
|
+
},
|
|
8159
|
+
"attributes": {
|
|
8160
|
+
"title": "BriefAttributesSchema",
|
|
8161
|
+
"type": "object",
|
|
8162
|
+
"required": [
|
|
8163
|
+
"title"
|
|
8164
|
+
],
|
|
8165
|
+
"properties": {
|
|
8166
|
+
"title": {
|
|
8167
|
+
"type": "string"
|
|
8168
|
+
},
|
|
8169
|
+
"description": {
|
|
8170
|
+
"type": "string"
|
|
8171
|
+
},
|
|
8172
|
+
"source": {
|
|
8173
|
+
"type": "string",
|
|
8174
|
+
"enum": [
|
|
8175
|
+
"form",
|
|
8176
|
+
"email",
|
|
8177
|
+
"call",
|
|
8178
|
+
"sms",
|
|
8179
|
+
"ats",
|
|
8180
|
+
"api"
|
|
8181
|
+
]
|
|
8182
|
+
},
|
|
8183
|
+
"status": {
|
|
8184
|
+
"type": "string",
|
|
8185
|
+
"enum": [
|
|
8186
|
+
"received",
|
|
8187
|
+
"processing",
|
|
8188
|
+
"processed",
|
|
8189
|
+
"failed"
|
|
8190
|
+
]
|
|
8191
|
+
},
|
|
8192
|
+
"language": {
|
|
8193
|
+
"type": "string"
|
|
8194
|
+
},
|
|
8195
|
+
"fields": {
|
|
8196
|
+
"type": "object",
|
|
8197
|
+
"description": "Custom form field answers keyed by field identifier"
|
|
8198
|
+
},
|
|
8199
|
+
"files": {
|
|
8200
|
+
"type": "array",
|
|
8201
|
+
"items": {
|
|
8202
|
+
"type": "object",
|
|
8203
|
+
"properties": {
|
|
8204
|
+
"key": {
|
|
8205
|
+
"type": "string"
|
|
8206
|
+
},
|
|
8207
|
+
"bucket": {
|
|
8208
|
+
"type": "string"
|
|
8209
|
+
},
|
|
8210
|
+
"name": {
|
|
8211
|
+
"type": "string"
|
|
8212
|
+
},
|
|
8213
|
+
"contentType": {
|
|
8214
|
+
"type": "string"
|
|
8215
|
+
}
|
|
8216
|
+
}
|
|
8217
|
+
}
|
|
8218
|
+
},
|
|
8219
|
+
"timestamps": {
|
|
8220
|
+
"title": "ResourceTimestampsSchema",
|
|
8221
|
+
"type": "object",
|
|
8222
|
+
"properties": {
|
|
8223
|
+
"created": {
|
|
8224
|
+
"type": "string",
|
|
8225
|
+
"format": "date-time"
|
|
8226
|
+
},
|
|
8227
|
+
"modified": {
|
|
8228
|
+
"type": "string",
|
|
8229
|
+
"format": "date-time"
|
|
8230
|
+
}
|
|
8231
|
+
}
|
|
8232
|
+
}
|
|
8233
|
+
}
|
|
8234
|
+
},
|
|
8235
|
+
"relationships": {
|
|
8236
|
+
"title": "BriefRelationshipsSchema",
|
|
8237
|
+
"type": "object",
|
|
8238
|
+
"properties": {
|
|
8239
|
+
"forms": {
|
|
8240
|
+
"title": "BriefRelationshipsFormsSchema",
|
|
8241
|
+
"type": "object",
|
|
8242
|
+
"properties": {
|
|
8243
|
+
"data": {
|
|
8244
|
+
"type": "array",
|
|
8245
|
+
"items": {
|
|
8246
|
+
"type": "object",
|
|
8247
|
+
"properties": {
|
|
8248
|
+
"type": {
|
|
8249
|
+
"type": "string"
|
|
8250
|
+
},
|
|
8251
|
+
"id": {
|
|
8252
|
+
"type": "string"
|
|
8253
|
+
}
|
|
8254
|
+
}
|
|
8255
|
+
}
|
|
8256
|
+
}
|
|
8257
|
+
}
|
|
8258
|
+
},
|
|
8259
|
+
"jobs": {
|
|
8260
|
+
"title": "BriefRelationshipsJobsSchema",
|
|
8261
|
+
"type": "object",
|
|
8262
|
+
"properties": {
|
|
8263
|
+
"data": {
|
|
8264
|
+
"type": "array",
|
|
8265
|
+
"items": {
|
|
8266
|
+
"type": "object",
|
|
8267
|
+
"properties": {
|
|
8268
|
+
"type": {
|
|
8269
|
+
"type": "string"
|
|
8270
|
+
},
|
|
8271
|
+
"id": {
|
|
8272
|
+
"type": "string"
|
|
8273
|
+
}
|
|
8274
|
+
}
|
|
8275
|
+
}
|
|
8276
|
+
}
|
|
8277
|
+
}
|
|
8278
|
+
},
|
|
8279
|
+
"users": {
|
|
8280
|
+
"title": "BriefRelationshipsUsersSchema",
|
|
8281
|
+
"type": "object",
|
|
8282
|
+
"properties": {
|
|
8283
|
+
"data": {
|
|
8284
|
+
"type": "array",
|
|
8285
|
+
"items": {
|
|
8286
|
+
"type": "object",
|
|
8287
|
+
"properties": {
|
|
8288
|
+
"type": {
|
|
8289
|
+
"type": "string"
|
|
8290
|
+
},
|
|
8291
|
+
"id": {
|
|
8292
|
+
"type": "string"
|
|
8293
|
+
}
|
|
8294
|
+
}
|
|
8295
|
+
}
|
|
8296
|
+
}
|
|
8297
|
+
}
|
|
8298
|
+
}
|
|
8299
|
+
}
|
|
8300
|
+
}
|
|
8301
|
+
}
|
|
8302
|
+
}
|
|
8303
|
+
}
|
|
8304
|
+
}
|
|
8305
|
+
}
|
|
8306
|
+
},
|
|
8307
|
+
{
|
|
8308
|
+
"type": "function",
|
|
8309
|
+
"function": {
|
|
8310
|
+
"name": "list_briefs",
|
|
8311
|
+
"description": "List Briefs",
|
|
8312
|
+
"parameters": {
|
|
8313
|
+
"type": "object",
|
|
8314
|
+
"properties": {
|
|
8315
|
+
"filterStatus": {
|
|
8316
|
+
"type": "string",
|
|
8317
|
+
"description": "Returns briefs with the current status.",
|
|
8318
|
+
"enum": [
|
|
8319
|
+
"received",
|
|
8320
|
+
"processing",
|
|
8321
|
+
"processed",
|
|
8322
|
+
"failed"
|
|
8323
|
+
]
|
|
8324
|
+
},
|
|
8325
|
+
"filterSource": {
|
|
8326
|
+
"type": "string",
|
|
8327
|
+
"description": "Filter briefs by source channel.",
|
|
8328
|
+
"enum": [
|
|
8329
|
+
"form",
|
|
8330
|
+
"email",
|
|
8331
|
+
"call",
|
|
8332
|
+
"sms",
|
|
8333
|
+
"ats",
|
|
8334
|
+
"api"
|
|
8335
|
+
]
|
|
8336
|
+
},
|
|
8337
|
+
"filterCreatedFrom": {
|
|
8338
|
+
"type": "string",
|
|
8339
|
+
"description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
|
|
8340
|
+
},
|
|
8341
|
+
"filterCreatedTo": {
|
|
8342
|
+
"type": "string",
|
|
8343
|
+
"description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
|
|
8344
|
+
},
|
|
8345
|
+
"filterModifiedFrom": {
|
|
8346
|
+
"type": "string",
|
|
8347
|
+
"description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
|
|
8348
|
+
},
|
|
8349
|
+
"filterModifiedTo": {
|
|
8350
|
+
"type": "string",
|
|
8351
|
+
"description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
|
|
8352
|
+
},
|
|
8353
|
+
"pageSize": {
|
|
8354
|
+
"type": "integer",
|
|
8355
|
+
"description": "Specifies the number of items to retrieve per page. The maximum value is 100."
|
|
8356
|
+
},
|
|
8357
|
+
"pageNumber": {
|
|
8358
|
+
"type": "integer",
|
|
8359
|
+
"description": "Specifies the page number to retrieve. Used for traditional pagination."
|
|
8360
|
+
},
|
|
8361
|
+
"pageAfter": {
|
|
8362
|
+
"type": "string",
|
|
8363
|
+
"description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
|
|
8364
|
+
},
|
|
8365
|
+
"pageBefore": {
|
|
8366
|
+
"type": "string",
|
|
8367
|
+
"description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
|
|
8368
|
+
}
|
|
8369
|
+
}
|
|
8370
|
+
}
|
|
8371
|
+
}
|
|
8372
|
+
},
|
|
8373
|
+
{
|
|
8374
|
+
"type": "function",
|
|
8375
|
+
"function": {
|
|
8376
|
+
"name": "briefs_options",
|
|
8377
|
+
"description": "Briefs Options",
|
|
8378
|
+
"parameters": {
|
|
8379
|
+
"type": "object",
|
|
8380
|
+
"properties": {}
|
|
8381
|
+
}
|
|
8382
|
+
}
|
|
8383
|
+
},
|
|
8384
|
+
{
|
|
8385
|
+
"type": "function",
|
|
8386
|
+
"function": {
|
|
8387
|
+
"name": "show_brief",
|
|
8388
|
+
"description": "Show Brief",
|
|
8389
|
+
"parameters": {
|
|
8390
|
+
"type": "object",
|
|
8391
|
+
"properties": {
|
|
8392
|
+
"briefId": {
|
|
8393
|
+
"type": "string",
|
|
8394
|
+
"description": "briefId parameter"
|
|
8395
|
+
}
|
|
8396
|
+
},
|
|
8397
|
+
"required": [
|
|
8398
|
+
"briefId"
|
|
8399
|
+
]
|
|
8400
|
+
}
|
|
8401
|
+
}
|
|
8402
|
+
},
|
|
8403
|
+
{
|
|
8404
|
+
"type": "function",
|
|
8405
|
+
"function": {
|
|
8406
|
+
"name": "update_brief",
|
|
8407
|
+
"description": "Update Brief",
|
|
8408
|
+
"parameters": {
|
|
8409
|
+
"type": "object",
|
|
8410
|
+
"properties": {
|
|
8411
|
+
"briefId": {
|
|
8412
|
+
"type": "string",
|
|
8413
|
+
"description": "briefId parameter"
|
|
8414
|
+
},
|
|
8415
|
+
"requestBody": {
|
|
8416
|
+
"title": "UpdateBriefRequestBody",
|
|
8417
|
+
"type": "object",
|
|
8418
|
+
"required": [
|
|
8419
|
+
"data"
|
|
8420
|
+
],
|
|
8421
|
+
"properties": {
|
|
8422
|
+
"data": {
|
|
8423
|
+
"title": "UpdateBriefRequestBodyData",
|
|
8424
|
+
"type": "object",
|
|
8425
|
+
"required": [
|
|
8426
|
+
"type",
|
|
8427
|
+
"id",
|
|
8428
|
+
"attributes"
|
|
8429
|
+
],
|
|
8430
|
+
"properties": {
|
|
8431
|
+
"type": {
|
|
8432
|
+
"type": "string",
|
|
8433
|
+
"enum": [
|
|
8434
|
+
"briefs"
|
|
8435
|
+
]
|
|
8436
|
+
},
|
|
8437
|
+
"id": {
|
|
8438
|
+
"type": "string"
|
|
8439
|
+
},
|
|
8440
|
+
"attributes": {
|
|
8441
|
+
"title": "BriefAttributesSchema",
|
|
8442
|
+
"type": "object",
|
|
8443
|
+
"required": [
|
|
8444
|
+
"title"
|
|
8445
|
+
],
|
|
8446
|
+
"properties": {
|
|
8447
|
+
"title": {
|
|
8448
|
+
"type": "string"
|
|
8449
|
+
},
|
|
8450
|
+
"description": {
|
|
8451
|
+
"type": "string"
|
|
8452
|
+
},
|
|
8453
|
+
"source": {
|
|
8454
|
+
"type": "string",
|
|
8455
|
+
"enum": [
|
|
8456
|
+
"form",
|
|
8457
|
+
"email",
|
|
8458
|
+
"call",
|
|
8459
|
+
"sms",
|
|
8460
|
+
"ats",
|
|
8461
|
+
"api"
|
|
8462
|
+
]
|
|
8463
|
+
},
|
|
8464
|
+
"status": {
|
|
8465
|
+
"type": "string",
|
|
8466
|
+
"enum": [
|
|
8467
|
+
"received",
|
|
8468
|
+
"processing",
|
|
8469
|
+
"processed",
|
|
8470
|
+
"failed"
|
|
8471
|
+
]
|
|
8472
|
+
},
|
|
8473
|
+
"language": {
|
|
8474
|
+
"type": "string"
|
|
8475
|
+
},
|
|
8476
|
+
"fields": {
|
|
8477
|
+
"type": "object",
|
|
8478
|
+
"description": "Custom form field answers keyed by field identifier"
|
|
8479
|
+
},
|
|
8480
|
+
"files": {
|
|
8481
|
+
"type": "array",
|
|
8482
|
+
"items": {
|
|
8483
|
+
"type": "object",
|
|
8484
|
+
"properties": {
|
|
8485
|
+
"key": {
|
|
8486
|
+
"type": "string"
|
|
8487
|
+
},
|
|
8488
|
+
"bucket": {
|
|
8489
|
+
"type": "string"
|
|
8490
|
+
},
|
|
8491
|
+
"name": {
|
|
8492
|
+
"type": "string"
|
|
8493
|
+
},
|
|
8494
|
+
"contentType": {
|
|
8495
|
+
"type": "string"
|
|
8496
|
+
}
|
|
8497
|
+
}
|
|
8498
|
+
}
|
|
8499
|
+
},
|
|
8500
|
+
"timestamps": {
|
|
8501
|
+
"title": "ResourceTimestampsSchema",
|
|
8502
|
+
"type": "object",
|
|
8503
|
+
"properties": {
|
|
8504
|
+
"created": {
|
|
8505
|
+
"type": "string",
|
|
8506
|
+
"format": "date-time"
|
|
8507
|
+
},
|
|
8508
|
+
"modified": {
|
|
8509
|
+
"type": "string",
|
|
8510
|
+
"format": "date-time"
|
|
8511
|
+
}
|
|
8512
|
+
}
|
|
8513
|
+
}
|
|
8514
|
+
}
|
|
8515
|
+
},
|
|
8516
|
+
"relationships": {
|
|
8517
|
+
"title": "BriefRelationshipsSchema",
|
|
8518
|
+
"type": "object",
|
|
8519
|
+
"properties": {
|
|
8520
|
+
"forms": {
|
|
8521
|
+
"title": "BriefRelationshipsFormsSchema",
|
|
8522
|
+
"type": "object",
|
|
8523
|
+
"properties": {
|
|
8524
|
+
"data": {
|
|
8525
|
+
"type": "array",
|
|
8526
|
+
"items": {
|
|
8527
|
+
"type": "object",
|
|
8528
|
+
"properties": {
|
|
8529
|
+
"type": {
|
|
8530
|
+
"type": "string"
|
|
8531
|
+
},
|
|
8532
|
+
"id": {
|
|
8533
|
+
"type": "string"
|
|
8534
|
+
}
|
|
8535
|
+
}
|
|
8536
|
+
}
|
|
8537
|
+
}
|
|
8538
|
+
}
|
|
8539
|
+
},
|
|
8540
|
+
"jobs": {
|
|
8541
|
+
"title": "BriefRelationshipsJobsSchema",
|
|
8542
|
+
"type": "object",
|
|
8543
|
+
"properties": {
|
|
8544
|
+
"data": {
|
|
8545
|
+
"type": "array",
|
|
8546
|
+
"items": {
|
|
8547
|
+
"type": "object",
|
|
8548
|
+
"properties": {
|
|
8549
|
+
"type": {
|
|
8550
|
+
"type": "string"
|
|
8551
|
+
},
|
|
8552
|
+
"id": {
|
|
8553
|
+
"type": "string"
|
|
8554
|
+
}
|
|
8555
|
+
}
|
|
8556
|
+
}
|
|
8557
|
+
}
|
|
8558
|
+
}
|
|
8559
|
+
},
|
|
8560
|
+
"users": {
|
|
8561
|
+
"title": "BriefRelationshipsUsersSchema",
|
|
8562
|
+
"type": "object",
|
|
8563
|
+
"properties": {
|
|
8564
|
+
"data": {
|
|
8565
|
+
"type": "array",
|
|
8566
|
+
"items": {
|
|
8567
|
+
"type": "object",
|
|
8568
|
+
"properties": {
|
|
8569
|
+
"type": {
|
|
8570
|
+
"type": "string"
|
|
8571
|
+
},
|
|
8572
|
+
"id": {
|
|
8573
|
+
"type": "string"
|
|
8574
|
+
}
|
|
8575
|
+
}
|
|
8576
|
+
}
|
|
8577
|
+
}
|
|
8578
|
+
}
|
|
8579
|
+
}
|
|
8580
|
+
}
|
|
8581
|
+
}
|
|
8582
|
+
}
|
|
8583
|
+
}
|
|
8584
|
+
}
|
|
8585
|
+
}
|
|
8586
|
+
},
|
|
8587
|
+
"required": [
|
|
8588
|
+
"briefId",
|
|
8589
|
+
"requestBody"
|
|
8590
|
+
]
|
|
8591
|
+
}
|
|
8592
|
+
}
|
|
8593
|
+
},
|
|
8594
|
+
{
|
|
8595
|
+
"type": "function",
|
|
8596
|
+
"function": {
|
|
8597
|
+
"name": "delete_brief",
|
|
8598
|
+
"description": "Delete Brief",
|
|
8599
|
+
"parameters": {
|
|
8600
|
+
"type": "object",
|
|
8601
|
+
"properties": {
|
|
8602
|
+
"briefId": {
|
|
8603
|
+
"type": "string",
|
|
8604
|
+
"description": "briefId parameter"
|
|
8605
|
+
},
|
|
8606
|
+
"permanentDelete": {
|
|
8607
|
+
"type": "string",
|
|
8608
|
+
"description": "Set to true for permanent deletion.",
|
|
8609
|
+
"enum": [
|
|
8610
|
+
"true",
|
|
8611
|
+
"false"
|
|
8612
|
+
]
|
|
8613
|
+
}
|
|
8614
|
+
},
|
|
8615
|
+
"required": [
|
|
8616
|
+
"briefId"
|
|
8617
|
+
]
|
|
8618
|
+
}
|
|
8619
|
+
}
|
|
8620
|
+
},
|
|
8621
|
+
{
|
|
8622
|
+
"type": "function",
|
|
8623
|
+
"function": {
|
|
8624
|
+
"name": "brief_options",
|
|
8625
|
+
"description": "Brief Options",
|
|
8626
|
+
"parameters": {
|
|
8627
|
+
"type": "object",
|
|
8628
|
+
"properties": {}
|
|
8629
|
+
}
|
|
8630
|
+
}
|
|
8631
|
+
},
|
|
8117
8632
|
{
|
|
8118
8633
|
"type": "function",
|
|
8119
8634
|
"function": {
|
|
@@ -12119,7 +12634,8 @@
|
|
|
12119
12634
|
"running",
|
|
12120
12635
|
"completed",
|
|
12121
12636
|
"failed",
|
|
12122
|
-
"aborted"
|
|
12637
|
+
"aborted",
|
|
12638
|
+
"paused"
|
|
12123
12639
|
]
|
|
12124
12640
|
},
|
|
12125
12641
|
"filterCreatedFrom": {
|