@smartytalent/openai-tools 0.1.5 → 0.1.7
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 +434 -0
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -7294,6 +7294,325 @@
|
|
|
7294
7294
|
}
|
|
7295
7295
|
}
|
|
7296
7296
|
},
|
|
7297
|
+
{
|
|
7298
|
+
"type": "function",
|
|
7299
|
+
"function": {
|
|
7300
|
+
"name": "list_chats",
|
|
7301
|
+
"description": "List Chats",
|
|
7302
|
+
"parameters": {
|
|
7303
|
+
"type": "object",
|
|
7304
|
+
"properties": {
|
|
7305
|
+
"filterStatus": {
|
|
7306
|
+
"type": "string",
|
|
7307
|
+
"description": "Returns chats with the current status (active, archived). If not provided, the default value will be set to 'active'.",
|
|
7308
|
+
"enum": [
|
|
7309
|
+
"active",
|
|
7310
|
+
"archived"
|
|
7311
|
+
]
|
|
7312
|
+
},
|
|
7313
|
+
"filterSenderNumber": {
|
|
7314
|
+
"type": "string",
|
|
7315
|
+
"description": "Filter chats by sender phone number (e.g. +48535517222)."
|
|
7316
|
+
},
|
|
7317
|
+
"filterCreatedFrom": {
|
|
7318
|
+
"type": "string",
|
|
7319
|
+
"description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
|
|
7320
|
+
},
|
|
7321
|
+
"filterCreatedTo": {
|
|
7322
|
+
"type": "string",
|
|
7323
|
+
"description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
|
|
7324
|
+
},
|
|
7325
|
+
"filterModifiedFrom": {
|
|
7326
|
+
"type": "string",
|
|
7327
|
+
"description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
|
|
7328
|
+
},
|
|
7329
|
+
"filterModifiedTo": {
|
|
7330
|
+
"type": "string",
|
|
7331
|
+
"description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
|
|
7332
|
+
},
|
|
7333
|
+
"pageSize": {
|
|
7334
|
+
"type": "integer",
|
|
7335
|
+
"description": "Specifies the number of items to retrieve per page. The maximum value is 100."
|
|
7336
|
+
},
|
|
7337
|
+
"pageNumber": {
|
|
7338
|
+
"type": "integer",
|
|
7339
|
+
"description": "Specifies the page number to retrieve. Used for traditional pagination."
|
|
7340
|
+
},
|
|
7341
|
+
"pageAfter": {
|
|
7342
|
+
"type": "string",
|
|
7343
|
+
"description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
|
|
7344
|
+
},
|
|
7345
|
+
"pageBefore": {
|
|
7346
|
+
"type": "string",
|
|
7347
|
+
"description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
|
|
7348
|
+
}
|
|
7349
|
+
}
|
|
7350
|
+
}
|
|
7351
|
+
}
|
|
7352
|
+
},
|
|
7353
|
+
{
|
|
7354
|
+
"type": "function",
|
|
7355
|
+
"function": {
|
|
7356
|
+
"name": "create_chat",
|
|
7357
|
+
"description": "Create Chat",
|
|
7358
|
+
"parameters": {
|
|
7359
|
+
"title": "CreateChatRequestBody",
|
|
7360
|
+
"type": "object",
|
|
7361
|
+
"required": [
|
|
7362
|
+
"data"
|
|
7363
|
+
],
|
|
7364
|
+
"properties": {
|
|
7365
|
+
"data": {
|
|
7366
|
+
"title": "CreateChatRequestBodyData",
|
|
7367
|
+
"type": "object",
|
|
7368
|
+
"required": [
|
|
7369
|
+
"type",
|
|
7370
|
+
"attributes"
|
|
7371
|
+
],
|
|
7372
|
+
"properties": {
|
|
7373
|
+
"type": {
|
|
7374
|
+
"type": "string",
|
|
7375
|
+
"enum": [
|
|
7376
|
+
"chats"
|
|
7377
|
+
]
|
|
7378
|
+
},
|
|
7379
|
+
"attributes": {
|
|
7380
|
+
"title": "ChatAttributesSchema",
|
|
7381
|
+
"type": "object",
|
|
7382
|
+
"properties": {
|
|
7383
|
+
"direction": {
|
|
7384
|
+
"type": "string",
|
|
7385
|
+
"enum": [
|
|
7386
|
+
"inbound",
|
|
7387
|
+
"outbound"
|
|
7388
|
+
],
|
|
7389
|
+
"description": "Message direction"
|
|
7390
|
+
},
|
|
7391
|
+
"senderNumber": {
|
|
7392
|
+
"type": "string",
|
|
7393
|
+
"description": "Sender phone number in E.164 format"
|
|
7394
|
+
},
|
|
7395
|
+
"recipientNumber": {
|
|
7396
|
+
"type": "string",
|
|
7397
|
+
"description": "Recipient phone number in E.164 format"
|
|
7398
|
+
},
|
|
7399
|
+
"messageSid": {
|
|
7400
|
+
"type": "string",
|
|
7401
|
+
"description": "Twilio message SID"
|
|
7402
|
+
},
|
|
7403
|
+
"body": {
|
|
7404
|
+
"type": "string",
|
|
7405
|
+
"description": "SMS message body"
|
|
7406
|
+
},
|
|
7407
|
+
"aiResponse": {
|
|
7408
|
+
"type": "string",
|
|
7409
|
+
"description": "AI-generated response text"
|
|
7410
|
+
},
|
|
7411
|
+
"shortCode": {
|
|
7412
|
+
"type": "string",
|
|
7413
|
+
"description": "Unique short identifier"
|
|
7414
|
+
},
|
|
7415
|
+
"status": {
|
|
7416
|
+
"type": "string",
|
|
7417
|
+
"enum": [
|
|
7418
|
+
"active",
|
|
7419
|
+
"pending",
|
|
7420
|
+
"archived",
|
|
7421
|
+
"failed"
|
|
7422
|
+
],
|
|
7423
|
+
"description": "Current status"
|
|
7424
|
+
},
|
|
7425
|
+
"timestamps": {
|
|
7426
|
+
"title": "ResourceTimestampsSchema",
|
|
7427
|
+
"type": "object",
|
|
7428
|
+
"properties": {
|
|
7429
|
+
"created": {
|
|
7430
|
+
"type": "string",
|
|
7431
|
+
"format": "date-time"
|
|
7432
|
+
},
|
|
7433
|
+
"modified": {
|
|
7434
|
+
"type": "string",
|
|
7435
|
+
"format": "date-time"
|
|
7436
|
+
}
|
|
7437
|
+
}
|
|
7438
|
+
}
|
|
7439
|
+
}
|
|
7440
|
+
},
|
|
7441
|
+
"relationships": {
|
|
7442
|
+
"title": "ChatRelationshipsSchema",
|
|
7443
|
+
"type": "object",
|
|
7444
|
+
"properties": {
|
|
7445
|
+
"translations": {
|
|
7446
|
+
"title": "ChatRelationshipsTranslationsSchema",
|
|
7447
|
+
"type": "object",
|
|
7448
|
+
"properties": {
|
|
7449
|
+
"data": {
|
|
7450
|
+
"type": "array",
|
|
7451
|
+
"items": {
|
|
7452
|
+
"title": "ChatRelationshipsTranslationsDataSchema",
|
|
7453
|
+
"type": "object",
|
|
7454
|
+
"properties": {
|
|
7455
|
+
"type": {
|
|
7456
|
+
"type": "string"
|
|
7457
|
+
},
|
|
7458
|
+
"id": {
|
|
7459
|
+
"type": "string"
|
|
7460
|
+
}
|
|
7461
|
+
}
|
|
7462
|
+
}
|
|
7463
|
+
}
|
|
7464
|
+
}
|
|
7465
|
+
}
|
|
7466
|
+
}
|
|
7467
|
+
}
|
|
7468
|
+
}
|
|
7469
|
+
}
|
|
7470
|
+
}
|
|
7471
|
+
}
|
|
7472
|
+
}
|
|
7473
|
+
},
|
|
7474
|
+
{
|
|
7475
|
+
"type": "function",
|
|
7476
|
+
"function": {
|
|
7477
|
+
"name": "chats_options",
|
|
7478
|
+
"description": "Chats Options",
|
|
7479
|
+
"parameters": {
|
|
7480
|
+
"type": "object",
|
|
7481
|
+
"properties": {}
|
|
7482
|
+
}
|
|
7483
|
+
}
|
|
7484
|
+
},
|
|
7485
|
+
{
|
|
7486
|
+
"type": "function",
|
|
7487
|
+
"function": {
|
|
7488
|
+
"name": "show_chat",
|
|
7489
|
+
"description": "Show Chat",
|
|
7490
|
+
"parameters": {
|
|
7491
|
+
"type": "object",
|
|
7492
|
+
"properties": {}
|
|
7493
|
+
}
|
|
7494
|
+
}
|
|
7495
|
+
},
|
|
7496
|
+
{
|
|
7497
|
+
"type": "function",
|
|
7498
|
+
"function": {
|
|
7499
|
+
"name": "update_chat",
|
|
7500
|
+
"description": "Update Chat",
|
|
7501
|
+
"parameters": {
|
|
7502
|
+
"title": "UpdateChatRequestBody",
|
|
7503
|
+
"type": "object",
|
|
7504
|
+
"required": [
|
|
7505
|
+
"data"
|
|
7506
|
+
],
|
|
7507
|
+
"properties": {
|
|
7508
|
+
"data": {
|
|
7509
|
+
"title": "UpdateChatRequestBodyData",
|
|
7510
|
+
"type": "object",
|
|
7511
|
+
"required": [
|
|
7512
|
+
"type",
|
|
7513
|
+
"id",
|
|
7514
|
+
"attributes"
|
|
7515
|
+
],
|
|
7516
|
+
"properties": {
|
|
7517
|
+
"type": {
|
|
7518
|
+
"type": "string",
|
|
7519
|
+
"enum": [
|
|
7520
|
+
"chats"
|
|
7521
|
+
]
|
|
7522
|
+
},
|
|
7523
|
+
"id": {
|
|
7524
|
+
"type": "string"
|
|
7525
|
+
},
|
|
7526
|
+
"attributes": {
|
|
7527
|
+
"title": "ChatAttributesSchema",
|
|
7528
|
+
"type": "object",
|
|
7529
|
+
"properties": {
|
|
7530
|
+
"direction": {
|
|
7531
|
+
"type": "string",
|
|
7532
|
+
"enum": [
|
|
7533
|
+
"inbound",
|
|
7534
|
+
"outbound"
|
|
7535
|
+
],
|
|
7536
|
+
"description": "Message direction"
|
|
7537
|
+
},
|
|
7538
|
+
"senderNumber": {
|
|
7539
|
+
"type": "string",
|
|
7540
|
+
"description": "Sender phone number in E.164 format"
|
|
7541
|
+
},
|
|
7542
|
+
"recipientNumber": {
|
|
7543
|
+
"type": "string",
|
|
7544
|
+
"description": "Recipient phone number in E.164 format"
|
|
7545
|
+
},
|
|
7546
|
+
"messageSid": {
|
|
7547
|
+
"type": "string",
|
|
7548
|
+
"description": "Twilio message SID"
|
|
7549
|
+
},
|
|
7550
|
+
"body": {
|
|
7551
|
+
"type": "string",
|
|
7552
|
+
"description": "SMS message body"
|
|
7553
|
+
},
|
|
7554
|
+
"aiResponse": {
|
|
7555
|
+
"type": "string",
|
|
7556
|
+
"description": "AI-generated response text"
|
|
7557
|
+
},
|
|
7558
|
+
"shortCode": {
|
|
7559
|
+
"type": "string",
|
|
7560
|
+
"description": "Unique short identifier"
|
|
7561
|
+
},
|
|
7562
|
+
"status": {
|
|
7563
|
+
"type": "string",
|
|
7564
|
+
"enum": [
|
|
7565
|
+
"active",
|
|
7566
|
+
"pending",
|
|
7567
|
+
"archived",
|
|
7568
|
+
"failed"
|
|
7569
|
+
],
|
|
7570
|
+
"description": "Current status"
|
|
7571
|
+
},
|
|
7572
|
+
"timestamps": {
|
|
7573
|
+
"title": "ResourceTimestampsSchema",
|
|
7574
|
+
"type": "object",
|
|
7575
|
+
"properties": {
|
|
7576
|
+
"created": {
|
|
7577
|
+
"type": "string",
|
|
7578
|
+
"format": "date-time"
|
|
7579
|
+
},
|
|
7580
|
+
"modified": {
|
|
7581
|
+
"type": "string",
|
|
7582
|
+
"format": "date-time"
|
|
7583
|
+
}
|
|
7584
|
+
}
|
|
7585
|
+
}
|
|
7586
|
+
}
|
|
7587
|
+
}
|
|
7588
|
+
}
|
|
7589
|
+
}
|
|
7590
|
+
}
|
|
7591
|
+
}
|
|
7592
|
+
}
|
|
7593
|
+
},
|
|
7594
|
+
{
|
|
7595
|
+
"type": "function",
|
|
7596
|
+
"function": {
|
|
7597
|
+
"name": "delete_chat",
|
|
7598
|
+
"description": "Delete Chat",
|
|
7599
|
+
"parameters": {
|
|
7600
|
+
"type": "object",
|
|
7601
|
+
"properties": {}
|
|
7602
|
+
}
|
|
7603
|
+
}
|
|
7604
|
+
},
|
|
7605
|
+
{
|
|
7606
|
+
"type": "function",
|
|
7607
|
+
"function": {
|
|
7608
|
+
"name": "chat_options",
|
|
7609
|
+
"description": "Chat Options",
|
|
7610
|
+
"parameters": {
|
|
7611
|
+
"type": "object",
|
|
7612
|
+
"properties": {}
|
|
7613
|
+
}
|
|
7614
|
+
}
|
|
7615
|
+
},
|
|
7297
7616
|
{
|
|
7298
7617
|
"type": "function",
|
|
7299
7618
|
"function": {
|
|
@@ -11174,5 +11493,120 @@
|
|
|
11174
11493
|
"properties": {}
|
|
11175
11494
|
}
|
|
11176
11495
|
}
|
|
11496
|
+
},
|
|
11497
|
+
{
|
|
11498
|
+
"type": "function",
|
|
11499
|
+
"function": {
|
|
11500
|
+
"name": "list_timelines",
|
|
11501
|
+
"description": "List Timelines",
|
|
11502
|
+
"parameters": {
|
|
11503
|
+
"type": "object",
|
|
11504
|
+
"properties": {
|
|
11505
|
+
"filterEntityKey": {
|
|
11506
|
+
"type": "string",
|
|
11507
|
+
"description": "Filter timeline entries by entity key prefix (e.g., \"jobs#entityId\")"
|
|
11508
|
+
},
|
|
11509
|
+
"filterUserKey": {
|
|
11510
|
+
"type": "string",
|
|
11511
|
+
"description": "Filter timeline entries by user key prefix (e.g., \"userId\")"
|
|
11512
|
+
},
|
|
11513
|
+
"filterCreatedFrom": {
|
|
11514
|
+
"type": "string",
|
|
11515
|
+
"description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
|
|
11516
|
+
},
|
|
11517
|
+
"filterCreatedTo": {
|
|
11518
|
+
"type": "string",
|
|
11519
|
+
"description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
|
|
11520
|
+
},
|
|
11521
|
+
"pageSize": {
|
|
11522
|
+
"type": "integer",
|
|
11523
|
+
"description": "Specifies the number of items to retrieve per page. The maximum value is 100."
|
|
11524
|
+
},
|
|
11525
|
+
"pageNumber": {
|
|
11526
|
+
"type": "integer",
|
|
11527
|
+
"description": "Specifies the page number to retrieve. Used for traditional pagination."
|
|
11528
|
+
},
|
|
11529
|
+
"pageAfter": {
|
|
11530
|
+
"type": "string",
|
|
11531
|
+
"description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
|
|
11532
|
+
},
|
|
11533
|
+
"pageBefore": {
|
|
11534
|
+
"type": "string",
|
|
11535
|
+
"description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
|
|
11536
|
+
}
|
|
11537
|
+
}
|
|
11538
|
+
}
|
|
11539
|
+
}
|
|
11540
|
+
},
|
|
11541
|
+
{
|
|
11542
|
+
"type": "function",
|
|
11543
|
+
"function": {
|
|
11544
|
+
"name": "cors_timelines",
|
|
11545
|
+
"description": "CORS support for Timelines",
|
|
11546
|
+
"parameters": {
|
|
11547
|
+
"type": "object",
|
|
11548
|
+
"properties": {}
|
|
11549
|
+
}
|
|
11550
|
+
}
|
|
11551
|
+
},
|
|
11552
|
+
{
|
|
11553
|
+
"type": "function",
|
|
11554
|
+
"function": {
|
|
11555
|
+
"name": "show_timeline",
|
|
11556
|
+
"description": "Show Timeline Entry",
|
|
11557
|
+
"parameters": {
|
|
11558
|
+
"type": "object",
|
|
11559
|
+
"properties": {
|
|
11560
|
+
"timelineId": {
|
|
11561
|
+
"type": "string",
|
|
11562
|
+
"description": "The timeline entry ID"
|
|
11563
|
+
}
|
|
11564
|
+
},
|
|
11565
|
+
"required": [
|
|
11566
|
+
"timelineId"
|
|
11567
|
+
]
|
|
11568
|
+
}
|
|
11569
|
+
}
|
|
11570
|
+
},
|
|
11571
|
+
{
|
|
11572
|
+
"type": "function",
|
|
11573
|
+
"function": {
|
|
11574
|
+
"name": "cors_timeline_entry",
|
|
11575
|
+
"description": "CORS support for Timeline Entry",
|
|
11576
|
+
"parameters": {
|
|
11577
|
+
"type": "object",
|
|
11578
|
+
"properties": {}
|
|
11579
|
+
}
|
|
11580
|
+
}
|
|
11581
|
+
},
|
|
11582
|
+
{
|
|
11583
|
+
"type": "function",
|
|
11584
|
+
"function": {
|
|
11585
|
+
"name": "rollback_timeline",
|
|
11586
|
+
"description": "Rollback Timeline Entry",
|
|
11587
|
+
"parameters": {
|
|
11588
|
+
"type": "object",
|
|
11589
|
+
"properties": {
|
|
11590
|
+
"timelineId": {
|
|
11591
|
+
"type": "string",
|
|
11592
|
+
"description": "The timeline entry ID to rollback to"
|
|
11593
|
+
}
|
|
11594
|
+
},
|
|
11595
|
+
"required": [
|
|
11596
|
+
"timelineId"
|
|
11597
|
+
]
|
|
11598
|
+
}
|
|
11599
|
+
}
|
|
11600
|
+
},
|
|
11601
|
+
{
|
|
11602
|
+
"type": "function",
|
|
11603
|
+
"function": {
|
|
11604
|
+
"name": "cors_timeline_rollback",
|
|
11605
|
+
"description": "CORS support for Timeline Rollback",
|
|
11606
|
+
"parameters": {
|
|
11607
|
+
"type": "object",
|
|
11608
|
+
"properties": {}
|
|
11609
|
+
}
|
|
11610
|
+
}
|
|
11177
11611
|
}
|
|
11178
11612
|
]
|