@orq-ai/node 3.10.15 → 3.10.17
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 +608 -378
- package/bin/mcp-server.js.map +35 -35
- 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/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- 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 +16 -16
- package/models/operations/createprompt.d.ts +163 -69
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +196 -96
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +82 -35
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +106 -57
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +82 -35
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +99 -49
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getallprompts.d.ts +81 -34
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +99 -49
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +81 -34
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +99 -49
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +81 -34
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +100 -50
- package/models/operations/getpromptversion.js.map +1 -1
- 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/listpromptversions.d.ts +81 -34
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +99 -50
- package/models/operations/listpromptversions.js.map +1 -1
- 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/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 +16 -16
- package/models/operations/updateprompt.d.ts +162 -68
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +197 -97
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/datasets/README.md +1 -1
- package/packages/orq-rc/docs/sdks/knowledge/README.md +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/funcs/datasetsCreateDatapoint.ts +5 -4
- package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +4 -4
- 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/createchunk.ts +54 -44
- 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 +46 -63
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- 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/getevals.ts +28 -28
- 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/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 +16 -16
- package/packages/orq-rc/src/sdk/datasets.ts +1 -1
- package/packages/orq-rc/src/sdk/knowledge.ts +1 -1
- 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/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 +16 -16
- package/src/models/operations/createprompt.ts +347 -141
- package/src/models/operations/deploymentgetconfig.ts +173 -72
- package/src/models/operations/deployments.ts +168 -72
- 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/getallprompts.ts +169 -71
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +169 -71
- package/src/models/operations/getpromptversion.ts +168 -70
- 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/listpromptversions.ts +170 -71
- 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/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 +16 -16
- package/src/models/operations/updateprompt.ts +347 -141
|
@@ -69,22 +69,22 @@ export type ListPromptVersionsFormat = ClosedEnum<
|
|
|
69
69
|
typeof ListPromptVersionsFormat
|
|
70
70
|
>;
|
|
71
71
|
|
|
72
|
-
export const
|
|
72
|
+
export const ListPromptVersionsResponseFormatPromptsResponseType = {
|
|
73
73
|
JsonObject: "json_object",
|
|
74
74
|
} as const;
|
|
75
|
-
export type
|
|
76
|
-
typeof
|
|
75
|
+
export type ListPromptVersionsResponseFormatPromptsResponseType = ClosedEnum<
|
|
76
|
+
typeof ListPromptVersionsResponseFormatPromptsResponseType
|
|
77
77
|
>;
|
|
78
78
|
|
|
79
|
-
export type
|
|
80
|
-
type:
|
|
79
|
+
export type ListPromptVersionsResponseFormat3 = {
|
|
80
|
+
type: ListPromptVersionsResponseFormatPromptsResponseType;
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
export const
|
|
83
|
+
export const ListPromptVersionsResponseFormatPromptsType = {
|
|
84
84
|
JsonSchema: "json_schema",
|
|
85
85
|
} as const;
|
|
86
|
-
export type
|
|
87
|
-
typeof
|
|
86
|
+
export type ListPromptVersionsResponseFormatPromptsType = ClosedEnum<
|
|
87
|
+
typeof ListPromptVersionsResponseFormatPromptsType
|
|
88
88
|
>;
|
|
89
89
|
|
|
90
90
|
export type ListPromptVersionsResponseFormatJsonSchema = {
|
|
@@ -93,9 +93,20 @@ export type ListPromptVersionsResponseFormatJsonSchema = {
|
|
|
93
93
|
schema: { [k: string]: any };
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
+
export type ListPromptVersionsResponseFormat2 = {
|
|
97
|
+
type: ListPromptVersionsResponseFormatPromptsType;
|
|
98
|
+
jsonSchema: ListPromptVersionsResponseFormatJsonSchema;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export const ListPromptVersionsResponseFormatType = {
|
|
102
|
+
Text: "text",
|
|
103
|
+
} as const;
|
|
104
|
+
export type ListPromptVersionsResponseFormatType = ClosedEnum<
|
|
105
|
+
typeof ListPromptVersionsResponseFormatType
|
|
106
|
+
>;
|
|
107
|
+
|
|
96
108
|
export type ListPromptVersionsResponseFormat1 = {
|
|
97
109
|
type: ListPromptVersionsResponseFormatType;
|
|
98
|
-
jsonSchema: ListPromptVersionsResponseFormatJsonSchema;
|
|
99
110
|
};
|
|
100
111
|
|
|
101
112
|
/**
|
|
@@ -110,8 +121,9 @@ export type ListPromptVersionsResponseFormat1 = {
|
|
|
110
121
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
111
122
|
*/
|
|
112
123
|
export type ListPromptVersionsResponseFormat =
|
|
124
|
+
| ListPromptVersionsResponseFormat2
|
|
113
125
|
| ListPromptVersionsResponseFormat1
|
|
114
|
-
|
|
|
126
|
+
| ListPromptVersionsResponseFormat3;
|
|
115
127
|
|
|
116
128
|
/**
|
|
117
129
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -236,8 +248,9 @@ export type ListPromptVersionsModelParameters = {
|
|
|
236
248
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
237
249
|
*/
|
|
238
250
|
responseFormat?:
|
|
239
|
-
| ListPromptVersionsResponseFormat1
|
|
240
251
|
| ListPromptVersionsResponseFormat2
|
|
252
|
+
| ListPromptVersionsResponseFormat1
|
|
253
|
+
| ListPromptVersionsResponseFormat3
|
|
241
254
|
| null
|
|
242
255
|
| undefined;
|
|
243
256
|
/**
|
|
@@ -678,107 +691,106 @@ export namespace ListPromptVersionsFormat$ {
|
|
|
678
691
|
}
|
|
679
692
|
|
|
680
693
|
/** @internal */
|
|
681
|
-
export const
|
|
682
|
-
z.ZodNativeEnum<typeof
|
|
683
|
-
.nativeEnum(
|
|
694
|
+
export const ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema:
|
|
695
|
+
z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsResponseType> =
|
|
696
|
+
z.nativeEnum(ListPromptVersionsResponseFormatPromptsResponseType);
|
|
684
697
|
|
|
685
698
|
/** @internal */
|
|
686
|
-
export const
|
|
687
|
-
z.ZodNativeEnum<typeof
|
|
688
|
-
|
|
699
|
+
export const ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema:
|
|
700
|
+
z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsResponseType> =
|
|
701
|
+
ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema;
|
|
689
702
|
|
|
690
703
|
/**
|
|
691
704
|
* @internal
|
|
692
705
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
693
706
|
*/
|
|
694
|
-
export namespace
|
|
695
|
-
/** @deprecated use `
|
|
707
|
+
export namespace ListPromptVersionsResponseFormatPromptsResponseType$ {
|
|
708
|
+
/** @deprecated use `ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema` instead. */
|
|
696
709
|
export const inboundSchema =
|
|
697
|
-
|
|
698
|
-
/** @deprecated use `
|
|
710
|
+
ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema;
|
|
711
|
+
/** @deprecated use `ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema` instead. */
|
|
699
712
|
export const outboundSchema =
|
|
700
|
-
|
|
713
|
+
ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema;
|
|
701
714
|
}
|
|
702
715
|
|
|
703
716
|
/** @internal */
|
|
704
|
-
export const
|
|
705
|
-
|
|
717
|
+
export const ListPromptVersionsResponseFormat3$inboundSchema: z.ZodType<
|
|
718
|
+
ListPromptVersionsResponseFormat3,
|
|
706
719
|
z.ZodTypeDef,
|
|
707
720
|
unknown
|
|
708
721
|
> = z.object({
|
|
709
|
-
type:
|
|
722
|
+
type: ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema,
|
|
710
723
|
});
|
|
711
724
|
|
|
712
725
|
/** @internal */
|
|
713
|
-
export type
|
|
726
|
+
export type ListPromptVersionsResponseFormat3$Outbound = {
|
|
714
727
|
type: string;
|
|
715
728
|
};
|
|
716
729
|
|
|
717
730
|
/** @internal */
|
|
718
|
-
export const
|
|
719
|
-
|
|
731
|
+
export const ListPromptVersionsResponseFormat3$outboundSchema: z.ZodType<
|
|
732
|
+
ListPromptVersionsResponseFormat3$Outbound,
|
|
720
733
|
z.ZodTypeDef,
|
|
721
|
-
|
|
734
|
+
ListPromptVersionsResponseFormat3
|
|
722
735
|
> = z.object({
|
|
723
|
-
type:
|
|
736
|
+
type: ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema,
|
|
724
737
|
});
|
|
725
738
|
|
|
726
739
|
/**
|
|
727
740
|
* @internal
|
|
728
741
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
729
742
|
*/
|
|
730
|
-
export namespace
|
|
731
|
-
/** @deprecated use `
|
|
732
|
-
export const inboundSchema =
|
|
733
|
-
/** @deprecated use `
|
|
743
|
+
export namespace ListPromptVersionsResponseFormat3$ {
|
|
744
|
+
/** @deprecated use `ListPromptVersionsResponseFormat3$inboundSchema` instead. */
|
|
745
|
+
export const inboundSchema = ListPromptVersionsResponseFormat3$inboundSchema;
|
|
746
|
+
/** @deprecated use `ListPromptVersionsResponseFormat3$outboundSchema` instead. */
|
|
734
747
|
export const outboundSchema =
|
|
735
|
-
|
|
736
|
-
/** @deprecated use `
|
|
737
|
-
export type Outbound =
|
|
748
|
+
ListPromptVersionsResponseFormat3$outboundSchema;
|
|
749
|
+
/** @deprecated use `ListPromptVersionsResponseFormat3$Outbound` instead. */
|
|
750
|
+
export type Outbound = ListPromptVersionsResponseFormat3$Outbound;
|
|
738
751
|
}
|
|
739
752
|
|
|
740
|
-
export function
|
|
741
|
-
|
|
753
|
+
export function listPromptVersionsResponseFormat3ToJSON(
|
|
754
|
+
listPromptVersionsResponseFormat3: ListPromptVersionsResponseFormat3,
|
|
742
755
|
): string {
|
|
743
756
|
return JSON.stringify(
|
|
744
|
-
|
|
745
|
-
|
|
757
|
+
ListPromptVersionsResponseFormat3$outboundSchema.parse(
|
|
758
|
+
listPromptVersionsResponseFormat3,
|
|
746
759
|
),
|
|
747
760
|
);
|
|
748
761
|
}
|
|
749
762
|
|
|
750
|
-
export function
|
|
763
|
+
export function listPromptVersionsResponseFormat3FromJSON(
|
|
751
764
|
jsonString: string,
|
|
752
|
-
): SafeParseResult<
|
|
765
|
+
): SafeParseResult<ListPromptVersionsResponseFormat3, SDKValidationError> {
|
|
753
766
|
return safeParse(
|
|
754
767
|
jsonString,
|
|
755
|
-
(x) =>
|
|
756
|
-
`Failed to parse '
|
|
768
|
+
(x) => ListPromptVersionsResponseFormat3$inboundSchema.parse(JSON.parse(x)),
|
|
769
|
+
`Failed to parse 'ListPromptVersionsResponseFormat3' from JSON`,
|
|
757
770
|
);
|
|
758
771
|
}
|
|
759
772
|
|
|
760
773
|
/** @internal */
|
|
761
|
-
export const
|
|
762
|
-
z.ZodNativeEnum<typeof
|
|
763
|
-
|
|
764
|
-
);
|
|
774
|
+
export const ListPromptVersionsResponseFormatPromptsType$inboundSchema:
|
|
775
|
+
z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsType> = z
|
|
776
|
+
.nativeEnum(ListPromptVersionsResponseFormatPromptsType);
|
|
765
777
|
|
|
766
778
|
/** @internal */
|
|
767
|
-
export const
|
|
768
|
-
z.ZodNativeEnum<typeof
|
|
769
|
-
|
|
779
|
+
export const ListPromptVersionsResponseFormatPromptsType$outboundSchema:
|
|
780
|
+
z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsType> =
|
|
781
|
+
ListPromptVersionsResponseFormatPromptsType$inboundSchema;
|
|
770
782
|
|
|
771
783
|
/**
|
|
772
784
|
* @internal
|
|
773
785
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
774
786
|
*/
|
|
775
|
-
export namespace
|
|
776
|
-
/** @deprecated use `
|
|
787
|
+
export namespace ListPromptVersionsResponseFormatPromptsType$ {
|
|
788
|
+
/** @deprecated use `ListPromptVersionsResponseFormatPromptsType$inboundSchema` instead. */
|
|
777
789
|
export const inboundSchema =
|
|
778
|
-
|
|
779
|
-
/** @deprecated use `
|
|
790
|
+
ListPromptVersionsResponseFormatPromptsType$inboundSchema;
|
|
791
|
+
/** @deprecated use `ListPromptVersionsResponseFormatPromptsType$outboundSchema` instead. */
|
|
780
792
|
export const outboundSchema =
|
|
781
|
-
|
|
793
|
+
ListPromptVersionsResponseFormatPromptsType$outboundSchema;
|
|
782
794
|
}
|
|
783
795
|
|
|
784
796
|
/** @internal */
|
|
@@ -852,12 +864,12 @@ export function listPromptVersionsResponseFormatJsonSchemaFromJSON(
|
|
|
852
864
|
}
|
|
853
865
|
|
|
854
866
|
/** @internal */
|
|
855
|
-
export const
|
|
856
|
-
|
|
867
|
+
export const ListPromptVersionsResponseFormat2$inboundSchema: z.ZodType<
|
|
868
|
+
ListPromptVersionsResponseFormat2,
|
|
857
869
|
z.ZodTypeDef,
|
|
858
870
|
unknown
|
|
859
871
|
> = z.object({
|
|
860
|
-
type:
|
|
872
|
+
type: ListPromptVersionsResponseFormatPromptsType$inboundSchema,
|
|
861
873
|
json_schema: z.lazy(() =>
|
|
862
874
|
ListPromptVersionsResponseFormatJsonSchema$inboundSchema
|
|
863
875
|
),
|
|
@@ -868,18 +880,18 @@ export const ListPromptVersionsResponseFormat1$inboundSchema: z.ZodType<
|
|
|
868
880
|
});
|
|
869
881
|
|
|
870
882
|
/** @internal */
|
|
871
|
-
export type
|
|
883
|
+
export type ListPromptVersionsResponseFormat2$Outbound = {
|
|
872
884
|
type: string;
|
|
873
885
|
json_schema: ListPromptVersionsResponseFormatJsonSchema$Outbound;
|
|
874
886
|
};
|
|
875
887
|
|
|
876
888
|
/** @internal */
|
|
877
|
-
export const
|
|
878
|
-
|
|
889
|
+
export const ListPromptVersionsResponseFormat2$outboundSchema: z.ZodType<
|
|
890
|
+
ListPromptVersionsResponseFormat2$Outbound,
|
|
879
891
|
z.ZodTypeDef,
|
|
880
|
-
|
|
892
|
+
ListPromptVersionsResponseFormat2
|
|
881
893
|
> = z.object({
|
|
882
|
-
type:
|
|
894
|
+
type: ListPromptVersionsResponseFormatPromptsType$outboundSchema,
|
|
883
895
|
jsonSchema: z.lazy(() =>
|
|
884
896
|
ListPromptVersionsResponseFormatJsonSchema$outboundSchema
|
|
885
897
|
),
|
|
@@ -889,6 +901,87 @@ export const ListPromptVersionsResponseFormat1$outboundSchema: z.ZodType<
|
|
|
889
901
|
});
|
|
890
902
|
});
|
|
891
903
|
|
|
904
|
+
/**
|
|
905
|
+
* @internal
|
|
906
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
907
|
+
*/
|
|
908
|
+
export namespace ListPromptVersionsResponseFormat2$ {
|
|
909
|
+
/** @deprecated use `ListPromptVersionsResponseFormat2$inboundSchema` instead. */
|
|
910
|
+
export const inboundSchema = ListPromptVersionsResponseFormat2$inboundSchema;
|
|
911
|
+
/** @deprecated use `ListPromptVersionsResponseFormat2$outboundSchema` instead. */
|
|
912
|
+
export const outboundSchema =
|
|
913
|
+
ListPromptVersionsResponseFormat2$outboundSchema;
|
|
914
|
+
/** @deprecated use `ListPromptVersionsResponseFormat2$Outbound` instead. */
|
|
915
|
+
export type Outbound = ListPromptVersionsResponseFormat2$Outbound;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
export function listPromptVersionsResponseFormat2ToJSON(
|
|
919
|
+
listPromptVersionsResponseFormat2: ListPromptVersionsResponseFormat2,
|
|
920
|
+
): string {
|
|
921
|
+
return JSON.stringify(
|
|
922
|
+
ListPromptVersionsResponseFormat2$outboundSchema.parse(
|
|
923
|
+
listPromptVersionsResponseFormat2,
|
|
924
|
+
),
|
|
925
|
+
);
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
export function listPromptVersionsResponseFormat2FromJSON(
|
|
929
|
+
jsonString: string,
|
|
930
|
+
): SafeParseResult<ListPromptVersionsResponseFormat2, SDKValidationError> {
|
|
931
|
+
return safeParse(
|
|
932
|
+
jsonString,
|
|
933
|
+
(x) => ListPromptVersionsResponseFormat2$inboundSchema.parse(JSON.parse(x)),
|
|
934
|
+
`Failed to parse 'ListPromptVersionsResponseFormat2' from JSON`,
|
|
935
|
+
);
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
/** @internal */
|
|
939
|
+
export const ListPromptVersionsResponseFormatType$inboundSchema:
|
|
940
|
+
z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatType> = z.nativeEnum(
|
|
941
|
+
ListPromptVersionsResponseFormatType,
|
|
942
|
+
);
|
|
943
|
+
|
|
944
|
+
/** @internal */
|
|
945
|
+
export const ListPromptVersionsResponseFormatType$outboundSchema:
|
|
946
|
+
z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatType> =
|
|
947
|
+
ListPromptVersionsResponseFormatType$inboundSchema;
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* @internal
|
|
951
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
952
|
+
*/
|
|
953
|
+
export namespace ListPromptVersionsResponseFormatType$ {
|
|
954
|
+
/** @deprecated use `ListPromptVersionsResponseFormatType$inboundSchema` instead. */
|
|
955
|
+
export const inboundSchema =
|
|
956
|
+
ListPromptVersionsResponseFormatType$inboundSchema;
|
|
957
|
+
/** @deprecated use `ListPromptVersionsResponseFormatType$outboundSchema` instead. */
|
|
958
|
+
export const outboundSchema =
|
|
959
|
+
ListPromptVersionsResponseFormatType$outboundSchema;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
/** @internal */
|
|
963
|
+
export const ListPromptVersionsResponseFormat1$inboundSchema: z.ZodType<
|
|
964
|
+
ListPromptVersionsResponseFormat1,
|
|
965
|
+
z.ZodTypeDef,
|
|
966
|
+
unknown
|
|
967
|
+
> = z.object({
|
|
968
|
+
type: ListPromptVersionsResponseFormatType$inboundSchema,
|
|
969
|
+
});
|
|
970
|
+
|
|
971
|
+
/** @internal */
|
|
972
|
+
export type ListPromptVersionsResponseFormat1$Outbound = {
|
|
973
|
+
type: string;
|
|
974
|
+
};
|
|
975
|
+
|
|
976
|
+
/** @internal */
|
|
977
|
+
export const ListPromptVersionsResponseFormat1$outboundSchema: z.ZodType<
|
|
978
|
+
ListPromptVersionsResponseFormat1$Outbound,
|
|
979
|
+
z.ZodTypeDef,
|
|
980
|
+
ListPromptVersionsResponseFormat1
|
|
981
|
+
> = z.object({
|
|
982
|
+
type: ListPromptVersionsResponseFormatType$outboundSchema,
|
|
983
|
+
});
|
|
984
|
+
|
|
892
985
|
/**
|
|
893
986
|
* @internal
|
|
894
987
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -929,14 +1022,16 @@ export const ListPromptVersionsResponseFormat$inboundSchema: z.ZodType<
|
|
|
929
1022
|
z.ZodTypeDef,
|
|
930
1023
|
unknown
|
|
931
1024
|
> = z.union([
|
|
932
|
-
z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
|
|
933
1025
|
z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
|
|
1026
|
+
z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
|
|
1027
|
+
z.lazy(() => ListPromptVersionsResponseFormat3$inboundSchema),
|
|
934
1028
|
]);
|
|
935
1029
|
|
|
936
1030
|
/** @internal */
|
|
937
1031
|
export type ListPromptVersionsResponseFormat$Outbound =
|
|
1032
|
+
| ListPromptVersionsResponseFormat2$Outbound
|
|
938
1033
|
| ListPromptVersionsResponseFormat1$Outbound
|
|
939
|
-
|
|
|
1034
|
+
| ListPromptVersionsResponseFormat3$Outbound;
|
|
940
1035
|
|
|
941
1036
|
/** @internal */
|
|
942
1037
|
export const ListPromptVersionsResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -944,8 +1039,9 @@ export const ListPromptVersionsResponseFormat$outboundSchema: z.ZodType<
|
|
|
944
1039
|
z.ZodTypeDef,
|
|
945
1040
|
ListPromptVersionsResponseFormat
|
|
946
1041
|
> = z.union([
|
|
947
|
-
z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
|
|
948
1042
|
z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
|
|
1043
|
+
z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
|
|
1044
|
+
z.lazy(() => ListPromptVersionsResponseFormat3$outboundSchema),
|
|
949
1045
|
]);
|
|
950
1046
|
|
|
951
1047
|
/**
|
|
@@ -1087,8 +1183,9 @@ export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
|
|
|
1087
1183
|
style: z.string().optional(),
|
|
1088
1184
|
responseFormat: z.nullable(
|
|
1089
1185
|
z.union([
|
|
1090
|
-
z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
|
|
1091
1186
|
z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
|
|
1187
|
+
z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
|
|
1188
|
+
z.lazy(() => ListPromptVersionsResponseFormat3$inboundSchema),
|
|
1092
1189
|
]),
|
|
1093
1190
|
).optional(),
|
|
1094
1191
|
photoRealVersion: ListPromptVersionsPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1117,8 +1214,9 @@ export type ListPromptVersionsModelParameters$Outbound = {
|
|
|
1117
1214
|
quality?: string | undefined;
|
|
1118
1215
|
style?: string | undefined;
|
|
1119
1216
|
responseFormat?:
|
|
1120
|
-
| ListPromptVersionsResponseFormat1$Outbound
|
|
1121
1217
|
| ListPromptVersionsResponseFormat2$Outbound
|
|
1218
|
+
| ListPromptVersionsResponseFormat1$Outbound
|
|
1219
|
+
| ListPromptVersionsResponseFormat3$Outbound
|
|
1122
1220
|
| null
|
|
1123
1221
|
| undefined;
|
|
1124
1222
|
photoRealVersion?: string | undefined;
|
|
@@ -1148,8 +1246,9 @@ export const ListPromptVersionsModelParameters$outboundSchema: z.ZodType<
|
|
|
1148
1246
|
style: z.string().optional(),
|
|
1149
1247
|
responseFormat: z.nullable(
|
|
1150
1248
|
z.union([
|
|
1151
|
-
z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
|
|
1152
1249
|
z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
|
|
1250
|
+
z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
|
|
1251
|
+
z.lazy(() => ListPromptVersionsResponseFormat3$outboundSchema),
|
|
1153
1252
|
]),
|
|
1154
1253
|
).optional(),
|
|
1155
1254
|
photoRealVersion: ListPromptVersionsPhotoRealVersion$outboundSchema
|
|
@@ -127,7 +127,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
127
127
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
128
128
|
.optional(),
|
|
129
129
|
updated: z.string().datetime({ offset: true }).default(
|
|
130
|
-
"2025-08-
|
|
130
|
+
"2025-08-12T10:35:45.801Z",
|
|
131
131
|
).transform(v => new Date(v)),
|
|
132
132
|
}).transform((v) => {
|
|
133
133
|
return remap$(v, {
|
|
@@ -165,7 +165,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
165
165
|
tags: z.array(z.string()).optional(),
|
|
166
166
|
metadata: z.record(z.any()).optional(),
|
|
167
167
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
168
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
168
|
+
updated: z.date().default(() => new Date("2025-08-12T10:35:45.801Z"))
|
|
169
169
|
.transform(v => v.toISOString()),
|
|
170
170
|
}).transform((v) => {
|
|
171
171
|
return remap$(v, {
|
|
@@ -2481,7 +2481,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2481
2481
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2482
2482
|
.optional(),
|
|
2483
2483
|
updated: z.string().datetime({ offset: true }).default(
|
|
2484
|
-
"2025-08-
|
|
2484
|
+
"2025-08-12T10:35:45.801Z",
|
|
2485
2485
|
).transform(v => new Date(v)),
|
|
2486
2486
|
}).transform((v) => {
|
|
2487
2487
|
return remap$(v, {
|
|
@@ -2539,7 +2539,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
2539
2539
|
createdById: z.string().optional(),
|
|
2540
2540
|
updatedById: z.string().optional(),
|
|
2541
2541
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2542
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
2542
|
+
updated: z.date().default(() => new Date("2025-08-12T10:35:45.801Z"))
|
|
2543
2543
|
.transform(v => v.toISOString()),
|
|
2544
2544
|
}).transform((v) => {
|
|
2545
2545
|
return remap$(v, {
|
|
@@ -201,7 +201,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
201
201
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
202
202
|
.optional(),
|
|
203
203
|
updated: z.string().datetime({ offset: true }).default(
|
|
204
|
-
"2025-08-
|
|
204
|
+
"2025-08-12T10:35:45.801Z",
|
|
205
205
|
).transform(v => new Date(v)),
|
|
206
206
|
}).transform((v) => {
|
|
207
207
|
return remap$(v, {
|
|
@@ -241,7 +241,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
241
241
|
updatedById: z.string().optional(),
|
|
242
242
|
metadata: z.lazy(() => RetrieveDatasetMetadata$outboundSchema),
|
|
243
243
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
244
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
244
|
+
updated: z.date().default(() => new Date("2025-08-12T10:35:45.801Z"))
|
|
245
245
|
.transform(v => v.toISOString()),
|
|
246
246
|
}).transform((v) => {
|
|
247
247
|
return remap$(v, {
|
|
@@ -172,7 +172,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
172
172
|
z.ZodTypeDef,
|
|
173
173
|
unknown
|
|
174
174
|
> = z.object({
|
|
175
|
-
_id: z.string().default("
|
|
175
|
+
_id: z.string().default("01K2EXKNBB488J57WPGH5TM8TA"),
|
|
176
176
|
display_name: z.string(),
|
|
177
177
|
description: z.string().optional(),
|
|
178
178
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -216,7 +216,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
216
216
|
z.ZodTypeDef,
|
|
217
217
|
RetrieveDatasourceResponseBody
|
|
218
218
|
> = z.object({
|
|
219
|
-
id: z.string().default("
|
|
219
|
+
id: z.string().default("01K2EXKNBB488J57WPGH5TM8TA"),
|
|
220
220
|
displayName: z.string(),
|
|
221
221
|
description: z.string().optional(),
|
|
222
222
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -244,7 +244,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
245
245
|
.optional(),
|
|
246
246
|
updated: z.string().datetime({ offset: true }).default(
|
|
247
|
-
"2025-08-
|
|
247
|
+
"2025-08-12T10:35:45.801Z",
|
|
248
248
|
).transform(v => new Date(v)),
|
|
249
249
|
}).transform((v) => {
|
|
250
250
|
return remap$(v, {
|
|
@@ -282,7 +282,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
282
282
|
tags: z.array(z.string()).optional(),
|
|
283
283
|
metadata: z.record(z.any()).optional(),
|
|
284
284
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
285
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
285
|
+
updated: z.date().default(() => new Date("2025-08-12T10:35:45.801Z"))
|
|
286
286
|
.transform(v => v.toISOString()),
|
|
287
287
|
}).transform((v) => {
|
|
288
288
|
return remap$(v, {
|
|
@@ -5046,7 +5046,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
5046
5046
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5047
5047
|
.optional(),
|
|
5048
5048
|
updated: z.string().datetime({ offset: true }).default(
|
|
5049
|
-
"2025-08-
|
|
5049
|
+
"2025-08-12T10:35:45.801Z",
|
|
5050
5050
|
).transform(v => new Date(v)),
|
|
5051
5051
|
}).transform((v) => {
|
|
5052
5052
|
return remap$(v, {
|
|
@@ -5108,7 +5108,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
5108
5108
|
createdById: z.string().optional(),
|
|
5109
5109
|
updatedById: z.string().optional(),
|
|
5110
5110
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5111
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
5111
|
+
updated: z.date().default(() => new Date("2025-08-12T10:35:45.801Z"))
|
|
5112
5112
|
.transform(v => v.toISOString()),
|
|
5113
5113
|
}).transform((v) => {
|
|
5114
5114
|
return remap$(v, {
|
|
@@ -302,7 +302,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
302
302
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
303
303
|
.optional(),
|
|
304
304
|
updated: z.string().datetime({ offset: true }).default(
|
|
305
|
-
"2025-08-
|
|
305
|
+
"2025-08-12T10:35:45.801Z",
|
|
306
306
|
).transform(v => new Date(v)),
|
|
307
307
|
}).transform((v) => {
|
|
308
308
|
return remap$(v, {
|
|
@@ -347,7 +347,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
347
347
|
parentId: z.string().optional(),
|
|
348
348
|
version: z.string().optional(),
|
|
349
349
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
350
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
350
|
+
updated: z.date().default(() => new Date("2025-08-12T10:35:45.801Z"))
|
|
351
351
|
.transform(v => v.toISOString()),
|
|
352
352
|
}).transform((v) => {
|
|
353
353
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
z.ZodTypeDef,
|
|
245
245
|
unknown
|
|
246
246
|
> = z.object({
|
|
247
|
-
_id: z.string().default("
|
|
247
|
+
_id: z.string().default("01K2EXKNBDVHZTG3RRSVCKT3FC"),
|
|
248
248
|
display_name: z.string(),
|
|
249
249
|
description: z.string().optional(),
|
|
250
250
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -288,7 +288,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
288
288
|
z.ZodTypeDef,
|
|
289
289
|
UpdateDatasourceResponseBody
|
|
290
290
|
> = z.object({
|
|
291
|
-
id: z.string().default("
|
|
291
|
+
id: z.string().default("01K2EXKNBDVHZTG3RRSVCKT3FC"),
|
|
292
292
|
displayName: z.string(),
|
|
293
293
|
description: z.string().optional(),
|
|
294
294
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -2674,8 +2674,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2674
2674
|
> = z.object({
|
|
2675
2675
|
_id: z.string(),
|
|
2676
2676
|
description: z.string(),
|
|
2677
|
-
created: z.string().default("2025-08-
|
|
2678
|
-
updated: z.string().default("2025-08-
|
|
2677
|
+
created: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
2678
|
+
updated: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
2679
2679
|
guardrail_config: z.union([
|
|
2680
2680
|
z.lazy(() =>
|
|
2681
2681
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -2717,8 +2717,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
2717
2717
|
> = z.object({
|
|
2718
2718
|
id: z.string(),
|
|
2719
2719
|
description: z.string(),
|
|
2720
|
-
created: z.string().default("2025-08-
|
|
2721
|
-
updated: z.string().default("2025-08-
|
|
2720
|
+
created: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
2721
|
+
updated: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
2722
2722
|
guardrailConfig: z.union([
|
|
2723
2723
|
z.lazy(() =>
|
|
2724
2724
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -3139,8 +3139,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3139
3139
|
> = z.object({
|
|
3140
3140
|
_id: z.string(),
|
|
3141
3141
|
description: z.string(),
|
|
3142
|
-
created: z.string().default("2025-08-
|
|
3143
|
-
updated: z.string().default("2025-08-
|
|
3142
|
+
created: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
3143
|
+
updated: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
3144
3144
|
guardrail_config: z.union([
|
|
3145
3145
|
z.lazy(() =>
|
|
3146
3146
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -3188,8 +3188,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
3188
3188
|
> = z.object({
|
|
3189
3189
|
id: z.string(),
|
|
3190
3190
|
description: z.string(),
|
|
3191
|
-
created: z.string().default("2025-08-
|
|
3192
|
-
updated: z.string().default("2025-08-
|
|
3191
|
+
created: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
3192
|
+
updated: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
3193
3193
|
guardrailConfig: z.union([
|
|
3194
3194
|
z.lazy(() =>
|
|
3195
3195
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -3579,8 +3579,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3579
3579
|
> = z.object({
|
|
3580
3580
|
_id: z.string(),
|
|
3581
3581
|
description: z.string(),
|
|
3582
|
-
created: z.string().default("2025-08-
|
|
3583
|
-
updated: z.string().default("2025-08-
|
|
3582
|
+
created: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
3583
|
+
updated: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
3584
3584
|
guardrail_config: z.union([
|
|
3585
3585
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
3586
3586
|
z.lazy(() =>
|
|
@@ -3620,8 +3620,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
3620
3620
|
> = z.object({
|
|
3621
3621
|
id: z.string(),
|
|
3622
3622
|
description: z.string(),
|
|
3623
|
-
created: z.string().default("2025-08-
|
|
3624
|
-
updated: z.string().default("2025-08-
|
|
3623
|
+
created: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
3624
|
+
updated: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
3625
3625
|
guardrailConfig: z.union([
|
|
3626
3626
|
z.lazy(() =>
|
|
3627
3627
|
UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -3979,8 +3979,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
3979
3979
|
> = z.object({
|
|
3980
3980
|
_id: z.string(),
|
|
3981
3981
|
description: z.string(),
|
|
3982
|
-
created: z.string().default("2025-08-
|
|
3983
|
-
updated: z.string().default("2025-08-
|
|
3982
|
+
created: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
3983
|
+
updated: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
3984
3984
|
guardrail_config: z.union([
|
|
3985
3985
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
3986
3986
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -4020,8 +4020,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
4020
4020
|
> = z.object({
|
|
4021
4021
|
id: z.string(),
|
|
4022
4022
|
description: z.string(),
|
|
4023
|
-
created: z.string().default("2025-08-
|
|
4024
|
-
updated: z.string().default("2025-08-
|
|
4023
|
+
created: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
4024
|
+
updated: z.string().default("2025-08-12T10:35:48.407Z"),
|
|
4025
4025
|
guardrailConfig: z.union([
|
|
4026
4026
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
4027
4027
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|