@orq-ai/node 4.0.0-rc.20 → 4.0.0-rc.21

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 (161) hide show
  1. package/README.md +25 -21
  2. package/bin/mcp-server.js +4356 -3411
  3. package/bin/mcp-server.js.map +54 -50
  4. package/docs/sdks/agents/README.md +83 -3
  5. package/examples/package-lock.json +1 -1
  6. package/funcs/agentsDuplicate.d.ts +18 -0
  7. package/funcs/agentsDuplicate.d.ts.map +1 -0
  8. package/funcs/agentsDuplicate.js +123 -0
  9. package/funcs/agentsDuplicate.js.map +1 -0
  10. package/funcs/agentsList.d.ts +1 -1
  11. package/funcs/agentsList.js +1 -1
  12. package/jsr.json +1 -1
  13. package/lib/config.d.ts +3 -3
  14. package/lib/config.js +3 -3
  15. package/mcp-server/mcp-server.js +1 -1
  16. package/mcp-server/server.d.ts.map +1 -1
  17. package/mcp-server/server.js +3 -1
  18. package/mcp-server/server.js.map +1 -1
  19. package/mcp-server/tools/agentsDuplicate.d.ts +8 -0
  20. package/mcp-server/tools/agentsDuplicate.d.ts.map +1 -0
  21. package/mcp-server/tools/agentsDuplicate.js +64 -0
  22. package/mcp-server/tools/agentsDuplicate.js.map +1 -0
  23. package/mcp-server/tools/agentsList.js +1 -1
  24. package/mcp-server/tools/agentsList.js.map +1 -1
  25. package/models/errors/duplicateagent.d.ts +55 -0
  26. package/models/errors/duplicateagent.d.ts.map +1 -0
  27. package/models/errors/duplicateagent.js +106 -0
  28. package/models/errors/duplicateagent.js.map +1 -0
  29. package/models/errors/index.d.ts +1 -0
  30. package/models/errors/index.d.ts.map +1 -1
  31. package/models/errors/index.js +1 -0
  32. package/models/errors/index.js.map +1 -1
  33. package/models/operations/createagent.d.ts +19 -10
  34. package/models/operations/createagent.d.ts.map +1 -1
  35. package/models/operations/createagent.js +14 -11
  36. package/models/operations/createagent.js.map +1 -1
  37. package/models/operations/createbudget.js +2 -2
  38. package/models/operations/createcontact.js +2 -2
  39. package/models/operations/createdataset.js +2 -2
  40. package/models/operations/createdatasetitem.js +8 -8
  41. package/models/operations/createdatasource.js +2 -2
  42. package/models/operations/createeval.js +28 -28
  43. package/models/operations/createtool.js +10 -10
  44. package/models/operations/duplicateagent.d.ts +1267 -0
  45. package/models/operations/duplicateagent.d.ts.map +1 -0
  46. package/models/operations/duplicateagent.js +1278 -0
  47. package/models/operations/duplicateagent.js.map +1 -0
  48. package/models/operations/duplicatetool.js +10 -10
  49. package/models/operations/fileget.js +2 -2
  50. package/models/operations/filelist.js +2 -2
  51. package/models/operations/fileupload.js +2 -2
  52. package/models/operations/getagent.d.ts +12 -9
  53. package/models/operations/getagent.d.ts.map +1 -1
  54. package/models/operations/getagent.js +11 -11
  55. package/models/operations/getagent.js.map +1 -1
  56. package/models/operations/getagenttask.d.ts +321 -4
  57. package/models/operations/getagenttask.d.ts.map +1 -1
  58. package/models/operations/getagenttask.js +351 -5
  59. package/models/operations/getagenttask.js.map +1 -1
  60. package/models/operations/getalltools.js +10 -10
  61. package/models/operations/getbudget.js +2 -2
  62. package/models/operations/getevals.js +28 -28
  63. package/models/operations/index.d.ts +1 -0
  64. package/models/operations/index.d.ts.map +1 -1
  65. package/models/operations/index.js +1 -0
  66. package/models/operations/index.js.map +1 -1
  67. package/models/operations/invokeagent.d.ts +231 -2
  68. package/models/operations/invokeagent.d.ts.map +1 -1
  69. package/models/operations/invokeagent.js +261 -4
  70. package/models/operations/invokeagent.js.map +1 -1
  71. package/models/operations/listagents.d.ts +14 -11
  72. package/models/operations/listagents.d.ts.map +1 -1
  73. package/models/operations/listagents.js +14 -13
  74. package/models/operations/listagents.js.map +1 -1
  75. package/models/operations/listagenttasks.d.ts +250 -1094
  76. package/models/operations/listagenttasks.d.ts.map +1 -1
  77. package/models/operations/listagenttasks.js +276 -1117
  78. package/models/operations/listagenttasks.js.map +1 -1
  79. package/models/operations/listbudgets.js +2 -2
  80. package/models/operations/listcontacts.js +2 -2
  81. package/models/operations/listdatasetdatapoints.js +8 -8
  82. package/models/operations/listdatasets.js +2 -2
  83. package/models/operations/listdatasources.js +2 -2
  84. package/models/operations/retrievecontact.js +2 -2
  85. package/models/operations/retrievedatapoint.js +8 -8
  86. package/models/operations/retrievedataset.js +2 -2
  87. package/models/operations/retrievedatasource.js +2 -2
  88. package/models/operations/retrievetool.js +10 -10
  89. package/models/operations/runagent.d.ts +232 -3
  90. package/models/operations/runagent.d.ts.map +1 -1
  91. package/models/operations/runagent.js +267 -8
  92. package/models/operations/runagent.js.map +1 -1
  93. package/models/operations/streamrunagent.d.ts +1 -1
  94. package/models/operations/updateagent.d.ts +41 -9
  95. package/models/operations/updateagent.d.ts.map +1 -1
  96. package/models/operations/updateagent.js +34 -16
  97. package/models/operations/updateagent.js.map +1 -1
  98. package/models/operations/updatebudget.js +2 -2
  99. package/models/operations/updatecontact.js +2 -2
  100. package/models/operations/updatedatapoint.js +8 -8
  101. package/models/operations/updatedataset.js +2 -2
  102. package/models/operations/updatedatasource.js +2 -2
  103. package/models/operations/updateeval.js +28 -28
  104. package/models/operations/updatetool.js +10 -10
  105. package/package.json +1 -1
  106. package/sdk/agents.d.ts +8 -1
  107. package/sdk/agents.d.ts.map +1 -1
  108. package/sdk/agents.js +11 -1
  109. package/sdk/agents.js.map +1 -1
  110. package/src/funcs/agentsDuplicate.ts +179 -0
  111. package/src/funcs/agentsList.ts +1 -1
  112. package/src/lib/config.ts +3 -3
  113. package/src/mcp-server/mcp-server.ts +1 -1
  114. package/src/mcp-server/server.ts +3 -1
  115. package/src/mcp-server/tools/agentsDuplicate.ts +37 -0
  116. package/src/mcp-server/tools/agentsList.ts +1 -1
  117. package/src/models/errors/duplicateagent.ts +128 -0
  118. package/src/models/errors/index.ts +1 -0
  119. package/src/models/operations/createagent.ts +33 -16
  120. package/src/models/operations/createbudget.ts +2 -2
  121. package/src/models/operations/createcontact.ts +2 -2
  122. package/src/models/operations/createdataset.ts +2 -2
  123. package/src/models/operations/createdatasetitem.ts +8 -8
  124. package/src/models/operations/createdatasource.ts +2 -2
  125. package/src/models/operations/createeval.ts +28 -28
  126. package/src/models/operations/createtool.ts +10 -10
  127. package/src/models/operations/duplicateagent.ts +3280 -0
  128. package/src/models/operations/duplicatetool.ts +10 -10
  129. package/src/models/operations/fileget.ts +2 -2
  130. package/src/models/operations/filelist.ts +2 -2
  131. package/src/models/operations/fileupload.ts +2 -2
  132. package/src/models/operations/getagent.ts +29 -17
  133. package/src/models/operations/getagenttask.ts +750 -8
  134. package/src/models/operations/getalltools.ts +10 -10
  135. package/src/models/operations/getbudget.ts +2 -2
  136. package/src/models/operations/getevals.ts +28 -28
  137. package/src/models/operations/index.ts +1 -0
  138. package/src/models/operations/invokeagent.ts +632 -4
  139. package/src/models/operations/listagents.ts +32 -21
  140. package/src/models/operations/listagenttasks.ts +640 -2908
  141. package/src/models/operations/listbudgets.ts +2 -2
  142. package/src/models/operations/listcontacts.ts +2 -2
  143. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  144. package/src/models/operations/listdatasets.ts +2 -2
  145. package/src/models/operations/listdatasources.ts +2 -2
  146. package/src/models/operations/retrievecontact.ts +2 -2
  147. package/src/models/operations/retrievedatapoint.ts +8 -8
  148. package/src/models/operations/retrievedataset.ts +2 -2
  149. package/src/models/operations/retrievedatasource.ts +2 -2
  150. package/src/models/operations/retrievetool.ts +10 -10
  151. package/src/models/operations/runagent.ts +606 -5
  152. package/src/models/operations/streamrunagent.ts +1 -1
  153. package/src/models/operations/updateagent.ts +72 -18
  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 +8 -8
  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 +28 -28
  160. package/src/models/operations/updatetool.ts +10 -10
  161. package/src/sdk/agents.ts +19 -1
@@ -0,0 +1,128 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { OrqError } from "./orqerror.js";
7
+
8
+ /**
9
+ * Agent with generated key already exists
10
+ */
11
+ export type DuplicateAgentAgentsResponseBodyData = {
12
+ message: string;
13
+ };
14
+
15
+ /**
16
+ * Agent with generated key already exists
17
+ */
18
+ export class DuplicateAgentAgentsResponseBody extends OrqError {
19
+ /** The original data that was passed to this error instance. */
20
+ data$: DuplicateAgentAgentsResponseBodyData;
21
+
22
+ constructor(
23
+ err: DuplicateAgentAgentsResponseBodyData,
24
+ httpMeta: { response: Response; request: Request; body: string },
25
+ ) {
26
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
27
+ super(message, httpMeta);
28
+ this.data$ = err;
29
+
30
+ this.name = "DuplicateAgentAgentsResponseBody";
31
+ }
32
+ }
33
+
34
+ /**
35
+ * Agent not found
36
+ */
37
+ export type DuplicateAgentResponseBodyData = {
38
+ message: string;
39
+ };
40
+
41
+ /**
42
+ * Agent not found
43
+ */
44
+ export class DuplicateAgentResponseBody extends OrqError {
45
+ /** The original data that was passed to this error instance. */
46
+ data$: DuplicateAgentResponseBodyData;
47
+
48
+ constructor(
49
+ err: DuplicateAgentResponseBodyData,
50
+ httpMeta: { response: Response; request: Request; body: string },
51
+ ) {
52
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
53
+ super(message, httpMeta);
54
+ this.data$ = err;
55
+
56
+ this.name = "DuplicateAgentResponseBody";
57
+ }
58
+ }
59
+
60
+ /** @internal */
61
+ export const DuplicateAgentAgentsResponseBody$inboundSchema: z.ZodType<
62
+ DuplicateAgentAgentsResponseBody,
63
+ z.ZodTypeDef,
64
+ unknown
65
+ > = z.object({
66
+ message: z.string(),
67
+ request$: z.instanceof(Request),
68
+ response$: z.instanceof(Response),
69
+ body$: z.string(),
70
+ })
71
+ .transform((v) => {
72
+ return new DuplicateAgentAgentsResponseBody(v, {
73
+ request: v.request$,
74
+ response: v.response$,
75
+ body: v.body$,
76
+ });
77
+ });
78
+
79
+ /** @internal */
80
+ export type DuplicateAgentAgentsResponseBody$Outbound = {
81
+ message: string;
82
+ };
83
+
84
+ /** @internal */
85
+ export const DuplicateAgentAgentsResponseBody$outboundSchema: z.ZodType<
86
+ DuplicateAgentAgentsResponseBody$Outbound,
87
+ z.ZodTypeDef,
88
+ DuplicateAgentAgentsResponseBody
89
+ > = z.instanceof(DuplicateAgentAgentsResponseBody)
90
+ .transform(v => v.data$)
91
+ .pipe(z.object({
92
+ message: z.string(),
93
+ }));
94
+
95
+ /** @internal */
96
+ export const DuplicateAgentResponseBody$inboundSchema: z.ZodType<
97
+ DuplicateAgentResponseBody,
98
+ z.ZodTypeDef,
99
+ unknown
100
+ > = z.object({
101
+ message: z.string(),
102
+ request$: z.instanceof(Request),
103
+ response$: z.instanceof(Response),
104
+ body$: z.string(),
105
+ })
106
+ .transform((v) => {
107
+ return new DuplicateAgentResponseBody(v, {
108
+ request: v.request$,
109
+ response: v.response$,
110
+ body: v.body$,
111
+ });
112
+ });
113
+
114
+ /** @internal */
115
+ export type DuplicateAgentResponseBody$Outbound = {
116
+ message: string;
117
+ };
118
+
119
+ /** @internal */
120
+ export const DuplicateAgentResponseBody$outboundSchema: z.ZodType<
121
+ DuplicateAgentResponseBody$Outbound,
122
+ z.ZodTypeDef,
123
+ DuplicateAgentResponseBody
124
+ > = z.instanceof(DuplicateAgentResponseBody)
125
+ .transform(v => v.data$)
126
+ .pipe(z.object({
127
+ message: z.string(),
128
+ }));
@@ -8,6 +8,7 @@ export * from "./createeval.js";
8
8
  export * from "./deleteagent.js";
9
9
  export * from "./deletecontact.js";
10
10
  export * from "./deleteeval.js";
11
+ export * from "./duplicateagent.js";
11
12
  export * from "./duplicatetool.js";
12
13
  export * from "./getagent.js";
13
14
  export * from "./getagenttask.js";
@@ -1106,7 +1106,7 @@ export type CreateAgentRequestBody = {
1106
1106
  */
1107
1107
  settings: Settings;
1108
1108
  /**
1109
- * Optional array of memory store keys for the agent to access
1109
+ * Optional array of memory store identifiers for the agent to access. Accepts both memory store IDs and keys.
1110
1110
  */
1111
1111
  memoryStores?: Array<string> | undefined;
1112
1112
  /**
@@ -1117,6 +1117,7 @@ export type CreateAgentRequestBody = {
1117
1117
  * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
1118
1118
  */
1119
1119
  teamOfAgents?: Array<TeamOfAgents> | undefined;
1120
+ variables?: { [k: string]: any } | undefined;
1120
1121
  };
1121
1122
 
1122
1123
  /**
@@ -1908,14 +1909,16 @@ export type CreateAgentKnowledgeBases = {
1908
1909
  knowledgeId: string;
1909
1910
  };
1910
1911
 
1911
- export const HiddenPanels = {
1912
+ export const CreateAgentCollapsedConfigurationSections = {
1913
+ Information: "information",
1912
1914
  Model: "model",
1913
1915
  Tools: "tools",
1914
- KnowledgeBases: "knowledge_bases",
1915
- Variables: "variables",
1916
+ Context: "context",
1916
1917
  RuntimeConstraints: "runtime_constraints",
1917
1918
  } as const;
1918
- export type HiddenPanels = ClosedEnum<typeof HiddenPanels>;
1919
+ export type CreateAgentCollapsedConfigurationSections = ClosedEnum<
1920
+ typeof CreateAgentCollapsedConfigurationSections
1921
+ >;
1919
1922
 
1920
1923
  /**
1921
1924
  * Agent created successfully
@@ -1950,6 +1953,9 @@ export type CreateAgentResponseBody = {
1950
1953
  * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
1951
1954
  */
1952
1955
  path: string;
1956
+ /**
1957
+ * Array of memory store identifiers. Accepts both memory store IDs and keys.
1958
+ */
1953
1959
  memoryStores: Array<string>;
1954
1960
  /**
1955
1961
  * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
@@ -1965,9 +1971,11 @@ export type CreateAgentResponseBody = {
1965
1971
  */
1966
1972
  knowledgeBases?: Array<CreateAgentKnowledgeBases> | undefined;
1967
1973
  /**
1968
- * List of hidden collapsed panels in configuration. Duplicates are not allowed.
1974
+ * List of collapsed sections in configuration. Duplicates are not allowed.
1969
1975
  */
1970
- hiddenPanels?: Array<HiddenPanels> | undefined;
1976
+ collapsedConfigurationSections?:
1977
+ | Array<CreateAgentCollapsedConfigurationSections>
1978
+ | undefined;
1971
1979
  };
1972
1980
 
1973
1981
  /** @internal */
@@ -4835,6 +4843,7 @@ export const CreateAgentRequestBody$inboundSchema: z.ZodType<
4835
4843
  knowledge_bases: z.array(z.lazy(() => KnowledgeBases$inboundSchema))
4836
4844
  .optional(),
4837
4845
  team_of_agents: z.array(z.lazy(() => TeamOfAgents$inboundSchema)).optional(),
4846
+ variables: z.record(z.any()).optional(),
4838
4847
  }).transform((v) => {
4839
4848
  return remap$(v, {
4840
4849
  "system_prompt": "systemPrompt",
@@ -4860,6 +4869,7 @@ export type CreateAgentRequestBody$Outbound = {
4860
4869
  memory_stores?: Array<string> | undefined;
4861
4870
  knowledge_bases?: Array<KnowledgeBases$Outbound> | undefined;
4862
4871
  team_of_agents?: Array<TeamOfAgents$Outbound> | undefined;
4872
+ variables?: { [k: string]: any } | undefined;
4863
4873
  };
4864
4874
 
4865
4875
  /** @internal */
@@ -4889,6 +4899,7 @@ export const CreateAgentRequestBody$outboundSchema: z.ZodType<
4889
4899
  knowledgeBases: z.array(z.lazy(() => KnowledgeBases$outboundSchema))
4890
4900
  .optional(),
4891
4901
  teamOfAgents: z.array(z.lazy(() => TeamOfAgents$outboundSchema)).optional(),
4902
+ variables: z.record(z.any()).optional(),
4892
4903
  }).transform((v) => {
4893
4904
  return remap$(v, {
4894
4905
  systemPrompt: "system_prompt",
@@ -7141,11 +7152,13 @@ export function createAgentKnowledgeBasesFromJSON(
7141
7152
  }
7142
7153
 
7143
7154
  /** @internal */
7144
- export const HiddenPanels$inboundSchema: z.ZodNativeEnum<typeof HiddenPanels> =
7145
- z.nativeEnum(HiddenPanels);
7155
+ export const CreateAgentCollapsedConfigurationSections$inboundSchema:
7156
+ z.ZodNativeEnum<typeof CreateAgentCollapsedConfigurationSections> = z
7157
+ .nativeEnum(CreateAgentCollapsedConfigurationSections);
7146
7158
  /** @internal */
7147
- export const HiddenPanels$outboundSchema: z.ZodNativeEnum<typeof HiddenPanels> =
7148
- HiddenPanels$inboundSchema;
7159
+ export const CreateAgentCollapsedConfigurationSections$outboundSchema:
7160
+ z.ZodNativeEnum<typeof CreateAgentCollapsedConfigurationSections> =
7161
+ CreateAgentCollapsedConfigurationSections$inboundSchema;
7149
7162
 
7150
7163
  /** @internal */
7151
7164
  export const CreateAgentResponseBody$inboundSchema: z.ZodType<
@@ -7177,7 +7190,9 @@ export const CreateAgentResponseBody$inboundSchema: z.ZodType<
7177
7190
  knowledge_bases: z.array(
7178
7191
  z.lazy(() => CreateAgentKnowledgeBases$inboundSchema),
7179
7192
  ).optional(),
7180
- hidden_panels: z.array(HiddenPanels$inboundSchema).optional(),
7193
+ collapsed_configuration_sections: z.array(
7194
+ CreateAgentCollapsedConfigurationSections$inboundSchema,
7195
+ ).optional(),
7181
7196
  }).transform((v) => {
7182
7197
  return remap$(v, {
7183
7198
  "_id": "id",
@@ -7190,7 +7205,7 @@ export const CreateAgentResponseBody$inboundSchema: z.ZodType<
7190
7205
  "memory_stores": "memoryStores",
7191
7206
  "team_of_agents": "teamOfAgents",
7192
7207
  "knowledge_bases": "knowledgeBases",
7193
- "hidden_panels": "hiddenPanels",
7208
+ "collapsed_configuration_sections": "collapsedConfigurationSections",
7194
7209
  });
7195
7210
  });
7196
7211
  /** @internal */
@@ -7217,7 +7232,7 @@ export type CreateAgentResponseBody$Outbound = {
7217
7232
  metrics?: Metrics$Outbound | undefined;
7218
7233
  variables?: { [k: string]: any } | undefined;
7219
7234
  knowledge_bases?: Array<CreateAgentKnowledgeBases$Outbound> | undefined;
7220
- hidden_panels?: Array<string> | undefined;
7235
+ collapsed_configuration_sections?: Array<string> | undefined;
7221
7236
  };
7222
7237
 
7223
7238
  /** @internal */
@@ -7250,7 +7265,9 @@ export const CreateAgentResponseBody$outboundSchema: z.ZodType<
7250
7265
  knowledgeBases: z.array(
7251
7266
  z.lazy(() => CreateAgentKnowledgeBases$outboundSchema),
7252
7267
  ).optional(),
7253
- hiddenPanels: z.array(HiddenPanels$outboundSchema).optional(),
7268
+ collapsedConfigurationSections: z.array(
7269
+ CreateAgentCollapsedConfigurationSections$outboundSchema,
7270
+ ).optional(),
7254
7271
  }).transform((v) => {
7255
7272
  return remap$(v, {
7256
7273
  id: "_id",
@@ -7263,7 +7280,7 @@ export const CreateAgentResponseBody$outboundSchema: z.ZodType<
7263
7280
  memoryStores: "memory_stores",
7264
7281
  teamOfAgents: "team_of_agents",
7265
7282
  knowledgeBases: "knowledge_bases",
7266
- hiddenPanels: "hidden_panels",
7283
+ collapsedConfigurationSections: "collapsed_configuration_sections",
7267
7284
  });
7268
7285
  });
7269
7286
 
@@ -516,7 +516,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
516
516
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
517
517
  .optional(),
518
518
  updated: z.string().datetime({ offset: true }).default(
519
- "2025-11-10T12:21:01.506Z",
519
+ "2025-11-11T05:06:17.991Z",
520
520
  ).transform(v => new Date(v)),
521
521
  }).transform((v) => {
522
522
  return remap$(v, {
@@ -553,7 +553,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
553
553
  isActive: z.boolean(),
554
554
  consumption: z.lazy(() => Consumption$outboundSchema).optional(),
555
555
  created: z.date().transform(v => v.toISOString()).optional(),
556
- updated: z.date().default(() => new Date("2025-11-10T12:21:01.506Z"))
556
+ updated: z.date().default(() => new Date("2025-11-11T05:06:17.991Z"))
557
557
  .transform(v => v.toISOString()),
558
558
  }).transform((v) => {
559
559
  return remap$(v, {
@@ -167,7 +167,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
167
167
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
168
168
  .optional(),
169
169
  updated: z.string().datetime({ offset: true }).default(
170
- "2025-11-10T12:21:01.167Z",
170
+ "2025-11-11T05:06:17.576Z",
171
171
  ).transform(v => new Date(v)),
172
172
  }).transform((v) => {
173
173
  return remap$(v, {
@@ -207,7 +207,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
207
207
  tags: z.array(z.string()).optional(),
208
208
  metadata: z.record(z.any()).optional(),
209
209
  created: z.date().transform(v => v.toISOString()).optional(),
210
- updated: z.date().default(() => new Date("2025-11-10T12:21:01.167Z"))
210
+ updated: z.date().default(() => new Date("2025-11-11T05:06:17.576Z"))
211
211
  .transform(v => v.toISOString()),
212
212
  }).transform((v) => {
213
213
  return remap$(v, {
@@ -187,7 +187,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
187
187
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
188
188
  .optional(),
189
189
  updated: z.string().datetime({ offset: true }).default(
190
- "2025-11-10T12:21:01.167Z",
190
+ "2025-11-11T05:06:17.576Z",
191
191
  ).transform(v => new Date(v)),
192
192
  }).transform((v) => {
193
193
  return remap$(v, {
@@ -226,7 +226,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
226
226
  createdById: z.string().optional(),
227
227
  updatedById: z.string().optional(),
228
228
  created: z.date().transform(v => v.toISOString()).optional(),
229
- updated: z.date().default(() => new Date("2025-11-10T12:21:01.167Z"))
229
+ updated: z.date().default(() => new Date("2025-11-11T05:06:17.576Z"))
230
230
  .transform(v => v.toISOString()),
231
231
  }).transform((v) => {
232
232
  return remap$(v, {
@@ -4929,7 +4929,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
4929
4929
  source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
4930
4930
  reviewed_by_id: z.string(),
4931
4931
  reviewed_at: z.string().datetime({ offset: true }).default(
4932
- "2025-11-10T12:21:13.104Z",
4932
+ "2025-11-11T05:06:32.243Z",
4933
4933
  ).transform(v => new Date(v)),
4934
4934
  type: CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
4935
4935
  values: z.array(z.string()),
@@ -4964,7 +4964,7 @@ export const Evaluations3$outboundSchema: z.ZodType<
4964
4964
  humanReviewId: z.string(),
4965
4965
  source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
4966
4966
  reviewedById: z.string(),
4967
- reviewedAt: z.date().default(() => new Date("2025-11-10T12:21:13.104Z"))
4967
+ reviewedAt: z.date().default(() => new Date("2025-11-11T05:06:32.243Z"))
4968
4968
  .transform(v => v.toISOString()),
4969
4969
  type: CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
4970
4970
  values: z.array(z.string()),
@@ -5029,7 +5029,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
5029
5029
  source: EvaluationsSource$inboundSchema.default("orq"),
5030
5030
  reviewed_by_id: z.string(),
5031
5031
  reviewed_at: z.string().datetime({ offset: true }).default(
5032
- "2025-11-10T12:21:13.104Z",
5032
+ "2025-11-11T05:06:32.243Z",
5033
5033
  ).transform(v => new Date(v)),
5034
5034
  type: CreateDatasetItemEvaluationsType$inboundSchema,
5035
5035
  value: z.number(),
@@ -5064,7 +5064,7 @@ export const Evaluations2$outboundSchema: z.ZodType<
5064
5064
  humanReviewId: z.string(),
5065
5065
  source: EvaluationsSource$outboundSchema.default("orq"),
5066
5066
  reviewedById: z.string(),
5067
- reviewedAt: z.date().default(() => new Date("2025-11-10T12:21:13.104Z"))
5067
+ reviewedAt: z.date().default(() => new Date("2025-11-11T05:06:32.243Z"))
5068
5068
  .transform(v => v.toISOString()),
5069
5069
  type: CreateDatasetItemEvaluationsType$outboundSchema,
5070
5070
  value: z.number(),
@@ -5127,7 +5127,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
5127
5127
  source: Source$inboundSchema.default("orq"),
5128
5128
  reviewed_by_id: z.string(),
5129
5129
  reviewed_at: z.string().datetime({ offset: true }).default(
5130
- "2025-11-10T12:21:13.104Z",
5130
+ "2025-11-11T05:06:32.242Z",
5131
5131
  ).transform(v => new Date(v)),
5132
5132
  type: EvaluationsType$inboundSchema,
5133
5133
  value: z.string(),
@@ -5162,7 +5162,7 @@ export const Evaluations1$outboundSchema: z.ZodType<
5162
5162
  humanReviewId: z.string(),
5163
5163
  source: Source$outboundSchema.default("orq"),
5164
5164
  reviewedById: z.string(),
5165
- reviewedAt: z.date().default(() => new Date("2025-11-10T12:21:13.104Z"))
5165
+ reviewedAt: z.date().default(() => new Date("2025-11-11T05:06:32.242Z"))
5166
5166
  .transform(v => v.toISOString()),
5167
5167
  type: EvaluationsType$outboundSchema,
5168
5168
  value: z.string(),
@@ -5267,7 +5267,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
5267
5267
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
5268
5268
  .optional(),
5269
5269
  updated: z.string().datetime({ offset: true }).default(
5270
- "2025-11-10T12:21:01.167Z",
5270
+ "2025-11-11T05:06:17.576Z",
5271
5271
  ).transform(v => new Date(v)),
5272
5272
  }).transform((v) => {
5273
5273
  return remap$(v, {
@@ -5345,7 +5345,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
5345
5345
  createdById: z.string().optional(),
5346
5346
  updatedById: z.string().optional(),
5347
5347
  created: z.date().transform(v => v.toISOString()).optional(),
5348
- updated: z.date().default(() => new Date("2025-11-10T12:21:01.167Z"))
5348
+ updated: z.date().default(() => new Date("2025-11-11T05:06:17.576Z"))
5349
5349
  .transform(v => v.toISOString()),
5350
5350
  }).transform((v) => {
5351
5351
  return remap$(v, {
@@ -608,7 +608,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
608
608
  z.ZodTypeDef,
609
609
  unknown
610
610
  > = z.object({
611
- _id: z.string().default("01K9PVD4N6SEPC9MJ3BMWE71QF"),
611
+ _id: z.string().default("01K9RMXY2D59RZWPKAPWM3M0Q4"),
612
612
  display_name: z.string(),
613
613
  description: z.string().optional(),
614
614
  status: CreateDatasourceStatus$inboundSchema,
@@ -651,7 +651,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
651
651
  z.ZodTypeDef,
652
652
  CreateDatasourceResponseBody
653
653
  > = z.object({
654
- id: z.string().default("01K9PVD4N6SEPC9MJ3BMWE71QF"),
654
+ id: z.string().default("01K9RMXY2D59RZWPKAPWM3M0Q4"),
655
655
  displayName: z.string(),
656
656
  description: z.string().optional(),
657
657
  status: CreateDatasourceStatus$outboundSchema,
@@ -2754,8 +2754,8 @@ export const Typescript$inboundSchema: z.ZodType<
2754
2754
  > = z.object({
2755
2755
  _id: z.string(),
2756
2756
  description: z.string(),
2757
- created: z.string().default("2025-11-10T12:21:03.841Z"),
2758
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
2757
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
2758
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
2759
2759
  guardrail_config: z.union([
2760
2760
  z.lazy(() =>
2761
2761
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
@@ -2797,8 +2797,8 @@ export const Typescript$outboundSchema: z.ZodType<
2797
2797
  > = z.object({
2798
2798
  id: z.string(),
2799
2799
  description: z.string(),
2800
- created: z.string().default("2025-11-10T12:21:03.841Z"),
2801
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
2800
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
2801
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
2802
2802
  guardrailConfig: z.union([
2803
2803
  z.lazy(() =>
2804
2804
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
@@ -3079,8 +3079,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
3079
3079
  .object({
3080
3080
  _id: z.string(),
3081
3081
  description: z.string(),
3082
- created: z.string().default("2025-11-10T12:21:03.841Z"),
3083
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
3082
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
3083
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
3084
3084
  guardrail_config: z.union([
3085
3085
  z.lazy(() =>
3086
3086
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
@@ -3125,8 +3125,8 @@ export const Ragas$outboundSchema: z.ZodType<
3125
3125
  > = z.object({
3126
3126
  id: z.string(),
3127
3127
  description: z.string(),
3128
- created: z.string().default("2025-11-10T12:21:03.841Z"),
3129
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
3128
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
3129
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
3130
3130
  guardrailConfig: z.union([
3131
3131
  z.lazy(() =>
3132
3132
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
@@ -5414,8 +5414,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
5414
5414
  > = z.object({
5415
5415
  _id: z.string(),
5416
5416
  description: z.string(),
5417
- created: z.string().default("2025-11-10T12:21:03.841Z"),
5418
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
5417
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
5418
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
5419
5419
  guardrail_config: z.union([
5420
5420
  z.lazy(() =>
5421
5421
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
@@ -5528,8 +5528,8 @@ export const CreateEvalResponseBodyFunction$outboundSchema: z.ZodType<
5528
5528
  > = z.object({
5529
5529
  id: z.string(),
5530
5530
  description: z.string(),
5531
- created: z.string().default("2025-11-10T12:21:03.841Z"),
5532
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
5531
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
5532
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
5533
5533
  guardrailConfig: z.union([
5534
5534
  z.lazy(() =>
5535
5535
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
@@ -5846,8 +5846,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
5846
5846
  > = z.object({
5847
5847
  _id: z.string(),
5848
5848
  description: z.string(),
5849
- created: z.string().default("2025-11-10T12:21:03.841Z"),
5850
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
5849
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
5850
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
5851
5851
  guardrail_config: z.union([
5852
5852
  z.lazy(() =>
5853
5853
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
@@ -5888,8 +5888,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
5888
5888
  > = z.object({
5889
5889
  id: z.string(),
5890
5890
  description: z.string(),
5891
- created: z.string().default("2025-11-10T12:21:03.841Z"),
5892
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
5891
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
5892
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
5893
5893
  guardrailConfig: z.union([
5894
5894
  z.lazy(() =>
5895
5895
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
@@ -6169,8 +6169,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
6169
6169
  > = z.object({
6170
6170
  _id: z.string(),
6171
6171
  description: z.string(),
6172
- created: z.string().default("2025-11-10T12:21:03.841Z"),
6173
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
6172
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
6173
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
6174
6174
  guardrail_config: z.union([
6175
6175
  z.lazy(() =>
6176
6176
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
@@ -6217,8 +6217,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
6217
6217
  > = z.object({
6218
6218
  id: z.string(),
6219
6219
  description: z.string(),
6220
- created: z.string().default("2025-11-10T12:21:03.841Z"),
6221
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
6220
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
6221
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
6222
6222
  guardrailConfig: z.union([
6223
6223
  z.lazy(() =>
6224
6224
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
@@ -6474,8 +6474,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
6474
6474
  > = z.object({
6475
6475
  _id: z.string(),
6476
6476
  description: z.string(),
6477
- created: z.string().default("2025-11-10T12:21:03.841Z"),
6478
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
6477
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
6478
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
6479
6479
  guardrail_config: z.union([
6480
6480
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
6481
6481
  z.lazy(() =>
@@ -6514,8 +6514,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
6514
6514
  > = z.object({
6515
6515
  id: z.string(),
6516
6516
  description: z.string(),
6517
- created: z.string().default("2025-11-10T12:21:03.841Z"),
6518
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
6517
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
6518
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
6519
6519
  guardrailConfig: z.union([
6520
6520
  z.lazy(() =>
6521
6521
  CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
@@ -6753,8 +6753,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
6753
6753
  > = z.object({
6754
6754
  _id: z.string(),
6755
6755
  description: z.string(),
6756
- created: z.string().default("2025-11-10T12:21:03.841Z"),
6757
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
6756
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
6757
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
6758
6758
  guardrail_config: z.union([
6759
6759
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
6760
6760
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -6793,8 +6793,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
6793
6793
  > = z.object({
6794
6794
  id: z.string(),
6795
6795
  description: z.string(),
6796
- created: z.string().default("2025-11-10T12:21:03.841Z"),
6797
- updated: z.string().default("2025-11-10T12:21:03.841Z"),
6796
+ created: z.string().default("2025-11-11T05:06:20.287Z"),
6797
+ updated: z.string().default("2025-11-11T05:06:20.287Z"),
6798
6798
  guardrailConfig: z.union([
6799
6799
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
6800
6800
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -2177,7 +2177,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
2177
2177
  z.ZodTypeDef,
2178
2178
  unknown
2179
2179
  > = z.object({
2180
- _id: z.string().default("01K9PVD4GW4C8R9BESCSYHDRBA"),
2180
+ _id: z.string().default("01K9RMXXY114JTPZH3H1H33BJQ"),
2181
2181
  path: z.string(),
2182
2182
  key: z.string(),
2183
2183
  display_name: z.string().optional(),
@@ -2231,7 +2231,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
2231
2231
  z.ZodTypeDef,
2232
2232
  ResponseBody5
2233
2233
  > = z.object({
2234
- id: z.string().default("01K9PVD4GW4C8R9BESCSYHDRBA"),
2234
+ id: z.string().default("01K9RMXXY114JTPZH3H1H33BJQ"),
2235
2235
  path: z.string(),
2236
2236
  key: z.string(),
2237
2237
  displayName: z.string().optional(),
@@ -2477,7 +2477,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
2477
2477
  z.ZodTypeDef,
2478
2478
  unknown
2479
2479
  > = z.object({
2480
- _id: z.string().default("01K9PVD4GTM6HHJ3F9F7P8M7ZE"),
2480
+ _id: z.string().default("01K9RMXXXYN558HVKRGZ2KVEQD"),
2481
2481
  path: z.string(),
2482
2482
  key: z.string(),
2483
2483
  display_name: z.string().optional(),
@@ -2530,7 +2530,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
2530
2530
  z.ZodTypeDef,
2531
2531
  ResponseBody4
2532
2532
  > = z.object({
2533
- id: z.string().default("01K9PVD4GTM6HHJ3F9F7P8M7ZE"),
2533
+ id: z.string().default("01K9RMXXXYN558HVKRGZ2KVEQD"),
2534
2534
  path: z.string(),
2535
2535
  key: z.string(),
2536
2536
  displayName: z.string().optional(),
@@ -2847,7 +2847,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
2847
2847
  z.ZodTypeDef,
2848
2848
  unknown
2849
2849
  > = z.object({
2850
- _id: z.string().default("01K9PVD4GRT2E0VPEQNB68PCN6"),
2850
+ _id: z.string().default("01K9RMXXXV290EYHJ8Q3WC4Z9Q"),
2851
2851
  path: z.string(),
2852
2852
  key: z.string(),
2853
2853
  display_name: z.string().optional(),
@@ -2898,7 +2898,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
2898
2898
  z.ZodTypeDef,
2899
2899
  ResponseBody3
2900
2900
  > = z.object({
2901
- id: z.string().default("01K9PVD4GRT2E0VPEQNB68PCN6"),
2901
+ id: z.string().default("01K9RMXXXV290EYHJ8Q3WC4Z9Q"),
2902
2902
  path: z.string(),
2903
2903
  key: z.string(),
2904
2904
  displayName: z.string().optional(),
@@ -3010,7 +3010,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
3010
3010
  z.ZodTypeDef,
3011
3011
  unknown
3012
3012
  > = z.object({
3013
- _id: z.string().default("01K9PVD4GQ90RBT9SMJX24T2WD"),
3013
+ _id: z.string().default("01K9RMXXXS15RQERG82K0BYAVX"),
3014
3014
  path: z.string(),
3015
3015
  key: z.string(),
3016
3016
  display_name: z.string().optional(),
@@ -3062,7 +3062,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
3062
3062
  z.ZodTypeDef,
3063
3063
  ResponseBody2
3064
3064
  > = z.object({
3065
- id: z.string().default("01K9PVD4GQ90RBT9SMJX24T2WD"),
3065
+ id: z.string().default("01K9RMXXXS15RQERG82K0BYAVX"),
3066
3066
  path: z.string(),
3067
3067
  key: z.string(),
3068
3068
  displayName: z.string().optional(),
@@ -3177,7 +3177,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
3177
3177
  z.ZodTypeDef,
3178
3178
  unknown
3179
3179
  > = z.object({
3180
- _id: z.string().default("01K9PVD4GNCQBEEMJVWB9YKCJR"),
3180
+ _id: z.string().default("01K9RMXXXQ6H3PEG4VCSXE4J7E"),
3181
3181
  path: z.string(),
3182
3182
  key: z.string(),
3183
3183
  display_name: z.string().optional(),
@@ -3228,7 +3228,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
3228
3228
  z.ZodTypeDef,
3229
3229
  ResponseBody1
3230
3230
  > = z.object({
3231
- id: z.string().default("01K9PVD4GNCQBEEMJVWB9YKCJR"),
3231
+ id: z.string().default("01K9RMXXXQ6H3PEG4VCSXE4J7E"),
3232
3232
  path: z.string(),
3233
3233
  key: z.string(),
3234
3234
  displayName: z.string().optional(),