@orq-ai/node 3.10.17 → 3.10.20

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 (139) hide show
  1. package/bin/mcp-server.js +382 -382
  2. package/bin/mcp-server.js.map +35 -35
  3. package/examples/contactsCreate.example.ts +1 -1
  4. package/examples/package-lock.json +1 -1
  5. package/jsr.json +1 -1
  6. package/lib/config.d.ts +3 -3
  7. package/lib/config.js +3 -3
  8. package/mcp-server/mcp-server.js +1 -1
  9. package/mcp-server/server.js +1 -1
  10. package/models/operations/createcontact.js +2 -2
  11. package/models/operations/createdataset.js +2 -2
  12. package/models/operations/createdatasetitem.js +2 -2
  13. package/models/operations/createdatasource.js +2 -2
  14. package/models/operations/createeval.js +16 -16
  15. package/models/operations/createprompt.d.ts +94 -94
  16. package/models/operations/createprompt.d.ts.map +1 -1
  17. package/models/operations/createprompt.js +98 -98
  18. package/models/operations/createprompt.js.map +1 -1
  19. package/models/operations/deploymentgetconfig.d.ts +47 -47
  20. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  21. package/models/operations/deploymentgetconfig.js +49 -49
  22. package/models/operations/deploymentgetconfig.js.map +1 -1
  23. package/models/operations/deployments.d.ts +47 -47
  24. package/models/operations/deployments.d.ts.map +1 -1
  25. package/models/operations/deployments.js +49 -49
  26. package/models/operations/deployments.js.map +1 -1
  27. package/models/operations/fileget.js +2 -2
  28. package/models/operations/filelist.js +2 -2
  29. package/models/operations/fileupload.js +2 -2
  30. package/models/operations/getallprompts.d.ts +47 -47
  31. package/models/operations/getallprompts.d.ts.map +1 -1
  32. package/models/operations/getallprompts.js +50 -50
  33. package/models/operations/getallprompts.js.map +1 -1
  34. package/models/operations/getevals.js +28 -28
  35. package/models/operations/getoneprompt.d.ts +47 -47
  36. package/models/operations/getoneprompt.d.ts.map +1 -1
  37. package/models/operations/getoneprompt.js +49 -49
  38. package/models/operations/getoneprompt.js.map +1 -1
  39. package/models/operations/getpromptversion.d.ts +47 -47
  40. package/models/operations/getpromptversion.d.ts.map +1 -1
  41. package/models/operations/getpromptversion.js +49 -49
  42. package/models/operations/getpromptversion.js.map +1 -1
  43. package/models/operations/listcontacts.js +2 -2
  44. package/models/operations/listdatasetdatapoints.js +2 -2
  45. package/models/operations/listdatasets.js +2 -2
  46. package/models/operations/listdatasources.js +2 -2
  47. package/models/operations/listpromptversions.d.ts +47 -47
  48. package/models/operations/listpromptversions.d.ts.map +1 -1
  49. package/models/operations/listpromptversions.js +49 -49
  50. package/models/operations/listpromptversions.js.map +1 -1
  51. package/models/operations/retrievecontact.js +2 -2
  52. package/models/operations/retrievedatapoint.js +2 -2
  53. package/models/operations/retrievedataset.js +2 -2
  54. package/models/operations/retrievedatasource.js +2 -2
  55. package/models/operations/updatecontact.js +2 -2
  56. package/models/operations/updatedatapoint.js +2 -2
  57. package/models/operations/updatedataset.js +2 -2
  58. package/models/operations/updatedatasource.js +2 -2
  59. package/models/operations/updateeval.js +16 -16
  60. package/models/operations/updateprompt.d.ts +94 -94
  61. package/models/operations/updateprompt.d.ts.map +1 -1
  62. package/models/operations/updateprompt.js +99 -99
  63. package/models/operations/updateprompt.js.map +1 -1
  64. package/package.json +1 -1
  65. package/packages/orq-rc/docs/sdks/contacts/README.md +1 -1
  66. package/packages/orq-rc/examples/contactsCreate.example.ts +1 -1
  67. package/packages/orq-rc/examples/package-lock.json +1 -1
  68. package/packages/orq-rc/jsr.json +1 -1
  69. package/packages/orq-rc/package-lock.json +2 -2
  70. package/packages/orq-rc/package.json +1 -1
  71. package/packages/orq-rc/src/funcs/contactsCreate.ts +1 -1
  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/mcp-server/tools/contactsCreate.ts +1 -1
  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 +2 -2
  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/createprompt.ts +246 -40
  82. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +121 -20
  83. package/packages/orq-rc/src/models/operations/deployments.ts +115 -19
  84. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  85. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  86. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  87. package/packages/orq-rc/src/models/operations/getallprompts.ts +100 -2
  88. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  89. package/packages/orq-rc/src/models/operations/getoneprompt.ts +100 -2
  90. package/packages/orq-rc/src/models/operations/getpromptversion.ts +100 -2
  91. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  92. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
  93. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  94. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  95. package/packages/orq-rc/src/models/operations/listpromptversions.ts +101 -2
  96. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  97. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
  98. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  99. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  100. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  101. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
  102. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  103. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  104. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  105. package/packages/orq-rc/src/models/operations/updateprompt.ts +210 -4
  106. package/packages/orq-rc/src/sdk/contacts.ts +1 -1
  107. package/src/lib/config.ts +3 -3
  108. package/src/mcp-server/mcp-server.ts +1 -1
  109. package/src/mcp-server/server.ts +1 -1
  110. package/src/models/operations/createcontact.ts +2 -2
  111. package/src/models/operations/createdataset.ts +2 -2
  112. package/src/models/operations/createdatasetitem.ts +2 -2
  113. package/src/models/operations/createdatasource.ts +2 -2
  114. package/src/models/operations/createeval.ts +16 -16
  115. package/src/models/operations/createprompt.ts +179 -179
  116. package/src/models/operations/deploymentgetconfig.ts +106 -106
  117. package/src/models/operations/deployments.ts +94 -94
  118. package/src/models/operations/fileget.ts +2 -2
  119. package/src/models/operations/filelist.ts +2 -2
  120. package/src/models/operations/fileupload.ts +2 -2
  121. package/src/models/operations/getallprompts.ts +98 -98
  122. package/src/models/operations/getevals.ts +28 -28
  123. package/src/models/operations/getoneprompt.ts +94 -94
  124. package/src/models/operations/getpromptversion.ts +104 -104
  125. package/src/models/operations/listcontacts.ts +2 -2
  126. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  127. package/src/models/operations/listdatasets.ts +2 -2
  128. package/src/models/operations/listdatasources.ts +2 -2
  129. package/src/models/operations/listpromptversions.ts +103 -103
  130. package/src/models/operations/retrievecontact.ts +2 -2
  131. package/src/models/operations/retrievedatapoint.ts +2 -2
  132. package/src/models/operations/retrievedataset.ts +2 -2
  133. package/src/models/operations/retrievedatasource.ts +2 -2
  134. package/src/models/operations/updatecontact.ts +2 -2
  135. package/src/models/operations/updatedatapoint.ts +2 -2
  136. package/src/models/operations/updatedataset.ts +2 -2
  137. package/src/models/operations/updatedatasource.ts +2 -2
  138. package/src/models/operations/updateeval.ts +16 -16
  139. package/src/models/operations/updateprompt.ts +183 -183
@@ -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-12T10:35:45.801Z",
2607
+ "2025-08-14T08:03:47.286Z",
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-12T10:35:45.801Z"))
2671
+ updated: z.date().default(() => new Date("2025-08-14T08:03:47.286Z"))
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-12T10:35:45.801Z",
256
+ "2025-08-14T08:03:47.286Z",
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-12T10:35:45.801Z"))
296
+ updated: z.date().default(() => new Date("2025-08-14T08:03:47.286Z"))
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("01K2EXKNBAC6YFEQK3JBTVC98C"),
281
+ _id: z.string().default("01K2KSPS7ZJD7AEA9T629EK29S"),
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("01K2EXKNBAC6YFEQK3JBTVC98C"),
325
+ id: z.string().default("01K2KSPS7ZJD7AEA9T629EK29S"),
326
326
  displayName: z.string(),
327
327
  description: z.string().optional(),
328
328
  status: ListDatasourcesStatus$outboundSchema,
@@ -70,7 +70,7 @@ export type ListPromptVersionsFormat = ClosedEnum<
70
70
  >;
71
71
 
72
72
  export const ListPromptVersionsResponseFormatPromptsResponseType = {
73
- JsonObject: "json_object",
73
+ Text: "text",
74
74
  } as const;
75
75
  export type ListPromptVersionsResponseFormatPromptsResponseType = ClosedEnum<
76
76
  typeof ListPromptVersionsResponseFormatPromptsResponseType
@@ -81,32 +81,32 @@ export type ListPromptVersionsResponseFormat3 = {
81
81
  };
82
82
 
83
83
  export const ListPromptVersionsResponseFormatPromptsType = {
84
- JsonSchema: "json_schema",
84
+ JsonObject: "json_object",
85
85
  } as const;
86
86
  export type ListPromptVersionsResponseFormatPromptsType = ClosedEnum<
87
87
  typeof ListPromptVersionsResponseFormatPromptsType
88
88
  >;
89
89
 
90
- export type ListPromptVersionsResponseFormatJsonSchema = {
91
- name: string;
92
- strict?: boolean | undefined;
93
- schema: { [k: string]: any };
94
- };
95
-
96
90
  export type ListPromptVersionsResponseFormat2 = {
97
91
  type: ListPromptVersionsResponseFormatPromptsType;
98
- jsonSchema: ListPromptVersionsResponseFormatJsonSchema;
99
92
  };
100
93
 
101
94
  export const ListPromptVersionsResponseFormatType = {
102
- Text: "text",
95
+ JsonSchema: "json_schema",
103
96
  } as const;
104
97
  export type ListPromptVersionsResponseFormatType = ClosedEnum<
105
98
  typeof ListPromptVersionsResponseFormatType
106
99
  >;
107
100
 
101
+ export type ListPromptVersionsResponseFormatJsonSchema = {
102
+ name: string;
103
+ strict?: boolean | undefined;
104
+ schema: { [k: string]: any };
105
+ };
106
+
108
107
  export type ListPromptVersionsResponseFormat1 = {
109
108
  type: ListPromptVersionsResponseFormatType;
109
+ jsonSchema: ListPromptVersionsResponseFormatJsonSchema;
110
110
  };
111
111
 
112
112
  /**
@@ -121,8 +121,8 @@ export type ListPromptVersionsResponseFormat1 = {
121
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.
122
122
  */
123
123
  export type ListPromptVersionsResponseFormat =
124
- | ListPromptVersionsResponseFormat2
125
124
  | ListPromptVersionsResponseFormat1
125
+ | ListPromptVersionsResponseFormat2
126
126
  | ListPromptVersionsResponseFormat3;
127
127
 
128
128
  /**
@@ -248,8 +248,8 @@ export type ListPromptVersionsModelParameters = {
248
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.
249
249
  */
250
250
  responseFormat?:
251
- | ListPromptVersionsResponseFormat2
252
251
  | ListPromptVersionsResponseFormat1
252
+ | ListPromptVersionsResponseFormat2
253
253
  | ListPromptVersionsResponseFormat3
254
254
  | null
255
255
  | undefined;
@@ -793,76 +793,6 @@ export namespace ListPromptVersionsResponseFormatPromptsType$ {
793
793
  ListPromptVersionsResponseFormatPromptsType$outboundSchema;
794
794
  }
795
795
 
796
- /** @internal */
797
- export const ListPromptVersionsResponseFormatJsonSchema$inboundSchema:
798
- z.ZodType<ListPromptVersionsResponseFormatJsonSchema, z.ZodTypeDef, unknown> =
799
- z.object({
800
- name: z.string(),
801
- strict: z.boolean().optional(),
802
- schema: z.record(z.any()),
803
- });
804
-
805
- /** @internal */
806
- export type ListPromptVersionsResponseFormatJsonSchema$Outbound = {
807
- name: string;
808
- strict?: boolean | undefined;
809
- schema: { [k: string]: any };
810
- };
811
-
812
- /** @internal */
813
- export const ListPromptVersionsResponseFormatJsonSchema$outboundSchema:
814
- z.ZodType<
815
- ListPromptVersionsResponseFormatJsonSchema$Outbound,
816
- z.ZodTypeDef,
817
- ListPromptVersionsResponseFormatJsonSchema
818
- > = z.object({
819
- name: z.string(),
820
- strict: z.boolean().optional(),
821
- schema: z.record(z.any()),
822
- });
823
-
824
- /**
825
- * @internal
826
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
827
- */
828
- export namespace ListPromptVersionsResponseFormatJsonSchema$ {
829
- /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$inboundSchema` instead. */
830
- export const inboundSchema =
831
- ListPromptVersionsResponseFormatJsonSchema$inboundSchema;
832
- /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$outboundSchema` instead. */
833
- export const outboundSchema =
834
- ListPromptVersionsResponseFormatJsonSchema$outboundSchema;
835
- /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$Outbound` instead. */
836
- export type Outbound = ListPromptVersionsResponseFormatJsonSchema$Outbound;
837
- }
838
-
839
- export function listPromptVersionsResponseFormatJsonSchemaToJSON(
840
- listPromptVersionsResponseFormatJsonSchema:
841
- ListPromptVersionsResponseFormatJsonSchema,
842
- ): string {
843
- return JSON.stringify(
844
- ListPromptVersionsResponseFormatJsonSchema$outboundSchema.parse(
845
- listPromptVersionsResponseFormatJsonSchema,
846
- ),
847
- );
848
- }
849
-
850
- export function listPromptVersionsResponseFormatJsonSchemaFromJSON(
851
- jsonString: string,
852
- ): SafeParseResult<
853
- ListPromptVersionsResponseFormatJsonSchema,
854
- SDKValidationError
855
- > {
856
- return safeParse(
857
- jsonString,
858
- (x) =>
859
- ListPromptVersionsResponseFormatJsonSchema$inboundSchema.parse(
860
- JSON.parse(x),
861
- ),
862
- `Failed to parse 'ListPromptVersionsResponseFormatJsonSchema' from JSON`,
863
- );
864
- }
865
-
866
796
  /** @internal */
867
797
  export const ListPromptVersionsResponseFormat2$inboundSchema: z.ZodType<
868
798
  ListPromptVersionsResponseFormat2,
@@ -870,19 +800,11 @@ export const ListPromptVersionsResponseFormat2$inboundSchema: z.ZodType<
870
800
  unknown
871
801
  > = z.object({
872
802
  type: ListPromptVersionsResponseFormatPromptsType$inboundSchema,
873
- json_schema: z.lazy(() =>
874
- ListPromptVersionsResponseFormatJsonSchema$inboundSchema
875
- ),
876
- }).transform((v) => {
877
- return remap$(v, {
878
- "json_schema": "jsonSchema",
879
- });
880
803
  });
881
804
 
882
805
  /** @internal */
883
806
  export type ListPromptVersionsResponseFormat2$Outbound = {
884
807
  type: string;
885
- json_schema: ListPromptVersionsResponseFormatJsonSchema$Outbound;
886
808
  };
887
809
 
888
810
  /** @internal */
@@ -892,13 +814,6 @@ export const ListPromptVersionsResponseFormat2$outboundSchema: z.ZodType<
892
814
  ListPromptVersionsResponseFormat2
893
815
  > = z.object({
894
816
  type: ListPromptVersionsResponseFormatPromptsType$outboundSchema,
895
- jsonSchema: z.lazy(() =>
896
- ListPromptVersionsResponseFormatJsonSchema$outboundSchema
897
- ),
898
- }).transform((v) => {
899
- return remap$(v, {
900
- jsonSchema: "json_schema",
901
- });
902
817
  });
903
818
 
904
819
  /**
@@ -959,6 +874,76 @@ export namespace ListPromptVersionsResponseFormatType$ {
959
874
  ListPromptVersionsResponseFormatType$outboundSchema;
960
875
  }
961
876
 
877
+ /** @internal */
878
+ export const ListPromptVersionsResponseFormatJsonSchema$inboundSchema:
879
+ z.ZodType<ListPromptVersionsResponseFormatJsonSchema, z.ZodTypeDef, unknown> =
880
+ z.object({
881
+ name: z.string(),
882
+ strict: z.boolean().optional(),
883
+ schema: z.record(z.any()),
884
+ });
885
+
886
+ /** @internal */
887
+ export type ListPromptVersionsResponseFormatJsonSchema$Outbound = {
888
+ name: string;
889
+ strict?: boolean | undefined;
890
+ schema: { [k: string]: any };
891
+ };
892
+
893
+ /** @internal */
894
+ export const ListPromptVersionsResponseFormatJsonSchema$outboundSchema:
895
+ z.ZodType<
896
+ ListPromptVersionsResponseFormatJsonSchema$Outbound,
897
+ z.ZodTypeDef,
898
+ ListPromptVersionsResponseFormatJsonSchema
899
+ > = z.object({
900
+ name: z.string(),
901
+ strict: z.boolean().optional(),
902
+ schema: z.record(z.any()),
903
+ });
904
+
905
+ /**
906
+ * @internal
907
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
908
+ */
909
+ export namespace ListPromptVersionsResponseFormatJsonSchema$ {
910
+ /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$inboundSchema` instead. */
911
+ export const inboundSchema =
912
+ ListPromptVersionsResponseFormatJsonSchema$inboundSchema;
913
+ /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$outboundSchema` instead. */
914
+ export const outboundSchema =
915
+ ListPromptVersionsResponseFormatJsonSchema$outboundSchema;
916
+ /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$Outbound` instead. */
917
+ export type Outbound = ListPromptVersionsResponseFormatJsonSchema$Outbound;
918
+ }
919
+
920
+ export function listPromptVersionsResponseFormatJsonSchemaToJSON(
921
+ listPromptVersionsResponseFormatJsonSchema:
922
+ ListPromptVersionsResponseFormatJsonSchema,
923
+ ): string {
924
+ return JSON.stringify(
925
+ ListPromptVersionsResponseFormatJsonSchema$outboundSchema.parse(
926
+ listPromptVersionsResponseFormatJsonSchema,
927
+ ),
928
+ );
929
+ }
930
+
931
+ export function listPromptVersionsResponseFormatJsonSchemaFromJSON(
932
+ jsonString: string,
933
+ ): SafeParseResult<
934
+ ListPromptVersionsResponseFormatJsonSchema,
935
+ SDKValidationError
936
+ > {
937
+ return safeParse(
938
+ jsonString,
939
+ (x) =>
940
+ ListPromptVersionsResponseFormatJsonSchema$inboundSchema.parse(
941
+ JSON.parse(x),
942
+ ),
943
+ `Failed to parse 'ListPromptVersionsResponseFormatJsonSchema' from JSON`,
944
+ );
945
+ }
946
+
962
947
  /** @internal */
963
948
  export const ListPromptVersionsResponseFormat1$inboundSchema: z.ZodType<
964
949
  ListPromptVersionsResponseFormat1,
@@ -966,11 +951,19 @@ export const ListPromptVersionsResponseFormat1$inboundSchema: z.ZodType<
966
951
  unknown
967
952
  > = z.object({
968
953
  type: ListPromptVersionsResponseFormatType$inboundSchema,
954
+ json_schema: z.lazy(() =>
955
+ ListPromptVersionsResponseFormatJsonSchema$inboundSchema
956
+ ),
957
+ }).transform((v) => {
958
+ return remap$(v, {
959
+ "json_schema": "jsonSchema",
960
+ });
969
961
  });
970
962
 
971
963
  /** @internal */
972
964
  export type ListPromptVersionsResponseFormat1$Outbound = {
973
965
  type: string;
966
+ json_schema: ListPromptVersionsResponseFormatJsonSchema$Outbound;
974
967
  };
975
968
 
976
969
  /** @internal */
@@ -980,6 +973,13 @@ export const ListPromptVersionsResponseFormat1$outboundSchema: z.ZodType<
980
973
  ListPromptVersionsResponseFormat1
981
974
  > = z.object({
982
975
  type: ListPromptVersionsResponseFormatType$outboundSchema,
976
+ jsonSchema: z.lazy(() =>
977
+ ListPromptVersionsResponseFormatJsonSchema$outboundSchema
978
+ ),
979
+ }).transform((v) => {
980
+ return remap$(v, {
981
+ jsonSchema: "json_schema",
982
+ });
983
983
  });
984
984
 
985
985
  /**
@@ -1022,15 +1022,15 @@ export const ListPromptVersionsResponseFormat$inboundSchema: z.ZodType<
1022
1022
  z.ZodTypeDef,
1023
1023
  unknown
1024
1024
  > = z.union([
1025
- z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
1026
1025
  z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
1026
+ z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
1027
1027
  z.lazy(() => ListPromptVersionsResponseFormat3$inboundSchema),
1028
1028
  ]);
1029
1029
 
1030
1030
  /** @internal */
1031
1031
  export type ListPromptVersionsResponseFormat$Outbound =
1032
- | ListPromptVersionsResponseFormat2$Outbound
1033
1032
  | ListPromptVersionsResponseFormat1$Outbound
1033
+ | ListPromptVersionsResponseFormat2$Outbound
1034
1034
  | ListPromptVersionsResponseFormat3$Outbound;
1035
1035
 
1036
1036
  /** @internal */
@@ -1039,8 +1039,8 @@ export const ListPromptVersionsResponseFormat$outboundSchema: z.ZodType<
1039
1039
  z.ZodTypeDef,
1040
1040
  ListPromptVersionsResponseFormat
1041
1041
  > = z.union([
1042
- z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
1043
1042
  z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
1043
+ z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
1044
1044
  z.lazy(() => ListPromptVersionsResponseFormat3$outboundSchema),
1045
1045
  ]);
1046
1046
 
@@ -1183,8 +1183,8 @@ export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
1183
1183
  style: z.string().optional(),
1184
1184
  responseFormat: z.nullable(
1185
1185
  z.union([
1186
- z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
1187
1186
  z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
1187
+ z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
1188
1188
  z.lazy(() => ListPromptVersionsResponseFormat3$inboundSchema),
1189
1189
  ]),
1190
1190
  ).optional(),
@@ -1214,8 +1214,8 @@ export type ListPromptVersionsModelParameters$Outbound = {
1214
1214
  quality?: string | undefined;
1215
1215
  style?: string | undefined;
1216
1216
  responseFormat?:
1217
- | ListPromptVersionsResponseFormat2$Outbound
1218
1217
  | ListPromptVersionsResponseFormat1$Outbound
1218
+ | ListPromptVersionsResponseFormat2$Outbound
1219
1219
  | ListPromptVersionsResponseFormat3$Outbound
1220
1220
  | null
1221
1221
  | undefined;
@@ -1246,8 +1246,8 @@ export const ListPromptVersionsModelParameters$outboundSchema: z.ZodType<
1246
1246
  style: z.string().optional(),
1247
1247
  responseFormat: z.nullable(
1248
1248
  z.union([
1249
- z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
1250
1249
  z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
1250
+ z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
1251
1251
  z.lazy(() => ListPromptVersionsResponseFormat3$outboundSchema),
1252
1252
  ]),
1253
1253
  ).optional(),
@@ -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-12T10:35:45.801Z",
130
+ "2025-08-14T08:03:47.286Z",
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-12T10:35:45.801Z"))
168
+ updated: z.date().default(() => new Date("2025-08-14T08:03:47.286Z"))
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-12T10:35:45.801Z",
2484
+ "2025-08-14T08:03:47.286Z",
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-12T10:35:45.801Z"))
2542
+ updated: z.date().default(() => new Date("2025-08-14T08:03:47.286Z"))
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-12T10:35:45.801Z",
204
+ "2025-08-14T08:03:47.286Z",
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-12T10:35:45.801Z"))
244
+ updated: z.date().default(() => new Date("2025-08-14T08:03:47.286Z"))
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("01K2EXKNBB488J57WPGH5TM8TA"),
175
+ _id: z.string().default("01K2KSPS8039GKPW1F7D7WAC62"),
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("01K2EXKNBB488J57WPGH5TM8TA"),
219
+ id: z.string().default("01K2KSPS8039GKPW1F7D7WAC62"),
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-12T10:35:45.801Z",
247
+ "2025-08-14T08:03:47.286Z",
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-12T10:35:45.801Z"))
285
+ updated: z.date().default(() => new Date("2025-08-14T08:03:47.286Z"))
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-12T10:35:45.801Z",
5049
+ "2025-08-14T08:03:47.286Z",
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-12T10:35:45.801Z"))
5111
+ updated: z.date().default(() => new Date("2025-08-14T08:03:47.286Z"))
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-12T10:35:45.801Z",
305
+ "2025-08-14T08:03:47.286Z",
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-12T10:35:45.801Z"))
350
+ updated: z.date().default(() => new Date("2025-08-14T08:03:47.286Z"))
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("01K2EXKNBDVHZTG3RRSVCKT3FC"),
247
+ _id: z.string().default("01K2KSPS82R46BNJ4EPV6FKHV3"),
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("01K2EXKNBDVHZTG3RRSVCKT3FC"),
291
+ id: z.string().default("01K2KSPS82R46BNJ4EPV6FKHV3"),
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-12T10:35:48.407Z"),
2678
- updated: z.string().default("2025-08-12T10:35:48.407Z"),
2677
+ created: z.string().default("2025-08-14T08:03:49.531Z"),
2678
+ updated: z.string().default("2025-08-14T08:03:49.531Z"),
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-12T10:35:48.407Z"),
2721
- updated: z.string().default("2025-08-12T10:35:48.407Z"),
2720
+ created: z.string().default("2025-08-14T08:03:49.531Z"),
2721
+ updated: z.string().default("2025-08-14T08:03:49.531Z"),
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-12T10:35:48.407Z"),
3143
- updated: z.string().default("2025-08-12T10:35:48.407Z"),
3142
+ created: z.string().default("2025-08-14T08:03:49.531Z"),
3143
+ updated: z.string().default("2025-08-14T08:03:49.531Z"),
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-12T10:35:48.407Z"),
3192
- updated: z.string().default("2025-08-12T10:35:48.407Z"),
3191
+ created: z.string().default("2025-08-14T08:03:49.531Z"),
3192
+ updated: z.string().default("2025-08-14T08:03:49.531Z"),
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-12T10:35:48.407Z"),
3583
- updated: z.string().default("2025-08-12T10:35:48.407Z"),
3582
+ created: z.string().default("2025-08-14T08:03:49.531Z"),
3583
+ updated: z.string().default("2025-08-14T08:03:49.531Z"),
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-12T10:35:48.407Z"),
3624
- updated: z.string().default("2025-08-12T10:35:48.407Z"),
3623
+ created: z.string().default("2025-08-14T08:03:49.531Z"),
3624
+ updated: z.string().default("2025-08-14T08:03:49.531Z"),
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-12T10:35:48.407Z"),
3983
- updated: z.string().default("2025-08-12T10:35:48.407Z"),
3982
+ created: z.string().default("2025-08-14T08:03:49.531Z"),
3983
+ updated: z.string().default("2025-08-14T08:03:49.531Z"),
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-12T10:35:48.407Z"),
4024
- updated: z.string().default("2025-08-12T10:35:48.407Z"),
4023
+ created: z.string().default("2025-08-14T08:03:49.531Z"),
4024
+ updated: z.string().default("2025-08-14T08:03:49.531Z"),
4025
4025
  guardrailConfig: z.union([
4026
4026
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
4027
4027
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),