@orq-ai/node 4.17.24 → 4.17.26

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 (78) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +3 -3
  3. package/lib/config.js +3 -3
  4. package/models/components/reasoningpart.js +1 -1
  5. package/models/operations/createtool.js +4 -4
  6. package/models/operations/getalltools.js +4 -4
  7. package/models/operations/getv2humanevalsets.js +2 -2
  8. package/models/operations/getv2humanevalsetsid.js +2 -2
  9. package/models/operations/listdeploymentversions.js +1 -1
  10. package/models/operations/patchv2humanevalsetsid.js +2 -2
  11. package/models/operations/postv2humanevalsets.js +2 -2
  12. package/models/operations/retrievetool.js +4 -4
  13. package/models/operations/runagent.js +1 -1
  14. package/models/operations/streamrunagent.js +1 -1
  15. package/models/operations/updatetool.js +4 -4
  16. package/package.json +9 -9
  17. package/packages/orq-rc/src/funcs/experimentsExecuteRun.ts +1 -1
  18. package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +1 -1
  19. package/packages/orq-rc/src/lib/config.ts +3 -3
  20. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +0 -3
  21. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +30 -37
  22. package/packages/orq-rc/src/models/components/agenttaskconfig.ts +4 -41
  23. package/packages/orq-rc/src/models/components/budgetlimits.ts +1 -1
  24. package/packages/orq-rc/src/models/components/budgetlimitsrestresponse.ts +1 -1
  25. package/packages/orq-rc/src/models/components/budgetrestresponse.ts +1 -1
  26. package/packages/orq-rc/src/models/components/cell.ts +22 -39
  27. package/packages/orq-rc/src/models/components/createbudgetrequest.ts +1 -1
  28. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +5 -0
  29. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +5 -0
  30. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +5 -0
  31. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +5 -0
  32. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +5 -0
  33. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +5 -0
  34. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +5 -0
  35. package/packages/orq-rc/src/models/components/fileentry.ts +3 -3
  36. package/packages/orq-rc/src/models/components/identity.ts +1 -1
  37. package/packages/orq-rc/src/models/components/mcptoolexposure.ts +9 -0
  38. package/packages/orq-rc/src/models/components/metricsummary.ts +5 -2
  39. package/packages/orq-rc/src/models/components/patchevalcellrequest.ts +3 -19
  40. package/packages/orq-rc/src/models/components/patchreviewcellrequest.ts +6 -25
  41. package/packages/orq-rc/src/models/components/patchtaskcellrequest.ts +3 -23
  42. package/packages/orq-rc/src/models/components/pricing.ts +12 -0
  43. package/packages/orq-rc/src/models/components/pricingvariant.ts +12 -0
  44. package/packages/orq-rc/src/models/components/prompttaskconfig.ts +26 -184
  45. package/packages/orq-rc/src/models/components/queryrow.ts +11 -6
  46. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  47. package/packages/orq-rc/src/models/components/run.ts +14 -8
  48. package/packages/orq-rc/src/models/components/updateruncellrequest.ts +3 -23
  49. package/packages/orq-rc/src/models/errors/errorresponse.ts +2 -2
  50. package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -3
  51. package/packages/orq-rc/src/models/operations/createeval.ts +18 -0
  52. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  53. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  54. package/packages/orq-rc/src/models/operations/geteval.ts +40 -0
  55. package/packages/orq-rc/src/models/operations/listagents.ts +0 -3
  56. package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
  57. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +0 -3
  58. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  59. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  60. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  61. package/packages/orq-rc/src/models/operations/updateagent.ts +0 -3
  62. package/packages/orq-rc/src/models/operations/updateeval.ts +6 -0
  63. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  64. package/packages/orq-rc/src/sdk/experiments.ts +1 -1
  65. package/packages/orq-rc/src/sdk/models.ts +1 -1
  66. package/src/lib/config.ts +3 -3
  67. package/src/models/components/reasoningpart.ts +1 -1
  68. package/src/models/operations/createtool.ts +4 -4
  69. package/src/models/operations/getalltools.ts +4 -4
  70. package/src/models/operations/getv2humanevalsets.ts +2 -2
  71. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  72. package/src/models/operations/listdeploymentversions.ts +1 -1
  73. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  74. package/src/models/operations/postv2humanevalsets.ts +2 -2
  75. package/src/models/operations/retrievetool.ts +4 -4
  76. package/src/models/operations/runagent.ts +1 -1
  77. package/src/models/operations/streamrunagent.ts +1 -1
  78. package/src/models/operations/updatetool.ts +4 -4
@@ -12,15 +12,6 @@ import { CellProgress, CellProgress$inboundSchema } from "./cellprogress.js";
12
12
  import { CellStatus, CellStatus$inboundSchema } from "./cellstatus.js";
13
13
  import { CellType, CellType$inboundSchema } from "./celltype.js";
14
14
 
15
- /**
16
- * Stored documents are returned as-is; strings are wrapped as {"text"},
17
- *
18
- * @remarks
19
- * arrays as {"messages"} on messages cells and {"items"} elsewhere, other
20
- * scalars as {"value"}.
21
- */
22
- export type CellValue = {};
23
-
24
15
  export type Cell = {
25
16
  cellId?: string | undefined;
26
17
  rowId?: string | undefined;
@@ -32,38 +23,30 @@ export type Cell = {
32
23
  *
33
24
  * @remarks
34
25
  * arrays as {"messages"} on messages cells and {"items"} elsewhere, other
35
- * scalars as {"value"}.
26
+ * scalars as {"value"}. Null for a cell that has no value yet.
27
+ */
28
+ value?: { [k: string]: any } | null | undefined;
29
+ /**
30
+ * Null when the cell holds no trace, response or session references.
36
31
  */
37
- value?: CellValue | undefined;
38
- artifacts?: ArtifactRefs | undefined;
39
- progress?: CellProgress | undefined;
32
+ artifacts?: ArtifactRefs | null | undefined;
33
+ /**
34
+ * Only present while the cell is running.
35
+ */
36
+ progress?: CellProgress | null | undefined;
40
37
  errorMessage?: string | undefined;
41
38
  type?: CellType | undefined;
42
39
  /**
43
40
  * Task column an evaluator, metric or review cell belongs to.
44
41
  */
45
42
  taskColumnId?: string | undefined;
46
- createdAt?: Date | undefined;
47
- updatedAt?: Date | undefined;
43
+ /**
44
+ * Null on cells written before timestamps were recorded.
45
+ */
46
+ createdAt?: Date | null | undefined;
47
+ updatedAt?: Date | null | undefined;
48
48
  };
49
49
 
50
- /** @internal */
51
- export const CellValue$inboundSchema: z.ZodType<
52
- CellValue,
53
- z.ZodTypeDef,
54
- unknown
55
- > = z.object({});
56
-
57
- export function cellValueFromJSON(
58
- jsonString: string,
59
- ): SafeParseResult<CellValue, SDKValidationError> {
60
- return safeParse(
61
- jsonString,
62
- (x) => CellValue$inboundSchema.parse(JSON.parse(x)),
63
- `Failed to parse 'CellValue' from JSON`,
64
- );
65
- }
66
-
67
50
  /** @internal */
68
51
  export const Cell$inboundSchema: z.ZodType<Cell, z.ZodTypeDef, unknown> = z
69
52
  .object({
@@ -72,17 +55,17 @@ export const Cell$inboundSchema: z.ZodType<Cell, z.ZodTypeDef, unknown> = z
72
55
  column_id: z.string().optional(),
73
56
  repeat_index: z.number().int().optional(),
74
57
  status: CellStatus$inboundSchema.optional(),
75
- value: z.lazy(() => CellValue$inboundSchema).optional(),
76
- artifacts: ArtifactRefs$inboundSchema.optional(),
77
- progress: CellProgress$inboundSchema.optional(),
58
+ value: z.nullable(z.record(z.any())).optional(),
59
+ artifacts: z.nullable(ArtifactRefs$inboundSchema).optional(),
60
+ progress: z.nullable(CellProgress$inboundSchema).optional(),
78
61
  error_message: z.string().optional(),
79
62
  type: CellType$inboundSchema.optional(),
80
63
  task_column_id: z.string().optional(),
81
- created_at: z.string().datetime({ offset: true }).transform(v =>
82
- new Date(v)
64
+ created_at: z.nullable(
65
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
83
66
  ).optional(),
84
- updated_at: z.string().datetime({ offset: true }).transform(v =>
85
- new Date(v)
67
+ updated_at: z.nullable(
68
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
86
69
  ).optional(),
87
70
  }).transform((v) => {
88
71
  return remap$(v, {
@@ -70,7 +70,7 @@ export type CreateBudgetRequest = {
70
70
  * Optional expiration. When set in combination with is_active=true,
71
71
  *
72
72
  * @remarks
73
- * the value MUST be in the future; the handler rejects past values.
73
+ * the value MUST be in the future; the API rejects a past value.
74
74
  */
75
75
  expiresAt?: Date | undefined;
76
76
  /**
@@ -209,6 +209,10 @@ export type EvaluatorResponseFunction = {
209
209
  * Unique identifier of the project owning this evaluator.
210
210
  */
211
211
  projectId?: string | undefined;
212
+ /**
213
+ * Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
214
+ */
215
+ timeout?: number | null | undefined;
212
216
  guardrailConfig?: any | undefined;
213
217
  type: "function_eval";
214
218
  /**
@@ -896,6 +900,7 @@ export const EvaluatorResponseFunction$inboundSchema: z.ZodType<
896
900
  updated: z.string().default("2026-08-05T15:12:51.947Z"),
897
901
  updated_by_id: z.nullable(z.string()).optional(),
898
902
  project_id: z.string().optional(),
903
+ timeout: z.nullable(z.number().int()).optional(),
899
904
  guardrail_config: z.any().optional(),
900
905
  type: z.literal("function_eval"),
901
906
  output_type: EvaluatorResponseFunctionOutputType$inboundSchema,
@@ -41,6 +41,10 @@ export type EvaluatorResponseHttp = {
41
41
  * Unique identifier of the project owning this evaluator.
42
42
  */
43
43
  projectId?: string | undefined;
44
+ /**
45
+ * Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
46
+ */
47
+ timeout?: number | null | undefined;
44
48
  guardrailConfig?: any | undefined;
45
49
  type: "http_eval";
46
50
  /**
@@ -75,6 +79,7 @@ export const EvaluatorResponseHttp$inboundSchema: z.ZodType<
75
79
  updated: z.string().default("2026-08-05T15:12:51.947Z"),
76
80
  updated_by_id: z.nullable(z.string()).optional(),
77
81
  project_id: z.string().optional(),
82
+ timeout: z.nullable(z.number().int()).optional(),
78
83
  guardrail_config: z.any().optional(),
79
84
  type: z.literal("http_eval"),
80
85
  output_type: EvaluatorResponseHttpOutputType$inboundSchema,
@@ -35,6 +35,10 @@ export type EvaluatorResponseJsonSchema = {
35
35
  * Unique identifier of the project owning this evaluator.
36
36
  */
37
37
  projectId?: string | undefined;
38
+ /**
39
+ * Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
40
+ */
41
+ timeout?: number | null | undefined;
38
42
  guardrailConfig?: any | undefined;
39
43
  type: "json_schema";
40
44
  /**
@@ -63,6 +67,7 @@ export const EvaluatorResponseJsonSchema$inboundSchema: z.ZodType<
63
67
  updated: z.string().default("2026-08-05T15:12:51.947Z"),
64
68
  updated_by_id: z.nullable(z.string()).optional(),
65
69
  project_id: z.string().optional(),
70
+ timeout: z.nullable(z.number().int()).optional(),
66
71
  guardrail_config: z.any().optional(),
67
72
  type: z.literal("json_schema"),
68
73
  output_type: EvaluatorResponseJsonSchemaOutputType$inboundSchema,
@@ -86,6 +86,10 @@ export type EvaluatorResponseLlm = {
86
86
  * Unique identifier of the project owning this evaluator.
87
87
  */
88
88
  projectId?: string | undefined;
89
+ /**
90
+ * Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
91
+ */
92
+ timeout?: number | null | undefined;
89
93
  guardrailConfig?: any | undefined;
90
94
  type: "llm_eval";
91
95
  /**
@@ -297,6 +301,7 @@ export const EvaluatorResponseLlm$inboundSchema: z.ZodType<
297
301
  updated: z.string().default("2026-08-05T15:12:51.947Z"),
298
302
  updated_by_id: z.nullable(z.string()).optional(),
299
303
  project_id: z.string().optional(),
304
+ timeout: z.nullable(z.number().int()).optional(),
300
305
  guardrail_config: z.any().optional(),
301
306
  type: z.literal("llm_eval"),
302
307
  output_type: OutputType$inboundSchema,
@@ -35,6 +35,10 @@ export type EvaluatorResponsePython = {
35
35
  * Unique identifier of the project owning this evaluator.
36
36
  */
37
37
  projectId?: string | undefined;
38
+ /**
39
+ * Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
40
+ */
41
+ timeout?: number | null | undefined;
38
42
  guardrailConfig?: any | undefined;
39
43
  code: string;
40
44
  type: "python_eval";
@@ -62,6 +66,7 @@ export const EvaluatorResponsePython$inboundSchema: z.ZodType<
62
66
  updated: z.string().default("2026-08-05T15:12:51.947Z"),
63
67
  updated_by_id: z.nullable(z.string()).optional(),
64
68
  project_id: z.string().optional(),
69
+ timeout: z.nullable(z.number().int()).optional(),
65
70
  guardrail_config: z.any().optional(),
66
71
  code: z.string(),
67
72
  type: z.literal("python_eval"),
@@ -51,6 +51,10 @@ export type EvaluatorResponseRagas = {
51
51
  * Unique identifier of the project owning this evaluator.
52
52
  */
53
53
  projectId?: string | undefined;
54
+ /**
55
+ * Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
56
+ */
57
+ timeout?: number | null | undefined;
54
58
  guardrailConfig?: any | undefined;
55
59
  type: "ragas";
56
60
  /**
@@ -83,6 +87,7 @@ export const EvaluatorResponseRagas$inboundSchema: z.ZodType<
83
87
  updated: z.string().default("2026-08-05T15:12:51.947Z"),
84
88
  updated_by_id: z.nullable(z.string()).optional(),
85
89
  project_id: z.string().optional(),
90
+ timeout: z.nullable(z.number().int()).optional(),
86
91
  guardrail_config: z.any().optional(),
87
92
  type: z.literal("ragas"),
88
93
  output_type: EvaluatorResponseRagasOutputType$inboundSchema,
@@ -35,6 +35,10 @@ export type EvaluatorResponseTypescript = {
35
35
  * Unique identifier of the project owning this evaluator.
36
36
  */
37
37
  projectId?: string | undefined;
38
+ /**
39
+ * Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
40
+ */
41
+ timeout?: number | null | undefined;
38
42
  guardrailConfig?: any | undefined;
39
43
  code: string;
40
44
  type: "typescript_eval";
@@ -63,6 +67,7 @@ export const EvaluatorResponseTypescript$inboundSchema: z.ZodType<
63
67
  updated: z.string().default("2026-08-05T15:12:51.947Z"),
64
68
  updated_by_id: z.nullable(z.string()).optional(),
65
69
  project_id: z.string().optional(),
70
+ timeout: z.nullable(z.number().int()).optional(),
66
71
  guardrail_config: z.any().optional(),
67
72
  code: z.string(),
68
73
  type: z.literal("typescript_eval"),
@@ -24,11 +24,11 @@ export const FileEntryType = {
24
24
  export type FileEntryType = ClosedEnum<typeof FileEntryType>;
25
25
 
26
26
  /**
27
- * The file content messages below mirror the tools-pod JSON contract one for
27
+ * The file content messages below share one shape. `path` is always relative
28
28
  *
29
29
  * @remarks
30
- * one. `path` is always relative to the file system root; an absolute path or a
31
- * `..` segment is refused rather than clamped.
30
+ * to the file system root; an absolute path or a `..` segment is refused rather
31
+ * than clamped.
32
32
  */
33
33
  export type FileEntry = {
34
34
  /**
@@ -53,7 +53,7 @@ export type Budget = {
53
53
  *
54
54
  * @remarks
55
55
  * of `amount`, `token_limit`, or RateLimit.requests_per_minute MUST be
56
- * set on a Budget; that invariant is enforced by the handler.
56
+ * set on a Budget; the API rejects a budget that sets none of the three.
57
57
  */
58
58
  limits: BudgetLimits;
59
59
  /**
@@ -23,6 +23,10 @@ export type McpToolExposure = {
23
23
  * `McpTool.id` values to expose when mode is SELECTED; a tool renamed upstream gets a new id on the next sync.
24
24
  */
25
25
  toolIds?: Array<string> | undefined;
26
+ /**
27
+ * `McpTool.id` values deliberately left unexposed when mode is SELECTED; an active tool in neither list is new to this selection.
28
+ */
29
+ excludedToolIds?: Array<string> | undefined;
26
30
  };
27
31
 
28
32
  /** @internal */
@@ -34,10 +38,12 @@ export const McpToolExposure$inboundSchema: z.ZodType<
34
38
  mode: McpToolExposureMode$inboundSchema,
35
39
  read_only: z.boolean().optional(),
36
40
  tool_ids: z.array(z.string()).optional(),
41
+ excluded_tool_ids: z.array(z.string()).optional(),
37
42
  }).transform((v) => {
38
43
  return remap$(v, {
39
44
  "read_only": "readOnly",
40
45
  "tool_ids": "toolIds",
46
+ "excluded_tool_ids": "excludedToolIds",
41
47
  });
42
48
  });
43
49
  /** @internal */
@@ -45,6 +51,7 @@ export type McpToolExposure$Outbound = {
45
51
  mode: string;
46
52
  read_only?: boolean | undefined;
47
53
  tool_ids?: Array<string> | undefined;
54
+ excluded_tool_ids?: Array<string> | undefined;
48
55
  };
49
56
 
50
57
  /** @internal */
@@ -56,10 +63,12 @@ export const McpToolExposure$outboundSchema: z.ZodType<
56
63
  mode: McpToolExposureMode$outboundSchema,
57
64
  readOnly: z.boolean().optional(),
58
65
  toolIds: z.array(z.string()).optional(),
66
+ excludedToolIds: z.array(z.string()).optional(),
59
67
  }).transform((v) => {
60
68
  return remap$(v, {
61
69
  readOnly: "read_only",
62
70
  toolIds: "tool_ids",
71
+ excludedToolIds: "excluded_tool_ids",
63
72
  });
64
73
  });
65
74
 
@@ -27,7 +27,10 @@ export type MetricSummary = {
27
27
  number?: NumberMetricSummary | undefined;
28
28
  boolean?: BooleanMetricSummary | undefined;
29
29
  categorical?: CategoricalMetricSummary | undefined;
30
- baseline?: MetricBaseline | undefined;
30
+ /**
31
+ * Null unless a baseline run was requested.
32
+ */
33
+ baseline?: MetricBaseline | null | undefined;
31
34
  };
32
35
 
33
36
  /** @internal */
@@ -39,7 +42,7 @@ export const MetricSummary$inboundSchema: z.ZodType<
39
42
  number: NumberMetricSummary$inboundSchema.optional(),
40
43
  boolean: BooleanMetricSummary$inboundSchema.optional(),
41
44
  categorical: CategoricalMetricSummary$inboundSchema.optional(),
42
- baseline: MetricBaseline$inboundSchema.optional(),
45
+ baseline: z.nullable(MetricBaseline$inboundSchema).optional(),
43
46
  });
44
47
 
45
48
  export function metricSummaryFromJSON(
@@ -4,29 +4,13 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
 
7
- export type Value = {};
8
-
9
7
  export type PatchEvalCellRequest = {
10
- value?: Value | undefined;
8
+ value?: { [k: string]: any } | undefined;
11
9
  };
12
10
 
13
- /** @internal */
14
- export type Value$Outbound = {};
15
-
16
- /** @internal */
17
- export const Value$outboundSchema: z.ZodType<
18
- Value$Outbound,
19
- z.ZodTypeDef,
20
- Value
21
- > = z.object({});
22
-
23
- export function valueToJSON(value: Value): string {
24
- return JSON.stringify(Value$outboundSchema.parse(value));
25
- }
26
-
27
11
  /** @internal */
28
12
  export type PatchEvalCellRequest$Outbound = {
29
- value?: Value$Outbound | undefined;
13
+ value?: { [k: string]: any } | undefined;
30
14
  };
31
15
 
32
16
  /** @internal */
@@ -35,7 +19,7 @@ export const PatchEvalCellRequest$outboundSchema: z.ZodType<
35
19
  z.ZodTypeDef,
36
20
  PatchEvalCellRequest
37
21
  > = z.object({
38
- value: z.lazy(() => Value$outboundSchema).optional(),
22
+ value: z.record(z.any()).optional(),
39
23
  });
40
24
 
41
25
  export function patchEvalCellRequestToJSON(
@@ -4,35 +4,16 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
 
7
- export type PatchReviewCellRequestValue = {};
8
-
9
7
  export type PatchReviewCellRequest = {
10
- value?: PatchReviewCellRequestValue | undefined;
8
+ /**
9
+ * Human review value. type is required: range uses {type: range, value: number}; single- and multi-select use {type: categorical, value: string} or {type: categorical, values: [{value: string, sentiment: string}]}; text and correction use {type: free_form_text, text: string}.
10
+ */
11
+ value?: { [k: string]: any } | undefined;
11
12
  };
12
13
 
13
- /** @internal */
14
- export type PatchReviewCellRequestValue$Outbound = {};
15
-
16
- /** @internal */
17
- export const PatchReviewCellRequestValue$outboundSchema: z.ZodType<
18
- PatchReviewCellRequestValue$Outbound,
19
- z.ZodTypeDef,
20
- PatchReviewCellRequestValue
21
- > = z.object({});
22
-
23
- export function patchReviewCellRequestValueToJSON(
24
- patchReviewCellRequestValue: PatchReviewCellRequestValue,
25
- ): string {
26
- return JSON.stringify(
27
- PatchReviewCellRequestValue$outboundSchema.parse(
28
- patchReviewCellRequestValue,
29
- ),
30
- );
31
- }
32
-
33
14
  /** @internal */
34
15
  export type PatchReviewCellRequest$Outbound = {
35
- value?: PatchReviewCellRequestValue$Outbound | undefined;
16
+ value?: { [k: string]: any } | undefined;
36
17
  };
37
18
 
38
19
  /** @internal */
@@ -41,7 +22,7 @@ export const PatchReviewCellRequest$outboundSchema: z.ZodType<
41
22
  z.ZodTypeDef,
42
23
  PatchReviewCellRequest
43
24
  > = z.object({
44
- value: z.lazy(() => PatchReviewCellRequestValue$outboundSchema).optional(),
25
+ value: z.record(z.any()).optional(),
45
26
  });
46
27
 
47
28
  export function patchReviewCellRequestToJSON(
@@ -10,36 +10,16 @@ import {
10
10
  ArtifactRefs$outboundSchema,
11
11
  } from "./artifactrefs.js";
12
12
 
13
- export type PatchTaskCellRequestValue = {};
14
-
15
13
  export type PatchTaskCellRequest = {
16
14
  repeatIndex?: number | undefined;
17
- value?: PatchTaskCellRequestValue | undefined;
15
+ value?: { [k: string]: any } | undefined;
18
16
  artifacts?: ArtifactRefs | undefined;
19
17
  };
20
18
 
21
- /** @internal */
22
- export type PatchTaskCellRequestValue$Outbound = {};
23
-
24
- /** @internal */
25
- export const PatchTaskCellRequestValue$outboundSchema: z.ZodType<
26
- PatchTaskCellRequestValue$Outbound,
27
- z.ZodTypeDef,
28
- PatchTaskCellRequestValue
29
- > = z.object({});
30
-
31
- export function patchTaskCellRequestValueToJSON(
32
- patchTaskCellRequestValue: PatchTaskCellRequestValue,
33
- ): string {
34
- return JSON.stringify(
35
- PatchTaskCellRequestValue$outboundSchema.parse(patchTaskCellRequestValue),
36
- );
37
- }
38
-
39
19
  /** @internal */
40
20
  export type PatchTaskCellRequest$Outbound = {
41
21
  repeat_index?: number | undefined;
42
- value?: PatchTaskCellRequestValue$Outbound | undefined;
22
+ value?: { [k: string]: any } | undefined;
43
23
  artifacts?: ArtifactRefs$Outbound | undefined;
44
24
  };
45
25
 
@@ -50,7 +30,7 @@ export const PatchTaskCellRequest$outboundSchema: z.ZodType<
50
30
  PatchTaskCellRequest
51
31
  > = z.object({
52
32
  repeatIndex: z.number().int().optional(),
53
- value: z.lazy(() => PatchTaskCellRequestValue$outboundSchema).optional(),
33
+ value: z.record(z.any()).optional(),
54
34
  artifacts: ArtifactRefs$outboundSchema.optional(),
55
35
  }).transform((v) => {
56
36
  return remap$(v, {
@@ -30,6 +30,8 @@ export type Pricing = {
30
30
  cacheWrite30m?: Price | undefined;
31
31
  cacheWrite5m?: Price | undefined;
32
32
  fetch?: Price | undefined;
33
+ imageCacheRead?: Price | undefined;
34
+ imageInput?: Price | undefined;
33
35
  input?: Price | undefined;
34
36
  output?: Price | undefined;
35
37
  reasoning?: Price | undefined;
@@ -50,6 +52,8 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
50
52
  cache_write_30m: Price$inboundSchema.optional(),
51
53
  cache_write_5m: Price$inboundSchema.optional(),
52
54
  fetch: Price$inboundSchema.optional(),
55
+ image_cache_read: Price$inboundSchema.optional(),
56
+ image_input: Price$inboundSchema.optional(),
53
57
  input: Price$inboundSchema.optional(),
54
58
  output: Price$inboundSchema.optional(),
55
59
  reasoning: Price$inboundSchema.optional(),
@@ -66,6 +70,8 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
66
70
  "cache_write_1h": "cacheWrite1h",
67
71
  "cache_write_30m": "cacheWrite30m",
68
72
  "cache_write_5m": "cacheWrite5m",
73
+ "image_cache_read": "imageCacheRead",
74
+ "image_input": "imageInput",
69
75
  "text_input": "textInput",
70
76
  });
71
77
  });
@@ -80,6 +86,8 @@ export type Pricing$Outbound = {
80
86
  cache_write_30m?: Price$Outbound | undefined;
81
87
  cache_write_5m?: Price$Outbound | undefined;
82
88
  fetch?: Price$Outbound | undefined;
89
+ image_cache_read?: Price$Outbound | undefined;
90
+ image_input?: Price$Outbound | undefined;
83
91
  input?: Price$Outbound | undefined;
84
92
  output?: Price$Outbound | undefined;
85
93
  reasoning?: Price$Outbound | undefined;
@@ -103,6 +111,8 @@ export const Pricing$outboundSchema: z.ZodType<
103
111
  cacheWrite30m: Price$outboundSchema.optional(),
104
112
  cacheWrite5m: Price$outboundSchema.optional(),
105
113
  fetch: Price$outboundSchema.optional(),
114
+ imageCacheRead: Price$outboundSchema.optional(),
115
+ imageInput: Price$outboundSchema.optional(),
106
116
  input: Price$outboundSchema.optional(),
107
117
  output: Price$outboundSchema.optional(),
108
118
  reasoning: Price$outboundSchema.optional(),
@@ -119,6 +129,8 @@ export const Pricing$outboundSchema: z.ZodType<
119
129
  cacheWrite1h: "cache_write_1h",
120
130
  cacheWrite30m: "cache_write_30m",
121
131
  cacheWrite5m: "cache_write_5m",
132
+ imageCacheRead: "image_cache_read",
133
+ imageInput: "image_input",
122
134
  textInput: "text_input",
123
135
  });
124
136
  });
@@ -24,6 +24,8 @@ export type PricingVariant = {
24
24
  cacheWrite30m?: Price | undefined;
25
25
  cacheWrite5m?: Price | undefined;
26
26
  fetch?: Price | undefined;
27
+ imageCacheRead?: Price | undefined;
28
+ imageInput?: Price | undefined;
27
29
  input?: Price | undefined;
28
30
  output?: Price | undefined;
29
31
  reasoning?: Price | undefined;
@@ -47,6 +49,8 @@ export const PricingVariant$inboundSchema: z.ZodType<
47
49
  cache_write_30m: Price$inboundSchema.optional(),
48
50
  cache_write_5m: Price$inboundSchema.optional(),
49
51
  fetch: Price$inboundSchema.optional(),
52
+ image_cache_read: Price$inboundSchema.optional(),
53
+ image_input: Price$inboundSchema.optional(),
50
54
  input: Price$inboundSchema.optional(),
51
55
  output: Price$inboundSchema.optional(),
52
56
  reasoning: Price$inboundSchema.optional(),
@@ -63,6 +67,8 @@ export const PricingVariant$inboundSchema: z.ZodType<
63
67
  "cache_write_1h": "cacheWrite1h",
64
68
  "cache_write_30m": "cacheWrite30m",
65
69
  "cache_write_5m": "cacheWrite5m",
70
+ "image_cache_read": "imageCacheRead",
71
+ "image_input": "imageInput",
66
72
  "text_input": "textInput",
67
73
  });
68
74
  });
@@ -77,6 +83,8 @@ export type PricingVariant$Outbound = {
77
83
  cache_write_30m?: Price$Outbound | undefined;
78
84
  cache_write_5m?: Price$Outbound | undefined;
79
85
  fetch?: Price$Outbound | undefined;
86
+ image_cache_read?: Price$Outbound | undefined;
87
+ image_input?: Price$Outbound | undefined;
80
88
  input?: Price$Outbound | undefined;
81
89
  output?: Price$Outbound | undefined;
82
90
  reasoning?: Price$Outbound | undefined;
@@ -100,6 +108,8 @@ export const PricingVariant$outboundSchema: z.ZodType<
100
108
  cacheWrite30m: Price$outboundSchema.optional(),
101
109
  cacheWrite5m: Price$outboundSchema.optional(),
102
110
  fetch: Price$outboundSchema.optional(),
111
+ imageCacheRead: Price$outboundSchema.optional(),
112
+ imageInput: Price$outboundSchema.optional(),
103
113
  input: Price$outboundSchema.optional(),
104
114
  output: Price$outboundSchema.optional(),
105
115
  reasoning: Price$outboundSchema.optional(),
@@ -116,6 +126,8 @@ export const PricingVariant$outboundSchema: z.ZodType<
116
126
  cacheWrite1h: "cache_write_1h",
117
127
  cacheWrite30m: "cache_write_30m",
118
128
  cacheWrite5m: "cache_write_5m",
129
+ imageCacheRead: "image_cache_read",
130
+ imageInput: "image_input",
119
131
  textInput: "text_input",
120
132
  });
121
133
  });