@smartytalent/openai-tools 0.7.8 → 0.7.10

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 +46 -6
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -2425,8 +2425,48 @@
2425
2425
  {
2426
2426
  "type": "function",
2427
2427
  "function": {
2428
- "name": "delete_user_identity",
2429
- "description": "Unlink A Social Account",
2428
+ "name": "complete_user_identity_link",
2429
+ "description": "Complete Linking A Social Account",
2430
+ "parameters": {
2431
+ "type": "object",
2432
+ "properties": {
2433
+ "data": {
2434
+ "type": "object",
2435
+ "properties": {
2436
+ "type": {
2437
+ "type": "string",
2438
+ "enum": [
2439
+ "identity-links"
2440
+ ]
2441
+ },
2442
+ "attributes": {
2443
+ "type": "object",
2444
+ "required": [
2445
+ "code",
2446
+ "state"
2447
+ ],
2448
+ "properties": {
2449
+ "code": {
2450
+ "type": "string",
2451
+ "description": "The authorization code the provider put in the redirect."
2452
+ },
2453
+ "state": {
2454
+ "type": "string",
2455
+ "description": "Echoed back untouched from the redirect. It is the nonce."
2456
+ }
2457
+ }
2458
+ }
2459
+ }
2460
+ }
2461
+ }
2462
+ }
2463
+ }
2464
+ },
2465
+ {
2466
+ "type": "function",
2467
+ "function": {
2468
+ "name": "user_identity_complete_options",
2469
+ "description": "User Identity Complete Options",
2430
2470
  "parameters": {
2431
2471
  "type": "object",
2432
2472
  "properties": {}
@@ -2436,8 +2476,8 @@
2436
2476
  {
2437
2477
  "type": "function",
2438
2478
  "function": {
2439
- "name": "user_identity_options",
2440
- "description": "User Identity Options",
2479
+ "name": "delete_user_identity",
2480
+ "description": "Unlink A Social Account",
2441
2481
  "parameters": {
2442
2482
  "type": "object",
2443
2483
  "properties": {}
@@ -2447,8 +2487,8 @@
2447
2487
  {
2448
2488
  "type": "function",
2449
2489
  "function": {
2450
- "name": "identity_link_callback",
2451
- "description": "Social Account Link Callback",
2490
+ "name": "user_identity_options",
2491
+ "description": "User Identity Options",
2452
2492
  "parameters": {
2453
2493
  "type": "object",
2454
2494
  "properties": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.7.8",
3
+ "version": "0.7.10",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",