@smartytalent/openai-tools 0.7.6 → 0.7.8

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 +109 -11
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -2373,6 +2373,88 @@
2373
2373
  }
2374
2374
  }
2375
2375
  },
2376
+ {
2377
+ "type": "function",
2378
+ "function": {
2379
+ "name": "start_user_identity_link",
2380
+ "description": "Start Linking A Social Account",
2381
+ "parameters": {
2382
+ "type": "object",
2383
+ "properties": {
2384
+ "data": {
2385
+ "type": "object",
2386
+ "properties": {
2387
+ "type": {
2388
+ "type": "string",
2389
+ "enum": [
2390
+ "identity-links"
2391
+ ]
2392
+ },
2393
+ "attributes": {
2394
+ "type": "object",
2395
+ "required": [
2396
+ "provider"
2397
+ ],
2398
+ "properties": {
2399
+ "provider": {
2400
+ "type": "string",
2401
+ "enum": [
2402
+ "Google",
2403
+ "LinkedIn"
2404
+ ]
2405
+ }
2406
+ }
2407
+ }
2408
+ }
2409
+ }
2410
+ }
2411
+ }
2412
+ }
2413
+ },
2414
+ {
2415
+ "type": "function",
2416
+ "function": {
2417
+ "name": "user_identities_options",
2418
+ "description": "User Identities Options",
2419
+ "parameters": {
2420
+ "type": "object",
2421
+ "properties": {}
2422
+ }
2423
+ }
2424
+ },
2425
+ {
2426
+ "type": "function",
2427
+ "function": {
2428
+ "name": "delete_user_identity",
2429
+ "description": "Unlink A Social Account",
2430
+ "parameters": {
2431
+ "type": "object",
2432
+ "properties": {}
2433
+ }
2434
+ }
2435
+ },
2436
+ {
2437
+ "type": "function",
2438
+ "function": {
2439
+ "name": "user_identity_options",
2440
+ "description": "User Identity Options",
2441
+ "parameters": {
2442
+ "type": "object",
2443
+ "properties": {}
2444
+ }
2445
+ }
2446
+ },
2447
+ {
2448
+ "type": "function",
2449
+ "function": {
2450
+ "name": "identity_link_callback",
2451
+ "description": "Social Account Link Callback",
2452
+ "parameters": {
2453
+ "type": "object",
2454
+ "properties": {}
2455
+ }
2456
+ }
2457
+ },
2376
2458
  {
2377
2459
  "type": "function",
2378
2460
  "function": {
@@ -22081,21 +22163,37 @@
22081
22163
  "relationships": {
22082
22164
  "title": "NotificationRelationshipsSchema",
22083
22165
  "type": "object",
22166
+ "description": "Declared in the WIRE shape, not the storage shape. Rows keep to-many entries as arrays, but transform_all_relationships serialises `users` to-ONE (RELATIONSHIP_TYPES says cardinality one) and renames it `user` - a spec written from the row therefore matches nothing and the generated client silently drops the whole relationship.",
22084
22167
  "properties": {
22085
- "users": {
22168
+ "user": {
22086
22169
  "type": "object",
22170
+ "description": "Who the notification is FOR. Singular and to-one on the wire.",
22087
22171
  "properties": {
22088
22172
  "data": {
22089
- "type": "array",
22090
- "items": {
22091
- "type": "object",
22092
- "properties": {
22093
- "type": {
22094
- "type": "string"
22095
- },
22096
- "id": {
22097
- "type": "string"
22098
- }
22173
+ "type": "object",
22174
+ "properties": {
22175
+ "type": {
22176
+ "type": "string"
22177
+ },
22178
+ "id": {
22179
+ "type": "string"
22180
+ }
22181
+ }
22182
+ }
22183
+ }
22184
+ },
22185
+ "subject": {
22186
+ "type": "object",
22187
+ "description": "What the notification is ABOUT - the target of the bell's deep link. Always this name, whatever the resource is, and it carries its own `type` so the client routes on that. Producers used to key this by resource type (`tasks`, `jobs`, ...), which cannot be declared here without enumerating every type any producer might ever use, so the typed client dropped all of them; it also collided with `user` outright when the subject was itself a user, overwriting the recipient. Absent when the notification is about nothing in particular.",
22188
+ "properties": {
22189
+ "data": {
22190
+ "type": "object",
22191
+ "properties": {
22192
+ "type": {
22193
+ "type": "string"
22194
+ },
22195
+ "id": {
22196
+ "type": "string"
22099
22197
  }
22100
22198
  }
22101
22199
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.7.6",
3
+ "version": "0.7.8",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",