@orq-ai/node 3.10.16 → 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.
Files changed (132) hide show
  1. package/bin/mcp-server.js +608 -378
  2. package/bin/mcp-server.js.map +35 -35
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createcontact.js +2 -2
  10. package/models/operations/createdataset.js +2 -2
  11. package/models/operations/createdatasetitem.js +2 -2
  12. package/models/operations/createdatasource.js +2 -2
  13. package/models/operations/createeval.js +16 -16
  14. package/models/operations/createprompt.d.ts +163 -69
  15. package/models/operations/createprompt.d.ts.map +1 -1
  16. package/models/operations/createprompt.js +196 -96
  17. package/models/operations/createprompt.js.map +1 -1
  18. package/models/operations/deploymentgetconfig.d.ts +82 -35
  19. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  20. package/models/operations/deploymentgetconfig.js +106 -57
  21. package/models/operations/deploymentgetconfig.js.map +1 -1
  22. package/models/operations/deployments.d.ts +82 -35
  23. package/models/operations/deployments.d.ts.map +1 -1
  24. package/models/operations/deployments.js +99 -49
  25. package/models/operations/deployments.js.map +1 -1
  26. package/models/operations/fileget.js +2 -2
  27. package/models/operations/filelist.js +2 -2
  28. package/models/operations/fileupload.js +2 -2
  29. package/models/operations/getallprompts.d.ts +81 -34
  30. package/models/operations/getallprompts.d.ts.map +1 -1
  31. package/models/operations/getallprompts.js +99 -49
  32. package/models/operations/getallprompts.js.map +1 -1
  33. package/models/operations/getevals.js +28 -28
  34. package/models/operations/getoneprompt.d.ts +81 -34
  35. package/models/operations/getoneprompt.d.ts.map +1 -1
  36. package/models/operations/getoneprompt.js +99 -49
  37. package/models/operations/getoneprompt.js.map +1 -1
  38. package/models/operations/getpromptversion.d.ts +81 -34
  39. package/models/operations/getpromptversion.d.ts.map +1 -1
  40. package/models/operations/getpromptversion.js +100 -50
  41. package/models/operations/getpromptversion.js.map +1 -1
  42. package/models/operations/listcontacts.js +2 -2
  43. package/models/operations/listdatasetdatapoints.js +2 -2
  44. package/models/operations/listdatasets.js +2 -2
  45. package/models/operations/listdatasources.js +2 -2
  46. package/models/operations/listpromptversions.d.ts +81 -34
  47. package/models/operations/listpromptversions.d.ts.map +1 -1
  48. package/models/operations/listpromptversions.js +99 -50
  49. package/models/operations/listpromptversions.js.map +1 -1
  50. package/models/operations/retrievecontact.js +2 -2
  51. package/models/operations/retrievedatapoint.js +2 -2
  52. package/models/operations/retrievedataset.js +2 -2
  53. package/models/operations/retrievedatasource.js +2 -2
  54. package/models/operations/updatecontact.js +2 -2
  55. package/models/operations/updatedatapoint.js +2 -2
  56. package/models/operations/updatedataset.js +2 -2
  57. package/models/operations/updatedatasource.js +2 -2
  58. package/models/operations/updateeval.js +16 -16
  59. package/models/operations/updateprompt.d.ts +162 -68
  60. package/models/operations/updateprompt.d.ts.map +1 -1
  61. package/models/operations/updateprompt.js +197 -97
  62. package/models/operations/updateprompt.js.map +1 -1
  63. package/package.json +1 -1
  64. package/packages/orq-rc/docs/sdks/datasets/README.md +1 -1
  65. package/packages/orq-rc/docs/sdks/knowledge/README.md +1 -1
  66. package/packages/orq-rc/examples/package-lock.json +1 -1
  67. package/packages/orq-rc/jsr.json +1 -1
  68. package/packages/orq-rc/package-lock.json +2 -2
  69. package/packages/orq-rc/package.json +1 -1
  70. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +5 -4
  71. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +4 -4
  72. package/packages/orq-rc/src/lib/config.ts +3 -3
  73. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  74. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  75. package/packages/orq-rc/src/models/operations/createchunk.ts +54 -44
  76. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  77. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  78. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +46 -63
  79. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  80. package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
  81. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  82. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  83. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  84. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  85. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  86. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
  87. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  88. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  89. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  90. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
  91. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  92. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  93. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  94. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
  95. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  96. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  97. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  98. package/packages/orq-rc/src/sdk/datasets.ts +1 -1
  99. package/packages/orq-rc/src/sdk/knowledge.ts +1 -1
  100. package/src/lib/config.ts +3 -3
  101. package/src/mcp-server/mcp-server.ts +1 -1
  102. package/src/mcp-server/server.ts +1 -1
  103. package/src/models/operations/createcontact.ts +2 -2
  104. package/src/models/operations/createdataset.ts +2 -2
  105. package/src/models/operations/createdatasetitem.ts +2 -2
  106. package/src/models/operations/createdatasource.ts +2 -2
  107. package/src/models/operations/createeval.ts +16 -16
  108. package/src/models/operations/createprompt.ts +347 -141
  109. package/src/models/operations/deploymentgetconfig.ts +173 -72
  110. package/src/models/operations/deployments.ts +168 -72
  111. package/src/models/operations/fileget.ts +2 -2
  112. package/src/models/operations/filelist.ts +2 -2
  113. package/src/models/operations/fileupload.ts +2 -2
  114. package/src/models/operations/getallprompts.ts +169 -71
  115. package/src/models/operations/getevals.ts +28 -28
  116. package/src/models/operations/getoneprompt.ts +169 -71
  117. package/src/models/operations/getpromptversion.ts +168 -70
  118. package/src/models/operations/listcontacts.ts +2 -2
  119. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  120. package/src/models/operations/listdatasets.ts +2 -2
  121. package/src/models/operations/listdatasources.ts +2 -2
  122. package/src/models/operations/listpromptversions.ts +170 -71
  123. package/src/models/operations/retrievecontact.ts +2 -2
  124. package/src/models/operations/retrievedatapoint.ts +2 -2
  125. package/src/models/operations/retrievedataset.ts +2 -2
  126. package/src/models/operations/retrievedatasource.ts +2 -2
  127. package/src/models/operations/updatecontact.ts +2 -2
  128. package/src/models/operations/updatedatapoint.ts +2 -2
  129. package/src/models/operations/updatedataset.ts +2 -2
  130. package/src/models/operations/updatedatasource.ts +2 -2
  131. package/src/models/operations/updateeval.ts +16 -16
  132. package/src/models/operations/updateprompt.ts +347 -141
@@ -67,22 +67,22 @@ export const GetAllPromptsFormat = {
67
67
  */
68
68
  export type GetAllPromptsFormat = ClosedEnum<typeof GetAllPromptsFormat>;
69
69
 
70
- export const GetAllPromptsResponseFormatPromptsType = {
70
+ export const GetAllPromptsResponseFormatPromptsResponseType = {
71
71
  JsonObject: "json_object",
72
72
  } as const;
73
- export type GetAllPromptsResponseFormatPromptsType = ClosedEnum<
74
- typeof GetAllPromptsResponseFormatPromptsType
73
+ export type GetAllPromptsResponseFormatPromptsResponseType = ClosedEnum<
74
+ typeof GetAllPromptsResponseFormatPromptsResponseType
75
75
  >;
76
76
 
77
- export type GetAllPromptsResponseFormat2 = {
78
- type: GetAllPromptsResponseFormatPromptsType;
77
+ export type GetAllPromptsResponseFormat3 = {
78
+ type: GetAllPromptsResponseFormatPromptsResponseType;
79
79
  };
80
80
 
81
- export const GetAllPromptsResponseFormatType = {
81
+ export const GetAllPromptsResponseFormatPromptsType = {
82
82
  JsonSchema: "json_schema",
83
83
  } as const;
84
- export type GetAllPromptsResponseFormatType = ClosedEnum<
85
- typeof GetAllPromptsResponseFormatType
84
+ export type GetAllPromptsResponseFormatPromptsType = ClosedEnum<
85
+ typeof GetAllPromptsResponseFormatPromptsType
86
86
  >;
87
87
 
88
88
  export type GetAllPromptsResponseFormatJsonSchema = {
@@ -91,9 +91,20 @@ export type GetAllPromptsResponseFormatJsonSchema = {
91
91
  schema: { [k: string]: any };
92
92
  };
93
93
 
94
+ export type GetAllPromptsResponseFormat2 = {
95
+ type: GetAllPromptsResponseFormatPromptsType;
96
+ jsonSchema: GetAllPromptsResponseFormatJsonSchema;
97
+ };
98
+
99
+ export const GetAllPromptsResponseFormatType = {
100
+ Text: "text",
101
+ } as const;
102
+ export type GetAllPromptsResponseFormatType = ClosedEnum<
103
+ typeof GetAllPromptsResponseFormatType
104
+ >;
105
+
94
106
  export type GetAllPromptsResponseFormat1 = {
95
107
  type: GetAllPromptsResponseFormatType;
96
- jsonSchema: GetAllPromptsResponseFormatJsonSchema;
97
108
  };
98
109
 
99
110
  /**
@@ -108,8 +119,9 @@ export type GetAllPromptsResponseFormat1 = {
108
119
  * 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.
109
120
  */
110
121
  export type GetAllPromptsResponseFormat =
122
+ | GetAllPromptsResponseFormat2
111
123
  | GetAllPromptsResponseFormat1
112
- | GetAllPromptsResponseFormat2;
124
+ | GetAllPromptsResponseFormat3;
113
125
 
114
126
  /**
115
127
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
@@ -232,8 +244,9 @@ export type GetAllPromptsModelParameters = {
232
244
  * 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.
233
245
  */
234
246
  responseFormat?:
235
- | GetAllPromptsResponseFormat1
236
247
  | GetAllPromptsResponseFormat2
248
+ | GetAllPromptsResponseFormat1
249
+ | GetAllPromptsResponseFormat3
237
250
  | null
238
251
  | undefined;
239
252
  /**
@@ -690,104 +703,106 @@ export namespace GetAllPromptsFormat$ {
690
703
  }
691
704
 
692
705
  /** @internal */
693
- export const GetAllPromptsResponseFormatPromptsType$inboundSchema:
694
- z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsType> = z.nativeEnum(
695
- GetAllPromptsResponseFormatPromptsType,
696
- );
706
+ export const GetAllPromptsResponseFormatPromptsResponseType$inboundSchema:
707
+ z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsResponseType> = z
708
+ .nativeEnum(GetAllPromptsResponseFormatPromptsResponseType);
697
709
 
698
710
  /** @internal */
699
- export const GetAllPromptsResponseFormatPromptsType$outboundSchema:
700
- z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsType> =
701
- GetAllPromptsResponseFormatPromptsType$inboundSchema;
711
+ export const GetAllPromptsResponseFormatPromptsResponseType$outboundSchema:
712
+ z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsResponseType> =
713
+ GetAllPromptsResponseFormatPromptsResponseType$inboundSchema;
702
714
 
703
715
  /**
704
716
  * @internal
705
717
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
706
718
  */
707
- export namespace GetAllPromptsResponseFormatPromptsType$ {
708
- /** @deprecated use `GetAllPromptsResponseFormatPromptsType$inboundSchema` instead. */
719
+ export namespace GetAllPromptsResponseFormatPromptsResponseType$ {
720
+ /** @deprecated use `GetAllPromptsResponseFormatPromptsResponseType$inboundSchema` instead. */
709
721
  export const inboundSchema =
710
- GetAllPromptsResponseFormatPromptsType$inboundSchema;
711
- /** @deprecated use `GetAllPromptsResponseFormatPromptsType$outboundSchema` instead. */
722
+ GetAllPromptsResponseFormatPromptsResponseType$inboundSchema;
723
+ /** @deprecated use `GetAllPromptsResponseFormatPromptsResponseType$outboundSchema` instead. */
712
724
  export const outboundSchema =
713
- GetAllPromptsResponseFormatPromptsType$outboundSchema;
725
+ GetAllPromptsResponseFormatPromptsResponseType$outboundSchema;
714
726
  }
715
727
 
716
728
  /** @internal */
717
- export const GetAllPromptsResponseFormat2$inboundSchema: z.ZodType<
718
- GetAllPromptsResponseFormat2,
729
+ export const GetAllPromptsResponseFormat3$inboundSchema: z.ZodType<
730
+ GetAllPromptsResponseFormat3,
719
731
  z.ZodTypeDef,
720
732
  unknown
721
733
  > = z.object({
722
- type: GetAllPromptsResponseFormatPromptsType$inboundSchema,
734
+ type: GetAllPromptsResponseFormatPromptsResponseType$inboundSchema,
723
735
  });
724
736
 
725
737
  /** @internal */
726
- export type GetAllPromptsResponseFormat2$Outbound = {
738
+ export type GetAllPromptsResponseFormat3$Outbound = {
727
739
  type: string;
728
740
  };
729
741
 
730
742
  /** @internal */
731
- export const GetAllPromptsResponseFormat2$outboundSchema: z.ZodType<
732
- GetAllPromptsResponseFormat2$Outbound,
743
+ export const GetAllPromptsResponseFormat3$outboundSchema: z.ZodType<
744
+ GetAllPromptsResponseFormat3$Outbound,
733
745
  z.ZodTypeDef,
734
- GetAllPromptsResponseFormat2
746
+ GetAllPromptsResponseFormat3
735
747
  > = z.object({
736
- type: GetAllPromptsResponseFormatPromptsType$outboundSchema,
748
+ type: GetAllPromptsResponseFormatPromptsResponseType$outboundSchema,
737
749
  });
738
750
 
739
751
  /**
740
752
  * @internal
741
753
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
742
754
  */
743
- export namespace GetAllPromptsResponseFormat2$ {
744
- /** @deprecated use `GetAllPromptsResponseFormat2$inboundSchema` instead. */
745
- export const inboundSchema = GetAllPromptsResponseFormat2$inboundSchema;
746
- /** @deprecated use `GetAllPromptsResponseFormat2$outboundSchema` instead. */
747
- export const outboundSchema = GetAllPromptsResponseFormat2$outboundSchema;
748
- /** @deprecated use `GetAllPromptsResponseFormat2$Outbound` instead. */
749
- export type Outbound = GetAllPromptsResponseFormat2$Outbound;
755
+ export namespace GetAllPromptsResponseFormat3$ {
756
+ /** @deprecated use `GetAllPromptsResponseFormat3$inboundSchema` instead. */
757
+ export const inboundSchema = GetAllPromptsResponseFormat3$inboundSchema;
758
+ /** @deprecated use `GetAllPromptsResponseFormat3$outboundSchema` instead. */
759
+ export const outboundSchema = GetAllPromptsResponseFormat3$outboundSchema;
760
+ /** @deprecated use `GetAllPromptsResponseFormat3$Outbound` instead. */
761
+ export type Outbound = GetAllPromptsResponseFormat3$Outbound;
750
762
  }
751
763
 
752
- export function getAllPromptsResponseFormat2ToJSON(
753
- getAllPromptsResponseFormat2: GetAllPromptsResponseFormat2,
764
+ export function getAllPromptsResponseFormat3ToJSON(
765
+ getAllPromptsResponseFormat3: GetAllPromptsResponseFormat3,
754
766
  ): string {
755
767
  return JSON.stringify(
756
- GetAllPromptsResponseFormat2$outboundSchema.parse(
757
- getAllPromptsResponseFormat2,
768
+ GetAllPromptsResponseFormat3$outboundSchema.parse(
769
+ getAllPromptsResponseFormat3,
758
770
  ),
759
771
  );
760
772
  }
761
773
 
762
- export function getAllPromptsResponseFormat2FromJSON(
774
+ export function getAllPromptsResponseFormat3FromJSON(
763
775
  jsonString: string,
764
- ): SafeParseResult<GetAllPromptsResponseFormat2, SDKValidationError> {
776
+ ): SafeParseResult<GetAllPromptsResponseFormat3, SDKValidationError> {
765
777
  return safeParse(
766
778
  jsonString,
767
- (x) => GetAllPromptsResponseFormat2$inboundSchema.parse(JSON.parse(x)),
768
- `Failed to parse 'GetAllPromptsResponseFormat2' from JSON`,
779
+ (x) => GetAllPromptsResponseFormat3$inboundSchema.parse(JSON.parse(x)),
780
+ `Failed to parse 'GetAllPromptsResponseFormat3' from JSON`,
769
781
  );
770
782
  }
771
783
 
772
784
  /** @internal */
773
- export const GetAllPromptsResponseFormatType$inboundSchema: z.ZodNativeEnum<
774
- typeof GetAllPromptsResponseFormatType
775
- > = z.nativeEnum(GetAllPromptsResponseFormatType);
785
+ export const GetAllPromptsResponseFormatPromptsType$inboundSchema:
786
+ z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsType> = z.nativeEnum(
787
+ GetAllPromptsResponseFormatPromptsType,
788
+ );
776
789
 
777
790
  /** @internal */
778
- export const GetAllPromptsResponseFormatType$outboundSchema: z.ZodNativeEnum<
779
- typeof GetAllPromptsResponseFormatType
780
- > = GetAllPromptsResponseFormatType$inboundSchema;
791
+ export const GetAllPromptsResponseFormatPromptsType$outboundSchema:
792
+ z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsType> =
793
+ GetAllPromptsResponseFormatPromptsType$inboundSchema;
781
794
 
782
795
  /**
783
796
  * @internal
784
797
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
785
798
  */
786
- export namespace GetAllPromptsResponseFormatType$ {
787
- /** @deprecated use `GetAllPromptsResponseFormatType$inboundSchema` instead. */
788
- export const inboundSchema = GetAllPromptsResponseFormatType$inboundSchema;
789
- /** @deprecated use `GetAllPromptsResponseFormatType$outboundSchema` instead. */
790
- export const outboundSchema = GetAllPromptsResponseFormatType$outboundSchema;
799
+ export namespace GetAllPromptsResponseFormatPromptsType$ {
800
+ /** @deprecated use `GetAllPromptsResponseFormatPromptsType$inboundSchema` instead. */
801
+ export const inboundSchema =
802
+ GetAllPromptsResponseFormatPromptsType$inboundSchema;
803
+ /** @deprecated use `GetAllPromptsResponseFormatPromptsType$outboundSchema` instead. */
804
+ export const outboundSchema =
805
+ GetAllPromptsResponseFormatPromptsType$outboundSchema;
791
806
  }
792
807
 
793
808
  /** @internal */
@@ -856,12 +871,12 @@ export function getAllPromptsResponseFormatJsonSchemaFromJSON(
856
871
  }
857
872
 
858
873
  /** @internal */
859
- export const GetAllPromptsResponseFormat1$inboundSchema: z.ZodType<
860
- GetAllPromptsResponseFormat1,
874
+ export const GetAllPromptsResponseFormat2$inboundSchema: z.ZodType<
875
+ GetAllPromptsResponseFormat2,
861
876
  z.ZodTypeDef,
862
877
  unknown
863
878
  > = z.object({
864
- type: GetAllPromptsResponseFormatType$inboundSchema,
879
+ type: GetAllPromptsResponseFormatPromptsType$inboundSchema,
865
880
  json_schema: z.lazy(() =>
866
881
  GetAllPromptsResponseFormatJsonSchema$inboundSchema
867
882
  ),
@@ -872,18 +887,18 @@ export const GetAllPromptsResponseFormat1$inboundSchema: z.ZodType<
872
887
  });
873
888
 
874
889
  /** @internal */
875
- export type GetAllPromptsResponseFormat1$Outbound = {
890
+ export type GetAllPromptsResponseFormat2$Outbound = {
876
891
  type: string;
877
892
  json_schema: GetAllPromptsResponseFormatJsonSchema$Outbound;
878
893
  };
879
894
 
880
895
  /** @internal */
881
- export const GetAllPromptsResponseFormat1$outboundSchema: z.ZodType<
882
- GetAllPromptsResponseFormat1$Outbound,
896
+ export const GetAllPromptsResponseFormat2$outboundSchema: z.ZodType<
897
+ GetAllPromptsResponseFormat2$Outbound,
883
898
  z.ZodTypeDef,
884
- GetAllPromptsResponseFormat1
899
+ GetAllPromptsResponseFormat2
885
900
  > = z.object({
886
- type: GetAllPromptsResponseFormatType$outboundSchema,
901
+ type: GetAllPromptsResponseFormatPromptsType$outboundSchema,
887
902
  jsonSchema: z.lazy(() =>
888
903
  GetAllPromptsResponseFormatJsonSchema$outboundSchema
889
904
  ),
@@ -893,6 +908,83 @@ export const GetAllPromptsResponseFormat1$outboundSchema: z.ZodType<
893
908
  });
894
909
  });
895
910
 
911
+ /**
912
+ * @internal
913
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
914
+ */
915
+ export namespace GetAllPromptsResponseFormat2$ {
916
+ /** @deprecated use `GetAllPromptsResponseFormat2$inboundSchema` instead. */
917
+ export const inboundSchema = GetAllPromptsResponseFormat2$inboundSchema;
918
+ /** @deprecated use `GetAllPromptsResponseFormat2$outboundSchema` instead. */
919
+ export const outboundSchema = GetAllPromptsResponseFormat2$outboundSchema;
920
+ /** @deprecated use `GetAllPromptsResponseFormat2$Outbound` instead. */
921
+ export type Outbound = GetAllPromptsResponseFormat2$Outbound;
922
+ }
923
+
924
+ export function getAllPromptsResponseFormat2ToJSON(
925
+ getAllPromptsResponseFormat2: GetAllPromptsResponseFormat2,
926
+ ): string {
927
+ return JSON.stringify(
928
+ GetAllPromptsResponseFormat2$outboundSchema.parse(
929
+ getAllPromptsResponseFormat2,
930
+ ),
931
+ );
932
+ }
933
+
934
+ export function getAllPromptsResponseFormat2FromJSON(
935
+ jsonString: string,
936
+ ): SafeParseResult<GetAllPromptsResponseFormat2, SDKValidationError> {
937
+ return safeParse(
938
+ jsonString,
939
+ (x) => GetAllPromptsResponseFormat2$inboundSchema.parse(JSON.parse(x)),
940
+ `Failed to parse 'GetAllPromptsResponseFormat2' from JSON`,
941
+ );
942
+ }
943
+
944
+ /** @internal */
945
+ export const GetAllPromptsResponseFormatType$inboundSchema: z.ZodNativeEnum<
946
+ typeof GetAllPromptsResponseFormatType
947
+ > = z.nativeEnum(GetAllPromptsResponseFormatType);
948
+
949
+ /** @internal */
950
+ export const GetAllPromptsResponseFormatType$outboundSchema: z.ZodNativeEnum<
951
+ typeof GetAllPromptsResponseFormatType
952
+ > = GetAllPromptsResponseFormatType$inboundSchema;
953
+
954
+ /**
955
+ * @internal
956
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
957
+ */
958
+ export namespace GetAllPromptsResponseFormatType$ {
959
+ /** @deprecated use `GetAllPromptsResponseFormatType$inboundSchema` instead. */
960
+ export const inboundSchema = GetAllPromptsResponseFormatType$inboundSchema;
961
+ /** @deprecated use `GetAllPromptsResponseFormatType$outboundSchema` instead. */
962
+ export const outboundSchema = GetAllPromptsResponseFormatType$outboundSchema;
963
+ }
964
+
965
+ /** @internal */
966
+ export const GetAllPromptsResponseFormat1$inboundSchema: z.ZodType<
967
+ GetAllPromptsResponseFormat1,
968
+ z.ZodTypeDef,
969
+ unknown
970
+ > = z.object({
971
+ type: GetAllPromptsResponseFormatType$inboundSchema,
972
+ });
973
+
974
+ /** @internal */
975
+ export type GetAllPromptsResponseFormat1$Outbound = {
976
+ type: string;
977
+ };
978
+
979
+ /** @internal */
980
+ export const GetAllPromptsResponseFormat1$outboundSchema: z.ZodType<
981
+ GetAllPromptsResponseFormat1$Outbound,
982
+ z.ZodTypeDef,
983
+ GetAllPromptsResponseFormat1
984
+ > = z.object({
985
+ type: GetAllPromptsResponseFormatType$outboundSchema,
986
+ });
987
+
896
988
  /**
897
989
  * @internal
898
990
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -932,14 +1024,16 @@ export const GetAllPromptsResponseFormat$inboundSchema: z.ZodType<
932
1024
  z.ZodTypeDef,
933
1025
  unknown
934
1026
  > = z.union([
935
- z.lazy(() => GetAllPromptsResponseFormat1$inboundSchema),
936
1027
  z.lazy(() => GetAllPromptsResponseFormat2$inboundSchema),
1028
+ z.lazy(() => GetAllPromptsResponseFormat1$inboundSchema),
1029
+ z.lazy(() => GetAllPromptsResponseFormat3$inboundSchema),
937
1030
  ]);
938
1031
 
939
1032
  /** @internal */
940
1033
  export type GetAllPromptsResponseFormat$Outbound =
1034
+ | GetAllPromptsResponseFormat2$Outbound
941
1035
  | GetAllPromptsResponseFormat1$Outbound
942
- | GetAllPromptsResponseFormat2$Outbound;
1036
+ | GetAllPromptsResponseFormat3$Outbound;
943
1037
 
944
1038
  /** @internal */
945
1039
  export const GetAllPromptsResponseFormat$outboundSchema: z.ZodType<
@@ -947,8 +1041,9 @@ export const GetAllPromptsResponseFormat$outboundSchema: z.ZodType<
947
1041
  z.ZodTypeDef,
948
1042
  GetAllPromptsResponseFormat
949
1043
  > = z.union([
950
- z.lazy(() => GetAllPromptsResponseFormat1$outboundSchema),
951
1044
  z.lazy(() => GetAllPromptsResponseFormat2$outboundSchema),
1045
+ z.lazy(() => GetAllPromptsResponseFormat1$outboundSchema),
1046
+ z.lazy(() => GetAllPromptsResponseFormat3$outboundSchema),
952
1047
  ]);
953
1048
 
954
1049
  /**
@@ -1088,8 +1183,9 @@ export const GetAllPromptsModelParameters$inboundSchema: z.ZodType<
1088
1183
  style: z.string().optional(),
1089
1184
  responseFormat: z.nullable(
1090
1185
  z.union([
1091
- z.lazy(() => GetAllPromptsResponseFormat1$inboundSchema),
1092
1186
  z.lazy(() => GetAllPromptsResponseFormat2$inboundSchema),
1187
+ z.lazy(() => GetAllPromptsResponseFormat1$inboundSchema),
1188
+ z.lazy(() => GetAllPromptsResponseFormat3$inboundSchema),
1093
1189
  ]),
1094
1190
  ).optional(),
1095
1191
  photoRealVersion: GetAllPromptsPhotoRealVersion$inboundSchema.optional(),
@@ -1118,8 +1214,9 @@ export type GetAllPromptsModelParameters$Outbound = {
1118
1214
  quality?: string | undefined;
1119
1215
  style?: string | undefined;
1120
1216
  responseFormat?:
1121
- | GetAllPromptsResponseFormat1$Outbound
1122
1217
  | GetAllPromptsResponseFormat2$Outbound
1218
+ | GetAllPromptsResponseFormat1$Outbound
1219
+ | GetAllPromptsResponseFormat3$Outbound
1123
1220
  | null
1124
1221
  | undefined;
1125
1222
  photoRealVersion?: string | undefined;
@@ -1149,8 +1246,9 @@ export const GetAllPromptsModelParameters$outboundSchema: z.ZodType<
1149
1246
  style: z.string().optional(),
1150
1247
  responseFormat: z.nullable(
1151
1248
  z.union([
1152
- z.lazy(() => GetAllPromptsResponseFormat1$outboundSchema),
1153
1249
  z.lazy(() => GetAllPromptsResponseFormat2$outboundSchema),
1250
+ z.lazy(() => GetAllPromptsResponseFormat1$outboundSchema),
1251
+ z.lazy(() => GetAllPromptsResponseFormat3$outboundSchema),
1154
1252
  ]),
1155
1253
  ).optional(),
1156
1254
  photoRealVersion: GetAllPromptsPhotoRealVersion$outboundSchema.optional(),
@@ -1551,8 +1551,8 @@ export const Typescript$inboundSchema: z.ZodType<
1551
1551
  > = z.object({
1552
1552
  _id: z.string(),
1553
1553
  description: z.string(),
1554
- created: z.string().default("2025-08-11T09:31:20.314Z"),
1555
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
1554
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
1555
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
1556
1556
  guardrail_config: z.union([
1557
1557
  z.lazy(() =>
1558
1558
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
@@ -1595,8 +1595,8 @@ export const Typescript$outboundSchema: z.ZodType<
1595
1595
  > = z.object({
1596
1596
  id: z.string(),
1597
1597
  description: z.string(),
1598
- created: z.string().default("2025-08-11T09:31:20.314Z"),
1599
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
1598
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
1599
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
1600
1600
  guardrailConfig: z.union([
1601
1601
  z.lazy(() =>
1602
1602
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
@@ -1992,8 +1992,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
1992
1992
  .object({
1993
1993
  _id: z.string(),
1994
1994
  description: z.string(),
1995
- created: z.string().default("2025-08-11T09:31:20.314Z"),
1996
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
1995
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
1996
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
1997
1997
  guardrail_config: z.union([
1998
1998
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
1999
1999
  z.lazy(() =>
@@ -2036,8 +2036,8 @@ export const Ragas$outboundSchema: z.ZodType<
2036
2036
  > = z.object({
2037
2037
  id: z.string(),
2038
2038
  description: z.string(),
2039
- created: z.string().default("2025-08-11T09:31:20.314Z"),
2040
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
2039
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
2040
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
2041
2041
  guardrailConfig: z.union([
2042
2042
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
2043
2043
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
@@ -5316,8 +5316,8 @@ export const DataFunction$inboundSchema: z.ZodType<
5316
5316
  > = z.object({
5317
5317
  _id: z.string(),
5318
5318
  description: z.string(),
5319
- created: z.string().default("2025-08-11T09:31:20.314Z"),
5320
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
5319
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
5320
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
5321
5321
  guardrail_config: z.union([
5322
5322
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
5323
5323
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -5427,8 +5427,8 @@ export const DataFunction$outboundSchema: z.ZodType<
5427
5427
  > = z.object({
5428
5428
  id: z.string(),
5429
5429
  description: z.string(),
5430
- created: z.string().default("2025-08-11T09:31:20.314Z"),
5431
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
5430
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
5431
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
5432
5432
  guardrailConfig: z.union([
5433
5433
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
5434
5434
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -5810,8 +5810,8 @@ export const DataPython$inboundSchema: z.ZodType<
5810
5810
  > = z.object({
5811
5811
  _id: z.string(),
5812
5812
  description: z.string(),
5813
- created: z.string().default("2025-08-11T09:31:20.314Z"),
5814
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
5813
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
5814
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
5815
5815
  guardrail_config: z.union([
5816
5816
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
5817
5817
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
@@ -5849,8 +5849,8 @@ export const DataPython$outboundSchema: z.ZodType<
5849
5849
  > = z.object({
5850
5850
  id: z.string(),
5851
5851
  description: z.string(),
5852
- created: z.string().default("2025-08-11T09:31:20.314Z"),
5853
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
5852
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
5853
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
5854
5854
  guardrailConfig: z.union([
5855
5855
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
5856
5856
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
@@ -6196,8 +6196,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
6196
6196
  > = z.object({
6197
6197
  _id: z.string(),
6198
6198
  description: z.string(),
6199
- created: z.string().default("2025-08-11T09:31:20.314Z"),
6200
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
6199
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
6200
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
6201
6201
  guardrail_config: z.union([
6202
6202
  z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
6203
6203
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
@@ -6241,8 +6241,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
6241
6241
  > = z.object({
6242
6242
  id: z.string(),
6243
6243
  description: z.string(),
6244
- created: z.string().default("2025-08-11T09:31:20.314Z"),
6245
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
6244
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
6245
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
6246
6246
  guardrailConfig: z.union([
6247
6247
  z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
6248
6248
  z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
@@ -6607,8 +6607,8 @@ export const DataJSON$inboundSchema: z.ZodType<
6607
6607
  > = z.object({
6608
6608
  _id: z.string(),
6609
6609
  description: z.string(),
6610
- created: z.string().default("2025-08-11T09:31:20.314Z"),
6611
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
6610
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
6611
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
6612
6612
  guardrail_config: z.union([
6613
6613
  z.lazy(() =>
6614
6614
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
@@ -6650,8 +6650,8 @@ export const DataJSON$outboundSchema: z.ZodType<
6650
6650
  > = z.object({
6651
6651
  id: z.string(),
6652
6652
  description: z.string(),
6653
- created: z.string().default("2025-08-11T09:31:20.314Z"),
6654
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
6653
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
6654
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
6655
6655
  guardrailConfig: z.union([
6656
6656
  z.lazy(() =>
6657
6657
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
@@ -7033,8 +7033,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
7033
7033
  z.object({
7034
7034
  _id: z.string(),
7035
7035
  description: z.string(),
7036
- created: z.string().default("2025-08-11T09:31:20.314Z"),
7037
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
7036
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
7037
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
7038
7038
  guardrail_config: z.union([
7039
7039
  z.lazy(() =>
7040
7040
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
@@ -7078,8 +7078,8 @@ export const DataLLM$outboundSchema: z.ZodType<
7078
7078
  > = z.object({
7079
7079
  id: z.string(),
7080
7080
  description: z.string(),
7081
- created: z.string().default("2025-08-11T09:31:20.314Z"),
7082
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
7081
+ created: z.string().default("2025-08-12T10:35:48.407Z"),
7082
+ updated: z.string().default("2025-08-12T10:35:48.407Z"),
7083
7083
  guardrailConfig: z.union([
7084
7084
  z.lazy(() =>
7085
7085
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema