@smartytalent/openai-tools 0.1.33-dev.79 → 0.1.33-dev.80

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 +6 -70
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -9935,26 +9935,6 @@
9935
9935
  "title": "BriefRelationshipsSchema",
9936
9936
  "type": "object",
9937
9937
  "properties": {
9938
- "forms": {
9939
- "title": "BriefRelationshipsFormsSchema",
9940
- "type": "object",
9941
- "properties": {
9942
- "data": {
9943
- "type": "array",
9944
- "items": {
9945
- "type": "object",
9946
- "properties": {
9947
- "type": {
9948
- "type": "string"
9949
- },
9950
- "id": {
9951
- "type": "string"
9952
- }
9953
- }
9954
- }
9955
- }
9956
- }
9957
- },
9958
9938
  "jobs": {
9959
9939
  "title": "BriefRelationshipsJobsSchema",
9960
9940
  "type": "object",
@@ -10254,26 +10234,6 @@
10254
10234
  "title": "BriefRelationshipsSchema",
10255
10235
  "type": "object",
10256
10236
  "properties": {
10257
- "forms": {
10258
- "title": "BriefRelationshipsFormsSchema",
10259
- "type": "object",
10260
- "properties": {
10261
- "data": {
10262
- "type": "array",
10263
- "items": {
10264
- "type": "object",
10265
- "properties": {
10266
- "type": {
10267
- "type": "string"
10268
- },
10269
- "id": {
10270
- "type": "string"
10271
- }
10272
- }
10273
- }
10274
- }
10275
- }
10276
- },
10277
10237
  "jobs": {
10278
10238
  "title": "BriefRelationshipsJobsSchema",
10279
10239
  "type": "object",
@@ -20144,21 +20104,9 @@
20144
20104
  "description": "The type of search to perform"
20145
20105
  },
20146
20106
  "query": {
20147
- "description": "Search query parameters sent to OpenSearch. Shape varies by finder `type`. OpenAPI can't express the full type/query correlation as a strict discriminated union (the discriminator lives on the sibling `type` field, not on `query` itself), so this is encoded as `oneOf` over per-type query schemas. Clients should pick the shape matching the `type` they are posting.",
20148
- "oneOf": [
20149
- {
20150
- "$ref": "#/components/schemas/FinderQueryTalentsSchema"
20151
- },
20152
- {
20153
- "$ref": "#/components/schemas/FinderQueryCandidatesSchema"
20154
- },
20155
- {
20156
- "$ref": "#/components/schemas/FinderQueryJobsSchema"
20157
- },
20158
- {
20159
- "$ref": "#/components/schemas/FinderQueryEmailsSchema"
20160
- }
20161
- ]
20107
+ "description": "Search query parameters sent to OpenSearch. Shape varies by finder `type` - see FinderQuery{Talents,Candidates,Jobs,Emails}Schema below for the per-type fields. Encoded as a free-form object, NOT a `oneOf`: the per-type shapes all share optional fields (notably `search`), and the type discriminator lives on the sibling `type` field (not inside `query`), so a oneOf cannot disambiguate them and fails deserialization with \"Multiple matches\". Clients build the dict matching the `type`.",
20108
+ "type": "object",
20109
+ "additionalProperties": true
20162
20110
  },
20163
20111
  "results": {
20164
20112
  "title": "FinderResultsSchema",
@@ -20421,21 +20369,9 @@
20421
20369
  "description": "The type of search to perform"
20422
20370
  },
20423
20371
  "query": {
20424
- "description": "Search query parameters sent to OpenSearch. Shape varies by finder `type`. OpenAPI can't express the full type/query correlation as a strict discriminated union (the discriminator lives on the sibling `type` field, not on `query` itself), so this is encoded as `oneOf` over per-type query schemas. Clients should pick the shape matching the `type` they are posting.",
20425
- "oneOf": [
20426
- {
20427
- "$ref": "#/components/schemas/FinderQueryTalentsSchema"
20428
- },
20429
- {
20430
- "$ref": "#/components/schemas/FinderQueryCandidatesSchema"
20431
- },
20432
- {
20433
- "$ref": "#/components/schemas/FinderQueryJobsSchema"
20434
- },
20435
- {
20436
- "$ref": "#/components/schemas/FinderQueryEmailsSchema"
20437
- }
20438
- ]
20372
+ "description": "Search query parameters sent to OpenSearch. Shape varies by finder `type` - see FinderQuery{Talents,Candidates,Jobs,Emails}Schema below for the per-type fields. Encoded as a free-form object, NOT a `oneOf`: the per-type shapes all share optional fields (notably `search`), and the type discriminator lives on the sibling `type` field (not inside `query`), so a oneOf cannot disambiguate them and fails deserialization with \"Multiple matches\". Clients build the dict matching the `type`.",
20373
+ "type": "object",
20374
+ "additionalProperties": true
20439
20375
  },
20440
20376
  "results": {
20441
20377
  "title": "FinderResultsSchema",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.79",
3
+ "version": "0.1.33-dev.80",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",