@orq-ai/node 3.12.16 → 3.12.19

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 (159) hide show
  1. package/bin/mcp-server.js +112 -112
  2. package/bin/mcp-server.js.map +30 -30
  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/createbudget.js +2 -2
  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/fileget.js +2 -2
  16. package/models/operations/filelist.js +2 -2
  17. package/models/operations/fileupload.js +2 -2
  18. package/models/operations/getbudget.js +2 -2
  19. package/models/operations/getevals.js +28 -28
  20. package/models/operations/listbudgets.js +2 -2
  21. package/models/operations/listcontacts.js +2 -2
  22. package/models/operations/listdatasetdatapoints.js +2 -2
  23. package/models/operations/listdatasets.js +2 -2
  24. package/models/operations/listdatasources.js +2 -2
  25. package/models/operations/retrievecontact.js +2 -2
  26. package/models/operations/retrievedatapoint.js +2 -2
  27. package/models/operations/retrievedataset.js +2 -2
  28. package/models/operations/retrievedatasource.js +2 -2
  29. package/models/operations/updatebudget.js +2 -2
  30. package/models/operations/updatecontact.js +2 -2
  31. package/models/operations/updatedatapoint.js +2 -2
  32. package/models/operations/updatedataset.js +2 -2
  33. package/models/operations/updatedatasource.js +2 -2
  34. package/models/operations/updateeval.js +16 -16
  35. package/package.json +1 -1
  36. package/packages/orq-rc/README.md +107 -90
  37. package/packages/orq-rc/docs/sdks/tools/README.md +488 -0
  38. package/packages/orq-rc/examples/package-lock.json +1 -1
  39. package/packages/orq-rc/jsr.json +1 -1
  40. package/packages/orq-rc/package-lock.json +2 -2
  41. package/packages/orq-rc/package.json +1 -1
  42. package/packages/orq-rc/src/funcs/toolsCreate.ts +163 -0
  43. package/packages/orq-rc/src/funcs/toolsDelete.ts +167 -0
  44. package/packages/orq-rc/src/funcs/toolsDuplicate.ts +175 -0
  45. package/packages/orq-rc/src/funcs/toolsList.ts +176 -0
  46. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +166 -0
  47. package/packages/orq-rc/src/funcs/toolsUpdate.ts +176 -0
  48. package/packages/orq-rc/src/lib/config.ts +3 -3
  49. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  50. package/packages/orq-rc/src/mcp-server/server.ts +13 -1
  51. package/packages/orq-rc/src/mcp-server/tools/toolsCreate.ts +37 -0
  52. package/packages/orq-rc/src/mcp-server/tools/toolsDelete.ts +35 -0
  53. package/packages/orq-rc/src/mcp-server/tools/toolsDuplicate.ts +37 -0
  54. package/packages/orq-rc/src/mcp-server/tools/toolsList.ts +37 -0
  55. package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.ts +37 -0
  56. package/packages/orq-rc/src/mcp-server/tools/toolsUpdate.ts +37 -0
  57. package/packages/orq-rc/src/models/components/callsubagenttool.ts +109 -0
  58. package/packages/orq-rc/src/models/components/codeexecutiontool.ts +293 -0
  59. package/packages/orq-rc/src/models/components/currentdatetool.ts +107 -0
  60. package/packages/orq-rc/src/models/components/deployments.ts +52 -45
  61. package/packages/orq-rc/src/models/components/functiontool.ts +195 -0
  62. package/packages/orq-rc/src/models/components/googlesearchtool.ts +108 -0
  63. package/packages/orq-rc/src/models/components/httptool.ts +532 -0
  64. package/packages/orq-rc/src/models/components/index.ts +13 -0
  65. package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +111 -0
  66. package/packages/orq-rc/src/models/components/querymemorystoretool.ts +111 -0
  67. package/packages/orq-rc/src/models/components/retrieveagentstool.ts +109 -0
  68. package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +111 -0
  69. package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +111 -0
  70. package/packages/orq-rc/src/models/components/webscrapertool.ts +105 -0
  71. package/packages/orq-rc/src/models/components/writememorystoretool.ts +111 -0
  72. package/packages/orq-rc/src/models/errors/duplicatetool.ts +91 -0
  73. package/packages/orq-rc/src/models/errors/index.ts +2 -0
  74. package/packages/orq-rc/src/models/errors/updatetool.ts +91 -0
  75. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  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 +10 -8
  79. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  80. package/packages/orq-rc/src/models/operations/createeval.ts +60 -56
  81. package/packages/orq-rc/src/models/operations/createknowledge.ts +18 -0
  82. package/packages/orq-rc/src/models/operations/creatememorystore.ts +137 -136
  83. package/packages/orq-rc/src/models/operations/createprompt.ts +631 -314
  84. package/packages/orq-rc/src/models/operations/createtool.ts +4027 -0
  85. package/packages/orq-rc/src/models/operations/deletetool.ts +75 -0
  86. package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +8 -6
  87. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +362 -194
  88. package/packages/orq-rc/src/models/operations/deployments.ts +329 -160
  89. package/packages/orq-rc/src/models/operations/deploymentstream.ts +8 -6
  90. package/packages/orq-rc/src/models/operations/duplicatetool.ts +2311 -0
  91. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  92. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  93. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  94. package/packages/orq-rc/src/models/operations/getagent.ts +10 -10
  95. package/packages/orq-rc/src/models/operations/getallprompts.ts +333 -168
  96. package/packages/orq-rc/src/models/operations/getalltools.ts +2278 -0
  97. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  98. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  99. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +9 -0
  100. package/packages/orq-rc/src/models/operations/getoneprompt.ts +329 -167
  101. package/packages/orq-rc/src/models/operations/getpromptversion.ts +337 -168
  102. package/packages/orq-rc/src/models/operations/index.ts +6 -0
  103. package/packages/orq-rc/src/models/operations/listagents.ts +10 -10
  104. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  105. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  106. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +6 -5
  107. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  108. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  109. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +9 -0
  110. package/packages/orq-rc/src/models/operations/listpromptversions.ts +354 -183
  111. package/packages/orq-rc/src/models/operations/parse.ts +20 -335
  112. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  113. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +6 -5
  114. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  115. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  116. package/packages/orq-rc/src/models/operations/retrievetool.ts +2303 -0
  117. package/packages/orq-rc/src/models/operations/runagent.ts +412 -1375
  118. package/packages/orq-rc/src/models/operations/streamrunagent.ts +399 -1449
  119. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  120. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  121. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +10 -8
  122. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  123. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  124. package/packages/orq-rc/src/models/operations/updateeval.ts +57 -57
  125. package/packages/orq-rc/src/models/operations/updateknowledge.ts +18 -0
  126. package/packages/orq-rc/src/models/operations/updatememorystore.ts +136 -168
  127. package/packages/orq-rc/src/models/operations/updateprompt.ts +668 -335
  128. package/packages/orq-rc/src/models/operations/updatetool.ts +4231 -0
  129. package/packages/orq-rc/src/sdk/sdk.ts +6 -0
  130. package/packages/orq-rc/src/sdk/tools.ts +117 -0
  131. package/src/lib/config.ts +3 -3
  132. package/src/mcp-server/mcp-server.ts +1 -1
  133. package/src/mcp-server/server.ts +1 -1
  134. package/src/models/operations/createbudget.ts +2 -2
  135. package/src/models/operations/createcontact.ts +2 -2
  136. package/src/models/operations/createdataset.ts +2 -2
  137. package/src/models/operations/createdatasetitem.ts +2 -2
  138. package/src/models/operations/createdatasource.ts +2 -2
  139. package/src/models/operations/createeval.ts +16 -16
  140. package/src/models/operations/fileget.ts +2 -2
  141. package/src/models/operations/filelist.ts +2 -2
  142. package/src/models/operations/fileupload.ts +2 -2
  143. package/src/models/operations/getbudget.ts +2 -2
  144. package/src/models/operations/getevals.ts +28 -28
  145. package/src/models/operations/listbudgets.ts +2 -2
  146. package/src/models/operations/listcontacts.ts +2 -2
  147. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  148. package/src/models/operations/listdatasets.ts +2 -2
  149. package/src/models/operations/listdatasources.ts +2 -2
  150. package/src/models/operations/retrievecontact.ts +2 -2
  151. package/src/models/operations/retrievedatapoint.ts +2 -2
  152. package/src/models/operations/retrievedataset.ts +2 -2
  153. package/src/models/operations/retrievedatasource.ts +2 -2
  154. package/src/models/operations/updatebudget.ts +2 -2
  155. package/src/models/operations/updatecontact.ts +2 -2
  156. package/src/models/operations/updatedatapoint.ts +2 -2
  157. package/src/models/operations/updatedataset.ts +2 -2
  158. package/src/models/operations/updatedatasource.ts +2 -2
  159. package/src/models/operations/updateeval.ts +16 -16
@@ -0,0 +1,91 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { OrqError } from "./orqerror.js";
7
+
8
+ /**
9
+ * Tool not found.
10
+ */
11
+ export type DuplicateToolResponseBodyData = {
12
+ /**
13
+ * Error message
14
+ */
15
+ error: string;
16
+ };
17
+
18
+ /**
19
+ * Tool not found.
20
+ */
21
+ export class DuplicateToolResponseBody extends OrqError {
22
+ /**
23
+ * Error message
24
+ */
25
+ error: string;
26
+
27
+ /** The original data that was passed to this error instance. */
28
+ data$: DuplicateToolResponseBodyData;
29
+
30
+ constructor(
31
+ err: DuplicateToolResponseBodyData,
32
+ httpMeta: { response: Response; request: Request; body: string },
33
+ ) {
34
+ const message = "message" in err && typeof err.message === "string"
35
+ ? err.message
36
+ : `API error occurred: ${JSON.stringify(err)}`;
37
+ super(message, httpMeta);
38
+ this.data$ = err;
39
+ this.error = err.error;
40
+
41
+ this.name = "DuplicateToolResponseBody";
42
+ }
43
+ }
44
+
45
+ /** @internal */
46
+ export const DuplicateToolResponseBody$inboundSchema: z.ZodType<
47
+ DuplicateToolResponseBody,
48
+ z.ZodTypeDef,
49
+ unknown
50
+ > = z.object({
51
+ error: z.string(),
52
+ request$: z.instanceof(Request),
53
+ response$: z.instanceof(Response),
54
+ body$: z.string(),
55
+ })
56
+ .transform((v) => {
57
+ return new DuplicateToolResponseBody(v, {
58
+ request: v.request$,
59
+ response: v.response$,
60
+ body: v.body$,
61
+ });
62
+ });
63
+
64
+ /** @internal */
65
+ export type DuplicateToolResponseBody$Outbound = {
66
+ error: string;
67
+ };
68
+
69
+ /** @internal */
70
+ export const DuplicateToolResponseBody$outboundSchema: z.ZodType<
71
+ DuplicateToolResponseBody$Outbound,
72
+ z.ZodTypeDef,
73
+ DuplicateToolResponseBody
74
+ > = z.instanceof(DuplicateToolResponseBody)
75
+ .transform(v => v.data$)
76
+ .pipe(z.object({
77
+ error: z.string(),
78
+ }));
79
+
80
+ /**
81
+ * @internal
82
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
83
+ */
84
+ export namespace DuplicateToolResponseBody$ {
85
+ /** @deprecated use `DuplicateToolResponseBody$inboundSchema` instead. */
86
+ export const inboundSchema = DuplicateToolResponseBody$inboundSchema;
87
+ /** @deprecated use `DuplicateToolResponseBody$outboundSchema` instead. */
88
+ export const outboundSchema = DuplicateToolResponseBody$outboundSchema;
89
+ /** @deprecated use `DuplicateToolResponseBody$Outbound` instead. */
90
+ export type Outbound = DuplicateToolResponseBody$Outbound;
91
+ }
@@ -6,6 +6,7 @@ export * from "./apierror.js";
6
6
  export * from "./createeval.js";
7
7
  export * from "./deletecontact.js";
8
8
  export * from "./deleteeval.js";
9
+ export * from "./duplicatetool.js";
9
10
  export * from "./evalsageappropriate.js";
10
11
  export * from "./evalsbertscore.js";
11
12
  export * from "./evalsbleuscore.js";
@@ -58,3 +59,4 @@ export * from "./streamrunagent.js";
58
59
  export * from "./updatecontact.js";
59
60
  export * from "./updateeval.js";
60
61
  export * from "./updateprompt.js";
62
+ export * from "./updatetool.js";
@@ -0,0 +1,91 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { OrqError } from "./orqerror.js";
7
+
8
+ /**
9
+ * Tool not found.
10
+ */
11
+ export type UpdateToolResponseBodyData = {
12
+ /**
13
+ * Error message
14
+ */
15
+ error: string;
16
+ };
17
+
18
+ /**
19
+ * Tool not found.
20
+ */
21
+ export class UpdateToolResponseBody extends OrqError {
22
+ /**
23
+ * Error message
24
+ */
25
+ error: string;
26
+
27
+ /** The original data that was passed to this error instance. */
28
+ data$: UpdateToolResponseBodyData;
29
+
30
+ constructor(
31
+ err: UpdateToolResponseBodyData,
32
+ httpMeta: { response: Response; request: Request; body: string },
33
+ ) {
34
+ const message = "message" in err && typeof err.message === "string"
35
+ ? err.message
36
+ : `API error occurred: ${JSON.stringify(err)}`;
37
+ super(message, httpMeta);
38
+ this.data$ = err;
39
+ this.error = err.error;
40
+
41
+ this.name = "UpdateToolResponseBody";
42
+ }
43
+ }
44
+
45
+ /** @internal */
46
+ export const UpdateToolResponseBody$inboundSchema: z.ZodType<
47
+ UpdateToolResponseBody,
48
+ z.ZodTypeDef,
49
+ unknown
50
+ > = z.object({
51
+ error: z.string(),
52
+ request$: z.instanceof(Request),
53
+ response$: z.instanceof(Response),
54
+ body$: z.string(),
55
+ })
56
+ .transform((v) => {
57
+ return new UpdateToolResponseBody(v, {
58
+ request: v.request$,
59
+ response: v.response$,
60
+ body: v.body$,
61
+ });
62
+ });
63
+
64
+ /** @internal */
65
+ export type UpdateToolResponseBody$Outbound = {
66
+ error: string;
67
+ };
68
+
69
+ /** @internal */
70
+ export const UpdateToolResponseBody$outboundSchema: z.ZodType<
71
+ UpdateToolResponseBody$Outbound,
72
+ z.ZodTypeDef,
73
+ UpdateToolResponseBody
74
+ > = z.instanceof(UpdateToolResponseBody)
75
+ .transform(v => v.data$)
76
+ .pipe(z.object({
77
+ error: z.string(),
78
+ }));
79
+
80
+ /**
81
+ * @internal
82
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
83
+ */
84
+ export namespace UpdateToolResponseBody$ {
85
+ /** @deprecated use `UpdateToolResponseBody$inboundSchema` instead. */
86
+ export const inboundSchema = UpdateToolResponseBody$inboundSchema;
87
+ /** @deprecated use `UpdateToolResponseBody$outboundSchema` instead. */
88
+ export const outboundSchema = UpdateToolResponseBody$outboundSchema;
89
+ /** @deprecated use `UpdateToolResponseBody$Outbound` instead. */
90
+ export type Outbound = UpdateToolResponseBody$Outbound;
91
+ }
@@ -658,7 +658,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
658
658
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
659
659
  .optional(),
660
660
  updated: z.string().datetime({ offset: true }).default(
661
- "2025-09-24T04:54:52.401Z",
661
+ "2025-09-25T12:10:29.955Z",
662
662
  ).transform(v => new Date(v)),
663
663
  }).transform((v) => {
664
664
  return remap$(v, {
@@ -693,7 +693,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
693
693
  isActive: z.boolean(),
694
694
  consumption: z.lazy(() => Consumption$outboundSchema).optional(),
695
695
  created: z.date().transform(v => v.toISOString()).optional(),
696
- updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
696
+ updated: z.date().default(() => new Date("2025-09-25T12:10:29.955Z"))
697
697
  .transform(v => v.toISOString()),
698
698
  }).transform((v) => {
699
699
  return remap$(v, {
@@ -182,7 +182,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
182
182
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
183
183
  .optional(),
184
184
  updated: z.string().datetime({ offset: true }).default(
185
- "2025-09-24T04:54:52.401Z",
185
+ "2025-09-25T12:10:29.955Z",
186
186
  ).transform(v => new Date(v)),
187
187
  }).transform((v) => {
188
188
  return remap$(v, {
@@ -223,7 +223,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
223
223
  tags: z.array(z.string()).optional(),
224
224
  metadata: z.record(z.any()).optional(),
225
225
  created: z.date().transform(v => v.toISOString()).optional(),
226
- updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
226
+ updated: z.date().default(() => new Date("2025-09-25T12:10:29.955Z"))
227
227
  .transform(v => v.toISOString()),
228
228
  }).transform((v) => {
229
229
  return remap$(v, {
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
211
211
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
212
212
  .optional(),
213
213
  updated: z.string().datetime({ offset: true }).default(
214
- "2025-09-24T04:54:52.401Z",
214
+ "2025-09-25T12:10:29.955Z",
215
215
  ).transform(v => new Date(v)),
216
216
  }).transform((v) => {
217
217
  return remap$(v, {
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
251
251
  updatedById: z.string().optional(),
252
252
  metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
253
253
  created: z.date().transform(v => v.toISOString()).optional(),
254
- updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
254
+ updated: z.date().default(() => new Date("2025-09-25T12:10:29.955Z"))
255
255
  .transform(v => v.toISOString()),
256
256
  }).transform((v) => {
257
257
  return remap$(v, {
@@ -152,13 +152,14 @@ export type CreateDatasetItemMessagesDatasetsContent =
152
152
  >;
153
153
 
154
154
  /**
155
- * The role of the messages author, in this case `assistant`.
155
+ * The role of the messages author, in this case `assistant` or `exception`.
156
156
  */
157
157
  export const CreateDatasetItemMessagesDatasetsRequestRequestBodyRole = {
158
158
  Assistant: "assistant",
159
+ Exception: "exception",
159
160
  } as const;
160
161
  /**
161
- * The role of the messages author, in this case `assistant`.
162
+ * The role of the messages author, in this case `assistant` or `exception`.
162
163
  */
163
164
  export type CreateDatasetItemMessagesDatasetsRequestRequestBodyRole =
164
165
  ClosedEnum<typeof CreateDatasetItemMessagesDatasetsRequestRequestBodyRole>;
@@ -225,7 +226,7 @@ export type CreateDatasetItemMessagesAssistantMessage = {
225
226
  */
226
227
  refusal?: string | null | undefined;
227
228
  /**
228
- * The role of the messages author, in this case `assistant`.
229
+ * The role of the messages author, in this case `assistant` or `exception`.
229
230
  */
230
231
  role: CreateDatasetItemMessagesDatasetsRequestRequestBodyRole;
231
232
  /**
@@ -671,14 +672,15 @@ export type CreateDatasetItemMessagesDatasetsResponse200Content =
671
672
  >;
672
673
 
673
674
  /**
674
- * The role of the messages author, in this case `assistant`.
675
+ * The role of the messages author, in this case `assistant` or `exception`.
675
676
  */
676
677
  export const CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole =
677
678
  {
678
679
  Assistant: "assistant",
680
+ Exception: "exception",
679
681
  } as const;
680
682
  /**
681
- * The role of the messages author, in this case `assistant`.
683
+ * The role of the messages author, in this case `assistant` or `exception`.
682
684
  */
683
685
  export type CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole =
684
686
  ClosedEnum<
@@ -748,7 +750,7 @@ export type CreateDatasetItemMessagesDatasetsAssistantMessage = {
748
750
  */
749
751
  refusal?: string | null | undefined;
750
752
  /**
751
- * The role of the messages author, in this case `assistant`.
753
+ * The role of the messages author, in this case `assistant` or `exception`.
752
754
  */
753
755
  role:
754
756
  CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole;
@@ -6081,7 +6083,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
6081
6083
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
6082
6084
  .optional(),
6083
6085
  updated: z.string().datetime({ offset: true }).default(
6084
- "2025-09-24T04:54:52.401Z",
6086
+ "2025-09-25T12:10:29.955Z",
6085
6087
  ).transform(v => new Date(v)),
6086
6088
  }).transform((v) => {
6087
6089
  return remap$(v, {
@@ -6145,7 +6147,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
6145
6147
  createdById: z.string().optional(),
6146
6148
  updatedById: z.string().optional(),
6147
6149
  created: z.date().transform(v => v.toISOString()).optional(),
6148
- updated: z.date().default(() => new Date("2025-09-24T04:54:52.401Z"))
6150
+ updated: z.date().default(() => new Date("2025-09-25T12:10:29.955Z"))
6149
6151
  .transform(v => v.toISOString()),
6150
6152
  }).transform((v) => {
6151
6153
  return remap$(v, {
@@ -751,7 +751,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
751
751
  z.ZodTypeDef,
752
752
  unknown
753
753
  > = z.object({
754
- _id: z.string().default("01K5X16BZMYXH42ZZACKKE4YPB"),
754
+ _id: z.string().default("01K60CGQ6MNDX30BYC1PHKN43C"),
755
755
  display_name: z.string(),
756
756
  description: z.string().optional(),
757
757
  status: CreateDatasourceStatus$inboundSchema,
@@ -795,7 +795,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
795
795
  z.ZodTypeDef,
796
796
  CreateDatasourceResponseBody
797
797
  > = z.object({
798
- id: z.string().default("01K5X16BZMYXH42ZZACKKE4YPB"),
798
+ id: z.string().default("01K60CGQ6MNDX30BYC1PHKN43C"),
799
799
  displayName: z.string(),
800
800
  description: z.string().optional(),
801
801
  status: CreateDatasourceStatus$outboundSchema,
@@ -692,7 +692,7 @@ export type CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody5
692
692
  typeof CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody524Type
693
693
  >;
694
694
 
695
- export type TwentyFour = {
695
+ export type FunctionParams24 = {
696
696
  type:
697
697
  CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody524Type;
698
698
  };
@@ -1036,7 +1036,7 @@ export type CreateEvalResponseBodyFunctionParams =
1036
1036
  | FunctionParams21
1037
1037
  | FunctionParams22
1038
1038
  | TwentyThree
1039
- | TwentyFour
1039
+ | FunctionParams24
1040
1040
  | TwentySeven
1041
1041
  | TwentyEight
1042
1042
  | TwentyNine
@@ -1083,7 +1083,7 @@ export type ResponseBodyFunction = {
1083
1083
  | FunctionParams21
1084
1084
  | FunctionParams22
1085
1085
  | TwentyThree
1086
- | TwentyFour
1086
+ | FunctionParams24
1087
1087
  | TwentySeven
1088
1088
  | TwentyEight
1089
1089
  | TwentyNine
@@ -3348,8 +3348,8 @@ export const Typescript$inboundSchema: z.ZodType<
3348
3348
  > = z.object({
3349
3349
  _id: z.string(),
3350
3350
  description: z.string(),
3351
- created: z.string().default("2025-09-24T04:54:54.913Z"),
3352
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
3351
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
3352
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
3353
3353
  guardrail_config: z.union([
3354
3354
  z.lazy(() =>
3355
3355
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
@@ -3392,8 +3392,8 @@ export const Typescript$outboundSchema: z.ZodType<
3392
3392
  > = z.object({
3393
3393
  id: z.string(),
3394
3394
  description: z.string(),
3395
- created: z.string().default("2025-09-24T04:54:54.913Z"),
3396
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
3395
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
3396
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
3397
3397
  guardrailConfig: z.union([
3398
3398
  z.lazy(() =>
3399
3399
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
@@ -3810,8 +3810,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
3810
3810
  .object({
3811
3811
  _id: z.string(),
3812
3812
  description: z.string(),
3813
- created: z.string().default("2025-09-24T04:54:54.913Z"),
3814
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
3813
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
3814
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
3815
3815
  guardrail_config: z.union([
3816
3816
  z.lazy(() =>
3817
3817
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
@@ -3857,8 +3857,8 @@ export const Ragas$outboundSchema: z.ZodType<
3857
3857
  > = z.object({
3858
3858
  id: z.string(),
3859
3859
  description: z.string(),
3860
- created: z.string().default("2025-09-24T04:54:54.913Z"),
3861
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
3860
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
3861
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
3862
3862
  guardrailConfig: z.union([
3863
3863
  z.lazy(() =>
3864
3864
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
@@ -5163,8 +5163,8 @@ export namespace CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponse
5163
5163
  }
5164
5164
 
5165
5165
  /** @internal */
5166
- export const TwentyFour$inboundSchema: z.ZodType<
5167
- TwentyFour,
5166
+ export const FunctionParams24$inboundSchema: z.ZodType<
5167
+ FunctionParams24,
5168
5168
  z.ZodTypeDef,
5169
5169
  unknown
5170
5170
  > = z.object({
@@ -5173,15 +5173,15 @@ export const TwentyFour$inboundSchema: z.ZodType<
5173
5173
  });
5174
5174
 
5175
5175
  /** @internal */
5176
- export type TwentyFour$Outbound = {
5176
+ export type FunctionParams24$Outbound = {
5177
5177
  type: string;
5178
5178
  };
5179
5179
 
5180
5180
  /** @internal */
5181
- export const TwentyFour$outboundSchema: z.ZodType<
5182
- TwentyFour$Outbound,
5181
+ export const FunctionParams24$outboundSchema: z.ZodType<
5182
+ FunctionParams24$Outbound,
5183
5183
  z.ZodTypeDef,
5184
- TwentyFour
5184
+ FunctionParams24
5185
5185
  > = z.object({
5186
5186
  type:
5187
5187
  CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody524Type$outboundSchema,
@@ -5191,26 +5191,30 @@ export const TwentyFour$outboundSchema: z.ZodType<
5191
5191
  * @internal
5192
5192
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5193
5193
  */
5194
- export namespace TwentyFour$ {
5195
- /** @deprecated use `TwentyFour$inboundSchema` instead. */
5196
- export const inboundSchema = TwentyFour$inboundSchema;
5197
- /** @deprecated use `TwentyFour$outboundSchema` instead. */
5198
- export const outboundSchema = TwentyFour$outboundSchema;
5199
- /** @deprecated use `TwentyFour$Outbound` instead. */
5200
- export type Outbound = TwentyFour$Outbound;
5194
+ export namespace FunctionParams24$ {
5195
+ /** @deprecated use `FunctionParams24$inboundSchema` instead. */
5196
+ export const inboundSchema = FunctionParams24$inboundSchema;
5197
+ /** @deprecated use `FunctionParams24$outboundSchema` instead. */
5198
+ export const outboundSchema = FunctionParams24$outboundSchema;
5199
+ /** @deprecated use `FunctionParams24$Outbound` instead. */
5200
+ export type Outbound = FunctionParams24$Outbound;
5201
5201
  }
5202
5202
 
5203
- export function twentyFourToJSON(twentyFour: TwentyFour): string {
5204
- return JSON.stringify(TwentyFour$outboundSchema.parse(twentyFour));
5203
+ export function functionParams24ToJSON(
5204
+ functionParams24: FunctionParams24,
5205
+ ): string {
5206
+ return JSON.stringify(
5207
+ FunctionParams24$outboundSchema.parse(functionParams24),
5208
+ );
5205
5209
  }
5206
5210
 
5207
- export function twentyFourFromJSON(
5211
+ export function functionParams24FromJSON(
5208
5212
  jsonString: string,
5209
- ): SafeParseResult<TwentyFour, SDKValidationError> {
5213
+ ): SafeParseResult<FunctionParams24, SDKValidationError> {
5210
5214
  return safeParse(
5211
5215
  jsonString,
5212
- (x) => TwentyFour$inboundSchema.parse(JSON.parse(x)),
5213
- `Failed to parse 'TwentyFour' from JSON`,
5216
+ (x) => FunctionParams24$inboundSchema.parse(JSON.parse(x)),
5217
+ `Failed to parse 'FunctionParams24' from JSON`,
5214
5218
  );
5215
5219
  }
5216
5220
 
@@ -7145,7 +7149,7 @@ export const CreateEvalResponseBodyFunctionParams$inboundSchema: z.ZodType<
7145
7149
  z.lazy(() => FunctionParams21$inboundSchema),
7146
7150
  z.lazy(() => FunctionParams22$inboundSchema),
7147
7151
  z.lazy(() => TwentyThree$inboundSchema),
7148
- z.lazy(() => TwentyFour$inboundSchema),
7152
+ z.lazy(() => FunctionParams24$inboundSchema),
7149
7153
  z.lazy(() => TwentySeven$inboundSchema),
7150
7154
  z.lazy(() => TwentyEight$inboundSchema),
7151
7155
  z.lazy(() => TwentyNine$inboundSchema),
@@ -7184,7 +7188,7 @@ export type CreateEvalResponseBodyFunctionParams$Outbound =
7184
7188
  | FunctionParams21$Outbound
7185
7189
  | FunctionParams22$Outbound
7186
7190
  | TwentyThree$Outbound
7187
- | TwentyFour$Outbound
7191
+ | FunctionParams24$Outbound
7188
7192
  | TwentySeven$Outbound
7189
7193
  | TwentyEight$Outbound
7190
7194
  | TwentyNine$Outbound
@@ -7226,7 +7230,7 @@ export const CreateEvalResponseBodyFunctionParams$outboundSchema: z.ZodType<
7226
7230
  z.lazy(() => FunctionParams21$outboundSchema),
7227
7231
  z.lazy(() => FunctionParams22$outboundSchema),
7228
7232
  z.lazy(() => TwentyThree$outboundSchema),
7229
- z.lazy(() => TwentyFour$outboundSchema),
7233
+ z.lazy(() => FunctionParams24$outboundSchema),
7230
7234
  z.lazy(() => TwentySeven$outboundSchema),
7231
7235
  z.lazy(() => TwentyEight$outboundSchema),
7232
7236
  z.lazy(() => TwentyNine$outboundSchema),
@@ -7282,8 +7286,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
7282
7286
  > = z.object({
7283
7287
  _id: z.string(),
7284
7288
  description: z.string(),
7285
- created: z.string().default("2025-09-24T04:54:54.913Z"),
7286
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
7289
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
7290
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
7287
7291
  guardrail_config: z.union([
7288
7292
  z.lazy(() =>
7289
7293
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
@@ -7319,7 +7323,7 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
7319
7323
  z.lazy(() => FunctionParams21$inboundSchema),
7320
7324
  z.lazy(() => FunctionParams22$inboundSchema),
7321
7325
  z.lazy(() => TwentyThree$inboundSchema),
7322
- z.lazy(() => TwentyFour$inboundSchema),
7326
+ z.lazy(() => FunctionParams24$inboundSchema),
7323
7327
  z.lazy(() => TwentySeven$inboundSchema),
7324
7328
  z.lazy(() => TwentyEight$inboundSchema),
7325
7329
  z.lazy(() => TwentyNine$inboundSchema),
@@ -7376,7 +7380,7 @@ export type ResponseBodyFunction$Outbound = {
7376
7380
  | FunctionParams21$Outbound
7377
7381
  | FunctionParams22$Outbound
7378
7382
  | TwentyThree$Outbound
7379
- | TwentyFour$Outbound
7383
+ | FunctionParams24$Outbound
7380
7384
  | TwentySeven$Outbound
7381
7385
  | TwentyEight$Outbound
7382
7386
  | TwentyNine$Outbound
@@ -7397,8 +7401,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
7397
7401
  > = z.object({
7398
7402
  id: z.string(),
7399
7403
  description: z.string(),
7400
- created: z.string().default("2025-09-24T04:54:54.913Z"),
7401
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
7404
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
7405
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
7402
7406
  guardrailConfig: z.union([
7403
7407
  z.lazy(() =>
7404
7408
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
@@ -7434,7 +7438,7 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
7434
7438
  z.lazy(() => FunctionParams21$outboundSchema),
7435
7439
  z.lazy(() => FunctionParams22$outboundSchema),
7436
7440
  z.lazy(() => TwentyThree$outboundSchema),
7437
- z.lazy(() => TwentyFour$outboundSchema),
7441
+ z.lazy(() => FunctionParams24$outboundSchema),
7438
7442
  z.lazy(() => TwentySeven$outboundSchema),
7439
7443
  z.lazy(() => TwentyEight$outboundSchema),
7440
7444
  z.lazy(() => TwentyNine$outboundSchema),
@@ -7837,8 +7841,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
7837
7841
  > = z.object({
7838
7842
  _id: z.string(),
7839
7843
  description: z.string(),
7840
- created: z.string().default("2025-09-24T04:54:54.913Z"),
7841
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
7844
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
7845
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
7842
7846
  guardrail_config: z.union([
7843
7847
  z.lazy(() =>
7844
7848
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
@@ -7880,8 +7884,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
7880
7884
  > = z.object({
7881
7885
  id: z.string(),
7882
7886
  description: z.string(),
7883
- created: z.string().default("2025-09-24T04:54:54.913Z"),
7884
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
7887
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
7888
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
7885
7889
  guardrailConfig: z.union([
7886
7890
  z.lazy(() =>
7887
7891
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
@@ -8294,8 +8298,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
8294
8298
  > = z.object({
8295
8299
  _id: z.string(),
8296
8300
  description: z.string(),
8297
- created: z.string().default("2025-09-24T04:54:54.913Z"),
8298
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
8301
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
8302
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
8299
8303
  guardrail_config: z.union([
8300
8304
  z.lazy(() =>
8301
8305
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
@@ -8343,8 +8347,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
8343
8347
  > = z.object({
8344
8348
  id: z.string(),
8345
8349
  description: z.string(),
8346
- created: z.string().default("2025-09-24T04:54:54.913Z"),
8347
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
8350
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
8351
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
8348
8352
  guardrailConfig: z.union([
8349
8353
  z.lazy(() =>
8350
8354
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
@@ -8721,8 +8725,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
8721
8725
  > = z.object({
8722
8726
  _id: z.string(),
8723
8727
  description: z.string(),
8724
- created: z.string().default("2025-09-24T04:54:54.913Z"),
8725
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
8728
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
8729
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
8726
8730
  guardrail_config: z.union([
8727
8731
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
8728
8732
  z.lazy(() =>
@@ -8762,8 +8766,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
8762
8766
  > = z.object({
8763
8767
  id: z.string(),
8764
8768
  description: z.string(),
8765
- created: z.string().default("2025-09-24T04:54:54.913Z"),
8766
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
8769
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
8770
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
8767
8771
  guardrailConfig: z.union([
8768
8772
  z.lazy(() =>
8769
8773
  CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
@@ -9118,8 +9122,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
9118
9122
  > = z.object({
9119
9123
  _id: z.string(),
9120
9124
  description: z.string(),
9121
- created: z.string().default("2025-09-24T04:54:54.913Z"),
9122
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
9125
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
9126
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
9123
9127
  guardrail_config: z.union([
9124
9128
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
9125
9129
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -9159,8 +9163,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
9159
9163
  > = z.object({
9160
9164
  id: z.string(),
9161
9165
  description: z.string(),
9162
- created: z.string().default("2025-09-24T04:54:54.913Z"),
9163
- updated: z.string().default("2025-09-24T04:54:54.913Z"),
9166
+ created: z.string().default("2025-09-25T12:10:32.197Z"),
9167
+ updated: z.string().default("2025-09-25T12:10:32.197Z"),
9164
9168
  guardrailConfig: z.union([
9165
9169
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
9166
9170
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),