@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
@@ -55,22 +55,22 @@ export const GetPromptVersionFormat = {
55
55
  */
56
56
  export type GetPromptVersionFormat = ClosedEnum<typeof GetPromptVersionFormat>;
57
57
 
58
- export const GetPromptVersionResponseFormatPromptsType = {
58
+ export const GetPromptVersionResponseFormatPromptsResponseType = {
59
59
  JsonObject: "json_object",
60
60
  } as const;
61
- export type GetPromptVersionResponseFormatPromptsType = ClosedEnum<
62
- typeof GetPromptVersionResponseFormatPromptsType
61
+ export type GetPromptVersionResponseFormatPromptsResponseType = ClosedEnum<
62
+ typeof GetPromptVersionResponseFormatPromptsResponseType
63
63
  >;
64
64
 
65
- export type GetPromptVersionResponseFormat2 = {
66
- type: GetPromptVersionResponseFormatPromptsType;
65
+ export type GetPromptVersionResponseFormat3 = {
66
+ type: GetPromptVersionResponseFormatPromptsResponseType;
67
67
  };
68
68
 
69
- export const GetPromptVersionResponseFormatType = {
69
+ export const GetPromptVersionResponseFormatPromptsType = {
70
70
  JsonSchema: "json_schema",
71
71
  } as const;
72
- export type GetPromptVersionResponseFormatType = ClosedEnum<
73
- typeof GetPromptVersionResponseFormatType
72
+ export type GetPromptVersionResponseFormatPromptsType = ClosedEnum<
73
+ typeof GetPromptVersionResponseFormatPromptsType
74
74
  >;
75
75
 
76
76
  export type GetPromptVersionResponseFormatJsonSchema = {
@@ -79,9 +79,20 @@ export type GetPromptVersionResponseFormatJsonSchema = {
79
79
  schema: { [k: string]: any };
80
80
  };
81
81
 
82
+ export type GetPromptVersionResponseFormat2 = {
83
+ type: GetPromptVersionResponseFormatPromptsType;
84
+ jsonSchema: GetPromptVersionResponseFormatJsonSchema;
85
+ };
86
+
87
+ export const GetPromptVersionResponseFormatType = {
88
+ Text: "text",
89
+ } as const;
90
+ export type GetPromptVersionResponseFormatType = ClosedEnum<
91
+ typeof GetPromptVersionResponseFormatType
92
+ >;
93
+
82
94
  export type GetPromptVersionResponseFormat1 = {
83
95
  type: GetPromptVersionResponseFormatType;
84
- jsonSchema: GetPromptVersionResponseFormatJsonSchema;
85
96
  };
86
97
 
87
98
  /**
@@ -96,8 +107,9 @@ export type GetPromptVersionResponseFormat1 = {
96
107
  * 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.
97
108
  */
98
109
  export type GetPromptVersionResponseFormat =
110
+ | GetPromptVersionResponseFormat2
99
111
  | GetPromptVersionResponseFormat1
100
- | GetPromptVersionResponseFormat2;
112
+ | GetPromptVersionResponseFormat3;
101
113
 
102
114
  /**
103
115
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
@@ -222,8 +234,9 @@ export type GetPromptVersionModelParameters = {
222
234
  * 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.
223
235
  */
224
236
  responseFormat?:
225
- | GetPromptVersionResponseFormat1
226
237
  | GetPromptVersionResponseFormat2
238
+ | GetPromptVersionResponseFormat1
239
+ | GetPromptVersionResponseFormat3
227
240
  | null
228
241
  | undefined;
229
242
  /**
@@ -627,104 +640,105 @@ export namespace GetPromptVersionFormat$ {
627
640
  }
628
641
 
629
642
  /** @internal */
630
- export const GetPromptVersionResponseFormatPromptsType$inboundSchema:
631
- z.ZodNativeEnum<typeof GetPromptVersionResponseFormatPromptsType> = z
632
- .nativeEnum(GetPromptVersionResponseFormatPromptsType);
643
+ export const GetPromptVersionResponseFormatPromptsResponseType$inboundSchema:
644
+ z.ZodNativeEnum<typeof GetPromptVersionResponseFormatPromptsResponseType> = z
645
+ .nativeEnum(GetPromptVersionResponseFormatPromptsResponseType);
633
646
 
634
647
  /** @internal */
635
- export const GetPromptVersionResponseFormatPromptsType$outboundSchema:
636
- z.ZodNativeEnum<typeof GetPromptVersionResponseFormatPromptsType> =
637
- GetPromptVersionResponseFormatPromptsType$inboundSchema;
648
+ export const GetPromptVersionResponseFormatPromptsResponseType$outboundSchema:
649
+ z.ZodNativeEnum<typeof GetPromptVersionResponseFormatPromptsResponseType> =
650
+ GetPromptVersionResponseFormatPromptsResponseType$inboundSchema;
638
651
 
639
652
  /**
640
653
  * @internal
641
654
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
642
655
  */
643
- export namespace GetPromptVersionResponseFormatPromptsType$ {
644
- /** @deprecated use `GetPromptVersionResponseFormatPromptsType$inboundSchema` instead. */
656
+ export namespace GetPromptVersionResponseFormatPromptsResponseType$ {
657
+ /** @deprecated use `GetPromptVersionResponseFormatPromptsResponseType$inboundSchema` instead. */
645
658
  export const inboundSchema =
646
- GetPromptVersionResponseFormatPromptsType$inboundSchema;
647
- /** @deprecated use `GetPromptVersionResponseFormatPromptsType$outboundSchema` instead. */
659
+ GetPromptVersionResponseFormatPromptsResponseType$inboundSchema;
660
+ /** @deprecated use `GetPromptVersionResponseFormatPromptsResponseType$outboundSchema` instead. */
648
661
  export const outboundSchema =
649
- GetPromptVersionResponseFormatPromptsType$outboundSchema;
662
+ GetPromptVersionResponseFormatPromptsResponseType$outboundSchema;
650
663
  }
651
664
 
652
665
  /** @internal */
653
- export const GetPromptVersionResponseFormat2$inboundSchema: z.ZodType<
654
- GetPromptVersionResponseFormat2,
666
+ export const GetPromptVersionResponseFormat3$inboundSchema: z.ZodType<
667
+ GetPromptVersionResponseFormat3,
655
668
  z.ZodTypeDef,
656
669
  unknown
657
670
  > = z.object({
658
- type: GetPromptVersionResponseFormatPromptsType$inboundSchema,
671
+ type: GetPromptVersionResponseFormatPromptsResponseType$inboundSchema,
659
672
  });
660
673
 
661
674
  /** @internal */
662
- export type GetPromptVersionResponseFormat2$Outbound = {
675
+ export type GetPromptVersionResponseFormat3$Outbound = {
663
676
  type: string;
664
677
  };
665
678
 
666
679
  /** @internal */
667
- export const GetPromptVersionResponseFormat2$outboundSchema: z.ZodType<
668
- GetPromptVersionResponseFormat2$Outbound,
680
+ export const GetPromptVersionResponseFormat3$outboundSchema: z.ZodType<
681
+ GetPromptVersionResponseFormat3$Outbound,
669
682
  z.ZodTypeDef,
670
- GetPromptVersionResponseFormat2
683
+ GetPromptVersionResponseFormat3
671
684
  > = z.object({
672
- type: GetPromptVersionResponseFormatPromptsType$outboundSchema,
685
+ type: GetPromptVersionResponseFormatPromptsResponseType$outboundSchema,
673
686
  });
674
687
 
675
688
  /**
676
689
  * @internal
677
690
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
678
691
  */
679
- export namespace GetPromptVersionResponseFormat2$ {
680
- /** @deprecated use `GetPromptVersionResponseFormat2$inboundSchema` instead. */
681
- export const inboundSchema = GetPromptVersionResponseFormat2$inboundSchema;
682
- /** @deprecated use `GetPromptVersionResponseFormat2$outboundSchema` instead. */
683
- export const outboundSchema = GetPromptVersionResponseFormat2$outboundSchema;
684
- /** @deprecated use `GetPromptVersionResponseFormat2$Outbound` instead. */
685
- export type Outbound = GetPromptVersionResponseFormat2$Outbound;
692
+ export namespace GetPromptVersionResponseFormat3$ {
693
+ /** @deprecated use `GetPromptVersionResponseFormat3$inboundSchema` instead. */
694
+ export const inboundSchema = GetPromptVersionResponseFormat3$inboundSchema;
695
+ /** @deprecated use `GetPromptVersionResponseFormat3$outboundSchema` instead. */
696
+ export const outboundSchema = GetPromptVersionResponseFormat3$outboundSchema;
697
+ /** @deprecated use `GetPromptVersionResponseFormat3$Outbound` instead. */
698
+ export type Outbound = GetPromptVersionResponseFormat3$Outbound;
686
699
  }
687
700
 
688
- export function getPromptVersionResponseFormat2ToJSON(
689
- getPromptVersionResponseFormat2: GetPromptVersionResponseFormat2,
701
+ export function getPromptVersionResponseFormat3ToJSON(
702
+ getPromptVersionResponseFormat3: GetPromptVersionResponseFormat3,
690
703
  ): string {
691
704
  return JSON.stringify(
692
- GetPromptVersionResponseFormat2$outboundSchema.parse(
693
- getPromptVersionResponseFormat2,
705
+ GetPromptVersionResponseFormat3$outboundSchema.parse(
706
+ getPromptVersionResponseFormat3,
694
707
  ),
695
708
  );
696
709
  }
697
710
 
698
- export function getPromptVersionResponseFormat2FromJSON(
711
+ export function getPromptVersionResponseFormat3FromJSON(
699
712
  jsonString: string,
700
- ): SafeParseResult<GetPromptVersionResponseFormat2, SDKValidationError> {
713
+ ): SafeParseResult<GetPromptVersionResponseFormat3, SDKValidationError> {
701
714
  return safeParse(
702
715
  jsonString,
703
- (x) => GetPromptVersionResponseFormat2$inboundSchema.parse(JSON.parse(x)),
704
- `Failed to parse 'GetPromptVersionResponseFormat2' from JSON`,
716
+ (x) => GetPromptVersionResponseFormat3$inboundSchema.parse(JSON.parse(x)),
717
+ `Failed to parse 'GetPromptVersionResponseFormat3' from JSON`,
705
718
  );
706
719
  }
707
720
 
708
721
  /** @internal */
709
- export const GetPromptVersionResponseFormatType$inboundSchema: z.ZodNativeEnum<
710
- typeof GetPromptVersionResponseFormatType
711
- > = z.nativeEnum(GetPromptVersionResponseFormatType);
722
+ export const GetPromptVersionResponseFormatPromptsType$inboundSchema:
723
+ z.ZodNativeEnum<typeof GetPromptVersionResponseFormatPromptsType> = z
724
+ .nativeEnum(GetPromptVersionResponseFormatPromptsType);
712
725
 
713
726
  /** @internal */
714
- export const GetPromptVersionResponseFormatType$outboundSchema: z.ZodNativeEnum<
715
- typeof GetPromptVersionResponseFormatType
716
- > = GetPromptVersionResponseFormatType$inboundSchema;
727
+ export const GetPromptVersionResponseFormatPromptsType$outboundSchema:
728
+ z.ZodNativeEnum<typeof GetPromptVersionResponseFormatPromptsType> =
729
+ GetPromptVersionResponseFormatPromptsType$inboundSchema;
717
730
 
718
731
  /**
719
732
  * @internal
720
733
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
721
734
  */
722
- export namespace GetPromptVersionResponseFormatType$ {
723
- /** @deprecated use `GetPromptVersionResponseFormatType$inboundSchema` instead. */
724
- export const inboundSchema = GetPromptVersionResponseFormatType$inboundSchema;
725
- /** @deprecated use `GetPromptVersionResponseFormatType$outboundSchema` instead. */
735
+ export namespace GetPromptVersionResponseFormatPromptsType$ {
736
+ /** @deprecated use `GetPromptVersionResponseFormatPromptsType$inboundSchema` instead. */
737
+ export const inboundSchema =
738
+ GetPromptVersionResponseFormatPromptsType$inboundSchema;
739
+ /** @deprecated use `GetPromptVersionResponseFormatPromptsType$outboundSchema` instead. */
726
740
  export const outboundSchema =
727
- GetPromptVersionResponseFormatType$outboundSchema;
741
+ GetPromptVersionResponseFormatPromptsType$outboundSchema;
728
742
  }
729
743
 
730
744
  /** @internal */
@@ -799,12 +813,12 @@ export function getPromptVersionResponseFormatJsonSchemaFromJSON(
799
813
  }
800
814
 
801
815
  /** @internal */
802
- export const GetPromptVersionResponseFormat1$inboundSchema: z.ZodType<
803
- GetPromptVersionResponseFormat1,
816
+ export const GetPromptVersionResponseFormat2$inboundSchema: z.ZodType<
817
+ GetPromptVersionResponseFormat2,
804
818
  z.ZodTypeDef,
805
819
  unknown
806
820
  > = z.object({
807
- type: GetPromptVersionResponseFormatType$inboundSchema,
821
+ type: GetPromptVersionResponseFormatPromptsType$inboundSchema,
808
822
  json_schema: z.lazy(() =>
809
823
  GetPromptVersionResponseFormatJsonSchema$inboundSchema
810
824
  ),
@@ -815,18 +829,18 @@ export const GetPromptVersionResponseFormat1$inboundSchema: z.ZodType<
815
829
  });
816
830
 
817
831
  /** @internal */
818
- export type GetPromptVersionResponseFormat1$Outbound = {
832
+ export type GetPromptVersionResponseFormat2$Outbound = {
819
833
  type: string;
820
834
  json_schema: GetPromptVersionResponseFormatJsonSchema$Outbound;
821
835
  };
822
836
 
823
837
  /** @internal */
824
- export const GetPromptVersionResponseFormat1$outboundSchema: z.ZodType<
825
- GetPromptVersionResponseFormat1$Outbound,
838
+ export const GetPromptVersionResponseFormat2$outboundSchema: z.ZodType<
839
+ GetPromptVersionResponseFormat2$Outbound,
826
840
  z.ZodTypeDef,
827
- GetPromptVersionResponseFormat1
841
+ GetPromptVersionResponseFormat2
828
842
  > = z.object({
829
- type: GetPromptVersionResponseFormatType$outboundSchema,
843
+ type: GetPromptVersionResponseFormatPromptsType$outboundSchema,
830
844
  jsonSchema: z.lazy(() =>
831
845
  GetPromptVersionResponseFormatJsonSchema$outboundSchema
832
846
  ),
@@ -836,6 +850,84 @@ export const GetPromptVersionResponseFormat1$outboundSchema: z.ZodType<
836
850
  });
837
851
  });
838
852
 
853
+ /**
854
+ * @internal
855
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
856
+ */
857
+ export namespace GetPromptVersionResponseFormat2$ {
858
+ /** @deprecated use `GetPromptVersionResponseFormat2$inboundSchema` instead. */
859
+ export const inboundSchema = GetPromptVersionResponseFormat2$inboundSchema;
860
+ /** @deprecated use `GetPromptVersionResponseFormat2$outboundSchema` instead. */
861
+ export const outboundSchema = GetPromptVersionResponseFormat2$outboundSchema;
862
+ /** @deprecated use `GetPromptVersionResponseFormat2$Outbound` instead. */
863
+ export type Outbound = GetPromptVersionResponseFormat2$Outbound;
864
+ }
865
+
866
+ export function getPromptVersionResponseFormat2ToJSON(
867
+ getPromptVersionResponseFormat2: GetPromptVersionResponseFormat2,
868
+ ): string {
869
+ return JSON.stringify(
870
+ GetPromptVersionResponseFormat2$outboundSchema.parse(
871
+ getPromptVersionResponseFormat2,
872
+ ),
873
+ );
874
+ }
875
+
876
+ export function getPromptVersionResponseFormat2FromJSON(
877
+ jsonString: string,
878
+ ): SafeParseResult<GetPromptVersionResponseFormat2, SDKValidationError> {
879
+ return safeParse(
880
+ jsonString,
881
+ (x) => GetPromptVersionResponseFormat2$inboundSchema.parse(JSON.parse(x)),
882
+ `Failed to parse 'GetPromptVersionResponseFormat2' from JSON`,
883
+ );
884
+ }
885
+
886
+ /** @internal */
887
+ export const GetPromptVersionResponseFormatType$inboundSchema: z.ZodNativeEnum<
888
+ typeof GetPromptVersionResponseFormatType
889
+ > = z.nativeEnum(GetPromptVersionResponseFormatType);
890
+
891
+ /** @internal */
892
+ export const GetPromptVersionResponseFormatType$outboundSchema: z.ZodNativeEnum<
893
+ typeof GetPromptVersionResponseFormatType
894
+ > = GetPromptVersionResponseFormatType$inboundSchema;
895
+
896
+ /**
897
+ * @internal
898
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
899
+ */
900
+ export namespace GetPromptVersionResponseFormatType$ {
901
+ /** @deprecated use `GetPromptVersionResponseFormatType$inboundSchema` instead. */
902
+ export const inboundSchema = GetPromptVersionResponseFormatType$inboundSchema;
903
+ /** @deprecated use `GetPromptVersionResponseFormatType$outboundSchema` instead. */
904
+ export const outboundSchema =
905
+ GetPromptVersionResponseFormatType$outboundSchema;
906
+ }
907
+
908
+ /** @internal */
909
+ export const GetPromptVersionResponseFormat1$inboundSchema: z.ZodType<
910
+ GetPromptVersionResponseFormat1,
911
+ z.ZodTypeDef,
912
+ unknown
913
+ > = z.object({
914
+ type: GetPromptVersionResponseFormatType$inboundSchema,
915
+ });
916
+
917
+ /** @internal */
918
+ export type GetPromptVersionResponseFormat1$Outbound = {
919
+ type: string;
920
+ };
921
+
922
+ /** @internal */
923
+ export const GetPromptVersionResponseFormat1$outboundSchema: z.ZodType<
924
+ GetPromptVersionResponseFormat1$Outbound,
925
+ z.ZodTypeDef,
926
+ GetPromptVersionResponseFormat1
927
+ > = z.object({
928
+ type: GetPromptVersionResponseFormatType$outboundSchema,
929
+ });
930
+
839
931
  /**
840
932
  * @internal
841
933
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -875,14 +967,16 @@ export const GetPromptVersionResponseFormat$inboundSchema: z.ZodType<
875
967
  z.ZodTypeDef,
876
968
  unknown
877
969
  > = z.union([
878
- z.lazy(() => GetPromptVersionResponseFormat1$inboundSchema),
879
970
  z.lazy(() => GetPromptVersionResponseFormat2$inboundSchema),
971
+ z.lazy(() => GetPromptVersionResponseFormat1$inboundSchema),
972
+ z.lazy(() => GetPromptVersionResponseFormat3$inboundSchema),
880
973
  ]);
881
974
 
882
975
  /** @internal */
883
976
  export type GetPromptVersionResponseFormat$Outbound =
977
+ | GetPromptVersionResponseFormat2$Outbound
884
978
  | GetPromptVersionResponseFormat1$Outbound
885
- | GetPromptVersionResponseFormat2$Outbound;
979
+ | GetPromptVersionResponseFormat3$Outbound;
886
980
 
887
981
  /** @internal */
888
982
  export const GetPromptVersionResponseFormat$outboundSchema: z.ZodType<
@@ -890,8 +984,9 @@ export const GetPromptVersionResponseFormat$outboundSchema: z.ZodType<
890
984
  z.ZodTypeDef,
891
985
  GetPromptVersionResponseFormat
892
986
  > = z.union([
893
- z.lazy(() => GetPromptVersionResponseFormat1$outboundSchema),
894
987
  z.lazy(() => GetPromptVersionResponseFormat2$outboundSchema),
988
+ z.lazy(() => GetPromptVersionResponseFormat1$outboundSchema),
989
+ z.lazy(() => GetPromptVersionResponseFormat3$outboundSchema),
895
990
  ]);
896
991
 
897
992
  /**
@@ -1031,8 +1126,9 @@ export const GetPromptVersionModelParameters$inboundSchema: z.ZodType<
1031
1126
  style: z.string().optional(),
1032
1127
  responseFormat: z.nullable(
1033
1128
  z.union([
1034
- z.lazy(() => GetPromptVersionResponseFormat1$inboundSchema),
1035
1129
  z.lazy(() => GetPromptVersionResponseFormat2$inboundSchema),
1130
+ z.lazy(() => GetPromptVersionResponseFormat1$inboundSchema),
1131
+ z.lazy(() => GetPromptVersionResponseFormat3$inboundSchema),
1036
1132
  ]),
1037
1133
  ).optional(),
1038
1134
  photoRealVersion: GetPromptVersionPhotoRealVersion$inboundSchema.optional(),
@@ -1061,8 +1157,9 @@ export type GetPromptVersionModelParameters$Outbound = {
1061
1157
  quality?: string | undefined;
1062
1158
  style?: string | undefined;
1063
1159
  responseFormat?:
1064
- | GetPromptVersionResponseFormat1$Outbound
1065
1160
  | GetPromptVersionResponseFormat2$Outbound
1161
+ | GetPromptVersionResponseFormat1$Outbound
1162
+ | GetPromptVersionResponseFormat3$Outbound
1066
1163
  | null
1067
1164
  | undefined;
1068
1165
  photoRealVersion?: string | undefined;
@@ -1092,8 +1189,9 @@ export const GetPromptVersionModelParameters$outboundSchema: z.ZodType<
1092
1189
  style: z.string().optional(),
1093
1190
  responseFormat: z.nullable(
1094
1191
  z.union([
1095
- z.lazy(() => GetPromptVersionResponseFormat1$outboundSchema),
1096
1192
  z.lazy(() => GetPromptVersionResponseFormat2$outboundSchema),
1193
+ z.lazy(() => GetPromptVersionResponseFormat1$outboundSchema),
1194
+ z.lazy(() => GetPromptVersionResponseFormat3$outboundSchema),
1097
1195
  ]),
1098
1196
  ).optional(),
1099
1197
  photoRealVersion: GetPromptVersionPhotoRealVersion$outboundSchema.optional(),
@@ -345,7 +345,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
345
345
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
346
346
  .optional(),
347
347
  updated: z.string().datetime({ offset: true }).default(
348
- "2025-08-11T09:31:18.066Z",
348
+ "2025-08-12T10:35:45.801Z",
349
349
  ).transform(v => new Date(v)),
350
350
  metrics: z.lazy(() => Metrics$inboundSchema),
351
351
  }).transform((v) => {
@@ -382,7 +382,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
382
382
  tags: z.array(z.string()).optional(),
383
383
  metadata: z.record(z.any()).optional(),
384
384
  created: z.date().transform(v => v.toISOString()).optional(),
385
- updated: z.date().default(() => new Date("2025-08-11T09:31:18.066Z"))
385
+ updated: z.date().default(() => new Date("2025-08-12T10:35:45.801Z"))
386
386
  .transform(v => v.toISOString()),
387
387
  metrics: z.lazy(() => Metrics$outboundSchema),
388
388
  }).transform((v) => {
@@ -2604,7 +2604,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
2604
2604
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2605
2605
  .optional(),
2606
2606
  updated: z.string().datetime({ offset: true }).default(
2607
- "2025-08-11T09:31:18.066Z",
2607
+ "2025-08-12T10:35:45.801Z",
2608
2608
  ).transform(v => new Date(v)),
2609
2609
  }).transform((v) => {
2610
2610
  return remap$(v, {
@@ -2668,7 +2668,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
2668
2668
  createdById: z.string().optional(),
2669
2669
  updatedById: z.string().optional(),
2670
2670
  created: z.date().transform(v => v.toISOString()).optional(),
2671
- updated: z.date().default(() => new Date("2025-08-11T09:31:18.066Z"))
2671
+ updated: z.date().default(() => new Date("2025-08-12T10:35:45.801Z"))
2672
2672
  .transform(v => v.toISOString()),
2673
2673
  }).transform((v) => {
2674
2674
  return remap$(v, {
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
253
253
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
254
254
  .optional(),
255
255
  updated: z.string().datetime({ offset: true }).default(
256
- "2025-08-11T09:31:18.066Z",
256
+ "2025-08-12T10:35:45.801Z",
257
257
  ).transform(v => new Date(v)),
258
258
  }).transform((v) => {
259
259
  return remap$(v, {
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
293
293
  updatedById: z.string().optional(),
294
294
  metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
295
295
  created: z.date().transform(v => v.toISOString()).optional(),
296
- updated: z.date().default(() => new Date("2025-08-11T09:31:18.066Z"))
296
+ updated: z.date().default(() => new Date("2025-08-12T10:35:45.801Z"))
297
297
  .transform(v => v.toISOString()),
298
298
  }).transform((v) => {
299
299
  return remap$(v, {
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
278
278
  z.ZodTypeDef,
279
279
  unknown
280
280
  > = z.object({
281
- _id: z.string().default("01K2C7GVTSS41SGMY2ND9ESCTQ"),
281
+ _id: z.string().default("01K2EXKNBAC6YFEQK3JBTVC98C"),
282
282
  display_name: z.string(),
283
283
  description: z.string().optional(),
284
284
  status: ListDatasourcesStatus$inboundSchema,
@@ -322,7 +322,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
322
322
  z.ZodTypeDef,
323
323
  ListDatasourcesData
324
324
  > = z.object({
325
- id: z.string().default("01K2C7GVTSS41SGMY2ND9ESCTQ"),
325
+ id: z.string().default("01K2EXKNBAC6YFEQK3JBTVC98C"),
326
326
  displayName: z.string(),
327
327
  description: z.string().optional(),
328
328
  status: ListDatasourcesStatus$outboundSchema,