@orq-ai/node 4.5.0-rc.40 → 4.5.0-rc.41
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/partdoneevent.js +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +161 -271
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +162 -256
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createknowledge.d.ts +7 -7
- package/models/operations/createknowledge.d.ts.map +1 -1
- package/models/operations/createknowledge.js +11 -11
- package/models/operations/createknowledge.js.map +1 -1
- package/models/operations/createtool.d.ts +39 -39
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +49 -52
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/fileget.js +1 -1
- package/models/operations/filelist.js +1 -1
- package/models/operations/fileupload.js +1 -1
- package/models/operations/getalltools.d.ts +39 -39
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +47 -49
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.js +16 -16
- package/models/operations/listagents.d.ts +167 -276
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +172 -266
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/listknowledgebases.d.ts +8 -8
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +15 -13
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +169 -279
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +173 -270
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +169 -279
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +174 -270
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/partdoneevent.ts +1 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +376 -619
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createknowledge.ts +17 -19
- package/src/models/operations/createtool.ts +91 -103
- package/src/models/operations/fileget.ts +1 -1
- package/src/models/operations/filelist.ts +1 -1
- package/src/models/operations/fileupload.ts +1 -1
- package/src/models/operations/getalltools.ts +87 -93
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/listagents.ts +383 -611
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +64 -72
- package/src/models/operations/retrieveagentrequest.ts +489 -884
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updateagent.ts +362 -668
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
134
134
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
135
135
|
.optional(),
|
|
136
136
|
updated: z.string().datetime({ offset: true }).default(
|
|
137
|
-
"2026-03-
|
|
137
|
+
"2026-03-09T13:01:06.486Z",
|
|
138
138
|
).transform(v => new Date(v)),
|
|
139
139
|
}).transform((v) => {
|
|
140
140
|
return remap$(v, {
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-03-
|
|
141
|
+
"2026-03-09T13:01:06.486Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2353,7 +2353,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2353
2353
|
),
|
|
2354
2354
|
reviewed_by_id: z.string(),
|
|
2355
2355
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2356
|
-
"2026-03-
|
|
2356
|
+
"2026-03-09T13:01:21.835Z",
|
|
2357
2357
|
).transform(v => new Date(v)),
|
|
2358
2358
|
type: z.literal("string_array"),
|
|
2359
2359
|
values: z.array(z.string()),
|
|
@@ -2398,7 +2398,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2398
2398
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2399
2399
|
reviewed_by_id: z.string(),
|
|
2400
2400
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2401
|
-
"2026-03-
|
|
2401
|
+
"2026-03-09T13:01:21.834Z",
|
|
2402
2402
|
).transform(v => new Date(v)),
|
|
2403
2403
|
type: z.literal("number"),
|
|
2404
2404
|
value: z.number(),
|
|
@@ -2443,7 +2443,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2443
2443
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2444
2444
|
reviewed_by_id: z.string(),
|
|
2445
2445
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2446
|
-
"2026-03-
|
|
2446
|
+
"2026-03-09T13:01:21.834Z",
|
|
2447
2447
|
).transform(v => new Date(v)),
|
|
2448
2448
|
type: z.literal("string"),
|
|
2449
2449
|
value: z.string(),
|
|
@@ -2526,7 +2526,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2526
2526
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2527
2527
|
.optional(),
|
|
2528
2528
|
updated: z.string().datetime({ offset: true }).default(
|
|
2529
|
-
"2026-03-
|
|
2529
|
+
"2026-03-09T13:01:06.486Z",
|
|
2530
2530
|
).transform(v => new Date(v)),
|
|
2531
2531
|
}).transform((v) => {
|
|
2532
2532
|
return remap$(v, {
|
|
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.object({
|
|
406
|
-
_id: z.string().default("
|
|
406
|
+
_id: z.string().default("01KK9B05YFBF88EFB1GY15RKAJ"),
|
|
407
407
|
display_name: z.string(),
|
|
408
408
|
description: z.string().optional(),
|
|
409
409
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2245,8 +2245,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2245
2245
|
> = z.object({
|
|
2246
2246
|
_id: z.string(),
|
|
2247
2247
|
description: z.string(),
|
|
2248
|
-
created: z.string().default("2026-03-
|
|
2249
|
-
updated: z.string().default("2026-03-
|
|
2248
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
2249
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
2250
2250
|
guardrail_config: z.union([
|
|
2251
2251
|
z.lazy(() =>
|
|
2252
2252
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema
|
|
@@ -2394,8 +2394,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2394
2394
|
.object({
|
|
2395
2395
|
_id: z.string(),
|
|
2396
2396
|
description: z.string(),
|
|
2397
|
-
created: z.string().default("2026-03-
|
|
2398
|
-
updated: z.string().default("2026-03-
|
|
2397
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
2398
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
2399
2399
|
guardrail_config: z.union([
|
|
2400
2400
|
z.lazy(() =>
|
|
2401
2401
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema
|
|
@@ -3178,8 +3178,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3178
3178
|
> = z.object({
|
|
3179
3179
|
_id: z.string(),
|
|
3180
3180
|
description: z.string(),
|
|
3181
|
-
created: z.string().default("2026-03-
|
|
3182
|
-
updated: z.string().default("2026-03-
|
|
3181
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
3182
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
3183
3183
|
guardrail_config: z.union([
|
|
3184
3184
|
z.lazy(() =>
|
|
3185
3185
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -3357,8 +3357,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3357
3357
|
> = z.object({
|
|
3358
3358
|
_id: z.string(),
|
|
3359
3359
|
description: z.string(),
|
|
3360
|
-
created: z.string().default("2026-03-
|
|
3361
|
-
updated: z.string().default("2026-03-
|
|
3360
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
3361
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
3362
3362
|
guardrail_config: z.union([
|
|
3363
3363
|
z.lazy(() =>
|
|
3364
3364
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -3498,8 +3498,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3498
3498
|
> = z.object({
|
|
3499
3499
|
_id: z.string(),
|
|
3500
3500
|
description: z.string(),
|
|
3501
|
-
created: z.string().default("2026-03-
|
|
3502
|
-
updated: z.string().default("2026-03-
|
|
3501
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
3502
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
3503
3503
|
guardrail_config: z.union([
|
|
3504
3504
|
z.lazy(() =>
|
|
3505
3505
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -3634,8 +3634,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3634
3634
|
> = z.object({
|
|
3635
3635
|
_id: z.string(),
|
|
3636
3636
|
description: z.string(),
|
|
3637
|
-
created: z.string().default("2026-03-
|
|
3638
|
-
updated: z.string().default("2026-03-
|
|
3637
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
3638
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
3639
3639
|
guardrail_config: z.union([
|
|
3640
3640
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3641
3641
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -3944,8 +3944,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3944
3944
|
> = z.object({
|
|
3945
3945
|
_id: z.string(),
|
|
3946
3946
|
description: z.string(),
|
|
3947
|
-
created: z.string().default("2026-03-
|
|
3948
|
-
updated: z.string().default("2026-03-
|
|
3947
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
3948
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
3949
3949
|
guardrail_config: z.union([
|
|
3950
3950
|
z.lazy(() =>
|
|
3951
3951
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema
|
|
@@ -4088,8 +4088,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4088
4088
|
> = z.object({
|
|
4089
4089
|
_id: z.string(),
|
|
4090
4090
|
description: z.string(),
|
|
4091
|
-
created: z.string().default("2026-03-
|
|
4092
|
-
updated: z.string().default("2026-03-
|
|
4091
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
4092
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
4093
4093
|
guardrail_config: z.union([
|
|
4094
4094
|
z.lazy(() =>
|
|
4095
4095
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema
|
|
@@ -139,7 +139,7 @@ export const CreateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
139
139
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
140
140
|
.optional(),
|
|
141
141
|
updated: z.string().datetime({ offset: true }).default(
|
|
142
|
-
"2026-03-
|
|
142
|
+
"2026-03-09T13:01:06.486Z",
|
|
143
143
|
).transform(v => new Date(v)),
|
|
144
144
|
}).transform((v) => {
|
|
145
145
|
return remap$(v, {
|
|
@@ -212,7 +212,7 @@ export type ResponseBodyExternalConfig = {
|
|
|
212
212
|
apiUrl: string;
|
|
213
213
|
};
|
|
214
214
|
|
|
215
|
-
export type
|
|
215
|
+
export type ResponseBody2 = {
|
|
216
216
|
/**
|
|
217
217
|
* The unique identifier of the knowledge base.
|
|
218
218
|
*/
|
|
@@ -333,7 +333,7 @@ export type ResponseBodyRetrievalSettings = {
|
|
|
333
333
|
agenticRagConfig?: ResponseBodyAgenticRagConfig | null | undefined;
|
|
334
334
|
};
|
|
335
335
|
|
|
336
|
-
export type
|
|
336
|
+
export type ResponseBody1 = {
|
|
337
337
|
/**
|
|
338
338
|
* The unique identifier of the knowledge base.
|
|
339
339
|
*/
|
|
@@ -384,9 +384,7 @@ export type CreateKnowledgeResponseBody1 = {
|
|
|
384
384
|
/**
|
|
385
385
|
* Knowledge successfully created
|
|
386
386
|
*/
|
|
387
|
-
export type CreateKnowledgeResponseBody =
|
|
388
|
-
| CreateKnowledgeResponseBody1
|
|
389
|
-
| CreateKnowledgeResponseBody2;
|
|
387
|
+
export type CreateKnowledgeResponseBody = ResponseBody1 | ResponseBody2;
|
|
390
388
|
|
|
391
389
|
/** @internal */
|
|
392
390
|
export const CreateKnowledgeRequestBodyKnowledgeType$outboundSchema:
|
|
@@ -752,8 +750,8 @@ export function responseBodyExternalConfigFromJSON(
|
|
|
752
750
|
}
|
|
753
751
|
|
|
754
752
|
/** @internal */
|
|
755
|
-
export const
|
|
756
|
-
|
|
753
|
+
export const ResponseBody2$inboundSchema: z.ZodType<
|
|
754
|
+
ResponseBody2,
|
|
757
755
|
z.ZodTypeDef,
|
|
758
756
|
unknown
|
|
759
757
|
> = z.object({
|
|
@@ -784,13 +782,13 @@ export const CreateKnowledgeResponseBody2$inboundSchema: z.ZodType<
|
|
|
784
782
|
});
|
|
785
783
|
});
|
|
786
784
|
|
|
787
|
-
export function
|
|
785
|
+
export function responseBody2FromJSON(
|
|
788
786
|
jsonString: string,
|
|
789
|
-
): SafeParseResult<
|
|
787
|
+
): SafeParseResult<ResponseBody2, SDKValidationError> {
|
|
790
788
|
return safeParse(
|
|
791
789
|
jsonString,
|
|
792
|
-
(x) =>
|
|
793
|
-
`Failed to parse '
|
|
790
|
+
(x) => ResponseBody2$inboundSchema.parse(JSON.parse(x)),
|
|
791
|
+
`Failed to parse 'ResponseBody2' from JSON`,
|
|
794
792
|
);
|
|
795
793
|
}
|
|
796
794
|
|
|
@@ -887,8 +885,8 @@ export function responseBodyRetrievalSettingsFromJSON(
|
|
|
887
885
|
}
|
|
888
886
|
|
|
889
887
|
/** @internal */
|
|
890
|
-
export const
|
|
891
|
-
|
|
888
|
+
export const ResponseBody1$inboundSchema: z.ZodType<
|
|
889
|
+
ResponseBody1,
|
|
892
890
|
z.ZodTypeDef,
|
|
893
891
|
unknown
|
|
894
892
|
> = z.object({
|
|
@@ -915,13 +913,13 @@ export const CreateKnowledgeResponseBody1$inboundSchema: z.ZodType<
|
|
|
915
913
|
});
|
|
916
914
|
});
|
|
917
915
|
|
|
918
|
-
export function
|
|
916
|
+
export function responseBody1FromJSON(
|
|
919
917
|
jsonString: string,
|
|
920
|
-
): SafeParseResult<
|
|
918
|
+
): SafeParseResult<ResponseBody1, SDKValidationError> {
|
|
921
919
|
return safeParse(
|
|
922
920
|
jsonString,
|
|
923
|
-
(x) =>
|
|
924
|
-
`Failed to parse '
|
|
921
|
+
(x) => ResponseBody1$inboundSchema.parse(JSON.parse(x)),
|
|
922
|
+
`Failed to parse 'ResponseBody1' from JSON`,
|
|
925
923
|
);
|
|
926
924
|
}
|
|
927
925
|
|
|
@@ -931,8 +929,8 @@ export const CreateKnowledgeResponseBody$inboundSchema: z.ZodType<
|
|
|
931
929
|
z.ZodTypeDef,
|
|
932
930
|
unknown
|
|
933
931
|
> = z.union([
|
|
934
|
-
z.lazy(() =>
|
|
935
|
-
z.lazy(() =>
|
|
932
|
+
z.lazy(() => ResponseBody1$inboundSchema),
|
|
933
|
+
z.lazy(() => ResponseBody2$inboundSchema),
|
|
936
934
|
]);
|
|
937
935
|
|
|
938
936
|
export function createKnowledgeResponseBodyFromJSON(
|