@orq-ai/node 3.13.1 → 3.13.2
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.
- package/bin/mcp-server.js +202 -202
- package/bin/mcp-server.js.map +39 -39
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +14 -14
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.js +2 -2
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.js +2 -2
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createtool.ts +14 -14
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/evalsageappropriate.ts +67 -0
- package/packages/orq-rc/src/models/operations/evalsbotdetection.ts +73 -0
- package/packages/orq-rc/src/models/operations/evalsfactcheckingknowledgebase.ts +90 -0
- package/packages/orq-rc/src/models/operations/evalsgrammar.ts +71 -0
- package/packages/orq-rc/src/models/operations/evalslocalization.ts +73 -0
- package/packages/orq-rc/src/models/operations/evalspii.ts +71 -0
- package/packages/orq-rc/src/models/operations/evalssentimentclassification.ts +89 -0
- package/packages/orq-rc/src/models/operations/evalssummarization.ts +76 -0
- package/packages/orq-rc/src/models/operations/evalstoneofvoice.ts +73 -0
- package/packages/orq-rc/src/models/operations/evalstranslation.ts +73 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/invokeeval.ts +88 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +2 -2
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +14 -14
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +14 -14
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +2 -2
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +2 -2
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -3347,8 +3347,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
3347
3347
|
> = z.object({
|
|
3348
3348
|
_id: z.string(),
|
|
3349
3349
|
description: z.string(),
|
|
3350
|
-
created: z.string().default("2025-10-
|
|
3351
|
-
updated: z.string().default("2025-10-
|
|
3350
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
3351
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
3352
3352
|
guardrail_config: z.union([
|
|
3353
3353
|
z.lazy(() =>
|
|
3354
3354
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3391,8 +3391,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
3391
3391
|
> = z.object({
|
|
3392
3392
|
id: z.string(),
|
|
3393
3393
|
description: z.string(),
|
|
3394
|
-
created: z.string().default("2025-10-
|
|
3395
|
-
updated: z.string().default("2025-10-
|
|
3394
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
3395
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
3396
3396
|
guardrailConfig: z.union([
|
|
3397
3397
|
z.lazy(() =>
|
|
3398
3398
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3809,8 +3809,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
3809
3809
|
.object({
|
|
3810
3810
|
_id: z.string(),
|
|
3811
3811
|
description: z.string(),
|
|
3812
|
-
created: z.string().default("2025-10-
|
|
3813
|
-
updated: z.string().default("2025-10-
|
|
3812
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
3813
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
3814
3814
|
guardrail_config: z.union([
|
|
3815
3815
|
z.lazy(() =>
|
|
3816
3816
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -3856,8 +3856,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
3856
3856
|
> = z.object({
|
|
3857
3857
|
id: z.string(),
|
|
3858
3858
|
description: z.string(),
|
|
3859
|
-
created: z.string().default("2025-10-
|
|
3860
|
-
updated: z.string().default("2025-10-
|
|
3859
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
3860
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
3861
3861
|
guardrailConfig: z.union([
|
|
3862
3862
|
z.lazy(() =>
|
|
3863
3863
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7281,8 +7281,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7281
7281
|
> = z.object({
|
|
7282
7282
|
_id: z.string(),
|
|
7283
7283
|
description: z.string(),
|
|
7284
|
-
created: z.string().default("2025-10-
|
|
7285
|
-
updated: z.string().default("2025-10-
|
|
7284
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
7285
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
7286
7286
|
guardrail_config: z.union([
|
|
7287
7287
|
z.lazy(() =>
|
|
7288
7288
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7396,8 +7396,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7396
7396
|
> = z.object({
|
|
7397
7397
|
id: z.string(),
|
|
7398
7398
|
description: z.string(),
|
|
7399
|
-
created: z.string().default("2025-10-
|
|
7400
|
-
updated: z.string().default("2025-10-
|
|
7399
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
7400
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
7401
7401
|
guardrailConfig: z.union([
|
|
7402
7402
|
z.lazy(() =>
|
|
7403
7403
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -7836,8 +7836,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
7836
7836
|
> = z.object({
|
|
7837
7837
|
_id: z.string(),
|
|
7838
7838
|
description: z.string(),
|
|
7839
|
-
created: z.string().default("2025-10-
|
|
7840
|
-
updated: z.string().default("2025-10-
|
|
7839
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
7840
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
7841
7841
|
guardrail_config: z.union([
|
|
7842
7842
|
z.lazy(() =>
|
|
7843
7843
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7879,8 +7879,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
7879
7879
|
> = z.object({
|
|
7880
7880
|
id: z.string(),
|
|
7881
7881
|
description: z.string(),
|
|
7882
|
-
created: z.string().default("2025-10-
|
|
7883
|
-
updated: z.string().default("2025-10-
|
|
7882
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
7883
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
7884
7884
|
guardrailConfig: z.union([
|
|
7885
7885
|
z.lazy(() =>
|
|
7886
7886
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8293,8 +8293,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8293
8293
|
> = z.object({
|
|
8294
8294
|
_id: z.string(),
|
|
8295
8295
|
description: z.string(),
|
|
8296
|
-
created: z.string().default("2025-10-
|
|
8297
|
-
updated: z.string().default("2025-10-
|
|
8296
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
8297
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
8298
8298
|
guardrail_config: z.union([
|
|
8299
8299
|
z.lazy(() =>
|
|
8300
8300
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8342,8 +8342,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8342
8342
|
> = z.object({
|
|
8343
8343
|
id: z.string(),
|
|
8344
8344
|
description: z.string(),
|
|
8345
|
-
created: z.string().default("2025-10-
|
|
8346
|
-
updated: z.string().default("2025-10-
|
|
8345
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
8346
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
8347
8347
|
guardrailConfig: z.union([
|
|
8348
8348
|
z.lazy(() =>
|
|
8349
8349
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -8720,8 +8720,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
8720
8720
|
> = z.object({
|
|
8721
8721
|
_id: z.string(),
|
|
8722
8722
|
description: z.string(),
|
|
8723
|
-
created: z.string().default("2025-10-
|
|
8724
|
-
updated: z.string().default("2025-10-
|
|
8723
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
8724
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
8725
8725
|
guardrail_config: z.union([
|
|
8726
8726
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
8727
8727
|
z.lazy(() =>
|
|
@@ -8761,8 +8761,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
8761
8761
|
> = z.object({
|
|
8762
8762
|
id: z.string(),
|
|
8763
8763
|
description: z.string(),
|
|
8764
|
-
created: z.string().default("2025-10-
|
|
8765
|
-
updated: z.string().default("2025-10-
|
|
8764
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
8765
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
8766
8766
|
guardrailConfig: z.union([
|
|
8767
8767
|
z.lazy(() =>
|
|
8768
8768
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9117,8 +9117,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9117
9117
|
> = z.object({
|
|
9118
9118
|
_id: z.string(),
|
|
9119
9119
|
description: z.string(),
|
|
9120
|
-
created: z.string().default("2025-10-
|
|
9121
|
-
updated: z.string().default("2025-10-
|
|
9120
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
9121
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
9122
9122
|
guardrail_config: z.union([
|
|
9123
9123
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9124
9124
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9158,8 +9158,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9158
9158
|
> = z.object({
|
|
9159
9159
|
id: z.string(),
|
|
9160
9160
|
description: z.string(),
|
|
9161
|
-
created: z.string().default("2025-10-
|
|
9162
|
-
updated: z.string().default("2025-10-
|
|
9161
|
+
created: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
9162
|
+
updated: z.string().default("2025-10-02T08:26:56.871Z"),
|
|
9163
9163
|
guardrailConfig: z.union([
|
|
9164
9164
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9165
9165
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -1881,7 +1881,7 @@ export const RequestBody3$inboundSchema: z.ZodType<
|
|
|
1881
1881
|
z.ZodTypeDef,
|
|
1882
1882
|
unknown
|
|
1883
1883
|
> = z.object({
|
|
1884
|
-
_id: z.string().default("
|
|
1884
|
+
_id: z.string().default("01K6J0GC55FW65DMHZY310JS69"),
|
|
1885
1885
|
path: z.string(),
|
|
1886
1886
|
key: z.string(),
|
|
1887
1887
|
display_name: z.string(),
|
|
@@ -1914,7 +1914,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
1914
1914
|
z.ZodTypeDef,
|
|
1915
1915
|
RequestBody3
|
|
1916
1916
|
> = z.object({
|
|
1917
|
-
id: z.string().default("
|
|
1917
|
+
id: z.string().default("01K6J0GC55FW65DMHZY310JS69"),
|
|
1918
1918
|
path: z.string(),
|
|
1919
1919
|
key: z.string(),
|
|
1920
1920
|
displayName: z.string(),
|
|
@@ -2067,7 +2067,7 @@ export const RequestBody2$inboundSchema: z.ZodType<
|
|
|
2067
2067
|
z.ZodTypeDef,
|
|
2068
2068
|
unknown
|
|
2069
2069
|
> = z.object({
|
|
2070
|
-
_id: z.string().default("
|
|
2070
|
+
_id: z.string().default("01K6J0GC55975667ZMWAG37NKA"),
|
|
2071
2071
|
path: z.string(),
|
|
2072
2072
|
key: z.string(),
|
|
2073
2073
|
display_name: z.string(),
|
|
@@ -2101,7 +2101,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
|
|
|
2101
2101
|
z.ZodTypeDef,
|
|
2102
2102
|
RequestBody2
|
|
2103
2103
|
> = z.object({
|
|
2104
|
-
id: z.string().default("
|
|
2104
|
+
id: z.string().default("01K6J0GC55975667ZMWAG37NKA"),
|
|
2105
2105
|
path: z.string(),
|
|
2106
2106
|
key: z.string(),
|
|
2107
2107
|
displayName: z.string(),
|
|
@@ -2525,7 +2525,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2525
2525
|
z.ZodTypeDef,
|
|
2526
2526
|
unknown
|
|
2527
2527
|
> = z.object({
|
|
2528
|
-
_id: z.string().default("
|
|
2528
|
+
_id: z.string().default("01K6J0GC54AX3M4R7PYRA4FEFP"),
|
|
2529
2529
|
path: z.string(),
|
|
2530
2530
|
key: z.string(),
|
|
2531
2531
|
display_name: z.string(),
|
|
@@ -2580,7 +2580,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2580
2580
|
z.ZodTypeDef,
|
|
2581
2581
|
ResponseBody5
|
|
2582
2582
|
> = z.object({
|
|
2583
|
-
id: z.string().default("
|
|
2583
|
+
id: z.string().default("01K6J0GC54AX3M4R7PYRA4FEFP"),
|
|
2584
2584
|
path: z.string(),
|
|
2585
2585
|
key: z.string(),
|
|
2586
2586
|
displayName: z.string(),
|
|
@@ -2939,7 +2939,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
2939
2939
|
z.ZodTypeDef,
|
|
2940
2940
|
unknown
|
|
2941
2941
|
> = z.object({
|
|
2942
|
-
_id: z.string().default("
|
|
2942
|
+
_id: z.string().default("01K6J0GC5433NW33JV33JTCQ6H"),
|
|
2943
2943
|
path: z.string(),
|
|
2944
2944
|
key: z.string(),
|
|
2945
2945
|
display_name: z.string(),
|
|
@@ -2993,7 +2993,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
2993
2993
|
z.ZodTypeDef,
|
|
2994
2994
|
ResponseBody4
|
|
2995
2995
|
> = z.object({
|
|
2996
|
-
id: z.string().default("
|
|
2996
|
+
id: z.string().default("01K6J0GC5433NW33JV33JTCQ6H"),
|
|
2997
2997
|
path: z.string(),
|
|
2998
2998
|
key: z.string(),
|
|
2999
2999
|
displayName: z.string(),
|
|
@@ -3391,7 +3391,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
3391
3391
|
z.ZodTypeDef,
|
|
3392
3392
|
unknown
|
|
3393
3393
|
> = z.object({
|
|
3394
|
-
_id: z.string().default("
|
|
3394
|
+
_id: z.string().default("01K6J0GC5398RT6SDXNN0Y4FM2"),
|
|
3395
3395
|
path: z.string(),
|
|
3396
3396
|
key: z.string(),
|
|
3397
3397
|
display_name: z.string(),
|
|
@@ -3443,7 +3443,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
3443
3443
|
z.ZodTypeDef,
|
|
3444
3444
|
ResponseBody3
|
|
3445
3445
|
> = z.object({
|
|
3446
|
-
id: z.string().default("
|
|
3446
|
+
id: z.string().default("01K6J0GC5398RT6SDXNN0Y4FM2"),
|
|
3447
3447
|
path: z.string(),
|
|
3448
3448
|
key: z.string(),
|
|
3449
3449
|
displayName: z.string(),
|
|
@@ -3608,7 +3608,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
3608
3608
|
z.ZodTypeDef,
|
|
3609
3609
|
unknown
|
|
3610
3610
|
> = z.object({
|
|
3611
|
-
_id: z.string().default("
|
|
3611
|
+
_id: z.string().default("01K6J0GC53HH95K29QVT2WKXWQ"),
|
|
3612
3612
|
path: z.string(),
|
|
3613
3613
|
key: z.string(),
|
|
3614
3614
|
display_name: z.string(),
|
|
@@ -3661,7 +3661,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
|
|
|
3661
3661
|
z.ZodTypeDef,
|
|
3662
3662
|
ResponseBody2
|
|
3663
3663
|
> = z.object({
|
|
3664
|
-
id: z.string().default("
|
|
3664
|
+
id: z.string().default("01K6J0GC53HH95K29QVT2WKXWQ"),
|
|
3665
3665
|
path: z.string(),
|
|
3666
3666
|
key: z.string(),
|
|
3667
3667
|
displayName: z.string(),
|
|
@@ -3829,7 +3829,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
3829
3829
|
z.ZodTypeDef,
|
|
3830
3830
|
unknown
|
|
3831
3831
|
> = z.object({
|
|
3832
|
-
_id: z.string().default("
|
|
3832
|
+
_id: z.string().default("01K6J0GC521MXMAZ6G6M2ZXYFC"),
|
|
3833
3833
|
path: z.string(),
|
|
3834
3834
|
key: z.string(),
|
|
3835
3835
|
display_name: z.string(),
|
|
@@ -3881,7 +3881,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
|
|
|
3881
3881
|
z.ZodTypeDef,
|
|
3882
3882
|
ResponseBody1
|
|
3883
3883
|
> = z.object({
|
|
3884
|
-
id: z.string().default("
|
|
3884
|
+
id: z.string().default("01K6J0GC521MXMAZ6G6M2ZXYFC"),
|
|
3885
3885
|
path: z.string(),
|
|
3886
3886
|
key: z.string(),
|
|
3887
3887
|
displayName: z.string(),
|
|
@@ -750,7 +750,7 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
750
750
|
z.ZodTypeDef,
|
|
751
751
|
unknown
|
|
752
752
|
> = z.object({
|
|
753
|
-
_id: z.string().default("
|
|
753
|
+
_id: z.string().default("01K6J0GC5B60EYNT0XCH0TDJ1A"),
|
|
754
754
|
path: z.string(),
|
|
755
755
|
key: z.string(),
|
|
756
756
|
display_name: z.string(),
|
|
@@ -806,7 +806,7 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
806
806
|
z.ZodTypeDef,
|
|
807
807
|
DuplicateToolResponseBody5
|
|
808
808
|
> = z.object({
|
|
809
|
-
id: z.string().default("
|
|
809
|
+
id: z.string().default("01K6J0GC5B60EYNT0XCH0TDJ1A"),
|
|
810
810
|
path: z.string(),
|
|
811
811
|
key: z.string(),
|
|
812
812
|
displayName: z.string(),
|
|
@@ -1194,7 +1194,7 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1194
1194
|
z.ZodTypeDef,
|
|
1195
1195
|
unknown
|
|
1196
1196
|
> = z.object({
|
|
1197
|
-
_id: z.string().default("
|
|
1197
|
+
_id: z.string().default("01K6J0GC5BTR9X3V7H0CD7YFTG"),
|
|
1198
1198
|
path: z.string(),
|
|
1199
1199
|
key: z.string(),
|
|
1200
1200
|
display_name: z.string(),
|
|
@@ -1248,7 +1248,7 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1248
1248
|
z.ZodTypeDef,
|
|
1249
1249
|
DuplicateToolResponseBody4
|
|
1250
1250
|
> = z.object({
|
|
1251
|
-
id: z.string().default("
|
|
1251
|
+
id: z.string().default("01K6J0GC5BTR9X3V7H0CD7YFTG"),
|
|
1252
1252
|
path: z.string(),
|
|
1253
1253
|
key: z.string(),
|
|
1254
1254
|
displayName: z.string(),
|
|
@@ -1675,7 +1675,7 @@ export const DuplicateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1675
1675
|
z.ZodTypeDef,
|
|
1676
1676
|
unknown
|
|
1677
1677
|
> = z.object({
|
|
1678
|
-
_id: z.string().default("
|
|
1678
|
+
_id: z.string().default("01K6J0GC5ABCS9T6VX9ZJW5QDR"),
|
|
1679
1679
|
path: z.string(),
|
|
1680
1680
|
key: z.string(),
|
|
1681
1681
|
display_name: z.string(),
|
|
@@ -1729,7 +1729,7 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1729
1729
|
z.ZodTypeDef,
|
|
1730
1730
|
DuplicateToolResponseBody3
|
|
1731
1731
|
> = z.object({
|
|
1732
|
-
id: z.string().default("
|
|
1732
|
+
id: z.string().default("01K6J0GC5ABCS9T6VX9ZJW5QDR"),
|
|
1733
1733
|
path: z.string(),
|
|
1734
1734
|
key: z.string(),
|
|
1735
1735
|
displayName: z.string(),
|
|
@@ -1909,7 +1909,7 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1909
1909
|
z.ZodTypeDef,
|
|
1910
1910
|
unknown
|
|
1911
1911
|
> = z.object({
|
|
1912
|
-
_id: z.string().default("
|
|
1912
|
+
_id: z.string().default("01K6J0GC5A0WMAB16DTM77KFBK"),
|
|
1913
1913
|
path: z.string(),
|
|
1914
1914
|
key: z.string(),
|
|
1915
1915
|
display_name: z.string(),
|
|
@@ -1962,7 +1962,7 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
1962
1962
|
z.ZodTypeDef,
|
|
1963
1963
|
DuplicateToolResponseBody2
|
|
1964
1964
|
> = z.object({
|
|
1965
|
-
id: z.string().default("
|
|
1965
|
+
id: z.string().default("01K6J0GC5A0WMAB16DTM77KFBK"),
|
|
1966
1966
|
path: z.string(),
|
|
1967
1967
|
key: z.string(),
|
|
1968
1968
|
displayName: z.string(),
|
|
@@ -2135,7 +2135,7 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2135
2135
|
z.ZodTypeDef,
|
|
2136
2136
|
unknown
|
|
2137
2137
|
> = z.object({
|
|
2138
|
-
_id: z.string().default("
|
|
2138
|
+
_id: z.string().default("01K6J0GC5A7BZ7TVEYSW8RNKNP"),
|
|
2139
2139
|
path: z.string(),
|
|
2140
2140
|
key: z.string(),
|
|
2141
2141
|
display_name: z.string(),
|
|
@@ -2187,7 +2187,7 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2187
2187
|
z.ZodTypeDef,
|
|
2188
2188
|
DuplicateToolResponseBody1
|
|
2189
2189
|
> = z.object({
|
|
2190
|
-
id: z.string().default("
|
|
2190
|
+
id: z.string().default("01K6J0GC5A7BZ7TVEYSW8RNKNP"),
|
|
2191
2191
|
path: z.string(),
|
|
2192
2192
|
key: z.string(),
|
|
2193
2193
|
displayName: z.string(),
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -15,9 +16,13 @@ export type EvalsAgeAppropriateRequestBody = {
|
|
|
15
16
|
|
|
16
17
|
export type EvalsAgeAppropriateEvalsValue = number | boolean | string;
|
|
17
18
|
|
|
19
|
+
export type OriginalValue = number | boolean | string;
|
|
20
|
+
|
|
18
21
|
export type EvalsAgeAppropriateValue = {
|
|
19
22
|
value: number | boolean | string;
|
|
20
23
|
explanation?: string | null | undefined;
|
|
24
|
+
originalValue?: number | boolean | string | null | undefined;
|
|
25
|
+
originalExplanation?: string | null | undefined;
|
|
21
26
|
};
|
|
22
27
|
|
|
23
28
|
/**
|
|
@@ -139,6 +144,50 @@ export function evalsAgeAppropriateEvalsValueFromJSON(
|
|
|
139
144
|
);
|
|
140
145
|
}
|
|
141
146
|
|
|
147
|
+
/** @internal */
|
|
148
|
+
export const OriginalValue$inboundSchema: z.ZodType<
|
|
149
|
+
OriginalValue,
|
|
150
|
+
z.ZodTypeDef,
|
|
151
|
+
unknown
|
|
152
|
+
> = z.union([z.number(), z.boolean(), z.string()]);
|
|
153
|
+
|
|
154
|
+
/** @internal */
|
|
155
|
+
export type OriginalValue$Outbound = number | boolean | string;
|
|
156
|
+
|
|
157
|
+
/** @internal */
|
|
158
|
+
export const OriginalValue$outboundSchema: z.ZodType<
|
|
159
|
+
OriginalValue$Outbound,
|
|
160
|
+
z.ZodTypeDef,
|
|
161
|
+
OriginalValue
|
|
162
|
+
> = z.union([z.number(), z.boolean(), z.string()]);
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @internal
|
|
166
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
167
|
+
*/
|
|
168
|
+
export namespace OriginalValue$ {
|
|
169
|
+
/** @deprecated use `OriginalValue$inboundSchema` instead. */
|
|
170
|
+
export const inboundSchema = OriginalValue$inboundSchema;
|
|
171
|
+
/** @deprecated use `OriginalValue$outboundSchema` instead. */
|
|
172
|
+
export const outboundSchema = OriginalValue$outboundSchema;
|
|
173
|
+
/** @deprecated use `OriginalValue$Outbound` instead. */
|
|
174
|
+
export type Outbound = OriginalValue$Outbound;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export function originalValueToJSON(originalValue: OriginalValue): string {
|
|
178
|
+
return JSON.stringify(OriginalValue$outboundSchema.parse(originalValue));
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export function originalValueFromJSON(
|
|
182
|
+
jsonString: string,
|
|
183
|
+
): SafeParseResult<OriginalValue, SDKValidationError> {
|
|
184
|
+
return safeParse(
|
|
185
|
+
jsonString,
|
|
186
|
+
(x) => OriginalValue$inboundSchema.parse(JSON.parse(x)),
|
|
187
|
+
`Failed to parse 'OriginalValue' from JSON`,
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
|
|
142
191
|
/** @internal */
|
|
143
192
|
export const EvalsAgeAppropriateValue$inboundSchema: z.ZodType<
|
|
144
193
|
EvalsAgeAppropriateValue,
|
|
@@ -147,12 +196,22 @@ export const EvalsAgeAppropriateValue$inboundSchema: z.ZodType<
|
|
|
147
196
|
> = z.object({
|
|
148
197
|
value: z.union([z.number(), z.boolean(), z.string()]),
|
|
149
198
|
explanation: z.nullable(z.string()).optional(),
|
|
199
|
+
original_value: z.nullable(z.union([z.number(), z.boolean(), z.string()]))
|
|
200
|
+
.optional(),
|
|
201
|
+
original_explanation: z.nullable(z.string()).optional(),
|
|
202
|
+
}).transform((v) => {
|
|
203
|
+
return remap$(v, {
|
|
204
|
+
"original_value": "originalValue",
|
|
205
|
+
"original_explanation": "originalExplanation",
|
|
206
|
+
});
|
|
150
207
|
});
|
|
151
208
|
|
|
152
209
|
/** @internal */
|
|
153
210
|
export type EvalsAgeAppropriateValue$Outbound = {
|
|
154
211
|
value: number | boolean | string;
|
|
155
212
|
explanation?: string | null | undefined;
|
|
213
|
+
original_value?: number | boolean | string | null | undefined;
|
|
214
|
+
original_explanation?: string | null | undefined;
|
|
156
215
|
};
|
|
157
216
|
|
|
158
217
|
/** @internal */
|
|
@@ -163,6 +222,14 @@ export const EvalsAgeAppropriateValue$outboundSchema: z.ZodType<
|
|
|
163
222
|
> = z.object({
|
|
164
223
|
value: z.union([z.number(), z.boolean(), z.string()]),
|
|
165
224
|
explanation: z.nullable(z.string()).optional(),
|
|
225
|
+
originalValue: z.nullable(z.union([z.number(), z.boolean(), z.string()]))
|
|
226
|
+
.optional(),
|
|
227
|
+
originalExplanation: z.nullable(z.string()).optional(),
|
|
228
|
+
}).transform((v) => {
|
|
229
|
+
return remap$(v, {
|
|
230
|
+
originalValue: "original_value",
|
|
231
|
+
originalExplanation: "original_explanation",
|
|
232
|
+
});
|
|
166
233
|
});
|
|
167
234
|
|
|
168
235
|
/**
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -14,9 +15,13 @@ export type EvalsBotDetectionRequestBody = {
|
|
|
14
15
|
|
|
15
16
|
export type EvalsBotDetectionEvalsValue = number | boolean | string;
|
|
16
17
|
|
|
18
|
+
export type EvalsBotDetectionOriginalValue = number | boolean | string;
|
|
19
|
+
|
|
17
20
|
export type EvalsBotDetectionValue = {
|
|
18
21
|
value: number | boolean | string;
|
|
19
22
|
explanation?: string | null | undefined;
|
|
23
|
+
originalValue?: number | boolean | string | null | undefined;
|
|
24
|
+
originalExplanation?: string | null | undefined;
|
|
20
25
|
};
|
|
21
26
|
|
|
22
27
|
/**
|
|
@@ -135,6 +140,56 @@ export function evalsBotDetectionEvalsValueFromJSON(
|
|
|
135
140
|
);
|
|
136
141
|
}
|
|
137
142
|
|
|
143
|
+
/** @internal */
|
|
144
|
+
export const EvalsBotDetectionOriginalValue$inboundSchema: z.ZodType<
|
|
145
|
+
EvalsBotDetectionOriginalValue,
|
|
146
|
+
z.ZodTypeDef,
|
|
147
|
+
unknown
|
|
148
|
+
> = z.union([z.number(), z.boolean(), z.string()]);
|
|
149
|
+
|
|
150
|
+
/** @internal */
|
|
151
|
+
export type EvalsBotDetectionOriginalValue$Outbound = number | boolean | string;
|
|
152
|
+
|
|
153
|
+
/** @internal */
|
|
154
|
+
export const EvalsBotDetectionOriginalValue$outboundSchema: z.ZodType<
|
|
155
|
+
EvalsBotDetectionOriginalValue$Outbound,
|
|
156
|
+
z.ZodTypeDef,
|
|
157
|
+
EvalsBotDetectionOriginalValue
|
|
158
|
+
> = z.union([z.number(), z.boolean(), z.string()]);
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @internal
|
|
162
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
163
|
+
*/
|
|
164
|
+
export namespace EvalsBotDetectionOriginalValue$ {
|
|
165
|
+
/** @deprecated use `EvalsBotDetectionOriginalValue$inboundSchema` instead. */
|
|
166
|
+
export const inboundSchema = EvalsBotDetectionOriginalValue$inboundSchema;
|
|
167
|
+
/** @deprecated use `EvalsBotDetectionOriginalValue$outboundSchema` instead. */
|
|
168
|
+
export const outboundSchema = EvalsBotDetectionOriginalValue$outboundSchema;
|
|
169
|
+
/** @deprecated use `EvalsBotDetectionOriginalValue$Outbound` instead. */
|
|
170
|
+
export type Outbound = EvalsBotDetectionOriginalValue$Outbound;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export function evalsBotDetectionOriginalValueToJSON(
|
|
174
|
+
evalsBotDetectionOriginalValue: EvalsBotDetectionOriginalValue,
|
|
175
|
+
): string {
|
|
176
|
+
return JSON.stringify(
|
|
177
|
+
EvalsBotDetectionOriginalValue$outboundSchema.parse(
|
|
178
|
+
evalsBotDetectionOriginalValue,
|
|
179
|
+
),
|
|
180
|
+
);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export function evalsBotDetectionOriginalValueFromJSON(
|
|
184
|
+
jsonString: string,
|
|
185
|
+
): SafeParseResult<EvalsBotDetectionOriginalValue, SDKValidationError> {
|
|
186
|
+
return safeParse(
|
|
187
|
+
jsonString,
|
|
188
|
+
(x) => EvalsBotDetectionOriginalValue$inboundSchema.parse(JSON.parse(x)),
|
|
189
|
+
`Failed to parse 'EvalsBotDetectionOriginalValue' from JSON`,
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
|
|
138
193
|
/** @internal */
|
|
139
194
|
export const EvalsBotDetectionValue$inboundSchema: z.ZodType<
|
|
140
195
|
EvalsBotDetectionValue,
|
|
@@ -143,12 +198,22 @@ export const EvalsBotDetectionValue$inboundSchema: z.ZodType<
|
|
|
143
198
|
> = z.object({
|
|
144
199
|
value: z.union([z.number(), z.boolean(), z.string()]),
|
|
145
200
|
explanation: z.nullable(z.string()).optional(),
|
|
201
|
+
original_value: z.nullable(z.union([z.number(), z.boolean(), z.string()]))
|
|
202
|
+
.optional(),
|
|
203
|
+
original_explanation: z.nullable(z.string()).optional(),
|
|
204
|
+
}).transform((v) => {
|
|
205
|
+
return remap$(v, {
|
|
206
|
+
"original_value": "originalValue",
|
|
207
|
+
"original_explanation": "originalExplanation",
|
|
208
|
+
});
|
|
146
209
|
});
|
|
147
210
|
|
|
148
211
|
/** @internal */
|
|
149
212
|
export type EvalsBotDetectionValue$Outbound = {
|
|
150
213
|
value: number | boolean | string;
|
|
151
214
|
explanation?: string | null | undefined;
|
|
215
|
+
original_value?: number | boolean | string | null | undefined;
|
|
216
|
+
original_explanation?: string | null | undefined;
|
|
152
217
|
};
|
|
153
218
|
|
|
154
219
|
/** @internal */
|
|
@@ -159,6 +224,14 @@ export const EvalsBotDetectionValue$outboundSchema: z.ZodType<
|
|
|
159
224
|
> = z.object({
|
|
160
225
|
value: z.union([z.number(), z.boolean(), z.string()]),
|
|
161
226
|
explanation: z.nullable(z.string()).optional(),
|
|
227
|
+
originalValue: z.nullable(z.union([z.number(), z.boolean(), z.string()]))
|
|
228
|
+
.optional(),
|
|
229
|
+
originalExplanation: z.nullable(z.string()).optional(),
|
|
230
|
+
}).transform((v) => {
|
|
231
|
+
return remap$(v, {
|
|
232
|
+
originalValue: "original_value",
|
|
233
|
+
originalExplanation: "original_explanation",
|
|
234
|
+
});
|
|
162
235
|
});
|
|
163
236
|
|
|
164
237
|
/**
|