@smartytalent/openai-tools 0.1.33-dev.41 → 0.1.33-dev.42

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 +128 -40
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -4814,52 +4814,96 @@
4814
4814
  },
4815
4815
  "rejectionTicket": {
4816
4816
  "type": "object",
4817
- "description": "Language-keyed rejection ticket. AI populates this as an\nobject with isAssumed/description/etc keys, not a plain\nstring - additionalProperties accepts arbitrary shape.",
4817
+ "description": "Language-keyed rejection ticket. Pre-AI: empty string per\nlocale. Post-AI: object with isAssumed / description /\nstatus / category / etc keys.",
4818
4818
  "additionalProperties": {
4819
- "type": "object",
4820
- "additionalProperties": true
4819
+ "oneOf": [
4820
+ {
4821
+ "type": "string"
4822
+ },
4823
+ {
4824
+ "type": "object",
4825
+ "additionalProperties": true
4826
+ }
4827
+ ]
4821
4828
  }
4822
4829
  },
4823
4830
  "recommendationStatus": {
4824
4831
  "type": "object",
4825
- "description": "Language-keyed recommendation status (scalar string per locale)",
4832
+ "description": "Language-keyed recommendation status. Pre-AI: empty string.\nPost-AI: scalar string (\"Recommended\", \"Not Recommended\", ...)\non legacy data; some tenants persist it as an object.",
4826
4833
  "additionalProperties": {
4827
- "type": "string"
4834
+ "oneOf": [
4835
+ {
4836
+ "type": "string"
4837
+ },
4838
+ {
4839
+ "type": "object",
4840
+ "additionalProperties": true
4841
+ }
4842
+ ]
4828
4843
  }
4829
4844
  },
4830
4845
  "overallAssessment": {
4831
4846
  "type": "object",
4832
- "description": "Language-keyed overall assessment (scalar string per locale)",
4847
+ "description": "Language-keyed overall assessment. Pre-AI: empty string.\nPost-AI: long-form scalar string per locale.",
4833
4848
  "additionalProperties": {
4834
- "type": "string"
4849
+ "oneOf": [
4850
+ {
4851
+ "type": "string"
4852
+ },
4853
+ {
4854
+ "type": "object",
4855
+ "additionalProperties": true
4856
+ }
4857
+ ]
4835
4858
  }
4836
4859
  },
4837
4860
  "nextSteps": {
4838
4861
  "type": "object",
4839
- "description": "Language-keyed next-steps recommendations (array of strings per locale)",
4862
+ "description": "Language-keyed next-steps recommendations. Pre-AI: empty\nstring. Post-AI: array of strings per locale.",
4840
4863
  "additionalProperties": {
4841
- "type": "array",
4842
- "items": {
4843
- "type": "string"
4844
- }
4864
+ "oneOf": [
4865
+ {
4866
+ "type": "string"
4867
+ },
4868
+ {
4869
+ "type": "array",
4870
+ "items": {
4871
+ "type": "string"
4872
+ }
4873
+ }
4874
+ ]
4845
4875
  }
4846
4876
  },
4847
4877
  "insightsAndAnalysis": {
4848
4878
  "type": "object",
4849
- "description": "Language-keyed insights and analysis (free-form object per locale)",
4879
+ "description": "Language-keyed insights and analysis. Pre-AI: empty string.\nPost-AI: free-form object per locale.",
4850
4880
  "additionalProperties": {
4851
- "type": "object",
4852
- "additionalProperties": true
4881
+ "oneOf": [
4882
+ {
4883
+ "type": "string"
4884
+ },
4885
+ {
4886
+ "type": "object",
4887
+ "additionalProperties": true
4888
+ }
4889
+ ]
4853
4890
  }
4854
4891
  },
4855
4892
  "keywords": {
4856
4893
  "type": "object",
4857
- "description": "Language-keyed extracted keywords (array of strings per locale)",
4894
+ "description": "Language-keyed extracted keywords. Pre-AI: empty string.\nPost-AI: array of strings per locale.",
4858
4895
  "additionalProperties": {
4859
- "type": "array",
4860
- "items": {
4861
- "type": "string"
4862
- }
4896
+ "oneOf": [
4897
+ {
4898
+ "type": "string"
4899
+ },
4900
+ {
4901
+ "type": "array",
4902
+ "items": {
4903
+ "type": "string"
4904
+ }
4905
+ }
4906
+ ]
4863
4907
  }
4864
4908
  },
4865
4909
  "availability": {
@@ -5381,52 +5425,96 @@
5381
5425
  },
5382
5426
  "rejectionTicket": {
5383
5427
  "type": "object",
5384
- "description": "Language-keyed rejection ticket. AI populates this as an\nobject with isAssumed/description/etc keys, not a plain\nstring - additionalProperties accepts arbitrary shape.",
5428
+ "description": "Language-keyed rejection ticket. Pre-AI: empty string per\nlocale. Post-AI: object with isAssumed / description /\nstatus / category / etc keys.",
5385
5429
  "additionalProperties": {
5386
- "type": "object",
5387
- "additionalProperties": true
5430
+ "oneOf": [
5431
+ {
5432
+ "type": "string"
5433
+ },
5434
+ {
5435
+ "type": "object",
5436
+ "additionalProperties": true
5437
+ }
5438
+ ]
5388
5439
  }
5389
5440
  },
5390
5441
  "recommendationStatus": {
5391
5442
  "type": "object",
5392
- "description": "Language-keyed recommendation status (scalar string per locale)",
5443
+ "description": "Language-keyed recommendation status. Pre-AI: empty string.\nPost-AI: scalar string (\"Recommended\", \"Not Recommended\", ...)\non legacy data; some tenants persist it as an object.",
5393
5444
  "additionalProperties": {
5394
- "type": "string"
5445
+ "oneOf": [
5446
+ {
5447
+ "type": "string"
5448
+ },
5449
+ {
5450
+ "type": "object",
5451
+ "additionalProperties": true
5452
+ }
5453
+ ]
5395
5454
  }
5396
5455
  },
5397
5456
  "overallAssessment": {
5398
5457
  "type": "object",
5399
- "description": "Language-keyed overall assessment (scalar string per locale)",
5458
+ "description": "Language-keyed overall assessment. Pre-AI: empty string.\nPost-AI: long-form scalar string per locale.",
5400
5459
  "additionalProperties": {
5401
- "type": "string"
5460
+ "oneOf": [
5461
+ {
5462
+ "type": "string"
5463
+ },
5464
+ {
5465
+ "type": "object",
5466
+ "additionalProperties": true
5467
+ }
5468
+ ]
5402
5469
  }
5403
5470
  },
5404
5471
  "nextSteps": {
5405
5472
  "type": "object",
5406
- "description": "Language-keyed next-steps recommendations (array of strings per locale)",
5473
+ "description": "Language-keyed next-steps recommendations. Pre-AI: empty\nstring. Post-AI: array of strings per locale.",
5407
5474
  "additionalProperties": {
5408
- "type": "array",
5409
- "items": {
5410
- "type": "string"
5411
- }
5475
+ "oneOf": [
5476
+ {
5477
+ "type": "string"
5478
+ },
5479
+ {
5480
+ "type": "array",
5481
+ "items": {
5482
+ "type": "string"
5483
+ }
5484
+ }
5485
+ ]
5412
5486
  }
5413
5487
  },
5414
5488
  "insightsAndAnalysis": {
5415
5489
  "type": "object",
5416
- "description": "Language-keyed insights and analysis (free-form object per locale)",
5490
+ "description": "Language-keyed insights and analysis. Pre-AI: empty string.\nPost-AI: free-form object per locale.",
5417
5491
  "additionalProperties": {
5418
- "type": "object",
5419
- "additionalProperties": true
5492
+ "oneOf": [
5493
+ {
5494
+ "type": "string"
5495
+ },
5496
+ {
5497
+ "type": "object",
5498
+ "additionalProperties": true
5499
+ }
5500
+ ]
5420
5501
  }
5421
5502
  },
5422
5503
  "keywords": {
5423
5504
  "type": "object",
5424
- "description": "Language-keyed extracted keywords (array of strings per locale)",
5505
+ "description": "Language-keyed extracted keywords. Pre-AI: empty string.\nPost-AI: array of strings per locale.",
5425
5506
  "additionalProperties": {
5426
- "type": "array",
5427
- "items": {
5428
- "type": "string"
5429
- }
5507
+ "oneOf": [
5508
+ {
5509
+ "type": "string"
5510
+ },
5511
+ {
5512
+ "type": "array",
5513
+ "items": {
5514
+ "type": "string"
5515
+ }
5516
+ }
5517
+ ]
5430
5518
  }
5431
5519
  },
5432
5520
  "availability": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.41",
3
+ "version": "0.1.33-dev.42",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",