@orq-ai/node 4.0.0-rc.34 → 4.0.0-rc.36

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 (112) hide show
  1. package/bin/mcp-server.js +397 -235
  2. package/bin/mcp-server.js.map +44 -44
  3. package/docs/sdks/agents/README.md +2 -0
  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/createagent.d.ts +61 -3
  11. package/models/operations/createagent.d.ts.map +1 -1
  12. package/models/operations/createagent.js +63 -6
  13. package/models/operations/createagent.js.map +1 -1
  14. package/models/operations/createbudget.js +2 -2
  15. package/models/operations/createcontact.js +2 -2
  16. package/models/operations/createdataset.js +2 -2
  17. package/models/operations/createdatasetitem.js +8 -8
  18. package/models/operations/createdatasource.js +2 -2
  19. package/models/operations/createeval.js +28 -28
  20. package/models/operations/createtool.js +10 -10
  21. package/models/operations/duplicateagent.d.ts +29 -0
  22. package/models/operations/duplicateagent.d.ts.map +1 -1
  23. package/models/operations/duplicateagent.js +30 -2
  24. package/models/operations/duplicateagent.js.map +1 -1
  25. package/models/operations/duplicatetool.js +10 -10
  26. package/models/operations/fileget.js +2 -2
  27. package/models/operations/filelist.js +2 -2
  28. package/models/operations/fileupload.js +2 -2
  29. package/models/operations/getagent.d.ts +29 -0
  30. package/models/operations/getagent.d.ts.map +1 -1
  31. package/models/operations/getagent.js +30 -2
  32. package/models/operations/getagent.js.map +1 -1
  33. package/models/operations/getalltools.js +10 -10
  34. package/models/operations/getbudget.js +2 -2
  35. package/models/operations/getevals.js +28 -28
  36. package/models/operations/listagents.d.ts +29 -0
  37. package/models/operations/listagents.d.ts.map +1 -1
  38. package/models/operations/listagents.js +31 -2
  39. package/models/operations/listagents.js.map +1 -1
  40. package/models/operations/listbudgets.js +2 -2
  41. package/models/operations/listcontacts.js +2 -2
  42. package/models/operations/listdatasetdatapoints.js +8 -8
  43. package/models/operations/listdatasets.js +2 -2
  44. package/models/operations/listdatasources.js +2 -2
  45. package/models/operations/retrievecontact.js +2 -2
  46. package/models/operations/retrievedatapoint.js +8 -8
  47. package/models/operations/retrievedataset.js +2 -2
  48. package/models/operations/retrievedatasource.js +2 -2
  49. package/models/operations/retrievetool.js +10 -10
  50. package/models/operations/runagent.d.ts +30 -1
  51. package/models/operations/runagent.d.ts.map +1 -1
  52. package/models/operations/runagent.js +35 -6
  53. package/models/operations/runagent.js.map +1 -1
  54. package/models/operations/streamrunagent.d.ts +30 -1
  55. package/models/operations/streamrunagent.d.ts.map +1 -1
  56. package/models/operations/streamrunagent.js +36 -6
  57. package/models/operations/streamrunagent.js.map +1 -1
  58. package/models/operations/syncmcptool.js +10 -10
  59. package/models/operations/updateagent.d.ts +61 -3
  60. package/models/operations/updateagent.d.ts.map +1 -1
  61. package/models/operations/updateagent.js +62 -6
  62. package/models/operations/updateagent.js.map +1 -1
  63. package/models/operations/updatebudget.js +2 -2
  64. package/models/operations/updatecontact.js +2 -2
  65. package/models/operations/updatedatapoint.js +8 -8
  66. package/models/operations/updatedataset.js +2 -2
  67. package/models/operations/updatedatasource.js +2 -2
  68. package/models/operations/updateeval.js +28 -28
  69. package/models/operations/updatetool.js +10 -10
  70. package/package.json +1 -1
  71. package/src/lib/config.ts +3 -3
  72. package/src/mcp-server/mcp-server.ts +1 -1
  73. package/src/mcp-server/server.ts +1 -1
  74. package/src/models/operations/createagent.ts +138 -3
  75. package/src/models/operations/createbudget.ts +2 -2
  76. package/src/models/operations/createcontact.ts +2 -2
  77. package/src/models/operations/createdataset.ts +2 -2
  78. package/src/models/operations/createdatasetitem.ts +8 -8
  79. package/src/models/operations/createdatasource.ts +2 -2
  80. package/src/models/operations/createeval.ts +28 -28
  81. package/src/models/operations/createtool.ts +10 -10
  82. package/src/models/operations/duplicateagent.ts +71 -0
  83. package/src/models/operations/duplicatetool.ts +10 -10
  84. package/src/models/operations/fileget.ts +2 -2
  85. package/src/models/operations/filelist.ts +2 -2
  86. package/src/models/operations/fileupload.ts +2 -2
  87. package/src/models/operations/getagent.ts +67 -0
  88. package/src/models/operations/getalltools.ts +10 -10
  89. package/src/models/operations/getbudget.ts +2 -2
  90. package/src/models/operations/getevals.ts +28 -28
  91. package/src/models/operations/listagents.ts +69 -0
  92. package/src/models/operations/listbudgets.ts +2 -2
  93. package/src/models/operations/listcontacts.ts +2 -2
  94. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  95. package/src/models/operations/listdatasets.ts +2 -2
  96. package/src/models/operations/listdatasources.ts +2 -2
  97. package/src/models/operations/retrievecontact.ts +2 -2
  98. package/src/models/operations/retrievedatapoint.ts +8 -8
  99. package/src/models/operations/retrievedataset.ts +2 -2
  100. package/src/models/operations/retrievedatasource.ts +2 -2
  101. package/src/models/operations/retrievetool.ts +10 -10
  102. package/src/models/operations/runagent.ts +75 -1
  103. package/src/models/operations/streamrunagent.ts +77 -1
  104. package/src/models/operations/syncmcptool.ts +10 -10
  105. package/src/models/operations/updateagent.ts +145 -3
  106. package/src/models/operations/updatebudget.ts +2 -2
  107. package/src/models/operations/updatecontact.ts +2 -2
  108. package/src/models/operations/updatedatapoint.ts +8 -8
  109. package/src/models/operations/updatedataset.ts +2 -2
  110. package/src/models/operations/updatedatasource.ts +2 -2
  111. package/src/models/operations/updateeval.ts +28 -28
  112. package/src/models/operations/updatetool.ts +10 -10
@@ -319,10 +319,24 @@ export type ModelConfigurationParameters = {
319
319
  modalities?: Array<ModelConfigurationModalities> | null | undefined;
320
320
  };
321
321
 
322
+ /**
323
+ * Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
324
+ */
325
+ export type ModelConfigurationRetry = {
326
+ /**
327
+ * Number of retry attempts (1-5)
328
+ */
329
+ count?: number | undefined;
330
+ /**
331
+ * HTTP status codes that trigger retry logic
332
+ */
333
+ onCodes?: Array<number> | undefined;
334
+ };
335
+
322
336
  /**
323
337
  * @remarks
324
338
  *
325
- * Model configuration with parameters.
339
+ * Model configuration with parameters and retry settings.
326
340
  */
327
341
  export type UpdateAgentModelConfiguration2 = {
328
342
  /**
@@ -333,10 +347,14 @@ export type UpdateAgentModelConfiguration2 = {
333
347
  * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
334
348
  */
335
349
  parameters?: ModelConfigurationParameters | undefined;
350
+ /**
351
+ * Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
352
+ */
353
+ retry?: ModelConfigurationRetry | undefined;
336
354
  };
337
355
 
338
356
  /**
339
- * Model configuration for agent execution. Can be a simple model ID string or a configuration object with optional behavior parameters.
357
+ * Model configuration for agent execution. Can be a simple model ID string or a configuration object with optional behavior parameters and retry settings.
340
358
  */
341
359
  export type UpdateAgentModelConfiguration =
342
360
  | UpdateAgentModelConfiguration2
@@ -1219,7 +1237,7 @@ export type UpdateAgentRequestBody = {
1219
1237
  */
1220
1238
  systemPrompt?: string | undefined;
1221
1239
  /**
1222
- * Model configuration for agent execution. Can be a simple model ID string or a configuration object with optional behavior parameters.
1240
+ * Model configuration for agent execution. Can be a simple model ID string or a configuration object with optional behavior parameters and retry settings.
1223
1241
  */
1224
1242
  model?: UpdateAgentModelConfiguration2 | string | undefined;
1225
1243
  /**
@@ -1719,6 +1737,20 @@ export type UpdateAgentParameters = {
1719
1737
  modalities?: Array<UpdateAgentModalities> | null | undefined;
1720
1738
  };
1721
1739
 
1740
+ /**
1741
+ * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
1742
+ */
1743
+ export type UpdateAgentRetry = {
1744
+ /**
1745
+ * Number of retry attempts (1-5)
1746
+ */
1747
+ count?: number | undefined;
1748
+ /**
1749
+ * HTTP status codes that trigger retry logic
1750
+ */
1751
+ onCodes?: Array<number> | undefined;
1752
+ };
1753
+
1722
1754
  /**
1723
1755
  * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1724
1756
  */
@@ -2090,6 +2122,10 @@ export type UpdateAgentModel = {
2090
2122
  * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
2091
2123
  */
2092
2124
  parameters?: UpdateAgentParameters | undefined;
2125
+ /**
2126
+ * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
2127
+ */
2128
+ retry?: UpdateAgentRetry | undefined;
2093
2129
  /**
2094
2130
  * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
2095
2131
  */
@@ -2960,6 +2996,56 @@ export function modelConfigurationParametersFromJSON(
2960
2996
  );
2961
2997
  }
2962
2998
 
2999
+ /** @internal */
3000
+ export const ModelConfigurationRetry$inboundSchema: z.ZodType<
3001
+ ModelConfigurationRetry,
3002
+ z.ZodTypeDef,
3003
+ unknown
3004
+ > = z.object({
3005
+ count: z.number().default(3),
3006
+ on_codes: z.array(z.number()).optional(),
3007
+ }).transform((v) => {
3008
+ return remap$(v, {
3009
+ "on_codes": "onCodes",
3010
+ });
3011
+ });
3012
+ /** @internal */
3013
+ export type ModelConfigurationRetry$Outbound = {
3014
+ count: number;
3015
+ on_codes?: Array<number> | undefined;
3016
+ };
3017
+
3018
+ /** @internal */
3019
+ export const ModelConfigurationRetry$outboundSchema: z.ZodType<
3020
+ ModelConfigurationRetry$Outbound,
3021
+ z.ZodTypeDef,
3022
+ ModelConfigurationRetry
3023
+ > = z.object({
3024
+ count: z.number().default(3),
3025
+ onCodes: z.array(z.number()).optional(),
3026
+ }).transform((v) => {
3027
+ return remap$(v, {
3028
+ onCodes: "on_codes",
3029
+ });
3030
+ });
3031
+
3032
+ export function modelConfigurationRetryToJSON(
3033
+ modelConfigurationRetry: ModelConfigurationRetry,
3034
+ ): string {
3035
+ return JSON.stringify(
3036
+ ModelConfigurationRetry$outboundSchema.parse(modelConfigurationRetry),
3037
+ );
3038
+ }
3039
+ export function modelConfigurationRetryFromJSON(
3040
+ jsonString: string,
3041
+ ): SafeParseResult<ModelConfigurationRetry, SDKValidationError> {
3042
+ return safeParse(
3043
+ jsonString,
3044
+ (x) => ModelConfigurationRetry$inboundSchema.parse(JSON.parse(x)),
3045
+ `Failed to parse 'ModelConfigurationRetry' from JSON`,
3046
+ );
3047
+ }
3048
+
2963
3049
  /** @internal */
2964
3050
  export const UpdateAgentModelConfiguration2$inboundSchema: z.ZodType<
2965
3051
  UpdateAgentModelConfiguration2,
@@ -2969,11 +3055,13 @@ export const UpdateAgentModelConfiguration2$inboundSchema: z.ZodType<
2969
3055
  id: z.string(),
2970
3056
  parameters: z.lazy(() => ModelConfigurationParameters$inboundSchema)
2971
3057
  .optional(),
3058
+ retry: z.lazy(() => ModelConfigurationRetry$inboundSchema).optional(),
2972
3059
  });
2973
3060
  /** @internal */
2974
3061
  export type UpdateAgentModelConfiguration2$Outbound = {
2975
3062
  id: string;
2976
3063
  parameters?: ModelConfigurationParameters$Outbound | undefined;
3064
+ retry?: ModelConfigurationRetry$Outbound | undefined;
2977
3065
  };
2978
3066
 
2979
3067
  /** @internal */
@@ -2985,6 +3073,7 @@ export const UpdateAgentModelConfiguration2$outboundSchema: z.ZodType<
2985
3073
  id: z.string(),
2986
3074
  parameters: z.lazy(() => ModelConfigurationParameters$outboundSchema)
2987
3075
  .optional(),
3076
+ retry: z.lazy(() => ModelConfigurationRetry$outboundSchema).optional(),
2988
3077
  });
2989
3078
 
2990
3079
  export function updateAgentModelConfiguration2ToJSON(
@@ -6895,6 +6984,56 @@ export function updateAgentParametersFromJSON(
6895
6984
  );
6896
6985
  }
6897
6986
 
6987
+ /** @internal */
6988
+ export const UpdateAgentRetry$inboundSchema: z.ZodType<
6989
+ UpdateAgentRetry,
6990
+ z.ZodTypeDef,
6991
+ unknown
6992
+ > = z.object({
6993
+ count: z.number().default(3),
6994
+ on_codes: z.array(z.number()).optional(),
6995
+ }).transform((v) => {
6996
+ return remap$(v, {
6997
+ "on_codes": "onCodes",
6998
+ });
6999
+ });
7000
+ /** @internal */
7001
+ export type UpdateAgentRetry$Outbound = {
7002
+ count: number;
7003
+ on_codes?: Array<number> | undefined;
7004
+ };
7005
+
7006
+ /** @internal */
7007
+ export const UpdateAgentRetry$outboundSchema: z.ZodType<
7008
+ UpdateAgentRetry$Outbound,
7009
+ z.ZodTypeDef,
7010
+ UpdateAgentRetry
7011
+ > = z.object({
7012
+ count: z.number().default(3),
7013
+ onCodes: z.array(z.number()).optional(),
7014
+ }).transform((v) => {
7015
+ return remap$(v, {
7016
+ onCodes: "on_codes",
7017
+ });
7018
+ });
7019
+
7020
+ export function updateAgentRetryToJSON(
7021
+ updateAgentRetry: UpdateAgentRetry,
7022
+ ): string {
7023
+ return JSON.stringify(
7024
+ UpdateAgentRetry$outboundSchema.parse(updateAgentRetry),
7025
+ );
7026
+ }
7027
+ export function updateAgentRetryFromJSON(
7028
+ jsonString: string,
7029
+ ): SafeParseResult<UpdateAgentRetry, SDKValidationError> {
7030
+ return safeParse(
7031
+ jsonString,
7032
+ (x) => UpdateAgentRetry$inboundSchema.parse(JSON.parse(x)),
7033
+ `Failed to parse 'UpdateAgentRetry' from JSON`,
7034
+ );
7035
+ }
7036
+
6898
7037
  /** @internal */
6899
7038
  export const UpdateAgentFallbackModelConfigurationAgentsVoice$inboundSchema:
6900
7039
  z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsVoice> = z
@@ -7990,6 +8129,7 @@ export const UpdateAgentModel$inboundSchema: z.ZodType<
7990
8129
  id: z.string(),
7991
8130
  integration_id: z.nullable(z.string()).optional(),
7992
8131
  parameters: z.lazy(() => UpdateAgentParameters$inboundSchema).optional(),
8132
+ retry: z.lazy(() => UpdateAgentRetry$inboundSchema).optional(),
7993
8133
  fallback_models: z.nullable(
7994
8134
  z.array(z.union([
7995
8135
  z.lazy(() => UpdateAgentFallbackModelConfigurationAgents2$inboundSchema),
@@ -8007,6 +8147,7 @@ export type UpdateAgentModel$Outbound = {
8007
8147
  id: string;
8008
8148
  integration_id?: string | null | undefined;
8009
8149
  parameters?: UpdateAgentParameters$Outbound | undefined;
8150
+ retry?: UpdateAgentRetry$Outbound | undefined;
8010
8151
  fallback_models?:
8011
8152
  | Array<UpdateAgentFallbackModelConfigurationAgents2$Outbound | string>
8012
8153
  | null
@@ -8022,6 +8163,7 @@ export const UpdateAgentModel$outboundSchema: z.ZodType<
8022
8163
  id: z.string(),
8023
8164
  integrationId: z.nullable(z.string()).optional(),
8024
8165
  parameters: z.lazy(() => UpdateAgentParameters$outboundSchema).optional(),
8166
+ retry: z.lazy(() => UpdateAgentRetry$outboundSchema).optional(),
8025
8167
  fallbackModels: z.nullable(
8026
8168
  z.array(z.union([
8027
8169
  z.lazy(() => UpdateAgentFallbackModelConfigurationAgents2$outboundSchema),
@@ -436,7 +436,7 @@ export const UpdateBudgetResponseBody$inboundSchema: z.ZodType<
436
436
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
437
437
  .optional(),
438
438
  updated: z.string().datetime({ offset: true }).default(
439
- "2025-11-14T14:03:09.655Z",
439
+ "2025-11-15T09:08:59.189Z",
440
440
  ).transform(v => new Date(v)),
441
441
  }).transform((v) => {
442
442
  return remap$(v, {
@@ -473,7 +473,7 @@ export const UpdateBudgetResponseBody$outboundSchema: z.ZodType<
473
473
  isActive: z.boolean(),
474
474
  consumption: z.lazy(() => UpdateBudgetConsumption$outboundSchema).optional(),
475
475
  created: z.date().transform(v => v.toISOString()).optional(),
476
- updated: z.date().default(() => new Date("2025-11-14T14:03:09.655Z"))
476
+ updated: z.date().default(() => new Date("2025-11-15T09:08:59.189Z"))
477
477
  .transform(v => v.toISOString()),
478
478
  }).transform((v) => {
479
479
  return remap$(v, {
@@ -214,7 +214,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
214
214
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
215
215
  .optional(),
216
216
  updated: z.string().datetime({ offset: true }).default(
217
- "2025-11-14T14:03:09.284Z",
217
+ "2025-11-15T09:08:58.855Z",
218
218
  ).transform(v => new Date(v)),
219
219
  }).transform((v) => {
220
220
  return remap$(v, {
@@ -251,7 +251,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
251
251
  tags: z.array(z.string()).optional(),
252
252
  metadata: z.record(z.any()).optional(),
253
253
  created: z.date().transform(v => v.toISOString()).optional(),
254
- updated: z.date().default(() => new Date("2025-11-14T14:03:09.284Z"))
254
+ updated: z.date().default(() => new Date("2025-11-15T09:08:58.855Z"))
255
255
  .transform(v => v.toISOString()),
256
256
  }).transform((v) => {
257
257
  return remap$(v, {
@@ -4893,7 +4893,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
4893
4893
  .default("orq"),
4894
4894
  reviewed_by_id: z.string(),
4895
4895
  reviewed_at: z.string().datetime({ offset: true }).default(
4896
- "2025-11-14T14:03:21.030Z",
4896
+ "2025-11-15T09:09:09.966Z",
4897
4897
  ).transform(v => new Date(v)),
4898
4898
  type: UpdateDatapointEvaluationsDatasetsResponseType$inboundSchema,
4899
4899
  values: z.array(z.string()),
@@ -4930,7 +4930,7 @@ export const UpdateDatapointEvaluations3$outboundSchema: z.ZodType<
4930
4930
  source: UpdateDatapointEvaluationsDatasetsResponseSource$outboundSchema
4931
4931
  .default("orq"),
4932
4932
  reviewedById: z.string(),
4933
- reviewedAt: z.date().default(() => new Date("2025-11-14T14:03:21.030Z"))
4933
+ reviewedAt: z.date().default(() => new Date("2025-11-15T09:09:09.966Z"))
4934
4934
  .transform(v => v.toISOString()),
4935
4935
  type: UpdateDatapointEvaluationsDatasetsResponseType$outboundSchema,
4936
4936
  values: z.array(z.string()),
@@ -5003,7 +5003,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
5003
5003
  source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
5004
5004
  reviewed_by_id: z.string(),
5005
5005
  reviewed_at: z.string().datetime({ offset: true }).default(
5006
- "2025-11-14T14:03:21.030Z",
5006
+ "2025-11-15T09:09:09.966Z",
5007
5007
  ).transform(v => new Date(v)),
5008
5008
  type: UpdateDatapointEvaluationsDatasetsType$inboundSchema,
5009
5009
  value: z.number(),
@@ -5041,7 +5041,7 @@ export const UpdateDatapointEvaluations2$outboundSchema: z.ZodType<
5041
5041
  "orq",
5042
5042
  ),
5043
5043
  reviewedById: z.string(),
5044
- reviewedAt: z.date().default(() => new Date("2025-11-14T14:03:21.030Z"))
5044
+ reviewedAt: z.date().default(() => new Date("2025-11-15T09:09:09.966Z"))
5045
5045
  .transform(v => v.toISOString()),
5046
5046
  type: UpdateDatapointEvaluationsDatasetsType$outboundSchema,
5047
5047
  value: z.number(),
@@ -5112,7 +5112,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
5112
5112
  source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
5113
5113
  reviewed_by_id: z.string(),
5114
5114
  reviewed_at: z.string().datetime({ offset: true }).default(
5115
- "2025-11-14T14:03:21.029Z",
5115
+ "2025-11-15T09:09:09.965Z",
5116
5116
  ).transform(v => new Date(v)),
5117
5117
  type: UpdateDatapointEvaluationsType$inboundSchema,
5118
5118
  value: z.string(),
@@ -5147,7 +5147,7 @@ export const UpdateDatapointEvaluations1$outboundSchema: z.ZodType<
5147
5147
  humanReviewId: z.string(),
5148
5148
  source: UpdateDatapointEvaluationsSource$outboundSchema.default("orq"),
5149
5149
  reviewedById: z.string(),
5150
- reviewedAt: z.date().default(() => new Date("2025-11-14T14:03:21.029Z"))
5150
+ reviewedAt: z.date().default(() => new Date("2025-11-15T09:09:09.965Z"))
5151
5151
  .transform(v => v.toISOString()),
5152
5152
  type: UpdateDatapointEvaluationsType$outboundSchema,
5153
5153
  value: z.string(),
@@ -5262,7 +5262,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
5262
5262
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
5263
5263
  .optional(),
5264
5264
  updated: z.string().datetime({ offset: true }).default(
5265
- "2025-11-14T14:03:09.284Z",
5265
+ "2025-11-15T09:08:58.855Z",
5266
5266
  ).transform(v => new Date(v)),
5267
5267
  }).transform((v) => {
5268
5268
  return remap$(v, {
@@ -5340,7 +5340,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
5340
5340
  createdById: z.string().optional(),
5341
5341
  updatedById: z.string().optional(),
5342
5342
  created: z.date().transform(v => v.toISOString()).optional(),
5343
- updated: z.date().default(() => new Date("2025-11-14T14:03:09.284Z"))
5343
+ updated: z.date().default(() => new Date("2025-11-15T09:08:58.855Z"))
5344
5344
  .transform(v => v.toISOString()),
5345
5345
  }).transform((v) => {
5346
5346
  return remap$(v, {
@@ -256,7 +256,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
256
256
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
257
257
  .optional(),
258
258
  updated: z.string().datetime({ offset: true }).default(
259
- "2025-11-14T14:03:09.284Z",
259
+ "2025-11-15T09:08:58.855Z",
260
260
  ).transform(v => new Date(v)),
261
261
  }).transform((v) => {
262
262
  return remap$(v, {
@@ -295,7 +295,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
295
295
  createdById: z.string().optional(),
296
296
  updatedById: z.string().optional(),
297
297
  created: z.date().transform(v => v.toISOString()).optional(),
298
- updated: z.date().default(() => new Date("2025-11-14T14:03:09.284Z"))
298
+ updated: z.date().default(() => new Date("2025-11-15T09:08:58.855Z"))
299
299
  .transform(v => v.toISOString()),
300
300
  }).transform((v) => {
301
301
  return remap$(v, {
@@ -202,7 +202,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
202
202
  z.ZodTypeDef,
203
203
  unknown
204
204
  > = z.object({
205
- _id: z.string().default("01KA1AV0Y2CGQB482WE64EVRZJ"),
205
+ _id: z.string().default("01KA3CD2JCTV9NAHERKAT1GJ1K"),
206
206
  display_name: z.string(),
207
207
  description: z.string().optional(),
208
208
  status: UpdateDatasourceStatus$inboundSchema,
@@ -245,7 +245,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
245
245
  z.ZodTypeDef,
246
246
  UpdateDatasourceResponseBody
247
247
  > = z.object({
248
- id: z.string().default("01KA1AV0Y2CGQB482WE64EVRZJ"),
248
+ id: z.string().default("01KA3CD2JCTV9NAHERKAT1GJ1K"),
249
249
  displayName: z.string(),
250
250
  description: z.string().optional(),
251
251
  status: UpdateDatasourceStatus$outboundSchema,
@@ -2990,8 +2990,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
2990
2990
  > = z.object({
2991
2991
  _id: z.string(),
2992
2992
  description: z.string(),
2993
- created: z.string().default("2025-11-14T14:03:11.889Z"),
2994
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
2993
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
2994
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
2995
2995
  guardrail_config: z.union([
2996
2996
  z.lazy(() =>
2997
2997
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
@@ -3033,8 +3033,8 @@ export const ResponseBodyTypescript$outboundSchema: z.ZodType<
3033
3033
  > = z.object({
3034
3034
  id: z.string(),
3035
3035
  description: z.string(),
3036
- created: z.string().default("2025-11-14T14:03:11.889Z"),
3037
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
3036
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
3037
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
3038
3038
  guardrailConfig: z.union([
3039
3039
  z.lazy(() =>
3040
3040
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
@@ -3324,8 +3324,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
3324
3324
  > = z.object({
3325
3325
  _id: z.string(),
3326
3326
  description: z.string(),
3327
- created: z.string().default("2025-11-14T14:03:11.889Z"),
3328
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
3327
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
3328
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
3329
3329
  guardrail_config: z.union([
3330
3330
  z.lazy(() =>
3331
3331
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
@@ -3370,8 +3370,8 @@ export const ResponseBodyRagas$outboundSchema: z.ZodType<
3370
3370
  > = z.object({
3371
3371
  id: z.string(),
3372
3372
  description: z.string(),
3373
- created: z.string().default("2025-11-14T14:03:11.889Z"),
3374
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
3373
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
3374
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
3375
3375
  guardrailConfig: z.union([
3376
3376
  z.lazy(() =>
3377
3377
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
@@ -5709,8 +5709,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
5709
5709
  > = z.object({
5710
5710
  _id: z.string(),
5711
5711
  description: z.string(),
5712
- created: z.string().default("2025-11-14T14:03:11.889Z"),
5713
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
5712
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
5713
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
5714
5714
  guardrail_config: z.union([
5715
5715
  z.lazy(() =>
5716
5716
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
@@ -5823,8 +5823,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
5823
5823
  > = z.object({
5824
5824
  id: z.string(),
5825
5825
  description: z.string(),
5826
- created: z.string().default("2025-11-14T14:03:11.889Z"),
5827
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
5826
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
5827
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
5828
5828
  guardrailConfig: z.union([
5829
5829
  z.lazy(() =>
5830
5830
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
@@ -6140,8 +6140,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
6140
6140
  > = z.object({
6141
6141
  _id: z.string(),
6142
6142
  description: z.string(),
6143
- created: z.string().default("2025-11-14T14:03:11.889Z"),
6144
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
6143
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
6144
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
6145
6145
  guardrail_config: z.union([
6146
6146
  z.lazy(() =>
6147
6147
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
@@ -6182,8 +6182,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
6182
6182
  > = z.object({
6183
6183
  id: z.string(),
6184
6184
  description: z.string(),
6185
- created: z.string().default("2025-11-14T14:03:11.889Z"),
6186
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
6185
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
6186
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
6187
6187
  guardrailConfig: z.union([
6188
6188
  z.lazy(() =>
6189
6189
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
@@ -6468,8 +6468,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
6468
6468
  > = z.object({
6469
6469
  _id: z.string(),
6470
6470
  description: z.string(),
6471
- created: z.string().default("2025-11-14T14:03:11.889Z"),
6472
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
6471
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
6472
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
6473
6473
  guardrail_config: z.union([
6474
6474
  z.lazy(() =>
6475
6475
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
@@ -6516,8 +6516,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
6516
6516
  > = z.object({
6517
6517
  id: z.string(),
6518
6518
  description: z.string(),
6519
- created: z.string().default("2025-11-14T14:03:11.889Z"),
6520
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
6519
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
6520
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
6521
6521
  guardrailConfig: z.union([
6522
6522
  z.lazy(() =>
6523
6523
  UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
@@ -6786,8 +6786,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
6786
6786
  > = z.object({
6787
6787
  _id: z.string(),
6788
6788
  description: z.string(),
6789
- created: z.string().default("2025-11-14T14:03:11.889Z"),
6790
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
6789
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
6790
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
6791
6791
  guardrail_config: z.union([
6792
6792
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
6793
6793
  z.lazy(() =>
@@ -6826,8 +6826,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
6826
6826
  > = z.object({
6827
6827
  id: z.string(),
6828
6828
  description: z.string(),
6829
- created: z.string().default("2025-11-14T14:03:11.889Z"),
6830
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
6829
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
6830
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
6831
6831
  guardrailConfig: z.union([
6832
6832
  z.lazy(() =>
6833
6833
  UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
@@ -7066,8 +7066,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
7066
7066
  > = z.object({
7067
7067
  _id: z.string(),
7068
7068
  description: z.string(),
7069
- created: z.string().default("2025-11-14T14:03:11.889Z"),
7070
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
7069
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
7070
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
7071
7071
  guardrail_config: z.union([
7072
7072
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
7073
7073
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -7106,8 +7106,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
7106
7106
  > = z.object({
7107
7107
  id: z.string(),
7108
7108
  description: z.string(),
7109
- created: z.string().default("2025-11-14T14:03:11.889Z"),
7110
- updated: z.string().default("2025-11-14T14:03:11.889Z"),
7109
+ created: z.string().default("2025-11-15T09:09:00.897Z"),
7110
+ updated: z.string().default("2025-11-15T09:09:00.897Z"),
7111
7111
  guardrailConfig: z.union([
7112
7112
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
7113
7113
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -2830,7 +2830,7 @@ export const UpdateToolResponseBody5$inboundSchema: z.ZodType<
2830
2830
  z.ZodTypeDef,
2831
2831
  unknown
2832
2832
  > = z.object({
2833
- _id: z.string().default("tool_01KA1AV0S93QYTM0N94B272K65"),
2833
+ _id: z.string().default("tool_01KA3CD2DJZQD3PTRVT5MYKWDP"),
2834
2834
  path: z.string(),
2835
2835
  key: z.string(),
2836
2836
  display_name: z.string().optional(),
@@ -2884,7 +2884,7 @@ export const UpdateToolResponseBody5$outboundSchema: z.ZodType<
2884
2884
  z.ZodTypeDef,
2885
2885
  UpdateToolResponseBody5
2886
2886
  > = z.object({
2887
- id: z.string().default("tool_01KA1AV0S93QYTM0N94B272K65"),
2887
+ id: z.string().default("tool_01KA3CD2DJZQD3PTRVT5MYKWDP"),
2888
2888
  path: z.string(),
2889
2889
  key: z.string(),
2890
2890
  displayName: z.string().optional(),
@@ -3177,7 +3177,7 @@ export const UpdateToolResponseBody4$inboundSchema: z.ZodType<
3177
3177
  z.ZodTypeDef,
3178
3178
  unknown
3179
3179
  > = z.object({
3180
- _id: z.string().default("tool_01KA1AV0S789XAY99R37H6N1KF"),
3180
+ _id: z.string().default("tool_01KA3CD2DG95EV2NF9T9HCPZS4"),
3181
3181
  path: z.string(),
3182
3182
  key: z.string(),
3183
3183
  display_name: z.string().optional(),
@@ -3230,7 +3230,7 @@ export const UpdateToolResponseBody4$outboundSchema: z.ZodType<
3230
3230
  z.ZodTypeDef,
3231
3231
  UpdateToolResponseBody4
3232
3232
  > = z.object({
3233
- id: z.string().default("tool_01KA1AV0S789XAY99R37H6N1KF"),
3233
+ id: z.string().default("tool_01KA3CD2DG95EV2NF9T9HCPZS4"),
3234
3234
  path: z.string(),
3235
3235
  key: z.string(),
3236
3236
  displayName: z.string().optional(),
@@ -3605,7 +3605,7 @@ export const UpdateToolResponseBody3$inboundSchema: z.ZodType<
3605
3605
  z.ZodTypeDef,
3606
3606
  unknown
3607
3607
  > = z.object({
3608
- _id: z.string().default("tool_01KA1AV0S4DKCD9G09GY61NFWB"),
3608
+ _id: z.string().default("tool_01KA3CD2DDEWH62CQZT25SEXJA"),
3609
3609
  path: z.string(),
3610
3610
  key: z.string(),
3611
3611
  display_name: z.string().optional(),
@@ -3658,7 +3658,7 @@ export const UpdateToolResponseBody3$outboundSchema: z.ZodType<
3658
3658
  z.ZodTypeDef,
3659
3659
  UpdateToolResponseBody3
3660
3660
  > = z.object({
3661
- id: z.string().default("tool_01KA1AV0S4DKCD9G09GY61NFWB"),
3661
+ id: z.string().default("tool_01KA3CD2DDEWH62CQZT25SEXJA"),
3662
3662
  path: z.string(),
3663
3663
  key: z.string(),
3664
3664
  displayName: z.string().optional(),
@@ -3838,7 +3838,7 @@ export const UpdateToolResponseBody2$inboundSchema: z.ZodType<
3838
3838
  z.ZodTypeDef,
3839
3839
  unknown
3840
3840
  > = z.object({
3841
- _id: z.string().default("tool_01KA1AV0S3QY1YYZ0AAETZQG4Q"),
3841
+ _id: z.string().default("tool_01KA3CD2DCKCX8NMGEYSTMM9RD"),
3842
3842
  path: z.string(),
3843
3843
  key: z.string(),
3844
3844
  display_name: z.string().optional(),
@@ -3890,7 +3890,7 @@ export const UpdateToolResponseBody2$outboundSchema: z.ZodType<
3890
3890
  z.ZodTypeDef,
3891
3891
  UpdateToolResponseBody2
3892
3892
  > = z.object({
3893
- id: z.string().default("tool_01KA1AV0S3QY1YYZ0AAETZQG4Q"),
3893
+ id: z.string().default("tool_01KA3CD2DCKCX8NMGEYSTMM9RD"),
3894
3894
  path: z.string(),
3895
3895
  key: z.string(),
3896
3896
  displayName: z.string().optional(),
@@ -4084,7 +4084,7 @@ export const UpdateToolResponseBody1$inboundSchema: z.ZodType<
4084
4084
  z.ZodTypeDef,
4085
4085
  unknown
4086
4086
  > = z.object({
4087
- _id: z.string().default("tool_01KA1AV0S26026B227X6G8S3Q5"),
4087
+ _id: z.string().default("tool_01KA3CD2DB72DDH2RNAV2F0306"),
4088
4088
  path: z.string(),
4089
4089
  key: z.string(),
4090
4090
  display_name: z.string().optional(),
@@ -4135,7 +4135,7 @@ export const UpdateToolResponseBody1$outboundSchema: z.ZodType<
4135
4135
  z.ZodTypeDef,
4136
4136
  UpdateToolResponseBody1
4137
4137
  > = z.object({
4138
- id: z.string().default("tool_01KA1AV0S26026B227X6G8S3Q5"),
4138
+ id: z.string().default("tool_01KA3CD2DB72DDH2RNAV2F0306"),
4139
4139
  path: z.string(),
4140
4140
  key: z.string(),
4141
4141
  displayName: z.string().optional(),