@orq-ai/node 4.14.0-rc.37 → 4.14.0-rc.39

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 (99) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/evaluatorresponsefunction.js +2 -2
  5. package/models/components/evaluatorresponsehttp.js +2 -2
  6. package/models/components/evaluatorresponsejsonschema.js +2 -2
  7. package/models/components/evaluatorresponsellm.js +2 -2
  8. package/models/components/evaluatorresponsepython.js +2 -2
  9. package/models/components/evaluatorresponseragas.js +2 -2
  10. package/models/components/evaluatorresponsetypescript.js +2 -2
  11. package/models/components/invokedeploymentrequest.d.ts +14 -53
  12. package/models/components/invokedeploymentrequest.d.ts.map +1 -1
  13. package/models/components/invokedeploymentrequest.js +2 -33
  14. package/models/components/invokedeploymentrequest.js.map +1 -1
  15. package/models/components/reasoningpart.js +1 -1
  16. package/models/components/searchknowledgerequest.d.ts +26 -26
  17. package/models/components/searchknowledgerequest.d.ts.map +1 -1
  18. package/models/components/searchknowledgerequest.js +20 -20
  19. package/models/components/searchknowledgerequest.js.map +1 -1
  20. package/models/operations/createannotationqueue.js +1 -1
  21. package/models/operations/createchatcompletion.d.ts +14 -53
  22. package/models/operations/createchatcompletion.d.ts.map +1 -1
  23. package/models/operations/createchatcompletion.js +2 -33
  24. package/models/operations/createchatcompletion.js.map +1 -1
  25. package/models/operations/createcompletion.d.ts +14 -53
  26. package/models/operations/createcompletion.d.ts.map +1 -1
  27. package/models/operations/createcompletion.js +2 -34
  28. package/models/operations/createcompletion.js.map +1 -1
  29. package/models/operations/createdataset.js +1 -1
  30. package/models/operations/createdatasetitem.js +5 -5
  31. package/models/operations/createtool.js +4 -4
  32. package/models/operations/deploymentgetconfig.d.ts +14 -53
  33. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  34. package/models/operations/deploymentgetconfig.js +3 -34
  35. package/models/operations/deploymentgetconfig.js.map +1 -1
  36. package/models/operations/deploymentstream.d.ts +14 -53
  37. package/models/operations/deploymentstream.d.ts.map +1 -1
  38. package/models/operations/deploymentstream.js +2 -33
  39. package/models/operations/deploymentstream.js.map +1 -1
  40. package/models/operations/getalltools.js +4 -4
  41. package/models/operations/geteval.js +16 -16
  42. package/models/operations/getv2humanevalsets.js +2 -2
  43. package/models/operations/getv2humanevalsetsid.js +2 -2
  44. package/models/operations/listannotationqueues.js +1 -1
  45. package/models/operations/listdatasetdatapoints.js +5 -5
  46. package/models/operations/listdatasets.js +1 -1
  47. package/models/operations/patchv2humanevalsetsid.js +2 -2
  48. package/models/operations/postv2feedbackevaluation.js +4 -4
  49. package/models/operations/postv2humanevalsets.js +2 -2
  50. package/models/operations/retrieveannotationqueue.js +1 -1
  51. package/models/operations/retrievedatapoint.js +5 -5
  52. package/models/operations/retrievedataset.js +1 -1
  53. package/models/operations/retrievetool.js +4 -4
  54. package/models/operations/runagent.js +1 -1
  55. package/models/operations/streamrunagent.js +1 -1
  56. package/models/operations/updateannotationqueue.js +1 -1
  57. package/models/operations/updatedatapoint.js +5 -5
  58. package/models/operations/updatedataset.js +1 -1
  59. package/models/operations/updatetool.js +4 -4
  60. package/package.json +5 -5
  61. package/src/lib/config.ts +2 -2
  62. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  63. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  64. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  65. package/src/models/components/evaluatorresponsellm.ts +2 -2
  66. package/src/models/components/evaluatorresponsepython.ts +2 -2
  67. package/src/models/components/evaluatorresponseragas.ts +2 -2
  68. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  69. package/src/models/components/invokedeploymentrequest.ts +14 -110
  70. package/src/models/components/reasoningpart.ts +1 -1
  71. package/src/models/components/searchknowledgerequest.ts +42 -54
  72. package/src/models/operations/createannotationqueue.ts +1 -1
  73. package/src/models/operations/createchatcompletion.ts +14 -128
  74. package/src/models/operations/createcompletion.ts +14 -122
  75. package/src/models/operations/createdataset.ts +1 -1
  76. package/src/models/operations/createdatasetitem.ts +5 -5
  77. package/src/models/operations/createtool.ts +4 -4
  78. package/src/models/operations/deploymentgetconfig.ts +14 -117
  79. package/src/models/operations/deploymentstream.ts +14 -118
  80. package/src/models/operations/getalltools.ts +4 -4
  81. package/src/models/operations/geteval.ts +16 -16
  82. package/src/models/operations/getv2humanevalsets.ts +2 -2
  83. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  84. package/src/models/operations/listannotationqueues.ts +1 -1
  85. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  86. package/src/models/operations/listdatasets.ts +1 -1
  87. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  88. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  89. package/src/models/operations/postv2humanevalsets.ts +2 -2
  90. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  91. package/src/models/operations/retrievedatapoint.ts +5 -5
  92. package/src/models/operations/retrievedataset.ts +1 -1
  93. package/src/models/operations/retrievetool.ts +4 -4
  94. package/src/models/operations/runagent.ts +1 -1
  95. package/src/models/operations/streamrunagent.ts +1 -1
  96. package/src/models/operations/updateannotationqueue.ts +1 -1
  97. package/src/models/operations/updatedatapoint.ts +5 -5
  98. package/src/models/operations/updatedataset.ts +1 -1
  99. package/src/models/operations/updatetool.ts +4 -4
@@ -164,7 +164,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
164
164
  }
165
165
  /** @internal */
166
166
  exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
167
- _id: z.string().default("tool_01M0CTRJWWW63SEKNMYCJZ0RTC"),
167
+ _id: z.string().default("tool_01M0EP6J5G4N1NXVZ71233PFSN"),
168
168
  path: z.string(),
169
169
  key: z.string(),
170
170
  display_name: z.string().optional(),
@@ -253,7 +253,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
253
253
  }
254
254
  /** @internal */
255
255
  exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
256
- _id: z.string().default("tool_01M0CTRJWVJ6T5YC4WGC18SWAH"),
256
+ _id: z.string().default("tool_01M0EP6J5C31YHXKM4A3EDT5K3"),
257
257
  path: z.string(),
258
258
  key: z.string(),
259
259
  display_name: z.string().optional(),
@@ -303,7 +303,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
303
303
  }
304
304
  /** @internal */
305
305
  exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
306
- _id: z.string().default("tool_01M0CTRJWT22EZZM2GD5Y60VV4"),
306
+ _id: z.string().default("tool_01M0EP6J5APM8535HWEZZD9NHX"),
307
307
  path: z.string(),
308
308
  key: z.string(),
309
309
  display_name: z.string().optional(),
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
357
357
  }
358
358
  /** @internal */
359
359
  exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
360
- _id: z.string().default("tool_01M0CTRJWSYY63K8FAR3NAJKAH"),
360
+ _id: z.string().default("tool_01M0EP6J581NSYDPH4D8ZSAAJR"),
361
361
  path: z.string(),
362
362
  key: z.string(),
363
363
  display_name: z.string().optional(),
@@ -1104,7 +1104,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
1104
1104
  }
1105
1105
  /** @internal */
1106
1106
  exports.Tools$outboundSchema = z.object({
1107
- id: z.string().default("01M0CTRJQREWTV3JYTHEMNFSQS"),
1107
+ id: z.string().default("01M0EP6HXS5QZKZ6PPCSKACZ99"),
1108
1108
  name: z.string(),
1109
1109
  description: z.string().optional(),
1110
1110
  schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
@@ -1070,7 +1070,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
1070
1070
  }
1071
1071
  /** @internal */
1072
1072
  exports.AgentToolInputRunTools$outboundSchema = z.object({
1073
- id: z.string().default("01M0CTRJRQYN7A7FST0KEPV5WM"),
1073
+ id: z.string().default("01M0EP6HZF6P0Y9FRJHKA5T987"),
1074
1074
  name: z.string(),
1075
1075
  description: z.string().optional(),
1076
1076
  schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
@@ -98,7 +98,7 @@ exports.UpdateAnnotationQueueResponseBody$inboundSchema = z.object({
98
98
  updated_by_id: z.nullable(z.string()).optional(),
99
99
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
100
100
  .optional(),
101
- updated: z.string().datetime({ offset: true }).default("2026-08-19T10:58:01.279Z").transform(v => new Date(v)),
101
+ updated: z.string().datetime({ offset: true }).default("2026-08-20T04:17:06.109Z").transform(v => new Date(v)),
102
102
  }).transform((v) => {
103
103
  return (0, primitives_js_1.remap)(v, {
104
104
  "_id": "id",
@@ -862,7 +862,7 @@ exports.UpdateDatapointEvaluations4$inboundSchema = z.object({
862
862
  parent_annotation_id: z.string().optional(),
863
863
  explanation: z.string().optional(),
864
864
  reviewed_by_id: z.string(),
865
- reviewed_at: z.string().datetime({ offset: true }).default("2026-08-19T10:58:37.137Z").transform(v => new Date(v)),
865
+ reviewed_at: z.string().datetime({ offset: true }).default("2026-08-20T04:17:21.147Z").transform(v => new Date(v)),
866
866
  type: z.literal("string_array"),
867
867
  values: z.array(z.string()),
868
868
  }).transform((v) => {
@@ -913,7 +913,7 @@ exports.UpdateDatapointEvaluations3$inboundSchema = z.object({
913
913
  parent_annotation_id: z.string().optional(),
914
914
  explanation: z.string().optional(),
915
915
  reviewed_by_id: z.string(),
916
- reviewed_at: z.string().datetime({ offset: true }).default("2026-08-19T10:58:37.137Z").transform(v => new Date(v)),
916
+ reviewed_at: z.string().datetime({ offset: true }).default("2026-08-20T04:17:21.146Z").transform(v => new Date(v)),
917
917
  type: z.literal("boolean"),
918
918
  value: z.boolean(),
919
919
  }).transform((v) => {
@@ -964,7 +964,7 @@ exports.UpdateDatapointEvaluations2$inboundSchema = z.object({
964
964
  parent_annotation_id: z.string().optional(),
965
965
  explanation: z.string().optional(),
966
966
  reviewed_by_id: z.string(),
967
- reviewed_at: z.string().datetime({ offset: true }).default("2026-08-19T10:58:37.136Z").transform(v => new Date(v)),
967
+ reviewed_at: z.string().datetime({ offset: true }).default("2026-08-20T04:17:21.145Z").transform(v => new Date(v)),
968
968
  type: z.literal("number"),
969
969
  value: z.number(),
970
970
  }).transform((v) => {
@@ -1014,7 +1014,7 @@ exports.UpdateDatapointEvaluations1$inboundSchema = z.object({
1014
1014
  parent_annotation_id: z.string().optional(),
1015
1015
  explanation: z.string().optional(),
1016
1016
  reviewed_by_id: z.string(),
1017
- reviewed_at: z.string().datetime({ offset: true }).default("2026-08-19T10:58:37.136Z").transform(v => new Date(v)),
1017
+ reviewed_at: z.string().datetime({ offset: true }).default("2026-08-20T04:17:21.145Z").transform(v => new Date(v)),
1018
1018
  type: z.literal("string"),
1019
1019
  value: z.string(),
1020
1020
  }).transform((v) => {
@@ -1065,7 +1065,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
1065
1065
  updated_by_id: z.nullable(z.string()).optional(),
1066
1066
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1067
1067
  .optional(),
1068
- updated: z.string().datetime({ offset: true }).default("2026-08-19T10:58:01.279Z").transform(v => new Date(v)),
1068
+ updated: z.string().datetime({ offset: true }).default("2026-08-20T04:17:06.109Z").transform(v => new Date(v)),
1069
1069
  }).transform((v) => {
1070
1070
  return (0, primitives_js_1.remap)(v, {
1071
1071
  "_id": "id",
@@ -95,7 +95,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
95
95
  updated_by_id: z.nullable(z.string()).optional(),
96
96
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
97
97
  .optional(),
98
- updated: z.string().datetime({ offset: true }).default("2026-08-19T10:58:01.279Z").transform(v => new Date(v)),
98
+ updated: z.string().datetime({ offset: true }).default("2026-08-20T04:17:06.109Z").transform(v => new Date(v)),
99
99
  }).transform((v) => {
100
100
  return (0, primitives_js_1.remap)(v, {
101
101
  "_id": "id",
@@ -536,7 +536,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
536
536
  }
537
537
  /** @internal */
538
538
  exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
539
- _id: z.string().default("tool_01M0CTRJWD072P3EGC71RKRRDE"),
539
+ _id: z.string().default("tool_01M0EP6J4G30FBH2WCN772P8AF"),
540
540
  path: z.string(),
541
541
  key: z.string(),
542
542
  display_name: z.string().optional(),
@@ -625,7 +625,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
625
625
  }
626
626
  /** @internal */
627
627
  exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
628
- _id: z.string().default("tool_01M0CTRJWC364JYJ181TECQ270"),
628
+ _id: z.string().default("tool_01M0EP6J4EPXZ6AH06K00D6SYR"),
629
629
  path: z.string(),
630
630
  key: z.string(),
631
631
  display_name: z.string().optional(),
@@ -675,7 +675,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
675
675
  }
676
676
  /** @internal */
677
677
  exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
678
- _id: z.string().default("tool_01M0CTRJWB61R2B1HSYKX919Z7"),
678
+ _id: z.string().default("tool_01M0EP6J4DK04JP2AC73H3CFV7"),
679
679
  path: z.string(),
680
680
  key: z.string(),
681
681
  display_name: z.string().optional(),
@@ -729,7 +729,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
729
729
  }
730
730
  /** @internal */
731
731
  exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
732
- _id: z.string().default("tool_01M0CTRJWBZ879YKNTVDAFW65M"),
732
+ _id: z.string().default("tool_01M0EP6J4BG2P6ACWE9C5Y6ZZE"),
733
733
  path: z.string(),
734
734
  key: z.string(),
735
735
  display_name: z.string().optional(),
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@orq-ai/node",
3
- "version": "4.14.0-rc.37",
3
+ "version": "4.14.0-rc.39",
4
4
  "author": "Orq",
5
5
  "exports": {
6
6
  ".": {
7
+ "import": "./index.js",
7
8
  "require": "./index.js",
8
- "types": "./index.d.ts",
9
- "import": "./index.js"
9
+ "types": "./index.d.ts"
10
10
  },
11
11
  "./*": "./*",
12
12
  "./langchain": {
13
+ "import": "./langchain/index.mjs",
13
14
  "require": "./langchain/index.js",
14
- "types": "./langchain/index.d.mts",
15
- "import": "./langchain/index.mjs"
15
+ "types": "./langchain/index.d.mts"
16
16
  }
17
17
  },
18
18
  "main": "./index.js",
package/src/lib/config.ts CHANGED
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
58
58
  export const SDK_METADATA = {
59
59
  language: "typescript",
60
60
  openapiDocVersion: "2.0",
61
- sdkVersion: "4.14.0-rc.37",
61
+ sdkVersion: "4.14.0-rc.39",
62
62
  genVersion: "2.931.0",
63
- userAgent: "speakeasy-sdk/typescript 4.14.0-rc.37 2.931.0 2.0 @orq-ai/node",
63
+ userAgent: "speakeasy-sdk/typescript 4.14.0-rc.39 2.931.0 2.0 @orq-ai/node",
64
64
  } as const;
@@ -860,8 +860,8 @@ export const EvaluatorResponseFunction$inboundSchema: z.ZodType<
860
860
  > = z.object({
861
861
  _id: z.string(),
862
862
  description: z.string(),
863
- created: z.string().default("2026-08-19T10:58:05.439Z"),
864
- updated: z.string().default("2026-08-19T10:58:05.439Z"),
863
+ created: z.string().default("2026-08-20T04:17:08.353Z"),
864
+ updated: z.string().default("2026-08-20T04:17:08.353Z"),
865
865
  updated_by_id: z.nullable(z.string()).optional(),
866
866
  project_id: z.string().optional(),
867
867
  guardrail_config: z.any().optional(),
@@ -46,8 +46,8 @@ export const EvaluatorResponseHttp$inboundSchema: z.ZodType<
46
46
  > = z.object({
47
47
  _id: z.string(),
48
48
  description: z.string(),
49
- created: z.string().default("2026-08-19T10:58:05.439Z"),
50
- updated: z.string().default("2026-08-19T10:58:05.439Z"),
49
+ created: z.string().default("2026-08-20T04:17:08.353Z"),
50
+ updated: z.string().default("2026-08-20T04:17:08.353Z"),
51
51
  updated_by_id: z.nullable(z.string()).optional(),
52
52
  project_id: z.string().optional(),
53
53
  guardrail_config: z.any().optional(),
@@ -32,8 +32,8 @@ export const EvaluatorResponseJsonSchema$inboundSchema: z.ZodType<
32
32
  > = z.object({
33
33
  _id: z.string(),
34
34
  description: z.string(),
35
- created: z.string().default("2026-08-19T10:58:05.439Z"),
36
- updated: z.string().default("2026-08-19T10:58:05.439Z"),
35
+ created: z.string().default("2026-08-20T04:17:08.353Z"),
36
+ updated: z.string().default("2026-08-20T04:17:08.353Z"),
37
37
  updated_by_id: z.nullable(z.string()).optional(),
38
38
  project_id: z.string().optional(),
39
39
  guardrail_config: z.any().optional(),
@@ -271,8 +271,8 @@ export const EvaluatorResponseLlm$inboundSchema: z.ZodType<
271
271
  > = z.object({
272
272
  _id: z.string(),
273
273
  description: z.string(),
274
- created: z.string().default("2026-08-19T10:58:05.439Z"),
275
- updated: z.string().default("2026-08-19T10:58:05.439Z"),
274
+ created: z.string().default("2026-08-20T04:17:08.353Z"),
275
+ updated: z.string().default("2026-08-20T04:17:08.353Z"),
276
276
  updated_by_id: z.nullable(z.string()).optional(),
277
277
  project_id: z.string().optional(),
278
278
  guardrail_config: z.any().optional(),
@@ -32,8 +32,8 @@ export const EvaluatorResponsePython$inboundSchema: z.ZodType<
32
32
  > = z.object({
33
33
  _id: z.string(),
34
34
  description: z.string(),
35
- created: z.string().default("2026-08-19T10:58:05.439Z"),
36
- updated: z.string().default("2026-08-19T10:58:05.439Z"),
35
+ created: z.string().default("2026-08-20T04:17:08.353Z"),
36
+ updated: z.string().default("2026-08-20T04:17:08.353Z"),
37
37
  updated_by_id: z.nullable(z.string()).optional(),
38
38
  project_id: z.string().optional(),
39
39
  guardrail_config: z.any().optional(),
@@ -54,8 +54,8 @@ export const EvaluatorResponseRagas$inboundSchema: z.ZodType<
54
54
  > = z.object({
55
55
  _id: z.string(),
56
56
  description: z.string(),
57
- created: z.string().default("2026-08-19T10:58:05.439Z"),
58
- updated: z.string().default("2026-08-19T10:58:05.439Z"),
57
+ created: z.string().default("2026-08-20T04:17:08.353Z"),
58
+ updated: z.string().default("2026-08-20T04:17:08.353Z"),
59
59
  updated_by_id: z.nullable(z.string()).optional(),
60
60
  project_id: z.string().optional(),
61
61
  guardrail_config: z.any().optional(),
@@ -32,8 +32,8 @@ export const EvaluatorResponseTypescript$inboundSchema: z.ZodType<
32
32
  > = z.object({
33
33
  _id: z.string(),
34
34
  description: z.string(),
35
- created: z.string().default("2026-08-19T10:58:05.439Z"),
36
- updated: z.string().default("2026-08-19T10:58:05.439Z"),
35
+ created: z.string().default("2026-08-20T04:17:08.353Z"),
36
+ updated: z.string().default("2026-08-20T04:17:08.353Z"),
37
37
  updated_by_id: z.nullable(z.string()).optional(),
38
38
  project_id: z.string().optional(),
39
39
  guardrail_config: z.any().optional(),
@@ -792,13 +792,6 @@ export type Thread = {
792
792
  tags?: Array<string> | undefined;
793
793
  };
794
794
 
795
- /**
796
- * Exists
797
- */
798
- export type OrExists = {
799
- exists: boolean;
800
- };
801
-
802
795
  export type OrNin = string | number | boolean;
803
796
 
804
797
  /**
@@ -871,8 +864,7 @@ export type Or =
871
864
  | OrLt
872
865
  | OrLte
873
866
  | InvokeDeploymentRequestOrIn
874
- | InvokeDeploymentRequestOrNin
875
- | OrExists;
867
+ | InvokeDeploymentRequestOrNin;
876
868
 
877
869
  /**
878
870
  * Or
@@ -888,19 +880,11 @@ export type KnowledgeFilterOr = {
888
880
  | OrLt
889
881
  | OrLte
890
882
  | InvokeDeploymentRequestOrIn
891
- | InvokeDeploymentRequestOrNin
892
- | OrExists;
883
+ | InvokeDeploymentRequestOrNin;
893
884
  }
894
885
  >;
895
886
  };
896
887
 
897
- /**
898
- * Exists
899
- */
900
- export type AndExists = {
901
- exists: boolean;
902
- };
903
-
904
888
  export type AndNin = string | number | boolean;
905
889
 
906
890
  /**
@@ -973,8 +957,7 @@ export type And =
973
957
  | AndLt
974
958
  | AndLte
975
959
  | InvokeDeploymentRequestAndIn
976
- | InvokeDeploymentRequestAndNin
977
- | AndExists;
960
+ | InvokeDeploymentRequestAndNin;
978
961
 
979
962
  /**
980
963
  * And
@@ -990,19 +973,11 @@ export type KnowledgeFilterAnd = {
990
973
  | AndLt
991
974
  | AndLte
992
975
  | InvokeDeploymentRequestAndIn
993
- | InvokeDeploymentRequestAndNin
994
- | AndExists;
976
+ | InvokeDeploymentRequestAndNin;
995
977
  }
996
978
  >;
997
979
  };
998
980
 
999
- /**
1000
- * Exists
1001
- */
1002
- export type Exists = {
1003
- exists: boolean;
1004
- };
1005
-
1006
981
  export type Nin = string | number | boolean;
1007
982
 
1008
983
  /**
@@ -1075,8 +1050,7 @@ export type KnowledgeFilter1 =
1075
1050
  | Lt
1076
1051
  | Lte
1077
1052
  | InvokeDeploymentRequest1In
1078
- | InvokeDeploymentRequest1Nin
1079
- | Exists;
1053
+ | InvokeDeploymentRequest1Nin;
1080
1054
 
1081
1055
  /**
1082
1056
  * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
@@ -1090,8 +1064,7 @@ export type KnowledgeFilter = KnowledgeFilterAnd | KnowledgeFilterOr | {
1090
1064
  | Lt
1091
1065
  | Lte
1092
1066
  | InvokeDeploymentRequest1In
1093
- | InvokeDeploymentRequest1Nin
1094
- | Exists;
1067
+ | InvokeDeploymentRequest1Nin;
1095
1068
  };
1096
1069
 
1097
1070
  /**
@@ -1172,8 +1145,7 @@ export type InvokeDeploymentRequest = {
1172
1145
  | Lt
1173
1146
  | Lte
1174
1147
  | InvokeDeploymentRequest1In
1175
- | InvokeDeploymentRequest1Nin
1176
- | Exists;
1148
+ | InvokeDeploymentRequest1Nin;
1177
1149
  } | undefined;
1178
1150
  };
1179
1151
 
@@ -2490,24 +2462,6 @@ export function threadToJSON(thread: Thread): string {
2490
2462
  return JSON.stringify(Thread$outboundSchema.parse(thread));
2491
2463
  }
2492
2464
 
2493
- /** @internal */
2494
- export type OrExists$Outbound = {
2495
- exists: boolean;
2496
- };
2497
-
2498
- /** @internal */
2499
- export const OrExists$outboundSchema: z.ZodType<
2500
- OrExists$Outbound,
2501
- z.ZodTypeDef,
2502
- OrExists
2503
- > = z.object({
2504
- exists: z.boolean(),
2505
- });
2506
-
2507
- export function orExistsToJSON(orExists: OrExists): string {
2508
- return JSON.stringify(OrExists$outboundSchema.parse(orExists));
2509
- }
2510
-
2511
2465
  /** @internal */
2512
2466
  export type OrNin$Outbound = string | number | boolean;
2513
2467
 
@@ -2726,8 +2680,7 @@ export type Or$Outbound =
2726
2680
  | OrLt$Outbound
2727
2681
  | OrLte$Outbound
2728
2682
  | InvokeDeploymentRequestOrIn$Outbound
2729
- | InvokeDeploymentRequestOrNin$Outbound
2730
- | OrExists$Outbound;
2683
+ | InvokeDeploymentRequestOrNin$Outbound;
2731
2684
 
2732
2685
  /** @internal */
2733
2686
  export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
@@ -2740,7 +2693,6 @@ export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
2740
2693
  z.lazy(() => OrLte$outboundSchema),
2741
2694
  z.lazy(() => InvokeDeploymentRequestOrIn$outboundSchema),
2742
2695
  z.lazy(() => InvokeDeploymentRequestOrNin$outboundSchema),
2743
- z.lazy(() => OrExists$outboundSchema),
2744
2696
  ]);
2745
2697
 
2746
2698
  export function orToJSON(or: Or): string {
@@ -2759,8 +2711,7 @@ export type KnowledgeFilterOr$Outbound = {
2759
2711
  | OrLt$Outbound
2760
2712
  | OrLte$Outbound
2761
2713
  | InvokeDeploymentRequestOrIn$Outbound
2762
- | InvokeDeploymentRequestOrNin$Outbound
2763
- | OrExists$Outbound;
2714
+ | InvokeDeploymentRequestOrNin$Outbound;
2764
2715
  }
2765
2716
  >;
2766
2717
  };
@@ -2783,7 +2734,6 @@ export const KnowledgeFilterOr$outboundSchema: z.ZodType<
2783
2734
  z.lazy(() => OrLte$outboundSchema),
2784
2735
  z.lazy(() => InvokeDeploymentRequestOrIn$outboundSchema),
2785
2736
  z.lazy(() => InvokeDeploymentRequestOrNin$outboundSchema),
2786
- z.lazy(() => OrExists$outboundSchema),
2787
2737
  ])),
2788
2738
  ),
2789
2739
  });
@@ -2796,24 +2746,6 @@ export function knowledgeFilterOrToJSON(
2796
2746
  );
2797
2747
  }
2798
2748
 
2799
- /** @internal */
2800
- export type AndExists$Outbound = {
2801
- exists: boolean;
2802
- };
2803
-
2804
- /** @internal */
2805
- export const AndExists$outboundSchema: z.ZodType<
2806
- AndExists$Outbound,
2807
- z.ZodTypeDef,
2808
- AndExists
2809
- > = z.object({
2810
- exists: z.boolean(),
2811
- });
2812
-
2813
- export function andExistsToJSON(andExists: AndExists): string {
2814
- return JSON.stringify(AndExists$outboundSchema.parse(andExists));
2815
- }
2816
-
2817
2749
  /** @internal */
2818
2750
  export type AndNin$Outbound = string | number | boolean;
2819
2751
 
@@ -3047,8 +2979,7 @@ export type And$Outbound =
3047
2979
  | AndLt$Outbound
3048
2980
  | AndLte$Outbound
3049
2981
  | InvokeDeploymentRequestAndIn$Outbound
3050
- | InvokeDeploymentRequestAndNin$Outbound
3051
- | AndExists$Outbound;
2982
+ | InvokeDeploymentRequestAndNin$Outbound;
3052
2983
 
3053
2984
  /** @internal */
3054
2985
  export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
@@ -3061,7 +2992,6 @@ export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
3061
2992
  z.lazy(() => AndLte$outboundSchema),
3062
2993
  z.lazy(() => InvokeDeploymentRequestAndIn$outboundSchema),
3063
2994
  z.lazy(() => InvokeDeploymentRequestAndNin$outboundSchema),
3064
- z.lazy(() => AndExists$outboundSchema),
3065
2995
  ]);
3066
2996
 
3067
2997
  export function andToJSON(and: And): string {
@@ -3080,8 +3010,7 @@ export type KnowledgeFilterAnd$Outbound = {
3080
3010
  | AndLt$Outbound
3081
3011
  | AndLte$Outbound
3082
3012
  | InvokeDeploymentRequestAndIn$Outbound
3083
- | InvokeDeploymentRequestAndNin$Outbound
3084
- | AndExists$Outbound;
3013
+ | InvokeDeploymentRequestAndNin$Outbound;
3085
3014
  }
3086
3015
  >;
3087
3016
  };
@@ -3104,7 +3033,6 @@ export const KnowledgeFilterAnd$outboundSchema: z.ZodType<
3104
3033
  z.lazy(() => AndLte$outboundSchema),
3105
3034
  z.lazy(() => InvokeDeploymentRequestAndIn$outboundSchema),
3106
3035
  z.lazy(() => InvokeDeploymentRequestAndNin$outboundSchema),
3107
- z.lazy(() => AndExists$outboundSchema),
3108
3036
  ])),
3109
3037
  ),
3110
3038
  });
@@ -3117,24 +3045,6 @@ export function knowledgeFilterAndToJSON(
3117
3045
  );
3118
3046
  }
3119
3047
 
3120
- /** @internal */
3121
- export type Exists$Outbound = {
3122
- exists: boolean;
3123
- };
3124
-
3125
- /** @internal */
3126
- export const Exists$outboundSchema: z.ZodType<
3127
- Exists$Outbound,
3128
- z.ZodTypeDef,
3129
- Exists
3130
- > = z.object({
3131
- exists: z.boolean(),
3132
- });
3133
-
3134
- export function existsToJSON(exists: Exists): string {
3135
- return JSON.stringify(Exists$outboundSchema.parse(exists));
3136
- }
3137
-
3138
3048
  /** @internal */
3139
3049
  export type Nin$Outbound = string | number | boolean;
3140
3050
 
@@ -3338,8 +3248,7 @@ export type KnowledgeFilter1$Outbound =
3338
3248
  | Lt$Outbound
3339
3249
  | Lte$Outbound
3340
3250
  | InvokeDeploymentRequest1In$Outbound
3341
- | InvokeDeploymentRequest1Nin$Outbound
3342
- | Exists$Outbound;
3251
+ | InvokeDeploymentRequest1Nin$Outbound;
3343
3252
 
3344
3253
  /** @internal */
3345
3254
  export const KnowledgeFilter1$outboundSchema: z.ZodType<
@@ -3355,7 +3264,6 @@ export const KnowledgeFilter1$outboundSchema: z.ZodType<
3355
3264
  z.lazy(() => Lte$outboundSchema),
3356
3265
  z.lazy(() => InvokeDeploymentRequest1In$outboundSchema),
3357
3266
  z.lazy(() => InvokeDeploymentRequest1Nin$outboundSchema),
3358
- z.lazy(() => Exists$outboundSchema),
3359
3267
  ]);
3360
3268
 
3361
3269
  export function knowledgeFilter1ToJSON(
@@ -3379,8 +3287,7 @@ export type KnowledgeFilter$Outbound =
3379
3287
  | Lt$Outbound
3380
3288
  | Lte$Outbound
3381
3289
  | InvokeDeploymentRequest1In$Outbound
3382
- | InvokeDeploymentRequest1Nin$Outbound
3383
- | Exists$Outbound;
3290
+ | InvokeDeploymentRequest1Nin$Outbound;
3384
3291
  };
3385
3292
 
3386
3293
  /** @internal */
@@ -3400,7 +3307,6 @@ export const KnowledgeFilter$outboundSchema: z.ZodType<
3400
3307
  z.lazy(() => Lte$outboundSchema),
3401
3308
  z.lazy(() => InvokeDeploymentRequest1In$outboundSchema),
3402
3309
  z.lazy(() => InvokeDeploymentRequest1Nin$outboundSchema),
3403
- z.lazy(() => Exists$outboundSchema),
3404
3310
  ])),
3405
3311
  ]);
3406
3312
 
@@ -3453,8 +3359,7 @@ export type InvokeDeploymentRequest$Outbound = {
3453
3359
  | Lt$Outbound
3454
3360
  | Lte$Outbound
3455
3361
  | InvokeDeploymentRequest1In$Outbound
3456
- | InvokeDeploymentRequest1Nin$Outbound
3457
- | Exists$Outbound;
3362
+ | InvokeDeploymentRequest1Nin$Outbound;
3458
3363
  }
3459
3364
  | undefined;
3460
3365
  };
@@ -3506,7 +3411,6 @@ export const InvokeDeploymentRequest$outboundSchema: z.ZodType<
3506
3411
  z.lazy(() => Lte$outboundSchema),
3507
3412
  z.lazy(() => InvokeDeploymentRequest1In$outboundSchema),
3508
3413
  z.lazy(() => InvokeDeploymentRequest1Nin$outboundSchema),
3509
- z.lazy(() => Exists$outboundSchema),
3510
3414
  ])),
3511
3415
  ]).optional(),
3512
3416
  }).transform((v) => {
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01m0ctrjmr56yg0kkwb072cedx"),
43
+ _id: z.string().default("reasoning_01m0ep6hs893q5b8zydgfrpsxq"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),