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