@orq-ai/node 4.11.0-rc.3 → 4.11.0-rc.5
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/hooks/types.d.ts +1 -0
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +13 -4
- package/lib/sdks.js.map +1 -1
- package/models/components/modelmetadata.d.ts +2 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +4 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/reasoning.d.ts +40 -2
- package/models/components/reasoning.d.ts.map +1 -1
- package/models/components/reasoning.js +26 -3
- package/models/components/reasoning.js.map +1 -1
- package/models/components/reasoningparam.d.ts +40 -2
- package/models/components/reasoningparam.d.ts.map +1 -1
- package/models/components/reasoningparam.js +28 -3
- package/models/components/reasoningparam.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +298 -4
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +163 -9
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +81 -4
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +45 -7
- package/models/operations/createchatcompletion.js.map +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/createprompt.d.ts +225 -12
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +124 -13
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +353 -8
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +198 -7
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +70 -4
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +43 -8
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +74 -8
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +43 -8
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/getallprompts.d.ts +140 -4
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +79 -6
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneprompt.d.ts +140 -4
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +79 -6
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +140 -4
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +78 -6
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listagents.d.ts +140 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +79 -3
- 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/listknowledgebases.d.ts +3 -0
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +1 -1
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +140 -4
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +79 -6
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/modelcreateawsbedrock.d.ts +4 -0
- package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelcreateawsbedrock.js +4 -0
- package/models/operations/modelcreateawsbedrock.js.map +1 -1
- package/models/operations/modelupdateawsbedrock.d.ts +4 -0
- package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelupdateawsbedrock.js +4 -0
- package/models/operations/modelupdateawsbedrock.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +140 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +81 -2
- 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/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +154 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +80 -5
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +154 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +82 -4
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +298 -4
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +162 -9
- 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/updateprompt.d.ts +225 -12
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +125 -14
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +8 -8
- package/sdk/feedback.d.ts +1 -4
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +1 -4
- package/sdk/feedback.js.map +1 -1
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +13 -4
- package/src/models/components/modelmetadata.ts +6 -0
- package/src/models/components/reasoning.ts +50 -4
- package/src/models/components/reasoningparam.ts +48 -4
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +460 -8
- package/src/models/operations/createchatcompletion.ts +129 -10
- 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/createprompt.ts +356 -27
- package/src/models/operations/createrouterresponse.ts +540 -16
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +105 -8
- package/src/models/operations/deployments.ts +113 -16
- package/src/models/operations/getallprompts.ts +210 -8
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneprompt.ts +208 -8
- package/src/models/operations/getpromptversion.ts +212 -8
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +215 -0
- 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/listknowledgebases.ts +4 -1
- package/src/models/operations/listpromptversions.ts +212 -8
- package/src/models/operations/modelcreateawsbedrock.ts +8 -0
- package/src/models/operations/modelupdateawsbedrock.ts +8 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +222 -0
- 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/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +236 -1
- package/src/models/operations/streamrunagent.ts +242 -1
- package/src/models/operations/updateagent.ts +464 -9
- 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/updateprompt.ts +356 -27
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +1 -4
|
@@ -752,6 +752,69 @@ export type CreateChatCompletionTimeout = {
|
|
|
752
752
|
callTimeout: number;
|
|
753
753
|
};
|
|
754
754
|
|
|
755
|
+
/**
|
|
756
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
757
|
+
*/
|
|
758
|
+
export const CreateChatCompletionRouterChatCompletionsRequestRequestBodyType = {
|
|
759
|
+
Ephemeral: "ephemeral",
|
|
760
|
+
} as const;
|
|
761
|
+
/**
|
|
762
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
763
|
+
*/
|
|
764
|
+
export type CreateChatCompletionRouterChatCompletionsRequestRequestBodyType =
|
|
765
|
+
ClosedEnum<
|
|
766
|
+
typeof CreateChatCompletionRouterChatCompletionsRequestRequestBodyType
|
|
767
|
+
>;
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
771
|
+
*
|
|
772
|
+
* @remarks
|
|
773
|
+
*
|
|
774
|
+
* - `5m`: 5 minutes
|
|
775
|
+
* - `1h`: 1 hour
|
|
776
|
+
*
|
|
777
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
778
|
+
*/
|
|
779
|
+
export const CreateChatCompletionTtl = {
|
|
780
|
+
Fivem: "5m",
|
|
781
|
+
Oneh: "1h",
|
|
782
|
+
} as const;
|
|
783
|
+
/**
|
|
784
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
785
|
+
*
|
|
786
|
+
* @remarks
|
|
787
|
+
*
|
|
788
|
+
* - `5m`: 5 minutes
|
|
789
|
+
* - `1h`: 1 hour
|
|
790
|
+
*
|
|
791
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
792
|
+
*/
|
|
793
|
+
export type CreateChatCompletionTtl = ClosedEnum<
|
|
794
|
+
typeof CreateChatCompletionTtl
|
|
795
|
+
>;
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
799
|
+
*/
|
|
800
|
+
export type CreateChatCompletionCacheControl = {
|
|
801
|
+
/**
|
|
802
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
803
|
+
*/
|
|
804
|
+
type: CreateChatCompletionRouterChatCompletionsRequestRequestBodyType;
|
|
805
|
+
/**
|
|
806
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
807
|
+
*
|
|
808
|
+
* @remarks
|
|
809
|
+
*
|
|
810
|
+
* - `5m`: 5 minutes
|
|
811
|
+
* - `1h`: 1 hour
|
|
812
|
+
*
|
|
813
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
814
|
+
*/
|
|
815
|
+
ttl?: CreateChatCompletionTtl | undefined;
|
|
816
|
+
};
|
|
817
|
+
|
|
755
818
|
/**
|
|
756
819
|
* Retry configuration for the request
|
|
757
820
|
*/
|
|
@@ -825,12 +888,13 @@ export type Inputs2 = {
|
|
|
825
888
|
*/
|
|
826
889
|
export type Inputs = { [k: string]: any } | Array<Inputs2>;
|
|
827
890
|
|
|
828
|
-
export const
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
891
|
+
export const CreateChatCompletionRouterChatCompletionsRequestRequestBodyOrqType =
|
|
892
|
+
{
|
|
893
|
+
ExactMatch: "exact_match",
|
|
894
|
+
} as const;
|
|
895
|
+
export type CreateChatCompletionRouterChatCompletionsRequestRequestBodyOrqType =
|
|
832
896
|
ClosedEnum<
|
|
833
|
-
typeof
|
|
897
|
+
typeof CreateChatCompletionRouterChatCompletionsRequestRequestBodyOrqType
|
|
834
898
|
>;
|
|
835
899
|
|
|
836
900
|
/**
|
|
@@ -841,7 +905,7 @@ export type CreateChatCompletionRouterChatCompletionsCache = {
|
|
|
841
905
|
* Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
|
|
842
906
|
*/
|
|
843
907
|
ttl?: number | undefined;
|
|
844
|
-
type:
|
|
908
|
+
type: CreateChatCompletionRouterChatCompletionsRequestRequestBodyOrqType;
|
|
845
909
|
};
|
|
846
910
|
|
|
847
911
|
/**
|
|
@@ -1559,6 +1623,14 @@ export type CreateChatCompletionRequestBody = {
|
|
|
1559
1623
|
* Variables to substitute in message templates. Uses f-string syntax ({{variableName}}) by default. For advanced templating with Jinja or Mustache syntax, use in conjunction with `template_engine`.
|
|
1560
1624
|
*/
|
|
1561
1625
|
variables?: { [k: string]: any } | undefined;
|
|
1626
|
+
/**
|
|
1627
|
+
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
1628
|
+
*/
|
|
1629
|
+
cacheControl?: CreateChatCompletionCacheControl | undefined;
|
|
1630
|
+
/**
|
|
1631
|
+
* Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
|
|
1632
|
+
*/
|
|
1633
|
+
promptCacheKey?: string | undefined;
|
|
1562
1634
|
/**
|
|
1563
1635
|
* Leverage Orq's intelligent routing capabilities to enhance your AI application with enterprise-grade reliability and observability. Orq provides automatic request management including retries on failures, model fallbacks for high availability, identity-level analytics tracking, conversation threading, and dynamic prompt templating with variable substitution.
|
|
1564
1636
|
*
|
|
@@ -3541,6 +3613,46 @@ export function createChatCompletionTimeoutToJSON(
|
|
|
3541
3613
|
);
|
|
3542
3614
|
}
|
|
3543
3615
|
|
|
3616
|
+
/** @internal */
|
|
3617
|
+
export const CreateChatCompletionRouterChatCompletionsRequestRequestBodyType$outboundSchema:
|
|
3618
|
+
z.ZodNativeEnum<
|
|
3619
|
+
typeof CreateChatCompletionRouterChatCompletionsRequestRequestBodyType
|
|
3620
|
+
> = z.nativeEnum(
|
|
3621
|
+
CreateChatCompletionRouterChatCompletionsRequestRequestBodyType,
|
|
3622
|
+
);
|
|
3623
|
+
|
|
3624
|
+
/** @internal */
|
|
3625
|
+
export const CreateChatCompletionTtl$outboundSchema: z.ZodNativeEnum<
|
|
3626
|
+
typeof CreateChatCompletionTtl
|
|
3627
|
+
> = z.nativeEnum(CreateChatCompletionTtl);
|
|
3628
|
+
|
|
3629
|
+
/** @internal */
|
|
3630
|
+
export type CreateChatCompletionCacheControl$Outbound = {
|
|
3631
|
+
type: string;
|
|
3632
|
+
ttl: string;
|
|
3633
|
+
};
|
|
3634
|
+
|
|
3635
|
+
/** @internal */
|
|
3636
|
+
export const CreateChatCompletionCacheControl$outboundSchema: z.ZodType<
|
|
3637
|
+
CreateChatCompletionCacheControl$Outbound,
|
|
3638
|
+
z.ZodTypeDef,
|
|
3639
|
+
CreateChatCompletionCacheControl
|
|
3640
|
+
> = z.object({
|
|
3641
|
+
type:
|
|
3642
|
+
CreateChatCompletionRouterChatCompletionsRequestRequestBodyType$outboundSchema,
|
|
3643
|
+
ttl: CreateChatCompletionTtl$outboundSchema.default("5m"),
|
|
3644
|
+
});
|
|
3645
|
+
|
|
3646
|
+
export function createChatCompletionCacheControlToJSON(
|
|
3647
|
+
createChatCompletionCacheControl: CreateChatCompletionCacheControl,
|
|
3648
|
+
): string {
|
|
3649
|
+
return JSON.stringify(
|
|
3650
|
+
CreateChatCompletionCacheControl$outboundSchema.parse(
|
|
3651
|
+
createChatCompletionCacheControl,
|
|
3652
|
+
),
|
|
3653
|
+
);
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3544
3656
|
/** @internal */
|
|
3545
3657
|
export type CreateChatCompletionRouterChatCompletionsRetry$Outbound = {
|
|
3546
3658
|
count: number;
|
|
@@ -3688,11 +3800,11 @@ export function inputsToJSON(inputs: Inputs): string {
|
|
|
3688
3800
|
}
|
|
3689
3801
|
|
|
3690
3802
|
/** @internal */
|
|
3691
|
-
export const
|
|
3803
|
+
export const CreateChatCompletionRouterChatCompletionsRequestRequestBodyOrqType$outboundSchema:
|
|
3692
3804
|
z.ZodNativeEnum<
|
|
3693
|
-
typeof
|
|
3805
|
+
typeof CreateChatCompletionRouterChatCompletionsRequestRequestBodyOrqType
|
|
3694
3806
|
> = z.nativeEnum(
|
|
3695
|
-
|
|
3807
|
+
CreateChatCompletionRouterChatCompletionsRequestRequestBodyOrqType,
|
|
3696
3808
|
);
|
|
3697
3809
|
|
|
3698
3810
|
/** @internal */
|
|
@@ -3710,7 +3822,7 @@ export const CreateChatCompletionRouterChatCompletionsCache$outboundSchema:
|
|
|
3710
3822
|
> = z.object({
|
|
3711
3823
|
ttl: z.number().default(1800),
|
|
3712
3824
|
type:
|
|
3713
|
-
|
|
3825
|
+
CreateChatCompletionRouterChatCompletionsRequestRequestBodyOrqType$outboundSchema,
|
|
3714
3826
|
});
|
|
3715
3827
|
|
|
3716
3828
|
export function createChatCompletionRouterChatCompletionsCacheToJSON(
|
|
@@ -5322,6 +5434,8 @@ export type CreateChatCompletionRequestBody$Outbound = {
|
|
|
5322
5434
|
load_balancer?: CreateChatCompletionLoadBalancer1$Outbound | undefined;
|
|
5323
5435
|
timeout?: CreateChatCompletionTimeout$Outbound | undefined;
|
|
5324
5436
|
variables?: { [k: string]: any } | undefined;
|
|
5437
|
+
cache_control?: CreateChatCompletionCacheControl$Outbound | undefined;
|
|
5438
|
+
prompt_cache_key?: string | undefined;
|
|
5325
5439
|
orq?: Orq$Outbound | undefined;
|
|
5326
5440
|
stream: boolean;
|
|
5327
5441
|
};
|
|
@@ -5396,6 +5510,9 @@ export const CreateChatCompletionRequestBody$outboundSchema: z.ZodType<
|
|
|
5396
5510
|
.optional(),
|
|
5397
5511
|
timeout: z.lazy(() => CreateChatCompletionTimeout$outboundSchema).optional(),
|
|
5398
5512
|
variables: z.record(z.any()).optional(),
|
|
5513
|
+
cacheControl: z.lazy(() => CreateChatCompletionCacheControl$outboundSchema)
|
|
5514
|
+
.optional(),
|
|
5515
|
+
promptCacheKey: z.string().optional(),
|
|
5399
5516
|
orq: z.lazy(() => Orq$outboundSchema).optional(),
|
|
5400
5517
|
stream: z.boolean().default(false),
|
|
5401
5518
|
}).transform((v) => {
|
|
@@ -5413,6 +5530,8 @@ export const CreateChatCompletionRequestBody$outboundSchema: z.ZodType<
|
|
|
5413
5530
|
toolChoice: "tool_choice",
|
|
5414
5531
|
parallelToolCalls: "parallel_tool_calls",
|
|
5415
5532
|
loadBalancer: "load_balancer",
|
|
5533
|
+
cacheControl: "cache_control",
|
|
5534
|
+
promptCacheKey: "prompt_cache_key",
|
|
5416
5535
|
});
|
|
5417
5536
|
});
|
|
5418
5537
|
|
|
@@ -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-06-
|
|
141
|
+
"2026-06-09T13:49:27.367Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2355
2355
|
),
|
|
2356
2356
|
reviewed_by_id: z.string(),
|
|
2357
2357
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2358
|
-
"2026-06-
|
|
2358
|
+
"2026-06-09T13:49:51.201Z",
|
|
2359
2359
|
).transform(v => new Date(v)),
|
|
2360
2360
|
type: z.literal("string_array"),
|
|
2361
2361
|
values: z.array(z.string()),
|
|
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2400
2400
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2401
2401
|
reviewed_by_id: z.string(),
|
|
2402
2402
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2403
|
-
"2026-06-
|
|
2403
|
+
"2026-06-09T13:49:51.200Z",
|
|
2404
2404
|
).transform(v => new Date(v)),
|
|
2405
2405
|
type: z.literal("number"),
|
|
2406
2406
|
value: z.number(),
|
|
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2446
2446
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2447
2447
|
reviewed_by_id: z.string(),
|
|
2448
2448
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2449
|
-
"2026-06-
|
|
2449
|
+
"2026-06-09T13:49:51.199Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2529
2529
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2530
2530
|
.optional(),
|
|
2531
2531
|
updated: z.string().datetime({ offset: true }).default(
|
|
2532
|
-
"2026-06-
|
|
2532
|
+
"2026-06-09T13:49:27.367Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -409,7 +409,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
409
409
|
z.ZodTypeDef,
|
|
410
410
|
unknown
|
|
411
411
|
> = z.object({
|
|
412
|
-
_id: z.string().default("
|
|
412
|
+
_id: z.string().default("01KTPAB34T3JK5F07FZKPNGBEF"),
|
|
413
413
|
display_name: z.string(),
|
|
414
414
|
description: z.nullable(z.string()).optional(),
|
|
415
415
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2193,8 +2193,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
> = z.object({
|
|
2194
2194
|
_id: z.string(),
|
|
2195
2195
|
description: z.string(),
|
|
2196
|
-
created: z.string().default("2026-06-
|
|
2197
|
-
updated: z.string().default("2026-06-
|
|
2196
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2197
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2198
2198
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2199
2199
|
guardrail_config: z.nullable(
|
|
2200
2200
|
z.union([
|
|
@@ -2384,8 +2384,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2384
2384
|
.object({
|
|
2385
2385
|
_id: z.string(),
|
|
2386
2386
|
description: z.string(),
|
|
2387
|
-
created: z.string().default("2026-06-
|
|
2388
|
-
updated: z.string().default("2026-06-
|
|
2387
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2388
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2389
2389
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2390
2390
|
guardrail_config: z.nullable(
|
|
2391
2391
|
z.union([
|
|
@@ -3210,8 +3210,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3210
3210
|
> = z.object({
|
|
3211
3211
|
_id: z.string(),
|
|
3212
3212
|
description: z.string(),
|
|
3213
|
-
created: z.string().default("2026-06-
|
|
3214
|
-
updated: z.string().default("2026-06-
|
|
3213
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3214
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3215
3215
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3216
3216
|
guardrail_config: z.nullable(
|
|
3217
3217
|
z.union([
|
|
@@ -3430,8 +3430,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3430
3430
|
> = z.object({
|
|
3431
3431
|
_id: z.string(),
|
|
3432
3432
|
description: z.string(),
|
|
3433
|
-
created: z.string().default("2026-06-
|
|
3434
|
-
updated: z.string().default("2026-06-
|
|
3433
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3434
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3435
3435
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3436
3436
|
guardrail_config: z.nullable(
|
|
3437
3437
|
z.union([
|
|
@@ -3612,8 +3612,8 @@ export const CreateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3612
3612
|
> = z.object({
|
|
3613
3613
|
_id: z.string(),
|
|
3614
3614
|
description: z.string(),
|
|
3615
|
-
created: z.string().default("2026-06-
|
|
3616
|
-
updated: z.string().default("2026-06-
|
|
3615
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3616
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3617
3617
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3618
3618
|
guardrail_config: z.nullable(
|
|
3619
3619
|
z.union([
|
|
@@ -3772,8 +3772,8 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
|
|
|
3772
3772
|
.object({
|
|
3773
3773
|
_id: z.string(),
|
|
3774
3774
|
description: z.string(),
|
|
3775
|
-
created: z.string().default("2026-06-
|
|
3776
|
-
updated: z.string().default("2026-06-
|
|
3775
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3776
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3777
3777
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3778
3778
|
guardrail_config: z.nullable(
|
|
3779
3779
|
z.union([
|
|
@@ -4143,8 +4143,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
4143
4143
|
> = z.object({
|
|
4144
4144
|
_id: z.string(),
|
|
4145
4145
|
description: z.string(),
|
|
4146
|
-
created: z.string().default("2026-06-
|
|
4147
|
-
updated: z.string().default("2026-06-
|
|
4146
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
4147
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
4148
4148
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
4149
4149
|
guardrail_config: z.nullable(
|
|
4150
4150
|
z.union([
|
|
@@ -4363,8 +4363,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4363
4363
|
> = z.object({
|
|
4364
4364
|
_id: z.string(),
|
|
4365
4365
|
description: z.string(),
|
|
4366
|
-
created: z.string().default("2026-06-
|
|
4367
|
-
updated: z.string().default("2026-06-
|
|
4366
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
4367
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
4368
4368
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
4369
4369
|
guardrail_config: z.nullable(
|
|
4370
4370
|
z.union([
|